mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-12-01 06:52:09 +08:00
3 lines
6.8 MiB
3 lines
6.8 MiB
var q7e=Object.freeze,t0t=Object.defineProperty;var eve=(gB,lQ)=>q7e(t0t(gB,"raw",{value:q7e(lQ||gB.slice())}));var J7e,K7e;(function(){"use strict";var A0e,I0e,x0e,R0e;class gB{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(g){setTimeout(()=>{throw g.stack?JL.isErrorNoTelemetry(g)?new JL(g.message+"\n\n"+g.stack):new Error(g.message+"\n\n"+g.stack):g},0)}}emit(g){this.listeners.forEach(x=>{x(g)})}onUnexpectedError(g){this.unexpectedErrorHandler(g),this.emit(g)}onUnexpectedExternalError(g){this.unexpectedErrorHandler(g)}}const lQ=new gB;function yB(b){nze(b)||lQ.onUnexpectedError(b)}function cQ(b){if(b instanceof Error){const{name:g,message:x,cause:W}=b,X=b.stacktrace||b.stack;return{$isError:!0,name:g,message:x,stack:X,noTelemetry:JL.isErrorNoTelemetry(b),cause:W?cQ(W):void 0,code:b.code}}return b}const dQ="Canceled";function nze(b){return b instanceof ave?!0:b instanceof Error&&b.name===dQ&&b.message===dQ}class ave extends Error{constructor(){super(dQ),this.name=this.message}}class JL extends Error{constructor(g){super(g),this.name="CodeExpectedError"}static fromError(g){if(g instanceof JL)return g;const x=new JL;return x.message=g.message,x.stack=g.stack,x}static isErrorNoTelemetry(g){return g.name==="CodeExpectedError"}}class N_ extends Error{constructor(g){super(g||"An unexpected bug occurred."),Object.setPrototypeOf(this,N_.prototype)}}function rze(b,g="Unreachable"){throw new Error(g)}function ize(b,g="unexpected state"){if(!b)throw typeof g=="string"?new N_("Assertion Failed: ".concat(g)):g}function vB(b){if(!b()){debugger;b(),yB(new N_("Assertion Failed"))}}function sve(b,g){let x=0;for(;x<b.length-1;){const W=b[x],X=b[x+1];if(!g(W,X))return!1;x++}return!0}function oze(b){return typeof b=="string"}function aze(b){return!!b&&typeof b[Symbol.iterator]=="function"}var bB;(function(b){function g(Vn){return!!Vn&&typeof Vn=="object"&&typeof Vn[Symbol.iterator]=="function"}b.is=g;const x=Object.freeze([]);function W(){return x}b.empty=W;function*X(Vn){yield Vn}b.single=X;function fe(Vn){return g(Vn)?Vn:X(Vn)}b.wrap=fe;function Me(Vn){return Vn||x}b.from=Me;function*qe(Vn){for(let zi=Vn.length-1;zi>=0;zi--)yield Vn[zi]}b.reverse=qe;function se(Vn){return!Vn||Vn[Symbol.iterator]().next().done===!0}b.isEmpty=se;function mt(Vn){return Vn[Symbol.iterator]().next().value}b.first=mt;function et(Vn,zi){let po=0;for(const Fn of Vn)if(zi(Fn,po++))return!0;return!1}b.some=et;function Xe(Vn,zi){let po=0;for(const Fn of Vn)if(!zi(Fn,po++))return!1;return!0}b.every=Xe;function Mn(Vn,zi){for(const po of Vn)if(zi(po))return po}b.find=Mn;function*Wn(Vn,zi){for(const po of Vn)zi(po)&&(yield po)}b.filter=Wn;function*qn(Vn,zi){let po=0;for(const Fn of Vn)yield zi(Fn,po++)}b.map=qn;function*Ln(Vn,zi){let po=0;for(const Fn of Vn)yield*zi(Fn,po++)}b.flatMap=Ln;function*Ji(...Vn){for(const zi of Vn)aze(zi)?yield*zi:yield zi}b.concat=Ji;function ho(Vn,zi,po){let Fn=po;for(const ws of Vn)Fn=zi(Fn,ws);return Fn}b.reduce=ho;function Gn(Vn){let zi=0;for(const po of Vn)zi++;return zi}b.length=Gn;function*_n(Vn,zi,po=Vn.length){for(zi<-Vn.length&&(zi=0),zi<0&&(zi+=Vn.length),po<0?po+=Vn.length:po>Vn.length&&(po=Vn.length);zi<po;zi++)yield Vn[zi]}b.slice=_n;function pa(Vn,zi=Number.POSITIVE_INFINITY){const po=[];if(zi===0)return[po,Vn];const Fn=Vn[Symbol.iterator]();for(let ws=0;ws<zi;ws++){const ai=Fn.next();if(ai.done)return[po,b.empty()];po.push(ai.value)}return[po,{[Symbol.iterator](){return Fn}}]}b.consume=pa;async function lo(Vn){const zi=[];for await(const po of Vn)zi.push(po);return zi}b.asyncToArray=lo;async function Ys(Vn){let zi=[];for await(const po of Vn)zi=zi.concat(po);return zi}b.asyncToArrayFlat=Ys})(bB||(bB={}));function n0t(b,g){}function lve(b){if(bB.is(b)){const g=[];for(const x of b)if(x)try{x.dispose()}catch(W){g.push(W)}if(g.length===1)throw g[0];if(g.length>1)throw new AggregateError(g,"Encountered errors while disposing of store");return Array.isArray(b)?[]:b}else if(b)return b.dispose(),b}function sze(...b){return TB(()=>lve(b))}class lze{constructor(g){this._isDisposed=!1,this._fn=g}dispose(){if(!this._isDisposed){if(!this._fn)throw new Error("Unbound disposable context: Need to use an arrow function to preserve the value of this");this._isDisposed=!0,this._fn()}}}function TB(b){return new lze(b)}const WB=class WB{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{lve(this._toDispose)}finally{this._toDispose.clear()}}add(g){if(!g||g===aN.None)return g;if(g===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?WB.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(g),g}delete(g){if(g){if(g===this)throw new Error("Cannot dispose a disposable on itself!");this._toDispose.delete(g),g.dispose()}}};WB.DISABLE_DISPOSED_WARNING=!1;let xW=WB;const $Q=class $Q{constructor(){this._store=new xW,this._store}dispose(){this._store.dispose()}_register(g){if(g===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(g)}};$Q.None=Object.freeze({dispose(){}});let aN=$Q;const l2=class l2{constructor(g){this.element=g,this.next=l2.Undefined,this.prev=l2.Undefined}};l2.Undefined=new l2(void 0);let Dp=l2;class cze{constructor(){this._first=Dp.Undefined,this._last=Dp.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Dp.Undefined}clear(){let g=this._first;for(;g!==Dp.Undefined;){const x=g.next;g.prev=Dp.Undefined,g.next=Dp.Undefined,g=x}this._first=Dp.Undefined,this._last=Dp.Undefined,this._size=0}unshift(g){return this._insert(g,!1)}push(g){return this._insert(g,!0)}_insert(g,x){const W=new Dp(g);if(this._first===Dp.Undefined)this._first=W,this._last=W;else if(x){const fe=this._last;this._last=W,W.prev=fe,fe.next=W}else{const fe=this._first;this._first=W,W.next=fe,fe.prev=W}this._size+=1;let X=!1;return()=>{X||(X=!0,this._remove(W))}}shift(){if(this._first!==Dp.Undefined){const g=this._first.element;return this._remove(this._first),g}}pop(){if(this._last!==Dp.Undefined){const g=this._last.element;return this._remove(this._last),g}}_remove(g){if(g.prev!==Dp.Undefined&&g.next!==Dp.Undefined){const x=g.prev;x.next=g.next,g.next.prev=x}else g.prev===Dp.Undefined&&g.next===Dp.Undefined?(this._first=Dp.Undefined,this._last=Dp.Undefined):g.next===Dp.Undefined?(this._last=this._last.prev,this._last.next=Dp.Undefined):g.prev===Dp.Undefined&&(this._first=this._first.next,this._first.prev=Dp.Undefined);this._size-=1}*[Symbol.iterator](){let g=this._first;for(;g!==Dp.Undefined;)yield g.element,g=g.next}}const dze=globalThis.performance.now.bind(globalThis.performance);class SB{static create(g){return new SB(g)}constructor(g){this._now=g===!1?Date.now:dze,this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}}var uQ;(function(b){b.None=()=>aN.None;function g(ai,Gt){return Mn(ai,()=>{},0,void 0,!0,void 0,Gt)}b.defer=g;function x(ai){return(Gt,ta=null,Ui)=>{let Qo=!1,Wi;return Wi=ai(Ul=>{if(!Qo)return Wi?Wi.dispose():Qo=!0,Gt.call(ta,Ul)},null,Ui),Qo&&Wi.dispose(),Wi}}b.once=x;function W(ai,Gt){return b.once(b.filter(ai,Gt))}b.onceIf=W;function X(ai,Gt,ta){return et((Ui,Qo=null,Wi)=>ai(Ul=>Ui.call(Qo,Gt(Ul)),null,Wi),ta)}b.map=X;function fe(ai,Gt,ta){return et((Ui,Qo=null,Wi)=>ai(Ul=>{Gt(Ul),Ui.call(Qo,Ul)},null,Wi),ta)}b.forEach=fe;function Me(ai,Gt,ta){return et((Ui,Qo=null,Wi)=>ai(Ul=>Gt(Ul)&&Ui.call(Qo,Ul),null,Wi),ta)}b.filter=Me;function qe(ai){return ai}b.signal=qe;function se(...ai){return(Gt,ta=null,Ui)=>{const Qo=sze(...ai.map(Wi=>Wi(Ul=>Gt.call(ta,Ul))));return Xe(Qo,Ui)}}b.any=se;function mt(ai,Gt,ta,Ui){let Qo=ta;return X(ai,Wi=>(Qo=Gt(Qo,Wi),Qo),Ui)}b.reduce=mt;function et(ai,Gt){let ta;const Ui={onWillAddFirstListener(){ta=ai(Qo.fire,Qo)},onDidRemoveLastListener(){ta==null||ta.dispose()}},Qo=new FE(Ui);return Gt==null||Gt.add(Qo),Qo.event}function Xe(ai,Gt){return Gt instanceof Array?Gt.push(ai):Gt&&Gt.add(ai),ai}function Mn(ai,Gt,ta=100,Ui=!1,Qo=!1,Wi,Ul){let cf,Fm,C0,Hi=0,pm;const XA={leakWarningThreshold:Wi,onWillAddFirstListener(){cf=ai(GW=>{Hi++,Fm=Gt(Fm,GW),Ui&&!C0&&(rh.fire(Fm),Fm=void 0),pm=()=>{const f2=Fm;Fm=void 0,C0=void 0,(!Ui||Hi>1)&&rh.fire(f2),Hi=0},typeof ta=="number"?(C0&&clearTimeout(C0),C0=setTimeout(pm,ta)):C0===void 0&&(C0=null,queueMicrotask(pm))})},onWillRemoveListener(){Qo&&Hi>0&&(pm==null||pm())},onDidRemoveLastListener(){pm=void 0,cf.dispose()}},rh=new FE(XA);return Ul==null||Ul.add(rh),rh.event}b.debounce=Mn;function Wn(ai,Gt=0,ta){return b.debounce(ai,(Ui,Qo)=>Ui?(Ui.push(Qo),Ui):[Qo],Gt,void 0,!0,void 0,ta)}b.accumulate=Wn;function qn(ai,Gt=(Ui,Qo)=>Ui===Qo,ta){let Ui=!0,Qo;return Me(ai,Wi=>{const Ul=Ui||!Gt(Wi,Qo);return Ui=!1,Qo=Wi,Ul},ta)}b.latch=qn;function Ln(ai,Gt,ta){return[b.filter(ai,Gt,ta),b.filter(ai,Ui=>!Gt(Ui),ta)]}b.split=Ln;function Ji(ai,Gt=!1,ta=[],Ui){let Qo=ta.slice(),Wi=ai(Fm=>{Qo?Qo.push(Fm):cf.fire(Fm)});Ui&&Ui.add(Wi);const Ul=()=>{Qo==null||Qo.forEach(Fm=>cf.fire(Fm)),Qo=null},cf=new FE({onWillAddFirstListener(){Wi||(Wi=ai(Fm=>cf.fire(Fm)),Ui&&Ui.add(Wi))},onDidAddFirstListener(){Qo&&(Gt?setTimeout(Ul):Ul())},onDidRemoveLastListener(){Wi&&Wi.dispose(),Wi=null}});return Ui&&Ui.add(cf),cf.event}b.buffer=Ji;function ho(ai,Gt){return(Ui,Qo,Wi)=>{const Ul=Gt(new _n);return ai(function(cf){const Fm=Ul.evaluate(cf);Fm!==Gn&&Ui.call(Qo,Fm)},void 0,Wi)}}b.chain=ho;const Gn=Symbol("HaltChainable");class _n{constructor(){this.steps=[]}map(Gt){return this.steps.push(Gt),this}forEach(Gt){return this.steps.push(ta=>(Gt(ta),ta)),this}filter(Gt){return this.steps.push(ta=>Gt(ta)?ta:Gn),this}reduce(Gt,ta){let Ui=ta;return this.steps.push(Qo=>(Ui=Gt(Ui,Qo),Ui)),this}latch(Gt=(ta,Ui)=>ta===Ui){let ta=!0,Ui;return this.steps.push(Qo=>{const Wi=ta||!Gt(Qo,Ui);return ta=!1,Ui=Qo,Wi?Qo:Gn}),this}evaluate(Gt){for(const ta of this.steps)if(Gt=ta(Gt),Gt===Gn)break;return Gt}}function pa(ai,Gt,ta=Ui=>Ui){const Ui=(...cf)=>Ul.fire(ta(...cf)),Qo=()=>ai.on(Gt,Ui),Wi=()=>ai.removeListener(Gt,Ui),Ul=new FE({onWillAddFirstListener:Qo,onDidRemoveLastListener:Wi});return Ul.event}b.fromNodeEventEmitter=pa;function lo(ai,Gt,ta=Ui=>Ui){const Ui=(...cf)=>Ul.fire(ta(...cf)),Qo=()=>ai.addEventListener(Gt,Ui),Wi=()=>ai.removeEventListener(Gt,Ui),Ul=new FE({onWillAddFirstListener:Qo,onDidRemoveLastListener:Wi});return Ul.event}b.fromDOMEventEmitter=lo;function Ys(ai,Gt){let ta;const Ui=new Promise((Qo,Wi)=>{const Ul=x(ai)(Qo,null,Gt);ta=()=>Ul.dispose()});return Ui.cancel=ta,Ui}b.toPromise=Ys;function Vn(ai,Gt){return ai(ta=>Gt.fire(ta))}b.forward=Vn;function zi(ai,Gt,ta){return Gt(ta),ai(Ui=>Gt(Ui))}b.runAndSubscribe=zi;class po{constructor(Gt,ta){this._observable=Gt,this._counter=0,this._hasChanged=!1;const Ui={onWillAddFirstListener:()=>{Gt.addObserver(this),this._observable.reportChanges()},onDidRemoveLastListener:()=>{Gt.removeObserver(this)}};this.emitter=new FE(Ui),ta&&ta.add(this.emitter)}beginUpdate(Gt){this._counter++}handlePossibleChange(Gt){}handleChange(Gt,ta){this._hasChanged=!0}endUpdate(Gt){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function Fn(ai,Gt){return new po(ai,Gt).emitter.event}b.fromObservable=Fn;function ws(ai){return(Gt,ta,Ui)=>{let Qo=0,Wi=!1;const Ul={beginUpdate(){Qo++},endUpdate(){Qo--,Qo===0&&(ai.reportChanges(),Wi&&(Wi=!1,Gt.call(ta)))},handlePossibleChange(){},handleChange(){Wi=!0}};ai.addObserver(Ul),ai.reportChanges();const cf={dispose(){ai.removeObserver(Ul)}};return Ui instanceof xW?Ui.add(cf):Array.isArray(Ui)&&Ui.push(cf),cf}}b.fromObservableLight=ws})(uQ||(uQ={}));const c2=class c2{constructor(g){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name="".concat(g,"_").concat(c2._idPool++),c2.all.add(this)}start(g){this._stopWatch=new SB,this.listenerCount=g}stop(){if(this._stopWatch){const g=this._stopWatch.elapsed();this.durations.push(g),this.elapsedOverall+=g,this.invocationCount+=1,this._stopWatch=void 0}}};c2.all=new Set,c2._idPool=0;let pQ=c2,uze=-1;const FB=class FB{constructor(g,x,W=(FB._idPool++).toString(16).padStart(3,"0")){this._errorHandler=g,this.threshold=x,this.name=W,this._warnCountdown=0}dispose(){var g;(g=this._stacks)==null||g.clear()}check(g,x){const W=this.threshold;if(W<=0||x<W)return;this._stacks||(this._stacks=new Map);const X=this._stacks.get(g.value)||0;if(this._stacks.set(g.value,X+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=W*.5;const[fe,Me]=this.getMostFrequentStack(),qe="[".concat(this.name,"] potential listener LEAK detected, having ").concat(x," listeners already. MOST frequent listener (").concat(Me,"):");console.warn(qe),console.warn(fe);const se=new pze(qe,fe);this._errorHandler(se)}return()=>{const fe=this._stacks.get(g.value)||0;this._stacks.set(g.value,fe-1)}}getMostFrequentStack(){if(!this._stacks)return;let g,x=0;for(const[W,X]of this._stacks)(!g||x<X)&&(g=[W,X],x=X);return g}};FB._idPool=1;let fQ=FB;class mQ{static create(){var x;const g=new Error;return new mQ((x=g.stack)!=null?x:"")}constructor(g){this.value=g}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class pze extends Error{constructor(g,x){super(g),this.name="ListenerLeakError",this.stack=x}}class fze extends Error{constructor(g,x){super(g),this.name="ListenerRefusalError",this.stack=x}}class hQ{constructor(g){this.value=g}}const mze=2;class FE{constructor(g){var x,W,X,fe,Me,qe;this._size=0,this._options=g,this._leakageMon=(x=this._options)!=null&&x.leakWarningThreshold?new fQ((W=g==null?void 0:g.onListenerError)!=null?W:yB,(fe=(X=this._options)==null?void 0:X.leakWarningThreshold)!=null?fe:uze):void 0,this._perfMon=(Me=this._options)!=null&&Me._profName?new pQ(this._options._profName):void 0,this._deliveryQueue=(qe=this._options)==null?void 0:qe.deliveryQueue}dispose(){var g,x,W,X;this._disposed||(this._disposed=!0,((g=this._deliveryQueue)==null?void 0:g.current)===this&&this._deliveryQueue.reset(),this._listeners&&(this._listeners=void 0,this._size=0),(W=(x=this._options)==null?void 0:x.onDidRemoveLastListener)==null||W.call(x),(X=this._leakageMon)==null||X.dispose())}get event(){var g;return(g=this._event)!=null||(this._event=(x,W,X)=>{var se,mt,et,Xe,Mn,Wn,qn,Ln,Ji;if(this._leakageMon&&this._size>this._leakageMon.threshold**2){const ho="[".concat(this._leakageMon.name,"] REFUSES to accept new listeners because it exceeded its threshold by far (").concat(this._size," vs ").concat(this._leakageMon.threshold,")");console.warn(ho);const Gn=(se=this._leakageMon.getMostFrequentStack())!=null?se:["UNKNOWN stack",-1],_n=new fze("".concat(ho,". HINT: Stack shows most frequent listener (").concat(Gn[1],"-times)"),Gn[0]);return(((mt=this._options)==null?void 0:mt.onListenerError)||yB)(_n),aN.None}if(this._disposed)return aN.None;W&&(x=x.bind(W));const fe=new hQ(x);let Me;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(fe.stack=mQ.create(),Me=this._leakageMon.check(fe.stack,this._size+1)),this._listeners?this._listeners instanceof hQ?((qn=this._deliveryQueue)!=null||(this._deliveryQueue=new hze),this._listeners=[this._listeners,fe]):this._listeners.push(fe):((Xe=(et=this._options)==null?void 0:et.onWillAddFirstListener)==null||Xe.call(et,this),this._listeners=fe,(Wn=(Mn=this._options)==null?void 0:Mn.onDidAddFirstListener)==null||Wn.call(Mn,this)),(Ji=(Ln=this._options)==null?void 0:Ln.onDidAddListener)==null||Ji.call(Ln,this),this._size++;const qe=TB(()=>{Me==null||Me(),this._removeListener(fe)});return X instanceof xW?X.add(qe):Array.isArray(X)&&X.push(qe),qe}),this._event}_removeListener(g){var fe,Me,qe,se;if((Me=(fe=this._options)==null?void 0:fe.onWillRemoveListener)==null||Me.call(fe,this),!this._listeners)return;if(this._size===1){this._listeners=void 0,(se=(qe=this._options)==null?void 0:qe.onDidRemoveLastListener)==null||se.call(qe,this),this._size=0;return}const x=this._listeners,W=x.indexOf(g);if(W===-1)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--,x[W]=void 0;const X=this._deliveryQueue.current===this;if(this._size*mze<=x.length){let mt=0;for(let et=0;et<x.length;et++)x[et]?x[mt++]=x[et]:X&&mt<this._deliveryQueue.end&&(this._deliveryQueue.end--,mt<this._deliveryQueue.i&&this._deliveryQueue.i--);x.length=mt}}_deliver(g,x){var X;if(!g)return;const W=((X=this._options)==null?void 0:X.onListenerError)||yB;if(!W){g.value(x);return}try{g.value(x)}catch(fe){W(fe)}}_deliverQueue(g){const x=g.current._listeners;for(;g.i<g.end;)this._deliver(x[g.i++],g.value);g.reset()}fire(g){var x,W,X,fe;if((x=this._deliveryQueue)!=null&&x.current&&(this._deliverQueue(this._deliveryQueue),(W=this._perfMon)==null||W.stop()),(X=this._perfMon)==null||X.start(this._size),this._listeners)if(this._listeners instanceof hQ)this._deliver(this._listeners,g);else{const Me=this._deliveryQueue;Me.enqueue(this,g,this._listeners.length),this._deliverQueue(Me)}(fe=this._perfMon)==null||fe.stop()}hasListeners(){return this._size>0}}class hze{constructor(){this.i=-1,this.end=0}enqueue(g,x,W){this.i=0,this.end=W,this.current=g,this.value=x}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}function _ze(){return globalThis._VSCODE_NLS_MESSAGES}function cve(){return globalThis._VSCODE_NLS_LANGUAGE}const gze=cve()==="pseudo"||typeof document<"u"&&document.location&&typeof document.location.hash=="string"&&document.location.hash.indexOf("pseudo=true")>=0;function dve(b,g){let x;return g.length===0?x=b:x=b.replace(/\{(\d+)\}/g,(W,X)=>{const fe=X[0],Me=g[fe];let qe=W;return typeof Me=="string"?qe=Me:(typeof Me=="number"||typeof Me=="boolean"||Me===void 0||Me===null)&&(qe=String(Me)),qe}),gze&&(x="["+x.replace(/[aouei]/g,"$&$&")+"]"),x}function Ns(b,g,...x){return dve(typeof b=="number"?yze(b,g):g,x)}function yze(b,g){var W;const x=(W=_ze())==null?void 0:W[b];if(typeof x!="string"){if(typeof g=="string")return g;throw new Error("!!! NLS MISSING: ".concat(b," !!!"))}return x}const KL="en";let _Q=!1,gQ=!1,yQ=!1,EB,vQ=KL,uve=KL,vze,aS;const sN=globalThis;let Bh;typeof sN.vscode<"u"&&typeof sN.vscode.process<"u"?Bh=sN.vscode.process:typeof process<"u"&&typeof((A0e=process==null?void 0:process.versions)==null?void 0:A0e.node)=="string"&&(Bh=process);const bze=typeof((I0e=Bh==null?void 0:Bh.versions)==null?void 0:I0e.electron)=="string"&&(Bh==null?void 0:Bh.type)==="renderer";if(typeof Bh=="object"){_Q=Bh.platform==="win32",gQ=Bh.platform==="darwin",yQ=Bh.platform==="linux",yQ&&Bh.env.SNAP&&Bh.env.SNAP_REVISION,Bh.env.CI||Bh.env.BUILD_ARTIFACTSTAGINGDIRECTORY||Bh.env.GITHUB_WORKSPACE,EB=KL,vQ=KL;const b=Bh.env.VSCODE_NLS_CONFIG;if(b)try{const g=JSON.parse(b);EB=g.userLocale,uve=g.osLocale,vQ=g.resolvedLanguage||KL,vze=(x0e=g.languagePack)==null?void 0:x0e.translationsConfigFile}catch(g){}}else typeof navigator=="object"&&!bze?(aS=navigator.userAgent,_Q=aS.indexOf("Windows")>=0,gQ=aS.indexOf("Macintosh")>=0,(aS.indexOf("Macintosh")>=0||aS.indexOf("iPad")>=0||aS.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>0,yQ=aS.indexOf("Linux")>=0,(aS==null?void 0:aS.indexOf("Mobi"))>=0,vQ=cve()||KL,EB=navigator.language.toLowerCase(),uve=EB):console.error("Unable to resolve platform.");const RW=_Q,Tze=gQ,zE=aS,Sze=typeof sN.postMessage=="function"&&!sN.importScripts;(()=>{if(Sze){const b=[];sN.addEventListener("message",x=>{if(x.data&&x.data.vscodeScheduleAsyncWork)for(let W=0,X=b.length;W<X;W++){const fe=b[W];if(fe.id===x.data.vscodeScheduleAsyncWork){b.splice(W,1),fe.callback();return}}});let g=0;return x=>{const W=++g;b.push({id:W,callback:x}),sN.postMessage({vscodeScheduleAsyncWork:W},"*")}}return b=>setTimeout(b)})();const Eze=!!(zE&&zE.indexOf("Chrome")>=0);zE&&zE.indexOf("Firefox")>=0,!Eze&&zE&&zE.indexOf("Safari")>=0,zE&&zE.indexOf("Edg/")>=0,zE&&zE.indexOf("Android")>=0;function Aze(b){return b}class Ize{constructor(g,x){this.lastCache=void 0,this.lastArgKey=void 0,typeof g=="function"?(this._fn=g,this._computeKey=Aze):(this._fn=x,this._computeKey=g.getCacheKey)}get(g){const x=this._computeKey(g);return this.lastArgKey!==x&&(this.lastArgKey=x,this.lastCache=this._fn(g)),this.lastCache}}var lN;(function(b){b[b.Uninitialized=0]="Uninitialized",b[b.Running=1]="Running",b[b.Completed=2]="Completed"})(lN||(lN={}));class bQ{constructor(g){this.executor=g,this._state=lN.Uninitialized}get value(){if(this._state===lN.Uninitialized){this._state=lN.Running;try{this._value=this.executor()}catch(g){this._error=g}finally{this._state=lN.Completed}}else if(this._state===lN.Running)throw new Error("Cannot read the value of a lazy that is being initialized");if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}function xze(b){return b.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function Rze(b){return b.source==="^"||b.source==="^$"||b.source==="$"||b.source==="^\\s*$"?!1:!!(b.exec("")&&b.lastIndex===0)}function Dze(b){return b.split(/\r\n|\r|\n/)}function Cze(b){for(let g=0,x=b.length;g<x;g++){const W=b.charCodeAt(g);if(W!==32&&W!==9)return g}return-1}function Nze(b,g=b.length-1){for(let x=g;x>=0;x--){const W=b.charCodeAt(x);if(W!==32&&W!==9)return x}return-1}function pve(b){return b>=65&&b<=90}function Mze(b,g){const x=Math.min(b.length,g.length);let W;for(W=0;W<x;W++)if(b.charCodeAt(W)!==g.charCodeAt(W))return W;return x}function Pze(b,g){const x=Math.min(b.length,g.length);let W;const X=b.length-1,fe=g.length-1;for(W=0;W<x;W++)if(b.charCodeAt(X-W)!==g.charCodeAt(fe-W))return W;return x}function AB(b){return 55296<=b&&b<=56319}function TQ(b){return 56320<=b&&b<=57343}function fve(b,g){return(b-55296<<10)+(g-56320)+65536}function Lze(b,g,x){const W=b.charCodeAt(x);if(AB(W)&&x+1<g){const X=b.charCodeAt(x+1);if(TQ(X))return fve(W,X)}return W}const kze=/^[\t\n\r\x20-\x7E]*$/;function wze(b){return kze.test(b)}const GE=class GE{static getInstance(g){return GE.cache.get(Array.from(g))}static getLocales(){return GE._locales.value}constructor(g){this.confusableDictionary=g}isAmbiguous(g){return this.confusableDictionary.has(g)}getPrimaryConfusable(g){return this.confusableDictionary.get(g)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}};GE.ambiguousCharacterData=new bQ(()=>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,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,1523,96,8242,96,1370,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,118002,50,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,118003,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,118004,52,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,118005,53,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,118006,54,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,118007,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,118008,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,118009,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,117974,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,117975,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,71913,67,71922,67,65315,67,8557,67,8450,67,8493,67,117976,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,117977,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,117978,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,117979,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,117980,71,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,117981,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,117983,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,117984,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,118001,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,117982,108,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,117985,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,117986,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,117987,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,118000,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,117988,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,117989,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,117990,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,117991,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,117992,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,117993,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,117994,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,117995,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,71910,87,71919,87,117996,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,117997,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,117998,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,71909,90,66293,90,65338,90,8484,90,8488,90,117999,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,65283,35,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,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,8218,44,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,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"cs":[65374,126,8218,44,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,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"de":[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,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"es":[8211,45,65374,126,8218,44,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,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"fr":[65374,126,8218,44,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,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"it":[160,32,8211,45,65374,126,8218,44,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,65292,44,65297,49,65307,59,65311,63],"ja":[8211,45,8218,44,65281,33,8216,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,65292,44,65297,49,65307,59],"ko":[8211,45,65374,126,8218,44,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,65292,44,65297,49,65307,59,65311,63],"pl":[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,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"pt-BR":[65374,126,8218,44,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,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,8218,44,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,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"ru":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,8218,44,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,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"zh-hans":[160,32,65374,126,8218,44,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,65297,49],"zh-hant":[8211,45,65374,126,8218,44,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]}')),GE.cache=new Ize({getCacheKey:JSON.stringify},g=>{function x(et){const Xe=new Map;for(let Mn=0;Mn<et.length;Mn+=2)Xe.set(et[Mn],et[Mn+1]);return Xe}function W(et,Xe){const Mn=new Map(et);for(const[Wn,qn]of Xe)Mn.set(Wn,qn);return Mn}function X(et,Xe){if(!et)return Xe;const Mn=new Map;for(const[Wn,qn]of et)Xe.has(Wn)&&Mn.set(Wn,qn);return Mn}const fe=GE.ambiguousCharacterData.value;let Me=g.filter(et=>!et.startsWith("_")&&Object.hasOwn(fe,et));Me.length===0&&(Me=["_default"]);let qe;for(const et of Me){const Xe=x(fe[et]);qe=X(qe,Xe)}const se=x(fe._common),mt=W(se,qe);return new GE(mt)}),GE._locales=new bQ(()=>Object.keys(GE.ambiguousCharacterData.value).filter(g=>!g.startsWith("_")));let DW=GE;const d2=class d2{static getRawData(){return JSON.parse('{"_common":[11,12,13,127,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,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,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],"cs":[173,8203,12288],"de":[173,8203,12288],"es":[8203,12288],"fr":[173,8203,12288],"it":[160,173,12288],"ja":[173],"ko":[173,12288],"pl":[173,8203,12288],"pt-BR":[173,8203,12288],"qps-ploc":[160,173,8203,12288],"ru":[173,12288],"tr":[160,173,8203,12288],"zh-hans":[160,173,8203,12288],"zh-hant":[173,12288]}')}static getData(){return this._data||(this._data=new Set([...Object.values(d2.getRawData())].flat())),this._data}static isInvisibleCharacter(g){return d2.getData().has(g)}static get codePoints(){return d2.getData()}};d2._data=void 0;let CW=d2;const SQ="default",Oze="$initialize";class Wze{constructor(g,x,W,X,fe){this.vsWorker=g,this.req=x,this.channel=W,this.method=X,this.args=fe,this.type=0}}class mve{constructor(g,x,W,X){this.vsWorker=g,this.seq=x,this.res=W,this.err=X,this.type=1}}class Fze{constructor(g,x,W,X,fe){this.vsWorker=g,this.req=x,this.channel=W,this.eventName=X,this.arg=fe,this.type=2}}class zze{constructor(g,x,W){this.vsWorker=g,this.req=x,this.event=W,this.type=3}}class Bze{constructor(g,x){this.vsWorker=g,this.req=x,this.type=4}}class Gze{constructor(g){this._workerId=-1,this._handler=g,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(g){this._workerId=g}async sendMessage(g,x,W){const X=String(++this._lastSentReq);return new Promise((fe,Me)=>{this._pendingReplies[X]={resolve:fe,reject:Me},this._send(new Wze(this._workerId,X,g,x,W))})}listen(g,x,W){let X=null;const fe=new FE({onWillAddFirstListener:()=>{X=String(++this._lastSentReq),this._pendingEmitters.set(X,fe),this._send(new Fze(this._workerId,X,g,x,W))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(X),this._send(new Bze(this._workerId,X)),X=null}});return fe.event}handleMessage(g){!g||!g.vsWorker||this._workerId!==-1&&g.vsWorker!==this._workerId||this._handleMessage(g)}createProxyToRemoteChannel(g,x){const W={get:(X,fe)=>(typeof fe=="string"&&!X[fe]&&(_ve(fe)?X[fe]=Me=>this.listen(g,fe,Me):hve(fe)?X[fe]=this.listen(g,fe,void 0):fe.charCodeAt(0)===36&&(X[fe]=async(...Me)=>(await(x==null?void 0:x()),this.sendMessage(g,fe,Me)))),X[fe])};return new Proxy(Object.create(null),W)}_handleMessage(g){switch(g.type){case 1:return this._handleReplyMessage(g);case 0:return this._handleRequestMessage(g);case 2:return this._handleSubscribeEventMessage(g);case 3:return this._handleEventMessage(g);case 4:return this._handleUnsubscribeEventMessage(g)}}_handleReplyMessage(g){if(!this._pendingReplies[g.seq]){console.warn("Got reply to unknown seq");return}const x=this._pendingReplies[g.seq];if(delete this._pendingReplies[g.seq],g.err){let W=g.err;if(g.err.$isError){const X=new Error;X.name=g.err.name,X.message=g.err.message,X.stack=g.err.stack,W=X}x.reject(W);return}x.resolve(g.res)}_handleRequestMessage(g){const x=g.req;this._handler.handleMessage(g.channel,g.method,g.args).then(X=>{this._send(new mve(this._workerId,x,X,void 0))},X=>{X.detail instanceof Error&&(X.detail=cQ(X.detail)),this._send(new mve(this._workerId,x,void 0,cQ(X)))})}_handleSubscribeEventMessage(g){const x=g.req,W=this._handler.handleEvent(g.channel,g.eventName,g.arg)(X=>{this._send(new zze(this._workerId,x,X))});this._pendingEvents.set(x,W)}_handleEventMessage(g){if(!this._pendingEmitters.has(g.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(g.req).fire(g.event)}_handleUnsubscribeEventMessage(g){if(!this._pendingEvents.has(g.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(g.req).dispose(),this._pendingEvents.delete(g.req)}_send(g){const x=[];if(g.type===0)for(let W=0;W<g.args.length;W++){const X=g.args[W];X instanceof ArrayBuffer&&x.push(X)}else g.type===1&&g.res instanceof ArrayBuffer&&x.push(g.res);this._handler.sendMessage(g,x)}}function hve(b){return b[0]==="o"&&b[1]==="n"&&pve(b.charCodeAt(2))}function _ve(b){return/^onDynamic/.test(b)&&pve(b.charCodeAt(9))}class Vze{constructor(g,x){this._localChannels=new Map,this._remoteChannels=new Map,this._protocol=new Gze({sendMessage:(W,X)=>{g(W,X)},handleMessage:(W,X,fe)=>this._handleMessage(W,X,fe),handleEvent:(W,X,fe)=>this._handleEvent(W,X,fe)}),this.requestHandler=x(this)}onmessage(g){this._protocol.handleMessage(g)}_handleMessage(g,x,W){if(g===SQ&&x===Oze)return this.initialize(W[0]);const X=g===SQ?this.requestHandler:this._localChannels.get(g);if(!X)return Promise.reject(new Error("Missing channel ".concat(g," on worker thread")));const fe=X[x];if(typeof fe!="function")return Promise.reject(new Error("Missing method ".concat(x," on worker thread channel ").concat(g)));try{return Promise.resolve(fe.apply(X,W))}catch(Me){return Promise.reject(Me)}}_handleEvent(g,x,W){const X=g===SQ?this.requestHandler:this._localChannels.get(g);if(!X)throw new Error("Missing channel ".concat(g," on worker thread"));if(_ve(x)){const fe=X[x];if(typeof fe!="function")throw new Error("Missing dynamic event ".concat(x," on request handler."));const Me=fe.call(X,W);if(typeof Me!="function")throw new Error("Missing dynamic event ".concat(x," on request handler."));return Me}if(hve(x)){const fe=X[x];if(typeof fe!="function")throw new Error("Missing event ".concat(x," on request handler."));return fe}throw new Error("Malformed event name ".concat(x))}getChannel(g){if(!this._remoteChannels.has(g)){const x=this._protocol.createProxyToRemoteChannel(g);this._remoteChannels.set(g,x)}return this._remoteChannels.get(g)}async initialize(g){this._protocol.setWorkerId(g)}}let gve=!1;function jze(b){if(gve)throw new Error("WebWorker already initialized!");gve=!0;const g=new Vze(x=>globalThis.postMessage(x),x=>b(x));return globalThis.onmessage=x=>{g.onmessage(x.data)},g}class bR{constructor(g,x,W,X){this.originalStart=g,this.originalLength=x,this.modifiedStart=W,this.modifiedLength=X}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}const yve=typeof Buffer<"u";new bQ(()=>new Uint8Array(256));let EQ;class AQ{static wrap(g){return yve&&!Buffer.isBuffer(g)&&(g=Buffer.from(g.buffer,g.byteOffset,g.byteLength)),new AQ(g)}constructor(g){this.buffer=g,this.byteLength=this.buffer.byteLength}toString(){return yve?this.buffer.toString():(EQ||(EQ=new TextDecoder),EQ.decode(this.buffer))}}const vve="0123456789abcdef";function Uze({buffer:b}){let g="";for(let x=0;x<b.length;x++){const W=b[x];g+=vve[W>>>4],g+=vve[W&15]}return g}function bve(b,g){return(g<<5)-g+b|0}function Hze(b,g){g=bve(149417,g);for(let x=0,W=b.length;x<W;x++)g=bve(b.charCodeAt(x),g);return g}function IQ(b,g,x=32){const W=x-g,X=~((1<<W)-1);return(b<<g|(X&b)>>>W)>>>0}function NW(b,g=32){return b instanceof ArrayBuffer?Uze(AQ.wrap(new Uint8Array(b))):(b>>>0).toString(16).padStart(g/4,"0")}const zB=class zB{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(g){const x=g.length;if(x===0)return;const W=this._buff;let X=this._buffLen,fe=this._leftoverHighSurrogate,Me,qe;for(fe!==0?(Me=fe,qe=-1,fe=0):(Me=g.charCodeAt(0),qe=0);;){let se=Me;if(AB(Me))if(qe+1<x){const mt=g.charCodeAt(qe+1);TQ(mt)?(qe++,se=fve(Me,mt)):se=65533}else{fe=Me;break}else TQ(Me)&&(se=65533);if(X=this._push(W,X,se),qe++,qe<x)Me=g.charCodeAt(qe);else break}this._buffLen=X,this._leftoverHighSurrogate=fe}_push(g,x,W){return W<128?g[x++]=W:W<2048?(g[x++]=192|(W&1984)>>>6,g[x++]=128|(W&63)>>>0):W<65536?(g[x++]=224|(W&61440)>>>12,g[x++]=128|(W&4032)>>>6,g[x++]=128|(W&63)>>>0):(g[x++]=240|(W&1835008)>>>18,g[x++]=128|(W&258048)>>>12,g[x++]=128|(W&4032)>>>6,g[x++]=128|(W&63)>>>0),x>=64&&(this._step(),x-=64,this._totalLen+=64,g[0]=g[64],g[1]=g[65],g[2]=g[66]),x}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()),NW(this._h0)+NW(this._h1)+NW(this._h2)+NW(this._h3)+NW(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,this._buff.subarray(this._buffLen).fill(0),this._buffLen>56&&(this._step(),this._buff.fill(0));const g=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(g/4294967296),!1),this._buffDV.setUint32(60,g%4294967296,!1),this._step()}_step(){const g=zB._bigBlock32,x=this._buffDV;for(let Xe=0;Xe<64;Xe+=4)g.setUint32(Xe,x.getUint32(Xe,!1),!1);for(let Xe=64;Xe<320;Xe+=4)g.setUint32(Xe,IQ(g.getUint32(Xe-12,!1)^g.getUint32(Xe-32,!1)^g.getUint32(Xe-56,!1)^g.getUint32(Xe-64,!1),1),!1);let W=this._h0,X=this._h1,fe=this._h2,Me=this._h3,qe=this._h4,se,mt,et;for(let Xe=0;Xe<80;Xe++)Xe<20?(se=X&fe|~X&Me,mt=1518500249):Xe<40?(se=X^fe^Me,mt=1859775393):Xe<60?(se=X&fe|X&Me|fe&Me,mt=2400959708):(se=X^fe^Me,mt=3395469782),et=IQ(W,5)+se+qe+mt+g.getUint32(Xe*4,!1)&4294967295,qe=Me,Me=fe,fe=IQ(X,30),X=W,W=et;this._h0=this._h0+W&4294967295,this._h1=this._h1+X&4294967295,this._h2=this._h2+fe&4294967295,this._h3=this._h3+Me&4294967295,this._h4=this._h4+qe&4294967295}};zB._bigBlock32=new DataView(new ArrayBuffer(320));let Tve=zB;class Sve{constructor(g){this.source=g}getElements(){const g=this.source,x=new Int32Array(g.length);for(let W=0,X=g.length;W<X;W++)x[W]=g.charCodeAt(W);return x}}function qze(b,g,x){return new TR(new Sve(b),new Sve(g)).ComputeDiff(x).changes}class XL{static Assert(g,x){if(!g)throw new Error(x)}}class YL{static Copy(g,x,W,X,fe){for(let Me=0;Me<fe;Me++)W[X+Me]=g[x+Me]}static Copy2(g,x,W,X,fe){for(let Me=0;Me<fe;Me++)W[X+Me]=g[x+Me]}}class Eve{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 bR(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(g,x){this.m_originalStart=Math.min(this.m_originalStart,g),this.m_modifiedStart=Math.min(this.m_modifiedStart,x),this.m_originalCount++}AddModifiedElement(g,x){this.m_originalStart=Math.min(this.m_originalStart,g),this.m_modifiedStart=Math.min(this.m_modifiedStart,x),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 TR{constructor(g,x,W=null){this.ContinueProcessingPredicate=W,this._originalSequence=g,this._modifiedSequence=x;const[X,fe,Me]=TR._getElements(g),[qe,se,mt]=TR._getElements(x);this._hasStrings=Me&&mt,this._originalStringElements=X,this._originalElementsOrHash=fe,this._modifiedStringElements=qe,this._modifiedElementsOrHash=se,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(g){return g.length>0&&typeof g[0]=="string"}static _getElements(g){const x=g.getElements();if(TR._isStringArray(x)){const W=new Int32Array(x.length);for(let X=0,fe=x.length;X<fe;X++)W[X]=Hze(x[X],0);return[x,W,!0]}return x instanceof Int32Array?[[],x,!1]:[[],new Int32Array(x),!1]}ElementsAreEqual(g,x){return this._originalElementsOrHash[g]!==this._modifiedElementsOrHash[x]?!1:this._hasStrings?this._originalStringElements[g]===this._modifiedStringElements[x]:!0}ElementsAreStrictEqual(g,x){if(!this.ElementsAreEqual(g,x))return!1;const W=TR._getStrictElement(this._originalSequence,g),X=TR._getStrictElement(this._modifiedSequence,x);return W===X}static _getStrictElement(g,x){return typeof g.getStrictElement=="function"?g.getStrictElement(x):null}OriginalElementsAreEqual(g,x){return this._originalElementsOrHash[g]!==this._originalElementsOrHash[x]?!1:this._hasStrings?this._originalStringElements[g]===this._originalStringElements[x]:!0}ModifiedElementsAreEqual(g,x){return this._modifiedElementsOrHash[g]!==this._modifiedElementsOrHash[x]?!1:this._hasStrings?this._modifiedStringElements[g]===this._modifiedStringElements[x]:!0}ComputeDiff(g){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,g)}_ComputeDiff(g,x,W,X,fe){const Me=[!1];let qe=this.ComputeDiffRecursive(g,x,W,X,Me);return fe&&(qe=this.PrettifyChanges(qe)),{quitEarly:Me[0],changes:qe}}ComputeDiffRecursive(g,x,W,X,fe){for(fe[0]=!1;g<=x&&W<=X&&this.ElementsAreEqual(g,W);)g++,W++;for(;x>=g&&X>=W&&this.ElementsAreEqual(x,X);)x--,X--;if(g>x||W>X){let Xe;return W<=X?(XL.Assert(g===x+1,"originalStart should only be one more than originalEnd"),Xe=[new bR(g,0,W,X-W+1)]):g<=x?(XL.Assert(W===X+1,"modifiedStart should only be one more than modifiedEnd"),Xe=[new bR(g,x-g+1,W,0)]):(XL.Assert(g===x+1,"originalStart should only be one more than originalEnd"),XL.Assert(W===X+1,"modifiedStart should only be one more than modifiedEnd"),Xe=[]),Xe}const Me=[0],qe=[0],se=this.ComputeRecursionPoint(g,x,W,X,Me,qe,fe),mt=Me[0],et=qe[0];if(se!==null)return se;if(!fe[0]){const Xe=this.ComputeDiffRecursive(g,mt,W,et,fe);let Mn=[];return fe[0]?Mn=[new bR(mt+1,x-(mt+1)+1,et+1,X-(et+1)+1)]:Mn=this.ComputeDiffRecursive(mt+1,x,et+1,X,fe),this.ConcatenateChanges(Xe,Mn)}return[new bR(g,x-g+1,W,X-W+1)]}WALKTRACE(g,x,W,X,fe,Me,qe,se,mt,et,Xe,Mn,Wn,qn,Ln,Ji,ho,Gn){let _n=null,pa=null,lo=new Eve,Ys=x,Vn=W,zi=Wn[0]-Ji[0]-X,po=-1073741824,Fn=this.m_forwardHistory.length-1;do{const ws=zi+g;ws===Ys||ws<Vn&&mt[ws-1]<mt[ws+1]?(Xe=mt[ws+1],qn=Xe-zi-X,Xe<po&&lo.MarkNextChange(),po=Xe,lo.AddModifiedElement(Xe+1,qn),zi=ws+1-g):(Xe=mt[ws-1]+1,qn=Xe-zi-X,Xe<po&&lo.MarkNextChange(),po=Xe-1,lo.AddOriginalElement(Xe,qn+1),zi=ws-1-g),Fn>=0&&(mt=this.m_forwardHistory[Fn],g=mt[0],Ys=1,Vn=mt.length-1)}while(--Fn>=-1);if(_n=lo.getReverseChanges(),Gn[0]){let ws=Wn[0]+1,ai=Ji[0]+1;if(_n!==null&&_n.length>0){const Gt=_n[_n.length-1];ws=Math.max(ws,Gt.getOriginalEnd()),ai=Math.max(ai,Gt.getModifiedEnd())}pa=[new bR(ws,Mn-ws+1,ai,Ln-ai+1)]}else{lo=new Eve,Ys=Me,Vn=qe,zi=Wn[0]-Ji[0]-se,po=1073741824,Fn=ho?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const ws=zi+fe;ws===Ys||ws<Vn&&et[ws-1]>=et[ws+1]?(Xe=et[ws+1]-1,qn=Xe-zi-se,Xe>po&&lo.MarkNextChange(),po=Xe+1,lo.AddOriginalElement(Xe+1,qn+1),zi=ws+1-fe):(Xe=et[ws-1],qn=Xe-zi-se,Xe>po&&lo.MarkNextChange(),po=Xe,lo.AddModifiedElement(Xe+1,qn+1),zi=ws-1-fe),Fn>=0&&(et=this.m_reverseHistory[Fn],fe=et[0],Ys=1,Vn=et.length-1)}while(--Fn>=-1);pa=lo.getChanges()}return this.ConcatenateChanges(_n,pa)}ComputeRecursionPoint(g,x,W,X,fe,Me,qe){let se=0,mt=0,et=0,Xe=0,Mn=0,Wn=0;g--,W--,fe[0]=0,Me[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const qn=x-g+(X-W),Ln=qn+1,Ji=new Int32Array(Ln),ho=new Int32Array(Ln),Gn=X-W,_n=x-g,pa=g-W,lo=x-X,Vn=(_n-Gn)%2===0;Ji[Gn]=g,ho[_n]=x,qe[0]=!1;for(let zi=1;zi<=qn/2+1;zi++){let po=0,Fn=0;et=this.ClipDiagonalBound(Gn-zi,zi,Gn,Ln),Xe=this.ClipDiagonalBound(Gn+zi,zi,Gn,Ln);for(let ai=et;ai<=Xe;ai+=2){ai===et||ai<Xe&&Ji[ai-1]<Ji[ai+1]?se=Ji[ai+1]:se=Ji[ai-1]+1,mt=se-(ai-Gn)-pa;const Gt=se;for(;se<x&&mt<X&&this.ElementsAreEqual(se+1,mt+1);)se++,mt++;if(Ji[ai]=se,se+mt>po+Fn&&(po=se,Fn=mt),!Vn&&Math.abs(ai-_n)<=zi-1&&se>=ho[ai])return fe[0]=se,Me[0]=mt,Gt<=ho[ai]&&zi<=1448?this.WALKTRACE(Gn,et,Xe,pa,_n,Mn,Wn,lo,Ji,ho,se,x,fe,mt,X,Me,Vn,qe):null}const ws=(po-g+(Fn-W)-zi)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(po,ws))return qe[0]=!0,fe[0]=po,Me[0]=Fn,ws>0&&zi<=1448?this.WALKTRACE(Gn,et,Xe,pa,_n,Mn,Wn,lo,Ji,ho,se,x,fe,mt,X,Me,Vn,qe):(g++,W++,[new bR(g,x-g+1,W,X-W+1)]);Mn=this.ClipDiagonalBound(_n-zi,zi,_n,Ln),Wn=this.ClipDiagonalBound(_n+zi,zi,_n,Ln);for(let ai=Mn;ai<=Wn;ai+=2){ai===Mn||ai<Wn&&ho[ai-1]>=ho[ai+1]?se=ho[ai+1]-1:se=ho[ai-1],mt=se-(ai-_n)-lo;const Gt=se;for(;se>g&&mt>W&&this.ElementsAreEqual(se,mt);)se--,mt--;if(ho[ai]=se,Vn&&Math.abs(ai-Gn)<=zi&&se<=Ji[ai])return fe[0]=se,Me[0]=mt,Gt>=Ji[ai]&&zi<=1448?this.WALKTRACE(Gn,et,Xe,pa,_n,Mn,Wn,lo,Ji,ho,se,x,fe,mt,X,Me,Vn,qe):null}if(zi<=1447){let ai=new Int32Array(Xe-et+2);ai[0]=Gn-et+1,YL.Copy2(Ji,et,ai,1,Xe-et+1),this.m_forwardHistory.push(ai),ai=new Int32Array(Wn-Mn+2),ai[0]=_n-Mn+1,YL.Copy2(ho,Mn,ai,1,Wn-Mn+1),this.m_reverseHistory.push(ai)}}return this.WALKTRACE(Gn,et,Xe,pa,_n,Mn,Wn,lo,Ji,ho,se,x,fe,mt,X,Me,Vn,qe)}PrettifyChanges(g){for(let x=0;x<g.length;x++){const W=g[x],X=x<g.length-1?g[x+1].originalStart:this._originalElementsOrHash.length,fe=x<g.length-1?g[x+1].modifiedStart:this._modifiedElementsOrHash.length,Me=W.originalLength>0,qe=W.modifiedLength>0;for(;W.originalStart+W.originalLength<X&&W.modifiedStart+W.modifiedLength<fe&&(!Me||this.OriginalElementsAreEqual(W.originalStart,W.originalStart+W.originalLength))&&(!qe||this.ModifiedElementsAreEqual(W.modifiedStart,W.modifiedStart+W.modifiedLength));){const mt=this.ElementsAreStrictEqual(W.originalStart,W.modifiedStart);if(this.ElementsAreStrictEqual(W.originalStart+W.originalLength,W.modifiedStart+W.modifiedLength)&&!mt)break;W.originalStart++,W.modifiedStart++}const se=[null];if(x<g.length-1&&this.ChangesOverlap(g[x],g[x+1],se)){g[x]=se[0],g.splice(x+1,1),x--;continue}}for(let x=g.length-1;x>=0;x--){const W=g[x];let X=0,fe=0;if(x>0){const Xe=g[x-1];X=Xe.originalStart+Xe.originalLength,fe=Xe.modifiedStart+Xe.modifiedLength}const Me=W.originalLength>0,qe=W.modifiedLength>0;let se=0,mt=this._boundaryScore(W.originalStart,W.originalLength,W.modifiedStart,W.modifiedLength);for(let Xe=1;;Xe++){const Mn=W.originalStart-Xe,Wn=W.modifiedStart-Xe;if(Mn<X||Wn<fe||Me&&!this.OriginalElementsAreEqual(Mn,Mn+W.originalLength)||qe&&!this.ModifiedElementsAreEqual(Wn,Wn+W.modifiedLength))break;const Ln=(Mn===X&&Wn===fe?5:0)+this._boundaryScore(Mn,W.originalLength,Wn,W.modifiedLength);Ln>mt&&(mt=Ln,se=Xe)}W.originalStart-=se,W.modifiedStart-=se;const et=[null];if(x>0&&this.ChangesOverlap(g[x-1],g[x],et)){g[x-1]=et[0],g.splice(x,1),x++;continue}}if(this._hasStrings)for(let x=1,W=g.length;x<W;x++){const X=g[x-1],fe=g[x],Me=fe.originalStart-X.originalStart-X.originalLength,qe=X.originalStart,se=fe.originalStart+fe.originalLength,mt=se-qe,et=X.modifiedStart,Xe=fe.modifiedStart+fe.modifiedLength,Mn=Xe-et;if(Me<5&&mt<20&&Mn<20){const Wn=this._findBetterContiguousSequence(qe,mt,et,Mn,Me);if(Wn){const[qn,Ln]=Wn;(qn!==X.originalStart+X.originalLength||Ln!==X.modifiedStart+X.modifiedLength)&&(X.originalLength=qn-X.originalStart,X.modifiedLength=Ln-X.modifiedStart,fe.originalStart=qn+Me,fe.modifiedStart=Ln+Me,fe.originalLength=se-fe.originalStart,fe.modifiedLength=Xe-fe.modifiedStart)}}}return g}_findBetterContiguousSequence(g,x,W,X,fe){if(x<fe||X<fe)return null;const Me=g+x-fe+1,qe=W+X-fe+1;let se=0,mt=0,et=0;for(let Xe=g;Xe<Me;Xe++)for(let Mn=W;Mn<qe;Mn++){const Wn=this._contiguousSequenceScore(Xe,Mn,fe);Wn>0&&Wn>se&&(se=Wn,mt=Xe,et=Mn)}return se>0?[mt,et]:null}_contiguousSequenceScore(g,x,W){let X=0;for(let fe=0;fe<W;fe++){if(!this.ElementsAreEqual(g+fe,x+fe))return 0;X+=this._originalStringElements[g+fe].length}return X}_OriginalIsBoundary(g){return g<=0||g>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[g])}_OriginalRegionIsBoundary(g,x){if(this._OriginalIsBoundary(g)||this._OriginalIsBoundary(g-1))return!0;if(x>0){const W=g+x;if(this._OriginalIsBoundary(W-1)||this._OriginalIsBoundary(W))return!0}return!1}_ModifiedIsBoundary(g){return g<=0||g>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[g])}_ModifiedRegionIsBoundary(g,x){if(this._ModifiedIsBoundary(g)||this._ModifiedIsBoundary(g-1))return!0;if(x>0){const W=g+x;if(this._ModifiedIsBoundary(W-1)||this._ModifiedIsBoundary(W))return!0}return!1}_boundaryScore(g,x,W,X){const fe=this._OriginalRegionIsBoundary(g,x)?1:0,Me=this._ModifiedRegionIsBoundary(W,X)?1:0;return fe+Me}ConcatenateChanges(g,x){const W=[];if(g.length===0||x.length===0)return x.length>0?x:g;if(this.ChangesOverlap(g[g.length-1],x[0],W)){const X=new Array(g.length+x.length-1);return YL.Copy(g,0,X,0,g.length-1),X[g.length-1]=W[0],YL.Copy(x,1,X,g.length,x.length-1),X}else{const X=new Array(g.length+x.length);return YL.Copy(g,0,X,0,g.length),YL.Copy(x,0,X,g.length,x.length),X}}ChangesOverlap(g,x,W){if(XL.Assert(g.originalStart<=x.originalStart,"Left change is not less than or equal to right change"),XL.Assert(g.modifiedStart<=x.modifiedStart,"Left change is not less than or equal to right change"),g.originalStart+g.originalLength>=x.originalStart||g.modifiedStart+g.modifiedLength>=x.modifiedStart){const X=g.originalStart;let fe=g.originalLength;const Me=g.modifiedStart;let qe=g.modifiedLength;return g.originalStart+g.originalLength>=x.originalStart&&(fe=x.originalStart+x.originalLength-g.originalStart),g.modifiedStart+g.modifiedLength>=x.modifiedStart&&(qe=x.modifiedStart+x.modifiedLength-g.modifiedStart),W[0]=new bR(X,fe,Me,qe),!0}else return W[0]=null,!1}ClipDiagonalBound(g,x,W,X){if(g>=0&&g<X)return g;const fe=W,Me=X-W-1,qe=x%2===0;if(g<0){const se=fe%2===0;return qe===se?0:1}else{const se=Me%2===0;return qe===se?X-1:X-2}}}class Zc{constructor(g,x){this.lineNumber=g,this.column=x}with(g=this.lineNumber,x=this.column){return g===this.lineNumber&&x===this.column?this:new Zc(g,x)}delta(g=0,x=0){return this.with(Math.max(1,this.lineNumber+g),Math.max(1,this.column+x))}equals(g){return Zc.equals(this,g)}static equals(g,x){return!g&&!x?!0:!!g&&!!x&&g.lineNumber===x.lineNumber&&g.column===x.column}isBefore(g){return Zc.isBefore(this,g)}static isBefore(g,x){return g.lineNumber<x.lineNumber?!0:x.lineNumber<g.lineNumber?!1:g.column<x.column}isBeforeOrEqual(g){return Zc.isBeforeOrEqual(this,g)}static isBeforeOrEqual(g,x){return g.lineNumber<x.lineNumber?!0:x.lineNumber<g.lineNumber?!1:g.column<=x.column}static compare(g,x){const W=g.lineNumber|0,X=x.lineNumber|0;if(W===X){const fe=g.column|0,Me=x.column|0;return fe-Me}return W-X}clone(){return new Zc(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(g){return new Zc(g.lineNumber,g.column)}static isIPosition(g){return!!g&&typeof g.lineNumber=="number"&&typeof g.column=="number"}toJSON(){return{lineNumber:this.lineNumber,column:this.column}}}class ss{constructor(g,x,W,X){g>W||g===W&&x>X?(this.startLineNumber=W,this.startColumn=X,this.endLineNumber=g,this.endColumn=x):(this.startLineNumber=g,this.startColumn=x,this.endLineNumber=W,this.endColumn=X)}isEmpty(){return ss.isEmpty(this)}static isEmpty(g){return g.startLineNumber===g.endLineNumber&&g.startColumn===g.endColumn}containsPosition(g){return ss.containsPosition(this,g)}static containsPosition(g,x){return!(x.lineNumber<g.startLineNumber||x.lineNumber>g.endLineNumber||x.lineNumber===g.startLineNumber&&x.column<g.startColumn||x.lineNumber===g.endLineNumber&&x.column>g.endColumn)}static strictContainsPosition(g,x){return!(x.lineNumber<g.startLineNumber||x.lineNumber>g.endLineNumber||x.lineNumber===g.startLineNumber&&x.column<=g.startColumn||x.lineNumber===g.endLineNumber&&x.column>=g.endColumn)}containsRange(g){return ss.containsRange(this,g)}static containsRange(g,x){return!(x.startLineNumber<g.startLineNumber||x.endLineNumber<g.startLineNumber||x.startLineNumber>g.endLineNumber||x.endLineNumber>g.endLineNumber||x.startLineNumber===g.startLineNumber&&x.startColumn<g.startColumn||x.endLineNumber===g.endLineNumber&&x.endColumn>g.endColumn)}strictContainsRange(g){return ss.strictContainsRange(this,g)}static strictContainsRange(g,x){return!(x.startLineNumber<g.startLineNumber||x.endLineNumber<g.startLineNumber||x.startLineNumber>g.endLineNumber||x.endLineNumber>g.endLineNumber||x.startLineNumber===g.startLineNumber&&x.startColumn<=g.startColumn||x.endLineNumber===g.endLineNumber&&x.endColumn>=g.endColumn)}plusRange(g){return ss.plusRange(this,g)}static plusRange(g,x){let W,X,fe,Me;return x.startLineNumber<g.startLineNumber?(W=x.startLineNumber,X=x.startColumn):x.startLineNumber===g.startLineNumber?(W=x.startLineNumber,X=Math.min(x.startColumn,g.startColumn)):(W=g.startLineNumber,X=g.startColumn),x.endLineNumber>g.endLineNumber?(fe=x.endLineNumber,Me=x.endColumn):x.endLineNumber===g.endLineNumber?(fe=x.endLineNumber,Me=Math.max(x.endColumn,g.endColumn)):(fe=g.endLineNumber,Me=g.endColumn),new ss(W,X,fe,Me)}intersectRanges(g){return ss.intersectRanges(this,g)}static intersectRanges(g,x){let W=g.startLineNumber,X=g.startColumn,fe=g.endLineNumber,Me=g.endColumn;const qe=x.startLineNumber,se=x.startColumn,mt=x.endLineNumber,et=x.endColumn;return W<qe?(W=qe,X=se):W===qe&&(X=Math.max(X,se)),fe>mt?(fe=mt,Me=et):fe===mt&&(Me=Math.min(Me,et)),W>fe||W===fe&&X>Me?null:new ss(W,X,fe,Me)}equalsRange(g){return ss.equalsRange(this,g)}static equalsRange(g,x){return!g&&!x?!0:!!g&&!!x&&g.startLineNumber===x.startLineNumber&&g.startColumn===x.startColumn&&g.endLineNumber===x.endLineNumber&&g.endColumn===x.endColumn}getEndPosition(){return ss.getEndPosition(this)}static getEndPosition(g){return new Zc(g.endLineNumber,g.endColumn)}getStartPosition(){return ss.getStartPosition(this)}static getStartPosition(g){return new Zc(g.startLineNumber,g.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(g,x){return new ss(this.startLineNumber,this.startColumn,g,x)}setStartPosition(g,x){return new ss(g,x,this.endLineNumber,this.endColumn)}collapseToStart(){return ss.collapseToStart(this)}static collapseToStart(g){return new ss(g.startLineNumber,g.startColumn,g.startLineNumber,g.startColumn)}collapseToEnd(){return ss.collapseToEnd(this)}static collapseToEnd(g){return new ss(g.endLineNumber,g.endColumn,g.endLineNumber,g.endColumn)}delta(g){return new ss(this.startLineNumber+g,this.startColumn,this.endLineNumber+g,this.endColumn)}isSingleLine(){return this.startLineNumber===this.endLineNumber}static fromPositions(g,x=g){return new ss(g.lineNumber,g.column,x.lineNumber,x.column)}static lift(g){return g?new ss(g.startLineNumber,g.startColumn,g.endLineNumber,g.endColumn):null}static isIRange(g){return!!g&&typeof g.startLineNumber=="number"&&typeof g.startColumn=="number"&&typeof g.endLineNumber=="number"&&typeof g.endColumn=="number"}static areIntersectingOrTouching(g,x){return!(g.endLineNumber<x.startLineNumber||g.endLineNumber===x.startLineNumber&&g.endColumn<x.startColumn||x.endLineNumber<g.startLineNumber||x.endLineNumber===g.startLineNumber&&x.endColumn<g.startColumn)}static areIntersecting(g,x){return!(g.endLineNumber<x.startLineNumber||g.endLineNumber===x.startLineNumber&&g.endColumn<=x.startColumn||x.endLineNumber<g.startLineNumber||x.endLineNumber===g.startLineNumber&&x.endColumn<=g.startColumn)}static areOnlyIntersecting(g,x){return!(g.endLineNumber<x.startLineNumber-1||g.endLineNumber===x.startLineNumber&&g.endColumn<x.startColumn-1||x.endLineNumber<g.startLineNumber-1||x.endLineNumber===g.startLineNumber&&x.endColumn<g.startColumn-1)}static compareRangesUsingStarts(g,x){if(g&&x){const fe=g.startLineNumber|0,Me=x.startLineNumber|0;if(fe===Me){const qe=g.startColumn|0,se=x.startColumn|0;if(qe===se){const mt=g.endLineNumber|0,et=x.endLineNumber|0;if(mt===et){const Xe=g.endColumn|0,Mn=x.endColumn|0;return Xe-Mn}return mt-et}return qe-se}return fe-Me}return(g?1:0)-(x?1:0)}static compareRangesUsingEnds(g,x){return g.endLineNumber===x.endLineNumber?g.endColumn===x.endColumn?g.startLineNumber===x.startLineNumber?g.startColumn-x.startColumn:g.startLineNumber-x.startLineNumber:g.endColumn-x.endColumn:g.endLineNumber-x.endLineNumber}static spansMultipleLines(g){return g.endLineNumber>g.startLineNumber}toJSON(){return this}}function Ave(b){return b<0?0:b>255?255:b|0}function $L(b){return b<0?0:b>4294967295?4294967295:b|0}class xQ{constructor(g){const x=Ave(g);this._defaultValue=x,this._asciiMap=xQ._createAsciiMap(x),this._map=new Map}static _createAsciiMap(g){const x=new Uint8Array(256);return x.fill(g),x}set(g,x){const W=Ave(x);g>=0&&g<256?this._asciiMap[g]=W:this._map.set(g,W)}get(g){return g>=0&&g<256?this._asciiMap[g]:this._map.get(g)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class Jze{constructor(g,x,W){const X=new Uint8Array(g*x);for(let fe=0,Me=g*x;fe<Me;fe++)X[fe]=W;this._data=X,this.rows=g,this.cols=x}get(g,x){return this._data[g*this.cols+x]}set(g,x,W){this._data[g*this.cols+x]=W}}class Kze{constructor(g){let x=0,W=0;for(let fe=0,Me=g.length;fe<Me;fe++){const[qe,se,mt]=g[fe];se>x&&(x=se),qe>W&&(W=qe),mt>W&&(W=mt)}x++,W++;const X=new Jze(W,x,0);for(let fe=0,Me=g.length;fe<Me;fe++){const[qe,se,mt]=g[fe];X.set(qe,se,mt)}this._states=X,this._maxCharCode=x}nextState(g,x){return x<0||x>=this._maxCharCode?0:this._states.get(g,x)}}let RQ=null;function Xze(){return RQ===null&&(RQ=new Kze([[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]])),RQ}let MW=null;function Yze(){if(MW===null){MW=new xQ(0);const b=" <>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…|";for(let x=0;x<b.length;x++)MW.set(b.charCodeAt(x),1);const g=".,;:";for(let x=0;x<g.length;x++)MW.set(g.charCodeAt(x),2)}return MW}class IB{static _createLink(g,x,W,X,fe){let Me=fe-1;do{const qe=x.charCodeAt(Me);if(g.get(qe)!==2)break;Me--}while(Me>X);if(X>0){const qe=x.charCodeAt(X-1),se=x.charCodeAt(Me);(qe===40&&se===41||qe===91&&se===93||qe===123&&se===125)&&Me--}return{range:{startLineNumber:W,startColumn:X+1,endLineNumber:W,endColumn:Me+2},url:x.substring(X,Me+1)}}static computeLinks(g,x=Xze()){const W=Yze(),X=[];for(let fe=1,Me=g.getLineCount();fe<=Me;fe++){const qe=g.getLineContent(fe),se=qe.length;let mt=0,et=0,Xe=0,Mn=1,Wn=!1,qn=!1,Ln=!1,Ji=!1;for(;mt<se;){let ho=!1;const Gn=qe.charCodeAt(mt);if(Mn===13){let _n;switch(Gn){case 40:Wn=!0,_n=0;break;case 41:_n=Wn?0:1;break;case 91:Ln=!0,qn=!0,_n=0;break;case 93:Ln=!1,_n=qn?0:1;break;case 123:Ji=!0,_n=0;break;case 125:_n=Ji?0:1;break;case 39:case 34:case 96:Xe===Gn?_n=1:Xe===39||Xe===34||Xe===96?_n=0:_n=1;break;case 42:_n=Xe===42?1:0;break;case 32:_n=Ln?0:1;break;default:_n=W.get(Gn)}_n===1&&(X.push(IB._createLink(W,qe,fe,et,mt)),ho=!0)}else if(Mn===12){let _n;Gn===91?(qn=!0,_n=0):_n=W.get(Gn),_n===1?ho=!0:Mn=13}else Mn=x.nextState(Mn,Gn),Mn===0&&(ho=!0);ho&&(Mn=1,Wn=!1,qn=!1,Ji=!1,et=mt+1,Xe=Gn),mt++}Mn===13&&X.push(IB._createLink(W,qe,fe,et,se))}return X}}function $ze(b){return!b||typeof b.getLineCount!="function"||typeof b.getLineContent!="function"?[]:IB.computeLinks(b)}const BB=class BB{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(g,x,W,X,fe){if(g&&x){const Me=this.doNavigateValueSet(x,fe);if(Me)return{range:g,value:Me}}if(W&&X){const Me=this.doNavigateValueSet(X,fe);if(Me)return{range:W,value:Me}}return null}doNavigateValueSet(g,x){const W=this.numberReplace(g,x);return W!==null?W:this.textReplace(g,x)}numberReplace(g,x){const W=Math.pow(10,g.length-(g.lastIndexOf(".")+1));let X=Number(g);const fe=parseFloat(g);return!isNaN(X)&&!isNaN(fe)&&X===fe?X===0&&!x?null:(X=Math.floor(X*W),X+=x?W:-W,String(X/W)):null}textReplace(g,x){return this.valueSetsReplace(this._defaultValueSet,g,x)}valueSetsReplace(g,x,W){let X=null;for(let fe=0,Me=g.length;X===null&&fe<Me;fe++)X=this.valueSetReplace(g[fe],x,W);return X}valueSetReplace(g,x,W){let X=g.indexOf(x);return X>=0?(X+=W?1:-1,X<0?X=g.length-1:X%=g.length,g[X]):null}};BB.INSTANCE=new BB;let DQ=BB;const Ive=Object.freeze(function(b,g){const x=setTimeout(b.bind(g),0);return{dispose(){clearTimeout(x)}}});var xB;(function(b){function g(x){return x===b.None||x===b.Cancelled||x instanceof RB?!0:!x||typeof x!="object"?!1:typeof x.isCancellationRequested=="boolean"&&typeof x.onCancellationRequested=="function"}b.isCancellationToken=g,b.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:uQ.None}),b.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Ive})})(xB||(xB={}));class RB{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?Ive:(this._emitter||(this._emitter=new FE),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class Qze{constructor(g){this._token=void 0,this._parentListener=void 0,this._parentListener=g&&g.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new RB),this._token}cancel(){this._token?this._token instanceof RB&&this._token.cancel():this._token=xB.Cancelled}dispose(g=!1){var x;g&&this.cancel(),(x=this._parentListener)==null||x.dispose(),this._token?this._token instanceof RB&&this._token.dispose():this._token=xB.None}}class CQ{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(g,x){this._keyCodeToStr[g]=x,this._strToKeyCode[x.toLowerCase()]=g}keyCodeToStr(g){return this._keyCodeToStr[g]}strToKeyCode(g){return this._strToKeyCode[g.toLowerCase()]||0}}const DB=new CQ,NQ=new CQ,MQ=new CQ,Zze=new Array(230),e5e=Object.create(null),t5e=Object.create(null);(function(){const g=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[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,"",0,"","",""],[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","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]],x=[],W=[];for(const X of g){const[fe,Me,qe,se,mt,et,Xe,Mn,Wn]=X;if(W[Me]||(W[Me]=!0,e5e[qe]=Me,t5e[qe.toLowerCase()]=Me),!x[se]){if(x[se]=!0,!mt)throw new Error("String representation missing for key code ".concat(se," around scan code ").concat(qe));DB.define(se,mt),NQ.define(se,Mn||mt),MQ.define(se,Wn||Mn||mt)}et&&(Zze[et]=se)}})();var xve;(function(b){function g(qe){return DB.keyCodeToStr(qe)}b.toString=g;function x(qe){return DB.strToKeyCode(qe)}b.fromString=x;function W(qe){return NQ.keyCodeToStr(qe)}b.toUserSettingsUS=W;function X(qe){return MQ.keyCodeToStr(qe)}b.toUserSettingsGeneral=X;function fe(qe){return NQ.strToKeyCode(qe)||MQ.strToKeyCode(qe)}b.fromUserSettings=fe;function Me(qe){if(qe>=98&&qe<=113)return null;switch(qe){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return DB.keyCodeToStr(qe)}b.toElectronAccelerator=Me})(xve||(xve={}));function n5e(b,g){const x=(g&65535)<<16>>>0;return(b|x)>>>0}var Rve={};let QL;const PQ=globalThis.vscode;if(typeof PQ<"u"&&typeof PQ.process<"u"){const b=PQ.process;QL={get platform(){return b.platform},get arch(){return b.arch},get env(){return b.env},cwd(){return b.cwd()}}}else typeof process<"u"&&typeof((R0e=process==null?void 0:process.versions)==null?void 0:R0e.node)=="string"?QL={get platform(){return process.platform},get arch(){return process.arch},get env(){return Rve},cwd(){return Rve.VSCODE_CWD||process.cwd()}}:QL={get platform(){return RW?"win32":Tze?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};const CB=QL.cwd,r5e=QL.env,i5e=QL.platform,o5e=65,a5e=97,s5e=90,l5e=122,cN=46,Gh=47,$y=92,UA=58,c5e=63;class Dve extends Error{constructor(g,x,W){let X;typeof x=="string"&&x.indexOf("not ")===0?(X="must not be",x=x.replace(/^not /,"")):X="must be";const fe=g.indexOf(".")!==-1?"property":"argument";let Me='The "'.concat(g,'" ').concat(fe," ").concat(X," of type ").concat(x);Me+=". Received type ".concat(typeof W),super(Me),this.code="ERR_INVALID_ARG_TYPE"}}function d5e(b,g){if(b===null||typeof b!="object")throw new Dve(g,"Object",b)}function kf(b,g){if(typeof b!="string")throw new Dve(g,"string",b)}const SR=i5e==="win32";function $l(b){return b===Gh||b===$y}function LQ(b){return b===Gh}function HA(b){return b>=o5e&&b<=s5e||b>=a5e&&b<=l5e}function NB(b,g,x,W){let X="",fe=0,Me=-1,qe=0,se=0;for(let mt=0;mt<=b.length;++mt){if(mt<b.length)se=b.charCodeAt(mt);else{if(W(se))break;se=Gh}if(W(se)){if(!(Me===mt-1||qe===1))if(qe===2){if(X.length<2||fe!==2||X.charCodeAt(X.length-1)!==cN||X.charCodeAt(X.length-2)!==cN){if(X.length>2){const et=X.lastIndexOf(x);et===-1?(X="",fe=0):(X=X.slice(0,et),fe=X.length-1-X.lastIndexOf(x)),Me=mt,qe=0;continue}else if(X.length!==0){X="",fe=0,Me=mt,qe=0;continue}}g&&(X+=X.length>0?"".concat(x,".."):"..",fe=2)}else X.length>0?X+="".concat(x).concat(b.slice(Me+1,mt)):X=b.slice(Me+1,mt),fe=mt-Me-1;Me=mt,qe=0}else se===cN&&qe!==-1?++qe:qe=-1}return X}function u5e(b){return b?"".concat(b[0]==="."?"":".").concat(b):""}function Cve(b,g){d5e(g,"pathObject");const x=g.dir||g.root,W=g.base||"".concat(g.name||"").concat(u5e(g.ext));return x?x===g.root?"".concat(x).concat(W):"".concat(x).concat(b).concat(W):W}const ty={resolve(...b){let g="",x="",W=!1;for(let X=b.length-1;X>=-1;X--){let fe;if(X>=0){if(fe=b[X],kf(fe,"paths[".concat(X,"]")),fe.length===0)continue}else g.length===0?fe=CB():(fe=r5e["=".concat(g)]||CB(),(fe===void 0||fe.slice(0,2).toLowerCase()!==g.toLowerCase()&&fe.charCodeAt(2)===$y)&&(fe="".concat(g,"\\")));const Me=fe.length;let qe=0,se="",mt=!1;const et=fe.charCodeAt(0);if(Me===1)$l(et)&&(qe=1,mt=!0);else if($l(et))if(mt=!0,$l(fe.charCodeAt(1))){let Xe=2,Mn=Xe;for(;Xe<Me&&!$l(fe.charCodeAt(Xe));)Xe++;if(Xe<Me&&Xe!==Mn){const Wn=fe.slice(Mn,Xe);for(Mn=Xe;Xe<Me&&$l(fe.charCodeAt(Xe));)Xe++;if(Xe<Me&&Xe!==Mn){for(Mn=Xe;Xe<Me&&!$l(fe.charCodeAt(Xe));)Xe++;(Xe===Me||Xe!==Mn)&&(se="\\\\".concat(Wn,"\\").concat(fe.slice(Mn,Xe)),qe=Xe)}}}else qe=1;else HA(et)&&fe.charCodeAt(1)===UA&&(se=fe.slice(0,2),qe=2,Me>2&&$l(fe.charCodeAt(2))&&(mt=!0,qe=3));if(se.length>0)if(g.length>0){if(se.toLowerCase()!==g.toLowerCase())continue}else g=se;if(W){if(g.length>0)break}else if(x="".concat(fe.slice(qe),"\\").concat(x),W=mt,mt&&g.length>0)break}return x=NB(x,!W,"\\",$l),W?"".concat(g,"\\").concat(x):"".concat(g).concat(x)||"."},normalize(b){kf(b,"path");const g=b.length;if(g===0)return".";let x=0,W,X=!1;const fe=b.charCodeAt(0);if(g===1)return LQ(fe)?"\\":b;if($l(fe))if(X=!0,$l(b.charCodeAt(1))){let qe=2,se=qe;for(;qe<g&&!$l(b.charCodeAt(qe));)qe++;if(qe<g&&qe!==se){const mt=b.slice(se,qe);for(se=qe;qe<g&&$l(b.charCodeAt(qe));)qe++;if(qe<g&&qe!==se){for(se=qe;qe<g&&!$l(b.charCodeAt(qe));)qe++;if(qe===g)return"\\\\".concat(mt,"\\").concat(b.slice(se),"\\");qe!==se&&(W="\\\\".concat(mt,"\\").concat(b.slice(se,qe)),x=qe)}}}else x=1;else HA(fe)&&b.charCodeAt(1)===UA&&(W=b.slice(0,2),x=2,g>2&&$l(b.charCodeAt(2))&&(X=!0,x=3));let Me=x<g?NB(b.slice(x),!X,"\\",$l):"";if(Me.length===0&&!X&&(Me="."),Me.length>0&&$l(b.charCodeAt(g-1))&&(Me+="\\"),!X&&W===void 0&&b.includes(":")){if(Me.length>=2&&HA(Me.charCodeAt(0))&&Me.charCodeAt(1)===UA)return".\\".concat(Me);let qe=b.indexOf(":");do if(qe===g-1||$l(b.charCodeAt(qe+1)))return".\\".concat(Me);while((qe=b.indexOf(":",qe+1))!==-1)}return W===void 0?X?"\\".concat(Me):Me:X?"".concat(W,"\\").concat(Me):"".concat(W).concat(Me)},isAbsolute(b){kf(b,"path");const g=b.length;if(g===0)return!1;const x=b.charCodeAt(0);return $l(x)||g>2&&HA(x)&&b.charCodeAt(1)===UA&&$l(b.charCodeAt(2))},join(...b){if(b.length===0)return".";let g,x;for(let fe=0;fe<b.length;++fe){const Me=b[fe];kf(Me,"path"),Me.length>0&&(g===void 0?g=x=Me:g+="\\".concat(Me))}if(g===void 0)return".";let W=!0,X=0;if(typeof x=="string"&&$l(x.charCodeAt(0))){++X;const fe=x.length;fe>1&&$l(x.charCodeAt(1))&&(++X,fe>2&&($l(x.charCodeAt(2))?++X:W=!1))}if(W){for(;X<g.length&&$l(g.charCodeAt(X));)X++;X>=2&&(g="\\".concat(g.slice(X)))}return ty.normalize(g)},relative(b,g){if(kf(b,"from"),kf(g,"to"),b===g)return"";const x=ty.resolve(b),W=ty.resolve(g);if(x===W||(b=x.toLowerCase(),g=W.toLowerCase(),b===g))return"";if(x.length!==b.length||W.length!==g.length){const qn=x.split("\\"),Ln=W.split("\\");qn[qn.length-1]===""&&qn.pop(),Ln[Ln.length-1]===""&&Ln.pop();const Ji=qn.length,ho=Ln.length,Gn=Ji<ho?Ji:ho;let _n;for(_n=0;_n<Gn&&qn[_n].toLowerCase()===Ln[_n].toLowerCase();_n++);return _n===0?W:_n===Gn?ho>Gn?Ln.slice(_n).join("\\"):Ji>Gn?"..\\".repeat(Ji-1-_n)+"..":"":"..\\".repeat(Ji-_n)+Ln.slice(_n).join("\\")}let X=0;for(;X<b.length&&b.charCodeAt(X)===$y;)X++;let fe=b.length;for(;fe-1>X&&b.charCodeAt(fe-1)===$y;)fe--;const Me=fe-X;let qe=0;for(;qe<g.length&&g.charCodeAt(qe)===$y;)qe++;let se=g.length;for(;se-1>qe&&g.charCodeAt(se-1)===$y;)se--;const mt=se-qe,et=Me<mt?Me:mt;let Xe=-1,Mn=0;for(;Mn<et;Mn++){const qn=b.charCodeAt(X+Mn);if(qn!==g.charCodeAt(qe+Mn))break;qn===$y&&(Xe=Mn)}if(Mn!==et){if(Xe===-1)return W}else{if(mt>et){if(g.charCodeAt(qe+Mn)===$y)return W.slice(qe+Mn+1);if(Mn===2)return W.slice(qe+Mn)}Me>et&&(b.charCodeAt(X+Mn)===$y?Xe=Mn:Mn===2&&(Xe=3)),Xe===-1&&(Xe=0)}let Wn="";for(Mn=X+Xe+1;Mn<=fe;++Mn)(Mn===fe||b.charCodeAt(Mn)===$y)&&(Wn+=Wn.length===0?"..":"\\..");return qe+=Xe,Wn.length>0?"".concat(Wn).concat(W.slice(qe,se)):(W.charCodeAt(qe)===$y&&++qe,W.slice(qe,se))},toNamespacedPath(b){if(typeof b!="string"||b.length===0)return b;const g=ty.resolve(b);if(g.length<=2)return b;if(g.charCodeAt(0)===$y){if(g.charCodeAt(1)===$y){const x=g.charCodeAt(2);if(x!==c5e&&x!==cN)return"\\\\?\\UNC\\".concat(g.slice(2))}}else if(HA(g.charCodeAt(0))&&g.charCodeAt(1)===UA&&g.charCodeAt(2)===$y)return"\\\\?\\".concat(g);return g},dirname(b){kf(b,"path");const g=b.length;if(g===0)return".";let x=-1,W=0;const X=b.charCodeAt(0);if(g===1)return $l(X)?b:".";if($l(X)){if(x=W=1,$l(b.charCodeAt(1))){let qe=2,se=qe;for(;qe<g&&!$l(b.charCodeAt(qe));)qe++;if(qe<g&&qe!==se){for(se=qe;qe<g&&$l(b.charCodeAt(qe));)qe++;if(qe<g&&qe!==se){for(se=qe;qe<g&&!$l(b.charCodeAt(qe));)qe++;if(qe===g)return b;qe!==se&&(x=W=qe+1)}}}}else HA(X)&&b.charCodeAt(1)===UA&&(x=g>2&&$l(b.charCodeAt(2))?3:2,W=x);let fe=-1,Me=!0;for(let qe=g-1;qe>=W;--qe)if($l(b.charCodeAt(qe))){if(!Me){fe=qe;break}}else Me=!1;if(fe===-1){if(x===-1)return".";fe=x}return b.slice(0,fe)},basename(b,g){g!==void 0&&kf(g,"suffix"),kf(b,"path");let x=0,W=-1,X=!0,fe;if(b.length>=2&&HA(b.charCodeAt(0))&&b.charCodeAt(1)===UA&&(x=2),g!==void 0&&g.length>0&&g.length<=b.length){if(g===b)return"";let Me=g.length-1,qe=-1;for(fe=b.length-1;fe>=x;--fe){const se=b.charCodeAt(fe);if($l(se)){if(!X){x=fe+1;break}}else qe===-1&&(X=!1,qe=fe+1),Me>=0&&(se===g.charCodeAt(Me)?--Me===-1&&(W=fe):(Me=-1,W=qe))}return x===W?W=qe:W===-1&&(W=b.length),b.slice(x,W)}for(fe=b.length-1;fe>=x;--fe)if($l(b.charCodeAt(fe))){if(!X){x=fe+1;break}}else W===-1&&(X=!1,W=fe+1);return W===-1?"":b.slice(x,W)},extname(b){kf(b,"path");let g=0,x=-1,W=0,X=-1,fe=!0,Me=0;b.length>=2&&b.charCodeAt(1)===UA&&HA(b.charCodeAt(0))&&(g=W=2);for(let qe=b.length-1;qe>=g;--qe){const se=b.charCodeAt(qe);if($l(se)){if(!fe){W=qe+1;break}continue}X===-1&&(fe=!1,X=qe+1),se===cN?x===-1?x=qe:Me!==1&&(Me=1):x!==-1&&(Me=-1)}return x===-1||X===-1||Me===0||Me===1&&x===X-1&&x===W+1?"":b.slice(x,X)},format:Cve.bind(null,"\\"),parse(b){kf(b,"path");const g={root:"",dir:"",base:"",ext:"",name:""};if(b.length===0)return g;const x=b.length;let W=0,X=b.charCodeAt(0);if(x===1)return $l(X)?(g.root=g.dir=b,g):(g.base=g.name=b,g);if($l(X)){if(W=1,$l(b.charCodeAt(1))){let Xe=2,Mn=Xe;for(;Xe<x&&!$l(b.charCodeAt(Xe));)Xe++;if(Xe<x&&Xe!==Mn){for(Mn=Xe;Xe<x&&$l(b.charCodeAt(Xe));)Xe++;if(Xe<x&&Xe!==Mn){for(Mn=Xe;Xe<x&&!$l(b.charCodeAt(Xe));)Xe++;Xe===x?W=Xe:Xe!==Mn&&(W=Xe+1)}}}}else if(HA(X)&&b.charCodeAt(1)===UA){if(x<=2)return g.root=g.dir=b,g;if(W=2,$l(b.charCodeAt(2))){if(x===3)return g.root=g.dir=b,g;W=3}}W>0&&(g.root=b.slice(0,W));let fe=-1,Me=W,qe=-1,se=!0,mt=b.length-1,et=0;for(;mt>=W;--mt){if(X=b.charCodeAt(mt),$l(X)){if(!se){Me=mt+1;break}continue}qe===-1&&(se=!1,qe=mt+1),X===cN?fe===-1?fe=mt:et!==1&&(et=1):fe!==-1&&(et=-1)}return qe!==-1&&(fe===-1||et===0||et===1&&fe===qe-1&&fe===Me+1?g.base=g.name=b.slice(Me,qe):(g.name=b.slice(Me,fe),g.base=b.slice(Me,qe),g.ext=b.slice(fe,qe))),Me>0&&Me!==W?g.dir=b.slice(0,Me-1):g.dir=g.root,g},sep:"\\",delimiter:";",win32:null,posix:null},p5e=(()=>{if(SR){const b=/\\/g;return()=>{const g=CB().replace(b,"/");return g.slice(g.indexOf("/"))}}return()=>CB()})(),Qy={resolve(...b){let g="",x=!1;for(let W=b.length-1;W>=0&&!x;W--){const X=b[W];kf(X,"paths[".concat(W,"]")),X.length!==0&&(g="".concat(X,"/").concat(g),x=X.charCodeAt(0)===Gh)}if(!x){const W=p5e();g="".concat(W,"/").concat(g),x=W.charCodeAt(0)===Gh}return g=NB(g,!x,"/",LQ),x?"/".concat(g):g.length>0?g:"."},normalize(b){if(kf(b,"path"),b.length===0)return".";const g=b.charCodeAt(0)===Gh,x=b.charCodeAt(b.length-1)===Gh;return b=NB(b,!g,"/",LQ),b.length===0?g?"/":x?"./":".":(x&&(b+="/"),g?"/".concat(b):b)},isAbsolute(b){return kf(b,"path"),b.length>0&&b.charCodeAt(0)===Gh},join(...b){if(b.length===0)return".";const g=[];for(let x=0;x<b.length;++x){const W=b[x];kf(W,"path"),W.length>0&&g.push(W)}return g.length===0?".":Qy.normalize(g.join("/"))},relative(b,g){if(kf(b,"from"),kf(g,"to"),b===g||(b=Qy.resolve(b),g=Qy.resolve(g),b===g))return"";const x=1,W=b.length,X=W-x,fe=1,Me=g.length-fe,qe=X<Me?X:Me;let se=-1,mt=0;for(;mt<qe;mt++){const Xe=b.charCodeAt(x+mt);if(Xe!==g.charCodeAt(fe+mt))break;Xe===Gh&&(se=mt)}if(mt===qe)if(Me>qe){if(g.charCodeAt(fe+mt)===Gh)return g.slice(fe+mt+1);if(mt===0)return g.slice(fe+mt)}else X>qe&&(b.charCodeAt(x+mt)===Gh?se=mt:mt===0&&(se=0));let et="";for(mt=x+se+1;mt<=W;++mt)(mt===W||b.charCodeAt(mt)===Gh)&&(et+=et.length===0?"..":"/..");return"".concat(et).concat(g.slice(fe+se))},toNamespacedPath(b){return b},dirname(b){if(kf(b,"path"),b.length===0)return".";const g=b.charCodeAt(0)===Gh;let x=-1,W=!0;for(let X=b.length-1;X>=1;--X)if(b.charCodeAt(X)===Gh){if(!W){x=X;break}}else W=!1;return x===-1?g?"/":".":g&&x===1?"//":b.slice(0,x)},basename(b,g){g!==void 0&&kf(g,"suffix"),kf(b,"path");let x=0,W=-1,X=!0,fe;if(g!==void 0&&g.length>0&&g.length<=b.length){if(g===b)return"";let Me=g.length-1,qe=-1;for(fe=b.length-1;fe>=0;--fe){const se=b.charCodeAt(fe);if(se===Gh){if(!X){x=fe+1;break}}else qe===-1&&(X=!1,qe=fe+1),Me>=0&&(se===g.charCodeAt(Me)?--Me===-1&&(W=fe):(Me=-1,W=qe))}return x===W?W=qe:W===-1&&(W=b.length),b.slice(x,W)}for(fe=b.length-1;fe>=0;--fe)if(b.charCodeAt(fe)===Gh){if(!X){x=fe+1;break}}else W===-1&&(X=!1,W=fe+1);return W===-1?"":b.slice(x,W)},extname(b){kf(b,"path");let g=-1,x=0,W=-1,X=!0,fe=0;for(let Me=b.length-1;Me>=0;--Me){const qe=b[Me];if(qe==="/"){if(!X){x=Me+1;break}continue}W===-1&&(X=!1,W=Me+1),qe==="."?g===-1?g=Me:fe!==1&&(fe=1):g!==-1&&(fe=-1)}return g===-1||W===-1||fe===0||fe===1&&g===W-1&&g===x+1?"":b.slice(g,W)},format:Cve.bind(null,"/"),parse(b){kf(b,"path");const g={root:"",dir:"",base:"",ext:"",name:""};if(b.length===0)return g;const x=b.charCodeAt(0)===Gh;let W;x?(g.root="/",W=1):W=0;let X=-1,fe=0,Me=-1,qe=!0,se=b.length-1,mt=0;for(;se>=W;--se){const et=b.charCodeAt(se);if(et===Gh){if(!qe){fe=se+1;break}continue}Me===-1&&(qe=!1,Me=se+1),et===cN?X===-1?X=se:mt!==1&&(mt=1):X!==-1&&(mt=-1)}if(Me!==-1){const et=fe===0&&x?1:fe;X===-1||mt===0||mt===1&&X===Me-1&&X===fe+1?g.base=g.name=b.slice(et,Me):(g.name=b.slice(et,X),g.base=b.slice(et,Me),g.ext=b.slice(X,Me))}return fe>0?g.dir=b.slice(0,fe-1):x&&(g.dir="/"),g},sep:"/",delimiter:":",win32:null,posix:null};Qy.win32=ty.win32=ty,Qy.posix=ty.posix=Qy,SR?ty.normalize:Qy.normalize,SR?ty.resolve:Qy.resolve,SR?ty.relative:Qy.relative,SR?ty.dirname:Qy.dirname,SR?ty.basename:Qy.basename,SR?ty.extname:Qy.extname,SR?ty.sep:Qy.sep;const f5e=/^\w[\w\d+.-]*$/,m5e=/^\//,h5e=/^\/\//;function _5e(b,g){if(!b.scheme&&g)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'.concat(b.authority,'", path: "').concat(b.path,'", query: "').concat(b.query,'", fragment: "').concat(b.fragment,'"}'));if(b.scheme&&!f5e.test(b.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(b.path){if(b.authority){if(!m5e.test(b.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(h5e.test(b.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function g5e(b,g){return!b&&!g?"file":b}function y5e(b,g){switch(b){case"https":case"http":case"file":g?g[0]!==sS&&(g=sS+g):g=sS;break}return g}const Yu="",sS="/",v5e=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class dN{static isUri(g){return g instanceof dN?!0:!g||typeof g!="object"?!1:typeof g.authority=="string"&&typeof g.fragment=="string"&&typeof g.path=="string"&&typeof g.query=="string"&&typeof g.scheme=="string"&&typeof g.fsPath=="string"&&typeof g.with=="function"&&typeof g.toString=="function"}constructor(g,x,W,X,fe,Me=!1){typeof g=="object"?(this.scheme=g.scheme||Yu,this.authority=g.authority||Yu,this.path=g.path||Yu,this.query=g.query||Yu,this.fragment=g.fragment||Yu):(this.scheme=g5e(g,Me),this.authority=x||Yu,this.path=y5e(this.scheme,W||Yu),this.query=X||Yu,this.fragment=fe||Yu,_5e(this,Me))}get fsPath(){return kQ(this,!1)}with(g){if(!g)return this;let{scheme:x,authority:W,path:X,query:fe,fragment:Me}=g;return x===void 0?x=this.scheme:x===null&&(x=Yu),W===void 0?W=this.authority:W===null&&(W=Yu),X===void 0?X=this.path:X===null&&(X=Yu),fe===void 0?fe=this.query:fe===null&&(fe=Yu),Me===void 0?Me=this.fragment:Me===null&&(Me=Yu),x===this.scheme&&W===this.authority&&X===this.path&&fe===this.query&&Me===this.fragment?this:new ZL(x,W,X,fe,Me)}static parse(g,x=!1){const W=v5e.exec(g);return W?new ZL(W[2]||Yu,MB(W[4]||Yu),MB(W[5]||Yu),MB(W[7]||Yu),MB(W[9]||Yu),x):new ZL(Yu,Yu,Yu,Yu,Yu)}static file(g){let x=Yu;if(RW&&(g=g.replace(/\\/g,sS)),g[0]===sS&&g[1]===sS){const W=g.indexOf(sS,2);W===-1?(x=g.substring(2),g=sS):(x=g.substring(2,W),g=g.substring(W)||sS)}return new ZL("file",x,g,Yu,Yu)}static from(g,x){return new ZL(g.scheme,g.authority,g.path,g.query,g.fragment,x)}static joinPath(g,...x){if(!g.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let W;return RW&&g.scheme==="file"?W=dN.file(ty.join(kQ(g,!0),...x)).path:W=Qy.join(g.path,...x),g.with({path:W})}toString(g=!1){return wQ(this,g)}toJSON(){return this}static revive(g){var x,W;if(g){if(g instanceof dN)return g;{const X=new ZL(g);return X._formatted=(x=g.external)!=null?x:null,X._fsPath=g._sep===Nve&&(W=g.fsPath)!=null?W:null,X}}else return g}}const Nve=RW?1:void 0;class ZL extends dN{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=kQ(this,!1)),this._fsPath}toString(g=!1){return g?wQ(this,!0):(this._formatted||(this._formatted=wQ(this,!1)),this._formatted)}toJSON(){const g={$mid:1};return this._fsPath&&(g.fsPath=this._fsPath,g._sep=Nve),this._formatted&&(g.external=this._formatted),this.path&&(g.path=this.path),this.scheme&&(g.scheme=this.scheme),this.authority&&(g.authority=this.authority),this.query&&(g.query=this.query),this.fragment&&(g.fragment=this.fragment),g}}const Mve={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 Pve(b,g,x){let W,X=-1;for(let fe=0;fe<b.length;fe++){const Me=b.charCodeAt(fe);if(Me>=97&&Me<=122||Me>=65&&Me<=90||Me>=48&&Me<=57||Me===45||Me===46||Me===95||Me===126||g&&Me===47||x&&Me===91||x&&Me===93||x&&Me===58)X!==-1&&(W+=encodeURIComponent(b.substring(X,fe)),X=-1),W!==void 0&&(W+=b.charAt(fe));else{W===void 0&&(W=b.substr(0,fe));const qe=Mve[Me];qe!==void 0?(X!==-1&&(W+=encodeURIComponent(b.substring(X,fe)),X=-1),W+=qe):X===-1&&(X=fe)}}return X!==-1&&(W+=encodeURIComponent(b.substring(X))),W!==void 0?W:b}function b5e(b){let g;for(let x=0;x<b.length;x++){const W=b.charCodeAt(x);W===35||W===63?(g===void 0&&(g=b.substr(0,x)),g+=Mve[W]):g!==void 0&&(g+=b[x])}return g!==void 0?g:b}function kQ(b,g){let x;return b.authority&&b.path.length>1&&b.scheme==="file"?x="//".concat(b.authority).concat(b.path):b.path.charCodeAt(0)===47&&(b.path.charCodeAt(1)>=65&&b.path.charCodeAt(1)<=90||b.path.charCodeAt(1)>=97&&b.path.charCodeAt(1)<=122)&&b.path.charCodeAt(2)===58?g?x=b.path.substr(1):x=b.path[1].toLowerCase()+b.path.substr(2):x=b.path,RW&&(x=x.replace(/\//g,"\\")),x}function wQ(b,g){const x=g?b5e:Pve;let W="",{scheme:X,authority:fe,path:Me,query:qe,fragment:se}=b;if(X&&(W+=X,W+=":"),(fe||X==="file")&&(W+=sS,W+=sS),fe){let mt=fe.indexOf("@");if(mt!==-1){const et=fe.substr(0,mt);fe=fe.substr(mt+1),mt=et.lastIndexOf(":"),mt===-1?W+=x(et,!1,!1):(W+=x(et.substr(0,mt),!1,!1),W+=":",W+=x(et.substr(mt+1),!1,!0)),W+="@"}fe=fe.toLowerCase(),mt=fe.lastIndexOf(":"),mt===-1?W+=x(fe,!1,!0):(W+=x(fe.substr(0,mt),!1,!0),W+=fe.substr(mt))}if(Me){if(Me.length>=3&&Me.charCodeAt(0)===47&&Me.charCodeAt(2)===58){const mt=Me.charCodeAt(1);mt>=65&&mt<=90&&(Me="/".concat(String.fromCharCode(mt+32),":").concat(Me.substr(3)))}else if(Me.length>=2&&Me.charCodeAt(1)===58){const mt=Me.charCodeAt(0);mt>=65&&mt<=90&&(Me="".concat(String.fromCharCode(mt+32),":").concat(Me.substr(2)))}W+=x(Me,!0,!1)}return qe&&(W+="?",W+=x(qe,!1,!1)),se&&(W+="#",W+=g?se:Pve(se,!1,!1)),W}function Lve(b){try{return decodeURIComponent(b)}catch(g){return b.length>3?b.substr(0,3)+Lve(b.substr(3)):b}}const kve=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function MB(b){return b.match(kve)?b.replace(kve,g=>Lve(g)):b}class Zv extends ss{constructor(g,x,W,X){super(g,x,W,X),this.selectionStartLineNumber=g,this.selectionStartColumn=x,this.positionLineNumber=W,this.positionColumn=X}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(g){return Zv.selectionsEqual(this,g)}static selectionsEqual(g,x){return g.selectionStartLineNumber===x.selectionStartLineNumber&&g.selectionStartColumn===x.selectionStartColumn&&g.positionLineNumber===x.positionLineNumber&&g.positionColumn===x.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(g,x){return this.getDirection()===0?new Zv(this.startLineNumber,this.startColumn,g,x):new Zv(g,x,this.startLineNumber,this.startColumn)}getPosition(){return new Zc(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new Zc(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(g,x){return this.getDirection()===0?new Zv(g,x,this.endLineNumber,this.endColumn):new Zv(this.endLineNumber,this.endColumn,g,x)}static fromPositions(g,x=g){return new Zv(g.lineNumber,g.column,x.lineNumber,x.column)}static fromRange(g,x){return x===0?new Zv(g.startLineNumber,g.startColumn,g.endLineNumber,g.endColumn):new Zv(g.endLineNumber,g.endColumn,g.startLineNumber,g.startColumn)}static liftSelection(g){return new Zv(g.selectionStartLineNumber,g.selectionStartColumn,g.positionLineNumber,g.positionColumn)}static selectionsArrEqual(g,x){if(g&&!x||!g&&x)return!1;if(!g&&!x)return!0;if(g.length!==x.length)return!1;for(let W=0,X=g.length;W<X;W++)if(!this.selectionsEqual(g[W],x[W]))return!1;return!0}static isISelection(g){return!!g&&typeof g.selectionStartLineNumber=="number"&&typeof g.selectionStartColumn=="number"&&typeof g.positionLineNumber=="number"&&typeof g.positionColumn=="number"}static createWithDirection(g,x,W,X,fe){return fe===0?new Zv(g,x,W,X):new Zv(W,X,g,x)}}const wve=Object.create(null);function Ce(b,g){if(oze(g)){const x=wve[g];if(x===void 0)throw new Error("".concat(b," references an unknown codicon: ").concat(g));g=x}return wve[b]=g,{id:b}}const T5e={add:Ce("add",6e4),plus:Ce("plus",6e4),gistNew:Ce("gist-new",6e4),repoCreate:Ce("repo-create",6e4),lightbulb:Ce("lightbulb",60001),lightBulb:Ce("light-bulb",60001),repo:Ce("repo",60002),repoDelete:Ce("repo-delete",60002),gistFork:Ce("gist-fork",60003),repoForked:Ce("repo-forked",60003),gitPullRequest:Ce("git-pull-request",60004),gitPullRequestAbandoned:Ce("git-pull-request-abandoned",60004),recordKeys:Ce("record-keys",60005),keyboard:Ce("keyboard",60005),tag:Ce("tag",60006),gitPullRequestLabel:Ce("git-pull-request-label",60006),tagAdd:Ce("tag-add",60006),tagRemove:Ce("tag-remove",60006),person:Ce("person",60007),personFollow:Ce("person-follow",60007),personOutline:Ce("person-outline",60007),personFilled:Ce("person-filled",60007),sourceControl:Ce("source-control",60008),mirror:Ce("mirror",60009),mirrorPublic:Ce("mirror-public",60009),star:Ce("star",60010),starAdd:Ce("star-add",60010),starDelete:Ce("star-delete",60010),starEmpty:Ce("star-empty",60010),comment:Ce("comment",60011),commentAdd:Ce("comment-add",60011),alert:Ce("alert",60012),warning:Ce("warning",60012),search:Ce("search",60013),searchSave:Ce("search-save",60013),logOut:Ce("log-out",60014),signOut:Ce("sign-out",60014),logIn:Ce("log-in",60015),signIn:Ce("sign-in",60015),eye:Ce("eye",60016),eyeUnwatch:Ce("eye-unwatch",60016),eyeWatch:Ce("eye-watch",60016),circleFilled:Ce("circle-filled",60017),primitiveDot:Ce("primitive-dot",60017),closeDirty:Ce("close-dirty",60017),debugBreakpoint:Ce("debug-breakpoint",60017),debugBreakpointDisabled:Ce("debug-breakpoint-disabled",60017),debugHint:Ce("debug-hint",60017),terminalDecorationSuccess:Ce("terminal-decoration-success",60017),primitiveSquare:Ce("primitive-square",60018),edit:Ce("edit",60019),pencil:Ce("pencil",60019),info:Ce("info",60020),issueOpened:Ce("issue-opened",60020),gistPrivate:Ce("gist-private",60021),gitForkPrivate:Ce("git-fork-private",60021),lock:Ce("lock",60021),mirrorPrivate:Ce("mirror-private",60021),close:Ce("close",60022),removeClose:Ce("remove-close",60022),x:Ce("x",60022),repoSync:Ce("repo-sync",60023),sync:Ce("sync",60023),clone:Ce("clone",60024),desktopDownload:Ce("desktop-download",60024),beaker:Ce("beaker",60025),microscope:Ce("microscope",60025),vm:Ce("vm",60026),deviceDesktop:Ce("device-desktop",60026),file:Ce("file",60027),more:Ce("more",60028),ellipsis:Ce("ellipsis",60028),kebabHorizontal:Ce("kebab-horizontal",60028),mailReply:Ce("mail-reply",60029),reply:Ce("reply",60029),organization:Ce("organization",60030),organizationFilled:Ce("organization-filled",60030),organizationOutline:Ce("organization-outline",60030),newFile:Ce("new-file",60031),fileAdd:Ce("file-add",60031),newFolder:Ce("new-folder",60032),fileDirectoryCreate:Ce("file-directory-create",60032),trash:Ce("trash",60033),trashcan:Ce("trashcan",60033),history:Ce("history",60034),clock:Ce("clock",60034),folder:Ce("folder",60035),fileDirectory:Ce("file-directory",60035),symbolFolder:Ce("symbol-folder",60035),logoGithub:Ce("logo-github",60036),markGithub:Ce("mark-github",60036),github:Ce("github",60036),terminal:Ce("terminal",60037),console:Ce("console",60037),repl:Ce("repl",60037),zap:Ce("zap",60038),symbolEvent:Ce("symbol-event",60038),error:Ce("error",60039),stop:Ce("stop",60039),variable:Ce("variable",60040),symbolVariable:Ce("symbol-variable",60040),array:Ce("array",60042),symbolArray:Ce("symbol-array",60042),symbolModule:Ce("symbol-module",60043),symbolPackage:Ce("symbol-package",60043),symbolNamespace:Ce("symbol-namespace",60043),symbolObject:Ce("symbol-object",60043),symbolMethod:Ce("symbol-method",60044),symbolFunction:Ce("symbol-function",60044),symbolConstructor:Ce("symbol-constructor",60044),symbolBoolean:Ce("symbol-boolean",60047),symbolNull:Ce("symbol-null",60047),symbolNumeric:Ce("symbol-numeric",60048),symbolNumber:Ce("symbol-number",60048),symbolStructure:Ce("symbol-structure",60049),symbolStruct:Ce("symbol-struct",60049),symbolParameter:Ce("symbol-parameter",60050),symbolTypeParameter:Ce("symbol-type-parameter",60050),symbolKey:Ce("symbol-key",60051),symbolText:Ce("symbol-text",60051),symbolReference:Ce("symbol-reference",60052),goToFile:Ce("go-to-file",60052),symbolEnum:Ce("symbol-enum",60053),symbolValue:Ce("symbol-value",60053),symbolRuler:Ce("symbol-ruler",60054),symbolUnit:Ce("symbol-unit",60054),activateBreakpoints:Ce("activate-breakpoints",60055),archive:Ce("archive",60056),arrowBoth:Ce("arrow-both",60057),arrowDown:Ce("arrow-down",60058),arrowLeft:Ce("arrow-left",60059),arrowRight:Ce("arrow-right",60060),arrowSmallDown:Ce("arrow-small-down",60061),arrowSmallLeft:Ce("arrow-small-left",60062),arrowSmallRight:Ce("arrow-small-right",60063),arrowSmallUp:Ce("arrow-small-up",60064),arrowUp:Ce("arrow-up",60065),bell:Ce("bell",60066),bold:Ce("bold",60067),book:Ce("book",60068),bookmark:Ce("bookmark",60069),debugBreakpointConditionalUnverified:Ce("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:Ce("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:Ce("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:Ce("debug-breakpoint-data-unverified",60072),debugBreakpointData:Ce("debug-breakpoint-data",60073),debugBreakpointDataDisabled:Ce("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:Ce("debug-breakpoint-log-unverified",60074),debugBreakpointLog:Ce("debug-breakpoint-log",60075),debugBreakpointLogDisabled:Ce("debug-breakpoint-log-disabled",60075),briefcase:Ce("briefcase",60076),broadcast:Ce("broadcast",60077),browser:Ce("browser",60078),bug:Ce("bug",60079),calendar:Ce("calendar",60080),caseSensitive:Ce("case-sensitive",60081),check:Ce("check",60082),checklist:Ce("checklist",60083),chevronDown:Ce("chevron-down",60084),chevronLeft:Ce("chevron-left",60085),chevronRight:Ce("chevron-right",60086),chevronUp:Ce("chevron-up",60087),chromeClose:Ce("chrome-close",60088),chromeMaximize:Ce("chrome-maximize",60089),chromeMinimize:Ce("chrome-minimize",60090),chromeRestore:Ce("chrome-restore",60091),circleOutline:Ce("circle-outline",60092),circle:Ce("circle",60092),debugBreakpointUnverified:Ce("debug-breakpoint-unverified",60092),terminalDecorationIncomplete:Ce("terminal-decoration-incomplete",60092),circleSlash:Ce("circle-slash",60093),circuitBoard:Ce("circuit-board",60094),clearAll:Ce("clear-all",60095),clippy:Ce("clippy",60096),closeAll:Ce("close-all",60097),cloudDownload:Ce("cloud-download",60098),cloudUpload:Ce("cloud-upload",60099),code:Ce("code",60100),collapseAll:Ce("collapse-all",60101),colorMode:Ce("color-mode",60102),commentDiscussion:Ce("comment-discussion",60103),creditCard:Ce("credit-card",60105),dash:Ce("dash",60108),dashboard:Ce("dashboard",60109),database:Ce("database",60110),debugContinue:Ce("debug-continue",60111),debugDisconnect:Ce("debug-disconnect",60112),debugPause:Ce("debug-pause",60113),debugRestart:Ce("debug-restart",60114),debugStart:Ce("debug-start",60115),debugStepInto:Ce("debug-step-into",60116),debugStepOut:Ce("debug-step-out",60117),debugStepOver:Ce("debug-step-over",60118),debugStop:Ce("debug-stop",60119),debug:Ce("debug",60120),deviceCameraVideo:Ce("device-camera-video",60121),deviceCamera:Ce("device-camera",60122),deviceMobile:Ce("device-mobile",60123),diffAdded:Ce("diff-added",60124),diffIgnored:Ce("diff-ignored",60125),diffModified:Ce("diff-modified",60126),diffRemoved:Ce("diff-removed",60127),diffRenamed:Ce("diff-renamed",60128),diff:Ce("diff",60129),diffSidebyside:Ce("diff-sidebyside",60129),discard:Ce("discard",60130),editorLayout:Ce("editor-layout",60131),emptyWindow:Ce("empty-window",60132),exclude:Ce("exclude",60133),extensions:Ce("extensions",60134),eyeClosed:Ce("eye-closed",60135),fileBinary:Ce("file-binary",60136),fileCode:Ce("file-code",60137),fileMedia:Ce("file-media",60138),filePdf:Ce("file-pdf",60139),fileSubmodule:Ce("file-submodule",60140),fileSymlinkDirectory:Ce("file-symlink-directory",60141),fileSymlinkFile:Ce("file-symlink-file",60142),fileZip:Ce("file-zip",60143),files:Ce("files",60144),filter:Ce("filter",60145),flame:Ce("flame",60146),foldDown:Ce("fold-down",60147),foldUp:Ce("fold-up",60148),fold:Ce("fold",60149),folderActive:Ce("folder-active",60150),folderOpened:Ce("folder-opened",60151),gear:Ce("gear",60152),gift:Ce("gift",60153),gistSecret:Ce("gist-secret",60154),gist:Ce("gist",60155),gitCommit:Ce("git-commit",60156),gitCompare:Ce("git-compare",60157),compareChanges:Ce("compare-changes",60157),gitMerge:Ce("git-merge",60158),githubAction:Ce("github-action",60159),githubAlt:Ce("github-alt",60160),globe:Ce("globe",60161),grabber:Ce("grabber",60162),graph:Ce("graph",60163),gripper:Ce("gripper",60164),heart:Ce("heart",60165),home:Ce("home",60166),horizontalRule:Ce("horizontal-rule",60167),hubot:Ce("hubot",60168),inbox:Ce("inbox",60169),issueReopened:Ce("issue-reopened",60171),issues:Ce("issues",60172),italic:Ce("italic",60173),jersey:Ce("jersey",60174),json:Ce("json",60175),kebabVertical:Ce("kebab-vertical",60176),key:Ce("key",60177),law:Ce("law",60178),lightbulbAutofix:Ce("lightbulb-autofix",60179),linkExternal:Ce("link-external",60180),link:Ce("link",60181),listOrdered:Ce("list-ordered",60182),listUnordered:Ce("list-unordered",60183),liveShare:Ce("live-share",60184),loading:Ce("loading",60185),location:Ce("location",60186),mailRead:Ce("mail-read",60187),mail:Ce("mail",60188),markdown:Ce("markdown",60189),megaphone:Ce("megaphone",60190),mention:Ce("mention",60191),milestone:Ce("milestone",60192),gitPullRequestMilestone:Ce("git-pull-request-milestone",60192),mortarBoard:Ce("mortar-board",60193),move:Ce("move",60194),multipleWindows:Ce("multiple-windows",60195),mute:Ce("mute",60196),noNewline:Ce("no-newline",60197),note:Ce("note",60198),octoface:Ce("octoface",60199),openPreview:Ce("open-preview",60200),package:Ce("package",60201),paintcan:Ce("paintcan",60202),pin:Ce("pin",60203),play:Ce("play",60204),run:Ce("run",60204),plug:Ce("plug",60205),preserveCase:Ce("preserve-case",60206),preview:Ce("preview",60207),project:Ce("project",60208),pulse:Ce("pulse",60209),question:Ce("question",60210),quote:Ce("quote",60211),radioTower:Ce("radio-tower",60212),reactions:Ce("reactions",60213),references:Ce("references",60214),refresh:Ce("refresh",60215),regex:Ce("regex",60216),remoteExplorer:Ce("remote-explorer",60217),remote:Ce("remote",60218),remove:Ce("remove",60219),replaceAll:Ce("replace-all",60220),replace:Ce("replace",60221),repoClone:Ce("repo-clone",60222),repoForcePush:Ce("repo-force-push",60223),repoPull:Ce("repo-pull",60224),repoPush:Ce("repo-push",60225),report:Ce("report",60226),requestChanges:Ce("request-changes",60227),rocket:Ce("rocket",60228),rootFolderOpened:Ce("root-folder-opened",60229),rootFolder:Ce("root-folder",60230),rss:Ce("rss",60231),ruby:Ce("ruby",60232),saveAll:Ce("save-all",60233),saveAs:Ce("save-as",60234),save:Ce("save",60235),screenFull:Ce("screen-full",60236),screenNormal:Ce("screen-normal",60237),searchStop:Ce("search-stop",60238),server:Ce("server",60240),settingsGear:Ce("settings-gear",60241),settings:Ce("settings",60242),shield:Ce("shield",60243),smiley:Ce("smiley",60244),sortPrecedence:Ce("sort-precedence",60245),splitHorizontal:Ce("split-horizontal",60246),splitVertical:Ce("split-vertical",60247),squirrel:Ce("squirrel",60248),starFull:Ce("star-full",60249),starHalf:Ce("star-half",60250),symbolClass:Ce("symbol-class",60251),symbolColor:Ce("symbol-color",60252),symbolConstant:Ce("symbol-constant",60253),symbolEnumMember:Ce("symbol-enum-member",60254),symbolField:Ce("symbol-field",60255),symbolFile:Ce("symbol-file",60256),symbolInterface:Ce("symbol-interface",60257),symbolKeyword:Ce("symbol-keyword",60258),symbolMisc:Ce("symbol-misc",60259),symbolOperator:Ce("symbol-operator",60260),symbolProperty:Ce("symbol-property",60261),wrench:Ce("wrench",60261),wrenchSubaction:Ce("wrench-subaction",60261),symbolSnippet:Ce("symbol-snippet",60262),tasklist:Ce("tasklist",60263),telescope:Ce("telescope",60264),textSize:Ce("text-size",60265),threeBars:Ce("three-bars",60266),thumbsdown:Ce("thumbsdown",60267),thumbsup:Ce("thumbsup",60268),tools:Ce("tools",60269),triangleDown:Ce("triangle-down",60270),triangleLeft:Ce("triangle-left",60271),triangleRight:Ce("triangle-right",60272),triangleUp:Ce("triangle-up",60273),twitter:Ce("twitter",60274),unfold:Ce("unfold",60275),unlock:Ce("unlock",60276),unmute:Ce("unmute",60277),unverified:Ce("unverified",60278),verified:Ce("verified",60279),versions:Ce("versions",60280),vmActive:Ce("vm-active",60281),vmOutline:Ce("vm-outline",60282),vmRunning:Ce("vm-running",60283),watch:Ce("watch",60284),whitespace:Ce("whitespace",60285),wholeWord:Ce("whole-word",60286),window:Ce("window",60287),wordWrap:Ce("word-wrap",60288),zoomIn:Ce("zoom-in",60289),zoomOut:Ce("zoom-out",60290),listFilter:Ce("list-filter",60291),listFlat:Ce("list-flat",60292),listSelection:Ce("list-selection",60293),selection:Ce("selection",60293),listTree:Ce("list-tree",60294),debugBreakpointFunctionUnverified:Ce("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:Ce("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:Ce("debug-breakpoint-function-disabled",60296),debugStackframeActive:Ce("debug-stackframe-active",60297),circleSmallFilled:Ce("circle-small-filled",60298),debugStackframeDot:Ce("debug-stackframe-dot",60298),terminalDecorationMark:Ce("terminal-decoration-mark",60298),debugStackframe:Ce("debug-stackframe",60299),debugStackframeFocused:Ce("debug-stackframe-focused",60299),debugBreakpointUnsupported:Ce("debug-breakpoint-unsupported",60300),symbolString:Ce("symbol-string",60301),debugReverseContinue:Ce("debug-reverse-continue",60302),debugStepBack:Ce("debug-step-back",60303),debugRestartFrame:Ce("debug-restart-frame",60304),debugAlt:Ce("debug-alt",60305),callIncoming:Ce("call-incoming",60306),callOutgoing:Ce("call-outgoing",60307),menu:Ce("menu",60308),expandAll:Ce("expand-all",60309),feedback:Ce("feedback",60310),gitPullRequestReviewer:Ce("git-pull-request-reviewer",60310),groupByRefType:Ce("group-by-ref-type",60311),ungroupByRefType:Ce("ungroup-by-ref-type",60312),account:Ce("account",60313),gitPullRequestAssignee:Ce("git-pull-request-assignee",60313),bellDot:Ce("bell-dot",60314),debugConsole:Ce("debug-console",60315),library:Ce("library",60316),output:Ce("output",60317),runAll:Ce("run-all",60318),syncIgnored:Ce("sync-ignored",60319),pinned:Ce("pinned",60320),githubInverted:Ce("github-inverted",60321),serverProcess:Ce("server-process",60322),serverEnvironment:Ce("server-environment",60323),pass:Ce("pass",60324),issueClosed:Ce("issue-closed",60324),stopCircle:Ce("stop-circle",60325),playCircle:Ce("play-circle",60326),record:Ce("record",60327),debugAltSmall:Ce("debug-alt-small",60328),vmConnect:Ce("vm-connect",60329),cloud:Ce("cloud",60330),merge:Ce("merge",60331),export:Ce("export",60332),graphLeft:Ce("graph-left",60333),magnet:Ce("magnet",60334),notebook:Ce("notebook",60335),redo:Ce("redo",60336),checkAll:Ce("check-all",60337),pinnedDirty:Ce("pinned-dirty",60338),passFilled:Ce("pass-filled",60339),circleLargeFilled:Ce("circle-large-filled",60340),circleLarge:Ce("circle-large",60341),circleLargeOutline:Ce("circle-large-outline",60341),combine:Ce("combine",60342),gather:Ce("gather",60342),table:Ce("table",60343),variableGroup:Ce("variable-group",60344),typeHierarchy:Ce("type-hierarchy",60345),typeHierarchySub:Ce("type-hierarchy-sub",60346),typeHierarchySuper:Ce("type-hierarchy-super",60347),gitPullRequestCreate:Ce("git-pull-request-create",60348),runAbove:Ce("run-above",60349),runBelow:Ce("run-below",60350),notebookTemplate:Ce("notebook-template",60351),debugRerun:Ce("debug-rerun",60352),workspaceTrusted:Ce("workspace-trusted",60353),workspaceUntrusted:Ce("workspace-untrusted",60354),workspaceUnknown:Ce("workspace-unknown",60355),terminalCmd:Ce("terminal-cmd",60356),terminalDebian:Ce("terminal-debian",60357),terminalLinux:Ce("terminal-linux",60358),terminalPowershell:Ce("terminal-powershell",60359),terminalTmux:Ce("terminal-tmux",60360),terminalUbuntu:Ce("terminal-ubuntu",60361),terminalBash:Ce("terminal-bash",60362),arrowSwap:Ce("arrow-swap",60363),copy:Ce("copy",60364),personAdd:Ce("person-add",60365),filterFilled:Ce("filter-filled",60366),wand:Ce("wand",60367),debugLineByLine:Ce("debug-line-by-line",60368),inspect:Ce("inspect",60369),layers:Ce("layers",60370),layersDot:Ce("layers-dot",60371),layersActive:Ce("layers-active",60372),compass:Ce("compass",60373),compassDot:Ce("compass-dot",60374),compassActive:Ce("compass-active",60375),azure:Ce("azure",60376),issueDraft:Ce("issue-draft",60377),gitPullRequestClosed:Ce("git-pull-request-closed",60378),gitPullRequestDraft:Ce("git-pull-request-draft",60379),debugAll:Ce("debug-all",60380),debugCoverage:Ce("debug-coverage",60381),runErrors:Ce("run-errors",60382),folderLibrary:Ce("folder-library",60383),debugContinueSmall:Ce("debug-continue-small",60384),beakerStop:Ce("beaker-stop",60385),graphLine:Ce("graph-line",60386),graphScatter:Ce("graph-scatter",60387),pieChart:Ce("pie-chart",60388),bracket:Ce("bracket",60175),bracketDot:Ce("bracket-dot",60389),bracketError:Ce("bracket-error",60390),lockSmall:Ce("lock-small",60391),azureDevops:Ce("azure-devops",60392),verifiedFilled:Ce("verified-filled",60393),newline:Ce("newline",60394),layout:Ce("layout",60395),layoutActivitybarLeft:Ce("layout-activitybar-left",60396),layoutActivitybarRight:Ce("layout-activitybar-right",60397),layoutPanelLeft:Ce("layout-panel-left",60398),layoutPanelCenter:Ce("layout-panel-center",60399),layoutPanelJustify:Ce("layout-panel-justify",60400),layoutPanelRight:Ce("layout-panel-right",60401),layoutPanel:Ce("layout-panel",60402),layoutSidebarLeft:Ce("layout-sidebar-left",60403),layoutSidebarRight:Ce("layout-sidebar-right",60404),layoutStatusbar:Ce("layout-statusbar",60405),layoutMenubar:Ce("layout-menubar",60406),layoutCentered:Ce("layout-centered",60407),target:Ce("target",60408),indent:Ce("indent",60409),recordSmall:Ce("record-small",60410),errorSmall:Ce("error-small",60411),terminalDecorationError:Ce("terminal-decoration-error",60411),arrowCircleDown:Ce("arrow-circle-down",60412),arrowCircleLeft:Ce("arrow-circle-left",60413),arrowCircleRight:Ce("arrow-circle-right",60414),arrowCircleUp:Ce("arrow-circle-up",60415),layoutSidebarRightOff:Ce("layout-sidebar-right-off",60416),layoutPanelOff:Ce("layout-panel-off",60417),layoutSidebarLeftOff:Ce("layout-sidebar-left-off",60418),blank:Ce("blank",60419),heartFilled:Ce("heart-filled",60420),map:Ce("map",60421),mapHorizontal:Ce("map-horizontal",60421),foldHorizontal:Ce("fold-horizontal",60421),mapFilled:Ce("map-filled",60422),mapHorizontalFilled:Ce("map-horizontal-filled",60422),foldHorizontalFilled:Ce("fold-horizontal-filled",60422),circleSmall:Ce("circle-small",60423),bellSlash:Ce("bell-slash",60424),bellSlashDot:Ce("bell-slash-dot",60425),commentUnresolved:Ce("comment-unresolved",60426),gitPullRequestGoToChanges:Ce("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:Ce("git-pull-request-new-changes",60428),searchFuzzy:Ce("search-fuzzy",60429),commentDraft:Ce("comment-draft",60430),send:Ce("send",60431),sparkle:Ce("sparkle",60432),insert:Ce("insert",60433),mic:Ce("mic",60434),thumbsdownFilled:Ce("thumbsdown-filled",60435),thumbsupFilled:Ce("thumbsup-filled",60436),coffee:Ce("coffee",60437),snake:Ce("snake",60438),game:Ce("game",60439),vr:Ce("vr",60440),chip:Ce("chip",60441),piano:Ce("piano",60442),music:Ce("music",60443),micFilled:Ce("mic-filled",60444),repoFetch:Ce("repo-fetch",60445),copilot:Ce("copilot",60446),lightbulbSparkle:Ce("lightbulb-sparkle",60447),robot:Ce("robot",60448),sparkleFilled:Ce("sparkle-filled",60449),diffSingle:Ce("diff-single",60450),diffMultiple:Ce("diff-multiple",60451),surroundWith:Ce("surround-with",60452),share:Ce("share",60453),gitStash:Ce("git-stash",60454),gitStashApply:Ce("git-stash-apply",60455),gitStashPop:Ce("git-stash-pop",60456),vscode:Ce("vscode",60457),vscodeInsiders:Ce("vscode-insiders",60458),codeOss:Ce("code-oss",60459),runCoverage:Ce("run-coverage",60460),runAllCoverage:Ce("run-all-coverage",60461),coverage:Ce("coverage",60462),githubProject:Ce("github-project",60463),mapVertical:Ce("map-vertical",60464),foldVertical:Ce("fold-vertical",60464),mapVerticalFilled:Ce("map-vertical-filled",60465),foldVerticalFilled:Ce("fold-vertical-filled",60465),goToSearch:Ce("go-to-search",60466),percentage:Ce("percentage",60467),sortPercentage:Ce("sort-percentage",60467),attach:Ce("attach",60468),goToEditingSession:Ce("go-to-editing-session",60469),editSession:Ce("edit-session",60470),codeReview:Ce("code-review",60471),copilotWarning:Ce("copilot-warning",60472),python:Ce("python",60473),copilotLarge:Ce("copilot-large",60474),copilotWarningLarge:Ce("copilot-warning-large",60475),keyboardTab:Ce("keyboard-tab",60476),copilotBlocked:Ce("copilot-blocked",60477),copilotNotConnected:Ce("copilot-not-connected",60478),flag:Ce("flag",60479),lightbulbEmpty:Ce("lightbulb-empty",60480),symbolMethodArrow:Ce("symbol-method-arrow",60481),copilotUnavailable:Ce("copilot-unavailable",60482),repoPinned:Ce("repo-pinned",60483),keyboardTabAbove:Ce("keyboard-tab-above",60484),keyboardTabBelow:Ce("keyboard-tab-below",60485),gitPullRequestDone:Ce("git-pull-request-done",60486),mcp:Ce("mcp",60487),extensionsLarge:Ce("extensions-large",60488),layoutPanelDock:Ce("layout-panel-dock",60489),layoutSidebarLeftDock:Ce("layout-sidebar-left-dock",60490),layoutSidebarRightDock:Ce("layout-sidebar-right-dock",60491),copilotInProgress:Ce("copilot-in-progress",60492),copilotError:Ce("copilot-error",60493),copilotSuccess:Ce("copilot-success",60494),chatSparkle:Ce("chat-sparkle",60495),searchSparkle:Ce("search-sparkle",60496),editSparkle:Ce("edit-sparkle",60497),copilotSnooze:Ce("copilot-snooze",60498),sendToRemoteAgent:Ce("send-to-remote-agent",60499),commentDiscussionSparkle:Ce("comment-discussion-sparkle",60500),chatSparkleWarning:Ce("chat-sparkle-warning",60501),chatSparkleError:Ce("chat-sparkle-error",60502),collection:Ce("collection",60503),newCollection:Ce("new-collection",60504),thinking:Ce("thinking",60505),build:Ce("build",60506),commentDiscussionQuote:Ce("comment-discussion-quote",60507),cursor:Ce("cursor",60508),eraser:Ce("eraser",60509),fileText:Ce("file-text",60510),gitLens:Ce("git-lens",60511),quotes:Ce("quotes",60512),rename:Ce("rename",60513),runWithDeps:Ce("run-with-deps",60514),debugConnected:Ce("debug-connected",60515),strikethrough:Ce("strikethrough",60516),openInProduct:Ce("open-in-product",60517),indexZero:Ce("index-zero",60518),agent:Ce("agent",60519),editCode:Ce("edit-code",60520),repoSelected:Ce("repo-selected",60521),skip:Ce("skip",60522),mergeInto:Ce("merge-into",60523),gitBranchChanges:Ce("git-branch-changes",60524),gitBranchStagedChanges:Ce("git-branch-staged-changes",60525),gitBranchConflicts:Ce("git-branch-conflicts",60526),gitBranch:Ce("git-branch",60527),gitBranchCreate:Ce("git-branch-create",60527),gitBranchDelete:Ce("git-branch-delete",60527),searchLarge:Ce("search-large",60528),terminalGitBash:Ce("terminal-git-bash",60529)},S5e={dialogError:Ce("dialog-error","error"),dialogWarning:Ce("dialog-warning","warning"),dialogInfo:Ce("dialog-info","info"),dialogClose:Ce("dialog-close","close"),treeItemExpanded:Ce("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:Ce("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:Ce("tree-filter-on-type-off","list-selection"),treeFilterClear:Ce("tree-filter-clear","close"),treeItemLoading:Ce("tree-item-loading","loading"),menuSelection:Ce("menu-selection","check"),menuSubmenu:Ce("menu-submenu","chevron-right"),menuBarMore:Ce("menubar-more","more"),scrollbarButtonLeft:Ce("scrollbar-button-left","triangle-left"),scrollbarButtonRight:Ce("scrollbar-button-right","triangle-right"),scrollbarButtonUp:Ce("scrollbar-button-up","triangle-up"),scrollbarButtonDown:Ce("scrollbar-button-down","triangle-down"),toolBarMore:Ce("toolbar-more","more"),quickInputBack:Ce("quick-input-back","arrow-left"),dropDownButton:Ce("drop-down-button",60084),symbolCustomColor:Ce("symbol-customcolor",60252),exportIcon:Ce("export",60332),workspaceUnspecified:Ce("workspace-unspecified",60355),newLine:Ce("newline",60394),thumbsDownFilled:Ce("thumbsdown-filled",60435),thumbsUpFilled:Ce("thumbsup-filled",60436),gitFetch:Ce("git-fetch",60445),lightbulbSparkleAutofix:Ce("lightbulb-sparkle-autofix",60447),debugBreakpointPending:Ce("debug-breakpoint-pending",60377)},Ss={...T5e,...S5e};class E5e{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new FE,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(g){this._onDidChange.fire({changedLanguages:g,changedColorMap:!1})}register(g,x){return this._tokenizationSupports.set(g,x),this.handleChange([g]),TB(()=>{this._tokenizationSupports.get(g)===x&&(this._tokenizationSupports.delete(g),this.handleChange([g]))})}get(g){return this._tokenizationSupports.get(g)||null}registerFactory(g,x){var X;(X=this._factories.get(g))==null||X.dispose();const W=new A5e(this,g,x);return this._factories.set(g,W),TB(()=>{const fe=this._factories.get(g);!fe||fe!==W||(this._factories.delete(g),fe.dispose())})}async getOrCreate(g){const x=this.get(g);if(x)return x;const W=this._factories.get(g);return!W||W.isResolved?null:(await W.resolve(),this.get(g))}isResolved(g){if(this.get(g))return!0;const W=this._factories.get(g);return!!(!W||W.isResolved)}setColorMap(g){this._colorMap=g,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}}class A5e extends aN{get isResolved(){return this._isResolved}constructor(g,x,W){super(),this._registry=g,this._languageId=x,this._factory=W,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){const g=await this._factory.tokenizationSupport;this._isResolved=!0,g&&!this._isDisposed&&this._register(this._registry.register(this._languageId,g))}}class I5e{constructor(g,x,W){this.offset=g,this.type=x,this.language=W,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}var Ove;(function(b){b[b.Increase=0]="Increase",b[b.Decrease=1]="Decrease"})(Ove||(Ove={}));var Wve;(function(b){const g=new Map;g.set(0,Ss.symbolMethod),g.set(1,Ss.symbolFunction),g.set(2,Ss.symbolConstructor),g.set(3,Ss.symbolField),g.set(4,Ss.symbolVariable),g.set(5,Ss.symbolClass),g.set(6,Ss.symbolStruct),g.set(7,Ss.symbolInterface),g.set(8,Ss.symbolModule),g.set(9,Ss.symbolProperty),g.set(10,Ss.symbolEvent),g.set(11,Ss.symbolOperator),g.set(12,Ss.symbolUnit),g.set(13,Ss.symbolValue),g.set(15,Ss.symbolEnum),g.set(14,Ss.symbolConstant),g.set(15,Ss.symbolEnum),g.set(16,Ss.symbolEnumMember),g.set(17,Ss.symbolKeyword),g.set(28,Ss.symbolSnippet),g.set(18,Ss.symbolText),g.set(19,Ss.symbolColor),g.set(20,Ss.symbolFile),g.set(21,Ss.symbolReference),g.set(22,Ss.symbolCustomColor),g.set(23,Ss.symbolFolder),g.set(24,Ss.symbolTypeParameter),g.set(25,Ss.account),g.set(26,Ss.issues),g.set(27,Ss.tools);function x(Me){let qe=g.get(Me);return qe||(console.info("No codicon found for CompletionItemKind "+Me),qe=Ss.symbolProperty),qe}b.toIcon=x;function W(Me){switch(Me){case 0:return Ns(728,"Method");case 1:return Ns(729,"Function");case 2:return Ns(730,"Constructor");case 3:return Ns(731,"Field");case 4:return Ns(732,"Variable");case 5:return Ns(733,"Class");case 6:return Ns(734,"Struct");case 7:return Ns(735,"Interface");case 8:return Ns(736,"Module");case 9:return Ns(737,"Property");case 10:return Ns(738,"Event");case 11:return Ns(739,"Operator");case 12:return Ns(740,"Unit");case 13:return Ns(741,"Value");case 14:return Ns(742,"Constant");case 15:return Ns(743,"Enum");case 16:return Ns(744,"Enum Member");case 17:return Ns(745,"Keyword");case 18:return Ns(746,"Text");case 19:return Ns(747,"Color");case 20:return Ns(748,"File");case 21:return Ns(749,"Reference");case 22:return Ns(750,"Custom Color");case 23:return Ns(751,"Folder");case 24:return Ns(752,"Type Parameter");case 25:return Ns(753,"User");case 26:return Ns(754,"Issue");case 27:return Ns(755,"Tool");case 28:return Ns(756,"Snippet");default:return""}}b.toLabel=W;const X=new Map;X.set("method",0),X.set("function",1),X.set("constructor",2),X.set("field",3),X.set("variable",4),X.set("class",5),X.set("struct",6),X.set("interface",7),X.set("module",8),X.set("property",9),X.set("event",10),X.set("operator",11),X.set("unit",12),X.set("value",13),X.set("constant",14),X.set("enum",15),X.set("enum-member",16),X.set("enumMember",16),X.set("keyword",17),X.set("snippet",28),X.set("text",18),X.set("color",19),X.set("file",20),X.set("reference",21),X.set("customcolor",22),X.set("folder",23),X.set("type-parameter",24),X.set("typeParameter",24),X.set("account",25),X.set("issue",26),X.set("tool",27);function fe(Me,qe){let se=X.get(Me);return typeof se>"u"&&!qe&&(se=9),se}b.fromString=fe})(Wve||(Wve={}));var Fve;(function(b){b[b.Automatic=0]="Automatic",b[b.Explicit=1]="Explicit"})(Fve||(Fve={}));var zve;(function(b){b[b.Code=1]="Code",b[b.Label=2]="Label"})(zve||(zve={}));var Bve;(function(b){b[b.Accepted=0]="Accepted",b[b.Rejected=1]="Rejected",b[b.Ignored=2]="Ignored"})(Bve||(Bve={}));var Gve;(function(b){b[b.Automatic=0]="Automatic",b[b.PasteAs=1]="PasteAs"})(Gve||(Gve={}));var Vve;(function(b){b[b.Invoke=1]="Invoke",b[b.TriggerCharacter=2]="TriggerCharacter",b[b.ContentChange=3]="ContentChange"})(Vve||(Vve={}));var jve;(function(b){b[b.Text=0]="Text",b[b.Read=1]="Read",b[b.Write=2]="Write"})(jve||(jve={})),Ns(757,"array"),Ns(758,"boolean"),Ns(759,"class"),Ns(760,"constant"),Ns(761,"constructor"),Ns(762,"enumeration"),Ns(763,"enumeration member"),Ns(764,"event"),Ns(765,"field"),Ns(766,"file"),Ns(767,"function"),Ns(768,"interface"),Ns(769,"key"),Ns(770,"method"),Ns(771,"module"),Ns(772,"namespace"),Ns(773,"null"),Ns(774,"number"),Ns(775,"object"),Ns(776,"operator"),Ns(777,"package"),Ns(778,"property"),Ns(779,"string"),Ns(780,"struct"),Ns(781,"type parameter"),Ns(782,"variable");var Uve;(function(b){const g=new Map;g.set(0,Ss.symbolFile),g.set(1,Ss.symbolModule),g.set(2,Ss.symbolNamespace),g.set(3,Ss.symbolPackage),g.set(4,Ss.symbolClass),g.set(5,Ss.symbolMethod),g.set(6,Ss.symbolProperty),g.set(7,Ss.symbolField),g.set(8,Ss.symbolConstructor),g.set(9,Ss.symbolEnum),g.set(10,Ss.symbolInterface),g.set(11,Ss.symbolFunction),g.set(12,Ss.symbolVariable),g.set(13,Ss.symbolConstant),g.set(14,Ss.symbolString),g.set(15,Ss.symbolNumber),g.set(16,Ss.symbolBoolean),g.set(17,Ss.symbolArray),g.set(18,Ss.symbolObject),g.set(19,Ss.symbolKey),g.set(20,Ss.symbolNull),g.set(21,Ss.symbolEnumMember),g.set(22,Ss.symbolStruct),g.set(23,Ss.symbolEvent),g.set(24,Ss.symbolOperator),g.set(25,Ss.symbolTypeParameter);function x(fe){let Me=g.get(fe);return Me||(console.info("No codicon found for SymbolKind "+fe),Me=Ss.symbolProperty),Me}b.toIcon=x;const W=new Map;W.set(0,20),W.set(1,8),W.set(2,8),W.set(3,8),W.set(4,5),W.set(5,0),W.set(6,9),W.set(7,3),W.set(8,2),W.set(9,15),W.set(10,7),W.set(11,1),W.set(12,4),W.set(13,14),W.set(14,18),W.set(15,13),W.set(16,13),W.set(17,13),W.set(18,13),W.set(19,17),W.set(20,13),W.set(21,16),W.set(22,6),W.set(23,10),W.set(24,11),W.set(25,24);function X(fe){let Me=W.get(fe);return Me===void 0&&(console.info("No completion kind found for SymbolKind "+fe),Me=20),Me}b.toCompletionKind=X})(Uve||(Uve={}));const D0=class D0{static fromValue(g){switch(g){case"comment":return D0.Comment;case"imports":return D0.Imports;case"region":return D0.Region}return new D0(g)}constructor(g){this.value=g}};D0.Comment=new D0("comment"),D0.Imports=new D0("imports"),D0.Region=new D0("region");let Hve=D0;var qve;(function(b){b[b.AIGenerated=1]="AIGenerated"})(qve||(qve={}));var Jve;(function(b){b[b.Invoke=0]="Invoke",b[b.Automatic=1]="Automatic"})(Jve||(Jve={}));var Kve;(function(b){function g(x){return!x||typeof x!="object"?!1:typeof x.id=="string"&&typeof x.title=="string"}b.is=g})(Kve||(Kve={}));var Xve;(function(b){b[b.Type=1]="Type",b[b.Parameter=2]="Parameter"})(Xve||(Xve={})),new E5e;var Yve;(function(b){b[b.Unknown=0]="Unknown",b[b.Disabled=1]="Disabled",b[b.Enabled=2]="Enabled"})(Yve||(Yve={}));var $ve;(function(b){b[b.Invoke=1]="Invoke",b[b.Auto=2]="Auto"})($ve||($ve={}));var Qve;(function(b){b[b.None=0]="None",b[b.KeepWhitespace=1]="KeepWhitespace",b[b.InsertAsSnippet=4]="InsertAsSnippet"})(Qve||(Qve={}));var Zve;(function(b){b[b.Method=0]="Method",b[b.Function=1]="Function",b[b.Constructor=2]="Constructor",b[b.Field=3]="Field",b[b.Variable=4]="Variable",b[b.Class=5]="Class",b[b.Struct=6]="Struct",b[b.Interface=7]="Interface",b[b.Module=8]="Module",b[b.Property=9]="Property",b[b.Event=10]="Event",b[b.Operator=11]="Operator",b[b.Unit=12]="Unit",b[b.Value=13]="Value",b[b.Constant=14]="Constant",b[b.Enum=15]="Enum",b[b.EnumMember=16]="EnumMember",b[b.Keyword=17]="Keyword",b[b.Text=18]="Text",b[b.Color=19]="Color",b[b.File=20]="File",b[b.Reference=21]="Reference",b[b.Customcolor=22]="Customcolor",b[b.Folder=23]="Folder",b[b.TypeParameter=24]="TypeParameter",b[b.User=25]="User",b[b.Issue=26]="Issue",b[b.Tool=27]="Tool",b[b.Snippet=28]="Snippet"})(Zve||(Zve={}));var ebe;(function(b){b[b.Deprecated=1]="Deprecated"})(ebe||(ebe={}));var tbe;(function(b){b[b.Invoke=0]="Invoke",b[b.TriggerCharacter=1]="TriggerCharacter",b[b.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(tbe||(tbe={}));var nbe;(function(b){b[b.EXACT=0]="EXACT",b[b.ABOVE=1]="ABOVE",b[b.BELOW=2]="BELOW"})(nbe||(nbe={}));var rbe;(function(b){b[b.NotSet=0]="NotSet",b[b.ContentFlush=1]="ContentFlush",b[b.RecoverFromMarkers=2]="RecoverFromMarkers",b[b.Explicit=3]="Explicit",b[b.Paste=4]="Paste",b[b.Undo=5]="Undo",b[b.Redo=6]="Redo"})(rbe||(rbe={}));var ibe;(function(b){b[b.LF=1]="LF",b[b.CRLF=2]="CRLF"})(ibe||(ibe={}));var obe;(function(b){b[b.Text=0]="Text",b[b.Read=1]="Read",b[b.Write=2]="Write"})(obe||(obe={}));var abe;(function(b){b[b.None=0]="None",b[b.Keep=1]="Keep",b[b.Brackets=2]="Brackets",b[b.Advanced=3]="Advanced",b[b.Full=4]="Full"})(abe||(abe={}));var sbe;(function(b){b[b.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",b[b.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",b[b.accessibilitySupport=2]="accessibilitySupport",b[b.accessibilityPageSize=3]="accessibilityPageSize",b[b.allowOverflow=4]="allowOverflow",b[b.allowVariableLineHeights=5]="allowVariableLineHeights",b[b.allowVariableFonts=6]="allowVariableFonts",b[b.allowVariableFontsInAccessibilityMode=7]="allowVariableFontsInAccessibilityMode",b[b.ariaLabel=8]="ariaLabel",b[b.ariaRequired=9]="ariaRequired",b[b.autoClosingBrackets=10]="autoClosingBrackets",b[b.autoClosingComments=11]="autoClosingComments",b[b.screenReaderAnnounceInlineSuggestion=12]="screenReaderAnnounceInlineSuggestion",b[b.autoClosingDelete=13]="autoClosingDelete",b[b.autoClosingOvertype=14]="autoClosingOvertype",b[b.autoClosingQuotes=15]="autoClosingQuotes",b[b.autoIndent=16]="autoIndent",b[b.autoIndentOnPaste=17]="autoIndentOnPaste",b[b.autoIndentOnPasteWithinString=18]="autoIndentOnPasteWithinString",b[b.automaticLayout=19]="automaticLayout",b[b.autoSurround=20]="autoSurround",b[b.bracketPairColorization=21]="bracketPairColorization",b[b.guides=22]="guides",b[b.codeLens=23]="codeLens",b[b.codeLensFontFamily=24]="codeLensFontFamily",b[b.codeLensFontSize=25]="codeLensFontSize",b[b.colorDecorators=26]="colorDecorators",b[b.colorDecoratorsLimit=27]="colorDecoratorsLimit",b[b.columnSelection=28]="columnSelection",b[b.comments=29]="comments",b[b.contextmenu=30]="contextmenu",b[b.copyWithSyntaxHighlighting=31]="copyWithSyntaxHighlighting",b[b.cursorBlinking=32]="cursorBlinking",b[b.cursorSmoothCaretAnimation=33]="cursorSmoothCaretAnimation",b[b.cursorStyle=34]="cursorStyle",b[b.cursorSurroundingLines=35]="cursorSurroundingLines",b[b.cursorSurroundingLinesStyle=36]="cursorSurroundingLinesStyle",b[b.cursorWidth=37]="cursorWidth",b[b.cursorHeight=38]="cursorHeight",b[b.disableLayerHinting=39]="disableLayerHinting",b[b.disableMonospaceOptimizations=40]="disableMonospaceOptimizations",b[b.domReadOnly=41]="domReadOnly",b[b.dragAndDrop=42]="dragAndDrop",b[b.dropIntoEditor=43]="dropIntoEditor",b[b.editContext=44]="editContext",b[b.emptySelectionClipboard=45]="emptySelectionClipboard",b[b.experimentalGpuAcceleration=46]="experimentalGpuAcceleration",b[b.experimentalWhitespaceRendering=47]="experimentalWhitespaceRendering",b[b.extraEditorClassName=48]="extraEditorClassName",b[b.fastScrollSensitivity=49]="fastScrollSensitivity",b[b.find=50]="find",b[b.fixedOverflowWidgets=51]="fixedOverflowWidgets",b[b.folding=52]="folding",b[b.foldingStrategy=53]="foldingStrategy",b[b.foldingHighlight=54]="foldingHighlight",b[b.foldingImportsByDefault=55]="foldingImportsByDefault",b[b.foldingMaximumRegions=56]="foldingMaximumRegions",b[b.unfoldOnClickAfterEndOfLine=57]="unfoldOnClickAfterEndOfLine",b[b.fontFamily=58]="fontFamily",b[b.fontInfo=59]="fontInfo",b[b.fontLigatures=60]="fontLigatures",b[b.fontSize=61]="fontSize",b[b.fontWeight=62]="fontWeight",b[b.fontVariations=63]="fontVariations",b[b.formatOnPaste=64]="formatOnPaste",b[b.formatOnType=65]="formatOnType",b[b.glyphMargin=66]="glyphMargin",b[b.gotoLocation=67]="gotoLocation",b[b.hideCursorInOverviewRuler=68]="hideCursorInOverviewRuler",b[b.hover=69]="hover",b[b.inDiffEditor=70]="inDiffEditor",b[b.inlineSuggest=71]="inlineSuggest",b[b.letterSpacing=72]="letterSpacing",b[b.lightbulb=73]="lightbulb",b[b.lineDecorationsWidth=74]="lineDecorationsWidth",b[b.lineHeight=75]="lineHeight",b[b.lineNumbers=76]="lineNumbers",b[b.lineNumbersMinChars=77]="lineNumbersMinChars",b[b.linkedEditing=78]="linkedEditing",b[b.links=79]="links",b[b.matchBrackets=80]="matchBrackets",b[b.minimap=81]="minimap",b[b.mouseStyle=82]="mouseStyle",b[b.mouseWheelScrollSensitivity=83]="mouseWheelScrollSensitivity",b[b.mouseWheelZoom=84]="mouseWheelZoom",b[b.multiCursorMergeOverlapping=85]="multiCursorMergeOverlapping",b[b.multiCursorModifier=86]="multiCursorModifier",b[b.mouseMiddleClickAction=87]="mouseMiddleClickAction",b[b.multiCursorPaste=88]="multiCursorPaste",b[b.multiCursorLimit=89]="multiCursorLimit",b[b.occurrencesHighlight=90]="occurrencesHighlight",b[b.occurrencesHighlightDelay=91]="occurrencesHighlightDelay",b[b.overtypeCursorStyle=92]="overtypeCursorStyle",b[b.overtypeOnPaste=93]="overtypeOnPaste",b[b.overviewRulerBorder=94]="overviewRulerBorder",b[b.overviewRulerLanes=95]="overviewRulerLanes",b[b.padding=96]="padding",b[b.pasteAs=97]="pasteAs",b[b.parameterHints=98]="parameterHints",b[b.peekWidgetDefaultFocus=99]="peekWidgetDefaultFocus",b[b.placeholder=100]="placeholder",b[b.definitionLinkOpensInPeek=101]="definitionLinkOpensInPeek",b[b.quickSuggestions=102]="quickSuggestions",b[b.quickSuggestionsDelay=103]="quickSuggestionsDelay",b[b.readOnly=104]="readOnly",b[b.readOnlyMessage=105]="readOnlyMessage",b[b.renameOnType=106]="renameOnType",b[b.renderRichScreenReaderContent=107]="renderRichScreenReaderContent",b[b.renderControlCharacters=108]="renderControlCharacters",b[b.renderFinalNewline=109]="renderFinalNewline",b[b.renderLineHighlight=110]="renderLineHighlight",b[b.renderLineHighlightOnlyWhenFocus=111]="renderLineHighlightOnlyWhenFocus",b[b.renderValidationDecorations=112]="renderValidationDecorations",b[b.renderWhitespace=113]="renderWhitespace",b[b.revealHorizontalRightPadding=114]="revealHorizontalRightPadding",b[b.roundedSelection=115]="roundedSelection",b[b.rulers=116]="rulers",b[b.scrollbar=117]="scrollbar",b[b.scrollBeyondLastColumn=118]="scrollBeyondLastColumn",b[b.scrollBeyondLastLine=119]="scrollBeyondLastLine",b[b.scrollPredominantAxis=120]="scrollPredominantAxis",b[b.selectionClipboard=121]="selectionClipboard",b[b.selectionHighlight=122]="selectionHighlight",b[b.selectionHighlightMaxLength=123]="selectionHighlightMaxLength",b[b.selectionHighlightMultiline=124]="selectionHighlightMultiline",b[b.selectOnLineNumbers=125]="selectOnLineNumbers",b[b.showFoldingControls=126]="showFoldingControls",b[b.showUnused=127]="showUnused",b[b.snippetSuggestions=128]="snippetSuggestions",b[b.smartSelect=129]="smartSelect",b[b.smoothScrolling=130]="smoothScrolling",b[b.stickyScroll=131]="stickyScroll",b[b.stickyTabStops=132]="stickyTabStops",b[b.stopRenderingLineAfter=133]="stopRenderingLineAfter",b[b.suggest=134]="suggest",b[b.suggestFontSize=135]="suggestFontSize",b[b.suggestLineHeight=136]="suggestLineHeight",b[b.suggestOnTriggerCharacters=137]="suggestOnTriggerCharacters",b[b.suggestSelection=138]="suggestSelection",b[b.tabCompletion=139]="tabCompletion",b[b.tabIndex=140]="tabIndex",b[b.trimWhitespaceOnDelete=141]="trimWhitespaceOnDelete",b[b.unicodeHighlighting=142]="unicodeHighlighting",b[b.unusualLineTerminators=143]="unusualLineTerminators",b[b.useShadowDOM=144]="useShadowDOM",b[b.useTabStops=145]="useTabStops",b[b.wordBreak=146]="wordBreak",b[b.wordSegmenterLocales=147]="wordSegmenterLocales",b[b.wordSeparators=148]="wordSeparators",b[b.wordWrap=149]="wordWrap",b[b.wordWrapBreakAfterCharacters=150]="wordWrapBreakAfterCharacters",b[b.wordWrapBreakBeforeCharacters=151]="wordWrapBreakBeforeCharacters",b[b.wordWrapColumn=152]="wordWrapColumn",b[b.wordWrapOverride1=153]="wordWrapOverride1",b[b.wordWrapOverride2=154]="wordWrapOverride2",b[b.wrappingIndent=155]="wrappingIndent",b[b.wrappingStrategy=156]="wrappingStrategy",b[b.showDeprecated=157]="showDeprecated",b[b.inertialScroll=158]="inertialScroll",b[b.inlayHints=159]="inlayHints",b[b.wrapOnEscapedLineFeeds=160]="wrapOnEscapedLineFeeds",b[b.effectiveCursorStyle=161]="effectiveCursorStyle",b[b.editorClassName=162]="editorClassName",b[b.pixelRatio=163]="pixelRatio",b[b.tabFocusMode=164]="tabFocusMode",b[b.layoutInfo=165]="layoutInfo",b[b.wrappingInfo=166]="wrappingInfo",b[b.defaultColorDecorators=167]="defaultColorDecorators",b[b.colorDecoratorsActivatedOn=168]="colorDecoratorsActivatedOn",b[b.inlineCompletionsAccessibilityVerbose=169]="inlineCompletionsAccessibilityVerbose",b[b.effectiveEditContext=170]="effectiveEditContext",b[b.scrollOnMiddleClick=171]="scrollOnMiddleClick",b[b.effectiveAllowVariableFonts=172]="effectiveAllowVariableFonts"})(sbe||(sbe={}));var lbe;(function(b){b[b.TextDefined=0]="TextDefined",b[b.LF=1]="LF",b[b.CRLF=2]="CRLF"})(lbe||(lbe={}));var cbe;(function(b){b[b.LF=0]="LF",b[b.CRLF=1]="CRLF"})(cbe||(cbe={}));var dbe;(function(b){b[b.Left=1]="Left",b[b.Center=2]="Center",b[b.Right=3]="Right"})(dbe||(dbe={}));var ube;(function(b){b[b.Increase=0]="Increase",b[b.Decrease=1]="Decrease"})(ube||(ube={}));var pbe;(function(b){b[b.None=0]="None",b[b.Indent=1]="Indent",b[b.IndentOutdent=2]="IndentOutdent",b[b.Outdent=3]="Outdent"})(pbe||(pbe={}));var fbe;(function(b){b[b.Both=0]="Both",b[b.Right=1]="Right",b[b.Left=2]="Left",b[b.None=3]="None"})(fbe||(fbe={}));var mbe;(function(b){b[b.Type=1]="Type",b[b.Parameter=2]="Parameter"})(mbe||(mbe={}));var hbe;(function(b){b[b.Accepted=0]="Accepted",b[b.Rejected=1]="Rejected",b[b.Ignored=2]="Ignored"})(hbe||(hbe={}));var _be;(function(b){b[b.Code=1]="Code",b[b.Label=2]="Label"})(_be||(_be={}));var gbe;(function(b){b[b.Automatic=0]="Automatic",b[b.Explicit=1]="Explicit"})(gbe||(gbe={}));var OQ;(function(b){b[b.DependsOnKbLayout=-1]="DependsOnKbLayout",b[b.Unknown=0]="Unknown",b[b.Backspace=1]="Backspace",b[b.Tab=2]="Tab",b[b.Enter=3]="Enter",b[b.Shift=4]="Shift",b[b.Ctrl=5]="Ctrl",b[b.Alt=6]="Alt",b[b.PauseBreak=7]="PauseBreak",b[b.CapsLock=8]="CapsLock",b[b.Escape=9]="Escape",b[b.Space=10]="Space",b[b.PageUp=11]="PageUp",b[b.PageDown=12]="PageDown",b[b.End=13]="End",b[b.Home=14]="Home",b[b.LeftArrow=15]="LeftArrow",b[b.UpArrow=16]="UpArrow",b[b.RightArrow=17]="RightArrow",b[b.DownArrow=18]="DownArrow",b[b.Insert=19]="Insert",b[b.Delete=20]="Delete",b[b.Digit0=21]="Digit0",b[b.Digit1=22]="Digit1",b[b.Digit2=23]="Digit2",b[b.Digit3=24]="Digit3",b[b.Digit4=25]="Digit4",b[b.Digit5=26]="Digit5",b[b.Digit6=27]="Digit6",b[b.Digit7=28]="Digit7",b[b.Digit8=29]="Digit8",b[b.Digit9=30]="Digit9",b[b.KeyA=31]="KeyA",b[b.KeyB=32]="KeyB",b[b.KeyC=33]="KeyC",b[b.KeyD=34]="KeyD",b[b.KeyE=35]="KeyE",b[b.KeyF=36]="KeyF",b[b.KeyG=37]="KeyG",b[b.KeyH=38]="KeyH",b[b.KeyI=39]="KeyI",b[b.KeyJ=40]="KeyJ",b[b.KeyK=41]="KeyK",b[b.KeyL=42]="KeyL",b[b.KeyM=43]="KeyM",b[b.KeyN=44]="KeyN",b[b.KeyO=45]="KeyO",b[b.KeyP=46]="KeyP",b[b.KeyQ=47]="KeyQ",b[b.KeyR=48]="KeyR",b[b.KeyS=49]="KeyS",b[b.KeyT=50]="KeyT",b[b.KeyU=51]="KeyU",b[b.KeyV=52]="KeyV",b[b.KeyW=53]="KeyW",b[b.KeyX=54]="KeyX",b[b.KeyY=55]="KeyY",b[b.KeyZ=56]="KeyZ",b[b.Meta=57]="Meta",b[b.ContextMenu=58]="ContextMenu",b[b.F1=59]="F1",b[b.F2=60]="F2",b[b.F3=61]="F3",b[b.F4=62]="F4",b[b.F5=63]="F5",b[b.F6=64]="F6",b[b.F7=65]="F7",b[b.F8=66]="F8",b[b.F9=67]="F9",b[b.F10=68]="F10",b[b.F11=69]="F11",b[b.F12=70]="F12",b[b.F13=71]="F13",b[b.F14=72]="F14",b[b.F15=73]="F15",b[b.F16=74]="F16",b[b.F17=75]="F17",b[b.F18=76]="F18",b[b.F19=77]="F19",b[b.F20=78]="F20",b[b.F21=79]="F21",b[b.F22=80]="F22",b[b.F23=81]="F23",b[b.F24=82]="F24",b[b.NumLock=83]="NumLock",b[b.ScrollLock=84]="ScrollLock",b[b.Semicolon=85]="Semicolon",b[b.Equal=86]="Equal",b[b.Comma=87]="Comma",b[b.Minus=88]="Minus",b[b.Period=89]="Period",b[b.Slash=90]="Slash",b[b.Backquote=91]="Backquote",b[b.BracketLeft=92]="BracketLeft",b[b.Backslash=93]="Backslash",b[b.BracketRight=94]="BracketRight",b[b.Quote=95]="Quote",b[b.OEM_8=96]="OEM_8",b[b.IntlBackslash=97]="IntlBackslash",b[b.Numpad0=98]="Numpad0",b[b.Numpad1=99]="Numpad1",b[b.Numpad2=100]="Numpad2",b[b.Numpad3=101]="Numpad3",b[b.Numpad4=102]="Numpad4",b[b.Numpad5=103]="Numpad5",b[b.Numpad6=104]="Numpad6",b[b.Numpad7=105]="Numpad7",b[b.Numpad8=106]="Numpad8",b[b.Numpad9=107]="Numpad9",b[b.NumpadMultiply=108]="NumpadMultiply",b[b.NumpadAdd=109]="NumpadAdd",b[b.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",b[b.NumpadSubtract=111]="NumpadSubtract",b[b.NumpadDecimal=112]="NumpadDecimal",b[b.NumpadDivide=113]="NumpadDivide",b[b.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",b[b.ABNT_C1=115]="ABNT_C1",b[b.ABNT_C2=116]="ABNT_C2",b[b.AudioVolumeMute=117]="AudioVolumeMute",b[b.AudioVolumeUp=118]="AudioVolumeUp",b[b.AudioVolumeDown=119]="AudioVolumeDown",b[b.BrowserSearch=120]="BrowserSearch",b[b.BrowserHome=121]="BrowserHome",b[b.BrowserBack=122]="BrowserBack",b[b.BrowserForward=123]="BrowserForward",b[b.MediaTrackNext=124]="MediaTrackNext",b[b.MediaTrackPrevious=125]="MediaTrackPrevious",b[b.MediaStop=126]="MediaStop",b[b.MediaPlayPause=127]="MediaPlayPause",b[b.LaunchMediaPlayer=128]="LaunchMediaPlayer",b[b.LaunchMail=129]="LaunchMail",b[b.LaunchApp2=130]="LaunchApp2",b[b.Clear=131]="Clear",b[b.MAX_VALUE=132]="MAX_VALUE"})(OQ||(OQ={}));var WQ;(function(b){b[b.Hint=1]="Hint",b[b.Info=2]="Info",b[b.Warning=4]="Warning",b[b.Error=8]="Error"})(WQ||(WQ={}));var FQ;(function(b){b[b.Unnecessary=1]="Unnecessary",b[b.Deprecated=2]="Deprecated"})(FQ||(FQ={}));var ybe;(function(b){b[b.Inline=1]="Inline",b[b.Gutter=2]="Gutter"})(ybe||(ybe={}));var vbe;(function(b){b[b.Normal=1]="Normal",b[b.Underlined=2]="Underlined"})(vbe||(vbe={}));var bbe;(function(b){b[b.UNKNOWN=0]="UNKNOWN",b[b.TEXTAREA=1]="TEXTAREA",b[b.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",b[b.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",b[b.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",b[b.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",b[b.CONTENT_TEXT=6]="CONTENT_TEXT",b[b.CONTENT_EMPTY=7]="CONTENT_EMPTY",b[b.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",b[b.CONTENT_WIDGET=9]="CONTENT_WIDGET",b[b.OVERVIEW_RULER=10]="OVERVIEW_RULER",b[b.SCROLLBAR=11]="SCROLLBAR",b[b.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",b[b.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(bbe||(bbe={}));var Tbe;(function(b){b[b.AIGenerated=1]="AIGenerated"})(Tbe||(Tbe={}));var Sbe;(function(b){b[b.Invoke=0]="Invoke",b[b.Automatic=1]="Automatic"})(Sbe||(Sbe={}));var Ebe;(function(b){b[b.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",b[b.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",b[b.TOP_CENTER=2]="TOP_CENTER"})(Ebe||(Ebe={}));var Abe;(function(b){b[b.Left=1]="Left",b[b.Center=2]="Center",b[b.Right=4]="Right",b[b.Full=7]="Full"})(Abe||(Abe={}));var Ibe;(function(b){b[b.Word=0]="Word",b[b.Line=1]="Line",b[b.Suggest=2]="Suggest"})(Ibe||(Ibe={}));var xbe;(function(b){b[b.Left=0]="Left",b[b.Right=1]="Right",b[b.None=2]="None",b[b.LeftOfInjectedText=3]="LeftOfInjectedText",b[b.RightOfInjectedText=4]="RightOfInjectedText"})(xbe||(xbe={}));var Rbe;(function(b){b[b.Off=0]="Off",b[b.On=1]="On",b[b.Relative=2]="Relative",b[b.Interval=3]="Interval",b[b.Custom=4]="Custom"})(Rbe||(Rbe={}));var Dbe;(function(b){b[b.None=0]="None",b[b.Text=1]="Text",b[b.Blocks=2]="Blocks"})(Dbe||(Dbe={}));var Cbe;(function(b){b[b.Smooth=0]="Smooth",b[b.Immediate=1]="Immediate"})(Cbe||(Cbe={}));var Nbe;(function(b){b[b.Auto=1]="Auto",b[b.Hidden=2]="Hidden",b[b.Visible=3]="Visible"})(Nbe||(Nbe={}));var zQ;(function(b){b[b.LTR=0]="LTR",b[b.RTL=1]="RTL"})(zQ||(zQ={}));var Mbe;(function(b){b.Off="off",b.OnCode="onCode",b.On="on"})(Mbe||(Mbe={}));var Pbe;(function(b){b[b.Invoke=1]="Invoke",b[b.TriggerCharacter=2]="TriggerCharacter",b[b.ContentChange=3]="ContentChange"})(Pbe||(Pbe={}));var Lbe;(function(b){b[b.File=0]="File",b[b.Module=1]="Module",b[b.Namespace=2]="Namespace",b[b.Package=3]="Package",b[b.Class=4]="Class",b[b.Method=5]="Method",b[b.Property=6]="Property",b[b.Field=7]="Field",b[b.Constructor=8]="Constructor",b[b.Enum=9]="Enum",b[b.Interface=10]="Interface",b[b.Function=11]="Function",b[b.Variable=12]="Variable",b[b.Constant=13]="Constant",b[b.String=14]="String",b[b.Number=15]="Number",b[b.Boolean=16]="Boolean",b[b.Array=17]="Array",b[b.Object=18]="Object",b[b.Key=19]="Key",b[b.Null=20]="Null",b[b.EnumMember=21]="EnumMember",b[b.Struct=22]="Struct",b[b.Event=23]="Event",b[b.Operator=24]="Operator",b[b.TypeParameter=25]="TypeParameter"})(Lbe||(Lbe={}));var kbe;(function(b){b[b.Deprecated=1]="Deprecated"})(kbe||(kbe={}));var wbe;(function(b){b[b.LTR=0]="LTR",b[b.RTL=1]="RTL"})(wbe||(wbe={}));var Obe;(function(b){b[b.Hidden=0]="Hidden",b[b.Blink=1]="Blink",b[b.Smooth=2]="Smooth",b[b.Phase=3]="Phase",b[b.Expand=4]="Expand",b[b.Solid=5]="Solid"})(Obe||(Obe={}));var Wbe;(function(b){b[b.Line=1]="Line",b[b.Block=2]="Block",b[b.Underline=3]="Underline",b[b.LineThin=4]="LineThin",b[b.BlockOutline=5]="BlockOutline",b[b.UnderlineThin=6]="UnderlineThin"})(Wbe||(Wbe={}));var Fbe;(function(b){b[b.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",b[b.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",b[b.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",b[b.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(Fbe||(Fbe={}));var zbe;(function(b){b[b.None=0]="None",b[b.Same=1]="Same",b[b.Indent=2]="Indent",b[b.DeepIndent=3]="DeepIndent"})(zbe||(zbe={}));const u2=class u2{static chord(g,x){return n5e(g,x)}};u2.CtrlCmd=2048,u2.Shift=1024,u2.Alt=512,u2.WinCtrl=256;let BQ=u2;function x5e(){return{editor:void 0,languages:void 0,CancellationTokenSource:Qze,Emitter:FE,KeyCode:OQ,KeyMod:BQ,Position:Zc,Range:ss,Selection:Zv,SelectionDirection:zQ,MarkerSeverity:WQ,MarkerTag:FQ,Uri:dN,Token:I5e}}var Bbe;class R5e{constructor(){this[Bbe]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var g;return(g=this._head)==null?void 0:g.value}get last(){var g;return(g=this._tail)==null?void 0:g.value}has(g){return this._map.has(g)}get(g,x=0){const W=this._map.get(g);if(W)return x!==0&&this.touch(W,x),W.value}set(g,x,W=0){let X=this._map.get(g);if(X)X.value=x,W!==0&&this.touch(X,W);else{switch(X={key:g,value:x,next:void 0,previous:void 0},W){case 0:this.addItemLast(X);break;case 1:this.addItemFirst(X);break;case 2:this.addItemLast(X);break;default:this.addItemLast(X);break}this._map.set(g,X),this._size++}return this}delete(g){return!!this.remove(g)}remove(g){const x=this._map.get(g);if(x)return this._map.delete(g),this.removeItem(x),this._size--,x.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const g=this._head;return this._map.delete(g.key),this.removeItem(g),this._size--,g.value}forEach(g,x){const W=this._state;let X=this._head;for(;X;){if(x?g.bind(x)(X.value,X.key,this):g(X.value,X.key,this),this._state!==W)throw new Error("LinkedMap got modified during iteration.");X=X.next}}keys(){const g=this,x=this._state;let W=this._head;const X={[Symbol.iterator](){return X},next(){if(g._state!==x)throw new Error("LinkedMap got modified during iteration.");if(W){const fe={value:W.key,done:!1};return W=W.next,fe}else return{value:void 0,done:!0}}};return X}values(){const g=this,x=this._state;let W=this._head;const X={[Symbol.iterator](){return X},next(){if(g._state!==x)throw new Error("LinkedMap got modified during iteration.");if(W){const fe={value:W.value,done:!1};return W=W.next,fe}else return{value:void 0,done:!0}}};return X}entries(){const g=this,x=this._state;let W=this._head;const X={[Symbol.iterator](){return X},next(){if(g._state!==x)throw new Error("LinkedMap got modified during iteration.");if(W){const fe={value:[W.key,W.value],done:!1};return W=W.next,fe}else return{value:void 0,done:!0}}};return X}[(Bbe=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(g){if(g>=this.size)return;if(g===0){this.clear();return}let x=this._head,W=this.size;for(;x&&W>g;)this._map.delete(x.key),x=x.next,W--;this._head=x,this._size=W,x&&(x.previous=void 0),this._state++}trimNew(g){if(g>=this.size)return;if(g===0){this.clear();return}let x=this._tail,W=this.size;for(;x&&W>g;)this._map.delete(x.key),x=x.previous,W--;this._tail=x,this._size=W,x&&(x.next=void 0),this._state++}addItemFirst(g){if(!this._head&&!this._tail)this._tail=g;else if(this._head)g.next=this._head,this._head.previous=g;else throw new Error("Invalid list");this._head=g,this._state++}addItemLast(g){if(!this._head&&!this._tail)this._head=g;else if(this._tail)g.previous=this._tail,this._tail.next=g;else throw new Error("Invalid list");this._tail=g,this._state++}removeItem(g){if(g===this._head&&g===this._tail)this._head=void 0,this._tail=void 0;else if(g===this._head){if(!g.next)throw new Error("Invalid list");g.next.previous=void 0,this._head=g.next}else if(g===this._tail){if(!g.previous)throw new Error("Invalid list");g.previous.next=void 0,this._tail=g.previous}else{const x=g.next,W=g.previous;if(!x||!W)throw new Error("Invalid list");x.previous=W,W.next=x}g.next=void 0,g.previous=void 0,this._state++}touch(g,x){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(x!==1&&x!==2)){if(x===1){if(g===this._head)return;const W=g.next,X=g.previous;g===this._tail?(X.next=void 0,this._tail=X):(W.previous=X,X.next=W),g.previous=void 0,g.next=this._head,this._head.previous=g,this._head=g,this._state++}else if(x===2){if(g===this._tail)return;const W=g.next,X=g.previous;g===this._head?(W.previous=void 0,this._head=W):(W.previous=X,X.next=W),g.next=void 0,g.previous=this._tail,this._tail.next=g,this._tail=g,this._state++}}}toJSON(){const g=[];return this.forEach((x,W)=>{g.push([W,x])}),g}fromJSON(g){this.clear();for(const[x,W]of g)this.set(x,W)}}class D5e extends R5e{constructor(g,x=1){super(),this._limit=g,this._ratio=Math.min(Math.max(0,x),1)}get limit(){return this._limit}set limit(g){this._limit=g,this.checkTrim()}get(g,x=2){return super.get(g,x)}peek(g){return super.get(g,0)}set(g,x){return super.set(g,x,2),this}checkTrim(){this.size>this._limit&&this.trim(Math.round(this._limit*this._ratio))}}class C5e extends D5e{constructor(g,x=1){super(g,x)}trim(g){this.trimOld(g)}set(g,x){return super.set(g,x),this.checkTrim(),this}}class N5e{constructor(){this.map=new Map}add(g,x){let W=this.map.get(g);W||(W=new Set,this.map.set(g,W)),W.add(x)}delete(g,x){const W=this.map.get(g);W&&(W.delete(x),W.size===0&&this.map.delete(g))}forEach(g,x){const W=this.map.get(g);W&&W.forEach(x)}}new C5e(10);var Gbe;(function(b){b[b.Left=1]="Left",b[b.Center=2]="Center",b[b.Right=4]="Right",b[b.Full=7]="Full"})(Gbe||(Gbe={}));var Vbe;(function(b){b[b.Left=1]="Left",b[b.Center=2]="Center",b[b.Right=3]="Right"})(Vbe||(Vbe={}));var jbe;(function(b){b[b.LTR=0]="LTR",b[b.RTL=1]="RTL"})(jbe||(jbe={}));var Ube;(function(b){b[b.Both=0]="Both",b[b.Right=1]="Right",b[b.Left=2]="Left",b[b.None=3]="None"})(Ube||(Ube={}));function M5e(b){if(!b||b.length===0)return!1;for(let g=0,x=b.length;g<x;g++){const W=b.charCodeAt(g);if(W===10)return!0;if(W===92){if(g++,g>=x)break;const X=b.charCodeAt(g);if(X===110||X===114||X===87)return!0}}return!1}function P5e(b,g,x,W,X){if(W===0)return!0;const fe=g.charCodeAt(W-1);if(b.get(fe)!==0||fe===13||fe===10)return!0;if(X>0){const Me=g.charCodeAt(W);if(b.get(Me)!==0)return!0}return!1}function L5e(b,g,x,W,X){if(W+X===x)return!0;const fe=g.charCodeAt(W+X);if(b.get(fe)!==0||fe===13||fe===10)return!0;if(X>0){const Me=g.charCodeAt(W+X-1);if(b.get(Me)!==0)return!0}return!1}function k5e(b,g,x,W,X){return P5e(b,g,x,W,X)&&L5e(b,g,x,W,X)}class w5e{constructor(g,x){this._wordSeparators=g,this._searchRegex=x,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(g){this._searchRegex.lastIndex=g,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(g){const x=g.length;let W;do{if(this._prevMatchStartIndex+this._prevMatchLength===x||(W=this._searchRegex.exec(g),!W))return null;const X=W.index,fe=W[0].length;if(X===this._prevMatchStartIndex&&fe===this._prevMatchLength){if(fe===0){Lze(g,x,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=X,this._prevMatchLength=fe,!this._wordSeparators||k5e(this._wordSeparators,g,x,X,fe))return W}while(W);return null}}const O5e="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function W5e(b=""){let g="(-?\\d*\\.\\d\\w*)|([^";for(const x of O5e)b.indexOf(x)>=0||(g+="\\"+x);return g+="\\s]+)",new RegExp(g,"g")}const Hbe=W5e();function qbe(b){let g=Hbe;if(b&&b instanceof RegExp)if(b.global)g=b;else{let x="g";b.ignoreCase&&(x+="i"),b.multiline&&(x+="m"),b.unicode&&(x+="u"),g=new RegExp(b.source,x)}return g.lastIndex=0,g}const Jbe=new cze;Jbe.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function GQ(b,g,x,W,X){if(g=qbe(g),X||(X=bB.first(Jbe)),x.length>X.maxLen){let mt=b-X.maxLen/2;return mt<0?mt=0:W+=mt,x=x.substring(mt,b+X.maxLen/2),GQ(b,g,x,W,X)}const fe=Date.now(),Me=b-1-W;let qe=-1,se=null;for(let mt=1;!(Date.now()-fe>=X.timeBudget);mt++){const et=Me-X.windowSize*mt;g.lastIndex=Math.max(0,et);const Xe=F5e(g,x,Me,qe);if(!Xe&&se||(se=Xe,et<=0))break;qe=et}if(se){const mt={word:se[0],startColumn:W+1+se.index,endColumn:W+1+se.index+se[0].length};return g.lastIndex=0,mt}return null}function F5e(b,g,x,W){let X;for(;X=b.exec(g);){const fe=X.index||0;if(fe<=x&&b.lastIndex>=x)return X;if(W>0&&fe>W)return null}return null}class z5e{static computeUnicodeHighlights(g,x,W){const X=W?W.startLineNumber:1,fe=W?W.endLineNumber:g.getLineCount(),Me=new Kbe(x),qe=Me.getCandidateCodePoints();let se;qe==="allNonBasicAscii"?se=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):se=new RegExp("".concat(B5e(Array.from(qe))),"g");const mt=new w5e(null,se),et=[];let Xe=!1,Mn,Wn=0,qn=0,Ln=0;e:for(let Ji=X,ho=fe;Ji<=ho;Ji++){const Gn=g.getLineContent(Ji),_n=Gn.length;mt.reset(0);do if(Mn=mt.next(Gn),Mn){let pa=Mn.index,lo=Mn.index+Mn[0].length;if(pa>0){const po=Gn.charCodeAt(pa-1);AB(po)&&pa--}if(lo+1<_n){const po=Gn.charCodeAt(lo-1);AB(po)&&lo++}const Ys=Gn.substring(pa,lo);let Vn=GQ(pa+1,Hbe,Gn,0);Vn&&Vn.endColumn<=pa+1&&(Vn=null);const zi=Me.shouldHighlightNonBasicASCII(Ys,Vn?Vn.word:null);if(zi!==0){if(zi===3?Wn++:zi===2?qn++:zi===1?Ln++:rze(),et.length>=1e3){Xe=!0;break e}et.push(new ss(Ji,pa+1,Ji,lo+1))}}while(Mn)}return{ranges:et,hasMore:Xe,ambiguousCharacterCount:Wn,invisibleCharacterCount:qn,nonBasicAsciiCharacterCount:Ln}}static computeUnicodeHighlightReason(g,x){const W=new Kbe(x);switch(W.shouldHighlightNonBasicASCII(g,null)){case 0:return null;case 2:return{kind:1};case 3:{const fe=g.codePointAt(0),Me=W.ambiguousCharacters.getPrimaryConfusable(fe),qe=DW.getLocales().filter(se=>!DW.getInstance(new Set([...x.allowedLocales,se])).isAmbiguous(fe));return{kind:0,confusableWith:String.fromCodePoint(Me),notAmbiguousInLocales:qe}}case 1:return{kind:2}}}}function B5e(b,g){return"[".concat(xze(b.map(W=>String.fromCodePoint(W)).join("")),"]")}class Kbe{constructor(g){this.options=g,this.allowedCodePoints=new Set(g.allowedCodePoints),this.ambiguousCharacters=DW.getInstance(new Set(g.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const g=new Set;if(this.options.invisibleCharacters)for(const x of CW.codePoints)Xbe(String.fromCodePoint(x))||g.add(x);if(this.options.ambiguousCharacters)for(const x of this.ambiguousCharacters.getConfusableCodePoints())g.add(x);for(const x of this.allowedCodePoints)g.delete(x);return g}shouldHighlightNonBasicASCII(g,x){const W=g.codePointAt(0);if(this.allowedCodePoints.has(W))return 0;if(this.options.nonBasicASCII)return 1;let X=!1,fe=!1;if(x)for(const Me of x){const qe=Me.codePointAt(0),se=wze(Me);X=X||se,!se&&!this.ambiguousCharacters.isAmbiguous(qe)&&!CW.isInvisibleCharacter(qe)&&(fe=!0)}return!X&&fe?0:this.options.invisibleCharacters&&!Xbe(g)&&CW.isInvisibleCharacter(W)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(W)?3:0}}function Xbe(b){return b===" "||b==="\n"||b===" "}class PB{constructor(g,x,W){this.changes=g,this.moves=x,this.hitTimeout=W}}class G5e{constructor(g,x){this.lineRangeMapping=g,this.changes=x}}function V5e(b,g,x=(W,X)=>W===X){if(b===g)return!0;if(!b||!g||b.length!==g.length)return!1;for(let W=0,X=b.length;W<X;W++)if(!x(b[W],g[W]))return!1;return!0}function*j5e(b,g){let x,W;for(const X of b)W!==void 0&&g(W,X)?x.push(X):(x&&(yield x),x=[X]),W=X;x&&(yield x)}function U5e(b,g){for(let x=0;x<=b.length;x++)g(x===0?void 0:b[x-1],x===b.length?void 0:b[x])}function H5e(b,g){for(let x=0;x<b.length;x++)g(x===0?void 0:b[x-1],b[x],x+1===b.length?void 0:b[x+1])}function q5e(b,g){for(const x of g)b.push(x)}var VQ;(function(b){function g(fe){return fe<0}b.isLessThan=g;function x(fe){return fe<=0}b.isLessThanOrEqual=x;function W(fe){return fe>0}b.isGreaterThan=W;function X(fe){return fe===0}b.isNeitherLessOrGreaterThan=X,b.greaterThan=1,b.lessThan=-1,b.neitherLessOrGreaterThan=0})(VQ||(VQ={}));function PW(b,g){return(x,W)=>g(b(x),b(W))}const LW=(b,g)=>b-g;function J5e(b){return(g,x)=>-b(g,x)}const p2=class p2{constructor(g){this.iterate=g}toArray(){const g=[];return this.iterate(x=>(g.push(x),!0)),g}filter(g){return new p2(x=>this.iterate(W=>g(W)?x(W):!0))}map(g){return new p2(x=>this.iterate(W=>x(g(W))))}findLast(g){let x;return this.iterate(W=>(g(W)&&(x=W),!0)),x}findLastMaxBy(g){let x,W=!0;return this.iterate(X=>((W||VQ.isGreaterThan(g(X,x)))&&(W=!1,x=X),!0)),x}};p2.empty=new p2(g=>{});let Ybe=p2;class ic{static fromTo(g,x){return new ic(g,x)}static addRange(g,x){let W=0;for(;W<x.length&&x[W].endExclusive<g.start;)W++;let X=W;for(;X<x.length&&x[X].start<=g.endExclusive;)X++;if(W===X)x.splice(W,0,g);else{const fe=Math.min(g.start,x[W].start),Me=Math.max(g.endExclusive,x[X-1].endExclusive);x.splice(W,X-W,new ic(fe,Me))}}static tryCreate(g,x){if(!(g>x))return new ic(g,x)}static ofLength(g){return new ic(0,g)}static ofStartAndLength(g,x){return new ic(g,g+x)}static emptyAt(g){return new ic(g,g)}constructor(g,x){if(this.start=g,this.endExclusive=x,g>x)throw new N_("Invalid range: ".concat(this.toString()))}get isEmpty(){return this.start===this.endExclusive}delta(g){return new ic(this.start+g,this.endExclusive+g)}deltaStart(g){return new ic(this.start+g,this.endExclusive)}deltaEnd(g){return new ic(this.start,this.endExclusive+g)}get length(){return this.endExclusive-this.start}toString(){return"[".concat(this.start,", ").concat(this.endExclusive,")")}equals(g){return this.start===g.start&&this.endExclusive===g.endExclusive}contains(g){return this.start<=g&&g<this.endExclusive}join(g){return new ic(Math.min(this.start,g.start),Math.max(this.endExclusive,g.endExclusive))}intersect(g){const x=Math.max(this.start,g.start),W=Math.min(this.endExclusive,g.endExclusive);if(x<=W)return new ic(x,W)}intersectionLength(g){const x=Math.max(this.start,g.start),W=Math.min(this.endExclusive,g.endExclusive);return Math.max(0,W-x)}intersects(g){const x=Math.max(this.start,g.start),W=Math.min(this.endExclusive,g.endExclusive);return x<W}intersectsOrTouches(g){const x=Math.max(this.start,g.start),W=Math.min(this.endExclusive,g.endExclusive);return x<=W}isBefore(g){return this.endExclusive<=g.start}isAfter(g){return this.start>=g.endExclusive}slice(g){return g.slice(this.start,this.endExclusive)}substring(g){return g.substring(this.start,this.endExclusive)}clip(g){if(this.isEmpty)throw new N_("Invalid clipping range: ".concat(this.toString()));return Math.max(this.start,Math.min(this.endExclusive-1,g))}clipCyclic(g){if(this.isEmpty)throw new N_("Invalid clipping range: ".concat(this.toString()));return g<this.start?this.endExclusive-(this.start-g)%this.length:g>=this.endExclusive?this.start+(g-this.start)%this.length:g}forEach(g){for(let x=this.start;x<this.endExclusive;x++)g(x)}joinRightTouching(g){if(this.endExclusive!==g.start)throw new N_("Invalid join: ".concat(this.toString()," and ").concat(g.toString()));return new ic(this.start,g.endExclusive)}}function e2(b,g){const x=t2(b,g);return x===-1?void 0:b[x]}function t2(b,g,x=0,W=b.length){let X=x,fe=W;for(;X<fe;){const Me=Math.floor((X+fe)/2);g(b[Me])?X=Me+1:fe=Me}return X-1}function K5e(b,g){const x=jQ(b,g);return x===b.length?void 0:b[x]}function jQ(b,g,x=0,W=b.length){let X=x,fe=W;for(;X<fe;){const Me=Math.floor((X+fe)/2);g(b[Me])?fe=Me:X=Me+1}return X}const GB=class GB{constructor(g){this._array=g,this._findLastMonotonousLastIdx=0}findLastMonotonous(g){if(GB.assertInvariants){if(this._prevFindLastPredicate){for(const W of this._array)if(this._prevFindLastPredicate(W)&&!g(W))throw new Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.")}this._prevFindLastPredicate=g}const x=t2(this._array,g,this._findLastMonotonousLastIdx);return this._findLastMonotonousLastIdx=x+1,x===-1?void 0:this._array[x]}};GB.assertInvariants=!1;let LB=GB;const eb=class eb{static ofLength(g,x){return new eb(g,g+x)}static fromRange(g){return new eb(g.startLineNumber,g.endLineNumber)}static fromRangeInclusive(g){return new eb(g.startLineNumber,g.endLineNumber+1)}static joinMany(g){if(g.length===0)return[];let x=new BE(g[0].slice());for(let W=1;W<g.length;W++)x=x.getUnion(new BE(g[W].slice()));return x.ranges}static join(g){if(g.length===0)throw new N_("lineRanges cannot be empty");let x=g[0].startLineNumber,W=g[0].endLineNumberExclusive;for(let X=1;X<g.length;X++)x=Math.min(x,g[X].startLineNumber),W=Math.max(W,g[X].endLineNumberExclusive);return new eb(x,W)}static deserialize(g){return new eb(g[0],g[1])}constructor(g,x){if(g>x)throw new N_("startLineNumber ".concat(g," cannot be after endLineNumberExclusive ").concat(x));this.startLineNumber=g,this.endLineNumberExclusive=x}contains(g){return this.startLineNumber<=g&&g<this.endLineNumberExclusive}get isEmpty(){return this.startLineNumber===this.endLineNumberExclusive}delta(g){return new eb(this.startLineNumber+g,this.endLineNumberExclusive+g)}deltaLength(g){return new eb(this.startLineNumber,this.endLineNumberExclusive+g)}get length(){return this.endLineNumberExclusive-this.startLineNumber}join(g){return new eb(Math.min(this.startLineNumber,g.startLineNumber),Math.max(this.endLineNumberExclusive,g.endLineNumberExclusive))}toString(){return"[".concat(this.startLineNumber,",").concat(this.endLineNumberExclusive,")")}intersect(g){const x=Math.max(this.startLineNumber,g.startLineNumber),W=Math.min(this.endLineNumberExclusive,g.endLineNumberExclusive);if(x<=W)return new eb(x,W)}intersectsStrict(g){return this.startLineNumber<g.endLineNumberExclusive&&g.startLineNumber<this.endLineNumberExclusive}intersectsOrTouches(g){return this.startLineNumber<=g.endLineNumberExclusive&&g.startLineNumber<=this.endLineNumberExclusive}equals(g){return this.startLineNumber===g.startLineNumber&&this.endLineNumberExclusive===g.endLineNumberExclusive}toInclusiveRange(){return this.isEmpty?null:new ss(this.startLineNumber,1,this.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER)}toExclusiveRange(){return new ss(this.startLineNumber,1,this.endLineNumberExclusive,1)}mapToLineArray(g){const x=[];for(let W=this.startLineNumber;W<this.endLineNumberExclusive;W++)x.push(g(W));return x}forEach(g){for(let x=this.startLineNumber;x<this.endLineNumberExclusive;x++)g(x)}serialize(){return[this.startLineNumber,this.endLineNumberExclusive]}toOffsetRange(){return new ic(this.startLineNumber-1,this.endLineNumberExclusive-1)}addMargin(g,x){return new eb(this.startLineNumber-g,this.endLineNumberExclusive+x)}};eb.compareByStart=PW(g=>g.startLineNumber,LW);let Gc=eb;class BE{constructor(g=[]){this._normalizedRanges=g}get ranges(){return this._normalizedRanges}addRange(g){if(g.length===0)return;const x=jQ(this._normalizedRanges,X=>X.endLineNumberExclusive>=g.startLineNumber),W=t2(this._normalizedRanges,X=>X.startLineNumber<=g.endLineNumberExclusive)+1;if(x===W)this._normalizedRanges.splice(x,0,g);else if(x===W-1){const X=this._normalizedRanges[x];this._normalizedRanges[x]=X.join(g)}else{const X=this._normalizedRanges[x].join(this._normalizedRanges[W-1]).join(g);this._normalizedRanges.splice(x,W-x,X)}}contains(g){const x=e2(this._normalizedRanges,W=>W.startLineNumber<=g);return!!x&&x.endLineNumberExclusive>g}intersects(g){const x=e2(this._normalizedRanges,W=>W.startLineNumber<g.endLineNumberExclusive);return!!x&&x.endLineNumberExclusive>g.startLineNumber}getUnion(g){if(this._normalizedRanges.length===0)return g;if(g._normalizedRanges.length===0)return this;const x=[];let W=0,X=0,fe=null;for(;W<this._normalizedRanges.length||X<g._normalizedRanges.length;){let Me=null;if(W<this._normalizedRanges.length&&X<g._normalizedRanges.length){const qe=this._normalizedRanges[W],se=g._normalizedRanges[X];qe.startLineNumber<se.startLineNumber?(Me=qe,W++):(Me=se,X++)}else W<this._normalizedRanges.length?(Me=this._normalizedRanges[W],W++):(Me=g._normalizedRanges[X],X++);fe===null?fe=Me:fe.endLineNumberExclusive>=Me.startLineNumber?fe=new Gc(fe.startLineNumber,Math.max(fe.endLineNumberExclusive,Me.endLineNumberExclusive)):(x.push(fe),fe=Me)}return fe!==null&&x.push(fe),new BE(x)}subtractFrom(g){const x=jQ(this._normalizedRanges,Me=>Me.endLineNumberExclusive>=g.startLineNumber),W=t2(this._normalizedRanges,Me=>Me.startLineNumber<=g.endLineNumberExclusive)+1;if(x===W)return new BE([g]);const X=[];let fe=g.startLineNumber;for(let Me=x;Me<W;Me++){const qe=this._normalizedRanges[Me];qe.startLineNumber>fe&&X.push(new Gc(fe,qe.startLineNumber)),fe=qe.endLineNumberExclusive}return fe<g.endLineNumberExclusive&&X.push(new Gc(fe,g.endLineNumberExclusive)),new BE(X)}toString(){return this._normalizedRanges.map(g=>g.toString()).join(", ")}getIntersection(g){const x=[];let W=0,X=0;for(;W<this._normalizedRanges.length&&X<g._normalizedRanges.length;){const fe=this._normalizedRanges[W],Me=g._normalizedRanges[X],qe=fe.intersect(Me);qe&&!qe.isEmpty&&x.push(qe),fe.endLineNumberExclusive<Me.endLineNumberExclusive?W++:X++}return new BE(x)}getWithDelta(g){return new BE(this._normalizedRanges.map(x=>x.delta(g)))}}const lS=class lS{static betweenPositions(g,x){return g.lineNumber===x.lineNumber?new lS(0,x.column-g.column):new lS(x.lineNumber-g.lineNumber,x.column-1)}static fromPosition(g){return new lS(g.lineNumber-1,g.column-1)}static ofRange(g){return lS.betweenPositions(g.getStartPosition(),g.getEndPosition())}static ofText(g){let x=0,W=0;for(const X of g)X==="\n"?(x++,W=0):W++;return new lS(x,W)}constructor(g,x){this.lineCount=g,this.columnCount=x}isGreaterThanOrEqualTo(g){return this.lineCount!==g.lineCount?this.lineCount>g.lineCount:this.columnCount>=g.columnCount}add(g){return g.lineCount===0?new lS(this.lineCount,this.columnCount+g.columnCount):new lS(this.lineCount+g.lineCount,g.columnCount)}createRange(g){return this.lineCount===0?new ss(g.lineNumber,g.column,g.lineNumber,g.column+this.columnCount):new ss(g.lineNumber,g.column,g.lineNumber+this.lineCount,this.columnCount+1)}toRange(){return new ss(1,1,this.lineCount+1,this.columnCount+1)}toLineRange(){return Gc.ofLength(1,this.lineCount+1)}addToPosition(g){return this.lineCount===0?new Zc(g.lineNumber,g.column+this.columnCount):new Zc(g.lineNumber+this.lineCount,this.columnCount+1)}toString(){return"".concat(this.lineCount,",").concat(this.columnCount)}};lS.zero=new lS(0,0);let kW=lS;class X5e{getOffsetRange(g){return new ic(this.getOffset(g.getStartPosition()),this.getOffset(g.getEndPosition()))}getRange(g){return ss.fromPositions(this.getPosition(g.start),this.getPosition(g.endExclusive))}getStringReplacement(g){return new n2.deps.StringReplacement(this.getOffsetRange(g.range),g.text)}getTextReplacement(g){return new n2.deps.TextReplacement(this.getRange(g.replaceRange),g.newText)}getTextEdit(g){const x=g.replacements.map(W=>this.getTextReplacement(W));return new n2.deps.TextEdit(x)}}const QQ=class QQ{static get deps(){if(!this._deps)throw new Error("Dependencies not set. Call _setDependencies first.");return this._deps}};QQ._deps=void 0;let n2=QQ;class Y5e extends X5e{constructor(g){super(),this.text=g,this.lineStartOffsetByLineIdx=[],this.lineEndOffsetByLineIdx=[],this.lineStartOffsetByLineIdx.push(0);for(let x=0;x<g.length;x++)g.charAt(x)==="\n"&&(this.lineStartOffsetByLineIdx.push(x+1),x>0&&g.charAt(x-1)==="\r"?this.lineEndOffsetByLineIdx.push(x-1):this.lineEndOffsetByLineIdx.push(x));this.lineEndOffsetByLineIdx.push(g.length)}getOffset(g){const x=this._validatePosition(g);return this.lineStartOffsetByLineIdx[x.lineNumber-1]+x.column-1}_validatePosition(g){if(g.lineNumber<1)return new Zc(1,1);const x=this.textLength.lineCount+1;if(g.lineNumber>x){const X=this.getLineLength(x);return new Zc(x,X+1)}if(g.column<1)return new Zc(g.lineNumber,1);const W=this.getLineLength(g.lineNumber);return g.column-1>W?new Zc(g.lineNumber,W+1):g}getPosition(g){const x=t2(this.lineStartOffsetByLineIdx,fe=>fe<=g),W=x+1,X=g-this.lineStartOffsetByLineIdx[x]+1;return new Zc(W,X)}get textLength(){const g=this.lineStartOffsetByLineIdx.length-1;return new n2.deps.TextLength(g,this.text.length-this.lineStartOffsetByLineIdx[g])}getLineLength(g){return this.lineEndOffsetByLineIdx[g-1]-this.lineStartOffsetByLineIdx[g-1]}}class $5e{constructor(){this._transformer=void 0}get endPositionExclusive(){return this.length.addToPosition(new Zc(1,1))}get lineRange(){return this.length.toLineRange()}getValue(){return this.getValueOfRange(this.length.toRange())}getValueOfOffsetRange(g){return this.getValueOfRange(this.getTransformer().getRange(g))}getLineLength(g){return this.getValueOfRange(new ss(g,1,g,Number.MAX_SAFE_INTEGER)).length}getTransformer(){return this._transformer||(this._transformer=new Y5e(this.getValue())),this._transformer}getLineAt(g){return this.getValueOfRange(new ss(g,1,g,Number.MAX_SAFE_INTEGER))}}class Q5e extends $5e{constructor(g,x){ize(x>=1),super(),this._getLineContent=g,this._lineCount=x}getValueOfRange(g){if(g.startLineNumber===g.endLineNumber)return this._getLineContent(g.startLineNumber).substring(g.startColumn-1,g.endColumn-1);let x=this._getLineContent(g.startLineNumber).substring(g.startColumn-1);for(let W=g.startLineNumber+1;W<g.endLineNumber;W++)x+="\n"+this._getLineContent(W);return x+="\n"+this._getLineContent(g.endLineNumber).substring(0,g.endColumn-1),x}getLineLength(g){return this._getLineContent(g).length}get length(){const g=this._getLineContent(this._lineCount);return new kW(this._lineCount-1,g.length)}}class kB extends Q5e{constructor(g){super(x=>g[x-1],g.length)}}class ER{static joinReplacements(g,x){if(g.length===0)throw new N_;if(g.length===1)return g[0];const W=g[0].range.getStartPosition(),X=g[g.length-1].range.getEndPosition();let fe="";for(let Me=0;Me<g.length;Me++){const qe=g[Me];if(fe+=qe.text,Me<g.length-1){const se=g[Me+1],mt=ss.fromPositions(qe.range.getEndPosition(),se.range.getStartPosition()),et=x.getValueOfRange(mt);fe+=et}}return new ER(ss.fromPositions(W,X),fe)}static fromStringReplacement(g,x){return new ER(x.getTransformer().getRange(g.replaceRange),g.newText)}static delete(g){return new ER(g,"")}constructor(g,x){this.range=g,this.text=x}get isEmpty(){return this.range.isEmpty()&&this.text.length===0}static equals(g,x){return g.range.equalsRange(x.range)&&g.text===x.text}equals(g){return ER.equals(this,g)}removeCommonPrefixAndSuffix(g){return this.removeCommonPrefix(g).removeCommonSuffix(g)}removeCommonPrefix(g){const x=g.getValueOfRange(this.range).replaceAll("\r\n","\n"),W=this.text.replaceAll("\r\n","\n"),X=Mze(x,W),fe=kW.ofText(x.substring(0,X)).addToPosition(this.range.getStartPosition()),Me=W.substring(X),qe=ss.fromPositions(fe,this.range.getEndPosition());return new ER(qe,Me)}removeCommonSuffix(g){const x=g.getValueOfRange(this.range).replaceAll("\r\n","\n"),W=this.text.replaceAll("\r\n","\n"),X=Pze(x,W),fe=kW.ofText(x.substring(0,x.length-X)).addToPosition(this.range.getStartPosition()),Me=W.substring(0,W.length-X),qe=ss.fromPositions(this.range.getStartPosition(),fe);return new ER(qe,Me)}toString(){const g=this.range.getStartPosition(),x=this.range.getEndPosition();return"(".concat(g.lineNumber,",").concat(g.column," -> ").concat(x.lineNumber,",").concat(x.column,'): "').concat(this.text,'"')}}class A0{static inverse(g,x,W){const X=[];let fe=1,Me=1;for(const se of g){const mt=new A0(new Gc(fe,se.original.startLineNumber),new Gc(Me,se.modified.startLineNumber));mt.modified.isEmpty||X.push(mt),fe=se.original.endLineNumberExclusive,Me=se.modified.endLineNumberExclusive}const qe=new A0(new Gc(fe,x+1),new Gc(Me,W+1));return qe.modified.isEmpty||X.push(qe),X}static clip(g,x,W){const X=[];for(const fe of g){const Me=fe.original.intersect(x),qe=fe.modified.intersect(W);Me&&!Me.isEmpty&&qe&&!qe.isEmpty&&X.push(new A0(Me,qe))}return X}constructor(g,x){this.original=g,this.modified=x}toString(){return"{".concat(this.original.toString(),"->").concat(this.modified.toString(),"}")}flip(){return new A0(this.modified,this.original)}join(g){return new A0(this.original.join(g.original),this.modified.join(g.modified))}toRangeMapping(){const g=this.original.toInclusiveRange(),x=this.modified.toInclusiveRange();if(g&&x)return new I0(g,x);if(this.original.startLineNumber===1||this.modified.startLineNumber===1){if(!(this.modified.startLineNumber===1&&this.original.startLineNumber===1))throw new N_("not a valid diff");return new I0(new ss(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new ss(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1))}else return new I0(new ss(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),new ss(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER))}toRangeMapping2(g,x){if($be(this.original.endLineNumberExclusive,g)&&$be(this.modified.endLineNumberExclusive,x))return new I0(new ss(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new ss(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1));if(!this.original.isEmpty&&!this.modified.isEmpty)return new I0(ss.fromPositions(new Zc(this.original.startLineNumber,1),r2(new Zc(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),g)),ss.fromPositions(new Zc(this.modified.startLineNumber,1),r2(new Zc(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),x)));if(this.original.startLineNumber>1&&this.modified.startLineNumber>1)return new I0(ss.fromPositions(r2(new Zc(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER),g),r2(new Zc(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),g)),ss.fromPositions(r2(new Zc(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER),x),r2(new Zc(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),x)));throw new N_}}function r2(b,g){if(b.lineNumber<1)return new Zc(1,1);if(b.lineNumber>g.length)return new Zc(g.length,g[g.length-1].length+1);const x=g[b.lineNumber-1];return b.column>x.length+1?new Zc(b.lineNumber,x.length+1):b}function $be(b,g){return b>=1&&b<=g.length}class qA extends A0{static fromRangeMappings(g){const x=Gc.join(g.map(X=>Gc.fromRangeInclusive(X.originalRange))),W=Gc.join(g.map(X=>Gc.fromRangeInclusive(X.modifiedRange)));return new qA(x,W,g)}constructor(g,x,W){super(g,x),this.innerChanges=W}flip(){var g;return new qA(this.modified,this.original,(g=this.innerChanges)==null?void 0:g.map(x=>x.flip()))}withInnerChangesFromLineRanges(){return new qA(this.original,this.modified,[this.toRangeMapping()])}}class I0{static fromEdit(g){const x=g.getNewRanges();return g.replacements.map((X,fe)=>new I0(X.range,x[fe]))}static assertSorted(g){for(let x=1;x<g.length;x++){const W=g[x-1],X=g[x];if(!(W.originalRange.getEndPosition().isBeforeOrEqual(X.originalRange.getStartPosition())&&W.modifiedRange.getEndPosition().isBeforeOrEqual(X.modifiedRange.getStartPosition())))throw new N_("Range mappings must be sorted")}}constructor(g,x){this.originalRange=g,this.modifiedRange=x}toString(){return"{".concat(this.originalRange.toString(),"->").concat(this.modifiedRange.toString(),"}")}flip(){return new I0(this.modifiedRange,this.originalRange)}toTextEdit(g){const x=g.getValueOfRange(this.modifiedRange);return new ER(this.originalRange,x)}}function Qbe(b,g,x,W=!1){const X=[];for(const fe of j5e(b.map(Me=>Z5e(Me,g,x)),(Me,qe)=>Me.original.intersectsOrTouches(qe.original)||Me.modified.intersectsOrTouches(qe.modified))){const Me=fe[0],qe=fe[fe.length-1];X.push(new qA(Me.original.join(qe.original),Me.modified.join(qe.modified),fe.map(se=>se.innerChanges[0])))}return vB(()=>!W&&X.length>0&&(X[0].modified.startLineNumber!==X[0].original.startLineNumber||x.length.lineCount-X[X.length-1].modified.endLineNumberExclusive!==g.length.lineCount-X[X.length-1].original.endLineNumberExclusive)?!1:sve(X,(fe,Me)=>Me.original.startLineNumber-fe.original.endLineNumberExclusive===Me.modified.startLineNumber-fe.modified.endLineNumberExclusive&&fe.original.endLineNumberExclusive<Me.original.startLineNumber&&fe.modified.endLineNumberExclusive<Me.modified.startLineNumber)),X}function Z5e(b,g,x){let W=0,X=0;b.modifiedRange.endColumn===1&&b.originalRange.endColumn===1&&b.originalRange.startLineNumber+W<=b.originalRange.endLineNumber&&b.modifiedRange.startLineNumber+W<=b.modifiedRange.endLineNumber&&(X=-1),b.modifiedRange.startColumn-1>=x.getLineLength(b.modifiedRange.startLineNumber)&&b.originalRange.startColumn-1>=g.getLineLength(b.originalRange.startLineNumber)&&b.originalRange.startLineNumber<=b.originalRange.endLineNumber+X&&b.modifiedRange.startLineNumber<=b.modifiedRange.endLineNumber+X&&(W=1);const fe=new Gc(b.originalRange.startLineNumber+W,b.originalRange.endLineNumber+1+X),Me=new Gc(b.modifiedRange.startLineNumber+W,b.modifiedRange.endLineNumber+1+X);return new qA(fe,Me,[b])}const eBe=3;class tBe{computeDiff(g,x,W){var se;const fe=new iBe(g,x,{maxComputationTime:W.maxComputationTimeMs,shouldIgnoreTrimWhitespace:W.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),Me=[];let qe=null;for(const mt of fe.changes){let et;mt.originalEndLineNumber===0?et=new Gc(mt.originalStartLineNumber+1,mt.originalStartLineNumber+1):et=new Gc(mt.originalStartLineNumber,mt.originalEndLineNumber+1);let Xe;mt.modifiedEndLineNumber===0?Xe=new Gc(mt.modifiedStartLineNumber+1,mt.modifiedStartLineNumber+1):Xe=new Gc(mt.modifiedStartLineNumber,mt.modifiedEndLineNumber+1);let Mn=new qA(et,Xe,(se=mt.charChanges)==null?void 0:se.map(Wn=>new I0(new ss(Wn.originalStartLineNumber,Wn.originalStartColumn,Wn.originalEndLineNumber,Wn.originalEndColumn),new ss(Wn.modifiedStartLineNumber,Wn.modifiedStartColumn,Wn.modifiedEndLineNumber,Wn.modifiedEndColumn))));qe&&(qe.modified.endLineNumberExclusive===Mn.modified.startLineNumber||qe.original.endLineNumberExclusive===Mn.original.startLineNumber)&&(Mn=new qA(qe.original.join(Mn.original),qe.modified.join(Mn.modified),qe.innerChanges&&Mn.innerChanges?qe.innerChanges.concat(Mn.innerChanges):void 0),Me.pop()),Me.push(Mn),qe=Mn}return vB(()=>sve(Me,(mt,et)=>et.original.startLineNumber-mt.original.endLineNumberExclusive===et.modified.startLineNumber-mt.modified.endLineNumberExclusive&&mt.original.endLineNumberExclusive<et.original.startLineNumber&&mt.modified.endLineNumberExclusive<et.modified.startLineNumber)),new PB(Me,[],fe.quitEarly)}}function Zbe(b,g,x,W){return new TR(b,g,x).ComputeDiff(W)}let e0e=class{constructor(g){const x=[],W=[];for(let X=0,fe=g.length;X<fe;X++)x[X]=UQ(g[X],1),W[X]=HQ(g[X],1);this.lines=g,this._startColumns=x,this._endColumns=W}getElements(){const g=[];for(let x=0,W=this.lines.length;x<W;x++)g[x]=this.lines[x].substring(this._startColumns[x]-1,this._endColumns[x]-1);return g}getStrictElement(g){return this.lines[g]}getStartLineNumber(g){return g+1}getEndLineNumber(g){return g+1}createCharSequence(g,x,W){const X=[],fe=[],Me=[];let qe=0;for(let se=x;se<=W;se++){const mt=this.lines[se],et=g?this._startColumns[se]:1,Xe=g?this._endColumns[se]:mt.length+1;for(let Mn=et;Mn<Xe;Mn++)X[qe]=mt.charCodeAt(Mn-1),fe[qe]=se+1,Me[qe]=Mn,qe++;!g&&se<W&&(X[qe]=10,fe[qe]=se+1,Me[qe]=mt.length+1,qe++)}return new nBe(X,fe,Me)}};class nBe{constructor(g,x,W){this._charCodes=g,this._lineNumbers=x,this._columns=W}toString(){return"["+this._charCodes.map((g,x)=>(g===10?"\\n":String.fromCharCode(g))+"-(".concat(this._lineNumbers[x],",").concat(this._columns[x],")")).join(", ")+"]"}_assertIndex(g,x){if(g<0||g>=x.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(g){return g>0&&g===this._lineNumbers.length?this.getEndLineNumber(g-1):(this._assertIndex(g,this._lineNumbers),this._lineNumbers[g])}getEndLineNumber(g){return g===-1?this.getStartLineNumber(g+1):(this._assertIndex(g,this._lineNumbers),this._charCodes[g]===10?this._lineNumbers[g]+1:this._lineNumbers[g])}getStartColumn(g){return g>0&&g===this._columns.length?this.getEndColumn(g-1):(this._assertIndex(g,this._columns),this._columns[g])}getEndColumn(g){return g===-1?this.getStartColumn(g+1):(this._assertIndex(g,this._columns),this._charCodes[g]===10?1:this._columns[g]+1)}}class i2{constructor(g,x,W,X,fe,Me,qe,se){this.originalStartLineNumber=g,this.originalStartColumn=x,this.originalEndLineNumber=W,this.originalEndColumn=X,this.modifiedStartLineNumber=fe,this.modifiedStartColumn=Me,this.modifiedEndLineNumber=qe,this.modifiedEndColumn=se}static createFromDiffChange(g,x,W){const X=x.getStartLineNumber(g.originalStart),fe=x.getStartColumn(g.originalStart),Me=x.getEndLineNumber(g.originalStart+g.originalLength-1),qe=x.getEndColumn(g.originalStart+g.originalLength-1),se=W.getStartLineNumber(g.modifiedStart),mt=W.getStartColumn(g.modifiedStart),et=W.getEndLineNumber(g.modifiedStart+g.modifiedLength-1),Xe=W.getEndColumn(g.modifiedStart+g.modifiedLength-1);return new i2(X,fe,Me,qe,se,mt,et,Xe)}}function rBe(b){if(b.length<=1)return b;const g=[b[0]];let x=g[0];for(let W=1,X=b.length;W<X;W++){const fe=b[W],Me=fe.originalStart-(x.originalStart+x.originalLength),qe=fe.modifiedStart-(x.modifiedStart+x.modifiedLength);Math.min(Me,qe)<eBe?(x.originalLength=fe.originalStart+fe.originalLength-x.originalStart,x.modifiedLength=fe.modifiedStart+fe.modifiedLength-x.modifiedStart):(g.push(fe),x=fe)}return g}class wW{constructor(g,x,W,X,fe){this.originalStartLineNumber=g,this.originalEndLineNumber=x,this.modifiedStartLineNumber=W,this.modifiedEndLineNumber=X,this.charChanges=fe}static createFromDiffResult(g,x,W,X,fe,Me,qe){let se,mt,et,Xe,Mn;if(x.originalLength===0?(se=W.getStartLineNumber(x.originalStart)-1,mt=0):(se=W.getStartLineNumber(x.originalStart),mt=W.getEndLineNumber(x.originalStart+x.originalLength-1)),x.modifiedLength===0?(et=X.getStartLineNumber(x.modifiedStart)-1,Xe=0):(et=X.getStartLineNumber(x.modifiedStart),Xe=X.getEndLineNumber(x.modifiedStart+x.modifiedLength-1)),Me&&x.originalLength>0&&x.originalLength<20&&x.modifiedLength>0&&x.modifiedLength<20&&fe()){const Wn=W.createCharSequence(g,x.originalStart,x.originalStart+x.originalLength-1),qn=X.createCharSequence(g,x.modifiedStart,x.modifiedStart+x.modifiedLength-1);if(Wn.getElements().length>0&&qn.getElements().length>0){let Ln=Zbe(Wn,qn,fe,!0).changes;qe&&(Ln=rBe(Ln)),Mn=[];for(let Ji=0,ho=Ln.length;Ji<ho;Ji++)Mn.push(i2.createFromDiffChange(Ln[Ji],Wn,qn))}}return new wW(se,mt,et,Xe,Mn)}}class iBe{constructor(g,x,W){this.shouldComputeCharChanges=W.shouldComputeCharChanges,this.shouldPostProcessCharChanges=W.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=W.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=W.shouldMakePrettyDiff,this.originalLines=g,this.modifiedLines=x,this.original=new e0e(g),this.modified=new e0e(x),this.continueLineDiff=t0e(W.maxComputationTime),this.continueCharDiff=t0e(W.maxComputationTime===0?0:Math.min(W.maxComputationTime,5e3))}computeDiff(){if(this.original.lines.length===1&&this.original.lines[0].length===0)return this.modified.lines.length===1&&this.modified.lines[0].length===0?{quitEarly:!1,changes:[]}:{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:void 0}]};if(this.modified.lines.length===1&&this.modified.lines[0].length===0)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:void 0}]};const g=Zbe(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),x=g.changes,W=g.quitEarly;if(this.shouldIgnoreTrimWhitespace){const qe=[];for(let se=0,mt=x.length;se<mt;se++)qe.push(wW.createFromDiffResult(this.shouldIgnoreTrimWhitespace,x[se],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:W,changes:qe}}const X=[];let fe=0,Me=0;for(let qe=-1,se=x.length;qe<se;qe++){const mt=qe+1<se?x[qe+1]:null,et=mt?mt.originalStart:this.originalLines.length,Xe=mt?mt.modifiedStart:this.modifiedLines.length;for(;fe<et&&Me<Xe;){const Mn=this.originalLines[fe],Wn=this.modifiedLines[Me];if(Mn!==Wn){{let qn=UQ(Mn,1),Ln=UQ(Wn,1);for(;qn>1&&Ln>1;){const Ji=Mn.charCodeAt(qn-2),ho=Wn.charCodeAt(Ln-2);if(Ji!==ho)break;qn--,Ln--}(qn>1||Ln>1)&&this._pushTrimWhitespaceCharChange(X,fe+1,1,qn,Me+1,1,Ln)}{let qn=HQ(Mn,1),Ln=HQ(Wn,1);const Ji=Mn.length+1,ho=Wn.length+1;for(;qn<Ji&&Ln<ho;){const Gn=Mn.charCodeAt(qn-1),_n=Mn.charCodeAt(Ln-1);if(Gn!==_n)break;qn++,Ln++}(qn<Ji||Ln<ho)&&this._pushTrimWhitespaceCharChange(X,fe+1,qn,Ji,Me+1,Ln,ho)}}fe++,Me++}mt&&(X.push(wW.createFromDiffResult(this.shouldIgnoreTrimWhitespace,mt,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),fe+=mt.originalLength,Me+=mt.modifiedLength)}return{quitEarly:W,changes:X}}_pushTrimWhitespaceCharChange(g,x,W,X,fe,Me,qe){if(this._mergeTrimWhitespaceCharChange(g,x,W,X,fe,Me,qe))return;let se;this.shouldComputeCharChanges&&(se=[new i2(x,W,x,X,fe,Me,fe,qe)]),g.push(new wW(x,x,fe,fe,se))}_mergeTrimWhitespaceCharChange(g,x,W,X,fe,Me,qe){const se=g.length;if(se===0)return!1;const mt=g[se-1];return mt.originalEndLineNumber===0||mt.modifiedEndLineNumber===0?!1:mt.originalEndLineNumber===x&&mt.modifiedEndLineNumber===fe?(this.shouldComputeCharChanges&&mt.charChanges&&mt.charChanges.push(new i2(x,W,x,X,fe,Me,fe,qe)),!0):mt.originalEndLineNumber+1===x&&mt.modifiedEndLineNumber+1===fe?(mt.originalEndLineNumber=x,mt.modifiedEndLineNumber=fe,this.shouldComputeCharChanges&&mt.charChanges&&mt.charChanges.push(new i2(x,W,x,X,fe,Me,fe,qe)),!0):!1}}function UQ(b,g){const x=Cze(b);return x===-1?g:x+1}function HQ(b,g){const x=Nze(b);return x===-1?g:x+2}function t0e(b){if(b===0)return()=>!0;const g=Date.now();return()=>Date.now()-g<b}class JA{static trivial(g,x){return new JA([new lf(ic.ofLength(g.length),ic.ofLength(x.length))],!1)}static trivialTimedOut(g,x){return new JA([new lf(ic.ofLength(g.length),ic.ofLength(x.length))],!0)}constructor(g,x){this.diffs=g,this.hitTimeout=x}}class lf{static invert(g,x){const W=[];return U5e(g,(X,fe)=>{W.push(lf.fromOffsetPairs(X?X.getEndExclusives():KA.zero,fe?fe.getStarts():new KA(x,(X?X.seq2Range.endExclusive-X.seq1Range.endExclusive:0)+x)))}),W}static fromOffsetPairs(g,x){return new lf(new ic(g.offset1,x.offset1),new ic(g.offset2,x.offset2))}static assertSorted(g){let x;for(const W of g){if(x&&!(x.seq1Range.endExclusive<=W.seq1Range.start&&x.seq2Range.endExclusive<=W.seq2Range.start))throw new N_("Sequence diffs must be sorted");x=W}}constructor(g,x){this.seq1Range=g,this.seq2Range=x}swap(){return new lf(this.seq2Range,this.seq1Range)}toString(){return"".concat(this.seq1Range," <-> ").concat(this.seq2Range)}join(g){return new lf(this.seq1Range.join(g.seq1Range),this.seq2Range.join(g.seq2Range))}delta(g){return g===0?this:new lf(this.seq1Range.delta(g),this.seq2Range.delta(g))}deltaStart(g){return g===0?this:new lf(this.seq1Range.deltaStart(g),this.seq2Range.deltaStart(g))}deltaEnd(g){return g===0?this:new lf(this.seq1Range.deltaEnd(g),this.seq2Range.deltaEnd(g))}intersect(g){const x=this.seq1Range.intersect(g.seq1Range),W=this.seq2Range.intersect(g.seq2Range);if(!(!x||!W))return new lf(x,W)}getStarts(){return new KA(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new KA(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}const pN=class pN{constructor(g,x){this.offset1=g,this.offset2=x}toString(){return"".concat(this.offset1," <-> ").concat(this.offset2)}delta(g){return g===0?this:new pN(this.offset1+g,this.offset2+g)}equals(g){return this.offset1===g.offset1&&this.offset2===g.offset2}};pN.zero=new pN(0,0),pN.max=new pN(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER);let KA=pN;const VB=class VB{isValid(){return!0}};VB.instance=new VB;let OW=VB;class oBe{constructor(g){if(this.timeout=g,this.startTime=Date.now(),this.valid=!0,g<=0)throw new N_("timeout must be positive")}isValid(){return!(Date.now()-this.startTime<this.timeout)&&this.valid&&(this.valid=!1),this.valid}}class qQ{constructor(g,x){this.width=g,this.height=x,this.array=[],this.array=new Array(g*x)}get(g,x){return this.array[g+x*this.width]}set(g,x,W){this.array[g+x*this.width]=W}}function JQ(b){return b===32||b===9}const zW=class zW{static getKey(g){let x=this.chrKeys.get(g);return x===void 0&&(x=this.chrKeys.size,this.chrKeys.set(g,x)),x}constructor(g,x,W){this.range=g,this.lines=x,this.source=W,this.histogram=[];let X=0;for(let fe=g.startLineNumber-1;fe<g.endLineNumberExclusive-1;fe++){const Me=x[fe];for(let se=0;se<Me.length;se++){X++;const mt=Me[se],et=zW.getKey(mt);this.histogram[et]=(this.histogram[et]||0)+1}X++;const qe=zW.getKey("\n");this.histogram[qe]=(this.histogram[qe]||0)+1}this.totalCount=X}computeSimilarity(g){var X,fe;let x=0;const W=Math.max(this.histogram.length,g.histogram.length);for(let Me=0;Me<W;Me++)x+=Math.abs(((X=this.histogram[Me])!=null?X:0)-((fe=g.histogram[Me])!=null?fe:0));return 1-x/(this.totalCount+g.totalCount)}};zW.chrKeys=new Map;let wB=zW;class aBe{compute(g,x,W=OW.instance,X){if(g.length===0||x.length===0)return JA.trivial(g,x);const fe=new qQ(g.length,x.length),Me=new qQ(g.length,x.length),qe=new qQ(g.length,x.length);for(let qn=0;qn<g.length;qn++)for(let Ln=0;Ln<x.length;Ln++){if(!W.isValid())return JA.trivialTimedOut(g,x);const Ji=qn===0?0:fe.get(qn-1,Ln),ho=Ln===0?0:fe.get(qn,Ln-1);let Gn;g.getElement(qn)===x.getElement(Ln)?(qn===0||Ln===0?Gn=0:Gn=fe.get(qn-1,Ln-1),qn>0&&Ln>0&&Me.get(qn-1,Ln-1)===3&&(Gn+=qe.get(qn-1,Ln-1)),Gn+=X?X(qn,Ln):1):Gn=-1;const _n=Math.max(Ji,ho,Gn);if(_n===Gn){const pa=qn>0&&Ln>0?qe.get(qn-1,Ln-1):0;qe.set(qn,Ln,pa+1),Me.set(qn,Ln,3)}else _n===Ji?(qe.set(qn,Ln,0),Me.set(qn,Ln,1)):_n===ho&&(qe.set(qn,Ln,0),Me.set(qn,Ln,2));fe.set(qn,Ln,_n)}const se=[];let mt=g.length,et=x.length;function Xe(qn,Ln){(qn+1!==mt||Ln+1!==et)&&se.push(new lf(new ic(qn+1,mt),new ic(Ln+1,et))),mt=qn,et=Ln}let Mn=g.length-1,Wn=x.length-1;for(;Mn>=0&&Wn>=0;)Me.get(Mn,Wn)===3?(Xe(Mn,Wn),Mn--,Wn--):Me.get(Mn,Wn)===1?Mn--:Wn--;return Xe(-1,-1),se.reverse(),new JA(se,!1)}}class n0e{compute(g,x,W=OW.instance){if(g.length===0||x.length===0)return JA.trivial(g,x);const X=g,fe=x;function Me(Ln,Ji){for(;Ln<X.length&&Ji<fe.length&&X.getElement(Ln)===fe.getElement(Ji);)Ln++,Ji++;return Ln}let qe=0;const se=new sBe;se.set(0,Me(0,0));const mt=new lBe;mt.set(0,se.get(0)===0?null:new r0e(null,0,0,se.get(0)));let et=0;e:for(;;){if(qe++,!W.isValid())return JA.trivialTimedOut(X,fe);const Ln=-Math.min(qe,fe.length+qe%2),Ji=Math.min(qe,X.length+qe%2);for(et=Ln;et<=Ji;et+=2){const ho=et===Ji?-1:se.get(et+1),Gn=et===Ln?-1:se.get(et-1)+1,_n=Math.min(Math.max(ho,Gn),X.length),pa=_n-et;if(_n>X.length||pa>fe.length)continue;const lo=Me(_n,pa);se.set(et,lo);const Ys=_n===ho?mt.get(et+1):mt.get(et-1);if(mt.set(et,lo!==_n?new r0e(Ys,_n,pa,lo-_n):Ys),se.get(et)===X.length&&se.get(et)-et===fe.length)break e}}let Xe=mt.get(et);const Mn=[];let Wn=X.length,qn=fe.length;for(;;){const Ln=Xe?Xe.x+Xe.length:0,Ji=Xe?Xe.y+Xe.length:0;if((Ln!==Wn||Ji!==qn)&&Mn.push(new lf(new ic(Ln,Wn),new ic(Ji,qn))),!Xe)break;Wn=Xe.x,qn=Xe.y,Xe=Xe.prev}return Mn.reverse(),new JA(Mn,!1)}}class r0e{constructor(g,x,W,X){this.prev=g,this.x=x,this.y=W,this.length=X}}class sBe{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(g){return g<0?(g=-g-1,this.negativeArr[g]):this.positiveArr[g]}set(g,x){if(g<0){if(g=-g-1,g>=this.negativeArr.length){const W=this.negativeArr;this.negativeArr=new Int32Array(W.length*2),this.negativeArr.set(W)}this.negativeArr[g]=x}else{if(g>=this.positiveArr.length){const W=this.positiveArr;this.positiveArr=new Int32Array(W.length*2),this.positiveArr.set(W)}this.positiveArr[g]=x}}}class lBe{constructor(){this.positiveArr=[],this.negativeArr=[]}get(g){return g<0?(g=-g-1,this.negativeArr[g]):this.positiveArr[g]}set(g,x){g<0?(g=-g-1,this.negativeArr[g]=x):this.positiveArr[g]=x}}class OB{constructor(g,x,W){this.lines=g,this.range=x,this.considerWhitespaceChanges=W,this.elements=[],this.firstElementOffsetByLineIdx=[],this.lineStartOffsets=[],this.trimmedWsLengthsByLineIdx=[],this.firstElementOffsetByLineIdx.push(0);for(let X=this.range.startLineNumber;X<=this.range.endLineNumber;X++){let fe=g[X-1],Me=0;X===this.range.startLineNumber&&this.range.startColumn>1&&(Me=this.range.startColumn-1,fe=fe.substring(Me)),this.lineStartOffsets.push(Me);let qe=0;if(!W){const mt=fe.trimStart();qe=fe.length-mt.length,fe=mt.trimEnd()}this.trimmedWsLengthsByLineIdx.push(qe);const se=X===this.range.endLineNumber?Math.min(this.range.endColumn-1-Me-qe,fe.length):fe.length;for(let mt=0;mt<se;mt++)this.elements.push(fe.charCodeAt(mt));X<this.range.endLineNumber&&(this.elements.push(10),this.firstElementOffsetByLineIdx.push(this.elements.length))}}toString(){return'Slice: "'.concat(this.text,'"')}get text(){return this.getText(new ic(0,this.length))}getText(g){return this.elements.slice(g.start,g.endExclusive).map(x=>String.fromCharCode(x)).join("")}getElement(g){return this.elements[g]}get length(){return this.elements.length}getBoundaryScore(g){const x=a0e(g>0?this.elements[g-1]:-1),W=a0e(g<this.elements.length?this.elements[g]:-1);if(x===7&&W===8)return 0;if(x===8)return 150;let X=0;return x!==W&&(X+=10,x===0&&W===1&&(X+=1)),X+=o0e(x),X+=o0e(W),X}translateOffset(g,x="right"){const W=t2(this.firstElementOffsetByLineIdx,fe=>fe<=g),X=g-this.firstElementOffsetByLineIdx[W];return new Zc(this.range.startLineNumber+W,1+this.lineStartOffsets[W]+X+(X===0&&x==="left"?0:this.trimmedWsLengthsByLineIdx[W]))}translateRange(g){const x=this.translateOffset(g.start,"right"),W=this.translateOffset(g.endExclusive,"left");return W.isBefore(x)?ss.fromPositions(W,W):ss.fromPositions(x,W)}findWordContaining(g){if(g<0||g>=this.elements.length||!o2(this.elements[g]))return;let x=g;for(;x>0&&o2(this.elements[x-1]);)x--;let W=g;for(;W<this.elements.length&&o2(this.elements[W]);)W++;return new ic(x,W)}findSubWordContaining(g){if(g<0||g>=this.elements.length||!o2(this.elements[g]))return;let x=g;for(;x>0&&o2(this.elements[x-1])&&!i0e(this.elements[x]);)x--;let W=g;for(;W<this.elements.length&&o2(this.elements[W])&&!i0e(this.elements[W]);)W++;return new ic(x,W)}countLinesIn(g){return this.translateOffset(g.endExclusive).lineNumber-this.translateOffset(g.start).lineNumber}isStronglyEqual(g,x){return this.elements[g]===this.elements[x]}extendToFullLines(g){var X,fe;const x=(X=e2(this.firstElementOffsetByLineIdx,Me=>Me<=g.start))!=null?X:0,W=(fe=K5e(this.firstElementOffsetByLineIdx,Me=>g.endExclusive<=Me))!=null?fe:this.elements.length;return new ic(x,W)}}function o2(b){return b>=97&&b<=122||b>=65&&b<=90||b>=48&&b<=57}function i0e(b){return b>=65&&b<=90}const cBe={0:0,1:0,2:0,3:10,4:2,5:30,6:3,7:10,8:10};function o0e(b){return cBe[b]}function a0e(b){return b===10?8:b===13?7:JQ(b)?6:b>=97&&b<=122?0:b>=65&&b<=90?1:b>=48&&b<=57?2:b===-1?3:b===44||b===59?5:4}function dBe(b,g,x,W,X,fe){let{moves:Me,excludedChanges:qe}=pBe(b,g,x,fe);if(!fe.isValid())return[];const se=b.filter(et=>!qe.has(et)),mt=fBe(se,W,X,g,x,fe);return q5e(Me,mt),Me=mBe(Me),Me=Me.filter(et=>{const Xe=et.original.toOffsetRange().slice(g).map(Wn=>Wn.trim());return Xe.join("\n").length>=15&&uBe(Xe,Wn=>Wn.length>=2)>=2}),Me=hBe(b,Me),Me}function uBe(b,g){let x=0;for(const W of b)g(W)&&x++;return x}function pBe(b,g,x,W){const X=[],fe=b.filter(se=>se.modified.isEmpty&&se.original.length>=3).map(se=>new wB(se.original,g,se)),Me=new Set(b.filter(se=>se.original.isEmpty&&se.modified.length>=3).map(se=>new wB(se.modified,x,se))),qe=new Set;for(const se of fe){let mt=-1,et;for(const Xe of Me){const Mn=se.computeSimilarity(Xe);Mn>mt&&(mt=Mn,et=Xe)}if(mt>.9&&et&&(Me.delete(et),X.push(new A0(se.range,et.range)),qe.add(se.source),qe.add(et.source)),!W.isValid())return{moves:X,excludedChanges:qe}}return{moves:X,excludedChanges:qe}}function fBe(b,g,x,W,X,fe){const Me=[],qe=new N5e;for(const Mn of b)for(let Wn=Mn.original.startLineNumber;Wn<Mn.original.endLineNumberExclusive-2;Wn++){const qn="".concat(g[Wn-1],":").concat(g[Wn+1-1],":").concat(g[Wn+2-1]);qe.add(qn,{range:new Gc(Wn,Wn+3)})}const se=[];b.sort(PW(Mn=>Mn.modified.startLineNumber,LW));for(const Mn of b){let Wn=[];for(let qn=Mn.modified.startLineNumber;qn<Mn.modified.endLineNumberExclusive-2;qn++){const Ln="".concat(x[qn-1],":").concat(x[qn+1-1],":").concat(x[qn+2-1]),Ji=new Gc(qn,qn+3),ho=[];qe.forEach(Ln,({range:Gn})=>{for(const pa of Wn)if(pa.originalLineRange.endLineNumberExclusive+1===Gn.endLineNumberExclusive&&pa.modifiedLineRange.endLineNumberExclusive+1===Ji.endLineNumberExclusive){pa.originalLineRange=new Gc(pa.originalLineRange.startLineNumber,Gn.endLineNumberExclusive),pa.modifiedLineRange=new Gc(pa.modifiedLineRange.startLineNumber,Ji.endLineNumberExclusive),ho.push(pa);return}const _n={modifiedLineRange:Ji,originalLineRange:Gn};se.push(_n),ho.push(_n)}),Wn=ho}if(!fe.isValid())return[]}se.sort(J5e(PW(Mn=>Mn.modifiedLineRange.length,LW)));const mt=new BE,et=new BE;for(const Mn of se){const Wn=Mn.modifiedLineRange.startLineNumber-Mn.originalLineRange.startLineNumber,qn=mt.subtractFrom(Mn.modifiedLineRange),Ln=et.subtractFrom(Mn.originalLineRange).getWithDelta(Wn),Ji=qn.getIntersection(Ln);for(const ho of Ji.ranges){if(ho.length<3)continue;const Gn=ho,_n=ho.delta(-Wn);Me.push(new A0(_n,Gn)),mt.addRange(Gn),et.addRange(_n)}}Me.sort(PW(Mn=>Mn.original.startLineNumber,LW));const Xe=new LB(b);for(let Mn=0;Mn<Me.length;Mn++){const Wn=Me[Mn],qn=Xe.findLastMonotonous(Ys=>Ys.original.startLineNumber<=Wn.original.startLineNumber),Ln=e2(b,Ys=>Ys.modified.startLineNumber<=Wn.modified.startLineNumber),Ji=Math.max(Wn.original.startLineNumber-qn.original.startLineNumber,Wn.modified.startLineNumber-Ln.modified.startLineNumber),ho=Xe.findLastMonotonous(Ys=>Ys.original.startLineNumber<Wn.original.endLineNumberExclusive),Gn=e2(b,Ys=>Ys.modified.startLineNumber<Wn.modified.endLineNumberExclusive),_n=Math.max(ho.original.endLineNumberExclusive-Wn.original.endLineNumberExclusive,Gn.modified.endLineNumberExclusive-Wn.modified.endLineNumberExclusive);let pa;for(pa=0;pa<Ji;pa++){const Ys=Wn.original.startLineNumber-pa-1,Vn=Wn.modified.startLineNumber-pa-1;if(Ys>W.length||Vn>X.length||mt.contains(Vn)||et.contains(Ys)||!s0e(W[Ys-1],X[Vn-1],fe))break}pa>0&&(et.addRange(new Gc(Wn.original.startLineNumber-pa,Wn.original.startLineNumber)),mt.addRange(new Gc(Wn.modified.startLineNumber-pa,Wn.modified.startLineNumber)));let lo;for(lo=0;lo<_n;lo++){const Ys=Wn.original.endLineNumberExclusive+lo,Vn=Wn.modified.endLineNumberExclusive+lo;if(Ys>W.length||Vn>X.length||mt.contains(Vn)||et.contains(Ys)||!s0e(W[Ys-1],X[Vn-1],fe))break}lo>0&&(et.addRange(new Gc(Wn.original.endLineNumberExclusive,Wn.original.endLineNumberExclusive+lo)),mt.addRange(new Gc(Wn.modified.endLineNumberExclusive,Wn.modified.endLineNumberExclusive+lo))),(pa>0||lo>0)&&(Me[Mn]=new A0(new Gc(Wn.original.startLineNumber-pa,Wn.original.endLineNumberExclusive+lo),new Gc(Wn.modified.startLineNumber-pa,Wn.modified.endLineNumberExclusive+lo)))}return Me}function s0e(b,g,x){if(b.trim()===g.trim())return!0;if(b.length>300&&g.length>300)return!1;const X=new n0e().compute(new OB([b],new ss(1,1,1,b.length),!1),new OB([g],new ss(1,1,1,g.length),!1),x);let fe=0;const Me=lf.invert(X.diffs,b.length);for(const et of Me)et.seq1Range.forEach(Xe=>{JQ(b.charCodeAt(Xe))||fe++});function qe(et){let Xe=0;for(let Mn=0;Mn<b.length;Mn++)JQ(et.charCodeAt(Mn))||Xe++;return Xe}const se=qe(b.length>g.length?b:g);return fe/se>.6&&se>10}function mBe(b){if(b.length===0)return b;b.sort(PW(x=>x.original.startLineNumber,LW));const g=[b[0]];for(let x=1;x<b.length;x++){const W=g[g.length-1],X=b[x],fe=X.original.startLineNumber-W.original.endLineNumberExclusive,Me=X.modified.startLineNumber-W.modified.endLineNumberExclusive;if(fe>=0&&Me>=0&&fe+Me<=2){g[g.length-1]=W.join(X);continue}g.push(X)}return g}function hBe(b,g){const x=new LB(b);return g=g.filter(W=>{const X=x.findLastMonotonous(qe=>qe.original.startLineNumber<W.original.endLineNumberExclusive)||new A0(new Gc(1,1),new Gc(1,1)),fe=e2(b,qe=>qe.modified.startLineNumber<W.modified.endLineNumberExclusive);return X!==fe}),g}function l0e(b,g,x){let W=x;return W=c0e(b,g,W),W=c0e(b,g,W),W=_Be(b,g,W),W}function c0e(b,g,x){if(x.length===0)return x;const W=[];W.push(x[0]);for(let fe=1;fe<x.length;fe++){const Me=W[W.length-1];let qe=x[fe];if(qe.seq1Range.isEmpty||qe.seq2Range.isEmpty){const se=qe.seq1Range.start-Me.seq1Range.endExclusive;let mt;for(mt=1;mt<=se&&!(b.getElement(qe.seq1Range.start-mt)!==b.getElement(qe.seq1Range.endExclusive-mt)||g.getElement(qe.seq2Range.start-mt)!==g.getElement(qe.seq2Range.endExclusive-mt));mt++);if(mt--,mt===se){W[W.length-1]=new lf(new ic(Me.seq1Range.start,qe.seq1Range.endExclusive-se),new ic(Me.seq2Range.start,qe.seq2Range.endExclusive-se));continue}qe=qe.delta(-mt)}W.push(qe)}const X=[];for(let fe=0;fe<W.length-1;fe++){const Me=W[fe+1];let qe=W[fe];if(qe.seq1Range.isEmpty||qe.seq2Range.isEmpty){const se=Me.seq1Range.start-qe.seq1Range.endExclusive;let mt;for(mt=0;mt<se&&!(!b.isStronglyEqual(qe.seq1Range.start+mt,qe.seq1Range.endExclusive+mt)||!g.isStronglyEqual(qe.seq2Range.start+mt,qe.seq2Range.endExclusive+mt));mt++);if(mt===se){W[fe+1]=new lf(new ic(qe.seq1Range.start+se,Me.seq1Range.endExclusive),new ic(qe.seq2Range.start+se,Me.seq2Range.endExclusive));continue}mt>0&&(qe=qe.delta(mt))}X.push(qe)}return W.length>0&&X.push(W[W.length-1]),X}function _Be(b,g,x){if(!b.getBoundaryScore||!g.getBoundaryScore)return x;for(let W=0;W<x.length;W++){const X=W>0?x[W-1]:void 0,fe=x[W],Me=W+1<x.length?x[W+1]:void 0,qe=new ic(X?X.seq1Range.endExclusive+1:0,Me?Me.seq1Range.start-1:b.length),se=new ic(X?X.seq2Range.endExclusive+1:0,Me?Me.seq2Range.start-1:g.length);fe.seq1Range.isEmpty?x[W]=d0e(fe,b,g,qe,se):fe.seq2Range.isEmpty&&(x[W]=d0e(fe.swap(),g,b,se,qe).swap())}return x}function d0e(b,g,x,W,X){let Me=1;for(;b.seq1Range.start-Me>=W.start&&b.seq2Range.start-Me>=X.start&&x.isStronglyEqual(b.seq2Range.start-Me,b.seq2Range.endExclusive-Me)&&Me<100;)Me++;Me--;let qe=0;for(;b.seq1Range.start+qe<W.endExclusive&&b.seq2Range.endExclusive+qe<X.endExclusive&&x.isStronglyEqual(b.seq2Range.start+qe,b.seq2Range.endExclusive+qe)&&qe<100;)qe++;if(Me===0&&qe===0)return b;let se=0,mt=-1;for(let et=-Me;et<=qe;et++){const Xe=b.seq2Range.start+et,Mn=b.seq2Range.endExclusive+et,Wn=b.seq1Range.start+et,qn=g.getBoundaryScore(Wn)+x.getBoundaryScore(Xe)+x.getBoundaryScore(Mn);qn>mt&&(mt=qn,se=et)}return b.delta(se)}function gBe(b,g,x){const W=[];for(const X of x){const fe=W[W.length-1];if(!fe){W.push(X);continue}X.seq1Range.start-fe.seq1Range.endExclusive<=2||X.seq2Range.start-fe.seq2Range.endExclusive<=2?W[W.length-1]=new lf(fe.seq1Range.join(X.seq1Range),fe.seq2Range.join(X.seq2Range)):W.push(X)}return W}function u0e(b,g,x,W,X=!1){const fe=lf.invert(x,b.length),Me=[];let qe=new KA(0,0);function se(et,Xe){if(et.offset1<qe.offset1||et.offset2<qe.offset2)return;const Mn=W(b,et.offset1),Wn=W(g,et.offset2);if(!Mn||!Wn)return;let qn=new lf(Mn,Wn);const Ln=qn.intersect(Xe);let Ji=Ln.seq1Range.length,ho=Ln.seq2Range.length;for(;fe.length>0;){const Gn=fe[0];if(!(Gn.seq1Range.intersects(qn.seq1Range)||Gn.seq2Range.intersects(qn.seq2Range)))break;const pa=W(b,Gn.seq1Range.start),lo=W(g,Gn.seq2Range.start),Ys=new lf(pa,lo),Vn=Ys.intersect(Gn);if(Ji+=Vn.seq1Range.length,ho+=Vn.seq2Range.length,qn=qn.join(Ys),qn.seq1Range.endExclusive>=Gn.seq1Range.endExclusive)fe.shift();else break}(X&&Ji+ho<qn.seq1Range.length+qn.seq2Range.length||Ji+ho<(qn.seq1Range.length+qn.seq2Range.length)*2/3)&&Me.push(qn),qe=qn.getEndExclusives()}for(;fe.length>0;){const et=fe.shift();et.seq1Range.isEmpty||(se(et.getStarts(),et),se(et.getEndExclusives().delta(-1),et))}return yBe(x,Me)}function yBe(b,g){const x=[];for(;b.length>0||g.length>0;){const W=b[0],X=g[0];let fe;W&&(!X||W.seq1Range.start<X.seq1Range.start)?fe=b.shift():fe=g.shift(),x.length>0&&x[x.length-1].seq1Range.endExclusive>=fe.seq1Range.start?x[x.length-1]=x[x.length-1].join(fe):x.push(fe)}return x}function vBe(b,g,x){let W=x;if(W.length===0)return W;let X=0,fe;do{fe=!1;const Me=[W[0]];for(let qe=1;qe<W.length;qe++){let et=function(Mn,Wn){const qn=new ic(mt.seq1Range.endExclusive,se.seq1Range.start);return b.getText(qn).replace(/\s/g,"").length<=4&&(Mn.seq1Range.length+Mn.seq2Range.length>5||Wn.seq1Range.length+Wn.seq2Range.length>5)};const se=W[qe],mt=Me[Me.length-1];et(mt,se)?(fe=!0,Me[Me.length-1]=Me[Me.length-1].join(se)):Me.push(se)}W=Me}while(X++<10&&fe);return W}function bBe(b,g,x){let W=x;if(W.length===0)return W;let X=0,fe;do{fe=!1;const qe=[W[0]];for(let se=1;se<W.length;se++){let Xe=function(Wn,qn){const Ln=new ic(et.seq1Range.endExclusive,mt.seq1Range.start);if(b.countLinesIn(Ln)>5||Ln.length>500)return!1;const ho=b.getText(Ln).trim();if(ho.length>20||ho.split(/\r\n|\r|\n/).length>1)return!1;const Gn=b.countLinesIn(Wn.seq1Range),_n=Wn.seq1Range.length,pa=g.countLinesIn(Wn.seq2Range),lo=Wn.seq2Range.length,Ys=b.countLinesIn(qn.seq1Range),Vn=qn.seq1Range.length,zi=g.countLinesIn(qn.seq2Range),po=qn.seq2Range.length,Fn=130;function ws(ai){return Math.min(ai,Fn)}return Math.pow(Math.pow(ws(Gn*40+_n),1.5)+Math.pow(ws(pa*40+lo),1.5),1.5)+Math.pow(Math.pow(ws(Ys*40+Vn),1.5)+Math.pow(ws(zi*40+po),1.5),1.5)>(Fn**1.5)**1.5*1.3};const mt=W[se],et=qe[qe.length-1];Xe(et,mt)?(fe=!0,qe[qe.length-1]=qe[qe.length-1].join(mt)):qe.push(mt)}W=qe}while(X++<10&&fe);const Me=[];return H5e(W,(qe,se,mt)=>{let et=se;function Xe(ho){return ho.length>0&&ho.trim().length<=3&&se.seq1Range.length+se.seq2Range.length>100}const Mn=b.extendToFullLines(se.seq1Range),Wn=b.getText(new ic(Mn.start,se.seq1Range.start));Xe(Wn)&&(et=et.deltaStart(-Wn.length));const qn=b.getText(new ic(se.seq1Range.endExclusive,Mn.endExclusive));Xe(qn)&&(et=et.deltaEnd(qn.length));const Ln=lf.fromOffsetPairs(qe?qe.getEndExclusives():KA.zero,mt?mt.getStarts():KA.max),Ji=et.intersect(Ln);Me.length>0&&Ji.getStarts().equals(Me[Me.length-1].getEndExclusives())?Me[Me.length-1]=Me[Me.length-1].join(Ji):Me.push(Ji)}),Me}class p0e{constructor(g,x){this.trimmedHash=g,this.lines=x}getElement(g){return this.trimmedHash[g]}get length(){return this.trimmedHash.length}getBoundaryScore(g){const x=g===0?0:f0e(this.lines[g-1]),W=g===this.lines.length?0:f0e(this.lines[g]);return 1e3-(x+W)}getText(g){return this.lines.slice(g.start,g.endExclusive).join("\n")}isStronglyEqual(g,x){return this.lines[g]===this.lines[x]}}function f0e(b){let g=0;for(;g<b.length&&(b.charCodeAt(g)===32||b.charCodeAt(g)===9);)g++;return g}class TBe{constructor(){this.dynamicProgrammingDiffing=new aBe,this.myersDiffingAlgorithm=new n0e}computeDiff(g,x,W){if(g.length<=1&&V5e(g,x,(Vn,zi)=>Vn===zi))return new PB([],[],!1);if(g.length===1&&g[0].length===0||x.length===1&&x[0].length===0)return new PB([new qA(new Gc(1,g.length+1),new Gc(1,x.length+1),[new I0(new ss(1,1,g.length,g[g.length-1].length+1),new ss(1,1,x.length,x[x.length-1].length+1))])],[],!1);const X=W.maxComputationTimeMs===0?OW.instance:new oBe(W.maxComputationTimeMs),fe=!W.ignoreTrimWhitespace,Me=new Map;function qe(Vn){let zi=Me.get(Vn);return zi===void 0&&(zi=Me.size,Me.set(Vn,zi)),zi}const se=g.map(Vn=>qe(Vn.trim())),mt=x.map(Vn=>qe(Vn.trim())),et=new p0e(se,g),Xe=new p0e(mt,x),Mn=et.length+Xe.length<1700?this.dynamicProgrammingDiffing.compute(et,Xe,X,(Vn,zi)=>g[Vn]===x[zi]?x[zi].length===0?.1:1+Math.log(1+x[zi].length):.99):this.myersDiffingAlgorithm.compute(et,Xe,X);let Wn=Mn.diffs,qn=Mn.hitTimeout;Wn=l0e(et,Xe,Wn),Wn=vBe(et,Xe,Wn);const Ln=[],Ji=Vn=>{if(fe)for(let zi=0;zi<Vn;zi++){const po=ho+zi,Fn=Gn+zi;if(g[po]!==x[Fn]){const ws=this.refineDiff(g,x,new lf(new ic(po,po+1),new ic(Fn,Fn+1)),X,fe,W);for(const ai of ws.mappings)Ln.push(ai);ws.hitTimeout&&(qn=!0)}}};let ho=0,Gn=0;for(const Vn of Wn){vB(()=>Vn.seq1Range.start-ho===Vn.seq2Range.start-Gn);const zi=Vn.seq1Range.start-ho;Ji(zi),ho=Vn.seq1Range.endExclusive,Gn=Vn.seq2Range.endExclusive;const po=this.refineDiff(g,x,Vn,X,fe,W);po.hitTimeout&&(qn=!0);for(const Fn of po.mappings)Ln.push(Fn)}Ji(g.length-ho);const _n=new kB(g),pa=new kB(x),lo=Qbe(Ln,_n,pa);let Ys=[];return W.computeMoves&&(Ys=this.computeMoves(lo,g,x,se,mt,X,fe,W)),vB(()=>{function Vn(po,Fn){if(po.lineNumber<1||po.lineNumber>Fn.length)return!1;const ws=Fn[po.lineNumber-1];return!(po.column<1||po.column>ws.length+1)}function zi(po,Fn){return!(po.startLineNumber<1||po.startLineNumber>Fn.length+1||po.endLineNumberExclusive<1||po.endLineNumberExclusive>Fn.length+1)}for(const po of lo){if(!po.innerChanges)return!1;for(const Fn of po.innerChanges)if(!(Vn(Fn.modifiedRange.getStartPosition(),x)&&Vn(Fn.modifiedRange.getEndPosition(),x)&&Vn(Fn.originalRange.getStartPosition(),g)&&Vn(Fn.originalRange.getEndPosition(),g)))return!1;if(!zi(po.modified,x)||!zi(po.original,g))return!1}return!0}),new PB(lo,Ys,qn)}computeMoves(g,x,W,X,fe,Me,qe,se){return dBe(g,x,W,X,fe,Me).map(Xe=>{const Mn=this.refineDiff(x,W,new lf(Xe.original.toOffsetRange(),Xe.modified.toOffsetRange()),Me,qe,se),Wn=Qbe(Mn.mappings,new kB(x),new kB(W),!0);return new G5e(Xe,Wn)})}refineDiff(g,x,W,X,fe,Me){const se=SBe(W).toRangeMapping2(g,x),mt=new OB(g,se.originalRange,fe),et=new OB(x,se.modifiedRange,fe),Xe=mt.length+et.length<500?this.dynamicProgrammingDiffing.compute(mt,et,X):this.myersDiffingAlgorithm.compute(mt,et,X);let Mn=Xe.diffs;return Mn=l0e(mt,et,Mn),Mn=u0e(mt,et,Mn,(qn,Ln)=>qn.findWordContaining(Ln)),Me.extendToSubwords&&(Mn=u0e(mt,et,Mn,(qn,Ln)=>qn.findSubWordContaining(Ln),!0)),Mn=gBe(mt,et,Mn),Mn=bBe(mt,et,Mn),{mappings:Mn.map(qn=>new I0(mt.translateRange(qn.seq1Range),et.translateRange(qn.seq2Range))),hitTimeout:Xe.hitTimeout}}}function SBe(b){return new A0(new Gc(b.seq1Range.start+1,b.seq1Range.endExclusive+1),new Gc(b.seq2Range.start+1,b.seq2Range.endExclusive+1))}const m0e={getLegacy:()=>new tBe,getDefault:()=>new TBe};function AR(b,g){const x=Math.pow(10,g);return Math.round(b*x)/x}class Tr{constructor(g,x,W,X=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math.max(0,g))|0,this.g=Math.min(255,Math.max(0,x))|0,this.b=Math.min(255,Math.max(0,W))|0,this.a=AR(Math.max(Math.min(1,X),0),3)}static equals(g,x){return g.r===x.r&&g.g===x.g&&g.b===x.b&&g.a===x.a}}class x0{constructor(g,x,W,X){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,g),0)|0,this.s=AR(Math.max(Math.min(1,x),0),3),this.l=AR(Math.max(Math.min(1,W),0),3),this.a=AR(Math.max(Math.min(1,X),0),3)}static equals(g,x){return g.h===x.h&&g.s===x.s&&g.l===x.l&&g.a===x.a}static fromRGBA(g){const x=g.r/255,W=g.g/255,X=g.b/255,fe=g.a,Me=Math.max(x,W,X),qe=Math.min(x,W,X);let se=0,mt=0;const et=(qe+Me)/2,Xe=Me-qe;if(Xe>0){switch(mt=Math.min(et<=.5?Xe/(2*et):Xe/(2-2*et),1),Me){case x:se=(W-X)/Xe+(W<X?6:0);break;case W:se=(X-x)/Xe+2;break;case X:se=(x-W)/Xe+4;break}se*=60,se=Math.round(se)}return new x0(se,mt,et,fe)}static _hue2rgb(g,x,W){return W<0&&(W+=1),W>1&&(W-=1),W<1/6?g+(x-g)*6*W:W<1/2?x:W<2/3?g+(x-g)*(2/3-W)*6:g}static toRGBA(g){const x=g.h/360,{s:W,l:X,a:fe}=g;let Me,qe,se;if(W===0)Me=qe=se=X;else{const mt=X<.5?X*(1+W):X+W-X*W,et=2*X-mt;Me=x0._hue2rgb(et,mt,x+1/3),qe=x0._hue2rgb(et,mt,x),se=x0._hue2rgb(et,mt,x-1/3)}return new Tr(Math.round(Me*255),Math.round(qe*255),Math.round(se*255),fe)}}class a2{constructor(g,x,W,X){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,g),0)|0,this.s=AR(Math.max(Math.min(1,x),0),3),this.v=AR(Math.max(Math.min(1,W),0),3),this.a=AR(Math.max(Math.min(1,X),0),3)}static equals(g,x){return g.h===x.h&&g.s===x.s&&g.v===x.v&&g.a===x.a}static fromRGBA(g){const x=g.r/255,W=g.g/255,X=g.b/255,fe=Math.max(x,W,X),Me=Math.min(x,W,X),qe=fe-Me,se=fe===0?0:qe/fe;let mt;return qe===0?mt=0:fe===x?mt=((W-X)/qe%6+6)%6:fe===W?mt=(X-x)/qe+2:mt=(x-W)/qe+4,new a2(Math.round(mt*60),se,fe,g.a)}static toRGBA(g){const{h:x,s:W,v:X,a:fe}=g,Me=X*W,qe=Me*(1-Math.abs(x/60%2-1)),se=X-Me;let[mt,et,Xe]=[0,0,0];return x<60?(mt=Me,et=qe):x<120?(mt=qe,et=Me):x<180?(et=Me,Xe=qe):x<240?(et=qe,Xe=Me):x<300?(mt=qe,Xe=Me):x<=360&&(mt=Me,Xe=qe),mt=Math.round((mt+se)*255),et=Math.round((et+se)*255),Xe=Math.round((Xe+se)*255),new Tr(mt,et,Xe,fe)}}const Zd=class Zd{static fromHex(g){return Zd.Format.CSS.parseHex(g)||Zd.red}static equals(g,x){return!g&&!x?!0:!g||!x?!1:g.equals(x)}get hsla(){return this._hsla?this._hsla:x0.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:a2.fromRGBA(this.rgba)}constructor(g){if(g)if(g instanceof Tr)this.rgba=g;else if(g instanceof x0)this._hsla=g,this.rgba=x0.toRGBA(g);else if(g instanceof a2)this._hsva=g,this.rgba=a2.toRGBA(g);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(g){return!!g&&Tr.equals(this.rgba,g.rgba)&&x0.equals(this.hsla,g.hsla)&&a2.equals(this.hsva,g.hsva)}getRelativeLuminance(){const g=Zd._relativeLuminanceForComponent(this.rgba.r),x=Zd._relativeLuminanceForComponent(this.rgba.g),W=Zd._relativeLuminanceForComponent(this.rgba.b),X=.2126*g+.7152*x+.0722*W;return AR(X,4)}static _relativeLuminanceForComponent(g){const x=g/255;return x<=.03928?x/12.92:Math.pow((x+.055)/1.055,2.4)}isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3>=128}isLighterThan(g){const x=this.getRelativeLuminance(),W=g.getRelativeLuminance();return x>W}isDarkerThan(g){const x=this.getRelativeLuminance(),W=g.getRelativeLuminance();return x<W}lighten(g){return new Zd(new x0(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*g,this.hsla.a))}darken(g){return new Zd(new x0(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*g,this.hsla.a))}transparent(g){const{r:x,g:W,b:X,a:fe}=this.rgba;return new Zd(new Tr(x,W,X,fe*g))}isTransparent(){return this.rgba.a===0}isOpaque(){return this.rgba.a===1}opposite(){return new Zd(new Tr(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}mix(g,x=.5){const W=Math.min(Math.max(x,0),1),X=this.rgba,fe=g.rgba,Me=X.r+(fe.r-X.r)*W,qe=X.g+(fe.g-X.g)*W,se=X.b+(fe.b-X.b)*W,mt=X.a+(fe.a-X.a)*W;return new Zd(new Tr(Me,qe,se,mt))}makeOpaque(g){if(this.isOpaque()||g.rgba.a!==1)return this;const{r:x,g:W,b:X,a:fe}=this.rgba;return new Zd(new Tr(g.rgba.r-fe*(g.rgba.r-x),g.rgba.g-fe*(g.rgba.g-W),g.rgba.b-fe*(g.rgba.b-X),1))}toString(){return this._toString||(this._toString=Zd.Format.CSS.format(this)),this._toString}toNumber32Bit(){return this._toNumber32Bit||(this._toNumber32Bit=(this.rgba.r<<24|this.rgba.g<<16|this.rgba.b<<8|this.rgba.a*255<<0)>>>0),this._toNumber32Bit}static getLighterColor(g,x,W){if(g.isLighterThan(x))return g;W=W||.5;const X=g.getRelativeLuminance(),fe=x.getRelativeLuminance();return W=W*(fe-X)/fe,g.lighten(W)}static getDarkerColor(g,x,W){if(g.isDarkerThan(x))return g;W=W||.5;const X=g.getRelativeLuminance(),fe=x.getRelativeLuminance();return W=W*(X-fe)/X,g.darken(W)}};Zd.white=new Zd(new Tr(255,255,255,1)),Zd.black=new Zd(new Tr(0,0,0,1)),Zd.red=new Zd(new Tr(255,0,0,1)),Zd.blue=new Zd(new Tr(0,0,255,1)),Zd.green=new Zd(new Tr(0,255,0,1)),Zd.cyan=new Zd(new Tr(0,255,255,1)),Zd.lightgrey=new Zd(new Tr(211,211,211,1)),Zd.transparent=new Zd(new Tr(0,0,0,0));let s2=Zd;(function(b){(function(g){(function(x){function W(Ln){return Ln.rgba.a===1?"rgb(".concat(Ln.rgba.r,", ").concat(Ln.rgba.g,", ").concat(Ln.rgba.b,")"):b.Format.CSS.formatRGBA(Ln)}x.formatRGB=W;function X(Ln){return"rgba(".concat(Ln.rgba.r,", ").concat(Ln.rgba.g,", ").concat(Ln.rgba.b,", ").concat(+Ln.rgba.a.toFixed(2),")")}x.formatRGBA=X;function fe(Ln){return Ln.hsla.a===1?"hsl(".concat(Ln.hsla.h,", ").concat(Math.round(Ln.hsla.s*100),"%, ").concat(Math.round(Ln.hsla.l*100),"%)"):b.Format.CSS.formatHSLA(Ln)}x.formatHSL=fe;function Me(Ln){return"hsla(".concat(Ln.hsla.h,", ").concat(Math.round(Ln.hsla.s*100),"%, ").concat(Math.round(Ln.hsla.l*100),"%, ").concat(Ln.hsla.a.toFixed(2),")")}x.formatHSLA=Me;function qe(Ln){const Ji=Ln.toString(16);return Ji.length!==2?"0"+Ji:Ji}function se(Ln){return"#".concat(qe(Ln.rgba.r)).concat(qe(Ln.rgba.g)).concat(qe(Ln.rgba.b))}x.formatHex=se;function mt(Ln,Ji=!1){return Ji&&Ln.rgba.a===1?b.Format.CSS.formatHex(Ln):"#".concat(qe(Ln.rgba.r)).concat(qe(Ln.rgba.g)).concat(qe(Ln.rgba.b)).concat(qe(Math.round(Ln.rgba.a*255)))}x.formatHexA=mt;function et(Ln){return Ln.isOpaque()?b.Format.CSS.formatHex(Ln):b.Format.CSS.formatRGBA(Ln)}x.format=et;function Xe(Ln){var Ji,ho,Gn,_n,pa,lo,Ys,Vn,zi,po,Fn,ws,ai,Gt;if(Ln==="transparent")return b.transparent;if(Ln.startsWith("#"))return Wn(Ln);if(Ln.startsWith("rgba(")){const ta=Ln.match(new RegExp("rgba\\((?<r>(?:\\+|-)?\\d+), *(?<g>(?:\\+|-)?\\d+), *(?<b>(?:\\+|-)?\\d+), *(?<a>(?:\\+|-)?\\d+(\\.\\d+)?)\\)"));if(!ta)throw new Error("Invalid color format "+Ln);const Ui=parseInt((ho=(Ji=ta.groups)==null?void 0:Ji.r)!=null?ho:"0"),Qo=parseInt((_n=(Gn=ta.groups)==null?void 0:Gn.g)!=null?_n:"0"),Wi=parseInt((lo=(pa=ta.groups)==null?void 0:pa.b)!=null?lo:"0"),Ul=parseFloat((Vn=(Ys=ta.groups)==null?void 0:Ys.a)!=null?Vn:"0");return new b(new Tr(Ui,Qo,Wi,Ul))}if(Ln.startsWith("rgb(")){const ta=Ln.match(new RegExp("rgb\\((?<r>(?:\\+|-)?\\d+), *(?<g>(?:\\+|-)?\\d+), *(?<b>(?:\\+|-)?\\d+)\\)"));if(!ta)throw new Error("Invalid color format "+Ln);const Ui=parseInt((po=(zi=ta.groups)==null?void 0:zi.r)!=null?po:"0"),Qo=parseInt((ws=(Fn=ta.groups)==null?void 0:Fn.g)!=null?ws:"0"),Wi=parseInt((Gt=(ai=ta.groups)==null?void 0:ai.b)!=null?Gt:"0");return new b(new Tr(Ui,Qo,Wi))}return Mn(Ln)}x.parse=Xe;function Mn(Ln){switch(Ln){case"aliceblue":return new b(new Tr(240,248,255,1));case"antiquewhite":return new b(new Tr(250,235,215,1));case"aqua":return new b(new Tr(0,255,255,1));case"aquamarine":return new b(new Tr(127,255,212,1));case"azure":return new b(new Tr(240,255,255,1));case"beige":return new b(new Tr(245,245,220,1));case"bisque":return new b(new Tr(255,228,196,1));case"black":return new b(new Tr(0,0,0,1));case"blanchedalmond":return new b(new Tr(255,235,205,1));case"blue":return new b(new Tr(0,0,255,1));case"blueviolet":return new b(new Tr(138,43,226,1));case"brown":return new b(new Tr(165,42,42,1));case"burlywood":return new b(new Tr(222,184,135,1));case"cadetblue":return new b(new Tr(95,158,160,1));case"chartreuse":return new b(new Tr(127,255,0,1));case"chocolate":return new b(new Tr(210,105,30,1));case"coral":return new b(new Tr(255,127,80,1));case"cornflowerblue":return new b(new Tr(100,149,237,1));case"cornsilk":return new b(new Tr(255,248,220,1));case"crimson":return new b(new Tr(220,20,60,1));case"cyan":return new b(new Tr(0,255,255,1));case"darkblue":return new b(new Tr(0,0,139,1));case"darkcyan":return new b(new Tr(0,139,139,1));case"darkgoldenrod":return new b(new Tr(184,134,11,1));case"darkgray":return new b(new Tr(169,169,169,1));case"darkgreen":return new b(new Tr(0,100,0,1));case"darkgrey":return new b(new Tr(169,169,169,1));case"darkkhaki":return new b(new Tr(189,183,107,1));case"darkmagenta":return new b(new Tr(139,0,139,1));case"darkolivegreen":return new b(new Tr(85,107,47,1));case"darkorange":return new b(new Tr(255,140,0,1));case"darkorchid":return new b(new Tr(153,50,204,1));case"darkred":return new b(new Tr(139,0,0,1));case"darksalmon":return new b(new Tr(233,150,122,1));case"darkseagreen":return new b(new Tr(143,188,143,1));case"darkslateblue":return new b(new Tr(72,61,139,1));case"darkslategray":return new b(new Tr(47,79,79,1));case"darkslategrey":return new b(new Tr(47,79,79,1));case"darkturquoise":return new b(new Tr(0,206,209,1));case"darkviolet":return new b(new Tr(148,0,211,1));case"deeppink":return new b(new Tr(255,20,147,1));case"deepskyblue":return new b(new Tr(0,191,255,1));case"dimgray":return new b(new Tr(105,105,105,1));case"dimgrey":return new b(new Tr(105,105,105,1));case"dodgerblue":return new b(new Tr(30,144,255,1));case"firebrick":return new b(new Tr(178,34,34,1));case"floralwhite":return new b(new Tr(255,250,240,1));case"forestgreen":return new b(new Tr(34,139,34,1));case"fuchsia":return new b(new Tr(255,0,255,1));case"gainsboro":return new b(new Tr(220,220,220,1));case"ghostwhite":return new b(new Tr(248,248,255,1));case"gold":return new b(new Tr(255,215,0,1));case"goldenrod":return new b(new Tr(218,165,32,1));case"gray":return new b(new Tr(128,128,128,1));case"green":return new b(new Tr(0,128,0,1));case"greenyellow":return new b(new Tr(173,255,47,1));case"grey":return new b(new Tr(128,128,128,1));case"honeydew":return new b(new Tr(240,255,240,1));case"hotpink":return new b(new Tr(255,105,180,1));case"indianred":return new b(new Tr(205,92,92,1));case"indigo":return new b(new Tr(75,0,130,1));case"ivory":return new b(new Tr(255,255,240,1));case"khaki":return new b(new Tr(240,230,140,1));case"lavender":return new b(new Tr(230,230,250,1));case"lavenderblush":return new b(new Tr(255,240,245,1));case"lawngreen":return new b(new Tr(124,252,0,1));case"lemonchiffon":return new b(new Tr(255,250,205,1));case"lightblue":return new b(new Tr(173,216,230,1));case"lightcoral":return new b(new Tr(240,128,128,1));case"lightcyan":return new b(new Tr(224,255,255,1));case"lightgoldenrodyellow":return new b(new Tr(250,250,210,1));case"lightgray":return new b(new Tr(211,211,211,1));case"lightgreen":return new b(new Tr(144,238,144,1));case"lightgrey":return new b(new Tr(211,211,211,1));case"lightpink":return new b(new Tr(255,182,193,1));case"lightsalmon":return new b(new Tr(255,160,122,1));case"lightseagreen":return new b(new Tr(32,178,170,1));case"lightskyblue":return new b(new Tr(135,206,250,1));case"lightslategray":return new b(new Tr(119,136,153,1));case"lightslategrey":return new b(new Tr(119,136,153,1));case"lightsteelblue":return new b(new Tr(176,196,222,1));case"lightyellow":return new b(new Tr(255,255,224,1));case"lime":return new b(new Tr(0,255,0,1));case"limegreen":return new b(new Tr(50,205,50,1));case"linen":return new b(new Tr(250,240,230,1));case"magenta":return new b(new Tr(255,0,255,1));case"maroon":return new b(new Tr(128,0,0,1));case"mediumaquamarine":return new b(new Tr(102,205,170,1));case"mediumblue":return new b(new Tr(0,0,205,1));case"mediumorchid":return new b(new Tr(186,85,211,1));case"mediumpurple":return new b(new Tr(147,112,219,1));case"mediumseagreen":return new b(new Tr(60,179,113,1));case"mediumslateblue":return new b(new Tr(123,104,238,1));case"mediumspringgreen":return new b(new Tr(0,250,154,1));case"mediumturquoise":return new b(new Tr(72,209,204,1));case"mediumvioletred":return new b(new Tr(199,21,133,1));case"midnightblue":return new b(new Tr(25,25,112,1));case"mintcream":return new b(new Tr(245,255,250,1));case"mistyrose":return new b(new Tr(255,228,225,1));case"moccasin":return new b(new Tr(255,228,181,1));case"navajowhite":return new b(new Tr(255,222,173,1));case"navy":return new b(new Tr(0,0,128,1));case"oldlace":return new b(new Tr(253,245,230,1));case"olive":return new b(new Tr(128,128,0,1));case"olivedrab":return new b(new Tr(107,142,35,1));case"orange":return new b(new Tr(255,165,0,1));case"orangered":return new b(new Tr(255,69,0,1));case"orchid":return new b(new Tr(218,112,214,1));case"palegoldenrod":return new b(new Tr(238,232,170,1));case"palegreen":return new b(new Tr(152,251,152,1));case"paleturquoise":return new b(new Tr(175,238,238,1));case"palevioletred":return new b(new Tr(219,112,147,1));case"papayawhip":return new b(new Tr(255,239,213,1));case"peachpuff":return new b(new Tr(255,218,185,1));case"peru":return new b(new Tr(205,133,63,1));case"pink":return new b(new Tr(255,192,203,1));case"plum":return new b(new Tr(221,160,221,1));case"powderblue":return new b(new Tr(176,224,230,1));case"purple":return new b(new Tr(128,0,128,1));case"rebeccapurple":return new b(new Tr(102,51,153,1));case"red":return new b(new Tr(255,0,0,1));case"rosybrown":return new b(new Tr(188,143,143,1));case"royalblue":return new b(new Tr(65,105,225,1));case"saddlebrown":return new b(new Tr(139,69,19,1));case"salmon":return new b(new Tr(250,128,114,1));case"sandybrown":return new b(new Tr(244,164,96,1));case"seagreen":return new b(new Tr(46,139,87,1));case"seashell":return new b(new Tr(255,245,238,1));case"sienna":return new b(new Tr(160,82,45,1));case"silver":return new b(new Tr(192,192,192,1));case"skyblue":return new b(new Tr(135,206,235,1));case"slateblue":return new b(new Tr(106,90,205,1));case"slategray":return new b(new Tr(112,128,144,1));case"slategrey":return new b(new Tr(112,128,144,1));case"snow":return new b(new Tr(255,250,250,1));case"springgreen":return new b(new Tr(0,255,127,1));case"steelblue":return new b(new Tr(70,130,180,1));case"tan":return new b(new Tr(210,180,140,1));case"teal":return new b(new Tr(0,128,128,1));case"thistle":return new b(new Tr(216,191,216,1));case"tomato":return new b(new Tr(255,99,71,1));case"turquoise":return new b(new Tr(64,224,208,1));case"violet":return new b(new Tr(238,130,238,1));case"wheat":return new b(new Tr(245,222,179,1));case"white":return new b(new Tr(255,255,255,1));case"whitesmoke":return new b(new Tr(245,245,245,1));case"yellow":return new b(new Tr(255,255,0,1));case"yellowgreen":return new b(new Tr(154,205,50,1));default:return null}}function Wn(Ln){const Ji=Ln.length;if(Ji===0||Ln.charCodeAt(0)!==35)return null;if(Ji===7){const ho=16*qn(Ln.charCodeAt(1))+qn(Ln.charCodeAt(2)),Gn=16*qn(Ln.charCodeAt(3))+qn(Ln.charCodeAt(4)),_n=16*qn(Ln.charCodeAt(5))+qn(Ln.charCodeAt(6));return new b(new Tr(ho,Gn,_n,1))}if(Ji===9){const ho=16*qn(Ln.charCodeAt(1))+qn(Ln.charCodeAt(2)),Gn=16*qn(Ln.charCodeAt(3))+qn(Ln.charCodeAt(4)),_n=16*qn(Ln.charCodeAt(5))+qn(Ln.charCodeAt(6)),pa=16*qn(Ln.charCodeAt(7))+qn(Ln.charCodeAt(8));return new b(new Tr(ho,Gn,_n,pa/255))}if(Ji===4){const ho=qn(Ln.charCodeAt(1)),Gn=qn(Ln.charCodeAt(2)),_n=qn(Ln.charCodeAt(3));return new b(new Tr(16*ho+ho,16*Gn+Gn,16*_n+_n))}if(Ji===5){const ho=qn(Ln.charCodeAt(1)),Gn=qn(Ln.charCodeAt(2)),_n=qn(Ln.charCodeAt(3)),pa=qn(Ln.charCodeAt(4));return new b(new Tr(16*ho+ho,16*Gn+Gn,16*_n+_n,(16*pa+pa)/255))}return null}x.parseHex=Wn;function qn(Ln){switch(Ln){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:return 10;case 65:return 10;case 98:return 11;case 66:return 11;case 99:return 12;case 67:return 12;case 100:return 13;case 68:return 13;case 101:return 14;case 69:return 14;case 102:return 15;case 70:return 15}return 0}})(g.CSS||(g.CSS={}))})(b.Format||(b.Format={}))})(s2||(s2={}));function h0e(b){const g=[];for(const x of b){const W=Number(x);(W||W===0&&x.replace(/\s/g,"")!=="")&&g.push(W)}return g}function KQ(b,g,x,W){return{red:b/255,blue:x/255,green:g/255,alpha:W}}function WW(b,g){const x=g.index,W=g[0].length;if(x===void 0)return;const X=b.positionAt(x);return{startLineNumber:X.lineNumber,startColumn:X.column,endLineNumber:X.lineNumber,endColumn:X.column+W}}function EBe(b,g){if(!b)return;const x=s2.Format.CSS.parseHex(g);if(x)return{range:b,color:KQ(x.rgba.r,x.rgba.g,x.rgba.b,x.rgba.a)}}function _0e(b,g,x){if(!b||g.length!==1)return;const X=g[0].values(),fe=h0e(X);return{range:b,color:KQ(fe[0],fe[1],fe[2],x?fe[3]:1)}}function g0e(b,g,x){if(!b||g.length!==1)return;const X=g[0].values(),fe=h0e(X),Me=new s2(new x0(fe[0],fe[1]/100,fe[2]/100,x?fe[3]:1));return{range:b,color:KQ(Me.rgba.r,Me.rgba.g,Me.rgba.b,Me.rgba.a)}}function FW(b,g){return typeof b=="string"?[...b.matchAll(g)]:b.findMatches(g)}function ABe(b){const g=[],x=new RegExp("\\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|(?<=['\"\\s])(#)([A-Fa-f0-9]{3})\\b|(?<=['\"\\s])(#)([A-Fa-f0-9]{4})\\b|(?<=['\"\\s])(#)([A-Fa-f0-9]{6})\\b|(?<=['\"\\s])(#)([A-Fa-f0-9]{8})\\b","gm"),W=FW(b,x);if(W.length>0)for(const X of W){const fe=X.filter(mt=>mt!==void 0),Me=fe[1],qe=fe[2];if(!qe)continue;let se;if(Me==="rgb"){const mt=/^\(\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;se=_0e(WW(b,X),FW(qe,mt),!1)}else if(Me==="rgba"){const mt=/^\(\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;se=_0e(WW(b,X),FW(qe,mt),!0)}else if(Me==="hsl"){const mt=/^\(\s*((?:360(?:\.0+)?|(?:36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])(?:\.\d+)?))\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;se=g0e(WW(b,X),FW(qe,mt),!1)}else if(Me==="hsla"){const mt=/^\(\s*((?:360(?:\.0+)?|(?:36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])(?:\.\d+)?))\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*[\s,]\s*(0[.][0-9]+|[.][0-9]+|[01][.]0*|[01])\s*\)$/gm;se=g0e(WW(b,X),FW(qe,mt),!0)}else Me==="#"&&(se=EBe(WW(b,X),Me+qe));se&&g.push(se)}return g}function IBe(b){return!b||typeof b.getValue!="function"||typeof b.positionAt!="function"?[]:ABe(b)}const xBe=/^-+|-+$/g,y0e=100,RBe=5;function DBe(b,g){var W;let x=[];if(g.findRegionSectionHeaders&&((W=g.foldingRules)!=null&&W.markers)){const X=CBe(b,g);x=x.concat(X)}if(g.findMarkSectionHeaders){const X=NBe(b,g);x=x.concat(X)}return x}function CBe(b,g){const x=[],W=b.getLineCount();for(let X=1;X<=W;X++){const fe=b.getLineContent(X),Me=fe.match(g.foldingRules.markers.start);if(Me){const qe={startLineNumber:X,startColumn:Me[0].length+1,endLineNumber:X,endColumn:fe.length+1};if(qe.endColumn>qe.startColumn){const se={range:qe,...MBe(fe.substring(Me[0].length)),shouldBeInComments:!1};(se.text||se.hasSeparatorLine)&&x.push(se)}}}return x}function NBe(b,g){var Me,qe,se,mt;const x=[],W=b.getLineCount();if(!g.markSectionHeaderRegex||g.markSectionHeaderRegex.trim()==="")return x;const X=M5e(g.markSectionHeaderRegex),fe=new RegExp(g.markSectionHeaderRegex,"gdm".concat(X?"s":""));if(Rze(fe))return x;for(let et=1;et<=W;et+=y0e-RBe){const Xe=Math.min(et+y0e-1,W),Mn=[];for(let Ln=et;Ln<=Xe;Ln++)Mn.push(b.getLineContent(Ln));const Wn=Mn.join("\n");fe.lastIndex=0;let qn;for(;(qn=fe.exec(Wn))!==null;){const Ln=Wn.substring(0,qn.index),Ji=(Ln.match(/\n/g)||[]).length,ho=et+Ji,Gn=qn[0].split("\n"),_n=Gn.length,pa=ho+_n-1,lo=Ln.lastIndexOf("\n")+1,Ys=qn.index-lo+1,Vn=Gn[Gn.length-1],zi=_n===1?Ys+qn[0].length:Vn.length+1,po={startLineNumber:ho,startColumn:Ys,endLineNumber:pa,endColumn:zi},Fn=(qe=((Me=qn.groups)!=null?Me:{}).label)!=null?qe:"",ws=((mt=((se=qn.groups)!=null?se:{}).separator)!=null?mt:"")!=="",ai={range:po,text:Fn,hasSeparatorLine:ws,shouldBeInComments:!0};(ai.text||ai.hasSeparatorLine)&&(x.length===0||x[x.length-1].range.endLineNumber<ai.range.startLineNumber)&&x.push(ai),fe.lastIndex=qn.index+qn[0].length}}return x}function MBe(b){b=b.trim();const g=b.startsWith("-");return b=b.replace(xBe,""),{text:b,hasSeparatorLine:g}}class PBe{get isRejected(){var g;return((g=this.outcome)==null?void 0:g.outcome)===1}get isSettled(){return!!this.outcome}constructor(){this.p=new Promise((g,x)=>{this.completeCallback=g,this.errorCallback=x})}complete(g){return this.isSettled?Promise.resolve():new Promise(x=>{this.completeCallback(g),this.outcome={outcome:0,value:g},x()})}error(g){return this.isSettled?Promise.resolve():new Promise(x=>{this.errorCallback(g),this.outcome={outcome:1,value:g},x()})}cancel(){return this.error(new ave)}}var v0e;(function(b){async function g(W){let X;const fe=await Promise.all(W.map(Me=>Me.then(qe=>qe,qe=>{X||(X=qe)})));if(typeof X<"u")throw X;return fe}b.settled=g;function x(W){return new Promise(async(X,fe)=>{try{await W(X,fe)}catch(Me){fe(Me)}})}b.withAsyncBody=x})(v0e||(v0e={}));class LBe{constructor(){this._unsatisfiedConsumers=[],this._unconsumedValues=[]}get hasFinalValue(){return!!this._finalValue}produce(g){if(this._ensureNoFinalValue(),this._unsatisfiedConsumers.length>0){const x=this._unsatisfiedConsumers.shift();this._resolveOrRejectDeferred(x,g)}else this._unconsumedValues.push(g)}produceFinal(g){this._ensureNoFinalValue(),this._finalValue=g;for(const x of this._unsatisfiedConsumers)this._resolveOrRejectDeferred(x,g);this._unsatisfiedConsumers.length=0}_ensureNoFinalValue(){if(this._finalValue)throw new N_("ProducerConsumer: cannot produce after final value has been set")}_resolveOrRejectDeferred(g,x){x.ok?g.complete(x.value):g.error(x.error)}consume(){if(this._unconsumedValues.length>0||this._finalValue){const g=this._unconsumedValues.length>0?this._unconsumedValues.shift():this._finalValue;return g.ok?Promise.resolve(g.value):Promise.reject(g.error)}else{const g=new PBe;return this._unsatisfiedConsumers.push(g),g.p}}}const Zy=class Zy{constructor(g,x){this._onReturn=x,this._producerConsumer=new LBe,this._iterator={next:()=>this._producerConsumer.consume(),return:()=>{var W;return(W=this._onReturn)==null||W.call(this),Promise.resolve({done:!0,value:void 0})},throw:async W=>(this._finishError(W),{done:!0,value:void 0})},queueMicrotask(async()=>{const W=g({emitOne:X=>this._producerConsumer.produce({ok:!0,value:{done:!1,value:X}}),emitMany:X=>{for(const fe of X)this._producerConsumer.produce({ok:!0,value:{done:!1,value:fe}})},reject:X=>this._finishError(X)});if(!this._producerConsumer.hasFinalValue)try{await W,this._finishOk()}catch(X){this._finishError(X)}})}static fromArray(g){return new Zy(x=>{x.emitMany(g)})}static fromPromise(g){return new Zy(async x=>{x.emitMany(await g)})}static fromPromisesResolveOrder(g){return new Zy(async x=>{await Promise.all(g.map(async W=>x.emitOne(await W)))})}static merge(g){return new Zy(async x=>{await Promise.all(g.map(async W=>{for await(const X of W)x.emitOne(X)}))})}static map(g,x){return new Zy(async W=>{for await(const X of g)W.emitOne(x(X))})}map(g){return Zy.map(this,g)}static coalesce(g){return Zy.filter(g,x=>!!x)}coalesce(){return Zy.coalesce(this)}static filter(g,x){return new Zy(async W=>{for await(const X of g)x(X)&&W.emitOne(X)})}filter(g){return Zy.filter(this,g)}_finishOk(){this._producerConsumer.hasFinalValue||this._producerConsumer.produceFinal({ok:!0,value:{done:!0,value:void 0}})}_finishError(g){this._producerConsumer.hasFinalValue||this._producerConsumer.produceFinal({ok:!1,error:g})}[Symbol.asyncIterator](){return this._iterator}};Zy.EMPTY=Zy.fromArray([]);let b0e=Zy;class kBe{constructor(g){this.values=g,this.prefixSum=new Uint32Array(g.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(g,x){g=$L(g);const W=this.values,X=this.prefixSum,fe=x.length;return fe===0?!1:(this.values=new Uint32Array(W.length+fe),this.values.set(W.subarray(0,g),0),this.values.set(W.subarray(g),g+fe),this.values.set(x,g),g-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=g-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(X.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(g,x){return g=$L(g),x=$L(x),this.values[g]===x?!1:(this.values[g]=x,g-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=g-1),!0)}removeValues(g,x){g=$L(g),x=$L(x);const W=this.values,X=this.prefixSum;if(g>=W.length)return!1;const fe=W.length-g;return x>=fe&&(x=fe),x===0?!1:(this.values=new Uint32Array(W.length-x),this.values.set(W.subarray(0,g),0),this.values.set(W.subarray(g+x),g),this.prefixSum=new Uint32Array(this.values.length),g-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=g-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(X.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(g){return g<0?0:(g=$L(g),this._getPrefixSum(g))}_getPrefixSum(g){if(g<=this.prefixSumValidIndex[0])return this.prefixSum[g];let x=this.prefixSumValidIndex[0]+1;x===0&&(this.prefixSum[0]=this.values[0],x++),g>=this.values.length&&(g=this.values.length-1);for(let W=x;W<=g;W++)this.prefixSum[W]=this.prefixSum[W-1]+this.values[W];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],g),this.prefixSum[g]}getIndexOf(g){g=Math.floor(g),this.getTotalSum();let x=0,W=this.values.length-1,X=0,fe=0,Me=0;for(;x<=W;)if(X=x+(W-x)/2|0,fe=this.prefixSum[X],Me=fe-this.values[X],g<Me)W=X-1;else if(g>=fe)x=X+1;else break;return new wBe(X,g-Me)}}class wBe{constructor(g,x){this.index=g,this.remainder=x,this._prefixSumIndexOfResultBrand=void 0,this.index=g,this.remainder=x}}class OBe{constructor(g,x,W,X){this._uri=g,this._lines=x,this._eol=W,this._versionId=X,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return this._cachedTextValue===null&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(g){g.eol&&g.eol!==this._eol&&(this._eol=g.eol,this._lineStarts=null);const x=g.changes;for(const W of x)this._acceptDeleteRange(W.range),this._acceptInsertText(new Zc(W.range.startLineNumber,W.range.startColumn),W.text);this._versionId=g.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const g=this._eol.length,x=this._lines.length,W=new Uint32Array(x);for(let X=0;X<x;X++)W[X]=this._lines[X].length+g;this._lineStarts=new kBe(W)}}_setLineText(g,x){this._lines[g]=x,this._lineStarts&&this._lineStarts.setValue(g,this._lines[g].length+this._eol.length)}_acceptDeleteRange(g){if(g.startLineNumber===g.endLineNumber){if(g.startColumn===g.endColumn)return;this._setLineText(g.startLineNumber-1,this._lines[g.startLineNumber-1].substring(0,g.startColumn-1)+this._lines[g.startLineNumber-1].substring(g.endColumn-1));return}this._setLineText(g.startLineNumber-1,this._lines[g.startLineNumber-1].substring(0,g.startColumn-1)+this._lines[g.endLineNumber-1].substring(g.endColumn-1)),this._lines.splice(g.startLineNumber,g.endLineNumber-g.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(g.startLineNumber,g.endLineNumber-g.startLineNumber)}_acceptInsertText(g,x){if(x.length===0)return;const W=Dze(x);if(W.length===1){this._setLineText(g.lineNumber-1,this._lines[g.lineNumber-1].substring(0,g.column-1)+W[0]+this._lines[g.lineNumber-1].substring(g.column-1));return}W[W.length-1]+=this._lines[g.lineNumber-1].substring(g.column-1),this._setLineText(g.lineNumber-1,this._lines[g.lineNumber-1].substring(0,g.column-1)+W[0]);const X=new Uint32Array(W.length-1);for(let fe=1;fe<W.length;fe++)this._lines.splice(g.lineNumber+fe-1,0,W[fe]),X[fe-1]=W[fe].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(g.lineNumber,X)}}class WBe{constructor(){this._models=Object.create(null)}getModel(g){return this._models[g]}getModels(){const g=[];return Object.keys(this._models).forEach(x=>g.push(this._models[x])),g}$acceptNewModel(g){this._models[g.url]=new FBe(dN.parse(g.url),g.lines,g.EOL,g.versionId)}$acceptModelChanged(g,x){if(!this._models[g])return;this._models[g].onEvents(x)}$acceptRemovedModel(g){this._models[g]&&delete this._models[g]}}class FBe extends OBe{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(g){const x=[];for(let W=0;W<this._lines.length;W++){const X=this._lines[W],fe=this.offsetAt(new Zc(W+1,1)),Me=X.matchAll(g);for(const qe of Me)(qe.index||qe.index===0)&&(qe.index=qe.index+fe),x.push(qe)}return x}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(g){return this._lines[g-1]}getWordAtPosition(g,x){const W=GQ(g.column,qbe(x),this._lines[g.lineNumber-1],0);return W?new ss(g.lineNumber,W.startColumn,g.lineNumber,W.endColumn):null}words(g){const x=this._lines,W=this._wordenize.bind(this);let X=0,fe="",Me=0,qe=[];return{*[Symbol.iterator](){for(;;)if(Me<qe.length){const se=fe.substring(qe[Me].start,qe[Me].end);Me+=1,yield se}else if(X<x.length)fe=x[X],qe=W(fe,g),Me=0,X+=1;else break}}}getLineWords(g,x){const W=this._lines[g-1],X=this._wordenize(W,x),fe=[];for(const Me of X)fe.push({word:W.substring(Me.start,Me.end),startColumn:Me.start+1,endColumn:Me.end+1});return fe}_wordenize(g,x){const W=[];let X;for(x.lastIndex=0;(X=x.exec(g))&&X[0].length!==0;)W.push({start:X.index,end:X.index+X[0].length});return W}getValueInRange(g){if(g=this._validateRange(g),g.startLineNumber===g.endLineNumber)return this._lines[g.startLineNumber-1].substring(g.startColumn-1,g.endColumn-1);const x=this._eol,W=g.startLineNumber-1,X=g.endLineNumber-1,fe=[];fe.push(this._lines[W].substring(g.startColumn-1));for(let Me=W+1;Me<X;Me++)fe.push(this._lines[Me]);return fe.push(this._lines[X].substring(0,g.endColumn-1)),fe.join(x)}offsetAt(g){return g=this._validatePosition(g),this._ensureLineStarts(),this._lineStarts.getPrefixSum(g.lineNumber-2)+(g.column-1)}positionAt(g){g=Math.floor(g),g=Math.max(0,g),this._ensureLineStarts();const x=this._lineStarts.getIndexOf(g),W=this._lines[x.index].length;return{lineNumber:1+x.index,column:1+Math.min(x.remainder,W)}}_validateRange(g){const x=this._validatePosition({lineNumber:g.startLineNumber,column:g.startColumn}),W=this._validatePosition({lineNumber:g.endLineNumber,column:g.endColumn});return x.lineNumber!==g.startLineNumber||x.column!==g.startColumn||W.lineNumber!==g.endLineNumber||W.column!==g.endColumn?{startLineNumber:x.lineNumber,startColumn:x.column,endLineNumber:W.lineNumber,endColumn:W.column}:g}_validatePosition(g){if(!Zc.isIPosition(g))throw new Error("bad position");let{lineNumber:x,column:W}=g,X=!1;if(x<1)x=1,W=1,X=!0;else if(x>this._lines.length)x=this._lines.length,W=this._lines[x-1].length+1,X=!0;else{const fe=this._lines[x-1].length+1;W<1?(W=1,X=!0):W>fe&&(W=fe,X=!0)}return X?{lineNumber:x,column:W}:g}}const fN=class fN{constructor(g=null){this._foreignModule=g,this._requestHandlerBrand=void 0,this._workerTextModelSyncServer=new WBe}dispose(){}async $ping(){return"pong"}_getModel(g){return this._workerTextModelSyncServer.getModel(g)}getModels(){return this._workerTextModelSyncServer.getModels()}$acceptNewModel(g){this._workerTextModelSyncServer.$acceptNewModel(g)}$acceptModelChanged(g,x){this._workerTextModelSyncServer.$acceptModelChanged(g,x)}$acceptRemovedModel(g){this._workerTextModelSyncServer.$acceptRemovedModel(g)}async $computeUnicodeHighlights(g,x,W){const X=this._getModel(g);return X?z5e.computeUnicodeHighlights(X,x,W):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}async $findSectionHeaders(g,x){const W=this._getModel(g);return W?DBe(W,x):[]}async $computeDiff(g,x,W,X){const fe=this._getModel(g),Me=this._getModel(x);return!fe||!Me?null:fN.computeDiff(fe,Me,W,X)}static computeDiff(g,x,W,X){const fe=X==="advanced"?m0e.getDefault():m0e.getLegacy(),Me=g.getLinesContent(),qe=x.getLinesContent(),se=fe.computeDiff(Me,qe,W),mt=se.changes.length>0?!1:this._modelsAreIdentical(g,x);function et(Xe){return Xe.map(Mn=>{var Wn;return[Mn.original.startLineNumber,Mn.original.endLineNumberExclusive,Mn.modified.startLineNumber,Mn.modified.endLineNumberExclusive,(Wn=Mn.innerChanges)==null?void 0:Wn.map(qn=>[qn.originalRange.startLineNumber,qn.originalRange.startColumn,qn.originalRange.endLineNumber,qn.originalRange.endColumn,qn.modifiedRange.startLineNumber,qn.modifiedRange.startColumn,qn.modifiedRange.endLineNumber,qn.modifiedRange.endColumn])]})}return{identical:mt,quitEarly:se.hitTimeout,changes:et(se.changes),moves:se.moves.map(Xe=>[Xe.lineRangeMapping.original.startLineNumber,Xe.lineRangeMapping.original.endLineNumberExclusive,Xe.lineRangeMapping.modified.startLineNumber,Xe.lineRangeMapping.modified.endLineNumberExclusive,et(Xe.changes)])}}static _modelsAreIdentical(g,x){const W=g.getLineCount(),X=x.getLineCount();if(W!==X)return!1;for(let fe=1;fe<=W;fe++){const Me=g.getLineContent(fe),qe=x.getLineContent(fe);if(Me!==qe)return!1}return!0}async $computeMoreMinimalEdits(g,x,W){const X=this._getModel(g);if(!X)return x;const fe=[];let Me;x=x.slice(0).sort((se,mt)=>{if(se.range&&mt.range)return ss.compareRangesUsingStarts(se.range,mt.range);const et=se.range?0:1,Xe=mt.range?0:1;return et-Xe});let qe=0;for(let se=1;se<x.length;se++)ss.getEndPosition(x[qe].range).equals(ss.getStartPosition(x[se].range))?(x[qe].range=ss.fromPositions(ss.getStartPosition(x[qe].range),ss.getEndPosition(x[se].range)),x[qe].text+=x[se].text):(qe++,x[qe]=x[se]);x.length=qe+1;for(let{range:se,text:mt,eol:et}of x){if(typeof et=="number"&&(Me=et),ss.isEmpty(se)&&!mt)continue;const Xe=X.getValueInRange(se);if(mt=mt.replace(/\r\n|\n|\r/g,X.eol),Xe===mt)continue;if(Math.max(mt.length,Xe.length)>fN._diffLimit){fe.push({range:se,text:mt});continue}const Mn=qze(Xe,mt,W),Wn=X.offsetAt(ss.lift(se).getStartPosition());for(const qn of Mn){const Ln=X.positionAt(Wn+qn.originalStart),Ji=X.positionAt(Wn+qn.originalStart+qn.originalLength),ho={text:mt.substr(qn.modifiedStart,qn.modifiedLength),range:{startLineNumber:Ln.lineNumber,startColumn:Ln.column,endLineNumber:Ji.lineNumber,endColumn:Ji.column}};X.getValueInRange(ho.range)!==ho.text&&fe.push(ho)}}return typeof Me=="number"&&fe.push({eol:Me,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),fe}async $computeLinks(g){const x=this._getModel(g);return x?$ze(x):null}async $computeDefaultDocumentColors(g){const x=this._getModel(g);return x?IBe(x):null}async $textualSuggest(g,x,W,X){const fe=new SB,Me=new RegExp(W,X),qe=new Set;e:for(const se of g){const mt=this._getModel(se);if(mt){for(const et of mt.words(Me))if(!(et===x||!isNaN(Number(et)))&&(qe.add(et),qe.size>fN._suggestionsLimit))break e}}return{words:Array.from(qe),duration:fe.elapsed()}}async $computeWordRanges(g,x,W,X){const fe=this._getModel(g);if(!fe)return Object.create(null);const Me=new RegExp(W,X),qe=Object.create(null);for(let se=x.startLineNumber;se<x.endLineNumber;se++){const mt=fe.getLineWords(se,Me);for(const et of mt){if(!isNaN(Number(et.word)))continue;let Xe=qe[et.word];Xe||(Xe=[],qe[et.word]=Xe),Xe.push({startLineNumber:se,startColumn:et.startColumn,endLineNumber:se,endColumn:et.endColumn})}}return qe}async $navigateValueSet(g,x,W,X,fe){const Me=this._getModel(g);if(!Me)return null;const qe=new RegExp(X,fe);x.startColumn===x.endColumn&&(x={startLineNumber:x.startLineNumber,startColumn:x.startColumn,endLineNumber:x.endLineNumber,endColumn:x.endColumn+1});const se=Me.getValueInRange(x),mt=Me.getWordAtPosition({lineNumber:x.startLineNumber,column:x.startColumn},qe);if(!mt)return null;const et=Me.getValueInRange(mt);return DQ.INSTANCE.navigateValueSet(x,se,mt,et,W)}$fmr(g,x){if(!this._foreignModule||typeof this._foreignModule[g]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+g));try{return Promise.resolve(this._foreignModule[g].apply(this._foreignModule,x))}catch(W){return Promise.reject(W)}}};fN._diffLimit=1e5,fN._suggestionsLimit=1e4;let XQ=fN;typeof importScripts=="function"&&(globalThis.monaco=x5e());const BW=class BW{static getChannel(g){return g.getChannel(BW.CHANNEL_NAME)}static setChannel(g,x){g.setChannel(BW.CHANNEL_NAME,x)}};BW.CHANNEL_NAME="editorWorkerHost";let YQ=BW;function zBe(b){let g;const x=jze(W=>{const X=YQ.getChannel(W),Me={host:new Proxy({},{get(qe,se,mt){if(se!=="then"){if(typeof se!="string")throw new Error("Not supported");return(...et)=>X.$fhr(se,et)}}}),getMirrorModels:()=>x.requestHandler.getModels()};return g=b(Me),new XQ(g)});return g}function BBe(b){self.onmessage=g=>{zBe(x=>b(x,g.data))}}var T0e=void 0;var R0={};(b=>{var g=Object.defineProperty,x=(e,t)=>{for(var r in t)g(e,r,{get:t[r],enumerable:!0})},W=e=>e,X={};x(X,{ANONYMOUS:()=>yJ,AccessFlags:()=>YZ,AssertionLevel:()=>aZ,AssignmentDeclarationKind:()=>oee,AssignmentKind:()=>Cne,Associativity:()=>Wne,BreakpointResolver:()=>_K,BuilderFileEmit:()=>Lse,BuilderProgramKind:()=>Gse,BuilderState:()=>_h,CallHierarchy:()=>vx,CharacterCodes:()=>_ee,CheckFlags:()=>qZ,CheckMode:()=>GU,ClassificationType:()=>Cq,ClassificationTypeNames:()=>jle,CommentDirectiveType:()=>MZ,Comparison:()=>qe,CompletionInfoFlags:()=>Ole,CompletionTriggerKind:()=>Rq,Completions:()=>Ax,ContainerFlags:()=>fae,ContextFlags:()=>FZ,Debug:()=>C,DiagnosticCategory:()=>$W,Diagnostics:()=>f,DocumentHighlights:()=>J7,ElementFlags:()=>XZ,EmitFlags:()=>x9,EmitHint:()=>bee,EmitOnly:()=>LZ,EndOfLineState:()=>zle,ExitStatus:()=>kZ,ExportKind:()=>Lce,Extension:()=>gee,ExternalEmitHelpers:()=>vee,FileIncludeKind:()=>_9,FilePreprocessingDiagnosticsKind:()=>PZ,FileSystemEntryKind:()=>Cee,FileWatcherEventKind:()=>xee,FindAllReferences:()=>el,FlattenLevel:()=>wae,FlowFlags:()=>YW,ForegroundColorEscapeSequences:()=>Ese,FunctionFlags:()=>wne,GeneratedIdentifierFlags:()=>h9,GetLiteralTextFlags:()=>qte,GoToDefinition:()=>hC,HighlightSpanKind:()=>kle,IdentifierNameMap:()=>HD,ImportKind:()=>Pce,ImportsNotUsedAsValues:()=>uee,IndentStyle:()=>wle,IndexFlags:()=>$Z,IndexKind:()=>eee,InferenceFlags:()=>ree,InferencePriority:()=>nee,InlayHintKind:()=>Lle,InlayHints:()=>sX,InternalEmitFlags:()=>yee,InternalNodeBuilderFlags:()=>BZ,InternalSymbolName:()=>JZ,IntersectionFlags:()=>WZ,InvalidatedProjectKind:()=>dle,JSDocParsingMode:()=>Iee,JsDoc:()=>vT,JsTyping:()=>Hb,JsxEmit:()=>dee,JsxFlags:()=>RZ,JsxReferenceKind:()=>QZ,LanguageFeatureMinimumTarget:()=>ed,LanguageServiceMode:()=>Mle,LanguageVariant:()=>mee,LexicalEnvironmentFlags:()=>See,ListFormat:()=>Eee,LogLevel:()=>_Z,MapCode:()=>lX,MemberOverrideStatus:()=>wZ,ModifierFlags:()=>f9,ModuleDetectionKind:()=>aee,ModuleInstanceState:()=>uae,ModuleKind:()=>MR,ModuleResolutionKind:()=>NR,ModuleSpecifierEnding:()=>kre,NavigateTo:()=>nde,NavigationBar:()=>ide,NewLineKind:()=>pee,NodeBuilderFlags:()=>zZ,NodeCheckFlags:()=>v9,NodeFactoryFlags:()=>pie,NodeFlags:()=>p9,NodeResolutionFeatures:()=>tae,ObjectFlags:()=>T9,OperationCanceledException:()=>SN,OperatorPrecedence:()=>Fne,OrganizeImports:()=>bT,OrganizeImportsMode:()=>xq,OuterExpressionKinds:()=>Tee,OutliningElementsCollector:()=>dX,OutliningSpanKind:()=>Wle,OutputFileType:()=>Fle,PackageJsonAutoImportPreference:()=>Nle,PackageJsonDependencyGroup:()=>Cle,PatternMatchKind:()=>WJ,PollingInterval:()=>R9,PollingWatchKind:()=>cee,PragmaKindFlags:()=>Aee,PredicateSemantics:()=>DZ,PreparePasteEdits:()=>IX,PrivateIdentifierKind:()=>Sie,ProcessLevel:()=>zae,ProgramUpdateLevel:()=>yse,QuotePreference:()=>uce,RegularExpressionFlags:()=>CZ,RelationComparisonResult:()=>m9,Rename:()=>Pz,ScriptElementKind:()=>Gle,ScriptElementKindModifier:()=>Vle,ScriptKind:()=>E9,ScriptSnapshot:()=>o7,ScriptTarget:()=>fee,SemanticClassificationFormat:()=>Ple,SemanticMeaning:()=>Ule,SemicolonPreference:()=>Dq,SignatureCheckMode:()=>VU,SignatureFlags:()=>S9,SignatureHelp:()=>o8,SignatureInfo:()=>Pse,SignatureKind:()=>ZZ,SmartSelectionRange:()=>fX,SnippetKind:()=>I9,StatisticType:()=>vle,StructureIsReused:()=>g9,SymbolAccessibility:()=>jZ,SymbolDisplay:()=>Ev,SymbolDisplayPartKind:()=>s7,SymbolFlags:()=>y9,SymbolFormatFlags:()=>VZ,SyntaxKind:()=>u9,Ternary:()=>iee,ThrottledCancellationToken:()=>pue,TokenClass:()=>Ble,TokenFlags:()=>NZ,TransformFlags:()=>A9,TypeFacts:()=>BU,TypeFlags:()=>b9,TypeFormatFlags:()=>GZ,TypeMapKind:()=>tee,TypePredicateKind:()=>UZ,TypeReferenceSerializationKind:()=>HZ,UnionReduction:()=>OZ,UpToDateStatusType:()=>rle,VarianceFlags:()=>KZ,Version:()=>ih,VersionRange:()=>XW,WatchDirectoryFlags:()=>hee,WatchDirectoryKind:()=>lee,WatchFileKind:()=>see,WatchLogLevel:()=>bse,WatchType:()=>sd,accessPrivateIdentifier:()=>kae,addEmitFlags:()=>r_,addEmitHelper:()=>BI,addEmitHelpers:()=>Dg,addInternalEmitFlags:()=>_1,addNodeFactoryPatcher:()=>bSe,addObjectAllocatorPatcher:()=>iSe,addRange:()=>$r,addRelatedInfo:()=>_a,addSyntheticLeadingComment:()=>Lb,addSyntheticTrailingComment:()=>WM,addToSeen:()=>Tm,advancedAsyncSuperHelper:()=>h4,affectsDeclarationPathOptionDeclarations:()=>Roe,affectsEmitOptionDeclarations:()=>xoe,allKeysStartWithDot:()=>c3,altDirectorySeparator:()=>nF,and:()=>qW,append:()=>jn,appendIfUnique:()=>ny,arrayFrom:()=>Mo,arrayIsEqualTo:()=>ef,arrayIsHomogeneous:()=>jre,arrayOf:()=>nZ,arrayReverseIterator:()=>HB,arrayToMap:()=>xR,arrayToMultiMap:()=>_2,arrayToNumericMap:()=>iZ,assertType:()=>P0e,assign:()=>VE,asyncSuperHelper:()=>m4,attachFileToDiagnostics:()=>MI,base64decode:()=>ore,base64encode:()=>ire,binarySearch:()=>rb,binarySearchKey:()=>$A,bindSourceFile:()=>mae,breakIntoCharacterSpans:()=>Xce,breakIntoWordSpans:()=>Yce,buildLinkParts:()=>vce,buildOpts:()=>Lw,buildOverload:()=>aOe,bundlerModuleNameResolver:()=>nae,canBeConvertedToAsync:()=>jJ,canHaveDecorators:()=>qS,canHaveExportModifier:()=>rw,canHaveFlowNode:()=>nD,canHaveIllegalDecorators:()=>Yj,canHaveIllegalModifiers:()=>soe,canHaveIllegalType:()=>qSe,canHaveIllegalTypeParameters:()=>aoe,canHaveJSDoc:()=>Ak,canHaveLocals:()=>k_,canHaveModifiers:()=>Im,canHaveModuleSpecifier:()=>xne,canHaveSymbol:()=>ah,canIncludeBindAndCheckDiagnostics:()=>RM,canJsonReportNoInputFiles:()=>zw,canProduceDiagnostics:()=>Kw,canUsePropertyAccess:()=>ej,canWatchAffectingLocation:()=>Xse,canWatchAtTypes:()=>Kse,canWatchDirectoryOrFile:()=>jH,canWatchDirectoryOrFilePath:()=>cO,cartesianProduct:()=>mZ,cast:()=>va,chainBundle:()=>hh,chainDiagnosticMessages:()=>Ko,changeAnyExtension:()=>A2,changeCompilerHostLikeToUseCache:()=>vP,changeExtension:()=>dv,changeFullExtension:()=>oF,changesAffectModuleResolution:()=>PF,changesAffectingProgramStructure:()=>Fte,characterCodeToRegularExpressionFlag:()=>F9,childIsDecorated:()=>XN,classElementOrClassElementParameterIsDecorated:()=>WG,classHasClassThisAssignment:()=>rH,classHasDeclaredOrExplicitlyAssignedName:()=>iH,classHasExplicitlyAssignedName:()=>E3,classOrConstructorParameterIsDecorated:()=>ov,classicNameResolver:()=>cae,classifier:()=>_ue,cleanExtendedConfigCache:()=>C3,clear:()=>ai,clearMap:()=>yp,clearSharedExtendedConfigFileWatcher:()=>yH,climbPastPropertyAccess:()=>d7,clone:()=>oZ,cloneCompilerOptions:()=>Kq,closeFileWatcher:()=>jm,closeFileWatcherOf:()=>Xf,codefix:()=>cu,collapseTextChangeRangesAcrossMultipleVersions:()=>Yee,collectExternalModuleInfo:()=>ZU,combine:()=>YA,combinePaths:()=>ei,commandLineOptionOfCustomType:()=>Noe,commentPragmas:()=>QW,commonOptionsWithBuild:()=>V4,compact:()=>m2,compareBooleans:()=>M0,compareDataObjects:()=>NV,compareDiagnostics:()=>bM,compareEmitHelpers:()=>Aie,compareNumberOfDirectorySeparators:()=>Zk,comparePaths:()=>iy,comparePathsCaseInsensitive:()=>iTe,comparePathsCaseSensitive:()=>rTe,comparePatternKeys:()=>LU,compareProperties:()=>dZ,compareStringsCaseInsensitive:()=>y2,compareStringsCaseInsensitiveEslintCompatible:()=>sZ,compareStringsCaseSensitive:()=>Wd,compareStringsCaseSensitiveUI:()=>b2,compareTextSpans:()=>UW,compareValues:()=>Js,compilerOptionsAffectDeclarationPath:()=>Rre,compilerOptionsAffectEmit:()=>xre,compilerOptionsAffectSemanticDiagnostics:()=>Ire,compilerOptionsDidYouMeanDiagnostics:()=>q4,compilerOptionsIndicateEsModules:()=>eJ,computeCommonSourceDirectoryOfFilenames:()=>Tse,computeLineAndCharacterOfPosition:()=>wR,computeLineOfPosition:()=>xN,computeLineStarts:()=>oI,computePositionOfLineAndCharacter:()=>cF,computeSignatureWithDiagnostics:()=>WH,computeSuggestionDiagnostics:()=>BJ,computedOptions:()=>TM,concatenate:()=>co,concatenateDiagnosticMessageChains:()=>yre,consumesNodeCoreModules:()=>F7,contains:()=>Vn,containsIgnoredPath:()=>NM,containsObjectRestOrSpread:()=>Cw,containsParseError:()=>mI,containsPath:()=>hm,convertCompilerOptionsForTelemetry:()=>Hoe,convertCompilerOptionsFromJson:()=>t1e,convertJsonOption:()=>M1,convertToBase64:()=>rre,convertToJson:()=>Ow,convertToObject:()=>zoe,convertToOptionsWithAbsolutePaths:()=>Y4,convertToRelativePath:()=>AN,convertToTSConfig:()=>_U,convertTypeAcquisitionFromJson:()=>n1e,copyComments:()=>B1,copyEntries:()=>LF,copyLeadingComments:()=>sC,copyProperties:()=>QB,copyTrailingAsLeadingComments:()=>NO,copyTrailingComments:()=>wP,couldStartTrivia:()=>Oee,countWhere:()=>po,createAbstractBuilder:()=>cIe,createAccessorPropertyBackingField:()=>Zj,createAccessorPropertyGetRedirector:()=>hoe,createAccessorPropertySetRedirector:()=>_oe,createBaseNodeFactory:()=>sie,createBinaryExpressionTrampoline:()=>W4,createBuilderProgram:()=>FH,createBuilderProgramUsingIncrementalBuildInfo:()=>Hse,createBuilderStatusReporter:()=>$3,createCacheableExportInfoMap:()=>CJ,createCachedDirectoryStructureHost:()=>R3,createClassifier:()=>zxe,createCommentDirectivesMap:()=>Ute,createCompilerDiagnostic:()=>Dl,createCompilerDiagnosticForInvalidCustomType:()=>Moe,createCompilerDiagnosticFromMessageChain:()=>O6,createCompilerHost:()=>Sse,createCompilerHostFromProgramHost:()=>iq,createCompilerHostWorker:()=>N3,createDetachedDiagnostic:()=>NI,createDiagnosticCollection:()=>dM,createDiagnosticForFileFromMessageChain:()=>PG,createDiagnosticForNode:()=>Sr,createDiagnosticForNodeArray:()=>KR,createDiagnosticForNodeArrayFromMessageChain:()=>nk,createDiagnosticForNodeFromMessageChain:()=>vg,createDiagnosticForNodeInSourceFile:()=>Ff,createDiagnosticForRange:()=>ine,createDiagnosticMessageChainFromDiagnostic:()=>rne,createDiagnosticReporter:()=>ux,createDocumentPositionMapper:()=>Cae,createDocumentRegistry:()=>Fce,createDocumentRegistryInternal:()=>kJ,createEmitAndSemanticDiagnosticsBuilderProgram:()=>VH,createEmitHelperFactory:()=>Eie,createEmptyExports:()=>Tw,createEvaluator:()=>Zre,createExpressionForJsxElement:()=>eoe,createExpressionForJsxFragment:()=>toe,createExpressionForObjectLiteralElementLike:()=>noe,createExpressionForPropertyName:()=>Uj,createExpressionFromEntityName:()=>Sw,createExternalHelpersImportDeclarationIfNeeded:()=>Jj,createFileDiagnostic:()=>kc,createFileDiagnosticFromMessageChain:()=>jF,createFlowNode:()=>U_,createForOfBindingStatement:()=>jj,createFutureSourceFile:()=>U7,createGetCanonicalFileName:()=>Fd,createGetIsolatedDeclarationErrors:()=>lse,createGetSourceFile:()=>EH,createGetSymbolAccessibilityDiagnosticForNode:()=>cT,createGetSymbolAccessibilityDiagnosticForNodeName:()=>sse,createGetSymbolWalker:()=>hae,createIncrementalCompilerHost:()=>Y3,createIncrementalProgram:()=>nle,createJsxFactoryExpression:()=>Vj,createLanguageService:()=>fue,createLanguageServiceSourceFile:()=>dz,createMemberAccessForPropertyName:()=>C1,createModeAwareCache:()=>BD,createModeAwareCacheKey:()=>iP,createModeMismatchDetails:()=>_G,createModuleNotFoundChain:()=>wF,createModuleResolutionCache:()=>GD,createModuleResolutionLoader:()=>CH,createModuleResolutionLoaderUsingGlobalCache:()=>Zse,createModuleSpecifierResolutionHost:()=>fT,createMultiMap:()=>fm,createNameResolver:()=>oj,createNodeConverters:()=>die,createNodeFactory:()=>lw,createOptionNameMap:()=>U4,createOverload:()=>DX,createPackageJsonImportFilter:()=>lC,createPackageJsonInfo:()=>TJ,createParenthesizerRules:()=>lie,createPatternMatcher:()=>jce,createPrinter:()=>jb,createPrinterWithDefaults:()=>_se,createPrinterWithRemoveComments:()=>YS,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>gse,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>gH,createProgram:()=>aO,createProgramDiagnostics:()=>Nse,createProgramHost:()=>oq,createPropertyNameNodeForIdentifierOrLiteral:()=>nw,createQueue:()=>g2,createRange:()=>Gf,createRedirectedBuilderProgram:()=>GH,createResolutionCache:()=>HH,createRuntimeTypeSerializer:()=>Uae,createScanner:()=>fg,createSemanticDiagnosticsBuilderProgram:()=>lIe,createSet:()=>ZB,createSolutionBuilder:()=>sle,createSolutionBuilderHost:()=>ole,createSolutionBuilderWithWatch:()=>lle,createSolutionBuilderWithWatchHost:()=>ale,createSortedArray:()=>UB,createSourceFile:()=>nx,createSourceMapGenerator:()=>Aae,createSourceMapSource:()=>ASe,createSuperAccessVariableStatement:()=>I3,createSymbolTable:()=>ma,createSymlinkCache:()=>BV,createSyntacticTypeNodeBuilder:()=>xle,createSystemWatchFunctions:()=>Y0e,createTextChange:()=>EO,createTextChangeFromStartLength:()=>E7,createTextChangeRange:()=>k2,createTextRangeFromNode:()=>$q,createTextRangeFromSpan:()=>S7,createTextSpan:()=>Ad,createTextSpanFromBounds:()=>oc,createTextSpanFromNode:()=>Vu,createTextSpanFromRange:()=>bv,createTextSpanFromStringLiteralLikeContent:()=>Yq,createTextWriter:()=>wk,createTokenRange:()=>IV,createTypeChecker:()=>Sae,createTypeReferenceDirectiveResolutionCache:()=>a3,createTypeReferenceResolutionLoader:()=>L3,createWatchCompilerHost:()=>vIe,createWatchCompilerHostOfConfigFile:()=>aq,createWatchCompilerHostOfFilesAndCompilerOptions:()=>sq,createWatchFactory:()=>rq,createWatchHost:()=>nq,createWatchProgram:()=>lq,createWatchStatusReporter:()=>qH,createWriteFileMeasuringIO:()=>AH,declarationNameToString:()=>Fs,decodeMappings:()=>YU,decodedTextSpanIntersectsWith:()=>L2,deduplicate:()=>cS,defaultHoverMaximumTruncationLength:()=>Ote,defaultInitCompilerOptions:()=>TEe,defaultMaximumTruncationLength:()=>VN,diagnosticCategoryName:()=>UE,diagnosticToString:()=>tE,diagnosticsEqualityComparer:()=>W6,directoryProbablyExists:()=>ch,directorySeparator:()=>$s,displayPart:()=>Tp,displayPartsToString:()=>jO,disposeEmitNodes:()=>_j,documentSpansEqual:()=>sJ,dumpTracingLegend:()=>xZ,elementAt:()=>nb,elideNodes:()=>moe,emitDetachedComments:()=>Jne,emitFiles:()=>hH,emitFilesAndReportErrors:()=>q3,emitFilesAndReportErrorsAndGetExitStatus:()=>tq,emitModuleKindIsNonNodeESM:()=>Xk,emitNewLineBeforeLeadingCommentOfPosition:()=>qne,emitResolverSkipsTypeChecking:()=>mH,emitSkippedWithNoDiagnostics:()=>PH,emptyArray:()=>se,emptyFileSystemEntries:()=>Fre,emptyMap:()=>mt,emptyOptions:()=>xm,endsWith:()=>il,ensurePathIsNonModuleName:()=>HE,ensureScriptKind:()=>J6,ensureTrailingDirectorySeparator:()=>jc,entityNameToString:()=>kp,enumerateInsertsAndDeletes:()=>KW,equalOwnProperties:()=>rZ,equateStringsCaseInsensitive:()=>sb,equateStringsCaseSensitive:()=>pS,equateValues:()=>ab,escapeJsxAttributeString:()=>sV,escapeLeadingUnderscores:()=>Pl,escapeNonAsciiString:()=>_6,escapeSnippetText:()=>OS,escapeString:()=>B_,escapeTemplateSubstitution:()=>oV,evaluatorResult:()=>Hc,every:()=>Gn,exclusivelyPrefixedNodeCoreModules:()=>l4,executeCommandLine:()=>QIe,expandPreOrPostfixIncrementOrDecrementExpression:()=>P4,explainFiles:()=>YH,explainIfFileIsRedirectAndImpliedFormat:()=>$H,exportAssignmentIsAlias:()=>Dk,expressionResultIsUnused:()=>Hre,extend:()=>$B,extensionFromPath:()=>IM,extensionIsTS:()=>Q6,extensionsNotSupportingExtensionlessResolution:()=>$6,externalHelpersModuleNameText:()=>vb,factory:()=>L,fileExtensionIs:()=>xl,fileExtensionIsOneOf:()=>Ql,fileIncludeReasonToDiagnostics:()=>eq,fileShouldUseJavaScriptRequire:()=>DJ,filter:()=>Fn,filterMutate:()=>ws,filterSemanticDiagnostics:()=>W3,find:()=>_n,findAncestor:()=>Rn,findBestPatternMatch:()=>i9,findChildOfKind:()=>Rs,findComputedPropertyNameCacheAssignment:()=>F4,findConfigFile:()=>TH,findConstructorDeclaration:()=>aw,findContainingList:()=>h7,findDiagnosticForNode:()=>Cce,findFirstNonJsxWhitespaceToken:()=>Qle,findIndex:()=>lo,findLast:()=>pa,findLastIndex:()=>Ys,findListItemInfo:()=>$le,findModifier:()=>iC,findNextToken:()=>eE,findPackageJson:()=>Dce,findPackageJsons:()=>bJ,findPrecedingMatchingToken:()=>b7,findPrecedingToken:()=>Fc,findSuperStatementIndexPath:()=>v3,findTokenOnLeftOfPosition:()=>DP,findUseStrictPrologue:()=>qj,first:()=>Qa,firstDefined:()=>Wn,firstDefinedIterator:()=>qn,firstIterator:()=>JB,firstOrOnly:()=>AJ,firstOrUndefined:()=>Sc,firstOrUndefinedIterator:()=>jW,fixupCompilerOptions:()=>UJ,flatMap:()=>Wi,flatMapIterator:()=>cf,flatMapToMutable:()=>Ul,flatten:()=>Qo,flattenCommaList:()=>goe,flattenDestructuringAssignment:()=>w1,flattenDestructuringBinding:()=>XS,flattenDiagnosticMessageText:()=>u_,forEach:()=>Xe,forEachAncestor:()=>zte,forEachAncestorDirectory:()=>IN,forEachAncestorDirectoryStoppingAtGlobalCache:()=>j_,forEachChild:()=>Xo,forEachChildRecursively:()=>tx,forEachDynamicImportOrRequireCall:()=>c4,forEachEmittedFile:()=>dH,forEachEnclosingBlockScopeContainer:()=>ene,forEachEntry:()=>Uc,forEachExternalModuleToImportFrom:()=>MJ,forEachImportClauseDeclaration:()=>Rne,forEachKey:()=>gg,forEachLeadingCommentRange:()=>R2,forEachNameInAccessChainWalkingLeft:()=>fre,forEachNameOfDefaultExport:()=>q7,forEachOptionsSyntaxByName:()=>uj,forEachProjectReference:()=>wM,forEachPropertyAssignment:()=>$R,forEachResolvedProjectReference:()=>cj,forEachReturnStatement:()=>Eb,forEachRight:()=>Mn,forEachTrailingCommentRange:()=>D2,forEachTsConfigPropArray:()=>sk,forEachUnique:()=>cJ,forEachYieldExpression:()=>lne,formatColorAndReset:()=>$S,formatDiagnostic:()=>IH,formatDiagnostics:()=>OAe,formatDiagnosticsWithColorAndContext:()=>xse,formatGeneratedName:()=>iT,formatGeneratedNamePart:()=>OD,formatLocation:()=>xH,formatMessage:()=>PI,formatStringFromArgs:()=>Ag,formatting:()=>Dc,generateDjb2Hash:()=>E2,generateTSConfig:()=>Boe,getAdjustedReferenceLocation:()=>Vq,getAdjustedRenameLocation:()=>g7,getAliasDeclarationFromName:()=>XG,getAllAccessorDeclarations:()=>MS,getAllDecoratorsOfClass:()=>tH,getAllDecoratorsOfClassElement:()=>T3,getAllJSDocTags:()=>_F,getAllJSDocTagsOfKind:()=>RTe,getAllKeys:()=>D0e,getAllProjectOutputs:()=>x3,getAllSuperTypeNodes:()=>iM,getAllowImportingTsExtensions:()=>bre,getAllowJSCompilerOption:()=>Nb,getAllowSyntheticDefaultImports:()=>LI,getAncestor:()=>j0,getAnyExtensionFromPath:()=>rI,getAreDeclarationMapsEnabled:()=>F6,getAssignedExpandoInitializer:()=>gI,getAssignedName:()=>fF,getAssignmentDeclarationKind:()=>ac,getAssignmentDeclarationPropertyAccessKind:()=>vk,getAssignmentTargetKind:()=>Ab,getAutomaticTypeDirectiveNames:()=>i3,getBaseFileName:()=>Ec,getBinaryOperatorPrecedence:()=>Pk,getBuildInfo:()=>_H,getBuildInfoFileVersionMap:()=>BH,getBuildInfoText:()=>mse,getBuildOrderFromAnyBuildOrder:()=>uO,getBuilderCreationParameters:()=>G3,getBuilderFileEmit:()=>Ub,getCanonicalDiagnostic:()=>one,getCheckFlags:()=>Fl,getClassExtendsHeritageElement:()=>RS,getClassLikeDeclarationOfSymbol:()=>my,getCombinedLocalAndExportSymbolFlags:()=>uD,getCombinedModifierFlags:()=>L0,getCombinedNodeFlags:()=>ay,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>U9,getCommentRange:()=>i_,getCommonSourceDirectory:()=>yP,getCommonSourceDirectoryOfConfig:()=>O1,getCompilerOptionValue:()=>G6,getConditions:()=>Bb,getConfigFileParsingDiagnostics:()=>QS,getConstantValue:()=>hie,getContainerFlags:()=>wU,getContainerNode:()=>z1,getContainingClass:()=>hd,getContainingClassExcludingClassDecorators:()=>$F,getContainingClassStaticBlock:()=>_ne,getContainingFunction:()=>uf,getContainingFunctionDeclaration:()=>hne,getContainingFunctionOrClassStaticBlock:()=>YF,getContainingNodeArray:()=>qre,getContainingObjectLiteralElement:()=>UO,getContextualTypeFromParent:()=>P7,getContextualTypeFromParentOrAncestorTypeNode:()=>_7,getDeclarationDiagnostics:()=>cse,getDeclarationEmitExtensionForPath:()=>v6,getDeclarationEmitOutputFilePath:()=>Vne,getDeclarationEmitOutputFilePathWorker:()=>y6,getDeclarationFileExtension:()=>B4,getDeclarationFromName:()=>rM,getDeclarationModifierFlagsFromSymbol:()=>jf,getDeclarationOfKind:()=>ul,getDeclarationsOfKind:()=>Wte,getDeclaredExpandoInitializer:()=>ZN,getDecorators:()=>pb,getDefaultCompilerOptions:()=>cz,getDefaultFormatCodeSettings:()=>a7,getDefaultLibFileName:()=>N2,getDefaultLibFilePath:()=>mue,getDefaultLikeExportInfo:()=>H7,getDefaultLikeExportNameFromDeclaration:()=>IJ,getDefaultResolutionModeForFileWorker:()=>O3,getDiagnosticText:()=>op,getDiagnosticsWithinSpan:()=>Nce,getDirectoryPath:()=>pi,getDirectoryToWatchFailedLookupLocation:()=>UH,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>$se,getDocumentPositionMapper:()=>zJ,getDocumentSpansEqualityComparer:()=>lJ,getESModuleInterop:()=>n_,getEditsForFileRename:()=>Bce,getEffectiveBaseTypeNode:()=>lh,getEffectiveConstraintOfTypeParameter:()=>zR,getEffectiveContainerForJSDocTemplateTag:()=>c6,getEffectiveImplementsTypeNodes:()=>iD,getEffectiveInitializer:()=>_k,getEffectiveJSDocHost:()=>V0,getEffectiveModifierFlags:()=>Gd,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>$ne,getEffectiveModifierFlagsNoCache:()=>Qne,getEffectiveReturnTypeNode:()=>Wp,getEffectiveSetAccessorTypeAnnotationNode:()=>hV,getEffectiveTypeAnnotationNode:()=>Ac,getEffectiveTypeParameterDeclarations:()=>fb,getEffectiveTypeRoots:()=>rP,getElementOrPropertyAccessArgumentExpressionOrName:()=>l6,getElementOrPropertyAccessName:()=>cy,getElementsOfBindingOrAssignmentPattern:()=>wD,getEmitDeclarations:()=>vp,getEmitFlags:()=>Za,getEmitHelpers:()=>gj,getEmitModuleDetectionKind:()=>Tre,getEmitModuleFormatOfFileWorker:()=>SP,getEmitModuleKind:()=>Tu,getEmitModuleResolutionKind:()=>iu,getEmitScriptTarget:()=>Va,getEmitStandardClassFields:()=>FV,getEnclosingBlockScopeContainer:()=>sh,getEnclosingContainer:()=>VF,getEncodedSemanticClassifications:()=>PJ,getEncodedSyntacticClassifications:()=>LJ,getEndLinePosition:()=>$2,getEntityNameFromTypeNode:()=>dk,getEntrypointsFromPackageJsonInfo:()=>NU,getErrorCountForSummary:()=>U3,getErrorSpanForNode:()=>n1,getErrorSummaryText:()=>KH,getEscapedTextOfIdentifierOrLiteral:()=>sM,getEscapedTextOfJsxAttributeName:()=>LM,getEscapedTextOfJsxNamespacedName:()=>WI,getExpandoInitializer:()=>B0,getExportAssignmentExpression:()=>YG,getExportInfoMap:()=>OO,getExportNeedsImportStarHelper:()=>Nae,getExpressionAssociativity:()=>rV,getExpressionPrecedence:()=>cM,getExternalHelpersModuleName:()=>Aw,getExternalModuleImportEqualsDeclarationExpression:()=>YN,getExternalModuleName:()=>vI,getExternalModuleNameFromDeclaration:()=>Bne,getExternalModuleNameFromPath:()=>dV,getExternalModuleNameLiteral:()=>ex,getExternalModuleRequireArgument:()=>zG,getFallbackOptions:()=>rO,getFileEmitOutput:()=>Mse,getFileMatcherPatterns:()=>q6,getFileNamesFromConfigSpecs:()=>tP,getFileWatcherEventKind:()=>N9,getFilesInErrorForSummary:()=>H3,getFirstConstructorWithBody:()=>Sg,getFirstIdentifier:()=>Ou,getFirstNonSpaceCharacterPosition:()=>Sce,getFirstProjectOutput:()=>fH,getFixableErrorSpanExpression:()=>SJ,getFormatCodeSettingsForWriting:()=>V7,getFullWidth:()=>X2,getFunctionFlags:()=>dc,getHeritageClause:()=>Ck,getHostSignatureFromJSDoc:()=>G0,getIdentifierAutoGenerate:()=>RSe,getIdentifierGeneratedImportReference:()=>Tie,getIdentifierTypeArguments:()=>g1,getImmediatelyInvokedFunctionExpression:()=>F0,getImpliedNodeFormatForEmitWorker:()=>W1,getImpliedNodeFormatForFile:()=>oO,getImpliedNodeFormatForFileWorker:()=>w3,getImportNeedsImportDefaultHelper:()=>QU,getImportNeedsImportStarHelper:()=>g3,getIndentString:()=>g6,getInferredLibraryNameResolveFrom:()=>k3,getInitializedVariables:()=>gM,getInitializerOfBinaryExpression:()=>jG,getInitializerOfBindingOrAssignmentElement:()=>xw,getInterfaceBaseTypeNodes:()=>oM,getInternalEmitFlags:()=>Gm,getInvokedExpression:()=>e6,getIsFileExcluded:()=>wce,getIsolatedModules:()=>Sm,getJSDocAugmentsTag:()=>ate,getJSDocClassTag:()=>J9,getJSDocCommentRanges:()=>kG,getJSDocCommentsAndTags:()=>UG,getJSDocDeprecatedTag:()=>K9,getJSDocDeprecatedTagNoCache:()=>fte,getJSDocEnumTag:()=>X9,getJSDocHost:()=>IS,getJSDocImplementsTags:()=>ste,getJSDocOverloadTags:()=>qG,getJSDocOverrideTagNoCache:()=>pte,getJSDocParameterTags:()=>FR,getJSDocParameterTagsNoCache:()=>nte,getJSDocPrivateTag:()=>ETe,getJSDocPrivateTagNoCache:()=>cte,getJSDocProtectedTag:()=>ATe,getJSDocProtectedTagNoCache:()=>dte,getJSDocPublicTag:()=>STe,getJSDocPublicTagNoCache:()=>lte,getJSDocReadonlyTag:()=>ITe,getJSDocReadonlyTagNoCache:()=>ute,getJSDocReturnTag:()=>mte,getJSDocReturnType:()=>O2,getJSDocRoot:()=>rD,getJSDocSatisfiesExpressionType:()=>nj,getJSDocSatisfiesTag:()=>Y9,getJSDocTags:()=>w0,getJSDocTemplateTag:()=>xTe,getJSDocThisTag:()=>mF,getJSDocType:()=>tv,getJSDocTypeAliasName:()=>Xj,getJSDocTypeAssertionType:()=>LD,getJSDocTypeParameterDeclarations:()=>A6,getJSDocTypeParameterTags:()=>rte,getJSDocTypeParameterTagsNoCache:()=>ite,getJSDocTypeTag:()=>k0,getJSXImplicitImportBase:()=>Yk,getJSXRuntimeImport:()=>j6,getJSXTransformEnabled:()=>V6,getKeyForCompilerOptions:()=>IU,getLanguageVariant:()=>Uk,getLastChild:()=>MV,getLeadingCommentRanges:()=>pg,getLeadingCommentRangesOfNode:()=>LG,getLeftmostAccessExpression:()=>pD,getLeftmostExpression:()=>fD,getLibFileNameFromLibReference:()=>lj,getLibNameFromLibReference:()=>sj,getLibraryNameFromLibFileName:()=>NH,getLineAndCharacterOfPosition:()=>fa,getLineInfo:()=>XU,getLineOfLocalPosition:()=>uM,getLineStartPositionForPosition:()=>Rm,getLineStarts:()=>dg,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>dre,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>cre,getLinesBetweenPositions:()=>RN,getLinesBetweenRangeEndAndRangeStart:()=>xV,getLinesBetweenRangeEndPositions:()=>nSe,getLiteralText:()=>Jte,getLocalNameForExternalImport:()=>kD,getLocalSymbolForExportDefault:()=>hM,getLocaleSpecificMessage:()=>Jo,getLocaleTimeString:()=>dO,getMappedContextSpan:()=>dJ,getMappedDocumentSpan:()=>C7,getMappedLocation:()=>PP,getMatchedFileSpec:()=>QH,getMatchedIncludeSpec:()=>ZH,getMeaningFromDeclaration:()=>l7,getMeaningFromLocation:()=>F1,getMembersOfDeclaration:()=>cne,getModeForFileReference:()=>Rse,getModeForResolutionAtIndex:()=>VAe,getModeForUsageLocation:()=>DH,getModifiedTime:()=>nI,getModifiers:()=>mS,getModuleInstanceState:()=>vy,getModuleNameStringLiteralAt:()=>sO,getModuleSpecifierEndingPreference:()=>wre,getModuleSpecifierResolverHost:()=>tJ,getNameForExportedSymbol:()=>z7,getNameFromImportAttribute:()=>o4,getNameFromIndexInfo:()=>tne,getNameFromPropertyName:()=>IO,getNameOfAccessExpression:()=>LV,getNameOfCompilerOptionValue:()=>X4,getNameOfDeclaration:()=>Fo,getNameOfExpando:()=>BG,getNameOfJSDocTypedef:()=>tte,getNameOfScriptTarget:()=>B6,getNameOrArgument:()=>yk,getNameTable:()=>hK,getNamespaceDeclarationNode:()=>tD,getNewLineCharacter:()=>lv,getNewLineKind:()=>wO,getNewLineOrDefaultFromHost:()=>Ty,getNewTargetContainer:()=>yne,getNextJSDocCommentLocation:()=>HG,getNodeChildren:()=>Bj,getNodeForGeneratedName:()=>Dw,getNodeId:()=>ls,getNodeKind:()=>ZS,getNodeModifiers:()=>CP,getNodeModulePathParts:()=>n4,getNonAssignedNameOfDeclaration:()=>pF,getNonAssignmentOperatorForCompoundAssignment:()=>uP,getNonAugmentationDeclaration:()=>xG,getNonDecoratorTokenPosOfNode:()=>bG,getNonIncrementalBuildInfoRoots:()=>qse,getNonModifierTokenPosOfNode:()=>Hte,getNormalizedAbsolutePath:()=>Eo,getNormalizedAbsolutePathWithoutRoot:()=>k9,getNormalizedPathComponents:()=>iF,getObjectFlags:()=>qr,getOperatorAssociativity:()=>iV,getOperatorPrecedence:()=>Mk,getOptionFromName:()=>uU,getOptionsForLibraryResolution:()=>xU,getOptionsNameMap:()=>FD,getOptionsSyntaxByArrayElementValue:()=>dj,getOptionsSyntaxByValue:()=>iie,getOrCreateEmitNode:()=>jd,getOrUpdate:()=>XA,getOriginalNode:()=>Tl,getOriginalNodeId:()=>Gu,getOutputDeclarationFileName:()=>gP,getOutputDeclarationFileNameWorker:()=>uH,getOutputExtension:()=>eO,getOutputFileNames:()=>kAe,getOutputJSFileNameWorker:()=>pH,getOutputPathsFor:()=>_P,getOwnEmitOutputFilePath:()=>Gne,getOwnKeys:()=>Vh,getOwnValues:()=>QA,getPackageJsonTypesVersionsPaths:()=>r3,getPackageNameFromTypesPackageName:()=>sP,getPackageScopeForPath:()=>aP,getParameterSymbolFromJSDoc:()=>Ik,getParentNodeInSpan:()=>RO,getParseTreeNode:()=>Ho,getParsedCommandLineOfConfigFile:()=>kw,getPathComponents:()=>zd,getPathFromPathComponents:()=>P0,getPathUpdater:()=>OJ,getPathsBasePath:()=>b6,getPatternFromSpec:()=>jV,getPendingEmitKindWithSeen:()=>B3,getPositionOfLineAndCharacter:()=>I2,getPossibleGenericSignatures:()=>Uq,getPossibleOriginalInputExtensionForExtension:()=>uV,getPossibleOriginalInputPathWithoutChangingExt:()=>pV,getPossibleTypeArgumentsInfo:()=>Hq,getPreEmitDiagnostics:()=>wAe,getPrecedingNonSpaceCharacterPosition:()=>N7,getPrivateIdentifier:()=>nH,getProperties:()=>eH,getProperty:()=>h2,getPropertyAssignmentAliasLikeExpression:()=>kne,getPropertyNameForPropertyNameNode:()=>d1,getPropertyNameFromType:()=>Hf,getPropertyNameOfBindingOrAssignmentElement:()=>Kj,getPropertySymbolFromBindingElement:()=>D7,getPropertySymbolsFromContextualType:()=>uz,getQuoteFromPreference:()=>rJ,getQuotePreference:()=>Up,getRangesWhere:()=>jB,getRefactorContextSpan:()=>hx,getReferencedFileLocation:()=>TP,getRegexFromPattern:()=>cv,getRegularExpressionForWildcard:()=>SM,getRegularExpressionsForWildcards:()=>U6,getRelativePathFromDirectory:()=>df,getRelativePathFromFile:()=>LR,getRelativePathToDirectoryOrUrl:()=>kR,getRenameLocation:()=>CO,getReplacementSpanForContextToken:()=>Xq,getResolutionDiagnostic:()=>kH,getResolutionModeOverride:()=>JD,getResolveJsonModule:()=>LS,getResolvePackageJsonExports:()=>qk,getResolvePackageJsonImports:()=>Jk,getResolvedExternalModuleName:()=>cV,getResolvedModuleFromResolution:()=>fI,getResolvedTypeReferenceDirectiveFromResolution:()=>kF,getRestIndicatorOfBindingOrAssignmentElement:()=>w4,getRestParameterElementType:()=>wG,getRightMostAssignedExpression:()=>gk,getRootDeclaration:()=>Qh,getRootDirectoryOfResolutionCache:()=>Qse,getRootLength:()=>Uh,getScriptKind:()=>mJ,getScriptKindFromFileName:()=>K6,getScriptTargetFeatures:()=>TG,getSelectedEffectiveModifierFlags:()=>II,getSelectedSyntacticModifierFlags:()=>Xne,getSemanticClassifications:()=>Oce,getSemanticJsxChildren:()=>aD,getSetAccessorTypeAnnotationNode:()=>Une,getSetAccessorValueParameter:()=>pM,getSetExternalModuleIndicator:()=>Hk,getShebang:()=>dF,getSingleVariableOfVariableStatement:()=>SI,getSnapshotText:()=>mx,getSnippetElement:()=>yj,getSourceFileOfModule:()=>Y2,getSourceFileOfNode:()=>On,getSourceFilePathInNewDir:()=>S6,getSourceFileVersionAsHashFromText:()=>J3,getSourceFilesToEmit:()=>T6,getSourceMapRange:()=>pv,getSourceMapper:()=>Qce,getSourceTextOfNodeFromSourceFile:()=>vS,getSpanOfTokenAtPosition:()=>Kh,getSpellingSuggestion:()=>fS,getStartPositionOfLine:()=>bb,getStartPositionOfRange:()=>_M,getStartsOnNewLine:()=>OM,getStaticPropertiesAndClassStaticBlock:()=>b3,getStrictOptionValue:()=>Vd,getStringComparer:()=>DR,getSubPatternFromSpec:()=>H6,getSuperCallFromStatement:()=>y3,getSuperContainer:()=>lk,getSupportedCodeFixes:()=>fK,getSupportedExtensions:()=>EM,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>Qk,getSwitchedType:()=>gJ,getSymbolId:()=>Aa,getSymbolNameForPrivateIdentifier:()=>Nk,getSymbolTarget:()=>hJ,getSyntacticClassifications:()=>Wce,getSyntacticModifierFlags:()=>av,getSyntacticModifierFlagsNoCache:()=>yV,getSynthesizedDeepClone:()=>ys,getSynthesizedDeepCloneWithReplacements:()=>sw,getSynthesizedDeepClones:()=>WS,getSynthesizedDeepClonesWithReplacements:()=>pj,getSyntheticLeadingComments:()=>vD,getSyntheticTrailingComments:()=>pw,getTargetLabel:()=>u7,getTargetOfBindingOrAssignmentElement:()=>Fb,getTemporaryModuleResolutionState:()=>oP,getTextOfConstantValue:()=>Kte,getTextOfIdentifierOrLiteral:()=>Bf,getTextOfJSDocComment:()=>W2,getTextOfJsxAttributeName:()=>ow,getTextOfJsxNamespacedName:()=>kM,getTextOfNode:()=>Rl,getTextOfNodeFromSourceText:()=>UN,getTextOfPropertyName:()=>_I,getThisContainer:()=>bu,getThisParameter:()=>CS,getTokenAtPosition:()=>Fi,getTokenPosOfNode:()=>Tb,getTokenSourceMapRange:()=>ISe,getTouchingPropertyName:()=>ap,getTouchingToken:()=>nC,getTrailingCommentRanges:()=>ub,getTrailingSemicolonDeferringWriter:()=>lV,getTransformers:()=>use,getTsBuildInfoEmitOutputFilePath:()=>dT,getTsConfigObjectLiteralExpression:()=>KN,getTsConfigPropArrayElementValue:()=>XF,getTypeAnnotationNode:()=>Hne,getTypeArgumentOrTypeParameterList:()=>oce,getTypeKeywordOfTypeOnlyImport:()=>aJ,getTypeNode:()=>vie,getTypeNodeIfAccessible:()=>WP,getTypeParameterFromJsDoc:()=>Dne,getTypeParameterOwner:()=>yTe,getTypesPackageName:()=>d3,getUILocale:()=>lZ,getUniqueName:()=>G1,getUniqueSymbolId:()=>Tce,getUseDefineForClassFields:()=>Kk,getWatchErrorSummaryDiagnosticMessage:()=>JH,getWatchFactory:()=>bH,group:()=>RR,groupBy:()=>YB,guessIndentation:()=>kte,handleNoEmitOptions:()=>LH,handleWatchOptionsConfigDirTemplateSubstitution:()=>$4,hasAbstractModifier:()=>PS,hasAccessorModifier:()=>Zh,hasAmbientModifier:()=>gV,hasChangesInResolutions:()=>gG,hasContextSensitiveParameters:()=>t4,hasDecorators:()=>ff,hasDocComment:()=>rce,hasDynamicName:()=>dy,hasEffectiveModifier:()=>Fp,hasEffectiveModifiers:()=>_V,hasEffectiveReadonlyModifier:()=>p1,hasExtension:()=>PR,hasImplementationTSFileExtension:()=>Lre,hasIndexSignature:()=>_J,hasInferredType:()=>s4,hasInitializer:()=>rv,hasInvalidEscape:()=>aV,hasJSDocNodes:()=>nf,hasJSDocParameterTags:()=>ote,hasJSFileExtension:()=>Ig,hasJsonModuleEmitEnabled:()=>z6,hasOnlyExpressionInitializer:()=>e1,hasOverrideModifier:()=>I6,hasPossibleExternalModuleReference:()=>Zte,hasProperty:()=>Ms,hasPropertyAccessExpressionWithName:()=>gO,hasQuestionToken:()=>bI,hasRecordedExternalHelpers:()=>ooe,hasResolutionModeOverride:()=>$re,hasRestParameter:()=>pG,hasScopeMarker:()=>Ite,hasStaticModifier:()=>Lc,hasSyntacticModifier:()=>fi,hasSyntacticModifiers:()=>Kne,hasTSFileExtension:()=>m1,hasTabstop:()=>Kre,hasTrailingDirectorySeparator:()=>cb,hasType:()=>CF,hasTypeArguments:()=>qTe,hasZeroOrOneAsteriskCharacter:()=>zV,hostGetCanonicalFileName:()=>uy,hostUsesCaseSensitiveFileNames:()=>u1,idText:()=>Yr,identifierIsThisKeyword:()=>mV,identifierToKeywordKind:()=>KE,identity:()=>qs,identitySourceMapConsumer:()=>$U,ignoreSourceNewlines:()=>bj,ignoredPaths:()=>eF,importFromModuleSpecifier:()=>tM,importSyntaxAffectsModuleResolution:()=>WV,indexOfAnyCharCode:()=>zi,indexOfNode:()=>qR,indicesOf:()=>VW,inferredTypesContainingFile:()=>bP,injectClassNamedEvaluationHelperBlockIfMissing:()=>A3,injectClassThisAssignmentIfMissing:()=>Fae,insertImports:()=>oJ,insertSorted:()=>tb,insertStatementAfterCustomPrologue:()=>t1,insertStatementAfterStandardPrologue:()=>zTe,insertStatementsAfterCustomPrologue:()=>yG,insertStatementsAfterStandardPrologue:()=>yg,intersperse:()=>ho,intrinsicTagNameToString:()=>rj,introducesArgumentsExoticObject:()=>pne,inverseJsxOptionMap:()=>Pw,isAbstractConstructorSymbol:()=>ure,isAbstractModifier:()=>Mie,isAccessExpression:()=>Qs,isAccessibilityModifier:()=>Jq,isAccessor:()=>gb,isAccessorModifier:()=>xj,isAliasableExpression:()=>d6,isAmbientModule:()=>vu,isAmbientPropertyDeclaration:()=>DG,isAnyDirectorySeparator:()=>M9,isAnyImportOrBareOrAccessedRequire:()=>$te,isAnyImportOrReExport:()=>ek,isAnyImportOrRequireStatement:()=>Qte,isAnyImportSyntax:()=>hI,isAnySupportedFileExtension:()=>_Se,isApplicableVersionedTypesKey:()=>Vw,isArgumentExpressionOfElementAccess:()=>Oq,isArray:()=>Lo,isArrayBindingElement:()=>EF,isArrayBindingOrAssignmentElement:()=>j2,isArrayBindingOrAssignmentPattern:()=>aG,isArrayBindingPattern:()=>_v,isArrayLiteralExpression:()=>Dd,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>vv,isArrayTypeNode:()=>_w,isArrowFunction:()=>Zs,isAsExpression:()=>AD,isAssertClause:()=>zie,isAssertEntry:()=>OSe,isAssertionExpression:()=>yS,isAssertsKeyword:()=>Cie,isAssignmentDeclaration:()=>QN,isAssignmentExpression:()=>id,isAssignmentOperator:()=>py,isAssignmentPattern:()=>BN,isAssignmentTarget:()=>Ib,isAsteriskToken:()=>mw,isAsyncFunction:()=>aM,isAsyncModifier:()=>zM,isAutoAccessorPropertyDeclaration:()=>Qu,isAwaitExpression:()=>Ob,isAwaitKeyword:()=>Ij,isBigIntLiteral:()=>bD,isBinaryExpression:()=>Nr,isBinaryLogicalOperator:()=>Ok,isBinaryOperatorToken:()=>foe,isBindableObjectDefinePropertyCall:()=>a1,isBindableStaticAccessExpression:()=>AS,isBindableStaticElementAccessExpression:()=>s6,isBindableStaticNameExpression:()=>s1,isBindingElement:()=>qa,isBindingElementOfBareOrAccessedRequire:()=>Tne,isBindingName:()=>QE,isBindingOrAssignmentElement:()=>Tte,isBindingOrAssignmentPattern:()=>G2,isBindingPattern:()=>na,isBlock:()=>ia,isBlockLike:()=>_x,isBlockOrCatchScoped:()=>SG,isBlockScope:()=>CG,isBlockScopedContainerTopLevel:()=>Yte,isBooleanLiteral:()=>zN,isBreakOrContinueStatement:()=>wN,isBreakStatement:()=>LSe,isBuildCommand:()=>ble,isBuildInfoFile:()=>pse,isBuilderProgram:()=>XH,isBundle:()=>jie,isCallChain:()=>XE,isCallExpression:()=>ra,isCallExpressionTarget:()=>Nq,isCallLikeExpression:()=>gS,isCallLikeOrFunctionLikeExpression:()=>sG,isCallOrNewExpression:()=>qh,isCallOrNewExpressionTarget:()=>Mq,isCallSignatureDeclaration:()=>HI,isCallToHelper:()=>FM,isCaseBlock:()=>qM,isCaseClause:()=>DD,isCaseKeyword:()=>Lie,isCaseOrDefaultClause:()=>RF,isCatchClause:()=>US,isCatchClauseVariableDeclaration:()=>Jre,isCatchClauseVariableDeclarationOrBindingElement:()=>EG,isCheckJsEnabledForFile:()=>xM,isCircularBuildOrder:()=>px,isClassDeclaration:()=>xc,isClassElement:()=>vc,isClassExpression:()=>uc,isClassInstanceProperty:()=>vte,isClassLike:()=>hi,isClassMemberModifier:()=>rG,isClassNamedEvaluationHelperBlock:()=>cx,isClassOrTypeElement:()=>SF,isClassStaticBlockDeclaration:()=>Zl,isClassThisAssignmentBlock:()=>fP,isColonToken:()=>Rie,isCommaExpression:()=>Ew,isCommaListExpression:()=>UM,isCommaSequence:()=>$M,isCommaToken:()=>xie,isComment:()=>T7,isCommonJsExportPropertyAssignment:()=>JF,isCommonJsExportedExpression:()=>dne,isCompoundAssignment:()=>dP,isComputedNonLiteralName:()=>tk,isComputedPropertyName:()=>Ea,isConciseBody:()=>IF,isConditionalExpression:()=>S1,isConditionalTypeNode:()=>zS,isConstAssertion:()=>ij,isConstTypeReference:()=>zm,isConstructSignatureDeclaration:()=>VM,isConstructorDeclaration:()=>kl,isConstructorTypeNode:()=>TD,isContextualKeyword:()=>p6,isContinueStatement:()=>PSe,isCustomPrologue:()=>ak,isDebuggerStatement:()=>kSe,isDeclaration:()=>rd,isDeclarationBindingElement:()=>B2,isDeclarationFileName:()=>ad,isDeclarationName:()=>z_,isDeclarationNameOfEnumOrNamespace:()=>DV,isDeclarationReadonly:()=>rk,isDeclarationStatement:()=>Cte,isDeclarationWithTypeParameterChildren:()=>MG,isDeclarationWithTypeParameters:()=>NG,isDecorator:()=>wc,isDecoratorTarget:()=>qle,isDefaultClause:()=>JM,isDefaultImport:()=>l1,isDefaultModifier:()=>v4,isDefaultedExpandoInitializer:()=>Sne,isDeleteExpression:()=>wie,isDeleteTarget:()=>KG,isDeprecatedDeclaration:()=>B7,isDestructuringAssignment:()=>sv,isDiskPathRoot:()=>P9,isDoStatement:()=>MSe,isDocumentRegistryEntry:()=>WO,isDotDotDotToken:()=>g4,isDottedName:()=>Fk,isDynamicName:()=>m6,isEffectiveExternalModule:()=>JR,isEffectiveStrictModeSourceFile:()=>RG,isElementAccessChain:()=>$9,isElementAccessExpression:()=>Bs,isEmittedFileOfProgram:()=>vse,isEmptyArrayLiteral:()=>nre,isEmptyBindingElement:()=>Qee,isEmptyBindingPattern:()=>$ee,isEmptyObjectLiteral:()=>EV,isEmptyStatement:()=>Cj,isEmptyStringLiteral:()=>FG,isEntityName:()=>ku,isEntityNameExpression:()=>Ps,isEnumConst:()=>W0,isEnumDeclaration:()=>eT,isEnumMember:()=>gy,isEqualityOperatorKind:()=>L7,isEqualsGreaterThanToken:()=>Die,isExclamationToken:()=>hw,isExcludedFile:()=>Voe,isExclusivelyTypeOnlyImportOrExport:()=>RH,isExpandoPropertyDeclaration:()=>FI,isExportAssignment:()=>fl,isExportDeclaration:()=>fc,isExportModifier:()=>jI,isExportName:()=>L4,isExportNamespaceAsDefaultDeclaration:()=>zF,isExportOrDefaultModifier:()=>Rw,isExportSpecifier:()=>ou,isExportsIdentifier:()=>o1,isExportsOrModuleExportsOrAlias:()=>JS,isExpression:()=>Et,isExpressionNode:()=>F_,isExpressionOfExternalModuleImportEqualsDeclaration:()=>Xle,isExpressionOfOptionalChainRoot:()=>yF,isExpressionStatement:()=>od,isExpressionWithTypeArguments:()=>hy,isExpressionWithTypeArgumentsInClassExtendsClause:()=>R6,isExternalModule:()=>Wc,isExternalModuleAugmentation:()=>TS,isExternalModuleImportEqualsDeclaration:()=>z0,isExternalModuleIndicator:()=>H2,isExternalModuleNameRelative:()=>td,isExternalModuleReference:()=>_y,isExternalModuleSymbol:()=>uI,isExternalOrCommonJsModule:()=>wp,isFileLevelReservedGeneratedIdentifier:()=>z2,isFileLevelUniqueName:()=>WF,isFileProbablyExternalModule:()=>Nw,isFirstDeclarationOfSymbolParameter:()=>uJ,isFixablePromiseHandler:()=>VJ,isForInOrOfStatement:()=>ZE,isForInStatement:()=>A4,isForInitializer:()=>Wf,isForOfStatement:()=>yw,isForStatement:()=>Z0,isFullSourceFile:()=>bg,isFunctionBlock:()=>SS,isFunctionBody:()=>cG,isFunctionDeclaration:()=>ec,isFunctionExpression:()=>Ks,isFunctionExpressionOrArrowFunction:()=>Mb,isFunctionLike:()=>Yo,isFunctionLikeDeclaration:()=>ks,isFunctionLikeKind:()=>sI,isFunctionLikeOrClassStaticBlockDeclaration:()=>VR,isFunctionOrConstructorTypeNode:()=>bte,isFunctionOrModuleBlock:()=>iG,isFunctionSymbol:()=>Ine,isFunctionTypeNode:()=>G_,isGeneratedIdentifier:()=>yl,isGeneratedPrivateIdentifier:()=>$E,isGetAccessor:()=>hg,isGetAccessorDeclaration:()=>qf,isGetOrSetAccessorDeclaration:()=>F2,isGlobalScopeAugmentation:()=>W_,isGlobalSourceFile:()=>iv,isGrammarError:()=>jte,isHeritageClause:()=>Gp,isHoistedFunction:()=>HF,isHoistedVariableStatement:()=>qF,isIdentifier:()=>Je,isIdentifierANonContextualKeyword:()=>ZG,isIdentifierName:()=>Lne,isIdentifierOrThisTypeNode:()=>coe,isIdentifierPart:()=>oy,isIdentifierStart:()=>L_,isIdentifierText:()=>_p,isIdentifierTypePredicate:()=>fne,isIdentifierTypeReference:()=>Vre,isIfStatement:()=>Q0,isIgnoredFileFromWildCardWatching:()=>nO,isImplicitGlob:()=>VV,isImportAttribute:()=>Bie,isImportAttributeName:()=>yte,isImportAttributes:()=>I1,isImportCall:()=>ep,isImportClause:()=>Hm,isImportDeclaration:()=>Sl,isImportEqualsDeclaration:()=>Oc,isImportKeyword:()=>GM,isImportMeta:()=>YR,isImportOrExportSpecifier:()=>hb,isImportOrExportSpecifierName:()=>bce,isImportSpecifier:()=>Au,isImportTypeAssertionContainer:()=>wSe,isImportTypeNode:()=>o_,isImportable:()=>NJ,isInComment:()=>yv,isInCompoundLikeAssignment:()=>JG,isInExpressionContext:()=>t6,isInJSDoc:()=>$N,isInJSFile:()=>Er,isInJSXText:()=>nce,isInJsonFile:()=>r6,isInNonReferenceComment:()=>lce,isInReferenceComment:()=>sce,isInRightSideOfInternalImportEqualsDeclaration:()=>c7,isInString:()=>fx,isInTemplateString:()=>jq,isInTopLevelContext:()=>QF,isInTypeQuery:()=>AI,isIncrementalBuildInfo:()=>lO,isIncrementalBundleEmitBuildInfo:()=>Bse,isIncrementalCompilation:()=>kS,isIndexSignatureDeclaration:()=>wb,isIndexedAccessTypeNode:()=>BS,isInferTypeNode:()=>v1,isInfinityOrNaNString:()=>MM,isInitializedProperty:()=>qw,isInitializedVariable:()=>jk,isInsideJsxElement:()=>v7,isInsideJsxElementOrAttribute:()=>tce,isInsideNodeModules:()=>PO,isInsideTemplateLiteral:()=>SO,isInstanceOfExpression:()=>D6,isInstantiatedModule:()=>UU,isInterfaceDeclaration:()=>gd,isInternalDeclaration:()=>wte,isInternalModuleImportEqualsDeclaration:()=>i1,isInternalName:()=>Hj,isIntersectionTypeNode:()=>KI,isIntrinsicJsxName:()=>sD,isIterationStatement:()=>yb,isJSDoc:()=>mh,isJSDocAllType:()=>qie,isJSDocAugmentsTag:()=>ZI,isJSDocAuthorTag:()=>BSe,isJSDocCallbackTag:()=>Lj,isJSDocClassTag:()=>Kie,isJSDocCommentContainingNode:()=>DF,isJSDocConstructSignature:()=>TI,isJSDocDeprecatedTag:()=>Fj,isJSDocEnumTag:()=>bw,isJSDocFunctionType:()=>ND,isJSDocImplementsTag:()=>N4,isJSDocImportTag:()=>d_,isJSDocIndexSignature:()=>o6,isJSDocLikeText:()=>eU,isJSDocLink:()=>Uie,isJSDocLinkCode:()=>Hie,isJSDocLinkLike:()=>dI,isJSDocLinkPlain:()=>FSe,isJSDocMemberName:()=>rT,isJSDocNameReference:()=>KM,isJSDocNamepathType:()=>zSe,isJSDocNamespaceBody:()=>PTe,isJSDocNode:()=>jR,isJSDocNonNullableType:()=>x4,isJSDocNullableType:()=>CD,isJSDocOptionalParameter:()=>r4,isJSDocOptionalType:()=>Pj,isJSDocOverloadTag:()=>MD,isJSDocOverrideTag:()=>D4,isJSDocParameterTag:()=>hf,isJSDocPrivateTag:()=>wj,isJSDocPropertyLikeTag:()=>ON,isJSDocPropertyTag:()=>Xie,isJSDocProtectedTag:()=>Oj,isJSDocPublicTag:()=>kj,isJSDocReadonlyTag:()=>Wj,isJSDocReturnTag:()=>C4,isJSDocSatisfiesExpression:()=>tj,isJSDocSatisfiesTag:()=>M4,isJSDocSeeTag:()=>GSe,isJSDocSignature:()=>gv,isJSDocTag:()=>UR,isJSDocTemplateTag:()=>Am,isJSDocThisTag:()=>zj,isJSDocThrowsTag:()=>jSe,isJSDocTypeAlias:()=>vm,isJSDocTypeAssertion:()=>HS,isJSDocTypeExpression:()=>nT,isJSDocTypeLiteral:()=>R1,isJSDocTypeTag:()=>XM,isJSDocTypedefTag:()=>D1,isJSDocUnknownTag:()=>VSe,isJSDocUnknownType:()=>Jie,isJSDocVariadicType:()=>R4,isJSXTagName:()=>ZR,isJsonEqual:()=>Z6,isJsonSourceFile:()=>zf,isJsxAttribute:()=>c_,isJsxAttributeLike:()=>xF,isJsxAttributeName:()=>Yre,isJsxAttributes:()=>jS,isJsxCallLike:()=>Lte,isJsxChild:()=>K2,isJsxClosingElement:()=>VS,isJsxClosingFragment:()=>Vie,isJsxElement:()=>l_,isJsxExpression:()=>RD,isJsxFragment:()=>tT,isJsxNamespacedName:()=>fh,isJsxOpeningElement:()=>ph,isJsxOpeningFragment:()=>qm,isJsxOpeningLikeElement:()=>ru,isJsxOpeningLikeElementTagName:()=>Jle,isJsxSelfClosingElement:()=>x1,isJsxSpreadAttribute:()=>QI,isJsxTagNameExpression:()=>GN,isJsxText:()=>GI,isJumpStatementTarget:()=>yO,isKeyword:()=>np,isKeywordOrPunctuation:()=>u6,isKnownSymbol:()=>lM,isLabelName:()=>kq,isLabelOfLabeledStatement:()=>Lq,isLabeledStatement:()=>Wb,isLateVisibilityPaintedStatement:()=>GF,isLeftHandSideExpression:()=>Zu,isLet:()=>UF,isLineBreak:()=>eu,isLiteralComputedPropertyDeclarationName:()=>Rk,isLiteralExpression:()=>YE,isLiteralExpressionOfObject:()=>tG,isLiteralImportTypeNode:()=>ly,isLiteralKind:()=>WN,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>p7,isLiteralTypeLiteral:()=>Ate,isLiteralTypeNode:()=>hv,isLocalName:()=>yy,isLogicalOperator:()=>Zne,isLogicalOrCoalescingAssignmentExpression:()=>vV,isLogicalOrCoalescingAssignmentOperator:()=>fM,isLogicalOrCoalescingBinaryExpression:()=>Wk,isLogicalOrCoalescingBinaryOperator:()=>x6,isMappedTypeNode:()=>T1,isMemberName:()=>mg,isMetaProperty:()=>E1,isMethodDeclaration:()=>Ll,isMethodOrAccessor:()=>lI,isMethodSignature:()=>Um,isMinusToken:()=>Aj,isMissingDeclaration:()=>WSe,isMissingPackageJsonInfo:()=>Zoe,isModifier:()=>Ra,isModifierKind:()=>_b,isModifierLike:()=>vl,isModuleAugmentationExternal:()=>IG,isModuleBlock:()=>a_,isModuleBody:()=>xte,isModuleDeclaration:()=>pc,isModuleExportName:()=>I4,isModuleExportsAccessExpression:()=>Tg,isModuleIdentifier:()=>GG,isModuleName:()=>poe,isModuleOrEnumDeclaration:()=>q2,isModuleReference:()=>Mte,isModuleSpecifierLike:()=>R7,isModuleWithStringLiteralName:()=>BF,isNameOfFunctionDeclaration:()=>Fq,isNameOfModuleDeclaration:()=>Wq,isNamedDeclaration:()=>nd,isNamedEvaluation:()=>Op,isNamedEvaluationSource:()=>eV,isNamedExportBindings:()=>Z9,isNamedExports:()=>Kf,isNamedImportBindings:()=>dG,isNamedImports:()=>s_,isNamedImportsOrExports:()=>k6,isNamedTupleMember:()=>SD,isNamespaceBody:()=>MTe,isNamespaceExport:()=>V_,isNamespaceExportDeclaration:()=>vw,isNamespaceImport:()=>Cg,isNamespaceReexportDeclaration:()=>bne,isNewExpression:()=>GS,isNewExpressionTarget:()=>xP,isNewScopeNode:()=>rie,isNoSubstitutionTemplateLiteral:()=>y1,isNodeArray:()=>hS,isNodeArrayMultiLine:()=>lre,isNodeDescendantOf:()=>xS,isNodeKind:()=>bF,isNodeLikeSystem:()=>s9,isNodeModulesDirectory:()=>aF,isNodeWithPossibleHoistedDeclaration:()=>Mne,isNonContextualKeyword:()=>QG,isNonGlobalAmbientModule:()=>AG,isNonNullAccess:()=>Xre,isNonNullChain:()=>vF,isNonNullExpression:()=>YI,isNonStaticMethodOrAccessorWithPrivateName:()=>Mae,isNotEmittedStatement:()=>Gie,isNullishCoalesce:()=>Q9,isNumber:()=>ib,isNumericLiteral:()=>ip,isNumericLiteralName:()=>Rg,isObjectBindingElementWithoutPropertyName:()=>xO,isObjectBindingOrAssignmentElement:()=>V2,isObjectBindingOrAssignmentPattern:()=>oG,isObjectBindingPattern:()=>mf,isObjectLiteralElement:()=>uG,isObjectLiteralElementLike:()=>sy,isObjectLiteralExpression:()=>za,isObjectLiteralMethod:()=>ym,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>KF,isObjectTypeDeclaration:()=>CI,isOmittedExpression:()=>qc,isOptionalChain:()=>tu,isOptionalChainRoot:()=>LN,isOptionalDeclaration:()=>OI,isOptionalJSDocPropertyLikeTag:()=>iw,isOptionalTypeNode:()=>b4,isOuterExpression:()=>k4,isOutermostOptionalChain:()=>kN,isOverrideModifier:()=>Pie,isPackageJsonInfo:()=>o3,isPackedArrayLiteral:()=>ZV,isParameter:()=>no,isParameterPropertyDeclaration:()=>Lp,isParameterPropertyModifier:()=>FN,isParenthesizedExpression:()=>zu,isParenthesizedTypeNode:()=>b1,isParseTreeNode:()=>PN,isPartOfParameterDeclaration:()=>U0,isPartOfTypeNode:()=>Yh,isPartOfTypeOnlyImportOrExportDeclaration:()=>gte,isPartOfTypeQuery:()=>n6,isPartiallyEmittedExpression:()=>Oie,isPatternMatch:()=>HW,isPinnedComment:()=>FF,isPlainJsFile:()=>jN,isPlusToken:()=>Ej,isPossiblyTypeArgumentPosition:()=>TO,isPostfixUnaryExpression:()=>Dj,isPrefixUnaryExpression:()=>$0,isPrimitiveLiteralValue:()=>a4,isPrivateIdentifier:()=>to,isPrivateIdentifierClassElementDeclaration:()=>nu,isPrivateIdentifierPropertyAccessExpression:()=>GR,isPrivateIdentifierSymbol:()=>One,isProgramUptoDate:()=>MH,isPrologueDirective:()=>Xh,isPropertyAccessChain:()=>gF,isPropertyAccessEntityNameExpression:()=>zk,isPropertyAccessExpression:()=>Jr,isPropertyAccessOrQualifiedName:()=>U2,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>Ste,isPropertyAssignment:()=>Rc,isPropertyDeclaration:()=>ko,isPropertyName:()=>yc,isPropertyNameLiteral:()=>$h,isPropertySignature:()=>Eu,isPrototypeAccess:()=>Db,isPrototypePropertyAssignment:()=>bk,isPunctuation:()=>$G,isPushOrUnshiftIdentifier:()=>tV,isQualifiedName:()=>Wu,isQuestionDotToken:()=>y4,isQuestionOrExclamationToken:()=>loe,isQuestionOrPlusOrMinusToken:()=>uoe,isQuestionToken:()=>kb,isReadonlyKeyword:()=>Nie,isReadonlyKeywordOrPlusOrMinusToken:()=>doe,isRecognizedTripleSlashComment:()=>vG,isReferenceFileLocation:()=>KD,isReferencedFile:()=>uT,isRegularExpressionLiteral:()=>Tj,isRequireCall:()=>tp,isRequireVariableStatement:()=>mk,isRestParameter:()=>w_,isRestTypeNode:()=>T4,isReturnStatement:()=>rf,isReturnStatementWithFixablePromiseHandler:()=>K7,isRightSideOfAccessExpression:()=>SV,isRightSideOfInstanceofExpression:()=>tre,isRightSideOfPropertyAccess:()=>ZD,isRightSideOfQualifiedName:()=>Kle,isRightSideOfQualifiedNameOrPropertyAccess:()=>mM,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>ere,isRootedDiskPath:()=>Pp,isSameEntityName:()=>eD,isSatisfiesExpression:()=>ID,isSemicolonClassElement:()=>Wie,isSetAccessor:()=>Jh,isSetAccessorDeclaration:()=>bp,isShiftOperatorOrHigher:()=>$j,isShorthandAmbientModuleSymbol:()=>Z2,isShorthandPropertyAssignment:()=>Ud,isSideEffectImport:()=>aj,isSignedNumericLiteral:()=>f6,isSimpleCopiableExpression:()=>KS,isSimpleInlineableExpression:()=>H_,isSimpleParameterList:()=>Jw,isSingleOrDoubleQuote:()=>hk,isSolutionConfig:()=>bU,isSourceElement:()=>Qre,isSourceFile:()=>Qi,isSourceFileFromLibrary:()=>cC,isSourceFileJS:()=>wu,isSourceFileNotJson:()=>i6,isSourceMapping:()=>Dae,isSpecialPropertyDeclaration:()=>Ane,isSpreadAssignment:()=>Ng,isSpreadElement:()=>Jf,isStatement:()=>Gi,isStatementButNotDeclaration:()=>J2,isStatementOrBlock:()=>Nte,isStatementWithLocals:()=>Vte,isStatic:()=>ha,isStaticModifier:()=>UI,isString:()=>jo,isStringANonContextualKeyword:()=>EI,isStringAndEmptyAnonymousObjectIntersection:()=>ace,isStringDoubleQuoted:()=>a6,isStringLiteral:()=>Oa,isStringLiteralLike:()=>ds,isStringLiteralOrJsxExpression:()=>Pte,isStringLiteralOrTemplate:()=>Ace,isStringOrNumericLiteralLike:()=>pf,isStringOrRegularExpressionOrTemplateLiteral:()=>qq,isStringTextContainingNode:()=>nG,isSuperCall:()=>r1,isSuperKeyword:()=>BM,isSuperProperty:()=>gp,isSupportedSourceFileName:()=>qV,isSwitchStatement:()=>HM,isSyntaxList:()=>PD,isSyntheticExpression:()=>NSe,isSyntheticReference:()=>$I,isTagName:()=>wq,isTaggedTemplateExpression:()=>Y0,isTaggedTemplateTag:()=>Hle,isTemplateExpression:()=>E4,isTemplateHead:()=>VI,isTemplateLiteral:()=>cI,isTemplateLiteralKind:()=>mb,isTemplateLiteralToken:()=>hte,isTemplateLiteralTypeNode:()=>kie,isTemplateLiteralTypeSpan:()=>Rj,isTemplateMiddle:()=>Sj,isTemplateMiddleOrTemplateTail:()=>TF,isTemplateSpan:()=>xD,isTemplateTail:()=>_4,isTextWhiteSpaceLike:()=>pce,isThis:()=>eC,isThisContainerOrFunctionBlock:()=>gne,isThisIdentifier:()=>Rb,isThisInTypeQuery:()=>NS,isThisInitializedDeclaration:()=>ZF,isThisInitializedObjectBindingExpression:()=>vne,isThisProperty:()=>ck,isThisTypeNode:()=>jM,isThisTypeParameter:()=>PM,isThisTypePredicate:()=>mne,isThrowStatement:()=>Mj,isToken:()=>aI,isTokenKind:()=>eG,isTraceEnabled:()=>zb,isTransientSymbol:()=>_g,isTrivia:()=>oD,isTryStatement:()=>A1,isTupleTypeNode:()=>JI,isTypeAlias:()=>Ek,isTypeAliasDeclaration:()=>Em,isTypeAssertionExpression:()=>S4,isTypeDeclaration:()=>wI,isTypeElement:()=>_S,isTypeKeyword:()=>NP,isTypeKeywordTokenOrIdentifier:()=>A7,isTypeLiteralNode:()=>Fu,isTypeNode:()=>xi,isTypeNodeKind:()=>PV,isTypeOfExpression:()=>ED,isTypeOnlyExportDeclaration:()=>_te,isTypeOnlyImportDeclaration:()=>BR,isTypeOnlyImportOrExportDeclaration:()=>nv,isTypeOperatorNode:()=>X0,isTypeParameterDeclaration:()=>pl,isTypePredicateNode:()=>qI,isTypeQueryNode:()=>FS,isTypeReferenceNode:()=>Bp,isTypeReferenceType:()=>NF,isTypeUsableAsPropertyName:()=>Uf,isUMDExportSymbol:()=>L6,isUnaryExpression:()=>lG,isUnaryExpressionWithWrite:()=>Ete,isUnicodeIdentifierStart:()=>lF,isUnionTypeNode:()=>mv,isUrl:()=>Nee,isValidBigIntString:()=>e4,isValidESSymbolDeclaration:()=>une,isValidTypeOnlyAliasUseSite:()=>q0,isValueSignatureDeclaration:()=>c1,isVarAwaitUsing:()=>ik,isVarConst:()=>XR,isVarConstLike:()=>sne,isVarUsing:()=>ok,isVariableDeclaration:()=>bi,isVariableDeclarationInVariableStatement:()=>JN,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>ES,isVariableDeclarationInitializedToRequire:()=>fk,isVariableDeclarationList:()=>_d,isVariableLike:()=>qN,isVariableStatement:()=>sc,isVoidExpression:()=>XI,isWatchSet:()=>CV,isWhileStatement:()=>Nj,isWhiteSpaceLike:()=>ug,isWhiteSpaceSingleLine:()=>Hh,isWithStatement:()=>Fie,isWriteAccess:()=>DI,isWriteOnlyAccess:()=>P6,isYieldExpression:()=>gw,jsxModeNeedsExplicitImport:()=>RJ,keywordPart:()=>Hp,last:()=>Ga,lastOrUndefined:()=>rl,length:()=>et,libMap:()=>oU,libs:()=>G4,lineBreakPart:()=>aC,loadModuleFromGlobalCache:()=>dae,loadWithModeAwareCache:()=>iO,makeIdentifierFromModuleName:()=>Xte,makeImport:()=>qb,makeStringLiteral:()=>MP,mangleScopedPackageName:()=>jD,map:()=>Gt,mapAllOrFail:()=>C0,mapDefined:()=>Hi,mapDefinedIterator:()=>pm,mapEntries:()=>ZQ,mapIterator:()=>ta,mapOneOrMany:()=>EJ,mapToDisplayParts:()=>Jb,matchFiles:()=>Pre,matchPatternOrExact:()=>JV,matchedText:()=>fZ,matchesExclude:()=>e3,matchesExcludeWorker:()=>t3,maxBy:()=>e9,maybeBind:()=>la,maybeSetLocalizedDiagnosticMessages:()=>gre,memoize:()=>Lu,memoizeOne:()=>jh,min:()=>t9,minAndMax:()=>zre,missingFileModifiedTime:()=>Mp,modifierToFlag:()=>xI,modifiersToFlags:()=>e_,moduleExportNameIsDefault:()=>O_,moduleExportNameTextEscaped:()=>bS,moduleExportNameTextUnescaped:()=>Sb,moduleOptionDeclaration:()=>Aoe,moduleResolutionIsEqualTo:()=>Bte,moduleResolutionNameAndModeGetter:()=>P3,moduleResolutionOptionDeclarations:()=>sU,moduleResolutionSupportsPackageJsonExportsAndImports:()=>mD,moduleResolutionUsesNodeModules:()=>I7,moduleSpecifierToValidIdentifier:()=>kO,moduleSpecifiers:()=>by,moduleSupportsImportAttributes:()=>Are,moduleSymbolToValidIdentifier:()=>LO,moveEmitHelpers:()=>gie,moveRangeEnd:()=>N6,moveRangePastDecorators:()=>fy,moveRangePastModifiers:()=>t_,moveRangePos:()=>H0,moveSyntheticComments:()=>mie,mutateMap:()=>vM,mutateMapSkippingNewValues:()=>Eg,needsParentheses:()=>M7,needsScopeMarker:()=>AF,newCaseClauseTracker:()=>j7,newPrivateEnvironment:()=>Lae,noEmitNotification:()=>$w,noEmitSubstitution:()=>hP,noTransformers:()=>dse,noTruncationMaximumTruncationLength:()=>mG,nodeCanBeDecorated:()=>uk,nodeCoreModules:()=>yD,nodeHasName:()=>w2,nodeIsDecorated:()=>QR,nodeIsMissing:()=>Wl,nodeIsPresent:()=>gm,nodeIsSynthesized:()=>zs,nodeModuleNameResolver:()=>rae,nodeModulesPathPart:()=>Mg,nodeNextJsonConfigResolver:()=>iae,nodeOrChildIsDecorated:()=>pk,nodeOverlapsWithStartEnd:()=>f7,nodePosToString:()=>wTe,nodeSeenTracker:()=>rC,nodeStartsNewLexicalEnvironment:()=>nV,noop:()=>vs,noopFileWatcher:()=>$D,normalizePath:()=>Sa,normalizeSlashes:()=>Bd,normalizeSpans:()=>j9,not:()=>JW,notImplemented:()=>ba,notImplementedResolver:()=>hse,nullNodeConverters:()=>uie,nullParenthesizerRules:()=>cie,nullTransformationContext:()=>Zw,objectAllocator:()=>xd,operatorPart:()=>LP,optionDeclarations:()=>Jm,optionMapToObject:()=>K4,optionsAffectingProgramStructure:()=>Doe,optionsForBuild:()=>cU,optionsForWatch:()=>ix,optionsHaveChanges:()=>pI,or:()=>Np,orderedRemoveItem:()=>hN,orderedRemoveItemAt:()=>lb,packageIdToPackageName:()=>OF,packageIdToString:()=>O0,parameterIsThisKeyword:()=>xb,parameterNamePart:()=>mce,parseBaseNodeFactory:()=>yoe,parseBigInt:()=>Gre,parseBuildCommand:()=>Ooe,parseCommandLine:()=>koe,parseCommandLineWorker:()=>dU,parseConfigFileTextToJson:()=>pU,parseConfigFileWithSystem:()=>ele,parseConfigHostFromCompilerHostLike:()=>F3,parseCustomTypeOption:()=>H4,parseIsolatedEntityName:()=>rx,parseIsolatedJSDocComment:()=>boe,parseJSDocTypeExpressionForTests:()=>fEe,parseJsonConfigFileContent:()=>jEe,parseJsonSourceFileConfigFileContent:()=>Ww,parseJsonText:()=>Mw,parseListTypeOption:()=>Poe,parseNodeFactory:()=>oT,parseNodeModuleFromPath:()=>Gw,parsePackageName:()=>l3,parsePseudoBigInt:()=>DM,parseValidBigInt:()=>$V,pasteEdits:()=>xX,patchWriteFileEnsuringDirectory:()=>$0e,pathContainsNodeModules:()=>Gb,pathIsAbsolute:()=>EN,pathIsBareSpecifier:()=>L9,pathIsRelative:()=>tf,patternText:()=>pZ,performIncrementalCompilation:()=>tle,performance:()=>TZ,positionBelongsToNode:()=>zq,positionIsASICandidate:()=>k7,positionIsSynthesized:()=>dh,positionsAreOnSameLine:()=>Vf,preProcessFile:()=>Zxe,probablyUsesSemicolons:()=>MO,processCommentPragmas:()=>rU,processPragmasIntoFields:()=>iU,processTaggedTemplateExpression:()=>oH,programContainsEsModules:()=>dce,programContainsModules:()=>cce,projectReferenceIsEqualTo:()=>hG,propertyNamePart:()=>hce,pseudoBigIntToString:()=>wS,punctuationPart:()=>lu,pushIfUnique:()=>wf,quote:()=>OP,quotePreferenceFromString:()=>nJ,rangeContainsPosition:()=>tC,rangeContainsPositionExclusive:()=>vO,rangeContainsRange:()=>rp,rangeContainsRangeExclusive:()=>Yle,rangeContainsStartEnd:()=>bO,rangeEndIsOnSameLineAsRangeStart:()=>Vk,rangeEndPositionsAreOnSameLine:()=>are,rangeEquals:()=>qB,rangeIsOnSingleLine:()=>f1,rangeOfNode:()=>XV,rangeOfTypeParameters:()=>YV,rangeOverlapsWithStartEnd:()=>RP,rangeStartIsOnSameLineAsRangeEnd:()=>sre,rangeStartPositionsAreOnSameLine:()=>M6,readBuilderProgram:()=>X3,readConfigFile:()=>ww,readJson:()=>dD,readJsonConfigFile:()=>Woe,readJsonOrUndefined:()=>AV,reduceEachLeadingCommentRange:()=>Fee,reduceEachTrailingCommentRange:()=>zee,reduceLeft:()=>yu,reduceLeftIterator:()=>Ln,reducePathComponents:()=>iI,refactor:()=>yx,regExpEscape:()=>dSe,regularExpressionFlagToCharacterCode:()=>cTe,relativeComplement:()=>eZ,removeAllComments:()=>dw,removeEmitHelper:()=>xSe,removeExtension:()=>ew,removeFileExtension:()=>Su,removeIgnoredPath:()=>V3,removeMinAndVersionNumbers:()=>r9,removePrefix:()=>_N,removeSuffix:()=>CR,removeTrailingDirectorySeparator:()=>ev,repeatString:()=>AO,replaceElement:()=>XB,replaceFirstStar:()=>h1,resolutionExtensionIsTSOrJson:()=>AM,resolveConfigFileProjectName:()=>cq,resolveJSModule:()=>T1e,resolveLibrary:()=>s3,resolveModuleName:()=>P1,resolveModuleNameFromCache:()=>v1e,resolvePackageNameToPackageJson:()=>AU,resolvePath:()=>db,resolveProjectReferencePath:()=>dx,resolveTripleslashReference:()=>SH,resolveTypeReferenceDirective:()=>$oe,resolvingEmptyArray:()=>fG,returnFalse:()=>ry,returnNoopFileWatcher:()=>EP,returnTrue:()=>dS,returnUndefined:()=>uS,returnsPromise:()=>GJ,rewriteModuleSpecifier:()=>sx,sameFlatMap:()=>Fm,sameMap:()=>Ui,sameMapping:()=>dAe,scanTokenAtPosition:()=>ane,scanner:()=>yd,semanticDiagnosticsOptionDeclarations:()=>Ioe,serializeCompilerOptions:()=>gU,server:()=>e8e,servicesVersion:()=>VDe,setCommentRange:()=>Ic,setConfigFileInOptions:()=>yU,setConstantValue:()=>_ie,setEmitFlags:()=>Dr,setGetSourceFileAsHashVersioned:()=>K3,setIdentifierAutoGenerate:()=>fw,setIdentifierGeneratedImportReference:()=>bie,setIdentifierTypeArguments:()=>fv,setInternalEmitFlags:()=>uw,setLocalizedDiagnosticMessages:()=>_re,setNodeChildren:()=>Yie,setNodeFlags:()=>Ure,setObjectAllocator:()=>hre,setOriginalNode:()=>jr,setParent:()=>ps,setParentRecursive:()=>J0,setPrivateIdentifier:()=>k1,setSnippetElement:()=>vj,setSourceMapRange:()=>Ha,setStackTraceLimit:()=>U0e,setStartsOnNewLine:()=>p4,setSyntheticLeadingComments:()=>K0,setSyntheticTrailingComments:()=>zI,setSys:()=>Q0e,setSysLog:()=>Dee,setTextRange:()=>Tt,setTextRangeEnd:()=>gD,setTextRangePos:()=>CM,setTextRangePosEnd:()=>uh,setTextRangePosWidth:()=>QV,setTokenSourceMapRange:()=>fie,setTypeNode:()=>yie,setUILocale:()=>cZ,setValueDeclaration:()=>eM,shouldAllowImportingTsExtension:()=>UD,shouldPreserveConstEnums:()=>Cb,shouldRewriteModuleSpecifier:()=>Sk,shouldUseUriStyleNodeCoreModules:()=>G7,showModuleSpecifier:()=>pre,signatureHasRestParameter:()=>su,signatureToDisplayParts:()=>fJ,single:()=>KB,singleElementArray:()=>tI,singleIterator:()=>GW,singleOrMany:()=>M_,singleOrUndefined:()=>cg,skipAlias:()=>Id,skipConstraint:()=>Zq,skipOuterExpressions:()=>Hl,skipParentheses:()=>us,skipPartiallyEmittedExpressions:()=>Bm,skipTrivia:()=>wa,skipTypeChecking:()=>_D,skipTypeCheckingIgnoringNoCheck:()=>Bre,skipTypeParentheses:()=>nM,skipWhile:()=>hZ,sliceAfter:()=>KV,some:()=>bt,sortAndDeduplicate:()=>mN,sortAndDeduplicateDiagnostics:()=>WR,sourceFileAffectingCompilerOptions:()=>lU,sourceFileMayBeEmitted:()=>DS,sourceMapCommentRegExp:()=>JU,sourceMapCommentRegExpDontCareLineStart:()=>Iae,spacePart:()=>Bl,spanMap:()=>f2,startEndContainsRange:()=>RV,startEndOverlapsWithStartEnd:()=>m7,startOnNewLine:()=>au,startTracing:()=>IZ,startsWith:()=>fo,startsWithDirectory:()=>O9,startsWithUnderscore:()=>xJ,startsWithUseStrict:()=>roe,stringContainsAt:()=>Mce,stringToToken:()=>qE,stripQuotes:()=>bm,supportedDeclarationExtensions:()=>Y6,supportedJSExtensionsFlat:()=>hD,supportedLocaleDirectories:()=>ete,supportedTSExtensionsFlat:()=>UV,supportedTSImplementationExtensions:()=>$k,suppressLeadingAndTrailingTrivia:()=>zp,suppressLeadingTrivia:()=>fj,suppressTrailingTrivia:()=>oie,symbolEscapedNameNoDefault:()=>x7,symbolName:()=>Ol,symbolNameNoDefault:()=>iJ,symbolToDisplayParts:()=>kP,sys:()=>Vc,sysLog:()=>tF,tagNamesAreEquivalent:()=>sT,takeWhile:()=>a9,targetOptionDeclaration:()=>aU,targetToLibMap:()=>Bee,testFormatSettings:()=>Txe,textChangeRangeIsUnchanged:()=>Xee,textChangeRangeNewSpan:()=>MN,textChanges:()=>Ir,textOrKeywordPart:()=>pJ,textPart:()=>vf,textRangeContainsPositionInclusive:()=>M2,textRangeContainsTextSpan:()=>jee,textRangeIntersectsWithTextSpan:()=>Jee,textSpanContainsPosition:()=>G9,textSpanContainsTextRange:()=>V9,textSpanContainsTextSpan:()=>Vee,textSpanEnd:()=>Ml,textSpanIntersection:()=>Kee,textSpanIntersectsWith:()=>P2,textSpanIntersectsWithPosition:()=>qee,textSpanIntersectsWithTextSpan:()=>Hee,textSpanIsEmpty:()=>Gee,textSpanOverlap:()=>Uee,textSpanOverlapsWith:()=>gTe,textSpansEqual:()=>oC,textToKeywordObj:()=>sF,timestamp:()=>Os,toArray:()=>ZA,toBuilderFileEmit:()=>jse,toBuilderStateFileInfoForMultiEmit:()=>Vse,toEditorSettings:()=>VO,toFileNameLowerCase:()=>ob,toPath:()=>Ws,toProgramEmitPending:()=>Use,toSorted:()=>Cp,tokenIsIdentifierOrKeyword:()=>$u,tokenIsIdentifierOrKeywordOrGreaterThan:()=>Pee,tokenToString:()=>Ta,trace:()=>Co,tracing:()=>Ar,tracingEnabled:()=>S2,transferSourceFileChildren:()=>$ie,transform:()=>QDe,transformClassFields:()=>jae,transformDeclarations:()=>cH,transformECMAScriptModule:()=>lH,transformES2015:()=>rse,transformES2016:()=>nse,transformES2017:()=>Jae,transformES2018:()=>Kae,transformES2019:()=>Xae,transformES2020:()=>Yae,transformES2021:()=>$ae,transformESDecorators:()=>qae,transformESNext:()=>Qae,transformGenerators:()=>ise,transformImpliedNodeFormatDependentModule:()=>ase,transformJsx:()=>tse,transformLegacyDecorators:()=>Hae,transformModule:()=>sH,transformNamedEvaluation:()=>Vp,transformNodes:()=>Qw,transformSystemModule:()=>ose,transformTypeScript:()=>Vae,transpile:()=>lRe,transpileDeclaration:()=>aRe,transpileModule:()=>ede,transpileOptionValueCompilerOptions:()=>Coe,tryAddToSet:()=>rh,tryAndIgnoreErrors:()=>W7,tryCast:()=>ii,tryDirectoryExists:()=>O7,tryExtractTSExtension:()=>C6,tryFileExists:()=>FP,tryGetClassExtendingExpressionWithTypeArguments:()=>bV,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>TV,tryGetDirectories:()=>w7,tryGetExtensionFromPath:()=>xg,tryGetImportFromModuleSpecifier:()=>Tk,tryGetJSDocSatisfiesTypeNode:()=>i4,tryGetModuleNameFromFile:()=>Iw,tryGetModuleSpecifierFromDeclaration:()=>yI,tryGetNativePerformanceHooks:()=>bZ,tryGetPropertyAccessOrIdentifierToString:()=>Bk,tryGetPropertyNameOfBindingOrAssignmentElement:()=>O4,tryGetSourceMappingURL:()=>xae,tryGetTextOfPropertyName:()=>HN,tryParseJson:()=>Gk,tryParsePattern:()=>kI,tryParsePatterns:()=>tw,tryParseRawSourceMap:()=>Rae,tryReadDirectory:()=>vJ,tryReadFile:()=>eP,tryRemoveDirectoryPrefix:()=>GV,tryRemoveExtension:()=>Wre,tryRemovePrefix:()=>o9,tryRemoveSuffix:()=>uZ,tscBuildOption:()=>N1,typeAcquisitionDeclarations:()=>j4,typeAliasNamePart:()=>_ce,typeDirectiveIsEqualTo:()=>Gte,typeKeywords:()=>Qq,typeParameterNamePart:()=>gce,typeToDisplayParts:()=>DO,unchangedPollThresholds:()=>ZW,unchangedTextChangeRange:()=>uF,unescapeLeadingUnderscores:()=>Bi,unmangleScopedPackageName:()=>jw,unorderedRemoveItem:()=>eI,unprefixedNodeCoreModules:()=>nie,unreachableCodeIsError:()=>Sre,unsetNodeChildren:()=>Gj,unusedLabelIsError:()=>Ere,unwrapInnermostStatementOfLabel:()=>OG,unwrapParenthesizedExpression:()=>eie,updateErrorForNoInputFiles:()=>Z4,updateLanguageServiceSourceFile:()=>mK,updateMissingFilePathsWatch:()=>vH,updateResolutionField:()=>zD,updateSharedExtendedConfigFileWatcher:()=>D3,updateSourceFile:()=>tU,updateWatchingWildcardDirectories:()=>tO,usingSingleLineStringWriter:()=>HR,utf16EncodeAsString:()=>NN,validateLocaleAndSetLanguage:()=>H9,version:()=>Me,versionMajorMinor:()=>fe,visitArray:()=>lP,visitCommaListElements:()=>_3,visitEachChild:()=>kn,visitFunctionBody:()=>yf,visitIterationBody:()=>Bu,visitLexicalEnvironment:()=>qU,visitNode:()=>st,visitNodes:()=>Jn,visitParameterList:()=>zl,walkUpBindingElementsAndPatterns:()=>JE,walkUpOuterExpressions:()=>ioe,walkUpParenthesizedExpressions:()=>Vm,walkUpParenthesizedTypes:()=>xk,walkUpParenthesizedTypesAndGetParentAndChild:()=>Pne,whitespaceOrMapCommentRegExp:()=>KU,writeCommentRange:()=>cD,writeFile:()=>E6,writeFileEnsuringDirectories:()=>fV,zipWith:()=>Ji}),b.exports=W(X);var fe="5.9",Me="5.9.3",qe=(e=>(e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan",e))(qe||{}),se=[],mt=new Map;function et(e){return e!==void 0?e.length:0}function Xe(e,t){if(e!==void 0)for(let r=0;r<e.length;r++){const i=t(e[r],r);if(i)return i}}function Mn(e,t){if(e!==void 0)for(let r=e.length-1;r>=0;r--){const i=t(e[r],r);if(i)return i}}function Wn(e,t){if(e!==void 0)for(let r=0;r<e.length;r++){const i=t(e[r],r);if(i!==void 0)return i}}function qn(e,t){for(const r of e){const i=t(r);if(i!==void 0)return i}}function Ln(e,t,r){let i=r;if(e){let o=0;for(const s of e)i=t(i,s,o),o++}return i}function Ji(e,t,r){const i=[];C.assertEqual(e.length,t.length);for(let o=0;o<e.length;o++)i.push(r(e[o],t[o],o));return i}function ho(e,t){if(e.length<=1)return e;const r=[];for(let i=0,o=e.length;i<o;i++)i!==0&&r.push(t),r.push(e[i]);return r}function Gn(e,t){if(e!==void 0){for(let r=0;r<e.length;r++)if(!t(e[r],r))return!1}return!0}function _n(e,t,r){if(e!==void 0)for(let i=r!=null?r:0;i<e.length;i++){const o=e[i];if(t(o,i))return o}}function pa(e,t,r){if(e!==void 0)for(let i=r!=null?r:e.length-1;i>=0;i--){const o=e[i];if(t(o,i))return o}}function lo(e,t,r){if(e===void 0)return-1;for(let i=r!=null?r:0;i<e.length;i++)if(t(e[i],i))return i;return-1}function Ys(e,t,r){if(e===void 0)return-1;for(let i=r!=null?r:e.length-1;i>=0;i--)if(t(e[i],i))return i;return-1}function Vn(e,t,r=ab){if(e!==void 0){for(let i=0;i<e.length;i++)if(r(e[i],t))return!0}return!1}function zi(e,t,r){for(let i=r!=null?r:0;i<e.length;i++)if(Vn(t,e.charCodeAt(i)))return i;return-1}function po(e,t){let r=0;if(e!==void 0)for(let i=0;i<e.length;i++){const o=e[i];t(o,i)&&r++}return r}function Fn(e,t){if(e!==void 0){const r=e.length;let i=0;for(;i<r&&t(e[i]);)i++;if(i<r){const o=e.slice(0,i);for(i++;i<r;){const s=e[i];t(s)&&o.push(s),i++}return o}}return e}function ws(e,t){let r=0;for(let i=0;i<e.length;i++)t(e[i],i,e)&&(e[r]=e[i],r++);e.length=r}function ai(e){e.length=0}function Gt(e,t){let r;if(e!==void 0){r=[];for(let i=0;i<e.length;i++)r.push(t(e[i],i))}return r}function*ta(e,t){for(const r of e)yield t(r)}function Ui(e,t){if(e!==void 0)for(let r=0;r<e.length;r++){const i=e[r],o=t(i,r);if(i!==o){const s=e.slice(0,r);for(s.push(o),r++;r<e.length;r++)s.push(t(e[r],r));return s}}return e}function Qo(e){const t=[];for(let r=0;r<e.length;r++){const i=e[r];i&&(Lo(i)?$r(t,i):t.push(i))}return t}function Wi(e,t){let r;if(e!==void 0)for(let i=0;i<e.length;i++){const o=t(e[i],i);o&&(Lo(o)?r=$r(r,o):r=jn(r,o))}return r!=null?r:se}function Ul(e,t){const r=[];if(e!==void 0)for(let i=0;i<e.length;i++){const o=t(e[i],i);o&&(Lo(o)?$r(r,o):r.push(o))}return r}function*cf(e,t){for(const r of e){const i=t(r);i&&(yield*i)}}function Fm(e,t){let r;if(e!==void 0)for(let i=0;i<e.length;i++){const o=e[i],s=t(o,i);(r||o!==s||Lo(s))&&(r||(r=e.slice(0,i)),Lo(s)?$r(r,s):r.push(s))}return r!=null?r:e}function C0(e,t){const r=[];for(let i=0;i<e.length;i++){const o=t(e[i],i);if(o===void 0)return;r.push(o)}return r}function Hi(e,t){const r=[];if(e!==void 0)for(let i=0;i<e.length;i++){const o=t(e[i],i);o!==void 0&&r.push(o)}return r}function*pm(e,t){for(const r of e){const i=t(r);i!==void 0&&(yield i)}}function XA(e,t,r){if(e.has(t))return e.get(t);const i=r();return e.set(t,i),i}function rh(e,t){return e.has(t)?!1:(e.add(t),!0)}function*GW(e){yield e}function f2(e,t,r){let i;if(e!==void 0){i=[];const o=e.length;let s,l,u=0,d=0;for(;u<o;){for(;d<o;){const _=e[d];if(l=t(_,d),d===0)s=l;else if(l!==s)break;d++}if(u<d){const _=r(e.slice(u,d),s,u,d);_&&i.push(_),u=d}s=l,d++}}return i}function ZQ(e,t){if(e===void 0)return;const r=new Map;return e.forEach((i,o)=>{const[s,l]=t(o,i);r.set(s,l)}),r}function bt(e,t){if(e!==void 0)if(t!==void 0){for(let r=0;r<e.length;r++)if(t(e[r]))return!0}else return e.length>0;return!1}function jB(e,t,r){let i;for(let o=0;o<e.length;o++)t(e[o])?i=i===void 0?o:i:i!==void 0&&(r(i,o),i=void 0);i!==void 0&&r(i,e.length)}function co(e,t){return t===void 0||t.length===0?e:e===void 0||e.length===0?t:[...e,...t]}function YBe(e,t){return t}function VW(e){return e.map(YBe)}function $Be(e,t,r){const i=VW(e);e9e(e,i,r);let o=e[i[0]];const s=[i[0]];for(let l=1;l<i.length;l++){const u=i[l],d=e[u];t(o,d)||(s.push(u),o=d)}return s.sort(),s.map(l=>e[l])}function QBe(e,t){const r=[];for(let i=0;i<e.length;i++)wf(r,e[i],t);return r}function cS(e,t,r){return e.length===0?[]:e.length===1?e.slice():r?$Be(e,t,r):QBe(e,t)}function ZBe(e,t){if(e.length===0)return se;let r=e[0];const i=[r];for(let o=1;o<e.length;o++){const s=e[o];switch(t(s,r)){case!0:case 0:continue;case-1:return C.fail("Array is unsorted.")}i.push(r=s)}return i}function UB(){return[]}function tb(e,t,r,i,o){if(e.length===0)return e.push(t),!0;const s=rb(e,t,qs,r);if(s<0){if(i&&!o){const l=~s;if(l>0&&i(t,e[l-1]))return!1;if(l<e.length&&i(t,e[l]))return e.splice(l,1,t),!0}return e.splice(~s,0,t),!0}return o?(e.splice(s,0,t),!0):!1}function mN(e,t,r){var i;return ZBe(Cp(e,t),(i=r!=null?r:t)!=null?i:Wd)}function ef(e,t,r=ab){if(e===void 0||t===void 0)return e===t;if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(!r(e[i],t[i],i))return!1;return!0}function m2(e){let t;if(e!==void 0)for(let r=0;r<e.length;r++){const i=e[r];(t!=null?t:!i)&&(t!=null||(t=e.slice(0,r)),i&&t.push(i))}return t!=null?t:e}function eZ(e,t,r){if(!t||!e||t.length===0||e.length===0)return t;const i=[];e:for(let o=0,s=0;s<t.length;s++){s>0&&C.assertGreaterThanOrEqual(r(t[s],t[s-1]),0);t:for(const l=o;o<e.length;o++)switch(o>l&&C.assertGreaterThanOrEqual(r(e[o],e[o-1]),0),r(t[s],e[o])){case-1:i.push(t[s]);continue e;case 0:continue e;case 1:continue t}}return i}function jn(e,t){return t===void 0?e:e===void 0?[t]:(e.push(t),e)}function YA(e,t){return e===void 0?t:t===void 0?e:Lo(e)?Lo(t)?co(e,t):jn(e,t):Lo(t)?jn(t,e):[e,t]}function tZ(e,t){return t<0?e.length+t:t}function $r(e,t,r,i){if(t===void 0||t.length===0)return e;if(e===void 0)return t.slice(r,i);r=r===void 0?0:tZ(t,r),i=i===void 0?t.length:tZ(t,i);for(let o=r;o<i&&o<t.length;o++)t[o]!==void 0&&e.push(t[o]);return e}function wf(e,t,r){return Vn(e,t,r)?!1:(e.push(t),!0)}function ny(e,t,r){return e!==void 0?(wf(e,t,r),e):[t]}function e9e(e,t,r){t.sort((i,o)=>r(e[i],e[o])||Js(i,o))}function Cp(e,t){return e.length===0?se:e.slice().sort(t)}function*HB(e){for(let t=e.length-1;t>=0;t--)yield e[t]}function qB(e,t,r,i){for(;r<i;){if(e[r]!==t[r])return!1;r++}return!0}var nb=Array.prototype.at?(e,t)=>e==null?void 0:e.at(t):(e,t)=>{if(e!==void 0&&(t=tZ(e,t),t<e.length))return e[t]};function Sc(e){return e===void 0||e.length===0?void 0:e[0]}function jW(e){if(e!==void 0)for(const t of e)return t}function Qa(e){return C.assert(e.length!==0),e[0]}function JB(e){for(const t of e)return t;C.fail("iterator is empty")}function rl(e){return e===void 0||e.length===0?void 0:e[e.length-1]}function Ga(e){return C.assert(e.length!==0),e[e.length-1]}function cg(e){return e!==void 0&&e.length===1?e[0]:void 0}function KB(e){return C.checkDefined(cg(e))}function M_(e){return e!==void 0&&e.length===1?e[0]:e}function XB(e,t,r){const i=e.slice(0);return i[t]=r,i}function rb(e,t,r,i,o){return $A(e,r(t),r,i,o)}function $A(e,t,r,i,o){if(!bt(e))return-1;let s=o!=null?o:0,l=e.length-1;for(;s<=l;){const u=s+(l-s>>1),d=r(e[u],u);switch(i(d,t)){case-1:s=u+1;break;case 0:return u;case 1:l=u-1;break}}return~s}function yu(e,t,r,i,o){if(e&&e.length>0){const s=e.length;if(s>0){let l=i===void 0||i<0?0:i;const u=o===void 0||l+o>s-1?s-1:l+o;let d;for(arguments.length<=2?(d=e[l],l++):d=r;l<=u;)d=t(d,e[l],l),l++;return d}}return r}var N0=Object.prototype.hasOwnProperty;function Ms(e,t){return N0.call(e,t)}function h2(e,t){return N0.call(e,t)?e[t]:void 0}function Vh(e){const t=[];for(const r in e)N0.call(e,r)&&t.push(r);return t}function D0e(e){const t=[];do{const r=Object.getOwnPropertyNames(e);for(const i of r)wf(t,i)}while(e=Object.getPrototypeOf(e));return t}function QA(e){const t=[];for(const r in e)N0.call(e,r)&&t.push(e[r]);return t}function nZ(e,t){const r=new Array(e);for(let i=0;i<e;i++)r[i]=t(i);return r}function Mo(e,t){const r=[];for(const i of e)r.push(t?t(i):i);return r}function VE(e,...t){for(const r of t)if(r!==void 0)for(const i in r)Ms(r,i)&&(e[i]=r[i]);return e}function rZ(e,t,r=ab){if(e===t)return!0;if(!e||!t)return!1;for(const i in e)if(N0.call(e,i)&&(!N0.call(t,i)||!r(e[i],t[i])))return!1;for(const i in t)if(N0.call(t,i)&&!N0.call(e,i))return!1;return!0}function xR(e,t,r=qs){const i=new Map;for(let o=0;o<e.length;o++){const s=e[o],l=t(s);l!==void 0&&i.set(l,r(s))}return i}function iZ(e,t,r=qs){const i=[];for(let o=0;o<e.length;o++){const s=e[o];i[t(s)]=r(s)}return i}function _2(e,t,r=qs){const i=fm();for(let o=0;o<e.length;o++){const s=e[o];i.add(t(s),r(s))}return i}function RR(e,t,r=qs){return Mo(_2(e,t).values(),r)}function YB(e,t){var i;const r={};if(e!==void 0)for(let o=0;o<e.length;o++){const s=e[o],l="".concat(t(s));((i=r[l])!=null?i:r[l]=[]).push(s)}return r}function oZ(e){const t={};for(const r in e)N0.call(e,r)&&(t[r]=e[r]);return t}function $B(e,t){const r={};for(const i in t)N0.call(t,i)&&(r[i]=t[i]);for(const i in e)N0.call(e,i)&&(r[i]=e[i]);return r}function QB(e,t){for(const r in t)N0.call(t,r)&&(e[r]=t[r])}function la(e,t){return t==null?void 0:t.bind(e)}function fm(){const e=new Map;return e.add=t9e,e.remove=n9e,e}function t9e(e,t){let r=this.get(e);return r!==void 0?r.push(t):this.set(e,r=[t]),r}function n9e(e,t){const r=this.get(e);r!==void 0&&(eI(r,t),r.length||this.delete(e))}function g2(e){var l;const t=(l=e==null?void 0:e.slice())!=null?l:[];let r=0;function i(){return r===t.length}function o(...u){t.push(...u)}function s(){if(i())throw new Error("Queue is empty");const u=t[r];if(t[r]=void 0,r++,r>100&&r>t.length>>1){const d=t.length-r;t.copyWithin(0,r),t.length=d,r=0}return u}return{enqueue:o,dequeue:s,isEmpty:i}}function ZB(e,t){const r=new Map;let i=0;function*o(){for(const l of r.values())Lo(l)?yield*l:yield l}const s={has(l){const u=e(l);if(!r.has(u))return!1;const d=r.get(u);return Lo(d)?Vn(d,l,t):t(d,l)},add(l){const u=e(l);if(r.has(u)){const d=r.get(u);if(Lo(d))Vn(d,l,t)||(d.push(l),i++);else{const _=d;t(_,l)||(r.set(u,[_,l]),i++)}}else r.set(u,l),i++;return this},delete(l){const u=e(l);if(!r.has(u))return!1;const d=r.get(u);if(Lo(d)){for(let _=0;_<d.length;_++)if(t(d[_],l))return d.length===1?r.delete(u):d.length===2?r.set(u,d[1-_]):M0e(d,_),i--,!0}else if(t(d,l))return r.delete(u),i--,!0;return!1},clear(){r.clear(),i=0},get size(){return i},forEach(l){for(const u of Mo(r.values()))if(Lo(u))for(const d of u)l(d,d,s);else{const d=u;l(d,d,s)}},keys(){return o()},values(){return o()},*entries(){for(const l of o())yield[l,l]},[Symbol.iterator]:()=>o(),[Symbol.toStringTag]:r[Symbol.toStringTag]};return s}function Lo(e){return Array.isArray(e)}function ZA(e){return Lo(e)?e:[e]}function jo(e){return typeof e=="string"}function ib(e){return typeof e=="number"}function ii(e,t){return e!==void 0&&t(e)?e:void 0}function va(e,t){return e!==void 0&&t(e)?e:C.fail("Invalid cast. The supplied value ".concat(e," did not pass the test '").concat(C.getFunctionName(t),"'."))}function vs(e){}function ry(){return!1}function dS(){return!0}function uS(){}function qs(e){return e}function r9e(e){return e.toLowerCase()}var C0e=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_. ]+/g;function ob(e){return C0e.test(e)?e.replace(C0e,r9e):e}function ba(){throw new Error("Not implemented")}function Lu(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function jh(e){const t=new Map;return r=>{const i="".concat(typeof r,":").concat(r);let o=t.get(i);return o===void 0&&!t.has(i)&&(o=e(r),t.set(i,o)),o}}var aZ=(e=>(e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive",e))(aZ||{});function ab(e,t){return e===t}function sb(e,t){return e===t||e!==void 0&&t!==void 0&&e.toUpperCase()===t.toUpperCase()}function pS(e,t){return ab(e,t)}function N0e(e,t){return e===t?0:e===void 0?-1:t===void 0?1:e<t?-1:1}function Js(e,t){return N0e(e,t)}function UW(e,t){return Js(e==null?void 0:e.start,t==null?void 0:t.start)||Js(e==null?void 0:e.length,t==null?void 0:t.length)}function e9(e,t,r){for(let i=0;i<e.length;i++)t=Math.max(t,r(e[i]));return t}function t9(e,t){return yu(e,(r,i)=>t(r,i)===-1?r:i)}function y2(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toUpperCase(),t=t.toUpperCase(),e<t?-1:e>t?1:0)}function sZ(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toLowerCase(),t=t.toLowerCase(),e<t?-1:e>t?1:0)}function Wd(e,t){return N0e(e,t)}function DR(e){return e?y2:Wd}var i9e=(()=>{return t;function e(r,i,o){if(r===i)return 0;if(r===void 0)return-1;if(i===void 0)return 1;const s=o(r,i);return s<0?-1:s>0?1:0}function t(r){const i=new Intl.Collator(r,{usage:"sort",sensitivity:"variant",numeric:!0}).compare;return(o,s)=>e(o,s,i)}})(),v2,n9;function lZ(){return n9}function cZ(e){n9!==e&&(n9=e,v2=void 0)}function b2(e,t){return v2!=null||(v2=i9e(n9)),v2(e,t)}function dZ(e,t,r,i){return e===t?0:e===void 0?-1:t===void 0?1:i(e[r],t[r])}function M0(e,t){return Js(e?1:0,t?1:0)}function fS(e,t,r){const i=Math.max(2,Math.floor(e.length*.34));let o=Math.floor(e.length*.4)+1,s;for(const l of t){const u=r(l);if(u!==void 0&&Math.abs(u.length-e.length)<=i){if(u===e||u.length<3&&u.toLowerCase()!==e.toLowerCase())continue;const d=o9e(e,u,o-.1);if(d===void 0)continue;C.assert(d<o),o=d,s=l}}return s}function o9e(e,t,r){let i=new Array(t.length+1),o=new Array(t.length+1);const s=r+.01;for(let u=0;u<=t.length;u++)i[u]=u;for(let u=1;u<=e.length;u++){const d=e.charCodeAt(u-1),_=Math.ceil(u>r?u-r:1),m=Math.floor(t.length>r+u?r+u:t.length);o[0]=u;let y=u;for(let A=1;A<_;A++)o[A]=s;for(let A=_;A<=m;A++){const R=e[u-1].toLowerCase()===t[A-1].toLowerCase()?i[A-1]+.1:i[A-1]+2,N=d===t.charCodeAt(A-1)?i[A-1]:Math.min(i[A]+1,o[A-1]+1,R);o[A]=N,y=Math.min(y,N)}for(let A=m+1;A<=t.length;A++)o[A]=s;if(y>r)return;const E=i;i=o,o=E}const l=i[t.length];return l>r?void 0:l}function il(e,t,r){const i=e.length-t.length;return i>=0&&(r?sb(e.slice(i),t):e.indexOf(t,i)===i)}function CR(e,t){return il(e,t)?e.slice(0,e.length-t.length):e}function uZ(e,t){return il(e,t)?e.slice(0,e.length-t.length):void 0}function r9(e){let t=e.length;for(let r=t-1;r>0;r--){let i=e.charCodeAt(r);if(i>=48&&i<=57)do--r,i=e.charCodeAt(r);while(r>0&&i>=48&&i<=57);else if(r>4&&(i===110||i===78)){if(--r,i=e.charCodeAt(r),i!==105&&i!==73||(--r,i=e.charCodeAt(r),i!==109&&i!==77))break;--r,i=e.charCodeAt(r)}else break;if(i!==45&&i!==46)break;t=r}return t===e.length?e:e.slice(0,t)}function hN(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return lb(e,r),!0;return!1}function lb(e,t){for(let r=t;r<e.length-1;r++)e[r]=e[r+1];e.pop()}function M0e(e,t){e[t]=e[e.length-1],e.pop()}function eI(e,t){return a9e(e,r=>r===t)}function a9e(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return M0e(e,r),!0;return!1}function Fd(e){return e?qs:ob}function pZ({prefix:e,suffix:t}){return"".concat(e,"*").concat(t)}function fZ(e,t){return C.assert(HW(e,t)),t.substring(e.prefix.length,t.length-e.suffix.length)}function i9(e,t,r){let i,o=-1;for(let s=0;s<e.length;s++){const l=e[s],u=t(l);u.prefix.length>o&&HW(u,r)&&(o=u.prefix.length,i=l)}return i}function fo(e,t,r){return r?sb(e.slice(0,t.length),t):e.lastIndexOf(t,0)===0}function _N(e,t){return fo(e,t)?e.substr(t.length):e}function o9(e,t,r=qs){return fo(r(e),r(t))?e.substring(t.length):void 0}function HW({prefix:e,suffix:t},r){return r.length>=e.length+t.length&&fo(r,e)&&il(r,t)}function qW(e,t){return r=>e(r)&&t(r)}function Np(...e){return(...t)=>{let r;for(const i of e)if(r=i(...t),r)return r;return r}}function JW(e){return(...t)=>!e(...t)}function P0e(e){}function tI(e){return e===void 0?void 0:[e]}function KW(e,t,r,i,o,s){s!=null||(s=vs);let l=0,u=0;const d=e.length,_=t.length;let m=!1;for(;l<d&&u<_;){const y=e[l],E=t[u],A=r(y,E);A===-1?(i(y),l++,m=!0):A===1?(o(E),u++,m=!0):(s(E,y),l++,u++)}for(;l<d;)i(e[l++]),m=!0;for(;u<_;)o(t[u++]),m=!0;return m}function mZ(e){const t=[];return L0e(e,t,void 0,0),t}function L0e(e,t,r,i){for(const o of e[i]){let s;r?(s=r.slice(),s.push(o)):s=[o],i===e.length-1?t.push(s):L0e(e,t,s,i+1)}}function a9(e,t){if(e!==void 0){const r=e.length;let i=0;for(;i<r&&t(e[i]);)i++;return e.slice(0,i)}}function hZ(e,t){if(e!==void 0){const r=e.length;let i=0;for(;i<r&&t(e[i]);)i++;return e.slice(i)}}function s9(){return typeof process<"u"&&!!process.nextTick&&!process.browser&&typeof T0e<"u"}var _Z=(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))(_Z||{}),C;(e=>{let t=0;e.currentLogLevel=2,e.isDebugging=!1;function r(Qe){return e.currentLogLevel<=Qe}e.shouldLog=r;function i(Qe,It){e.loggingHost&&r(Qe)&&e.loggingHost.log(Qe,It)}function o(Qe){i(3,Qe)}e.log=o,(Qe=>{function It(di){i(1,di)}Qe.error=It;function hn(di){i(2,di)}Qe.warn=hn;function pr(di){i(3,di)}Qe.log=pr;function oi(di){i(4,di)}Qe.trace=oi})(o=e.log||(e.log={}));const s={};function l(){return t}e.getAssertionLevel=l;function u(Qe){const It=t;if(t=Qe,Qe>It)for(const hn of Vh(s)){const pr=s[hn];pr!==void 0&&e[hn]!==pr.assertion&&Qe>=pr.level&&(e[hn]=pr,s[hn]=void 0)}}e.setAssertionLevel=u;function d(Qe){return t>=Qe}e.shouldAssert=d;function _(Qe,It){return d(Qe)?!0:(s[It]={level:Qe,assertion:e[It]},e[It]=vs,!1)}function m(Qe,It){debugger;const hn=new Error(Qe?"Debug Failure. ".concat(Qe):"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(hn,It||m),hn}e.fail=m;function y(Qe,It,hn){return m("".concat(It||"Unexpected node.","\r\nNode ").concat(ve(Qe.kind)," was unexpected."),hn||y)}e.failBadSyntaxKind=y;function E(Qe,It,hn,pr){Qe||(It=It?"False expression: ".concat(It):"False expression.",hn&&(It+="\r\nVerbose Debug Information: "+(typeof hn=="string"?hn:hn())),m(It,pr||E))}e.assert=E;function A(Qe,It,hn,pr,oi){if(Qe!==It){const di=hn?pr?"".concat(hn," ").concat(pr):hn:"";m("Expected ".concat(Qe," === ").concat(It,". ").concat(di),oi||A)}}e.assertEqual=A;function R(Qe,It,hn,pr){Qe>=It&&m("Expected ".concat(Qe," < ").concat(It,". ").concat(hn||""),pr||R)}e.assertLessThan=R;function N(Qe,It,hn){Qe>It&&m("Expected ".concat(Qe," <= ").concat(It),hn||N)}e.assertLessThanOrEqual=N;function M(Qe,It,hn){Qe<It&&m("Expected ".concat(Qe," >= ").concat(It),hn||M)}e.assertGreaterThanOrEqual=M;function k(Qe,It,hn){Qe==null&&m(It,hn||k)}e.assertIsDefined=k;function F(Qe,It,hn){return k(Qe,It,hn||F),Qe}e.checkDefined=F;function O(Qe,It,hn){for(const pr of Qe)k(pr,It,hn||O)}e.assertEachIsDefined=O;function G(Qe,It,hn){return O(Qe,It,hn||G),Qe}e.checkEachDefined=G;function j(Qe,It="Illegal value:",hn){const pr=typeof Qe=="object"&&Ms(Qe,"kind")&&Ms(Qe,"pos")?"SyntaxKind: "+ve(Qe.kind):JSON.stringify(Qe);return m("".concat(It," ").concat(pr),hn||j)}e.assertNever=j;function K(Qe,It,hn,pr){_(1,"assertEachNode")&&E(It===void 0||Gn(Qe,It),hn||"Unexpected node.",()=>"Node array did not pass test '".concat(de(It),"'."),pr||K)}e.assertEachNode=K;function Q(Qe,It,hn,pr){_(1,"assertNode")&&E(Qe!==void 0&&(It===void 0||It(Qe)),hn||"Unexpected node.",()=>"Node ".concat(ve(Qe==null?void 0:Qe.kind)," did not pass test '").concat(de(It),"'."),pr||Q)}e.assertNode=Q;function J(Qe,It,hn,pr){_(1,"assertNotNode")&&E(Qe===void 0||It===void 0||!It(Qe),hn||"Unexpected node.",()=>"Node ".concat(ve(Qe.kind)," should not have passed test '").concat(de(It),"'."),pr||J)}e.assertNotNode=J;function he(Qe,It,hn,pr){_(1,"assertOptionalNode")&&E(It===void 0||Qe===void 0||It(Qe),hn||"Unexpected node.",()=>"Node ".concat(ve(Qe==null?void 0:Qe.kind)," did not pass test '").concat(de(It),"'."),pr||he)}e.assertOptionalNode=he;function re(Qe,It,hn,pr){_(1,"assertOptionalToken")&&E(It===void 0||Qe===void 0||Qe.kind===It,hn||"Unexpected node.",()=>"Node ".concat(ve(Qe==null?void 0:Qe.kind)," was not a '").concat(ve(It),"' token."),pr||re)}e.assertOptionalToken=re;function q(Qe,It,hn){_(1,"assertMissingNode")&&E(Qe===void 0,It||"Unexpected node.",()=>"Node ".concat(ve(Qe.kind)," was unexpected'."),hn||q)}e.assertMissingNode=q;function ue(Qe){}e.type=ue;function de(Qe){if(typeof Qe!="function")return"";if(Ms(Qe,"name"))return Qe.name;{const It=Function.prototype.toString.call(Qe),hn=/^function\s+([\w$]+)\s*\(/.exec(It);return hn?hn[1]:""}}e.getFunctionName=de;function ge(Qe){return"{ name: ".concat(Bi(Qe.escapedName),"; flags: ").concat(le(Qe.flags),"; declarations: ").concat(Gt(Qe.declarations,It=>ve(It.kind))," }")}e.formatSymbol=ge;function Ae(Qe=0,It,hn){const pr=$(It);if(Qe===0)return pr.length>0&&pr[0][0]===0?pr[0][1]:"0";if(hn){const oi=[];let di=Qe;for(const[Ki,Zo]of pr){if(Ki>Qe)break;Ki!==0&&Ki&Qe&&(oi.push(Zo),di&=~Ki)}if(di===0)return oi.join("|")}else for(const[oi,di]of pr)if(oi===Qe)return di;return Qe.toString()}e.formatEnum=Ae;const Re=new Map;function $(Qe){const It=Re.get(Qe);if(It)return It;const hn=[];for(const oi in Qe){const di=Qe[oi];typeof di=="number"&&hn.push([di,oi])}const pr=Cp(hn,(oi,di)=>Js(oi[0],di[0]));return Re.set(Qe,pr),pr}function ve(Qe){return Ae(Qe,u9,!1)}e.formatSyntaxKind=ve;function je(Qe){return Ae(Qe,I9,!1)}e.formatSnippetKind=je;function be(Qe){return Ae(Qe,E9,!1)}e.formatScriptKind=be;function ee(Qe){return Ae(Qe,p9,!0)}e.formatNodeFlags=ee;function Se(Qe){return Ae(Qe,v9,!0)}e.formatNodeCheckFlags=Se;function Ne(Qe){return Ae(Qe,f9,!0)}e.formatModifierFlags=Ne;function ze(Qe){return Ae(Qe,A9,!0)}e.formatTransformFlags=ze;function lt(Qe){return Ae(Qe,x9,!0)}e.formatEmitFlags=lt;function le(Qe){return Ae(Qe,y9,!0)}e.formatSymbolFlags=le;function De(Qe){return Ae(Qe,b9,!0)}e.formatTypeFlags=De;function _e(Qe){return Ae(Qe,S9,!0)}e.formatSignatureFlags=_e;function Ve(Qe){return Ae(Qe,T9,!0)}e.formatObjectFlags=Ve;function Ge(Qe){return Ae(Qe,YW,!0)}e.formatFlowFlags=Ge;function Be(Qe){return Ae(Qe,m9,!0)}e.formatRelationComparisonResult=Be;function ot(Qe){return Ae(Qe,GU,!0)}e.formatCheckMode=ot;function Ot(Qe){return Ae(Qe,VU,!0)}e.formatSignatureCheckMode=Ot;function Vt(Qe){return Ae(Qe,BU,!0)}e.formatTypeFacts=Vt;let mn=!1,Hn;function gt(Qe){"__debugFlowFlags"in Qe||Object.defineProperties(Qe,{__tsDebuggerDisplay:{value(){const It=this.flags&2?"FlowStart":this.flags&4?"FlowBranchLabel":this.flags&8?"FlowLoopLabel":this.flags&16?"FlowAssignment":this.flags&32?"FlowTrueCondition":this.flags&64?"FlowFalseCondition":this.flags&128?"FlowSwitchClause":this.flags&256?"FlowArrayMutation":this.flags&512?"FlowCall":this.flags&1024?"FlowReduceLabel":this.flags&1?"FlowUnreachable":"UnknownFlow",hn=this.flags&-2048;return"".concat(It).concat(hn?" (".concat(Ge(hn),")"):"")}},__debugFlowFlags:{get(){return Ae(this.flags,YW,!0)}},__debugToString:{value(){return Ur(this)}}})}function tn(Qe){return mn&&(typeof Object.setPrototypeOf=="function"?(Hn||(Hn=Object.create(Object.prototype),gt(Hn)),Object.setPrototypeOf(Qe,Hn)):gt(Qe)),Qe}e.attachFlowNodeDebugInfo=tn;let ir;function Ri(Qe){"__tsDebuggerDisplay"in Qe||Object.defineProperties(Qe,{__tsDebuggerDisplay:{value(It){return It=String(It).replace(/(?:,[\s\w]+:[^,]+)+\]$/,"]"),"NodeArray ".concat(It)}}})}function _o(Qe){mn&&(typeof Object.setPrototypeOf=="function"?(ir||(ir=Object.create(Array.prototype),Ri(ir)),Object.setPrototypeOf(Qe,ir)):Ri(Qe))}e.attachNodeArrayDebugInfo=_o;function Ht(){if(mn)return;const Qe=new WeakMap,It=new WeakMap;Object.defineProperties(xd.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){const pr=this.flags&33554432?"TransientSymbol":"Symbol",oi=this.flags&-33554433;return"".concat(pr," '").concat(Ol(this),"'").concat(oi?" (".concat(le(oi),")"):"")}},__debugFlags:{get(){return le(this.flags)}}}),Object.defineProperties(xd.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){const pr=this.flags&67359327?"IntrinsicType ".concat(this.intrinsicName).concat(this.debugIntrinsicName?" (".concat(this.debugIntrinsicName,")"):""):this.flags&98304?"NullableType":this.flags&384?"LiteralType ".concat(JSON.stringify(this.value)):this.flags&2048?"LiteralType ".concat(this.value.negative?"-":"").concat(this.value.base10Value,"n"):this.flags&8192?"UniqueESSymbolType":this.flags&32?"EnumType":this.flags&1048576?"UnionType":this.flags&2097152?"IntersectionType":this.flags&4194304?"IndexType":this.flags&8388608?"IndexedAccessType":this.flags&16777216?"ConditionalType":this.flags&33554432?"SubstitutionType":this.flags&262144?"TypeParameter":this.flags&524288?this.objectFlags&3?"InterfaceType":this.objectFlags&4?"TypeReference":this.objectFlags&8?"TupleType":this.objectFlags&16?"AnonymousType":this.objectFlags&32?"MappedType":this.objectFlags&1024?"ReverseMappedType":this.objectFlags&256?"EvolvingArrayType":"ObjectType":"Type",oi=this.flags&524288?this.objectFlags&-1344:0;return"".concat(pr).concat(this.symbol?" '".concat(Ol(this.symbol),"'"):"").concat(oi?" (".concat(Ve(oi),")"):"")}},__debugFlags:{get(){return De(this.flags)}},__debugObjectFlags:{get(){return this.flags&524288?Ve(this.objectFlags):""}},__debugTypeToString:{value(){let pr=Qe.get(this);return pr===void 0&&(pr=this.checker.typeToString(this),Qe.set(this,pr)),pr}}}),Object.defineProperties(xd.getSignatureConstructor().prototype,{__debugFlags:{get(){return _e(this.flags)}},__debugSignatureToString:{value(){var pr;return(pr=this.checker)==null?void 0:pr.signatureToString(this)}}});const hn=[xd.getNodeConstructor(),xd.getIdentifierConstructor(),xd.getTokenConstructor(),xd.getSourceFileConstructor()];for(const pr of hn)Ms(pr.prototype,"__debugKind")||Object.defineProperties(pr.prototype,{__tsDebuggerDisplay:{value(){const oi=yl(this)?"GeneratedIdentifier":Je(this)?"Identifier '".concat(Yr(this),"'"):to(this)?"PrivateIdentifier '".concat(Yr(this),"'"):Oa(this)?"StringLiteral ".concat(JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")):ip(this)?"NumericLiteral ".concat(this.text):bD(this)?"BigIntLiteral ".concat(this.text,"n"):pl(this)?"TypeParameterDeclaration":no(this)?"ParameterDeclaration":kl(this)?"ConstructorDeclaration":qf(this)?"GetAccessorDeclaration":bp(this)?"SetAccessorDeclaration":HI(this)?"CallSignatureDeclaration":VM(this)?"ConstructSignatureDeclaration":wb(this)?"IndexSignatureDeclaration":qI(this)?"TypePredicateNode":Bp(this)?"TypeReferenceNode":G_(this)?"FunctionTypeNode":TD(this)?"ConstructorTypeNode":FS(this)?"TypeQueryNode":Fu(this)?"TypeLiteralNode":_w(this)?"ArrayTypeNode":JI(this)?"TupleTypeNode":b4(this)?"OptionalTypeNode":T4(this)?"RestTypeNode":mv(this)?"UnionTypeNode":KI(this)?"IntersectionTypeNode":zS(this)?"ConditionalTypeNode":v1(this)?"InferTypeNode":b1(this)?"ParenthesizedTypeNode":jM(this)?"ThisTypeNode":X0(this)?"TypeOperatorNode":BS(this)?"IndexedAccessTypeNode":T1(this)?"MappedTypeNode":hv(this)?"LiteralTypeNode":SD(this)?"NamedTupleMember":o_(this)?"ImportTypeNode":ve(this.kind);return"".concat(oi).concat(this.flags?" (".concat(ee(this.flags),")"):"")}},__debugKind:{get(){return ve(this.kind)}},__debugNodeFlags:{get(){return ee(this.flags)}},__debugModifierFlags:{get(){return Ne(Qne(this))}},__debugTransformFlags:{get(){return ze(this.transformFlags)}},__debugIsParseTreeNode:{get(){return PN(this)}},__debugEmitFlags:{get(){return lt(Za(this))}},__debugGetText:{value(oi){if(zs(this))return"";let di=It.get(this);if(di===void 0){const Ki=Ho(this),Zo=Ki&&On(Ki);di=Zo?vS(Zo,Ki,oi):"",It.set(this,di)}return di}}});mn=!0}e.enableDebugInfo=Ht;function Qr(Qe){const It=Qe&7;let hn=It===0?"in out":It===3?"[bivariant]":It===2?"in":It===1?"out":It===4?"[independent]":"";return Qe&8?hn+=" (unmeasurable)":Qe&16&&(hn+=" (unreliable)"),hn}e.formatVariance=Qr;class go{__debugToString(){var It;switch(this.kind){case 3:return((It=this.debugInfo)==null?void 0:It.call(this))||"(function mapper)";case 0:return"".concat(this.source.__debugTypeToString()," -> ").concat(this.target.__debugTypeToString());case 1:return Ji(this.sources,this.targets||Gt(this.sources,()=>"any"),(hn,pr)=>"".concat(hn.__debugTypeToString()," -> ").concat(typeof pr=="string"?pr:pr.__debugTypeToString())).join(", ");case 2:return Ji(this.sources,this.targets,(hn,pr)=>"".concat(hn.__debugTypeToString()," -> ").concat(pr().__debugTypeToString())).join(", ");case 5:case 4:return"m1: ".concat(this.mapper1.__debugToString().split("\n").join("\n "),"\nm2: ").concat(this.mapper2.__debugToString().split("\n").join("\n "));default:return j(this)}}}e.DebugTypeMapper=go;function Ci(Qe){return e.isDebugging?Object.setPrototypeOf(Qe,go.prototype):Qe}e.attachDebugPrototypeIfDebug=Ci;function Cr(Qe){return console.log(Ur(Qe))}e.printControlFlowGraph=Cr;function Ur(Qe){let It=-1;function hn(xe){return xe.id||(xe.id=It,It--),xe.id}let pr;(xe=>{xe.lr="─",xe.ud="│",xe.dr="╭",xe.dl="╮",xe.ul="╯",xe.ur="╰",xe.udr="├",xe.udl="┤",xe.dlr="┬",xe.ulr="┴",xe.udlr="╫"})(pr||(pr={}));let oi;(xe=>{xe[xe.None=0]="None",xe[xe.Up=1]="Up",xe[xe.Down=2]="Down",xe[xe.Left=4]="Left",xe[xe.Right=8]="Right",xe[xe.UpDown=3]="UpDown",xe[xe.LeftRight=12]="LeftRight",xe[xe.UpLeft=5]="UpLeft",xe[xe.UpRight=9]="UpRight",xe[xe.DownLeft=6]="DownLeft",xe[xe.DownRight=10]="DownRight",xe[xe.UpDownLeft=7]="UpDownLeft",xe[xe.UpDownRight=11]="UpDownRight",xe[xe.UpLeftRight=13]="UpLeftRight",xe[xe.DownLeftRight=14]="DownLeftRight",xe[xe.UpDownLeftRight=15]="UpDownLeftRight",xe[xe.NoChildren=16]="NoChildren"})(oi||(oi={}));const di=2032,Ki=882,Zo=Object.create(null),Da=[],Pn=dt(Qe,new Set);for(const xe of Da)xe.text=Rr(xe.flowNode,xe.circular),He(xe);const qo=Ct(Pn),at=Nt(qo);return Wt(Pn,0),Oe();function Bt(xe){return!!(xe.flags&128)}function ce(xe){return!!(xe.flags&12)&&!!xe.antecedent}function _t(xe){return!!(xe.flags&di)}function ie(xe){return!!(xe.flags&Ki)}function We(xe){const te=[];for(const xt of xe.edges)xt.source===xe&&te.push(xt.target);return te}function it(xe){const te=[];for(const xt of xe.edges)xt.target===xe&&te.push(xt.source);return te}function dt(xe,te){const xt=hn(xe);let $t=Zo[xt];if($t&&te.has(xe))return $t.circular=!0,$t={id:-1,flowNode:xe,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:"circularity"},Da.push($t),$t;if(te.add(xe),!$t)if(Zo[xt]=$t={id:xt,flowNode:xe,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:!1},Da.push($t),ce(xe))for(const Pe of xe.antecedent)Lt($t,Pe,te);else _t(xe)&&Lt($t,xe.antecedent,te);return te.delete(xe),$t}function Lt(xe,te,xt){const $t=dt(te,xt),Pe={source:xe,target:$t};xe.edges.push(Pe),$t.edges.push(Pe)}function He(xe){if(xe.level!==-1)return xe.level;let te=0;for(const xt of it(xe))te=Math.max(te,He(xt)+1);return xe.level=te}function Ct(xe){let te=0;for(const xt of We(xe))te=Math.max(te,Ct(xt));return te+1}function Nt(xe){const te=ye(Array(xe),0);for(const xt of Da)te[xt.level]=Math.max(te[xt.level],xt.text.length);return te}function Wt(xe,te){if(xe.lane===-1){xe.lane=te,xe.endLane=te;const xt=We(xe);for(let $t=0;$t<xt.length;$t++){$t>0&&te++;const Pe=xt[$t];Wt(Pe,te),Pe.endLane>xe.endLane&&(te=Pe.endLane)}xe.endLane=te}}function rt(xe){if(xe&2)return"Start";if(xe&4)return"Branch";if(xe&8)return"Loop";if(xe&16)return"Assignment";if(xe&32)return"True";if(xe&64)return"False";if(xe&128)return"SwitchClause";if(xe&256)return"ArrayMutation";if(xe&512)return"Call";if(xe&1024)return"ReduceLabel";if(xe&1)return"Unreachable";throw new Error}function Zt(xe){const te=On(xe);return vS(te,xe,!1)}function Rr(xe,te){let xt=rt(xe.flags);if(te&&(xt="".concat(xt,"#").concat(hn(xe))),Bt(xe)){const $t=[],{switchStatement:Pe,clauseStart:yt,clauseEnd:jt}=xe.node;for(let or=yt;or<jt;or++){const $n=Pe.caseBlock.clauses[or];JM($n)?$t.push("default"):$t.push(Zt($n.expression))}xt+=" (".concat($t.join(", "),")")}else ie(xe)&&xe.node&&(xt+=" (".concat(Zt(xe.node),")"));return te==="circularity"?"Circular(".concat(xt,")"):xt}function Oe(){const xe=at.length,te=e9(Da,0,jt=>jt.lane)+1,xt=ye(Array(te),""),$t=at.map(()=>Array(te)),Pe=at.map(()=>ye(Array(te),0));for(const jt of Da){$t[jt.level][jt.lane]=jt;const or=We(jt);for(let fr=0;fr<or.length;fr++){const vt=or[fr];let Rt=8;vt.lane===jt.lane&&(Rt|=4),fr>0&&(Rt|=1),fr<or.length-1&&(Rt|=2),Pe[jt.level][vt.lane]|=Rt}or.length===0&&(Pe[jt.level][jt.lane]|=16);const $n=it(jt);for(let fr=0;fr<$n.length;fr++){const vt=$n[fr];let Rt=4;fr>0&&(Rt|=1),fr<$n.length-1&&(Rt|=2),Pe[jt.level-1][vt.lane]|=Rt}}for(let jt=0;jt<xe;jt++)for(let or=0;or<te;or++){const $n=jt>0?Pe[jt-1][or]:0,fr=or>0?Pe[jt][or-1]:0;let vt=Pe[jt][or];vt||($n&8&&(vt|=12),fr&2&&(vt|=3),Pe[jt][or]=vt)}for(let jt=0;jt<xe;jt++)for(let or=0;or<xt.length;or++){const $n=Pe[jt][or],fr=$n&4?"─":" ",vt=$t[jt][or];vt?(yt(or,vt.text),jt<xe-1&&(yt(or," "),yt(or,B(fr,at[jt]-vt.text.length)))):jt<xe-1&&yt(or,B(fr,at[jt]+1)),yt(or,At($n)),yt(or,$n&8&&jt<xe-1&&!$t[jt+1][or]?"─":" ")}return"\n".concat(xt.join("\n"),"\n");function yt(jt,or){xt[jt]+=or}}function At(xe){switch(xe){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 ye(xe,te){if(xe.fill)xe.fill(te);else for(let xt=0;xt<xe.length;xt++)xe[xt]=te;return xe}function B(xe,te){if(xe.repeat)return te>0?xe.repeat(te):"";let xt="";for(;xt.length<te;)xt+=xe;return xt}}e.formatControlFlowGraph=Ur})(C||(C={}));var s9e=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,l9e=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i,c9e=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)$/i,d9e=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i,u9e=/^[a-z0-9-]+$/i,k0e=/^(?:0|[1-9]\d*)$/,gZ=class IW{constructor(t,r=0,i=0,o="",s=""){typeof t=="string"&&({major:t,minor:r,patch:i,prerelease:o,build:s}=C.checkDefined(w0e(t),"Invalid version")),C.assert(t>=0,"Invalid argument: major"),C.assert(r>=0,"Invalid argument: minor"),C.assert(i>=0,"Invalid argument: patch");const l=o?Lo(o)?o:o.split("."):se,u=s?Lo(s)?s:s.split("."):se;C.assert(Gn(l,d=>c9e.test(d)),"Invalid argument: prerelease"),C.assert(Gn(u,d=>u9e.test(d)),"Invalid argument: build"),this.major=t,this.minor=r,this.patch=i,this.prerelease=l,this.build=u}static tryParse(t){const r=w0e(t);if(!r)return;const{major:i,minor:o,patch:s,prerelease:l,build:u}=r;return new IW(i,o,s,l,u)}compareTo(t){return this===t?0:t===void 0?1:Js(this.major,t.major)||Js(this.minor,t.minor)||Js(this.patch,t.patch)||p9e(this.prerelease,t.prerelease)}increment(t){switch(t){case"major":return new IW(this.major+1,0,0);case"minor":return new IW(this.major,this.minor+1,0);case"patch":return new IW(this.major,this.minor,this.patch+1);default:return C.assertNever(t)}}with(t){const{major:r=this.major,minor:i=this.minor,patch:o=this.patch,prerelease:s=this.prerelease,build:l=this.build}=t;return new IW(r,i,o,s,l)}toString(){let t="".concat(this.major,".").concat(this.minor,".").concat(this.patch);return bt(this.prerelease)&&(t+="-".concat(this.prerelease.join("."))),bt(this.build)&&(t+="+".concat(this.build.join("."))),t}};gZ.zero=new gZ(0,0,0,["0"]);var ih=gZ;function w0e(e){const t=s9e.exec(e);if(!t)return;const[,r,i="0",o="0",s="",l=""]=t;if(!(s&&!l9e.test(s))&&!(l&&!d9e.test(l)))return{major:parseInt(r,10),minor:parseInt(i,10),patch:parseInt(o,10),prerelease:s,build:l}}function p9e(e,t){if(e===t)return 0;if(e.length===0)return t.length===0?0:1;if(t.length===0)return-1;const r=Math.min(e.length,t.length);for(let i=0;i<r;i++){const o=e[i],s=t[i];if(o===s)continue;const l=k0e.test(o),u=k0e.test(s);if(l||u){if(l!==u)return l?-1:1;const d=Js(+o,+s);if(d)return d}else{const d=Wd(o,s);if(d)return d}}return Js(e.length,t.length)}var XW=class X7e{constructor(t){this._alternatives=t?C.checkDefined(O0e(t),"Invalid range spec."):se}static tryParse(t){const r=O0e(t);if(r){const i=new X7e("");return i._alternatives=r,i}}test(t){return typeof t=="string"&&(t=new ih(t)),b9e(t,this._alternatives)}toString(){return E9e(this._alternatives)}},f9e=/\|\|/,m9e=/\s+/,h9e=/^([x*0]|[1-9]\d*)(?:\.([x*0]|[1-9]\d*)(?:\.([x*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,_9e=/^\s*([a-z0-9-+.*]+)\s+-\s+([a-z0-9-+.*]+)\s*$/i,g9e=/^([~^<>=]|<=|>=)?\s*([a-z0-9-+.*]+)$/i;function O0e(e){const t=[];for(let r of e.trim().split(f9e)){if(!r)continue;const i=[];r=r.trim();const o=_9e.exec(r);if(o){if(!y9e(o[1],o[2],i))return}else for(const s of r.split(m9e)){const l=g9e.exec(s.trim());if(!l||!v9e(l[1],l[2],i))return}t.push(i)}return t}function yZ(e){const t=h9e.exec(e);if(!t)return;const[,r,i="*",o="*",s,l]=t;return{version:new ih(mm(r)?0:parseInt(r,10),mm(r)||mm(i)?0:parseInt(i,10),mm(r)||mm(i)||mm(o)?0:parseInt(o,10),s,l),major:r,minor:i,patch:o}}function y9e(e,t,r){const i=yZ(e);if(!i)return!1;const o=yZ(t);return o?(mm(i.major)||r.push(P_(">=",i.version)),mm(o.major)||r.push(mm(o.minor)?P_("<",o.version.increment("major")):mm(o.patch)?P_("<",o.version.increment("minor")):P_("<=",o.version)),!0):!1}function v9e(e,t,r){const i=yZ(t);if(!i)return!1;const{version:o,major:s,minor:l,patch:u}=i;if(mm(s))(e==="<"||e===">")&&r.push(P_("<",ih.zero));else switch(e){case"~":r.push(P_(">=",o)),r.push(P_("<",o.increment(mm(l)?"major":"minor")));break;case"^":r.push(P_(">=",o)),r.push(P_("<",o.increment(o.major>0||mm(l)?"major":o.minor>0||mm(u)?"minor":"patch")));break;case"<":case">=":r.push(mm(l)||mm(u)?P_(e,o.with({prerelease:"0"})):P_(e,o));break;case"<=":case">":r.push(mm(l)?P_(e==="<="?"<":">=",o.increment("major").with({prerelease:"0"})):mm(u)?P_(e==="<="?"<":">=",o.increment("minor").with({prerelease:"0"})):P_(e,o));break;case"=":case void 0:mm(l)||mm(u)?(r.push(P_(">=",o.with({prerelease:"0"}))),r.push(P_("<",o.increment(mm(l)?"major":"minor").with({prerelease:"0"})))):r.push(P_("=",o));break;default:return!1}return!0}function mm(e){return e==="*"||e==="x"||e==="X"}function P_(e,t){return{operator:e,operand:t}}function b9e(e,t){if(t.length===0)return!0;for(const r of t)if(T9e(e,r))return!0;return!1}function T9e(e,t){for(const r of t)if(!S9e(e,r.operator,r.operand))return!1;return!0}function S9e(e,t,r){const i=e.compareTo(r);switch(t){case"<":return i<0;case"<=":return i<=0;case">":return i>0;case">=":return i>=0;case"=":return i===0;default:return C.assertNever(t)}}function E9e(e){return Gt(e,A9e).join(" || ")||"*"}function A9e(e){return Gt(e,I9e).join(" ")}function I9e(e){return"".concat(e.operator).concat(e.operand)}function x9e(){if(s9(),typeof performance=="object")return{shouldWriteNativeEvents:!0,performance}}function R9e(){const e=x9e();if(!e)return;const{shouldWriteNativeEvents:t,performance:r}=e,i={shouldWriteNativeEvents:t,performance:void 0,performanceTime:void 0};return typeof r.timeOrigin=="number"&&typeof r.now=="function"&&(i.performanceTime=r),i.performanceTime&&typeof r.mark=="function"&&typeof r.measure=="function"&&typeof r.clearMarks=="function"&&typeof r.clearMeasures=="function"&&(i.performance=r),i}var vZ=R9e(),W0e=vZ==null?void 0:vZ.performanceTime;function bZ(){return vZ}var Os=W0e?()=>W0e.now():Date.now,TZ={};x(TZ,{clearMarks:()=>j0e,clearMeasures:()=>V0e,createTimer:()=>l9,createTimerIf:()=>F0e,disable:()=>AZ,enable:()=>d9,forEachMark:()=>G0e,forEachMeasure:()=>c9,getCount:()=>B0e,getDuration:()=>TN,isEnabled:()=>EZ,mark:()=>Nl,measure:()=>Of,nullTimer:()=>SZ});var gN,jE;function F0e(e,t,r,i){return e?l9(t,r,i):SZ}function l9(e,t,r){let i=0;return{enter:o,exit:s};function o(){++i===1&&Nl(t)}function s(){--i===0?(Nl(r),Of(e,t,r)):i<0&&C.fail("enter/exit count does not match.")}}var SZ={enter:vs,exit:vs},yN=!1,z0e=Os(),vN=new Map,T2=new Map,bN=new Map;function Nl(e){var t;if(yN){const r=(t=T2.get(e))!=null?t:0;T2.set(e,r+1),vN.set(e,Os()),jE==null||jE.mark(e),typeof onProfilerEvent=="function"&&onProfilerEvent(e)}}function Of(e,t,r){var i,o;if(yN){const s=(i=r!==void 0?vN.get(r):void 0)!=null?i:Os(),l=(o=t!==void 0?vN.get(t):void 0)!=null?o:z0e,u=bN.get(e)||0;bN.set(e,u+(s-l)),jE==null||jE.measure(e,t,r)}}function B0e(e){return T2.get(e)||0}function TN(e){return bN.get(e)||0}function c9(e){bN.forEach((t,r)=>e(r,t))}function G0e(e){vN.forEach((t,r)=>e(r))}function V0e(e){e!==void 0?bN.delete(e):bN.clear(),jE==null||jE.clearMeasures(e)}function j0e(e){e!==void 0?(T2.delete(e),vN.delete(e)):(T2.clear(),vN.clear()),jE==null||jE.clearMarks(e)}function EZ(){return yN}function d9(e=Vc){var t;return yN||(yN=!0,gN||(gN=bZ()),gN!=null&&gN.performance&&(z0e=gN.performance.timeOrigin,(gN.shouldWriteNativeEvents||(t=e==null?void 0:e.cpuProfilingEnabled)!=null&&t.call(e)||e!=null&&e.debugMode)&&(jE=gN.performance))),!0}function AZ(){yN&&(vN.clear(),T2.clear(),bN.clear(),jE=void 0,yN=!1)}var Ar,S2;(e=>{let t,r=0,i=0,o;const s=[];let l;const u=[];function d(K,Q,J){if(C.assert(!Ar,"Tracing already started"),t===void 0)try{t=T0e("fs")}catch(de){throw new Error("tracing requires having fs\n(original error: ".concat(de.message||de,")"))}o=K,s.length=0,l===void 0&&(l=ei(Q,"legend.json")),t.existsSync(Q)||t.mkdirSync(Q,{recursive:!0});const he=o==="build"?".".concat(process.pid,"-").concat(++r):o==="server"?".".concat(process.pid):"",re=ei(Q,"trace".concat(he,".json")),q=ei(Q,"types".concat(he,".json"));u.push({configFilePath:J,tracePath:re,typesPath:q}),i=t.openSync(re,"w"),Ar=e;const ue={cat:"__metadata",ph:"M",ts:1e3*Os(),pid:1,tid:1};t.writeSync(i,"[\n"+[{name:"process_name",args:{name:"tsc"},...ue},{name:"thread_name",args:{name:"Main"},...ue},{name:"TracingStartedInBrowser",...ue,cat:"disabled-by-default-devtools.timeline"}].map(de=>JSON.stringify(de)).join(",\n"))}e.startTracing=d;function _(){C.assert(Ar,"Tracing is not in progress"),C.assert(!!s.length==(o!=="server")),t.writeSync(i,"\n]\n"),t.closeSync(i),Ar=void 0,s.length?G(s):u[u.length-1].typesPath=void 0}e.stopTracing=_;function m(K){o!=="server"&&s.push(K)}e.recordType=m,(K=>{K.Parse="parse",K.Program="program",K.Bind="bind",K.Check="check",K.CheckTypes="checkTypes",K.Emit="emit",K.Session="session"})(e.Phase||(e.Phase={}));function y(K,Q,J){F("I",K,Q,J,'"s":"g"')}e.instant=y;const E=[];function A(K,Q,J,he=!1){he&&F("B",K,Q,J),E.push({phase:K,name:Q,args:J,time:1e3*Os(),separateBeginAndEnd:he})}e.push=A;function R(K){C.assert(E.length>0),k(E.length-1,1e3*Os(),K),E.length--}e.pop=R;function N(){const K=1e3*Os();for(let Q=E.length-1;Q>=0;Q--)k(Q,K);E.length=0}e.popAll=N;const M=1e3*10;function k(K,Q,J){const{phase:he,name:re,args:q,time:ue,separateBeginAndEnd:de}=E[K];de?(C.assert(!J,"`results` are not supported for events with `separateBeginAndEnd`"),F("E",he,re,q,void 0,Q)):M-ue%M<=Q-ue&&F("X",he,re,{...q,results:J},'"dur":'.concat(Q-ue),ue)}function F(K,Q,J,he,re,q=1e3*Os()){o==="server"&&Q==="checkTypes"||(Nl("beginTracing"),t.writeSync(i,',\n{"pid":1,"tid":1,"ph":"'.concat(K,'","cat":"').concat(Q,'","ts":').concat(q,',"name":"').concat(J,'"')),re&&t.writeSync(i,",".concat(re)),he&&t.writeSync(i,',"args":'.concat(JSON.stringify(he))),t.writeSync(i,"}"),Nl("endTracing"),Of("Tracing","beginTracing","endTracing"))}function O(K){const Q=On(K);return Q?{path:Q.path,start:J(fa(Q,K.pos)),end:J(fa(Q,K.end))}:void 0;function J(he){return{line:he.line+1,character:he.character+1}}}function G(K){var Ge,Be,ot;var Q,J,he,re,q,ue,de,ge,Ae,Re,$,ve,je,be,ee,Se,Ne,ze,lt;Nl("beginDumpTypes");const le=u[u.length-1].typesPath,De=t.openSync(le,"w"),_e=new Map;t.writeSync(De,"[");const Ve=K.length;for(let Ot=0;Ot<Ve;Ot++){const Vt=K[Ot],mn=Vt.objectFlags,Hn=(Ge=Vt.aliasSymbol)!=null?Ge:Vt.symbol;let gt;if(mn&16|Vt.flags&2944)try{gt=(Q=Vt.checker)==null?void 0:Q.typeToString(Vt)}catch(Ur){gt=void 0}let tn={};if(Vt.flags&8388608){const Ur=Vt;tn={indexedAccessObjectType:(J=Ur.objectType)==null?void 0:J.id,indexedAccessIndexType:(he=Ur.indexType)==null?void 0:he.id}}let ir={};if(mn&4){const Ur=Vt;ir={instantiatedType:(re=Ur.target)==null?void 0:re.id,typeArguments:(q=Ur.resolvedTypeArguments)==null?void 0:q.map(Qe=>Qe.id),referenceLocation:O(Ur.node)}}let Ri={};if(Vt.flags&16777216){const Ur=Vt;Ri={conditionalCheckType:(ue=Ur.checkType)==null?void 0:ue.id,conditionalExtendsType:(de=Ur.extendsType)==null?void 0:de.id,conditionalTrueType:(Be=(ge=Ur.resolvedTrueType)==null?void 0:ge.id)!=null?Be:-1,conditionalFalseType:(ot=(Ae=Ur.resolvedFalseType)==null?void 0:Ae.id)!=null?ot:-1}}let _o={};if(Vt.flags&33554432){const Ur=Vt;_o={substitutionBaseType:(Re=Ur.baseType)==null?void 0:Re.id,constraintType:($=Ur.constraint)==null?void 0:$.id}}let Ht={};if(mn&1024){const Ur=Vt;Ht={reverseMappedSourceType:(ve=Ur.source)==null?void 0:ve.id,reverseMappedMappedType:(je=Ur.mappedType)==null?void 0:je.id,reverseMappedConstraintType:(be=Ur.constraintType)==null?void 0:be.id}}let Qr={};if(mn&256){const Ur=Vt;Qr={evolvingArrayElementType:Ur.elementType.id,evolvingArrayFinalType:(ee=Ur.finalArrayType)==null?void 0:ee.id}}let go;const Ci=Vt.checker.getRecursionIdentity(Vt);Ci&&(go=_e.get(Ci),go||(go=_e.size,_e.set(Ci,go)));const Cr={id:Vt.id,intrinsicName:Vt.intrinsicName,symbolName:(Hn==null?void 0:Hn.escapedName)&&Bi(Hn.escapedName),recursionId:go,isTuple:mn&8?!0:void 0,unionTypes:Vt.flags&1048576?(Se=Vt.types)==null?void 0:Se.map(Ur=>Ur.id):void 0,intersectionTypes:Vt.flags&2097152?Vt.types.map(Ur=>Ur.id):void 0,aliasTypeArguments:(Ne=Vt.aliasTypeArguments)==null?void 0:Ne.map(Ur=>Ur.id),keyofType:Vt.flags&4194304?(ze=Vt.type)==null?void 0:ze.id:void 0,...tn,...ir,...Ri,..._o,...Ht,...Qr,destructuringPattern:O(Vt.pattern),firstDeclaration:O((lt=Hn==null?void 0:Hn.declarations)==null?void 0:lt[0]),flags:C.formatTypeFlags(Vt.flags).split("|"),display:gt};t.writeSync(De,JSON.stringify(Cr)),Ot<Ve-1&&t.writeSync(De,",\n")}t.writeSync(De,"]\n"),t.closeSync(De),Nl("endDumpTypes"),Of("Dump types","beginDumpTypes","endDumpTypes")}function j(){l&&t.writeFileSync(l,JSON.stringify(u))}e.dumpLegend=j})(S2||(S2={}));var IZ=S2.startTracing,xZ=S2.dumpLegend,u9=(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.NonTextFileMarkerTrivia=8]="NonTextFileMarkerTrivia",e[e.NumericLiteral=9]="NumericLiteral",e[e.BigIntLiteral=10]="BigIntLiteral",e[e.StringLiteral=11]="StringLiteral",e[e.JsxText=12]="JsxText",e[e.JsxTextAllWhiteSpaces=13]="JsxTextAllWhiteSpaces",e[e.RegularExpressionLiteral=14]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=15]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=16]="TemplateHead",e[e.TemplateMiddle=17]="TemplateMiddle",e[e.TemplateTail=18]="TemplateTail",e[e.OpenBraceToken=19]="OpenBraceToken",e[e.CloseBraceToken=20]="CloseBraceToken",e[e.OpenParenToken=21]="OpenParenToken",e[e.CloseParenToken=22]="CloseParenToken",e[e.OpenBracketToken=23]="OpenBracketToken",e[e.CloseBracketToken=24]="CloseBracketToken",e[e.DotToken=25]="DotToken",e[e.DotDotDotToken=26]="DotDotDotToken",e[e.SemicolonToken=27]="SemicolonToken",e[e.CommaToken=28]="CommaToken",e[e.QuestionDotToken=29]="QuestionDotToken",e[e.LessThanToken=30]="LessThanToken",e[e.LessThanSlashToken=31]="LessThanSlashToken",e[e.GreaterThanToken=32]="GreaterThanToken",e[e.LessThanEqualsToken=33]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=34]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=35]="EqualsEqualsToken",e[e.ExclamationEqualsToken=36]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=37]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=38]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=39]="EqualsGreaterThanToken",e[e.PlusToken=40]="PlusToken",e[e.MinusToken=41]="MinusToken",e[e.AsteriskToken=42]="AsteriskToken",e[e.AsteriskAsteriskToken=43]="AsteriskAsteriskToken",e[e.SlashToken=44]="SlashToken",e[e.PercentToken=45]="PercentToken",e[e.PlusPlusToken=46]="PlusPlusToken",e[e.MinusMinusToken=47]="MinusMinusToken",e[e.LessThanLessThanToken=48]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=49]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=50]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=51]="AmpersandToken",e[e.BarToken=52]="BarToken",e[e.CaretToken=53]="CaretToken",e[e.ExclamationToken=54]="ExclamationToken",e[e.TildeToken=55]="TildeToken",e[e.AmpersandAmpersandToken=56]="AmpersandAmpersandToken",e[e.BarBarToken=57]="BarBarToken",e[e.QuestionToken=58]="QuestionToken",e[e.ColonToken=59]="ColonToken",e[e.AtToken=60]="AtToken",e[e.QuestionQuestionToken=61]="QuestionQuestionToken",e[e.BacktickToken=62]="BacktickToken",e[e.HashToken=63]="HashToken",e[e.EqualsToken=64]="EqualsToken",e[e.PlusEqualsToken=65]="PlusEqualsToken",e[e.MinusEqualsToken=66]="MinusEqualsToken",e[e.AsteriskEqualsToken=67]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=68]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=69]="SlashEqualsToken",e[e.PercentEqualsToken=70]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=71]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=73]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=74]="AmpersandEqualsToken",e[e.BarEqualsToken=75]="BarEqualsToken",e[e.BarBarEqualsToken=76]="BarBarEqualsToken",e[e.AmpersandAmpersandEqualsToken=77]="AmpersandAmpersandEqualsToken",e[e.QuestionQuestionEqualsToken=78]="QuestionQuestionEqualsToken",e[e.CaretEqualsToken=79]="CaretEqualsToken",e[e.Identifier=80]="Identifier",e[e.PrivateIdentifier=81]="PrivateIdentifier",e[e.JSDocCommentTextToken=82]="JSDocCommentTextToken",e[e.BreakKeyword=83]="BreakKeyword",e[e.CaseKeyword=84]="CaseKeyword",e[e.CatchKeyword=85]="CatchKeyword",e[e.ClassKeyword=86]="ClassKeyword",e[e.ConstKeyword=87]="ConstKeyword",e[e.ContinueKeyword=88]="ContinueKeyword",e[e.DebuggerKeyword=89]="DebuggerKeyword",e[e.DefaultKeyword=90]="DefaultKeyword",e[e.DeleteKeyword=91]="DeleteKeyword",e[e.DoKeyword=92]="DoKeyword",e[e.ElseKeyword=93]="ElseKeyword",e[e.EnumKeyword=94]="EnumKeyword",e[e.ExportKeyword=95]="ExportKeyword",e[e.ExtendsKeyword=96]="ExtendsKeyword",e[e.FalseKeyword=97]="FalseKeyword",e[e.FinallyKeyword=98]="FinallyKeyword",e[e.ForKeyword=99]="ForKeyword",e[e.FunctionKeyword=100]="FunctionKeyword",e[e.IfKeyword=101]="IfKeyword",e[e.ImportKeyword=102]="ImportKeyword",e[e.InKeyword=103]="InKeyword",e[e.InstanceOfKeyword=104]="InstanceOfKeyword",e[e.NewKeyword=105]="NewKeyword",e[e.NullKeyword=106]="NullKeyword",e[e.ReturnKeyword=107]="ReturnKeyword",e[e.SuperKeyword=108]="SuperKeyword",e[e.SwitchKeyword=109]="SwitchKeyword",e[e.ThisKeyword=110]="ThisKeyword",e[e.ThrowKeyword=111]="ThrowKeyword",e[e.TrueKeyword=112]="TrueKeyword",e[e.TryKeyword=113]="TryKeyword",e[e.TypeOfKeyword=114]="TypeOfKeyword",e[e.VarKeyword=115]="VarKeyword",e[e.VoidKeyword=116]="VoidKeyword",e[e.WhileKeyword=117]="WhileKeyword",e[e.WithKeyword=118]="WithKeyword",e[e.ImplementsKeyword=119]="ImplementsKeyword",e[e.InterfaceKeyword=120]="InterfaceKeyword",e[e.LetKeyword=121]="LetKeyword",e[e.PackageKeyword=122]="PackageKeyword",e[e.PrivateKeyword=123]="PrivateKeyword",e[e.ProtectedKeyword=124]="ProtectedKeyword",e[e.PublicKeyword=125]="PublicKeyword",e[e.StaticKeyword=126]="StaticKeyword",e[e.YieldKeyword=127]="YieldKeyword",e[e.AbstractKeyword=128]="AbstractKeyword",e[e.AccessorKeyword=129]="AccessorKeyword",e[e.AsKeyword=130]="AsKeyword",e[e.AssertsKeyword=131]="AssertsKeyword",e[e.AssertKeyword=132]="AssertKeyword",e[e.AnyKeyword=133]="AnyKeyword",e[e.AsyncKeyword=134]="AsyncKeyword",e[e.AwaitKeyword=135]="AwaitKeyword",e[e.BooleanKeyword=136]="BooleanKeyword",e[e.ConstructorKeyword=137]="ConstructorKeyword",e[e.DeclareKeyword=138]="DeclareKeyword",e[e.GetKeyword=139]="GetKeyword",e[e.InferKeyword=140]="InferKeyword",e[e.IntrinsicKeyword=141]="IntrinsicKeyword",e[e.IsKeyword=142]="IsKeyword",e[e.KeyOfKeyword=143]="KeyOfKeyword",e[e.ModuleKeyword=144]="ModuleKeyword",e[e.NamespaceKeyword=145]="NamespaceKeyword",e[e.NeverKeyword=146]="NeverKeyword",e[e.OutKeyword=147]="OutKeyword",e[e.ReadonlyKeyword=148]="ReadonlyKeyword",e[e.RequireKeyword=149]="RequireKeyword",e[e.NumberKeyword=150]="NumberKeyword",e[e.ObjectKeyword=151]="ObjectKeyword",e[e.SatisfiesKeyword=152]="SatisfiesKeyword",e[e.SetKeyword=153]="SetKeyword",e[e.StringKeyword=154]="StringKeyword",e[e.SymbolKeyword=155]="SymbolKeyword",e[e.TypeKeyword=156]="TypeKeyword",e[e.UndefinedKeyword=157]="UndefinedKeyword",e[e.UniqueKeyword=158]="UniqueKeyword",e[e.UnknownKeyword=159]="UnknownKeyword",e[e.UsingKeyword=160]="UsingKeyword",e[e.FromKeyword=161]="FromKeyword",e[e.GlobalKeyword=162]="GlobalKeyword",e[e.BigIntKeyword=163]="BigIntKeyword",e[e.OverrideKeyword=164]="OverrideKeyword",e[e.OfKeyword=165]="OfKeyword",e[e.DeferKeyword=166]="DeferKeyword",e[e.QualifiedName=167]="QualifiedName",e[e.ComputedPropertyName=168]="ComputedPropertyName",e[e.TypeParameter=169]="TypeParameter",e[e.Parameter=170]="Parameter",e[e.Decorator=171]="Decorator",e[e.PropertySignature=172]="PropertySignature",e[e.PropertyDeclaration=173]="PropertyDeclaration",e[e.MethodSignature=174]="MethodSignature",e[e.MethodDeclaration=175]="MethodDeclaration",e[e.ClassStaticBlockDeclaration=176]="ClassStaticBlockDeclaration",e[e.Constructor=177]="Constructor",e[e.GetAccessor=178]="GetAccessor",e[e.SetAccessor=179]="SetAccessor",e[e.CallSignature=180]="CallSignature",e[e.ConstructSignature=181]="ConstructSignature",e[e.IndexSignature=182]="IndexSignature",e[e.TypePredicate=183]="TypePredicate",e[e.TypeReference=184]="TypeReference",e[e.FunctionType=185]="FunctionType",e[e.ConstructorType=186]="ConstructorType",e[e.TypeQuery=187]="TypeQuery",e[e.TypeLiteral=188]="TypeLiteral",e[e.ArrayType=189]="ArrayType",e[e.TupleType=190]="TupleType",e[e.OptionalType=191]="OptionalType",e[e.RestType=192]="RestType",e[e.UnionType=193]="UnionType",e[e.IntersectionType=194]="IntersectionType",e[e.ConditionalType=195]="ConditionalType",e[e.InferType=196]="InferType",e[e.ParenthesizedType=197]="ParenthesizedType",e[e.ThisType=198]="ThisType",e[e.TypeOperator=199]="TypeOperator",e[e.IndexedAccessType=200]="IndexedAccessType",e[e.MappedType=201]="MappedType",e[e.LiteralType=202]="LiteralType",e[e.NamedTupleMember=203]="NamedTupleMember",e[e.TemplateLiteralType=204]="TemplateLiteralType",e[e.TemplateLiteralTypeSpan=205]="TemplateLiteralTypeSpan",e[e.ImportType=206]="ImportType",e[e.ObjectBindingPattern=207]="ObjectBindingPattern",e[e.ArrayBindingPattern=208]="ArrayBindingPattern",e[e.BindingElement=209]="BindingElement",e[e.ArrayLiteralExpression=210]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=211]="ObjectLiteralExpression",e[e.PropertyAccessExpression=212]="PropertyAccessExpression",e[e.ElementAccessExpression=213]="ElementAccessExpression",e[e.CallExpression=214]="CallExpression",e[e.NewExpression=215]="NewExpression",e[e.TaggedTemplateExpression=216]="TaggedTemplateExpression",e[e.TypeAssertionExpression=217]="TypeAssertionExpression",e[e.ParenthesizedExpression=218]="ParenthesizedExpression",e[e.FunctionExpression=219]="FunctionExpression",e[e.ArrowFunction=220]="ArrowFunction",e[e.DeleteExpression=221]="DeleteExpression",e[e.TypeOfExpression=222]="TypeOfExpression",e[e.VoidExpression=223]="VoidExpression",e[e.AwaitExpression=224]="AwaitExpression",e[e.PrefixUnaryExpression=225]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=226]="PostfixUnaryExpression",e[e.BinaryExpression=227]="BinaryExpression",e[e.ConditionalExpression=228]="ConditionalExpression",e[e.TemplateExpression=229]="TemplateExpression",e[e.YieldExpression=230]="YieldExpression",e[e.SpreadElement=231]="SpreadElement",e[e.ClassExpression=232]="ClassExpression",e[e.OmittedExpression=233]="OmittedExpression",e[e.ExpressionWithTypeArguments=234]="ExpressionWithTypeArguments",e[e.AsExpression=235]="AsExpression",e[e.NonNullExpression=236]="NonNullExpression",e[e.MetaProperty=237]="MetaProperty",e[e.SyntheticExpression=238]="SyntheticExpression",e[e.SatisfiesExpression=239]="SatisfiesExpression",e[e.TemplateSpan=240]="TemplateSpan",e[e.SemicolonClassElement=241]="SemicolonClassElement",e[e.Block=242]="Block",e[e.EmptyStatement=243]="EmptyStatement",e[e.VariableStatement=244]="VariableStatement",e[e.ExpressionStatement=245]="ExpressionStatement",e[e.IfStatement=246]="IfStatement",e[e.DoStatement=247]="DoStatement",e[e.WhileStatement=248]="WhileStatement",e[e.ForStatement=249]="ForStatement",e[e.ForInStatement=250]="ForInStatement",e[e.ForOfStatement=251]="ForOfStatement",e[e.ContinueStatement=252]="ContinueStatement",e[e.BreakStatement=253]="BreakStatement",e[e.ReturnStatement=254]="ReturnStatement",e[e.WithStatement=255]="WithStatement",e[e.SwitchStatement=256]="SwitchStatement",e[e.LabeledStatement=257]="LabeledStatement",e[e.ThrowStatement=258]="ThrowStatement",e[e.TryStatement=259]="TryStatement",e[e.DebuggerStatement=260]="DebuggerStatement",e[e.VariableDeclaration=261]="VariableDeclaration",e[e.VariableDeclarationList=262]="VariableDeclarationList",e[e.FunctionDeclaration=263]="FunctionDeclaration",e[e.ClassDeclaration=264]="ClassDeclaration",e[e.InterfaceDeclaration=265]="InterfaceDeclaration",e[e.TypeAliasDeclaration=266]="TypeAliasDeclaration",e[e.EnumDeclaration=267]="EnumDeclaration",e[e.ModuleDeclaration=268]="ModuleDeclaration",e[e.ModuleBlock=269]="ModuleBlock",e[e.CaseBlock=270]="CaseBlock",e[e.NamespaceExportDeclaration=271]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=272]="ImportEqualsDeclaration",e[e.ImportDeclaration=273]="ImportDeclaration",e[e.ImportClause=274]="ImportClause",e[e.NamespaceImport=275]="NamespaceImport",e[e.NamedImports=276]="NamedImports",e[e.ImportSpecifier=277]="ImportSpecifier",e[e.ExportAssignment=278]="ExportAssignment",e[e.ExportDeclaration=279]="ExportDeclaration",e[e.NamedExports=280]="NamedExports",e[e.NamespaceExport=281]="NamespaceExport",e[e.ExportSpecifier=282]="ExportSpecifier",e[e.MissingDeclaration=283]="MissingDeclaration",e[e.ExternalModuleReference=284]="ExternalModuleReference",e[e.JsxElement=285]="JsxElement",e[e.JsxSelfClosingElement=286]="JsxSelfClosingElement",e[e.JsxOpeningElement=287]="JsxOpeningElement",e[e.JsxClosingElement=288]="JsxClosingElement",e[e.JsxFragment=289]="JsxFragment",e[e.JsxOpeningFragment=290]="JsxOpeningFragment",e[e.JsxClosingFragment=291]="JsxClosingFragment",e[e.JsxAttribute=292]="JsxAttribute",e[e.JsxAttributes=293]="JsxAttributes",e[e.JsxSpreadAttribute=294]="JsxSpreadAttribute",e[e.JsxExpression=295]="JsxExpression",e[e.JsxNamespacedName=296]="JsxNamespacedName",e[e.CaseClause=297]="CaseClause",e[e.DefaultClause=298]="DefaultClause",e[e.HeritageClause=299]="HeritageClause",e[e.CatchClause=300]="CatchClause",e[e.ImportAttributes=301]="ImportAttributes",e[e.ImportAttribute=302]="ImportAttribute",e[e.AssertClause=301]="AssertClause",e[e.AssertEntry=302]="AssertEntry",e[e.ImportTypeAssertionContainer=303]="ImportTypeAssertionContainer",e[e.PropertyAssignment=304]="PropertyAssignment",e[e.ShorthandPropertyAssignment=305]="ShorthandPropertyAssignment",e[e.SpreadAssignment=306]="SpreadAssignment",e[e.EnumMember=307]="EnumMember",e[e.SourceFile=308]="SourceFile",e[e.Bundle=309]="Bundle",e[e.JSDocTypeExpression=310]="JSDocTypeExpression",e[e.JSDocNameReference=311]="JSDocNameReference",e[e.JSDocMemberName=312]="JSDocMemberName",e[e.JSDocAllType=313]="JSDocAllType",e[e.JSDocUnknownType=314]="JSDocUnknownType",e[e.JSDocNullableType=315]="JSDocNullableType",e[e.JSDocNonNullableType=316]="JSDocNonNullableType",e[e.JSDocOptionalType=317]="JSDocOptionalType",e[e.JSDocFunctionType=318]="JSDocFunctionType",e[e.JSDocVariadicType=319]="JSDocVariadicType",e[e.JSDocNamepathType=320]="JSDocNamepathType",e[e.JSDoc=321]="JSDoc",e[e.JSDocComment=321]="JSDocComment",e[e.JSDocText=322]="JSDocText",e[e.JSDocTypeLiteral=323]="JSDocTypeLiteral",e[e.JSDocSignature=324]="JSDocSignature",e[e.JSDocLink=325]="JSDocLink",e[e.JSDocLinkCode=326]="JSDocLinkCode",e[e.JSDocLinkPlain=327]="JSDocLinkPlain",e[e.JSDocTag=328]="JSDocTag",e[e.JSDocAugmentsTag=329]="JSDocAugmentsTag",e[e.JSDocImplementsTag=330]="JSDocImplementsTag",e[e.JSDocAuthorTag=331]="JSDocAuthorTag",e[e.JSDocDeprecatedTag=332]="JSDocDeprecatedTag",e[e.JSDocClassTag=333]="JSDocClassTag",e[e.JSDocPublicTag=334]="JSDocPublicTag",e[e.JSDocPrivateTag=335]="JSDocPrivateTag",e[e.JSDocProtectedTag=336]="JSDocProtectedTag",e[e.JSDocReadonlyTag=337]="JSDocReadonlyTag",e[e.JSDocOverrideTag=338]="JSDocOverrideTag",e[e.JSDocCallbackTag=339]="JSDocCallbackTag",e[e.JSDocOverloadTag=340]="JSDocOverloadTag",e[e.JSDocEnumTag=341]="JSDocEnumTag",e[e.JSDocParameterTag=342]="JSDocParameterTag",e[e.JSDocReturnTag=343]="JSDocReturnTag",e[e.JSDocThisTag=344]="JSDocThisTag",e[e.JSDocTypeTag=345]="JSDocTypeTag",e[e.JSDocTemplateTag=346]="JSDocTemplateTag",e[e.JSDocTypedefTag=347]="JSDocTypedefTag",e[e.JSDocSeeTag=348]="JSDocSeeTag",e[e.JSDocPropertyTag=349]="JSDocPropertyTag",e[e.JSDocThrowsTag=350]="JSDocThrowsTag",e[e.JSDocSatisfiesTag=351]="JSDocSatisfiesTag",e[e.JSDocImportTag=352]="JSDocImportTag",e[e.SyntaxList=353]="SyntaxList",e[e.NotEmittedStatement=354]="NotEmittedStatement",e[e.NotEmittedTypeElement=355]="NotEmittedTypeElement",e[e.PartiallyEmittedExpression=356]="PartiallyEmittedExpression",e[e.CommaListExpression=357]="CommaListExpression",e[e.SyntheticReferenceExpression=358]="SyntheticReferenceExpression",e[e.Count=359]="Count",e[e.FirstAssignment=64]="FirstAssignment",e[e.LastAssignment=79]="LastAssignment",e[e.FirstCompoundAssignment=65]="FirstCompoundAssignment",e[e.LastCompoundAssignment=79]="LastCompoundAssignment",e[e.FirstReservedWord=83]="FirstReservedWord",e[e.LastReservedWord=118]="LastReservedWord",e[e.FirstKeyword=83]="FirstKeyword",e[e.LastKeyword=166]="LastKeyword",e[e.FirstFutureReservedWord=119]="FirstFutureReservedWord",e[e.LastFutureReservedWord=127]="LastFutureReservedWord",e[e.FirstTypeNode=183]="FirstTypeNode",e[e.LastTypeNode=206]="LastTypeNode",e[e.FirstPunctuation=19]="FirstPunctuation",e[e.LastPunctuation=79]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=166]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=9]="FirstLiteralToken",e[e.LastLiteralToken=15]="LastLiteralToken",e[e.FirstTemplateToken=15]="FirstTemplateToken",e[e.LastTemplateToken=18]="LastTemplateToken",e[e.FirstBinaryOperator=30]="FirstBinaryOperator",e[e.LastBinaryOperator=79]="LastBinaryOperator",e[e.FirstStatement=244]="FirstStatement",e[e.LastStatement=260]="LastStatement",e[e.FirstNode=167]="FirstNode",e[e.FirstJSDocNode=310]="FirstJSDocNode",e[e.LastJSDocNode=352]="LastJSDocNode",e[e.FirstJSDocTagNode=328]="FirstJSDocTagNode",e[e.LastJSDocTagNode=352]="LastJSDocTagNode",e[e.FirstContextualKeyword=128]="FirstContextualKeyword",e[e.LastContextualKeyword=166]="LastContextualKeyword",e))(u9||{}),p9=(e=>(e[e.None=0]="None",e[e.Let=1]="Let",e[e.Const=2]="Const",e[e.Using=4]="Using",e[e.AwaitUsing=6]="AwaitUsing",e[e.NestedNamespace=8]="NestedNamespace",e[e.Synthesized=16]="Synthesized",e[e.Namespace=32]="Namespace",e[e.OptionalChain=64]="OptionalChain",e[e.ExportContext=128]="ExportContext",e[e.ContainsThis=256]="ContainsThis",e[e.HasImplicitReturn=512]="HasImplicitReturn",e[e.HasExplicitReturn=1024]="HasExplicitReturn",e[e.GlobalAugmentation=2048]="GlobalAugmentation",e[e.HasAsyncFunctions=4096]="HasAsyncFunctions",e[e.DisallowInContext=8192]="DisallowInContext",e[e.YieldContext=16384]="YieldContext",e[e.DecoratorContext=32768]="DecoratorContext",e[e.AwaitContext=65536]="AwaitContext",e[e.DisallowConditionalTypesContext=131072]="DisallowConditionalTypesContext",e[e.ThisNodeHasError=262144]="ThisNodeHasError",e[e.JavaScriptFile=524288]="JavaScriptFile",e[e.ThisNodeOrAnySubNodesHasError=1048576]="ThisNodeOrAnySubNodesHasError",e[e.HasAggregatedChildData=2097152]="HasAggregatedChildData",e[e.PossiblyContainsDynamicImport=4194304]="PossiblyContainsDynamicImport",e[e.PossiblyContainsImportMeta=8388608]="PossiblyContainsImportMeta",e[e.JSDoc=16777216]="JSDoc",e[e.Ambient=33554432]="Ambient",e[e.InWithStatement=67108864]="InWithStatement",e[e.JsonFile=134217728]="JsonFile",e[e.TypeCached=268435456]="TypeCached",e[e.Deprecated=536870912]="Deprecated",e[e.BlockScoped=7]="BlockScoped",e[e.Constant=6]="Constant",e[e.ReachabilityCheckFlags=1536]="ReachabilityCheckFlags",e[e.ReachabilityAndEmitFlags=5632]="ReachabilityAndEmitFlags",e[e.ContextFlags=101441536]="ContextFlags",e[e.TypeExcludesFlags=81920]="TypeExcludesFlags",e[e.PermanentlySetIncrementalFlags=12582912]="PermanentlySetIncrementalFlags",e[e.IdentifierHasExtendedUnicodeEscape=256]="IdentifierHasExtendedUnicodeEscape",e[e.IdentifierIsInJSDocNamespace=4096]="IdentifierIsInJSDocNamespace",e))(p9||{}),f9=(e=>(e[e.None=0]="None",e[e.Public=1]="Public",e[e.Private=2]="Private",e[e.Protected=4]="Protected",e[e.Readonly=8]="Readonly",e[e.Override=16]="Override",e[e.Export=32]="Export",e[e.Abstract=64]="Abstract",e[e.Ambient=128]="Ambient",e[e.Static=256]="Static",e[e.Accessor=512]="Accessor",e[e.Async=1024]="Async",e[e.Default=2048]="Default",e[e.Const=4096]="Const",e[e.In=8192]="In",e[e.Out=16384]="Out",e[e.Decorator=32768]="Decorator",e[e.Deprecated=65536]="Deprecated",e[e.JSDocPublic=8388608]="JSDocPublic",e[e.JSDocPrivate=16777216]="JSDocPrivate",e[e.JSDocProtected=33554432]="JSDocProtected",e[e.JSDocReadonly=67108864]="JSDocReadonly",e[e.JSDocOverride=134217728]="JSDocOverride",e[e.SyntacticOrJSDocModifiers=31]="SyntacticOrJSDocModifiers",e[e.SyntacticOnlyModifiers=65504]="SyntacticOnlyModifiers",e[e.SyntacticModifiers=65535]="SyntacticModifiers",e[e.JSDocCacheOnlyModifiers=260046848]="JSDocCacheOnlyModifiers",e[e.JSDocOnlyModifiers=65536]="JSDocOnlyModifiers",e[e.NonCacheOnlyModifiers=131071]="NonCacheOnlyModifiers",e[e.HasComputedJSDocModifiers=268435456]="HasComputedJSDocModifiers",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AccessibilityModifier=7]="AccessibilityModifier",e[e.ParameterPropertyModifier=31]="ParameterPropertyModifier",e[e.NonPublicAccessibilityModifier=6]="NonPublicAccessibilityModifier",e[e.TypeScriptModifier=28895]="TypeScriptModifier",e[e.ExportDefault=2080]="ExportDefault",e[e.All=131071]="All",e[e.Modifier=98303]="Modifier",e))(f9||{}),RZ=(e=>(e[e.None=0]="None",e[e.IntrinsicNamedElement=1]="IntrinsicNamedElement",e[e.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",e[e.IntrinsicElement=3]="IntrinsicElement",e))(RZ||{}),m9=(e=>(e[e.None=0]="None",e[e.Succeeded=1]="Succeeded",e[e.Failed=2]="Failed",e[e.ReportsUnmeasurable=8]="ReportsUnmeasurable",e[e.ReportsUnreliable=16]="ReportsUnreliable",e[e.ReportsMask=24]="ReportsMask",e[e.ComplexityOverflow=32]="ComplexityOverflow",e[e.StackDepthOverflow=64]="StackDepthOverflow",e[e.Overflow=96]="Overflow",e))(m9||{}),DZ=(e=>(e[e.None=0]="None",e[e.Always=1]="Always",e[e.Never=2]="Never",e[e.Sometimes=3]="Sometimes",e))(DZ||{}),h9=(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))(h9||{}),CZ=(e=>(e[e.None=0]="None",e[e.HasIndices=1]="HasIndices",e[e.Global=2]="Global",e[e.IgnoreCase=4]="IgnoreCase",e[e.Multiline=8]="Multiline",e[e.DotAll=16]="DotAll",e[e.Unicode=32]="Unicode",e[e.UnicodeSets=64]="UnicodeSets",e[e.Sticky=128]="Sticky",e[e.AnyUnicodeMode=96]="AnyUnicodeMode",e[e.Modifiers=28]="Modifiers",e))(CZ||{}),NZ=(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.HexEscape=4096]="HexEscape",e[e.ContainsLeadingZero=8192]="ContainsLeadingZero",e[e.ContainsInvalidSeparator=16384]="ContainsInvalidSeparator",e[e.PrecedingJSDocLeadingAsterisks=32768]="PrecedingJSDocLeadingAsterisks",e[e.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",e[e.WithSpecifier=448]="WithSpecifier",e[e.StringLiteralFlags=7176]="StringLiteralFlags",e[e.NumericLiteralFlags=25584]="NumericLiteralFlags",e[e.TemplateLiteralLikeFlags=7176]="TemplateLiteralLikeFlags",e[e.IsInvalid=26656]="IsInvalid",e))(NZ||{}),YW=(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))(YW||{}),MZ=(e=>(e[e.ExpectError=0]="ExpectError",e[e.Ignore=1]="Ignore",e))(MZ||{}),SN=class{},_9=(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))(_9||{}),PZ=(e=>(e[e.FilePreprocessingLibReferenceDiagnostic=0]="FilePreprocessingLibReferenceDiagnostic",e[e.FilePreprocessingFileExplainingDiagnostic=1]="FilePreprocessingFileExplainingDiagnostic",e[e.ResolutionDiagnostics=2]="ResolutionDiagnostics",e))(PZ||{}),LZ=(e=>(e[e.Js=0]="Js",e[e.Dts=1]="Dts",e[e.BuilderSignature=2]="BuilderSignature",e))(LZ||{}),g9=(e=>(e[e.Not=0]="Not",e[e.SafeModules=1]="SafeModules",e[e.Completely=2]="Completely",e))(g9||{}),kZ=(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))(kZ||{}),wZ=(e=>(e[e.Ok=0]="Ok",e[e.NeedsOverride=1]="NeedsOverride",e[e.HasInvalidOverride=2]="HasInvalidOverride",e))(wZ||{}),OZ=(e=>(e[e.None=0]="None",e[e.Literal=1]="Literal",e[e.Subtype=2]="Subtype",e))(OZ||{}),WZ=(e=>(e[e.None=0]="None",e[e.NoSupertypeReduction=1]="NoSupertypeReduction",e[e.NoConstraintReduction=2]="NoConstraintReduction",e))(WZ||{}),FZ=(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))(FZ||{}),zZ=(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.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",e[e.IgnoreErrors=70221824]="IgnoreErrors",e[e.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.InInitialEntityName=16777216]="InInitialEntityName",e))(zZ||{}),BZ=(e=>(e[e.None=0]="None",e[e.WriteComputedProps=1]="WriteComputedProps",e[e.NoSyntacticPrinter=2]="NoSyntacticPrinter",e[e.DoNotIncludeSymbolChain=4]="DoNotIncludeSymbolChain",e[e.AllowUnresolvedNames=8]="AllowUnresolvedNames",e))(BZ||{}),GZ=(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.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=848330095]="NodeBuilderFlagsMask",e))(GZ||{}),VZ=(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))(VZ||{}),jZ=(e=>(e[e.Accessible=0]="Accessible",e[e.NotAccessible=1]="NotAccessible",e[e.CannotBeNamed=2]="CannotBeNamed",e[e.NotResolved=3]="NotResolved",e))(jZ||{}),UZ=(e=>(e[e.This=0]="This",e[e.Identifier=1]="Identifier",e[e.AssertsThis=2]="AssertsThis",e[e.AssertsIdentifier=3]="AssertsIdentifier",e))(UZ||{}),HZ=(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))(HZ||{}),y9=(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=-1]="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))(y9||{}),qZ=(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))(qZ||{}),JZ=(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.InstantiationExpression="__instantiationExpression",e.ImportAttributes="__importAttributes",e))(JZ||{}),v9=(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.NeedsLoopOutParameter=65536]="NeedsLoopOutParameter",e[e.AssignmentsMarked=131072]="AssignmentsMarked",e[e.ContainsConstructorReference=262144]="ContainsConstructorReference",e[e.ConstructorReference=536870912]="ConstructorReference",e[e.ContainsClassWithPrivateIdentifiers=1048576]="ContainsClassWithPrivateIdentifiers",e[e.ContainsSuperPropertyInStaticInitializer=2097152]="ContainsSuperPropertyInStaticInitializer",e[e.InCheckIdentifier=4194304]="InCheckIdentifier",e[e.PartiallyTypeChecked=8388608]="PartiallyTypeChecked",e[e.LazyFlags=539358128]="LazyFlags",e))(v9||{}),b9=(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.Reserved1=536870912]="Reserved1",e[e.Reserved2=1073741824]="Reserved2",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.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.Primitive=402784252]="Primitive",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=473694207]="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.IncludesConstrainedTypeVariable=536870912]="IncludesConstrainedTypeVariable",e[e.IncludesError=1073741824]="IncludesError",e[e.NotPrimitiveUnion=36323331]="NotPrimitiveUnion",e))(b9||{}),T9=(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.SingleSignatureType=134217728]="SingleSignatureType",e[e.ClassOrInterface=3]="ClassOrInterface",e[e.RequiresWidening=196608]="RequiresWidening",e[e.PropagatingFlags=458752]="PropagatingFlags",e[e.InstantiatedMapped=96]="InstantiatedMapped",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[e.IsConstrainedTypeVariable=67108864]="IsConstrainedTypeVariable",e))(T9||{}),KZ=(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))(KZ||{}),XZ=(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))(XZ||{}),YZ=(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.AllowMissing=16]="AllowMissing",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))(YZ||{}),$Z=(e=>(e[e.None=0]="None",e[e.StringsOnly=1]="StringsOnly",e[e.NoIndexSignatures=2]="NoIndexSignatures",e[e.NoReducibleCheck=4]="NoReducibleCheck",e))($Z||{}),QZ=(e=>(e[e.Component=0]="Component",e[e.Function=1]="Function",e[e.Mixed=2]="Mixed",e))(QZ||{}),ZZ=(e=>(e[e.Call=0]="Call",e[e.Construct=1]="Construct",e))(ZZ||{}),S9=(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.IsNonInferrable=64]="IsNonInferrable",e[e.IsSignatureCandidateForOverloadFailure=128]="IsSignatureCandidateForOverloadFailure",e[e.PropagatingFlags=167]="PropagatingFlags",e[e.CallChainFlags=24]="CallChainFlags",e))(S9||{}),eee=(e=>(e[e.String=0]="String",e[e.Number=1]="Number",e))(eee||{}),tee=(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))(tee||{}),nee=(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))(nee||{}),ree=(e=>(e[e.None=0]="None",e[e.NoDefault=1]="NoDefault",e[e.AnyDefault=2]="AnyDefault",e[e.SkippedGenericFunction=4]="SkippedGenericFunction",e))(ree||{}),iee=(e=>(e[e.False=0]="False",e[e.Unknown=1]="Unknown",e[e.Maybe=3]="Maybe",e[e.True=-1]="True",e))(iee||{}),oee=(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))(oee||{}),$W=(e=>(e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Suggestion=2]="Suggestion",e[e.Message=3]="Message",e))($W||{});function UE(e,t=!0){const r=$W[e.category];return t?r.toLowerCase():r}var NR=(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))(NR||{}),aee=(e=>(e[e.Legacy=1]="Legacy",e[e.Auto=2]="Auto",e[e.Force=3]="Force",e))(aee||{}),see=(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))(see||{}),lee=(e=>(e[e.UseFsEvents=0]="UseFsEvents",e[e.FixedPollingInterval=1]="FixedPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.FixedChunkSizePolling=3]="FixedChunkSizePolling",e))(lee||{}),cee=(e=>(e[e.FixedInterval=0]="FixedInterval",e[e.PriorityInterval=1]="PriorityInterval",e[e.DynamicPriority=2]="DynamicPriority",e[e.FixedChunkSize=3]="FixedChunkSize",e))(cee||{}),MR=(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.Node18=101]="Node18",e[e.Node20=102]="Node20",e[e.NodeNext=199]="NodeNext",e[e.Preserve=200]="Preserve",e))(MR||{}),dee=(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))(dee||{}),uee=(e=>(e[e.Remove=0]="Remove",e[e.Preserve=1]="Preserve",e[e.Error=2]="Error",e))(uee||{}),pee=(e=>(e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed",e))(pee||{}),E9=(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))(E9||{}),fee=(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.ES2023=10]="ES2023",e[e.ES2024=11]="ES2024",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest",e))(fee||{}),mee=(e=>(e[e.Standard=0]="Standard",e[e.JSX=1]="JSX",e))(mee||{}),hee=(e=>(e[e.None=0]="None",e[e.Recursive=1]="Recursive",e))(hee||{}),_ee=(e=>(e[e.EOF=-1]="EOF",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.replacementCharacter=65533]="replacementCharacter",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))(_ee||{}),gee=(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))(gee||{}),A9=(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))(A9||{}),I9=(e=>(e[e.TabStop=0]="TabStop",e[e.Placeholder=1]="Placeholder",e[e.Choice=2]="Choice",e[e.Variable=3]="Variable",e))(I9||{}),x9=(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.Iterator=8388608]="Iterator",e[e.NoAsciiEscaping=16777216]="NoAsciiEscaping",e))(x9||{}),yee=(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))(yee||{}),ed={Classes:2,ForOf:2,Generators:2,Iteration:2,SpreadElements:2,RestElements:2,TaggedTemplates:2,DestructuringAssignment:2,BindingPatterns:2,ArrowFunctions:2,BlockScopedVariables:2,ObjectAssign:2,RegularExpressionFlagsUnicode:2,RegularExpressionFlagsSticky:2,Exponentiation:3,AsyncFunctions:4,ForAwaitOf:5,AsyncGenerators:5,AsyncIteration:5,ObjectSpreadRest:5,RegularExpressionFlagsDotAll:5,BindinglessCatch:6,BigInt:7,NullishCoalesce:7,OptionalChaining:7,LogicalAssignment:8,TopLevelAwait:9,ClassFields:9,PrivateNamesAndClassStaticBlocks:9,RegularExpressionFlagsHasIndices:9,ShebangComments:10,RegularExpressionFlagsUnicodeSets:11,UsingAndAwaitUsing:99,ClassAndClassElementDecorators:99},vee=(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.SetFunctionName=4194304]="SetFunctionName",e[e.PropKey=8388608]="PropKey",e[e.AddDisposableResourceAndDisposeResources=16777216]="AddDisposableResourceAndDisposeResources",e[e.RewriteRelativeImportExtension=33554432]="RewriteRelativeImportExtension",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))(vee||{}),bee=(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[e.ImportTypeNodeAttributes=7]="ImportTypeNodeAttributes",e))(bee||{}),Tee=(e=>(e[e.Parentheses=1]="Parentheses",e[e.TypeAssertions=2]="TypeAssertions",e[e.NonNullAssertions=4]="NonNullAssertions",e[e.PartiallyEmittedExpressions=8]="PartiallyEmittedExpressions",e[e.ExpressionsWithTypeArguments=16]="ExpressionsWithTypeArguments",e[e.Satisfies=32]="Satisfies",e[e.Assertions=38]="Assertions",e[e.All=63]="All",e[e.ExcludeJSDocTypeAssertion=-2147483648]="ExcludeJSDocTypeAssertion",e))(Tee||{}),See=(e=>(e[e.None=0]="None",e[e.InParameters=1]="InParameters",e[e.VariablesHoistedInParameters=2]="VariablesHoistedInParameters",e))(See||{}),Eee=(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.ImportAttributes=526226]="ImportAttributes",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))(Eee||{}),Aee=(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))(Aee||{}),QW={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},{name:"preserve",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}},Iee=(e=>(e[e.ParseAll=0]="ParseAll",e[e.ParseNone=1]="ParseNone",e[e.ParseForTypeErrors=2]="ParseForTypeErrors",e[e.ParseForTypeInfo=3]="ParseForTypeInfo",e))(Iee||{});function E2(e){let t=5381;for(let r=0;r<e.length;r++)t=(t<<5)+t+e.charCodeAt(r);return t.toString()}function U0e(){Error.stackTraceLimit<100&&(Error.stackTraceLimit=100)}var xee=(e=>(e[e.Created=0]="Created",e[e.Changed=1]="Changed",e[e.Deleted=2]="Deleted",e))(xee||{}),R9=(e=>(e[e.High=2e3]="High",e[e.Medium=500]="Medium",e[e.Low=250]="Low",e))(R9||{}),Mp=new Date(0);function nI(e,t){return e.getModifiedTime(t)||Mp}function Ree(e){return{250:e.Low,500:e.Medium,2e3:e.High}}var D9={Low:32,Medium:64,High:256},C9=Ree(D9),ZW=Ree(D9);function D9e(e){if(!e.getEnvironmentVariable)return;const t=o("TSC_WATCH_POLLINGINTERVAL",R9);C9=s("TSC_WATCH_POLLINGCHUNKSIZE",D9)||C9,ZW=s("TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS",D9)||ZW;function r(l,u){return e.getEnvironmentVariable("".concat(l,"_").concat(u.toUpperCase()))}function i(l){let u;return d("Low"),d("Medium"),d("High"),u;function d(_){const m=r(l,_);m&&((u||(u={}))[_]=Number(m))}}function o(l,u){const d=i(l);if(d)return _("Low"),_("Medium"),_("High"),!0;return!1;function _(m){u[m]=d[m]||u[m]}}function s(l,u){const d=i(l);return(t||d)&&Ree(d?{...u,...d}:u)}}function H0e(e,t,r,i,o){let s=r;for(let u=t.length;i&&u;l(),u--){const d=t[r];if(d){if(d.isClosed){t[r]=void 0;continue}}else continue;i--;const _=P9e(d,nI(e,d.fileName));if(d.isClosed){t[r]=void 0;continue}o==null||o(d,r,_),t[r]&&(s<r&&(t[s]=d,t[r]=void 0),s++)}return r;function l(){r++,r===t.length&&(s<r&&(t.length=s),r=0,s=0)}}function C9e(e){const t=[],r=[],i=u(250),o=u(500),s=u(2e3);return l;function l(M,k,F){const O={fileName:M,callback:k,unchangedPolls:0,mtime:nI(e,M)};return t.push(O),E(O,F),{close:()=>{O.isClosed=!0,eI(t,O)}}}function u(M){const k=[];return k.pollingInterval=M,k.pollIndex=0,k.pollScheduled=!1,k}function d(M,k){k.pollIndex=m(k,k.pollingInterval,k.pollIndex,C9[k.pollingInterval]),k.length?N(k.pollingInterval):(C.assert(k.pollIndex===0),k.pollScheduled=!1)}function _(M,k){m(r,250,0,r.length),d(M,k),!k.pollScheduled&&r.length&&N(250)}function m(M,k,F,O){return H0e(e,M,F,O,G);function G(j,K,Q){Q?(j.unchangedPolls=0,M!==r&&(M[K]=void 0,A(j))):j.unchangedPolls!==ZW[k]?j.unchangedPolls++:M===r?(j.unchangedPolls=1,M[K]=void 0,E(j,250)):k!==2e3&&(j.unchangedPolls++,M[K]=void 0,E(j,k===250?500:2e3))}}function y(M){switch(M){case 250:return i;case 500:return o;case 2e3:return s}}function E(M,k){y(k).push(M),R(k)}function A(M){r.push(M),R(250)}function R(M){y(M).pollScheduled||N(M)}function N(M){y(M).pollScheduled=e.setTimeout(M===250?_:d,M,M===250?"pollLowPollingIntervalQueue":"pollPollingIntervalQueue",y(M))}}function N9e(e,t,r,i){const o=fm(),s=i?new Map:void 0,l=new Map,u=Fd(t);return d;function d(m,y,E,A){const R=u(m);o.add(R,y).length===1&&s&&s.set(R,r(m)||Mp);const N=pi(R)||".",M=l.get(N)||_(pi(m)||".",N,A);return M.referenceCount++,{close:()=>{M.referenceCount===1?(M.close(),l.delete(N)):M.referenceCount--,o.remove(R,y)}}}function _(m,y,E){const A=e(m,1,(R,N)=>{if(!jo(N))return;const M=Eo(N,m),k=u(M),F=M&&o.get(k);if(F){let O,G=1;if(s){const j=s.get(k);if(R==="change"&&(O=r(M)||Mp,O.getTime()===j.getTime()))return;O||(O=r(M)||Mp),s.set(k,O),j===Mp?G=0:O===Mp&&(G=2)}for(const j of F)j(M,G,O)}},!1,500,E);return A.referenceCount=0,l.set(y,A),A}}function M9e(e){const t=[];let r=0,i;return o;function o(u,d){const _={fileName:u,callback:d,mtime:nI(e,u)};return t.push(_),l(),{close:()=>{_.isClosed=!0,eI(t,_)}}}function s(){i=void 0,r=H0e(e,t,r,C9[250]),l()}function l(){!t.length||i||(i=e.setTimeout(s,2e3,"pollQueue"))}}function q0e(e,t,r,i,o){const l=Fd(t)(r),u=e.get(l);return u?u.callbacks.push(i):e.set(l,{watcher:o((d,_,m)=>{var y;return(y=e.get(l))==null?void 0:y.callbacks.slice().forEach(E=>E(d,_,m))}),callbacks:[i]}),{close:()=>{const d=e.get(l);d&&(!hN(d.callbacks,i)||d.callbacks.length||(e.delete(l),Xf(d)))}}}function P9e(e,t){const r=e.mtime.getTime(),i=t.getTime();return r!==i?(e.mtime=t,e.callback(e.fileName,N9(r,i),t),!0):!1}function N9(e,t){return e===0?0:t===0?2:1}var eF=["/node_modules/.","/.git","/.#"],J0e=vs;function tF(e){return J0e(e)}function Dee(e){J0e=e}function L9e({watchDirectory:e,useCaseSensitiveFileNames:t,getCurrentDirectory:r,getAccessibleSortedChildDirectories:i,fileSystemEntryExists:o,realpath:s,setTimeout:l,clearTimeout:u}){const d=new Map,_=fm(),m=new Map;let y;const E=DR(!t),A=Fd(t);return(J,he,re,q)=>re?R(J,q,he):e(J,he,re,q);function R(J,he,re,q){var Ae;const ue=A(J);let de=d.get(ue);de?de.refCount++:(de={watcher:e(J,Re=>{var $;K(Re,he)||(he!=null&&he.synchronousWatchDirectory?(($=d.get(ue))!=null&&$.targetWatcher||N(J,ue,Re),j(J,ue,he)):M(J,ue,Re,he))},!1,he),refCount:1,childWatches:se,targetWatcher:void 0,links:void 0},d.set(ue,de),j(J,ue,he)),q&&((Ae=de.links)!=null?Ae:de.links=new Set).add(q);const ge=re&&{dirName:J,callback:re};return ge&&_.add(ue,ge),{dirName:J,close:()=>{var Re;const $=C.checkDefined(d.get(ue));ge&&_.remove(ue,ge),q&&((Re=$.links)==null||Re.delete(q)),$.refCount--,!$.refCount&&(d.delete(ue),$.links=void 0,Xf($),G($),$.childWatches.forEach(jm))}}}function N(J,he,re,q){var ue,de;let ge,Ae;jo(re)?ge=re:Ae=re,_.forEach((Re,$)=>{if(!(Ae&&Ae.get($)===!0)&&($===he||fo(he,$)&&he[$.length]===$s))if(Ae)if(q){const ve=Ae.get($);ve?ve.push(...q):Ae.set($,q.slice())}else Ae.set($,!0);else Re.forEach(({callback:ve})=>ve(ge))}),(de=(ue=d.get(he))==null?void 0:ue.links)==null||de.forEach(Re=>{const $=ve=>ei(Re,df(J,ve,A));Ae?N(Re,A(Re),Ae,q==null?void 0:q.map($)):N(Re,A(Re),$(ge))})}function M(J,he,re,q){const ue=d.get(he);if(ue&&o(J,1)){k(J,he,re,q);return}N(J,he,re),G(ue),O(ue)}function k(J,he,re,q){const ue=m.get(he);ue?ue.fileNames.push(re):m.set(he,{dirName:J,options:q,fileNames:[re]}),y&&(u(y),y=void 0),y=l(F,1e3,"timerToUpdateChildWatches")}function F(){var J;y=void 0,tF("sysLog:: onTimerToUpdateChildWatches:: ".concat(m.size));const he=Os(),re=new Map;for(;!y&&m.size;){const ue=m.entries().next();C.assert(!ue.done);const{value:[de,{dirName:ge,options:Ae,fileNames:Re}]}=ue;m.delete(de);const $=j(ge,de,Ae);(J=d.get(de))!=null&&J.targetWatcher||N(ge,de,re,$?void 0:Re)}tF("sysLog:: invokingWatchers:: Elapsed:: ".concat(Os()-he,"ms:: ").concat(m.size)),_.forEach((ue,de)=>{const ge=re.get(de);ge&&ue.forEach(({callback:Ae,dirName:Re})=>{Lo(ge)?ge.forEach(Ae):Ae(Re)})});const q=Os()-he;tF("sysLog:: Elapsed:: ".concat(q,"ms:: onTimerToUpdateChildWatches:: ").concat(m.size," ").concat(y))}function O(J){if(!J)return;const he=J.childWatches;J.childWatches=se;for(const re of he)re.close(),O(d.get(A(re.dirName)))}function G(J){J!=null&&J.targetWatcher&&(J.targetWatcher.close(),J.targetWatcher=void 0)}function j(J,he,re){const q=d.get(he);if(!q)return!1;const ue=Sa(s(J));let de,ge;return E(ue,J)===0?de=KW(o(J,1)?Hi(i(J),$=>{const ve=Eo($,J);return!K(ve,re)&&E(ve,Sa(s(ve)))===0?ve:void 0}):se,q.childWatches,($,ve)=>E($,ve.dirName),Ae,jm,Re):q.targetWatcher&&E(ue,q.targetWatcher.dirName)===0?(de=!1,C.assert(q.childWatches===se)):(G(q),q.targetWatcher=R(ue,re,void 0,J),q.childWatches.forEach(jm),de=!0),q.childWatches=ge||se,de;function Ae($){const ve=R($,re);Re(ve)}function Re($){(ge||(ge=[])).push($)}}function K(J,he){return bt(eF,re=>Q(J,re))||K0e(J,he,t,r)}function Q(J,he){return J.includes(he)?!0:t?!1:A(J).includes(he)}}var Cee=(e=>(e[e.File=0]="File",e[e.Directory=1]="Directory",e))(Cee||{});function k9e(e){return(t,r,i)=>e(r===1?"change":"rename","",i)}function w9e(e,t,r){return(i,o,s)=>{i==="rename"?(s||(s=r(e)||Mp),t(e,s!==Mp?0:2,s)):t(e,1,s)}}function K0e(e,t,r,i){return((t==null?void 0:t.excludeDirectories)||(t==null?void 0:t.excludeFiles))&&(e3(e,t==null?void 0:t.excludeFiles,r,i())||e3(e,t==null?void 0:t.excludeDirectories,r,i()))}function X0e(e,t,r,i,o){return(s,l)=>{if(s==="rename"){const u=l?Sa(ei(e,l)):e;(!l||!K0e(u,r,i,o))&&t(u)}}}function Y0e({pollingWatchFileWorker:e,getModifiedTime:t,setTimeout:r,clearTimeout:i,fsWatchWorker:o,fileSystemEntryExists:s,useCaseSensitiveFileNames:l,getCurrentDirectory:u,fsSupportsRecursiveFsWatch:d,getAccessibleSortedChildDirectories:_,realpath:m,tscWatchFile:y,useNonPollingWatchers:E,tscWatchDirectory:A,inodeWatching:R,fsWatchWithTimestamp:N,sysLog:M}){const k=new Map,F=new Map,O=new Map;let G,j,K,Q,J=!1;return{watchFile:he,watchDirectory:ge};function he(ee,Se,Ne,ze){ze=ue(ze,E);const lt=C.checkDefined(ze.watchFile);switch(lt){case 0:return $(ee,Se,250,void 0);case 1:return $(ee,Se,Ne,void 0);case 2:return re()(ee,Se,Ne,void 0);case 3:return q()(ee,Se,void 0,void 0);case 4:return ve(ee,0,w9e(ee,Se,t),!1,Ne,rO(ze));case 5:return K||(K=N9e(ve,l,t,N)),K(ee,Se,Ne,rO(ze));default:C.assertNever(lt)}}function re(){return G||(G=C9e({getModifiedTime:t,setTimeout:r}))}function q(){return j||(j=M9e({getModifiedTime:t,setTimeout:r}))}function ue(ee,Se){if(ee&&ee.watchFile!==void 0)return ee;switch(y){case"PriorityPollingInterval":return{watchFile:1};case"DynamicPriorityPolling":return{watchFile:2};case"UseFsEvents":return de(4,1,ee);case"UseFsEventsWithFallbackDynamicPolling":return de(4,2,ee);case"UseFsEventsOnParentDirectory":Se=!0;default:return Se?de(5,1,ee):{watchFile:4}}}function de(ee,Se,Ne){const ze=Ne==null?void 0:Ne.fallbackPolling;return{watchFile:ee,fallbackPolling:ze===void 0?Se:ze}}function ge(ee,Se,Ne,ze){return d?ve(ee,1,X0e(ee,Se,ze,l,u),Ne,500,rO(ze)):(Q||(Q=L9e({useCaseSensitiveFileNames:l,getCurrentDirectory:u,fileSystemEntryExists:s,getAccessibleSortedChildDirectories:_,watchDirectory:Ae,realpath:m,setTimeout:r,clearTimeout:i})),Q(ee,Se,Ne,ze))}function Ae(ee,Se,Ne,ze){C.assert(!Ne);const lt=Re(ze),le=C.checkDefined(lt.watchDirectory);switch(le){case 1:return $(ee,()=>Se(ee),500,void 0);case 2:return re()(ee,()=>Se(ee),500,void 0);case 3:return q()(ee,()=>Se(ee),void 0,void 0);case 0:return ve(ee,1,X0e(ee,Se,ze,l,u),Ne,500,rO(lt));default:C.assertNever(le)}}function Re(ee){if(ee&&ee.watchDirectory!==void 0)return ee;switch(A){case"RecursiveDirectoryUsingFsWatchFile":return{watchDirectory:1};case"RecursiveDirectoryUsingDynamicPriorityPolling":return{watchDirectory:2};default:const Se=ee==null?void 0:ee.fallbackPolling;return{watchDirectory:0,fallbackPolling:Se!==void 0?Se:void 0}}}function $(ee,Se,Ne,ze){return q0e(k,l,ee,Se,lt=>e(ee,lt,Ne,ze))}function ve(ee,Se,Ne,ze,lt,le){return q0e(ze?O:F,l,ee,Ne,De=>je(ee,Se,De,ze,lt,le))}function je(ee,Se,Ne,ze,lt,le){let De,_e;R&&(De=ee.substring(ee.lastIndexOf($s)),_e=De.slice($s.length));let Ve=s(ee,Se)?Be():Vt();return{close:()=>{Ve&&(Ve.close(),Ve=void 0)}};function Ge(mn){Ve&&(M("sysLog:: ".concat(ee,":: Changing watcher to ").concat(mn===Be?"Present":"Missing","FileSystemEntryWatcher")),Ve.close(),Ve=mn())}function Be(){if(J)return M("sysLog:: ".concat(ee,":: Defaulting to watchFile")),Ot();try{const mn=(Se===1||!N?o:be)(ee,ze,R?ot:Ne);return mn.on("error",()=>{Ne("rename",""),Ge(Vt)}),mn}catch(mn){return J||(J=mn.code==="ENOSPC"),M("sysLog:: ".concat(ee,":: Changing to watchFile")),Ot()}}function ot(mn,Hn){let gt;if(Hn&&il(Hn,"~")&&(gt=Hn,Hn=Hn.slice(0,Hn.length-1)),mn==="rename"&&(!Hn||Hn===_e||il(Hn,De))){const tn=t(ee)||Mp;gt&&Ne(mn,gt,tn),Ne(mn,Hn,tn),R?Ge(tn===Mp?Vt:Be):tn===Mp&&Ge(Vt)}else gt&&Ne(mn,gt),Ne(mn,Hn)}function Ot(){return he(ee,k9e(Ne),lt,le)}function Vt(){return he(ee,(mn,Hn,gt)=>{Hn===0&&(gt||(gt=t(ee)||Mp),gt!==Mp&&(Ne("rename","",gt),Ge(Be)))},lt,le)}}function be(ee,Se,Ne){let ze=t(ee)||Mp;return o(ee,Se,(lt,le,De)=>{lt==="change"&&(De||(De=t(ee)||Mp),De.getTime()===ze.getTime())||(ze=De||t(ee)||Mp,Ne(lt,le,ze))})}}function $0e(e){const t=e.writeFile;e.writeFile=(r,i,o)=>fV(r,i,!!o,(s,l,u)=>t.call(e,s,l,u),s=>e.createDirectory(s),s=>e.directoryExists(s))}var Vc=(()=>{let e;return s9(),e})();function Q0e(e){Vc=e}Vc&&Vc.getEnvironmentVariable&&(D9e(Vc),C.setAssertionLevel(/^development$/i.test(Vc.getEnvironmentVariable("NODE_ENV"))?1:0)),Vc&&Vc.debugMode&&(C.isDebugging=!0);var $s="/",nF="\\",Z0e="://",O9e=/\\/g;function M9(e){return e===47||e===92}function Nee(e){return rF(e)<0}function Pp(e){return rF(e)>0}function P9(e){const t=rF(e);return t>0&&t===e.length}function EN(e){return rF(e)!==0}function tf(e){return/^\.\.?(?:$|[\\/])/.test(e)}function L9(e){return!EN(e)&&!tf(e)}function PR(e){return Ec(e).includes(".")}function xl(e,t){return e.length>t.length&&il(e,t)}function Ql(e,t){for(const r of t)if(xl(e,r))return!0;return!1}function cb(e){return e.length>0&&M9(e.charCodeAt(e.length-1))}function eTe(e){return e>=97&&e<=122||e>=65&&e<=90}function W9e(e,t){const r=e.charCodeAt(t);if(r===58)return t+1;if(r===37&&e.charCodeAt(t+1)===51){const i=e.charCodeAt(t+2);if(i===97||i===65)return t+3}return-1}function rF(e){if(!e)return 0;const t=e.charCodeAt(0);if(t===47||t===92){if(e.charCodeAt(1)!==t)return 1;const i=e.indexOf(t===47?$s:nF,2);return i<0?e.length:i+1}if(eTe(t)&&e.charCodeAt(1)===58){const i=e.charCodeAt(2);if(i===47||i===92)return 3;if(e.length===2)return 2}const r=e.indexOf(Z0e);if(r!==-1){const i=r+Z0e.length,o=e.indexOf($s,i);if(o!==-1){const s=e.slice(0,r),l=e.slice(i,o);if(s==="file"&&(l===""||l==="localhost")&&eTe(e.charCodeAt(o+1))){const u=W9e(e,o+2);if(u!==-1){if(e.charCodeAt(u)===47)return~(u+1);if(u===e.length)return~u}}return~(o+1)}return~e.length}return 0}function Uh(e){const t=rF(e);return t<0?~t:t}function pi(e){e=Bd(e);const t=Uh(e);return t===e.length?e:(e=ev(e),e.slice(0,Math.max(t,e.lastIndexOf($s))))}function Ec(e,t,r){if(e=Bd(e),Uh(e)===e.length)return"";e=ev(e);const o=e.slice(Math.max(Uh(e),e.lastIndexOf($s)+1)),s=t!==void 0&&r!==void 0?rI(o,t,r):void 0;return s?o.slice(0,o.length-s.length):o}function tTe(e,t,r){if(fo(t,".")||(t="."+t),e.length>=t.length&&e.charCodeAt(e.length-t.length)===46){const i=e.slice(e.length-t.length);if(r(i,t))return i}}function F9e(e,t,r){if(typeof t=="string")return tTe(e,t,r)||"";for(const i of t){const o=tTe(e,i,r);if(o)return o}return""}function rI(e,t,r){if(t)return F9e(ev(e),t,r?sb:pS);const i=Ec(e),o=i.lastIndexOf(".");return o>=0?i.substring(o):""}function z9e(e,t){const r=e.substring(0,t),i=e.substring(t).split($s);return i.length&&!rl(i)&&i.pop(),[r,...i]}function zd(e,t=""){return e=ei(t,e),z9e(e,Uh(e))}function P0(e,t){return e.length===0?"":(e[0]&&jc(e[0]))+e.slice(1,t).join($s)}function Bd(e){return e.includes("\\")?e.replace(O9e,$s):e}function iI(e){if(!bt(e))return[];const t=[e[0]];for(let r=1;r<e.length;r++){const i=e[r];if(i&&i!=="."){if(i===".."){if(t.length>1){if(t[t.length-1]!==".."){t.pop();continue}}else if(t[0])continue}t.push(i)}}return t}function ei(e,...t){e&&(e=Bd(e));for(let r of t)r&&(r=Bd(r),!e||Uh(r)!==0?e=r:e=jc(e)+r);return e}function db(e,...t){return Sa(bt(t)?ei(e,...t):Bd(e))}function iF(e,t){return iI(zd(e,t))}function Eo(e,t){let r=Uh(e);r===0&&t?(e=ei(t,e),r=Uh(e)):e=Bd(e);const i=nTe(e);if(i!==void 0)return i.length>r?ev(i):i;const o=e.length,s=e.substring(0,r);let l,u=r,d=u,_=u,m=r!==0;for(;u<o;){d=u;let y=e.charCodeAt(u);for(;y===47&&u+1<o;)u++,y=e.charCodeAt(u);u>d&&(l!=null||(l=e.substring(0,d-1)),d=u);let E=e.indexOf($s,u+1);E===-1&&(E=o);const A=E-d;if(A===1&&e.charCodeAt(u)===46)l!=null||(l=e.substring(0,_));else if(A===2&&e.charCodeAt(u)===46&&e.charCodeAt(u+1)===46)if(!m)l!==void 0?l+=l.length===r?"..":"/..":_=u+2;else if(l===void 0)_-2>=0?l=e.substring(0,Math.max(r,e.lastIndexOf($s,_-2))):l=e.substring(0,_);else{const R=l.lastIndexOf($s);R!==-1?l=l.substring(0,Math.max(r,R)):l=s,l.length===r&&(m=r!==0)}else l!==void 0?(l.length!==r&&(l+=$s),m=!0,l+=e.substring(d,E)):(m=!0,_=E);u=E+1}return l!=null?l:o>r?ev(e):e}function Sa(e){e=Bd(e);let t=nTe(e);return t!==void 0?t:(t=Eo(e,""),t&&cb(e)?jc(t):t)}function nTe(e){if(!w9.test(e))return e;let t=e.replace(/\/\.\//g,"/");if(t.startsWith("./")&&(t=t.slice(2)),t!==e&&(e=t,!w9.test(e)))return e}function B9e(e){return e.length===0?"":e.slice(1).join($s)}function k9(e,t){return B9e(iF(e,t))}function Ws(e,t,r){const i=Pp(e)?Sa(e):Eo(e,t);return r(i)}function ev(e){return cb(e)?e.substr(0,e.length-1):e}function jc(e){return cb(e)?e:e+$s}function HE(e){return!EN(e)&&!tf(e)?"./"+e:e}function A2(e,t,r,i){const o=r!==void 0&&i!==void 0?rI(e,r,i):rI(e);return o?e.slice(0,e.length-o.length)+(fo(t,".")?t:"."+t):e}function oF(e,t){const r=B4(e);return r?e.slice(0,e.length-r.length)+(fo(t,".")?t:"."+t):A2(e,t)}var w9=/\/\/|(?:^|\/)\.\.?(?:$|\/)/;function Mee(e,t,r){if(e===t)return 0;if(e===void 0)return-1;if(t===void 0)return 1;const i=e.substring(0,Uh(e)),o=t.substring(0,Uh(t)),s=y2(i,o);if(s!==0)return s;const l=e.substring(i.length),u=t.substring(o.length);if(!w9.test(l)&&!w9.test(u))return r(l,u);const d=iI(zd(e)),_=iI(zd(t)),m=Math.min(d.length,_.length);for(let y=1;y<m;y++){const E=r(d[y],_[y]);if(E!==0)return E}return Js(d.length,_.length)}function rTe(e,t){return Mee(e,t,Wd)}function iTe(e,t){return Mee(e,t,y2)}function iy(e,t,r,i){return typeof r=="string"?(e=ei(r,e),t=ei(r,t)):typeof r=="boolean"&&(i=r),Mee(e,t,DR(i))}function hm(e,t,r,i){if(typeof r=="string"?(e=ei(r,e),t=ei(r,t)):typeof r=="boolean"&&(i=r),e===void 0||t===void 0)return!1;if(e===t)return!0;const o=iI(zd(e)),s=iI(zd(t));if(s.length<o.length)return!1;const l=i?sb:pS;for(let u=0;u<o.length;u++)if(!(u===0?sb:l)(o[u],s[u]))return!1;return!0}function O9(e,t,r){const i=r(e),o=r(t);return fo(i,o+"/")||fo(i,o+"\\")}function oTe(e,t,r,i){const o=iI(zd(e)),s=iI(zd(t));let l;for(l=0;l<o.length&&l<s.length;l++){const _=i(o[l]),m=i(s[l]);if(!(l===0?sb:r)(_,m))break}if(l===0)return s;const u=s.slice(l),d=[];for(;l<o.length;l++)d.push("..");return["",...d,...u]}function df(e,t,r){C.assert(Uh(e)>0==Uh(t)>0,"Paths must either both be absolute or both be relative");const s=oTe(e,t,(typeof r=="boolean"?r:!1)?sb:pS,typeof r=="function"?r:qs);return P0(s)}function AN(e,t,r){return Pp(e)?kR(t,e,t,r,!1):e}function LR(e,t,r){return HE(df(pi(e),t,r))}function kR(e,t,r,i,o){const s=oTe(db(r,e),db(r,t),pS,i),l=s[0];if(o&&Pp(l)){const u=l.charAt(0)===$s?"file://":"file:///";s[0]=u+l}return P0(s)}function IN(e,t){for(;;){const r=t(e);if(r!==void 0)return r;const i=pi(e);if(i===e)return;e=i}}function aF(e){return il(e,"/node_modules")}function S(e,t,r,i,o,s,l){return{code:e,category:t,key:r,message:i,reportsUnnecessary:o,elidedInCompatabilityPyramid:s,reportsDeprecated:l}}var f={Unterminated_string_literal:S(1002,1,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:S(1003,1,"Identifier_expected_1003","Identifier expected."),_0_expected:S(1005,1,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:S(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:S(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:S(1009,1,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:S(1010,1,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:S(1011,1,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:S(1012,1,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(1025,1,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:S(1028,1,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:S(1029,1,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:S(1030,1,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:S(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:S(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:S(1035,1,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(1047,1,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:S(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:S(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:S(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:S(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:S(1053,1,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:S(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_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:S(1055,1,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compa_1055","Type '{0}' is not a valid async function return type in ES5 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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}>'?"),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type:S(1065,1,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1065","The return type of an async function or method must be the global Promise<T> type."),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:S(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:S(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:S(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:S(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:S(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:S(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:S(1084,1,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),_0_modifier_cannot_appear_on_a_constructor_declaration:S(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:S(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:S(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:S(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:S(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:S(1094,1,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:S(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:S(1096,1,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:S(1097,1,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:S(1098,1,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:S(1099,1,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(1109,1,"Expression_expected_1109","Expression expected."),Type_expected:S(1110,1,"Type_expected_1110","Type expected."),Private_field_0_must_be_declared_in_an_enclosing_class:S(1111,1,"Private_field_0_must_be_declared_in_an_enclosing_class_1111","Private field '{0}' must be declared in an enclosing class."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:S(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:S(1114,1,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:S(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:S(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:S(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:S(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:S(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:S(1120,1,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_Use_the_syntax_0:S(1121,1,"Octal_literals_are_not_allowed_Use_the_syntax_0_1121","Octal literals are not allowed. Use the syntax '{0}'."),Variable_declaration_list_cannot_be_empty:S(1123,1,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:S(1124,1,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:S(1125,1,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:S(1126,1,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:S(1127,1,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:S(1128,1,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:S(1129,1,"Statement_expected_1129","Statement expected."),case_or_default_expected:S(1130,1,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:S(1131,1,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:S(1132,1,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:S(1134,1,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:S(1135,1,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:S(1136,1,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:S(1137,1,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:S(1138,1,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:S(1139,1,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:S(1140,1,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:S(1141,1,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:S(1142,1,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:S(1144,1,"or_expected_1144","'{' or ';' expected."),or_JSX_element_expected:S(1145,1,"or_JSX_element_expected_1145","'{' or JSX element expected."),Declaration_expected:S(1146,1,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:S(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:S(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:S(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."),_0_declarations_must_be_initialized:S(1155,1,"_0_declarations_must_be_initialized_1155","'{0}' declarations must be initialized."),_0_declarations_can_only_be_declared_inside_a_block:S(1156,1,"_0_declarations_can_only_be_declared_inside_a_block_1156","'{0}' declarations can only be declared inside a block."),Unterminated_template_literal:S(1160,1,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:S(1161,1,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(1172,1,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:S(1173,1,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:S(1174,1,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:S(1175,1,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:S(1176,1,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:S(1177,1,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:S(1178,1,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:S(1179,1,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:S(1180,1,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:S(1181,1,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:S(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:S(1183,1,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:S(1184,1,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:S(1185,1,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:S(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:S(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:S(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:S(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:S(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:S(1191,1,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:S(1192,1,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:S(1193,1,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:S(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:S(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:S(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:S(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:S(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:S(1199,1,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(1223,1,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:S(1224,1,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:S(1225,1,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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_ES5:S(1250,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definitions_are_automatically_in_strict_mode:S(1251,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definiti_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_automatically_in_strict_mode:S(1252,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_au_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. Modules are automatically in strict mode."),Abstract_properties_can_only_appear_within_an_abstract_class:S(1253,1,"Abstract_properties_can_only_appear_within_an_abstract_class_1253","Abstract properties can only appear within an abstract class."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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."),ECMAScript_imports_and_exports_cannot_be_written_in_a_CommonJS_file_under_verbatimModuleSyntax:S(1286,1,"ECMAScript_imports_and_exports_cannot_be_written_in_a_CommonJS_file_under_verbatimModuleSyntax_1286","ECMAScript imports and exports cannot be written in a CommonJS file under 'verbatimModuleSyntax'."),A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:S(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:S(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."),_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported:S(1289,1,"_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_1289","'{0}' resolves to a type-only declaration and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'import type' where '{0}' is imported."),_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default:S(1290,1,"_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_1290","'{0}' resolves to a type-only declaration and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'export type { {0} as default }'."),_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported:S(1291,1,"_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1291","'{0}' resolves to a type and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'import type' where '{0}' is imported."),_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default:S(1292,1,"_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1292","'{0}' resolves to a type and must be marked type-only in this file before re-exporting when '{1}' is enabled. Consider using 'export type { {0} as default }'."),ECMAScript_module_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve:S(1293,1,"ECMAScript_module_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve_1293","ECMAScript module syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'."),This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled:S(1294,1,"This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled_1294","This syntax is not allowed when 'erasableSyntaxOnly' is enabled."),ECMAScript_imports_and_exports_cannot_be_written_in_a_CommonJS_file_under_verbatimModuleSyntax_Adjust_the_type_field_in_the_nearest_package_json_to_make_this_file_an_ECMAScript_module_or_adjust_your_verbatimModuleSyntax_module_and_moduleResolution_settings_in_TypeScript:S(1295,1,"ECMAScript_imports_and_exports_cannot_be_written_in_a_CommonJS_file_under_verbatimModuleSyntax_Adjus_1295","ECMAScript imports and exports cannot be written in a CommonJS file under 'verbatimModuleSyntax'. Adjust the 'type' field in the nearest 'package.json' to make this file an ECMAScript module, or adjust your 'verbatimModuleSyntax', 'module', and 'moduleResolution' settings in TypeScript."),with_statements_are_not_allowed_in_an_async_function_block:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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_node18_node20_or_nodenext:S(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', 'node18', 'node20', or 'nodenext'."),Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_node18_node20_nodenext_or_preserve:S(1324,1,"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_node18_1324","Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', 'node18', 'node20', 'nodenext', or 'preserve'."),Argument_of_dynamic_import_cannot_be_spread_element:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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_node18_node20_or_nodenext:S(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', 'node18', 'node20', or 'nodenext'."),A_label_is_not_allowed_here:S(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:S(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:S(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:S(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:S(1348,1,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:S(1349,1,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:S(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:S(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:S(1352,1,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(1364,3,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:S(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:S(1366,3,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:S(1367,3,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Class_constructor_may_not_be_a_generator:S(1368,1,"Class_constructor_may_not_be_a_generator_1368","Class constructor may not be a generator."),Did_you_mean_0:S(1369,3,"Did_you_mean_0_1369","Did you mean '{0}'?"),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:S(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:S(1376,3,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:S(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_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:S(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', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:S(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:S(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:S(1381,1,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:S(1382,1,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:S(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:S(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:S(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:S(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:S(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:S(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:S(1392,1,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:S(1393,3,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:S(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:S(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:S(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:S(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:S(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:S(1399,3,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:S(1400,3,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:S(1401,3,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:S(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:S(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:S(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:S(1405,3,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:S(1406,3,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(1422,3,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:S(1423,3,"File_is_library_specified_here_1423","File is library specified here."),Default_library:S(1424,3,"Default_library_1424","Default library"),Default_library_for_target_0:S(1425,3,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:S(1426,3,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:S(1427,3,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:S(1428,3,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:S(1429,3,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:S(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:S(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_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:S(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', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters:S(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:S(1434,1,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:S(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:S(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:S(1437,1,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:S(1438,1,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:S(1439,1,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:S(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:S(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:S(1442,1,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:S(1443,1,"Module_declaration_names_may_only_use_or_quoted_strings_1443","Module declaration names may only use ' or \" quoted strings."),_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled:S(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:S(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_set_of_attributes_as_arguments:S(1450,3,"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments_1450","Dynamic imports can only accept a module specifier and an optional set of attributes 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:S(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_should_be_either_require_or_import:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(1461,3,"File_is_CommonJS_module_because_package_json_was_not_found_1461","File is CommonJS module because 'package.json' was not found"),resolution_mode_is_the_only_valid_key_for_type_import_attributes:S(1463,1,"resolution_mode_is_the_only_valid_key_for_type_import_attributes_1463","'resolution-mode' is the only valid key for type import attributes."),Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:S(1464,1,"Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464","Type import attributes should have exactly one key - 'resolution-mode' - with value 'import' or 'require'."),The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(1486,1,"Decorator_used_before_export_here_1486","Decorator used before 'export' here."),Octal_escape_sequences_are_not_allowed_Use_the_syntax_0:S(1487,1,"Octal_escape_sequences_are_not_allowed_Use_the_syntax_0_1487","Octal escape sequences are not allowed. Use the syntax '{0}'."),Escape_sequence_0_is_not_allowed:S(1488,1,"Escape_sequence_0_is_not_allowed_1488","Escape sequence '{0}' is not allowed."),Decimals_with_leading_zeros_are_not_allowed:S(1489,1,"Decimals_with_leading_zeros_are_not_allowed_1489","Decimals with leading zeros are not allowed."),File_appears_to_be_binary:S(1490,1,"File_appears_to_be_binary_1490","File appears to be binary."),_0_modifier_cannot_appear_on_a_using_declaration:S(1491,1,"_0_modifier_cannot_appear_on_a_using_declaration_1491","'{0}' modifier cannot appear on a 'using' declaration."),_0_declarations_may_not_have_binding_patterns:S(1492,1,"_0_declarations_may_not_have_binding_patterns_1492","'{0}' declarations may not have binding patterns."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration:S(1493,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration_1493","The left-hand side of a 'for...in' statement cannot be a 'using' declaration."),The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration:S(1494,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration_1494","The left-hand side of a 'for...in' statement cannot be an 'await using' declaration."),_0_modifier_cannot_appear_on_an_await_using_declaration:S(1495,1,"_0_modifier_cannot_appear_on_an_await_using_declaration_1495","'{0}' modifier cannot appear on an 'await using' declaration."),Identifier_string_literal_or_number_literal_expected:S(1496,1,"Identifier_string_literal_or_number_literal_expected_1496","Identifier, string literal, or number literal expected."),Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator:S(1497,1,"Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator_1497","Expression must be enclosed in parentheses to be used as a decorator."),Invalid_syntax_in_decorator:S(1498,1,"Invalid_syntax_in_decorator_1498","Invalid syntax in decorator."),Unknown_regular_expression_flag:S(1499,1,"Unknown_regular_expression_flag_1499","Unknown regular expression flag."),Duplicate_regular_expression_flag:S(1500,1,"Duplicate_regular_expression_flag_1500","Duplicate regular expression flag."),This_regular_expression_flag_is_only_available_when_targeting_0_or_later:S(1501,1,"This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501","This regular expression flag is only available when targeting '{0}' or later."),The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously:S(1502,1,"The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously_1502","The Unicode (u) flag and the Unicode Sets (v) flag cannot be set simultaneously."),Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later:S(1503,1,"Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503","Named capturing groups are only available when targeting 'ES2018' or later."),Subpattern_flags_must_be_present_when_there_is_a_minus_sign:S(1504,1,"Subpattern_flags_must_be_present_when_there_is_a_minus_sign_1504","Subpattern flags must be present when there is a minus sign."),Incomplete_quantifier_Digit_expected:S(1505,1,"Incomplete_quantifier_Digit_expected_1505","Incomplete quantifier. Digit expected."),Numbers_out_of_order_in_quantifier:S(1506,1,"Numbers_out_of_order_in_quantifier_1506","Numbers out of order in quantifier."),There_is_nothing_available_for_repetition:S(1507,1,"There_is_nothing_available_for_repetition_1507","There is nothing available for repetition."),Unexpected_0_Did_you_mean_to_escape_it_with_backslash:S(1508,1,"Unexpected_0_Did_you_mean_to_escape_it_with_backslash_1508","Unexpected '{0}'. Did you mean to escape it with backslash?"),This_regular_expression_flag_cannot_be_toggled_within_a_subpattern:S(1509,1,"This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509","This regular expression flag cannot be toggled within a subpattern."),k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets:S(1510,1,"k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets_1510","'\\k' must be followed by a capturing group name enclosed in angle brackets."),q_is_only_available_inside_character_class:S(1511,1,"q_is_only_available_inside_character_class_1511","'\\q' is only available inside character class."),c_must_be_followed_by_an_ASCII_letter:S(1512,1,"c_must_be_followed_by_an_ASCII_letter_1512","'\\c' must be followed by an ASCII letter."),Undetermined_character_escape:S(1513,1,"Undetermined_character_escape_1513","Undetermined character escape."),Expected_a_capturing_group_name:S(1514,1,"Expected_a_capturing_group_name_1514","Expected a capturing group name."),Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other:S(1515,1,"Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515","Named capturing groups with the same name must be mutually exclusive to each other."),A_character_class_range_must_not_be_bounded_by_another_character_class:S(1516,1,"A_character_class_range_must_not_be_bounded_by_another_character_class_1516","A character class range must not be bounded by another character class."),Range_out_of_order_in_character_class:S(1517,1,"Range_out_of_order_in_character_class_1517","Range out of order in character class."),Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class:S(1518,1,"Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_characte_1518","Anything that would possibly match more than a single character is invalid inside a negated character class."),Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead:S(1519,1,"Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead_1519","Operators must not be mixed within a character class. Wrap it in a nested class instead."),Expected_a_class_set_operand:S(1520,1,"Expected_a_class_set_operand_1520","Expected a class set operand."),q_must_be_followed_by_string_alternatives_enclosed_in_braces:S(1521,1,"q_must_be_followed_by_string_alternatives_enclosed_in_braces_1521","'\\q' must be followed by string alternatives enclosed in braces."),A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backslash:S(1522,1,"A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backs_1522","A character class must not contain a reserved double punctuator. Did you mean to escape it with backslash?"),Expected_a_Unicode_property_name:S(1523,1,"Expected_a_Unicode_property_name_1523","Expected a Unicode property name."),Unknown_Unicode_property_name:S(1524,1,"Unknown_Unicode_property_name_1524","Unknown Unicode property name."),Expected_a_Unicode_property_value:S(1525,1,"Expected_a_Unicode_property_value_1525","Expected a Unicode property value."),Unknown_Unicode_property_value:S(1526,1,"Unknown_Unicode_property_value_1526","Unknown Unicode property value."),Expected_a_Unicode_property_name_or_value:S(1527,1,"Expected_a_Unicode_property_name_or_value_1527","Expected a Unicode property name or value."),Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_the_Unicode_Sets_v_flag_is_set:S(1528,1,"Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_t_1528","Any Unicode property that would possibly match more than a single character is only available when the Unicode Sets (v) flag is set."),Unknown_Unicode_property_name_or_value:S(1529,1,"Unknown_Unicode_property_name_or_value_1529","Unknown Unicode property name or value."),Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set:S(1530,1,"Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v__1530","Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set."),_0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces:S(1531,1,"_0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces_1531","'\\{0}' must be followed by a Unicode property value expression enclosed in braces."),There_is_no_capturing_group_named_0_in_this_regular_expression:S(1532,1,"There_is_no_capturing_group_named_0_in_this_regular_expression_1532","There is no capturing group named '{0}' in this regular expression."),This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_regular_expression:S(1533,1,"This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_r_1533","This backreference refers to a group that does not exist. There are only {0} capturing groups in this regular expression."),This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regular_expression:S(1534,1,"This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534","This backreference refers to a group that does not exist. There are no capturing groups in this regular expression."),This_character_cannot_be_escaped_in_a_regular_expression:S(1535,1,"This_character_cannot_be_escaped_in_a_regular_expression_1535","This character cannot be escaped in a regular expression."),Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended_as_an_escape_sequence_use_the_syntax_0_instead:S(1536,1,"Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended__1536","Octal escape sequences and backreferences are not allowed in a character class. If this was intended as an escape sequence, use the syntax '{0}' instead."),Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class:S(1537,1,"Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_1537","Decimal escape sequences and backreferences are not allowed in a character class."),Unicode_escape_sequences_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set:S(1538,1,"Unicode_escape_sequences_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_se_1538","Unicode escape sequences are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set."),A_bigint_literal_cannot_be_used_as_a_property_name:S(1539,1,"A_bigint_literal_cannot_be_used_as_a_property_name_1539","A 'bigint' literal cannot be used as a property name."),A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_keyword_instead:S(1540,2,"A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_key_1540","A 'namespace' declaration should not be declared using the 'module' keyword. Please use the 'namespace' keyword instead.",void 0,void 0,!0),Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute:S(1541,1,"Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541","Type-only import of an ECMAScript module from a CommonJS module must have a 'resolution-mode' attribute."),Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute:S(1542,1,"Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542","Type import of an ECMAScript module from a CommonJS module must have a 'resolution-mode' attribute."),Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_module_is_set_to_0:S(1543,1,"Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_mod_1543","Importing a JSON file into an ECMAScript module requires a 'type: \"json\"' import attribute when 'module' is set to '{0}'."),Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0:S(1544,1,"Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544","Named imports from a JSON file into an ECMAScript module are not allowed when 'module' is set to '{0}'."),using_declarations_are_not_allowed_in_ambient_contexts:S(1545,1,"using_declarations_are_not_allowed_in_ambient_contexts_1545","'using' declarations are not allowed in ambient contexts."),await_using_declarations_are_not_allowed_in_ambient_contexts:S(1546,1,"await_using_declarations_are_not_allowed_in_ambient_contexts_1546","'await using' declarations are not allowed in ambient contexts."),The_types_of_0_are_incompatible_between_these_types:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(2211,3,"Add_extends_constraint_2211","Add `extends` constraint."),Add_extends_constraint_to_all_type_parameters:S(2212,3,"Add_extends_constraint_to_all_type_parameters_2212","Add `extends` constraint to all type parameters"),Duplicate_identifier_0:S(2300,1,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:S(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:S(2302,1,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:S(2303,1,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:S(2304,1,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:S(2305,1,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:S(2306,1,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(2314,1,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:S(2315,1,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:S(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:S(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:S(2318,1,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:S(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:S(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:S(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:S(2322,1,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:S(2323,1,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(2332,1,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_a_static_property_initializer:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(2349,1,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:S(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:S(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:S(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:S(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:S(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_undefined_void_nor_any_must_return_a_value:S(2355,1,"A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:S(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:S(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:S(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_either_of_type_any_a_class_function_or_other_type_assignable_to_the_Function_interface_type_or_an_object_type_with_a_Symbol_hasInstance_method:S(2359,1,"The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_2359","The right-hand side of an 'instanceof' expression must be either of type 'any', a class, function, or other type assignable to the 'Function' interface type, or an object type with a 'Symbol.hasInstance' method."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(2372,1,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:S(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:S(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:S(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:S(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:S(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:S(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:S(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."),Overload_signatures_must_all_be_exported_or_non_exported:S(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:S(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:S(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:S(2386,1,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:S(2387,1,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:S(2388,1,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:S(2389,1,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:S(2390,1,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:S(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:S(2392,1,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:S(2393,1,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(2414,1,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:S(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:S(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:S(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:S(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:S(2419,1,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:S(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:S(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:S(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:S(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:S(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:S(2427,1,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:S(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:S(2430,1,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(2449,1,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:S(2450,1,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:S(2451,1,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:S(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:S(2454,1,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:S(2456,1,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:S(2457,1,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(2468,1,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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_ES5_Consider_using_a_standard_function_expression:S(2496,1,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES5_Consider_using_a_standard_func_2496","The 'arguments' object cannot be referenced in an arrow function in 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:S(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:S(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:S(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:S(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:S(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:S(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:S(2503,1,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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_ES5_Consider_using_a_standard_function_or_method:S(2522,1,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES5_Consider_using_a_sta_2522","The 'arguments' object cannot be referenced in an async function or method in ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:S(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:S(2524,1,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'await' expressions cannot be used in a parameter initializer."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:S(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:S(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:S(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:S(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:S(2530,1,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:S(2531,1,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:S(2532,1,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(2554,1,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(2571,1,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:S(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:S(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:S(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:S(2577,1,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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."),React_components_cannot_include_JSX_namespace_names:S(2639,1,"React_components_cannot_include_JSX_namespace_names_2639","React components cannot include JSX namespace names"),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:S(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."),Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and_2_more:S(2650,1,"Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and__2650","Non-abstract class expression is missing implementations for the following members of '{0}': {1} and {2} more."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:S(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:S(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:S(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}'."),Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2:S(2654,1,"Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_2654","Non-abstract class '{0}' is missing implementations for the following members of '{1}': {2}."),Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more:S(2655,1,"Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more_2655","Non-abstract class '{0}' is missing implementations for the following members of '{1}': {2} and {3} more."),Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1:S(2656,1,"Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_2656","Non-abstract class expression is missing implementations for the following members of '{0}': {1}."),JSX_expressions_must_have_one_parent_element:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:S(2705,1,"An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_2705","An async function or method in ES5 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:S(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:S(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:S(2708,1,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:S(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:S(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:S(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_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:S(2712,1,"A_dynamic_import_call_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_t_2712","A dynamic import call in ES5 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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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_and_above_with_module_0:S(2725,1,"Class_name_cannot_be_Object_when_targeting_ES5_and_above_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 and above with module {0}."),Cannot_find_lib_definition_for_0:S(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:S(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:S(2728,3,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:S(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:S(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:S(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:S(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:S(2733,1,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(2750,1,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:S(2751,1,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:S(2752,1,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:S(2753,1,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:S(2754,1,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(2769,1,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:S(2770,1,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:S(2771,1,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(2785,1,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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_or_class_static_initialization_blocks:S(2815,1,"arguments_cannot_be_referenced_in_property_initializers_or_class_static_initialization_blocks_2815","'arguments' cannot be referenced in property initializers or class static initialization blocks."),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:S(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:S(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:S(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:S(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:S(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_node18_node20_nodenext_or_preserve:S(2821,1,"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_node18_node20_nodenext__2821","Import assertions are only supported when the '--module' option is set to 'esnext', 'node18', 'node20', 'nodenext', or 'preserve'."),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:S(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."),Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_node18_node20_nodenext_or_preserve:S(2823,1,"Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_node18_node20_nodenext__2823","Import attributes are only supported when the '--module' option is set to 'esnext', 'node18', 'node20', 'nodenext', or 'preserve'."),Cannot_find_namespace_0_Did_you_mean_1:S(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:S(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:S(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_compile_to_CommonJS_require_calls:S(2836,1,"Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2836","Import assertions are not allowed on statements that compile to CommonJS 'require' calls."),Import_assertion_values_must_be_string_literal_expressions:S(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:S(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:S(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_It_can_only_extend_other_named_object_types:S(2840,1,"An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types_2840","An interface cannot extend a primitive type like '{0}'. It can only extend other named object types."),_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation:S(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:S(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:S(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:S(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:S(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?"),The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression:S(2848,1,"The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression_2848","The right-hand side of an 'instanceof' expression must not be an instantiation expression."),Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1:S(2849,1,"Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1_2849","Target signature provides too few arguments. Expected {0} or more, but got {1}."),The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined:S(2850,1,"The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_n_2850","The initializer of a 'using' declaration must be either an object with a '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined:S(2851,1,"The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_2851","The initializer of an 'await using' declaration must be either an object with a '[Symbol.asyncDispose]()' or '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:S(2852,1,"await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852","'await using' statements are only allowed within async functions and at the top levels of modules."),await_using_statements_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:S(2853,1,"await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853","'await using' statements 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_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:S(2854,1,"Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_sys_2854","Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher."),Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super:S(2855,1,"Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855","Class field '{0}' defined by the parent class is not accessible in the child class via super."),Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:S(2856,1,"Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2856","Import attributes are not allowed on statements that compile to CommonJS 'require' calls."),Import_attributes_cannot_be_used_with_type_only_imports_or_exports:S(2857,1,"Import_attributes_cannot_be_used_with_type_only_imports_or_exports_2857","Import attributes cannot be used with type-only imports or exports."),Import_attribute_values_must_be_string_literal_expressions:S(2858,1,"Import_attribute_values_must_be_string_literal_expressions_2858","Import attribute values must be string literal expressions."),Excessive_complexity_comparing_types_0_and_1:S(2859,1,"Excessive_complexity_comparing_types_0_and_1_2859","Excessive complexity comparing types '{0}' and '{1}'."),The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method:S(2860,1,"The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_2860","The left-hand side of an 'instanceof' expression must be assignable to the first argument of the right-hand side's '[Symbol.hasInstance]' method."),An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression:S(2861,1,"An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_han_2861","An object's '[Symbol.hasInstance]' method must return a boolean value for it to be used on the right-hand side of an 'instanceof' expression."),Type_0_is_generic_and_can_only_be_indexed_for_reading:S(2862,1,"Type_0_is_generic_and_can_only_be_indexed_for_reading_2862","Type '{0}' is generic and can only be indexed for reading."),A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values:S(2863,1,"A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values_2863","A class cannot extend a primitive type like '{0}'. Classes can only extend constructable values."),A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types:S(2864,1,"A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types_2864","A class cannot implement a primitive type like '{0}'. It can only implement other named object types."),Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled:S(2865,1,"Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_2865","Import '{0}' conflicts with local value, so must be declared with a type-only import when 'isolatedModules' is enabled."),Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled:S(2866,1,"Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_w_2866","Import '{0}' conflicts with global value used in this file, so must be declared with a type-only import when 'isolatedModules' is enabled."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun:S(2867,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_2867","Cannot find name '{0}'. Do you need to install type definitions for Bun? Try `npm i --save-dev @types/bun`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_and_then_add_bun_to_the_types_field_in_your_tsconfig:S(2868,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_2868","Cannot find name '{0}'. Do you need to install type definitions for Bun? Try `npm i --save-dev @types/bun` and then add 'bun' to the types field in your tsconfig."),Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish:S(2869,1,"Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869","Right operand of ?? is unreachable because the left operand is never nullish."),This_binary_expression_is_never_nullish_Are_you_missing_parentheses:S(2870,1,"This_binary_expression_is_never_nullish_Are_you_missing_parentheses_2870","This binary expression is never nullish. Are you missing parentheses?"),This_expression_is_always_nullish:S(2871,1,"This_expression_is_always_nullish_2871","This expression is always nullish."),This_kind_of_expression_is_always_truthy:S(2872,1,"This_kind_of_expression_is_always_truthy_2872","This kind of expression is always truthy."),This_kind_of_expression_is_always_falsy:S(2873,1,"This_kind_of_expression_is_always_falsy_2873","This kind of expression is always falsy."),This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found:S(2874,1,"This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found_2874","This JSX tag requires '{0}' to be in scope, but it could not be found."),This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_for_the_appropriate_package_installed:S(2875,1,"This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_fo_2875","This JSX tag requires the module path '{0}' to exist, but none could be found. Make sure you have types for the appropriate package installed."),This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolves_to_0:S(2876,1,"This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolv_2876",'This relative import path is unsafe to rewrite because it looks like a file name, but actually resolves to "{0}".'),This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_during_emit_because_it_is_not_a_relative_path:S(2877,1,"This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_duri_2877","This import uses a '{0}' extension to resolve to an input TypeScript file, but will not be rewritten during emit because it is not a relative path."),This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_between_the_projects_output_files_is_not_the_same_as_the_relative_path_between_its_input_files:S(2878,1,"This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_b_2878","This import path is unsafe to rewrite because it resolves to another project, and the relative path between the projects' output files is not the same as the relative path between its input files."),Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found:S(2879,1,"Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879","Using JSX fragments requires fragment factory '{0}' to be in scope, but it could not be found."),Import_assertions_have_been_replaced_by_import_attributes_Use_with_instead_of_assert:S(2880,1,"Import_assertions_have_been_replaced_by_import_attributes_Use_with_instead_of_assert_2880","Import assertions have been replaced by import attributes. Use 'with' instead of 'assert'."),This_expression_is_never_nullish:S(2881,1,"This_expression_is_never_nullish_2881","This expression is never nullish."),Import_declaration_0_is_using_private_name_1:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:S(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:S(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_anonymous_class_type_may_not_be_private_or_protected:S(4094,1,"Property_0_of_exported_anonymous_class_type_may_not_be_private_or_protected_4094","Property '{0}' of exported anonymous class type 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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(4109,1,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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'."),Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given:S(4125,1,"Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given_4125","Each declaration of '{0}.{1}' differs in its value, where '{2}' was expected but '{3}' was given."),One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value:S(4126,1,"One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value_4126","One value of '{0}.{1}' is the string '{2}', and the other is assumed to be an unknown numeric value."),This_member_cannot_have_an_override_modifier_because_its_name_is_dynamic:S(4127,1,"This_member_cannot_have_an_override_modifier_because_its_name_is_dynamic_4127","This member cannot have an 'override' modifier because its name is dynamic."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_name_is_dynamic:S(4128,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_name_is_dynamic_4128","This member cannot have a JSDoc comment with an '@override' tag because its name is dynamic."),The_current_host_does_not_support_the_0_option:S(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:S(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:S(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:S(5012,1,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Unknown_compiler_option_0:S(5023,1,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:S(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:S(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:S(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:S(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:S(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_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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_cannot_be_specified_when_module_is_set_to_none_system_or_umd:S(5071,1,"Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071","Option '--resolveJsonModule' cannot be specified when 'module' is set to 'none', 'system', or 'umd'."),Unknown_build_option_0:S(5072,1,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:S(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:S(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:S(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:S(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:S(5077,1,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:S(5078,1,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:S(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:S(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:S(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:S(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:S(5083,1,"Cannot_read_file_0_5083","Cannot read file '{0}'."),A_tuple_member_cannot_be_both_optional_and_rest:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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_preserve_or_to_es2015_or_later:S(5095,1,"Option_0_can_only_be_used_when_module_is_set_to_preserve_or_to_es2015_or_later_5095","Option '{0}' can only be used when 'module' is set to 'preserve' or to 'es2015' or later."),Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set:S(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:S(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:S(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:S(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:S(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:S(5103,1,"Invalid_value_for_ignoreDeprecations_5103","Invalid value for '--ignoreDeprecations'."),Option_0_is_redundant_and_cannot_be_specified_with_option_1:S(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:S(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:S(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:S(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:S(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."),Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1:S(5109,1,"Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1_5109","Option 'moduleResolution' must be set to '{0}' (or left unspecified) when option 'module' is set to '{1}'."),Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1:S(5110,1,"Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1_5110","Option 'module' must be set to '{0}' when option 'moduleResolution' is set to '{1}'."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:S(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:S(6001,3,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:S(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:S(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:S(6005,3,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:S(6006,3,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:S(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:S(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:S(6009,3,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:S(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:S(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:S(6012,3,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:S(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:S(6014,3,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:S(6015,3,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:S(6016,3,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:S(6017,3,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:S(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:S(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:S(6023,3,"Syntax_Colon_0_6023","Syntax: {0}"),options:S(6024,3,"options_6024","options"),file:S(6025,3,"file_6025","file"),Examples_Colon_0:S(6026,3,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:S(6027,3,"Options_Colon_6027","Options:"),Version_0:S(6029,3,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:S(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:S(6031,3,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:S(6032,3,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:S(6034,3,"KIND_6034","KIND"),FILE:S(6035,3,"FILE_6035","FILE"),VERSION:S(6036,3,"VERSION_6036","VERSION"),LOCATION:S(6037,3,"LOCATION_6037","LOCATION"),DIRECTORY:S(6038,3,"DIRECTORY_6038","DIRECTORY"),STRATEGY:S(6039,3,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:S(6040,3,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:S(6041,3,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:S(6043,3,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:S(6044,1,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:S(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:S(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:S(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:S(6050,1,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:S(6051,1,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:S(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:S(6053,1,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:S(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:S(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:S(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:S(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:S(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:S(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:S(6061,3,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:S(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:S(6065,3,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:S(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:S(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:S(6071,3,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(6080,3,"Specify_JSX_code_generation_6080","Specify JSX code generation."),Only_amd_and_system_modules_are_supported_alongside_0:S(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:S(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:S(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:S(6085,3,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:S(6086,3,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:S(6087,3,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:S(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:S(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:S(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:S(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:S(6092,3,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:S(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:S(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:S(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:S(6096,3,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exists_use_it_as_a_name_resolution_result:S(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:S(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:S(6099,3,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(6110,3,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:S(6111,3,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:S(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:S(6113,3,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:S(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:S(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:S(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:S(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:S(6120,3,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:S(6121,3,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(6134,3,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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}'."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:S(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:S(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:S(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:S(6149,3,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:S(6150,3,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(6162,3,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:S(6163,3,"The_character_set_of_the_input_files_6163","The character set of the input files."),Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1:S(6164,3,"Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1_6164","Skipping module '{0}' that looks like an absolute URI, target file types: {1}."),Do_not_truncate_error_messages:S(6165,3,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:S(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:S(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:S(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:S(6169,3,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:S(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:S(6171,3,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5:S(6179,3,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5'."),Enable_all_strict_type_checking_options:S(6180,3,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),Scoped_package_detected_looking_in_0:S(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:S(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:S(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:S(6186,3,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:S(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:S(6188,1,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:S(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:S(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:S(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:S(6193,3,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:S(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:S(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:S(6196,1,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:S(6197,3,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:S(6198,1,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:S(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:S(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:S(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:S(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:S(6203,3,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:S(6204,3,"and_here_6204","and here."),All_type_parameters_are_unused:S(6205,1,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(6215,3,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:S(6216,3,"Found_1_error_6216","Found 1 error."),Found_0_errors:S(6217,3,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:S(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:S(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:S(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:S(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:S(6222,3,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:S(6223,3,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(6235,3,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(6243,3,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:S(6244,3,"Modules_6244","Modules"),File_Management:S(6245,3,"File_Management_6245","File Management"),Emit:S(6246,3,"Emit_6246","Emit"),JavaScript_Support:S(6247,3,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:S(6248,3,"Type_Checking_6248","Type Checking"),Editor_Support:S(6249,3,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:S(6250,3,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:S(6251,3,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:S(6252,3,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:S(6253,3,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:S(6254,3,"Language_and_Environment_6254","Language and Environment"),Projects:S(6255,3,"Projects_6255","Projects"),Output_Formatting:S(6256,3,"Output_Formatting_6256","Output Formatting"),Completeness:S(6257,3,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:S(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_0:S(6259,3,"Found_1_error_in_0_6259","Found 1 error in {0}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:S(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:S(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:S(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:S(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:S(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."),Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder:S(6265,3,"Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_no_6265","Resolving type reference directive for program that specifies custom typeRoots, skipping lookup in 'node_modules' folder."),Option_0_can_only_be_specified_on_command_line:S(6266,1,"Option_0_can_only_be_specified_on_command_line_6266","Option '{0}' can only be specified on command line."),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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."),Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_need_configuration_update:S(6279,3,"Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_ne_6279","Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update."),There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setting_Consider_updating_to_node16_nodenext_or_bundler:S(6280,3,"There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setti_6280","There are types at '{0}', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'."),package_json_has_a_peerDependencies_field:S(6281,3,"package_json_has_a_peerDependencies_field_6281","'package.json' has a 'peerDependencies' field."),Found_peerDependency_0_with_1_version:S(6282,3,"Found_peerDependency_0_with_1_version_6282","Found peerDependency '{0}' with '{1}' version."),Failed_to_find_peerDependency_0:S(6283,3,"Failed_to_find_peerDependency_0_6283","Failed to find peerDependency '{0}'."),File_Layout:S(6284,3,"File_Layout_6284","File Layout"),Environment_Settings:S(6285,3,"Environment_Settings_6285","Environment Settings"),See_also_https_Colon_Slash_Slashaka_ms_Slashtsconfig_Slashmodule:S(6286,3,"See_also_https_Colon_Slash_Slashaka_ms_Slashtsconfig_Slashmodule_6286","See also https://aka.ms/tsconfig/module"),For_nodejs_Colon:S(6287,3,"For_nodejs_Colon_6287","For nodejs:"),and_npm_install_D_types_Slashnode:S(6290,3,"and_npm_install_D_types_Slashnode_6290","and npm install -D @types/node"),Other_Outputs:S(6291,3,"Other_Outputs_6291","Other Outputs"),Stricter_Typechecking_Options:S(6292,3,"Stricter_Typechecking_Options_6292","Stricter Typechecking Options"),Style_Options:S(6293,3,"Style_Options_6293","Style Options"),Recommended_Options:S(6294,3,"Recommended_Options_6294","Recommended Options"),Enable_project_compilation:S(6302,3,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:S(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:S(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:S(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:S(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."),Referenced_project_0_may_not_disable_emit:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(6357,3,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:S(6358,3,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:S(6359,3,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(6370,1,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:S(6371,3,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:S(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}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:S(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:S(6379,1,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(6402,3,"Resolving_in_0_mode_with_conditions_1_6402","Resolving in {0} mode with conditions {1}."),Matched_0_condition_1:S(6403,3,"Matched_0_condition_1_6403","Matched '{0}' condition '{1}'."),Using_0_subpath_1_with_target_2:S(6404,3,"Using_0_subpath_1_with_target_2_6404","Using '{0}' subpath '{1}' with target '{2}'."),Saw_non_matching_condition_0:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(6413,3,"Entering_conditional_exports_6413","Entering conditional exports."),Resolved_under_condition_0:S(6414,3,"Resolved_under_condition_0_6414","Resolved under condition '{0}'."),Failed_to_resolve_under_condition_0:S(6415,3,"Failed_to_resolve_under_condition_0_6415","Failed to resolve under condition '{0}'."),Exiting_conditional_exports:S(6416,3,"Exiting_conditional_exports_6416","Exiting conditional exports."),Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0:S(6417,3,"Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0_6417","Searching all ancestor node_modules directories for preferred extensions: {0}."),Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0:S(6418,3,"Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0_6418","Searching all ancestor node_modules directories for fallback extensions: {0}."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_program_needs_to_report_errors:S(6419,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_program_needs_to_report_errors_6419","Project '{0}' is out of date because buildinfo file '{1}' indicates that program needs to report errors."),Project_0_is_out_of_date_because_1:S(6420,3,"Project_0_is_out_of_date_because_1_6420","Project '{0}' is out of date because {1}."),Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_in_output_files:S(6421,3,"Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_i_6421","Rewrite '.ts', '.tsx', '.mts', and '.cts' file extensions in relative import paths to their JavaScript equivalent in output files."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(6602,3,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:S(6603,3,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:S(6604,3,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(6614,3,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(6627,3,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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."),Skip_building_downstream_projects_on_error_in_upstream_project:S(6640,3,"Skip_building_downstream_projects_on_error_in_upstream_project_6640","Skip building downstream projects on error in upstream project."),Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(6659,3,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:S(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:S(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:S(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:S(6663,3,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(6677,3,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use 'outFile' instead."),Specify_an_output_folder_for_all_emitted_files:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(6688,3,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:S(6689,3,"Enable_importing_json_files_6689","Enable importing .json files."),Specify_the_root_folder_within_your_source_files:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(6712,3,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:S(6713,3,"Enable_verbose_logging_6713","Enable verbose logging."),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:S(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:S(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:S(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:S(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."),Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files:S(6719,3,"Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files_6719","Require sufficient annotation on exports so other tools can trivially generate declaration files."),Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any:S(6720,3,"Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any_6720","Built-in iterators are instantiated with a 'TReturn' type of 'undefined' instead of 'any'."),Do_not_allow_runtime_constructs_that_are_not_part_of_ECMAScript:S(6721,3,"Do_not_allow_runtime_constructs_that_are_not_part_of_ECMAScript_6721","Do not allow runtime constructs that are not part of ECMAScript."),Default_catch_clause_variables_as_unknown_instead_of_any:S(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:S(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."),Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported:S(6805,3,"Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported_6805","Disable full type checking (only critical parse and emit errors will be reported)."),Check_side_effect_imports:S(6806,3,"Check_side_effect_imports_6806","Check side effect imports."),This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2:S(6807,1,"This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2_6807","This operation can be simplified. This shift is identical to `{0} {1} {2}`."),Enable_lib_replacement:S(6808,3,"Enable_lib_replacement_6808","Enable lib replacement."),one_of_Colon:S(6900,3,"one_of_Colon_6900","one of:"),one_or_more_Colon:S(6901,3,"one_or_more_Colon_6901","one or more:"),type_Colon:S(6902,3,"type_Colon_6902","type:"),default_Colon:S(6903,3,"default_Colon_6903","default:"),module_system_or_esModuleInterop:S(6904,3,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:S(6905,3,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:S(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:S(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:S(6908,3,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:S(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:S(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:S(6911,3,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:S(6912,3,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:S(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:S(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:S(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:S(6916,3,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:S(6917,3,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:S(6918,3,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:S(6919,3,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:S(6920,3,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:S(6921,3,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:S(6922,3,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:S(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:S(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:S(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:S(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:S(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:S(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:S(6929,3,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:S(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:S(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:S(7005,1,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:S(7006,1,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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_Consider_supplying_a_return_type_annotation:S(7025,1,"Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation_7025","Generator implicitly has yield type '{0}'. Consider supplying a return type annotation."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:S(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:S(7027,1,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:S(7028,1,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:S(7029,1,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(8016,1,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Signature_declarations_can_only_be_used_in_TypeScript_files:S(8017,1,"Signature_declarations_can_only_be_used_in_TypeScript_files_8017","Signature declarations can only be used in TypeScript files."),Report_errors_in_js_files:S(8019,3,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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'."),A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag:S(8039,1,"A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag_8039","A JSDoc '@template' tag may not follow a '@typedef', '@callback', or '@overload' tag"),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:S(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:S(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."),Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations:S(9007,1,"Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9007","Function must have an explicit return type annotation with --isolatedDeclarations."),Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations:S(9008,1,"Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9008","Method must have an explicit return type annotation with --isolatedDeclarations."),At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations:S(9009,1,"At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9009","At least one accessor must have an explicit type annotation with --isolatedDeclarations."),Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations:S(9010,1,"Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9010","Variable must have an explicit type annotation with --isolatedDeclarations."),Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations:S(9011,1,"Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9011","Parameter must have an explicit type annotation with --isolatedDeclarations."),Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations:S(9012,1,"Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9012","Property must have an explicit type annotation with --isolatedDeclarations."),Expression_type_can_t_be_inferred_with_isolatedDeclarations:S(9013,1,"Expression_type_can_t_be_inferred_with_isolatedDeclarations_9013","Expression type can't be inferred with --isolatedDeclarations."),Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedDeclarations:S(9014,1,"Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedD_9014","Computed properties must be number or string literals, variables or dotted expressions with --isolatedDeclarations."),Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations:S(9015,1,"Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations_9015","Objects that contain spread assignments can't be inferred with --isolatedDeclarations."),Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations:S(9016,1,"Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations_9016","Objects that contain shorthand properties can't be inferred with --isolatedDeclarations."),Only_const_arrays_can_be_inferred_with_isolatedDeclarations:S(9017,1,"Only_const_arrays_can_be_inferred_with_isolatedDeclarations_9017","Only const arrays can be inferred with --isolatedDeclarations."),Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations:S(9018,1,"Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations_9018","Arrays with spread elements can't inferred with --isolatedDeclarations."),Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations:S(9019,1,"Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations_9019","Binding elements can't be exported directly with --isolatedDeclarations."),Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDeclarations:S(9020,1,"Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDecl_9020","Enum member initializers must be computable without references to external symbols with --isolatedDeclarations."),Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations:S(9021,1,"Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations_9021","Extends clause can't contain an expression with --isolatedDeclarations."),Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations:S(9022,1,"Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations_9022","Inference from class expressions is not supported with --isolatedDeclarations."),Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations_Add_an_explicit_declaration_for_the_properties_assigned_to_this_function:S(9023,1,"Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023","Assigning properties to functions without declaring them is not supported with --isolatedDeclarations. Add an explicit declaration for the properties assigned to this function."),Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_supported_with_isolatedDeclarations:S(9025,1,"Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_sup_9025","Declaration emit for this parameter requires implicitly adding undefined to its type. This is not supported with --isolatedDeclarations."),Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_supported_with_isolatedDeclarations:S(9026,1,"Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026","Declaration emit for this file requires preserving this import for augmentations. This is not supported with --isolatedDeclarations."),Add_a_type_annotation_to_the_variable_0:S(9027,1,"Add_a_type_annotation_to_the_variable_0_9027","Add a type annotation to the variable {0}."),Add_a_type_annotation_to_the_parameter_0:S(9028,1,"Add_a_type_annotation_to_the_parameter_0_9028","Add a type annotation to the parameter {0}."),Add_a_type_annotation_to_the_property_0:S(9029,1,"Add_a_type_annotation_to_the_property_0_9029","Add a type annotation to the property {0}."),Add_a_return_type_to_the_function_expression:S(9030,1,"Add_a_return_type_to_the_function_expression_9030","Add a return type to the function expression."),Add_a_return_type_to_the_function_declaration:S(9031,1,"Add_a_return_type_to_the_function_declaration_9031","Add a return type to the function declaration."),Add_a_return_type_to_the_get_accessor_declaration:S(9032,1,"Add_a_return_type_to_the_get_accessor_declaration_9032","Add a return type to the get accessor declaration."),Add_a_type_to_parameter_of_the_set_accessor_declaration:S(9033,1,"Add_a_type_to_parameter_of_the_set_accessor_declaration_9033","Add a type to parameter of the set accessor declaration."),Add_a_return_type_to_the_method:S(9034,1,"Add_a_return_type_to_the_method_9034","Add a return type to the method"),Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit:S(9035,1,"Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035","Add satisfies and a type assertion to this expression (satisfies T as T) to make the type explicit."),Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it:S(9036,1,"Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it_9036","Move the expression in default export to a variable and add a type annotation to it."),Default_exports_can_t_be_inferred_with_isolatedDeclarations:S(9037,1,"Default_exports_can_t_be_inferred_with_isolatedDeclarations_9037","Default exports can't be inferred with --isolatedDeclarations."),Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations:S(9038,1,"Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations_9038","Computed property names on class or object literals cannot be inferred with --isolatedDeclarations."),Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations:S(9039,1,"Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations_9039","Type containing private name '{0}' can't be used with --isolatedDeclarations."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(17014,1,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:S(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:S(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:S(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:S(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:S(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:S(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}'?"),Unicode_escape_sequence_cannot_appear_here:S(17021,1,"Unicode_escape_sequence_cannot_appear_here_17021","Unicode escape sequence cannot appear here."),Circularity_detected_while_resolving_configuration_Colon_0:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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."),JSDoc_typedef_may_be_converted_to_TypeScript_type:S(80009,2,"JSDoc_typedef_may_be_converted_to_TypeScript_type_80009","JSDoc typedef may be converted to TypeScript type."),JSDoc_typedefs_may_be_converted_to_TypeScript_types:S(80010,2,"JSDoc_typedefs_may_be_converted_to_TypeScript_types_80010","JSDoc typedefs may be converted to TypeScript types."),Add_missing_super_call:S(90001,3,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:S(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:S(90003,3,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:S(90004,3,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:S(90005,3,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:S(90006,3,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:S(90007,3,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:S(90008,3,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:S(90010,3,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:S(90011,3,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:S(90012,3,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:S(90013,3,"Import_0_from_1_90013","Import '{0}' from \"{1}\""),Change_0_to_1:S(90014,3,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:S(90016,3,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:S(90017,3,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:S(90018,3,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:S(90019,3,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:S(90020,3,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:S(90021,3,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:S(90022,3,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:S(90023,3,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:S(90024,3,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:S(90025,3,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:S(90026,3,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:S(90027,3,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:S(90028,3,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:S(90029,3,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:S(90030,3,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:S(90031,3,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:S(90034,3,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:S(90035,3,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:S(90036,3,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:S(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:S(90038,3,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:S(90039,3,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:S(90041,3,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:S(90053,3,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:S(90054,3,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:S(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:S(90056,3,"Remove_type_from_import_of_0_from_1_90056","Remove 'type' from import of '{0}' from \"{1}\""),Add_import_from_0:S(90057,3,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:S(90058,3,"Update_import_from_0_90058",'Update import from "{0}"'),Export_0_from_module_1:S(90059,3,"Export_0_from_module_1_90059","Export '{0}' from module '{1}'"),Export_all_referenced_locals:S(90060,3,"Export_all_referenced_locals_90060","Export all referenced locals"),Update_modifiers_of_0:S(90061,3,"Update_modifiers_of_0_90061","Update modifiers of '{0}'"),Add_annotation_of_type_0:S(90062,3,"Add_annotation_of_type_0_90062","Add annotation of type '{0}'"),Add_return_type_0:S(90063,3,"Add_return_type_0_90063","Add return type '{0}'"),Extract_base_class_to_variable:S(90064,3,"Extract_base_class_to_variable_90064","Extract base class to variable"),Extract_default_export_to_variable:S(90065,3,"Extract_default_export_to_variable_90065","Extract default export to variable"),Extract_binding_expressions_to_variable:S(90066,3,"Extract_binding_expressions_to_variable_90066","Extract binding expressions to variable"),Add_all_missing_type_annotations:S(90067,3,"Add_all_missing_type_annotations_90067","Add all missing type annotations"),Add_satisfies_and_an_inline_type_assertion_with_0:S(90068,3,"Add_satisfies_and_an_inline_type_assertion_with_0_90068","Add satisfies and an inline type assertion with '{0}'"),Extract_to_variable_and_replace_with_0_as_typeof_0:S(90069,3,"Extract_to_variable_and_replace_with_0_as_typeof_0_90069","Extract to variable and replace with '{0} as typeof {0}'"),Mark_array_literal_as_const:S(90070,3,"Mark_array_literal_as_const_90070","Mark array literal as const"),Annotate_types_of_properties_expando_function_in_a_namespace:S(90071,3,"Annotate_types_of_properties_expando_function_in_a_namespace_90071","Annotate types of properties expando function in a namespace"),Convert_function_to_an_ES2015_class:S(95001,3,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:S(95003,3,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:S(95004,3,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:S(95005,3,"Extract_function_95005","Extract function"),Extract_constant:S(95006,3,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:S(95007,3,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:S(95008,3,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:S(95009,3,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:S(95011,3,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:S(95012,3,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:S(95013,3,"Convert_to_default_import_95013","Convert to default import"),Install_0:S(95014,3,"Install_0_95014","Install '{0}'"),Replace_import_with_0:S(95015,3,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:S(95016,3,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:S(95017,3,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:S(95018,3,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:S(95019,3,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:S(95020,3,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:S(95021,3,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:S(95022,3,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:S(95023,3,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:S(95024,3,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:S(95025,3,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:S(95026,3,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:S(95027,3,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:S(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:S(95029,3,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:S(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:S(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:S(95032,3,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:S(95033,3,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:S(95034,3,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:S(95035,3,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:S(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:S(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:S(95038,3,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:S(95039,3,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:S(95040,3,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:S(95041,3,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:S(95042,3,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:S(95043,3,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:S(95044,3,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:S(95045,3,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:S(95046,3,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:S(95047,3,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:S(95048,3,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:S(95049,3,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:S(95050,3,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:S(95051,3,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:S(95052,3,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:S(95053,3,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:S(95054,3,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:S(95055,3,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:S(95056,3,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:S(95057,3,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:S(95058,3,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:S(95059,3,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:S(95060,3,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:S(95061,3,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:S(95062,3,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:S(95063,3,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:S(95064,3,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:S(95065,3,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:S(95066,3,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:S(95067,3,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:S(95068,3,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:S(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:S(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:S(95071,3,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:S(95072,3,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:S(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:S(95074,3,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:S(95075,3,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:S(95077,3,"Extract_type_95077","Extract type"),Extract_to_type_alias:S(95078,3,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:S(95079,3,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:S(95080,3,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:S(95081,3,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:S(95082,3,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:S(95083,3,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:S(95084,3,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:S(95085,3,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:S(95086,3,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:S(95087,3,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:S(95088,3,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:S(95089,3,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:S(95090,3,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:S(95091,3,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:S(95092,3,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:S(95093,3,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:S(95094,3,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:S(95095,3,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:S(95096,3,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:S(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:S(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:S(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:S(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:S(95101,3,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_all_const_to_let:S(95102,3,"Convert_all_const_to_let_95102","Convert all 'const' to 'let'"),Convert_function_expression_0_to_arrow_function:S(95105,3,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:S(95106,3,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:S(95107,3,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:S(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:S(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:S(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:S(95111,3,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:S(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:S(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:S(95114,3,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:S(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:S(95116,3,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:S(95117,3,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:S(95118,3,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:S(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:S(95120,3,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:S(95121,3,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:S(95122,3,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:S(95123,3,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:S(95124,3,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:S(95125,3,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:S(95126,3,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:S(95127,3,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:S(95128,3,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:S(95129,3,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:S(95130,3,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:S(95131,3,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:S(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:S(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:S(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:S(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:S(95136,3,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:S(95137,3,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:S(95138,3,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:S(95139,3,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:S(95140,3,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:S(95141,3,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:S(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:S(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:S(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:S(95145,3,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:S(95146,3,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:S(95147,3,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:S(95148,3,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:S(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:S(95150,3,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:S(95151,3,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:S(95152,3,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:S(95153,3,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenations_and_string_literals:S(95154,3,"Can_only_convert_string_concatenations_and_string_literals_95154","Can only convert string concatenations and string literals"),Selection_is_not_a_valid_statement_or_statements:S(95155,3,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:S(95156,3,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:S(95157,3,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:S(95158,3,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:S(95159,3,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:S(95160,3,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:S(95161,3,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:S(95162,3,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:S(95163,3,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:S(95164,3,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:S(95165,3,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:S(95166,3,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:S(95167,3,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:S(95168,3,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:S(95169,3,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:S(95170,3,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:S(95171,3,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:S(95172,3,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:S(95173,3,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),Use_0:S(95174,3,"Use_0_95174","Use `{0}`."),Use_Number_isNaN_in_all_conditions:S(95175,3,"Use_Number_isNaN_in_all_conditions_95175","Use `Number.isNaN` in all conditions."),Convert_typedef_to_TypeScript_type:S(95176,3,"Convert_typedef_to_TypeScript_type_95176","Convert typedef to TypeScript type."),Convert_all_typedef_to_TypeScript_types:S(95177,3,"Convert_all_typedef_to_TypeScript_types_95177","Convert all typedef to TypeScript types."),Move_to_file:S(95178,3,"Move_to_file_95178","Move to file"),Cannot_move_to_file_selected_file_is_invalid:S(95179,3,"Cannot_move_to_file_selected_file_is_invalid_95179","Cannot move to file, selected file is invalid"),Use_import_type:S(95180,3,"Use_import_type_95180","Use 'import type'"),Use_type_0:S(95181,3,"Use_type_0_95181","Use 'type {0}'"),Fix_all_with_type_only_imports:S(95182,3,"Fix_all_with_type_only_imports_95182","Fix all with type-only imports"),Cannot_move_statements_to_the_selected_file:S(95183,3,"Cannot_move_statements_to_the_selected_file_95183","Cannot move statements to the selected file"),Inline_variable:S(95184,3,"Inline_variable_95184","Inline variable"),Could_not_find_variable_to_inline:S(95185,3,"Could_not_find_variable_to_inline_95185","Could not find variable to inline."),Variables_with_multiple_declarations_cannot_be_inlined:S(95186,3,"Variables_with_multiple_declarations_cannot_be_inlined_95186","Variables with multiple declarations cannot be inlined."),Add_missing_comma_for_object_member_completion_0:S(95187,3,"Add_missing_comma_for_object_member_completion_0_95187","Add missing comma for object member completion '{0}'."),Add_missing_parameter_to_0:S(95188,3,"Add_missing_parameter_to_0_95188","Add missing parameter to '{0}'"),Add_missing_parameters_to_0:S(95189,3,"Add_missing_parameters_to_0_95189","Add missing parameters to '{0}'"),Add_all_missing_parameters:S(95190,3,"Add_all_missing_parameters_95190","Add all missing parameters"),Add_optional_parameter_to_0:S(95191,3,"Add_optional_parameter_to_0_95191","Add optional parameter to '{0}'"),Add_optional_parameters_to_0:S(95192,3,"Add_optional_parameters_to_0_95192","Add optional parameters to '{0}'"),Add_all_optional_parameters:S(95193,3,"Add_all_optional_parameters_95193","Add all optional parameters"),Wrap_in_parentheses:S(95194,3,"Wrap_in_parentheses_95194","Wrap in parentheses"),Wrap_all_invalid_decorator_expressions_in_parentheses:S(95195,3,"Wrap_all_invalid_decorator_expressions_in_parentheses_95195","Wrap all invalid decorator expressions in parentheses"),Add_resolution_mode_import_attribute:S(95196,3,"Add_resolution_mode_import_attribute_95196","Add 'resolution-mode' import attribute"),Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it:S(95197,3,"Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197","Add 'resolution-mode' import attribute to all type-only imports that need it"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(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:S(18046,1,"_0_is_of_type_unknown_18046","'{0}' is of type 'unknown'."),_0_is_possibly_null:S(18047,1,"_0_is_possibly_null_18047","'{0}' is possibly 'null'."),_0_is_possibly_undefined:S(18048,1,"_0_is_possibly_undefined_18048","'{0}' is possibly 'undefined'."),_0_is_possibly_null_or_undefined:S(18049,1,"_0_is_possibly_null_or_undefined_18049","'{0}' is possibly 'null' or 'undefined'."),The_value_0_cannot_be_used_here:S(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:S(18051,1,"Compiler_option_0_cannot_be_given_an_empty_string_18051","Compiler option '{0}' cannot be given an empty string."),Its_type_0_is_not_a_valid_JSX_element_type:S(18053,1,"Its_type_0_is_not_a_valid_JSX_element_type_18053","Its type '{0}' is not a valid JSX element type."),await_using_statements_cannot_be_used_inside_a_class_static_block:S(18054,1,"await_using_statements_cannot_be_used_inside_a_class_static_block_18054","'await using' statements cannot be used inside a class static block."),_0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is_enabled:S(18055,1,"_0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is__18055","'{0}' has a string type, but must have syntactically recognizable string syntax when 'isolatedModules' is enabled."),Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is_enabled:S(18056,1,"Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is__18056","Enum member following a non-literal numeric member must have an initializer when 'isolatedModules' is enabled."),String_literal_import_and_export_names_are_not_supported_when_the_module_flag_is_set_to_es2015_or_es2020:S(18057,1,"String_literal_import_and_export_names_are_not_supported_when_the_module_flag_is_set_to_es2015_or_es_18057","String literal import and export names are not supported when the '--module' flag is set to 'es2015' or 'es2020'."),Default_imports_are_not_allowed_in_a_deferred_import:S(18058,1,"Default_imports_are_not_allowed_in_a_deferred_import_18058","Default imports are not allowed in a deferred import."),Named_imports_are_not_allowed_in_a_deferred_import:S(18059,1,"Named_imports_are_not_allowed_in_a_deferred_import_18059","Named imports are not allowed in a deferred import."),Deferred_imports_are_only_supported_when_the_module_flag_is_set_to_esnext_or_preserve:S(18060,1,"Deferred_imports_are_only_supported_when_the_module_flag_is_set_to_esnext_or_preserve_18060","Deferred imports are only supported when the '--module' flag is set to 'esnext' or 'preserve'."),_0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer:S(18061,1,"_0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer_18061","'{0}' is not a valid meta-property for keyword 'import'. Did you mean 'meta' or 'defer'?")};function $u(e){return e>=80}function Pee(e){return e===32||$u(e)}var sF={abstract:128,accessor:129,any:133,as:130,asserts:131,assert:132,bigint:163,boolean:136,break:83,case:84,catch:85,class:86,continue:88,const:87,constructor:137,debugger:89,declare:138,default:90,defer:166,delete:91,do:92,else:93,enum:94,export:95,extends:96,false:97,finally:98,for:99,from:161,function:100,get:139,if:101,implements:119,import:102,in:103,infer:140,instanceof:104,interface:120,intrinsic:141,is:142,keyof:143,let:121,module:144,namespace:145,never:146,new:105,null:106,number:150,object:151,package:122,private:123,protected:124,public:125,override:164,out:147,readonly:148,require:149,global:162,return:107,satisfies:152,set:153,static:126,string:154,super:108,switch:109,symbol:155,this:110,throw:111,true:112,try:113,type:156,typeof:114,undefined:157,unique:158,unknown:159,using:160,var:115,void:116,while:117,with:118,yield:127,async:134,await:135,of:165},G9e=new Map(Object.entries(sF)),aTe=new Map(Object.entries({...sF,"{":19,"}":20,"(":21,")":22,"[":23,"]":24,".":25,"...":26,";":27,",":28,"<":30,">":32,"<=":33,">=":34,"==":35,"!=":36,"===":37,"!==":38,"=>":39,"+":40,"-":41,"**":43,"*":42,"/":44,"%":45,"++":46,"--":47,"<<":48,"</":31,">>":49,">>>":50,"&":51,"|":52,"^":53,"!":54,"~":55,"&&":56,"||":57,"?":58,"??":61,"?.":29,":":59,"=":64,"+=":65,"-=":66,"*=":67,"**=":68,"/=":69,"%=":70,"<<=":71,">>=":72,">>>=":73,"&=":74,"|=":75,"^=":79,"||=":76,"&&=":77,"??=":78,"@":60,"#":63,"`":62})),sTe=new Map([[100,1],[103,2],[105,4],[109,8],[115,16],[117,32],[118,64],[121,128]]),V9e=new Map([[1,ed.RegularExpressionFlagsHasIndices],[16,ed.RegularExpressionFlagsDotAll],[32,ed.RegularExpressionFlagsUnicode],[64,ed.RegularExpressionFlagsUnicodeSets],[128,ed.RegularExpressionFlagsSticky]]),j9e=[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],U9e=[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],H9e=[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,2160,2183,2185,2190,2208,2249,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,3165,3165,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3293,3294,3296,3297,3313,3314,3332,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,5905,5919,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,6988,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,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,12735,12784,12799,13312,19903,19968,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42954,42960,42961,42963,42963,42965,42969,42994,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,43881,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,66928,66938,66940,66954,66956,66962,66964,66965,66967,66977,66979,66993,66995,67001,67003,67004,67072,67382,67392,67413,67424,67431,67456,67461,67463,67504,67506,67514,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,69248,69289,69296,69297,69376,69404,69415,69415,69424,69445,69488,69505,69552,69572,69600,69622,69635,69687,69745,69746,69749,69749,69763,69807,69840,69864,69891,69926,69956,69956,69959,69959,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70207,70208,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,70753,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71488,71494,71680,71723,71840,71903,71935,71942,71945,71945,71948,71955,71957,71958,71960,71983,71999,71999,72001,72001,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72368,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,73474,73474,73476,73488,73490,73523,73648,73648,73728,74649,74752,74862,74880,75075,77712,77808,77824,78895,78913,78918,82944,83526,92160,92728,92736,92766,92784,92862,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,101589,101632,101640,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,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,122624,122654,122661,122666,122928,122989,123136,123180,123191,123197,123214,123214,123536,123565,123584,123627,124112,124139,124896,124902,124904,124907,124909,124910,124912,124926,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,173791,173824,177977,177984,178205,178208,183969,183984,191456,191472,192093,194560,195101,196608,201546,201552,205743],q9e=[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,2160,2183,2185,2190,2200,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,2901,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,3132,3140,3142,3144,3146,3149,3157,3158,3160,3162,3165,3165,3168,3171,3174,3183,3200,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3293,3294,3296,3299,3302,3311,3313,3315,3328,3340,3342,3344,3346,3396,3398,3400,3402,3406,3412,3415,3423,3427,3430,3439,3450,3455,3457,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,3790,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,5909,5919,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6159,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,6847,6862,6912,6988,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7376,7378,7380,7418,7424,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,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,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,12543,12549,12591,12593,12686,12704,12735,12784,12799,13312,19903,19968,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42737,42775,42783,42786,42888,42891,42954,42960,42961,42963,42963,42965,42969,42994,43047,43052,43052,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,43881,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,65381,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,66928,66938,66940,66954,66956,66962,66964,66965,66967,66977,66979,66993,66995,67001,67003,67004,67072,67382,67392,67413,67424,67431,67456,67461,67463,67504,67506,67514,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,69248,69289,69291,69292,69296,69297,69373,69404,69415,69415,69424,69456,69488,69509,69552,69572,69600,69622,69632,69702,69734,69749,69759,69818,69826,69826,69840,69864,69872,69881,69888,69940,69942,69951,69956,69959,69968,70003,70006,70006,70016,70084,70089,70092,70094,70106,70108,70108,70144,70161,70163,70199,70206,70209,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,70753,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,71488,71494,71680,71738,71840,71913,71935,71942,71945,71945,71948,71955,71957,71958,71960,71989,71991,71992,71995,72003,72016,72025,72096,72103,72106,72151,72154,72161,72163,72164,72192,72254,72263,72263,72272,72345,72349,72349,72368,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,73472,73488,73490,73530,73534,73538,73552,73561,73648,73648,73728,74649,74752,74862,74880,75075,77712,77808,77824,78895,78912,78933,82944,83526,92160,92728,92736,92766,92768,92777,92784,92862,92864,92873,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,94180,94192,94193,94208,100343,100352,101589,101632,101640,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113821,113822,118528,118573,118576,118598,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,122624,122654,122661,122666,122880,122886,122888,122904,122907,122913,122915,122916,122918,122922,122928,122989,123023,123023,123136,123180,123184,123197,123200,123209,123214,123214,123536,123566,123584,123641,124112,124153,124896,124902,124904,124907,124909,124910,124912,124926,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,130032,130041,131072,173791,173824,177977,177984,178205,178208,183969,183984,191456,191472,192093,194560,195101,196608,201546,201552,205743,917760,917999],J9e=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,K9e=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,X9e=/@(?:see|link)/i;function W9(e,t){if(e<t[0])return!1;let r=0,i=t.length,o;for(;r+1<i;){if(o=r+(i-r)/2,o-=o%2,t[o]<=e&&e<=t[o+1])return!0;e<t[o]?i=o:r=o+2}return!1}function lF(e,t){return t>=2?W9(e,H9e):W9(e,j9e)}function Y9e(e,t){return t>=2?W9(e,q9e):W9(e,U9e)}function lTe(e){const t=[];return e.forEach((r,i)=>{t[r]=i}),t}var $9e=lTe(aTe);function Ta(e){return $9e[e]}function qE(e){return aTe.get(e)}var Q9e=lTe(sTe);function cTe(e){return Q9e[e]}function F9(e){return sTe.get(e)}function oI(e){const t=[];let r=0,i=0;for(;r<e.length;){const o=e.charCodeAt(r);switch(r++,o){case 13:e.charCodeAt(r)===10&&r++;case 10:t.push(i),i=r;break;default:o>127&&eu(o)&&(t.push(i),i=r);break}}return t.push(i),t}function I2(e,t,r,i){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(t,r,i):cF(dg(e),t,r,e.text,i)}function cF(e,t,r,i,o){(t<0||t>=e.length)&&(o?t=t<0?0:t>=e.length?e.length-1:t:C.fail("Bad line number. Line: ".concat(t,", lineStarts.length: ").concat(e.length," , line map is correct? ").concat(i!==void 0?ef(e,oI(i)):"unknown")));const s=e[t]+r;return o?s>e[t+1]?e[t+1]:typeof i=="string"&&s>i.length?i.length:s:(t<e.length-1?C.assert(s<e[t+1]):i!==void 0&&C.assert(s<=i.length),s)}function dg(e){return e.lineMap||(e.lineMap=oI(e.text))}function wR(e,t){const r=xN(e,t);return{line:r,character:t-e[r]}}function xN(e,t,r){let i=rb(e,t,qs,Js,r);return i<0&&(i=~i-1,C.assert(i!==-1,"position cannot precede the beginning of the file")),i}function RN(e,t,r){if(t===r)return 0;const i=dg(e),o=Math.min(t,r),s=o===r,l=s?t:r,u=xN(i,o),d=xN(i,l,u);return s?u-d:d-u}function fa(e,t){return wR(dg(e),t)}function ug(e){return Hh(e)||eu(e)}function Hh(e){return e===32||e===9||e===11||e===12||e===160||e===133||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===65279}function eu(e){return e===10||e===13||e===8232||e===8233}function OR(e){return e>=48&&e<=57}function Lee(e){return OR(e)||e>=65&&e<=70||e>=97&&e<=102}function kee(e){return e>=65&&e<=90||e>=97&&e<=122}function dTe(e){return kee(e)||OR(e)||e===95}function wee(e){return e>=48&&e<=55}function Oee(e,t){const r=e.charCodeAt(t);switch(r){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 t===0;default:return r>127}}function wa(e,t,r,i,o){if(dh(t))return t;let s=!1;for(;;){const l=e.charCodeAt(t);switch(l){case 13:e.charCodeAt(t+1)===10&&t++;case 10:if(t++,r)return t;s=!!o;continue;case 9:case 11:case 12:case 32:t++;continue;case 47:if(i)break;if(e.charCodeAt(t+1)===47){for(t+=2;t<e.length&&!eu(e.charCodeAt(t));)t++;s=!1;continue}if(e.charCodeAt(t+1)===42){for(t+=2;t<e.length;){if(e.charCodeAt(t)===42&&e.charCodeAt(t+1)===47){t+=2;break}t++}s=!1;continue}break;case 60:case 124:case 61:case 62:if(DN(e,t)){t=x2(e,t),s=!1;continue}break;case 35:if(t===0&&uTe(e,t)){t=pTe(e,t),s=!1;continue}break;case 42:if(s){t++,s=!1;continue}break;default:if(l>127&&ug(l)){t++;continue}break}return t}}var z9=7;function DN(e,t){if(C.assert(t>=0),t===0||eu(e.charCodeAt(t-1))){const r=e.charCodeAt(t);if(t+z9<e.length){for(let i=0;i<z9;i++)if(e.charCodeAt(t+i)!==r)return!1;return r===61||e.charCodeAt(t+z9)===32}}return!1}function x2(e,t,r){r&&r(f.Merge_conflict_marker_encountered,t,z9);const i=e.charCodeAt(t),o=e.length;if(i===60||i===62)for(;t<o&&!eu(e.charCodeAt(t));)t++;else for(C.assert(i===124||i===61);t<o;){const s=e.charCodeAt(t);if((s===61||s===62)&&s!==i&&DN(e,t))break;t++}return t}var Wee=/^#!.*/;function uTe(e,t){return C.assert(t===0),Wee.test(e)}function pTe(e,t){const r=Wee.exec(e)[0];return t=t+r.length,t}function B9(e,t,r,i,o,s,l){let u,d,_,m,y=!1,E=i,A=l;if(r===0){E=!0;const R=dF(t);R&&(r=R.length)}e:for(;r>=0&&r<t.length;){const R=t.charCodeAt(r);switch(R){case 13:t.charCodeAt(r+1)===10&&r++;case 10:if(r++,i)break e;E=!0,y&&(m=!0);continue;case 9:case 11:case 12:case 32:r++;continue;case 47:const N=t.charCodeAt(r+1);let M=!1;if(N===47||N===42){const k=N===47?2:3,F=r;if(r+=2,N===47)for(;r<t.length;){if(eu(t.charCodeAt(r))){M=!0;break}r++}else for(;r<t.length;){if(t.charCodeAt(r)===42&&t.charCodeAt(r+1)===47){r+=2;break}r++}if(E){if(y&&(A=o(u,d,_,m,s,A),!e&&A))return A;u=F,d=r,_=k,m=M,y=!0}continue}break e;default:if(R>127&&ug(R)){y&&eu(R)&&(m=!0),r++;continue}break e}}return y&&(A=o(u,d,_,m,s,A)),A}function R2(e,t,r,i){return B9(!1,e,t,!1,r,i)}function D2(e,t,r,i){return B9(!1,e,t,!0,r,i)}function Fee(e,t,r,i,o){return B9(!0,e,t,!1,r,i,o)}function zee(e,t,r,i,o){return B9(!0,e,t,!0,r,i,o)}function fTe(e,t,r,i,o,s=[]){return s.push({kind:r,pos:e,end:t,hasTrailingNewLine:i}),s}function pg(e,t){return Fee(e,t,fTe,void 0,void 0)}function ub(e,t){return zee(e,t,fTe,void 0,void 0)}function dF(e){const t=Wee.exec(e);if(t)return t[0]}function L_(e,t){return kee(e)||e===36||e===95||e>127&&lF(e,t)}function oy(e,t,r){return dTe(e)||e===36||(r===1?e===45||e===58:!1)||e>127&&Y9e(e,t)}function _p(e,t,r){let i=CN(e,0);if(!L_(i,t))return!1;for(let o=oh(i);o<e.length;o+=oh(i))if(!oy(i=CN(e,o),t,r))return!1;return!0}function fg(e,t,r=0,i,o,s,l){var u=i,d,_,m,y,E,A,R,N,M=0,k=0,F=0;Zo(u,s,l);var O={getTokenFullStart:()=>m,getStartPos:()=>m,getTokenEnd:()=>d,getTextPos:()=>d,getToken:()=>E,getTokenStart:()=>y,getTokenPos:()=>y,getTokenText:()=>u.substring(y,d),getTokenValue:()=>A,hasUnicodeEscape:()=>(R&1024)!==0,hasExtendedUnicodeEscape:()=>(R&8)!==0,hasPrecedingLineBreak:()=>(R&1)!==0,hasPrecedingJSDocComment:()=>(R&2)!==0,hasPrecedingJSDocLeadingAsterisks:()=>(R&32768)!==0,isIdentifier:()=>E===80||E>118,isReservedWord:()=>E>=83&&E<=118,isUnterminated:()=>(R&4)!==0,getCommentDirectives:()=>N,getNumericLiteralFlags:()=>R&25584,getTokenFlags:()=>R,reScanGreaterToken:Ge,reScanAsteriskEqualsToken:Be,reScanSlashToken:ot,reScanTemplateToken:gt,reScanTemplateHeadOrNoSubstitutionTemplate:tn,scanJsxIdentifier:go,scanJsxAttributeValue:Ci,reScanJsxAttributeValue:Cr,reScanJsxToken:ir,reScanLessThanToken:Ri,reScanHashToken:_o,reScanQuestionToken:Ht,reScanInvalidIdentifier:_e,scanJsxToken:Qr,scanJsDocToken:Qe,scanJSDocCommentTextToken:Ur,scan:le,getText:di,clearCommentDirectives:Ki,setText:Zo,setScriptTarget:Pn,setLanguageVariant:qo,setScriptKind:at,setJSDocParsingMode:Bt,setOnError:Da,resetTokenState:ce,setTextPos:ce,setSkipJsDocLeadingAsterisks:_t,tryScan:oi,lookAhead:pr,scanRange:hn};return C.isDebugging&&Object.defineProperty(O,"__debugShowCurrentPositionInText",{get:()=>{const ie=O.getText();return ie.slice(0,O.getTokenFullStart())+"║"+ie.slice(O.getTokenFullStart())}}),O;function G(ie){return CN(u,ie)}function j(ie){return ie>=0&&ie<_?G(ie):-1}function K(ie){return u.charCodeAt(ie)}function Q(ie){return ie>=0&&ie<_?K(ie):-1}function J(ie,We=d,it,dt){if(o){const Lt=d;d=We,o(ie,it||0,dt),d=Lt}}function he(){let ie=d,We=!1,it=!1,dt="";for(;;){const Lt=K(d);if(Lt===95){R|=512,We?(We=!1,it=!0,dt+=u.substring(ie,d)):(R|=16384,J(it?f.Multiple_consecutive_numeric_separators_are_not_permitted:f.Numeric_separators_are_not_allowed_here,d,1)),d++,ie=d;continue}if(OR(Lt)){We=!0,it=!1,d++;continue}break}return K(d-1)===95&&(R|=16384,J(f.Numeric_separators_are_not_allowed_here,d-1,1)),dt+u.substring(ie,d)}function re(){let ie=d,We;if(K(d)===48)if(d++,K(d)===95)R|=16896,J(f.Numeric_separators_are_not_allowed_here,d,1),d--,We=he();else if(!ue())R|=8192,We=""+ +A;else if(!A)We="0";else{A=""+parseInt(A,8),R|=32;const Ct=E===41,Nt=(Ct?"-":"")+"0o"+(+A).toString(8);return Ct&&ie--,J(f.Octal_literals_are_not_allowed_Use_the_syntax_0,ie,d-ie,Nt),9}else We=he();let it,dt;K(d)===46&&(d++,it=he());let Lt=d;if(K(d)===69||K(d)===101){d++,R|=16,(K(d)===43||K(d)===45)&&d++;const Ct=d,Nt=he();Nt?(dt=u.substring(Lt,Ct)+Nt,Lt=d):J(f.Digit_expected)}let He;if(R&512?(He=We,it&&(He+="."+it),dt&&(He+=dt)):He=u.substring(ie,Lt),R&8192)return J(f.Decimals_with_leading_zeros_are_not_allowed,ie,Lt-ie),A=""+ +He,9;if(it!==void 0||R&16)return q(ie,it===void 0&&!!(R&16)),A=""+ +He,9;{A=He;const Ct=lt();return q(ie),Ct}}function q(ie,We){if(!L_(G(d),e))return;const it=d,{length:dt}=Se();dt===1&&u[it]==="n"?J(We?f.A_bigint_literal_cannot_use_exponential_notation:f.A_bigint_literal_must_be_an_integer,ie,it-ie+1):(J(f.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,it,dt),d=it)}function ue(){const ie=d;let We=!0;for(;OR(Q(d));)wee(K(d))||(We=!1),d++;return A=u.substring(ie,d),We}function de(ie,We){const it=Ae(ie,!1,We);return it?parseInt(it,16):-1}function ge(ie,We){return Ae(ie,!0,We)}function Ae(ie,We,it){let dt=[],Lt=!1,He=!1;for(;dt.length<ie||We;){let Ct=K(d);if(it&&Ct===95){R|=512,Lt?(Lt=!1,He=!0):J(He?f.Multiple_consecutive_numeric_separators_are_not_permitted:f.Numeric_separators_are_not_allowed_here,d,1),d++;continue}if(Lt=it,Ct>=65&&Ct<=70)Ct+=32;else if(!(Ct>=48&&Ct<=57||Ct>=97&&Ct<=102))break;dt.push(Ct),d++,He=!1}return dt.length<ie&&(dt=[]),K(d-1)===95&&J(f.Numeric_separators_are_not_allowed_here,d-1,1),String.fromCharCode(...dt)}function Re(ie=!1){const We=K(d);d++;let it="",dt=d;for(;;){if(d>=_){it+=u.substring(dt,d),R|=4,J(f.Unterminated_string_literal);break}const Lt=K(d);if(Lt===We){it+=u.substring(dt,d),d++;break}if(Lt===92&&!ie){it+=u.substring(dt,d),it+=ve(3),dt=d;continue}if((Lt===10||Lt===13)&&!ie){it+=u.substring(dt,d),R|=4,J(f.Unterminated_string_literal);break}d++}return it}function $(ie){const We=K(d)===96;d++;let it=d,dt="",Lt;for(;;){if(d>=_){dt+=u.substring(it,d),R|=4,J(f.Unterminated_template_literal),Lt=We?15:18;break}const He=K(d);if(He===96){dt+=u.substring(it,d),d++,Lt=We?15:18;break}if(He===36&&d+1<_&&K(d+1)===123){dt+=u.substring(it,d),d+=2,Lt=We?16:17;break}if(He===92){dt+=u.substring(it,d),dt+=ve(1|(ie?2:0)),it=d;continue}if(He===13){dt+=u.substring(it,d),d++,d<_&&K(d)===10&&d++,dt+="\n",it=d;continue}d++}return C.assert(Lt!==void 0),A=dt,Lt}function ve(ie){const We=d;if(d++,d>=_)return J(f.Unexpected_end_of_text),"";const it=K(d);switch(d++,it){case 48:if(d>=_||!OR(K(d)))return"\0";case 49:case 50:case 51:d<_&&wee(K(d))&&d++;case 52:case 53:case 54:case 55:if(d<_&&wee(K(d))&&d++,R|=2048,ie&6){const He=parseInt(u.substring(We+1,d),8);return ie&4&&!(ie&32)&&it!==48?J(f.Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended_as_an_escape_sequence_use_the_syntax_0_instead,We,d-We,"\\x"+He.toString(16).padStart(2,"0")):J(f.Octal_escape_sequences_are_not_allowed_Use_the_syntax_0,We,d-We,"\\x"+He.toString(16).padStart(2,"0")),String.fromCharCode(He)}return u.substring(We,d);case 56:case 57:return R|=2048,ie&6?(ie&4&&!(ie&32)?J(f.Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class,We,d-We):J(f.Escape_sequence_0_is_not_allowed,We,d-We,u.substring(We,d)),String.fromCharCode(it)):u.substring(We,d);case 98:return"\b";case 116:return" ";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(d<_&&K(d)===123){d-=2;const He=je(!!(ie&6));return ie&17||(R|=2048,ie&6&&J(f.Unicode_escape_sequences_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set,We,d-We)),He}for(;d<We+6;d++)if(!(d<_&&Lee(K(d))))return R|=2048,ie&6&&J(f.Hexadecimal_digit_expected),u.substring(We,d);R|=1024;const dt=parseInt(u.substring(We+2,d),16),Lt=String.fromCharCode(dt);if(ie&16&&dt>=55296&&dt<=56319&&d+6<_&&u.substring(d,d+2)==="\\u"&&K(d+2)!==123){const He=d;let Ct=d+2;for(;Ct<He+6;Ct++)if(!Lee(K(Ct)))return Lt;const Nt=parseInt(u.substring(He+2,Ct),16);if(Nt>=56320&&Nt<=57343)return d=Ct,Lt+String.fromCharCode(Nt)}return Lt;case 120:for(;d<We+4;d++)if(!(d<_&&Lee(K(d))))return R|=2048,ie&6&&J(f.Hexadecimal_digit_expected),u.substring(We,d);return R|=4096,String.fromCharCode(parseInt(u.substring(We+2,d),16));case 13:d<_&&K(d)===10&&d++;case 10:case 8232:case 8233:return"";default:return(ie&16||ie&4&&!(ie&8)&&oy(it,e))&&J(f.This_character_cannot_be_escaped_in_a_regular_expression,d-2,2),String.fromCharCode(it)}}function je(ie){const We=d;d+=3;const it=d,dt=ge(1,!1),Lt=dt?parseInt(dt,16):-1;let He=!1;return Lt<0?(ie&&J(f.Hexadecimal_digit_expected),He=!0):Lt>1114111&&(ie&&J(f.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive,it,d-it),He=!0),d>=_?(ie&&J(f.Unexpected_end_of_text),He=!0):K(d)===125?d++:(ie&&J(f.Unterminated_Unicode_escape_sequence),He=!0),He?(R|=2048,u.substring(We,d)):(R|=8,NN(Lt))}function be(){if(d+5<_&&K(d+1)===117){const ie=d;d+=2;const We=de(4,!1);return d=ie,We}return-1}function ee(){if(G(d+1)===117&&G(d+2)===123){const ie=d;d+=3;const We=ge(1,!1),it=We?parseInt(We,16):-1;return d=ie,it}return-1}function Se(){let ie="",We=d;for(;d<_;){let it=G(d);if(oy(it,e))d+=oh(it);else if(it===92){if(it=ee(),it>=0&&oy(it,e)){ie+=je(!0),We=d;continue}if(it=be(),!(it>=0&&oy(it,e)))break;R|=1024,ie+=u.substring(We,d),ie+=NN(it),d+=6,We=d}else break}return ie+=u.substring(We,d),ie}function Ne(){const ie=A.length;if(ie>=2&&ie<=12){const We=A.charCodeAt(0);if(We>=97&&We<=122){const it=G9e.get(A);if(it!==void 0)return E=it}}return E=80}function ze(ie){let We="",it=!1,dt=!1;for(;;){const Lt=K(d);if(Lt===95){R|=512,it?(it=!1,dt=!0):J(dt?f.Multiple_consecutive_numeric_separators_are_not_permitted:f.Numeric_separators_are_not_allowed_here,d,1),d++;continue}if(it=!0,!OR(Lt)||Lt-48>=ie)break;We+=u[d],d++,dt=!1}return K(d-1)===95&&J(f.Numeric_separators_are_not_allowed_here,d-1,1),We}function lt(){return K(d)===110?(A+="n",R&384&&(A=DM(A)+"n"),d++,10):(A=""+(R&128?parseInt(A.slice(2),2):R&256?parseInt(A.slice(2),8):+A),9)}function le(){for(m=d,R=0;;){if(y=d,d>=_)return E=1;const ie=G(d);if(d===0&&ie===35&&uTe(u,d)){if(d=pTe(u,d),t)continue;return E=6}switch(ie){case 10:case 13:if(R|=1,t){d++;continue}else return ie===13&&d+1<_&&K(d+1)===10?d+=2:d++,E=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(t){d++;continue}else{for(;d<_&&Hh(K(d));)d++;return E=5}case 33:return K(d+1)===61?K(d+2)===61?(d+=3,E=38):(d+=2,E=36):(d++,E=54);case 34:case 39:return A=Re(),E=11;case 96:return E=$(!1);case 37:return K(d+1)===61?(d+=2,E=70):(d++,E=45);case 38:return K(d+1)===38?K(d+2)===61?(d+=3,E=77):(d+=2,E=56):K(d+1)===61?(d+=2,E=74):(d++,E=51);case 40:return d++,E=21;case 41:return d++,E=22;case 42:if(K(d+1)===61)return d+=2,E=67;if(K(d+1)===42)return K(d+2)===61?(d+=3,E=68):(d+=2,E=43);if(d++,M&&(R&32768)===0&&R&1){R|=32768;continue}return E=42;case 43:return K(d+1)===43?(d+=2,E=46):K(d+1)===61?(d+=2,E=65):(d++,E=40);case 44:return d++,E=28;case 45:return K(d+1)===45?(d+=2,E=47):K(d+1)===61?(d+=2,E=66):(d++,E=41);case 46:return OR(K(d+1))?(re(),E=9):K(d+1)===46&&K(d+2)===46?(d+=3,E=26):(d++,E=25);case 47:if(K(d+1)===47){for(d+=2;d<_&&!eu(K(d));)d++;if(N=mn(N,u.slice(y,d),J9e,y),t)continue;return E=2}if(K(d+1)===42){d+=2;const Ct=K(d)===42&&K(d+1)!==47;let Nt=!1,Wt=y;for(;d<_;){const rt=K(d);if(rt===42&&K(d+1)===47){d+=2,Nt=!0;break}d++,eu(rt)&&(Wt=d,R|=1)}if(Ct&&De()&&(R|=2),N=mn(N,u.slice(Wt,d),K9e,Wt),Nt||J(f.Asterisk_Slash_expected),t)continue;return Nt||(R|=4),E=3}return K(d+1)===61?(d+=2,E=69):(d++,E=44);case 48:if(d+2<_&&(K(d+1)===88||K(d+1)===120))return d+=2,A=ge(1,!0),A||(J(f.Hexadecimal_digit_expected),A="0"),A="0x"+A,R|=64,E=lt();if(d+2<_&&(K(d+1)===66||K(d+1)===98))return d+=2,A=ze(2),A||(J(f.Binary_digit_expected),A="0"),A="0b"+A,R|=128,E=lt();if(d+2<_&&(K(d+1)===79||K(d+1)===111))return d+=2,A=ze(8),A||(J(f.Octal_digit_expected),A="0"),A="0o"+A,R|=256,E=lt();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return E=re();case 58:return d++,E=59;case 59:return d++,E=27;case 60:if(DN(u,d)){if(d=x2(u,d,J),t)continue;return E=7}return K(d+1)===60?K(d+2)===61?(d+=3,E=71):(d+=2,E=48):K(d+1)===61?(d+=2,E=33):r===1&&K(d+1)===47&&K(d+2)!==42?(d+=2,E=31):(d++,E=30);case 61:if(DN(u,d)){if(d=x2(u,d,J),t)continue;return E=7}return K(d+1)===61?K(d+2)===61?(d+=3,E=37):(d+=2,E=35):K(d+1)===62?(d+=2,E=39):(d++,E=64);case 62:if(DN(u,d)){if(d=x2(u,d,J),t)continue;return E=7}return d++,E=32;case 63:return K(d+1)===46&&!OR(K(d+2))?(d+=2,E=29):K(d+1)===63?K(d+2)===61?(d+=3,E=78):(d+=2,E=61):(d++,E=58);case 91:return d++,E=23;case 93:return d++,E=24;case 94:return K(d+1)===61?(d+=2,E=79):(d++,E=53);case 123:return d++,E=19;case 124:if(DN(u,d)){if(d=x2(u,d,J),t)continue;return E=7}return K(d+1)===124?K(d+2)===61?(d+=3,E=76):(d+=2,E=57):K(d+1)===61?(d+=2,E=75):(d++,E=52);case 125:return d++,E=20;case 126:return d++,E=55;case 64:return d++,E=60;case 92:const We=ee();if(We>=0&&L_(We,e))return A=je(!0)+Se(),E=Ne();const it=be();return it>=0&&L_(it,e)?(d+=6,R|=1024,A=String.fromCharCode(it)+Se(),E=Ne()):(J(f.Invalid_character),d++,E=0);case 35:if(d!==0&&u[d+1]==="!")return J(f.can_only_be_used_at_the_start_of_a_file,d,2),d++,E=0;const dt=G(d+1);if(dt===92){d++;const Ct=ee();if(Ct>=0&&L_(Ct,e))return A="#"+je(!0)+Se(),E=81;const Nt=be();if(Nt>=0&&L_(Nt,e))return d+=6,R|=1024,A="#"+String.fromCharCode(Nt)+Se(),E=81;d--}return L_(dt,e)?(d++,Ve(dt,e)):(A="#",J(f.Invalid_character,d++,oh(ie))),E=81;case 65533:return J(f.File_appears_to_be_binary,0,0),d=_,E=8;default:const Lt=Ve(ie,e);if(Lt)return E=Lt;if(Hh(ie)){d+=oh(ie);continue}else if(eu(ie)){R|=1,d+=oh(ie);continue}const He=oh(ie);return J(f.Invalid_character,d,He),d+=He,E=0}}}function De(){switch(F){case 0:return!0;case 1:return!1}return k!==3&&k!==4?!0:F===3?!1:X9e.test(u.slice(m,d))}function _e(){C.assert(E===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),d=y=m,R=0;const ie=G(d),We=Ve(ie,99);return We?E=We:(d+=oh(ie),E)}function Ve(ie,We){let it=ie;if(L_(it,We)){for(d+=oh(it);d<_&&oy(it=G(d),We);)d+=oh(it);return A=u.substring(y,d),it===92&&(A+=Se()),Ne()}}function Ge(){if(E===32){if(K(d)===62)return K(d+1)===62?K(d+2)===61?(d+=3,E=73):(d+=2,E=50):K(d+1)===61?(d+=2,E=72):(d++,E=49);if(K(d)===61)return d++,E=34}return E}function Be(){return C.assert(E===67,"'reScanAsteriskEqualsToken' should only be called on a '*='"),d=y+1,E=64}function ot(ie){if(E===44||E===69){const We=y+1;d=We;let it=!1,dt=!1,Lt=!1;for(;;){const Ct=Q(d);if(Ct===-1||eu(Ct)){R|=4;break}if(it)it=!1;else{if(Ct===47&&!Lt)break;Ct===91?Lt=!0:Ct===92?it=!0:Ct===93?Lt=!1:!Lt&&Ct===40&&Q(d+1)===63&&Q(d+2)===60&&Q(d+3)!==61&&Q(d+3)!==33&&(dt=!0)}d++}const He=d;if(R&4){d=We,it=!1;let Ct=0,Nt=!1,Wt=0;for(;d<He;){const rt=K(d);if(it)it=!1;else if(rt===92)it=!0;else if(rt===91)Ct++;else if(rt===93&&Ct)Ct--;else if(!Ct){if(rt===123)Nt=!0;else if(rt===125&&Nt)Nt=!1;else if(!Nt){if(rt===40)Wt++;else if(rt===41&&Wt)Wt--;else if(rt===41||rt===93||rt===125)break}}d++}for(;ug(Q(d-1))||Q(d-1)===59;)d--;J(f.Unterminated_regular_expression_literal,y,d-y)}else{d++;let Ct=0;for(;;){const Nt=j(d);if(Nt===-1||!oy(Nt,e))break;const Wt=oh(Nt);if(ie){const rt=F9(Nt);rt===void 0?J(f.Unknown_regular_expression_flag,d,Wt):Ct&rt?J(f.Duplicate_regular_expression_flag,d,Wt):((Ct|rt)&96)===96?J(f.The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously,d,Wt):(Ct|=rt,Vt(rt,Wt))}d+=Wt}ie&&hn(We,He-We,()=>{Ot(Ct,!0,dt)})}A=u.substring(y,d),E=14}return E}function Ot(ie,We,it){var dt=!!(ie&64),Lt=!!(ie&96),He=Lt||!1,Ct=!1,Nt=0,Wt,rt,Zt,Rr=[],Oe;function At(Ft){for(;;){if(Rr.push(Oe),Oe=void 0,ye(Ft),Oe=Rr.pop(),Q(d)!==124)return;d++}}function ye(Ft){let bn=!1;for(;;){const Pr=d,tr=Q(d);switch(tr){case-1:return;case 94:case 36:d++,bn=!1;break;case 92:switch(d++,Q(d)){case 98:case 66:d++,bn=!1;break;default:xe(),bn=!0;break}break;case 40:if(d++,Q(d)===63)switch(d++,Q(d)){case 61:case 33:d++,bn=!He;break;case 60:const ea=d;switch(d++,Q(d)){case 61:case 33:d++,bn=!1;break;default:$t(!1),vn(62),e<5&&J(f.Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later,ea,d-ea),Nt++,bn=!0;break}break;default:const wo=d,vo=B(0);Q(d)===45&&(d++,B(vo),d===wo+1&&J(f.Subpattern_flags_must_be_present_when_there_is_a_minus_sign,wo,d-wo)),vn(58),bn=!0;break}else Nt++,bn=!0;At(!0),vn(41);break;case 123:d++;const kt=d;ue();const ti=A;if(!He&&!ti){bn=!0;break}if(Q(d)===44){d++,ue();const ea=A;if(ti)ea&&Number.parseInt(ti)>Number.parseInt(ea)&&(He||Q(d)===125)&&J(f.Numbers_out_of_order_in_quantifier,kt,d-kt);else if(ea||Q(d)===125)J(f.Incomplete_quantifier_Digit_expected,kt,0);else{J(f.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,Pr,1,String.fromCharCode(tr)),bn=!0;break}}else if(!ti){He&&J(f.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,Pr,1,String.fromCharCode(tr)),bn=!0;break}if(Q(d)!==125)if(He)J(f._0_expected,d,0,"}"),d--;else{bn=!0;break}case 42:case 43:case 63:d++,Q(d)===63&&d++,bn||J(f.There_is_nothing_available_for_repetition,Pr,d-Pr),bn=!1;break;case 46:d++,bn=!0;break;case 91:d++,dt?jt():yt(),vn(93),bn=!0;break;case 41:if(Ft)return;case 93:case 125:(He||tr===41)&&J(f.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,d,1,String.fromCharCode(tr)),d++,bn=!0;break;case 47:case 124:return;default:An(),bn=!0;break}}}function B(Ft){for(;;){const bn=j(d);if(bn===-1||!oy(bn,e))break;const Pr=oh(bn),tr=F9(bn);tr===void 0?J(f.Unknown_regular_expression_flag,d,Pr):Ft&tr?J(f.Duplicate_regular_expression_flag,d,Pr):tr&28?(Ft|=tr,Vt(tr,Pr)):J(f.This_regular_expression_flag_cannot_be_toggled_within_a_subpattern,d,Pr),d+=Pr}return Ft}function xe(){switch(C.assertEqual(K(d-1),92),Q(d)){case 107:d++,Q(d)===60?(d++,$t(!0),vn(62)):(He||it)&&J(f.k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets,d-2,2);break;case 113:if(dt){d++,J(f.q_is_only_available_inside_character_class,d-2,2);break}default:C.assert(zt()||te()||xt(!0));break}}function te(){C.assertEqual(K(d-1),92);const Ft=Q(d);if(Ft>=49&&Ft<=57){const bn=d;return ue(),Zt=jn(Zt,{pos:bn,end:d,value:+A}),!0}return!1}function xt(Ft){C.assertEqual(K(d-1),92);let bn=Q(d);switch(bn){case-1:return J(f.Undetermined_character_escape,d-1,1),"\\";case 99:if(d++,bn=Q(d),kee(bn))return d++,String.fromCharCode(bn&31);if(He)J(f.c_must_be_followed_by_an_ASCII_letter,d-2,2);else if(Ft)return d--,"\\";return String.fromCharCode(bn);case 94:case 36:case 47:case 92:case 46:case 42:case 43:case 63:case 40:case 41:case 91:case 93:case 123:case 125:case 124:return d++,String.fromCharCode(bn);default:return d--,ve(12|(Lt?16:0)|(Ft?32:0))}}function $t(Ft){C.assertEqual(K(d-1),60),y=d,Ve(j(d),e),d===y?J(f.Expected_a_capturing_group_name):Ft?rt=jn(rt,{pos:y,end:d,name:A}):Oe!=null&&Oe.has(A)||Rr.some(bn=>bn==null?void 0:bn.has(A))?J(f.Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other,y,d-y):(Oe!=null||(Oe=new Set),Oe.add(A),Wt!=null||(Wt=new Set),Wt.add(A))}function Pe(Ft){return Ft===93||Ft===-1||d>=_}function yt(){for(C.assertEqual(K(d-1),91),Q(d)===94&&d++;;){const Ft=Q(d);if(Pe(Ft))return;const bn=d,Pr=Rt();if(Q(d)===45){d++;const tr=Q(d);if(Pe(tr))return;!Pr&&He&&J(f.A_character_class_range_must_not_be_bounded_by_another_character_class,bn,d-1-bn);const kt=d,ti=Rt();if(!ti&&He){J(f.A_character_class_range_must_not_be_bounded_by_another_character_class,kt,d-kt);continue}if(!Pr)continue;const ea=CN(Pr,0),wo=CN(ti,0);Pr.length===oh(ea)&&ti.length===oh(wo)&&ea>wo&&J(f.Range_out_of_order_in_character_class,bn,d-bn)}}}function jt(){C.assertEqual(K(d-1),91);let Ft=!1;Q(d)===94&&(d++,Ft=!0);let bn=!1,Pr=Q(d);if(Pe(Pr))return;let tr=d,kt;switch(u.slice(d,d+2)){case"--":case"&&":J(f.Expected_a_class_set_operand),Ct=!1;break;default:kt=$n();break}switch(Q(d)){case 45:if(Q(d+1)===45){Ft&&Ct&&J(f.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class,tr,d-tr),bn=Ct,or(3),Ct=!Ft&&bn;return}break;case 38:if(Q(d+1)===38){or(2),Ft&&Ct&&J(f.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class,tr,d-tr),bn=Ct,Ct=!Ft&&bn;return}else J(f.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,d,1,String.fromCharCode(Pr));break;default:Ft&&Ct&&J(f.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class,tr,d-tr),bn=Ct;break}for(;Pr=Q(d),Pr!==-1;){switch(Pr){case 45:if(d++,Pr=Q(d),Pe(Pr)){Ct=!Ft&&bn;return}if(Pr===45){d++,J(f.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,d-2,2),tr=d-2,kt=u.slice(tr,d);continue}else{kt||J(f.A_character_class_range_must_not_be_bounded_by_another_character_class,tr,d-1-tr);const ti=d,ea=$n();if(Ft&&Ct&&J(f.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class,ti,d-ti),bn||(bn=Ct),!ea){J(f.A_character_class_range_must_not_be_bounded_by_another_character_class,ti,d-ti);break}if(!kt)break;const wo=CN(kt,0),vo=CN(ea,0);kt.length===oh(wo)&&ea.length===oh(vo)&&wo>vo&&J(f.Range_out_of_order_in_character_class,tr,d-tr)}break;case 38:tr=d,d++,Q(d)===38?(d++,J(f.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,d-2,2),Q(d)===38&&(J(f.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,d,1,String.fromCharCode(Pr)),d++)):J(f.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,d-1,1,String.fromCharCode(Pr)),kt=u.slice(tr,d);continue}if(Pe(Q(d)))break;switch(tr=d,u.slice(d,d+2)){case"--":case"&&":J(f.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,d,2),d+=2,kt=u.slice(tr,d);break;default:kt=$n();break}}Ct=!Ft&&bn}function or(Ft){let bn=Ct;for(;;){let Pr=Q(d);if(Pe(Pr))break;switch(Pr){case 45:d++,Q(d)===45?(d++,Ft!==3&&J(f.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,d-2,2)):J(f.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,d-1,1);break;case 38:d++,Q(d)===38?(d++,Ft!==2&&J(f.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,d-2,2),Q(d)===38&&(J(f.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,d,1,String.fromCharCode(Pr)),d++)):J(f.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,d-1,1,String.fromCharCode(Pr));break;default:switch(Ft){case 3:J(f._0_expected,d,0,"--");break;case 2:J(f._0_expected,d,0,"&&");break}break}if(Pr=Q(d),Pe(Pr)){J(f.Expected_a_class_set_operand);break}$n(),bn&&(bn=Ct)}Ct=bn}function $n(){switch(Ct=!1,Q(d)){case-1:return"";case 91:return d++,jt(),vn(93),"";case 92:if(d++,zt())return"";if(Q(d)===113)return d++,Q(d)===123?(d++,fr(),vn(125),""):(J(f.q_must_be_followed_by_string_alternatives_enclosed_in_braces,d-2,2),"q");d--;default:return vt()}}function fr(){C.assertEqual(K(d-1),123);let Ft=0;for(;;)switch(Q(d)){case-1:return;case 125:Ft!==1&&(Ct=!0);return;case 124:Ft!==1&&(Ct=!0),d++,s=d,Ft=0;break;default:vt(),Ft++;break}}function vt(){const Ft=Q(d);if(Ft===-1)return"";if(Ft===92){d++;const bn=Q(d);switch(bn){case 98:return d++,"\b";case 38:case 45:case 33:case 35:case 37:case 44:case 58:case 59:case 60:case 61:case 62:case 64:case 96:case 126:return d++,String.fromCharCode(bn);default:return xt(!1)}}else if(Ft===Q(d+1))switch(Ft){case 38:case 33:case 35:case 37:case 42:case 43:case 44:case 46:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 96:case 126:return J(f.A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backslash,d,2),d+=2,u.substring(d-2,d)}switch(Ft){case 47:case 40:case 41:case 91:case 93:case 123:case 125:case 45:case 124:return J(f.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,d,1,String.fromCharCode(Ft)),d++,String.fromCharCode(Ft)}return An()}function Rt(){if(Q(d)===92){d++;const Ft=Q(d);switch(Ft){case 98:return d++,"\b";case 45:return d++,String.fromCharCode(Ft);default:return zt()?"":xt(!1)}}else return An()}function zt(){C.assertEqual(K(d-1),92);let Ft=!1;const bn=d-1,Pr=Q(d);switch(Pr){case 100:case 68:case 115:case 83:case 119:case 87:return d++,!0;case 80:Ft=!0;case 112:if(d++,Q(d)===123){d++;const tr=d,kt=Yt();if(Q(d)===61){const ti=mTe.get(kt);if(d===tr)J(f.Expected_a_Unicode_property_name);else if(ti===void 0){J(f.Unknown_Unicode_property_name,tr,d-tr);const vo=fS(kt,mTe.keys(),qs);vo&&J(f.Did_you_mean_0,tr,d-tr,vo)}d++;const ea=d,wo=Yt();if(d===ea)J(f.Expected_a_Unicode_property_value);else if(ti!==void 0&&!C2[ti].has(wo)){J(f.Unknown_Unicode_property_value,ea,d-ea);const vo=fS(wo,C2[ti],qs);vo&&J(f.Did_you_mean_0,ea,d-ea,vo)}}else if(d===tr)J(f.Expected_a_Unicode_property_name_or_value);else if(_Te.has(kt))dt?Ft?J(f.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class,tr,d-tr):Ct=!0:J(f.Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_the_Unicode_Sets_v_flag_is_set,tr,d-tr);else if(!C2.General_Category.has(kt)&&!hTe.has(kt)){J(f.Unknown_Unicode_property_name_or_value,tr,d-tr);const ti=fS(kt,[...C2.General_Category,...hTe,..._Te],qs);ti&&J(f.Did_you_mean_0,tr,d-tr,ti)}vn(125),Lt||J(f.Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set,bn,d-bn)}else if(He)J(f._0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces,d-2,2,String.fromCharCode(Pr));else return d--,!1;return!0}return!1}function Yt(){let Ft="";for(;;){const bn=Q(d);if(bn===-1||!dTe(bn))break;Ft+=String.fromCharCode(bn),d++}return Ft}function An(){const Ft=Lt?oh(j(d)):1;return d+=Ft,Ft>0?u.substring(d-Ft,d):""}function vn(Ft){Q(d)===Ft?d++:J(f._0_expected,d,0,String.fromCharCode(Ft))}At(!1),Xe(rt,Ft=>{if(!(Wt!=null&&Wt.has(Ft.name))&&(J(f.There_is_no_capturing_group_named_0_in_this_regular_expression,Ft.pos,Ft.end-Ft.pos,Ft.name),Wt)){const bn=fS(Ft.name,Wt,qs);bn&&J(f.Did_you_mean_0,Ft.pos,Ft.end-Ft.pos,bn)}}),Xe(Zt,Ft=>{Ft.value>Nt&&(Nt?J(f.This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_regular_expression,Ft.pos,Ft.end-Ft.pos,Nt):J(f.This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regular_expression,Ft.pos,Ft.end-Ft.pos))})}function Vt(ie,We){const it=V9e.get(ie);it&&e<it&&J(f.This_regular_expression_flag_is_only_available_when_targeting_0_or_later,d,We,B6(it))}function mn(ie,We,it,dt){const Lt=Hn(We.trimStart(),it);return Lt===void 0?ie:jn(ie,{range:{pos:dt,end:d},type:Lt})}function Hn(ie,We){const it=We.exec(ie);if(it)switch(it[1]){case"ts-expect-error":return 0;case"ts-ignore":return 1}}function gt(ie){return d=y,E=$(!ie)}function tn(){return d=y,E=$(!0)}function ir(ie=!0){return d=y=m,E=Qr(ie)}function Ri(){return E===48?(d=y+1,E=30):E}function _o(){return E===81?(d=y+1,E=63):E}function Ht(){return C.assert(E===61,"'reScanQuestionToken' should only be called on a '??'"),d=y+1,E=58}function Qr(ie=!0){if(m=y=d,d>=_)return E=1;let We=K(d);if(We===60)return K(d+1)===47?(d+=2,E=31):(d++,E=30);if(We===123)return d++,E=19;let it=0;for(;d<_&&(We=K(d),We!==123);){if(We===60){if(DN(u,d))return d=x2(u,d,J),E=7;break}if(We===62&&J(f.Unexpected_token_Did_you_mean_or_gt,d,1),We===125&&J(f.Unexpected_token_Did_you_mean_or_rbrace,d,1),eu(We)&&it===0)it=-1;else{if(!ie&&eu(We)&&it>0)break;ug(We)||(it=d)}d++}return A=u.substring(m,d),it===-1?13:12}function go(){if($u(E)){for(;d<_;){if(K(d)===45){A+="-",d++;continue}const We=d;if(A+=Se(),d===We)break}return Ne()}return E}function Ci(){switch(m=d,K(d)){case 34:case 39:return A=Re(!0),E=11;default:return le()}}function Cr(){return d=y=m,Ci()}function Ur(ie){if(m=y=d,R=0,d>=_)return E=1;for(let We=K(d);d<_&&!eu(We)&&We!==96;We=G(++d))if(!ie){if(We===123)break;if(We===64&&d-1>=0&&Hh(K(d-1))&&!(d+1<_&&ug(K(d+1))))break}return d===y?Qe():(A=u.substring(y,d),E=82)}function Qe(){if(m=y=d,R=0,d>=_)return E=1;const ie=G(d);switch(d+=oh(ie),ie){case 9:case 11:case 12:case 32:for(;d<_&&Hh(K(d));)d++;return E=5;case 64:return E=60;case 13:K(d)===10&&d++;case 10:return R|=1,E=4;case 42:return E=42;case 123:return E=19;case 125:return E=20;case 91:return E=23;case 93:return E=24;case 40:return E=21;case 41:return E=22;case 60:return E=30;case 62:return E=32;case 61:return E=64;case 44:return E=28;case 46:return E=25;case 96:return E=62;case 35:return E=63;case 92:d--;const We=ee();if(We>=0&&L_(We,e))return A=je(!0)+Se(),E=Ne();const it=be();return it>=0&&L_(it,e)?(d+=6,R|=1024,A=String.fromCharCode(it)+Se(),E=Ne()):(d++,E=0)}if(L_(ie,e)){let We=ie;for(;d<_&&oy(We=G(d),e)||We===45;)d+=oh(We);return A=u.substring(y,d),We===92&&(A+=Se()),E=Ne()}else return E=0}function It(ie,We){const it=d,dt=m,Lt=y,He=E,Ct=A,Nt=R,Wt=ie();return(!Wt||We)&&(d=it,m=dt,y=Lt,E=He,A=Ct,R=Nt),Wt}function hn(ie,We,it){const dt=_,Lt=d,He=m,Ct=y,Nt=E,Wt=A,rt=R,Zt=N;Zo(u,ie,We);const Rr=it();return _=dt,d=Lt,m=He,y=Ct,E=Nt,A=Wt,R=rt,N=Zt,Rr}function pr(ie){return It(ie,!0)}function oi(ie){return It(ie,!1)}function di(){return u}function Ki(){N=void 0}function Zo(ie,We,it){u=ie||"",_=it===void 0?u.length:We+it,ce(We||0)}function Da(ie){o=ie}function Pn(ie){e=ie}function qo(ie){r=ie}function at(ie){k=ie}function Bt(ie){F=ie}function ce(ie){C.assert(ie>=0),d=ie,m=ie,y=ie,E=0,A=void 0,R=0}function _t(ie){M+=ie?1:-1}}function CN(e,t){return e.codePointAt(t)}function oh(e){return e>=65536?2:e===-1?0:1}function Z9e(e){if(C.assert(0<=e&&e<=1114111),e<=65535)return String.fromCharCode(e);const t=Math.floor((e-65536)/1024)+55296,r=(e-65536)%1024+56320;return String.fromCharCode(t,r)}var eGe=String.fromCodePoint?e=>String.fromCodePoint(e):Z9e;function NN(e){return eGe(e)}var mTe=new Map(Object.entries({General_Category:"General_Category",gc:"General_Category",Script:"Script",sc:"Script",Script_Extensions:"Script_Extensions",scx:"Script_Extensions"})),hTe=new Set(["ASCII","ASCII_Hex_Digit","AHex","Alphabetic","Alpha","Any","Assigned","Bidi_Control","Bidi_C","Bidi_Mirrored","Bidi_M","Case_Ignorable","CI","Cased","Changes_When_Casefolded","CWCF","Changes_When_Casemapped","CWCM","Changes_When_Lowercased","CWL","Changes_When_NFKC_Casefolded","CWKCF","Changes_When_Titlecased","CWT","Changes_When_Uppercased","CWU","Dash","Default_Ignorable_Code_Point","DI","Deprecated","Dep","Diacritic","Dia","Emoji","Emoji_Component","EComp","Emoji_Modifier","EMod","Emoji_Modifier_Base","EBase","Emoji_Presentation","EPres","Extended_Pictographic","ExtPict","Extender","Ext","Grapheme_Base","Gr_Base","Grapheme_Extend","Gr_Ext","Hex_Digit","Hex","IDS_Binary_Operator","IDSB","IDS_Trinary_Operator","IDST","ID_Continue","IDC","ID_Start","IDS","Ideographic","Ideo","Join_Control","Join_C","Logical_Order_Exception","LOE","Lowercase","Lower","Math","Noncharacter_Code_Point","NChar","Pattern_Syntax","Pat_Syn","Pattern_White_Space","Pat_WS","Quotation_Mark","QMark","Radical","Regional_Indicator","RI","Sentence_Terminal","STerm","Soft_Dotted","SD","Terminal_Punctuation","Term","Unified_Ideograph","UIdeo","Uppercase","Upper","Variation_Selector","VS","White_Space","space","XID_Continue","XIDC","XID_Start","XIDS"]),_Te=new Set(["Basic_Emoji","Emoji_Keycap_Sequence","RGI_Emoji_Modifier_Sequence","RGI_Emoji_Flag_Sequence","RGI_Emoji_Tag_Sequence","RGI_Emoji_ZWJ_Sequence","RGI_Emoji"]),C2={General_Category:new Set(["C","Other","Cc","Control","cntrl","Cf","Format","Cn","Unassigned","Co","Private_Use","Cs","Surrogate","L","Letter","LC","Cased_Letter","Ll","Lowercase_Letter","Lm","Modifier_Letter","Lo","Other_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter","M","Mark","Combining_Mark","Mc","Spacing_Mark","Me","Enclosing_Mark","Mn","Nonspacing_Mark","N","Number","Nd","Decimal_Number","digit","Nl","Letter_Number","No","Other_Number","P","Punctuation","punct","Pc","Connector_Punctuation","Pd","Dash_Punctuation","Pe","Close_Punctuation","Pf","Final_Punctuation","Pi","Initial_Punctuation","Po","Other_Punctuation","Ps","Open_Punctuation","S","Symbol","Sc","Currency_Symbol","Sk","Modifier_Symbol","Sm","Math_Symbol","So","Other_Symbol","Z","Separator","Zl","Line_Separator","Zp","Paragraph_Separator","Zs","Space_Separator"]),Script:new Set(["Adlm","Adlam","Aghb","Caucasian_Albanian","Ahom","Arab","Arabic","Armi","Imperial_Aramaic","Armn","Armenian","Avst","Avestan","Bali","Balinese","Bamu","Bamum","Bass","Bassa_Vah","Batk","Batak","Beng","Bengali","Bhks","Bhaiksuki","Bopo","Bopomofo","Brah","Brahmi","Brai","Braille","Bugi","Buginese","Buhd","Buhid","Cakm","Chakma","Cans","Canadian_Aboriginal","Cari","Carian","Cham","Cher","Cherokee","Chrs","Chorasmian","Copt","Coptic","Qaac","Cpmn","Cypro_Minoan","Cprt","Cypriot","Cyrl","Cyrillic","Deva","Devanagari","Diak","Dives_Akuru","Dogr","Dogra","Dsrt","Deseret","Dupl","Duployan","Egyp","Egyptian_Hieroglyphs","Elba","Elbasan","Elym","Elymaic","Ethi","Ethiopic","Geor","Georgian","Glag","Glagolitic","Gong","Gunjala_Gondi","Gonm","Masaram_Gondi","Goth","Gothic","Gran","Grantha","Grek","Greek","Gujr","Gujarati","Guru","Gurmukhi","Hang","Hangul","Hani","Han","Hano","Hanunoo","Hatr","Hatran","Hebr","Hebrew","Hira","Hiragana","Hluw","Anatolian_Hieroglyphs","Hmng","Pahawh_Hmong","Hmnp","Nyiakeng_Puachue_Hmong","Hrkt","Katakana_Or_Hiragana","Hung","Old_Hungarian","Ital","Old_Italic","Java","Javanese","Kali","Kayah_Li","Kana","Katakana","Kawi","Khar","Kharoshthi","Khmr","Khmer","Khoj","Khojki","Kits","Khitan_Small_Script","Knda","Kannada","Kthi","Kaithi","Lana","Tai_Tham","Laoo","Lao","Latn","Latin","Lepc","Lepcha","Limb","Limbu","Lina","Linear_A","Linb","Linear_B","Lisu","Lyci","Lycian","Lydi","Lydian","Mahj","Mahajani","Maka","Makasar","Mand","Mandaic","Mani","Manichaean","Marc","Marchen","Medf","Medefaidrin","Mend","Mende_Kikakui","Merc","Meroitic_Cursive","Mero","Meroitic_Hieroglyphs","Mlym","Malayalam","Modi","Mong","Mongolian","Mroo","Mro","Mtei","Meetei_Mayek","Mult","Multani","Mymr","Myanmar","Nagm","Nag_Mundari","Nand","Nandinagari","Narb","Old_North_Arabian","Nbat","Nabataean","Newa","Nkoo","Nko","Nshu","Nushu","Ogam","Ogham","Olck","Ol_Chiki","Orkh","Old_Turkic","Orya","Oriya","Osge","Osage","Osma","Osmanya","Ougr","Old_Uyghur","Palm","Palmyrene","Pauc","Pau_Cin_Hau","Perm","Old_Permic","Phag","Phags_Pa","Phli","Inscriptional_Pahlavi","Phlp","Psalter_Pahlavi","Phnx","Phoenician","Plrd","Miao","Prti","Inscriptional_Parthian","Rjng","Rejang","Rohg","Hanifi_Rohingya","Runr","Runic","Samr","Samaritan","Sarb","Old_South_Arabian","Saur","Saurashtra","Sgnw","SignWriting","Shaw","Shavian","Shrd","Sharada","Sidd","Siddham","Sind","Khudawadi","Sinh","Sinhala","Sogd","Sogdian","Sogo","Old_Sogdian","Sora","Sora_Sompeng","Soyo","Soyombo","Sund","Sundanese","Sylo","Syloti_Nagri","Syrc","Syriac","Tagb","Tagbanwa","Takr","Takri","Tale","Tai_Le","Talu","New_Tai_Lue","Taml","Tamil","Tang","Tangut","Tavt","Tai_Viet","Telu","Telugu","Tfng","Tifinagh","Tglg","Tagalog","Thaa","Thaana","Thai","Tibt","Tibetan","Tirh","Tirhuta","Tnsa","Tangsa","Toto","Ugar","Ugaritic","Vaii","Vai","Vith","Vithkuqi","Wara","Warang_Citi","Wcho","Wancho","Xpeo","Old_Persian","Xsux","Cuneiform","Yezi","Yezidi","Yiii","Yi","Zanb","Zanabazar_Square","Zinh","Inherited","Qaai","Zyyy","Common","Zzzz","Unknown"]),Script_Extensions:void 0};C2.Script_Extensions=C2.Script;function td(e){return tf(e)||Pp(e)}function WR(e){return mN(e,bM,W6)}var Bee=new Map([[99,"lib.esnext.full.d.ts"],[11,"lib.es2024.full.d.ts"],[10,"lib.es2023.full.d.ts"],[9,"lib.es2022.full.d.ts"],[8,"lib.es2021.full.d.ts"],[7,"lib.es2020.full.d.ts"],[6,"lib.es2019.full.d.ts"],[5,"lib.es2018.full.d.ts"],[4,"lib.es2017.full.d.ts"],[3,"lib.es2016.full.d.ts"],[2,"lib.es6.d.ts"]]);function N2(e){const t=Va(e);switch(t){case 99:case 11:case 10:case 9:case 8:case 7:case 6:case 5:case 4:case 3:case 2:return Bee.get(t);default:return"lib.d.ts"}}function Ml(e){return e.start+e.length}function Gee(e){return e.length===0}function G9(e,t){return t>=e.start&&t<Ml(e)}function M2(e,t){return t>=e.pos&&t<=e.end}function Vee(e,t){return t.start>=e.start&&Ml(t)<=Ml(e)}function V9(e,t){return t.pos>=e.start&&t.end<=Ml(e)}function jee(e,t){return t.start>=e.pos&&Ml(t)<=e.end}function gTe(e,t){return Uee(e,t)!==void 0}function Uee(e,t){const r=Kee(e,t);return r&&r.length===0?void 0:r}function Hee(e,t){return L2(e.start,e.length,t.start,t.length)}function P2(e,t,r){return L2(e.start,e.length,t,r)}function L2(e,t,r,i){const o=e+t,s=r+i;return r<=o&&s>=e}function qee(e,t){return t<=Ml(e)&&t>=e.start}function Jee(e,t){return P2(t,e.pos,e.end-e.pos)}function Kee(e,t){const r=Math.max(e.start,t.start),i=Math.min(Ml(e),Ml(t));return r<=i?oc(r,i):void 0}function j9(e){e=e.filter(i=>i.length>0).sort((i,o)=>i.start!==o.start?i.start-o.start:i.length-o.length);const t=[];let r=0;for(;r<e.length;){let i=e[r],o=r+1;for(;o<e.length&&Hee(i,e[o]);){const s=Math.min(i.start,e[o].start),l=Math.max(Ml(i),Ml(e[o]));i=oc(s,l),o++}r=o,t.push(i)}return t}function Ad(e,t){if(e<0)throw new Error("start < 0");if(t<0)throw new Error("length < 0");return{start:e,length:t}}function oc(e,t){return Ad(e,t-e)}function MN(e){return Ad(e.span.start,e.newLength)}function Xee(e){return Gee(e.span)&&e.newLength===0}function k2(e,t){if(t<0)throw new Error("newLength < 0");return{span:e,newLength:t}}var uF=k2(Ad(0,0),0);function Yee(e){if(e.length===0)return uF;if(e.length===1)return e[0];const t=e[0];let r=t.span.start,i=Ml(t.span),o=r+t.newLength;for(let s=1;s<e.length;s++){const l=e[s],u=r,d=i,_=o,m=l.span.start,y=Ml(l.span),E=m+l.newLength;r=Math.min(u,m),i=Math.max(d,d+(y-_)),o=Math.max(E,E+(_-y))}return k2(oc(r,i),o-r)}function yTe(e){if(e&&e.kind===169){for(let t=e;t;t=t.parent)if(Yo(t)||hi(t)||t.kind===265)return t}}function Lp(e,t){return no(e)&&fi(e,31)&&t.kind===177}function $ee(e){return na(e)?Gn(e.elements,Qee):!1}function Qee(e){return qc(e)?!0:$ee(e.name)}function JE(e){let t=e.parent;for(;qa(t.parent);)t=t.parent.parent;return t.parent}function Zee(e,t){qa(e)&&(e=JE(e));let r=t(e);return e.kind===261&&(e=e.parent),e&&e.kind===262&&(r|=t(e),e=e.parent),e&&e.kind===244&&(r|=t(e)),r}function L0(e){return Zee(e,Gd)}function U9(e){return Zee(e,$ne)}function ay(e){return Zee(e,tGe)}function tGe(e){return e.flags}var ete=["cs","de","es","fr","it","ja","ko","pl","pt-br","ru","tr","zh-cn","zh-tw"];function H9(e,t,r){const i=e.toLowerCase(),o=/^([a-z]+)(?:[_-]([a-z]+))?$/.exec(i);if(!o){r&&r.push(Dl(f.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1,"en","ja-jp"));return}const s=o[1],l=o[2];Vn(ete,i)&&!u(s,l,r)&&u(s,void 0,r),cZ(e);function u(d,_,m){const y=Sa(t.getExecutingFilePath()),E=pi(y);let A=ei(E,d);if(_&&(A=A+"-"+_),A=t.resolvePath(ei(A,"diagnosticMessages.generated.json")),!t.fileExists(A))return!1;let R="";try{R=t.readFile(A)}catch(N){return m&&m.push(Dl(f.Unable_to_open_file_0,A)),!1}try{_re(JSON.parse(R))}catch(N){return m&&m.push(Dl(f.Corrupted_locale_file_0,A)),!1}return!0}}function Tl(e,t){if(e)for(;e.original!==void 0;)e=e.original;return!e||!t||t(e)?e:void 0}function Rn(e,t){for(;e;){const r=t(e);if(r==="quit")return;if(r)return e;e=e.parent}}function PN(e){return(e.flags&16)===0}function Ho(e,t){if(e===void 0||PN(e))return e;for(e=e.original;e;){if(PN(e))return!t||t(e)?e:void 0;e=e.original}}function Pl(e){return e.length>=2&&e.charCodeAt(0)===95&&e.charCodeAt(1)===95?"_"+e:e}function Bi(e){const t=e;return t.length>=3&&t.charCodeAt(0)===95&&t.charCodeAt(1)===95&&t.charCodeAt(2)===95?t.substr(1):t}function Yr(e){return Bi(e.escapedText)}function KE(e){const t=qE(e.escapedText);return t?ii(t,np):void 0}function Ol(e){return e.valueDeclaration&&nu(e.valueDeclaration)?Yr(e.valueDeclaration.name):Bi(e.escapedName)}function vTe(e){const t=e.parent.parent;if(t){if(rd(t))return q9(t);switch(t.kind){case 244:if(t.declarationList&&t.declarationList.declarations[0])return q9(t.declarationList.declarations[0]);break;case 245:let r=t.expression;switch(r.kind===227&&r.operatorToken.kind===64&&(r=r.left),r.kind){case 212:return r.name;case 213:const i=r.argumentExpression;if(Je(i))return i}break;case 218:return q9(t.expression);case 257:{if(rd(t.statement)||Et(t.statement))return q9(t.statement);break}}}}function q9(e){const t=Fo(e);return t&&Je(t)?t:void 0}function w2(e,t){return!!(nd(e)&&Je(e.name)&&Yr(e.name)===Yr(t)||sc(e)&&bt(e.declarationList.declarations,r=>w2(r,t)))}function tte(e){return e.name||vTe(e)}function nd(e){return!!e.name}function pF(e){switch(e.kind){case 80:return e;case 349:case 342:{const{name:r}=e;if(r.kind===167)return r.right;break}case 214:case 227:{const r=e;switch(ac(r)){case 1:case 4:case 5:case 3:return l6(r.left);case 7:case 8:case 9:return r.arguments[1];default:return}}case 347:return tte(e);case 341:return vTe(e);case 278:{const{expression:r}=e;return Je(r)?r:void 0}case 213:const t=e;if(s6(t))return t.argumentExpression}return e.name}function Fo(e){if(e!==void 0)return pF(e)||(Ks(e)||Zs(e)||uc(e)?fF(e):void 0)}function fF(e){if(e.parent){if(Rc(e.parent)||qa(e.parent))return e.parent.name;if(Nr(e.parent)&&e===e.parent.right){if(Je(e.parent.left))return e.parent.left;if(Qs(e.parent.left))return l6(e.parent.left)}else if(bi(e.parent)&&Je(e.parent.name))return e.parent.name}else return}function pb(e){if(ff(e))return Fn(e.modifiers,wc)}function mS(e){if(fi(e,98303))return Fn(e.modifiers,Ra)}function bTe(e,t){if(e.name)if(Je(e.name)){const r=e.name.escapedText;return hF(e.parent,t).filter(i=>hf(i)&&Je(i.name)&&i.name.escapedText===r)}else{const r=e.parent.parameters.indexOf(e);C.assert(r>-1,"Parameters should always be in their parents' parameter list");const i=hF(e.parent,t).filter(hf);if(r<i.length)return[i[r]]}return se}function FR(e){return bTe(e,!1)}function nte(e){return bTe(e,!0)}function TTe(e,t){const r=e.name.escapedText;return hF(e.parent,t).filter(i=>Am(i)&&i.typeParameters.some(o=>o.name.escapedText===r))}function rte(e){return TTe(e,!1)}function ite(e){return TTe(e,!0)}function ote(e){return!!_m(e,hf)}function ate(e){return _m(e,ZI)}function ste(e){return _F(e,N4)}function J9(e){return _m(e,Kie)}function STe(e){return _m(e,kj)}function lte(e){return _m(e,kj,!0)}function ETe(e){return _m(e,wj)}function cte(e){return _m(e,wj,!0)}function ATe(e){return _m(e,Oj)}function dte(e){return _m(e,Oj,!0)}function ITe(e){return _m(e,Wj)}function ute(e){return _m(e,Wj,!0)}function pte(e){return _m(e,D4,!0)}function K9(e){return _m(e,Fj)}function fte(e){return _m(e,Fj,!0)}function X9(e){return _m(e,bw)}function mF(e){return _m(e,zj)}function mte(e){return _m(e,C4)}function xTe(e){return _m(e,Am)}function Y9(e){return _m(e,M4)}function k0(e){const t=_m(e,XM);if(t&&t.typeExpression&&t.typeExpression.type)return t}function tv(e){let t=_m(e,XM);return!t&&no(e)&&(t=_n(FR(e),r=>!!r.typeExpression)),t&&t.typeExpression&&t.typeExpression.type}function O2(e){const t=mte(e);if(t&&t.typeExpression)return t.typeExpression.type;const r=k0(e);if(r&&r.typeExpression){const i=r.typeExpression.type;if(Fu(i)){const o=_n(i.members,HI);return o&&o.type}if(G_(i)||ND(i))return i.type}}function hF(e,t){var o;var r;if(!Ak(e))return se;let i=(r=e.jsDoc)==null?void 0:r.jsDocCache;if(i===void 0||t){const s=UG(e,t);C.assert(s.length<2||s[0]!==s[1]),i=Wi(s,l=>mh(l)?l.tags:l),t||((o=e.jsDoc)!=null||(e.jsDoc=[]),e.jsDoc.jsDocCache=i)}return i}function w0(e){return hF(e,!1)}function _m(e,t,r){return _n(hF(e,r),t)}function _F(e,t){return w0(e).filter(t)}function RTe(e,t){return w0(e).filter(r=>r.kind===t)}function W2(e){return typeof e=="string"?e:e==null?void 0:e.map(t=>t.kind===322?t.text:nGe(t)).join("")}function nGe(e){const t=e.kind===325?"link":e.kind===326?"linkcode":"linkplain",r=e.name?kp(e.name):"",i=e.name&&(e.text===""||e.text.startsWith("://"))?"":" ";return"{@".concat(t," ").concat(r).concat(i).concat(e.text,"}")}function fb(e){if(gv(e)){if(MD(e.parent)){const t=rD(e.parent);if(t&&et(t.tags))return Wi(t.tags,r=>Am(r)?r.typeParameters:void 0)}return se}if(vm(e))return C.assert(e.parent.kind===321),Wi(e.parent.tags,t=>Am(t)?t.typeParameters:void 0);if(e.typeParameters||aoe(e)&&e.typeParameters)return e.typeParameters;if(Er(e)){const t=A6(e);if(t.length)return t;const r=tv(e);if(r&&G_(r)&&r.typeParameters)return r.typeParameters}return se}function zR(e){return e.constraint?e.constraint:Am(e.parent)&&e===e.parent.typeParameters[0]?e.parent.constraint:void 0}function mg(e){return e.kind===80||e.kind===81}function F2(e){return e.kind===179||e.kind===178}function gF(e){return Jr(e)&&!!(e.flags&64)}function $9(e){return Bs(e)&&!!(e.flags&64)}function XE(e){return ra(e)&&!!(e.flags&64)}function tu(e){const t=e.kind;return!!(e.flags&64)&&(t===212||t===213||t===214||t===236)}function LN(e){return tu(e)&&!YI(e)&&!!e.questionDotToken}function yF(e){return LN(e.parent)&&e.parent.expression===e}function kN(e){return!tu(e.parent)||LN(e.parent)||e!==e.parent.expression}function Q9(e){return e.kind===227&&e.operatorToken.kind===61}function zm(e){return Bp(e)&&Je(e.typeName)&&e.typeName.escapedText==="const"&&!e.typeArguments}function Bm(e){return Hl(e,8)}function vF(e){return YI(e)&&!!(e.flags&64)}function wN(e){return e.kind===253||e.kind===252}function Z9(e){return e.kind===281||e.kind===280}function ON(e){return e.kind===349||e.kind===342}function bF(e){return e>=167}function eG(e){return e>=0&&e<=166}function aI(e){return eG(e.kind)}function hS(e){return Ms(e,"pos")&&Ms(e,"end")}function WN(e){return 9<=e&&e<=15}function YE(e){return WN(e.kind)}function tG(e){switch(e.kind){case 211:case 210:case 14:case 219:case 232:return!0}return!1}function mb(e){return 15<=e&&e<=18}function hte(e){return mb(e.kind)}function TF(e){const t=e.kind;return t===17||t===18}function hb(e){return Au(e)||ou(e)}function BR(e){switch(e.kind){case 277:return e.isTypeOnly||e.parent.parent.phaseModifier===156;case 275:return e.parent.phaseModifier===156;case 274:return e.phaseModifier===156;case 272:return e.isTypeOnly}return!1}function _te(e){switch(e.kind){case 282:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 279:return e.isTypeOnly&&!!e.moduleSpecifier&&!e.exportClause;case 281:return e.parent.isTypeOnly}return!1}function nv(e){return BR(e)||_te(e)}function gte(e){return Rn(e,nv)!==void 0}function nG(e){return e.kind===11||mb(e.kind)}function yte(e){return Oa(e)||Je(e)}function yl(e){var t;return Je(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function $E(e){var t;return to(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function z2(e){const t=e.emitNode.autoGenerate.flags;return!!(t&32)&&!!(t&16)&&!!(t&8)}function nu(e){return(ko(e)||lI(e))&&to(e.name)}function GR(e){return Jr(e)&&to(e.name)}function _b(e){switch(e){case 128:case 129:case 134:case 87:case 138:case 90:case 95:case 103:case 125:case 123:case 124:case 148:case 126:case 147:case 164:return!0}return!1}function FN(e){return!!(xI(e)&31)}function rG(e){return FN(e)||e===126||e===164||e===129}function Ra(e){return _b(e.kind)}function ku(e){const t=e.kind;return t===167||t===80}function yc(e){const t=e.kind;return t===80||t===81||t===11||t===9||t===168}function QE(e){const t=e.kind;return t===80||t===207||t===208}function Yo(e){return!!e&&sI(e.kind)}function VR(e){return!!e&&(sI(e.kind)||Zl(e))}function ks(e){return e&&DTe(e.kind)}function zN(e){return e.kind===112||e.kind===97}function DTe(e){switch(e){case 263:case 175:case 177:case 178:case 179:case 219:case 220:return!0;default:return!1}}function sI(e){switch(e){case 174:case 180:case 324:case 181:case 182:case 185:case 318:case 186:return!0;default:return DTe(e)}}function iG(e){return Qi(e)||a_(e)||ia(e)&&Yo(e.parent)}function vc(e){const t=e.kind;return t===177||t===173||t===175||t===178||t===179||t===182||t===176||t===241}function hi(e){return e&&(e.kind===264||e.kind===232)}function gb(e){return e&&(e.kind===178||e.kind===179)}function Qu(e){return ko(e)&&Zh(e)}function vte(e){return Er(e)&&FI(e)?(!AS(e)||!Db(e.expression))&&!s1(e,!0):e.parent&&hi(e.parent)&&ko(e)&&!Zh(e)}function lI(e){switch(e.kind){case 175:case 178:case 179:return!0;default:return!1}}function vl(e){return Ra(e)||wc(e)}function _S(e){const t=e.kind;return t===181||t===180||t===172||t===174||t===182||t===178||t===179||t===355}function SF(e){return _S(e)||vc(e)}function sy(e){const t=e.kind;return t===304||t===305||t===306||t===175||t===178||t===179}function xi(e){return PV(e.kind)}function bte(e){switch(e.kind){case 185:case 186:return!0}return!1}function na(e){if(e){const t=e.kind;return t===208||t===207}return!1}function BN(e){const t=e.kind;return t===210||t===211}function EF(e){const t=e.kind;return t===209||t===233}function B2(e){switch(e.kind){case 261:case 170:case 209:return!0}return!1}function Tte(e){return bi(e)||no(e)||V2(e)||j2(e)}function G2(e){return oG(e)||aG(e)}function oG(e){switch(e.kind){case 207:case 211:return!0}return!1}function V2(e){switch(e.kind){case 209:case 304:case 305:case 306:return!0}return!1}function aG(e){switch(e.kind){case 208:case 210:return!0}return!1}function j2(e){switch(e.kind){case 209:case 233:case 231:case 210:case 211:case 80:case 212:case 213:return!0}return id(e,!0)}function Ste(e){const t=e.kind;return t===212||t===167||t===206}function U2(e){const t=e.kind;return t===212||t===167}function sG(e){return gS(e)||Mb(e)}function gS(e){switch(e.kind){case 214:case 215:case 216:case 171:case 287:case 286:case 290:return!0;case 227:return e.operatorToken.kind===104;default:return!1}}function qh(e){return e.kind===214||e.kind===215}function cI(e){const t=e.kind;return t===229||t===15}function Zu(e){return CTe(Bm(e).kind)}function CTe(e){switch(e){case 212:case 213:case 215:case 214:case 285:case 286:case 289:case 216:case 210:case 218:case 211:case 232:case 219:case 80:case 81:case 14:case 9:case 10:case 11:case 15:case 229:case 97:case 106:case 110:case 112:case 108:case 236:case 234:case 237:case 102:case 283:return!0;default:return!1}}function lG(e){return NTe(Bm(e).kind)}function NTe(e){switch(e){case 225:case 226:case 221:case 222:case 223:case 224:case 217:return!0;default:return CTe(e)}}function Ete(e){switch(e.kind){case 226:return!0;case 225:return e.operator===46||e.operator===47;default:return!1}}function Ate(e){switch(e.kind){case 106:case 112:case 97:case 225:return!0;default:return YE(e)}}function Et(e){return rGe(Bm(e).kind)}function rGe(e){switch(e){case 228:case 230:case 220:case 227:case 231:case 235:case 233:case 357:case 356:case 239:return!0;default:return NTe(e)}}function yS(e){const t=e.kind;return t===217||t===235}function yb(e,t){switch(e.kind){case 249:case 250:case 251:case 247:case 248:return!0;case 257:return t&&yb(e.statement,t)}return!1}function iGe(e){return fl(e)||fc(e)}function Ite(e){return bt(e,iGe)}function AF(e){return!ek(e)&&!fl(e)&&!fi(e,32)&&!vu(e)}function H2(e){return ek(e)||fl(e)||fi(e,32)}function ZE(e){return e.kind===250||e.kind===251}function IF(e){return ia(e)||Et(e)}function cG(e){return ia(e)}function Wf(e){return _d(e)||Et(e)}function xte(e){const t=e.kind;return t===269||t===268||t===80}function MTe(e){const t=e.kind;return t===269||t===268}function PTe(e){const t=e.kind;return t===80||t===268}function dG(e){const t=e.kind;return t===276||t===275}function q2(e){return e.kind===268||e.kind===267}function ah(e){switch(e.kind){case 220:case 227:case 209:case 214:case 180:case 264:case 232:case 176:case 177:case 186:case 181:case 213:case 267:case 307:case 278:case 279:case 282:case 263:case 219:case 185:case 178:case 80:case 274:case 272:case 277:case 182:case 265:case 339:case 341:case 318:case 342:case 349:case 324:case 347:case 323:case 292:case 293:case 294:case 201:case 175:case 174:case 268:case 203:case 281:case 271:case 275:case 215:case 15:case 9:case 211:case 170:case 212:case 304:case 173:case 172:case 179:case 305:case 308:case 306:case 11:case 266:case 188:case 169:case 261:return!0;default:return!1}}function k_(e){switch(e.kind){case 220:case 242:case 180:case 270:case 300:case 176:case 195:case 177:case 186:case 181:case 249:case 250:case 251:case 263:case 219:case 185:case 178:case 182:case 339:case 341:case 318:case 324:case 347:case 201:case 175:case 174:case 268:case 179:case 308:case 266:return!0;default:return!1}}function oGe(e){return e===220||e===209||e===264||e===232||e===176||e===177||e===267||e===307||e===282||e===263||e===219||e===178||e===274||e===272||e===277||e===265||e===292||e===175||e===174||e===268||e===271||e===275||e===281||e===170||e===304||e===173||e===172||e===179||e===305||e===266||e===169||e===261||e===347||e===339||e===349||e===203}function Rte(e){return e===263||e===283||e===264||e===265||e===266||e===267||e===268||e===273||e===272||e===279||e===278||e===271}function Dte(e){return e===253||e===252||e===260||e===247||e===245||e===243||e===250||e===251||e===249||e===246||e===257||e===254||e===256||e===258||e===259||e===244||e===248||e===255||e===354}function rd(e){return e.kind===169?e.parent&&e.parent.kind!==346||Er(e):oGe(e.kind)}function Cte(e){return Rte(e.kind)}function J2(e){return Dte(e.kind)}function Gi(e){const t=e.kind;return Dte(t)||Rte(t)||aGe(e)}function aGe(e){return e.kind!==242||e.parent!==void 0&&(e.parent.kind===259||e.parent.kind===300)?!1:!SS(e)}function Nte(e){const t=e.kind;return Dte(t)||Rte(t)||t===242}function Mte(e){const t=e.kind;return t===284||t===167||t===80}function GN(e){const t=e.kind;return t===110||t===80||t===212||t===296}function K2(e){const t=e.kind;return t===285||t===295||t===286||t===12||t===289}function xF(e){const t=e.kind;return t===292||t===294}function Pte(e){const t=e.kind;return t===11||t===295}function ru(e){const t=e.kind;return t===287||t===286}function Lte(e){const t=e.kind;return t===287||t===286||t===290}function RF(e){const t=e.kind;return t===297||t===298}function jR(e){return e.kind>=310&&e.kind<=352}function DF(e){return e.kind===321||e.kind===320||e.kind===322||dI(e)||UR(e)||R1(e)||gv(e)}function UR(e){return e.kind>=328&&e.kind<=352}function Jh(e){return e.kind===179}function hg(e){return e.kind===178}function nf(e){if(!Ak(e))return!1;const{jsDoc:t}=e;return!!t&&t.length>0}function CF(e){return!!e.type}function rv(e){return!!e.initializer}function e1(e){switch(e.kind){case 261:case 170:case 209:case 173:case 304:case 307:return!0;default:return!1}}function uG(e){return e.kind===292||e.kind===294||sy(e)}function NF(e){return e.kind===184||e.kind===234}var LTe=1073741823;function kte(e){let t=LTe;for(const r of e){if(!r.length)continue;let i=0;for(;i<r.length&&i<t&&ug(r.charCodeAt(i));i++);if(i<t&&(t=i),t===0)return 0}return t===LTe?void 0:t}function ds(e){return e.kind===11||e.kind===15}function dI(e){return e.kind===325||e.kind===326||e.kind===327}function pG(e){const t=rl(e.parameters);return!!t&&w_(t)}function w_(e){const t=hf(e)?e.typeExpression&&e.typeExpression.type:e.type;return e.dotDotDotToken!==void 0||!!t&&t.kind===319}function kTe(e,t){return t.text.substring(e.pos,e.end).includes("@internal")}function wte(e,t){t!=null||(t=On(e));const r=Ho(e);if(r&&r.kind===170){const o=r.parent.parameters.indexOf(r),s=o>0?r.parent.parameters[o-1]:void 0,l=t.text,u=s?co(ub(l,wa(l,s.end+1,!1,!0)),pg(l,e.pos)):ub(l,wa(l,e.pos,!1,!0));return bt(u)&&kTe(Ga(u),t)}const i=r&&LG(r,t);return!!Xe(i,o=>kTe(o,t))}var fG=[],vb="tslib",VN=160,mG=1e6,Ote=500;function ul(e,t){const r=e.declarations;if(r){for(const i of r)if(i.kind===t)return i}}function Wte(e,t){return Fn(e.declarations||se,r=>r.kind===t)}function ma(e){const t=new Map;if(e)for(const r of e)t.set(r.escapedName,r);return t}function _g(e){return(e.flags&33554432)!==0}function uI(e){return!!(e.flags&1536)&&e.escapedName.charCodeAt(0)===34}var MF=sGe();function sGe(){var e="";const t=r=>e+=r;return{getText:()=>e,write:t,rawWrite:t,writeKeyword:t,writeOperator:t,writePunctuation:t,writeSpace:t,writeStringLiteral:t,writeLiteral:t,writeParameter:t,writeProperty:t,writeSymbol:(r,i)=>t(r),writeTrailingSemicolon:t,writeComment:t,getTextPos:()=>e.length,getLine:()=>0,getColumn:()=>0,getIndent:()=>0,isAtStartOfLine:()=>!1,hasTrailingComment:()=>!1,hasTrailingWhitespace:()=>!!e.length&&ug(e.charCodeAt(e.length-1)),writeLine:()=>e+=" ",increaseIndent:vs,decreaseIndent:vs,clear:()=>e=""}}function PF(e,t){return e.configFilePath!==t.configFilePath||lGe(e,t)}function lGe(e,t){return pI(e,t,sU)}function Fte(e,t){return pI(e,t,Doe)}function pI(e,t,r){return e!==t&&r.some(i=>!Z6(G6(e,i),G6(t,i)))}function zte(e,t){for(;;){const r=t(e);if(r==="quit")return;if(r!==void 0)return r;if(Qi(e))return;e=e.parent}}function Uc(e,t){const r=e.entries();for(const[i,o]of r){const s=t(o,i);if(s)return s}}function gg(e,t){const r=e.keys();for(const i of r){const o=t(i);if(o)return o}}function LF(e,t){e.forEach((r,i)=>{t.set(i,r)})}function HR(e){const t=MF.getText();try{return e(MF),MF.getText()}finally{MF.clear(),MF.writeKeyword(t)}}function X2(e){return e.end-e.pos}function hG(e,t){return e.path===t.path&&!e.prepend==!t.prepend&&!e.circular==!t.circular}function Bte(e,t){return e===t||e.resolvedModule===t.resolvedModule||!!e.resolvedModule&&!!t.resolvedModule&&e.resolvedModule.isExternalLibraryImport===t.resolvedModule.isExternalLibraryImport&&e.resolvedModule.extension===t.resolvedModule.extension&&e.resolvedModule.resolvedFileName===t.resolvedModule.resolvedFileName&&e.resolvedModule.originalPath===t.resolvedModule.originalPath&&cGe(e.resolvedModule.packageId,t.resolvedModule.packageId)&&e.alternateResult===t.alternateResult}function fI(e){return e.resolvedModule}function kF(e){return e.resolvedTypeReferenceDirective}function wF(e,t,r,i,o){var s;const l=(s=t.getResolvedModule(e,r,i))==null?void 0:s.alternateResult,u=l&&(iu(t.getCompilerOptions())===2?[f.There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setting_Consider_updating_to_node16_nodenext_or_bundler,[l]]:[f.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,[l,l.includes(Mg+"@types/")?"@types/".concat(jD(o)):o]]),d=u?Ko(void 0,u[0],...u[1]):t.typesPackageExists(o)?Ko(void 0,f.If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1,o,jD(o)):t.packageBundlesTypes(o)?Ko(void 0,f.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,o,r):Ko(void 0,f.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,r,jD(o));return d&&(d.repopulateInfo=()=>({moduleReference:r,mode:i,packageName:o===r?void 0:o})),d}function _G(e){const t=xg(e.fileName),r=e.packageJsonScope,i=t===".ts"?".mts":t===".js"?".mjs":void 0,o=r&&!r.contents.packageJsonContent.type?i?Ko(void 0,f.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1,i,ei(r.packageDirectory,"package.json")):Ko(void 0,f.To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0,ei(r.packageDirectory,"package.json")):i?Ko(void 0,f.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,i):Ko(void 0,f.To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module);return o.repopulateInfo=()=>!0,o}function cGe(e,t){return e===t||!!e&&!!t&&e.name===t.name&&e.subModuleName===t.subModuleName&&e.version===t.version&&e.peerDependencies===t.peerDependencies}function OF({name:e,subModuleName:t}){return t?"".concat(e,"/").concat(t):e}function O0(e){var t;return"".concat(OF(e),"@").concat(e.version).concat((t=e.peerDependencies)!=null?t:"")}function Gte(e,t){return e===t||e.resolvedTypeReferenceDirective===t.resolvedTypeReferenceDirective||!!e.resolvedTypeReferenceDirective&&!!t.resolvedTypeReferenceDirective&&e.resolvedTypeReferenceDirective.resolvedFileName===t.resolvedTypeReferenceDirective.resolvedFileName&&!!e.resolvedTypeReferenceDirective.primary==!!t.resolvedTypeReferenceDirective.primary&&e.resolvedTypeReferenceDirective.originalPath===t.resolvedTypeReferenceDirective.originalPath}function gG(e,t,r,i){C.assert(e.length===t.length);for(let o=0;o<e.length;o++){const s=t[o],l=e[o],u=r(l);if(u?!s||!i(u,s):s)return!0}return!1}function mI(e){return dGe(e),(e.flags&1048576)!==0}function dGe(e){e.flags&2097152||(((e.flags&262144)!==0||Xo(e,mI))&&(e.flags|=1048576),e.flags|=2097152)}function On(e){for(;e&&e.kind!==308;)e=e.parent;return e}function Y2(e){return On(e.valueDeclaration||xG(e))}function jN(e,t){return!!e&&(e.scriptKind===1||e.scriptKind===2)&&!e.checkJsDirective&&t===void 0}function Vte(e){switch(e.kind){case 242:case 270:case 249:case 250:case 251:return!0}return!1}function bb(e,t){return C.assert(e>=0),dg(t)[e]}function wTe(e){const t=On(e),r=fa(t,e.pos);return"".concat(t.fileName,"(").concat(r.line+1,",").concat(r.character+1,")")}function $2(e,t){C.assert(e>=0);const r=dg(t),i=e,o=t.text;if(i+1===r.length)return o.length-1;{const s=r[i];let l=r[i+1]-1;for(C.assert(eu(o.charCodeAt(l)));s<=l&&eu(o.charCodeAt(l));)l--;return l}}function WF(e,t,r){return!(r&&r(t))&&!e.identifiers.has(t)}function Wl(e){return e===void 0?!0:e.pos===e.end&&e.pos>=0&&e.kind!==1}function gm(e){return!Wl(e)}function jte(e,t){return pl(e)?t===e.expression:Zl(e)?t===e.modifiers:Eu(e)?t===e.initializer:ko(e)?t===e.questionToken&&Qu(e):Rc(e)?t===e.modifiers||t===e.questionToken||t===e.exclamationToken||Q2(e.modifiers,t,vl):Ud(e)?t===e.equalsToken||t===e.modifiers||t===e.questionToken||t===e.exclamationToken||Q2(e.modifiers,t,vl):Ll(e)?t===e.exclamationToken:kl(e)?t===e.typeParameters||t===e.type||Q2(e.typeParameters,t,pl):qf(e)?t===e.typeParameters||Q2(e.typeParameters,t,pl):bp(e)?t===e.typeParameters||t===e.type||Q2(e.typeParameters,t,pl):vw(e)?t===e.modifiers||Q2(e.modifiers,t,vl):!1}function Q2(e,t,r){return!e||Lo(t)||!r(t)?!1:Vn(e,t)}function OTe(e,t,r){if(t===void 0||t.length===0)return e;let i=0;for(;i<e.length&&r(e[i]);++i);return e.splice(i,0,...t),e}function WTe(e,t,r){if(t===void 0)return e;let i=0;for(;i<e.length&&r(e[i]);++i);return e.splice(i,0,t),e}function FTe(e){return Xh(e)||!!(Za(e)&2097152)}function yg(e,t){return OTe(e,t,Xh)}function yG(e,t){return OTe(e,t,FTe)}function zTe(e,t){return WTe(e,t,Xh)}function t1(e,t){return WTe(e,t,FTe)}function vG(e,t,r){if(e.charCodeAt(t+1)===47&&t+2<r&&e.charCodeAt(t+2)===47){const i=e.substring(t,r);return!!(vGe.test(i)||SGe.test(i)||EGe.test(i)||bGe.test(i)||TGe.test(i)||AGe.test(i))}return!1}function FF(e,t){return e.charCodeAt(t+1)===42&&e.charCodeAt(t+2)===33}function Ute(e,t){const r=new Map(t.map(l=>["".concat(fa(e,l.range.end).line),l])),i=new Map;return{getUnusedExpectations:o,markUsed:s};function o(){return Mo(r.entries()).filter(([l,u])=>u.type===0&&!i.get(l)).map(([l,u])=>u)}function s(l){return r.has("".concat(l))?(i.set("".concat(l),!0),!0):!1}}function Tb(e,t,r){if(Wl(e))return e.pos;if(jR(e)||e.kind===12)return wa((t!=null?t:On(e)).text,e.pos,!1,!0);if(r&&nf(e))return Tb(e.jsDoc[0],t);if(e.kind===353){t!=null||(t=On(e));const i=Sc(Bj(e,t));if(i)return Tb(i,t,r)}return wa((t!=null?t:On(e)).text,e.pos,!1,!1,$N(e))}function bG(e,t){const r=!Wl(e)&&Im(e)?pa(e.modifiers,wc):void 0;return r?wa((t||On(e)).text,r.end):Tb(e,t)}function Hte(e,t){const r=!Wl(e)&&Im(e)&&e.modifiers?Ga(e.modifiers):void 0;return r?wa((t||On(e)).text,r.end):Tb(e,t)}function vS(e,t,r=!1){return UN(e.text,t,r)}function uGe(e){return!!Rn(e,nT)}function zF(e){return!!(fc(e)&&e.exportClause&&V_(e.exportClause)&&O_(e.exportClause.name))}function Sb(e){return e.kind===11?e.text:Bi(e.escapedText)}function bS(e){return e.kind===11?Pl(e.text):e.escapedText}function O_(e){return(e.kind===11?e.text:e.escapedText)==="default"}function UN(e,t,r=!1){if(Wl(t))return"";let i=e.substring(r?t.pos:wa(e,t.pos),t.end);return uGe(t)&&(i=i.split(/\r\n|\n|\r/).map(o=>o.replace(/^\s*\*/,"").trimStart()).join("\n")),i}function Rl(e,t=!1){return vS(On(e),e,t)}function pGe(e){return e.pos}function qR(e,t){return rb(e,t,pGe,Js)}function Za(e){const t=e.emitNode;return t&&t.flags||0}function Gm(e){const t=e.emitNode;return t&&t.internalFlags||0}var TG=Lu(()=>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","toReversed","toSorted","toSpliced","with"]})),Iterator:new Map(Object.entries({es2015:se})),AsyncIterator:new Map(Object.entries({es2015:se})),ArrayBuffer:new Map(Object.entries({es2024:["maxByteLength","resizable","resize","detached","transfer","transferToFixedLength"]})),Atomics:new Map(Object.entries({es2017:["add","and","compareExchange","exchange","isLockFree","load","or","store","sub","wait","notify","xor"],es2024:["waitAsync"],esnext:["pause"]})),SharedArrayBuffer:new Map(Object.entries({es2017:["byteLength","slice"],es2024:["growable","maxByteLength","grow"]})),AsyncIterable:new Map(Object.entries({es2018:se})),AsyncIterableIterator:new Map(Object.entries({es2018:se})),AsyncGenerator:new Map(Object.entries({es2018:se})),AsyncGeneratorFunction:new Map(Object.entries({es2018:se})),RegExp:new Map(Object.entries({es2015:["flags","sticky","unicode"],es2018:["dotAll"],es2024:["unicodeSets"]})),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"],esnext:["fromAsync"]})),ObjectConstructor:new Map(Object.entries({es2015:["assign","getOwnPropertySymbols","keys","is","setPrototypeOf"],es2017:["values","entries","getOwnPropertyDescriptors"],es2019:["fromEntries"],es2022:["hasOwn"],es2024:["groupBy"]})),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"],esnext:["f16round"]})),Map:new Map(Object.entries({es2015:["entries","keys","values"]})),MapConstructor:new Map(Object.entries({es2024:["groupBy"]})),Set:new Map(Object.entries({es2015:["entries","keys","values"],esnext:["union","intersection","difference","symmetricDifference","isSubsetOf","isSupersetOf","isDisjointFrom"]})),PromiseConstructor:new Map(Object.entries({es2015:["all","race","reject","resolve"],es2020:["allSettled"],es2021:["any"],es2024:["withResolvers"]})),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"],es2024:["isWellFormed","toWellFormed"]})),StringConstructor:new Map(Object.entries({es2015:["fromCodePoint","raw"]})),DateTimeFormat:new Map(Object.entries({es2017:["formatToParts"]})),Promise:new Map(Object.entries({es2015:se,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"],esnext:["metadata","dispose","asyncDispose"]})),DataView:new Map(Object.entries({es2020:["setBigInt64","setBigUint64","getBigInt64","getBigUint64"],esnext:["setFloat16","getFloat16"]})),BigInt:new Map(Object.entries({es2020:se})),RelativeTimeFormat:new Map(Object.entries({es2020:["format","formatToParts","resolvedOptions"]})),Int8Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Uint8Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Uint8ClampedArray:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Int16Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Uint16Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Int32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Uint32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Float16Array:new Map(Object.entries({esnext:se})),Float32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Float64Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),BigInt64Array:new Map(Object.entries({es2020:se,es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),BigUint64Array:new Map(Object.entries({es2020:se,es2022:["at"],es2023:["findLastIndex","findLast","toReversed","toSorted","toSpliced","with"]})),Error:new Map(Object.entries({es2022:["cause"]}))}))),qte=(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))(qte||{});function Jte(e,t,r){var i;if(t&&fGe(e,r))return vS(t,e);switch(e.kind){case 11:{const o=r&2?sV:r&1||Za(e)&16777216?B_:_6;return e.singleQuote?"'"+o(e.text,39)+"'":'"'+o(e.text,34)+'"'}case 15:case 16:case 17:case 18:{const o=r&1||Za(e)&16777216?B_:_6,s=(i=e.rawText)!=null?i:oV(o(e.text,96));switch(e.kind){case 15:return"`"+s+"`";case 16:return"`"+s+"${";case 17:return"}"+s+"${";case 18:return"}"+s+"`"}break}case 9:case 10:return e.text;case 14:return r&4&&e.isUnterminated?e.text+(e.text.charCodeAt(e.text.length-1)===92?" /":"/"):e.text}return C.fail("Literal kind '".concat(e.kind,"' not accounted for."))}function fGe(e,t){if(zs(e)||!e.parent||t&4&&e.isUnterminated)return!1;if(ip(e)){if(e.numericLiteralFlags&26656)return!1;if(e.numericLiteralFlags&512)return!!(t&8)}return!bD(e)}function Kte(e){return jo(e)?'"'.concat(B_(e),'"'):""+e}function Xte(e){return Ec(e).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}function SG(e){return(ay(e)&7)!==0||EG(e)}function EG(e){const t=Qh(e);return t.kind===261&&t.parent.kind===300}function vu(e){return pc(e)&&(e.name.kind===11||W_(e))}function BF(e){return pc(e)&&e.name.kind===11}function AG(e){return pc(e)&&Oa(e.name)}function mGe(e){return pc(e)||Je(e)}function Z2(e){return hGe(e.valueDeclaration)}function hGe(e){return!!e&&e.kind===268&&!e.body}function Yte(e){return e.kind===308||e.kind===268||VR(e)}function W_(e){return!!(e.flags&2048)}function TS(e){return vu(e)&&IG(e)}function IG(e){switch(e.parent.kind){case 308:return Wc(e.parent);case 269:return vu(e.parent.parent)&&Qi(e.parent.parent.parent)&&!Wc(e.parent.parent.parent)}return!1}function xG(e){var t;return(t=e.declarations)==null?void 0:t.find(r=>!TS(r)&&!(pc(r)&&W_(r)))}function _Ge(e){return e===1||100<=e&&e<=199}function JR(e,t){return Wc(e)||_Ge(Tu(t))&&!!e.commonJsModuleIndicator}function RG(e,t){switch(e.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return e.isDeclarationFile?!1:!!(Vd(t,"alwaysStrict")||roe(e.statements)||Wc(e)||Sm(t))}function DG(e){return!!(e.flags&33554432)||fi(e,128)}function CG(e,t){switch(e.kind){case 308:case 270:case 300:case 268:case 249:case 250:case 251:case 177:case 175:case 178:case 179:case 263:case 219:case 220:case 173:case 176:return!0;case 242:return!VR(t)}return!1}function NG(e){switch(C.type(e),e.kind){case 339:case 347:case 324:return!0;default:return MG(e)}}function MG(e){switch(C.type(e),e.kind){case 180:case 181:case 174:case 182:case 185:case 186:case 318:case 264:case 232:case 265:case 266:case 346:case 263:case 175:case 177:case 178:case 179:case 219:case 220:return!0;default:return!1}}function hI(e){switch(e.kind){case 273:case 272:return!0;default:return!1}}function $te(e){return hI(e)||ES(e)}function Qte(e){return hI(e)||mk(e)}function GF(e){switch(e.kind){case 273:case 272:case 244:case 264:case 263:case 268:case 266:case 265:case 267:return!0;default:return!1}}function Zte(e){return ek(e)||pc(e)||o_(e)||ep(e)}function ek(e){return hI(e)||fc(e)}function VF(e){return Rn(e.parent,t=>!!(wU(t)&1))}function sh(e){return Rn(e.parent,t=>CG(t,t.parent))}function ene(e,t){let r=sh(e);for(;r;)t(r),r=sh(r)}function Fs(e){return!e||X2(e)===0?"(Missing)":Rl(e)}function tne(e){return e.declaration?Fs(e.declaration.parameters[0].name):void 0}function tk(e){return e.kind===168&&!pf(e.expression)}function HN(e){var t;switch(e.kind){case 80:case 81:return(t=e.emitNode)!=null&&t.autoGenerate?void 0:e.escapedText;case 11:case 9:case 10:case 15:return Pl(e.text);case 168:return pf(e.expression)?Pl(e.expression.text):void 0;case 296:return WI(e);default:return C.assertNever(e)}}function _I(e){return C.checkDefined(HN(e))}function kp(e){switch(e.kind){case 110:return"this";case 81:case 80:return X2(e)===0?Yr(e):Rl(e);case 167:return kp(e.left)+"."+kp(e.right);case 212:return Je(e.name)||to(e.name)?kp(e.expression)+"."+kp(e.name):C.assertNever(e.name);case 312:return kp(e.left)+"#"+kp(e.right);case 296:return kp(e.namespace)+":"+kp(e.name);default:return C.assertNever(e)}}function Sr(e,t,...r){const i=On(e);return Ff(i,e,t,...r)}function KR(e,t,r,...i){const o=wa(e.text,t.pos);return kc(e,o,t.end-o,r,...i)}function Ff(e,t,r,...i){const o=n1(e,t);return kc(e,o.start,o.length,r,...i)}function vg(e,t,r,i){const o=n1(e,t);return jF(e,o.start,o.length,r,i)}function nk(e,t,r,i){const o=wa(e.text,t.pos);return jF(e,o,t.end-o,r,i)}function nne(e,t,r){C.assertGreaterThanOrEqual(t,0),C.assertGreaterThanOrEqual(r,0),C.assertLessThanOrEqual(t,e.length),C.assertLessThanOrEqual(t+r,e.length)}function jF(e,t,r,i,o){return nne(e.text,t,r),{file:e,start:t,length:r,code:i.code,category:i.category,messageText:i.next?i:i.messageText,relatedInformation:o,canonicalHead:i.canonicalHead}}function PG(e,t,r){return{file:e,start:0,length:0,code:t.code,category:t.category,messageText:t.next?t:t.messageText,relatedInformation:r}}function rne(e){return typeof e.messageText=="string"?{code:e.code,category:e.category,messageText:e.messageText,next:e.next}:e.messageText}function ine(e,t,r){return{file:e,start:t.pos,length:t.end-t.pos,code:r.code,category:r.category,messageText:r.message}}function one(e,...t){return{code:e.code,messageText:PI(e,...t)}}function Kh(e,t){const r=fg(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);r.scan();const i=r.getTokenStart();return oc(i,r.getTokenEnd())}function ane(e,t){const r=fg(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);return r.scan(),r.getToken()}function gGe(e,t){const r=wa(e.text,t.pos);if(t.body&&t.body.kind===242){const{line:i}=fa(e,t.body.pos),{line:o}=fa(e,t.body.end);if(i<o)return Ad(r,$2(i,e)-r+1)}return oc(r,t.end)}function n1(e,t){let r=t;switch(t.kind){case 308:{const s=wa(e.text,0,!1);return s===e.text.length?Ad(0,0):Kh(e,s)}case 261:case 209:case 264:case 232:case 265:case 268:case 267:case 307:case 263:case 219:case 175:case 178:case 179:case 266:case 173:case 172:case 275:r=t.name;break;case 220:return gGe(e,t);case 297:case 298:{const s=wa(e.text,t.pos),l=t.statements.length>0?t.statements[0].pos:t.end;return oc(s,l)}case 254:case 230:{const s=wa(e.text,t.pos);return Kh(e,s)}case 239:{const s=wa(e.text,t.expression.end);return Kh(e,s)}case 351:{const s=wa(e.text,t.tagName.pos);return Kh(e,s)}case 177:{const s=t,l=wa(e.text,s.pos),u=fg(e.languageVersion,!0,e.languageVariant,e.text,void 0,l);let d=u.scan();for(;d!==137&&d!==1;)d=u.scan();const _=u.getTokenEnd();return oc(l,_)}}if(r===void 0)return Kh(e,t.pos);C.assert(!mh(r));const i=Wl(r),o=i||GI(t)?r.pos:wa(e.text,r.pos);return i?(C.assert(o===r.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),C.assert(o===r.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(C.assert(o>=r.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),C.assert(o<=r.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),oc(o,r.end)}function iv(e){return e.kind===308&&!wp(e)}function wp(e){return(e.externalModuleIndicator||e.commonJsModuleIndicator)!==void 0}function zf(e){return e.scriptKind===6}function W0(e){return!!(L0(e)&4096)}function rk(e){return!!(L0(e)&8&&!Lp(e,e.parent))}function ik(e){return(ay(e)&7)===6}function ok(e){return(ay(e)&7)===4}function XR(e){return(ay(e)&7)===2}function sne(e){const t=ay(e)&7;return t===2||t===4||t===6}function UF(e){return(ay(e)&7)===1}function r1(e){return e.kind===214&&e.expression.kind===108}function ep(e){if(e.kind!==214)return!1;const t=e.expression;return t.kind===102||E1(t)&&t.keywordToken===102&&t.name.escapedText==="defer"}function YR(e){return E1(e)&&e.keywordToken===102&&e.name.escapedText==="meta"}function ly(e){return o_(e)&&hv(e.argument)&&Oa(e.argument.literal)}function Xh(e){return e.kind===245&&e.expression.kind===11}function ak(e){return!!(Za(e)&2097152)}function HF(e){return ak(e)&&ec(e)}function yGe(e){return Je(e.name)&&!e.initializer}function qF(e){return ak(e)&&sc(e)&&Gn(e.declarationList.declarations,yGe)}function LG(e,t){return e.kind!==12?pg(t.text,e.pos):void 0}function kG(e,t){const r=e.kind===170||e.kind===169||e.kind===219||e.kind===220||e.kind===218||e.kind===261||e.kind===282?co(ub(t,e.pos),pg(t,e.pos)):pg(t,e.pos);return Fn(r,i=>i.end<=e.end&&t.charCodeAt(i.pos+1)===42&&t.charCodeAt(i.pos+2)===42&&t.charCodeAt(i.pos+3)!==47)}var vGe=/^\/\/\/\s*<reference\s+path\s*=\s*(?:'[^']*'|"[^"]*").*?\/>/,bGe=/^\/\/\/\s*<reference\s+types\s*=\s*(?:'[^']*'|"[^"]*").*?\/>/,TGe=/^\/\/\/\s*<reference\s+lib\s*=\s*(?:'[^']*'|"[^"]*").*?\/>/,SGe=/^\/\/\/\s*<amd-dependency\s+path\s*=\s*(?:'[^']*'|"[^"]*").*?\/>/,EGe=/^\/\/\/\s*<amd-module\s+(?:\S.*?)??\/>/,AGe=/^\/\/\/\s*<reference\s+no-default-lib\s*=\s*(?:'[^']*'|"[^"]*")\s*\/>/;function Yh(e){if(183<=e.kind&&e.kind<=206)return!0;switch(e.kind){case 133:case 159:case 150:case 163:case 154:case 136:case 155:case 151:case 157:case 106:case 146:return!0;case 116:return e.parent.kind!==223;case 234:return BTe(e);case 169:return e.parent.kind===201||e.parent.kind===196;case 80:(e.parent.kind===167&&e.parent.right===e||e.parent.kind===212&&e.parent.name===e)&&(e=e.parent),C.assert(e.kind===80||e.kind===167||e.kind===212,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 167:case 212:case 110:{const{parent:t}=e;if(t.kind===187)return!1;if(t.kind===206)return!t.isTypeOf;if(183<=t.kind&&t.kind<=206)return!0;switch(t.kind){case 234:return BTe(t);case 169:return e===t.constraint;case 346:return e===t.constraint;case 173:case 172:case 170:case 261:return e===t.type;case 263:case 219:case 220:case 177:case 175:case 174:case 178:case 179:return e===t.type;case 180:case 181:case 182:return e===t.type;case 217:return e===t.type;case 214:case 215:case 216:return Vn(t.typeArguments,e)}}}return!1}function BTe(e){return N4(e.parent)||ZI(e.parent)||Gp(e.parent)&&!R6(e)}function Eb(e,t){return r(e);function r(i){switch(i.kind){case 254:return t(i);case 270:case 242:case 246:case 247:case 248:case 249:case 250:case 251:case 255:case 256:case 297:case 298:case 257:case 259:case 300:return Xo(i,r)}}}function lne(e,t){return r(e);function r(i){switch(i.kind){case 230:t(i);const o=i.expression;o&&r(o);return;case 267:case 265:case 268:case 266:return;default:if(Yo(i)){if(i.name&&i.name.kind===168){r(i.name.expression);return}}else Yh(i)||Xo(i,r)}}}function wG(e){return e&&e.kind===189?e.elementType:e&&e.kind===184?cg(e.typeArguments):void 0}function cne(e){switch(e.kind){case 265:case 264:case 232:case 188:return e.members;case 211:return e.properties}}function qN(e){if(e)switch(e.kind){case 209:case 307:case 170:case 304:case 173:case 172:case 305:case 261:return!0}return!1}function JN(e){return e.parent.kind===262&&e.parent.parent.kind===244}function dne(e){return Er(e)?za(e.parent)&&Nr(e.parent.parent)&&ac(e.parent.parent)===2||JF(e.parent):!1}function JF(e){return Er(e)?Nr(e)&&ac(e)===1:!1}function une(e){return(bi(e)?XR(e)&&Je(e.name)&&JN(e):ko(e)?p1(e)&&Lc(e):Eu(e)&&p1(e))||JF(e)}function pne(e){switch(e.kind){case 175:case 174:case 177:case 178:case 179:case 263:case 219:return!0}return!1}function OG(e,t){for(;;){if(t&&t(e),e.statement.kind!==257)return e.statement;e=e.statement}}function SS(e){return e&&e.kind===242&&Yo(e.parent)}function ym(e){return e&&e.kind===175&&e.parent.kind===211}function KF(e){return(e.kind===175||e.kind===178||e.kind===179)&&(e.parent.kind===211||e.parent.kind===232)}function fne(e){return e&&e.kind===1}function mne(e){return e&&e.kind===0}function $R(e,t,r,i){return Xe(e==null?void 0:e.properties,o=>{if(!Rc(o))return;const s=HN(o.name);return t===s||i&&i===s?r(o):void 0})}function KN(e){if(e&&e.statements.length){const t=e.statements[0].expression;return ii(t,za)}}function XF(e,t,r){return sk(e,t,i=>Dd(i.initializer)?_n(i.initializer.elements,o=>Oa(o)&&o.text===r):void 0)}function sk(e,t,r){return $R(KN(e),t,r)}function uf(e){return Rn(e.parent,Yo)}function hne(e){return Rn(e.parent,ks)}function hd(e){return Rn(e.parent,hi)}function _ne(e){return Rn(e.parent,t=>hi(t)||Yo(t)?"quit":Zl(t))}function YF(e){return Rn(e.parent,VR)}function $F(e){const t=Rn(e.parent,r=>hi(r)?"quit":wc(r));return t&&hi(t.parent)?hd(t.parent):hd(t!=null?t:e)}function bu(e,t,r){for(C.assert(e.kind!==308);;){if(e=e.parent,!e)return C.fail();switch(e.kind){case 168:if(r&&hi(e.parent.parent))return e;e=e.parent.parent;break;case 171:e.parent.kind===170&&vc(e.parent.parent)?e=e.parent.parent:vc(e.parent)&&(e=e.parent);break;case 220:if(!t)continue;case 263:case 219:case 268:case 176:case 173:case 172:case 175:case 174:case 177:case 178:case 179:case 180:case 181:case 182:case 267:case 308:return e}}}function gne(e){switch(e.kind){case 220:case 263:case 219:case 173:return!0;case 242:switch(e.parent.kind){case 177:case 175:case 178:case 179:return!0;default:return!1}default:return!1}}function QF(e){Je(e)&&(xc(e.parent)||ec(e.parent))&&e.parent.name===e&&(e=e.parent);const t=bu(e,!0,!1);return Qi(t)}function yne(e){const t=bu(e,!1,!1);if(t)switch(t.kind){case 177:case 263:case 219:return t}}function lk(e,t){for(;;){if(e=e.parent,!e)return;switch(e.kind){case 168:e=e.parent;break;case 263:case 219:case 220:if(!t)continue;case 173:case 172:case 175:case 174:case 177:case 178:case 179:case 176:return e;case 171:e.parent.kind===170&&vc(e.parent.parent)?e=e.parent.parent:vc(e.parent)&&(e=e.parent);break}}}function F0(e){if(e.kind===219||e.kind===220){let t=e,r=e.parent;for(;r.kind===218;)t=r,r=r.parent;if(r.kind===214&&r.expression===t)return r}}function gp(e){const t=e.kind;return(t===212||t===213)&&e.expression.kind===108}function ck(e){const t=e.kind;return(t===212||t===213)&&e.expression.kind===110}function ZF(e){var t;return!!e&&bi(e)&&((t=e.initializer)==null?void 0:t.kind)===110}function vne(e){return!!e&&(Ud(e)||Rc(e))&&Nr(e.parent.parent)&&e.parent.parent.operatorToken.kind===64&&e.parent.parent.right.kind===110}function dk(e){switch(e.kind){case 184:return e.typeName;case 234:return Ps(e.expression)?e.expression:void 0;case 80:case 167:return e}}function e6(e){switch(e.kind){case 216:return e.tag;case 287:case 286:return e.tagName;case 227:return e.right;case 290:return e;default:return e.expression}}function uk(e,t,r,i){if(e&&nd(t)&&to(t.name))return!1;switch(t.kind){case 264:return!0;case 232:return!e;case 173:return r!==void 0&&(e?xc(r):hi(r)&&!PS(t)&&!gV(t));case 178:case 179:case 175:return t.body!==void 0&&r!==void 0&&(e?xc(r):hi(r));case 170:return e?r!==void 0&&r.body!==void 0&&(r.kind===177||r.kind===175||r.kind===179)&&CS(r)!==t&&i!==void 0&&i.kind===264:!1}return!1}function QR(e,t,r,i){return ff(t)&&uk(e,t,r,i)}function pk(e,t,r,i){return QR(e,t,r,i)||XN(e,t,r)}function XN(e,t,r){switch(t.kind){case 264:return bt(t.members,i=>pk(e,i,t,r));case 232:return!e&&bt(t.members,i=>pk(e,i,t,r));case 175:case 179:case 177:return bt(t.parameters,i=>QR(e,i,t,r));default:return!1}}function ov(e,t){if(QR(e,t))return!0;const r=Sg(t);return!!r&&XN(e,r,t)}function WG(e,t,r){let i;if(gb(t)){const{firstAccessor:o,secondAccessor:s,setAccessor:l}=MS(r.members,t),u=ff(o)?o:s&&ff(s)?s:void 0;if(!u||t!==u)return!1;i=l==null?void 0:l.parameters}else Ll(t)&&(i=t.parameters);if(QR(e,t,r))return!0;if(i){for(const o of i)if(!xb(o)&&QR(e,o,t,r))return!0}return!1}function FG(e){if(e.textSourceNode){switch(e.textSourceNode.kind){case 11:return FG(e.textSourceNode);case 15:return e.text===""}return!1}return e.text===""}function ZR(e){const{parent:t}=e;return t.kind===287||t.kind===286||t.kind===288?t.tagName===e:!1}function F_(e){switch(e.kind){case 108:case 106:case 112:case 97:case 14:case 210:case 211:case 212:case 213:case 214:case 215:case 216:case 235:case 217:case 239:case 236:case 218:case 219:case 232:case 220:case 223:case 221:case 222:case 225:case 226:case 227:case 228:case 231:case 229:case 233:case 285:case 286:case 289:case 230:case 224:return!0;case 237:return!ep(e.parent)||e.parent.expression!==e;case 234:return!Gp(e.parent)&&!ZI(e.parent);case 167:for(;e.parent.kind===167;)e=e.parent;return e.parent.kind===187||dI(e.parent)||KM(e.parent)||rT(e.parent)||ZR(e);case 312:for(;rT(e.parent);)e=e.parent;return e.parent.kind===187||dI(e.parent)||KM(e.parent)||rT(e.parent)||ZR(e);case 81:return Nr(e.parent)&&e.parent.left===e&&e.parent.operatorToken.kind===103;case 80:if(e.parent.kind===187||dI(e.parent)||KM(e.parent)||rT(e.parent)||ZR(e))return!0;case 9:case 10:case 11:case 15:case 110:return t6(e);default:return!1}}function t6(e){const{parent:t}=e;switch(t.kind){case 261:case 170:case 173:case 172:case 307:case 304:case 209:return t.initializer===e;case 245:case 246:case 247:case 248:case 254:case 255:case 256:case 297:case 258:return t.expression===e;case 249:const r=t;return r.initializer===e&&r.initializer.kind!==262||r.condition===e||r.incrementor===e;case 250:case 251:const i=t;return i.initializer===e&&i.initializer.kind!==262||i.expression===e;case 217:case 235:return e===t.expression;case 240:return e===t.expression;case 168:return e===t.expression;case 171:case 295:case 294:case 306:return!0;case 234:return t.expression===e&&!Yh(t);case 305:return t.objectAssignmentInitializer===e;case 239:return e===t.expression;default:return F_(t)}}function n6(e){for(;e.kind===167||e.kind===80;)e=e.parent;return e.kind===187}function bne(e){return V_(e)&&!!e.parent.moduleSpecifier}function z0(e){return e.kind===272&&e.moduleReference.kind===284}function YN(e){return C.assert(z0(e)),e.moduleReference.expression}function zG(e){return ES(e)&&pD(e.initializer).arguments[0]}function i1(e){return e.kind===272&&e.moduleReference.kind!==284}function bg(e){return(e==null?void 0:e.kind)===308}function wu(e){return Er(e)}function Er(e){return!!e&&!!(e.flags&524288)}function r6(e){return!!e&&!!(e.flags&134217728)}function i6(e){return!zf(e)}function $N(e){return!!e&&!!(e.flags&16777216)}function o6(e){return Bp(e)&&Je(e.typeName)&&e.typeName.escapedText==="Object"&&e.typeArguments&&e.typeArguments.length===2&&(e.typeArguments[0].kind===154||e.typeArguments[0].kind===150)}function tp(e,t){if(e.kind!==214)return!1;const{expression:r,arguments:i}=e;if(r.kind!==80||r.escapedText!=="require"||i.length!==1)return!1;const o=i[0];return!t||ds(o)}function fk(e){return GTe(e,!1)}function ES(e){return GTe(e,!0)}function Tne(e){return qa(e)&&ES(e.parent.parent)}function GTe(e,t){return bi(e)&&!!e.initializer&&tp(t?pD(e.initializer):e.initializer,!0)}function mk(e){return sc(e)&&e.declarationList.declarations.length>0&&Gn(e.declarationList.declarations,t=>fk(t))}function hk(e){return e===39||e===34}function a6(e,t){return vS(t,e).charCodeAt(0)===34}function QN(e){return Nr(e)||Qs(e)||Je(e)||ra(e)}function _k(e){return Er(e)&&e.initializer&&Nr(e.initializer)&&(e.initializer.operatorToken.kind===57||e.initializer.operatorToken.kind===61)&&e.name&&Ps(e.name)&&eD(e.name,e.initializer.left)?e.initializer.right:e.initializer}function ZN(e){const t=_k(e);return t&&B0(t,Db(e.name))}function IGe(e,t){return Xe(e.properties,r=>Rc(r)&&Je(r.name)&&r.name.escapedText==="value"&&r.initializer&&B0(r.initializer,t))}function gI(e){if(e&&e.parent&&Nr(e.parent)&&e.parent.operatorToken.kind===64){const t=Db(e.parent.left);return B0(e.parent.right,t)||xGe(e.parent.left,e.parent.right,t)}if(e&&ra(e)&&a1(e)){const t=IGe(e.arguments[2],e.arguments[1].text==="prototype");if(t)return t}}function B0(e,t){if(ra(e)){const r=us(e.expression);return r.kind===219||r.kind===220?e:void 0}if(e.kind===219||e.kind===232||e.kind===220||za(e)&&(e.properties.length===0||t))return e}function xGe(e,t,r){const i=Nr(t)&&(t.operatorToken.kind===57||t.operatorToken.kind===61)&&B0(t.right,r);if(i&&eD(e,t.left))return i}function Sne(e){const t=bi(e.parent)?e.parent.name:Nr(e.parent)&&e.parent.operatorToken.kind===64?e.parent.left:void 0;return t&&B0(e.right,Db(t))&&Ps(t)&&eD(t,e.left)}function BG(e){if(Nr(e.parent)){const t=(e.parent.operatorToken.kind===57||e.parent.operatorToken.kind===61)&&Nr(e.parent.parent)?e.parent.parent:e.parent;if(t.operatorToken.kind===64&&Je(t.left))return t.left}else if(bi(e.parent))return e.parent.name}function eD(e,t){return $h(e)&&$h(t)?Bf(e)===Bf(t):mg(e)&&Ene(t)&&(t.expression.kind===110||Je(t.expression)&&(t.expression.escapedText==="window"||t.expression.escapedText==="self"||t.expression.escapedText==="global"))?eD(e,yk(t)):Ene(e)&&Ene(t)?cy(e)===cy(t)&&eD(e.expression,t.expression):!1}function gk(e){for(;id(e,!0);)e=e.right;return e}function o1(e){return Je(e)&&e.escapedText==="exports"}function GG(e){return Je(e)&&e.escapedText==="module"}function Tg(e){return(Jr(e)||VG(e))&&GG(e.expression)&&cy(e)==="exports"}function ac(e){const t=RGe(e);return t===5||Er(e)?t:0}function a1(e){return et(e.arguments)===3&&Jr(e.expression)&&Je(e.expression.expression)&&Yr(e.expression.expression)==="Object"&&Yr(e.expression.name)==="defineProperty"&&pf(e.arguments[1])&&s1(e.arguments[0],!0)}function Ene(e){return Jr(e)||VG(e)}function VG(e){return Bs(e)&&pf(e.argumentExpression)}function AS(e,t){return Jr(e)&&(!t&&e.expression.kind===110||Je(e.name)&&s1(e.expression,!0))||s6(e,t)}function s6(e,t){return VG(e)&&(!t&&e.expression.kind===110||Ps(e.expression)||AS(e.expression,!0))}function s1(e,t){return Ps(e)||AS(e,t)}function yk(e){return Jr(e)?e.name:e.argumentExpression}function RGe(e){if(ra(e)){if(!a1(e))return 0;const t=e.arguments[0];return o1(t)||Tg(t)?8:AS(t)&&cy(t)==="prototype"?9:7}return e.operatorToken.kind!==64||!Qs(e.left)||DGe(gk(e))?0:s1(e.left.expression,!0)&&cy(e.left)==="prototype"&&za(jG(e))?6:vk(e.left)}function DGe(e){return XI(e)&&ip(e.expression)&&e.expression.text==="0"}function l6(e){if(Jr(e))return e.name;const t=us(e.argumentExpression);return ip(t)||ds(t)?t:e}function cy(e){const t=l6(e);if(t){if(Je(t))return t.escapedText;if(ds(t)||ip(t))return Pl(t.text)}}function vk(e){if(e.expression.kind===110)return 4;if(Tg(e))return 2;if(s1(e.expression,!0)){if(Db(e.expression))return 3;let t=e;for(;!Je(t.expression);)t=t.expression;const r=t.expression;if((r.escapedText==="exports"||r.escapedText==="module"&&cy(t)==="exports")&&AS(e))return 1;if(s1(e,!0)||Bs(e)&&m6(e))return 5}return 0}function jG(e){for(;Nr(e.right);)e=e.right;return e.right}function bk(e){return Nr(e)&&ac(e)===3}function Ane(e){return Er(e)&&e.parent&&e.parent.kind===245&&(!Bs(e)||VG(e))&&!!k0(e.parent)}function eM(e,t){const{valueDeclaration:r}=e;(!r||!(t.flags&33554432&&!Er(t)&&!(r.flags&33554432))&&QN(r)&&!QN(t)||r.kind!==t.kind&&mGe(r))&&(e.valueDeclaration=t)}function Ine(e){if(!e||!e.valueDeclaration)return!1;const t=e.valueDeclaration;return t.kind===263||bi(t)&&t.initializer&&Yo(t.initializer)}function xne(e){switch(e==null?void 0:e.kind){case 261:case 209:case 273:case 279:case 272:case 274:case 281:case 275:case 282:case 277:case 206:return!0}return!1}function yI(e){var t,r;switch(e.kind){case 261:case 209:return(t=Rn(e.initializer,i=>tp(i,!0)))==null?void 0:t.arguments[0];case 273:case 279:case 352:return ii(e.moduleSpecifier,ds);case 272:return ii((r=ii(e.moduleReference,_y))==null?void 0:r.expression,ds);case 274:case 281:return ii(e.parent.moduleSpecifier,ds);case 275:case 282:return ii(e.parent.parent.moduleSpecifier,ds);case 277:return ii(e.parent.parent.parent.moduleSpecifier,ds);case 206:return ly(e)?e.argument.literal:void 0;default:C.assertNever(e)}}function tM(e){return Tk(e)||C.failBadSyntaxKind(e.parent)}function Tk(e){switch(e.parent.kind){case 273:case 279:case 352:return e.parent;case 284:return e.parent.parent;case 214:return ep(e.parent)||tp(e.parent,!1)?e.parent:void 0;case 202:if(!Oa(e))break;return ii(e.parent.parent,o_);default:return}}function Sk(e,t){return!!t.rewriteRelativeImportExtensions&&tf(e)&&!ad(e)&&m1(e)}function vI(e){switch(e.kind){case 273:case 279:case 352:return e.moduleSpecifier;case 272:return e.moduleReference.kind===284?e.moduleReference.expression:void 0;case 206:return ly(e)?e.argument.literal:void 0;case 214:return e.arguments[0];case 268:return e.name.kind===11?e.name:void 0;default:return C.assertNever(e)}}function tD(e){switch(e.kind){case 273:return e.importClause&&ii(e.importClause.namedBindings,Cg);case 272:return e;case 279:return e.exportClause&&ii(e.exportClause,V_);default:return C.assertNever(e)}}function l1(e){return(e.kind===273||e.kind===352)&&!!e.importClause&&!!e.importClause.name}function Rne(e,t){if(e.name){const r=t(e);if(r)return r}if(e.namedBindings){const r=Cg(e.namedBindings)?t(e.namedBindings):Xe(e.namedBindings.elements,t);if(r)return r}}function bI(e){switch(e.kind){case 170:case 175:case 174:case 305:case 304:case 173:case 172:return e.questionToken!==void 0}return!1}function TI(e){const t=ND(e)?Sc(e.parameters):void 0,r=ii(t&&t.name,Je);return!!r&&r.escapedText==="new"}function vm(e){return e.kind===347||e.kind===339||e.kind===341}function Ek(e){return vm(e)||Em(e)}function CGe(e){return od(e)&&Nr(e.expression)&&e.expression.operatorToken.kind===64?gk(e.expression):void 0}function VTe(e){return od(e)&&Nr(e.expression)&&ac(e.expression)!==0&&Nr(e.expression.right)&&(e.expression.right.operatorToken.kind===57||e.expression.right.operatorToken.kind===61)?e.expression.right.right:void 0}function jTe(e){switch(e.kind){case 244:const t=SI(e);return t&&t.initializer;case 173:return e.initializer;case 304:return e.initializer}}function SI(e){return sc(e)?Sc(e.declarationList.declarations):void 0}function UTe(e){return pc(e)&&e.body&&e.body.kind===268?e.body:void 0}function nD(e){if(e.kind>=244&&e.kind<=260)return!0;switch(e.kind){case 80:case 110:case 108:case 167:case 237:case 213:case 212:case 209:case 219:case 220:case 175:case 178:case 179:return!0;default:return!1}}function Ak(e){switch(e.kind){case 220:case 227:case 242:case 253:case 180:case 297:case 264:case 232:case 176:case 177:case 186:case 181:case 252:case 260:case 247:case 213:case 243:case 1:case 267:case 307:case 278:case 279:case 282:case 245:case 250:case 251:case 249:case 263:case 219:case 185:case 178:case 80:case 246:case 273:case 272:case 182:case 265:case 318:case 324:case 257:case 175:case 174:case 268:case 203:case 271:case 211:case 170:case 218:case 212:case 304:case 173:case 172:case 254:case 241:case 179:case 305:case 306:case 256:case 258:case 259:case 266:case 169:case 261:case 244:case 248:case 255:return!0;default:return!1}}function UG(e,t){let r;qN(e)&&rv(e)&&nf(e.initializer)&&(r=$r(r,HTe(e,e.initializer.jsDoc)));let i=e;for(;i&&i.parent;){if(nf(i)&&(r=$r(r,HTe(e,i.jsDoc))),i.kind===170){r=$r(r,(t?nte:FR)(i));break}if(i.kind===169){r=$r(r,(t?ite:rte)(i));break}i=HG(i)}return r||se}function HTe(e,t){const r=Ga(t);return Wi(t,i=>{if(i===r){const o=Fn(i.tags,s=>NGe(e,s));return i.tags===o?[i]:o}else return Fn(i.tags,MD)})}function NGe(e,t){return!(XM(t)||M4(t))||!t.parent||!mh(t.parent)||!zu(t.parent.parent)||t.parent.parent===e}function HG(e){const t=e.parent;if(t.kind===304||t.kind===278||t.kind===173||t.kind===245&&e.kind===212||t.kind===254||UTe(t)||id(e))return t;if(t.parent&&(SI(t.parent)===e||id(t)))return t.parent;if(t.parent&&t.parent.parent&&(SI(t.parent.parent)||jTe(t.parent.parent)===e||VTe(t.parent.parent)))return t.parent.parent}function Ik(e){if(e.symbol)return e.symbol;if(!Je(e.name))return;const t=e.name.escapedText,r=G0(e);if(!r)return;const i=_n(r.parameters,o=>o.name.kind===80&&o.name.escapedText===t);return i&&i.symbol}function c6(e){if(mh(e.parent)&&e.parent.tags){const t=_n(e.parent.tags,vm);if(t)return t}return G0(e)}function qG(e){return _F(e,MD)}function G0(e){const t=V0(e);if(t)return Eu(t)&&t.type&&Yo(t.type)?t.type:Yo(t)?t:void 0}function V0(e){const t=IS(e);if(t)return VTe(t)||CGe(t)||jTe(t)||SI(t)||UTe(t)||t}function IS(e){const t=rD(e);if(!t)return;const r=t.parent;if(r&&r.jsDoc&&t===rl(r.jsDoc))return r}function rD(e){return Rn(e.parent,mh)}function Dne(e){const t=e.name.escapedText,{typeParameters:r}=e.parent.parent.parent;return r&&_n(r,i=>i.name.escapedText===t)}function qTe(e){return!!e.typeArguments}var Cne=(e=>(e[e.None=0]="None",e[e.Definite=1]="Definite",e[e.Compound=2]="Compound",e))(Cne||{});function Nne(e){let t=e.parent;for(;;){switch(t.kind){case 227:const r=t,i=r.operatorToken.kind;return py(i)&&r.left===e?r:void 0;case 225:case 226:const o=t,s=o.operator;return s===46||s===47?o:void 0;case 250:case 251:const l=t;return l.initializer===e?l:void 0;case 218:case 210:case 231:case 236:e=t;break;case 306:e=t.parent;break;case 305:if(t.name!==e)return;e=t.parent;break;case 304:if(t.name===e)return;e=t.parent;break;default:return}t=e.parent}}function Ab(e){const t=Nne(e);if(!t)return 0;switch(t.kind){case 227:const r=t.operatorToken.kind;return r===64||fM(r)?1:2;case 225:case 226:return 2;case 250:case 251:return 1}}function Ib(e){return!!Nne(e)}function MGe(e){const t=us(e.right);return t.kind===227&&$j(t.operatorToken.kind)}function JG(e){const t=Nne(e);return!!t&&id(t,!0)&&MGe(t)}function Mne(e){switch(e.kind){case 242:case 244:case 255:case 246:case 256:case 270:case 297:case 298:case 257:case 249:case 250:case 251:case 247:case 248:case 259:case 300:return!0}return!1}function c1(e){return Ks(e)||Zs(e)||lI(e)||ec(e)||kl(e)}function JTe(e,t){for(;e&&e.kind===t;)e=e.parent;return e}function xk(e){return JTe(e,197)}function Vm(e){return JTe(e,218)}function Pne(e){let t;for(;e&&e.kind===197;)t=e,e=e.parent;return[t,e]}function nM(e){for(;b1(e);)e=e.type;return e}function us(e,t){return Hl(e,t?-2147483647:1)}function KG(e){return e.kind!==212&&e.kind!==213?!1:(e=Vm(e.parent),e&&e.kind===221)}function xS(e,t){for(;e;){if(e===t)return!0;e=e.parent}return!1}function z_(e){return!Qi(e)&&!na(e)&&rd(e.parent)&&e.parent.name===e}function rM(e){const t=e.parent;switch(e.kind){case 11:case 15:case 9:if(Ea(t))return t.parent;case 80:if(rd(t))return t.name===e?t:void 0;if(Wu(t)){const r=t.parent;return hf(r)&&r.name===t?r:void 0}else{const r=t.parent;return Nr(r)&&ac(r)!==0&&(r.left.symbol||r.symbol)&&Fo(r)===e?r:void 0}case 81:return rd(t)&&t.name===e?t:void 0;default:return}}function Rk(e){return pf(e)&&e.parent.kind===168&&rd(e.parent.parent)}function Lne(e){const t=e.parent;switch(t.kind){case 173:case 172:case 175:case 174:case 178:case 179:case 307:case 304:case 212:return t.name===e;case 167:return t.right===e;case 209:case 277:return t.propertyName===e;case 282:case 292:case 286:case 287:case 288:return!0}return!1}function XG(e){switch(e.parent.kind){case 274:case 277:case 275:case 282:case 278:case 272:case 281:return e.parent;case 167:do e=e.parent;while(e.parent.kind===167);return XG(e)}}function d6(e){return Ps(e)||uc(e)}function Dk(e){const t=YG(e);return d6(t)}function YG(e){return fl(e)?e.expression:e.right}function kne(e){return e.kind===305?e.name:e.kind===304?e.initializer:e.parent.right}function lh(e){const t=RS(e);if(t&&Er(e)){const r=ate(e);if(r)return r.class}return t}function RS(e){const t=Ck(e.heritageClauses,96);return t&&t.types.length>0?t.types[0]:void 0}function iD(e){if(Er(e))return ste(e).map(t=>t.class);{const t=Ck(e.heritageClauses,119);return t==null?void 0:t.types}}function iM(e){return gd(e)?oM(e)||se:hi(e)&&co(tI(lh(e)),iD(e))||se}function oM(e){const t=Ck(e.heritageClauses,96);return t?t.types:void 0}function Ck(e,t){if(e){for(const r of e)if(r.token===t)return r}}function j0(e,t){for(;e;){if(e.kind===t)return e;e=e.parent}}function np(e){return 83<=e&&e<=166}function $G(e){return 19<=e&&e<=79}function u6(e){return np(e)||$G(e)}function p6(e){return 128<=e&&e<=166}function QG(e){return np(e)&&!p6(e)}function EI(e){const t=qE(e);return t!==void 0&&QG(t)}function ZG(e){const t=KE(e);return!!t&&!p6(t)}function oD(e){return 2<=e&&e<=7}var wne=(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))(wne||{});function dc(e){if(!e)return 4;let t=0;switch(e.kind){case 263:case 219:case 175:e.asteriskToken&&(t|=1);case 220:fi(e,1024)&&(t|=2);break}return e.body||(t|=4),t}function aM(e){switch(e.kind){case 263:case 219:case 220:case 175:return e.body!==void 0&&e.asteriskToken===void 0&&fi(e,1024)}return!1}function pf(e){return ds(e)||ip(e)}function f6(e){return $0(e)&&(e.operator===40||e.operator===41)&&ip(e.operand)}function dy(e){const t=Fo(e);return!!t&&m6(t)}function m6(e){if(!(e.kind===168||e.kind===213))return!1;const t=Bs(e)?us(e.argumentExpression):e.expression;return!pf(t)&&!f6(t)}function d1(e){switch(e.kind){case 80:case 81:return e.escapedText;case 11:case 15:case 9:case 10:return Pl(e.text);case 168:const t=e.expression;return pf(t)?Pl(t.text):f6(t)?t.operator===41?Ta(t.operator)+t.operand.text:t.operand.text:void 0;case 296:return WI(e);default:return C.assertNever(e)}}function $h(e){switch(e.kind){case 80:case 11:case 15:case 9:return!0;default:return!1}}function Bf(e){return mg(e)?Yr(e):fh(e)?kM(e):e.text}function sM(e){return mg(e)?e.escapedText:fh(e)?WI(e):Pl(e.text)}function Nk(e,t){return"__#".concat(Aa(e),"@").concat(t)}function lM(e){return fo(e.escapedName,"__@")}function One(e){return fo(e.escapedName,"__#")}function PGe(e){return Je(e)?Yr(e)==="__proto__":Oa(e)&&e.text==="__proto__"}function h6(e,t){switch(e=Hl(e),e.kind){case 232:if(iH(e))return!1;break;case 219:if(e.name)return!1;break;case 220:break;default:return!1}return typeof t=="function"?t(e):!0}function eV(e){switch(e.kind){case 304:return!PGe(e.name);case 305:return!!e.objectAssignmentInitializer;case 261:return Je(e.name)&&!!e.initializer;case 170:return Je(e.name)&&!!e.initializer&&!e.dotDotDotToken;case 209:return Je(e.name)&&!!e.initializer&&!e.dotDotDotToken;case 173:return!!e.initializer;case 227:switch(e.operatorToken.kind){case 64:case 77:case 76:case 78:return Je(e.left)}break;case 278:return!0}return!1}function Op(e,t){if(!eV(e))return!1;switch(e.kind){case 304:return h6(e.initializer,t);case 305:return h6(e.objectAssignmentInitializer,t);case 261:case 170:case 209:case 173:return h6(e.initializer,t);case 227:return h6(e.right,t);case 278:return h6(e.expression,t)}}function tV(e){return e.escapedText==="push"||e.escapedText==="unshift"}function U0(e){return Qh(e).kind===170}function Qh(e){for(;e.kind===209;)e=e.parent.parent;return e}function nV(e){const t=e.kind;return t===177||t===219||t===263||t===220||t===175||t===178||t===179||t===268||t===308}function zs(e){return dh(e.pos)||dh(e.end)}var Wne=(e=>(e[e.Left=0]="Left",e[e.Right=1]="Right",e))(Wne||{});function rV(e){const t=KTe(e),r=e.kind===215&&e.arguments!==void 0;return iV(e.kind,t,r)}function iV(e,t,r){switch(e){case 215:return r?0:1;case 225:case 222:case 223:case 221:case 224:case 228:case 230:return 1;case 227:switch(t){case 43:case 64:case 65:case 66:case 68:case 67:case 69:case 70:case 71:case 72:case 73:case 74:case 79:case 75:case 76:case 77:case 78:return 1}}return 0}function cM(e){const t=KTe(e),r=e.kind===215&&e.arguments!==void 0;return Mk(e.kind,t,r)}function KTe(e){return e.kind===227?e.operatorToken.kind:e.kind===225||e.kind===226?e.operator:e.kind}var Fne=(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.LogicalOR=5]="LogicalOR",e[e.Coalesce=5]="Coalesce",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))(Fne||{});function Mk(e,t,r){switch(e){case 357:return 0;case 231:return 1;case 230:return 2;case 228:return 4;case 227:switch(t){case 28:return 0;case 64:case 65:case 66:case 68:case 67:case 69:case 70:case 71:case 72:case 73:case 74:case 79:case 75:case 76:case 77:case 78:return 3;default:return Pk(t)}case 217:case 236:case 225:case 222:case 223:case 221:case 224:return 16;case 226:return 17;case 214:return 18;case 215:return r?19:18;case 216:case 212:case 213:case 237:return 19;case 235:case 239:return 11;case 110:case 108:case 80:case 81:case 106:case 112:case 97:case 9:case 10:case 11:case 210:case 211:case 219:case 220:case 232:case 14:case 15:case 229:case 218:case 233:case 285:case 286:case 289:return 20;default:return-1}}function Pk(e){switch(e){case 61:return 5;case 57:return 5;case 56:return 6;case 52:return 7;case 53:return 8;case 51:return 9;case 35:case 36:case 37:case 38:return 10;case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:return 11;case 48:case 49:case 50:return 12;case 40:case 41:return 13;case 42:case 44:case 45:return 14;case 43:return 15}return-1}function aD(e){return Fn(e,t=>{switch(t.kind){case 295:return!!t.expression;case 12:return!t.containsOnlyTriviaWhiteSpaces;default:return!0}})}function dM(){let e=[];const t=[],r=new Map;let i=!1;return{add:s,lookup:o,getGlobalDiagnostics:l,getDiagnostics:u};function o(d){let _;if(d.file?_=r.get(d.file.fileName):_=e,!_)return;const m=rb(_,d,qs,vre);if(m>=0)return _[m];if(~m>0&&W6(d,_[~m-1]))return _[~m-1]}function s(d){let _;d.file?(_=r.get(d.file.fileName),_||(_=[],r.set(d.file.fileName,_),tb(t,d.file.fileName,Wd))):(i&&(i=!1,e=e.slice()),_=e),tb(_,d,vre,W6)}function l(){return i=!0,e}function u(d){if(d)return r.get(d)||[];const _=Ul(t,m=>r.get(m));return e.length&&_.unshift(...e),_}}var LGe=/\$\{/g;function oV(e){return e.replace(LGe,"\\${")}function zne(e){return!!((e.templateFlags||0)&2048)}function aV(e){return e&&!!(y1(e)?zne(e):zne(e.head)||bt(e.templateSpans,t=>zne(t.literal)))}var kGe=/[\\"\u0000-\u001f\u2028\u2029\u0085]/g,wGe=/[\\'\u0000-\u001f\u2028\u2029\u0085]/g,OGe=/\r\n|[\\`\u0000-\u0009\u000b-\u001f\u2028\u2029\u0085]/g,WGe=new Map(Object.entries({" ":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","
":"\\u0085","\r\n":"\\r\\n"}));function XTe(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function FGe(e,t,r){if(e.charCodeAt(0)===0){const i=r.charCodeAt(t+e.length);return i>=48&&i<=57?"\\x00":"\\0"}return WGe.get(e)||XTe(e.charCodeAt(0))}function B_(e,t){const r=t===96?OGe:t===39?wGe:kGe;return e.replace(r,FGe)}var YTe=/[^\u0000-\u007F]/g;function _6(e,t){return e=B_(e,t),YTe.test(e)?e.replace(YTe,r=>XTe(r.charCodeAt(0))):e}var zGe=/["\u0000-\u001f\u2028\u2029\u0085]/g,BGe=/['\u0000-\u001f\u2028\u2029\u0085]/g,GGe=new Map(Object.entries({'"':""","'":"'"}));function VGe(e){return"&#x"+e.toString(16).toUpperCase()+";"}function jGe(e){return e.charCodeAt(0)===0?"�":GGe.get(e)||VGe(e.charCodeAt(0))}function sV(e,t){const r=t===39?BGe:zGe;return e.replace(r,jGe)}function bm(e){const t=e.length;return t>=2&&e.charCodeAt(0)===e.charCodeAt(t-1)&&UGe(e.charCodeAt(0))?e.substring(1,t-1):e}function UGe(e){return e===39||e===34||e===96}function sD(e){const t=e.charCodeAt(0);return t>=97&&t<=122||e.includes("-")}var Lk=[""," "];function g6(e){const t=Lk[1];for(let r=Lk.length;r<=e;r++)Lk.push(Lk[r-1]+t);return Lk[e]}function kk(){return Lk[1].length}function wk(e){var t,r,i,o,s,l=!1;function u(N){const M=oI(N);M.length>1?(o=o+M.length-1,s=t.length-N.length+Ga(M),i=s-t.length===0):i=!1}function d(N){N&&N.length&&(i&&(N=g6(r)+N,i=!1),t+=N,u(N))}function _(N){N&&(l=!1),d(N)}function m(N){N&&(l=!0),d(N)}function y(){t="",r=0,i=!0,o=0,s=0,l=!1}function E(N){N!==void 0&&(t+=N,u(N),l=!1)}function A(N){N&&N.length&&_(N)}function R(N){(!i||N)&&(t+=e,o++,s=t.length,i=!0,l=!1)}return y(),{write:_,rawWrite:E,writeLiteral:A,writeLine:R,increaseIndent:()=>{r++},decreaseIndent:()=>{r--},getIndent:()=>r,getTextPos:()=>t.length,getLine:()=>o,getColumn:()=>i?r*kk():t.length-s,getText:()=>t,isAtStartOfLine:()=>i,hasTrailingComment:()=>l,hasTrailingWhitespace:()=>!!t.length&&ug(t.charCodeAt(t.length-1)),clear:y,writeKeyword:_,writeOperator:_,writeParameter:_,writeProperty:_,writePunctuation:_,writeSpace:_,writeStringLiteral:_,writeSymbol:(N,M)=>_(N),writeTrailingSemicolon:_,writeComment:m}}function lV(e){let t=!1;function r(){t&&(e.writeTrailingSemicolon(";"),t=!1)}return{...e,writeTrailingSemicolon(){t=!0},writeLiteral(i){r(),e.writeLiteral(i)},writeStringLiteral(i){r(),e.writeStringLiteral(i)},writeSymbol(i,o){r(),e.writeSymbol(i,o)},writePunctuation(i){r(),e.writePunctuation(i)},writeKeyword(i){r(),e.writeKeyword(i)},writeOperator(i){r(),e.writeOperator(i)},writeParameter(i){r(),e.writeParameter(i)},writeSpace(i){r(),e.writeSpace(i)},writeProperty(i){r(),e.writeProperty(i)},writeComment(i){r(),e.writeComment(i)},writeLine(){r(),e.writeLine()},increaseIndent(){r(),e.increaseIndent()},decreaseIndent(){r(),e.decreaseIndent()}}}function u1(e){return e.useCaseSensitiveFileNames?e.useCaseSensitiveFileNames():!1}function uy(e){return Fd(u1(e))}function cV(e,t,r){return t.moduleName||dV(e,t.fileName,r&&r.fileName)}function $Te(e,t){return e.getCanonicalFileName(Eo(t,e.getCurrentDirectory()))}function Bne(e,t,r){const i=t.getExternalModuleFileFromDeclaration(r);if(!i||i.isDeclarationFile)return;const o=vI(r);if(!(o&&ds(o)&&!tf(o.text)&&!$Te(e,i.path).includes($Te(e,jc(e.getCommonSourceDirectory())))))return cV(e,i)}function dV(e,t,r){const i=d=>e.getCanonicalFileName(d),o=Ws(r?pi(r):e.getCommonSourceDirectory(),e.getCurrentDirectory(),i),s=Eo(t,e.getCurrentDirectory()),l=kR(o,s,o,i,!1),u=Su(l);return r?HE(u):u}function Gne(e,t,r){const i=t.getCompilerOptions();let o;return i.outDir?o=Su(S6(e,t,i.outDir)):o=Su(e),o+r}function Vne(e,t){return y6(e,t.getCompilerOptions(),t)}function y6(e,t,r){const i=t.declarationDir||t.outDir,o=i?jne(e,i,r.getCurrentDirectory(),r.getCommonSourceDirectory(),l=>r.getCanonicalFileName(l)):e,s=v6(o);return Su(o)+s}function v6(e){return Ql(e,[".mjs",".mts"])?".d.mts":Ql(e,[".cjs",".cts"])?".d.cts":Ql(e,[".json"])?".d.json.ts":".d.ts"}function uV(e){return Ql(e,[".d.mts",".mjs",".mts"])?[".mts",".mjs"]:Ql(e,[".d.cts",".cjs",".cts"])?[".cts",".cjs"]:Ql(e,[".d.json.ts"])?[".json"]:[".tsx",".ts",".jsx",".js"]}function pV(e,t,r,i){return r?db(i(),df(r,e,t)):e}function b6(e,t){var i;var r;if(e.paths)return(i=e.baseUrl)!=null?i:C.checkDefined(e.pathsBasePath||((r=t.getCurrentDirectory)==null?void 0:r.call(t)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}function T6(e,t,r){const i=e.getCompilerOptions();if(i.outFile){const o=Tu(i),s=i.emitDeclarationOnly||o===2||o===4;return Fn(e.getSourceFiles(),l=>(s||!Wc(l))&&DS(l,e,r))}else{const o=t===void 0?e.getSourceFiles():[t];return Fn(o,s=>DS(s,e,r))}}function DS(e,t,r){const i=t.getCompilerOptions();if(i.noEmitForJsFiles&&wu(e)||e.isDeclarationFile||t.isSourceFileFromExternalLibrary(e))return!1;if(r)return!0;if(t.isSourceOfProjectReferenceRedirect(e.fileName))return!1;if(!zf(e))return!0;if(t.getRedirectFromSourceFile(e.fileName))return!1;if(i.outFile)return!0;if(!i.outDir)return!1;if(i.rootDir||i.composite&&i.configFilePath){const o=Eo(yP(i,()=>[],t.getCurrentDirectory(),t.getCanonicalFileName),t.getCurrentDirectory()),s=jne(e.fileName,i.outDir,t.getCurrentDirectory(),o,t.getCanonicalFileName);if(iy(e.fileName,s,t.getCurrentDirectory(),!t.useCaseSensitiveFileNames())===0)return!1}return!0}function S6(e,t,r){return jne(e,r,t.getCurrentDirectory(),t.getCommonSourceDirectory(),i=>t.getCanonicalFileName(i))}function jne(e,t,r,i,o){let s=Eo(e,r);return s=o(s).indexOf(o(i))===0?s.substring(i.length):s,ei(t,s)}function E6(e,t,r,i,o,s,l){e.writeFile(r,i,o,u=>{t.add(Dl(f.Could_not_write_file_0_Colon_1,r,u))},s,l)}function QTe(e,t,r){if(e.length>Uh(e)&&!r(e)){const i=pi(e);QTe(i,t,r),t(e)}}function fV(e,t,r,i,o,s){try{i(e,t,r)}catch(l){QTe(pi(Sa(e)),o,s),i(e,t,r)}}function uM(e,t){const r=dg(e);return xN(r,t)}function lD(e,t){return xN(e,t)}function Sg(e){return _n(e.members,t=>kl(t)&&gm(t.body))}function pM(e){if(e&&e.parameters.length>0){const t=e.parameters.length===2&&xb(e.parameters[0]);return e.parameters[t?1:0]}}function Une(e){const t=pM(e);return t&&t.type}function CS(e){if(e.parameters.length&&!gv(e)){const t=e.parameters[0];if(xb(t))return t}}function xb(e){return Rb(e.name)}function Rb(e){return!!e&&e.kind===80&&mV(e)}function AI(e){return!!Rn(e,t=>t.kind===187?!0:t.kind===80||t.kind===167?!1:"quit")}function NS(e){if(!Rb(e))return!1;for(;Wu(e.parent)&&e.parent.left===e;)e=e.parent;return e.parent.kind===187}function mV(e){return e.escapedText==="this"}function MS(e,t){let r,i,o,s;return dy(t)?(r=t,t.kind===178?o=t:t.kind===179?s=t:C.fail("Accessor has wrong kind")):Xe(e,l=>{if(gb(l)&&ha(l)===ha(t)){const u=d1(l.name),d=d1(t.name);u===d&&(r?i||(i=l):r=l,l.kind===178&&!o&&(o=l),l.kind===179&&!s&&(s=l))}}),{firstAccessor:r,secondAccessor:i,getAccessor:o,setAccessor:s}}function Ac(e){if(!Er(e)&&ec(e)||Em(e))return;const t=e.type;return t||!Er(e)?t:ON(e)?e.typeExpression&&e.typeExpression.type:tv(e)}function Hne(e){return e.type}function Wp(e){return gv(e)?e.type&&e.type.typeExpression&&e.type.typeExpression.type:e.type||(Er(e)?O2(e):void 0)}function A6(e){return Wi(w0(e),t=>HGe(t)?t.typeParameters:void 0)}function HGe(e){return Am(e)&&!(e.parent.kind===321&&(e.parent.tags.some(vm)||e.parent.tags.some(MD)))}function hV(e){const t=pM(e);return t&&Ac(t)}function qGe(e,t,r,i){JGe(e,t,r.pos,i)}function JGe(e,t,r,i){i&&i.length&&r!==i[0].pos&&lD(e,r)!==lD(e,i[0].pos)&&t.writeLine()}function qne(e,t,r,i){r!==i&&lD(e,r)!==lD(e,i)&&t.writeLine()}function KGe(e,t,r,i,o,s,l,u){if(i&&i.length>0){let d=!1;for(const _ of i)d&&(r.writeSpace(" "),d=!1),u(e,t,r,_.pos,_.end,l),_.hasTrailingNewLine?r.writeLine():d=!0;d&&s&&r.writeSpace(" ")}}function Jne(e,t,r,i,o,s,l){let u,d;if(l?o.pos===0&&(u=Fn(pg(e,o.pos),_)):u=pg(e,o.pos),u){const m=[];let y;for(const E of u){if(y){const A=lD(t,y.end);if(lD(t,E.pos)>=A+2)break}m.push(E),y=E}if(m.length){const E=lD(t,Ga(m).end);lD(t,wa(e,o.pos))>=E+2&&(qGe(t,r,o,u),KGe(e,t,r,m,!1,!0,s,i),d={nodePos:o.pos,detachedCommentEndPos:Ga(m).end})}}return d;function _(m){return FF(e,m.pos)}}function cD(e,t,r,i,o,s){if(e.charCodeAt(i+1)===42){const l=wR(t,i),u=t.length;let d;for(let _=i,m=l.line;_<o;m++){const y=m+1===u?e.length+1:t[m+1];if(_!==i){d===void 0&&(d=ZTe(e,t[l.line],i));const A=r.getIndent()*kk()-d+ZTe(e,_,y);if(A>0){let R=A%kk();const N=g6((A-R)/kk());for(r.rawWrite(N);R;)r.rawWrite(" "),R--}else r.rawWrite("")}XGe(e,o,r,s,_,y),_=y}}else r.writeComment(e.substring(i,o))}function XGe(e,t,r,i,o,s){const l=Math.min(t,s-1),u=e.substring(o,l).trim();u?(r.writeComment(u),l!==t&&r.writeLine()):r.rawWrite(i)}function ZTe(e,t,r){let i=0;for(;t<r&&Hh(e.charCodeAt(t));t++)e.charCodeAt(t)===9?i+=kk()-i%kk():i++;return i}function _V(e){return Gd(e)!==0}function Kne(e){return av(e)!==0}function Fp(e,t){return!!II(e,t)}function fi(e,t){return!!Xne(e,t)}function ha(e){return vc(e)&&Lc(e)||Zl(e)}function Lc(e){return fi(e,256)}function I6(e){return Fp(e,16)}function PS(e){return fi(e,64)}function gV(e){return fi(e,128)}function Zh(e){return fi(e,512)}function p1(e){return Fp(e,8)}function ff(e){return fi(e,32768)}function II(e,t){return Gd(e)&t}function Xne(e,t){return av(e)&t}function Yne(e,t,r){return e.kind>=0&&e.kind<=166?0:(e.modifierFlagsCache&536870912||(e.modifierFlagsCache=yV(e)|536870912),r||t&&Er(e)?(!(e.modifierFlagsCache&268435456)&&e.parent&&(e.modifierFlagsCache|=eSe(e)|268435456),tSe(e.modifierFlagsCache)):YGe(e.modifierFlagsCache))}function Gd(e){return Yne(e,!0)}function $ne(e){return Yne(e,!0,!0)}function av(e){return Yne(e,!1)}function eSe(e){let t=0;return e.parent&&!no(e)&&(Er(e)&&(lte(e)&&(t|=8388608),cte(e)&&(t|=16777216),dte(e)&&(t|=33554432),ute(e)&&(t|=67108864),pte(e)&&(t|=134217728)),fte(e)&&(t|=65536)),t}function YGe(e){return e&65535}function tSe(e){return e&131071|(e&260046848)>>>23}function $Ge(e){return tSe(eSe(e))}function Qne(e){return yV(e)|$Ge(e)}function yV(e){let t=Im(e)?e_(e.modifiers):0;return(e.flags&8||e.kind===80&&e.flags&4096)&&(t|=32),t}function e_(e){let t=0;if(e)for(const r of e)t|=xI(r.kind);return t}function xI(e){switch(e){case 126:return 256;case 125:return 1;case 124:return 4;case 123:return 2;case 128:return 64;case 129:return 512;case 95:return 32;case 138:return 128;case 87:return 4096;case 90:return 2048;case 134:return 1024;case 148:return 8;case 164:return 16;case 103:return 8192;case 147:return 16384;case 171:return 32768}return 0}function Ok(e){return e===57||e===56}function Zne(e){return Ok(e)||e===54}function fM(e){return e===76||e===77||e===78}function vV(e){return Nr(e)&&fM(e.operatorToken.kind)}function x6(e){return Ok(e)||e===61}function Wk(e){return Nr(e)&&x6(e.operatorToken.kind)}function py(e){return e>=64&&e<=79}function bV(e){const t=TV(e);return t&&!t.isImplements?t.class:void 0}function TV(e){if(hy(e)){if(Gp(e.parent)&&hi(e.parent.parent))return{class:e.parent.parent,isImplements:e.parent.token===119};if(ZI(e.parent)){const t=V0(e.parent);if(t&&hi(t))return{class:t,isImplements:!1}}}}function id(e,t){return Nr(e)&&(t?e.operatorToken.kind===64:py(e.operatorToken.kind))&&Zu(e.left)}function sv(e){if(id(e,!0)){const t=e.left.kind;return t===211||t===210}return!1}function R6(e){return bV(e)!==void 0}function Ps(e){return e.kind===80||zk(e)}function Ou(e){switch(e.kind){case 80:return e;case 167:do e=e.left;while(e.kind!==80);return e;case 212:do e=e.expression;while(e.kind!==80);return e}}function Fk(e){return e.kind===80||e.kind===110||e.kind===108||e.kind===237||e.kind===212&&Fk(e.expression)||e.kind===218&&Fk(e.expression)}function zk(e){return Jr(e)&&Je(e.name)&&Ps(e.expression)}function Bk(e){if(Jr(e)){const t=Bk(e.expression);if(t!==void 0)return t+"."+kp(e.name)}else if(Bs(e)){const t=Bk(e.expression);if(t!==void 0&&yc(e.argumentExpression))return t+"."+d1(e.argumentExpression)}else{if(Je(e))return Bi(e.escapedText);if(fh(e))return kM(e)}}function Db(e){return AS(e)&&cy(e)==="prototype"}function mM(e){return e.parent.kind===167&&e.parent.right===e||e.parent.kind===212&&e.parent.name===e||e.parent.kind===237&&e.parent.name===e}function SV(e){return!!e.parent&&(Jr(e.parent)&&e.parent.name===e||Bs(e.parent)&&e.parent.argumentExpression===e)}function ere(e){return Wu(e.parent)&&e.parent.right===e||Jr(e.parent)&&e.parent.name===e||rT(e.parent)&&e.parent.right===e}function D6(e){return Nr(e)&&e.operatorToken.kind===104}function tre(e){return D6(e.parent)&&e===e.parent.right}function EV(e){return e.kind===211&&e.properties.length===0}function nre(e){return e.kind===210&&e.elements.length===0}function hM(e){if(!(!QGe(e)||!e.declarations)){for(const t of e.declarations)if(t.localSymbol)return t.localSymbol}}function QGe(e){return e&&et(e.declarations)>0&&fi(e.declarations[0],2048)}function C6(e){return _n(xVe,t=>xl(e,t))}function ZGe(e){const t=[],r=e.length;for(let i=0;i<r;i++){const o=e.charCodeAt(i);o<128?t.push(o):o<2048?(t.push(o>>6|192),t.push(o&63|128)):o<65536?(t.push(o>>12|224),t.push(o>>6&63|128),t.push(o&63|128)):o<131072?(t.push(o>>18|240),t.push(o>>12&63|128),t.push(o>>6&63|128),t.push(o&63|128)):C.assert(!1,"Unexpected code point")}return t}var RI="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function rre(e){let t="";const r=ZGe(e);let i=0;const o=r.length;let s,l,u,d;for(;i<o;)s=r[i]>>2,l=(r[i]&3)<<4|r[i+1]>>4,u=(r[i+1]&15)<<2|r[i+2]>>6,d=r[i+2]&63,i+1>=o?u=d=64:i+2>=o&&(d=64),t+=RI.charAt(s)+RI.charAt(l)+RI.charAt(u)+RI.charAt(d),i+=3;return t}function eVe(e){let t="",r=0;const i=e.length;for(;r<i;){const o=e[r];if(o<128)t+=String.fromCharCode(o),r++;else if((o&192)===192){let s=o&63;r++;let l=e[r];for(;(l&192)===128;)s=s<<6|l&63,r++,l=e[r];t+=String.fromCharCode(s)}else t+=String.fromCharCode(o),r++}return t}function ire(e,t){return e&&e.base64encode?e.base64encode(t):rre(t)}function ore(e,t){if(e&&e.base64decode)return e.base64decode(t);const r=t.length,i=[];let o=0;for(;o<r&&t.charCodeAt(o)!==RI.charCodeAt(64);){const s=RI.indexOf(t[o]),l=RI.indexOf(t[o+1]),u=RI.indexOf(t[o+2]),d=RI.indexOf(t[o+3]),_=(s&63)<<2|l>>4&3,m=(l&15)<<4|u>>2&15,y=(u&3)<<6|d&63;m===0&&u!==0?i.push(_):y===0&&d!==0?i.push(_,m):i.push(_,m,y),o+=4}return eVe(i)}function AV(e,t){const r=jo(t)?t:t.readFile(e);if(!r)return;let i=Gk(r);if(i===void 0){const o=pU(e,r);o.error||(i=o.config)}return i}function dD(e,t){return AV(e,t)||{}}function Gk(e){try{return JSON.parse(e)}catch(t){return}}function ch(e,t){return!t.directoryExists||t.directoryExists(e)}var tVe="\r\n",nVe="\n";function lv(e){switch(e.newLine){case 0:return tVe;case 1:case void 0:return nVe}}function Gf(e,t=e){return C.assert(t>=e||t===-1),{pos:e,end:t}}function N6(e,t){return Gf(e.pos,t)}function H0(e,t){return Gf(t,e.end)}function fy(e){const t=Im(e)?pa(e.modifiers,wc):void 0;return t&&!dh(t.end)?H0(e,t.end):e}function t_(e){if(ko(e)||Ll(e))return H0(e,e.name.pos);const t=Im(e)?rl(e.modifiers):void 0;return t&&!dh(t.end)?H0(e,t.end):fy(e)}function IV(e,t){return Gf(e,e+Ta(t).length)}function f1(e,t){return sre(e,e,t)}function M6(e,t,r){return Vf(_M(e,r,!1),_M(t,r,!1),r)}function are(e,t,r){return Vf(e.end,t.end,r)}function sre(e,t,r){return Vf(_M(e,r,!1),t.end,r)}function Vk(e,t,r){return Vf(e.end,_M(t,r,!1),r)}function xV(e,t,r,i){const o=_M(t,r,i);return RN(r,e.end,o)}function nSe(e,t,r){return RN(r,e.end,t.end)}function lre(e,t){return!Vf(e.pos,e.end,t)}function Vf(e,t,r){return RN(r,e,t)===0}function _M(e,t,r){return dh(e.pos)?-1:wa(t.text,e.pos,!1,r)}function cre(e,t,r,i){const o=wa(r.text,e,!1,i),s=rVe(o,t,r);return RN(r,s!=null?s:t,o)}function dre(e,t,r,i){const o=wa(r.text,e,!1,i);return RN(r,e,Math.min(t,o))}function rp(e,t){return RV(e.pos,e.end,t)}function RV(e,t,r){return e<=r.pos&&t>=r.end}function rVe(e,t=0,r){for(;e-- >t;)if(!ug(r.text.charCodeAt(e)))return e}function DV(e){const t=Ho(e);if(t)switch(t.parent.kind){case 267:case 268:return t===t.parent.name}return!1}function gM(e){return Fn(e.declarations,jk)}function jk(e){return bi(e)&&e.initializer!==void 0}function CV(e){return e.watch&&Ms(e,"watch")}function jm(e){e.close()}function Fl(e){return e.flags&33554432?e.links.checkFlags:0}function jf(e,t=!1){if(e.valueDeclaration){const r=t&&e.declarations&&_n(e.declarations,bp)||e.flags&32768&&_n(e.declarations,qf)||e.valueDeclaration,i=L0(r);return e.parent&&e.parent.flags&32?i:i&-8}if(Fl(e)&6){const r=e.links.checkFlags,i=r&1024?2:r&256?1:4,o=r&2048?256:0;return i|o}return e.flags&4194304?257:0}function Id(e,t){return e.flags&2097152?t.getAliasedSymbol(e):e}function uD(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags}function P6(e){return yM(e)===1}function DI(e){return yM(e)!==0}function yM(e){const{parent:t}=e;switch(t==null?void 0:t.kind){case 218:return yM(t);case 226:case 225:const{operator:r}=t;return r===46||r===47?2:0;case 227:const{left:i,operatorToken:o}=t;return i===e&&py(o.kind)?o.kind===64?1:2:0;case 212:return t.name!==e?0:yM(t);case 304:{const s=yM(t.parent);return e===t.name?iVe(s):s}case 305:return e===t.objectAssignmentInitializer?0:yM(t.parent);case 210:return yM(t);case 250:case 251:return e===t.initializer?1:0;default:return 0}}function iVe(e){switch(e){case 0:return 1;case 1:return 0;case 2:return 2;default:return C.assertNever(e)}}function NV(e,t){if(!e||!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(typeof e[r]=="object"){if(!NV(e[r],t[r]))return!1}else if(typeof e[r]!="function"&&e[r]!==t[r])return!1;return!0}function yp(e,t){e.forEach(t),e.clear()}function Eg(e,t,r){const{onDeleteValue:i,onExistingValue:o}=r;e.forEach((s,l)=>{var u;t!=null&&t.has(l)?o&&o(s,(u=t.get)==null?void 0:u.call(t,l),l):(e.delete(l),i(s,l))})}function vM(e,t,r){Eg(e,t,r);const{createNewValue:i}=r;t==null||t.forEach((o,s)=>{e.has(s)||e.set(s,i(s,o))})}function ure(e){if(e.flags&32){const t=my(e);return!!t&&fi(t,64)}return!1}function my(e){var t;return(t=e.declarations)==null?void 0:t.find(hi)}function qr(e){return e.flags&3899393?e.objectFlags:0}function L6(e){return!!e&&!!e.declarations&&!!e.declarations[0]&&vw(e.declarations[0])}function pre({moduleSpecifier:e}){return Oa(e)?e.text:Rl(e)}function MV(e){let t;return Xo(e,r=>{gm(r)&&(t=r)},r=>{for(let i=r.length-1;i>=0;i--)if(gm(r[i])){t=r[i];break}}),t}function Tm(e,t){return e.has(t)?!1:(e.add(t),!0)}function CI(e){return hi(e)||gd(e)||Fu(e)}function PV(e){return e>=183&&e<=206||e===133||e===159||e===150||e===163||e===151||e===136||e===154||e===155||e===116||e===157||e===146||e===141||e===234||e===313||e===314||e===315||e===316||e===317||e===318||e===319}function Qs(e){return e.kind===212||e.kind===213}function LV(e){return e.kind===212?e.name:(C.assert(e.kind===213),e.argumentExpression)}function k6(e){return e.kind===276||e.kind===280}function pD(e){for(;Qs(e);)e=e.expression;return e}function fre(e,t){if(Qs(e.parent)&&SV(e))return r(e.parent);function r(i){if(i.kind===212){const o=t(i.name);if(o!==void 0)return o}else if(i.kind===213)if(Je(i.argumentExpression)||ds(i.argumentExpression)){const o=t(i.argumentExpression);if(o!==void 0)return o}else return;if(Qs(i.expression))return r(i.expression);if(Je(i.expression))return t(i.expression)}}function fD(e,t){for(;;){switch(e.kind){case 226:e=e.operand;continue;case 227:e=e.left;continue;case 228:e=e.condition;continue;case 216:e=e.tag;continue;case 214:if(t)return e;case 235:case 213:case 212:case 236:case 356:case 239:e=e.expression;continue}return e}}function oVe(e,t){this.flags=e,this.escapedName=t,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.lastAssignmentPos=void 0,this.links=void 0}function aVe(e,t){this.flags=t,(C.isDebugging||Ar)&&(this.checker=e)}function sVe(e,t){this.flags=t,C.isDebugging&&(this.checker=e)}function mre(e,t,r){this.pos=t,this.end=r,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 lVe(e,t,r){this.pos=t,this.end=r,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}function cVe(e,t,r){this.pos=t,this.end=r,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 dVe(e,t,r){this.fileName=e,this.text=t,this.skipTrivia=r||(i=>i)}var xd={getNodeConstructor:()=>mre,getTokenConstructor:()=>lVe,getIdentifierConstructor:()=>cVe,getPrivateIdentifierConstructor:()=>mre,getSourceFileConstructor:()=>mre,getSymbolConstructor:()=>oVe,getTypeConstructor:()=>aVe,getSignatureConstructor:()=>sVe,getSourceMapSourceConstructor:()=>dVe},rSe=[];function iSe(e){rSe.push(e),e(xd)}function hre(e){Object.assign(xd,e),Xe(rSe,t=>t(xd))}function Ag(e,t){return e.replace(/\{(\d+)\}/g,(r,i)=>""+C.checkDefined(t[+i]))}var w6;function _re(e){w6=e}function gre(e){!w6&&e&&(w6=e())}function Jo(e){return w6&&w6[e.key]||e.message}function NI(e,t,r,i,o,...s){r+i>t.length&&(i=t.length-r),nne(t,r,i);let l=Jo(o);return bt(s)&&(l=Ag(l,s)),{file:void 0,start:r,length:i,messageText:l,category:o.category,code:o.code,reportsUnnecessary:o.reportsUnnecessary,fileName:e}}function uVe(e){return e.file===void 0&&e.start!==void 0&&e.length!==void 0&&typeof e.fileName=="string"}function oSe(e,t){const r=t.fileName||"",i=t.text.length;C.assertEqual(e.fileName,r),C.assertLessThanOrEqual(e.start,i),C.assertLessThanOrEqual(e.start+e.length,i);const o={file:t,start:e.start,length:e.length,messageText:e.messageText,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary};if(e.relatedInformation){o.relatedInformation=[];for(const s of e.relatedInformation)uVe(s)&&s.fileName===r?(C.assertLessThanOrEqual(s.start,i),C.assertLessThanOrEqual(s.start+s.length,i),o.relatedInformation.push(oSe(s,t))):o.relatedInformation.push(s)}return o}function MI(e,t){const r=[];for(const i of e)r.push(oSe(i,t));return r}function kc(e,t,r,i,...o){nne(e.text,t,r);let s=Jo(i);return bt(o)&&(s=Ag(s,o)),{file:e,start:t,length:r,messageText:s,category:i.category,code:i.code,reportsUnnecessary:i.reportsUnnecessary,reportsDeprecated:i.reportsDeprecated}}function PI(e,...t){let r=Jo(e);return bt(t)&&(r=Ag(r,t)),r}function Dl(e,...t){let r=Jo(e);return bt(t)&&(r=Ag(r,t)),{file:void 0,start:void 0,length:void 0,messageText:r,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}function O6(e,t){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText,relatedInformation:t}}function Ko(e,t,...r){let i=Jo(t);return bt(r)&&(i=Ag(i,r)),{messageText:i,category:t.category,code:t.code,next:e===void 0||Array.isArray(e)?e:[e]}}function yre(e,t){let r=e;for(;r.next;)r=r.next[0];r.next=[t]}function kV(e){return e.file?e.file.path:void 0}function bM(e,t){return vre(e,t)||pVe(e,t)||0}function vre(e,t){const r=wV(e),i=wV(t);return Wd(kV(e),kV(t))||Js(e.start,t.start)||Js(e.length,t.length)||Js(r,i)||fVe(e,t)||0}function pVe(e,t){return!e.relatedInformation&&!t.relatedInformation?0:e.relatedInformation&&t.relatedInformation?Js(t.relatedInformation.length,e.relatedInformation.length)||Xe(e.relatedInformation,(r,i)=>{const o=t.relatedInformation[i];return bM(r,o)})||0:e.relatedInformation?-1:1}function fVe(e,t){let r=OV(e),i=OV(t);typeof r!="string"&&(r=r.messageText),typeof i!="string"&&(i=i.messageText);const o=typeof e.messageText!="string"?e.messageText.next:void 0,s=typeof t.messageText!="string"?t.messageText.next:void 0;let l=Wd(r,i);return l||(l=mVe(o,s),l)?l:e.canonicalHead&&!t.canonicalHead?-1:t.canonicalHead&&!e.canonicalHead?1:0}function mVe(e,t){return e===void 0&&t===void 0?0:e===void 0?1:t===void 0?-1:aSe(e,t)||sSe(e,t)}function aSe(e,t){if(e===void 0&&t===void 0)return 0;if(e===void 0)return 1;if(t===void 0)return-1;let r=Js(t.length,e.length);if(r)return r;for(let i=0;i<t.length;i++)if(r=aSe(e[i].next,t[i].next),r)return r;return 0}function sSe(e,t){let r;for(let i=0;i<t.length;i++){if(r=Wd(e[i].messageText,t[i].messageText),r)return r;if(e[i].next!==void 0&&(r=sSe(e[i].next,t[i].next),r))return r}return 0}function W6(e,t){const r=wV(e),i=wV(t),o=OV(e),s=OV(t);return Wd(kV(e),kV(t))===0&&Js(e.start,t.start)===0&&Js(e.length,t.length)===0&&Js(r,i)===0&&hVe(o,s)}function wV(e){var t;return((t=e.canonicalHead)==null?void 0:t.code)||e.code}function OV(e){var t;return((t=e.canonicalHead)==null?void 0:t.messageText)||e.messageText}function hVe(e,t){const r=typeof e=="string"?e:e.messageText,i=typeof t=="string"?t:t.messageText;return Wd(r,i)===0}function Uk(e){return e===4||e===2||e===1||e===6?1:0}function lSe(e){if(e.transformFlags&2)return ru(e)||tT(e)?e:Xo(e,lSe)}function _Ve(e){return e.isDeclarationFile?void 0:lSe(e)}function gVe(e,t){return(W1(e,t)===99||Ql(e.fileName,[".cjs",".cts",".mjs",".mts"]))&&!e.isDeclarationFile?!0:void 0}function Hk(e){switch(Tre(e)){case 3:return o=>{o.externalModuleIndicator=Nw(o)||!o.isDeclarationFile||void 0};case 1:return o=>{o.externalModuleIndicator=Nw(o)};case 2:const t=[Nw];(e.jsx===4||e.jsx===5)&&t.push(_Ve),t.push(gVe);const r=Np(...t);return o=>void(o.externalModuleIndicator=r(o,e))}}function WV(e){const t=iu(e);return 3<=t&&t<=99||qk(e)||Jk(e)}function i0t(e){return e}var Rd={allowImportingTsExtensions:{dependencies:["rewriteRelativeImportExtensions"],computeValue:e=>!!(e.allowImportingTsExtensions||e.rewriteRelativeImportExtensions)},target:{dependencies:["module"],computeValue:e=>{const t=e.target===0?void 0:e.target;return t!=null?t:e.module===100&&9||e.module===101&&9||e.module===102&&10||e.module===199&&99||1}},module:{dependencies:["target"],computeValue:e=>typeof e.module=="number"?e.module:Rd.target.computeValue(e)>=2?5:1},moduleResolution:{dependencies:["module","target"],computeValue:e=>{let t=e.moduleResolution;if(t===void 0)switch(Rd.module.computeValue(e)){case 1:t=2;break;case 100:case 101:case 102:t=3;break;case 199:t=99;break;case 200:t=100;break;default:t=1;break}return t}},moduleDetection:{dependencies:["module","target"],computeValue:e=>{if(e.moduleDetection!==void 0)return e.moduleDetection;const t=Rd.module.computeValue(e);return 100<=t&&t<=199?3:2}},isolatedModules:{dependencies:["verbatimModuleSyntax"],computeValue:e=>!!(e.isolatedModules||e.verbatimModuleSyntax)},esModuleInterop:{dependencies:["module","target"],computeValue:e=>{if(e.esModuleInterop!==void 0)return e.esModuleInterop;switch(Rd.module.computeValue(e)){case 100:case 101:case 102:case 199:case 200:return!0}return!1}},allowSyntheticDefaultImports:{dependencies:["module","target","moduleResolution"],computeValue:e=>e.allowSyntheticDefaultImports!==void 0?e.allowSyntheticDefaultImports:Rd.esModuleInterop.computeValue(e)||Rd.module.computeValue(e)===4||Rd.moduleResolution.computeValue(e)===100},resolvePackageJsonExports:{dependencies:["moduleResolution"],computeValue:e=>{const t=Rd.moduleResolution.computeValue(e);if(!mD(t))return!1;if(e.resolvePackageJsonExports!==void 0)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}},resolvePackageJsonImports:{dependencies:["moduleResolution","resolvePackageJsonExports"],computeValue:e=>{const t=Rd.moduleResolution.computeValue(e);if(!mD(t))return!1;if(e.resolvePackageJsonImports!==void 0)return e.resolvePackageJsonImports;switch(t){case 3:case 99:case 100:return!0}return!1}},resolveJsonModule:{dependencies:["moduleResolution","module","target"],computeValue:e=>{if(e.resolveJsonModule!==void 0)return e.resolveJsonModule;switch(Rd.module.computeValue(e)){case 102:case 199:return!0}return Rd.moduleResolution.computeValue(e)===100}},declaration:{dependencies:["composite"],computeValue:e=>!!(e.declaration||e.composite)},preserveConstEnums:{dependencies:["isolatedModules","verbatimModuleSyntax"],computeValue:e=>!!(e.preserveConstEnums||Rd.isolatedModules.computeValue(e))},incremental:{dependencies:["composite"],computeValue:e=>!!(e.incremental||e.composite)},declarationMap:{dependencies:["declaration","composite"],computeValue:e=>!!(e.declarationMap&&Rd.declaration.computeValue(e))},allowJs:{dependencies:["checkJs"],computeValue:e=>e.allowJs===void 0?!!e.checkJs:e.allowJs},useDefineForClassFields:{dependencies:["target","module"],computeValue:e=>e.useDefineForClassFields===void 0?Rd.target.computeValue(e)>=9:e.useDefineForClassFields},noImplicitAny:{dependencies:["strict"],computeValue:e=>Vd(e,"noImplicitAny")},noImplicitThis:{dependencies:["strict"],computeValue:e=>Vd(e,"noImplicitThis")},strictNullChecks:{dependencies:["strict"],computeValue:e=>Vd(e,"strictNullChecks")},strictFunctionTypes:{dependencies:["strict"],computeValue:e=>Vd(e,"strictFunctionTypes")},strictBindCallApply:{dependencies:["strict"],computeValue:e=>Vd(e,"strictBindCallApply")},strictPropertyInitialization:{dependencies:["strict"],computeValue:e=>Vd(e,"strictPropertyInitialization")},strictBuiltinIteratorReturn:{dependencies:["strict"],computeValue:e=>Vd(e,"strictBuiltinIteratorReturn")},alwaysStrict:{dependencies:["strict"],computeValue:e=>Vd(e,"alwaysStrict")},useUnknownInCatchVariables:{dependencies:["strict"],computeValue:e=>Vd(e,"useUnknownInCatchVariables")}},TM=Rd,bre=Rd.allowImportingTsExtensions.computeValue,Va=Rd.target.computeValue,Tu=Rd.module.computeValue,iu=Rd.moduleResolution.computeValue,Tre=Rd.moduleDetection.computeValue,Sm=Rd.isolatedModules.computeValue,n_=Rd.esModuleInterop.computeValue,LI=Rd.allowSyntheticDefaultImports.computeValue,qk=Rd.resolvePackageJsonExports.computeValue,Jk=Rd.resolvePackageJsonImports.computeValue,LS=Rd.resolveJsonModule.computeValue,vp=Rd.declaration.computeValue,Cb=Rd.preserveConstEnums.computeValue,kS=Rd.incremental.computeValue,F6=Rd.declarationMap.computeValue,Nb=Rd.allowJs.computeValue,Kk=Rd.useDefineForClassFields.computeValue;function Xk(e){return e>=5&&e<=99}function z6(e){switch(Tu(e)){case 0:case 4:case 3:return!1}return!0}function Sre(e){return e.allowUnreachableCode===!1}function Ere(e){return e.allowUnusedLabels===!1}function mD(e){return e>=3&&e<=99||e===100}function Are(e){return 101<=e&&e<=199||e===200||e===99}function Vd(e,t){return e[t]===void 0?!!e.strict:!!e[t]}function B6(e){return Uc(aU.type,(t,r)=>t===e?r:void 0)}function FV(e){return e.useDefineForClassFields!==!1&&Va(e)>=9}function Ire(e,t){return pI(t,e,Ioe)}function xre(e,t){return pI(t,e,xoe)}function Rre(e,t){return pI(t,e,Roe)}function G6(e,t){return t.strictFlag?Vd(e,t.name):t.allowJsFlag?Nb(e):e[t.name]}function V6(e){const t=e.jsx;return t===2||t===4||t===5}function Yk(e,t){const r=t==null?void 0:t.pragmas.get("jsximportsource"),i=Lo(r)?r[r.length-1]:r,o=t==null?void 0:t.pragmas.get("jsxruntime"),s=Lo(o)?o[o.length-1]:o;if((s==null?void 0:s.arguments.factory)!=="classic")return e.jsx===4||e.jsx===5||e.jsxImportSource||i||(s==null?void 0:s.arguments.factory)==="automatic"?(i==null?void 0:i.arguments.factory)||e.jsxImportSource||"react":void 0}function j6(e,t){return e?"".concat(e,"/").concat(t.jsx===5?"jsx-dev-runtime":"jsx-runtime"):void 0}function zV(e){let t=!1;for(let r=0;r<e.length;r++)if(e.charCodeAt(r)===42)if(!t)t=!0;else return!1;return!0}function BV(e,t){let r,i,o,s=!1;return{getSymlinkedFiles:()=>o,getSymlinkedDirectories:()=>r,getSymlinkedDirectoriesByRealpath:()=>i,setSymlinkedFile:(d,_)=>(o||(o=new Map)).set(d,_),setSymlinkedDirectory:(d,_)=>{let m=Ws(d,e,t);NM(m)||(m=jc(m),_!==!1&&!(r!=null&&r.has(m))&&(i||(i=fm())).add(_.realPath,d),(r||(r=new Map)).set(m,_))},setSymlinksFromResolutions(d,_,m){C.assert(!s),s=!0,d(y=>u(this,y.resolvedModule)),_(y=>u(this,y.resolvedTypeReferenceDirective)),m.forEach(y=>u(this,y.resolvedTypeReferenceDirective))},hasProcessedResolutions:()=>s,setSymlinksFromResolution(d){u(this,d)},hasAnySymlinks:l};function l(){return!!(o!=null&&o.size)||!!r&&!!Uc(r,d=>!!d)}function u(d,_){if(!_||!_.originalPath||!_.resolvedFileName)return;const{resolvedFileName:m,originalPath:y}=_;d.setSymlinkedFile(Ws(y,e,t),m);const[E,A]=yVe(m,y,e,t)||se;E&&A&&d.setSymlinkedDirectory(A,{real:jc(E),realPath:jc(Ws(E,e,t))})}}function yVe(e,t,r,i){const o=zd(Eo(e,r)),s=zd(Eo(t,r));let l=!1;for(;o.length>=2&&s.length>=2&&!cSe(o[o.length-2],i)&&!cSe(s[s.length-2],i)&&i(o[o.length-1])===i(s[s.length-1]);)o.pop(),s.pop(),l=!0;return l?[P0(o),P0(s)]:void 0}function cSe(e,t){return e!==void 0&&(t(e)==="node_modules"||fo(e,"@"))}function vVe(e){return M9(e.charCodeAt(0))?e.slice(1):void 0}function GV(e,t,r){const i=o9(e,t,r);return i===void 0?void 0:vVe(i)}var Dre=/[^\w\s/]/g;function dSe(e){return e.replace(Dre,bVe)}function bVe(e){return"\\"+e}var TVe=[42,63],SVe=["node_modules","bower_components","jspm_packages"],Cre="(?!(?:".concat(SVe.join("|"),")(?:/|$))"),uSe={singleAsteriskRegexFragment:"(?:[^./]|(?:\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:"(?:/".concat(Cre,"[^/.][^/]*)*?"),replaceWildcardCharacter:e=>Mre(e,uSe.singleAsteriskRegexFragment)},pSe={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(?:/".concat(Cre,"[^/.][^/]*)*?"),replaceWildcardCharacter:e=>Mre(e,pSe.singleAsteriskRegexFragment)},fSe={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(?:/.+?)?",replaceWildcardCharacter:e=>Mre(e,fSe.singleAsteriskRegexFragment)},Nre={files:uSe,directories:pSe,exclude:fSe};function SM(e,t,r){const i=U6(e,t,r);if(!i||!i.length)return;const o=i.map(l=>"(?:".concat(l,")")).join("|"),s=r==="exclude"?"(?:$|/)":"$";return"^(?:".concat(o,")").concat(s)}function U6(e,t,r){if(!(e===void 0||e.length===0))return Wi(e,i=>i&&H6(i,t,r,Nre[r]))}function VV(e){return!/[.*?]/.test(e)}function jV(e,t,r){const i=e&&H6(e,t,r,Nre[r]);return i&&"^(?:".concat(i,")").concat(r==="exclude"?"(?:$|/)":"$")}function H6(e,t,r,{singleAsteriskRegexFragment:i,doubleAsteriskRegexFragment:o,replaceWildcardCharacter:s}=Nre[r]){let l="",u=!1;const d=iF(e,t),_=Ga(d);if(r!=="exclude"&&_==="**")return;d[0]=ev(d[0]),VV(_)&&d.push("**","*");let m=0;for(let y of d){if(y==="**")l+=o;else if(r==="directories"&&(l+="(?:",m++),u&&(l+=$s),r!=="exclude"){let E="";y.charCodeAt(0)===42?(E+="(?:[^./]"+i+")?",y=y.substr(1)):y.charCodeAt(0)===63&&(E+="[^./]",y=y.substr(1)),E+=y.replace(Dre,s),E!==y&&(l+=Cre),l+=E}else l+=y.replace(Dre,s);u=!0}for(;m>0;)l+=")?",m--;return l}function Mre(e,t){return e==="*"?t:e==="?"?"[^/]":"\\"+e}function q6(e,t,r,i,o){e=Sa(e),o=Sa(o);const s=ei(o,e);return{includeFilePatterns:Gt(U6(r,s,"files"),l=>"^".concat(l,"$")),includeFilePattern:SM(r,s,"files"),includeDirectoryPattern:SM(r,s,"directories"),excludePattern:SM(t,s,"exclude"),basePaths:EVe(e,r,i)}}function cv(e,t){return new RegExp(e,t?"":"i")}function Pre(e,t,r,i,o,s,l,u,d){e=Sa(e),s=Sa(s);const _=q6(e,r,i,o,s),m=_.includeFilePatterns&&_.includeFilePatterns.map(k=>cv(k,o)),y=_.includeDirectoryPattern&&cv(_.includeDirectoryPattern,o),E=_.excludePattern&&cv(_.excludePattern,o),A=m?m.map(()=>[]):[[]],R=new Map,N=Fd(o);for(const k of _.basePaths)M(k,ei(s,k),l);return Qo(A);function M(k,F,O){const G=N(d(F));if(R.has(G))return;R.set(G,!0);const{files:j,directories:K}=u(k);for(const Q of Cp(j,Wd)){const J=ei(k,Q),he=ei(F,Q);if(!(t&&!Ql(J,t))&&!(E&&E.test(he)))if(!m)A[0].push(J);else{const re=lo(m,q=>q.test(he));re!==-1&&A[re].push(J)}}if(!(O!==void 0&&(O--,O===0)))for(const Q of Cp(K,Wd)){const J=ei(k,Q),he=ei(F,Q);(!y||y.test(he))&&(!E||!E.test(he))&&M(J,he,O)}}}function EVe(e,t,r){const i=[e];if(t){const o=[];for(const s of t){const l=Pp(s)?s:Sa(ei(e,s));o.push(AVe(l))}o.sort(DR(!r));for(const s of o)Gn(i,l=>!hm(l,s,e,!r))&&i.push(s)}return i}function AVe(e){const t=zi(e,TVe);return t<0?PR(e)?ev(pi(e)):e:e.substring(0,e.lastIndexOf($s,t))}function J6(e,t){return t||K6(e)||3}function K6(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}}var X6=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]],UV=Qo(X6),IVe=[...X6,[".json"]],xVe=[".d.ts",".d.cts",".d.mts",".cts",".mts",".ts",".tsx"],RVe=[[".js",".jsx"],[".mjs"],[".cjs"]],hD=Qo(RVe),HV=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]],DVe=[...HV,[".json"]],Y6=[".d.ts",".d.cts",".d.mts"],$k=[".ts",".cts",".mts",".tsx"],$6=[".mts",".d.mts",".mjs",".cts",".d.cts",".cjs"];function EM(e,t){const r=e&&Nb(e);if(!t||t.length===0)return r?HV:X6;const i=r?HV:X6,o=Qo(i);return[...i,...Hi(t,l=>l.scriptKind===7||r&&CVe(l.scriptKind)&&!o.includes(l.extension)?[l.extension]:void 0)]}function Qk(e,t){return!e||!LS(e)?t:t===HV?DVe:t===X6?IVe:[...t,[".json"]]}function CVe(e){return e===1||e===2}function Ig(e){return bt(hD,t=>xl(e,t))}function m1(e){return bt(UV,t=>xl(e,t))}function Lre(e){return bt($k,t=>xl(e,t))&&!ad(e)}var kre=(e=>(e[e.Minimal=0]="Minimal",e[e.Index=1]="Index",e[e.JsExtension=2]="JsExtension",e[e.TsExtension=3]="TsExtension",e))(kre||{});function NVe({imports:e},t=Np(Ig,m1)){return Wn(e,({text:r})=>tf(r)&&!Ql(r,$6)?t(r):void 0)||!1}function wre(e,t,r,i){const o=iu(r),s=3<=o&&o<=99;if(e==="js"||t===99&&s)return UD(r)&&l()!==2?3:2;if(e==="minimal")return 0;if(e==="index")return 1;if(!UD(r))return i&&NVe(i)?2:0;return l();function l(){let u=!1;const d=i!=null&&i.imports.length?i.imports:i&&wu(i)?MVe(i).map(_=>_.arguments[0]):se;for(const _ of d)if(tf(_.text)){if(s&&t===1&&DH(i,_,r)===99||Ql(_.text,$6))continue;if(m1(_.text))return 3;Ig(_.text)&&(u=!0)}return u?2:0}}function MVe(e){let t=0,r;for(const i of e.statements){if(t>3)break;mk(i)?r=co(r,i.declarationList.declarations.map(o=>o.initializer)):od(i)&&tp(i.expression,!0)?r=jn(r,i.expression):t++}return r||se}function qV(e,t,r){if(!e)return!1;const i=EM(t,r);for(const o of Qo(Qk(t,i)))if(xl(e,o))return!0;return!1}function mSe(e){const t=e.match(/\//g);return t?t.length:0}function Zk(e,t){return Js(mSe(e),mSe(t))}var Ore=[".d.ts",".d.mts",".d.cts",".mjs",".mts",".cjs",".cts",".ts",".js",".tsx",".jsx",".json"];function Su(e){for(const t of Ore){const r=Wre(e,t);if(r!==void 0)return r}return e}function Wre(e,t){return xl(e,t)?ew(e,t):void 0}function ew(e,t){return e.substring(0,e.length-t.length)}function dv(e,t){return A2(e,t,Ore,!1)}function kI(e){const t=e.indexOf("*");return t===-1?e:e.indexOf("*",t+1)!==-1?void 0:{prefix:e.substr(0,t),suffix:e.substr(t+1)}}var hSe=new WeakMap;function tw(e){let t=hSe.get(e);if(t!==void 0)return t;let r,i;const o=Vh(e);for(const s of o){const l=kI(s);l!==void 0&&(typeof l=="string"?(r!=null?r:r=new Set).add(l):(i!=null?i:i=[]).push(l))}return hSe.set(e,t={matchableStringSet:r,patterns:i}),t}function dh(e){return!(e>=0)}function Q6(e){return e===".ts"||e===".tsx"||e===".d.ts"||e===".cts"||e===".mts"||e===".d.mts"||e===".d.cts"||fo(e,".d.")&&il(e,".ts")}function AM(e){return Q6(e)||e===".json"}function IM(e){const t=xg(e);return t!==void 0?t:C.fail("File ".concat(e," has unknown extension."))}function _Se(e){return xg(e)!==void 0}function xg(e){return _n(Ore,t=>xl(e,t))}function xM(e,t){return e.checkJsDirective?e.checkJsDirective.enabled:t.checkJs}var Fre={files:se,directories:se};function JV(e,t){const{matchableStringSet:r,patterns:i}=e;if(r!=null&&r.has(t))return t;if(!(i===void 0||i.length===0))return i9(i,o=>o,t)}function KV(e,t){const r=e.indexOf(t);return C.assert(r!==-1),e.slice(r)}function _a(e,...t){return t.length&&(e.relatedInformation||(e.relatedInformation=[]),C.assert(e.relatedInformation!==se,"Diagnostic had empty array singleton for related info, but is still being constructed!"),e.relatedInformation.push(...t)),e}function zre(e,t){C.assert(e.length!==0);let r=t(e[0]),i=r;for(let o=1;o<e.length;o++){const s=t(e[o]);s<r?r=s:s>i&&(i=s)}return{min:r,max:i}}function XV(e){return{pos:Tb(e),end:e.end}}function YV(e,t){const r=t.pos-1,i=Math.min(e.text.length,wa(e.text,t.end)+1);return{pos:r,end:i}}function _D(e,t,r){return gSe(e,t,r,!1)}function Bre(e,t,r){return gSe(e,t,r,!0)}function gSe(e,t,r,i){return t.skipLibCheck&&e.isDeclarationFile||t.skipDefaultLibCheck&&e.hasNoDefaultLib||!i&&t.noCheck||r.isSourceOfProjectReferenceRedirect(e.fileName)||!RM(e,t)}function RM(e,t){if(e.checkJsDirective&&e.checkJsDirective.enabled===!1)return!1;if(e.scriptKind===3||e.scriptKind===4||e.scriptKind===5)return!0;const i=(e.scriptKind===1||e.scriptKind===2)&&xM(e,t);return jN(e,t.checkJs)||i||e.scriptKind===7}function Z6(e,t){return e===t||typeof e=="object"&&e!==null&&typeof t=="object"&&t!==null&&rZ(e,t,Z6)}function DM(e){let t;switch(e.charCodeAt(1)){case 98:case 66:t=1;break;case 111:case 79:t=3;break;case 120:case 88:t=4;break;default:const _=e.length-1;let m=0;for(;e.charCodeAt(m)===48;)m++;return e.slice(m,_)||"0"}const r=2,i=e.length-1,o=(i-r)*t,s=new Uint16Array((o>>>4)+(o&15?1:0));for(let _=i-1,m=0;_>=r;_--,m+=t){const y=m>>>4,E=e.charCodeAt(_),R=(E<=57?E-48:10+E-(E<=70?65:97))<<(m&15);s[y]|=R;const N=R>>>16;N&&(s[y+1]|=N)}let l="",u=s.length-1,d=!0;for(;d;){let _=0;d=!1;for(let m=u;m>=0;m--){const y=_<<16|s[m],E=y/10|0;s[m]=E,_=y-E*10,E&&!d&&(u=m,d=!0)}l=_+l}return l}function wS({negative:e,base10Value:t}){return(e&&t!=="0"?"-":"")+t}function Gre(e){if(e4(e,!1))return $V(e)}function $V(e){const t=e.startsWith("-"),r=DM("".concat(t?e.slice(1):e,"n"));return{negative:t,base10Value:r}}function e4(e,t){if(e==="")return!1;const r=fg(99,!1);let i=!0;r.setOnError(()=>i=!1),r.setText(e+"n");let o=r.scan();const s=o===41;s&&(o=r.scan());const l=r.getTokenFlags();return i&&o===10&&r.getTokenEnd()===e.length+1&&!(l&512)&&(!t||e===wS({negative:s,base10Value:DM(r.getTokenValue())}))}function q0(e){return!!(e.flags&33554432)||$N(e)||n6(e)||kVe(e)||LVe(e)||!(F_(e)||PVe(e))}function PVe(e){return Je(e)&&Ud(e.parent)&&e.parent.name===e}function LVe(e){for(;e.kind===80||e.kind===212;)e=e.parent;if(e.kind!==168)return!1;if(fi(e.parent,64))return!0;const t=e.parent.parent.kind;return t===265||t===188}function kVe(e){if(e.kind!==80)return!1;const t=Rn(e.parent,r=>{switch(r.kind){case 299:return!0;case 212:case 234:return!1;default:return"quit"}});return(t==null?void 0:t.token)===119||(t==null?void 0:t.parent.kind)===265}function Vre(e){return Bp(e)&&Je(e.typeName)}function jre(e,t=ab){if(e.length<2)return!0;const r=e[0];for(let i=1,o=e.length;i<o;i++){const s=e[i];if(!t(r,s))return!1}return!0}function CM(e,t){return e.pos=t,e}function gD(e,t){return e.end=t,e}function uh(e,t,r){return gD(CM(e,t),r)}function QV(e,t,r){return uh(e,t,t+r)}function Ure(e,t){return e&&(e.flags=t),e}function ps(e,t){return e&&t&&(e.parent=t),e}function J0(e,t){if(!e)return e;return tx(e,jR(e)?r:o),e;function r(s,l){if(t&&s.parent===l)return"skip";ps(s,l)}function i(s){if(nf(s))for(const l of s.jsDoc)r(l,s),tx(l,r)}function o(s,l){return r(s,l)||i(s)}}function wVe(e){return!qc(e)}function ZV(e){return Dd(e)&&Gn(e.elements,wVe)}function Hre(e){for(C.assertIsDefined(e.parent);;){const t=e.parent;if(zu(t)){e=t;continue}if(od(t)||XI(t)||Z0(t)&&(t.initializer===e||t.incrementor===e))return!0;if(UM(t)){if(e!==Ga(t.elements))return!0;e=t;continue}if(Nr(t)&&t.operatorToken.kind===28){if(e===t.left)return!0;e=t;continue}return!1}}function NM(e){return bt(eF,t=>e.includes(t))}function qre(e){if(!e.parent)return;switch(e.kind){case 169:const{parent:r}=e;return r.kind===196?void 0:r.typeParameters;case 170:return e.parent.parameters;case 205:return e.parent.templateSpans;case 240:return e.parent.templateSpans;case 171:{const{parent:i}=e;return qS(i)?i.modifiers:void 0}case 299:return e.parent.heritageClauses}const{parent:t}=e;if(UR(e))return R1(e.parent)?void 0:e.parent.tags;switch(t.kind){case 188:case 265:return _S(e)?t.members:void 0;case 193:case 194:return t.types;case 190:case 210:case 357:case 276:case 280:return t.elements;case 211:case 293:return t.properties;case 214:case 215:return xi(e)?t.typeArguments:t.expression===e?void 0:t.arguments;case 285:case 289:return K2(e)?t.children:void 0;case 287:case 286:return xi(e)?t.typeArguments:void 0;case 242:case 297:case 298:case 269:return t.statements;case 270:return t.clauses;case 264:case 232:return vc(e)?t.members:void 0;case 267:return gy(e)?t.members:void 0;case 308:return t.statements}}function t4(e){if(!e.typeParameters){if(bt(e.parameters,t=>!Ac(t)))return!0;if(e.kind!==220){const t=Sc(e.parameters);if(!(t&&xb(t)))return!0}}return!1}function MM(e){return e==="Infinity"||e==="-Infinity"||e==="NaN"}function Jre(e){return e.kind===261&&e.parent.kind===300}function Mb(e){return e.kind===219||e.kind===220}function OS(e){return e.replace(/\$/g,()=>"\\$")}function Rg(e){return(+e).toString()===e}function nw(e,t,r,i,o){const s=o&&e==="new";return!s&&_p(e,t)?L.createIdentifier(e):!i&&!s&&Rg(e)&&+e>=0?L.createNumericLiteral(+e):L.createStringLiteral(e,!!r)}function PM(e){return!!(e.flags&262144&&e.isThisType)}function n4(e){let t=0,r=0,i=0,o=0,s;(_=>{_[_.BeforeNodeModules=0]="BeforeNodeModules",_[_.NodeModules=1]="NodeModules",_[_.Scope=2]="Scope",_[_.PackageContent=3]="PackageContent"})(s||(s={}));let l=0,u=0,d=0;for(;u>=0;)switch(l=u,u=e.indexOf("/",l+1),d){case 0:e.indexOf(Mg,l)===l&&(t=l,r=u,d=1);break;case 1:case 2:d===1&&e.charAt(l+1)==="@"?d=2:(i=u,d=3);break;case 3:e.indexOf(Mg,l)===l?d=1:d=3;break}return o=l,d>1?{topLevelNodeModulesIndex:t,topLevelPackageNameIndex:r,packageRootIndex:i,fileNameIndex:o}:void 0}function wI(e){switch(e.kind){case 169:case 264:case 265:case 266:case 267:case 347:case 339:case 341:return!0;case 274:return e.phaseModifier===156;case 277:return e.parent.parent.phaseModifier===156;case 282:return e.parent.parent.isTypeOnly;default:return!1}}function rw(e){return eT(e)||sc(e)||ec(e)||xc(e)||gd(e)||wI(e)||pc(e)&&!TS(e)&&!W_(e)}function iw(e){if(!ON(e))return!1;const{isBracketed:t,typeExpression:r}=e;return t||!!r&&r.type.kind===317}function ej(e,t){if(e.length===0)return!1;const r=e.charCodeAt(0);return r===35?e.length>1&&L_(e.charCodeAt(1),t):L_(r,t)}function Kre(e){var t;return((t=yj(e))==null?void 0:t.kind)===0}function r4(e){return Er(e)&&(e.type&&e.type.kind===317||FR(e).some(iw))}function OI(e){switch(e.kind){case 173:case 172:return!!e.questionToken;case 170:return!!e.questionToken||r4(e);case 349:case 342:return iw(e);default:return!1}}function Xre(e){const t=e.kind;return(t===212||t===213)&&YI(e.expression)}function tj(e){return Er(e)&&zu(e)&&nf(e)&&!!Y9(e)}function nj(e){return C.checkDefined(i4(e))}function i4(e){const t=Y9(e);return t&&t.typeExpression&&t.typeExpression.type}function LM(e){return Je(e)?e.escapedText:WI(e)}function ow(e){return Je(e)?Yr(e):kM(e)}function Yre(e){const t=e.kind;return t===80||t===296}function WI(e){return"".concat(e.namespace.escapedText,":").concat(Yr(e.name))}function kM(e){return"".concat(Yr(e.namespace),":").concat(Yr(e.name))}function rj(e){return Je(e)?Yr(e):kM(e)}function Uf(e){return!!(e.flags&8576)}function Hf(e){return e.flags&8192?e.escapedName:e.flags&384?Pl(""+e.value):C.fail()}function FI(e){return!!e&&(Jr(e)||Bs(e)||Nr(e))}function $re(e){return e===void 0?!1:!!JD(e.attributes)}var OVe=String.prototype.replace;function h1(e,t){return OVe.call(e,"*",t)}function o4(e){return Je(e.name)?e.name.escapedText:Pl(e.name.text)}function Qre(e){switch(e.kind){case 169:case 170:case 173:case 172:case 186:case 185:case 180:case 181:case 182:case 175:case 174:case 176:case 177:case 178:case 179:case 184:case 183:case 187:case 188:case 189:case 190:case 193:case 194:case 197:case 191:case 192:case 198:case 199:case 195:case 196:case 204:case 206:case 203:case 329:case 330:case 347:case 339:case 341:case 346:case 345:case 325:case 326:case 327:case 342:case 349:case 318:case 316:case 315:case 313:case 314:case 323:case 319:case 310:case 334:case 336:case 335:case 351:case 344:case 200:case 201:case 263:case 242:case 269:case 244:case 245:case 246:case 247:case 248:case 249:case 250:case 251:case 252:case 253:case 254:case 255:case 256:case 257:case 258:case 259:case 261:case 209:case 264:case 265:case 266:case 267:case 268:case 273:case 272:case 279:case 278:case 243:case 260:case 283:return!0}return!1}function Hc(e,t=!1,r=!1,i=!1){return{value:e,isSyntacticallyString:t,resolvedOtherFiles:r,hasExternalReferences:i}}function Zre({evaluateElementAccessExpression:e,evaluateEntityNameExpression:t}){function r(o,s){let l=!1,u=!1,d=!1;switch(o=us(o),o.kind){case 225:const _=r(o.operand,s);if(u=_.resolvedOtherFiles,d=_.hasExternalReferences,typeof _.value=="number")switch(o.operator){case 40:return Hc(_.value,l,u,d);case 41:return Hc(-_.value,l,u,d);case 55:return Hc(~_.value,l,u,d)}break;case 227:{const m=r(o.left,s),y=r(o.right,s);if(l=(m.isSyntacticallyString||y.isSyntacticallyString)&&o.operatorToken.kind===40,u=m.resolvedOtherFiles||y.resolvedOtherFiles,d=m.hasExternalReferences||y.hasExternalReferences,typeof m.value=="number"&&typeof y.value=="number")switch(o.operatorToken.kind){case 52:return Hc(m.value|y.value,l,u,d);case 51:return Hc(m.value&y.value,l,u,d);case 49:return Hc(m.value>>y.value,l,u,d);case 50:return Hc(m.value>>>y.value,l,u,d);case 48:return Hc(m.value<<y.value,l,u,d);case 53:return Hc(m.value^y.value,l,u,d);case 42:return Hc(m.value*y.value,l,u,d);case 44:return Hc(m.value/y.value,l,u,d);case 40:return Hc(m.value+y.value,l,u,d);case 41:return Hc(m.value-y.value,l,u,d);case 45:return Hc(m.value%y.value,l,u,d);case 43:return Hc(m.value**y.value,l,u,d)}else if((typeof m.value=="string"||typeof m.value=="number")&&(typeof y.value=="string"||typeof y.value=="number")&&o.operatorToken.kind===40)return Hc(""+m.value+y.value,l,u,d);break}case 11:case 15:return Hc(o.text,!0);case 229:return i(o,s);case 9:return Hc(+o.text);case 80:return t(o,s);case 212:if(Ps(o))return t(o,s);break;case 213:return e(o,s)}return Hc(void 0,l,u,d)}function i(o,s){let l=o.head.text,u=!1,d=!1;for(const _ of o.templateSpans){const m=r(_.expression,s);if(m.value===void 0)return Hc(void 0,!0);l+=m.value,l+=_.literal.text,u||(u=m.resolvedOtherFiles),d||(d=m.hasExternalReferences)}return Hc(l,!0,u,d)}return r}function ij(e){return yS(e)&&zm(e.type)||XM(e)&&zm(e.typeExpression)}function aw(e){const t=e.members;for(const r of t)if(r.kind===177&&gm(r.body))return r}function oj({compilerOptions:e,requireSymbol:t,argumentsSymbol:r,error:i,getSymbolOfDeclaration:o,globals:s,lookup:l,setRequiresScopeChangeCache:u=uS,getRequiresScopeChangeCache:d=uS,onPropertyWithInvalidInitializer:_=ry,onFailedToResolveSymbol:m=uS,onSuccessfullyResolvedSymbol:y=uS}){var E=e.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules",A=FV(e),R=ma();return N;function N(G,j,K,Q,J,he){var re,q,ue;const de=G;let ge,Ae,Re,$,ve,je=!1,be;const ee=jo(j)?j:j.escapedText;e:for(;G;){if(ee==="const"&&ij(G))return;if(q2(G)&&Ae&&G.name===Ae&&(Ae=G,G=G.parent),k_(G)&&G.locals&&!iv(G)&&(ge=l(G.locals,ee,K))){let Se=!0;if(Yo(G)&&Ae&&Ae!==G.body?(K&ge.flags&788968&&Ae.kind!==321&&(Se=ge.flags&262144?!!(Ae.flags&16)||Ae===G.type||Ae.kind===170||Ae.kind===342||Ae.kind===343||Ae.kind===169:!1),K&ge.flags&3&&(M(ge,G,Ae)?Se=!1:ge.flags&1&&(Se=Ae.kind===170||!!(Ae.flags&16)||Ae===G.type&&!!Rn(ge.valueDeclaration,no)))):G.kind===195&&(Se=Ae===G.trueType),Se)break e;ge=void 0}switch(je=je||k(G,Ae),G.kind){case 308:if(!wp(G))break;case 268:const Se=((re=o(G))==null?void 0:re.exports)||R;if(G.kind===308||pc(G)&&G.flags&33554432&&!W_(G)){if(ge=Se.get("default")){const lt=hM(ge);if(lt&&ge.flags&K&<.escapedName===ee)break e;ge=void 0}const ze=Se.get(ee);if(ze&&ze.flags===2097152&&(ul(ze,282)||ul(ze,281)))break}if(ee!=="default"&&(ge=l(Se,ee,K&2623475)))if(Qi(G)&&G.commonJsModuleIndicator&&!((q=ge.declarations)!=null&&q.some(vm)))ge=void 0;else break e;break;case 267:if(ge=l(((ue=o(G))==null?void 0:ue.exports)||R,ee,K&8)){Q&&Sm(e)&&!(G.flags&33554432)&&On(G)!==On(ge.valueDeclaration)&&i(de,f.Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead,Bi(ee),E,"".concat(Bi(o(G).escapedName),".").concat(Bi(ee)));break e}break;case 173:if(!ha(G)){const ze=aw(G.parent);ze&&ze.locals&&l(ze.locals,ee,K&111551)&&(C.assertNode(G,ko),$=G)}break;case 264:case 232:case 265:if(ge=l(o(G).members||R,ee,K&788968)){if(!O(ge,G)){ge=void 0;break}if(Ae&&ha(Ae)){Q&&i(de,f.Static_members_cannot_reference_class_type_parameters);return}break e}if(uc(G)&&K&32){const ze=G.name;if(ze&&ee===ze.escapedText){ge=G.symbol;break e}}break;case 234:if(Ae===G.expression&&G.parent.token===96){const ze=G.parent.parent;if(hi(ze)&&(ge=l(o(ze).members,ee,K&788968))){Q&&i(de,f.Base_class_expressions_cannot_reference_class_type_parameters);return}}break;case 168:if(be=G.parent.parent,(hi(be)||be.kind===265)&&(ge=l(o(be).members,ee,K&788968))){Q&&i(de,f.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);return}break;case 220:if(Va(e)>=2)break;case 175:case 177:case 178:case 179:case 263:if(K&3&&ee==="arguments"){ge=r;break e}break;case 219:if(K&3&&ee==="arguments"){ge=r;break e}if(K&16){const ze=G.name;if(ze&&ee===ze.escapedText){ge=G.symbol;break e}}break;case 171:G.parent&&G.parent.kind===170&&(G=G.parent),G.parent&&(vc(G.parent)||G.parent.kind===264)&&(G=G.parent);break;case 347:case 339:case 341:case 352:const Ne=rD(G);Ne&&(G=Ne.parent);break;case 170:Ae&&(Ae===G.initializer||Ae===G.name&&na(Ae))&&(ve||(ve=G));break;case 209:Ae&&(Ae===G.initializer||Ae===G.name&&na(Ae))&&U0(G)&&!ve&&(ve=G);break;case 196:if(K&262144){const ze=G.typeParameter.name;if(ze&&ee===ze.escapedText){ge=G.typeParameter.symbol;break e}}break;case 282:Ae&&Ae===G.propertyName&&G.parent.parent.moduleSpecifier&&(G=G.parent.parent.parent);break}F(G,Ae)&&(Re=G),Ae=G,G=Am(G)?c6(G)||G.parent:(hf(G)||C4(G))&&G0(G)||G.parent}if(J&&ge&&(!Re||ge!==Re.symbol)&&(ge.isReferenced|=K),!ge){if(Ae&&(C.assertNode(Ae,Qi),Ae.commonJsModuleIndicator&&ee==="exports"&&K&Ae.symbol.flags))return Ae.symbol;he||(ge=l(s,ee,K))}if(!ge&&de&&Er(de)&&de.parent&&tp(de.parent,!1))return t;if(Q){if($&&_(de,ee,$,ge))return;ge?y(de,ge,K,Ae,ve,je):m(de,j,K,Q)}return ge}function M(G,j,K){const Q=Va(e),J=j;if(no(K)&&J.body&&G.valueDeclaration&&G.valueDeclaration.pos>=J.body.pos&&G.valueDeclaration.end<=J.body.end&&Q>=2){let q=d(J);return q===void 0&&(q=Xe(J.parameters,he)||!1,u(J,q)),!q}return!1;function he(q){return re(q.name)||!!q.initializer&&re(q.initializer)}function re(q){switch(q.kind){case 220:case 219:case 263:case 177:return!1;case 175:case 178:case 179:case 304:return re(q.name);case 173:return Lc(q)?!A:re(q.name);default:return Q9(q)||tu(q)?Q<7:qa(q)&&q.dotDotDotToken&&mf(q.parent)?Q<4:xi(q)?!1:Xo(q,re)||!1}}}function k(G,j){return G.kind!==220&&G.kind!==219?FS(G)||(ks(G)||G.kind===173&&!ha(G))&&(!j||j!==G.name):j&&j===G.name?!1:G.asteriskToken||fi(G,1024)?!0:!F0(G)}function F(G,j){switch(G.kind){case 170:return!!j&&j===G.name;case 263:case 264:case 265:case 267:case 266:case 268:return!0;default:return!1}}function O(G,j){if(G.declarations){for(const K of G.declarations)if(K.kind===169&&(Am(K.parent)?IS(K.parent):K.parent)===j)return!(Am(K.parent)&&_n(K.parent.parent.tags,vm))}return!1}}function a4(e,t=!0){switch(C.type(e),e.kind){case 112:case 97:case 9:case 11:case 15:return!0;case 10:return t;case 225:return e.operator===41?ip(e.operand)||t&&bD(e.operand):e.operator===40?ip(e.operand):!1;default:return!1}}function eie(e){for(;e.kind===218;)e=e.expression;return e}function s4(e){switch(C.type(e),e.kind){case 170:case 172:case 173:case 209:case 212:case 213:case 227:case 261:case 278:case 304:case 305:case 342:case 349:return!0;default:return!1}}function aj(e){const t=Rn(e,Sl);return!!t&&!t.importClause}var tie=["assert","assert/strict","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","inspector/promises","module","net","os","path","path/posix","path/win32","perf_hooks","process","punycode","querystring","readline","readline/promises","repl","stream","stream/consumers","stream/promises","stream/web","string_decoder","sys","test/mock_loader","timers","timers/promises","tls","trace_events","tty","url","util","util/types","v8","vm","wasi","worker_threads","zlib"],nie=new Set(tie),l4=new Set(["node:sea","node:sqlite","node:test","node:test/reporters"]),yD=new Set([...tie,...tie.map(e=>"node:".concat(e)),...l4]);function c4(e,t,r,i){const o=Er(e),s=/import|require/g;for(;s.exec(e.text)!==null;){const l=WVe(e,s.lastIndex,t);if(o&&tp(l,r))i(l,l.arguments[0]);else if(ep(l)&&l.arguments.length>=1&&(!r||ds(l.arguments[0])))i(l,l.arguments[0]);else if(t&&ly(l))i(l,l.argument.literal);else if(t&&d_(l)){const u=vI(l);u&&Oa(u)&&u.text&&i(l,u)}}}function WVe(e,t,r){const i=Er(e);let o=e;const s=l=>{if(l.pos<=t&&(t<l.end||t===l.end&&l.kind===1))return l};for(;;){const l=i&&r&&nf(o)&&Xe(o.jsDoc,s)||Xo(o,s);if(!l||E1(l))return o;o=l}}function rie(e){return Yo(e)||gv(e)||T1(e)}function sj(e){return ob(e.fileName)}function lj(e){const t=sj(e);return oU.get(t)}function cj(e,t){return wM(void 0,e,r=>r&&t(r))}function wM(e,t,r,i){let o;return s(e,t,void 0);function s(l,u,d){if(i){const m=i(l,d);if(m)return m}let _;return Xe(u,(m,y)=>{if(m&&(o!=null&&o.has(m.sourceFile.path))){(_!=null?_:_=new Set).add(m);return}const E=r(m,d,y);if(E||!m)return E;(o||(o=new Set)).add(m.sourceFile.path)})||Xe(u,m=>m&&!(_!=null&&_.has(m))?s(m.commandLine.projectReferences,m.references,m):void 0)}}function dj(e,t,r){return e&&FVe(e,t,r)}function FVe(e,t,r){return $R(e,t,i=>Dd(i.initializer)?_n(i.initializer.elements,o=>Oa(o)&&o.text===r):void 0)}function iie(e,t,r){return uj(e,t,i=>Oa(i.initializer)&&i.initializer.text===r?i.initializer:void 0)}function uj(e,t,r){return $R(e,t,r)}function ys(e,t=!0){const r=e&&ySe(e);return r&&!t&&zp(r),J0(r,!1)}function sw(e,t,r){let i=r(e);return i?jr(i,e):i=ySe(e,r),i&&!t&&zp(i),i}function ySe(e,t){const r=t?s=>sw(s,!0,t):ys,o=kn(e,r,void 0,t?s=>s&&pj(s,!0,t):s=>s&&WS(s),r);if(o===e){const s=Oa(e)?jr(L.createStringLiteralFromNode(e),e):ip(e)?jr(L.createNumericLiteral(e.text,e.numericLiteralFlags),e):L.cloneNode(e);return Tt(s,e)}return o.parent=void 0,o}function WS(e,t=!0){if(e){const r=L.createNodeArray(e.map(i=>ys(i,t)),e.hasTrailingComma);return Tt(r,e),r}return e}function pj(e,t,r){return L.createNodeArray(e.map(i=>sw(i,t,r)),e.hasTrailingComma)}function zp(e){fj(e),oie(e)}function fj(e){aie(e,1024,zVe)}function oie(e){aie(e,2048,MV)}function aie(e,t,r){r_(e,t);const i=r(e);i&&aie(i,t,r)}function zVe(e){return Xo(e,t=>t)}function sie(){let e,t,r,i,o;return{createBaseSourceFileNode:s,createBaseIdentifierNode:l,createBasePrivateIdentifierNode:u,createBaseTokenNode:d,createBaseNode:_};function s(m){return new(o||(o=xd.getSourceFileConstructor()))(m,-1,-1)}function l(m){return new(r||(r=xd.getIdentifierConstructor()))(m,-1,-1)}function u(m){return new(i||(i=xd.getPrivateIdentifierConstructor()))(m,-1,-1)}function d(m){return new(t||(t=xd.getTokenConstructor()))(m,-1,-1)}function _(m){return new(e||(e=xd.getNodeConstructor()))(m,-1,-1)}}function lie(e){let t,r;return{getParenthesizeLeftSideOfBinaryForOperator:i,getParenthesizeRightSideOfBinaryForOperator:o,parenthesizeLeftSideOfBinary:m,parenthesizeRightSideOfBinary:y,parenthesizeExpressionOfComputedPropertyName:E,parenthesizeConditionOfConditionalExpression:A,parenthesizeBranchOfConditionalExpression:R,parenthesizeExpressionOfExportDefault:N,parenthesizeExpressionOfNew:M,parenthesizeLeftSideOfAccess:k,parenthesizeOperandOfPostfixUnary:F,parenthesizeOperandOfPrefixUnary:O,parenthesizeExpressionsOfCommaDelimitedList:G,parenthesizeExpressionForDisallowedComma:j,parenthesizeExpressionOfExpressionStatement:K,parenthesizeConciseBodyOfArrowFunction:Q,parenthesizeCheckTypeOfConditionalType:J,parenthesizeExtendsTypeOfConditionalType:he,parenthesizeConstituentTypesOfUnionType:q,parenthesizeConstituentTypeOfUnionType:re,parenthesizeConstituentTypesOfIntersectionType:de,parenthesizeConstituentTypeOfIntersectionType:ue,parenthesizeOperandOfTypeOperator:ge,parenthesizeOperandOfReadonlyTypeOperator:Ae,parenthesizeNonArrayTypeOfPostfixType:Re,parenthesizeElementTypesOfTupleType:$,parenthesizeElementTypeOfTupleType:ve,parenthesizeTypeOfOptionalType:be,parenthesizeTypeArguments:Ne,parenthesizeLeadingTypeArgument:ee};function i(ze){t||(t=new Map);let lt=t.get(ze);return lt||(lt=le=>m(ze,le),t.set(ze,lt)),lt}function o(ze){r||(r=new Map);let lt=r.get(ze);return lt||(lt=le=>y(ze,void 0,le),r.set(ze,lt)),lt}function s(ze,lt){return ze===61?lt===56||lt===57:lt===61?ze===56||ze===57:!1}function l(ze,lt,le,De){const _e=Bm(lt);if(Nr(_e)&&s(ze,_e.operatorToken.kind))return!0;const Ve=Mk(227,ze),Ge=iV(227,ze);if(!le&<.kind===220&&Ve>3)return!0;const Be=cM(_e);switch(Js(Be,Ve)){case-1:return!(!le&&Ge===1&<.kind===230);case 1:return!1;case 0:if(le)return Ge===1;if(Nr(_e)&&_e.operatorToken.kind===ze){if(u(ze))return!1;if(ze===40){const Ot=De?d(De):0;if(WN(Ot)&&Ot===d(_e))return!1}}return rV(_e)===0}}function u(ze){return ze===42||ze===52||ze===51||ze===53||ze===28}function d(ze){if(ze=Bm(ze),WN(ze.kind))return ze.kind;if(ze.kind===227&&ze.operatorToken.kind===40){if(ze.cachedLiteralKind!==void 0)return ze.cachedLiteralKind;const lt=d(ze.left),le=WN(lt)&<===d(ze.right)?lt:0;return ze.cachedLiteralKind=le,le}return 0}function _(ze,lt,le,De){return Bm(lt).kind===218?lt:l(ze,lt,le,De)?e.createParenthesizedExpression(lt):lt}function m(ze,lt){return _(ze,lt,!0)}function y(ze,lt,le){return _(ze,le,!1,lt)}function E(ze){return $M(ze)?e.createParenthesizedExpression(ze):ze}function A(ze){const lt=Mk(228,58),le=Bm(ze),De=cM(le);return Js(De,lt)!==1?e.createParenthesizedExpression(ze):ze}function R(ze){const lt=Bm(ze);return $M(lt)?e.createParenthesizedExpression(ze):ze}function N(ze){const lt=Bm(ze);let le=$M(lt);if(!le)switch(fD(lt,!1).kind){case 232:case 219:le=!0}return le?e.createParenthesizedExpression(ze):ze}function M(ze){const lt=fD(ze,!0);switch(lt.kind){case 214:return e.createParenthesizedExpression(ze);case 215:return lt.arguments?ze:e.createParenthesizedExpression(ze)}return k(ze)}function k(ze,lt){const le=Bm(ze);return Zu(le)&&(le.kind!==215||le.arguments)&&(lt||!tu(le))?ze:Tt(e.createParenthesizedExpression(ze),ze)}function F(ze){return Zu(ze)?ze:Tt(e.createParenthesizedExpression(ze),ze)}function O(ze){return lG(ze)?ze:Tt(e.createParenthesizedExpression(ze),ze)}function G(ze){const lt=Ui(ze,j);return Tt(e.createNodeArray(lt,ze.hasTrailingComma),ze)}function j(ze){const lt=Bm(ze),le=cM(lt),De=Mk(227,28);return le>De?ze:Tt(e.createParenthesizedExpression(ze),ze)}function K(ze){const lt=Bm(ze);if(ra(lt)){const De=lt.expression,_e=Bm(De).kind;if(_e===219||_e===220){const Ve=e.updateCallExpression(lt,Tt(e.createParenthesizedExpression(De),De),lt.typeArguments,lt.arguments);return e.restoreOuterExpressions(ze,Ve,8)}}const le=fD(lt,!1).kind;return le===211||le===219?Tt(e.createParenthesizedExpression(ze),ze):ze}function Q(ze){return!ia(ze)&&($M(ze)||fD(ze,!1).kind===211)?Tt(e.createParenthesizedExpression(ze),ze):ze}function J(ze){switch(ze.kind){case 185:case 186:case 195:return e.createParenthesizedType(ze)}return ze}function he(ze){switch(ze.kind){case 195:return e.createParenthesizedType(ze)}return ze}function re(ze){switch(ze.kind){case 193:case 194:return e.createParenthesizedType(ze)}return J(ze)}function q(ze){return e.createNodeArray(Ui(ze,re))}function ue(ze){switch(ze.kind){case 193:case 194:return e.createParenthesizedType(ze)}return re(ze)}function de(ze){return e.createNodeArray(Ui(ze,ue))}function ge(ze){switch(ze.kind){case 194:return e.createParenthesizedType(ze)}return ue(ze)}function Ae(ze){switch(ze.kind){case 199:return e.createParenthesizedType(ze)}return ge(ze)}function Re(ze){switch(ze.kind){case 196:case 199:case 187:return e.createParenthesizedType(ze)}return ge(ze)}function $(ze){return e.createNodeArray(Ui(ze,ve))}function ve(ze){return je(ze)?e.createParenthesizedType(ze):ze}function je(ze){return CD(ze)?ze.postfix:SD(ze)||G_(ze)||TD(ze)||X0(ze)?je(ze.type):zS(ze)?je(ze.falseType):mv(ze)||KI(ze)?je(Ga(ze.types)):v1(ze)?!!ze.typeParameter.constraint&&je(ze.typeParameter.constraint):!1}function be(ze){return je(ze)?e.createParenthesizedType(ze):Re(ze)}function ee(ze){return bte(ze)&&ze.typeParameters?e.createParenthesizedType(ze):ze}function Se(ze,lt){return lt===0?ee(ze):ze}function Ne(ze){if(bt(ze))return e.createNodeArray(Ui(ze,Se))}}var cie={getParenthesizeLeftSideOfBinaryForOperator:e=>qs,getParenthesizeRightSideOfBinaryForOperator:e=>qs,parenthesizeLeftSideOfBinary:(e,t)=>t,parenthesizeRightSideOfBinary:(e,t,r)=>r,parenthesizeExpressionOfComputedPropertyName:qs,parenthesizeConditionOfConditionalExpression:qs,parenthesizeBranchOfConditionalExpression:qs,parenthesizeExpressionOfExportDefault:qs,parenthesizeExpressionOfNew:e=>va(e,Zu),parenthesizeLeftSideOfAccess:e=>va(e,Zu),parenthesizeOperandOfPostfixUnary:e=>va(e,Zu),parenthesizeOperandOfPrefixUnary:e=>va(e,lG),parenthesizeExpressionsOfCommaDelimitedList:e=>va(e,hS),parenthesizeExpressionForDisallowedComma:qs,parenthesizeExpressionOfExpressionStatement:qs,parenthesizeConciseBodyOfArrowFunction:qs,parenthesizeCheckTypeOfConditionalType:qs,parenthesizeExtendsTypeOfConditionalType:qs,parenthesizeConstituentTypesOfUnionType:e=>va(e,hS),parenthesizeConstituentTypeOfUnionType:qs,parenthesizeConstituentTypesOfIntersectionType:e=>va(e,hS),parenthesizeConstituentTypeOfIntersectionType:qs,parenthesizeOperandOfTypeOperator:qs,parenthesizeOperandOfReadonlyTypeOperator:qs,parenthesizeNonArrayTypeOfPostfixType:qs,parenthesizeElementTypesOfTupleType:e=>va(e,hS),parenthesizeElementTypeOfTupleType:qs,parenthesizeTypeOfOptionalType:qs,parenthesizeTypeArguments:e=>e&&va(e,hS),parenthesizeLeadingTypeArgument:qs};function die(e){return{convertToFunctionBlock:t,convertToFunctionExpression:r,convertToClassExpression:i,convertToArrayAssignmentElement:o,convertToObjectAssignmentElement:s,convertToAssignmentPattern:l,convertToObjectAssignmentPattern:u,convertToArrayAssignmentPattern:d,convertToAssignmentElementTarget:_};function t(m,y){if(ia(m))return m;const E=e.createReturnStatement(m);Tt(E,m);const A=e.createBlock([E],y);return Tt(A,m),A}function r(m){var y;if(!m.body)return C.fail("Cannot convert a FunctionDeclaration without a body");const E=e.createFunctionExpression((y=mS(m))==null?void 0:y.filter(A=>!jI(A)&&!v4(A)),m.asteriskToken,m.name,m.typeParameters,m.parameters,m.type,m.body);return jr(E,m),Tt(E,m),OM(m)&&p4(E,!0),E}function i(m){var y;const E=e.createClassExpression((y=m.modifiers)==null?void 0:y.filter(A=>!jI(A)&&!v4(A)),m.name,m.typeParameters,m.heritageClauses,m.members);return jr(E,m),Tt(E,m),OM(m)&&p4(E,!0),E}function o(m){if(qa(m)){if(m.dotDotDotToken)return C.assertNode(m.name,Je),jr(Tt(e.createSpreadElement(m.name),m),m);const y=_(m.name);return m.initializer?jr(Tt(e.createAssignment(y,m.initializer),m),m):y}return va(m,Et)}function s(m){if(qa(m)){if(m.dotDotDotToken)return C.assertNode(m.name,Je),jr(Tt(e.createSpreadAssignment(m.name),m),m);if(m.propertyName){const y=_(m.name);return jr(Tt(e.createPropertyAssignment(m.propertyName,m.initializer?e.createAssignment(y,m.initializer):y),m),m)}return C.assertNode(m.name,Je),jr(Tt(e.createShorthandPropertyAssignment(m.name,m.initializer),m),m)}return va(m,sy)}function l(m){switch(m.kind){case 208:case 210:return d(m);case 207:case 211:return u(m)}}function u(m){return mf(m)?jr(Tt(e.createObjectLiteralExpression(Gt(m.elements,s)),m),m):va(m,za)}function d(m){return _v(m)?jr(Tt(e.createArrayLiteralExpression(Gt(m.elements,o)),m),m):va(m,Dd)}function _(m){return na(m)?l(m):va(m,Et)}}var uie={convertToFunctionBlock:ba,convertToFunctionExpression:ba,convertToClassExpression:ba,convertToArrayAssignmentElement:ba,convertToObjectAssignmentElement:ba,convertToAssignmentPattern:ba,convertToObjectAssignmentPattern:ba,convertToArrayAssignmentPattern:ba,convertToAssignmentElementTarget:ba},mj=0,pie=(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))(pie||{}),vSe=[];function bSe(e){vSe.push(e)}function lw(e,t){const r=e&8?qs:jr,i=Lu(()=>e&1?cie:lie(k)),o=Lu(()=>e&2?uie:die(k)),s=jh(T=>(P,V)=>ar(P,T,V)),l=jh(T=>P=>pt(T,P)),u=jh(T=>P=>cn(P,T)),d=jh(T=>()=>Bo(T)),_=jh(T=>P=>nA(T,P)),m=jh(T=>(P,V)=>Mr(T,P,V)),y=jh(T=>(P,V)=>Sp(T,P,V)),E=jh(T=>(P,V)=>Zb(T,P,V)),A=jh(T=>(P,V)=>wT(T,P,V)),R=jh(T=>(P,V,pe)=>Wy(T,P,V,pe)),N=jh(T=>(P,V,pe)=>MC(T,P,V,pe)),M=jh(T=>(P,V,pe,tt)=>OT(T,P,V,pe,tt)),k={get parenthesizer(){return i()},get converters(){return o()},baseFactory:t,flags:e,createNodeArray:F,createNumericLiteral:K,createBigIntLiteral:Q,createStringLiteral:he,createStringLiteralFromNode:re,createRegularExpressionLiteral:q,createLiteralLikeNode:ue,createIdentifier:Ae,createTempVariable:Re,createLoopVariable:$,createUniqueName:ve,getGeneratedNameForNode:je,createPrivateIdentifier:ee,createUniquePrivateName:Ne,getGeneratedPrivateNameForNode:ze,createToken:le,createSuper:De,createThis:_e,createNull:Ve,createTrue:Ge,createFalse:Be,createModifier:ot,createModifiersFromModifierFlags:Ot,createQualifiedName:Vt,updateQualifiedName:mn,createComputedPropertyName:Hn,updateComputedPropertyName:gt,createTypeParameterDeclaration:tn,updateTypeParameterDeclaration:ir,createParameterDeclaration:Ri,updateParameterDeclaration:_o,createDecorator:Ht,updateDecorator:Qr,createPropertySignature:go,updatePropertySignature:Ci,createPropertyDeclaration:Ur,updatePropertyDeclaration:Qe,createMethodSignature:It,updateMethodSignature:hn,createMethodDeclaration:pr,updateMethodDeclaration:oi,createConstructorDeclaration:Pn,updateConstructorDeclaration:qo,createGetAccessorDeclaration:Bt,updateGetAccessorDeclaration:ce,createSetAccessorDeclaration:ie,updateSetAccessorDeclaration:We,createCallSignature:dt,updateCallSignature:Lt,createConstructSignature:He,updateConstructSignature:Ct,createIndexSignature:Nt,updateIndexSignature:Wt,createClassStaticBlockDeclaration:Ki,updateClassStaticBlockDeclaration:Zo,createTemplateLiteralTypeSpan:rt,updateTemplateLiteralTypeSpan:Zt,createKeywordTypeNode:Rr,createTypePredicateNode:Oe,updateTypePredicateNode:At,createTypeReferenceNode:ye,updateTypeReferenceNode:B,createFunctionTypeNode:xe,updateFunctionTypeNode:te,createConstructorTypeNode:$t,updateConstructorTypeNode:jt,createTypeQueryNode:fr,updateTypeQueryNode:vt,createTypeLiteralNode:Rt,updateTypeLiteralNode:zt,createArrayTypeNode:Yt,updateArrayTypeNode:An,createTupleTypeNode:vn,updateTupleTypeNode:Ft,createNamedTupleMember:bn,updateNamedTupleMember:Pr,createOptionalTypeNode:tr,updateOptionalTypeNode:kt,createRestTypeNode:ti,updateRestTypeNode:ea,createUnionTypeNode:fs,updateUnionTypeNode:xs,createIntersectionTypeNode:ms,updateIntersectionTypeNode:ro,createConditionalTypeNode:zo,updateConditionalTypeNode:bc,createInferTypeNode:tl,updateInferTypeNode:Ma,createImportTypeNode:Oo,updateImportTypeNode:ga,createParenthesizedType:is,updateParenthesizedType:Ja,createThisTypeNode:nn,createTypeOperatorNode:Ds,updateTypeOperatorNode:ql,createIndexedAccessTypeNode:lc,updateIndexedAccessTypeNode:vd,createMappedTypeNode:Gs,updateMappedTypeNode:Ie,createLiteralTypeNode:Y,updateLiteralTypeNode:ut,createTemplateLiteralType:tc,updateTemplateLiteralType:Tf,createObjectBindingPattern:Jt,updateObjectBindingPattern:fn,createArrayBindingPattern:dr,updateArrayBindingPattern:si,createBindingElement:xr,updateBindingElement:Bn,createArrayLiteralExpression:Zi,updateArrayLiteralExpression:Xi,createObjectLiteralExpression:bs,updateObjectLiteralExpression:Ca,createPropertyAccessExpression:e&4?(T,P)=>Dr(Cc(T,P),262144):Cc,updatePropertyAccessExpression:zc,createPropertyAccessChain:e&4?(T,P,V)=>Dr(ol(T,P,V),262144):ol,updatePropertyAccessChain:al,createElementAccessExpression:xu,updateElementAccessExpression:qd,createElementAccessChain:du,updateElementAccessChain:Fe,createCallExpression:Qn,updateCallExpression:bo,createCallChain:es,updateCallChain:ts,createNewExpression:ja,updateNewExpression:Nc,createTaggedTemplateExpression:sl,updateTaggedTemplateExpression:wl,createTypeAssertion:Jl,updateTypeAssertion:of,createParenthesizedExpression:bd,updateParenthesizedExpression:ld,createFunctionExpression:qp,updateFunctionExpression:Ru,createArrowFunction:Yf,updateArrowFunction:J_,createDeleteExpression:Lg,updateDeleteExpression:kg,createTypeOfExpression:sp,updateTypeOfExpression:Kc,createVoidExpression:vh,updateVoidExpression:Sf,createAwaitExpression:g_,updateAwaitExpression:oe,createPrefixUnaryExpression:pt,updatePrefixUnaryExpression:rn,createPostfixUnaryExpression:cn,updatePostfixUnaryExpression:wn,createBinaryExpression:ar,updateBinaryExpression:Si,createConditionalExpression:eo,updateConditionalExpression:z,createTemplateExpression:Ue,updateTemplateExpression:wt,createTemplateHead:bl,createTemplateMiddle:Pa,createTemplateTail:cd,createNoSubstitutionTemplateLiteral:Jp,createTemplateLiteralLikeNode:Uo,createYieldExpression:Ef,updateYieldExpression:$f,createSpreadElement:xy,updateSpreadElement:Iv,createClassExpression:ju,updateClassExpression:bh,createOmittedExpression:Cm,createExpressionWithTypeArguments:Af,updateExpressionWithTypeArguments:Ry,createAsExpression:$e,updateAsExpression:ft,createNonNullExpression:Qt,updateNonNullExpression:In,createSatisfiesExpression:Yn,updateSatisfiesExpression:kr,createNonNullChain:Kn,updateNonNullChain:ur,createMetaProperty:wi,updateMetaProperty:No,createTemplateSpan:gi,updateTemplateSpan:Io,createSemicolonClassElement:Vi,createBlock:ll,updateBlock:lp,createVariableStatement:Nm,updateVariableStatement:cp,createEmptyStatement:Qf,createExpressionStatement:dp,updateExpressionStatement:wg,createIfStatement:Og,updateIfStatement:xv,createDoStatement:Th,updateDoStatement:K_,createWhileStatement:EC,updateWhileStatement:nL,createForStatement:AC,updateForStatement:Wg,createForInStatement:TT,updateForInStatement:J1,createForOfStatement:Rv,updateForOfStatement:K1,createContinueStatement:Cx,updateContinueStatement:rL,createBreakStatement:X1,updateBreakStatement:Nx,createReturnStatement:ST,updateReturnStatement:IC,createWithStatement:Y1,updateWithStatement:Mx,createSwitchStatement:lE,updateSwitchStatement:Xb,createLabeledStatement:Px,updateLabeledStatement:Lx,createThrowStatement:cE,updateThrowStatement:Yb,createTryStatement:Dv,updateTryStatement:Dy,createDebuggerStatement:Cy,createVariableDeclaration:Ny,updateVariableDeclaration:$b,createVariableDeclarationList:ET,updateVariableDeclarationList:$1,createFunctionDeclaration:AT,updateFunctionDeclaration:ns,createClassDeclaration:xC,updateClassDeclaration:My,createInterfaceDeclaration:Py,updateInterfaceDeclaration:X_,createTypeAliasDeclaration:hl,updateTypeAliasDeclaration:Jd,createEnumDeclaration:up,updateEnumDeclaration:Kd,createModuleDeclaration:IT,updateModuleDeclaration:Du,createModuleBlock:Y_,updateModuleBlock:Uu,createCaseBlock:Mm,updateCaseBlock:Xm,createNamespaceExportDeclaration:xT,updateNamespaceExportDeclaration:RT,createImportEqualsDeclaration:RC,updateImportEqualsDeclaration:Cv,createImportDeclaration:dE,updateImportDeclaration:Ze,createImportClause:Z1,updateImportClause:Fg,createAssertClause:Ym,updateAssertClause:Nv,createAssertEntry:Qb,updateAssertEntry:Cu,createImportTypeAssertionContainer:Sh,updateImportTypeAssertionContainer:Pm,createImportAttributes:DT,updateImportAttributes:Ua,createImportAttribute:If,updateImportAttribute:Mv,createNamespaceImport:eA,updateNamespaceImport:Ly,createNamespaceExport:uE,updateNamespaceExport:Zf,createNamedImports:zg,updateNamedImports:CT,createImportSpecifier:Pv,updateImportSpecifier:y_,createExportAssignment:pE,updateExportAssignment:NT,createExportDeclaration:Kr,updateExportDeclaration:Vr,createNamedExports:tA,updateNamedExports:ky,createExportSpecifier:fE,updateExportSpecifier:DC,createMissingDeclaration:oL,createExternalModuleReference:Br,updateExternalModuleReference:Nu,get createJSDocAllType(){return d(313)},get createJSDocUnknownType(){return d(314)},get createJSDocNonNullableType(){return y(316)},get updateJSDocNonNullableType(){return E(316)},get createJSDocNullableType(){return y(315)},get updateJSDocNullableType(){return E(315)},get createJSDocOptionalType(){return _(317)},get updateJSDocOptionalType(){return m(317)},get createJSDocVariadicType(){return _(319)},get updateJSDocVariadicType(){return m(319)},get createJSDocNamepathType(){return _(320)},get updateJSDocNamepathType(){return m(320)},createJSDocFunctionType:CC,updateJSDocFunctionType:kx,createJSDocTypeLiteral:uu,updateJSDocTypeLiteral:$_,createJSDocTypeExpression:Eh,updateJSDocTypeExpression:e0,createJSDocSignature:rA,updateJSDocSignature:t0,createJSDocTemplateTag:pp,updateJSDocTemplateTag:Lv,createJSDocTypedefTag:MT,updateJSDocTypedefTag:wx,createJSDocParameterTag:PT,updateJSDocParameterTag:n0,createJSDocPropertyTag:Ox,updateJSDocPropertyTag:wy,createJSDocCallbackTag:v_,updateJSDocCallbackTag:r0,createJSDocOverloadTag:LT,updateJSDocOverloadTag:kv,createJSDocAugmentsTag:i0,updateJSDocAugmentsTag:Qm,createJSDocImplementsTag:Oy,updateJSDocImplementsTag:zx,createJSDocSeeTag:Bg,updateJSDocSeeTag:o0,createJSDocImportTag:fp,updateJSDocImportTag:tm,createJSDocNameReference:dd,updateJSDocNameReference:mE,createJSDocMemberName:Gg,updateJSDocMemberName:kT,createJSDocLink:iA,updateJSDocLink:Vg,createJSDocLinkCode:NC,updateJSDocLinkCode:Wx,createJSDocLinkPlain:Fx,updateJSDocLinkPlain:aL,get createJSDocTypeTag(){return N(345)},get updateJSDocTypeTag(){return M(345)},get createJSDocReturnTag(){return N(343)},get updateJSDocReturnTag(){return M(343)},get createJSDocThisTag(){return N(344)},get updateJSDocThisTag(){return M(344)},get createJSDocAuthorTag(){return A(331)},get updateJSDocAuthorTag(){return R(331)},get createJSDocClassTag(){return A(333)},get updateJSDocClassTag(){return R(333)},get createJSDocPublicTag(){return A(334)},get updateJSDocPublicTag(){return R(334)},get createJSDocPrivateTag(){return A(335)},get updateJSDocPrivateTag(){return R(335)},get createJSDocProtectedTag(){return A(336)},get updateJSDocProtectedTag(){return R(336)},get createJSDocReadonlyTag(){return A(337)},get updateJSDocReadonlyTag(){return R(337)},get createJSDocOverrideTag(){return A(338)},get updateJSDocOverrideTag(){return R(338)},get createJSDocDeprecatedTag(){return A(332)},get updateJSDocDeprecatedTag(){return R(332)},get createJSDocThrowsTag(){return N(350)},get updateJSDocThrowsTag(){return M(350)},get createJSDocSatisfiesTag(){return N(351)},get updateJSDocSatisfiesTag(){return M(351)},createJSDocEnumTag:ud,updateJSDocEnumTag:Bx,createJSDocUnknownTag:oA,updateJSDocUnknownTag:mc,createJSDocText:hE,updateJSDocText:Ah,createJSDocComment:a0,updateJSDocComment:wv,createJsxElement:Gx,updateJsxElement:sL,createJsxSelfClosingElement:Gl,updateJsxSelfClosingElement:PC,createJsxOpeningElement:aA,updateJsxOpeningElement:_E,createJsxClosingElement:Vx,updateJsxClosingElement:pu,createJsxFragment:Ep,createJsxText:WT,updateJsxText:Ap,createJsxOpeningFragment:lA,createJsxJsxClosingFragment:jg,updateJsxFragment:sA,createJsxAttribute:jx,updateJsxAttribute:cA,createJsxAttributes:Zm,updateJsxAttributes:Ux,createJsxSpreadAttribute:LC,updateJsxSpreadAttribute:Hx,createJsxExpression:dA,updateJsxExpression:qx,createJsxNamespacedName:Ov,updateJsxNamespacedName:Kp,createCaseClause:b_,updateCaseClause:uA,createDefaultClause:pA,updateDefaultClause:os,createHeritageClause:Fr,updateHeritageClause:Rf,createCatchClause:Xc,updateCatchClause:FT,createPropertyAssignment:fA,updatePropertyAssignment:gE,createShorthandPropertyAssignment:mA,updateShorthandPropertyAssignment:D,createSpreadAssignment:St,updateSpreadAssignment:En,createEnumMember:vi,updateEnumMember:Ni,createSourceFile:xo,updateSourceFile:BT,createRedirectedSourceFile:ki,createBundle:qu,updateBundle:s0,createSyntheticExpression:Jx,createSyntaxList:Lm,createNotEmittedStatement:El,createNotEmittedTypeElement:eh,createPartiallyEmittedExpression:hA,updatePartiallyEmittedExpression:Wv,createCommaListExpression:yE,updateCommaListExpression:Vz,createSyntheticReferenceExpression:lL,updateSyntheticReferenceExpression:Kx,cloneNode:_A,get createComma(){return s(28)},get createAssignment(){return s(64)},get createLogicalOr(){return s(57)},get createLogicalAnd(){return s(56)},get createBitwiseOr(){return s(52)},get createBitwiseXor(){return s(53)},get createBitwiseAnd(){return s(51)},get createStrictEquality(){return s(37)},get createStrictInequality(){return s(38)},get createEquality(){return s(35)},get createInequality(){return s(36)},get createLessThan(){return s(30)},get createLessThanEquals(){return s(33)},get createGreaterThan(){return s(32)},get createGreaterThanEquals(){return s(34)},get createLeftShift(){return s(48)},get createRightShift(){return s(49)},get createUnsignedRightShift(){return s(50)},get createAdd(){return s(40)},get createSubtract(){return s(41)},get createMultiply(){return s(42)},get createDivide(){return s(44)},get createModulo(){return s(45)},get createExponent(){return s(43)},get createPrefixPlus(){return l(40)},get createPrefixMinus(){return l(41)},get createPrefixIncrement(){return l(46)},get createPrefixDecrement(){return l(47)},get createBitwiseNot(){return l(55)},get createLogicalNot(){return l(54)},get createPostfixIncrement(){return u(46)},get createPostfixDecrement(){return u(47)},createImmediatelyInvokedFunctionExpression:jz,createImmediatelyInvokedArrowFunction:vE,createVoidZero:gA,createExportDefault:dL,createExternalModuleExport:Yx,createTypeCheck:uo,createIsNotTypeCheck:c0,createMethodCall:sr,createGlobalMethodCall:bE,createFunctionBindCall:uL,createFunctionCallCall:kC,createFunctionApplyCall:wC,createArraySliceCall:S8,createArrayConcatCall:yA,createObjectDefinePropertyCall:Uz,createObjectGetOwnPropertyDescriptorCall:OC,createReflectGetCall:Q_,createReflectSetCall:E8,createPropertyDescriptor:Hz,createCallBinding:WC,createAssignmentTargetWrapper:T_,inlineExpressions:ne,getInternalName:nt,getLocalName:Pt,getExportName:on,getDeclarationName:yn,getNamespaceMemberName:ni,getExternalModuleOrNamespaceExportName:Or,restoreOuterExpressions:fL,restoreEnclosingLabel:VT,createUseStrictPrologue:so,copyPrologue:mr,copyStandardPrologue:Vs,copyCustomPrologue:Cs,ensureUseStrict:as,liftToBlock:nm,mergeLexicalEnvironment:S_,replaceModifiers:zv,replaceDecoratorsAndModifiers:Ug,replacePropertyName:d0};return Xe(vSe,T=>T(k)),k;function F(T,P){if(T===void 0||T===se)T=[];else if(hS(T)){if(P===void 0||T.hasTrailingComma===P)return T.transformFlags===void 0&&SSe(T),C.attachNodeArrayDebugInfo(T),T;const tt=T.slice();return tt.pos=T.pos,tt.end=T.end,tt.hasTrailingComma=P,tt.transformFlags=T.transformFlags,C.attachNodeArrayDebugInfo(tt),tt}const V=T.length,pe=V>=1&&V<=4?T.slice():T;return pe.pos=-1,pe.end=-1,pe.hasTrailingComma=!!P,pe.transformFlags=0,SSe(pe),C.attachNodeArrayDebugInfo(pe),pe}function O(T){return t.createBaseNode(T)}function G(T){const P=O(T);return P.symbol=void 0,P.localSymbol=void 0,P}function j(T,P){return T!==P&&(T.typeArguments=P.typeArguments),br(T,P)}function K(T,P=0){const V=typeof T=="number"?T+"":T;C.assert(V.charCodeAt(0)!==45,"Negative numbers should be created in combination with createPrefixUnaryExpression");const pe=G(9);return pe.text=V,pe.numericLiteralFlags=P,P&384&&(pe.transformFlags|=1024),pe}function Q(T){const P=lt(10);return P.text=typeof T=="string"?T:wS(T)+"n",P.transformFlags|=32,P}function J(T,P){const V=G(11);return V.text=T,V.singleQuote=P,V}function he(T,P,V){const pe=J(T,P);return pe.hasExtendedUnicodeEscape=V,V&&(pe.transformFlags|=1024),pe}function re(T){const P=J(Bf(T),void 0);return P.textSourceNode=T,P}function q(T){const P=lt(14);return P.text=T,P}function ue(T,P){switch(T){case 9:return K(P,0);case 10:return Q(P);case 11:return he(P,void 0);case 12:return WT(P,!1);case 13:return WT(P,!0);case 14:return q(P);case 15:return Uo(T,P,void 0,0)}}function de(T){const P=t.createBaseIdentifierNode(80);return P.escapedText=T,P.jsDoc=void 0,P.flowNode=void 0,P.symbol=void 0,P}function ge(T,P,V,pe){const tt=de(Pl(T));return fw(tt,{flags:P,id:mj,prefix:V,suffix:pe}),mj++,tt}function Ae(T,P,V){P===void 0&&T&&(P=qE(T)),P===80&&(P=void 0);const pe=de(Pl(T));return V&&(pe.flags|=256),pe.escapedText==="await"&&(pe.transformFlags|=67108864),pe.flags&256&&(pe.transformFlags|=1024),pe}function Re(T,P,V,pe){let tt=1;P&&(tt|=8);const sn=ge("",tt,V,pe);return T&&T(sn),sn}function $(T){let P=2;return T&&(P|=8),ge("",P,void 0,void 0)}function ve(T,P=0,V,pe){return C.assert(!(P&7),"Argument out of range: flags"),C.assert((P&48)!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),ge(T,3|P,V,pe)}function je(T,P=0,V,pe){C.assert(!(P&7),"Argument out of range: flags");const tt=T?mg(T)?iT(!1,V,T,pe,Yr):"generated@".concat(ls(T)):"";(V||pe)&&(P|=16);const sn=ge(tt,4|P,V,pe);return sn.original=T,sn}function be(T){const P=t.createBasePrivateIdentifierNode(81);return P.escapedText=T,P.transformFlags|=16777216,P}function ee(T){return fo(T,"#")||C.fail("First character of private identifier must be #: "+T),be(Pl(T))}function Se(T,P,V,pe){const tt=be(Pl(T));return fw(tt,{flags:P,id:mj,prefix:V,suffix:pe}),mj++,tt}function Ne(T,P,V){T&&!fo(T,"#")&&C.fail("First character of private identifier must be #: "+T);const pe=8|(T?3:1);return Se(T!=null?T:"",pe,P,V)}function ze(T,P,V){const pe=mg(T)?iT(!0,P,T,V,Yr):"#generated@".concat(ls(T)),sn=Se(pe,4|(P||V?16:0),P,V);return sn.original=T,sn}function lt(T){return t.createBaseTokenNode(T)}function le(T){C.assert(T>=0&&T<=166,"Invalid token"),C.assert(T<=15||T>=18,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),C.assert(T<=9||T>=15,"Invalid token. Use 'createLiteralLikeNode' to create literals."),C.assert(T!==80,"Invalid token. Use 'createIdentifier' to create identifiers");const P=lt(T);let V=0;switch(T){case 134:V=384;break;case 160:V=4;break;case 125:case 123:case 124:case 148:case 128:case 138:case 87:case 133:case 150:case 163:case 146:case 151:case 103:case 147:case 164:case 154:case 136:case 155:case 116:case 159:case 157:V=1;break;case 108:V=134218752,P.flowNode=void 0;break;case 126:V=1024;break;case 129:V=16777216;break;case 110:V=16384,P.flowNode=void 0;break}return V&&(P.transformFlags|=V),P}function De(){return le(108)}function _e(){return le(110)}function Ve(){return le(106)}function Ge(){return le(112)}function Be(){return le(97)}function ot(T){return le(T)}function Ot(T){const P=[];return T&32&&P.push(ot(95)),T&128&&P.push(ot(138)),T&2048&&P.push(ot(90)),T&4096&&P.push(ot(87)),T&1&&P.push(ot(125)),T&2&&P.push(ot(123)),T&4&&P.push(ot(124)),T&64&&P.push(ot(128)),T&256&&P.push(ot(126)),T&16&&P.push(ot(164)),T&8&&P.push(ot(148)),T&512&&P.push(ot(129)),T&1024&&P.push(ot(134)),T&8192&&P.push(ot(103)),T&16384&&P.push(ot(147)),P.length?P:void 0}function Vt(T,P){const V=O(167);return V.left=T,V.right=Bc(P),V.transformFlags|=zr(V.left)|cw(V.right),V.flowNode=void 0,V}function mn(T,P,V){return T.left!==P||T.right!==V?br(Vt(P,V),T):T}function Hn(T){const P=O(168);return P.expression=i().parenthesizeExpressionOfComputedPropertyName(T),P.transformFlags|=zr(P.expression)|1024|131072,P}function gt(T,P){return T.expression!==P?br(Hn(P),T):T}function tn(T,P,V,pe){const tt=G(169);return tt.modifiers=cs(T),tt.name=Bc(P),tt.constraint=V,tt.default=pe,tt.transformFlags=1,tt.expression=void 0,tt.jsDoc=void 0,tt}function ir(T,P,V,pe,tt){return T.modifiers!==P||T.name!==V||T.constraint!==pe||T.default!==tt?br(tn(P,V,pe,tt),T):T}function Ri(T,P,V,pe,tt,sn){var Ro,js;const Wr=G(170);return Wr.modifiers=cs(T),Wr.dotDotDotToken=P,Wr.name=Bc(V),Wr.questionToken=pe,Wr.type=tt,Wr.initializer=fu(sn),Rb(Wr.name)?Wr.transformFlags=1:Wr.transformFlags=rs(Wr.modifiers)|zr(Wr.dotDotDotToken)|Pb(Wr.name)|zr(Wr.questionToken)|zr(Wr.initializer)|(((Ro=Wr.questionToken)!=null?Ro:Wr.type)?1:0)|(((js=Wr.dotDotDotToken)!=null?js:Wr.initializer)?1024:0)|(e_(Wr.modifiers)&31?8192:0),Wr.jsDoc=void 0,Wr}function _o(T,P,V,pe,tt,sn,Wr){return T.modifiers!==P||T.dotDotDotToken!==V||T.name!==pe||T.questionToken!==tt||T.type!==sn||T.initializer!==Wr?br(Ri(P,V,pe,tt,sn,Wr),T):T}function Ht(T){const P=O(171);return P.expression=i().parenthesizeLeftSideOfAccess(T,!1),P.transformFlags|=zr(P.expression)|1|8192|33554432,P}function Qr(T,P){return T.expression!==P?br(Ht(P),T):T}function go(T,P,V,pe){const tt=G(172);return tt.modifiers=cs(T),tt.name=Bc(P),tt.type=pe,tt.questionToken=V,tt.transformFlags=1,tt.initializer=void 0,tt.jsDoc=void 0,tt}function Ci(T,P,V,pe,tt){return T.modifiers!==P||T.name!==V||T.questionToken!==pe||T.type!==tt?Cr(go(P,V,pe,tt),T):T}function Cr(T,P){return T!==P&&(T.initializer=P.initializer),br(T,P)}function Ur(T,P,V,pe,tt){const sn=G(173);sn.modifiers=cs(T),sn.name=Bc(P),sn.questionToken=V&&kb(V)?V:void 0,sn.exclamationToken=V&&hw(V)?V:void 0,sn.type=pe,sn.initializer=fu(tt);const Wr=sn.flags&33554432||e_(sn.modifiers)&128;return sn.transformFlags=rs(sn.modifiers)|Pb(sn.name)|zr(sn.initializer)|(Wr||sn.questionToken||sn.exclamationToken||sn.type?1:0)|(Ea(sn.name)||e_(sn.modifiers)&256&&sn.initializer?8192:0)|16777216,sn.jsDoc=void 0,sn}function Qe(T,P,V,pe,tt,sn){return T.modifiers!==P||T.name!==V||T.questionToken!==(pe!==void 0&&kb(pe)?pe:void 0)||T.exclamationToken!==(pe!==void 0&&hw(pe)?pe:void 0)||T.type!==tt||T.initializer!==sn?br(Ur(P,V,pe,tt,sn),T):T}function It(T,P,V,pe,tt,sn){const Wr=G(174);return Wr.modifiers=cs(T),Wr.name=Bc(P),Wr.questionToken=V,Wr.typeParameters=cs(pe),Wr.parameters=cs(tt),Wr.type=sn,Wr.transformFlags=1,Wr.jsDoc=void 0,Wr.locals=void 0,Wr.nextContainer=void 0,Wr.typeArguments=void 0,Wr}function hn(T,P,V,pe,tt,sn,Wr){return T.modifiers!==P||T.name!==V||T.questionToken!==pe||T.typeParameters!==tt||T.parameters!==sn||T.type!==Wr?j(It(P,V,pe,tt,sn,Wr),T):T}function pr(T,P,V,pe,tt,sn,Wr,Ro){const js=G(175);if(js.modifiers=cs(T),js.asteriskToken=P,js.name=Bc(V),js.questionToken=pe,js.exclamationToken=void 0,js.typeParameters=cs(tt),js.parameters=F(sn),js.type=Wr,js.body=Ro,!js.body)js.transformFlags=1;else{const af=e_(js.modifiers)&1024,u0=!!js.asteriskToken,Ih=af&&u0;js.transformFlags=rs(js.modifiers)|zr(js.asteriskToken)|Pb(js.name)|zr(js.questionToken)|rs(js.typeParameters)|rs(js.parameters)|zr(js.type)|zr(js.body)&-67108865|(Ih?128:af?256:u0?2048:0)|(js.questionToken||js.typeParameters||js.type?1:0)|1024}return js.typeArguments=void 0,js.jsDoc=void 0,js.locals=void 0,js.nextContainer=void 0,js.flowNode=void 0,js.endFlowNode=void 0,js.returnFlowNode=void 0,js}function oi(T,P,V,pe,tt,sn,Wr,Ro,js){return T.modifiers!==P||T.asteriskToken!==V||T.name!==pe||T.questionToken!==tt||T.typeParameters!==sn||T.parameters!==Wr||T.type!==Ro||T.body!==js?di(pr(P,V,pe,tt,sn,Wr,Ro,js),T):T}function di(T,P){return T!==P&&(T.exclamationToken=P.exclamationToken),br(T,P)}function Ki(T){const P=G(176);return P.body=T,P.transformFlags=zr(T)|16777216,P.modifiers=void 0,P.jsDoc=void 0,P.locals=void 0,P.nextContainer=void 0,P.endFlowNode=void 0,P.returnFlowNode=void 0,P}function Zo(T,P){return T.body!==P?Da(Ki(P),T):T}function Da(T,P){return T!==P&&(T.modifiers=P.modifiers),br(T,P)}function Pn(T,P,V){const pe=G(177);return pe.modifiers=cs(T),pe.parameters=F(P),pe.body=V,pe.body?pe.transformFlags=rs(pe.modifiers)|rs(pe.parameters)|zr(pe.body)&-67108865|1024:pe.transformFlags=1,pe.typeParameters=void 0,pe.type=void 0,pe.typeArguments=void 0,pe.jsDoc=void 0,pe.locals=void 0,pe.nextContainer=void 0,pe.endFlowNode=void 0,pe.returnFlowNode=void 0,pe}function qo(T,P,V,pe){return T.modifiers!==P||T.parameters!==V||T.body!==pe?at(Pn(P,V,pe),T):T}function at(T,P){return T!==P&&(T.typeParameters=P.typeParameters,T.type=P.type),j(T,P)}function Bt(T,P,V,pe,tt){const sn=G(178);return sn.modifiers=cs(T),sn.name=Bc(P),sn.parameters=F(V),sn.type=pe,sn.body=tt,sn.body?sn.transformFlags=rs(sn.modifiers)|Pb(sn.name)|rs(sn.parameters)|zr(sn.type)|zr(sn.body)&-67108865|(sn.type?1:0):sn.transformFlags=1,sn.typeArguments=void 0,sn.typeParameters=void 0,sn.jsDoc=void 0,sn.locals=void 0,sn.nextContainer=void 0,sn.flowNode=void 0,sn.endFlowNode=void 0,sn.returnFlowNode=void 0,sn}function ce(T,P,V,pe,tt,sn){return T.modifiers!==P||T.name!==V||T.parameters!==pe||T.type!==tt||T.body!==sn?_t(Bt(P,V,pe,tt,sn),T):T}function _t(T,P){return T!==P&&(T.typeParameters=P.typeParameters),j(T,P)}function ie(T,P,V,pe){const tt=G(179);return tt.modifiers=cs(T),tt.name=Bc(P),tt.parameters=F(V),tt.body=pe,tt.body?tt.transformFlags=rs(tt.modifiers)|Pb(tt.name)|rs(tt.parameters)|zr(tt.body)&-67108865|(tt.type?1:0):tt.transformFlags=1,tt.typeArguments=void 0,tt.typeParameters=void 0,tt.type=void 0,tt.jsDoc=void 0,tt.locals=void 0,tt.nextContainer=void 0,tt.flowNode=void 0,tt.endFlowNode=void 0,tt.returnFlowNode=void 0,tt}function We(T,P,V,pe,tt){return T.modifiers!==P||T.name!==V||T.parameters!==pe||T.body!==tt?it(ie(P,V,pe,tt),T):T}function it(T,P){return T!==P&&(T.typeParameters=P.typeParameters,T.type=P.type),j(T,P)}function dt(T,P,V){const pe=G(180);return pe.typeParameters=cs(T),pe.parameters=cs(P),pe.type=V,pe.transformFlags=1,pe.jsDoc=void 0,pe.locals=void 0,pe.nextContainer=void 0,pe.typeArguments=void 0,pe}function Lt(T,P,V,pe){return T.typeParameters!==P||T.parameters!==V||T.type!==pe?j(dt(P,V,pe),T):T}function He(T,P,V){const pe=G(181);return pe.typeParameters=cs(T),pe.parameters=cs(P),pe.type=V,pe.transformFlags=1,pe.jsDoc=void 0,pe.locals=void 0,pe.nextContainer=void 0,pe.typeArguments=void 0,pe}function Ct(T,P,V,pe){return T.typeParameters!==P||T.parameters!==V||T.type!==pe?j(He(P,V,pe),T):T}function Nt(T,P,V){const pe=G(182);return pe.modifiers=cs(T),pe.parameters=cs(P),pe.type=V,pe.transformFlags=1,pe.jsDoc=void 0,pe.locals=void 0,pe.nextContainer=void 0,pe.typeArguments=void 0,pe}function Wt(T,P,V,pe){return T.parameters!==V||T.type!==pe||T.modifiers!==P?j(Nt(P,V,pe),T):T}function rt(T,P){const V=O(205);return V.type=T,V.literal=P,V.transformFlags=1,V}function Zt(T,P,V){return T.type!==P||T.literal!==V?br(rt(P,V),T):T}function Rr(T){return le(T)}function Oe(T,P,V){const pe=O(183);return pe.assertsModifier=T,pe.parameterName=Bc(P),pe.type=V,pe.transformFlags=1,pe}function At(T,P,V,pe){return T.assertsModifier!==P||T.parameterName!==V||T.type!==pe?br(Oe(P,V,pe),T):T}function ye(T,P){const V=O(184);return V.typeName=Bc(T),V.typeArguments=P&&i().parenthesizeTypeArguments(F(P)),V.transformFlags=1,V}function B(T,P,V){return T.typeName!==P||T.typeArguments!==V?br(ye(P,V),T):T}function xe(T,P,V){const pe=G(185);return pe.typeParameters=cs(T),pe.parameters=cs(P),pe.type=V,pe.transformFlags=1,pe.modifiers=void 0,pe.jsDoc=void 0,pe.locals=void 0,pe.nextContainer=void 0,pe.typeArguments=void 0,pe}function te(T,P,V,pe){return T.typeParameters!==P||T.parameters!==V||T.type!==pe?xt(xe(P,V,pe),T):T}function xt(T,P){return T!==P&&(T.modifiers=P.modifiers),j(T,P)}function $t(...T){return T.length===4?Pe(...T):T.length===3?yt(...T):C.fail("Incorrect number of arguments specified.")}function Pe(T,P,V,pe){const tt=G(186);return tt.modifiers=cs(T),tt.typeParameters=cs(P),tt.parameters=cs(V),tt.type=pe,tt.transformFlags=1,tt.jsDoc=void 0,tt.locals=void 0,tt.nextContainer=void 0,tt.typeArguments=void 0,tt}function yt(T,P,V){return Pe(void 0,T,P,V)}function jt(...T){return T.length===5?or(...T):T.length===4?$n(...T):C.fail("Incorrect number of arguments specified.")}function or(T,P,V,pe,tt){return T.modifiers!==P||T.typeParameters!==V||T.parameters!==pe||T.type!==tt?j($t(P,V,pe,tt),T):T}function $n(T,P,V,pe){return or(T,T.modifiers,P,V,pe)}function fr(T,P){const V=O(187);return V.exprName=T,V.typeArguments=P&&i().parenthesizeTypeArguments(P),V.transformFlags=1,V}function vt(T,P,V){return T.exprName!==P||T.typeArguments!==V?br(fr(P,V),T):T}function Rt(T){const P=G(188);return P.members=F(T),P.transformFlags=1,P}function zt(T,P){return T.members!==P?br(Rt(P),T):T}function Yt(T){const P=O(189);return P.elementType=i().parenthesizeNonArrayTypeOfPostfixType(T),P.transformFlags=1,P}function An(T,P){return T.elementType!==P?br(Yt(P),T):T}function vn(T){const P=O(190);return P.elements=F(i().parenthesizeElementTypesOfTupleType(T)),P.transformFlags=1,P}function Ft(T,P){return T.elements!==P?br(vn(P),T):T}function bn(T,P,V,pe){const tt=G(203);return tt.dotDotDotToken=T,tt.name=P,tt.questionToken=V,tt.type=pe,tt.transformFlags=1,tt.jsDoc=void 0,tt}function Pr(T,P,V,pe,tt){return T.dotDotDotToken!==P||T.name!==V||T.questionToken!==pe||T.type!==tt?br(bn(P,V,pe,tt),T):T}function tr(T){const P=O(191);return P.type=i().parenthesizeTypeOfOptionalType(T),P.transformFlags=1,P}function kt(T,P){return T.type!==P?br(tr(P),T):T}function ti(T){const P=O(192);return P.type=T,P.transformFlags=1,P}function ea(T,P){return T.type!==P?br(ti(P),T):T}function wo(T,P,V){const pe=O(T);return pe.types=k.createNodeArray(V(P)),pe.transformFlags=1,pe}function vo(T,P,V){return T.types!==P?br(wo(T.kind,P,V),T):T}function fs(T){return wo(193,T,i().parenthesizeConstituentTypesOfUnionType)}function xs(T,P){return vo(T,P,i().parenthesizeConstituentTypesOfUnionType)}function ms(T){return wo(194,T,i().parenthesizeConstituentTypesOfIntersectionType)}function ro(T,P){return vo(T,P,i().parenthesizeConstituentTypesOfIntersectionType)}function zo(T,P,V,pe){const tt=O(195);return tt.checkType=i().parenthesizeCheckTypeOfConditionalType(T),tt.extendsType=i().parenthesizeExtendsTypeOfConditionalType(P),tt.trueType=V,tt.falseType=pe,tt.transformFlags=1,tt.locals=void 0,tt.nextContainer=void 0,tt}function bc(T,P,V,pe,tt){return T.checkType!==P||T.extendsType!==V||T.trueType!==pe||T.falseType!==tt?br(zo(P,V,pe,tt),T):T}function tl(T){const P=O(196);return P.typeParameter=T,P.transformFlags=1,P}function Ma(T,P){return T.typeParameter!==P?br(tl(P),T):T}function tc(T,P){const V=O(204);return V.head=T,V.templateSpans=F(P),V.transformFlags=1,V}function Tf(T,P,V){return T.head!==P||T.templateSpans!==V?br(tc(P,V),T):T}function Oo(T,P,V,pe,tt=!1){const sn=O(206);return sn.argument=T,sn.attributes=P,sn.assertions&&sn.assertions.assertClause&&sn.attributes&&(sn.assertions.assertClause=sn.attributes),sn.qualifier=V,sn.typeArguments=pe&&i().parenthesizeTypeArguments(pe),sn.isTypeOf=tt,sn.transformFlags=1,sn}function ga(T,P,V,pe,tt,sn=T.isTypeOf){return T.argument!==P||T.attributes!==V||T.qualifier!==pe||T.typeArguments!==tt||T.isTypeOf!==sn?br(Oo(P,V,pe,tt,sn),T):T}function is(T){const P=O(197);return P.type=T,P.transformFlags=1,P}function Ja(T,P){return T.type!==P?br(is(P),T):T}function nn(){const T=O(198);return T.transformFlags=1,T}function Ds(T,P){const V=O(199);return V.operator=T,V.type=T===148?i().parenthesizeOperandOfReadonlyTypeOperator(P):i().parenthesizeOperandOfTypeOperator(P),V.transformFlags=1,V}function ql(T,P){return T.type!==P?br(Ds(T.operator,P),T):T}function lc(T,P){const V=O(200);return V.objectType=i().parenthesizeNonArrayTypeOfPostfixType(T),V.indexType=P,V.transformFlags=1,V}function vd(T,P,V){return T.objectType!==P||T.indexType!==V?br(lc(P,V),T):T}function Gs(T,P,V,pe,tt,sn){const Wr=G(201);return Wr.readonlyToken=T,Wr.typeParameter=P,Wr.nameType=V,Wr.questionToken=pe,Wr.type=tt,Wr.members=sn&&F(sn),Wr.transformFlags=1,Wr.locals=void 0,Wr.nextContainer=void 0,Wr}function Ie(T,P,V,pe,tt,sn,Wr){return T.readonlyToken!==P||T.typeParameter!==V||T.nameType!==pe||T.questionToken!==tt||T.type!==sn||T.members!==Wr?br(Gs(P,V,pe,tt,sn,Wr),T):T}function Y(T){const P=O(202);return P.literal=T,P.transformFlags=1,P}function ut(T,P){return T.literal!==P?br(Y(P),T):T}function Jt(T){const P=O(207);return P.elements=F(T),P.transformFlags|=rs(P.elements)|1024|524288,P.transformFlags&32768&&(P.transformFlags|=65664),P}function fn(T,P){return T.elements!==P?br(Jt(P),T):T}function dr(T){const P=O(208);return P.elements=F(T),P.transformFlags|=rs(P.elements)|1024|524288,P}function si(T,P){return T.elements!==P?br(dr(P),T):T}function xr(T,P,V,pe){const tt=G(209);return tt.dotDotDotToken=T,tt.propertyName=Bc(P),tt.name=Bc(V),tt.initializer=fu(pe),tt.transformFlags|=zr(tt.dotDotDotToken)|Pb(tt.propertyName)|Pb(tt.name)|zr(tt.initializer)|(tt.dotDotDotToken?32768:0)|1024,tt.flowNode=void 0,tt}function Bn(T,P,V,pe,tt){return T.propertyName!==V||T.dotDotDotToken!==P||T.name!==pe||T.initializer!==tt?br(xr(P,V,pe,tt),T):T}function Zi(T,P){const V=O(210),pe=T&&rl(T),tt=F(T,pe&&qc(pe)?!0:void 0);return V.elements=i().parenthesizeExpressionsOfCommaDelimitedList(tt),V.multiLine=P,V.transformFlags|=rs(V.elements),V}function Xi(T,P){return T.elements!==P?br(Zi(P,T.multiLine),T):T}function bs(T,P){const V=G(211);return V.properties=F(T),V.multiLine=P,V.transformFlags|=rs(V.properties),V.jsDoc=void 0,V}function Ca(T,P){return T.properties!==P?br(bs(P,T.multiLine),T):T}function ml(T,P,V){const pe=G(212);return pe.expression=T,pe.questionDotToken=P,pe.name=V,pe.transformFlags=zr(pe.expression)|zr(pe.questionDotToken)|(Je(pe.name)?cw(pe.name):zr(pe.name)|536870912),pe.jsDoc=void 0,pe.flowNode=void 0,pe}function Cc(T,P){const V=ml(i().parenthesizeLeftSideOfAccess(T,!1),void 0,Bc(P));return BM(T)&&(V.transformFlags|=384),V}function zc(T,P,V){return gF(T)?al(T,P,T.questionDotToken,va(V,Je)):T.expression!==P||T.name!==V?br(Cc(P,V),T):T}function ol(T,P,V){const pe=ml(i().parenthesizeLeftSideOfAccess(T,!0),P,Bc(V));return pe.flags|=64,pe.transformFlags|=32,pe}function al(T,P,V,pe){return C.assert(!!(T.flags&64),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),T.expression!==P||T.questionDotToken!==V||T.name!==pe?br(ol(P,V,pe),T):T}function Iu(T,P,V){const pe=G(213);return pe.expression=T,pe.questionDotToken=P,pe.argumentExpression=V,pe.transformFlags|=zr(pe.expression)|zr(pe.questionDotToken)|zr(pe.argumentExpression),pe.jsDoc=void 0,pe.flowNode=void 0,pe}function xu(T,P){const V=Iu(i().parenthesizeLeftSideOfAccess(T,!1),void 0,Bv(P));return BM(T)&&(V.transformFlags|=384),V}function qd(T,P,V){return $9(T)?Fe(T,P,T.questionDotToken,V):T.expression!==P||T.argumentExpression!==V?br(xu(P,V),T):T}function du(T,P,V){const pe=Iu(i().parenthesizeLeftSideOfAccess(T,!0),P,Bv(V));return pe.flags|=64,pe.transformFlags|=32,pe}function Fe(T,P,V,pe){return C.assert(!!(T.flags&64),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),T.expression!==P||T.questionDotToken!==V||T.argumentExpression!==pe?br(du(P,V,pe),T):T}function Xt(T,P,V,pe){const tt=G(214);return tt.expression=T,tt.questionDotToken=P,tt.typeArguments=V,tt.arguments=pe,tt.transformFlags|=zr(tt.expression)|zr(tt.questionDotToken)|rs(tt.typeArguments)|rs(tt.arguments),tt.typeArguments&&(tt.transformFlags|=1),gp(tt.expression)&&(tt.transformFlags|=16384),tt}function Qn(T,P,V){const pe=Xt(i().parenthesizeLeftSideOfAccess(T,!1),void 0,cs(P),i().parenthesizeExpressionsOfCommaDelimitedList(F(V)));return GM(pe.expression)&&(pe.transformFlags|=8388608),pe}function bo(T,P,V,pe){return XE(T)?ts(T,P,T.questionDotToken,V,pe):T.expression!==P||T.typeArguments!==V||T.arguments!==pe?br(Qn(P,V,pe),T):T}function es(T,P,V,pe){const tt=Xt(i().parenthesizeLeftSideOfAccess(T,!0),P,cs(V),i().parenthesizeExpressionsOfCommaDelimitedList(F(pe)));return tt.flags|=64,tt.transformFlags|=32,tt}function ts(T,P,V,pe,tt){return C.assert(!!(T.flags&64),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),T.expression!==P||T.questionDotToken!==V||T.typeArguments!==pe||T.arguments!==tt?br(es(P,V,pe,tt),T):T}function ja(T,P,V){const pe=G(215);return pe.expression=i().parenthesizeExpressionOfNew(T),pe.typeArguments=cs(P),pe.arguments=V?i().parenthesizeExpressionsOfCommaDelimitedList(V):void 0,pe.transformFlags|=zr(pe.expression)|rs(pe.typeArguments)|rs(pe.arguments)|32,pe.typeArguments&&(pe.transformFlags|=1),pe}function Nc(T,P,V,pe){return T.expression!==P||T.typeArguments!==V||T.arguments!==pe?br(ja(P,V,pe),T):T}function sl(T,P,V){const pe=O(216);return pe.tag=i().parenthesizeLeftSideOfAccess(T,!1),pe.typeArguments=cs(P),pe.template=V,pe.transformFlags|=zr(pe.tag)|rs(pe.typeArguments)|zr(pe.template)|1024,pe.typeArguments&&(pe.transformFlags|=1),aV(pe.template)&&(pe.transformFlags|=128),pe}function wl(T,P,V,pe){return T.tag!==P||T.typeArguments!==V||T.template!==pe?br(sl(P,V,pe),T):T}function Jl(T,P){const V=O(217);return V.expression=i().parenthesizeOperandOfPrefixUnary(P),V.type=T,V.transformFlags|=zr(V.expression)|zr(V.type)|1,V}function of(T,P,V){return T.type!==P||T.expression!==V?br(Jl(P,V),T):T}function bd(T){const P=O(218);return P.expression=T,P.transformFlags=zr(P.expression),P.jsDoc=void 0,P}function ld(T,P){return T.expression!==P?br(bd(P),T):T}function qp(T,P,V,pe,tt,sn,Wr){const Ro=G(219);Ro.modifiers=cs(T),Ro.asteriskToken=P,Ro.name=Bc(V),Ro.typeParameters=cs(pe),Ro.parameters=F(tt),Ro.type=sn,Ro.body=Wr;const js=e_(Ro.modifiers)&1024,af=!!Ro.asteriskToken,u0=js&⁡return Ro.transformFlags=rs(Ro.modifiers)|zr(Ro.asteriskToken)|Pb(Ro.name)|rs(Ro.typeParameters)|rs(Ro.parameters)|zr(Ro.type)|zr(Ro.body)&-67108865|(u0?128:js?256:af?2048:0)|(Ro.typeParameters||Ro.type?1:0)|4194304,Ro.typeArguments=void 0,Ro.jsDoc=void 0,Ro.locals=void 0,Ro.nextContainer=void 0,Ro.flowNode=void 0,Ro.endFlowNode=void 0,Ro.returnFlowNode=void 0,Ro}function Ru(T,P,V,pe,tt,sn,Wr,Ro){return T.name!==pe||T.modifiers!==P||T.asteriskToken!==V||T.typeParameters!==tt||T.parameters!==sn||T.type!==Wr||T.body!==Ro?j(qp(P,V,pe,tt,sn,Wr,Ro),T):T}function Yf(T,P,V,pe,tt,sn){const Wr=G(220);Wr.modifiers=cs(T),Wr.typeParameters=cs(P),Wr.parameters=F(V),Wr.type=pe,Wr.equalsGreaterThanToken=tt!=null?tt:le(39),Wr.body=i().parenthesizeConciseBodyOfArrowFunction(sn);const Ro=e_(Wr.modifiers)&1024;return Wr.transformFlags=rs(Wr.modifiers)|rs(Wr.typeParameters)|rs(Wr.parameters)|zr(Wr.type)|zr(Wr.equalsGreaterThanToken)|zr(Wr.body)&-67108865|(Wr.typeParameters||Wr.type?1:0)|(Ro?16640:0)|1024,Wr.typeArguments=void 0,Wr.jsDoc=void 0,Wr.locals=void 0,Wr.nextContainer=void 0,Wr.flowNode=void 0,Wr.endFlowNode=void 0,Wr.returnFlowNode=void 0,Wr}function J_(T,P,V,pe,tt,sn,Wr){return T.modifiers!==P||T.typeParameters!==V||T.parameters!==pe||T.type!==tt||T.equalsGreaterThanToken!==sn||T.body!==Wr?j(Yf(P,V,pe,tt,sn,Wr),T):T}function Lg(T){const P=O(221);return P.expression=i().parenthesizeOperandOfPrefixUnary(T),P.transformFlags|=zr(P.expression),P}function kg(T,P){return T.expression!==P?br(Lg(P),T):T}function sp(T){const P=O(222);return P.expression=i().parenthesizeOperandOfPrefixUnary(T),P.transformFlags|=zr(P.expression),P}function Kc(T,P){return T.expression!==P?br(sp(P),T):T}function vh(T){const P=O(223);return P.expression=i().parenthesizeOperandOfPrefixUnary(T),P.transformFlags|=zr(P.expression),P}function Sf(T,P){return T.expression!==P?br(vh(P),T):T}function g_(T){const P=O(224);return P.expression=i().parenthesizeOperandOfPrefixUnary(T),P.transformFlags|=zr(P.expression)|256|128|2097152,P}function oe(T,P){return T.expression!==P?br(g_(P),T):T}function pt(T,P){const V=O(225);return V.operator=T,V.operand=i().parenthesizeOperandOfPrefixUnary(P),V.transformFlags|=zr(V.operand),(T===46||T===47)&&Je(V.operand)&&!yl(V.operand)&&!yy(V.operand)&&(V.transformFlags|=268435456),V}function rn(T,P){return T.operand!==P?br(pt(T.operator,P),T):T}function cn(T,P){const V=O(226);return V.operator=P,V.operand=i().parenthesizeOperandOfPostfixUnary(T),V.transformFlags|=zr(V.operand),Je(V.operand)&&!yl(V.operand)&&!yy(V.operand)&&(V.transformFlags|=268435456),V}function wn(T,P){return T.operand!==P?br(cn(P,T.operator),T):T}function ar(T,P,V){const pe=G(227),tt=$x(P),sn=tt.kind;return pe.left=i().parenthesizeLeftSideOfBinary(sn,T),pe.operatorToken=tt,pe.right=i().parenthesizeRightSideOfBinary(sn,pe.left,V),pe.transformFlags|=zr(pe.left)|zr(pe.operatorToken)|zr(pe.right),sn===61?pe.transformFlags|=32:sn===64?za(pe.left)?pe.transformFlags|=5248|ri(pe.left):Dd(pe.left)&&(pe.transformFlags|=5120|ri(pe.left)):sn===43||sn===68?pe.transformFlags|=512:fM(sn)&&(pe.transformFlags|=16),sn===103&&to(pe.left)&&(pe.transformFlags|=536870912),pe.jsDoc=void 0,pe}function ri(T){return Cw(T)?65536:0}function Si(T,P,V,pe){return T.left!==P||T.operatorToken!==V||T.right!==pe?br(ar(P,V,pe),T):T}function eo(T,P,V,pe,tt){const sn=O(228);return sn.condition=i().parenthesizeConditionOfConditionalExpression(T),sn.questionToken=P!=null?P:le(58),sn.whenTrue=i().parenthesizeBranchOfConditionalExpression(V),sn.colonToken=pe!=null?pe:le(59),sn.whenFalse=i().parenthesizeBranchOfConditionalExpression(tt),sn.transformFlags|=zr(sn.condition)|zr(sn.questionToken)|zr(sn.whenTrue)|zr(sn.colonToken)|zr(sn.whenFalse),sn.flowNodeWhenFalse=void 0,sn.flowNodeWhenTrue=void 0,sn}function z(T,P,V,pe,tt,sn){return T.condition!==P||T.questionToken!==V||T.whenTrue!==pe||T.colonToken!==tt||T.whenFalse!==sn?br(eo(P,V,pe,tt,sn),T):T}function Ue(T,P){const V=O(229);return V.head=T,V.templateSpans=F(P),V.transformFlags|=zr(V.head)|rs(V.templateSpans)|1024,V}function wt(T,P,V){return T.head!==P||T.templateSpans!==V?br(Ue(P,V),T):T}function Nn(T,P,V,pe=0){C.assert(!(pe&-7177),"Unsupported template flags.");let tt;if(V!==void 0&&V!==P&&(tt=BVe(T,V),typeof tt=="object"))return C.fail("Invalid raw text");if(P===void 0){if(tt===void 0)return C.fail("Arguments 'text' and 'rawText' may not both be undefined.");P=tt}else tt!==void 0&&C.assert(P===tt,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return P}function To(T){let P=1024;return T&&(P|=128),P}function oa(T,P,V,pe){const tt=lt(T);return tt.text=P,tt.rawText=V,tt.templateFlags=pe&7176,tt.transformFlags=To(tt.templateFlags),tt}function Ao(T,P,V,pe){const tt=G(T);return tt.text=P,tt.rawText=V,tt.templateFlags=pe&7176,tt.transformFlags=To(tt.templateFlags),tt}function Uo(T,P,V,pe){return T===15?Ao(T,P,V,pe):oa(T,P,V,pe)}function bl(T,P,V){return T=Nn(16,T,P,V),Uo(16,T,P,V)}function Pa(T,P,V){return T=Nn(16,T,P,V),Uo(17,T,P,V)}function cd(T,P,V){return T=Nn(16,T,P,V),Uo(18,T,P,V)}function Jp(T,P,V){return T=Nn(16,T,P,V),Ao(15,T,P,V)}function Ef(T,P){C.assert(!T||!!P,"A `YieldExpression` with an asteriskToken must have an expression.");const V=O(230);return V.expression=P&&i().parenthesizeExpressionForDisallowedComma(P),V.asteriskToken=T,V.transformFlags|=zr(V.expression)|zr(V.asteriskToken)|1024|128|1048576,V}function $f(T,P,V){return T.expression!==V||T.asteriskToken!==P?br(Ef(P,V),T):T}function xy(T){const P=O(231);return P.expression=i().parenthesizeExpressionForDisallowedComma(T),P.transformFlags|=zr(P.expression)|1024|32768,P}function Iv(T,P){return T.expression!==P?br(xy(P),T):T}function ju(T,P,V,pe,tt){const sn=G(232);return sn.modifiers=cs(T),sn.name=Bc(P),sn.typeParameters=cs(V),sn.heritageClauses=cs(pe),sn.members=F(tt),sn.transformFlags|=rs(sn.modifiers)|Pb(sn.name)|rs(sn.typeParameters)|rs(sn.heritageClauses)|rs(sn.members)|(sn.typeParameters?1:0)|1024,sn.jsDoc=void 0,sn}function bh(T,P,V,pe,tt,sn){return T.modifiers!==P||T.name!==V||T.typeParameters!==pe||T.heritageClauses!==tt||T.members!==sn?br(ju(P,V,pe,tt,sn),T):T}function Cm(){return O(233)}function Af(T,P){const V=O(234);return V.expression=i().parenthesizeLeftSideOfAccess(T,!1),V.typeArguments=P&&i().parenthesizeTypeArguments(P),V.transformFlags|=zr(V.expression)|rs(V.typeArguments)|1024,V}function Ry(T,P,V){return T.expression!==P||T.typeArguments!==V?br(Af(P,V),T):T}function $e(T,P){const V=O(235);return V.expression=T,V.type=P,V.transformFlags|=zr(V.expression)|zr(V.type)|1,V}function ft(T,P,V){return T.expression!==P||T.type!==V?br($e(P,V),T):T}function Qt(T){const P=O(236);return P.expression=i().parenthesizeLeftSideOfAccess(T,!1),P.transformFlags|=zr(P.expression)|1,P}function In(T,P){return vF(T)?ur(T,P):T.expression!==P?br(Qt(P),T):T}function Yn(T,P){const V=O(239);return V.expression=T,V.type=P,V.transformFlags|=zr(V.expression)|zr(V.type)|1,V}function kr(T,P,V){return T.expression!==P||T.type!==V?br(Yn(P,V),T):T}function Kn(T){const P=O(236);return P.flags|=64,P.expression=i().parenthesizeLeftSideOfAccess(T,!0),P.transformFlags|=zr(P.expression)|1,P}function ur(T,P){return C.assert(!!(T.flags&64),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),T.expression!==P?br(Kn(P),T):T}function wi(T,P){const V=O(237);switch(V.keywordToken=T,V.name=P,V.transformFlags|=zr(V.name),T){case 105:V.transformFlags|=1024;break;case 102:V.transformFlags|=32;break;default:return C.assertNever(T)}return V.flowNode=void 0,V}function No(T,P){return T.name!==P?br(wi(T.keywordToken,P),T):T}function gi(T,P){const V=O(240);return V.expression=T,V.literal=P,V.transformFlags|=zr(V.expression)|zr(V.literal)|1024,V}function Io(T,P,V){return T.expression!==P||T.literal!==V?br(gi(P,V),T):T}function Vi(){const T=O(241);return T.transformFlags|=1024,T}function ll(T,P){const V=O(242);return V.statements=F(T),V.multiLine=P,V.transformFlags|=rs(V.statements),V.jsDoc=void 0,V.locals=void 0,V.nextContainer=void 0,V}function lp(T,P){return T.statements!==P?br(ll(P,T.multiLine),T):T}function Nm(T,P){const V=O(244);return V.modifiers=cs(T),V.declarationList=Lo(P)?ET(P):P,V.transformFlags|=rs(V.modifiers)|zr(V.declarationList),e_(V.modifiers)&128&&(V.transformFlags=1),V.jsDoc=void 0,V.flowNode=void 0,V}function cp(T,P,V){return T.modifiers!==P||T.declarationList!==V?br(Nm(P,V),T):T}function Qf(){const T=O(243);return T.jsDoc=void 0,T}function dp(T){const P=O(245);return P.expression=i().parenthesizeExpressionOfExpressionStatement(T),P.transformFlags|=zr(P.expression),P.jsDoc=void 0,P.flowNode=void 0,P}function wg(T,P){return T.expression!==P?br(dp(P),T):T}function Og(T,P,V){const pe=O(246);return pe.expression=T,pe.thenStatement=Hg(P),pe.elseStatement=Hg(V),pe.transformFlags|=zr(pe.expression)|zr(pe.thenStatement)|zr(pe.elseStatement),pe.jsDoc=void 0,pe.flowNode=void 0,pe}function xv(T,P,V,pe){return T.expression!==P||T.thenStatement!==V||T.elseStatement!==pe?br(Og(P,V,pe),T):T}function Th(T,P){const V=O(247);return V.statement=Hg(T),V.expression=P,V.transformFlags|=zr(V.statement)|zr(V.expression),V.jsDoc=void 0,V.flowNode=void 0,V}function K_(T,P,V){return T.statement!==P||T.expression!==V?br(Th(P,V),T):T}function EC(T,P){const V=O(248);return V.expression=T,V.statement=Hg(P),V.transformFlags|=zr(V.expression)|zr(V.statement),V.jsDoc=void 0,V.flowNode=void 0,V}function nL(T,P,V){return T.expression!==P||T.statement!==V?br(EC(P,V),T):T}function AC(T,P,V,pe){const tt=O(249);return tt.initializer=T,tt.condition=P,tt.incrementor=V,tt.statement=Hg(pe),tt.transformFlags|=zr(tt.initializer)|zr(tt.condition)|zr(tt.incrementor)|zr(tt.statement),tt.jsDoc=void 0,tt.locals=void 0,tt.nextContainer=void 0,tt.flowNode=void 0,tt}function Wg(T,P,V,pe,tt){return T.initializer!==P||T.condition!==V||T.incrementor!==pe||T.statement!==tt?br(AC(P,V,pe,tt),T):T}function TT(T,P,V){const pe=O(250);return pe.initializer=T,pe.expression=P,pe.statement=Hg(V),pe.transformFlags|=zr(pe.initializer)|zr(pe.expression)|zr(pe.statement),pe.jsDoc=void 0,pe.locals=void 0,pe.nextContainer=void 0,pe.flowNode=void 0,pe}function J1(T,P,V,pe){return T.initializer!==P||T.expression!==V||T.statement!==pe?br(TT(P,V,pe),T):T}function Rv(T,P,V,pe){const tt=O(251);return tt.awaitModifier=T,tt.initializer=P,tt.expression=i().parenthesizeExpressionForDisallowedComma(V),tt.statement=Hg(pe),tt.transformFlags|=zr(tt.awaitModifier)|zr(tt.initializer)|zr(tt.expression)|zr(tt.statement)|1024,T&&(tt.transformFlags|=128),tt.jsDoc=void 0,tt.locals=void 0,tt.nextContainer=void 0,tt.flowNode=void 0,tt}function K1(T,P,V,pe,tt){return T.awaitModifier!==P||T.initializer!==V||T.expression!==pe||T.statement!==tt?br(Rv(P,V,pe,tt),T):T}function Cx(T){const P=O(252);return P.label=Bc(T),P.transformFlags|=zr(P.label)|4194304,P.jsDoc=void 0,P.flowNode=void 0,P}function rL(T,P){return T.label!==P?br(Cx(P),T):T}function X1(T){const P=O(253);return P.label=Bc(T),P.transformFlags|=zr(P.label)|4194304,P.jsDoc=void 0,P.flowNode=void 0,P}function Nx(T,P){return T.label!==P?br(X1(P),T):T}function ST(T){const P=O(254);return P.expression=T,P.transformFlags|=zr(P.expression)|128|4194304,P.jsDoc=void 0,P.flowNode=void 0,P}function IC(T,P){return T.expression!==P?br(ST(P),T):T}function Y1(T,P){const V=O(255);return V.expression=T,V.statement=Hg(P),V.transformFlags|=zr(V.expression)|zr(V.statement),V.jsDoc=void 0,V.flowNode=void 0,V}function Mx(T,P,V){return T.expression!==P||T.statement!==V?br(Y1(P,V),T):T}function lE(T,P){const V=O(256);return V.expression=i().parenthesizeExpressionForDisallowedComma(T),V.caseBlock=P,V.transformFlags|=zr(V.expression)|zr(V.caseBlock),V.jsDoc=void 0,V.flowNode=void 0,V.possiblyExhaustive=!1,V}function Xb(T,P,V){return T.expression!==P||T.caseBlock!==V?br(lE(P,V),T):T}function Px(T,P){const V=O(257);return V.label=Bc(T),V.statement=Hg(P),V.transformFlags|=zr(V.label)|zr(V.statement),V.jsDoc=void 0,V.flowNode=void 0,V}function Lx(T,P,V){return T.label!==P||T.statement!==V?br(Px(P,V),T):T}function cE(T){const P=O(258);return P.expression=T,P.transformFlags|=zr(P.expression),P.jsDoc=void 0,P.flowNode=void 0,P}function Yb(T,P){return T.expression!==P?br(cE(P),T):T}function Dv(T,P,V){const pe=O(259);return pe.tryBlock=T,pe.catchClause=P,pe.finallyBlock=V,pe.transformFlags|=zr(pe.tryBlock)|zr(pe.catchClause)|zr(pe.finallyBlock),pe.jsDoc=void 0,pe.flowNode=void 0,pe}function Dy(T,P,V,pe){return T.tryBlock!==P||T.catchClause!==V||T.finallyBlock!==pe?br(Dv(P,V,pe),T):T}function Cy(){const T=O(260);return T.jsDoc=void 0,T.flowNode=void 0,T}function Ny(T,P,V,pe){var sn;const tt=G(261);return tt.name=Bc(T),tt.exclamationToken=P,tt.type=V,tt.initializer=fu(pe),tt.transformFlags|=Pb(tt.name)|zr(tt.initializer)|(((sn=tt.exclamationToken)!=null?sn:tt.type)?1:0),tt.jsDoc=void 0,tt}function $b(T,P,V,pe,tt){return T.name!==P||T.type!==pe||T.exclamationToken!==V||T.initializer!==tt?br(Ny(P,V,pe,tt),T):T}function ET(T,P=0){const V=O(262);return V.flags|=P&7,V.declarations=F(T),V.transformFlags|=rs(V.declarations)|4194304,P&7&&(V.transformFlags|=263168),P&4&&(V.transformFlags|=4),V}function $1(T,P){return T.declarations!==P?br(ET(P,T.flags),T):T}function AT(T,P,V,pe,tt,sn,Wr){const Ro=G(263);if(Ro.modifiers=cs(T),Ro.asteriskToken=P,Ro.name=Bc(V),Ro.typeParameters=cs(pe),Ro.parameters=F(tt),Ro.type=sn,Ro.body=Wr,!Ro.body||e_(Ro.modifiers)&128)Ro.transformFlags=1;else{const js=e_(Ro.modifiers)&1024,af=!!Ro.asteriskToken,u0=js&⁡Ro.transformFlags=rs(Ro.modifiers)|zr(Ro.asteriskToken)|Pb(Ro.name)|rs(Ro.typeParameters)|rs(Ro.parameters)|zr(Ro.type)|zr(Ro.body)&-67108865|(u0?128:js?256:af?2048:0)|(Ro.typeParameters||Ro.type?1:0)|4194304}return Ro.typeArguments=void 0,Ro.jsDoc=void 0,Ro.locals=void 0,Ro.nextContainer=void 0,Ro.endFlowNode=void 0,Ro.returnFlowNode=void 0,Ro}function ns(T,P,V,pe,tt,sn,Wr,Ro){return T.modifiers!==P||T.asteriskToken!==V||T.name!==pe||T.typeParameters!==tt||T.parameters!==sn||T.type!==Wr||T.body!==Ro?Q1(AT(P,V,pe,tt,sn,Wr,Ro),T):T}function Q1(T,P){return T!==P&&T.modifiers===P.modifiers&&(T.modifiers=P.modifiers),j(T,P)}function xC(T,P,V,pe,tt){const sn=G(264);return sn.modifiers=cs(T),sn.name=Bc(P),sn.typeParameters=cs(V),sn.heritageClauses=cs(pe),sn.members=F(tt),e_(sn.modifiers)&128?sn.transformFlags=1:(sn.transformFlags|=rs(sn.modifiers)|Pb(sn.name)|rs(sn.typeParameters)|rs(sn.heritageClauses)|rs(sn.members)|(sn.typeParameters?1:0)|1024,sn.transformFlags&8192&&(sn.transformFlags|=1)),sn.jsDoc=void 0,sn}function My(T,P,V,pe,tt,sn){return T.modifiers!==P||T.name!==V||T.typeParameters!==pe||T.heritageClauses!==tt||T.members!==sn?br(xC(P,V,pe,tt,sn),T):T}function Py(T,P,V,pe,tt){const sn=G(265);return sn.modifiers=cs(T),sn.name=Bc(P),sn.typeParameters=cs(V),sn.heritageClauses=cs(pe),sn.members=F(tt),sn.transformFlags=1,sn.jsDoc=void 0,sn}function X_(T,P,V,pe,tt,sn){return T.modifiers!==P||T.name!==V||T.typeParameters!==pe||T.heritageClauses!==tt||T.members!==sn?br(Py(P,V,pe,tt,sn),T):T}function hl(T,P,V,pe){const tt=G(266);return tt.modifiers=cs(T),tt.name=Bc(P),tt.typeParameters=cs(V),tt.type=pe,tt.transformFlags=1,tt.jsDoc=void 0,tt.locals=void 0,tt.nextContainer=void 0,tt}function Jd(T,P,V,pe,tt){return T.modifiers!==P||T.name!==V||T.typeParameters!==pe||T.type!==tt?br(hl(P,V,pe,tt),T):T}function up(T,P,V){const pe=G(267);return pe.modifiers=cs(T),pe.name=Bc(P),pe.members=F(V),pe.transformFlags|=rs(pe.modifiers)|zr(pe.name)|rs(pe.members)|1,pe.transformFlags&=-67108865,pe.jsDoc=void 0,pe}function Kd(T,P,V,pe){return T.modifiers!==P||T.name!==V||T.members!==pe?br(up(P,V,pe),T):T}function IT(T,P,V,pe=0){const tt=G(268);return tt.modifiers=cs(T),tt.flags|=pe&2088,tt.name=P,tt.body=V,e_(tt.modifiers)&128?tt.transformFlags=1:tt.transformFlags|=rs(tt.modifiers)|zr(tt.name)|zr(tt.body)|1,tt.transformFlags&=-67108865,tt.jsDoc=void 0,tt.locals=void 0,tt.nextContainer=void 0,tt}function Du(T,P,V,pe){return T.modifiers!==P||T.name!==V||T.body!==pe?br(IT(P,V,pe,T.flags),T):T}function Y_(T){const P=O(269);return P.statements=F(T),P.transformFlags|=rs(P.statements),P.jsDoc=void 0,P}function Uu(T,P){return T.statements!==P?br(Y_(P),T):T}function Mm(T){const P=O(270);return P.clauses=F(T),P.transformFlags|=rs(P.clauses),P.locals=void 0,P.nextContainer=void 0,P}function Xm(T,P){return T.clauses!==P?br(Mm(P),T):T}function xT(T){const P=G(271);return P.name=Bc(T),P.transformFlags|=cw(P.name)|1,P.modifiers=void 0,P.jsDoc=void 0,P}function RT(T,P){return T.name!==P?iL(xT(P),T):T}function iL(T,P){return T!==P&&(T.modifiers=P.modifiers),br(T,P)}function RC(T,P,V,pe){const tt=G(272);return tt.modifiers=cs(T),tt.name=Bc(V),tt.isTypeOnly=P,tt.moduleReference=pe,tt.transformFlags|=rs(tt.modifiers)|cw(tt.name)|zr(tt.moduleReference),_y(tt.moduleReference)||(tt.transformFlags|=1),tt.transformFlags&=-67108865,tt.jsDoc=void 0,tt}function Cv(T,P,V,pe,tt){return T.modifiers!==P||T.isTypeOnly!==V||T.name!==pe||T.moduleReference!==tt?br(RC(P,V,pe,tt),T):T}function dE(T,P,V,pe){const tt=O(273);return tt.modifiers=cs(T),tt.importClause=P,tt.moduleSpecifier=V,tt.attributes=tt.assertClause=pe,tt.transformFlags|=zr(tt.importClause)|zr(tt.moduleSpecifier),tt.transformFlags&=-67108865,tt.jsDoc=void 0,tt}function Ze(T,P,V,pe,tt){return T.modifiers!==P||T.importClause!==V||T.moduleSpecifier!==pe||T.attributes!==tt?br(dE(P,V,pe,tt),T):T}function Z1(T,P,V){const pe=G(274);return typeof T=="boolean"&&(T=T?156:void 0),pe.isTypeOnly=T===156,pe.phaseModifier=T,pe.name=P,pe.namedBindings=V,pe.transformFlags|=zr(pe.name)|zr(pe.namedBindings),T===156&&(pe.transformFlags|=1),pe.transformFlags&=-67108865,pe}function Fg(T,P,V,pe){return typeof P=="boolean"&&(P=P?156:void 0),T.phaseModifier!==P||T.name!==V||T.namedBindings!==pe?br(Z1(P,V,pe),T):T}function Ym(T,P){const V=O(301);return V.elements=F(T),V.multiLine=P,V.token=132,V.transformFlags|=4,V}function Nv(T,P,V){return T.elements!==P||T.multiLine!==V?br(Ym(P,V),T):T}function Qb(T,P){const V=O(302);return V.name=T,V.value=P,V.transformFlags|=4,V}function Cu(T,P,V){return T.name!==P||T.value!==V?br(Qb(P,V),T):T}function Sh(T,P){const V=O(303);return V.assertClause=T,V.multiLine=P,V}function Pm(T,P,V){return T.assertClause!==P||T.multiLine!==V?br(Sh(P,V),T):T}function DT(T,P,V){const pe=O(301);return pe.token=V!=null?V:118,pe.elements=F(T),pe.multiLine=P,pe.transformFlags|=4,pe}function Ua(T,P,V){return T.elements!==P||T.multiLine!==V?br(DT(P,V,T.token),T):T}function If(T,P){const V=O(302);return V.name=T,V.value=P,V.transformFlags|=4,V}function Mv(T,P,V){return T.name!==P||T.value!==V?br(If(P,V),T):T}function eA(T){const P=G(275);return P.name=T,P.transformFlags|=zr(P.name),P.transformFlags&=-67108865,P}function Ly(T,P){return T.name!==P?br(eA(P),T):T}function uE(T){const P=G(281);return P.name=T,P.transformFlags|=zr(P.name)|32,P.transformFlags&=-67108865,P}function Zf(T,P){return T.name!==P?br(uE(P),T):T}function zg(T){const P=O(276);return P.elements=F(T),P.transformFlags|=rs(P.elements),P.transformFlags&=-67108865,P}function CT(T,P){return T.elements!==P?br(zg(P),T):T}function Pv(T,P,V){const pe=G(277);return pe.isTypeOnly=T,pe.propertyName=P,pe.name=V,pe.transformFlags|=zr(pe.propertyName)|zr(pe.name),pe.transformFlags&=-67108865,pe}function y_(T,P,V,pe){return T.isTypeOnly!==P||T.propertyName!==V||T.name!==pe?br(Pv(P,V,pe),T):T}function pE(T,P,V){const pe=G(278);return pe.modifiers=cs(T),pe.isExportEquals=P,pe.expression=P?i().parenthesizeRightSideOfBinary(64,void 0,V):i().parenthesizeExpressionOfExportDefault(V),pe.transformFlags|=rs(pe.modifiers)|zr(pe.expression),pe.transformFlags&=-67108865,pe.jsDoc=void 0,pe}function NT(T,P,V){return T.modifiers!==P||T.expression!==V?br(pE(P,T.isExportEquals,V),T):T}function Kr(T,P,V,pe,tt){const sn=G(279);return sn.modifiers=cs(T),sn.isTypeOnly=P,sn.exportClause=V,sn.moduleSpecifier=pe,sn.attributes=sn.assertClause=tt,sn.transformFlags|=rs(sn.modifiers)|zr(sn.exportClause)|zr(sn.moduleSpecifier),sn.transformFlags&=-67108865,sn.jsDoc=void 0,sn}function Vr(T,P,V,pe,tt,sn){return T.modifiers!==P||T.isTypeOnly!==V||T.exportClause!==pe||T.moduleSpecifier!==tt||T.attributes!==sn?Td(Kr(P,V,pe,tt,sn),T):T}function Td(T,P){return T!==P&&T.modifiers===P.modifiers&&(T.modifiers=P.modifiers),br(T,P)}function tA(T){const P=O(280);return P.elements=F(T),P.transformFlags|=rs(P.elements),P.transformFlags&=-67108865,P}function ky(T,P){return T.elements!==P?br(tA(P),T):T}function fE(T,P,V){const pe=O(282);return pe.isTypeOnly=T,pe.propertyName=Bc(P),pe.name=Bc(V),pe.transformFlags|=zr(pe.propertyName)|zr(pe.name),pe.transformFlags&=-67108865,pe.jsDoc=void 0,pe}function DC(T,P,V,pe){return T.isTypeOnly!==P||T.propertyName!==V||T.name!==pe?br(fE(P,V,pe),T):T}function oL(){const T=G(283);return T.jsDoc=void 0,T}function Br(T){const P=O(284);return P.expression=T,P.transformFlags|=zr(P.expression),P.transformFlags&=-67108865,P}function Nu(T,P){return T.expression!==P?br(Br(P),T):T}function Bo(T){return O(T)}function Sp(T,P,V=!1){const pe=nA(T,V?P&&i().parenthesizeNonArrayTypeOfPostfixType(P):P);return pe.postfix=V,pe}function nA(T,P){const V=O(T);return V.type=P,V}function Zb(T,P,V){return P.type!==V?br(Sp(T,V,P.postfix),P):P}function Mr(T,P,V){return P.type!==V?br(nA(T,V),P):P}function CC(T,P){const V=G(318);return V.parameters=cs(T),V.type=P,V.transformFlags=rs(V.parameters)|(V.type?1:0),V.jsDoc=void 0,V.locals=void 0,V.nextContainer=void 0,V.typeArguments=void 0,V}function kx(T,P,V){return T.parameters!==P||T.type!==V?br(CC(P,V),T):T}function uu(T,P=!1){const V=G(323);return V.jsDocPropertyTags=cs(T),V.isArrayType=P,V}function $_(T,P,V){return T.jsDocPropertyTags!==P||T.isArrayType!==V?br(uu(P,V),T):T}function Eh(T){const P=O(310);return P.type=T,P}function e0(T,P){return T.type!==P?br(Eh(P),T):T}function rA(T,P,V){const pe=G(324);return pe.typeParameters=cs(T),pe.parameters=F(P),pe.type=V,pe.jsDoc=void 0,pe.locals=void 0,pe.nextContainer=void 0,pe}function t0(T,P,V,pe){return T.typeParameters!==P||T.parameters!==V||T.type!==pe?br(rA(P,V,pe),T):T}function xf(T){const P=hj(T.kind);return T.tagName.escapedText===Pl(P)?T.tagName:Ae(P)}function $m(T,P,V){const pe=O(T);return pe.tagName=P,pe.comment=V,pe}function em(T,P,V){const pe=G(T);return pe.tagName=P,pe.comment=V,pe}function pp(T,P,V,pe){const tt=$m(346,T!=null?T:Ae("template"),pe);return tt.constraint=P,tt.typeParameters=F(V),tt}function Lv(T,P=xf(T),V,pe,tt){return T.tagName!==P||T.constraint!==V||T.typeParameters!==pe||T.comment!==tt?br(pp(P,V,pe,tt),T):T}function MT(T,P,V,pe){const tt=em(347,T!=null?T:Ae("typedef"),pe);return tt.typeExpression=P,tt.fullName=V,tt.name=Xj(V),tt.locals=void 0,tt.nextContainer=void 0,tt}function wx(T,P=xf(T),V,pe,tt){return T.tagName!==P||T.typeExpression!==V||T.fullName!==pe||T.comment!==tt?br(MT(P,V,pe,tt),T):T}function PT(T,P,V,pe,tt,sn){const Wr=em(342,T!=null?T:Ae("param"),sn);return Wr.typeExpression=pe,Wr.name=P,Wr.isNameFirst=!!tt,Wr.isBracketed=V,Wr}function n0(T,P=xf(T),V,pe,tt,sn,Wr){return T.tagName!==P||T.name!==V||T.isBracketed!==pe||T.typeExpression!==tt||T.isNameFirst!==sn||T.comment!==Wr?br(PT(P,V,pe,tt,sn,Wr),T):T}function Ox(T,P,V,pe,tt,sn){const Wr=em(349,T!=null?T:Ae("prop"),sn);return Wr.typeExpression=pe,Wr.name=P,Wr.isNameFirst=!!tt,Wr.isBracketed=V,Wr}function wy(T,P=xf(T),V,pe,tt,sn,Wr){return T.tagName!==P||T.name!==V||T.isBracketed!==pe||T.typeExpression!==tt||T.isNameFirst!==sn||T.comment!==Wr?br(Ox(P,V,pe,tt,sn,Wr),T):T}function v_(T,P,V,pe){const tt=em(339,T!=null?T:Ae("callback"),pe);return tt.typeExpression=P,tt.fullName=V,tt.name=Xj(V),tt.locals=void 0,tt.nextContainer=void 0,tt}function r0(T,P=xf(T),V,pe,tt){return T.tagName!==P||T.typeExpression!==V||T.fullName!==pe||T.comment!==tt?br(v_(P,V,pe,tt),T):T}function LT(T,P,V){const pe=$m(340,T!=null?T:Ae("overload"),V);return pe.typeExpression=P,pe}function kv(T,P=xf(T),V,pe){return T.tagName!==P||T.typeExpression!==V||T.comment!==pe?br(LT(P,V,pe),T):T}function i0(T,P,V){const pe=$m(329,T!=null?T:Ae("augments"),V);return pe.class=P,pe}function Qm(T,P=xf(T),V,pe){return T.tagName!==P||T.class!==V||T.comment!==pe?br(i0(P,V,pe),T):T}function Oy(T,P,V){const pe=$m(330,T!=null?T:Ae("implements"),V);return pe.class=P,pe}function Bg(T,P,V){const pe=$m(348,T!=null?T:Ae("see"),V);return pe.name=P,pe}function o0(T,P,V,pe){return T.tagName!==P||T.name!==V||T.comment!==pe?br(Bg(P,V,pe),T):T}function dd(T){const P=O(311);return P.name=T,P}function mE(T,P){return T.name!==P?br(dd(P),T):T}function Gg(T,P){const V=O(312);return V.left=T,V.right=P,V.transformFlags|=zr(V.left)|zr(V.right),V}function kT(T,P,V){return T.left!==P||T.right!==V?br(Gg(P,V),T):T}function iA(T,P){const V=O(325);return V.name=T,V.text=P,V}function Vg(T,P,V){return T.name!==P?br(iA(P,V),T):T}function NC(T,P){const V=O(326);return V.name=T,V.text=P,V}function Wx(T,P,V){return T.name!==P?br(NC(P,V),T):T}function Fx(T,P){const V=O(327);return V.name=T,V.text=P,V}function aL(T,P,V){return T.name!==P?br(Fx(P,V),T):T}function zx(T,P=xf(T),V,pe){return T.tagName!==P||T.class!==V||T.comment!==pe?br(Oy(P,V,pe),T):T}function wT(T,P,V){return $m(T,P!=null?P:Ae(hj(T)),V)}function Wy(T,P,V=xf(P),pe){return P.tagName!==V||P.comment!==pe?br(wT(T,V,pe),P):P}function MC(T,P,V,pe){const tt=$m(T,P!=null?P:Ae(hj(T)),pe);return tt.typeExpression=V,tt}function OT(T,P,V=xf(P),pe,tt){return P.tagName!==V||P.typeExpression!==pe||P.comment!==tt?br(MC(T,V,pe,tt),P):P}function oA(T,P){return $m(328,T,P)}function mc(T,P,V){return T.tagName!==P||T.comment!==V?br(oA(P,V),T):T}function ud(T,P,V){const pe=em(341,T!=null?T:Ae(hj(341)),V);return pe.typeExpression=P,pe.locals=void 0,pe.nextContainer=void 0,pe}function Bx(T,P=xf(T),V,pe){return T.tagName!==P||T.typeExpression!==V||T.comment!==pe?br(ud(P,V,pe),T):T}function fp(T,P,V,pe,tt){const sn=$m(352,T!=null?T:Ae("import"),tt);return sn.importClause=P,sn.moduleSpecifier=V,sn.attributes=pe,sn.comment=tt,sn}function tm(T,P,V,pe,tt,sn){return T.tagName!==P||T.comment!==sn||T.importClause!==V||T.moduleSpecifier!==pe||T.attributes!==tt?br(fp(P,V,pe,tt,sn),T):T}function hE(T){const P=O(322);return P.text=T,P}function Ah(T,P){return T.text!==P?br(hE(P),T):T}function a0(T,P){const V=O(321);return V.comment=T,V.tags=cs(P),V}function wv(T,P,V){return T.comment!==P||T.tags!==V?br(a0(P,V),T):T}function Gx(T,P,V){const pe=O(285);return pe.openingElement=T,pe.children=F(P),pe.closingElement=V,pe.transformFlags|=zr(pe.openingElement)|rs(pe.children)|zr(pe.closingElement)|2,pe}function sL(T,P,V,pe){return T.openingElement!==P||T.children!==V||T.closingElement!==pe?br(Gx(P,V,pe),T):T}function Gl(T,P,V){const pe=O(286);return pe.tagName=T,pe.typeArguments=cs(P),pe.attributes=V,pe.transformFlags|=zr(pe.tagName)|rs(pe.typeArguments)|zr(pe.attributes)|2,pe.typeArguments&&(pe.transformFlags|=1),pe}function PC(T,P,V,pe){return T.tagName!==P||T.typeArguments!==V||T.attributes!==pe?br(Gl(P,V,pe),T):T}function aA(T,P,V){const pe=O(287);return pe.tagName=T,pe.typeArguments=cs(P),pe.attributes=V,pe.transformFlags|=zr(pe.tagName)|rs(pe.typeArguments)|zr(pe.attributes)|2,P&&(pe.transformFlags|=1),pe}function _E(T,P,V,pe){return T.tagName!==P||T.typeArguments!==V||T.attributes!==pe?br(aA(P,V,pe),T):T}function Vx(T){const P=O(288);return P.tagName=T,P.transformFlags|=zr(P.tagName)|2,P}function pu(T,P){return T.tagName!==P?br(Vx(P),T):T}function Ep(T,P,V){const pe=O(289);return pe.openingFragment=T,pe.children=F(P),pe.closingFragment=V,pe.transformFlags|=zr(pe.openingFragment)|rs(pe.children)|zr(pe.closingFragment)|2,pe}function sA(T,P,V,pe){return T.openingFragment!==P||T.children!==V||T.closingFragment!==pe?br(Ep(P,V,pe),T):T}function WT(T,P){const V=O(12);return V.text=T,V.containsOnlyTriviaWhiteSpaces=!!P,V.transformFlags|=2,V}function Ap(T,P,V){return T.text!==P||T.containsOnlyTriviaWhiteSpaces!==V?br(WT(P,V),T):T}function lA(){const T=O(290);return T.transformFlags|=2,T}function jg(){const T=O(291);return T.transformFlags|=2,T}function jx(T,P){const V=G(292);return V.name=T,V.initializer=P,V.transformFlags|=zr(V.name)|zr(V.initializer)|2,V}function cA(T,P,V){return T.name!==P||T.initializer!==V?br(jx(P,V),T):T}function Zm(T){const P=G(293);return P.properties=F(T),P.transformFlags|=rs(P.properties)|2,P}function Ux(T,P){return T.properties!==P?br(Zm(P),T):T}function LC(T){const P=O(294);return P.expression=T,P.transformFlags|=zr(P.expression)|2,P}function Hx(T,P){return T.expression!==P?br(LC(P),T):T}function dA(T,P){const V=O(295);return V.dotDotDotToken=T,V.expression=P,V.transformFlags|=zr(V.dotDotDotToken)|zr(V.expression)|2,V}function qx(T,P){return T.expression!==P?br(dA(T.dotDotDotToken,P),T):T}function Ov(T,P){const V=O(296);return V.namespace=T,V.name=P,V.transformFlags|=zr(V.namespace)|zr(V.name)|2,V}function Kp(T,P,V){return T.namespace!==P||T.name!==V?br(Ov(P,V),T):T}function b_(T,P){const V=O(297);return V.expression=i().parenthesizeExpressionForDisallowedComma(T),V.statements=F(P),V.transformFlags|=zr(V.expression)|rs(V.statements),V.jsDoc=void 0,V}function uA(T,P,V){return T.expression!==P||T.statements!==V?br(b_(P,V),T):T}function pA(T){const P=O(298);return P.statements=F(T),P.transformFlags=rs(P.statements),P}function os(T,P){return T.statements!==P?br(pA(P),T):T}function Fr(T,P){const V=O(299);switch(V.token=T,V.types=F(P),V.transformFlags|=rs(V.types),T){case 96:V.transformFlags|=1024;break;case 119:V.transformFlags|=1;break;default:return C.assertNever(T)}return V}function Rf(T,P){return T.types!==P?br(Fr(T.token,P),T):T}function Xc(T,P){const V=O(300);return V.variableDeclaration=eg(T),V.block=P,V.transformFlags|=zr(V.variableDeclaration)|zr(V.block)|(T?0:64),V.locals=void 0,V.nextContainer=void 0,V}function FT(T,P,V){return T.variableDeclaration!==P||T.block!==V?br(Xc(P,V),T):T}function fA(T,P){const V=G(304);return V.name=Bc(T),V.initializer=i().parenthesizeExpressionForDisallowedComma(P),V.transformFlags|=Pb(V.name)|zr(V.initializer),V.modifiers=void 0,V.questionToken=void 0,V.exclamationToken=void 0,V.jsDoc=void 0,V}function gE(T,P,V){return T.name!==P||T.initializer!==V?zT(fA(P,V),T):T}function zT(T,P){return T!==P&&(T.modifiers=P.modifiers,T.questionToken=P.questionToken,T.exclamationToken=P.exclamationToken),br(T,P)}function mA(T,P){const V=G(305);return V.name=Bc(T),V.objectAssignmentInitializer=P&&i().parenthesizeExpressionForDisallowedComma(P),V.transformFlags|=cw(V.name)|zr(V.objectAssignmentInitializer)|1024,V.equalsToken=void 0,V.modifiers=void 0,V.questionToken=void 0,V.exclamationToken=void 0,V.jsDoc=void 0,V}function D(T,P,V){return T.name!==P||T.objectAssignmentInitializer!==V?me(mA(P,V),T):T}function me(T,P){return T!==P&&(T.modifiers=P.modifiers,T.questionToken=P.questionToken,T.exclamationToken=P.exclamationToken,T.equalsToken=P.equalsToken),br(T,P)}function St(T){const P=G(306);return P.expression=i().parenthesizeExpressionForDisallowedComma(T),P.transformFlags|=zr(P.expression)|128|65536,P.jsDoc=void 0,P}function En(T,P){return T.expression!==P?br(St(P),T):T}function vi(T,P){const V=G(307);return V.name=Bc(T),V.initializer=P&&i().parenthesizeExpressionForDisallowedComma(P),V.transformFlags|=zr(V.name)|zr(V.initializer)|1,V.jsDoc=void 0,V}function Ni(T,P,V){return T.name!==P||T.initializer!==V?br(vi(P,V),T):T}function xo(T,P,V){const pe=t.createBaseSourceFileNode(308);return pe.statements=F(T),pe.endOfFileToken=P,pe.flags|=V,pe.text="",pe.fileName="",pe.path="",pe.resolvedPath="",pe.originalFileName="",pe.languageVersion=1,pe.languageVariant=0,pe.scriptKind=0,pe.isDeclarationFile=!1,pe.hasNoDefaultLib=!1,pe.transformFlags|=rs(pe.statements)|zr(pe.endOfFileToken),pe.locals=void 0,pe.nextContainer=void 0,pe.endFlowNode=void 0,pe.nodeCount=0,pe.identifierCount=0,pe.symbolCount=0,pe.parseDiagnostics=void 0,pe.bindDiagnostics=void 0,pe.bindSuggestionDiagnostics=void 0,pe.lineMap=void 0,pe.externalModuleIndicator=void 0,pe.setExternalModuleIndicator=void 0,pe.pragmas=void 0,pe.checkJsDirective=void 0,pe.referencedFiles=void 0,pe.typeReferenceDirectives=void 0,pe.libReferenceDirectives=void 0,pe.amdDependencies=void 0,pe.commentDirectives=void 0,pe.identifiers=void 0,pe.packageJsonLocations=void 0,pe.packageJsonScope=void 0,pe.imports=void 0,pe.moduleAugmentations=void 0,pe.ambientModuleNames=void 0,pe.classifiableNames=void 0,pe.impliedNodeFormat=void 0,pe}function ki(T){const P=Object.create(T.redirectTarget);return Object.defineProperties(P,{id:{get(){return this.redirectInfo.redirectTarget.id},set(V){this.redirectInfo.redirectTarget.id=V}},symbol:{get(){return this.redirectInfo.redirectTarget.symbol},set(V){this.redirectInfo.redirectTarget.symbol=V}}}),P.redirectInfo=T,P}function Ka(T){const P=ki(T.redirectInfo);return P.flags|=T.flags&-17,P.fileName=T.fileName,P.path=T.path,P.resolvedPath=T.resolvedPath,P.originalFileName=T.originalFileName,P.packageJsonLocations=T.packageJsonLocations,P.packageJsonScope=T.packageJsonScope,P.emitNode=void 0,P}function hc(T){const P=t.createBaseSourceFileNode(308);P.flags|=T.flags&-17;for(const V in T)if(!(Ms(P,V)||!Ms(T,V))){if(V==="emitNode"){P.emitNode=void 0;continue}P[V]=T[V]}return P}function Xd(T){const P=T.redirectInfo?Ka(T):hc(T);return r(P,T),P}function Hu(T,P,V,pe,tt,sn,Wr){const Ro=Xd(T);return Ro.statements=F(P),Ro.isDeclarationFile=V,Ro.referencedFiles=pe,Ro.typeReferenceDirectives=tt,Ro.hasNoDefaultLib=sn,Ro.libReferenceDirectives=Wr,Ro.transformFlags=rs(Ro.statements)|zr(Ro.endOfFileToken),Ro}function BT(T,P,V=T.isDeclarationFile,pe=T.referencedFiles,tt=T.typeReferenceDirectives,sn=T.hasNoDefaultLib,Wr=T.libReferenceDirectives){return T.statements!==P||T.isDeclarationFile!==V||T.referencedFiles!==pe||T.typeReferenceDirectives!==tt||T.hasNoDefaultLib!==sn||T.libReferenceDirectives!==Wr?br(Hu(T,P,V,pe,tt,sn,Wr),T):T}function qu(T){const P=O(309);return P.sourceFiles=T,P.syntheticFileReferences=void 0,P.syntheticTypeReferences=void 0,P.syntheticLibReferences=void 0,P.hasNoDefaultLib=void 0,P}function s0(T,P){return T.sourceFiles!==P?br(qu(P),T):T}function Jx(T,P=!1,V){const pe=O(238);return pe.type=T,pe.isSpread=P,pe.tupleNameSource=V,pe}function Lm(T){const P=O(353);return P._children=T,P}function El(T){const P=O(354);return P.original=T,Tt(P,T),P}function hA(T,P){const V=O(356);return V.expression=T,V.original=P,V.transformFlags|=zr(V.expression)|1,Tt(V,P),V}function Wv(T,P){return T.expression!==P?br(hA(P,T.original),T):T}function eh(){return O(355)}function Fv(T){if(zs(T)&&!PN(T)&&!T.original&&!T.emitNode&&!T.id){if(UM(T))return T.elements;if(Nr(T)&&xie(T.operatorToken))return[T.left,T.right]}return T}function yE(T){const P=O(357);return P.elements=F(Fm(T,Fv)),P.transformFlags|=rs(P.elements),P}function Vz(T,P){return T.elements!==P?br(yE(P),T):T}function lL(T,P){const V=O(358);return V.expression=T,V.thisArg=P,V.transformFlags|=zr(V.expression)|zr(V.thisArg),V}function Kx(T,P,V){return T.expression!==P||T.thisArg!==V?br(lL(P,V),T):T}function cL(T){const P=de(T.escapedText);return P.flags|=T.flags&-17,P.transformFlags=T.transformFlags,r(P,T),fw(P,{...T.emitNode.autoGenerate}),P}function T8(T){const P=de(T.escapedText);P.flags|=T.flags&-17,P.jsDoc=T.jsDoc,P.flowNode=T.flowNode,P.symbol=T.symbol,P.transformFlags=T.transformFlags,r(P,T);const V=g1(T);return V&&fv(P,V),P}function l0(T){const P=be(T.escapedText);return P.flags|=T.flags&-17,P.transformFlags=T.transformFlags,r(P,T),fw(P,{...T.emitNode.autoGenerate}),P}function Xx(T){const P=be(T.escapedText);return P.flags|=T.flags&-17,P.transformFlags=T.transformFlags,r(P,T),P}function _A(T){if(T===void 0)return T;if(Qi(T))return Xd(T);if(yl(T))return cL(T);if(Je(T))return T8(T);if($E(T))return l0(T);if(to(T))return Xx(T);const P=bF(T.kind)?t.createBaseNode(T.kind):t.createBaseTokenNode(T.kind);P.flags|=T.flags&-17,P.transformFlags=T.transformFlags,r(P,T);for(const V in T)Ms(P,V)||!Ms(T,V)||(P[V]=T[V]);return P}function jz(T,P,V){return Qn(qp(void 0,void 0,void 0,void 0,P?[P]:[],void 0,ll(T,!0)),void 0,V?[V]:[])}function vE(T,P,V){return Qn(Yf(void 0,void 0,P?[P]:[],void 0,void 0,ll(T,!0)),void 0,V?[V]:[])}function gA(){return vh(K("0"))}function dL(T){return pE(void 0,!1,T)}function Yx(T){return Kr(void 0,!1,tA([fE(!1,void 0,T)]))}function uo(T,P){return P==="null"?k.createStrictEquality(T,Ve()):P==="undefined"?k.createStrictEquality(T,gA()):k.createStrictEquality(sp(T),he(P))}function c0(T,P){return P==="null"?k.createStrictInequality(T,Ve()):P==="undefined"?k.createStrictInequality(T,gA()):k.createStrictInequality(sp(T),he(P))}function sr(T,P,V){return XE(T)?es(ol(T,void 0,P),void 0,void 0,V):Qn(Cc(T,P),void 0,V)}function uL(T,P,V){return sr(T,"bind",[P,...V])}function kC(T,P,V){return sr(T,"call",[P,...V])}function wC(T,P,V){return sr(T,"apply",[P,V])}function bE(T,P,V){return sr(Ae(T),P,V)}function S8(T,P){return sr(T,"slice",P===void 0?[]:[Bv(P)])}function yA(T,P){return sr(T,"concat",P)}function Uz(T,P,V){return bE("Object","defineProperty",[T,Bv(P),V])}function OC(T,P){return bE("Object","getOwnPropertyDescriptor",[T,Bv(P)])}function Q_(T,P,V){return bE("Reflect","get",V?[T,P,V]:[T,P])}function E8(T,P,V,pe){return bE("Reflect","set",pe?[T,P,V,pe]:[T,P,V])}function GT(T,P,V){return V?(T.push(fA(P,V)),!0):!1}function Hz(T,P){const V=[];GT(V,"enumerable",Bv(T.enumerable)),GT(V,"configurable",Bv(T.configurable));let pe=GT(V,"writable",Bv(T.writable));pe=GT(V,"value",T.value)||pe;let tt=GT(V,"get",T.get);return tt=GT(V,"set",T.set)||tt,C.assert(!(pe&&tt),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),bs(V,!P)}function pL(T,P){switch(T.kind){case 218:return ld(T,P);case 217:return of(T,T.type,P);case 235:return ft(T,P,T.type);case 239:return kr(T,P,T.type);case 236:return In(T,P);case 234:return Ry(T,P,T.typeArguments);case 356:return Wv(T,P)}}function A8(T){return zu(T)&&zs(T)&&zs(pv(T))&&zs(i_(T))&&!bt(vD(T))&&!bt(pw(T))}function fL(T,P,V=63){return T&&k4(T,V)&&!A8(T)?pL(T,fL(T.expression,P)):P}function VT(T,P,V){if(!P)return T;const pe=Lx(P,P.label,Wb(P.statement)?VT(T,P.statement):T);return V&&V(P),pe}function Z_(T,P){const V=us(T);switch(V.kind){case 80:return P;case 110:case 9:case 10:case 11:return!1;case 210:return V.elements.length!==0;case 211:return V.properties.length>0;default:return!0}}function WC(T,P,V,pe=!1){const tt=Hl(T,63);let sn,Wr;return gp(tt)?(sn=_e(),Wr=tt):BM(tt)?(sn=_e(),Wr=V!==void 0&&V<2?Tt(Ae("_super"),tt):tt):Za(tt)&8192?(sn=gA(),Wr=i().parenthesizeLeftSideOfAccess(tt,!1)):Jr(tt)?Z_(tt.expression,pe)?(sn=Re(P),Wr=Cc(Tt(k.createAssignment(sn,tt.expression),tt.expression),tt.name),Tt(Wr,tt)):(sn=tt.expression,Wr=tt):Bs(tt)?Z_(tt.expression,pe)?(sn=Re(P),Wr=xu(Tt(k.createAssignment(sn,tt.expression),tt.expression),tt.argumentExpression),Tt(Wr,tt)):(sn=tt.expression,Wr=tt):(sn=gA(),Wr=i().parenthesizeLeftSideOfAccess(T,!1)),{target:Wr,thisArg:sn}}function T_(T,P){return Cc(bd(bs([ie(void 0,"value",[Ri(void 0,void 0,T,void 0,void 0,void 0)],ll([dp(P)]))])),"value")}function ne(T){return T.length>10?yE(T):yu(T,k.createComma)}function ke(T,P,V,pe=0,tt){const sn=tt?T&&pF(T):Fo(T);if(sn&&Je(sn)&&!yl(sn)){const Wr=ps(Tt(_A(sn),sn),sn.parent);return pe|=Za(sn),V||(pe|=96),P||(pe|=3072),pe&&Dr(Wr,pe),Wr}return je(T)}function nt(T,P,V){return ke(T,P,V,98304)}function Pt(T,P,V,pe){return ke(T,P,V,32768,pe)}function on(T,P,V){return ke(T,P,V,16384)}function yn(T,P,V){return ke(T,P,V)}function ni(T,P,V,pe){const tt=Cc(T,zs(P)?P:_A(P));Tt(tt,P);let sn=0;return pe||(sn|=96),V||(sn|=3072),sn&&Dr(tt,sn),tt}function Or(T,P,V,pe){return T&&fi(P,32)?ni(T,ke(P),V,pe):on(P,V,pe)}function mr(T,P,V,pe){const tt=Vs(T,P,0,V);return Cs(T,P,tt,pe)}function Ai(T){return Oa(T.expression)&&T.expression.text==="use strict"}function so(){return au(dp(he("use strict")))}function Vs(T,P,V=0,pe){C.assert(P.length===0,"Prologue directives should be at the first statement in the target statements array");let tt=!1;const sn=T.length;for(;V<sn;){const Wr=T[V];if(Xh(Wr))Ai(Wr)&&(tt=!0),P.push(Wr);else break;V++}return pe&&!tt&&P.push(so()),V}function Cs(T,P,V,pe,tt=dS){const sn=T.length;for(;V!==void 0&&V<sn;){const Wr=T[V];if(Za(Wr)&2097152&&tt(Wr))jn(P,pe?st(Wr,pe,Gi):Wr);else break;V++}return V}function as(T){return qj(T)?T:Tt(F([so(),...T]),T)}function nm(T){return C.assert(Gn(T,Nte),"Cannot lift nodes to a Block."),cg(T)||ll(T)}function Df(T,P,V){let pe=V;for(;pe<T.length&&P(T[pe]);)pe++;return pe}function S_(T,P){if(!bt(P))return T;const V=Df(T,Xh,0),pe=Df(T,HF,V),tt=Df(T,qF,pe),sn=Df(P,Xh,0),Wr=Df(P,HF,sn),Ro=Df(P,qF,Wr),js=Df(P,ak,Ro);C.assert(js===P.length,"Expected declarations to be valid standard or custom prologues");const af=hS(T)?T.slice():T;if(js>Ro&&af.splice(tt,0,...P.slice(Ro,js)),Ro>Wr&&af.splice(pe,0,...P.slice(Wr,Ro)),Wr>sn&&af.splice(V,0,...P.slice(sn,Wr)),sn>0)if(V===0)af.splice(0,0,...P.slice(0,sn));else{const u0=new Map;for(let Ih=0;Ih<V;Ih++){const Qx=T[Ih];u0.set(Qx.expression.text,!0)}for(let Ih=sn-1;Ih>=0;Ih--){const Qx=P[Ih];u0.has(Qx.expression.text)||af.unshift(Qx)}}return hS(T)?Tt(F(af,T.hasTrailingComma),T):T}function zv(T,P){var pe;let V;return typeof P=="number"?V=Ot(P):V=P,pl(T)?ir(T,V,T.name,T.constraint,T.default):no(T)?_o(T,V,T.dotDotDotToken,T.name,T.questionToken,T.type,T.initializer):TD(T)?or(T,V,T.typeParameters,T.parameters,T.type):Eu(T)?Ci(T,V,T.name,T.questionToken,T.type):ko(T)?Qe(T,V,T.name,(pe=T.questionToken)!=null?pe:T.exclamationToken,T.type,T.initializer):Um(T)?hn(T,V,T.name,T.questionToken,T.typeParameters,T.parameters,T.type):Ll(T)?oi(T,V,T.asteriskToken,T.name,T.questionToken,T.typeParameters,T.parameters,T.type,T.body):kl(T)?qo(T,V,T.parameters,T.body):qf(T)?ce(T,V,T.name,T.parameters,T.type,T.body):bp(T)?We(T,V,T.name,T.parameters,T.body):wb(T)?Wt(T,V,T.parameters,T.type):Ks(T)?Ru(T,V,T.asteriskToken,T.name,T.typeParameters,T.parameters,T.type,T.body):Zs(T)?J_(T,V,T.typeParameters,T.parameters,T.type,T.equalsGreaterThanToken,T.body):uc(T)?bh(T,V,T.name,T.typeParameters,T.heritageClauses,T.members):sc(T)?cp(T,V,T.declarationList):ec(T)?ns(T,V,T.asteriskToken,T.name,T.typeParameters,T.parameters,T.type,T.body):xc(T)?My(T,V,T.name,T.typeParameters,T.heritageClauses,T.members):gd(T)?X_(T,V,T.name,T.typeParameters,T.heritageClauses,T.members):Em(T)?Jd(T,V,T.name,T.typeParameters,T.type):eT(T)?Kd(T,V,T.name,T.members):pc(T)?Du(T,V,T.name,T.body):Oc(T)?Cv(T,V,T.isTypeOnly,T.name,T.moduleReference):Sl(T)?Ze(T,V,T.importClause,T.moduleSpecifier,T.attributes):fl(T)?NT(T,V,T.expression):fc(T)?Vr(T,V,T.isTypeOnly,T.exportClause,T.moduleSpecifier,T.attributes):C.assertNever(T)}function Ug(T,P){var V;return no(T)?_o(T,P,T.dotDotDotToken,T.name,T.questionToken,T.type,T.initializer):ko(T)?Qe(T,P,T.name,(V=T.questionToken)!=null?V:T.exclamationToken,T.type,T.initializer):Ll(T)?oi(T,P,T.asteriskToken,T.name,T.questionToken,T.typeParameters,T.parameters,T.type,T.body):qf(T)?ce(T,P,T.name,T.parameters,T.type,T.body):bp(T)?We(T,P,T.name,T.parameters,T.body):uc(T)?bh(T,P,T.name,T.typeParameters,T.heritageClauses,T.members):xc(T)?My(T,P,T.name,T.typeParameters,T.heritageClauses,T.members):C.assertNever(T)}function d0(T,P){var V;switch(T.kind){case 178:return ce(T,T.modifiers,P,T.parameters,T.type,T.body);case 179:return We(T,T.modifiers,P,T.parameters,T.body);case 175:return oi(T,T.modifiers,T.asteriskToken,P,T.questionToken,T.typeParameters,T.parameters,T.type,T.body);case 174:return hn(T,T.modifiers,P,T.questionToken,T.typeParameters,T.parameters,T.type);case 173:return Qe(T,T.modifiers,P,(V=T.questionToken)!=null?V:T.exclamationToken,T.type,T.initializer);case 172:return Ci(T,T.modifiers,P,T.questionToken,T.type);case 304:return gE(T,P,T.initializer)}}function cs(T){return T?F(T):void 0}function Bc(T){return typeof T=="string"?Ae(T):T}function Bv(T){return typeof T=="string"?he(T):typeof T=="number"?K(T):typeof T=="boolean"?T?Ge():Be():T}function fu(T){return T&&i().parenthesizeExpressionForDisallowedComma(T)}function $x(T){return typeof T=="number"?le(T):T}function Hg(T){return T&&Gie(T)?Tt(r(Qf(),T),T):T}function eg(T){return typeof T=="string"||T&&!bi(T)?Ny(T,void 0,void 0,void 0):T}function br(T,P){return T!==P&&(r(T,P),Tt(T,P)),T}}function hj(e){switch(e){case 345:return"type";case 343:return"returns";case 344:return"this";case 341:return"enum";case 331:return"author";case 333:return"class";case 334:return"public";case 335:return"private";case 336:return"protected";case 337:return"readonly";case 338:return"override";case 346:return"template";case 347:return"typedef";case 342:return"param";case 349:return"prop";case 339:return"callback";case 340:return"overload";case 329:return"augments";case 330:return"implements";case 352:return"import";default:return C.fail("Unsupported kind: ".concat(C.formatSyntaxKind(e)))}}var uv,TSe={};function BVe(e,t){switch(uv||(uv=fg(99,!1,0)),e){case 15:uv.setText("`"+t+"`");break;case 16:uv.setText("`"+t+"${");break;case 17:uv.setText("}"+t+"${");break;case 18:uv.setText("}"+t+"`");break}let r=uv.scan();if(r===20&&(r=uv.reScanTemplateToken(!1)),uv.isUnterminated())return uv.setText(void 0),TSe;let i;switch(r){case 15:case 16:case 17:case 18:i=uv.getTokenValue();break}return i===void 0||uv.scan()!==1?(uv.setText(void 0),TSe):(uv.setText(void 0),i)}function Pb(e){return e&&Je(e)?cw(e):zr(e)}function cw(e){return zr(e)&-67108865}function GVe(e,t){return t|e.transformFlags&134234112}function zr(e){if(!e)return 0;const t=e.transformFlags&~VVe(e.kind);return nd(e)&&yc(e.name)?GVe(e.name,t):t}function rs(e){return e?e.transformFlags:0}function SSe(e){let t=0;for(const r of e)t|=zr(r);e.transformFlags=t}function VVe(e){if(e>=183&&e<=206)return-2;switch(e){case 214:case 215:case 210:return-2147450880;case 268:return-1941676032;case 170:return-2147483648;case 220:return-2072174592;case 219:case 263:return-1937940480;case 262:return-2146893824;case 264:case 232:return-2147344384;case 177:return-1937948672;case 173:return-2013249536;case 175:case 178:case 179:return-2005057536;case 133:case 150:case 163:case 146:case 154:case 151:case 136:case 155:case 116:case 169:case 172:case 174:case 180:case 181:case 182:case 265:case 266:return-2;case 211:return-2147278848;case 300:return-2147418112;case 207:case 208:return-2147450880;case 217:case 239:case 235:case 356:case 218:case 108:return-2147483648;case 212:case 213:return-2147483648;default:return-2147483648}}var d4=sie();function u4(e){return e.flags|=16,e}var jVe={createBaseSourceFileNode:e=>u4(d4.createBaseSourceFileNode(e)),createBaseIdentifierNode:e=>u4(d4.createBaseIdentifierNode(e)),createBasePrivateIdentifierNode:e=>u4(d4.createBasePrivateIdentifierNode(e)),createBaseTokenNode:e=>u4(d4.createBaseTokenNode(e)),createBaseNode:e=>u4(d4.createBaseNode(e))},L=lw(4,jVe),ESe;function ASe(e,t,r){return new(ESe||(ESe=xd.getSourceMapSourceConstructor()))(e,t,r)}function jr(e,t){if(e.original!==t&&(e.original=t,t)){const r=t.emitNode;r&&(e.emitNode=UVe(r,e.emitNode))}return e}function UVe(e,t){const{flags:r,internalFlags:i,leadingComments:o,trailingComments:s,commentRange:l,sourceMapRange:u,tokenSourceMapRanges:d,constantValue:_,helpers:m,startsOnNewLine:y,snippetElement:E,classThis:A,assignedName:R}=e;if(t||(t={}),r&&(t.flags=r),i&&(t.internalFlags=i&-9),o&&(t.leadingComments=$r(o.slice(),t.leadingComments)),s&&(t.trailingComments=$r(s.slice(),t.trailingComments)),l&&(t.commentRange=l),u&&(t.sourceMapRange=u),d&&(t.tokenSourceMapRanges=HVe(d,t.tokenSourceMapRanges)),_!==void 0&&(t.constantValue=_),m)for(const N of m)t.helpers=ny(t.helpers,N);return y!==void 0&&(t.startsOnNewLine=y),E!==void 0&&(t.snippetElement=E),A&&(t.classThis=A),R&&(t.assignedName=R),t}function HVe(e,t){t||(t=[]);for(const r in e)t[r]=e[r];return t}function jd(e){var t;if(e.emitNode)C.assert(!(e.emitNode.internalFlags&8),"Invalid attempt to mutate an immutable node.");else{if(PN(e)){if(e.kind===308)return e.emitNode={annotatedNodes:[e]};const r=(t=On(Ho(On(e))))!=null?t:C.fail("Could not determine parsed source file.");jd(r).annotatedNodes.push(e)}e.emitNode={}}return e.emitNode}function _j(e){var t,r;const i=(r=(t=On(Ho(e)))==null?void 0:t.emitNode)==null?void 0:r.annotatedNodes;if(i)for(const o of i)o.emitNode=void 0}function dw(e){const t=jd(e);return t.flags|=3072,t.leadingComments=void 0,t.trailingComments=void 0,e}function Dr(e,t){return jd(e).flags=t,e}function r_(e,t){const r=jd(e);return r.flags=r.flags|t,e}function uw(e,t){return jd(e).internalFlags=t,e}function _1(e,t){const r=jd(e);return r.internalFlags=r.internalFlags|t,e}function pv(e){var r;var t;return(r=(t=e.emitNode)==null?void 0:t.sourceMapRange)!=null?r:e}function Ha(e,t){return jd(e).sourceMapRange=t,e}function ISe(e,t){var r,i;return(i=(r=e.emitNode)==null?void 0:r.tokenSourceMapRanges)==null?void 0:i[t]}function fie(e,t,r){var s;const i=jd(e),o=(s=i.tokenSourceMapRanges)!=null?s:i.tokenSourceMapRanges=[];return o[t]=r,e}function OM(e){var t;return(t=e.emitNode)==null?void 0:t.startsOnNewLine}function p4(e,t){return jd(e).startsOnNewLine=t,e}function i_(e){var r;var t;return(r=(t=e.emitNode)==null?void 0:t.commentRange)!=null?r:e}function Ic(e,t){return jd(e).commentRange=t,e}function vD(e){var t;return(t=e.emitNode)==null?void 0:t.leadingComments}function K0(e,t){return jd(e).leadingComments=t,e}function Lb(e,t,r,i){return K0(e,jn(vD(e),{kind:t,pos:-1,end:-1,hasTrailingNewLine:i,text:r}))}function pw(e){var t;return(t=e.emitNode)==null?void 0:t.trailingComments}function zI(e,t){return jd(e).trailingComments=t,e}function WM(e,t,r,i){return zI(e,jn(pw(e),{kind:t,pos:-1,end:-1,hasTrailingNewLine:i,text:r}))}function mie(e,t){K0(e,vD(t)),zI(e,pw(t));const r=jd(t);return r.leadingComments=void 0,r.trailingComments=void 0,e}function hie(e){var t;return(t=e.emitNode)==null?void 0:t.constantValue}function _ie(e,t){const r=jd(e);return r.constantValue=t,e}function BI(e,t){const r=jd(e);return r.helpers=jn(r.helpers,t),e}function Dg(e,t){if(bt(t)){const r=jd(e);for(const i of t)r.helpers=ny(r.helpers,i)}return e}function xSe(e,t){var r;const i=(r=e.emitNode)==null?void 0:r.helpers;return i?hN(i,t):!1}function gj(e){var t;return(t=e.emitNode)==null?void 0:t.helpers}function gie(e,t,r){const i=e.emitNode,o=i&&i.helpers;if(!bt(o))return;const s=jd(t);let l=0;for(let u=0;u<o.length;u++){const d=o[u];r(d)?(l++,s.helpers=ny(s.helpers,d)):l>0&&(o[u-l]=d)}l>0&&(o.length-=l)}function yj(e){var t;return(t=e.emitNode)==null?void 0:t.snippetElement}function vj(e,t){const r=jd(e);return r.snippetElement=t,e}function bj(e){return jd(e).internalFlags|=4,e}function yie(e,t){const r=jd(e);return r.typeNode=t,e}function vie(e){var t;return(t=e.emitNode)==null?void 0:t.typeNode}function fv(e,t){return jd(e).identifierTypeArguments=t,e}function g1(e){var t;return(t=e.emitNode)==null?void 0:t.identifierTypeArguments}function fw(e,t){return jd(e).autoGenerate=t,e}function RSe(e){var t;return(t=e.emitNode)==null?void 0:t.autoGenerate}function bie(e,t){return jd(e).generatedImportReference=t,e}function Tie(e){var t;return(t=e.emitNode)==null?void 0:t.generatedImportReference}var Sie=(e=>(e.Field="f",e.Method="m",e.Accessor="a",e))(Sie||{});function Eie(e){const t=e.factory,r=Lu(()=>uw(t.createTrue(),8)),i=Lu(()=>uw(t.createFalse(),8));return{getUnscopedHelperName:o,createDecorateHelper:s,createMetadataHelper:l,createParamHelper:u,createESDecorateHelper:N,createRunInitializersHelper:M,createAssignHelper:k,createAwaitHelper:F,createAsyncGeneratorHelper:O,createAsyncDelegatorHelper:G,createAsyncValuesHelper:j,createRestHelper:K,createAwaiterHelper:Q,createExtendsHelper:J,createTemplateObjectHelper:he,createSpreadArrayHelper:re,createPropKeyHelper:q,createSetFunctionNameHelper:ue,createValuesHelper:de,createReadHelper:ge,createGeneratorHelper:Ae,createImportStarHelper:Re,createImportStarCallbackHelper:$,createImportDefaultHelper:ve,createExportStarHelper:je,createClassPrivateFieldGetHelper:be,createClassPrivateFieldSetHelper:ee,createClassPrivateFieldInHelper:Se,createAddDisposableResourceHelper:Ne,createDisposeResourcesHelper:ze,createRewriteRelativeImportExtensionsHelper:lt};function o(le){return Dr(t.createIdentifier(le),8196)}function s(le,De,_e,Ve){e.requestEmitHelper(qVe);const Ge=[];return Ge.push(t.createArrayLiteralExpression(le,!0)),Ge.push(De),_e&&(Ge.push(_e),Ve&&Ge.push(Ve)),t.createCallExpression(o("__decorate"),void 0,Ge)}function l(le,De){return e.requestEmitHelper(JVe),t.createCallExpression(o("__metadata"),void 0,[t.createStringLiteral(le),De])}function u(le,De,_e){return e.requestEmitHelper(KVe),Tt(t.createCallExpression(o("__param"),void 0,[t.createNumericLiteral(De+""),le]),_e)}function d(le){const De=[t.createPropertyAssignment(t.createIdentifier("kind"),t.createStringLiteral("class")),t.createPropertyAssignment(t.createIdentifier("name"),le.name),t.createPropertyAssignment(t.createIdentifier("metadata"),le.metadata)];return t.createObjectLiteralExpression(De)}function _(le){const De=le.computed?t.createElementAccessExpression(t.createIdentifier("obj"),le.name):t.createPropertyAccessExpression(t.createIdentifier("obj"),le.name);return t.createPropertyAssignment("get",t.createArrowFunction(void 0,void 0,[t.createParameterDeclaration(void 0,void 0,t.createIdentifier("obj"))],void 0,void 0,De))}function m(le){const De=le.computed?t.createElementAccessExpression(t.createIdentifier("obj"),le.name):t.createPropertyAccessExpression(t.createIdentifier("obj"),le.name);return t.createPropertyAssignment("set",t.createArrowFunction(void 0,void 0,[t.createParameterDeclaration(void 0,void 0,t.createIdentifier("obj")),t.createParameterDeclaration(void 0,void 0,t.createIdentifier("value"))],void 0,void 0,t.createBlock([t.createExpressionStatement(t.createAssignment(De,t.createIdentifier("value")))])))}function y(le){const De=le.computed?le.name:Je(le.name)?t.createStringLiteralFromNode(le.name):le.name;return t.createPropertyAssignment("has",t.createArrowFunction(void 0,void 0,[t.createParameterDeclaration(void 0,void 0,t.createIdentifier("obj"))],void 0,void 0,t.createBinaryExpression(De,103,t.createIdentifier("obj"))))}function E(le,De){const _e=[];return _e.push(y(le)),De.get&&_e.push(_(le)),De.set&&_e.push(m(le)),t.createObjectLiteralExpression(_e)}function A(le){const De=[t.createPropertyAssignment(t.createIdentifier("kind"),t.createStringLiteral(le.kind)),t.createPropertyAssignment(t.createIdentifier("name"),le.name.computed?le.name.name:t.createStringLiteralFromNode(le.name.name)),t.createPropertyAssignment(t.createIdentifier("static"),le.static?t.createTrue():t.createFalse()),t.createPropertyAssignment(t.createIdentifier("private"),le.private?t.createTrue():t.createFalse()),t.createPropertyAssignment(t.createIdentifier("access"),E(le.name,le.access)),t.createPropertyAssignment(t.createIdentifier("metadata"),le.metadata)];return t.createObjectLiteralExpression(De)}function R(le){return le.kind==="class"?d(le):A(le)}function N(le,De,_e,Ve,Ge,Be){return e.requestEmitHelper(XVe),t.createCallExpression(o("__esDecorate"),void 0,[le!=null?le:t.createNull(),De!=null?De:t.createNull(),_e,R(Ve),Ge,Be])}function M(le,De,_e){return e.requestEmitHelper(YVe),t.createCallExpression(o("__runInitializers"),void 0,_e?[le,De,_e]:[le,De])}function k(le){return Va(e.getCompilerOptions())>=2?t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"assign"),void 0,le):(e.requestEmitHelper($Ve),t.createCallExpression(o("__assign"),void 0,le))}function F(le){return e.requestEmitHelper(f4),t.createCallExpression(o("__await"),void 0,[le])}function O(le,De){return e.requestEmitHelper(f4),e.requestEmitHelper(QVe),(le.emitNode||(le.emitNode={})).flags|=1572864,t.createCallExpression(o("__asyncGenerator"),void 0,[De?t.createThis():t.createVoidZero(),t.createIdentifier("arguments"),le])}function G(le){return e.requestEmitHelper(f4),e.requestEmitHelper(ZVe),t.createCallExpression(o("__asyncDelegator"),void 0,[le])}function j(le){return e.requestEmitHelper(eje),t.createCallExpression(o("__asyncValues"),void 0,[le])}function K(le,De,_e,Ve){e.requestEmitHelper(tje);const Ge=[];let Be=0;for(let ot=0;ot<De.length-1;ot++){const Ot=Kj(De[ot]);if(Ot)if(Ea(Ot)){C.assertIsDefined(_e,"Encountered computed property name but 'computedTempVariables' argument was not provided.");const Vt=_e[Be];Be++,Ge.push(t.createConditionalExpression(t.createTypeCheck(Vt,"symbol"),void 0,Vt,void 0,t.createAdd(Vt,t.createStringLiteral(""))))}else Ge.push(t.createStringLiteralFromNode(Ot))}return t.createCallExpression(o("__rest"),void 0,[le,Tt(t.createArrayLiteralExpression(Ge),Ve)])}function Q(le,De,_e,Ve,Ge){e.requestEmitHelper(nje);const Be=t.createFunctionExpression(void 0,t.createToken(42),void 0,void 0,Ve!=null?Ve:[],void 0,Ge);return(Be.emitNode||(Be.emitNode={})).flags|=1572864,t.createCallExpression(o("__awaiter"),void 0,[le?t.createThis():t.createVoidZero(),De!=null?De:t.createVoidZero(),_e?Sw(t,_e):t.createVoidZero(),Be])}function J(le){return e.requestEmitHelper(rje),t.createCallExpression(o("__extends"),void 0,[le,t.createUniqueName("_super",48)])}function he(le,De){return e.requestEmitHelper(ije),t.createCallExpression(o("__makeTemplateObject"),void 0,[le,De])}function re(le,De,_e){return e.requestEmitHelper(aje),t.createCallExpression(o("__spreadArray"),void 0,[le,De,_e?r():i()])}function q(le){return e.requestEmitHelper(sje),t.createCallExpression(o("__propKey"),void 0,[le])}function ue(le,De,_e){return e.requestEmitHelper(lje),e.factory.createCallExpression(o("__setFunctionName"),void 0,_e?[le,De,e.factory.createStringLiteral(_e)]:[le,De])}function de(le){return e.requestEmitHelper(cje),t.createCallExpression(o("__values"),void 0,[le])}function ge(le,De){return e.requestEmitHelper(oje),t.createCallExpression(o("__read"),void 0,De!==void 0?[le,t.createNumericLiteral(De+"")]:[le])}function Ae(le){return e.requestEmitHelper(dje),t.createCallExpression(o("__generator"),void 0,[t.createThis(),le])}function Re(le){return e.requestEmitHelper(CSe),t.createCallExpression(o("__importStar"),void 0,[le])}function $(){return e.requestEmitHelper(CSe),o("__importStar")}function ve(le){return e.requestEmitHelper(pje),t.createCallExpression(o("__importDefault"),void 0,[le])}function je(le,De=t.createIdentifier("exports")){return e.requestEmitHelper(fje),e.requestEmitHelper(Iie),t.createCallExpression(o("__exportStar"),void 0,[le,De])}function be(le,De,_e,Ve){e.requestEmitHelper(mje);let Ge;return Ve?Ge=[le,De,t.createStringLiteral(_e),Ve]:Ge=[le,De,t.createStringLiteral(_e)],t.createCallExpression(o("__classPrivateFieldGet"),void 0,Ge)}function ee(le,De,_e,Ve,Ge){e.requestEmitHelper(hje);let Be;return Ge?Be=[le,De,_e,t.createStringLiteral(Ve),Ge]:Be=[le,De,_e,t.createStringLiteral(Ve)],t.createCallExpression(o("__classPrivateFieldSet"),void 0,Be)}function Se(le,De){return e.requestEmitHelper(_je),t.createCallExpression(o("__classPrivateFieldIn"),void 0,[le,De])}function Ne(le,De,_e){return e.requestEmitHelper(gje),t.createCallExpression(o("__addDisposableResource"),void 0,[le,De,_e?t.createTrue():t.createFalse()])}function ze(le){return e.requestEmitHelper(yje),t.createCallExpression(o("__disposeResources"),void 0,[le])}function lt(le){return e.requestEmitHelper(vje),t.createCallExpression(o("__rewriteRelativeImportExtension"),void 0,e.getCompilerOptions().jsx===1?[le,t.createTrue()]:[le])}}function Aie(e,t){return e===t||e.priority===t.priority?0:e.priority===void 0?1:t.priority===void 0?-1:Js(e.priority,t.priority)}function DSe(e,...t){return r=>{let i="";for(let o=0;o<t.length;o++)i+=e[o],i+=r(t[o]);return i+=e[e.length-1],i}}var qVe={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 };'},JVe={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 };'},KVe={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 };"},XVe={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.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === "field") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n };'},YVe={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 };"},$Ve={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 };"},f4={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); }"},QVe={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:!1,dependencies:[f4],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 = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\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 };'},ZVe={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:!1,dependencies:[f4],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 };'},eje={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 };'},tje={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 };'},nje={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 };'},rje={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 })();'},ije={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 };'},oje={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 };'},aje={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 };"},sje={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 };'},lje={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 };'},cje={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 };'},dje={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 = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);\n return g.next = verb(0), g["throw"] = verb(1), g["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 };'},Iie={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 }));'},uje={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 });'},CSe={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:!1,dependencies:[Iie,uje],priority:2,text:'\n var __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n })();'},pje={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 };'},fje={name:"typescript:export-star",importName:"__exportStar",scoped:!1,dependencies:[Iie],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 };'},mje={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 };'},hje={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 };'},_je={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 };'},gje={name:"typescript:addDisposableResource",importName:"__addDisposableResource",scoped:!1,text:'\n var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== "function") throw new TypeError("Object not disposable.");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n };'},yje={name:"typescript:disposeResources",importName:"__disposeResources",scoped:!1,text:'\n var __disposeResources = (this && this.__disposeResources) || (function (SuppressedError) {\n return function (env) {\n function fail(e) {\n env.error = env.hasError ? new SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n };\n })(typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;\n });'},vje={name:"typescript:rewriteRelativeImportExtensions",importName:"__rewriteRelativeImportExtension",scoped:!1,text:'\n var __rewriteRelativeImportExtension = (this && this.__rewriteRelativeImportExtension) || function (path, preserveJsx) {\n if (typeof path === "string" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");\n });\n }\n return path;\n };'},m4={name:"typescript:async-super",scoped:!0,text:DSe(J7e||(J7e=eve(["\n const "," = name => super[name];"])),"_superIndex")},h4={name:"typescript:advanced-async-super",scoped:!0,text:DSe(K7e||(K7e=eve(["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"])),"_superIndex")};function FM(e,t){return ra(e)&&Je(e.expression)&&(Za(e.expression)&8192)!==0&&e.expression.escapedText===t}function ip(e){return e.kind===9}function bD(e){return e.kind===10}function Oa(e){return e.kind===11}function GI(e){return e.kind===12}function Tj(e){return e.kind===14}function y1(e){return e.kind===15}function VI(e){return e.kind===16}function Sj(e){return e.kind===17}function _4(e){return e.kind===18}function g4(e){return e.kind===26}function xie(e){return e.kind===28}function Ej(e){return e.kind===40}function Aj(e){return e.kind===41}function mw(e){return e.kind===42}function hw(e){return e.kind===54}function kb(e){return e.kind===58}function Rie(e){return e.kind===59}function y4(e){return e.kind===29}function Die(e){return e.kind===39}function Je(e){return e.kind===80}function to(e){return e.kind===81}function jI(e){return e.kind===95}function v4(e){return e.kind===90}function zM(e){return e.kind===134}function Cie(e){return e.kind===131}function Ij(e){return e.kind===135}function Nie(e){return e.kind===148}function UI(e){return e.kind===126}function Mie(e){return e.kind===128}function Pie(e){return e.kind===164}function xj(e){return e.kind===129}function BM(e){return e.kind===108}function GM(e){return e.kind===102}function Lie(e){return e.kind===84}function Wu(e){return e.kind===167}function Ea(e){return e.kind===168}function pl(e){return e.kind===169}function no(e){return e.kind===170}function wc(e){return e.kind===171}function Eu(e){return e.kind===172}function ko(e){return e.kind===173}function Um(e){return e.kind===174}function Ll(e){return e.kind===175}function Zl(e){return e.kind===176}function kl(e){return e.kind===177}function qf(e){return e.kind===178}function bp(e){return e.kind===179}function HI(e){return e.kind===180}function VM(e){return e.kind===181}function wb(e){return e.kind===182}function qI(e){return e.kind===183}function Bp(e){return e.kind===184}function G_(e){return e.kind===185}function TD(e){return e.kind===186}function FS(e){return e.kind===187}function Fu(e){return e.kind===188}function _w(e){return e.kind===189}function JI(e){return e.kind===190}function SD(e){return e.kind===203}function b4(e){return e.kind===191}function T4(e){return e.kind===192}function mv(e){return e.kind===193}function KI(e){return e.kind===194}function zS(e){return e.kind===195}function v1(e){return e.kind===196}function b1(e){return e.kind===197}function jM(e){return e.kind===198}function X0(e){return e.kind===199}function BS(e){return e.kind===200}function T1(e){return e.kind===201}function hv(e){return e.kind===202}function o_(e){return e.kind===206}function Rj(e){return e.kind===205}function kie(e){return e.kind===204}function mf(e){return e.kind===207}function _v(e){return e.kind===208}function qa(e){return e.kind===209}function Dd(e){return e.kind===210}function za(e){return e.kind===211}function Jr(e){return e.kind===212}function Bs(e){return e.kind===213}function ra(e){return e.kind===214}function GS(e){return e.kind===215}function Y0(e){return e.kind===216}function S4(e){return e.kind===217}function zu(e){return e.kind===218}function Ks(e){return e.kind===219}function Zs(e){return e.kind===220}function wie(e){return e.kind===221}function ED(e){return e.kind===222}function XI(e){return e.kind===223}function Ob(e){return e.kind===224}function $0(e){return e.kind===225}function Dj(e){return e.kind===226}function Nr(e){return e.kind===227}function S1(e){return e.kind===228}function E4(e){return e.kind===229}function gw(e){return e.kind===230}function Jf(e){return e.kind===231}function uc(e){return e.kind===232}function qc(e){return e.kind===233}function hy(e){return e.kind===234}function AD(e){return e.kind===235}function ID(e){return e.kind===239}function YI(e){return e.kind===236}function E1(e){return e.kind===237}function NSe(e){return e.kind===238}function Oie(e){return e.kind===356}function UM(e){return e.kind===357}function xD(e){return e.kind===240}function Wie(e){return e.kind===241}function ia(e){return e.kind===242}function sc(e){return e.kind===244}function Cj(e){return e.kind===243}function od(e){return e.kind===245}function Q0(e){return e.kind===246}function MSe(e){return e.kind===247}function Nj(e){return e.kind===248}function Z0(e){return e.kind===249}function A4(e){return e.kind===250}function yw(e){return e.kind===251}function PSe(e){return e.kind===252}function LSe(e){return e.kind===253}function rf(e){return e.kind===254}function Fie(e){return e.kind===255}function HM(e){return e.kind===256}function Wb(e){return e.kind===257}function Mj(e){return e.kind===258}function A1(e){return e.kind===259}function kSe(e){return e.kind===260}function bi(e){return e.kind===261}function _d(e){return e.kind===262}function ec(e){return e.kind===263}function xc(e){return e.kind===264}function gd(e){return e.kind===265}function Em(e){return e.kind===266}function eT(e){return e.kind===267}function pc(e){return e.kind===268}function a_(e){return e.kind===269}function qM(e){return e.kind===270}function vw(e){return e.kind===271}function Oc(e){return e.kind===272}function Sl(e){return e.kind===273}function Hm(e){return e.kind===274}function wSe(e){return e.kind===303}function zie(e){return e.kind===301}function OSe(e){return e.kind===302}function I1(e){return e.kind===301}function Bie(e){return e.kind===302}function Cg(e){return e.kind===275}function V_(e){return e.kind===281}function s_(e){return e.kind===276}function Au(e){return e.kind===277}function fl(e){return e.kind===278}function fc(e){return e.kind===279}function Kf(e){return e.kind===280}function ou(e){return e.kind===282}function I4(e){return e.kind===80||e.kind===11}function WSe(e){return e.kind===283}function Gie(e){return e.kind===354}function $I(e){return e.kind===358}function _y(e){return e.kind===284}function l_(e){return e.kind===285}function x1(e){return e.kind===286}function ph(e){return e.kind===287}function VS(e){return e.kind===288}function tT(e){return e.kind===289}function qm(e){return e.kind===290}function Vie(e){return e.kind===291}function c_(e){return e.kind===292}function jS(e){return e.kind===293}function QI(e){return e.kind===294}function RD(e){return e.kind===295}function fh(e){return e.kind===296}function DD(e){return e.kind===297}function JM(e){return e.kind===298}function Gp(e){return e.kind===299}function US(e){return e.kind===300}function Rc(e){return e.kind===304}function Ud(e){return e.kind===305}function Ng(e){return e.kind===306}function gy(e){return e.kind===307}function Qi(e){return e.kind===308}function jie(e){return e.kind===309}function nT(e){return e.kind===310}function KM(e){return e.kind===311}function rT(e){return e.kind===312}function Uie(e){return e.kind===325}function Hie(e){return e.kind===326}function FSe(e){return e.kind===327}function qie(e){return e.kind===313}function Jie(e){return e.kind===314}function CD(e){return e.kind===315}function x4(e){return e.kind===316}function Pj(e){return e.kind===317}function ND(e){return e.kind===318}function R4(e){return e.kind===319}function zSe(e){return e.kind===320}function mh(e){return e.kind===321}function R1(e){return e.kind===323}function gv(e){return e.kind===324}function ZI(e){return e.kind===329}function BSe(e){return e.kind===331}function Kie(e){return e.kind===333}function Lj(e){return e.kind===339}function kj(e){return e.kind===334}function wj(e){return e.kind===335}function Oj(e){return e.kind===336}function Wj(e){return e.kind===337}function D4(e){return e.kind===338}function MD(e){return e.kind===340}function Fj(e){return e.kind===332}function GSe(e){return e.kind===348}function bw(e){return e.kind===341}function hf(e){return e.kind===342}function C4(e){return e.kind===343}function zj(e){return e.kind===344}function XM(e){return e.kind===345}function Am(e){return e.kind===346}function D1(e){return e.kind===347}function VSe(e){return e.kind===328}function Xie(e){return e.kind===349}function N4(e){return e.kind===330}function M4(e){return e.kind===351}function jSe(e){return e.kind===350}function d_(e){return e.kind===352}function PD(e){return e.kind===353}var YM=new WeakMap;function Bj(e,t){var r;const i=e.kind;return bF(i)?i===353?e._children:(r=YM.get(t))==null?void 0:r.get(e):se}function Yie(e,t,r){e.kind===353&&C.fail("Should not need to re-set the children of a SyntaxList.");let i=YM.get(t);return i===void 0&&(i=new WeakMap,YM.set(t,i)),i.set(e,r),r}function Gj(e,t){var r;e.kind===353&&C.fail("Did not expect to unset the children of a SyntaxList."),(r=YM.get(t))==null||r.delete(e)}function $ie(e,t){const r=YM.get(e);r!==void 0&&(YM.delete(e),YM.set(t,r))}function Tw(e){return e.createExportDeclaration(void 0,!1,e.createNamedExports([]),void 0)}function C1(e,t,r,i){if(Ea(r))return Tt(e.createElementAccessExpression(t,r.expression),i);{const o=Tt(mg(r)?e.createPropertyAccessExpression(t,r):e.createElementAccessExpression(t,r),r);return r_(o,128),o}}function Qie(e,t){const r=oT.createIdentifier(e||"React");return ps(r,Ho(t)),r}function Zie(e,t,r){if(Wu(t)){const i=Zie(e,t.left,r),o=e.createIdentifier(Yr(t.right));return o.escapedText=t.right.escapedText,e.createPropertyAccessExpression(i,o)}else return Qie(Yr(t),r)}function Vj(e,t,r,i){return t?Zie(e,t,i):e.createPropertyAccessExpression(Qie(r,i),"createElement")}function bje(e,t,r,i){return t?Zie(e,t,i):e.createPropertyAccessExpression(Qie(r,i),"Fragment")}function eoe(e,t,r,i,o,s){const l=[r];if(i&&l.push(i),o&&o.length>0)if(i||l.push(e.createNull()),o.length>1)for(const u of o)au(u),l.push(u);else l.push(o[0]);return Tt(e.createCallExpression(t,void 0,l),s)}function toe(e,t,r,i,o,s,l){const d=[bje(e,r,i,s),e.createNull()];if(o&&o.length>0)if(o.length>1)for(const _ of o)au(_),d.push(_);else d.push(o[0]);return Tt(e.createCallExpression(Vj(e,t,i,s),void 0,d),l)}function jj(e,t,r){if(_d(t)){const i=Qa(t.declarations),o=e.updateVariableDeclaration(i,i.name,void 0,void 0,r);return Tt(e.createVariableStatement(void 0,e.updateVariableDeclarationList(t,[o])),t)}else{const i=Tt(e.createAssignment(t,r),t);return Tt(e.createExpressionStatement(i),t)}}function Sw(e,t){if(Wu(t)){const r=Sw(e,t.left),i=ps(Tt(e.cloneNode(t.right),t.right),t.right.parent);return Tt(e.createPropertyAccessExpression(r,i),t)}else return ps(Tt(e.cloneNode(t),t),t.parent)}function Uj(e,t){return Je(t)?e.createStringLiteralFromNode(t):Ea(t)?ps(Tt(e.cloneNode(t.expression),t.expression),t.expression.parent):ps(Tt(e.cloneNode(t),t),t.parent)}function Tje(e,t,r,i,o){const{firstAccessor:s,getAccessor:l,setAccessor:u}=MS(t,r);if(r===s)return Tt(e.createObjectDefinePropertyCall(i,Uj(e,r.name),e.createPropertyDescriptor({enumerable:e.createFalse(),configurable:!0,get:l&&Tt(jr(e.createFunctionExpression(mS(l),void 0,void 0,void 0,l.parameters,void 0,l.body),l),l),set:u&&Tt(jr(e.createFunctionExpression(mS(u),void 0,void 0,void 0,u.parameters,void 0,u.body),u),u)},!o)),s)}function Sje(e,t,r){return jr(Tt(e.createAssignment(C1(e,r,t.name,t.name),t.initializer),t),t)}function Eje(e,t,r){return jr(Tt(e.createAssignment(C1(e,r,t.name,t.name),e.cloneNode(t.name)),t),t)}function Aje(e,t,r){return jr(Tt(e.createAssignment(C1(e,r,t.name,t.name),jr(Tt(e.createFunctionExpression(mS(t),t.asteriskToken,void 0,void 0,t.parameters,void 0,t.body),t),t)),t),t)}function noe(e,t,r,i){switch(r.name&&to(r.name)&&C.failBadSyntaxKind(r.name,"Private identifiers are not allowed in object literals."),r.kind){case 178:case 179:return Tje(e,t.properties,r,i,!!t.multiLine);case 304:return Sje(e,r,i);case 305:return Eje(e,r,i);case 175:return Aje(e,r,i)}}function P4(e,t,r,i,o){const s=t.operator;C.assert(s===46||s===47,"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression");const l=e.createTempVariable(i);r=e.createAssignment(l,r),Tt(r,t.operand);let u=$0(t)?e.createPrefixUnaryExpression(s,l):e.createPostfixUnaryExpression(l,s);return Tt(u,t),o&&(u=e.createAssignment(o,u),Tt(u,t)),r=e.createComma(r,u),Tt(r,t),Dj(t)&&(r=e.createComma(r,l),Tt(r,t)),r}function Hj(e){return(Za(e)&65536)!==0}function yy(e){return(Za(e)&32768)!==0}function L4(e){return(Za(e)&16384)!==0}function USe(e){return Oa(e.expression)&&e.expression.text==="use strict"}function qj(e){for(const t of e)if(Xh(t)){if(USe(t))return t}else break}function roe(e){const t=Sc(e);return t!==void 0&&Xh(t)&&USe(t)}function Ew(e){return e.kind===227&&e.operatorToken.kind===28}function $M(e){return Ew(e)||UM(e)}function HS(e){return zu(e)&&Er(e)&&!!k0(e)}function LD(e){const t=tv(e);return C.assertIsDefined(t),t}function k4(e,t=63){switch(e.kind){case 218:return t&-2147483648&&HS(e)?!1:(t&1)!==0;case 217:case 235:return(t&2)!==0;case 239:return(t&34)!==0;case 234:return(t&16)!==0;case 236:return(t&4)!==0;case 356:return(t&8)!==0}return!1}function Hl(e,t=63){for(;k4(e,t);)e=e.expression;return e}function ioe(e,t=63){let r=e.parent;for(;k4(r,t);)r=r.parent,C.assert(r);return r}function au(e){return p4(e,!0)}function Aw(e){const t=Tl(e,Qi),r=t&&t.emitNode;return r&&r.externalHelpersModuleName}function ooe(e){const t=Tl(e,Qi),r=t&&t.emitNode;return!!r&&(!!r.externalHelpersModuleName||!!r.externalHelpers)}function Jj(e,t,r,i,o,s,l){if(i.importHelpers&&JR(r,i)){const u=Tu(i),d=W1(r,i),_=Ije(r);if(d!==1&&(u>=5&&u<=99||d===99||d===void 0&&u===200)){if(_){const m=[];for(const y of _){const E=y.importName;E&&wf(m,E)}if(bt(m)){m.sort(Wd);const y=e.createNamedImports(Gt(m,N=>WF(r,N)?e.createImportSpecifier(!1,void 0,e.createIdentifier(N)):e.createImportSpecifier(!1,e.createIdentifier(N),t.getUnscopedHelperName(N)))),E=Tl(r,Qi),A=jd(E);A.externalHelpers=!0;const R=e.createImportDeclaration(void 0,e.createImportClause(void 0,void 0,y),e.createStringLiteral(vb),void 0);return _1(R,2),R}}}else{const m=xje(e,r,i,_,o,s||l);if(m){const y=e.createImportEqualsDeclaration(void 0,!1,m,e.createExternalModuleReference(e.createStringLiteral(vb)));return _1(y,2),y}}}}function Ije(e){return Fn(gj(e),t=>!t.scoped)}function xje(e,t,r,i,o,s){const l=Aw(t);if(l)return l;if(bt(i)||(o||n_(r)&&s)&&SP(t,r)<4){const d=Tl(t,Qi),_=jd(d);return _.externalHelpersModuleName||(_.externalHelpersModuleName=e.createUniqueName(vb))}}function kD(e,t,r){const i=tD(t);if(i&&!l1(t)&&!zF(t)){const o=i.name;return o.kind===11?e.getGeneratedNameForNode(t):yl(o)?o:e.createIdentifier(vS(r,o)||Yr(o))}if(t.kind===273&&t.importClause||t.kind===279&&t.moduleSpecifier)return e.getGeneratedNameForNode(t)}function ex(e,t,r,i,o,s){const l=vI(t);if(l&&Oa(l))return Dje(t,i,e,o,s)||Rje(e,l,r)||e.cloneNode(l)}function Rje(e,t,r){const i=r.renamedDependencies&&r.renamedDependencies.get(t.text);return i?e.createStringLiteral(i):void 0}function Iw(e,t,r,i){if(t){if(t.moduleName)return e.createStringLiteral(t.moduleName);if(!t.isDeclarationFile&&i.outFile)return e.createStringLiteral(dV(r,t.fileName))}}function Dje(e,t,r,i,o){return Iw(r,i.getExternalModuleFileFromDeclaration(e),t,o)}function xw(e){if(B2(e))return e.initializer;if(Rc(e)){const t=e.initializer;return id(t,!0)?t.right:void 0}if(Ud(e))return e.objectAssignmentInitializer;if(id(e,!0))return e.right;if(Jf(e))return xw(e.expression)}function Fb(e){if(B2(e))return e.name;if(sy(e)){switch(e.kind){case 304:return Fb(e.initializer);case 305:return e.name;case 306:return Fb(e.expression)}return}return id(e,!0)?Fb(e.left):Jf(e)?Fb(e.expression):e}function w4(e){switch(e.kind){case 170:case 209:return e.dotDotDotToken;case 231:case 306:return e}}function Kj(e){const t=O4(e);return C.assert(!!t||Ng(e),"Invalid property name for binding element."),t}function O4(e){switch(e.kind){case 209:if(e.propertyName){const r=e.propertyName;return to(r)?C.failBadSyntaxKind(r):Ea(r)&&HSe(r.expression)?r.expression:r}break;case 304:if(e.name){const r=e.name;return to(r)?C.failBadSyntaxKind(r):Ea(r)&&HSe(r.expression)?r.expression:r}break;case 306:return e.name&&to(e.name)?C.failBadSyntaxKind(e.name):e.name}const t=Fb(e);if(t&&yc(t))return t}function HSe(e){const t=e.kind;return t===11||t===9}function wD(e){switch(e.kind){case 207:case 208:case 210:return e.elements;case 211:return e.properties}}function Xj(e){if(e){let t=e;for(;;){if(Je(t)||!t.body)return Je(t)?t:t.name;t=t.body}}}function qSe(e){const t=e.kind;return t===177||t===179}function aoe(e){const t=e.kind;return t===177||t===178||t===179}function Yj(e){const t=e.kind;return t===304||t===305||t===263||t===177||t===182||t===176||t===283||t===244||t===265||t===266||t===267||t===268||t===272||t===273||t===271||t===279||t===278}function soe(e){const t=e.kind;return t===176||t===304||t===305||t===283||t===271}function loe(e){return kb(e)||hw(e)}function coe(e){return Je(e)||jM(e)}function doe(e){return Nie(e)||Ej(e)||Aj(e)}function uoe(e){return kb(e)||Ej(e)||Aj(e)}function poe(e){return Je(e)||Oa(e)}function Cje(e){return e===43}function Nje(e){return e===42||e===44||e===45}function Mje(e){return Cje(e)||Nje(e)}function Pje(e){return e===40||e===41}function Lje(e){return Pje(e)||Mje(e)}function kje(e){return e===48||e===49||e===50}function $j(e){return kje(e)||Lje(e)}function wje(e){return e===30||e===33||e===32||e===34||e===104||e===103}function Oje(e){return wje(e)||$j(e)}function Wje(e){return e===35||e===37||e===36||e===38}function Fje(e){return Wje(e)||Oje(e)}function zje(e){return e===51||e===52||e===53}function Bje(e){return zje(e)||Fje(e)}function Gje(e){return e===56||e===57}function Vje(e){return Gje(e)||Bje(e)}function jje(e){return e===61||Vje(e)||py(e)}function Uje(e){return jje(e)||e===28}function foe(e){return Uje(e.kind)}var Qj;(e=>{function t(m,y,E,A,R,N,M){const k=y>0?R[y-1]:void 0;return C.assertEqual(E[y],t),R[y]=m.onEnter(A[y],k,M),E[y]=u(m,t),y}e.enter=t;function r(m,y,E,A,R,N,M){C.assertEqual(E[y],r),C.assertIsDefined(m.onLeft),E[y]=u(m,r);const k=m.onLeft(A[y].left,R[y],A[y]);return k?(_(y,A,k),d(y,E,A,R,k)):y}e.left=r;function i(m,y,E,A,R,N,M){return C.assertEqual(E[y],i),C.assertIsDefined(m.onOperator),E[y]=u(m,i),m.onOperator(A[y].operatorToken,R[y],A[y]),y}e.operator=i;function o(m,y,E,A,R,N,M){C.assertEqual(E[y],o),C.assertIsDefined(m.onRight),E[y]=u(m,o);const k=m.onRight(A[y].right,R[y],A[y]);return k?(_(y,A,k),d(y,E,A,R,k)):y}e.right=o;function s(m,y,E,A,R,N,M){C.assertEqual(E[y],s),E[y]=u(m,s);const k=m.onExit(A[y],R[y]);if(y>0){if(y--,m.foldState){const F=E[y]===s?"right":"left";R[y]=m.foldState(R[y],k,F)}}else N.value=k;return y}e.exit=s;function l(m,y,E,A,R,N,M){return C.assertEqual(E[y],l),y}e.done=l;function u(m,y){switch(y){case t:if(m.onLeft)return r;case r:if(m.onOperator)return i;case i:if(m.onRight)return o;case o:return s;case s:return l;case l:return l;default:C.fail("Invalid state")}}e.nextState=u;function d(m,y,E,A,R){return m++,y[m]=t,E[m]=R,A[m]=void 0,m}function _(m,y,E){if(C.shouldAssert(2))for(;m>=0;)C.assert(y[m]!==E,"Circular traversal detected."),m--}})(Qj||(Qj={}));var Hje=class{constructor(e,t,r,i,o,s){this.onEnter=e,this.onLeft=t,this.onOperator=r,this.onRight=i,this.onExit=o,this.foldState=s}};function W4(e,t,r,i,o,s){const l=new Hje(e,t,r,i,o,s);return u;function u(d,_){const m={value:void 0},y=[Qj.enter],E=[d],A=[void 0];let R=0;for(;y[R]!==Qj.done;)R=y[R](l,R,y,E,A,m,_);return C.assertEqual(R,0),m.value}}function qje(e){return e===95||e===90}function Rw(e){const t=e.kind;return qje(t)}function moe(e,t){if(t!==void 0)return t.length===0?t:Tt(e.createNodeArray([],t.hasTrailingComma),t)}function Dw(e){var t;const r=e.emitNode.autoGenerate;if(r.flags&4){const i=r.id;let o=e,s=o.original;for(;s;){o=s;const l=(t=o.emitNode)==null?void 0:t.autoGenerate;if(mg(o)&&(l===void 0||l.flags&4&&l.id!==i))break;s=o.original}return o}return e}function OD(e,t){return typeof e=="object"?iT(!1,e.prefix,e.node,e.suffix,t):typeof e=="string"?e.length>0&&e.charCodeAt(0)===35?e.slice(1):e:""}function Jje(e,t){return typeof e=="string"?e:Kje(e,C.checkDefined(t))}function Kje(e,t){return $E(e)?t(e).slice(1):yl(e)?t(e):to(e)?e.escapedText.slice(1):Yr(e)}function iT(e,t,r,i,o){return t=OD(t,o),i=OD(i,o),r=Jje(r,o),"".concat(e?"#":"").concat(t).concat(r).concat(i)}function Zj(e,t,r,i){return e.updatePropertyDeclaration(t,r,e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage"),void 0,void 0,i)}function hoe(e,t,r,i,o=e.createThis()){return e.createGetAccessorDeclaration(r,i,[],void 0,e.createBlock([e.createReturnStatement(e.createPropertyAccessExpression(o,e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage")))]))}function _oe(e,t,r,i,o=e.createThis()){return e.createSetAccessorDeclaration(r,i,[e.createParameterDeclaration(void 0,void 0,"value")],e.createBlock([e.createExpressionStatement(e.createAssignment(e.createPropertyAccessExpression(o,e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage")),e.createIdentifier("value")))]))}function F4(e){let t=e.expression;for(;;){if(t=Hl(t),UM(t)){t=Ga(t.elements);continue}if(Ew(t)){t=t.right;continue}if(id(t,!0)&&yl(t.left))return t;break}}function Xje(e){return zu(e)&&zs(e)&&!e.emitNode}function z4(e,t){if(Xje(e))z4(e.expression,t);else if(Ew(e))z4(e.left,t),z4(e.right,t);else if(UM(e))for(const r of e.elements)z4(r,t);else t.push(e)}function goe(e){const t=[];return z4(e,t),t}function Cw(e){if(e.transformFlags&65536)return!0;if(e.transformFlags&128)for(const t of wD(e)){const r=Fb(t);if(r&&BN(r)&&(r.transformFlags&65536||r.transformFlags&128&&Cw(r)))return!0}return!1}function Tt(e,t){return t?uh(e,t.pos,t.end):e}function Im(e){const t=e.kind;return t===169||t===170||t===172||t===173||t===174||t===175||t===177||t===178||t===179||t===182||t===186||t===219||t===220||t===232||t===244||t===263||t===264||t===265||t===266||t===267||t===268||t===272||t===273||t===278||t===279}function qS(e){const t=e.kind;return t===170||t===173||t===175||t===178||t===179||t===232||t===264}var JSe,KSe,XSe,YSe,$Se,yoe={createBaseSourceFileNode:e=>new($Se||($Se=xd.getSourceFileConstructor()))(e,-1,-1),createBaseIdentifierNode:e=>new(XSe||(XSe=xd.getIdentifierConstructor()))(e,-1,-1),createBasePrivateIdentifierNode:e=>new(YSe||(YSe=xd.getPrivateIdentifierConstructor()))(e,-1,-1),createBaseTokenNode:e=>new(KSe||(KSe=xd.getTokenConstructor()))(e,-1,-1),createBaseNode:e=>new(JSe||(JSe=xd.getNodeConstructor()))(e,-1,-1)},oT=lw(1,yoe);function pn(e,t){return t&&e(t)}function $i(e,t,r){if(r){if(t)return t(r);for(const i of r){const o=e(i);if(o)return o}}}function eU(e,t){return e.charCodeAt(t+1)===42&&e.charCodeAt(t+2)===42&&e.charCodeAt(t+3)!==47}function Nw(e){return Xe(e.statements,Yje)||$je(e)}function Yje(e){return Im(e)&&Qje(e,95)||Oc(e)&&_y(e.moduleReference)||Sl(e)||fl(e)||fc(e)?e:void 0}function $je(e){return e.flags&8388608?QSe(e):void 0}function QSe(e){return Zje(e)?e:Xo(e,QSe)}function Qje(e,t){return bt(e.modifiers,r=>r.kind===t)}function Zje(e){return E1(e)&&e.keywordToken===102&&e.name.escapedText==="meta"}var eUe={167:function(t,r,i){return pn(r,t.left)||pn(r,t.right)},169:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.name)||pn(r,t.constraint)||pn(r,t.default)||pn(r,t.expression)},305:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.name)||pn(r,t.questionToken)||pn(r,t.exclamationToken)||pn(r,t.equalsToken)||pn(r,t.objectAssignmentInitializer)},306:function(t,r,i){return pn(r,t.expression)},170:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.dotDotDotToken)||pn(r,t.name)||pn(r,t.questionToken)||pn(r,t.type)||pn(r,t.initializer)},173:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.name)||pn(r,t.questionToken)||pn(r,t.exclamationToken)||pn(r,t.type)||pn(r,t.initializer)},172:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.name)||pn(r,t.questionToken)||pn(r,t.type)||pn(r,t.initializer)},304:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.name)||pn(r,t.questionToken)||pn(r,t.exclamationToken)||pn(r,t.initializer)},261:function(t,r,i){return pn(r,t.name)||pn(r,t.exclamationToken)||pn(r,t.type)||pn(r,t.initializer)},209:function(t,r,i){return pn(r,t.dotDotDotToken)||pn(r,t.propertyName)||pn(r,t.name)||pn(r,t.initializer)},182:function(t,r,i){return $i(r,i,t.modifiers)||$i(r,i,t.typeParameters)||$i(r,i,t.parameters)||pn(r,t.type)},186:function(t,r,i){return $i(r,i,t.modifiers)||$i(r,i,t.typeParameters)||$i(r,i,t.parameters)||pn(r,t.type)},185:function(t,r,i){return $i(r,i,t.modifiers)||$i(r,i,t.typeParameters)||$i(r,i,t.parameters)||pn(r,t.type)},180:ZSe,181:ZSe,175:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.asteriskToken)||pn(r,t.name)||pn(r,t.questionToken)||pn(r,t.exclamationToken)||$i(r,i,t.typeParameters)||$i(r,i,t.parameters)||pn(r,t.type)||pn(r,t.body)},174:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.name)||pn(r,t.questionToken)||$i(r,i,t.typeParameters)||$i(r,i,t.parameters)||pn(r,t.type)},177:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.name)||$i(r,i,t.typeParameters)||$i(r,i,t.parameters)||pn(r,t.type)||pn(r,t.body)},178:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.name)||$i(r,i,t.typeParameters)||$i(r,i,t.parameters)||pn(r,t.type)||pn(r,t.body)},179:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.name)||$i(r,i,t.typeParameters)||$i(r,i,t.parameters)||pn(r,t.type)||pn(r,t.body)},263:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.asteriskToken)||pn(r,t.name)||$i(r,i,t.typeParameters)||$i(r,i,t.parameters)||pn(r,t.type)||pn(r,t.body)},219:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.asteriskToken)||pn(r,t.name)||$i(r,i,t.typeParameters)||$i(r,i,t.parameters)||pn(r,t.type)||pn(r,t.body)},220:function(t,r,i){return $i(r,i,t.modifiers)||$i(r,i,t.typeParameters)||$i(r,i,t.parameters)||pn(r,t.type)||pn(r,t.equalsGreaterThanToken)||pn(r,t.body)},176:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.body)},184:function(t,r,i){return pn(r,t.typeName)||$i(r,i,t.typeArguments)},183:function(t,r,i){return pn(r,t.assertsModifier)||pn(r,t.parameterName)||pn(r,t.type)},187:function(t,r,i){return pn(r,t.exprName)||$i(r,i,t.typeArguments)},188:function(t,r,i){return $i(r,i,t.members)},189:function(t,r,i){return pn(r,t.elementType)},190:function(t,r,i){return $i(r,i,t.elements)},193:eEe,194:eEe,195:function(t,r,i){return pn(r,t.checkType)||pn(r,t.extendsType)||pn(r,t.trueType)||pn(r,t.falseType)},196:function(t,r,i){return pn(r,t.typeParameter)},206:function(t,r,i){return pn(r,t.argument)||pn(r,t.attributes)||pn(r,t.qualifier)||$i(r,i,t.typeArguments)},303:function(t,r,i){return pn(r,t.assertClause)},197:tEe,199:tEe,200:function(t,r,i){return pn(r,t.objectType)||pn(r,t.indexType)},201:function(t,r,i){return pn(r,t.readonlyToken)||pn(r,t.typeParameter)||pn(r,t.nameType)||pn(r,t.questionToken)||pn(r,t.type)||$i(r,i,t.members)},202:function(t,r,i){return pn(r,t.literal)},203:function(t,r,i){return pn(r,t.dotDotDotToken)||pn(r,t.name)||pn(r,t.questionToken)||pn(r,t.type)},207:nEe,208:nEe,210:function(t,r,i){return $i(r,i,t.elements)},211:function(t,r,i){return $i(r,i,t.properties)},212:function(t,r,i){return pn(r,t.expression)||pn(r,t.questionDotToken)||pn(r,t.name)},213:function(t,r,i){return pn(r,t.expression)||pn(r,t.questionDotToken)||pn(r,t.argumentExpression)},214:rEe,215:rEe,216:function(t,r,i){return pn(r,t.tag)||pn(r,t.questionDotToken)||$i(r,i,t.typeArguments)||pn(r,t.template)},217:function(t,r,i){return pn(r,t.type)||pn(r,t.expression)},218:function(t,r,i){return pn(r,t.expression)},221:function(t,r,i){return pn(r,t.expression)},222:function(t,r,i){return pn(r,t.expression)},223:function(t,r,i){return pn(r,t.expression)},225:function(t,r,i){return pn(r,t.operand)},230:function(t,r,i){return pn(r,t.asteriskToken)||pn(r,t.expression)},224:function(t,r,i){return pn(r,t.expression)},226:function(t,r,i){return pn(r,t.operand)},227:function(t,r,i){return pn(r,t.left)||pn(r,t.operatorToken)||pn(r,t.right)},235:function(t,r,i){return pn(r,t.expression)||pn(r,t.type)},236:function(t,r,i){return pn(r,t.expression)},239:function(t,r,i){return pn(r,t.expression)||pn(r,t.type)},237:function(t,r,i){return pn(r,t.name)},228:function(t,r,i){return pn(r,t.condition)||pn(r,t.questionToken)||pn(r,t.whenTrue)||pn(r,t.colonToken)||pn(r,t.whenFalse)},231:function(t,r,i){return pn(r,t.expression)},242:iEe,269:iEe,308:function(t,r,i){return $i(r,i,t.statements)||pn(r,t.endOfFileToken)},244:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.declarationList)},262:function(t,r,i){return $i(r,i,t.declarations)},245:function(t,r,i){return pn(r,t.expression)},246:function(t,r,i){return pn(r,t.expression)||pn(r,t.thenStatement)||pn(r,t.elseStatement)},247:function(t,r,i){return pn(r,t.statement)||pn(r,t.expression)},248:function(t,r,i){return pn(r,t.expression)||pn(r,t.statement)},249:function(t,r,i){return pn(r,t.initializer)||pn(r,t.condition)||pn(r,t.incrementor)||pn(r,t.statement)},250:function(t,r,i){return pn(r,t.initializer)||pn(r,t.expression)||pn(r,t.statement)},251:function(t,r,i){return pn(r,t.awaitModifier)||pn(r,t.initializer)||pn(r,t.expression)||pn(r,t.statement)},252:oEe,253:oEe,254:function(t,r,i){return pn(r,t.expression)},255:function(t,r,i){return pn(r,t.expression)||pn(r,t.statement)},256:function(t,r,i){return pn(r,t.expression)||pn(r,t.caseBlock)},270:function(t,r,i){return $i(r,i,t.clauses)},297:function(t,r,i){return pn(r,t.expression)||$i(r,i,t.statements)},298:function(t,r,i){return $i(r,i,t.statements)},257:function(t,r,i){return pn(r,t.label)||pn(r,t.statement)},258:function(t,r,i){return pn(r,t.expression)},259:function(t,r,i){return pn(r,t.tryBlock)||pn(r,t.catchClause)||pn(r,t.finallyBlock)},300:function(t,r,i){return pn(r,t.variableDeclaration)||pn(r,t.block)},171:function(t,r,i){return pn(r,t.expression)},264:aEe,232:aEe,265:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.name)||$i(r,i,t.typeParameters)||$i(r,i,t.heritageClauses)||$i(r,i,t.members)},266:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.name)||$i(r,i,t.typeParameters)||pn(r,t.type)},267:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.name)||$i(r,i,t.members)},307:function(t,r,i){return pn(r,t.name)||pn(r,t.initializer)},268:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.name)||pn(r,t.body)},272:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.name)||pn(r,t.moduleReference)},273:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.importClause)||pn(r,t.moduleSpecifier)||pn(r,t.attributes)},274:function(t,r,i){return pn(r,t.name)||pn(r,t.namedBindings)},301:function(t,r,i){return $i(r,i,t.elements)},302:function(t,r,i){return pn(r,t.name)||pn(r,t.value)},271:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.name)},275:function(t,r,i){return pn(r,t.name)},281:function(t,r,i){return pn(r,t.name)},276:sEe,280:sEe,279:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.exportClause)||pn(r,t.moduleSpecifier)||pn(r,t.attributes)},277:lEe,282:lEe,278:function(t,r,i){return $i(r,i,t.modifiers)||pn(r,t.expression)},229:function(t,r,i){return pn(r,t.head)||$i(r,i,t.templateSpans)},240:function(t,r,i){return pn(r,t.expression)||pn(r,t.literal)},204:function(t,r,i){return pn(r,t.head)||$i(r,i,t.templateSpans)},205:function(t,r,i){return pn(r,t.type)||pn(r,t.literal)},168:function(t,r,i){return pn(r,t.expression)},299:function(t,r,i){return $i(r,i,t.types)},234:function(t,r,i){return pn(r,t.expression)||$i(r,i,t.typeArguments)},284:function(t,r,i){return pn(r,t.expression)},283:function(t,r,i){return $i(r,i,t.modifiers)},357:function(t,r,i){return $i(r,i,t.elements)},285:function(t,r,i){return pn(r,t.openingElement)||$i(r,i,t.children)||pn(r,t.closingElement)},289:function(t,r,i){return pn(r,t.openingFragment)||$i(r,i,t.children)||pn(r,t.closingFragment)},286:cEe,287:cEe,293:function(t,r,i){return $i(r,i,t.properties)},292:function(t,r,i){return pn(r,t.name)||pn(r,t.initializer)},294:function(t,r,i){return pn(r,t.expression)},295:function(t,r,i){return pn(r,t.dotDotDotToken)||pn(r,t.expression)},288:function(t,r,i){return pn(r,t.tagName)},296:function(t,r,i){return pn(r,t.namespace)||pn(r,t.name)},191:QM,192:QM,310:QM,316:QM,315:QM,317:QM,319:QM,318:function(t,r,i){return $i(r,i,t.parameters)||pn(r,t.type)},321:function(t,r,i){return(typeof t.comment=="string"?void 0:$i(r,i,t.comment))||$i(r,i,t.tags)},348:function(t,r,i){return pn(r,t.tagName)||pn(r,t.name)||(typeof t.comment=="string"?void 0:$i(r,i,t.comment))},311:function(t,r,i){return pn(r,t.name)},312:function(t,r,i){return pn(r,t.left)||pn(r,t.right)},342:dEe,349:dEe,331:function(t,r,i){return pn(r,t.tagName)||(typeof t.comment=="string"?void 0:$i(r,i,t.comment))},330:function(t,r,i){return pn(r,t.tagName)||pn(r,t.class)||(typeof t.comment=="string"?void 0:$i(r,i,t.comment))},329:function(t,r,i){return pn(r,t.tagName)||pn(r,t.class)||(typeof t.comment=="string"?void 0:$i(r,i,t.comment))},346:function(t,r,i){return pn(r,t.tagName)||pn(r,t.constraint)||$i(r,i,t.typeParameters)||(typeof t.comment=="string"?void 0:$i(r,i,t.comment))},347:function(t,r,i){return pn(r,t.tagName)||(t.typeExpression&&t.typeExpression.kind===310?pn(r,t.typeExpression)||pn(r,t.fullName)||(typeof t.comment=="string"?void 0:$i(r,i,t.comment)):pn(r,t.fullName)||pn(r,t.typeExpression)||(typeof t.comment=="string"?void 0:$i(r,i,t.comment)))},339:function(t,r,i){return pn(r,t.tagName)||pn(r,t.fullName)||pn(r,t.typeExpression)||(typeof t.comment=="string"?void 0:$i(r,i,t.comment))},343:ZM,345:ZM,344:ZM,341:ZM,351:ZM,350:ZM,340:ZM,324:function(t,r,i){return Xe(t.typeParameters,r)||Xe(t.parameters,r)||pn(r,t.type)},325:voe,326:voe,327:voe,323:function(t,r,i){return Xe(t.jsDocPropertyTags,r)},328:WD,333:WD,334:WD,335:WD,336:WD,337:WD,332:WD,338:WD,352:tUe,356:nUe};function ZSe(e,t,r){return $i(t,r,e.typeParameters)||$i(t,r,e.parameters)||pn(t,e.type)}function eEe(e,t,r){return $i(t,r,e.types)}function tEe(e,t,r){return pn(t,e.type)}function nEe(e,t,r){return $i(t,r,e.elements)}function rEe(e,t,r){return pn(t,e.expression)||pn(t,e.questionDotToken)||$i(t,r,e.typeArguments)||$i(t,r,e.arguments)}function iEe(e,t,r){return $i(t,r,e.statements)}function oEe(e,t,r){return pn(t,e.label)}function aEe(e,t,r){return $i(t,r,e.modifiers)||pn(t,e.name)||$i(t,r,e.typeParameters)||$i(t,r,e.heritageClauses)||$i(t,r,e.members)}function sEe(e,t,r){return $i(t,r,e.elements)}function lEe(e,t,r){return pn(t,e.propertyName)||pn(t,e.name)}function cEe(e,t,r){return pn(t,e.tagName)||$i(t,r,e.typeArguments)||pn(t,e.attributes)}function QM(e,t,r){return pn(t,e.type)}function dEe(e,t,r){return pn(t,e.tagName)||(e.isNameFirst?pn(t,e.name)||pn(t,e.typeExpression):pn(t,e.typeExpression)||pn(t,e.name))||(typeof e.comment=="string"?void 0:$i(t,r,e.comment))}function ZM(e,t,r){return pn(t,e.tagName)||pn(t,e.typeExpression)||(typeof e.comment=="string"?void 0:$i(t,r,e.comment))}function voe(e,t,r){return pn(t,e.name)}function WD(e,t,r){return pn(t,e.tagName)||(typeof e.comment=="string"?void 0:$i(t,r,e.comment))}function tUe(e,t,r){return pn(t,e.tagName)||pn(t,e.importClause)||pn(t,e.moduleSpecifier)||pn(t,e.attributes)||(typeof e.comment=="string"?void 0:$i(t,r,e.comment))}function nUe(e,t,r){return pn(t,e.expression)}function Xo(e,t,r){if(e===void 0||e.kind<=166)return;const i=eUe[e.kind];return i===void 0?void 0:i(e,t,r)}function tx(e,t,r){const i=uEe(e),o=[];for(;o.length<i.length;)o.push(e);for(;i.length!==0;){const s=i.pop(),l=o.pop();if(Lo(s)){if(r){const u=r(s,l);if(u){if(u==="skip")continue;return u}}for(let u=s.length-1;u>=0;--u)i.push(s[u]),o.push(l)}else{const u=t(s,l);if(u){if(u==="skip")continue;return u}if(s.kind>=167)for(const d of uEe(s))i.push(d),o.push(s)}}}function uEe(e){const t=[];return Xo(e,r,r),t;function r(i){t.unshift(i)}}function pEe(e){e.externalModuleIndicator=Nw(e)}function nx(e,t,r,i=!1,o){var s,l;(s=Ar)==null||s.push(Ar.Phase.Parse,"createSourceFile",{path:e},!0),Nl("beforeParse");let u;const{languageVersion:d,setExternalModuleIndicator:_,impliedNodeFormat:m,jsDocParsingMode:y}=typeof r=="object"?r:{languageVersion:r};if(d===100)u=aT.parseSourceFile(e,t,d,void 0,i,6,vs,y);else{const E=m===void 0?_:A=>(A.impliedNodeFormat=m,(_||pEe)(A));u=aT.parseSourceFile(e,t,d,void 0,i,o,E,y)}return Nl("afterParse"),Of("Parse","beforeParse","afterParse"),(l=Ar)==null||l.pop(),u}function rx(e,t){return aT.parseIsolatedEntityName(e,t)}function Mw(e,t){return aT.parseJsonText(e,t)}function Wc(e){return e.externalModuleIndicator!==void 0}function tU(e,t,r,i=!1){const o=nU.updateSourceFile(e,t,r,i);return o.flags|=e.flags&12582912,o}function boe(e,t,r){const i=aT.JSDocParser.parseIsolatedJSDocComment(e,t,r);return i&&i.jsDoc&&aT.fixupParentReferences(i.jsDoc),i}function fEe(e,t,r){return aT.JSDocParser.parseJSDocTypeExpressionForTests(e,t,r)}var aT;(e=>{var t=fg(99,!0),r=40960,i,o,s,l,u;function d(ne){return Be++,ne}var _={createBaseSourceFileNode:ne=>d(new u(ne,0,0)),createBaseIdentifierNode:ne=>d(new s(ne,0,0)),createBasePrivateIdentifierNode:ne=>d(new l(ne,0,0)),createBaseTokenNode:ne=>d(new o(ne,0,0)),createBaseNode:ne=>d(new i(ne,0,0))},m=lw(11,_),{createNodeArray:y,createNumericLiteral:E,createStringLiteral:A,createLiteralLikeNode:R,createIdentifier:N,createPrivateIdentifier:M,createToken:k,createArrayLiteralExpression:F,createObjectLiteralExpression:O,createPropertyAccessExpression:G,createPropertyAccessChain:j,createElementAccessExpression:K,createElementAccessChain:Q,createCallExpression:J,createCallChain:he,createNewExpression:re,createParenthesizedExpression:q,createBlock:ue,createVariableStatement:de,createExpressionStatement:ge,createIfStatement:Ae,createWhileStatement:Re,createForStatement:$,createForOfStatement:ve,createVariableDeclaration:je,createVariableDeclarationList:be}=m,ee,Se,Ne,ze,lt,le,De,_e,Ve,Ge,Be,ot,Ot,Vt,mn,Hn,gt=!0,tn=!1;function ir(ne,ke,nt,Pt,on=!1,yn,ni,Or=0){var mr;if(yn=J6(ne,yn),yn===6){const so=_o(ne,ke,nt,Pt,on);return Ow(so,(mr=so.statements[0])==null?void 0:mr.expression,so.parseDiagnostics,!1,void 0),so.referencedFiles=se,so.typeReferenceDirectives=se,so.libReferenceDirectives=se,so.amdDependencies=se,so.hasNoDefaultLib=!1,so.pragmas=mt,so}Ht(ne,ke,nt,Pt,yn,Or);const Ai=go(nt,on,yn,ni||pEe,Or);return Qr(),Ai}e.parseSourceFile=ir;function Ri(ne,ke){Ht("",ne,ke,void 0,1,0),Pe();const nt=pt(!0),Pt=te()===1&&!De.length;return Qr(),Pt?nt:void 0}e.parseIsolatedEntityName=Ri;function _o(ne,ke,nt=2,Pt,on=!1){Ht(ne,ke,nt,Pt,6,0),Se=Hn,Pe();const yn=B();let ni,Or;if(te()===1)ni=Ja([],yn,yn),Or=tc();else{let so;for(;te()!==1;){let as;switch(te()){case 23:as=r0();break;case 112:case 97:case 106:as=tc();break;case 41:Ft(()=>Pe()===9&&Pe()!==59)?as=Mv():as=kv();break;case 9:case 11:if(Ft(()=>Pe()!==59)){as=wt();break}default:as=kv();break}so&&Lo(so)?so.push(as):so?so=[so,as]:(so=as,te()!==1&&Zt(f.Unexpected_token))}const Vs=Lo(so)?nn(F(so),yn):C.checkDefined(so),Cs=ge(Vs);nn(Cs,yn),ni=Ja([Cs],yn),Or=tl(1,f.Unexpected_token)}const mr=It(ne,2,6,!1,ni,Or,Se,vs);on&&Qe(mr),mr.nodeCount=Be,mr.identifierCount=Ot,mr.identifiers=ot,mr.parseDiagnostics=MI(De,mr),_e&&(mr.jsDocDiagnostics=MI(_e,mr));const Ai=mr;return Qr(),Ai}e.parseJsonText=_o;function Ht(ne,ke,nt,Pt,on,yn){switch(i=xd.getNodeConstructor(),o=xd.getTokenConstructor(),s=xd.getIdentifierConstructor(),l=xd.getPrivateIdentifierConstructor(),u=xd.getSourceFileConstructor(),ee=Sa(ne),Ne=ke,ze=nt,Ve=Pt,lt=on,le=Uk(on),De=[],Vt=0,ot=new Map,Ot=0,Be=0,Se=0,gt=!0,lt){case 1:case 2:Hn=524288;break;case 6:Hn=134742016;break;default:Hn=0;break}tn=!1,t.setText(Ne),t.setOnError(ye),t.setScriptTarget(ze),t.setLanguageVariant(le),t.setScriptKind(lt),t.setJSDocParsingMode(yn)}function Qr(){t.clearCommentDirectives(),t.setText(""),t.setOnError(void 0),t.setScriptKind(0),t.setJSDocParsingMode(0),Ne=void 0,ze=void 0,Ve=void 0,lt=void 0,le=void 0,Se=0,De=void 0,_e=void 0,Vt=0,ot=void 0,mn=void 0,gt=!0}function go(ne,ke,nt,Pt,on){const yn=ad(ee);yn&&(Hn|=33554432),Se=Hn,Pe();const ni=ja(0,Ep);C.assert(te()===1);const Or=xe(),mr=Cr(tc(),Or),Ai=It(ee,ne,nt,yn,ni,mr,Se,Pt);return rU(Ai,Ne),iU(Ai,so),Ai.commentDirectives=t.getCommentDirectives(),Ai.nodeCount=Be,Ai.identifierCount=Ot,Ai.identifiers=ot,Ai.parseDiagnostics=MI(De,Ai),Ai.jsDocParsingMode=on,_e&&(Ai.jsDocDiagnostics=MI(_e,Ai)),ke&&Qe(Ai),Ai;function so(Vs,Cs,as){De.push(NI(ee,Ne,Vs,Cs,as))}}let Ci=!1;function Cr(ne,ke){if(!ke)return ne;C.assert(!ne.jsDoc);const nt=Hi(kG(ne,Ne),Pt=>T_.parseJSDocComment(ne,Pt.pos,Pt.end-Pt.pos));return nt.length&&(ne.jsDoc=nt),Ci&&(Ci=!1,ne.flags|=536870912),ne}function Ur(ne){const ke=Ve,nt=nU.createSyntaxCursor(ne);Ve={currentNode:so};const Pt=[],on=De;De=[];let yn=0,ni=mr(ne.statements,0);for(;ni!==-1;){const Vs=ne.statements[yn],Cs=ne.statements[ni];$r(Pt,ne.statements,yn,ni),yn=Ai(ne.statements,ni);const as=lo(on,Df=>Df.start>=Vs.pos),nm=as>=0?lo(on,Df=>Df.start>=Cs.pos,as):-1;as>=0&&$r(De,on,as,nm>=0?nm:void 0),vn(()=>{const Df=Hn;for(Hn|=65536,t.resetTokenState(Cs.pos),Pe();te()!==1;){const S_=t.getTokenFullStart(),zv=Nc(0,Ep);if(Pt.push(zv),S_===t.getTokenFullStart()&&Pe(),yn>=0){const Ug=ne.statements[yn];if(zv.end===Ug.pos)break;zv.end>Ug.pos&&(yn=Ai(ne.statements,yn+1))}}Hn=Df},2),ni=yn>=0?mr(ne.statements,yn):-1}if(yn>=0){const Vs=ne.statements[yn];$r(Pt,ne.statements,yn);const Cs=lo(on,as=>as.start>=Vs.pos);Cs>=0&&$r(De,on,Cs)}return Ve=ke,m.updateSourceFile(ne,Tt(y(Pt),ne.statements));function Or(Vs){return!(Vs.flags&65536)&&!!(Vs.transformFlags&67108864)}function mr(Vs,Cs){for(let as=Cs;as<Vs.length;as++)if(Or(Vs[as]))return as;return-1}function Ai(Vs,Cs){for(let as=Cs;as<Vs.length;as++)if(!Or(Vs[as]))return as;return-1}function so(Vs){const Cs=nt.currentNode(Vs);return gt&&Cs&&Or(Cs)&&Toe(Cs),Cs}}function Qe(ne){J0(ne,!0)}e.fixupParentReferences=Qe;function It(ne,ke,nt,Pt,on,yn,ni,Or){let mr=m.createSourceFile(on,yn,ni);if(QV(mr,0,Ne.length),Ai(mr),!Pt&&Wc(mr)&&mr.transformFlags&67108864){const so=mr;mr=Ur(mr),so!==mr&&Ai(mr)}return mr;function Ai(so){so.text=Ne,so.bindDiagnostics=[],so.bindSuggestionDiagnostics=void 0,so.languageVersion=ke,so.fileName=ne,so.languageVariant=Uk(nt),so.isDeclarationFile=Pt,so.scriptKind=nt,Or(so),so.setExternalModuleIndicator=Or}}function hn(ne,ke){ne?Hn|=ke:Hn&=~ke}function pr(ne){hn(ne,8192)}function oi(ne){hn(ne,16384)}function di(ne){hn(ne,32768)}function Ki(ne){hn(ne,65536)}function Zo(ne,ke){const nt=ne&Hn;if(nt){hn(!1,nt);const Pt=ke();return hn(!0,nt),Pt}return ke()}function Da(ne,ke){const nt=ne&~Hn;if(nt){hn(!0,nt);const Pt=ke();return hn(!1,nt),Pt}return ke()}function Pn(ne){return Zo(8192,ne)}function qo(ne){return Da(8192,ne)}function at(ne){return Zo(131072,ne)}function Bt(ne){return Da(131072,ne)}function ce(ne){return Da(16384,ne)}function _t(ne){return Da(32768,ne)}function ie(ne){return Da(65536,ne)}function We(ne){return Zo(65536,ne)}function it(ne){return Da(81920,ne)}function dt(ne){return Zo(81920,ne)}function Lt(ne){return(Hn&ne)!==0}function He(){return Lt(16384)}function Ct(){return Lt(8192)}function Nt(){return Lt(131072)}function Wt(){return Lt(32768)}function rt(){return Lt(65536)}function Zt(ne,...ke){return Oe(t.getTokenStart(),t.getTokenEnd(),ne,...ke)}function Rr(ne,ke,nt,...Pt){const on=rl(De);let yn;return(!on||ne!==on.start)&&(yn=NI(ee,Ne,ne,ke,nt,...Pt),De.push(yn)),tn=!0,yn}function Oe(ne,ke,nt,...Pt){return Rr(ne,ke-ne,nt,...Pt)}function At(ne,ke,...nt){Oe(ne.pos,ne.end,ke,...nt)}function ye(ne,ke,nt){Rr(t.getTokenEnd(),ke,ne,nt)}function B(){return t.getTokenFullStart()}function xe(){return t.hasPrecedingJSDocComment()}function te(){return Ge}function xt(){return Ge=t.scan()}function $t(ne){return Pe(),ne()}function Pe(){return np(Ge)&&(t.hasUnicodeEscape()||t.hasExtendedUnicodeEscape())&&Oe(t.getTokenStart(),t.getTokenEnd(),f.Keywords_cannot_contain_escape_characters),xt()}function yt(){return Ge=t.scanJsDocToken()}function jt(ne){return Ge=t.scanJSDocCommentTextToken(ne)}function or(){return Ge=t.reScanGreaterToken()}function $n(){return Ge=t.reScanSlashToken()}function fr(ne){return Ge=t.reScanTemplateToken(ne)}function vt(){return Ge=t.reScanLessThanToken()}function Rt(){return Ge=t.reScanHashToken()}function zt(){return Ge=t.scanJsxIdentifier()}function Yt(){return Ge=t.scanJsxToken()}function An(){return Ge=t.scanJsxAttributeValue()}function vn(ne,ke){const nt=Ge,Pt=De.length,on=tn,yn=Hn,ni=ke!==0?t.lookAhead(ne):t.tryScan(ne);return C.assert(yn===Hn),(!ni||ke!==0)&&(Ge=nt,ke!==2&&(De.length=Pt),tn=on),ni}function Ft(ne){return vn(ne,1)}function bn(ne){return vn(ne,0)}function Pr(){return te()===80?!0:te()>118}function tr(){return te()===80?!0:te()===127&&He()||te()===135&&rt()?!1:te()>118}function kt(ne,ke,nt=!0){return te()===ne?(nt&&Pe(),!0):(ke?Zt(ke):Zt(f._0_expected,Ta(ne)),!1)}const ti=Object.keys(sF).filter(ne=>ne.length>2);function ea(ne){var on;if(Y0(ne)){Oe(wa(Ne,ne.template.pos),ne.template.end,f.Module_declaration_names_may_only_use_or_quoted_strings);return}const ke=Je(ne)?Yr(ne):void 0;if(!ke||!_p(ke,ze)){Zt(f._0_expected,Ta(27));return}const nt=wa(Ne,ne.pos);switch(ke){case"const":case"let":case"var":Oe(nt,ne.end,f.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":wo(f.Interface_name_cannot_be_0,f.Interface_must_be_given_a_name,19);return;case"is":Oe(nt,t.getTokenStart(),f.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":wo(f.Namespace_name_cannot_be_0,f.Namespace_must_be_given_a_name,19);return;case"type":wo(f.Type_alias_name_cannot_be_0,f.Type_alias_must_be_given_a_name,64);return}const Pt=(on=fS(ke,ti,qs))!=null?on:vo(ke);if(Pt){Oe(nt,ne.end,f.Unknown_keyword_or_identifier_Did_you_mean_0,Pt);return}te()!==0&&Oe(nt,ne.end,f.Unexpected_keyword_or_identifier)}function wo(ne,ke,nt){te()===nt?Zt(ke):Zt(ne,t.getTokenValue())}function vo(ne){for(const ke of ti)if(ne.length>ke.length+2&&fo(ne,ke))return"".concat(ke," ").concat(ne.slice(ke.length))}function fs(ne,ke,nt){if(te()===60&&!t.hasPrecedingLineBreak()){Zt(f.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(te()===21){Zt(f.Cannot_start_a_function_call_in_a_type_annotation),Pe();return}if(ke&&!Oo()){nt?Zt(f._0_expected,Ta(27)):Zt(f.Expected_for_property_initializer);return}if(!ga()){if(nt){Zt(f._0_expected,Ta(27));return}ea(ne)}}function xs(ne){return te()===ne?(yt(),!0):(C.assert(u6(ne)),Zt(f._0_expected,Ta(ne)),!1)}function ms(ne,ke,nt,Pt){if(te()===ke){Pe();return}const on=Zt(f._0_expected,Ta(ke));nt&&on&&_a(on,NI(ee,Ne,Pt,1,f.The_parser_expected_to_find_a_1_to_match_the_0_token_here,Ta(ne),Ta(ke)))}function ro(ne){return te()===ne?(Pe(),!0):!1}function zo(ne){if(te()===ne)return tc()}function bc(ne){if(te()===ne)return Tf()}function tl(ne,ke,nt){return zo(ne)||Ds(ne,!1,ke||f._0_expected,nt||Ta(ne))}function Ma(ne){const ke=bc(ne);return ke||(C.assert(u6(ne)),Ds(ne,!1,f._0_expected,Ta(ne)))}function tc(){const ne=B(),ke=te();return Pe(),nn(k(ke),ne)}function Tf(){const ne=B(),ke=te();return yt(),nn(k(ke),ne)}function Oo(){return te()===27?!0:te()===20||te()===1||t.hasPrecedingLineBreak()}function ga(){return Oo()?(te()===27&&Pe(),!0):!1}function is(){return ga()||kt(27)}function Ja(ne,ke,nt,Pt){const on=y(ne,Pt);return uh(on,ke,nt!=null?nt:t.getTokenFullStart()),on}function nn(ne,ke,nt){return uh(ne,ke,nt!=null?nt:t.getTokenFullStart()),Hn&&(ne.flags|=Hn),tn&&(tn=!1,ne.flags|=262144),ne}function Ds(ne,ke,nt,...Pt){ke?Rr(t.getTokenFullStart(),0,nt,...Pt):nt&&Zt(nt,...Pt);const on=B(),yn=ne===80?N("",void 0):mb(ne)?m.createTemplateLiteralLikeNode(ne,"","",void 0):ne===9?E("",void 0):ne===11?A("",void 0):ne===283?m.createMissingDeclaration():k(ne);return nn(yn,on)}function ql(ne){let ke=ot.get(ne);return ke===void 0&&ot.set(ne,ke=ne),ke}function lc(ne,ke,nt){if(ne){Ot++;const Or=t.hasPrecedingJSDocLeadingAsterisks()?t.getTokenStart():B(),mr=te(),Ai=ql(t.getTokenValue()),so=t.hasExtendedUnicodeEscape();return xt(),nn(N(Ai,mr,so),Or)}if(te()===81)return Zt(nt||f.Private_identifiers_are_not_allowed_outside_class_bodies),lc(!0);if(te()===0&&t.tryScan(()=>t.reScanInvalidIdentifier()===80))return lc(!0);Ot++;const Pt=te()===1,on=t.isReservedWord(),yn=t.getTokenText(),ni=on?f.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:f.Identifier_expected;return Ds(80,Pt,ke||ni,yn)}function vd(ne){return lc(Pr(),void 0,ne)}function Gs(ne,ke){return lc(tr(),ne,ke)}function Ie(ne){return lc($u(te()),ne)}function Y(){return(t.hasUnicodeEscape()||t.hasExtendedUnicodeEscape())&&Zt(f.Unicode_escape_sequence_cannot_appear_here),lc($u(te()))}function ut(){return $u(te())||te()===11||te()===9||te()===10}function Jt(){return $u(te())||te()===11}function fn(ne){if(te()===11||te()===9||te()===10){const ke=wt();return ke.text=ql(ke.text),ke}return te()===23?si():te()===81?xr():Ie()}function dr(){return fn()}function si(){const ne=B();kt(23);const ke=Pn(Du);return kt(24),nn(m.createComputedPropertyName(ke),ne)}function xr(){const ne=B(),ke=M(ql(t.getTokenValue()));return Pe(),nn(ke,ne)}function Bn(ne){return te()===ne&&bn(Xi)}function Zi(){return Pe(),t.hasPrecedingLineBreak()?!1:Cc()}function Xi(){switch(te()){case 87:return Pe()===94;case 95:return Pe(),te()===90?Ft(ol):te()===156?Ft(Ca):bs();case 90:return ol();case 126:return Pe(),Cc();case 139:case 153:return Pe(),zc();default:return Zi()}}function bs(){return te()===60||te()!==42&&te()!==130&&te()!==19&&Cc()}function Ca(){return Pe(),bs()}function ml(){return _b(te())&&bn(Xi)}function Cc(){return te()===23||te()===19||te()===42||te()===26||ut()}function zc(){return te()===23||ut()}function ol(){return Pe(),te()===86||te()===100||te()===120||te()===60||te()===128&&Ft(fp)||te()===134&&Ft(tm)}function al(ne,ke){if(sl(ne))return!0;switch(ne){case 0:case 1:case 3:return!(te()===27&&ke)&&wv();case 2:return te()===84||te()===90;case 4:return Ft(Qf);case 5:return Ft(mA)||te()===27&&!ke;case 6:return te()===23||ut();case 12:switch(te()){case 23:case 42:case 26:case 25:return!0;default:return ut()}case 18:return ut();case 9:return te()===23||te()===26||ut();case 24:return Jt();case 7:return te()===19?Ft(Iu):ke?tr()&&!Fe():up()&&!Fe();case 8:return qx();case 10:return te()===28||te()===26||qx();case 19:return te()===103||te()===87||tr();case 15:switch(te()){case 28:case 25:return!0}case 11:return te()===26||Kd();case 16:return ft(!1);case 17:return ft(!0);case 20:case 21:return te()===28||Xb();case 22:return hA();case 23:return te()===161&&Ft(jg)?!1:te()===11?!0:$u(te());case 13:return $u(te())||te()===19;case 14:return!0;case 25:return!0;case 26:return C.fail("ParsingContext.Count used as a context");default:C.assertNever(ne,"Non-exhaustive case in 'isListElement'.")}}function Iu(){if(C.assert(te()===19),Pe()===20){const ne=Pe();return ne===28||ne===19||ne===96||ne===119}return!0}function xu(){return Pe(),tr()}function qd(){return Pe(),$u(te())}function du(){return Pe(),Pee(te())}function Fe(){return te()===119||te()===96?Ft(Xt):!1}function Xt(){return Pe(),Kd()}function Qn(){return Pe(),Xb()}function bo(ne){if(te()===1)return!0;switch(ne){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return te()===20;case 3:return te()===20||te()===84||te()===90;case 7:return te()===19||te()===96||te()===119;case 8:return es();case 19:return te()===32||te()===21||te()===19||te()===96||te()===119;case 11:return te()===22||te()===27;case 15:case 21:case 10:return te()===24;case 17:case 16:case 18:return te()===22||te()===24;case 20:return te()!==28;case 22:return te()===19||te()===20;case 13:return te()===32||te()===44;case 14:return te()===30&&Ft(jz);default:return!1}}function es(){return!!(Oo()||Cu(te())||te()===39)}function ts(){C.assert(Vt,"Missing parsing context");for(let ne=0;ne<26;ne++)if(Vt&1<<ne&&(al(ne,!0)||bo(ne)))return!0;return!1}function ja(ne,ke){const nt=Vt;Vt|=1<<ne;const Pt=[],on=B();for(;!bo(ne);){if(al(ne,!1)){Pt.push(Nc(ne,ke));continue}if(kg(ne))break}return Vt=nt,Ja(Pt,on)}function Nc(ne,ke){const nt=sl(ne);return nt?wl(nt):ke()}function sl(ne,ke){var nt;if(!Ve||!Jl(ne)||tn)return;const Pt=Ve.currentNode(ke!=null?ke:t.getTokenFullStart());if(!(Wl(Pt)||iUe(Pt)||mI(Pt)||(Pt.flags&101441536)!==Hn)&&of(Pt,ne))return Ak(Pt)&&((nt=Pt.jsDoc)!=null&&nt.jsDocCache)&&(Pt.jsDoc.jsDocCache=void 0),Pt}function wl(ne){return t.resetTokenState(ne.end),Pe(),ne}function Jl(ne){switch(ne){case 5:case 2:case 0:case 1:case 3:case 6:case 4:case 8:case 17:case 16:return!0}return!1}function of(ne,ke){switch(ke){case 5:return bd(ne);case 2:return ld(ne);case 0:case 1:case 3:return qp(ne);case 6:return Ru(ne);case 4:return Yf(ne);case 8:return J_(ne);case 17:case 16:return Lg(ne)}return!1}function bd(ne){if(ne)switch(ne.kind){case 177:case 182:case 178:case 179:case 173:case 241:return!0;case 175:const ke=ne;return!(ke.name.kind===80&&ke.name.escapedText==="constructor")}return!1}function ld(ne){if(ne)switch(ne.kind){case 297:case 298:return!0}return!1}function qp(ne){if(ne)switch(ne.kind){case 263:case 244:case 242:case 246:case 245:case 258:case 254:case 256:case 253:case 252:case 250:case 251:case 249:case 248:case 255:case 243:case 259:case 257:case 247:case 260:case 273:case 272:case 279:case 278:case 268:case 264:case 265:case 267:case 266:return!0}return!1}function Ru(ne){return ne.kind===307}function Yf(ne){if(ne)switch(ne.kind){case 181:case 174:case 182:case 172:case 180:return!0}return!1}function J_(ne){return ne.kind!==261?!1:ne.initializer===void 0}function Lg(ne){return ne.kind!==170?!1:ne.initializer===void 0}function kg(ne){return sp(ne),ts()?!0:(Pe(),!1)}function sp(ne){switch(ne){case 0:return te()===90?Zt(f._0_expected,Ta(95)):Zt(f.Declaration_or_statement_expected);case 1:return Zt(f.Declaration_or_statement_expected);case 2:return Zt(f.case_or_default_expected);case 3:return Zt(f.Statement_expected);case 18:case 4:return Zt(f.Property_or_signature_expected);case 5:return Zt(f.Unexpected_token_A_constructor_method_accessor_or_property_was_expected);case 6:return Zt(f.Enum_member_expected);case 7:return Zt(f.Expression_expected);case 8:return np(te())?Zt(f._0_is_not_allowed_as_a_variable_declaration_name,Ta(te())):Zt(f.Variable_declaration_expected);case 9:return Zt(f.Property_destructuring_pattern_expected);case 10:return Zt(f.Array_element_destructuring_pattern_expected);case 11:return Zt(f.Argument_expression_expected);case 12:return Zt(f.Property_assignment_expected);case 15:return Zt(f.Expression_or_comma_expected);case 17:return Zt(f.Parameter_declaration_expected);case 16:return np(te())?Zt(f._0_is_not_allowed_as_a_parameter_name,Ta(te())):Zt(f.Parameter_declaration_expected);case 19:return Zt(f.Type_parameter_declaration_expected);case 20:return Zt(f.Type_argument_expected);case 21:return Zt(f.Type_expected);case 22:return Zt(f.Unexpected_token_expected);case 23:return te()===161?Zt(f._0_expected,"}"):Zt(f.Identifier_expected);case 13:return Zt(f.Identifier_expected);case 14:return Zt(f.Identifier_expected);case 24:return Zt(f.Identifier_or_string_literal_expected);case 25:return Zt(f.Identifier_expected);case 26:return C.fail("ParsingContext.Count used as a context");default:C.assertNever(ne)}}function Kc(ne,ke,nt){const Pt=Vt;Vt|=1<<ne;const on=[],yn=B();let ni=-1;for(;;){if(al(ne,!1)){const Or=t.getTokenFullStart(),mr=Nc(ne,ke);if(!mr){Vt=Pt;return}if(on.push(mr),ni=t.getTokenStart(),ro(28))continue;if(ni=-1,bo(ne))break;kt(28,vh(ne)),nt&&te()===27&&!t.hasPrecedingLineBreak()&&Pe(),Or===t.getTokenFullStart()&&Pe();continue}if(bo(ne)||kg(ne))break}return Vt=Pt,Ja(on,yn,void 0,ni>=0)}function vh(ne){return ne===6?f.An_enum_member_name_must_be_followed_by_a_or:void 0}function Sf(){const ne=Ja([],B());return ne.isMissingList=!0,ne}function g_(ne){return!!ne.isMissingList}function oe(ne,ke,nt,Pt){if(kt(nt)){const on=Kc(ne,ke);return kt(Pt),on}return Sf()}function pt(ne,ke){const nt=B();let Pt=ne?Ie(ke):Gs(ke);for(;ro(25)&&te()!==30;)Pt=nn(m.createQualifiedName(Pt,cn(ne,!1,!0)),nt);return Pt}function rn(ne,ke){return nn(m.createQualifiedName(ne,ke),ne.pos)}function cn(ne,ke,nt){if(t.hasPrecedingLineBreak()&&$u(te())&&Ft(Bx))return Ds(80,!0,f.Identifier_expected);if(te()===81){const Pt=xr();return ke?Pt:Ds(80,!0,f.Identifier_expected)}return ne?nt?Ie():Y():Gs()}function wn(ne){const ke=B(),nt=[];let Pt;do Pt=Ue(ne),nt.push(Pt);while(Pt.literal.kind===17);return Ja(nt,ke)}function ar(ne){const ke=B();return nn(m.createTemplateExpression(Nn(ne),wn(ne)),ke)}function ri(){const ne=B();return nn(m.createTemplateLiteralType(Nn(!1),Si()),ne)}function Si(){const ne=B(),ke=[];let nt;do nt=eo(),ke.push(nt);while(nt.literal.kind===17);return Ja(ke,ne)}function eo(){const ne=B();return nn(m.createTemplateLiteralTypeSpan(hl(),z(!1)),ne)}function z(ne){return te()===20?(fr(ne),To()):tl(18,f._0_expected,Ta(20))}function Ue(ne){const ke=B();return nn(m.createTemplateSpan(Pn(Du),z(ne)),ke)}function wt(){return Ao(te())}function Nn(ne){!ne&&t.getTokenFlags()&26656&&fr(!1);const ke=Ao(te());return C.assert(ke.kind===16,"Template head has wrong token kind"),ke}function To(){const ne=Ao(te());return C.assert(ne.kind===17||ne.kind===18,"Template fragment has wrong token kind"),ne}function oa(ne){const ke=ne===15||ne===18,nt=t.getTokenText();return nt.substring(1,nt.length-(t.isUnterminated()?0:ke?1:2))}function Ao(ne){const ke=B(),nt=mb(ne)?m.createTemplateLiteralLikeNode(ne,t.getTokenValue(),oa(ne),t.getTokenFlags()&7176):ne===9?E(t.getTokenValue(),t.getNumericLiteralFlags()):ne===11?A(t.getTokenValue(),void 0,t.hasExtendedUnicodeEscape()):WN(ne)?R(ne,t.getTokenValue()):C.fail();return t.hasExtendedUnicodeEscape()&&(nt.hasExtendedUnicodeEscape=!0),t.isUnterminated()&&(nt.isUnterminated=!0),Pe(),nn(nt,ke)}function Uo(){return pt(!0,f.Type_expected)}function bl(){if(!t.hasPrecedingLineBreak()&&vt()===30)return oe(20,hl,30,32)}function Pa(){const ne=B();return nn(m.createTypeReferenceNode(Uo(),bl()),ne)}function cd(ne){switch(ne.kind){case 184:return Wl(ne.typeName);case 185:case 186:{const{parameters:ke,type:nt}=ne;return g_(ke)||cd(nt)}case 197:return cd(ne.type);default:return!1}}function Jp(ne){return Pe(),nn(m.createTypePredicateNode(void 0,ne,hl()),ne.pos)}function Ef(){const ne=B();return Pe(),nn(m.createThisTypeNode(),ne)}function $f(){const ne=B();return Pe(),nn(m.createJSDocAllType(),ne)}function xy(){const ne=B();return Pe(),nn(m.createJSDocNonNullableType(lE(),!1),ne)}function Iv(){const ne=B();return Pe(),te()===28||te()===20||te()===22||te()===32||te()===64||te()===52?nn(m.createJSDocUnknownType(),ne):nn(m.createJSDocNullableType(hl(),!1),ne)}function ju(){const ne=B(),ke=xe();if(bn(Xx)){const nt=gi(36),Pt=ur(59,!1);return Cr(nn(m.createJSDocFunctionType(nt,Pt),ne),ke)}return nn(m.createTypeReferenceNode(Ie(),void 0),ne)}function bh(){const ne=B();let ke;return(te()===110||te()===105)&&(ke=Ie(),kt(59)),nn(m.createParameterDeclaration(void 0,void 0,ke,void 0,Cm(),void 0),ne)}function Cm(){t.setSkipJsDocLeadingAsterisks(!0);const ne=B();if(ro(144)){const Pt=m.createJSDocNamepathType(void 0);e:for(;;)switch(te()){case 20:case 1:case 28:case 5:break e;default:yt()}return t.setSkipJsDocLeadingAsterisks(!1),nn(Pt,ne)}const ke=ro(26);let nt=My();return t.setSkipJsDocLeadingAsterisks(!1),ke&&(nt=nn(m.createJSDocVariadicType(nt),ne)),te()===64?(Pe(),nn(m.createJSDocOptionalType(nt),ne)):nt}function Af(){const ne=B();kt(114);const ke=pt(!0),nt=t.hasPrecedingLineBreak()?void 0:El();return nn(m.createTypeQueryNode(ke,nt),ne)}function Ry(){const ne=B(),ke=Ni(!1,!0),nt=Gs();let Pt,on;ro(96)&&(Xb()||!Kd()?Pt=hl():on=CT());const yn=ro(64)?hl():void 0,ni=m.createTypeParameterDeclaration(ke,nt,Pt,yn);return ni.expression=on,nn(ni,ne)}function $e(){if(te()===30)return oe(19,Ry,30,32)}function ft(ne){return te()===26||qx()||_b(te())||te()===60||Xb(!ne)}function Qt(ne){const ke=Ov(f.Private_identifiers_cannot_be_used_as_parameters);return X2(ke)===0&&!bt(ne)&&_b(te())&&Pe(),ke}function In(){return Pr()||te()===23||te()===19}function Yn(ne){return Kn(ne)}function kr(ne){return Kn(ne,!1)}function Kn(ne,ke=!0){const nt=B(),Pt=xe(),on=ne?ie(()=>Ni(!0)):We(()=>Ni(!0));if(te()===110){const mr=m.createParameterDeclaration(on,void 0,lc(!0),void 0,Jd(),void 0),Ai=Sc(on);return Ai&&At(Ai,f.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters),Cr(nn(mr,nt),Pt)}const yn=gt;gt=!1;const ni=zo(26);if(!ke&&!In())return;const Or=Cr(nn(m.createParameterDeclaration(on,ni,Qt(on),zo(58),Jd(),Y_()),nt),Pt);return gt=yn,Or}function ur(ne,ke){if(wi(ne,ke))return at(My)}function wi(ne,ke){return ne===39?(kt(ne),!0):ro(59)?!0:ke&&te()===39?(Zt(f._0_expected,Ta(59)),Pe(),!0):!1}function No(ne,ke){const nt=He(),Pt=rt();oi(!!(ne&1)),Ki(!!(ne&2));const on=ne&32?Kc(17,bh):Kc(16,()=>ke?Yn(Pt):kr(Pt));return oi(nt),Ki(Pt),on}function gi(ne){if(!kt(21))return Sf();const ke=No(ne,!0);return kt(22),ke}function Io(){ro(28)||is()}function Vi(ne){const ke=B(),nt=xe();ne===181&&kt(105);const Pt=$e(),on=gi(4),yn=ur(59,!0);Io();const ni=ne===180?m.createCallSignature(Pt,on,yn):m.createConstructSignature(Pt,on,yn);return Cr(nn(ni,ke),nt)}function ll(){return te()===23&&Ft(lp)}function lp(){if(Pe(),te()===26||te()===24)return!0;if(_b(te())){if(Pe(),tr())return!0}else if(tr())Pe();else return!1;return te()===59||te()===28?!0:te()!==58?!1:(Pe(),te()===59||te()===28||te()===24)}function Nm(ne,ke,nt){const Pt=oe(16,()=>Yn(!1),23,24),on=Jd();Io();const yn=m.createIndexSignature(nt,Pt,on);return Cr(nn(yn,ne),ke)}function cp(ne,ke,nt){const Pt=dr(),on=zo(58);let yn;if(te()===21||te()===30){const ni=$e(),Or=gi(4),mr=ur(59,!0);yn=m.createMethodSignature(nt,Pt,on,ni,Or,mr)}else{const ni=Jd();yn=m.createPropertySignature(nt,Pt,on,ni),te()===64&&(yn.initializer=Y_())}return Io(),Cr(nn(yn,ne),ke)}function Qf(){if(te()===21||te()===30||te()===139||te()===153)return!0;let ne=!1;for(;_b(te());)ne=!0,Pe();return te()===23?!0:(ut()&&(ne=!0,Pe()),ne?te()===21||te()===30||te()===58||te()===59||te()===28||Oo():!1)}function dp(){if(te()===21||te()===30)return Vi(180);if(te()===105&&Ft(wg))return Vi(181);const ne=B(),ke=xe(),nt=Ni(!1);return Bn(139)?zT(ne,ke,nt,178,4):Bn(153)?zT(ne,ke,nt,179,4):ll()?Nm(ne,ke,nt):cp(ne,ke,nt)}function wg(){return Pe(),te()===21||te()===30}function Og(){return Pe()===25}function xv(){switch(Pe()){case 21:case 30:case 25:return!0}return!1}function Th(){const ne=B();return nn(m.createTypeLiteralNode(K_()),ne)}function K_(){let ne;return kt(19)?(ne=ja(4,dp),kt(20)):ne=Sf(),ne}function EC(){return Pe(),te()===40||te()===41?Pe()===148:(te()===148&&Pe(),te()===23&&xu()&&Pe()===103)}function nL(){const ne=B(),ke=Ie();kt(103);const nt=hl();return nn(m.createTypeParameterDeclaration(void 0,ke,nt,void 0),ne)}function AC(){const ne=B();kt(19);let ke;(te()===148||te()===40||te()===41)&&(ke=tc(),ke.kind!==148&&kt(148)),kt(23);const nt=nL(),Pt=ro(130)?hl():void 0;kt(24);let on;(te()===58||te()===40||te()===41)&&(on=tc(),on.kind!==58&&kt(58));const yn=Jd();is();const ni=ja(4,dp);return kt(20),nn(m.createMappedTypeNode(ke,nt,Pt,on,yn,ni),ne)}function Wg(){const ne=B();if(ro(26))return nn(m.createRestTypeNode(hl()),ne);const ke=hl();if(CD(ke)&&ke.pos===ke.type.pos){const nt=m.createOptionalTypeNode(ke.type);return Tt(nt,ke),nt.flags=ke.flags,nt}return ke}function TT(){return Pe()===59||te()===58&&Pe()===59}function J1(){return te()===26?$u(Pe())&&TT():$u(te())&&TT()}function Rv(){if(Ft(J1)){const ne=B(),ke=xe(),nt=zo(26),Pt=Ie(),on=zo(58);kt(59);const yn=Wg(),ni=m.createNamedTupleMember(nt,Pt,on,yn);return Cr(nn(ni,ne),ke)}return Wg()}function K1(){const ne=B();return nn(m.createTupleTypeNode(oe(21,Rv,23,24)),ne)}function Cx(){const ne=B();kt(21);const ke=hl();return kt(22),nn(m.createParenthesizedType(ke),ne)}function rL(){let ne;if(te()===128){const ke=B();Pe();const nt=nn(k(128),ke);ne=Ja([nt],ke)}return ne}function X1(){const ne=B(),ke=xe(),nt=rL(),Pt=ro(105);C.assert(!nt||Pt,"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.");const on=$e(),yn=gi(4),ni=ur(39,!1),Or=Pt?m.createConstructorTypeNode(nt,on,yn,ni):m.createFunctionTypeNode(on,yn,ni);return Cr(nn(Or,ne),ke)}function Nx(){const ne=tc();return te()===25?void 0:ne}function ST(ne){const ke=B();ne&&Pe();let nt=te()===112||te()===97||te()===106?tc():Ao(te());return ne&&(nt=nn(m.createPrefixUnaryExpression(41,nt),ke)),nn(m.createLiteralTypeNode(nt),ke)}function IC(){return Pe(),te()===102}function Y1(){Se|=4194304;const ne=B(),ke=ro(114);kt(102),kt(21);const nt=hl();let Pt;if(ro(28)){const ni=t.getTokenStart();kt(19);const Or=te();if(Or===118||Or===132?Pe():Zt(f._0_expected,Ta(118)),kt(59),Pt=c0(Or,!0),ro(28),!kt(20)){const mr=rl(De);mr&&mr.code===f._0_expected.code&&_a(mr,NI(ee,Ne,ni,1,f.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}}kt(22);const on=ro(25)?Uo():void 0,yn=bl();return nn(m.createImportTypeNode(nt,Pt,on,yn,ke),ne)}function Mx(){return Pe(),te()===9||te()===10}function lE(){switch(te()){case 133:case 159:case 154:case 150:case 163:case 155:case 136:case 157:case 146:case 151:return bn(Nx)||Pa();case 67:t.reScanAsteriskEqualsToken();case 42:return $f();case 61:t.reScanQuestionToken();case 58:return Iv();case 100:return ju();case 54:return xy();case 15:case 11:case 9:case 10:case 112:case 97:case 106:return ST();case 41:return Ft(Mx)?ST(!0):Pa();case 116:return tc();case 110:{const ne=Ef();return te()===142&&!t.hasPrecedingLineBreak()?Jp(ne):ne}case 114:return Ft(IC)?Y1():Af();case 19:return Ft(EC)?AC():Th();case 23:return K1();case 21:return Cx();case 102:return Y1();case 131:return Ft(Bx)?X_():Pa();case 16:return ri();default:return Pa()}}function Xb(ne){switch(te()){case 133:case 159:case 154:case 150:case 163:case 136:case 148:case 155:case 158:case 116:case 157:case 106:case 110:case 114:case 146:case 19:case 23:case 30:case 52:case 51:case 105:case 11:case 9:case 10:case 112:case 97:case 151:case 42:case 58:case 54:case 26:case 140:case 102:case 131:case 15:case 16:return!0;case 100:return!ne;case 41:return!ne&&Ft(Mx);case 21:return!ne&&Ft(Px);default:return tr()}}function Px(){return Pe(),te()===22||ft(!1)||Xb()}function Lx(){const ne=B();let ke=lE();for(;!t.hasPrecedingLineBreak();)switch(te()){case 54:Pe(),ke=nn(m.createJSDocNonNullableType(ke,!0),ne);break;case 58:if(Ft(Qn))return ke;Pe(),ke=nn(m.createJSDocNullableType(ke,!0),ne);break;case 23:if(kt(23),Xb()){const nt=hl();kt(24),ke=nn(m.createIndexedAccessTypeNode(ke,nt),ne)}else kt(24),ke=nn(m.createArrayTypeNode(ke),ne);break;default:return ke}return ke}function cE(ne){const ke=B();return kt(ne),nn(m.createTypeOperatorNode(ne,Cy()),ke)}function Yb(){if(ro(96)){const ne=Bt(hl);if(Nt()||te()!==58)return ne}}function Dv(){const ne=B(),ke=Gs(),nt=bn(Yb),Pt=m.createTypeParameterDeclaration(void 0,ke,nt);return nn(Pt,ne)}function Dy(){const ne=B();return kt(140),nn(m.createInferTypeNode(Dv()),ne)}function Cy(){const ne=te();switch(ne){case 143:case 158:case 148:return cE(ne);case 140:return Dy()}return at(Lx)}function Ny(ne){if(ns()){const ke=X1();let nt;return G_(ke)?nt=ne?f.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:f.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:nt=ne?f.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:f.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,At(ke,nt),ke}}function $b(ne,ke,nt){const Pt=B(),on=ne===52,yn=ro(ne);let ni=yn&&Ny(on)||ke();if(te()===ne||yn){const Or=[ni];for(;ro(ne);)Or.push(Ny(on)||ke());ni=nn(nt(Ja(Or,Pt)),Pt)}return ni}function ET(){return $b(51,Cy,m.createIntersectionTypeNode)}function $1(){return $b(52,ET,m.createUnionTypeNode)}function AT(){return Pe(),te()===105}function ns(){return te()===30||te()===21&&Ft(xC)?!0:te()===105||te()===128&&Ft(AT)}function Q1(){if(_b(te())&&Ni(!1),tr()||te()===110)return Pe(),!0;if(te()===23||te()===19){const ne=De.length;return Ov(),ne===De.length}return!1}function xC(){return Pe(),!!(te()===22||te()===26||Q1()&&(te()===59||te()===28||te()===58||te()===64||te()===22&&(Pe(),te()===39)))}function My(){const ne=B(),ke=tr()&&bn(Py),nt=hl();return ke?nn(m.createTypePredicateNode(void 0,ke,nt),ne):nt}function Py(){const ne=Gs();if(te()===142&&!t.hasPrecedingLineBreak())return Pe(),ne}function X_(){const ne=B(),ke=tl(131),nt=te()===110?Ef():Gs(),Pt=ro(142)?hl():void 0;return nn(m.createTypePredicateNode(ke,nt,Pt),ne)}function hl(){if(Hn&81920)return Zo(81920,hl);if(ns())return X1();const ne=B(),ke=$1();if(!Nt()&&!t.hasPrecedingLineBreak()&&ro(96)){const nt=Bt(hl);kt(58);const Pt=at(hl);kt(59);const on=at(hl);return nn(m.createConditionalTypeNode(ke,nt,Pt,on),ne)}return ke}function Jd(){return ro(59)?hl():void 0}function up(){switch(te()){case 110:case 108:case 106:case 112:case 97:case 9:case 10:case 11:case 15:case 16:case 21:case 23:case 19:case 100:case 86:case 105:case 44:case 69:case 80:return!0;case 102:return Ft(xv);default:return tr()}}function Kd(){if(up())return!0;switch(te()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 46:case 47:case 30:case 135:case 127:case 81:case 60:return!0;default:return Pm()?!0:tr()}}function IT(){return te()!==19&&te()!==100&&te()!==86&&te()!==60&&Kd()}function Du(){const ne=Wt();ne&&di(!1);const ke=B();let nt=Uu(!0),Pt;for(;Pt=zo(28);)nt=Ua(nt,Pt,Uu(!0),ke);return ne&&di(!0),nt}function Y_(){return ro(64)?Uu(!0):void 0}function Uu(ne){if(Mm())return xT();const ke=iL(ne)||Ze(ne);if(ke)return ke;const nt=B(),Pt=xe(),on=Qb(0);return on.kind===80&&te()===39?RT(nt,on,ne,Pt,void 0):Zu(on)&&py(or())?Ua(on,tc(),Uu(ne),nt):Nv(on,nt,ne)}function Mm(){return te()===127?He()?!0:Ft(hE):!1}function Xm(){return Pe(),!t.hasPrecedingLineBreak()&&tr()}function xT(){const ne=B();return Pe(),!t.hasPrecedingLineBreak()&&(te()===42||Kd())?nn(m.createYieldExpression(zo(42),Uu(!0)),ne):nn(m.createYieldExpression(void 0,void 0),ne)}function RT(ne,ke,nt,Pt,on){C.assert(te()===39,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");const yn=m.createParameterDeclaration(void 0,void 0,ke,void 0,void 0,void 0);nn(yn,ke.pos);const ni=Ja([yn],yn.pos,yn.end),Or=tl(39),mr=Ym(!!on,nt),Ai=m.createArrowFunction(on,void 0,ni,void 0,Or,mr);return Cr(nn(Ai,ne),Pt)}function iL(ne){const ke=RC();if(ke!==0)return ke===1?Fg(!0,!0):bn(()=>dE(ne))}function RC(){return te()===21||te()===30||te()===134?Ft(Cv):te()===39?1:0}function Cv(){if(te()===134&&(Pe(),t.hasPrecedingLineBreak()||te()!==21&&te()!==30))return 0;const ne=te(),ke=Pe();if(ne===21){if(ke===22)switch(Pe()){case 39:case 59:case 19:return 1;default:return 0}if(ke===23||ke===19)return 2;if(ke===26)return 1;if(_b(ke)&&ke!==134&&Ft(xu))return Pe()===130?0:1;if(!tr()&&ke!==110)return 0;switch(Pe()){case 59:return 1;case 58:return Pe(),te()===59||te()===28||te()===64||te()===22?1:0;case 28:case 64:case 22:return 2}return 0}else return C.assert(ne===30),!tr()&&te()!==87?0:le===1?Ft(()=>{ro(87);const Pt=Pe();if(Pt===96)switch(Pe()){case 64:case 32:case 44:return!1;default:return!0}else if(Pt===28||Pt===64)return!0;return!1})?1:0:2}function dE(ne){const ke=t.getTokenStart();if(mn!=null&&mn.has(ke))return;const nt=Fg(!1,ne);return nt||(mn||(mn=new Set)).add(ke),nt}function Ze(ne){if(te()===134&&Ft(Z1)===1){const ke=B(),nt=xe(),Pt=xo(),on=Qb(0);return RT(ke,on,ne,nt,Pt)}}function Z1(){if(te()===134){if(Pe(),t.hasPrecedingLineBreak()||te()===39)return 0;const ne=Qb(0);if(!t.hasPrecedingLineBreak()&&ne.kind===80&&te()===39)return 1}return 0}function Fg(ne,ke){const nt=B(),Pt=xe(),on=xo(),yn=bt(on,zM)?2:0,ni=$e();let Or;if(kt(21)){if(ne)Or=No(yn,ne);else{const S_=No(yn,ne);if(!S_)return;Or=S_}if(!kt(22)&&!ne)return}else{if(!ne)return;Or=Sf()}const mr=te()===59,Ai=ur(59,!1);if(Ai&&!ne&&cd(Ai))return;let so=Ai;for(;(so==null?void 0:so.kind)===197;)so=so.type;const Vs=so&&ND(so);if(!ne&&te()!==39&&(Vs||te()!==19))return;const Cs=te(),as=tl(39),nm=Cs===39||Cs===19?Ym(bt(on,zM),ke):Gs();if(!ke&&mr&&te()!==59)return;const Df=m.createArrowFunction(on,ni,Or,Ai,as,nm);return Cr(nn(Df,nt),Pt)}function Ym(ne,ke){if(te()===19)return o0(ne?2:0);if(te()!==27&&te()!==100&&te()!==86&&wv()&&!IT())return o0(16|(ne?2:0));const nt=He();oi(!1);const Pt=gt;gt=!1;const on=ne?ie(()=>Uu(ke)):We(()=>Uu(ke));return gt=Pt,oi(nt),on}function Nv(ne,ke,nt){const Pt=zo(58);if(!Pt)return ne;let on;return nn(m.createConditionalExpression(ne,Pt,Zo(r,()=>Uu(!1)),on=tl(59),gm(on)?Uu(nt):Ds(80,!1,f._0_expected,Ta(59))),ke)}function Qb(ne){const ke=B(),nt=CT();return Sh(ne,nt,ke)}function Cu(ne){return ne===103||ne===165}function Sh(ne,ke,nt){for(;;){or();const Pt=Pk(te());if(!(te()===43?Pt>=ne:Pt>ne)||te()===103&&Ct())break;if(te()===130||te()===152){if(t.hasPrecedingLineBreak())break;{const yn=te();Pe(),ke=yn===152?DT(ke,hl()):If(ke,hl())}}else ke=Ua(ke,tc(),Qb(Pt),nt)}return ke}function Pm(){return Ct()&&te()===103?!1:Pk(te())>0}function DT(ne,ke){return nn(m.createSatisfiesExpression(ne,ke),ne.pos)}function Ua(ne,ke,nt,Pt){return nn(m.createBinaryExpression(ne,ke,nt),Pt)}function If(ne,ke){return nn(m.createAsExpression(ne,ke),ne.pos)}function Mv(){const ne=B();return nn(m.createPrefixUnaryExpression(te(),$t(Pv)),ne)}function eA(){const ne=B();return nn(m.createDeleteExpression($t(Pv)),ne)}function Ly(){const ne=B();return nn(m.createTypeOfExpression($t(Pv)),ne)}function uE(){const ne=B();return nn(m.createVoidExpression($t(Pv)),ne)}function Zf(){return te()===135?rt()?!0:Ft(hE):!1}function zg(){const ne=B();return nn(m.createAwaitExpression($t(Pv)),ne)}function CT(){if(y_()){const nt=B(),Pt=pE();return te()===43?Sh(Pk(te()),Pt,nt):Pt}const ne=te(),ke=Pv();if(te()===43){const nt=wa(Ne,ke.pos),{end:Pt}=ke;ke.kind===217?Oe(nt,Pt,f.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):(C.assert(u6(ne)),Oe(nt,Pt,f.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,Ta(ne)))}return ke}function Pv(){switch(te()){case 40:case 41:case 55:case 54:return Mv();case 91:return eA();case 114:return Ly();case 116:return uE();case 30:return le===1?Td(!0,void 0,void 0,!0):uu();case 135:if(Zf())return zg();default:return pE()}}function y_(){switch(te()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 135:return!1;case 30:if(le!==1)return!1;default:return!0}}function pE(){if(te()===46||te()===47){const ke=B();return nn(m.createPrefixUnaryExpression(te(),$t(NT)),ke)}else if(le===1&&te()===30&&Ft(du))return Td(!0);const ne=NT();if(C.assert(Zu(ne)),(te()===46||te()===47)&&!t.hasPrecedingLineBreak()){const ke=te();return Pe(),nn(m.createPostfixUnaryExpression(ne,ke),ne.pos)}return ne}function NT(){const ne=B();let ke;return te()===102?Ft(wg)?(Se|=4194304,ke=tc()):Ft(Og)?(Pe(),Pe(),ke=nn(m.createMetaProperty(102,Ie()),ne),ke.name.escapedText==="defer"?(te()===21||te()===30)&&(Se|=4194304):Se|=8388608):ke=Kr():ke=te()===108?Vr():Kr(),pp(ne,ke)}function Kr(){const ne=B(),ke=PT();return xf(ne,ke,!0)}function Vr(){const ne=B();let ke=tc();if(te()===30){const nt=B(),Pt=bn(MT);Pt!==void 0&&(Oe(nt,B(),f.super_may_not_use_type_arguments),$m()||(ke=m.createExpressionWithTypeArguments(ke,Pt)))}return te()===21||te()===25||te()===23?ke:(tl(25,f.super_must_be_followed_by_an_argument_list_or_member_access),nn(G(ke,cn(!0,!0,!0)),ne))}function Td(ne,ke,nt,Pt=!1){const on=B(),yn=oL(ne);let ni;if(yn.kind===287){let Or=fE(yn),mr;const Ai=Or[Or.length-1];if((Ai==null?void 0:Ai.kind)===285&&!sT(Ai.openingElement.tagName,Ai.closingElement.tagName)&&sT(yn.tagName,Ai.closingElement.tagName)){const so=Ai.children.end,Vs=nn(m.createJsxElement(Ai.openingElement,Ai.children,nn(m.createJsxClosingElement(nn(N(""),so,so)),so,so)),Ai.openingElement.pos,so);Or=Ja([...Or.slice(0,Or.length-1),Vs],Or.pos,so),mr=Ai.closingElement}else mr=CC(yn,ne),sT(yn.tagName,mr.tagName)||(nt&&ph(nt)&&sT(mr.tagName,nt.tagName)?At(yn.tagName,f.JSX_element_0_has_no_corresponding_closing_tag,UN(Ne,yn.tagName)):At(mr.tagName,f.Expected_corresponding_JSX_closing_tag_for_0,UN(Ne,yn.tagName)));ni=nn(m.createJsxElement(yn,Or,mr),on)}else yn.kind===290?ni=nn(m.createJsxFragment(yn,fE(yn),kx(ne)),on):(C.assert(yn.kind===286),ni=yn);if(!Pt&&ne&&te()===30){const Or=typeof ke>"u"?ni.pos:ke,mr=bn(()=>Td(!0,Or));if(mr){const Ai=Ds(28,!1);return QV(Ai,mr.pos,0),Oe(wa(Ne,Or),mr.end,f.JSX_expressions_must_have_one_parent_element),nn(m.createBinaryExpression(ni,Ai,mr),on)}}return ni}function tA(){const ne=B(),ke=m.createJsxText(t.getTokenValue(),Ge===13);return Ge=t.scanJsxToken(),nn(ke,ne)}function ky(ne,ke){switch(ke){case 1:if(qm(ne))At(ne,f.JSX_fragment_has_no_corresponding_closing_tag);else{const nt=ne.tagName,Pt=Math.min(wa(Ne,nt.pos),nt.end);Oe(Pt,nt.end,f.JSX_element_0_has_no_corresponding_closing_tag,UN(Ne,ne.tagName))}return;case 31:case 7:return;case 12:case 13:return tA();case 19:return Bo(!1);case 30:return Td(!1,void 0,ne);default:return C.assertNever(ke)}}function fE(ne){const ke=[],nt=B(),Pt=Vt;for(Vt|=16384;;){const on=ky(ne,Ge=t.reScanJsxToken());if(!on||(ke.push(on),ph(ne)&&(on==null?void 0:on.kind)===285&&!sT(on.openingElement.tagName,on.closingElement.tagName)&&sT(ne.tagName,on.closingElement.tagName)))break}return Vt=Pt,Ja(ke,nt)}function DC(){const ne=B();return nn(m.createJsxAttributes(ja(13,Sp)),ne)}function oL(ne){const ke=B();if(kt(30),te()===32)return Yt(),nn(m.createJsxOpeningFragment(),ke);const nt=Br(),Pt=(Hn&524288)===0?El():void 0,on=DC();let yn;return te()===32?(Yt(),yn=m.createJsxOpeningElement(nt,Pt,on)):(kt(44),kt(32,void 0,!1)&&(ne?Pe():Yt()),yn=m.createJsxSelfClosingElement(nt,Pt,on)),nn(yn,ke)}function Br(){const ne=B(),ke=Nu();if(fh(ke))return ke;let nt=ke;for(;ro(25);)nt=nn(G(nt,cn(!0,!1,!1)),ne);return nt}function Nu(){const ne=B();zt();const ke=te()===110,nt=Y();return ro(59)?(zt(),nn(m.createJsxNamespacedName(nt,Y()),ne)):ke?nn(m.createToken(110),ne):nt}function Bo(ne){const ke=B();if(!kt(19))return;let nt,Pt;return te()!==20&&(ne||(nt=zo(26)),Pt=Du()),ne?kt(20):kt(20,void 0,!1)&&Yt(),nn(m.createJsxExpression(nt,Pt),ke)}function Sp(){if(te()===19)return Mr();const ne=B();return nn(m.createJsxAttribute(Zb(),nA()),ne)}function nA(){if(te()===64){if(An()===11)return wt();if(te()===19)return Bo(!0);if(te()===30)return Td(!0);Zt(f.or_JSX_element_expected)}}function Zb(){const ne=B();zt();const ke=Y();return ro(59)?(zt(),nn(m.createJsxNamespacedName(ke,Y()),ne)):ke}function Mr(){const ne=B();kt(19),kt(26);const ke=Du();return kt(20),nn(m.createJsxSpreadAttribute(ke),ne)}function CC(ne,ke){const nt=B();kt(31);const Pt=Br();return kt(32,void 0,!1)&&(ke||!sT(ne.tagName,Pt)?Pe():Yt()),nn(m.createJsxClosingElement(Pt),nt)}function kx(ne){const ke=B();return kt(31),kt(32,f.Expected_corresponding_closing_tag_for_JSX_fragment,!1)&&(ne?Pe():Yt()),nn(m.createJsxJsxClosingFragment(),ke)}function uu(){C.assert(le!==1,"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments.");const ne=B();kt(30);const ke=hl();kt(32);const nt=Pv();return nn(m.createTypeAssertion(ke,nt),ne)}function $_(){return Pe(),$u(te())||te()===23||$m()}function Eh(){return te()===29&&Ft($_)}function e0(ne){if(ne.flags&64)return!0;if(YI(ne)){let ke=ne.expression;for(;YI(ke)&&!(ke.flags&64);)ke=ke.expression;if(ke.flags&64){for(;YI(ne);)ne.flags|=64,ne=ne.expression;return!0}}return!1}function rA(ne,ke,nt){const Pt=cn(!0,!0,!0),on=nt||e0(ke),yn=on?j(ke,nt,Pt):G(ke,Pt);if(on&&to(yn.name)&&At(yn.name,f.An_optional_chain_cannot_contain_private_identifiers),hy(ke)&&ke.typeArguments){const ni=ke.typeArguments.pos-1,Or=wa(Ne,ke.typeArguments.end)+1;Oe(ni,Or,f.An_instantiation_expression_cannot_be_followed_by_a_property_access)}return nn(yn,ne)}function t0(ne,ke,nt){let Pt;if(te()===24)Pt=Ds(80,!0,f.An_element_access_expression_should_take_an_argument);else{const yn=Pn(Du);pf(yn)&&(yn.text=ql(yn.text)),Pt=yn}kt(24);const on=nt||e0(ke)?Q(ke,nt,Pt):K(ke,Pt);return nn(on,ne)}function xf(ne,ke,nt){for(;;){let Pt,on=!1;if(nt&&Eh()?(Pt=tl(29),on=$u(te())):on=ro(25),on){ke=rA(ne,ke,Pt);continue}if((Pt||!Wt())&&ro(23)){ke=t0(ne,ke,Pt);continue}if($m()){ke=!Pt&&ke.kind===234?em(ne,ke.expression,Pt,ke.typeArguments):em(ne,ke,Pt,void 0);continue}if(!Pt){if(te()===54&&!t.hasPrecedingLineBreak()){Pe(),ke=nn(m.createNonNullExpression(ke),ne);continue}const yn=bn(MT);if(yn){ke=nn(m.createExpressionWithTypeArguments(ke,yn),ne);continue}}return ke}}function $m(){return te()===15||te()===16}function em(ne,ke,nt,Pt){const on=m.createTaggedTemplateExpression(ke,Pt,te()===15?(fr(!0),wt()):ar(!0));return(nt||ke.flags&64)&&(on.flags|=64),on.questionDotToken=nt,nn(on,ne)}function pp(ne,ke){for(;;){ke=xf(ne,ke,!0);let nt;const Pt=zo(29);if(Pt&&(nt=bn(MT),$m())){ke=em(ne,ke,Pt,nt);continue}if(nt||te()===21){!Pt&&ke.kind===234&&(nt=ke.typeArguments,ke=ke.expression);const on=Lv(),yn=Pt||e0(ke)?he(ke,Pt,nt,on):J(ke,nt,on);ke=nn(yn,ne);continue}if(Pt){const on=Ds(80,!1,f.Identifier_expected);ke=nn(j(ke,Pt,on),ne)}break}return ke}function Lv(){kt(21);const ne=Kc(11,v_);return kt(22),ne}function MT(){if((Hn&524288)!==0||vt()!==30)return;Pe();const ne=Kc(20,hl);if(or()===32)return Pe(),ne&&wx()?ne:void 0}function wx(){switch(te()){case 21:case 15:case 16:return!0;case 30:case 32:case 40:case 41:return!1}return t.hasPrecedingLineBreak()||Pm()||!Kd()}function PT(){switch(te()){case 15:t.getTokenFlags()&26656&&fr(!1);case 9:case 10:case 11:return wt();case 110:case 108:case 106:case 112:case 97:return tc();case 21:return n0();case 23:return r0();case 19:return kv();case 134:if(!Ft(tm))break;return i0();case 60:return Ka();case 86:return hc();case 100:return i0();case 105:return Oy();case 44:case 69:if($n()===14)return wt();break;case 16:return ar(!1);case 81:return xr()}return Gs(f.Expression_expected)}function n0(){const ne=B(),ke=xe();kt(21);const nt=Pn(Du);return kt(22),Cr(nn(q(nt),ne),ke)}function Ox(){const ne=B();kt(26);const ke=Uu(!0);return nn(m.createSpreadElement(ke),ne)}function wy(){return te()===26?Ox():te()===28?nn(m.createOmittedExpression(),B()):Uu(!0)}function v_(){return Zo(r,wy)}function r0(){const ne=B(),ke=t.getTokenStart(),nt=kt(23),Pt=t.hasPrecedingLineBreak(),on=Kc(15,wy);return ms(23,24,nt,ke),nn(F(on,Pt),ne)}function LT(){const ne=B(),ke=xe();if(zo(26)){const so=Uu(!0);return Cr(nn(m.createSpreadAssignment(so),ne),ke)}const nt=Ni(!0);if(Bn(139))return zT(ne,ke,nt,178,0);if(Bn(153))return zT(ne,ke,nt,179,0);const Pt=zo(42),on=tr(),yn=dr(),ni=zo(58),Or=zo(54);if(Pt||te()===21||te()===30)return FT(ne,ke,nt,Pt,yn,ni,Or);let mr;if(on&&te()!==59){const so=zo(64),Vs=so?Pn(()=>Uu(!0)):void 0;mr=m.createShorthandPropertyAssignment(yn,Vs),mr.equalsToken=so}else{kt(59);const so=Pn(()=>Uu(!0));mr=m.createPropertyAssignment(yn,so)}return mr.modifiers=nt,mr.questionToken=ni,mr.exclamationToken=Or,Cr(nn(mr,ne),ke)}function kv(){const ne=B(),ke=t.getTokenStart(),nt=kt(19),Pt=t.hasPrecedingLineBreak(),on=Kc(12,LT,!0);return ms(19,20,nt,ke),nn(O(on,Pt),ne)}function i0(){const ne=Wt();di(!1);const ke=B(),nt=xe(),Pt=Ni(!1);kt(100);const on=zo(42),yn=on?1:0,ni=bt(Pt,zM)?2:0,Or=yn&&ni?it(Qm):yn?ce(Qm):ni?ie(Qm):Qm(),mr=$e(),Ai=gi(yn|ni),so=ur(59,!1),Vs=o0(yn|ni);di(ne);const Cs=m.createFunctionExpression(Pt,on,Or,mr,Ai,so,Vs);return Cr(nn(Cs,ke),nt)}function Qm(){return Pr()?vd():void 0}function Oy(){const ne=B();if(kt(105),ro(25)){const yn=Ie();return nn(m.createMetaProperty(105,yn),ne)}const ke=B();let nt=xf(ke,PT(),!1),Pt;nt.kind===234&&(Pt=nt.typeArguments,nt=nt.expression),te()===29&&Zt(f.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,UN(Ne,nt));const on=te()===21?Lv():void 0;return nn(re(nt,Pt,on),ne)}function Bg(ne,ke){const nt=B(),Pt=xe(),on=t.getTokenStart(),yn=kt(19,ke);if(yn||ne){const ni=t.hasPrecedingLineBreak(),Or=ja(1,Ep);ms(19,20,yn,on);const mr=Cr(nn(ue(Or,ni),nt),Pt);return te()===64&&(Zt(f.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),Pe()),mr}else{const ni=Sf();return Cr(nn(ue(ni,void 0),nt),Pt)}}function o0(ne,ke){const nt=He();oi(!!(ne&1));const Pt=rt();Ki(!!(ne&2));const on=gt;gt=!1;const yn=Wt();yn&&di(!1);const ni=Bg(!!(ne&16),ke);return yn&&di(!0),gt=on,oi(nt),Ki(Pt),ni}function dd(){const ne=B(),ke=xe();return kt(27),Cr(nn(m.createEmptyStatement(),ne),ke)}function mE(){const ne=B(),ke=xe();kt(101);const nt=t.getTokenStart(),Pt=kt(21),on=Pn(Du);ms(21,22,Pt,nt);const yn=Ep(),ni=ro(93)?Ep():void 0;return Cr(nn(Ae(on,yn,ni),ne),ke)}function Gg(){const ne=B(),ke=xe();kt(92);const nt=Ep();kt(117);const Pt=t.getTokenStart(),on=kt(21),yn=Pn(Du);return ms(21,22,on,Pt),ro(27),Cr(nn(m.createDoStatement(nt,yn),ne),ke)}function kT(){const ne=B(),ke=xe();kt(117);const nt=t.getTokenStart(),Pt=kt(21),on=Pn(Du);ms(21,22,Pt,nt);const yn=Ep();return Cr(nn(Re(on,yn),ne),ke)}function iA(){const ne=B(),ke=xe();kt(99);const nt=zo(135);kt(21);let Pt;te()!==27&&(te()===115||te()===121||te()===87||te()===160&&Ft(Gl)||te()===135&&Ft(Vx)?Pt=uA(!0):Pt=qo(Du));let on;if(nt?kt(165):ro(165)){const yn=Pn(()=>Uu(!0));kt(22),on=ve(nt,Pt,yn,Ep())}else if(ro(103)){const yn=Pn(Du);kt(22),on=m.createForInStatement(Pt,yn,Ep())}else{kt(27);const yn=te()!==27&&te()!==22?Pn(Du):void 0;kt(27);const ni=te()!==22?Pn(Du):void 0;kt(22),on=$(Pt,yn,ni,Ep())}return Cr(nn(on,ne),ke)}function Vg(ne){const ke=B(),nt=xe();kt(ne===253?83:88);const Pt=Oo()?void 0:Gs();is();const on=ne===253?m.createBreakStatement(Pt):m.createContinueStatement(Pt);return Cr(nn(on,ke),nt)}function NC(){const ne=B(),ke=xe();kt(107);const nt=Oo()?void 0:Pn(Du);return is(),Cr(nn(m.createReturnStatement(nt),ne),ke)}function Wx(){const ne=B(),ke=xe();kt(118);const nt=t.getTokenStart(),Pt=kt(21),on=Pn(Du);ms(21,22,Pt,nt);const yn=Da(67108864,Ep);return Cr(nn(m.createWithStatement(on,yn),ne),ke)}function Fx(){const ne=B(),ke=xe();kt(84);const nt=Pn(Du);kt(59);const Pt=ja(3,Ep);return Cr(nn(m.createCaseClause(nt,Pt),ne),ke)}function aL(){const ne=B();kt(90),kt(59);const ke=ja(3,Ep);return nn(m.createDefaultClause(ke),ne)}function zx(){return te()===84?Fx():aL()}function wT(){const ne=B();kt(19);const ke=ja(2,zx);return kt(20),nn(m.createCaseBlock(ke),ne)}function Wy(){const ne=B(),ke=xe();kt(109),kt(21);const nt=Pn(Du);kt(22);const Pt=wT();return Cr(nn(m.createSwitchStatement(nt,Pt),ne),ke)}function MC(){const ne=B(),ke=xe();kt(111);let nt=t.hasPrecedingLineBreak()?void 0:Pn(Du);return nt===void 0&&(Ot++,nt=nn(N(""),B())),ga()||ea(nt),Cr(nn(m.createThrowStatement(nt),ne),ke)}function OT(){const ne=B(),ke=xe();kt(113);const nt=Bg(!1),Pt=te()===85?oA():void 0;let on;return(!Pt||te()===98)&&(kt(98,f.catch_or_finally_expected),on=Bg(!1)),Cr(nn(m.createTryStatement(nt,Pt,on),ne),ke)}function oA(){const ne=B();kt(85);let ke;ro(21)?(ke=b_(),kt(22)):ke=void 0;const nt=Bg(!1);return nn(m.createCatchClause(ke,nt),ne)}function mc(){const ne=B(),ke=xe();return kt(89),is(),Cr(nn(m.createDebuggerStatement(),ne),ke)}function ud(){const ne=B();let ke=xe(),nt;const Pt=te()===21,on=Pn(Du);return Je(on)&&ro(59)?nt=m.createLabeledStatement(on,Ep()):(ga()||ea(on),nt=ge(on),Pt&&(ke=!1)),Cr(nn(nt,ne),ke)}function Bx(){return Pe(),$u(te())&&!t.hasPrecedingLineBreak()}function fp(){return Pe(),te()===86&&!t.hasPrecedingLineBreak()}function tm(){return Pe(),te()===100&&!t.hasPrecedingLineBreak()}function hE(){return Pe(),($u(te())||te()===9||te()===10||te()===11)&&!t.hasPrecedingLineBreak()}function Ah(){for(;;)switch(te()){case 115:case 121:case 87:case 100:case 86:case 94:return!0;case 160:return _E();case 135:return pu();case 120:case 156:case 166:return Xm();case 144:case 145:return cA();case 128:case 129:case 134:case 138:case 123:case 124:case 125:case 148:const ne=te();if(Pe(),t.hasPrecedingLineBreak())return!1;if(ne===138&&te()===156)return!0;continue;case 162:return Pe(),te()===19||te()===80||te()===95;case 102:return Pe(),te()===166||te()===11||te()===42||te()===19||$u(te());case 95:let ke=Pe();if(ke===156&&(ke=Ft(Pe)),ke===64||ke===42||ke===19||ke===90||ke===130||ke===60)return!0;continue;case 126:Pe();continue;default:return!1}}function a0(){return Ft(Ah)}function wv(){switch(te()){case 60:case 27:case 19:case 115:case 121:case 160:case 100:case 86:case 94:case 101:case 92:case 117:case 99:case 88:case 83:case 107:case 118:case 109:case 111:case 113:case 89:case 85:case 98:return!0;case 102:return a0()||Ft(xv);case 87:case 95:return a0();case 134:case 138:case 120:case 144:case 145:case 156:case 162:case 166:return!0;case 129:case 125:case 123:case 124:case 126:case 148:return a0()||!Ft(Bx);default:return Kd()}}function Gx(){return Pe(),Pr()||te()===19||te()===23}function sL(){return Ft(Gx)}function Gl(){return aA(!0)}function PC(){return Pe(),te()===64||te()===27||te()===59}function aA(ne){return Pe(),ne&&te()===165?Ft(PC):(Pr()||te()===19)&&!t.hasPrecedingLineBreak()}function _E(){return Ft(aA)}function Vx(ne){return Pe()===160?aA(ne):!1}function pu(){return Ft(Vx)}function Ep(){switch(te()){case 27:return dd();case 19:return Bg(!1);case 115:return os(B(),xe(),void 0);case 121:if(sL())return os(B(),xe(),void 0);break;case 135:if(pu())return os(B(),xe(),void 0);break;case 160:if(_E())return os(B(),xe(),void 0);break;case 100:return Fr(B(),xe(),void 0);case 86:return Xd(B(),xe(),void 0);case 101:return mE();case 92:return Gg();case 117:return kT();case 99:return iA();case 88:return Vg(252);case 83:return Vg(253);case 107:return NC();case 118:return Wx();case 109:return Wy();case 111:return MC();case 113:case 85:case 98:return OT();case 89:return mc();case 60:return WT();case 134:case 120:case 156:case 144:case 145:case 138:case 87:case 94:case 95:case 102:case 123:case 124:case 125:case 128:case 129:case 126:case 148:case 162:if(a0())return WT();break}return ud()}function sA(ne){return ne.kind===138}function WT(){const ne=B(),ke=xe(),nt=Ni(!0);if(bt(nt,sA)){const on=Ap(ne);if(on)return on;for(const yn of nt)yn.flags|=33554432;return Da(33554432,()=>lA(ne,ke,nt))}else return lA(ne,ke,nt)}function Ap(ne){return Da(33554432,()=>{const ke=sl(Vt,ne);if(ke)return wl(ke)})}function lA(ne,ke,nt){switch(te()){case 115:case 121:case 87:case 160:case 135:return os(ne,ke,nt);case 100:return Fr(ne,ke,nt);case 86:return Xd(ne,ke,nt);case 120:return eh(ne,ke,nt);case 156:return Fv(ne,ke,nt);case 94:return Vz(ne,ke,nt);case 162:case 144:case 145:return T8(ne,ke,nt);case 102:return gA(ne,ke,nt);case 95:switch(Pe(),te()){case 90:case 64:return VT(ne,ke,nt);case 130:return vE(ne,ke,nt);default:return fL(ne,ke,nt)}default:if(nt){const Pt=Ds(283,!0,f.Declaration_expected);return CM(Pt,ne),Pt.modifiers=nt,Pt}return}}function jg(){return Pe()===11}function jx(){return Pe(),te()===161||te()===64}function cA(){return Pe(),!t.hasPrecedingLineBreak()&&(tr()||te()===11)}function Zm(ne,ke){if(te()!==19){if(ne&4){Io();return}if(Oo()){is();return}}return o0(ne,ke)}function Ux(){const ne=B();if(te()===28)return nn(m.createOmittedExpression(),ne);const ke=zo(26),nt=Ov(),Pt=Y_();return nn(m.createBindingElement(ke,void 0,nt,Pt),ne)}function LC(){const ne=B(),ke=zo(26),nt=Pr();let Pt=dr(),on;nt&&te()!==59?(on=Pt,Pt=void 0):(kt(59),on=Ov());const yn=Y_();return nn(m.createBindingElement(ke,Pt,on,yn),ne)}function Hx(){const ne=B();kt(19);const ke=Pn(()=>Kc(9,LC));return kt(20),nn(m.createObjectBindingPattern(ke),ne)}function dA(){const ne=B();kt(23);const ke=Pn(()=>Kc(10,Ux));return kt(24),nn(m.createArrayBindingPattern(ke),ne)}function qx(){return te()===19||te()===23||te()===81||Pr()}function Ov(ne){return te()===23?dA():te()===19?Hx():vd(ne)}function Kp(){return b_(!0)}function b_(ne){const ke=B(),nt=xe(),Pt=Ov(f.Private_identifiers_are_not_allowed_in_variable_declarations);let on;ne&&Pt.kind===80&&te()===54&&!t.hasPrecedingLineBreak()&&(on=tc());const yn=Jd(),ni=Cu(te())?void 0:Y_(),Or=je(Pt,on,yn,ni);return Cr(nn(Or,ke),nt)}function uA(ne){const ke=B();let nt=0;switch(te()){case 115:break;case 121:nt|=1;break;case 87:nt|=2;break;case 160:nt|=4;break;case 135:C.assert(pu()),nt|=6,Pe();break;default:C.fail()}Pe();let Pt;if(te()===165&&Ft(pA))Pt=Sf();else{const on=Ct();pr(ne),Pt=Kc(8,ne?b_:Kp),pr(on)}return nn(be(Pt,nt),ke)}function pA(){return xu()&&Pe()===22}function os(ne,ke,nt){const Pt=uA(!1);is();const on=de(nt,Pt);return Cr(nn(on,ne),ke)}function Fr(ne,ke,nt){const Pt=rt(),on=e_(nt);kt(100);const yn=zo(42),ni=on&2048?Qm():vd(),Or=yn?1:0,mr=on&1024?2:0,Ai=$e();on&32&&Ki(!0);const so=gi(Or|mr),Vs=ur(59,!1),Cs=Zm(Or|mr,f.or_expected);Ki(Pt);const as=m.createFunctionDeclaration(nt,yn,ni,Ai,so,Vs,Cs);return Cr(nn(as,ne),ke)}function Rf(){if(te()===137)return kt(137);if(te()===11&&Ft(Pe)===21)return bn(()=>{const ne=wt();return ne.text==="constructor"?ne:void 0})}function Xc(ne,ke,nt){return bn(()=>{if(Rf()){const Pt=$e(),on=gi(0),yn=ur(59,!1),ni=Zm(0,f.or_expected),Or=m.createConstructorDeclaration(nt,on,ni);return Or.typeParameters=Pt,Or.type=yn,Cr(nn(Or,ne),ke)}})}function FT(ne,ke,nt,Pt,on,yn,ni,Or){const mr=Pt?1:0,Ai=bt(nt,zM)?2:0,so=$e(),Vs=gi(mr|Ai),Cs=ur(59,!1),as=Zm(mr|Ai,Or),nm=m.createMethodDeclaration(nt,Pt,on,yn,so,Vs,Cs,as);return nm.exclamationToken=ni,Cr(nn(nm,ne),ke)}function fA(ne,ke,nt,Pt,on){const yn=!on&&!t.hasPrecedingLineBreak()?zo(54):void 0,ni=Jd(),Or=Zo(90112,Y_);fs(Pt,ni,Or);const mr=m.createPropertyDeclaration(nt,Pt,on||yn,ni,Or);return Cr(nn(mr,ne),ke)}function gE(ne,ke,nt){const Pt=zo(42),on=dr(),yn=zo(58);return Pt||te()===21||te()===30?FT(ne,ke,nt,Pt,on,yn,void 0,f.or_expected):fA(ne,ke,nt,on,yn)}function zT(ne,ke,nt,Pt,on){const yn=dr(),ni=$e(),Or=gi(0),mr=ur(59,!1),Ai=Zm(on),so=Pt===178?m.createGetAccessorDeclaration(nt,yn,Or,mr,Ai):m.createSetAccessorDeclaration(nt,yn,Or,Ai);return so.typeParameters=ni,bp(so)&&(so.type=mr),Cr(nn(so,ne),ke)}function mA(){let ne;if(te()===60)return!0;for(;_b(te());){if(ne=te(),rG(ne))return!0;Pe()}if(te()===42||(ut()&&(ne=te(),Pe()),te()===23))return!0;if(ne!==void 0){if(!np(ne)||ne===153||ne===139)return!0;switch(te()){case 21:case 30:case 54:case 59:case 64:case 58:return!0;default:return Oo()}}return!1}function D(ne,ke,nt){tl(126);const Pt=me(),on=Cr(nn(m.createClassStaticBlockDeclaration(Pt),ne),ke);return on.modifiers=nt,on}function me(){const ne=He(),ke=rt();oi(!1),Ki(!0);const nt=Bg(!1);return oi(ne),Ki(ke),nt}function St(){if(rt()&&te()===135){const ne=B(),ke=Gs(f.Expression_expected);Pe();const nt=xf(ne,ke,!0);return pp(ne,nt)}return NT()}function En(){const ne=B();if(!ro(60))return;const ke=_t(St);return nn(m.createDecorator(ke),ne)}function vi(ne,ke,nt){const Pt=B(),on=te();if(te()===87&&ke){if(!bn(Zi))return}else{if(nt&&te()===126&&Ft(_A))return;if(ne&&te()===126)return;if(!ml())return}return nn(k(on),Pt)}function Ni(ne,ke,nt){const Pt=B();let on,yn,ni,Or=!1,mr=!1,Ai=!1;if(ne&&te()===60)for(;yn=En();)on=jn(on,yn);for(;ni=vi(Or,ke,nt);)ni.kind===126&&(Or=!0),on=jn(on,ni),mr=!0;if(mr&&ne&&te()===60)for(;yn=En();)on=jn(on,yn),Ai=!0;if(Ai)for(;ni=vi(Or,ke,nt);)ni.kind===126&&(Or=!0),on=jn(on,ni);return on&&Ja(on,Pt)}function xo(){let ne;if(te()===134){const ke=B();Pe();const nt=nn(k(134),ke);ne=Ja([nt],ke)}return ne}function ki(){const ne=B(),ke=xe();if(te()===27)return Pe(),Cr(nn(m.createSemicolonClassElement(),ne),ke);const nt=Ni(!0,!0,!0);if(te()===126&&Ft(_A))return D(ne,ke,nt);if(Bn(139))return zT(ne,ke,nt,178,0);if(Bn(153))return zT(ne,ke,nt,179,0);if(te()===137||te()===11){const Pt=Xc(ne,ke,nt);if(Pt)return Pt}if(ll())return Nm(ne,ke,nt);if($u(te())||te()===11||te()===9||te()===10||te()===42||te()===23)if(bt(nt,sA)){for(const on of nt)on.flags|=33554432;return Da(33554432,()=>gE(ne,ke,nt))}else return gE(ne,ke,nt);if(nt){const Pt=Ds(80,!0,f.Declaration_expected);return fA(ne,ke,nt,Pt,void 0)}return C.fail("Should not have attempted to parse class member declaration.")}function Ka(){const ne=B(),ke=xe(),nt=Ni(!0);if(te()===86)return Hu(ne,ke,nt,232);const Pt=Ds(283,!0,f.Expression_expected);return CM(Pt,ne),Pt.modifiers=nt,Pt}function hc(){return Hu(B(),xe(),void 0,232)}function Xd(ne,ke,nt){return Hu(ne,ke,nt,264)}function Hu(ne,ke,nt,Pt){const on=rt();kt(86);const yn=BT(),ni=$e();bt(nt,jI)&&Ki(!0);const Or=s0();let mr;kt(19)?(mr=Wv(),kt(20)):mr=Sf(),Ki(on);const Ai=Pt===264?m.createClassDeclaration(nt,yn,ni,Or,mr):m.createClassExpression(nt,yn,ni,Or,mr);return Cr(nn(Ai,ne),ke)}function BT(){return Pr()&&!qu()?lc(Pr()):void 0}function qu(){return te()===119&&Ft(qd)}function s0(){if(hA())return ja(22,Jx)}function Jx(){const ne=B(),ke=te();C.assert(ke===96||ke===119),Pe();const nt=Kc(7,Lm);return nn(m.createHeritageClause(ke,nt),ne)}function Lm(){const ne=B(),ke=NT();if(ke.kind===234)return ke;const nt=El();return nn(m.createExpressionWithTypeArguments(ke,nt),ne)}function El(){return te()===30?oe(20,hl,30,32):void 0}function hA(){return te()===96||te()===119}function Wv(){return ja(5,ki)}function eh(ne,ke,nt){kt(120);const Pt=Gs(),on=$e(),yn=s0(),ni=K_(),Or=m.createInterfaceDeclaration(nt,Pt,on,yn,ni);return Cr(nn(Or,ne),ke)}function Fv(ne,ke,nt){kt(156),t.hasPrecedingLineBreak()&&Zt(f.Line_break_not_permitted_here);const Pt=Gs(),on=$e();kt(64);const yn=te()===141&&bn(Nx)||hl();is();const ni=m.createTypeAliasDeclaration(nt,Pt,on,yn);return Cr(nn(ni,ne),ke)}function yE(){const ne=B(),ke=xe(),nt=dr(),Pt=Pn(Y_);return Cr(nn(m.createEnumMember(nt,Pt),ne),ke)}function Vz(ne,ke,nt){kt(94);const Pt=Gs();let on;kt(19)?(on=dt(()=>Kc(6,yE)),kt(20)):on=Sf();const yn=m.createEnumDeclaration(nt,Pt,on);return Cr(nn(yn,ne),ke)}function lL(){const ne=B();let ke;return kt(19)?(ke=ja(1,Ep),kt(20)):ke=Sf(),nn(m.createModuleBlock(ke),ne)}function Kx(ne,ke,nt,Pt){const on=Pt&32,yn=Pt&8?Ie():Gs(),ni=ro(25)?Kx(B(),!1,void 0,8|on):lL(),Or=m.createModuleDeclaration(nt,yn,ni,Pt);return Cr(nn(Or,ne),ke)}function cL(ne,ke,nt){let Pt=0,on;te()===162?(on=Gs(),Pt|=2048):(on=wt(),on.text=ql(on.text));let yn;te()===19?yn=lL():is();const ni=m.createModuleDeclaration(nt,on,yn,Pt);return Cr(nn(ni,ne),ke)}function T8(ne,ke,nt){let Pt=0;if(te()===162)return cL(ne,ke,nt);if(ro(145))Pt|=32;else if(kt(144),te()===11)return cL(ne,ke,nt);return Kx(ne,ke,nt,Pt)}function l0(){return te()===149&&Ft(Xx)}function Xx(){return Pe()===21}function _A(){return Pe()===19}function jz(){return Pe()===44}function vE(ne,ke,nt){kt(130),kt(145);const Pt=Gs();is();const on=m.createNamespaceExportDeclaration(Pt);return on.modifiers=nt,Cr(nn(on,ne),ke)}function gA(ne,ke,nt){kt(102);const Pt=t.getTokenFullStart();let on;tr()&&(on=Gs());let yn;if((on==null?void 0:on.escapedText)==="type"&&(te()!==161||tr()&&Ft(jx))&&(tr()||sr())?(yn=156,on=tr()?Gs():void 0):(on==null?void 0:on.escapedText)==="defer"&&(te()===161?!Ft(jg):te()!==28&&te()!==64)&&(yn=166,on=tr()?Gs():void 0),on&&!uL()&&yn!==166)return kC(ne,ke,nt,on,yn===156);const ni=dL(on,Pt,yn,void 0),Or=yA(),mr=Yx();is();const Ai=m.createImportDeclaration(nt,ni,Or,mr);return Cr(nn(Ai,ne),ke)}function dL(ne,ke,nt,Pt=!1){let on;return(ne||te()===42||te()===19)&&(on=wC(ne,ke,nt,Pt),kt(161)),on}function Yx(){const ne=te();if((ne===118||ne===132)&&!t.hasPrecedingLineBreak())return c0(ne)}function uo(){const ne=B(),ke=$u(te())?Ie():Ao(11);kt(59);const nt=Uu(!0);return nn(m.createImportAttribute(ke,nt),ne)}function c0(ne,ke){const nt=B();ke||kt(ne);const Pt=t.getTokenStart();if(kt(19)){const on=t.hasPrecedingLineBreak(),yn=Kc(24,uo,!0);if(!kt(20)){const ni=rl(De);ni&&ni.code===f._0_expected.code&&_a(ni,NI(ee,Ne,Pt,1,f.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return nn(m.createImportAttributes(yn,on,ne),nt)}else{const on=Ja([],B(),void 0,!1);return nn(m.createImportAttributes(on,!1,ne),nt)}}function sr(){return te()===42||te()===19}function uL(){return te()===28||te()===161}function kC(ne,ke,nt,Pt,on){kt(64);const yn=bE();is();const ni=m.createImportEqualsDeclaration(nt,on,Pt,yn);return Cr(nn(ni,ne),ke)}function wC(ne,ke,nt,Pt){let on;return(!ne||ro(28))&&(Pt&&t.setSkipJsDocLeadingAsterisks(!0),te()===42?on=Uz():on=E8(276),Pt&&t.setSkipJsDocLeadingAsterisks(!1)),nn(m.createImportClause(nt,ne,on),ke)}function bE(){return l0()?S8():pt(!1)}function S8(){const ne=B();kt(149),kt(21);const ke=yA();return kt(22),nn(m.createExternalModuleReference(ke),ne)}function yA(){if(te()===11){const ne=wt();return ne.text=ql(ne.text),ne}else return Du()}function Uz(){const ne=B();kt(42),kt(130);const ke=Gs();return nn(m.createNamespaceImport(ke),ne)}function OC(){return $u(te())||te()===11}function Q_(ne){return te()===11?wt():ne()}function E8(ne){const ke=B(),nt=ne===276?m.createNamedImports(oe(23,Hz,19,20)):m.createNamedExports(oe(23,GT,19,20));return nn(nt,ke)}function GT(){const ne=xe();return Cr(pL(282),ne)}function Hz(){return pL(277)}function pL(ne){const ke=B();let nt=np(te())&&!tr(),Pt=t.getTokenStart(),on=t.getTokenEnd(),yn=!1,ni,Or=!0,mr=Q_(Ie);if(mr.kind===80&&mr.escapedText==="type")if(te()===130){const Vs=Ie();if(te()===130){const Cs=Ie();OC()?(yn=!0,ni=Vs,mr=Q_(so),Or=!1):(ni=mr,mr=Cs,Or=!1)}else OC()?(ni=mr,Or=!1,mr=Q_(so)):(yn=!0,mr=Vs)}else OC()&&(yn=!0,mr=Q_(so));Or&&te()===130&&(ni=mr,kt(130),mr=Q_(so)),ne===277&&(mr.kind!==80?(Oe(wa(Ne,mr.pos),mr.end,f.Identifier_expected),mr=uh(Ds(80,!1),mr.pos,mr.pos)):nt&&Oe(Pt,on,f.Identifier_expected));const Ai=ne===277?m.createImportSpecifier(yn,ni,mr):m.createExportSpecifier(yn,ni,mr);return nn(Ai,ke);function so(){return nt=np(te())&&!tr(),Pt=t.getTokenStart(),on=t.getTokenEnd(),Ie()}}function A8(ne){return nn(m.createNamespaceExport(Q_(Ie)),ne)}function fL(ne,ke,nt){const Pt=rt();Ki(!0);let on,yn,ni;const Or=ro(156),mr=B();ro(42)?(ro(130)&&(on=A8(mr)),kt(161),yn=yA()):(on=E8(280),(te()===161||te()===11&&!t.hasPrecedingLineBreak())&&(kt(161),yn=yA()));const Ai=te();yn&&(Ai===118||Ai===132)&&!t.hasPrecedingLineBreak()&&(ni=c0(Ai)),is(),Ki(Pt);const so=m.createExportDeclaration(nt,Or,on,yn,ni);return Cr(nn(so,ne),ke)}function VT(ne,ke,nt){const Pt=rt();Ki(!0);let on;ro(64)?on=!0:kt(90);const yn=Uu(!0);is(),Ki(Pt);const ni=m.createExportAssignment(nt,on,yn);return Cr(nn(ni,ne),ke)}let Z_;(ne=>{ne[ne.SourceElements=0]="SourceElements",ne[ne.BlockStatements=1]="BlockStatements",ne[ne.SwitchClauses=2]="SwitchClauses",ne[ne.SwitchClauseStatements=3]="SwitchClauseStatements",ne[ne.TypeMembers=4]="TypeMembers",ne[ne.ClassMembers=5]="ClassMembers",ne[ne.EnumMembers=6]="EnumMembers",ne[ne.HeritageClauseElement=7]="HeritageClauseElement",ne[ne.VariableDeclarations=8]="VariableDeclarations",ne[ne.ObjectBindingElements=9]="ObjectBindingElements",ne[ne.ArrayBindingElements=10]="ArrayBindingElements",ne[ne.ArgumentExpressions=11]="ArgumentExpressions",ne[ne.ObjectLiteralMembers=12]="ObjectLiteralMembers",ne[ne.JsxAttributes=13]="JsxAttributes",ne[ne.JsxChildren=14]="JsxChildren",ne[ne.ArrayLiteralMembers=15]="ArrayLiteralMembers",ne[ne.Parameters=16]="Parameters",ne[ne.JSDocParameters=17]="JSDocParameters",ne[ne.RestProperties=18]="RestProperties",ne[ne.TypeParameters=19]="TypeParameters",ne[ne.TypeArguments=20]="TypeArguments",ne[ne.TupleElementTypes=21]="TupleElementTypes",ne[ne.HeritageClauses=22]="HeritageClauses",ne[ne.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",ne[ne.ImportAttributes=24]="ImportAttributes",ne[ne.JSDocComment=25]="JSDocComment",ne[ne.Count=26]="Count"})(Z_||(Z_={}));let WC;(ne=>{ne[ne.False=0]="False",ne[ne.True=1]="True",ne[ne.Unknown=2]="Unknown"})(WC||(WC={}));let T_;(ne=>{function ke(Ai,so,Vs){Ht("file.js",Ai,99,void 0,1,0),t.setText(Ai,so,Vs),Ge=t.scan();const Cs=nt(),as=It("file.js",99,1,!1,[],k(1),0,vs),nm=MI(De,as);return _e&&(as.jsDocDiagnostics=MI(_e,as)),Qr(),Cs?{jsDocTypeExpression:Cs,diagnostics:nm}:void 0}ne.parseJSDocTypeExpressionForTests=ke;function nt(Ai){const so=B(),Vs=(Ai?ro:kt)(19),Cs=Da(16777216,Cm);(!Ai||Vs)&&xs(20);const as=m.createJSDocTypeExpression(Cs);return Qe(as),nn(as,so)}ne.parseJSDocTypeExpression=nt;function Pt(){const Ai=B(),so=ro(19),Vs=B();let Cs=pt(!1);for(;te()===81;)Rt(),yt(),Cs=nn(m.createJSDocMemberName(Cs,Gs()),Vs);so&&xs(20);const as=m.createJSDocNameReference(Cs);return Qe(as),nn(as,Ai)}ne.parseJSDocNameReference=Pt;function on(Ai,so,Vs){Ht("",Ai,99,void 0,1,0);const Cs=Da(16777216,()=>mr(so,Vs)),nm=MI(De,{languageVariant:0,text:Ai});return Qr(),Cs?{jsDoc:Cs,diagnostics:nm}:void 0}ne.parseIsolatedJSDocComment=on;function yn(Ai,so,Vs){const Cs=Ge,as=De.length,nm=tn,Df=Da(16777216,()=>mr(so,Vs));return ps(Df,Ai),Hn&524288&&(_e||(_e=[]),$r(_e,De,as)),Ge=Cs,De.length=as,tn=nm,Df}ne.parseJSDocComment=yn;let ni;(Ai=>{Ai[Ai.BeginningOfLine=0]="BeginningOfLine",Ai[Ai.SawAsterisk=1]="SawAsterisk",Ai[Ai.SavingComments=2]="SavingComments",Ai[Ai.SavingBackticks=3]="SavingBackticks"})(ni||(ni={}));let Or;(Ai=>{Ai[Ai.Property=1]="Property",Ai[Ai.Parameter=2]="Parameter",Ai[Ai.CallbackParameter=4]="CallbackParameter"})(Or||(Or={}));function mr(Ai=0,so){const Vs=Ne,Cs=so===void 0?Vs.length:Ai+so;if(so=Cs-Ai,C.assert(Ai>=0),C.assert(Ai<=Cs),C.assert(Cs<=Vs.length),!eU(Vs,Ai))return;let as,nm,Df,S_,zv,Ug=[];const d0=[],cs=Vt;Vt|=1<<25;const Bc=t.scanRange(Ai+3,so-5,Bv);return Vt=cs,Bc;function Bv(){let zn=1,Hr,Zr=Ai-(Vs.lastIndexOf("\n",Ai)+1)+4;function Mi(Us){Hr||(Hr=Zr),Ug.push(Us),Zr+=Us.length}for(yt();xh(5););xh(4)&&(zn=0,Zr=0);e:for(;;){switch(te()){case 60:$x(Ug),zv||(zv=B()),js(T(Zr)),zn=0,Hr=void 0;break;case 4:Ug.push(t.getTokenText()),zn=0,Zr=0;break;case 42:const Us=t.getTokenText();zn===1?(zn=2,Mi(Us)):(C.assert(zn===0),zn=1,Zr+=Us.length);break;case 5:C.assert(zn!==2,"whitespace shouldn't come from the scanner while saving top-level comment text");const Sd=t.getTokenText();Hr!==void 0&&Zr+Sd.length>Hr&&Ug.push(Sd.slice(Hr-Zr)),Zr+=Sd.length;break;case 1:break e;case 82:zn=2,Mi(t.getTokenValue());break;case 19:zn=2;const Rh=t.getTokenFullStart(),E_=t.getTokenEnd()-1,Dh=pe(E_);if(Dh){S_||fu(Ug),d0.push(nn(m.createJSDocText(Ug.join("")),S_!=null?S_:Ai,Rh)),d0.push(Dh),Ug=[],S_=t.getTokenEnd();break}default:zn=2,Mi(t.getTokenText());break}zn===2?jt(!1):yt()}const Oi=Ug.join("").trimEnd();d0.length&&Oi.length&&d0.push(nn(m.createJSDocText(Oi),S_!=null?S_:Ai,zv)),d0.length&&as&&C.assertIsDefined(zv,"having parsed tags implies that the end of the comment span should be set");const ua=as&&Ja(as,nm,Df);return nn(m.createJSDocComment(d0.length?Ja(d0,Ai,zv):Oi.length?Oi:void 0,ua),Ai,Cs)}function fu(zn){for(;zn.length&&(zn[0]==="\n"||zn[0]==="\r");)zn.shift()}function $x(zn){for(;zn.length;){const Hr=zn[zn.length-1].trimEnd();if(Hr==="")zn.pop();else if(Hr.length<zn[zn.length-1].length){zn[zn.length-1]=Hr;break}else break}}function Hg(){for(;;){if(yt(),te()===1)return!0;if(!(te()===5||te()===4))return!1}}function eg(){if(!((te()===5||te()===4)&&Ft(Hg)))for(;te()===5||te()===4;)yt()}function br(){if((te()===5||te()===4)&&Ft(Hg))return"";let zn=t.hasPrecedingLineBreak(),Hr=!1,Zr="";for(;zn&&te()===42||te()===5||te()===4;)Zr+=t.getTokenText(),te()===4?(zn=!0,Hr=!0,Zr=""):te()===42&&(zn=!1),yt();return Hr?Zr:""}function T(zn){C.assert(te()===60);const Hr=t.getTokenStart();yt();const Zr=Xp(void 0),Mi=br();let Oi;switch(Zr.escapedText){case"author":Oi=I8(Hr,Zr,zn,Mi);break;case"implements":Oi=p0(Hr,Zr,zn,Mi);break;case"augments":case"extends":Oi=_he(Hr,Zr,zn,Mi);break;case"class":case"constructor":Oi=eR(Hr,m.createJSDocClassTag,Zr,zn,Mi);break;case"public":Oi=eR(Hr,m.createJSDocPublicTag,Zr,zn,Mi);break;case"private":Oi=eR(Hr,m.createJSDocPrivateTag,Zr,zn,Mi);break;case"protected":Oi=eR(Hr,m.createJSDocProtectedTag,Zr,zn,Mi);break;case"readonly":Oi=eR(Hr,m.createJSDocReadonlyTag,Zr,zn,Mi);break;case"override":Oi=eR(Hr,m.createJSDocOverrideTag,Zr,zn,Mi);break;case"deprecated":Ci=!0,Oi=eR(Hr,m.createJSDocDeprecatedTag,Zr,zn,Mi);break;case"this":Oi=tY(Hr,Zr,zn,Mi);break;case"enum":Oi=_L(Hr,Zr,zn,Mi);break;case"arg":case"argument":case"param":return Qx(Hr,Zr,2,zn);case"return":case"returns":Oi=mL(Hr,Zr,zn,Mi);break;case"template":Oi=gr(Hr,Zr,zn,Mi);break;case"type":Oi=Zx(Hr,Zr,zn,Mi);break;case"typedef":Oi=nY(Hr,Zr,zn,Mi);break;case"callback":Oi=iY(Hr,Zr,zn,Mi);break;case"overload":Oi=vhe(Hr,Zr,zn,Mi);break;case"satisfies":Oi=ghe(Hr,Zr,zn,Mi);break;case"see":Oi=mhe(Hr,Zr,zn,Mi);break;case"exception":case"throws":Oi=hhe(Hr,Zr,zn,Mi);break;case"import":Oi=yhe(Hr,Zr,zn,Mi);break;default:Oi=Ro(Hr,Zr,zn,Mi);break}return Oi}function P(zn,Hr,Zr,Mi){return Mi||(Zr+=Hr-zn),V(Zr,Mi.slice(Zr))}function V(zn,Hr){const Zr=B();let Mi=[];const Oi=[];let ua,Us=0,Sd;function Rh(Ch){Sd||(Sd=zn),Mi.push(Ch),zn+=Ch.length}Hr!==void 0&&(Hr!==""&&Rh(Hr),Us=1);let E_=te();e:for(;;){switch(E_){case 4:Us=0,Mi.push(t.getTokenText()),zn=0;break;case 60:t.resetTokenState(t.getTokenEnd()-1);break e;case 1:break e;case 5:C.assert(Us!==2&&Us!==3,"whitespace shouldn't come from the scanner while saving comment text");const Ch=t.getTokenText();Sd!==void 0&&zn+Ch.length>Sd&&(Mi.push(Ch.slice(Sd-zn)),Us=2),zn+=Ch.length;break;case 19:Us=2;const qg=t.getTokenFullStart(),R8=t.getTokenEnd()-1,bA=pe(R8);bA?(Oi.push(nn(m.createJSDocText(Mi.join("")),ua!=null?ua:Zr,qg)),Oi.push(bA),Mi=[],ua=t.getTokenEnd()):Rh(t.getTokenText());break;case 62:Us===3?Us=2:Us=3,Rh(t.getTokenText());break;case 82:Us!==3&&(Us=2),Rh(t.getTokenValue());break;case 42:if(Us===0){Us=1,zn+=1;break}default:Us!==3&&(Us=2),Rh(t.getTokenText());break}Us===2||Us===3?E_=jt(Us===3):E_=yt()}fu(Mi);const Dh=Mi.join("").trimEnd();if(Oi.length)return Dh.length&&Oi.push(nn(m.createJSDocText(Dh),ua!=null?ua:Zr)),Ja(Oi,Zr,t.getTokenEnd());if(Dh.length)return Dh}function pe(zn){const Hr=bn(sn);if(!Hr)return;yt(),eg();const Zr=tt(),Mi=[];for(;te()!==20&&te()!==4&&te()!==1;)Mi.push(t.getTokenText()),yt();const Oi=Hr==="link"?m.createJSDocLink:Hr==="linkcode"?m.createJSDocLinkCode:m.createJSDocLinkPlain;return nn(Oi(Zr,Mi.join("")),zn,t.getTokenEnd())}function tt(){if($u(te())){const zn=B();let Hr=Ie();for(;ro(25);)Hr=nn(m.createQualifiedName(Hr,te()===81?Ds(80,!1):Ie()),zn);for(;te()===81;)Rt(),yt(),Hr=nn(m.createJSDocMemberName(Hr,Gs()),zn);return Hr}}function sn(){if(br(),te()===19&&yt()===60&&$u(yt())){const zn=t.getTokenValue();if(Wr(zn))return zn}}function Wr(zn){return zn==="link"||zn==="linkcode"||zn==="linkplain"}function Ro(zn,Hr,Zr,Mi){return nn(m.createJSDocUnknownTag(Hr,P(zn,B(),Zr,Mi)),zn)}function js(zn){zn&&(as?as.push(zn):(as=[zn],nm=zn.pos),Df=zn.end)}function af(){return br(),te()===19?nt():void 0}function u0(){const zn=xh(23);zn&&eg();const Hr=xh(62),Zr=aY();return Hr&&Ma(62),zn&&(eg(),zo(64)&&Du(),kt(24)),{name:Zr,isBracketed:zn}}function Ih(zn){switch(zn.kind){case 151:return!0;case 189:return Ih(zn.elementType);default:return Bp(zn)&&Je(zn.typeName)&&zn.typeName.escapedText==="Object"&&!zn.typeArguments}}function Qx(zn,Hr,Zr,Mi){let Oi=af(),ua=!Oi;br();const{name:Us,isBracketed:Sd}=u0(),Rh=br();ua&&!Ft(sn)&&(Oi=af());const E_=P(zn,B(),Mi,Rh),Dh=fhe(Oi,Us,Zr,Mi);Dh&&(Oi=Dh,ua=!0);const Ch=Zr===1?m.createJSDocPropertyTag(Hr,Us,Sd,Oi,ua,E_):m.createJSDocParameterTag(Hr,Us,Sd,Oi,ua,E_);return nn(Ch,zn)}function fhe(zn,Hr,Zr,Mi){if(zn&&Ih(zn.type)){const Oi=B();let ua,Us;for(;ua=bn(()=>vA(Zr,Mi,Hr));)ua.kind===342||ua.kind===349?Us=jn(Us,ua):ua.kind===346&&At(ua.tagName,f.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);if(Us){const Sd=nn(m.createJSDocTypeLiteral(Us,zn.type.kind===189),Oi);return nn(m.createJSDocTypeExpression(Sd),Oi)}}}function mL(zn,Hr,Zr,Mi){bt(as,C4)&&Oe(Hr.pos,t.getTokenStart(),f._0_tag_already_specified,Bi(Hr.escapedText));const Oi=af();return nn(m.createJSDocReturnTag(Hr,Oi,P(zn,B(),Zr,Mi)),zn)}function Zx(zn,Hr,Zr,Mi){bt(as,XM)&&Oe(Hr.pos,t.getTokenStart(),f._0_tag_already_specified,Bi(Hr.escapedText));const Oi=nt(!0),ua=Zr!==void 0&&Mi!==void 0?P(zn,B(),Zr,Mi):void 0;return nn(m.createJSDocTypeTag(Hr,Oi,ua),zn)}function mhe(zn,Hr,Zr,Mi){const ua=te()===23||Ft(()=>yt()===60&&$u(yt())&&Wr(t.getTokenValue()))?void 0:Pt(),Us=Zr!==void 0&&Mi!==void 0?P(zn,B(),Zr,Mi):void 0;return nn(m.createJSDocSeeTag(Hr,ua,Us),zn)}function hhe(zn,Hr,Zr,Mi){const Oi=af(),ua=P(zn,B(),Zr,Mi);return nn(m.createJSDocThrowsTag(Hr,Oi,ua),zn)}function I8(zn,Hr,Zr,Mi){const Oi=B(),ua=eY();let Us=t.getTokenFullStart();const Sd=P(zn,Us,Zr,Mi);Sd||(Us=t.getTokenFullStart());const Rh=typeof Sd!="string"?Ja(co([nn(ua,Oi,Us)],Sd),Oi):ua.text+Sd;return nn(m.createJSDocAuthorTag(Hr,Rh),zn)}function eY(){const zn=[];let Hr=!1,Zr=t.getToken();for(;Zr!==1&&Zr!==4;){if(Zr===30)Hr=!0;else{if(Zr===60&&!Hr)break;if(Zr===32&&Hr){zn.push(t.getTokenText()),t.resetTokenState(t.getTokenEnd());break}}zn.push(t.getTokenText()),Zr=yt()}return m.createJSDocText(zn.join(""))}function p0(zn,Hr,Zr,Mi){const Oi=TE();return nn(m.createJSDocImplementsTag(Hr,Oi,P(zn,B(),Zr,Mi)),zn)}function _he(zn,Hr,Zr,Mi){const Oi=TE();return nn(m.createJSDocAugmentsTag(Hr,Oi,P(zn,B(),Zr,Mi)),zn)}function ghe(zn,Hr,Zr,Mi){const Oi=nt(!1),ua=Zr!==void 0&&Mi!==void 0?P(zn,B(),Zr,Mi):void 0;return nn(m.createJSDocSatisfiesTag(Hr,Oi,ua),zn)}function yhe(zn,Hr,Zr,Mi){const Oi=t.getTokenFullStart();let ua;tr()&&(ua=Gs());const Us=dL(ua,Oi,156,!0),Sd=yA(),Rh=Yx(),E_=Zr!==void 0&&Mi!==void 0?P(zn,B(),Zr,Mi):void 0;return nn(m.createJSDocImportTag(Hr,Us,Sd,Rh,E_),zn)}function TE(){const zn=ro(19),Hr=B(),Zr=hL();t.setSkipJsDocLeadingAsterisks(!0);const Mi=El();t.setSkipJsDocLeadingAsterisks(!1);const Oi=m.createExpressionWithTypeArguments(Zr,Mi),ua=nn(Oi,Hr);return zn&&(eg(),kt(20)),ua}function hL(){const zn=B();let Hr=Xp();for(;ro(25);){const Zr=Xp();Hr=nn(G(Hr,Zr),zn)}return Hr}function eR(zn,Hr,Zr,Mi,Oi){return nn(Hr(Zr,P(zn,B(),Mi,Oi)),zn)}function tY(zn,Hr,Zr,Mi){const Oi=nt(!0);return eg(),nn(m.createJSDocThisTag(Hr,Oi,P(zn,B(),Zr,Mi)),zn)}function _L(zn,Hr,Zr,Mi){const Oi=nt(!0);return eg(),nn(m.createJSDocEnumTag(Hr,Oi,P(zn,B(),Zr,Mi)),zn)}function nY(zn,Hr,Zr,Mi){var E_;let Oi=af();br();const ua=x8();eg();let Us=V(Zr),Sd;if(!Oi||Ih(Oi.type)){let Dh,Ch,qg,R8=!1;for(;(Dh=bn(()=>The(Zr)))&&Dh.kind!==346;)if(R8=!0,Dh.kind===345)if(Ch){const bA=Zt(f.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);bA&&_a(bA,NI(ee,Ne,0,0,f.The_tag_was_first_specified_here));break}else Ch=Dh;else qg=jn(qg,Dh);if(R8){const bA=Oi&&Oi.type.kind===189,rm=m.createJSDocTypeLiteral(qg,bA);Oi=Ch&&Ch.typeExpression&&!Ih(Ch.typeExpression.type)?Ch.typeExpression:nn(rm,zn),Sd=Oi.end}}Sd=Sd||Us!==void 0?B():((E_=ua!=null?ua:Oi)!=null?E_:Hr).end,Us||(Us=P(zn,Sd,Zr,Mi));const Rh=m.createJSDocTypedefTag(Hr,Oi,ua,Us);return nn(Rh,zn,Sd)}function x8(zn){const Hr=t.getTokenStart();if(!$u(te()))return;const Zr=Xp();if(ro(25)){const Mi=x8(!0),Oi=m.createModuleDeclaration(void 0,Zr,Mi,zn?8:void 0);return nn(Oi,Hr)}return zn&&(Zr.flags|=4096),Zr}function gL(zn){const Hr=B();let Zr,Mi;for(;Zr=bn(()=>vA(4,zn));){if(Zr.kind===346){At(Zr.tagName,f.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);break}Mi=jn(Mi,Zr)}return Ja(Mi||[],Hr)}function rY(zn,Hr){const Zr=gL(Hr),Mi=bn(()=>{if(xh(60)){const Oi=T(Hr);if(Oi&&Oi.kind===343)return Oi}});return nn(m.createJSDocSignature(void 0,Zr,Mi),zn)}function iY(zn,Hr,Zr,Mi){const Oi=x8();eg();let ua=V(Zr);const Us=rY(zn,Zr);ua||(ua=P(zn,B(),Zr,Mi));const Sd=ua!==void 0?B():Us.end;return nn(m.createJSDocCallbackTag(Hr,Us,Oi,ua),zn,Sd)}function vhe(zn,Hr,Zr,Mi){eg();let Oi=V(Zr);const ua=rY(zn,Zr);Oi||(Oi=P(zn,B(),Zr,Mi));const Us=Oi!==void 0?B():ua.end;return nn(m.createJSDocOverloadTag(Hr,ua,Oi),zn,Us)}function bhe(zn,Hr){for(;!Je(zn)||!Je(Hr);)if(!Je(zn)&&!Je(Hr)&&zn.right.escapedText===Hr.right.escapedText)zn=zn.left,Hr=Hr.left;else return!1;return zn.escapedText===Hr.escapedText}function The(zn){return vA(1,zn)}function vA(zn,Hr,Zr){let Mi=!0,Oi=!1;for(;;)switch(yt()){case 60:if(Mi){const ua=oY(zn,Hr);return ua&&(ua.kind===342||ua.kind===349)&&Zr&&(Je(ua.name)||!bhe(Zr,ua.name.left))?!1:ua}Oi=!1;break;case 4:Mi=!0,Oi=!1;break;case 42:Oi&&(Mi=!1),Oi=!0;break;case 80:Mi=!1;break;case 1:return!1}}function oY(zn,Hr){C.assert(te()===60);const Zr=t.getTokenFullStart();yt();const Mi=Xp(),Oi=br();let ua;switch(Mi.escapedText){case"type":return zn===1&&Zx(Zr,Mi);case"prop":case"property":ua=1;break;case"arg":case"argument":case"param":ua=6;break;case"template":return gr(Zr,Mi,Hr,Oi);case"this":return tY(Zr,Mi,Hr,Oi);default:return!1}return zn&ua?Qx(Zr,Mi,zn,Hr):!1}function She(){const zn=B(),Hr=xh(23);Hr&&eg();const Zr=Ni(!1,!0),Mi=Xp(f.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);let Oi;if(Hr&&(eg(),kt(64),Oi=Da(16777216,Cm),kt(24)),!Wl(Mi))return nn(m.createTypeParameterDeclaration(Zr,Mi,void 0,Oi),zn)}function Gv(){const zn=B(),Hr=[];do{eg();const Zr=She();Zr!==void 0&&Hr.push(Zr),br()}while(xh(28));return Ja(Hr,zn)}function gr(zn,Hr,Zr,Mi){const Oi=te()===19?nt():void 0,ua=Gv();return nn(m.createJSDocTemplateTag(Hr,Oi,ua,P(zn,B(),Zr,Mi)),zn)}function xh(zn){return te()===zn?(yt(),!0):!1}function aY(){let zn=Xp();for(ro(23)&&kt(24);ro(25);){const Hr=Xp();ro(23)&&kt(24),zn=rn(zn,Hr)}return zn}function Xp(zn){if(!$u(te()))return Ds(80,!zn,zn||f.Identifier_expected);Ot++;const Hr=t.getTokenStart(),Zr=t.getTokenEnd(),Mi=te(),Oi=ql(t.getTokenValue()),ua=nn(N(Oi,Mi),Hr,Zr);return yt(),ua}}})(T_=e.JSDocParser||(e.JSDocParser={}))})(aT||(aT={}));var mEe=new WeakSet;function rUe(e){mEe.has(e)&&C.fail("Source file has already been incrementally parsed"),mEe.add(e)}var hEe=new WeakSet;function iUe(e){return hEe.has(e)}function Toe(e){hEe.add(e)}var nU;(e=>{function t(A,R,N,M){if(M=M||C.shouldAssert(2),m(A,R,N,M),Xee(N))return A;if(A.statements.length===0)return aT.parseSourceFile(A.fileName,R,A.languageVersion,void 0,!0,A.scriptKind,A.setExternalModuleIndicator,A.jsDocParsingMode);rUe(A),aT.fixupParentReferences(A);const k=A.text,F=y(A),O=d(A,N);m(A,R,O,M),C.assert(O.span.start<=N.span.start),C.assert(Ml(O.span)===Ml(N.span)),C.assert(Ml(MN(O))===Ml(MN(N)));const G=MN(O).length-O.span.length;u(A,O.span.start,Ml(O.span),Ml(MN(O)),G,k,R,M);const j=aT.parseSourceFile(A.fileName,R,A.languageVersion,F,!0,A.scriptKind,A.setExternalModuleIndicator,A.jsDocParsingMode);return j.commentDirectives=r(A.commentDirectives,j.commentDirectives,O.span.start,Ml(O.span),G,k,R,M),j.impliedNodeFormat=A.impliedNodeFormat,$ie(A,j),j}e.updateSourceFile=t;function r(A,R,N,M,k,F,O,G){if(!A)return R;let j,K=!1;for(const J of A){const{range:he,type:re}=J;if(he.end<N)j=jn(j,J);else if(he.pos>M){Q();const q={range:{pos:he.pos+k,end:he.end+k},type:re};j=jn(j,q),G&&C.assert(F.substring(he.pos,he.end)===O.substring(q.range.pos,q.range.end))}}return Q(),j;function Q(){K||(K=!0,j?R&&j.push(...R):j=R)}}function i(A,R,N,M,k,F,O){N?j(A):G(A);return;function G(K){let Q="";if(O&&o(K)&&(Q=k.substring(K.pos,K.end)),Gj(K,R),uh(K,K.pos+M,K.end+M),O&&o(K)&&C.assert(Q===F.substring(K.pos,K.end)),Xo(K,G,j),nf(K))for(const J of K.jsDoc)G(J);l(K,O)}function j(K){uh(K,K.pos+M,K.end+M);for(const Q of K)G(Q)}}function o(A){switch(A.kind){case 11:case 9:case 80:return!0}return!1}function s(A,R,N,M,k){C.assert(A.end>=R,"Adjusting an element that was entirely before the change range"),C.assert(A.pos<=N,"Adjusting an element that was entirely after the change range"),C.assert(A.pos<=A.end);const F=Math.min(A.pos,M),O=A.end>=N?A.end+k:Math.min(A.end,M);if(C.assert(F<=O),A.parent){const G=A.parent;C.assertGreaterThanOrEqual(F,G.pos),C.assertLessThanOrEqual(O,G.end)}uh(A,F,O)}function l(A,R){if(R){let N=A.pos;const M=k=>{C.assert(k.pos>=N),N=k.end};if(nf(A))for(const k of A.jsDoc)M(k);Xo(A,M),C.assert(N<=A.end)}}function u(A,R,N,M,k,F,O,G){j(A);return;function j(Q){if(C.assert(Q.pos<=Q.end),Q.pos>N){i(Q,A,!1,k,F,O,G);return}const J=Q.end;if(J>=R){if(Toe(Q),Gj(Q,A),s(Q,R,N,M,k),Xo(Q,j,K),nf(Q))for(const he of Q.jsDoc)j(he);l(Q,G);return}C.assert(J<R)}function K(Q){if(C.assert(Q.pos<=Q.end),Q.pos>N){i(Q,A,!0,k,F,O,G);return}const J=Q.end;if(J>=R){Toe(Q),s(Q,R,N,M,k);for(const he of Q)j(he);return}C.assert(J<R)}}function d(A,R){let M=R.span.start;for(let O=0;M>0&&O<=1;O++){const G=_(A,M);C.assert(G.pos<=M);const j=G.pos;M=Math.max(0,j-1)}const k=oc(M,Ml(R.span)),F=R.newLength+(R.span.start-M);return k2(k,F)}function _(A,R){let N=A,M;if(Xo(A,F),M){const O=k(M);O.pos>N.pos&&(N=O)}return N;function k(O){for(;;){const G=MV(O);if(G)O=G;else return O}}function F(O){if(!Wl(O))if(O.pos<=R){if(O.pos>=N.pos&&(N=O),R<O.end)return Xo(O,F),!0;C.assert(O.end<=R),M=O}else return C.assert(O.pos>R),!0}}function m(A,R,N,M){const k=A.text;if(N&&(C.assert(k.length-N.span.length+N.newLength===R.length),M||C.shouldAssert(3))){const F=k.substr(0,N.span.start),O=R.substr(0,N.span.start);C.assert(F===O);const G=k.substring(Ml(N.span),k.length),j=R.substring(Ml(MN(N)),R.length);C.assert(G===j)}}function y(A){let R=A.statements,N=0;C.assert(N<R.length);let M=R[N],k=-1;return{currentNode(O){return O!==k&&(M&&M.end===O&&N<R.length-1&&(N++,M=R[N]),(!M||M.pos!==O)&&F(O)),k=O,C.assert(!M||M.pos===O),M}};function F(O){R=void 0,N=-1,M=void 0,Xo(A,G,j);return;function G(K){return O>=K.pos&&O<K.end?(Xo(K,G,j),!0):!1}function j(K){if(O>=K.pos&&O<K.end)for(let Q=0;Q<K.length;Q++){const J=K[Q];if(J){if(J.pos===O)return R=K,N=Q,M=J,!0;if(J.pos<O&&O<J.end)return Xo(J,G,j),!0}}return!1}}}e.createSyntaxCursor=y;let E;(A=>{A[A.Value=-1]="Value"})(E||(E={}))})(nU||(nU={}));function ad(e){return B4(e)!==void 0}function B4(e){const t=rI(e,Y6,!1);if(t)return t;if(xl(e,".ts")){const r=Ec(e),i=r.lastIndexOf(".d.");if(i>=0)return r.substring(i)}}function oUe(e,t,r,i){if(e){if(e==="import")return 99;if(e==="require")return 1;i(t,r-t,f.resolution_mode_should_be_either_require_or_import)}}function rU(e,t){const r=[];for(const i of pg(t,0)||se){const o=t.substring(i.pos,i.end);cUe(r,i,o)}e.pragmas=new Map;for(const i of r){if(e.pragmas.has(i.name)){const o=e.pragmas.get(i.name);o instanceof Array?o.push(i.args):e.pragmas.set(i.name,[o,i.args]);continue}e.pragmas.set(i.name,i.args)}}function iU(e,t){e.checkJsDirective=void 0,e.referencedFiles=[],e.typeReferenceDirectives=[],e.libReferenceDirectives=[],e.amdDependencies=[],e.hasNoDefaultLib=!1,e.pragmas.forEach((r,i)=>{switch(i){case"reference":{const o=e.referencedFiles,s=e.typeReferenceDirectives,l=e.libReferenceDirectives;Xe(ZA(r),u=>{const{types:d,lib:_,path:m,["resolution-mode"]:y,preserve:E}=u.arguments,A=E==="true"?!0:void 0;if(u.arguments["no-default-lib"]==="true")e.hasNoDefaultLib=!0;else if(d){const R=oUe(y,d.pos,d.end,t);s.push({pos:d.pos,end:d.end,fileName:d.value,...R?{resolutionMode:R}:{},...A?{preserve:A}:{}})}else _?l.push({pos:_.pos,end:_.end,fileName:_.value,...A?{preserve:A}:{}}):m?o.push({pos:m.pos,end:m.end,fileName:m.value,...A?{preserve:A}:{}}):t(u.range.pos,u.range.end-u.range.pos,f.Invalid_reference_directive_syntax)});break}case"amd-dependency":{e.amdDependencies=Gt(ZA(r),o=>({name:o.arguments.name,path:o.arguments.path}));break}case"amd-module":{if(r instanceof Array)for(const o of r)e.moduleName&&t(o.range.pos,o.range.end-o.range.pos,f.An_AMD_module_cannot_have_multiple_name_assignments),e.moduleName=o.arguments.name;else e.moduleName=r.arguments.name;break}case"ts-nocheck":case"ts-check":{Xe(ZA(r),o=>{(!e.checkJsDirective||o.range.pos>e.checkJsDirective.pos)&&(e.checkJsDirective={enabled:i==="ts-check",end:o.range.end,pos:o.range.pos})});break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:C.fail("Unhandled pragma kind")}})}var Soe=new Map;function aUe(e){if(Soe.has(e))return Soe.get(e);const t=new RegExp("(\\s".concat(e,"\\s*=\\s*)(?:(?:'([^']*)')|(?:\"([^\"]*)\"))"),"im");return Soe.set(e,t),t}var sUe=/^\/\/\/\s*<(\S+)\s.*?\/>/m,lUe=/^\/\/\/?\s*@([^\s:]+)((?:[^\S\r\n]|:).*)?$/m;function cUe(e,t,r){const i=t.kind===2&&sUe.exec(r);if(i){const s=i[1].toLowerCase(),l=QW[s];if(!l||!(l.kind&1))return;if(l.args){const u={};for(const d of l.args){const m=aUe(d.name).exec(r);if(!m&&!d.optional)return;if(m){const y=m[2]||m[3];if(d.captureSpan){const E=t.pos+m.index+m[1].length+1;u[d.name]={value:y,pos:E,end:E+y.length}}else u[d.name]=y}}e.push({name:s,args:{arguments:u,range:t}})}else e.push({name:s,args:{arguments:{},range:t}});return}const o=t.kind===2&&lUe.exec(r);if(o)return _Ee(e,t,2,o);if(t.kind===3){const s=/@(\S+)(\s+(?:\S.*)?)?$/gm;let l;for(;l=s.exec(r);)_Ee(e,t,4,l)}}function _Ee(e,t,r,i){if(!i)return;const o=i[1].toLowerCase(),s=QW[o];if(!s||!(s.kind&r))return;const l=i[2],u=dUe(s,l);u!=="fail"&&e.push({name:o,args:{arguments:u,range:t}})}function dUe(e,t){if(!t)return{};if(!e.args)return{};const r=t.trim().split(/\s+/),i={};for(let o=0;o<e.args.length;o++){const s=e.args[o];if(!r[o]&&!s.optional)return"fail";if(s.captureSpan)return C.fail("Capture spans not yet implemented for non-xml pragmas");i[s.name]=r[o]}return i}function sT(e,t){return e.kind!==t.kind?!1:e.kind===80?e.escapedText===t.escapedText:e.kind===110?!0:e.kind===296?e.namespace.escapedText===t.namespace.escapedText&&e.name.escapedText===t.name.escapedText:e.name.escapedText===t.name.escapedText&&sT(e.expression,t.expression)}var Eoe={name:"compileOnSave",type:"boolean",defaultValueDescription:!1},gEe=new Map(Object.entries({preserve:1,"react-native":3,"react-jsx":4,"react-jsxdev":5,react:2})),Pw=new Map(ta(gEe.entries(),([e,t])=>[""+t,e])),yEe=[["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"],["es2024","lib.es2024.d.ts"],["esnext","lib.esnext.d.ts"],["dom","lib.dom.d.ts"],["dom.iterable","lib.dom.iterable.d.ts"],["dom.asynciterable","lib.dom.asynciterable.d.ts"],["webworker","lib.webworker.d.ts"],["webworker.importscripts","lib.webworker.importscripts.d.ts"],["webworker.iterable","lib.webworker.iterable.d.ts"],["webworker.asynciterable","lib.webworker.asynciterable.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"],["es2016.intl","lib.es2016.intl.d.ts"],["es2017.arraybuffer","lib.es2017.arraybuffer.d.ts"],["es2017.date","lib.es2017.date.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.string","lib.es2022.string.d.ts"],["es2022.regexp","lib.es2022.regexp.d.ts"],["es2023.array","lib.es2023.array.d.ts"],["es2023.collection","lib.es2023.collection.d.ts"],["es2023.intl","lib.es2023.intl.d.ts"],["es2024.arraybuffer","lib.es2024.arraybuffer.d.ts"],["es2024.collection","lib.es2024.collection.d.ts"],["es2024.object","lib.es2024.object.d.ts"],["es2024.promise","lib.es2024.promise.d.ts"],["es2024.regexp","lib.es2024.regexp.d.ts"],["es2024.sharedmemory","lib.es2024.sharedmemory.d.ts"],["es2024.string","lib.es2024.string.d.ts"],["esnext.array","lib.es2023.array.d.ts"],["esnext.collection","lib.esnext.collection.d.ts"],["esnext.symbol","lib.es2019.symbol.d.ts"],["esnext.asynciterable","lib.es2018.asynciterable.d.ts"],["esnext.intl","lib.esnext.intl.d.ts"],["esnext.disposable","lib.esnext.disposable.d.ts"],["esnext.bigint","lib.es2020.bigint.d.ts"],["esnext.string","lib.es2022.string.d.ts"],["esnext.promise","lib.es2024.promise.d.ts"],["esnext.weakref","lib.es2021.weakref.d.ts"],["esnext.decorators","lib.esnext.decorators.d.ts"],["esnext.object","lib.es2024.object.d.ts"],["esnext.array","lib.esnext.array.d.ts"],["esnext.regexp","lib.es2024.regexp.d.ts"],["esnext.string","lib.es2024.string.d.ts"],["esnext.iterator","lib.esnext.iterator.d.ts"],["esnext.promise","lib.esnext.promise.d.ts"],["esnext.float16","lib.esnext.float16.d.ts"],["esnext.error","lib.esnext.error.d.ts"],["esnext.sharedmemory","lib.esnext.sharedmemory.d.ts"],["decorators","lib.decorators.d.ts"],["decorators.legacy","lib.decorators.legacy.d.ts"]],G4=yEe.map(e=>e[0]),oU=new Map(yEe),ix=[{name:"watchFile",type:new Map(Object.entries({fixedpollinginterval:0,prioritypollinginterval:1,dynamicprioritypolling:2,fixedchunksizepolling:3,usefsevents:4,usefseventsonparentdirectory:5})),category:f.Watch_and_Build_Modes,description:f.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:f.Watch_and_Build_Modes,description:f.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:f.Watch_and_Build_Modes,description:f.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers,defaultValueDescription:1},{name:"synchronousWatchDirectory",type:"boolean",category:f.Watch_and_Build_Modes,description:f.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:joe},allowConfigDirTemplateSubstitution:!0,category:f.Watch_and_Build_Modes,description:f.Remove_a_list_of_directories_from_the_watch_process},{name:"excludeFiles",type:"list",element:{name:"excludeFile",type:"string",isFilePath:!0,extraValidation:joe},allowConfigDirTemplateSubstitution:!0,category:f.Watch_and_Build_Modes,description:f.Remove_a_list_of_files_from_the_watch_mode_s_processing}],V4=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:f.Command_line_Options,description:f.Print_this_message,defaultValueDescription:!1},{name:"help",shortName:"?",type:"boolean",isCommandLineOnly:!0,category:f.Command_line_Options,defaultValueDescription:!1},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:f.Command_line_Options,description:f.Watch_input_files,defaultValueDescription:!1},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:!1,category:f.Output_Formatting,description:f.Disable_wiping_the_console_in_watch_mode,defaultValueDescription:!1},{name:"listFiles",type:"boolean",category:f.Compiler_Diagnostics,description:f.Print_all_of_the_files_read_during_the_compilation,defaultValueDescription:!1},{name:"explainFiles",type:"boolean",category:f.Compiler_Diagnostics,description:f.Print_files_read_during_the_compilation_including_why_it_was_included,defaultValueDescription:!1},{name:"listEmittedFiles",type:"boolean",category:f.Compiler_Diagnostics,description:f.Print_the_names_of_emitted_files_after_a_compilation,defaultValueDescription:!1},{name:"pretty",type:"boolean",showInSimplifiedHelpView:!0,category:f.Output_Formatting,description:f.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read,defaultValueDescription:!0},{name:"traceResolution",type:"boolean",category:f.Compiler_Diagnostics,description:f.Log_paths_used_during_the_moduleResolution_process,defaultValueDescription:!1},{name:"diagnostics",type:"boolean",category:f.Compiler_Diagnostics,description:f.Output_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"extendedDiagnostics",type:"boolean",category:f.Compiler_Diagnostics,description:f.Output_more_detailed_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"generateCpuProfile",type:"string",isFilePath:!0,paramType:f.FILE_OR_DIRECTORY,category:f.Compiler_Diagnostics,description:f.Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging,defaultValueDescription:"profile.cpuprofile"},{name:"generateTrace",type:"string",isFilePath:!0,paramType:f.DIRECTORY,category:f.Compiler_Diagnostics,description:f.Generates_an_event_trace_and_a_list_of_types},{name:"incremental",shortName:"i",type:"boolean",category:f.Projects,description:f.Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects,transpileOptionValue:void 0,defaultValueDescription:f.false_unless_composite_is_set},{name:"declaration",shortName:"d",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:f.Emit,transpileOptionValue:void 0,description:f.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project,defaultValueDescription:f.false_unless_composite_is_set},{name:"declarationMap",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:f.Emit,defaultValueDescription:!1,description:f.Create_sourcemaps_for_d_ts_files},{name:"emitDeclarationOnly",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:f.Emit,description:f.Only_output_d_ts_files_and_not_JavaScript_files,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"sourceMap",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:f.Emit,defaultValueDescription:!1,description:f.Create_source_map_files_for_emitted_JavaScript_files},{name:"inlineSourceMap",type:"boolean",affectsBuildInfo:!0,category:f.Emit,description:f.Include_sourcemap_files_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"noCheck",type:"boolean",showInSimplifiedHelpView:!1,category:f.Compiler_Diagnostics,description:f.Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported,transpileOptionValue:!0,defaultValueDescription:!1},{name:"noEmit",type:"boolean",showInSimplifiedHelpView:!0,category:f.Emit,description:f.Disable_emitting_files_from_a_compilation,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"assumeChangesOnlyAffectDirectDependencies",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:f.Watch_and_Build_Modes,description:f.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:f.Command_line_Options,isCommandLineOnly:!0,description:f.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit,defaultValueDescription:f.Platform_specific}],aU={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,es2023:10,es2024:11,esnext:99})),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,affectsBuildInfo:!0,deprecatedKeys:new Set(["es3"]),paramType:f.VERSION,showInSimplifiedHelpView:!0,category:f.Language_and_Environment,description:f.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations,defaultValueDescription:1},Aoe={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,node18:101,node20:102,nodenext:199,preserve:200})),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,affectsBuildInfo:!0,paramType:f.KIND,showInSimplifiedHelpView:!0,category:f.Modules,description:f.Specify_what_module_code_is_generated,defaultValueDescription:void 0},vEe=[{name:"all",type:"boolean",showInSimplifiedHelpView:!0,category:f.Command_line_Options,description:f.Show_all_compiler_options,defaultValueDescription:!1},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:!0,category:f.Command_line_Options,description:f.Print_the_compiler_s_version,defaultValueDescription:!1},{name:"init",type:"boolean",showInSimplifiedHelpView:!0,category:f.Command_line_Options,description:f.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file,defaultValueDescription:!1},{name:"project",shortName:"p",type:"string",isFilePath:!0,showInSimplifiedHelpView:!0,category:f.Command_line_Options,paramType:f.FILE_OR_DIRECTORY,description:f.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json},{name:"showConfig",type:"boolean",showInSimplifiedHelpView:!0,category:f.Command_line_Options,isCommandLineOnly:!0,description:f.Print_the_final_configuration_instead_of_building,defaultValueDescription:!1},{name:"listFilesOnly",type:"boolean",category:f.Command_line_Options,isCommandLineOnly:!0,description:f.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing,defaultValueDescription:!1},aU,Aoe,{name:"lib",type:"list",element:{name:"lib",type:oU,defaultValueDescription:void 0},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:f.Language_and_Environment,description:f.Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment,transpileOptionValue:void 0},{name:"allowJs",type:"boolean",allowJsFlag:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:f.JavaScript_Support,description:f.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",affectsModuleResolution:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:f.JavaScript_Support,description:f.Enable_error_reporting_in_type_checked_JavaScript_files,defaultValueDescription:!1},{name:"jsx",type:gEe,affectsSourceFile:!0,affectsEmit:!0,affectsBuildInfo:!0,affectsModuleResolution:!0,affectsSemanticDiagnostics:!0,paramType:f.KIND,showInSimplifiedHelpView:!0,category:f.Language_and_Environment,description:f.Specify_what_JSX_code_is_generated,defaultValueDescription:void 0},{name:"outFile",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:f.FILE,showInSimplifiedHelpView:!0,category:f.Emit,description:f.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:f.DIRECTORY,showInSimplifiedHelpView:!0,category:f.Emit,description:f.Specify_an_output_folder_for_all_emitted_files},{name:"rootDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:f.LOCATION,category:f.Modules,description:f.Specify_the_root_folder_within_your_source_files,defaultValueDescription:f.Computed_from_the_list_of_input_files},{name:"composite",type:"boolean",affectsBuildInfo:!0,isTSConfigOnly:!0,category:f.Projects,transpileOptionValue:void 0,defaultValueDescription:!1,description:f.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references},{name:"tsBuildInfoFile",type:"string",affectsEmit:!0,affectsBuildInfo:!0,isFilePath:!0,paramType:f.FILE,category:f.Projects,transpileOptionValue:void 0,defaultValueDescription:".tsbuildinfo",description:f.Specify_the_path_to_tsbuildinfo_incremental_compilation_file},{name:"removeComments",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:f.Emit,defaultValueDescription:!1,description:f.Disable_emitting_comments},{name:"importHelpers",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,affectsSourceFile:!0,category:f.Emit,description:f.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:f.Backwards_Compatibility,description:f.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types,defaultValueDescription:0},{name:"downlevelIteration",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:f.Emit,description:f.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration,defaultValueDescription:!1},{name:"isolatedModules",type:"boolean",category:f.Interop_Constraints,description:f.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports,transpileOptionValue:!0,defaultValueDescription:!1},{name:"verbatimModuleSyntax",type:"boolean",affectsEmit:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Interop_Constraints,description:f.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:"isolatedDeclarations",type:"boolean",category:f.Interop_Constraints,description:f.Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files,defaultValueDescription:!1,affectsBuildInfo:!0,affectsSemanticDiagnostics:!0},{name:"erasableSyntaxOnly",type:"boolean",category:f.Interop_Constraints,description:f.Do_not_allow_runtime_constructs_that_are_not_part_of_ECMAScript,defaultValueDescription:!1,affectsBuildInfo:!0,affectsSemanticDiagnostics:!0},{name:"libReplacement",type:"boolean",affectsProgramStructure:!0,category:f.Language_and_Environment,description:f.Enable_lib_replacement,defaultValueDescription:!0},{name:"strict",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:f.Type_Checking,description:f.Enable_all_strict_type_checking_options,defaultValueDescription:!1},{name:"noImplicitAny",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:f.Type_Checking,description:f.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type,defaultValueDescription:f.false_unless_strict_is_set},{name:"strictNullChecks",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:f.Type_Checking,description:f.When_type_checking_take_into_account_null_and_undefined,defaultValueDescription:f.false_unless_strict_is_set},{name:"strictFunctionTypes",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:f.Type_Checking,description:f.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible,defaultValueDescription:f.false_unless_strict_is_set},{name:"strictBindCallApply",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:f.Type_Checking,description:f.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function,defaultValueDescription:f.false_unless_strict_is_set},{name:"strictPropertyInitialization",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:f.Type_Checking,description:f.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor,defaultValueDescription:f.false_unless_strict_is_set},{name:"strictBuiltinIteratorReturn",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:f.Type_Checking,description:f.Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any,defaultValueDescription:f.false_unless_strict_is_set},{name:"noImplicitThis",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:f.Type_Checking,description:f.Enable_error_reporting_when_this_is_given_the_type_any,defaultValueDescription:f.false_unless_strict_is_set},{name:"useUnknownInCatchVariables",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:f.Type_Checking,description:f.Default_catch_clause_variables_as_unknown_instead_of_any,defaultValueDescription:f.false_unless_strict_is_set},{name:"alwaysStrict",type:"boolean",affectsSourceFile:!0,affectsEmit:!0,affectsBuildInfo:!0,strictFlag:!0,category:f.Type_Checking,description:f.Ensure_use_strict_is_always_emitted,defaultValueDescription:f.false_unless_strict_is_set},{name:"noUnusedLocals",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Type_Checking,description:f.Enable_error_reporting_when_local_variables_aren_t_read,defaultValueDescription:!1},{name:"noUnusedParameters",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Type_Checking,description:f.Raise_an_error_when_a_function_parameter_isn_t_read,defaultValueDescription:!1},{name:"exactOptionalPropertyTypes",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Type_Checking,description:f.Interpret_optional_property_types_as_written_rather_than_adding_undefined,defaultValueDescription:!1},{name:"noImplicitReturns",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Type_Checking,description:f.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:f.Type_Checking,description:f.Enable_error_reporting_for_fallthrough_cases_in_switch_statements,defaultValueDescription:!1},{name:"noUncheckedIndexedAccess",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Type_Checking,description:f.Add_undefined_to_a_type_when_accessed_using_an_index,defaultValueDescription:!1},{name:"noImplicitOverride",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Type_Checking,description:f.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:f.Type_Checking,description:f.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"]),affectsSourceFile:!0,affectsModuleResolution:!0,paramType:f.STRATEGY,category:f.Modules,description:f.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier,defaultValueDescription:f.module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node},{name:"baseUrl",type:"string",affectsModuleResolution:!0,isFilePath:!0,category:f.Modules,description:f.Specify_the_base_directory_to_resolve_non_relative_module_names},{name:"paths",type:"object",affectsModuleResolution:!0,allowConfigDirTemplateSubstitution:!0,isTSConfigOnly:!0,category:f.Modules,description:f.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,allowConfigDirTemplateSubstitution:!0,category:f.Modules,description:f.Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules,transpileOptionValue:void 0,defaultValueDescription:f.Computed_from_the_list_of_input_files},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:!0},affectsModuleResolution:!0,allowConfigDirTemplateSubstitution:!0,category:f.Modules,description:f.Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types},{name:"types",type:"list",element:{name:"types",type:"string"},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:f.Modules,description:f.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:f.Interop_Constraints,description:f.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export,defaultValueDescription:f.module_system_or_esModuleInterop},{name:"esModuleInterop",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:f.Interop_Constraints,description:f.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility,defaultValueDescription:!1},{name:"preserveSymlinks",type:"boolean",category:f.Interop_Constraints,description:f.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:f.Modules,description:f.Allow_accessing_UMD_globals_from_modules,defaultValueDescription:!1},{name:"moduleSuffixes",type:"list",element:{name:"suffix",type:"string"},listPreserveFalsyValues:!0,affectsModuleResolution:!0,category:f.Modules,description:f.List_of_file_name_suffixes_to_search_when_resolving_a_module},{name:"allowImportingTsExtensions",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Modules,description:f.Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set,defaultValueDescription:!1,transpileOptionValue:void 0},{name:"rewriteRelativeImportExtensions",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Modules,description:f.Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_in_output_files,defaultValueDescription:!1},{name:"resolvePackageJsonExports",type:"boolean",affectsModuleResolution:!0,category:f.Modules,description:f.Use_the_package_json_exports_field_when_resolving_package_imports,defaultValueDescription:f.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false},{name:"resolvePackageJsonImports",type:"boolean",affectsModuleResolution:!0,category:f.Modules,description:f.Use_the_package_json_imports_field_when_resolving_imports,defaultValueDescription:f.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false},{name:"customConditions",type:"list",element:{name:"condition",type:"string"},affectsModuleResolution:!0,category:f.Modules,description:f.Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports},{name:"noUncheckedSideEffectImports",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Modules,description:f.Check_side_effect_imports,defaultValueDescription:!1},{name:"sourceRoot",type:"string",affectsEmit:!0,affectsBuildInfo:!0,paramType:f.LOCATION,category:f.Emit,description:f.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code},{name:"mapRoot",type:"string",affectsEmit:!0,affectsBuildInfo:!0,paramType:f.LOCATION,category:f.Emit,description:f.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:"inlineSources",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:f.Emit,description:f.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"experimentalDecorators",type:"boolean",affectsEmit:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Language_and_Environment,description:f.Enable_experimental_support_for_legacy_experimental_decorators,defaultValueDescription:!1},{name:"emitDecoratorMetadata",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:f.Language_and_Environment,description:f.Emit_design_type_metadata_for_decorated_declarations_in_source_files,defaultValueDescription:!1},{name:"jsxFactory",type:"string",category:f.Language_and_Environment,description:f.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:f.Language_and_Environment,description:f.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,affectsSourceFile:!0,category:f.Language_and_Environment,description:f.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:f.Modules,description:f.Enable_importing_json_files,defaultValueDescription:!1},{name:"allowArbitraryExtensions",type:"boolean",affectsProgramStructure:!0,category:f.Modules,description:f.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:f.Backwards_Compatibility,paramType:f.FILE,transpileOptionValue:void 0,description:f.Deprecated_setting_Use_outFile_instead},{name:"reactNamespace",type:"string",affectsEmit:!0,affectsBuildInfo:!0,category:f.Language_and_Environment,description:f.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit,defaultValueDescription:"`React`"},{name:"skipDefaultLibCheck",type:"boolean",affectsBuildInfo:!0,category:f.Completeness,description:f.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript,defaultValueDescription:!1},{name:"charset",type:"string",category:f.Backwards_Compatibility,description:f.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:f.Emit,description:f.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:f.NEWLINE,category:f.Emit,description:f.Set_the_newline_character_for_emitting_files,defaultValueDescription:"lf"},{name:"noErrorTruncation",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Output_Formatting,description:f.Disable_truncating_types_in_error_messages,defaultValueDescription:!1},{name:"noLib",type:"boolean",category:f.Language_and_Environment,affectsProgramStructure:!0,description:f.Disable_including_any_library_files_including_the_default_lib_d_ts,transpileOptionValue:!0,defaultValueDescription:!1},{name:"noResolve",type:"boolean",affectsModuleResolution:!0,category:f.Modules,description:f.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:f.Emit,description:f.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments,defaultValueDescription:!1},{name:"disableSizeLimit",type:"boolean",affectsProgramStructure:!0,category:f.Editor_Support,description:f.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:f.Projects,description:f.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects,defaultValueDescription:!1},{name:"disableSolutionSearching",type:"boolean",isTSConfigOnly:!0,category:f.Projects,description:f.Opt_a_project_out_of_multi_project_reference_checking_when_editing,defaultValueDescription:!1},{name:"disableReferencedProjectLoad",type:"boolean",isTSConfigOnly:!0,category:f.Projects,description:f.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript,defaultValueDescription:!1},{name:"noImplicitUseStrict",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Backwards_Compatibility,description:f.Disable_adding_use_strict_directives_in_emitted_JavaScript_files,defaultValueDescription:!1},{name:"noEmitHelpers",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:f.Emit,description:f.Disable_generating_custom_helper_functions_like_extends_in_compiled_output,defaultValueDescription:!1},{name:"noEmitOnError",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:f.Emit,transpileOptionValue:void 0,description:f.Disable_emitting_files_if_any_type_checking_errors_are_reported,defaultValueDescription:!1},{name:"preserveConstEnums",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:f.Emit,description:f.Disable_erasing_const_enum_declarations_in_generated_code,defaultValueDescription:!1},{name:"declarationDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:f.DIRECTORY,category:f.Emit,transpileOptionValue:void 0,description:f.Specify_the_output_directory_for_generated_declaration_files},{name:"skipLibCheck",type:"boolean",affectsBuildInfo:!0,category:f.Completeness,description:f.Skip_type_checking_all_d_ts_files,defaultValueDescription:!1},{name:"allowUnusedLabels",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Type_Checking,description:f.Disable_error_reporting_for_unused_labels,defaultValueDescription:void 0},{name:"allowUnreachableCode",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Type_Checking,description:f.Disable_error_reporting_for_unreachable_code,defaultValueDescription:void 0},{name:"suppressExcessPropertyErrors",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Backwards_Compatibility,description:f.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals,defaultValueDescription:!1},{name:"suppressImplicitAnyIndexErrors",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Backwards_Compatibility,description:f.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures,defaultValueDescription:!1},{name:"forceConsistentCasingInFileNames",type:"boolean",affectsModuleResolution:!0,category:f.Interop_Constraints,description:f.Ensure_that_casing_is_correct_in_imports,defaultValueDescription:!0},{name:"maxNodeModuleJsDepth",type:"number",affectsModuleResolution:!0,category:f.JavaScript_Support,description:f.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:f.Backwards_Compatibility,description:f.Disable_strict_checking_of_generic_signatures_in_function_types,defaultValueDescription:!1},{name:"useDefineForClassFields",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:f.Language_and_Environment,description:f.Emit_ECMAScript_standard_compliant_class_fields,defaultValueDescription:f.true_for_ES2022_and_above_including_ESNext},{name:"preserveValueImports",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:f.Backwards_Compatibility,description:f.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed,defaultValueDescription:!1},{name:"keyofStringsOnly",type:"boolean",category:f.Backwards_Compatibility,description:f.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:f.Specify_a_list_of_language_service_plugins_to_include,category:f.Editor_Support},{name:"moduleDetection",type:new Map(Object.entries({auto:2,legacy:1,force:3})),affectsSourceFile:!0,affectsModuleResolution:!0,description:f.Control_what_method_is_used_to_detect_module_format_JS_files,category:f.Language_and_Environment,defaultValueDescription:f.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}],Jm=[...V4,...vEe],Ioe=Jm.filter(e=>!!e.affectsSemanticDiagnostics),xoe=Jm.filter(e=>!!e.affectsEmit),Roe=Jm.filter(e=>!!e.affectsDeclarationPath),sU=Jm.filter(e=>!!e.affectsModuleResolution),lU=Jm.filter(e=>!!e.affectsSourceFile||!!e.affectsBindDiagnostics),Doe=Jm.filter(e=>!!e.affectsProgramStructure),Coe=Jm.filter(e=>Ms(e,"transpileOptionValue")),uUe=Jm.filter(e=>e.allowConfigDirTemplateSubstitution||!e.isCommandLineOnly&&e.isFilePath),pUe=ix.filter(e=>e.allowConfigDirTemplateSubstitution||!e.isCommandLineOnly&&e.isFilePath),Noe=Jm.filter(fUe);function fUe(e){return!jo(e.type)}var N1={name:"build",type:"boolean",shortName:"b",showInSimplifiedHelpView:!0,category:f.Command_line_Options,description:f.Build_one_or_more_projects_and_their_dependencies_if_out_of_date,defaultValueDescription:!1},cU=[N1,{name:"verbose",shortName:"v",category:f.Command_line_Options,description:f.Enable_verbose_logging,type:"boolean",defaultValueDescription:!1},{name:"dry",shortName:"d",category:f.Command_line_Options,description:f.Show_what_would_be_built_or_deleted_if_specified_with_clean,type:"boolean",defaultValueDescription:!1},{name:"force",shortName:"f",category:f.Command_line_Options,description:f.Build_all_projects_including_those_that_appear_to_be_up_to_date,type:"boolean",defaultValueDescription:!1},{name:"clean",category:f.Command_line_Options,description:f.Delete_the_outputs_of_all_projects,type:"boolean",defaultValueDescription:!1},{name:"stopBuildOnErrors",category:f.Command_line_Options,description:f.Skip_building_downstream_projects_on_error_in_upstream_project,type:"boolean",defaultValueDescription:!1}],Lw=[...V4,...cU],j4=[{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}];function U4(e){const t=new Map,r=new Map;return Xe(e,i=>{t.set(i.name.toLowerCase(),i),i.shortName&&r.set(i.shortName,i.name)}),{optionsNameMap:t,shortOptionNames:r}}var bEe;function FD(){return bEe||(bEe=U4(Jm))}var mUe={diagnostic:f.Compiler_option_0_may_only_be_used_with_build,getOptionsNameMap:xEe},TEe={module:1,target:3,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0,skipLibCheck:!0};function Moe(e){return SEe(e,Dl)}function SEe(e,t){const r=Mo(e.type.keys()),i=(e.deprecatedKeys?r.filter(o=>!e.deprecatedKeys.has(o)):r).map(o=>"'".concat(o,"'")).join(", ");return t(f.Argument_for_0_option_must_be_Colon_1,"--".concat(e.name),i)}function H4(e,t,r){return a1e(e,(t!=null?t:"").trim(),r)}function Poe(e,t="",r){if(t=t.trim(),fo(t,"-"))return;if(e.type==="listOrElement"&&!t.includes(","))return ox(e,t,r);if(t==="")return[];const i=t.split(",");switch(e.element.type){case"number":return Hi(i,o=>ox(e.element,parseInt(o),r));case"string":return Hi(i,o=>ox(e.element,o||"",r));case"boolean":case"object":return C.fail("List of ".concat(e.element.type," is not yet supported."));default:return Hi(i,o=>H4(e.element,o,r))}}function EEe(e){return e.name}function Loe(e,t,r,i,o){var s;const l=(s=t.alternateMode)==null?void 0:s.getOptionsNameMap().optionsNameMap.get(e.toLowerCase());if(l)return lT(o,i,l!==N1?t.alternateMode.diagnostic:f.Option_build_must_be_the_first_command_line_argument,e);const u=fS(e,t.optionDeclarations,EEe);return u?lT(o,i,t.unknownDidYouMeanDiagnostic,r||e,u.name):lT(o,i,t.unknownOptionDiagnostic,r||e)}function dU(e,t,r){const i={};let o;const s=[],l=[];return u(t),{options:i,watchOptions:o,fileNames:s,errors:l};function u(_){let m=0;for(;m<_.length;){const y=_[m];if(m++,y.charCodeAt(0)===64)d(y.slice(1));else if(y.charCodeAt(0)===45){const E=y.slice(y.charCodeAt(1)===45?2:1),A=woe(e.getOptionsNameMap,E,!0);if(A)m=AEe(_,m,e,A,i,l);else{const R=woe(mU.getOptionsNameMap,E,!0);R?m=AEe(_,m,mU,R,o||(o={}),l):l.push(Loe(E,e,y))}}else s.push(y)}}function d(_){const m=eP(_,r||(A=>Vc.readFile(A)));if(!jo(m)){l.push(m);return}const y=[];let E=0;for(;;){for(;E<m.length&&m.charCodeAt(E)<=32;)E++;if(E>=m.length)break;const A=E;if(m.charCodeAt(A)===34){for(E++;E<m.length&&m.charCodeAt(E)!==34;)E++;E<m.length?(y.push(m.substring(A+1,E)),E++):l.push(Dl(f.Unterminated_quoted_string_in_response_file_0,_))}else{for(;m.charCodeAt(E)>32;)E++;y.push(m.substring(A,E))}}u(y)}}function AEe(e,t,r,i,o,s){if(i.isTSConfigOnly){const l=e[t];l==="null"?(o[i.name]=void 0,t++):i.type==="boolean"?l==="false"?(o[i.name]=ox(i,!1,s),t++):(l==="true"&&t++,s.push(Dl(f.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,i.name))):(s.push(Dl(f.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,i.name)),l&&!fo(l,"-")&&t++)}else if(!e[t]&&i.type!=="boolean"&&s.push(Dl(r.optionTypeMismatchDiagnostic,i.name,hU(i))),e[t]!=="null")switch(i.type){case"number":o[i.name]=ox(i,parseInt(e[t]),s),t++;break;case"boolean":const l=e[t];o[i.name]=ox(i,l!=="false",s),(l==="false"||l==="true")&&t++;break;case"string":o[i.name]=ox(i,e[t]||"",s),t++;break;case"list":const u=Poe(i,e[t],s);o[i.name]=u||[],u&&t++;break;case"listOrElement":C.fail("listOrElement not supported here");break;default:o[i.name]=H4(i,e[t],s),t++;break}else o[i.name]=void 0,t++;return t}var q4={alternateMode:mUe,getOptionsNameMap:FD,optionDeclarations:Jm,unknownOptionDiagnostic:f.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:f.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:f.Compiler_option_0_expects_an_argument};function koe(e,t){return dU(q4,e,t)}function uU(e,t){return woe(FD,e,t)}function woe(e,t,r=!1){t=t.toLowerCase();const{optionsNameMap:i,shortOptionNames:o}=e();if(r){const s=o.get(t);s!==void 0&&(t=s)}return i.get(t)}var IEe;function xEe(){return IEe||(IEe=U4(Lw))}var hUe={diagnostic:f.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:FD},_Ue={alternateMode:hUe,getOptionsNameMap:xEe,optionDeclarations:Lw,unknownOptionDiagnostic:f.Unknown_build_option_0,unknownDidYouMeanDiagnostic:f.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:f.Build_option_0_requires_a_value_of_type_1};function Ooe(e){const{options:t,watchOptions:r,fileNames:i,errors:o}=dU(_Ue,e),s=t;return i.length===0&&i.push("."),s.clean&&s.force&&o.push(Dl(f.Options_0_and_1_cannot_be_combined,"clean","force")),s.clean&&s.verbose&&o.push(Dl(f.Options_0_and_1_cannot_be_combined,"clean","verbose")),s.clean&&s.watch&&o.push(Dl(f.Options_0_and_1_cannot_be_combined,"clean","watch")),s.watch&&s.dry&&o.push(Dl(f.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:s,watchOptions:r,projects:i,errors:o}}function op(e,...t){return va(Dl(e,...t).messageText,jo)}function kw(e,t,r,i,o,s){const l=eP(e,_=>r.readFile(_));if(!jo(l)){r.onUnRecoverableConfigFileDiagnostic(l);return}const u=Mw(e,l),d=r.getCurrentDirectory();return u.path=Ws(e,d,Fd(r.useCaseSensitiveFileNames)),u.resolvedPath=u.path,u.originalFileName=u.fileName,Ww(u,r,Eo(pi(e),d),t,Eo(e,d),void 0,s,i,o)}function ww(e,t){const r=eP(e,t);return jo(r)?pU(e,r):{config:{},error:r}}function pU(e,t){const r=Mw(e,t);return{config:zEe(r,r.parseDiagnostics,void 0),error:r.parseDiagnostics.length?r.parseDiagnostics[0]:void 0}}function Woe(e,t){const r=eP(e,t);return jo(r)?Mw(e,r):{fileName:e,parseDiagnostics:[r]}}function eP(e,t){let r;try{r=t(e)}catch(i){return Dl(f.Cannot_read_file_0_Colon_1,e,i.message)}return r===void 0?Dl(f.Cannot_read_file_0,e):r}function fU(e){return xR(e,EEe)}var REe={optionDeclarations:j4,unknownOptionDiagnostic:f.Unknown_type_acquisition_option_0,unknownDidYouMeanDiagnostic:f.Unknown_type_acquisition_option_0_Did_you_mean_1},DEe;function CEe(){return DEe||(DEe=U4(ix))}var mU={getOptionsNameMap:CEe,optionDeclarations:ix,unknownOptionDiagnostic:f.Unknown_watch_option_0,unknownDidYouMeanDiagnostic:f.Unknown_watch_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:f.Watch_option_0_requires_a_value_of_type_1},NEe;function MEe(){return NEe||(NEe=fU(Jm))}var PEe;function LEe(){return PEe||(PEe=fU(ix))}var kEe;function wEe(){return kEe||(kEe=fU(j4))}var J4={name:"extends",type:"listOrElement",element:{name:"extends",type:"string"},category:f.File_Management,disallowNullOrUndefined:!0},OEe={name:"compilerOptions",type:"object",elementOptions:MEe(),extraKeyDiagnostics:q4},WEe={name:"watchOptions",type:"object",elementOptions:LEe(),extraKeyDiagnostics:mU},FEe={name:"typeAcquisition",type:"object",elementOptions:wEe(),extraKeyDiagnostics:REe},Foe;function gUe(){return Foe===void 0&&(Foe={name:void 0,type:"object",elementOptions:fU([OEe,WEe,FEe,J4,{name:"references",type:"list",element:{name:"references",type:"object"},category:f.Projects},{name:"files",type:"list",element:{name:"files",type:"string"},category:f.File_Management},{name:"include",type:"list",element:{name:"include",type:"string"},category:f.File_Management,defaultValueDescription:f.if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk},{name:"exclude",type:"list",element:{name:"exclude",type:"string"},category:f.File_Management,defaultValueDescription:f.node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified},Eoe])}),Foe}function zEe(e,t,r){var i;const o=(i=e.statements[0])==null?void 0:i.expression;if(o&&o.kind!==211){if(t.push(Ff(e,o,f.The_root_value_of_a_0_file_must_be_an_object,Ec(e.fileName)==="jsconfig.json"?"jsconfig.json":"tsconfig.json")),Dd(o)){const s=_n(o.elements,za);if(s)return Ow(e,s,t,!0,r)}return{}}return Ow(e,o,t,!0,r)}function zoe(e,t){var r;return Ow(e,(r=e.statements[0])==null?void 0:r.expression,t,!0,void 0)}function Ow(e,t,r,i,o){if(!t)return i?{}:void 0;return u(t,o==null?void 0:o.rootOptions);function s(_,m){var y;const E=i?{}:void 0;for(const A of _.properties){if(A.kind!==304){r.push(Ff(e,A,f.Property_assignment_expected));continue}A.questionToken&&r.push(Ff(e,A.questionToken,f.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),d(A.name)||r.push(Ff(e,A.name,f.String_literal_with_double_quotes_expected));const R=tk(A.name)?void 0:_I(A.name),N=R&&Bi(R),M=N?(y=m==null?void 0:m.elementOptions)==null?void 0:y.get(N):void 0,k=u(A.initializer,M);typeof N<"u"&&(i&&(E[N]=k),o==null||o.onPropertySet(N,k,A,m,M))}return E}function l(_,m){if(!i){_.forEach(y=>u(y,m));return}return Fn(_.map(y=>u(y,m)),y=>y!==void 0)}function u(_,m){switch(_.kind){case 112:return!0;case 97:return!1;case 106:return null;case 11:return d(_)||r.push(Ff(e,_,f.String_literal_with_double_quotes_expected)),_.text;case 9:return Number(_.text);case 225:if(_.operator!==41||_.operand.kind!==9)break;return-Number(_.operand.text);case 211:return s(_,m);case 210:return l(_.elements,m&&m.element)}m?r.push(Ff(e,_,f.Compiler_option_0_requires_a_value_of_type_1,m.name,hU(m))):r.push(Ff(e,_,f.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal))}function d(_){return Oa(_)&&a6(_,e)}}function hU(e){return e.type==="listOrElement"?"".concat(hU(e.element)," or Array"):e.type==="list"?"Array":jo(e.type)?e.type:"string"}function BEe(e,t){if(e){if(Fw(t))return!e.disallowNullOrUndefined;if(e.type==="list")return Lo(t);if(e.type==="listOrElement")return Lo(t)||BEe(e.element,t);const r=jo(e.type)?e.type:"string";return typeof t===r}return!1}function _U(e,t,r){var i,o,s;const l=Fd(r.useCaseSensitiveFileNames),u=Gt(Fn(e.fileNames,(o=(i=e.options.configFile)==null?void 0:i.configFileSpecs)!=null&&o.validatedIncludeSpecs?bUe(t,e.options.configFile.configFileSpecs.validatedIncludeSpecs,e.options.configFile.configFileSpecs.validatedExcludeSpecs,r):dS),R=>LR(Eo(t,r.getCurrentDirectory()),Eo(R,r.getCurrentDirectory()),l)),d={configFilePath:Eo(t,r.getCurrentDirectory()),useCaseSensitiveFileNames:r.useCaseSensitiveFileNames},_=gU(e.options,d),m=e.watchOptions&&TUe(e.watchOptions),y={compilerOptions:{...K4(_),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:m&&K4(m),references:Gt(e.projectReferences,R=>({...R,path:R.originalPath?R.originalPath:"",originalPath:void 0})),files:et(u)?u:void 0,...(s=e.options.configFile)!=null&&s.configFileSpecs?{include:vUe(e.options.configFile.configFileSpecs.validatedIncludeSpecs),exclude:e.options.configFile.configFileSpecs.validatedExcludeSpecs}:{},compileOnSave:e.compileOnSave?!0:void 0},E=new Set(_.keys()),A={};for(const R in TM)if(!E.has(R)&&yUe(R,E)){const N=TM[R].computeValue(e.options),M=TM[R].computeValue({});N!==M&&(A[R]=TM[R].computeValue(e.options))}return VE(y.compilerOptions,K4(gU(A,d))),y}function yUe(e,t){const r=new Set;return i(e);function i(o){var s;return Tm(r,o)?bt((s=TM[o])==null?void 0:s.dependencies,l=>t.has(l)||i(l)):!1}}function K4(e){return Object.fromEntries(e)}function vUe(e){if(et(e)){if(et(e)!==1)return e;if(e[0]!==HEe)return e}}function bUe(e,t,r,i){if(!t)return dS;const o=q6(e,r,t,i.useCaseSensitiveFileNames,i.getCurrentDirectory()),s=o.excludePattern&&cv(o.excludePattern,i.useCaseSensitiveFileNames),l=o.includeFilePattern&&cv(o.includeFilePattern,i.useCaseSensitiveFileNames);return l?s?u=>!(l.test(u)&&!s.test(u)):u=>!l.test(u):s?u=>s.test(u):dS}function GEe(e){switch(e.type){case"string":case"number":case"boolean":case"object":return;case"list":case"listOrElement":return GEe(e.element);default:return e.type}}function X4(e,t){return Uc(t,(r,i)=>{if(r===e)return i})}function gU(e,t){return VEe(e,FD(),t)}function TUe(e){return VEe(e,CEe())}function VEe(e,{optionsNameMap:t},r){const i=new Map,o=r&&Fd(r.useCaseSensitiveFileNames);for(const s in e)if(Ms(e,s)){if(t.has(s)&&(t.get(s).category===f.Command_line_Options||t.get(s).category===f.Output_Formatting))continue;const l=e[s],u=t.get(s.toLowerCase());if(u){C.assert(u.type!=="listOrElement");const d=GEe(u);d?u.type==="list"?i.set(s,l.map(_=>X4(_,d))):i.set(s,X4(l,d)):r&&u.isFilePath?i.set(s,LR(r.configFilePath,Eo(l,pi(r.configFilePath)),o)):r&&u.type==="list"&&u.element.isFilePath?i.set(s,l.map(_=>LR(r.configFilePath,Eo(_,pi(r.configFilePath)),o))):i.set(s,l)}}return i}function Boe(e,t){const i=[],o=Object.keys(e).filter(m=>m!=="init"&&m!=="help"&&m!=="watch");if(i.push("{"),i.push(" // ".concat(Jo(f.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file))),i.push(' "compilerOptions": {'),l(f.File_Layout),u("rootDir","./src","optional"),u("outDir","./dist","optional"),s(),l(f.Environment_Settings),l(f.See_also_https_Colon_Slash_Slashaka_ms_Slashtsconfig_Slashmodule),u("module",199),u("target",99),u("types",[]),e.lib&&u("lib",e.lib),l(f.For_nodejs_Colon),i.push(' // "lib": ["esnext"],'),i.push(' // "types": ["node"],'),l(f.and_npm_install_D_types_Slashnode),s(),l(f.Other_Outputs),u("sourceMap",!0),u("declaration",!0),u("declarationMap",!0),s(),l(f.Stricter_Typechecking_Options),u("noUncheckedIndexedAccess",!0),u("exactOptionalPropertyTypes",!0),s(),l(f.Style_Options),u("noImplicitReturns",!0,"optional"),u("noImplicitOverride",!0,"optional"),u("noUnusedLocals",!0,"optional"),u("noUnusedParameters",!0,"optional"),u("noFallthroughCasesInSwitch",!0,"optional"),u("noPropertyAccessFromIndexSignature",!0,"optional"),s(),l(f.Recommended_Options),u("strict",!0),u("jsx",4),u("verbatimModuleSyntax",!0),u("isolatedModules",!0),u("noUncheckedSideEffectImports",!0),u("moduleDetection",3),u("skipLibCheck",!0),o.length>0)for(s();o.length>0;)u(o[0],e[o[0]]);function s(){i.push("")}function l(m){i.push(" // ".concat(Jo(m)))}function u(m,y,E="never"){var M;const A=o.indexOf(m);A>=0&&o.splice(A,1);let R;E==="always"?R=!0:E==="never"?R=!1:R=!Ms(e,m);const N=(M=e[m])!=null?M:y;R?i.push(' // "'.concat(m,'": ').concat(d(m,N),",")):i.push(' "'.concat(m,'": ').concat(d(m,N),","))}function d(m,y){const E=Jm.filter(R=>R.name===m)[0];E||C.fail("No option named ".concat(m,"?"));const A=E.type instanceof Map?E.type:void 0;if(Lo(y)){const R="element"in E&&E.element.type instanceof Map?E.element.type:void 0;return"[".concat(y.map(N=>_(N,R)).join(", "),"]")}else return _(y,A)}function _(m,y){var E;return y&&(m=(E=X4(m,y))!=null?E:C.fail("No matching value of ".concat(m))),JSON.stringify(m)}return i.push(" }"),i.push("}"),i.push(""),i.join(t)}function Y4(e,t){const r={},i=FD().optionsNameMap;for(const o in e)Ms(e,o)&&(r[o]=SUe(i.get(o.toLowerCase()),e[o],t));return r.configFilePath&&(r.configFilePath=t(r.configFilePath)),r}function SUe(e,t,r){if(e&&!Fw(t)){if(e.type==="list"){const i=t;if(e.element.isFilePath&&i.length)return i.map(r)}else if(e.isFilePath)return r(t);C.assert(e.type!=="listOrElement")}return t}function jEe(e,t,r,i,o,s,l,u,d){return qEe(e,void 0,t,r,i,d,o,s,l,u)}function Ww(e,t,r,i,o,s,l,u,d){var _,m;(_=Ar)==null||_.push(Ar.Phase.Parse,"parseJsonSourceFileConfigFileContent",{path:e.fileName});const y=qEe(void 0,e,t,r,i,d,o,s,l,u);return(m=Ar)==null||m.pop(),y}function yU(e,t){t&&Object.defineProperty(e,"configFile",{enumerable:!1,writable:!1,value:t})}function Fw(e){return e==null}function UEe(e,t){return pi(Eo(e,t))}var HEe="**/*";function qEe(e,t,r,i,o={},s,l,u=[],d=[],_){C.assert(e===void 0&&t!==void 0||e!==void 0&&t===void 0);const m=[],y=QEe(e,t,r,i,l,u,m,_),{raw:E}=y,A=JEe($B(o,y.options||{}),uUe,i),R=$4(s&&y.watchOptions?$B(s,y.watchOptions):y.watchOptions||s,i);A.configFilePath=l&&Bd(l);const N=Sa(l?UEe(l,i):i),M=k();return t&&(t.configFileSpecs=M),yU(A,t),{options:A,watchOptions:R,fileNames:F(N),projectReferences:O(N),typeAcquisition:y.typeAcquisition||TU(),raw:E,errors:m,wildcardDirectories:kUe(M,N,r.useCaseSensitiveFileNames),compileOnSave:!!E.compileOnSave};function k(){const J=K("references",be=>typeof be=="object","object"),he=G(j("files"));if(he){const be=J==="no-prop"||Lo(J)&&J.length===0,ee=Ms(E,"extends");if(he.length===0&&be&&!ee)if(t){const Se=l||"tsconfig.json",Ne=f.The_files_list_in_config_file_0_is_empty,ze=sk(t,"files",le=>le.initializer),lt=lT(t,ze,Ne,Se);m.push(lt)}else Q(f.The_files_list_in_config_file_0_is_empty,l||"tsconfig.json")}let re=G(j("include"));const q=j("exclude");let ue=!1,de=G(q);if(q==="no-prop"){const be=A.outDir,ee=A.declarationDir;(be||ee)&&(de=Fn([be,ee],Se=>!!Se))}he===void 0&&re===void 0&&(re=[HEe],ue=!0);let ge,Ae,Re,$;re&&(ge=c1e(re,m,!0,t,"include"),Re=Q4(ge,N)||ge),de&&(Ae=c1e(de,m,!1,t,"exclude"),$=Q4(Ae,N)||Ae);const ve=Fn(he,jo),je=Q4(ve,N)||ve;return{filesSpecs:he,includeSpecs:re,excludeSpecs:de,validatedFilesSpec:je,validatedIncludeSpecs:Re,validatedExcludeSpecs:$,validatedFilesSpecBeforeSubstitution:ve,validatedIncludeSpecsBeforeSubstitution:ge,validatedExcludeSpecsBeforeSubstitution:Ae,isDefaultIncludeSpec:ue}}function F(J){const he=tP(M,J,A,r,d);return $Ee(he,zw(E),u)&&m.push(YEe(M,l)),he}function O(J){let he;const re=K("references",q=>typeof q=="object","object");if(Lo(re))for(const q of re)typeof q.path!="string"?Q(f.Compiler_option_0_requires_a_value_of_type_1,"reference.path","string"):(he||(he=[])).push({path:Eo(q.path,J),originalPath:q.path,prepend:q.prepend,circular:q.circular});return he}function G(J){return Lo(J)?J:void 0}function j(J){return K(J,jo,"string")}function K(J,he,re){if(Ms(E,J)&&!Fw(E[J]))if(Lo(E[J])){const q=E[J];return!t&&!Gn(q,he)&&m.push(Dl(f.Compiler_option_0_requires_a_value_of_type_1,J,re)),q}else return Q(f.Compiler_option_0_requires_a_value_of_type_1,J,"Array"),"not-array";return"no-prop"}function Q(J,...he){t||m.push(Dl(J,...he))}}function $4(e,t){return JEe(e,pUe,t)}function JEe(e,t,r){if(!e)return e;let i;for(const s of t)if(e[s.name]!==void 0){const l=e[s.name];switch(s.type){case"string":C.assert(s.isFilePath),vU(l)&&o(s,XEe(l,r));break;case"list":C.assert(s.element.isFilePath);const u=Q4(l,r);u&&o(s,u);break;case"object":C.assert(s.name==="paths");const d=EUe(l,r);d&&o(s,d);break;default:C.fail("option type not supported")}}return i||e;function o(s,l){(i!=null?i:i=VE({},e))[s.name]=l}}var KEe="${configDir}";function vU(e){return jo(e)&&fo(e,KEe,!0)}function XEe(e,t){return Eo(e.replace(KEe,"./"),t)}function Q4(e,t){if(!e)return e;let r;return e.forEach((i,o)=>{vU(i)&&((r!=null?r:r=e.slice())[o]=XEe(i,t))}),r}function EUe(e,t){let r;return Vh(e).forEach(o=>{if(!Lo(e[o]))return;const s=Q4(e[o],t);s&&((r!=null?r:r=VE({},e))[o]=s)}),r}function AUe(e){return e.code===f.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code}function YEe({includeSpecs:e,excludeSpecs:t},r){return Dl(f.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2,r||"tsconfig.json",JSON.stringify(e||[]),JSON.stringify(t||[]))}function $Ee(e,t,r){return e.length===0&&t&&(!r||r.length===0)}function bU(e){return!e.fileNames.length&&Ms(e.raw,"references")}function zw(e){return!Ms(e,"files")&&!Ms(e,"references")}function Z4(e,t,r,i,o){const s=i.length;return $Ee(e,o)?i.push(YEe(r,t)):ws(i,l=>!AUe(l)),s!==i.length}function IUe(e){return!!e.options}function QEe(e,t,r,i,o,s,l,u){var d;i=Bd(i);const _=Eo(o||"",i);if(s.includes(_))return l.push(Dl(f.Circularity_detected_while_resolving_configuration_Colon_0,[...s,_].join(" -> "))),{raw:e||zoe(t,l)};const m=e?xUe(e,r,i,o,l):RUe(t,r,i,o,l);if((d=m.options)!=null&&d.paths&&(m.options.pathsBasePath=i),m.extendedConfigPath){s=s.concat([_]);const A={options:{}};jo(m.extendedConfigPath)?y(A,m.extendedConfigPath):m.extendedConfigPath.forEach(R=>y(A,R)),A.include&&(m.raw.include=A.include),A.exclude&&(m.raw.exclude=A.exclude),A.files&&(m.raw.files=A.files),m.raw.compileOnSave===void 0&&A.compileOnSave&&(m.raw.compileOnSave=A.compileOnSave),t&&A.extendedSourceFiles&&(t.extendedSourceFiles=Mo(A.extendedSourceFiles.keys())),m.options=VE(A.options,m.options),m.watchOptions=m.watchOptions&&A.watchOptions?E(A,m.watchOptions):m.watchOptions||A.watchOptions}return m;function y(A,R){const N=DUe(t,R,r,s,l,u,A);if(N&&IUe(N)){const M=N.raw;let k;const F=O=>{m.raw[O]||M[O]&&(A[O]=Gt(M[O],G=>vU(G)||Pp(G)?G:ei(k||(k=AN(pi(R),i,Fd(r.useCaseSensitiveFileNames))),G)))};F("include"),F("exclude"),F("files"),M.compileOnSave!==void 0&&(A.compileOnSave=M.compileOnSave),VE(A.options,N.options),A.watchOptions=A.watchOptions&&N.watchOptions?E(A,N.watchOptions):A.watchOptions||N.watchOptions}}function E(A,R){return A.watchOptionsCopied?VE(A.watchOptions,R):(A.watchOptionsCopied=!0,VE({},A.watchOptions,R))}}function xUe(e,t,r,i,o){Ms(e,"excludes")&&o.push(Dl(f.Unknown_option_excludes_Did_you_mean_exclude));const s=i1e(e.compilerOptions,r,o,i),l=o1e(e.typeAcquisition,r,o,i),u=NUe(e.watchOptions,r,o);e.compileOnSave=CUe(e,r,o);const d=e.extends||e.extends===""?ZEe(e.extends,t,r,i,o):void 0;return{raw:e,options:s,watchOptions:u,typeAcquisition:l,extendedConfigPath:d}}function ZEe(e,t,r,i,o,s,l,u){let d;const _=i?UEe(i,r):r;if(jo(e))d=e1e(e,t,_,o,l,u);else if(Lo(e)){d=[];for(let m=0;m<e.length;m++){const y=e[m];jo(y)?d=jn(d,e1e(y,t,_,o,l==null?void 0:l.elements[m],u)):M1(J4.element,e,r,o,s,l==null?void 0:l.elements[m],u)}}else M1(J4,e,r,o,s,l,u);return d}function RUe(e,t,r,i,o){const s=r1e(i);let l,u,d,_;const m=gUe(),y=zEe(e,o,{rootOptions:m,onPropertySet:E});return l||(l=TU(i)),_&&y&&y.compilerOptions===void 0&&o.push(Ff(e,_[0],f._0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file,_I(_[0]))),{raw:y,options:s,watchOptions:u,typeAcquisition:l,extendedConfigPath:d};function E(A,R,N,M,k){if(k&&k!==J4&&(R=M1(k,R,r,o,N,N.initializer,e)),M!=null&&M.name)if(k){let F;M===OEe?F=s:M===WEe?F=u!=null?u:u={}:M===FEe?F=l!=null?l:l=TU(i):C.fail("Unknown option"),F[k.name]=R}else A&&(M!=null&&M.extraKeyDiagnostics)&&(M.elementOptions?o.push(Loe(A,M.extraKeyDiagnostics,void 0,N.name,e)):o.push(Ff(e,N.name,M.extraKeyDiagnostics.unknownOptionDiagnostic,A)));else M===m&&(k===J4?d=ZEe(R,t,r,i,o,N,N.initializer,e):k||(A==="excludes"&&o.push(Ff(e,N.name,f.Unknown_option_excludes_Did_you_mean_exclude)),_n(vEe,F=>F.name===A)&&(_=jn(_,N.name))))}}function e1e(e,t,r,i,o,s){if(e=Bd(e),Pp(e)||fo(e,"./")||fo(e,"../")){let u=Eo(e,r);if(!t.fileExists(u)&&!il(u,".json")&&(u="".concat(u,".json"),!t.fileExists(u))){i.push(lT(s,o,f.File_0_not_found,e));return}return u}const l=iae(e,ei(r,"tsconfig.json"),t);if(l.resolvedModule)return l.resolvedModule.resolvedFileName;e===""?i.push(lT(s,o,f.Compiler_option_0_cannot_be_given_an_empty_string,"extends")):i.push(lT(s,o,f.File_0_not_found,e))}function DUe(e,t,r,i,o,s,l){var y;const u=r.useCaseSensitiveFileNames?t:ob(t);let d,_,m;if(s&&(d=s.get(u))?{extendedResult:_,extendedConfig:m}=d:(_=Woe(t,E=>r.readFile(E)),_.parseDiagnostics.length||(m=QEe(void 0,_,r,pi(t),Ec(t),i,o,s)),s&&s.set(u,{extendedResult:_,extendedConfig:m})),e&&(((y=l.extendedSourceFiles)!=null?y:l.extendedSourceFiles=new Set).add(_.fileName),_.extendedSourceFiles))for(const E of _.extendedSourceFiles)l.extendedSourceFiles.add(E);if(_.parseDiagnostics.length){o.push(..._.parseDiagnostics);return}return m}function CUe(e,t,r){if(!Ms(e,Eoe.name))return!1;const i=M1(Eoe,e.compileOnSave,t,r);return typeof i=="boolean"&&i}function t1e(e,t,r){const i=[];return{options:i1e(e,t,i,r),errors:i}}function n1e(e,t,r){const i=[];return{options:o1e(e,t,i,r),errors:i}}function r1e(e){return e&&Ec(e)==="jsconfig.json"?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function i1e(e,t,r,i){const o=r1e(i);return Goe(MEe(),e,t,o,q4,r),i&&(o.configFilePath=Bd(i)),o}function TU(e){return{enable:!!e&&Ec(e)==="jsconfig.json",include:[],exclude:[]}}function o1e(e,t,r,i){const o=TU(i);return Goe(wEe(),e,t,o,REe,r),o}function NUe(e,t,r){return Goe(LEe(),e,t,void 0,mU,r)}function Goe(e,t,r,i,o,s){if(t){for(const l in t){const u=e.get(l);u?(i||(i={}))[u.name]=M1(u,t[l],r,s):s.push(Loe(l,o))}return i}}function lT(e,t,r,...i){return e&&t?Ff(e,t,r,...i):Dl(r,...i)}function M1(e,t,r,i,o,s,l){if(e.isCommandLineOnly){i.push(lT(l,o==null?void 0:o.name,f.Option_0_can_only_be_specified_on_command_line,e.name));return}if(BEe(e,t)){const u=e.type;if(u==="list"&&Lo(t))return s1e(e,t,r,i,o,s,l);if(u==="listOrElement")return Lo(t)?s1e(e,t,r,i,o,s,l):M1(e.element,t,r,i,o,s,l);if(!jo(e.type))return a1e(e,t,i,s,l);const d=ox(e,t,i,s,l);return Fw(d)?d:MUe(e,r,d)}else i.push(lT(l,s,f.Compiler_option_0_requires_a_value_of_type_1,e.name,hU(e)))}function MUe(e,t,r){return e.isFilePath&&(r=Bd(r),r=vU(r)?r:Eo(r,t),r===""&&(r=".")),r}function ox(e,t,r,i,o){var s;if(Fw(t))return;const l=(s=e.extraValidation)==null?void 0:s.call(e,t);if(!l)return t;r.push(lT(o,i,...l))}function a1e(e,t,r,i,o){if(Fw(t))return;const s=t.toLowerCase(),l=e.type.get(s);if(l!==void 0)return ox(e,l,r,i,o);r.push(SEe(e,(u,...d)=>lT(o,i,u,...d)))}function s1e(e,t,r,i,o,s,l){return Fn(Gt(t,(u,d)=>M1(e.element,u,r,i,o,s==null?void 0:s.elements[d],l)),u=>e.listPreserveFalsyValues?!0:!!u)}var PUe=/(?:^|\/)\*\*\/?$/,LUe=/^[^*?]*(?=\/[^/]*[*?])/;function tP(e,t,r,i,o=se){t=Sa(t);const s=Fd(i.useCaseSensitiveFileNames),l=new Map,u=new Map,d=new Map,{validatedFilesSpec:_,validatedIncludeSpecs:m,validatedExcludeSpecs:y}=e,E=EM(r,o),A=Qk(r,E);if(_)for(const k of _){const F=Eo(k,t);l.set(s(F),F)}let R;if(m&&m.length>0)for(const k of i.readDirectory(t,Qo(A),y,m,void 0)){if(xl(k,".json")){if(!R){const G=m.filter(K=>il(K,".json")),j=Gt(U6(G,t,"files"),K=>"^".concat(K,"$"));R=j?j.map(K=>cv(K,i.useCaseSensitiveFileNames)):se}if(lo(R,G=>G.test(k))!==-1){const G=s(k);!l.has(G)&&!d.has(G)&&d.set(G,k)}continue}if(OUe(k,l,u,E,s))continue;WUe(k,u,E,s);const F=s(k);!l.has(F)&&!u.has(F)&&u.set(F,k)}const N=Mo(l.values()),M=Mo(u.values());return N.concat(M,Mo(d.values()))}function Voe(e,t,r,i,o){const{validatedFilesSpec:s,validatedIncludeSpecs:l,validatedExcludeSpecs:u}=t;if(!et(l)||!et(u))return!1;r=Sa(r);const d=Fd(i);if(s){for(const _ of s)if(d(Eo(_,r))===e)return!1}return t3(e,u,i,o,r)}function l1e(e){const t=fo(e,"**/")?0:e.indexOf("/**/");return t===-1?!1:(il(e,"/..")?e.length:e.lastIndexOf("/../"))>t}function e3(e,t,r,i){return t3(e,Fn(t,o=>!l1e(o)),r,i)}function t3(e,t,r,i,o){const s=SM(t,ei(Sa(i),o),"exclude"),l=s&&cv(s,r);return l?l.test(e)?!0:!PR(e)&&l.test(jc(e)):!1}function c1e(e,t,r,i,o){return e.filter(l=>{if(!jo(l))return!1;const u=joe(l,r);return u!==void 0&&t.push(s(...u)),u===void 0});function s(l,u){const d=XF(i,o,u);return lT(i,d,l,u)}}function joe(e,t){if(C.assert(typeof e=="string"),t&&PUe.test(e))return[f.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,e];if(l1e(e))return[f.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,e]}function kUe({validatedIncludeSpecs:e,validatedExcludeSpecs:t},r,i){const o=SM(t,r,"exclude"),s=o&&new RegExp(o,i?"":"i"),l={},u=new Map;if(e!==void 0){const d=[];for(const _ of e){const m=Sa(ei(r,_));if(s&&s.test(m))continue;const y=wUe(m,i);if(y){const{key:E,path:A,flags:R}=y,N=u.get(E),M=N!==void 0?l[N]:void 0;(M===void 0||M<R)&&(l[N!==void 0?N:A]=R,N===void 0&&u.set(E,A),R===1&&d.push(E))}}for(const _ in l)if(Ms(l,_))for(const m of d){const y=Uoe(_,i);y!==m&&hm(m,y,r,!i)&&delete l[_]}}return l}function Uoe(e,t){return t?e:ob(e)}function wUe(e,t){const r=LUe.exec(e);if(r){const i=e.indexOf("?"),o=e.indexOf("*"),s=e.lastIndexOf($s);return{key:Uoe(r[0],t),path:r[0],flags:i!==-1&&i<s||o!==-1&&o<s?1:0}}if(VV(e.substring(e.lastIndexOf($s)+1))){const i=ev(e);return{key:Uoe(i,t),path:i,flags:1}}}function OUe(e,t,r,i,o){const s=Xe(i,l=>Ql(e,l)?l:void 0);if(!s)return!1;for(const l of s){if(xl(e,l)&&(l!==".ts"||!xl(e,".d.ts")))return!1;const u=o(dv(e,l));if(t.has(u)||r.has(u)){if(l===".d.ts"&&(xl(e,".js")||xl(e,".jsx")))continue;return!0}}return!1}function WUe(e,t,r,i){const o=Xe(r,s=>Ql(e,s)?s:void 0);if(o)for(let s=o.length-1;s>=0;s--){const l=o[s];if(xl(e,l))return;const u=i(dv(e,l));t.delete(u)}}function Hoe(e){const t={};for(const r in e)if(Ms(e,r)){const i=uU(r);i!==void 0&&(t[r]=qoe(e[r],i))}return t}function qoe(e,t){if(e===void 0)return e;switch(t.type){case"object":return"";case"string":return"";case"number":return typeof e=="number"?e:"";case"boolean":return typeof e=="boolean"?e:"";case"listOrElement":if(!Lo(e))return qoe(e,t.element);case"list":const r=t.element;return Lo(e)?Hi(e,i=>qoe(i,r)):"";default:return Uc(t.type,(i,o)=>{if(i===e)return o})}}function Co(e,t,...r){e.trace(PI(t,...r))}function zb(e,t){return!!e.traceResolution&&t.trace!==void 0}function ax(e,t,r){let i;if(t&&e){const o=e.contents.packageJsonContent;typeof o.name=="string"&&typeof o.version=="string"&&(i={name:o.name,subModuleName:t.path.slice(e.packageDirectory.length+$s.length),version:o.version,peerDependencies:iHe(e,r)})}return t&&{path:t.path,extension:t.ext,packageId:i,resolvedUsingTsExtension:t.resolvedUsingTsExtension}}function SU(e){return ax(void 0,e,void 0)}function d1e(e){if(e)return C.assert(e.packageId===void 0),{path:e.path,ext:e.extension,resolvedUsingTsExtension:e.resolvedUsingTsExtension}}function n3(e){const t=[];return e&1&&t.push("TypeScript"),e&2&&t.push("JavaScript"),e&4&&t.push("Declaration"),e&8&&t.push("JSON"),t.join(", ")}function FUe(e){const t=[];return e&1&&t.push(...$k),e&2&&t.push(...hD),e&4&&t.push(...Y6),e&8&&t.push(".json"),t}function Joe(e){if(e)return C.assert(Q6(e.extension)),{fileName:e.path,packageId:e.packageId}}function u1e(e,t,r,i,o,s,l,u,d){if(!l.resultFromCache&&!l.compilerOptions.preserveSymlinks&&t&&r&&!t.originalPath&&!td(e)){const{resolvedFileName:_,originalPath:m}=m1e(t.path,l.host,l.traceEnabled);m&&(t={...t,path:_,originalPath:m})}return p1e(t,r,i,o,s,l.resultFromCache,u,d)}function p1e(e,t,r,i,o,s,l,u){return s?l!=null&&l.isReadonly?{...s,failedLookupLocations:Koe(s.failedLookupLocations,r),affectingLocations:Koe(s.affectingLocations,i),resolutionDiagnostics:Koe(s.resolutionDiagnostics,o)}:(s.failedLookupLocations=zD(s.failedLookupLocations,r),s.affectingLocations=zD(s.affectingLocations,i),s.resolutionDiagnostics=zD(s.resolutionDiagnostics,o),s):{resolvedModule:e&&{resolvedFileName:e.path,originalPath:e.originalPath===!0?void 0:e.originalPath,extension:e.extension,isExternalLibraryImport:t,packageId:e.packageId,resolvedUsingTsExtension:!!e.resolvedUsingTsExtension},failedLookupLocations:nP(r),affectingLocations:nP(i),resolutionDiagnostics:nP(o),alternateResult:u}}function nP(e){return e.length?e:void 0}function zD(e,t){return t!=null&&t.length?e!=null&&e.length?(e.push(...t),e):t:e}function Koe(e,t){return e!=null&&e.length?t.length?[...e,...t]:e.slice():nP(t)}function Xoe(e,t,r,i){if(!Ms(e,t)){i.traceEnabled&&Co(i.host,f.package_json_does_not_have_a_0_field,t);return}const o=e[t];if(typeof o!==r||o===null){i.traceEnabled&&Co(i.host,f.Expected_type_of_0_field_in_package_json_to_be_1_got_2,t,r,o===null?"null":typeof o);return}return o}function EU(e,t,r,i){const o=Xoe(e,t,"string",i);if(o===void 0)return;if(!o){i.traceEnabled&&Co(i.host,f.package_json_had_a_falsy_0_field,t);return}const s=Sa(ei(r,o));return i.traceEnabled&&Co(i.host,f.package_json_has_0_field_1_that_references_2,t,o,s),s}function zUe(e,t,r){return EU(e,"typings",t,r)||EU(e,"types",t,r)}function BUe(e,t,r){return EU(e,"tsconfig",t,r)}function GUe(e,t,r){return EU(e,"main",t,r)}function VUe(e,t){const r=Xoe(e,"typesVersions","object",t);if(r!==void 0)return t.traceEnabled&&Co(t.host,f.package_json_has_a_typesVersions_field_with_version_specific_path_mappings),r}function jUe(e,t){const r=VUe(e,t);if(r===void 0)return;if(t.traceEnabled)for(const l in r)Ms(r,l)&&!XW.tryParse(l)&&Co(t.host,f.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,l);const i=r3(r);if(!i){t.traceEnabled&&Co(t.host,f.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,fe);return}const{version:o,paths:s}=i;if(typeof s!="object"){t.traceEnabled&&Co(t.host,f.Expected_type_of_0_field_in_package_json_to_be_1_got_2,"typesVersions['".concat(o,"']"),"object",typeof s);return}return i}var Yoe;function r3(e){Yoe||(Yoe=new ih(Me));for(const t in e){if(!Ms(e,t))continue;const r=XW.tryParse(t);if(r!==void 0&&r.test(Yoe))return{version:t,paths:e[t]}}}function rP(e,t){if(e.typeRoots)return e.typeRoots;let r;if(e.configFilePath?r=pi(e.configFilePath):t.getCurrentDirectory&&(r=t.getCurrentDirectory()),r!==void 0)return UUe(r)}function UUe(e){let t;return IN(Sa(e),r=>{const i=ei(r,HUe);(t!=null?t:t=[]).push(i)}),t}var HUe=ei("node_modules","@types");function f1e(e,t,r){const i=typeof r.useCaseSensitiveFileNames=="function"?r.useCaseSensitiveFileNames():r.useCaseSensitiveFileNames;return iy(e,t,!i)===0}function m1e(e,t,r){const i=A1e(e,t,r),o=f1e(e,i,t);return{resolvedFileName:o?e:i,originalPath:o?void 0:e}}function h1e(e,t,r){const i=il(e,"/node_modules/@types")||il(e,"/node_modules/@types/")?W1e(t,r):t;return ei(e,i)}function $oe(e,t,r,i,o,s,l){C.assert(typeof e=="string","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 u=zb(r,i);o&&(r=o.commandLine.options);const d=t?pi(t):void 0;let _=d?s==null?void 0:s.getFromDirectoryCache(e,l,d,o):void 0;if(!_&&d&&!td(e)&&(_=s==null?void 0:s.getFromNonRelativeNameCache(e,l,d,o)),_)return u&&(Co(i,f.Resolving_type_reference_directive_0_containing_file_1,e,t),o&&Co(i,f.Using_compiler_options_of_project_reference_redirect_0,o.sourceFile.fileName),Co(i,f.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1,e,d),j(_)),_;const m=rP(r,i);u&&(t===void 0?m===void 0?Co(i,f.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,e):Co(i,f.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,e,m):m===void 0?Co(i,f.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,e,t):Co(i,f.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,e,t,m),o&&Co(i,f.Using_compiler_options_of_project_reference_redirect_0,o.sourceFile.fileName));const y=[],E=[];let A=Qoe(r);l!==void 0&&(A|=30);const R=iu(r);l===99&&3<=R&&R<=99&&(A|=32);const N=A&8?Bb(r,l):[],M=[],k={compilerOptions:r,host:i,traceEnabled:u,failedLookupLocations:y,affectingLocations:E,packageJsonInfoCache:s,features:A,conditions:N,requestContainingDirectory:d,reportDiagnostic:J=>void M.push(J),isConfigLookup:!1,candidateIsFromPackageJsonField:!1,resolvedPackageDirectory:!1};let F=K(),O=!0;F||(F=Q(),O=!1);let G;if(F){const{fileName:J,packageId:he}=F;let re=J,q;r.preserveSymlinks||({resolvedFileName:re,originalPath:q}=m1e(J,i,u)),G={primary:O,resolvedFileName:re,originalPath:q,packageId:he,isExternalLibraryImport:Gb(J)}}return _={resolvedTypeReferenceDirective:G,failedLookupLocations:nP(y),affectingLocations:nP(E),resolutionDiagnostics:nP(M)},d&&s&&!s.isReadonly&&(s.getOrCreateCacheForDirectory(d,o).set(e,l,_),td(e)||s.getOrCreateCacheForNonRelativeName(e,l,o).set(d,_)),u&&j(_),_;function j(J){var he;(he=J.resolvedTypeReferenceDirective)!=null&&he.resolvedFileName?J.resolvedTypeReferenceDirective.packageId?Co(i,f.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,e,J.resolvedTypeReferenceDirective.resolvedFileName,O0(J.resolvedTypeReferenceDirective.packageId),J.resolvedTypeReferenceDirective.primary):Co(i,f.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,e,J.resolvedTypeReferenceDirective.resolvedFileName,J.resolvedTypeReferenceDirective.primary):Co(i,f.Type_reference_directive_0_was_not_resolved,e)}function K(){if(m&&m.length)return u&&Co(i,f.Resolving_with_primary_search_path_0,m.join(", ")),Wn(m,J=>{const he=h1e(J,e,k),re=ch(J,i);if(!re&&u&&Co(i,f.Directory_0_does_not_exist_skipping_all_lookups_in_it,J),r.typeRoots){const q=VD(4,he,!re,k);if(q){const ue=Gw(q.path),de=ue?L1(ue,!1,k):void 0;return Joe(ax(de,q,k))}}return Joe(aae(4,he,!re,k))});u&&Co(i,f.Root_directory_cannot_be_determined_skipping_primary_search_paths)}function Q(){const J=t&&pi(t);if(J!==void 0){let he;if(!r.typeRoots||!il(t,bP))if(u&&Co(i,f.Looking_up_in_node_modules_folder_initial_location_0,J),td(e)){const{path:re}=E1e(J,e);he=RU(4,re,!1,k,!0)}else{const re=L1e(4,e,J,k,void 0,void 0);he=re&&re.value}else u&&Co(i,f.Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder);return Joe(he)}else u&&Co(i,f.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}}function Qoe(e){let t=0;switch(iu(e)){case 3:t=30;break;case 99:t=30;break;case 100:t=30;break}return e.resolvePackageJsonExports?t|=8:e.resolvePackageJsonExports===!1&&(t&=-9),e.resolvePackageJsonImports?t|=2:e.resolvePackageJsonImports===!1&&(t&=-3),t}function Bb(e,t){const r=iu(e);if(t===void 0){if(r===100)t=99;else if(r===2)return[]}const i=t===99?["import"]:["require"];return e.noDtsResolution||i.push("types"),r!==100&&i.push("node"),co(i,e.customConditions)}function AU(e,t,r,i,o){const s=oP(o==null?void 0:o.getPackageJsonInfoCache(),i,r);return j_(i,t,l=>{if(Ec(l)!=="node_modules"){const u=ei(l,"node_modules"),d=ei(u,e);return L1(d,!1,s)}})}function i3(e,t){if(e.types)return e.types;const r=[];if(t.directoryExists&&t.getDirectories){const i=rP(e,t);if(i){for(const o of i)if(t.directoryExists(o))for(const s of t.getDirectories(o)){const l=Sa(s),u=ei(o,l,"package.json");if(!(t.fileExists(u)&&dD(u,t).typings===null)){const _=Ec(l);_.charCodeAt(0)!==46&&r.push(_)}}}}return r}function o3(e){return!!(e!=null&&e.contents)}function Zoe(e){return!!e&&!e.contents}function eae(e){var t;if(e===null||typeof e!="object")return""+e;if(Lo(e))return"[".concat((t=e.map(i=>eae(i)))==null?void 0:t.join(","),"]");let r="{";for(const i in e)Ms(e,i)&&(r+="".concat(i,": ").concat(eae(e[i])));return r+"}"}function IU(e,t){return t.map(r=>eae(G6(e,r))).join("|")+"|".concat(e.pathsBasePath)}function _1e(e,t){const r=new Map,i=new Map;let o=new Map;return e&&r.set(e,o),{getMapOfCacheRedirects:s,getOrCreateMapOfCacheRedirects:l,update:u,clear:_,getOwnMap:()=>o};function s(y){return y?d(y.commandLine.options,!1):o}function l(y){return y?d(y.commandLine.options,!0):o}function u(y){e!==y&&(e?o=d(y,!0):r.set(y,o),e=y)}function d(y,E){let A=r.get(y);if(A)return A;const R=m(y);if(A=i.get(R),!A){if(e){const N=m(e);N===R?A=o:i.has(N)||i.set(N,o)}E&&(A!=null||(A=new Map)),A&&i.set(R,A)}return A&&r.set(y,A),A}function _(){const y=e&&t.get(e);o.clear(),r.clear(),t.clear(),i.clear(),e&&(y&&t.set(e,y),r.set(e,o))}function m(y){let E=t.get(y);return E||t.set(y,E=IU(y,sU)),E}}function qUe(e,t){let r;return{getPackageJsonInfo:i,setPackageJsonInfo:o,clear:s,getInternalMap:l};function i(u){return r==null?void 0:r.get(Ws(u,e,t))}function o(u,d){(r||(r=new Map)).set(Ws(u,e,t),d)}function s(){r=void 0}function l(){return r}}function g1e(e,t,r,i){const o=e.getOrCreateMapOfCacheRedirects(t);let s=o.get(r);return s||(s=i(),o.set(r,s)),s}function JUe(e,t,r,i){const o=_1e(r,i);return{getFromDirectoryCache:d,getOrCreateCacheForDirectory:u,clear:s,update:l,directoryToModuleNameMap:o};function s(){o.clear()}function l(_){o.update(_)}function u(_,m){const y=Ws(_,e,t);return g1e(o,m,y,()=>BD())}function d(_,m,y,E){var A,R;const N=Ws(y,e,t);return(R=(A=o.getMapOfCacheRedirects(E))==null?void 0:A.get(N))==null?void 0:R.get(_,m)}}function iP(e,t){return t===void 0?e:"".concat(t,"|").concat(e)}function BD(){const e=new Map,t=new Map,r={get(o,s){return e.get(i(o,s))},set(o,s,l){return e.set(i(o,s),l),r},delete(o,s){return e.delete(i(o,s)),r},has(o,s){return e.has(i(o,s))},forEach(o){return e.forEach((s,l)=>{const[u,d]=t.get(l);return o(s,u,d)})},size(){return e.size}};return r;function i(o,s){const l=iP(o,s);return t.set(l,[o,s]),l}}function KUe(e){return e.resolvedModule&&(e.resolvedModule.originalPath||e.resolvedModule.resolvedFileName)}function XUe(e){return e.resolvedTypeReferenceDirective&&(e.resolvedTypeReferenceDirective.originalPath||e.resolvedTypeReferenceDirective.resolvedFileName)}function YUe(e,t,r,i,o){const s=_1e(r,o);return{getFromNonRelativeNameCache:d,getOrCreateCacheForNonRelativeName:_,clear:l,update:u};function l(){s.clear()}function u(y){s.update(y)}function d(y,E,A,R){var N,M;return C.assert(!td(y)),(M=(N=s.getMapOfCacheRedirects(R))==null?void 0:N.get(iP(y,E)))==null?void 0:M.get(A)}function _(y,E,A){return C.assert(!td(y)),g1e(s,A,iP(y,E),m)}function m(){const y=new Map;return{get:E,set:A};function E(N){return y.get(Ws(N,e,t))}function A(N,M){const k=Ws(N,e,t);if(y.has(k))return;y.set(k,M);const F=i(M),O=F&&R(k,F);let G=k;for(;G!==O;){const j=pi(G);if(j===G||y.has(j))break;y.set(j,M),G=j}}function R(N,M){const k=Ws(pi(M),e,t);let F=0;const O=Math.min(N.length,k.length);for(;F<O&&N.charCodeAt(F)===k.charCodeAt(F);)F++;if(F===N.length&&(k.length===F||k[F]===$s))return N;const G=Uh(N);if(F<G)return;const j=N.lastIndexOf($s,F-1);if(j!==-1)return N.substr(0,Math.max(j,G))}}}function y1e(e,t,r,i,o,s){s!=null||(s=new Map);const l=JUe(e,t,r,s),u=YUe(e,t,r,o,s);return i!=null||(i=qUe(e,t)),{...i,...l,...u,clear:d,update:m,getPackageJsonInfoCache:()=>i,clearAllExceptPackageJsonInfoCache:_,optionsToRedirectsKey:s};function d(){_(),i.clear()}function _(){l.clear(),u.clear()}function m(y){l.update(y),u.update(y)}}function GD(e,t,r,i,o){const s=y1e(e,t,r,i,KUe,o);return s.getOrCreateCacheForModuleName=(l,u,d)=>s.getOrCreateCacheForNonRelativeName(l,u,d),s}function a3(e,t,r,i,o){return y1e(e,t,r,i,XUe,o)}function xU(e){return{moduleResolution:2,traceResolution:e.traceResolution}}function s3(e,t,r,i,o){return P1(e,t,xU(r),i,o)}function v1e(e,t,r,i){const o=pi(t);return r.getFromDirectoryCache(e,i,o,void 0)}function P1(e,t,r,i,o,s,l){const u=zb(r,i);s&&(r=s.commandLine.options),u&&(Co(i,f.Resolving_module_0_from_1,e,t),s&&Co(i,f.Using_compiler_options_of_project_reference_redirect_0,s.sourceFile.fileName));const d=pi(t);let _=o==null?void 0:o.getFromDirectoryCache(e,l,d,s);if(_)u&&Co(i,f.Resolution_for_module_0_was_found_in_cache_from_location_1,e,d);else{let m=r.moduleResolution;switch(m===void 0?(m=iu(r),u&&Co(i,f.Module_resolution_kind_is_not_specified_using_0,NR[m])):u&&Co(i,f.Explicitly_specified_module_resolution_kind_Colon_0,NR[m]),m){case 3:_=eHe(e,t,r,i,o,s,l);break;case 99:_=tHe(e,t,r,i,o,s,l);break;case 2:_=rae(e,t,r,i,o,s,l?Bb(r,l):void 0);break;case 1:_=cae(e,t,r,i,o,s);break;case 100:_=nae(e,t,r,i,o,s,l?Bb(r,l):void 0);break;default:return C.fail("Unexpected moduleResolution: ".concat(m))}o&&!o.isReadonly&&(o.getOrCreateCacheForDirectory(d,s).set(e,l,_),td(e)||o.getOrCreateCacheForNonRelativeName(e,l,s).set(d,_))}return u&&(_.resolvedModule?_.resolvedModule.packageId?Co(i,f.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2,e,_.resolvedModule.resolvedFileName,O0(_.resolvedModule.packageId)):Co(i,f.Module_name_0_was_successfully_resolved_to_1,e,_.resolvedModule.resolvedFileName):Co(i,f.Module_name_0_was_not_resolved,e)),_}function b1e(e,t,r,i,o){const s=$Ue(e,t,i,o);return s?s.value:td(t)?QUe(e,t,r,i,o):ZUe(e,t,i,o)}function $Ue(e,t,r,i){const{baseUrl:o,paths:s}=i.compilerOptions;if(s&&!tf(t)){i.traceEnabled&&(o&&Co(i.host,f.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,o,t),Co(i.host,f.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,t));const l=b6(i.compilerOptions,i.host),u=tw(s);return sae(e,t,l,s,u,r,!1,i)}}function QUe(e,t,r,i,o){if(!o.compilerOptions.rootDirs)return;o.traceEnabled&&Co(o.host,f.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,t);const s=Sa(ei(r,t));let l,u;for(const d of o.compilerOptions.rootDirs){let _=Sa(d);il(_,$s)||(_+=$s);const m=fo(s,_)&&(u===void 0||u.length<_.length);o.traceEnabled&&Co(o.host,f.Checking_if_0_is_the_longest_matching_prefix_for_1_2,_,s,m),m&&(u=_,l=d)}if(u){o.traceEnabled&&Co(o.host,f.Longest_matching_prefix_for_0_is_1,s,u);const d=s.substr(u.length);o.traceEnabled&&Co(o.host,f.Loading_0_from_the_root_dir_1_candidate_location_2,d,u,s);const _=i(e,s,!ch(r,o.host),o);if(_)return _;o.traceEnabled&&Co(o.host,f.Trying_other_entries_in_rootDirs);for(const m of o.compilerOptions.rootDirs){if(m===l)continue;const y=ei(Sa(m),d);o.traceEnabled&&Co(o.host,f.Loading_0_from_the_root_dir_1_candidate_location_2,d,m,y);const E=pi(y),A=i(e,y,!ch(E,o.host),o);if(A)return A}o.traceEnabled&&Co(o.host,f.Module_resolution_using_rootDirs_has_failed)}}function ZUe(e,t,r,i){const{baseUrl:o}=i.compilerOptions;if(!o)return;i.traceEnabled&&Co(i.host,f.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,o,t);const s=Sa(ei(o,t));return i.traceEnabled&&Co(i.host,f.Resolving_module_name_0_relative_to_base_url_1_2,t,o,s),r(e,s,!ch(pi(s),i.host),i)}function T1e(e,t,r){const{resolvedModule:i,failedLookupLocations:o}=nHe(e,t,r);if(!i)throw new Error("Could not resolve JS module '".concat(e,"' starting at '").concat(t,"'. Looked in: ").concat(o==null?void 0:o.join(", ")));return i.resolvedFileName}var tae=(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))(tae||{});function eHe(e,t,r,i,o,s,l){return S1e(30,e,t,r,i,o,s,l)}function tHe(e,t,r,i,o,s,l){return S1e(30,e,t,r,i,o,s,l)}function S1e(e,t,r,i,o,s,l,u,d){const _=pi(r),m=u===99?32:0;let y=i.noDtsResolution?3:7;return LS(i)&&(y|=8),Bw(e|m,t,_,i,o,s,y,!1,l,d)}function nHe(e,t,r){return Bw(0,e,t,{moduleResolution:2,allowJs:!0},r,void 0,2,!1,void 0,void 0)}function nae(e,t,r,i,o,s,l){const u=pi(t);let d=r.noDtsResolution?3:7;return LS(r)&&(d|=8),Bw(Qoe(r),e,u,r,i,o,d,!1,s,l)}function rae(e,t,r,i,o,s,l,u){let d;return u?d=8:r.noDtsResolution?(d=3,LS(r)&&(d|=8)):d=LS(r)?15:7,Bw(l?30:0,e,pi(t),r,i,o,d,!!u,s,l)}function iae(e,t,r){return Bw(30,e,pi(t),{moduleResolution:99},r,void 0,8,!0,void 0,void 0)}function Bw(e,t,r,i,o,s,l,u,d,_){var m,y,E,A,R;const N=zb(i,o),M=[],k=[],F=iu(i);_!=null||(_=Bb(i,F===100||F===2?void 0:e&32?99:1));const O=[],G={compilerOptions:i,host:o,traceEnabled:N,failedLookupLocations:M,affectingLocations:k,packageJsonInfoCache:s,features:e,conditions:_!=null?_:se,requestContainingDirectory:r,reportDiagnostic:J=>void O.push(J),isConfigLookup:u,candidateIsFromPackageJsonField:!1,resolvedPackageDirectory:!1};N&&mD(F)&&Co(o,f.Resolving_in_0_mode_with_conditions_1,e&32?"ESM":"CJS",G.conditions.map(J=>"'".concat(J,"'")).join(", "));let j;if(F===2){const J=l&5,he=l&-6;j=J&&Q(J,G)||he&&Q(he,G)||void 0}else j=Q(l,G);let K;if(G.resolvedPackageDirectory&&!u&&!td(t)){const J=(j==null?void 0:j.value)&&l&5&&!N1e(5,j.value.resolved.extension);if((m=j==null?void 0:j.value)!=null&&m.isExternalLibraryImport&&J&&e&8&&(_!=null&&_.includes("import"))){Vb(G,f.Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update);const he={...G,features:G.features&-9,reportDiagnostic:vs},re=Q(l&5,he);(y=re==null?void 0:re.value)!=null&&y.isExternalLibraryImport&&(K=re.value.resolved.path)}else if((!(j!=null&&j.value)||J)&&F===2){Vb(G,f.Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_need_configuration_update);const he={...G.compilerOptions,moduleResolution:100},re={...G,compilerOptions:he,features:30,conditions:Bb(he),reportDiagnostic:vs},q=Q(l&5,re);(E=q==null?void 0:q.value)!=null&&E.isExternalLibraryImport&&(K=q.value.resolved.path)}}return u1e(t,(A=j==null?void 0:j.value)==null?void 0:A.resolved,(R=j==null?void 0:j.value)==null?void 0:R.isExternalLibraryImport,M,k,O,G,s,K);function Q(J,he){const q=b1e(J,t,r,(ue,de,ge,Ae)=>RU(ue,de,ge,Ae,!0),he);if(q)return _f({resolved:q,isExternalLibraryImport:Gb(q.path)});if(td(t)){const{path:ue,parts:de}=E1e(r,t),ge=RU(J,ue,!1,he,!0);return ge&&_f({resolved:ge,isExternalLibraryImport:Vn(de,"node_modules")})}else{if(e&2&&fo(t,"#")){const de=lHe(J,t,r,he,s,d);if(de)return de.value&&{value:{resolved:de.value,isExternalLibraryImport:!1}}}if(e&4){const de=sHe(J,t,r,he,s,d);if(de)return de.value&&{value:{resolved:de.value,isExternalLibraryImport:!1}}}if(t.includes(":")){N&&Co(o,f.Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1,t,n3(J));return}N&&Co(o,f.Loading_module_0_from_node_modules_folder_target_file_types_Colon_1,t,n3(J));let ue=L1e(J,t,r,he,s,d);return J&4&&(ue!=null||(ue=z1e(t,he))),ue&&{value:ue.value&&{resolved:ue.value,isExternalLibraryImport:!0}}}}}function E1e(e,t){const r=ei(e,t),i=zd(r),o=rl(i);return{path:o==="."||o===".."?jc(Sa(r)):Sa(r),parts:i}}function A1e(e,t,r){if(!t.realpath)return e;const i=Sa(t.realpath(e));return r&&Co(t,f.Resolving_real_path_for_0_result_1,e,i),i}function RU(e,t,r,i,o){if(i.traceEnabled&&Co(i.host,f.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1,t,n3(e)),!cb(t)){if(!r){const l=pi(t);ch(l,i.host)||(i.traceEnabled&&Co(i.host,f.Directory_0_does_not_exist_skipping_all_lookups_in_it,l),r=!0)}const s=VD(e,t,r,i);if(s){const l=o?Gw(s.path):void 0,u=l?L1(l,!1,i):void 0;return ax(u,s,i)}}if(r||ch(t,i.host)||(i.traceEnabled&&Co(i.host,f.Directory_0_does_not_exist_skipping_all_lookups_in_it,t),r=!0),!(i.features&32))return aae(e,t,r,i,o)}var Mg="/node_modules/";function Gb(e){return e.includes(Mg)}function Gw(e,t){const r=Sa(e),i=r.lastIndexOf(Mg);if(i===-1)return;const o=i+Mg.length;let s=I1e(r,o,t);return r.charCodeAt(o)===64&&(s=I1e(r,s,t)),r.slice(0,s)}function I1e(e,t,r){const i=e.indexOf($s,t+1);return i===-1?r?e.length:t:i}function oae(e,t,r,i){return SU(VD(e,t,r,i))}function VD(e,t,r,i){const o=x1e(e,t,r,i);if(o)return o;if(!(i.features&32)){const s=R1e(t,e,"",r,i);if(s)return s}}function x1e(e,t,r,i){if(!Ec(t).includes("."))return;let s=Su(t);s===t&&(s=t.substring(0,t.lastIndexOf(".")));const l=t.substring(s.length);return i.traceEnabled&&Co(i.host,f.File_name_0_has_a_1_extension_stripping_it,t,l),R1e(s,e,l,r,i)}function DU(e,t,r,i,o){if(e&1&&Ql(t,$k)||e&4&&Ql(t,Y6)){const s=CU(t,i,o),l=C6(t);return s!==void 0?{path:t,ext:l,resolvedUsingTsExtension:r?!il(r,l):void 0}:void 0}return o.isConfigLookup&&e===8&&xl(t,".json")?CU(t,i,o)!==void 0?{path:t,ext:".json",resolvedUsingTsExtension:void 0}:void 0:x1e(e,t,i,o)}function R1e(e,t,r,i,o){if(!i){const l=pi(e);l&&(i=!ch(l,o.host))}switch(r){case".mjs":case".mts":case".d.mts":return t&1&&s(".mts",r===".mts"||r===".d.mts")||t&4&&s(".d.mts",r===".mts"||r===".d.mts")||t&2&&s(".mjs")||void 0;case".cjs":case".cts":case".d.cts":return t&1&&s(".cts",r===".cts"||r===".d.cts")||t&4&&s(".d.cts",r===".cts"||r===".d.cts")||t&2&&s(".cjs")||void 0;case".json":return t&4&&s(".d.json.ts")||t&8&&s(".json")||void 0;case".tsx":case".jsx":return t&1&&(s(".tsx",r===".tsx")||s(".ts",r===".tsx"))||t&4&&s(".d.ts",r===".tsx")||t&2&&(s(".jsx")||s(".js"))||void 0;case".ts":case".d.ts":case".js":case"":return t&1&&(s(".ts",r===".ts"||r===".d.ts")||s(".tsx",r===".ts"||r===".d.ts"))||t&4&&s(".d.ts",r===".ts"||r===".d.ts")||t&2&&(s(".js")||s(".jsx"))||o.isConfigLookup&&s(".json")||void 0;default:return t&4&&!ad(e+r)&&s(".d".concat(r,".ts"))||void 0}function s(l,u){const d=CU(e+l,i,o);return d===void 0?void 0:{path:d,ext:l,resolvedUsingTsExtension:!o.candidateIsFromPackageJsonField&&u}}}function CU(e,t,r){var l;var i;if(!((i=r.compilerOptions.moduleSuffixes)!=null&&i.length))return D1e(e,t,r);const o=(l=xg(e))!=null?l:"",s=o?ew(e,o):e;return Xe(r.compilerOptions.moduleSuffixes,u=>D1e(s+u+o,t,r))}function D1e(e,t,r){var i;if(!t){if(r.host.fileExists(e))return r.traceEnabled&&Co(r.host,f.File_0_exists_use_it_as_a_name_resolution_result,e),e;r.traceEnabled&&Co(r.host,f.File_0_does_not_exist,e)}(i=r.failedLookupLocations)==null||i.push(e)}function aae(e,t,r,i,o=!0){const s=o?L1(t,r,i):void 0;return ax(s,MU(e,t,r,i,s),i)}function NU(e,t,r,i,o){if(!o&&e.contents.resolvedEntrypoints!==void 0)return e.contents.resolvedEntrypoints;let s;const l=5|(o?2:0),u=Qoe(t),d=oP(i==null?void 0:i.getPackageJsonInfoCache(),r,t);d.conditions=Bb(t),d.requestContainingDirectory=e.packageDirectory;const _=MU(l,e.packageDirectory,!1,d,e);if(s=jn(s,_==null?void 0:_.path),u&8&&e.contents.packageJsonContent.exports){const m=cS([Bb(t,99),Bb(t,1)],ef);for(const y of m){const E={...d,failedLookupLocations:[],conditions:y,host:r},A=rHe(e,e.contents.packageJsonContent.exports,E,l);if(A)for(const R of A)s=ny(s,R.path)}}return e.contents.resolvedEntrypoints=s||!1}function rHe(e,t,r,i){let o;if(Lo(t))for(const l of t)s(l);else if(typeof t=="object"&&t!==null&&c3(t))for(const l in t)s(t[l]);else s(t);return o;function s(l){var u,d;if(typeof l=="string"&&fo(l,"./"))if(l.includes("*")&&r.host.readDirectory){if(l.indexOf("*")!==l.lastIndexOf("*"))return!1;r.host.readDirectory(e.packageDirectory,FUe(i),void 0,[oF(h1(l,"**/*"),".*")]).forEach(_=>{o=ny(o,{path:_,ext:rI(_),resolvedUsingTsExtension:void 0})})}else{const _=zd(l).slice(2);if(_.includes("..")||_.includes(".")||_.includes("node_modules"))return!1;const m=ei(e.packageDirectory,l),y=Eo(m,(d=(u=r.host).getCurrentDirectory)==null?void 0:d.call(u)),E=DU(i,y,l,!1,r);if(E)return o=ny(o,E,(A,R)=>A.path===R.path),!0}else if(Array.isArray(l)){for(const _ of l)if(s(_))return!0}else if(typeof l=="object"&&l!==null)return Xe(Vh(l),_=>{if(_==="default"||Vn(r.conditions,_)||Vw(r.conditions,_))return s(l[_]),!0})}}function oP(e,t,r){return{host:t,compilerOptions:r,traceEnabled:zb(r,t),failedLookupLocations:void 0,affectingLocations:void 0,packageJsonInfoCache:e,features:0,conditions:se,requestContainingDirectory:void 0,reportDiagnostic:vs,isConfigLookup:!1,candidateIsFromPackageJsonField:!1,resolvedPackageDirectory:!1}}function aP(e,t){return j_(t.host,e,r=>L1(r,!1,t))}function C1e(e,t){return e.contents.versionPaths===void 0&&(e.contents.versionPaths=jUe(e.contents.packageJsonContent,t)||!1),e.contents.versionPaths||void 0}function iHe(e,t){return e.contents.peerDependencies===void 0&&(e.contents.peerDependencies=oHe(e,t)||!1),e.contents.peerDependencies||void 0}function oHe(e,t){const r=Xoe(e.contents.packageJsonContent,"peerDependencies","object",t);if(r===void 0)return;t.traceEnabled&&Co(t.host,f.package_json_has_a_peerDependencies_field);const i=A1e(e.packageDirectory,t.host,t.traceEnabled),o=i.substring(0,i.lastIndexOf("node_modules")+12)+$s;let s="";for(const l in r)if(Ms(r,l)){const u=L1(o+l,!1,t);if(u){const d=u.contents.packageJsonContent.version;s+="+".concat(l,"@").concat(d),t.traceEnabled&&Co(t.host,f.Found_peerDependency_0_with_1_version,l,d)}else t.traceEnabled&&Co(t.host,f.Failed_to_find_peerDependency_0,l)}return s}function L1(e,t,r){var i,o,s,l,u,d;const{host:_,traceEnabled:m}=r,y=ei(e,"package.json");if(t){(i=r.failedLookupLocations)==null||i.push(y);return}const E=(o=r.packageJsonInfoCache)==null?void 0:o.getPackageJsonInfo(y);if(E!==void 0){if(o3(E))return m&&Co(_,f.File_0_exists_according_to_earlier_cached_lookups,y),(s=r.affectingLocations)==null||s.push(y),E.packageDirectory===e?E:{packageDirectory:e,contents:E.contents};E.directoryExists&&m&&Co(_,f.File_0_does_not_exist_according_to_earlier_cached_lookups,y),(l=r.failedLookupLocations)==null||l.push(y);return}const A=ch(e,_);if(A&&_.fileExists(y)){const R=dD(y,_);m&&Co(_,f.Found_package_json_at_0,y);const N={packageDirectory:e,contents:{packageJsonContent:R,versionPaths:void 0,resolvedEntrypoints:void 0,peerDependencies:void 0}};return r.packageJsonInfoCache&&!r.packageJsonInfoCache.isReadonly&&r.packageJsonInfoCache.setPackageJsonInfo(y,N),(u=r.affectingLocations)==null||u.push(y),N}else A&&m&&Co(_,f.File_0_does_not_exist,y),r.packageJsonInfoCache&&!r.packageJsonInfoCache.isReadonly&&r.packageJsonInfoCache.setPackageJsonInfo(y,{packageDirectory:e,directoryExists:A}),(d=r.failedLookupLocations)==null||d.push(y)}function MU(e,t,r,i,o){const s=o&&C1e(o,i);let l;o&&f1e(o==null?void 0:o.packageDirectory,t,i.host)&&(i.isConfigLookup?l=BUe(o.contents.packageJsonContent,o.packageDirectory,i):l=e&4&&zUe(o.contents.packageJsonContent,o.packageDirectory,i)||e&7&&GUe(o.contents.packageJsonContent,o.packageDirectory,i)||void 0);const u=(E,A,R,N)=>{const M=DU(E,A,void 0,R,N);if(M)return SU(M);const k=E===4?5:E,F=N.features,O=N.candidateIsFromPackageJsonField;N.candidateIsFromPackageJsonField=!0,(o==null?void 0:o.contents.packageJsonContent.type)!=="module"&&(N.features&=-33);const G=RU(k,A,R,N,!1);return N.features=F,N.candidateIsFromPackageJsonField=O,G},d=l?!ch(pi(l),i.host):void 0,_=r||!ch(t,i.host),m=ei(t,i.isConfigLookup?"tsconfig":"index");if(s&&(!l||hm(t,l))){const E=df(t,l||m,!1);i.traceEnabled&&Co(i.host,f.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,s.version,Me,E);const A=tw(s.paths),R=sae(e,E,t,s.paths,A,u,d||_,i);if(R)return d1e(R.value)}const y=l&&d1e(u(e,l,d,i));if(y)return y;if(!(i.features&32))return VD(e,m,_,i)}function N1e(e,t){return e&2&&(t===".js"||t===".jsx"||t===".mjs"||t===".cjs")||e&1&&(t===".ts"||t===".tsx"||t===".mts"||t===".cts")||e&4&&(t===".d.ts"||t===".d.mts"||t===".d.cts")||e&8&&t===".json"||!1}function l3(e){let t=e.indexOf($s);return e[0]==="@"&&(t=e.indexOf($s,t+1)),t===-1?{packageName:e,rest:""}:{packageName:e.slice(0,t),rest:e.slice(t+1)}}function c3(e){return Gn(Vh(e),t=>fo(t,"."))}function aHe(e){return!bt(Vh(e),t=>fo(t,"."))}function sHe(e,t,r,i,o,s){var l,u;const d=Eo(r,(u=(l=i.host).getCurrentDirectory)==null?void 0:u.call(l)),_=aP(d,i);if(!_||!_.contents.packageJsonContent.exports||typeof _.contents.packageJsonContent.name!="string")return;const m=zd(t),y=zd(_.contents.packageJsonContent.name);if(!Gn(y,(M,k)=>m[k]===M))return;const E=m.slice(y.length),A=et(E)?".".concat($s).concat(E.join($s)):".";if(Nb(i.compilerOptions)&&!Gb(r))return PU(_,e,A,i,o,s);const R=e&5,N=e&-6;return PU(_,R,A,i,o,s)||PU(_,N,A,i,o,s)}function PU(e,t,r,i,o,s){if(e.contents.packageJsonContent.exports){if(r==="."){let l;if(typeof e.contents.packageJsonContent.exports=="string"||Array.isArray(e.contents.packageJsonContent.exports)||typeof e.contents.packageJsonContent.exports=="object"&&aHe(e.contents.packageJsonContent.exports)?l=e.contents.packageJsonContent.exports:Ms(e.contents.packageJsonContent.exports,".")&&(l=e.contents.packageJsonContent.exports["."]),l)return P1e(t,i,o,s,r,e,!1)(l,"",!1,".")}else if(c3(e.contents.packageJsonContent.exports)){if(typeof e.contents.packageJsonContent.exports!="object")return i.traceEnabled&&Co(i.host,f.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,r,e.packageDirectory),_f(void 0);const l=M1e(t,i,o,s,r,e.contents.packageJsonContent.exports,e,!1);if(l)return l}return i.traceEnabled&&Co(i.host,f.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,r,e.packageDirectory),_f(void 0)}}function lHe(e,t,r,i,o,s){var l,u;if(t==="#"||fo(t,"#/"))return i.traceEnabled&&Co(i.host,f.Invalid_import_specifier_0_has_no_possible_resolutions,t),_f(void 0);const d=Eo(r,(u=(l=i.host).getCurrentDirectory)==null?void 0:u.call(l)),_=aP(d,i);if(!_)return i.traceEnabled&&Co(i.host,f.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve,d),_f(void 0);if(!_.contents.packageJsonContent.imports)return i.traceEnabled&&Co(i.host,f.package_json_scope_0_has_no_imports_defined,_.packageDirectory),_f(void 0);const m=M1e(e,i,o,s,t,_.contents.packageJsonContent.imports,_,!0);return m||(i.traceEnabled&&Co(i.host,f.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1,t,_.packageDirectory),_f(void 0))}function LU(e,t){const r=e.indexOf("*"),i=t.indexOf("*"),o=r===-1?e.length:r+1,s=i===-1?t.length:i+1;return o>s?-1:s>o||r===-1?1:i===-1||e.length>t.length?-1:t.length>e.length?1:0}function M1e(e,t,r,i,o,s,l,u){const d=P1e(e,t,r,i,o,l,u);if(!il(o,$s)&&!o.includes("*")&&Ms(s,o)){const y=s[o];return d(y,"",!1,o)}const _=Cp(Fn(Vh(s),y=>cHe(y)||il(y,"/")),LU);for(const y of _)if(t.features&16&&m(y,o)){const E=s[y],A=y.indexOf("*"),R=o.substring(y.substring(0,A).length,o.length-(y.length-1-A));return d(E,R,!0,y)}else if(il(y,"*")&&fo(o,y.substring(0,y.length-1))){const E=s[y],A=o.substring(y.length-1);return d(E,A,!0,y)}else if(fo(o,y)){const E=s[y],A=o.substring(y.length);return d(E,A,!1,y)}function m(y,E){if(il(y,"*"))return!1;const A=y.indexOf("*");return A===-1?!1:fo(E,y.substring(0,A))&&il(E,y.substring(A+1))}}function cHe(e){const t=e.indexOf("*");return t!==-1&&t===e.lastIndexOf("*")}function P1e(e,t,r,i,o,s,l){return u;function u(d,_,m,y){var k,F;var E,A;if(typeof d=="string"){if(!m&&_.length>0&&!il(d,"/"))return t.traceEnabled&&Co(t.host,f.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,s.packageDirectory,o),_f(void 0);if(!fo(d,"./")){if(l&&!fo(d,"../")&&!fo(d,"/")&&!Pp(d)){const he=m?d.replace(/\*/g,_):d+_;Vb(t,f.Using_0_subpath_1_with_target_2,"imports",y,he),Vb(t,f.Resolving_module_0_from_1,he,s.packageDirectory+"/");const re=Bw(t.features,he,s.packageDirectory+"/",t.compilerOptions,t.host,r,e,!1,i,t.conditions);return(E=t.failedLookupLocations)==null||E.push(...(k=re.failedLookupLocations)!=null?k:se),(A=t.affectingLocations)==null||A.push(...(F=re.affectingLocations)!=null?F:se),_f(re.resolvedModule?{path:re.resolvedModule.resolvedFileName,extension:re.resolvedModule.extension,packageId:re.resolvedModule.packageId,originalPath:re.resolvedModule.originalPath,resolvedUsingTsExtension:re.resolvedModule.resolvedUsingTsExtension}:void 0)}return t.traceEnabled&&Co(t.host,f.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,s.packageDirectory,o),_f(void 0)}const G=(tf(d)?zd(d).slice(1):zd(d)).slice(1);if(G.includes("..")||G.includes(".")||G.includes("node_modules"))return t.traceEnabled&&Co(t.host,f.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,s.packageDirectory,o),_f(void 0);const j=ei(s.packageDirectory,d),K=zd(_);if(K.includes("..")||K.includes(".")||K.includes("node_modules"))return t.traceEnabled&&Co(t.host,f.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,s.packageDirectory,o),_f(void 0);t.traceEnabled&&Co(t.host,f.Using_0_subpath_1_with_target_2,l?"imports":"exports",y,m?d.replace(/\*/g,_):d+_);const Q=R(m?j.replace(/\*/g,_):j+_),J=M(Q,_,ei(s.packageDirectory,"package.json"),l);return J||_f(ax(s,DU(e,Q,d,!1,t),t))}else if(typeof d=="object"&&d!==null)if(Array.isArray(d)){if(!et(d))return t.traceEnabled&&Co(t.host,f.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,s.packageDirectory,o),_f(void 0);for(const O of d){const G=u(O,_,m,y);if(G)return G}}else{Vb(t,f.Entering_conditional_exports);for(const O of Vh(d))if(O==="default"||t.conditions.includes(O)||Vw(t.conditions,O)){Vb(t,f.Matched_0_condition_1,l?"imports":"exports",O);const G=d[O],j=u(G,_,m,y);if(j)return Vb(t,f.Resolved_under_condition_0,O),Vb(t,f.Exiting_conditional_exports),j;Vb(t,f.Failed_to_resolve_under_condition_0,O)}else Vb(t,f.Saw_non_matching_condition_0,O);Vb(t,f.Exiting_conditional_exports);return}else if(d===null)return t.traceEnabled&&Co(t.host,f.package_json_scope_0_explicitly_maps_specifier_1_to_null,s.packageDirectory,o),_f(void 0);return t.traceEnabled&&Co(t.host,f.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,s.packageDirectory,o),_f(void 0);function R(O){var G,j;return O===void 0?O:Eo(O,(j=(G=t.host).getCurrentDirectory)==null?void 0:j.call(G))}function N(O,G){return jc(ei(O,G))}function M(O,G,j,K){var Q,J,he,re;if(!t.isConfigLookup&&(t.compilerOptions.declarationDir||t.compilerOptions.outDir)&&!O.includes("/node_modules/")&&(!t.compilerOptions.configFile||hm(s.packageDirectory,R(t.compilerOptions.configFile.fileName),!kU(t)))){const ue=uy({useCaseSensitiveFileNames:()=>kU(t)}),de=[];if(t.compilerOptions.rootDir||t.compilerOptions.composite&&t.compilerOptions.configFilePath){const ge=R(yP(t.compilerOptions,()=>[],((J=(Q=t.host).getCurrentDirectory)==null?void 0:J.call(Q))||"",ue));de.push(ge)}else if(t.requestContainingDirectory){const ge=R(ei(t.requestContainingDirectory,"index.ts")),Ae=R(yP(t.compilerOptions,()=>[ge,R(j)],((re=(he=t.host).getCurrentDirectory)==null?void 0:re.call(he))||"",ue));de.push(Ae);let Re=jc(Ae);for(;Re&&Re.length>1;){const $=zd(Re);$.pop();const ve=P0($);de.unshift(ve),Re=jc(ve)}}de.length>1&&t.reportDiagnostic(Dl(K?f.The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:f.The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate,G===""?".":G,j));for(const ge of de){const Ae=q(ge);for(const Re of Ae)if(hm(Re,O,!kU(t))){const $=O.slice(Re.length+1),ve=ei(ge,$),je=[".mjs",".cjs",".js",".json",".d.mts",".d.cts",".d.ts"];for(const be of je)if(xl(ve,be)){const ee=uV(ve);for(const Se of ee){if(!N1e(e,Se))continue;const Ne=A2(ve,Se,be,!kU(t));if(t.host.fileExists(Ne))return _f(ax(s,DU(e,Ne,void 0,!1,t),t))}}}}}return;function q(ue){var de,ge;const Ae=t.compilerOptions.configFile?((ge=(de=t.host).getCurrentDirectory)==null?void 0:ge.call(de))||"":ue,Re=[];return t.compilerOptions.declarationDir&&Re.push(R(N(Ae,t.compilerOptions.declarationDir))),t.compilerOptions.outDir&&t.compilerOptions.outDir!==t.compilerOptions.declarationDir&&Re.push(R(N(Ae,t.compilerOptions.outDir))),Re}}}}function Vw(e,t){if(!e.includes("types")||!fo(t,"types@"))return!1;const r=XW.tryParse(t.substring(6));return r?r.test(Me):!1}function L1e(e,t,r,i,o,s){return k1e(e,t,r,i,!1,o,s)}function dHe(e,t,r){return k1e(4,e,t,r,!0,void 0,void 0)}function k1e(e,t,r,i,o,s,l){const u=i.features===0?void 0:i.features&32||i.conditions.includes("import")?99:1,d=e&5,_=e&-6;if(d){Vb(i,f.Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0,n3(d));const y=m(d);if(y)return y}if(_&&!o)return Vb(i,f.Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0,n3(_)),m(_);function m(y){return j_(i.host,Bd(r),E=>{if(Ec(E)!=="node_modules"){const A=F1e(s,t,u,E,l,i);return A||_f(w1e(y,t,E,i,o,s,l))}})}}function j_(e,t,r){var i;const o=(i=e==null?void 0:e.getGlobalTypingsCacheLocation)==null?void 0:i.call(e);return IN(t,s=>{const l=r(s);if(l!==void 0)return l;if(s===o)return!1})||void 0}function w1e(e,t,r,i,o,s,l){const u=ei(r,"node_modules"),d=ch(u,i.host);if(!d&&i.traceEnabled&&Co(i.host,f.Directory_0_does_not_exist_skipping_all_lookups_in_it,u),!o){const _=O1e(e,t,u,d,i,s,l);if(_)return _}if(e&4){const _=ei(u,"@types");let m=d;return d&&!ch(_,i.host)&&(i.traceEnabled&&Co(i.host,f.Directory_0_does_not_exist_skipping_all_lookups_in_it,_),m=!1),O1e(4,W1e(t,i),_,m,i,s,l)}}function O1e(e,t,r,i,o,s,l){var k;var u,d;const _=Sa(ei(r,t)),{packageName:m,rest:y}=l3(t),E=ei(r,m);let A,R=L1(_,!i,o);if(y!==""&&R&&(!(o.features&8)||!Ms((k=(u=A=L1(E,!i,o))==null?void 0:u.contents.packageJsonContent)!=null?k:se,"exports"))){const F=VD(e,_,!i,o);if(F)return SU(F);const O=MU(e,_,!i,o,R);return ax(R,O,o)}const N=(F,O,G,j)=>{let K=(y||!(j.features&32))&&VD(F,O,G,j)||MU(F,O,G,j,R);return!K&&!y&&R&&(R.contents.packageJsonContent.exports===void 0||R.contents.packageJsonContent.exports===null)&&j.features&32&&(K=VD(F,ei(O,"index.js"),G,j)),ax(R,K,j)};if(y!==""&&(R=A!=null?A:L1(E,!i,o)),R&&(o.resolvedPackageDirectory=!0),R&&R.contents.packageJsonContent.exports&&o.features&8)return(d=PU(R,e,ei(".",y),o,s,l))==null?void 0:d.value;const M=y!==""&&R?C1e(R,o):void 0;if(M){o.traceEnabled&&Co(o.host,f.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,M.version,Me,y);const F=i&&ch(E,o.host),O=tw(M.paths),G=sae(e,y,E,M.paths,O,N,!F,o);if(G)return G.value}return N(e,_,!i,o)}function sae(e,t,r,i,o,s,l,u){const d=JV(o,t);if(d){const _=jo(d)?void 0:fZ(d,t),m=jo(d)?d:pZ(d);return u.traceEnabled&&Co(u.host,f.Module_name_0_matched_pattern_1,t,m),{value:Xe(i[m],E=>{const A=_?h1(E,_):E,R=Sa(ei(r,A));u.traceEnabled&&Co(u.host,f.Trying_substitution_0_candidate_module_location_Colon_1,E,A);const N=xg(E);if(N!==void 0){const M=CU(R,l,u);if(M!==void 0)return SU({path:M,ext:N,resolvedUsingTsExtension:void 0})}return s(e,R,l||!ch(pi(R),u.host),u)})}}}var lae="__";function W1e(e,t){const r=jD(e);return t.traceEnabled&&r!==e&&Co(t.host,f.Scoped_package_detected_looking_in_0,r),r}function d3(e){return"@types/".concat(jD(e))}function jD(e){if(fo(e,"@")){const t=e.replace($s,lae);if(t!==e)return t.slice(1)}return e}function sP(e){const t=_N(e,"@types/");return t!==e?jw(t):e}function jw(e){return e.includes(lae)?"@"+e.replace(lae,$s):e}function F1e(e,t,r,i,o,s){const l=e&&e.getFromNonRelativeNameCache(t,r,i,o);if(l)return s.traceEnabled&&Co(s.host,f.Resolution_for_module_0_was_found_in_cache_from_location_1,t,i),s.resultFromCache=l,{value:l.resolvedModule&&{path:l.resolvedModule.resolvedFileName,originalPath:l.resolvedModule.originalPath||!0,extension:l.resolvedModule.extension,packageId:l.resolvedModule.packageId,resolvedUsingTsExtension:l.resolvedModule.resolvedUsingTsExtension}}}function cae(e,t,r,i,o,s){const l=zb(r,i),u=[],d=[],_=pi(t),m=[],y={compilerOptions:r,host:i,traceEnabled:l,failedLookupLocations:u,affectingLocations:d,packageJsonInfoCache:o,features:0,conditions:[],requestContainingDirectory:_,reportDiagnostic:R=>void m.push(R),isConfigLookup:!1,candidateIsFromPackageJsonField:!1,resolvedPackageDirectory:!1},E=A(5)||A(2|(r.resolveJsonModule?8:0));return u1e(e,E&&E.value,(E==null?void 0:E.value)&&Gb(E.value.path),u,d,m,y,o);function A(R){const N=b1e(R,e,_,oae,y);if(N)return{value:N};if(td(e)){const M=Sa(ei(_,e));return _f(oae(R,M,!1,y))}else{const M=j_(y.host,_,k=>{const F=F1e(o,e,void 0,k,s,y);if(F)return F;const O=Sa(ei(k,e));return _f(oae(R,O,!1,y))});if(M)return M;if(R&5){let k=dHe(e,_,y);return R&4&&(k!=null||(k=z1e(e,y))),k}}}}function z1e(e,t){if(t.compilerOptions.typeRoots)for(const r of t.compilerOptions.typeRoots){const i=h1e(r,e,t),o=ch(r,t.host);!o&&t.traceEnabled&&Co(t.host,f.Directory_0_does_not_exist_skipping_all_lookups_in_it,r);const s=VD(4,i,!o,t);if(s){const u=Gw(s.path),d=u?L1(u,!1,t):void 0;return _f(ax(d,s,t))}const l=aae(4,i,!o,t);if(l)return _f(l)}}function UD(e,t){return bre(e)||!!t&&ad(t)}function dae(e,t,r,i,o,s){const l=zb(r,i);l&&Co(i,f.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2,t,e,o);const u=[],d=[],_=[],m={compilerOptions:r,host:i,traceEnabled:l,failedLookupLocations:u,affectingLocations:d,packageJsonInfoCache:s,features:0,conditions:[],requestContainingDirectory:void 0,reportDiagnostic:E=>void _.push(E),isConfigLookup:!1,candidateIsFromPackageJsonField:!1,resolvedPackageDirectory:!1},y=w1e(4,e,o,m,!1,void 0,void 0);return p1e(y,!0,u,d,_,m.resultFromCache,void 0)}function _f(e){return e!==void 0?{value:e}:void 0}function Vb(e,t,...r){e.traceEnabled&&Co(e.host,t,...r)}function kU(e){return e.host.useCaseSensitiveFileNames?typeof e.host.useCaseSensitiveFileNames=="boolean"?e.host.useCaseSensitiveFileNames:e.host.useCaseSensitiveFileNames():!0}var uae=(e=>(e[e.NonInstantiated=0]="NonInstantiated",e[e.Instantiated=1]="Instantiated",e[e.ConstEnumOnly=2]="ConstEnumOnly",e))(uae||{});function vy(e,t){return e.body&&!e.body.parent&&(ps(e.body,e),J0(e.body,!1)),e.body?pae(e.body,t):1}function pae(e,t=new Map){const r=ls(e);if(t.has(r))return t.get(r)||0;t.set(r,void 0);const i=uHe(e,t);return t.set(r,i),i}function uHe(e,t){switch(e.kind){case 265:case 266:return 0;case 267:if(W0(e))return 2;break;case 273:case 272:if(!fi(e,32))return 0;break;case 279:const r=e;if(!r.moduleSpecifier&&r.exportClause&&r.exportClause.kind===280){let i=0;for(const o of r.exportClause.elements){const s=pHe(o,t);if(s>i&&(i=s),i===1)return i}return i}break;case 269:{let i=0;return Xo(e,o=>{const s=pae(o,t);switch(s){case 0:return;case 2:i=2;return;case 1:return i=1,!0;default:C.assertNever(s)}}),i}case 268:return vy(e,t);case 80:if(e.flags&4096)return 0}return 1}function pHe(e,t){const r=e.propertyName||e.name;if(r.kind!==80)return 1;let i=e.parent;for(;i;){if(ia(i)||a_(i)||Qi(i)){const o=i.statements;let s;for(const l of o)if(w2(l,r)){l.parent||(ps(l,i),J0(l,!1));const u=pae(l,t);if((s===void 0||u>s)&&(s=u),s===1)return s;l.kind===272&&(s=1)}if(s!==void 0)return s}i=i.parent}return 1}var fae=(e=>(e[e.None=0]="None",e[e.IsContainer=1]="IsContainer",e[e.IsBlockScopedContainer=2]="IsBlockScopedContainer",e[e.IsControlFlowContainer=4]="IsControlFlowContainer",e[e.IsFunctionLike=8]="IsFunctionLike",e[e.IsFunctionExpression=16]="IsFunctionExpression",e[e.HasLocals=32]="HasLocals",e[e.IsInterface=64]="IsInterface",e[e.IsObjectLiteralOrClassExpressionMethodOrAccessor=128]="IsObjectLiteralOrClassExpressionMethodOrAccessor",e))(fae||{});function U_(e,t,r){return C.attachFlowNodeDebugInfo({flags:e,id:0,node:t,antecedent:r})}var fHe=mHe();function mae(e,t){Nl("beforeBind"),fHe(e,t),Nl("afterBind"),Of("Bind","beforeBind","afterBind")}function mHe(){var e,t,r,i,o,s,l,u,d,_,m,y,E,A,R,N,M,k,F,O,G,j,K,Q,J,he=!1,re=0,q,ue,de=U_(1,void 0,void 0),ge=U_(1,void 0,void 0),Ae=B();return $;function Re(z,Ue,...wt){return Ff(On(z)||e,z,Ue,...wt)}function $(z,Ue){var wt,Nn;e=z,t=Ue,r=Va(t),J=ve(e,Ue),ue=new Set,re=0,q=xd.getSymbolConstructor(),C.attachFlowNodeDebugInfo(de),C.attachFlowNodeDebugInfo(ge),e.locals||((wt=Ar)==null||wt.push(Ar.Phase.Bind,"bindSourceFile",{path:e.path},!0),Bn(e),(Nn=Ar)==null||Nn.pop(),e.symbolCount=re,e.classifiableNames=ue,tl(),Ma()),e=void 0,t=void 0,r=void 0,i=void 0,o=void 0,s=void 0,l=void 0,u=void 0,d=void 0,m=void 0,_=!1,y=void 0,E=void 0,A=void 0,R=void 0,N=void 0,M=void 0,k=void 0,O=void 0,G=!1,j=!1,K=!1,he=!1,Q=0}function ve(z,Ue){return Vd(Ue,"alwaysStrict")&&!z.isDeclarationFile?!0:!!z.externalModuleIndicator}function je(z,Ue){return re++,new q(z,Ue)}function be(z,Ue,wt){z.flags|=wt,Ue.symbol=z,z.declarations=ny(z.declarations,Ue),wt&1955&&!z.exports&&(z.exports=ma()),wt&6240&&!z.members&&(z.members=ma()),z.constEnumOnlyModule&&z.flags&304&&(z.constEnumOnlyModule=!1),wt&111551&&eM(z,Ue)}function ee(z){if(z.kind===278)return z.isExportEquals?"export=":"default";const Ue=Fo(z);if(Ue){if(vu(z)){const wt=Bf(Ue);return W_(z)?"__global":'"'.concat(wt,'"')}if(Ue.kind===168){const wt=Ue.expression;if(pf(wt))return Pl(wt.text);if(f6(wt))return Ta(wt.operator)+wt.operand.text;C.fail("Only computed properties with literal names have declaration names")}if(to(Ue)){const wt=hd(z);if(!wt)return;const Nn=wt.symbol;return Nk(Nn,Ue.escapedText)}return fh(Ue)?WI(Ue):$h(Ue)?sM(Ue):void 0}switch(z.kind){case 177:return"__constructor";case 185:case 180:case 324:return"__call";case 186:case 181:return"__new";case 182:return"__index";case 279:return"__export";case 308:return"export=";case 227:if(ac(z)===2)return"export=";C.fail("Unknown binary declaration kind");break;case 318:return TI(z)?"__new":"__call";case 170:return C.assert(z.parent.kind===318,"Impossible parameter parent kind",()=>"parent is: ".concat(C.formatSyntaxKind(z.parent.kind),", expected JSDocFunctionType")),"arg"+z.parent.parameters.indexOf(z)}}function Se(z){return nd(z)?Fs(z.name):Bi(C.checkDefined(ee(z)))}function Ne(z,Ue,wt,Nn,To,oa,Ao){C.assert(Ao||!dy(wt));const Uo=fi(wt,2048)||ou(wt)&&O_(wt.name),bl=Ao?"__computed":Uo&&Ue?"default":ee(wt);let Pa;if(bl===void 0)Pa=je(0,"__missing");else if(Pa=z.get(bl),Nn&2885600&&ue.add(bl),!Pa)z.set(bl,Pa=je(0,bl)),oa&&(Pa.isReplaceableByMethod=!0);else{if(oa&&!Pa.isReplaceableByMethod)return Pa;if(Pa.flags&To){if(Pa.isReplaceableByMethod)z.set(bl,Pa=je(0,bl));else if(!(Nn&3&&Pa.flags&67108864)){nd(wt)&&ps(wt.name,wt);let cd=Pa.flags&2?f.Cannot_redeclare_block_scoped_variable_0:f.Duplicate_identifier_0,Jp=!0;(Pa.flags&384||Nn&384)&&(cd=f.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,Jp=!1);let Ef=!1;et(Pa.declarations)&&(Uo||Pa.declarations&&Pa.declarations.length&&wt.kind===278&&!wt.isExportEquals)&&(cd=f.A_module_cannot_have_multiple_default_exports,Jp=!1,Ef=!0);const $f=[];Em(wt)&&Wl(wt.type)&&fi(wt,32)&&Pa.flags&2887656&&$f.push(Re(wt,f.Did_you_mean_0,"export type { ".concat(Bi(wt.name.escapedText)," }")));const xy=Fo(wt)||wt;Xe(Pa.declarations,(ju,bh)=>{const Cm=Fo(ju)||ju,Af=Jp?Re(Cm,cd,Se(ju)):Re(Cm,cd);e.bindDiagnostics.push(Ef?_a(Af,Re(xy,bh===0?f.Another_export_default_is_here:f.and_here)):Af),Ef&&$f.push(Re(Cm,f.The_first_export_default_is_here))});const Iv=Jp?Re(xy,cd,Se(wt)):Re(xy,cd);e.bindDiagnostics.push(_a(Iv,...$f)),Pa=je(0,bl)}}}return be(Pa,wt,Nn),Pa.parent?C.assert(Pa.parent===Ue,"Existing symbol parent should match new one"):Pa.parent=Ue,Pa}function ze(z,Ue,wt){const Nn=!!(L0(z)&32)||lt(z);if(Ue&2097152)return z.kind===282||z.kind===272&&Nn?Ne(o.symbol.exports,o.symbol,z,Ue,wt):(C.assertNode(o,k_),Ne(o.locals,void 0,z,Ue,wt));if(vm(z)&&C.assert(Er(z)),!vu(z)&&(Nn||o.flags&128)){if(!k_(o)||!o.locals||fi(z,2048)&&!ee(z))return Ne(o.symbol.exports,o.symbol,z,Ue,wt);const To=Ue&111551?1048576:0,oa=Ne(o.locals,void 0,z,To,wt);return oa.exportSymbol=Ne(o.symbol.exports,o.symbol,z,Ue,wt),z.localSymbol=oa,oa}else return C.assertNode(o,k_),Ne(o.locals,void 0,z,Ue,wt)}function lt(z){if(z.parent&&pc(z)&&(z=z.parent),!vm(z))return!1;if(!bw(z)&&z.fullName)return!0;const Ue=Fo(z);return Ue?!!(zk(Ue.parent)&&Yf(Ue.parent)||rd(Ue.parent)&&L0(Ue.parent)&32):!1}function le(z,Ue){const wt=o,Nn=s,To=l,oa=j;if(z.kind===220&&z.body.kind!==242&&(j=!0),Ue&1?(z.kind!==220&&(s=o),o=l=z,Ue&32&&(o.locals=ma(),bn(o))):Ue&2&&(l=z,Ue&32&&(l.locals=void 0)),Ue&4){const Ao=y,Uo=E,bl=A,Pa=R,cd=k,Jp=O,Ef=G,$f=Ue&16&&!fi(z,1024)&&!z.asteriskToken&&!!F0(z)||z.kind===176;$f||(y=U_(2,void 0,void 0),Ue&144&&(y.node=z)),R=$f||z.kind===177||Er(z)&&(z.kind===263||z.kind===219)?tn():void 0,k=void 0,E=void 0,A=void 0,O=void 0,G=!1,Ge(z),z.flags&=-5633,!(y.flags&1)&&Ue&8&&gm(z.body)&&(z.flags|=512,G&&(z.flags|=1024),z.endFlowNode=y),z.kind===308&&(z.flags|=Q,z.endFlowNode=y),R&&(Ht(R,y),y=Ur(R),(z.kind===177||z.kind===176||Er(z)&&(z.kind===263||z.kind===219))&&(z.returnFlowNode=y)),$f||(y=Ao),E=Uo,A=bl,R=Pa,k=cd,O=Jp,G=Ef}else Ue&64?(_=!1,Ge(z),C.assertNotNode(z,Je),z.flags=_?z.flags|256:z.flags&-257):Ge(z);j=oa,o=wt,s=Nn,l=To}function De(z){_e(z,Ue=>Ue.kind===263?Bn(Ue):void 0),_e(z,Ue=>Ue.kind!==263?Bn(Ue):void 0)}function _e(z,Ue=Bn){z!==void 0&&Xe(z,Ue)}function Ve(z){Xo(z,Bn,_e)}function Ge(z){const Ue=he;if(he=!1,eo(z)){nD(z)&&z.flowNode&&(z.flowNode=void 0),Ve(z),Zi(z),he=Ue;return}switch(z.kind>=244&&z.kind<=260&&(!t.allowUnreachableCode||z.kind===254)&&(z.flowNode=y),z.kind){case 248:Da(z);break;case 247:Pn(z);break;case 249:qo(z);break;case 250:case 251:at(z);break;case 246:Bt(z);break;case 254:case 258:ce(z);break;case 253:case 252:We(z);break;case 259:it(z);break;case 256:dt(z);break;case 270:Lt(z);break;case 297:He(z);break;case 245:Ct(z);break;case 257:Wt(z);break;case 225:Oe(z);break;case 226:At(z);break;case 227:if(sv(z)){he=Ue,ye(z);return}Ae(z);break;case 221:xe(z);break;case 228:te(z);break;case 261:$t(z);break;case 212:case 213:vn(z);break;case 214:Ft(z);break;case 236:An(z);break;case 347:case 339:case 341:or(z);break;case 352:fr(z);break;case 308:{De(z.statements),Bn(z.endOfFileToken);break}case 242:case 269:De(z.statements);break;case 209:Pe(z);break;case 170:yt(z);break;case 211:case 210:case 304:case 231:he=Ue;default:Ve(z);break}Zi(z),he=Ue}function Be(z){switch(z.kind){case 80:case 110:return!0;case 212:case 213:return Ot(z);case 214:return Vt(z);case 218:if(HS(z))return!1;case 236:return Be(z.expression);case 227:return Hn(z);case 225:return z.operator===54&&Be(z.operand);case 222:return Be(z.expression)}return!1}function ot(z){switch(z.kind){case 80:case 110:case 108:case 237:return!0;case 212:case 218:case 236:return ot(z.expression);case 213:return(pf(z.argumentExpression)||Ps(z.argumentExpression))&&ot(z.expression);case 227:return z.operatorToken.kind===28&&ot(z.right)||py(z.operatorToken.kind)&&Zu(z.left)}return!1}function Ot(z){return ot(z)||tu(z)&&Ot(z.expression)}function Vt(z){if(z.arguments){for(const Ue of z.arguments)if(Ot(Ue))return!0}return!!(z.expression.kind===212&&Ot(z.expression.expression))}function mn(z,Ue){return ED(z)&>(z.expression)&&ds(Ue)}function Hn(z){switch(z.operatorToken.kind){case 64:case 76:case 77:case 78:return Ot(z.left);case 35:case 36:case 37:case 38:const Ue=us(z.left),wt=us(z.right);return gt(Ue)||gt(wt)||mn(wt,Ue)||mn(Ue,wt)||zN(wt)&&Be(Ue)||zN(Ue)&&Be(wt);case 104:return gt(z.left);case 103:return Be(z.right);case 28:return Be(z.right)}return!1}function gt(z){switch(z.kind){case 218:return gt(z.expression);case 227:switch(z.operatorToken.kind){case 64:return gt(z.left);case 28:return gt(z.right)}}return Ot(z)}function tn(){return U_(4,void 0,void 0)}function ir(){return U_(8,void 0,void 0)}function Ri(z,Ue,wt){return U_(1024,{target:z,antecedents:Ue},wt)}function _o(z){z.flags|=z.flags&2048?4096:2048}function Ht(z,Ue){!(Ue.flags&1)&&!Vn(z.antecedent,Ue)&&((z.antecedent||(z.antecedent=[])).push(Ue),_o(Ue))}function Qr(z,Ue,wt){return Ue.flags&1?Ue:wt?(wt.kind===112&&z&64||wt.kind===97&&z&32)&&!yF(wt)&&!Q9(wt.parent)?de:Be(wt)?(_o(Ue),U_(z,wt,Ue)):Ue:z&32?Ue:de}function go(z,Ue,wt,Nn){return _o(z),U_(128,{switchStatement:Ue,clauseStart:wt,clauseEnd:Nn},z)}function Ci(z,Ue,wt){_o(Ue),K=!0;const Nn=U_(z,wt,Ue);return k&&Ht(k,Nn),Nn}function Cr(z,Ue){return _o(z),K=!0,U_(512,Ue,z)}function Ur(z){const Ue=z.antecedent;return Ue?Ue.length===1?Ue[0]:z:de}function Qe(z){const Ue=z.parent;switch(Ue.kind){case 246:case 248:case 247:return Ue.expression===z;case 249:case 228:return Ue.condition===z}return!1}function It(z){for(;;)if(z.kind===218)z=z.expression;else if(z.kind===225&&z.operator===54)z=z.operand;else return Wk(z)}function hn(z){return vV(us(z))}function pr(z){for(;zu(z.parent)||$0(z.parent)&&z.parent.operator===54;)z=z.parent;return!Qe(z)&&!It(z.parent)&&!(tu(z.parent)&&z.parent.expression===z)}function oi(z,Ue,wt,Nn){const To=N,oa=M;N=wt,M=Nn,z(Ue),N=To,M=oa}function di(z,Ue,wt){oi(Bn,z,Ue,wt),(!z||!hn(z)&&!It(z)&&!(tu(z)&&kN(z)))&&(Ht(Ue,Qr(32,y,z)),Ht(wt,Qr(64,y,z)))}function Ki(z,Ue,wt){const Nn=E,To=A;E=Ue,A=wt,Bn(z),E=Nn,A=To}function Zo(z,Ue){let wt=O;for(;wt&&z.parent.kind===257;)wt.continueTarget=Ue,wt=wt.next,z=z.parent;return Ue}function Da(z){const Ue=Zo(z,ir()),wt=tn(),Nn=tn();Ht(Ue,y),y=Ue,di(z.expression,wt,Nn),y=Ur(wt),Ki(z.statement,Nn,Ue),Ht(Ue,y),y=Ur(Nn)}function Pn(z){const Ue=ir(),wt=Zo(z,tn()),Nn=tn();Ht(Ue,y),y=Ue,Ki(z.statement,Nn,wt),Ht(wt,y),y=Ur(wt),di(z.expression,Ue,Nn),y=Ur(Nn)}function qo(z){const Ue=Zo(z,ir()),wt=tn(),Nn=tn(),To=tn();Bn(z.initializer),Ht(Ue,y),y=Ue,di(z.condition,wt,To),y=Ur(wt),Ki(z.statement,To,Nn),Ht(Nn,y),y=Ur(Nn),Bn(z.incrementor),Ht(Ue,y),y=Ur(To)}function at(z){const Ue=Zo(z,ir()),wt=tn();Bn(z.expression),Ht(Ue,y),y=Ue,z.kind===251&&Bn(z.awaitModifier),Ht(wt,y),Bn(z.initializer),z.initializer.kind!==262&&Zt(z.initializer),Ki(z.statement,wt,Ue),Ht(Ue,y),y=Ur(wt)}function Bt(z){const Ue=tn(),wt=tn(),Nn=tn();di(z.expression,Ue,wt),y=Ur(Ue),Bn(z.thenStatement),Ht(Nn,y),y=Ur(wt),Bn(z.elseStatement),Ht(Nn,y),y=Ur(Nn)}function ce(z){const Ue=j;j=!0,Bn(z.expression),j=Ue,z.kind===254&&(G=!0,R&&Ht(R,y)),y=de,K=!0}function _t(z){for(let Ue=O;Ue;Ue=Ue.next)if(Ue.name===z)return Ue}function ie(z,Ue,wt){const Nn=z.kind===253?Ue:wt;Nn&&(Ht(Nn,y),y=de,K=!0)}function We(z){if(Bn(z.label),z.label){const Ue=_t(z.label.escapedText);Ue&&(Ue.referenced=!0,ie(z,Ue.breakTarget,Ue.continueTarget))}else ie(z,E,A)}function it(z){const Ue=R,wt=k,Nn=tn(),To=tn();let oa=tn();if(z.finallyBlock&&(R=To),Ht(oa,y),k=oa,Bn(z.tryBlock),Ht(Nn,y),z.catchClause&&(y=Ur(oa),oa=tn(),Ht(oa,y),k=oa,Bn(z.catchClause),Ht(Nn,y)),R=Ue,k=wt,z.finallyBlock){const Ao=tn();Ao.antecedent=co(co(Nn.antecedent,oa.antecedent),To.antecedent),y=Ao,Bn(z.finallyBlock),y.flags&1?y=de:(R&&To.antecedent&&Ht(R,Ri(Ao,To.antecedent,y)),k&&oa.antecedent&&Ht(k,Ri(Ao,oa.antecedent,y)),y=Nn.antecedent?Ri(Ao,Nn.antecedent,y):de)}else y=Ur(Nn)}function dt(z){const Ue=tn();Bn(z.expression);const wt=E,Nn=F;E=Ue,F=y,Bn(z.caseBlock),Ht(Ue,y);const To=Xe(z.caseBlock.clauses,oa=>oa.kind===298);z.possiblyExhaustive=!To&&!Ue.antecedent,To||Ht(Ue,go(F,z,0,0)),E=wt,F=Nn,y=Ur(Ue)}function Lt(z){const Ue=z.clauses,wt=z.parent.expression.kind===112||Be(z.parent.expression);let Nn=de;for(let To=0;To<Ue.length;To++){const oa=To;for(;!Ue[To].statements.length&&To+1<Ue.length;)Nn===de&&(y=F),Bn(Ue[To]),To++;const Ao=tn();Ht(Ao,wt?go(F,z.parent,oa,To+1):F),Ht(Ao,Nn),y=Ur(Ao);const Uo=Ue[To];Bn(Uo),Nn=y,!(y.flags&1)&&To!==Ue.length-1&&t.noFallthroughCasesInSwitch&&(Uo.fallthroughFlowNode=y)}}function He(z){const Ue=y;y=F,Bn(z.expression),y=Ue,_e(z.statements)}function Ct(z){Bn(z.expression),Nt(z.expression)}function Nt(z){if(z.kind===214){const Ue=z;Ue.expression.kind!==108&&Fk(Ue.expression)&&(y=Cr(y,Ue))}}function Wt(z){const Ue=tn();O={next:O,name:z.label.escapedText,breakTarget:Ue,continueTarget:void 0,referenced:!1},Bn(z.label),Bn(z.statement),!O.referenced&&!t.allowUnusedLabels&&dr(Ere(t),z.label,f.Unused_label),O=O.next,Ht(Ue,y),y=Ur(Ue)}function rt(z){z.kind===227&&z.operatorToken.kind===64?Zt(z.left):Zt(z)}function Zt(z){if(ot(z))y=Ci(16,y,z);else if(z.kind===210)for(const Ue of z.elements)Ue.kind===231?Zt(Ue.expression):rt(Ue);else if(z.kind===211)for(const Ue of z.properties)Ue.kind===304?rt(Ue.initializer):Ue.kind===305?Zt(Ue.name):Ue.kind===306&&Zt(Ue.expression)}function Rr(z,Ue,wt){const Nn=tn();z.operatorToken.kind===56||z.operatorToken.kind===77?di(z.left,Nn,wt):di(z.left,Ue,Nn),y=Ur(Nn),Bn(z.operatorToken),fM(z.operatorToken.kind)?(oi(Bn,z.right,Ue,wt),Zt(z.left),Ht(Ue,Qr(32,y,z)),Ht(wt,Qr(64,y,z))):di(z.right,Ue,wt)}function Oe(z){if(z.operator===54){const Ue=N;N=M,M=Ue,Ve(z),M=N,N=Ue}else Ve(z),(z.operator===46||z.operator===47)&&Zt(z.operand)}function At(z){Ve(z),(z.operator===46||z.operator===47)&&Zt(z.operand)}function ye(z){he?(he=!1,Bn(z.operatorToken),Bn(z.right),he=!0,Bn(z.left)):(he=!0,Bn(z.left),he=!1,Bn(z.operatorToken),Bn(z.right)),Zt(z.left)}function B(){return W4(z,Ue,wt,Nn,To,void 0);function z(Ao,Uo){if(Uo){Uo.stackIndex++,ps(Ao,i);const Pa=J;Ca(Ao);const cd=i;i=Ao,Uo.skip=!1,Uo.inStrictModeStack[Uo.stackIndex]=Pa,Uo.parentStack[Uo.stackIndex]=cd}else Uo={stackIndex:0,skip:!1,inStrictModeStack:[void 0],parentStack:[void 0]};const bl=Ao.operatorToken.kind;if(x6(bl)||fM(bl)){if(pr(Ao)){const Pa=tn(),cd=y,Jp=K;K=!1,Rr(Ao,Pa,Pa),y=K?Ur(Pa):cd,K||(K=Jp)}else Rr(Ao,N,M);Uo.skip=!0}return Uo}function Ue(Ao,Uo,bl){if(!Uo.skip){const Pa=oa(Ao);return bl.operatorToken.kind===28&&Nt(Ao),Pa}}function wt(Ao,Uo,bl){Uo.skip||Bn(Ao)}function Nn(Ao,Uo,bl){if(!Uo.skip){const Pa=oa(Ao);return bl.operatorToken.kind===28&&Nt(Ao),Pa}}function To(Ao,Uo){if(!Uo.skip){const cd=Ao.operatorToken.kind;if(py(cd)&&!Ib(Ao)&&(Zt(Ao.left),cd===64&&Ao.left.kind===213)){const Jp=Ao.left;gt(Jp.expression)&&(y=Ci(256,y,Ao))}}const bl=Uo.inStrictModeStack[Uo.stackIndex],Pa=Uo.parentStack[Uo.stackIndex];bl!==void 0&&(J=bl),Pa!==void 0&&(i=Pa),Uo.skip=!1,Uo.stackIndex--}function oa(Ao){if(Ao&&Nr(Ao)&&!sv(Ao))return Ao;Bn(Ao)}}function xe(z){Ve(z),z.expression.kind===212&&Zt(z.expression)}function te(z){const Ue=tn(),wt=tn(),Nn=tn(),To=y,oa=K;K=!1,di(z.condition,Ue,wt),y=Ur(Ue),j&&(z.flowNodeWhenTrue=y),Bn(z.questionToken),Bn(z.whenTrue),Ht(Nn,y),y=Ur(wt),j&&(z.flowNodeWhenFalse=y),Bn(z.colonToken),Bn(z.whenFalse),Ht(Nn,y),y=K?Ur(Nn):To,K||(K=oa)}function xt(z){const Ue=qc(z)?void 0:z.name;if(na(Ue))for(const wt of Ue.elements)xt(wt);else y=Ci(16,y,z)}function $t(z){Ve(z),(z.initializer||ZE(z.parent.parent))&&xt(z)}function Pe(z){Bn(z.dotDotDotToken),Bn(z.propertyName),jt(z.initializer),Bn(z.name)}function yt(z){_e(z.modifiers),Bn(z.dotDotDotToken),Bn(z.questionToken),Bn(z.type),jt(z.initializer),Bn(z.name)}function jt(z){if(!z)return;const Ue=y;if(Bn(z),Ue===de||Ue===y)return;const wt=tn();Ht(wt,Ue),Ht(wt,y),y=Ur(wt)}function or(z){Bn(z.tagName),z.kind!==341&&z.fullName&&(ps(z.fullName,z),J0(z.fullName,!1)),typeof z.comment!="string"&&_e(z.comment)}function $n(z){Ve(z);const Ue=G0(z);Ue&&Ue.kind!==175&&be(Ue.symbol,Ue,32)}function fr(z){Bn(z.tagName),Bn(z.moduleSpecifier),Bn(z.attributes),typeof z.comment!="string"&&_e(z.comment)}function vt(z,Ue,wt){oi(Bn,z,Ue,wt),(!tu(z)||kN(z))&&(Ht(Ue,Qr(32,y,z)),Ht(wt,Qr(64,y,z)))}function Rt(z){switch(z.kind){case 212:Bn(z.questionDotToken),Bn(z.name);break;case 213:Bn(z.questionDotToken),Bn(z.argumentExpression);break;case 214:Bn(z.questionDotToken),_e(z.typeArguments),_e(z.arguments);break}}function zt(z,Ue,wt){const Nn=LN(z)?tn():void 0;vt(z.expression,Nn||Ue,wt),Nn&&(y=Ur(Nn)),oi(Rt,z,Ue,wt),kN(z)&&(Ht(Ue,Qr(32,y,z)),Ht(wt,Qr(64,y,z)))}function Yt(z){if(pr(z)){const Ue=tn(),wt=y,Nn=K;zt(z,Ue,Ue),y=K?Ur(Ue):wt,K||(K=Nn)}else zt(z,N,M)}function An(z){tu(z)?Yt(z):Ve(z)}function vn(z){tu(z)?Yt(z):Ve(z)}function Ft(z){if(tu(z))Yt(z);else{const Ue=us(z.expression);Ue.kind===219||Ue.kind===220?(_e(z.typeArguments),_e(z.arguments),Bn(z.expression)):(Ve(z),z.expression.kind===108&&(y=Cr(y,z)))}if(z.expression.kind===212){const Ue=z.expression;Je(Ue.name)&>(Ue.expression)&&tV(Ue.name)&&(y=Ci(256,y,z))}}function bn(z){u&&(u.nextContainer=z),u=z}function Pr(z,Ue,wt){switch(o.kind){case 268:return ze(z,Ue,wt);case 308:return kt(z,Ue,wt);case 232:case 264:return tr(z,Ue,wt);case 267:return Ne(o.symbol.exports,o.symbol,z,Ue,wt);case 188:case 323:case 211:case 265:case 293:return Ne(o.symbol.members,o.symbol,z,Ue,wt);case 185:case 186:case 180:case 181:case 324:case 182:case 175:case 174:case 177:case 178:case 179:case 263:case 219:case 220:case 318:case 176:case 266:case 201:return o.locals&&C.assertNode(o,k_),Ne(o.locals,void 0,z,Ue,wt)}}function tr(z,Ue,wt){return ha(z)?Ne(o.symbol.exports,o.symbol,z,Ue,wt):Ne(o.symbol.members,o.symbol,z,Ue,wt)}function kt(z,Ue,wt){return Wc(e)?ze(z,Ue,wt):Ne(e.locals,void 0,z,Ue,wt)}function ti(z){const Ue=Qi(z)?z:ii(z.body,a_);return!!Ue&&Ue.statements.some(wt=>fc(wt)||fl(wt))}function ea(z){z.flags&33554432&&!ti(z)?z.flags|=128:z.flags&=-129}function wo(z){if(ea(z),vu(z))if(fi(z,32)&&fn(z,f.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible),IG(z))vo(z);else{let Ue;if(z.name.kind===11){const{text:Nn}=z.name;Ue=kI(Nn),Ue===void 0&&fn(z.name,f.Pattern_0_can_have_at_most_one_Asterisk_character,Nn)}const wt=Pr(z,512,110735);e.patternAmbientModules=jn(e.patternAmbientModules,Ue&&!jo(Ue)?{pattern:Ue,symbol:wt}:void 0)}else{const Ue=vo(z);if(Ue!==0){const{symbol:wt}=z;wt.constEnumOnlyModule=!(wt.flags&304)&&Ue===2&&wt.constEnumOnlyModule!==!1}}}function vo(z){const Ue=vy(z),wt=Ue!==0;return Pr(z,wt?512:1024,wt?110735:0),Ue}function fs(z){const Ue=je(131072,ee(z));be(Ue,z,131072);const wt=je(2048,"__type");be(wt,z,2048),wt.members=ma(),wt.members.set(Ue.escapedName,Ue)}function xs(z){return zo(z,4096,"__object")}function ms(z){return zo(z,4096,"__jsxAttributes")}function ro(z,Ue,wt){return Pr(z,Ue,wt)}function zo(z,Ue,wt){const Nn=je(Ue,wt);return Ue&106508&&(Nn.parent=o.symbol),be(Nn,z,Ue),Nn}function bc(z,Ue,wt){switch(l.kind){case 268:ze(z,Ue,wt);break;case 308:if(wp(o)){ze(z,Ue,wt);break}default:C.assertNode(l,k_),l.locals||(l.locals=ma(),bn(l)),Ne(l.locals,void 0,z,Ue,wt)}}function tl(){if(!d)return;const z=o,Ue=u,wt=l,Nn=i,To=y;for(const oa of d){const Ao=oa.parent.parent;o=VF(Ao)||e,l=sh(Ao)||e,y=U_(2,void 0,void 0),i=oa,Bn(oa.typeExpression);const Uo=Fo(oa);if((bw(oa)||!oa.fullName)&&Uo&&zk(Uo.parent)){const bl=Yf(Uo.parent);if(bl){qp(e.symbol,Uo.parent,bl,!!Rn(Uo,cd=>Jr(cd)&&cd.name.escapedText==="prototype"),!1);const Pa=o;switch(vk(Uo.parent)){case 1:case 2:wp(e)?o=e:o=void 0;break;case 4:o=Uo.parent.expression;break;case 3:o=Uo.parent.expression.name;break;case 5:o=JS(e,Uo.parent.expression)?e:Jr(Uo.parent.expression)?Uo.parent.expression.name:Uo.parent.expression;break;case 0:return C.fail("Shouldn't have detected typedef or enum on non-assignment declaration")}o&&ze(oa,524288,788968),o=Pa}}else bw(oa)||!oa.fullName||oa.fullName.kind===80?(i=oa.parent,bc(oa,524288,788968)):Bn(oa.fullName)}o=z,u=Ue,l=wt,i=Nn,y=To}function Ma(){if(m===void 0)return;const z=o,Ue=u,wt=l,Nn=i,To=y;for(const oa of m){const Ao=IS(oa),Uo=Ao?VF(Ao):void 0,bl=Ao?sh(Ao):void 0;o=Uo||e,l=bl||e,y=U_(2,void 0,void 0),i=oa,Bn(oa.importClause)}o=z,u=Ue,l=wt,i=Nn,y=To}function tc(z){if(!e.parseDiagnostics.length&&!(z.flags&33554432)&&!(z.flags&16777216)&&!Lne(z)){const Ue=KE(z);if(Ue===void 0)return;J&&Ue>=119&&Ue<=127?e.bindDiagnostics.push(Re(z,Tf(z),Fs(z))):Ue===135?Wc(e)&&QF(z)?e.bindDiagnostics.push(Re(z,f.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,Fs(z))):z.flags&65536&&e.bindDiagnostics.push(Re(z,f.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,Fs(z))):Ue===127&&z.flags&16384&&e.bindDiagnostics.push(Re(z,f.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,Fs(z)))}}function Tf(z){return hd(z)?f.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:e.externalModuleIndicator?f.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:f.Identifier_expected_0_is_a_reserved_word_in_strict_mode}function Oo(z){z.escapedText==="#constructor"&&(e.parseDiagnostics.length||e.bindDiagnostics.push(Re(z,f.constructor_is_a_reserved_word,Fs(z))))}function ga(z){J&&Zu(z.left)&&py(z.operatorToken.kind)&&Ds(z,z.left)}function is(z){J&&z.variableDeclaration&&Ds(z,z.variableDeclaration.name)}function Ja(z){if(J&&z.expression.kind===80){const Ue=n1(e,z.expression);e.bindDiagnostics.push(kc(e,Ue.start,Ue.length,f.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function nn(z){return Je(z)&&(z.escapedText==="eval"||z.escapedText==="arguments")}function Ds(z,Ue){if(Ue&&Ue.kind===80){const wt=Ue;if(nn(wt)){const Nn=n1(e,Ue);e.bindDiagnostics.push(kc(e,Nn.start,Nn.length,ql(z),Yr(wt)))}}}function ql(z){return hd(z)?f.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?f.Invalid_use_of_0_Modules_are_automatically_in_strict_mode:f.Invalid_use_of_0_in_strict_mode}function lc(z){J&&!(z.flags&33554432)&&Ds(z,z.name)}function vd(z){return hd(z)?f.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definitions_are_automatically_in_strict_mode:e.externalModuleIndicator?f.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_automatically_in_strict_mode:f.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5}function Gs(z){if(r<2&&l.kind!==308&&l.kind!==268&&!VR(l)){const Ue=n1(e,z);e.bindDiagnostics.push(kc(e,Ue.start,Ue.length,vd(z)))}}function Ie(z){J&&Ds(z,z.operand)}function Y(z){J&&(z.operator===46||z.operator===47)&&Ds(z,z.operand)}function ut(z){J&&fn(z,f.with_statements_are_not_allowed_in_strict_mode)}function Jt(z){J&&Va(t)>=2&&(Cte(z.statement)||sc(z.statement))&&fn(z.label,f.A_label_is_not_allowed_here)}function fn(z,Ue,...wt){const Nn=Kh(e,z.pos);e.bindDiagnostics.push(kc(e,Nn.start,Nn.length,Ue,...wt))}function dr(z,Ue,wt){si(z,Ue,Ue,wt)}function si(z,Ue,wt,Nn){xr(z,{pos:Tb(Ue,e),end:wt.end},Nn)}function xr(z,Ue,wt){const Nn=kc(e,Ue.pos,Ue.end-Ue.pos,wt);z?e.bindDiagnostics.push(Nn):e.bindSuggestionDiagnostics=jn(e.bindSuggestionDiagnostics,{...Nn,category:2})}function Bn(z){if(!z)return;ps(z,i),Ar&&(z.tracingPath=e.path);const Ue=J;if(Ca(z),z.kind>166){const wt=i;i=z;const Nn=wU(z);Nn===0?Ge(z):le(z,Nn),i=wt}else{const wt=i;z.kind===1&&(i=z),Zi(z),i=wt}J=Ue}function Zi(z){if(nf(z))if(Er(z))for(const Ue of z.jsDoc)Bn(Ue);else for(const Ue of z.jsDoc)ps(Ue,z),J0(Ue,!1)}function Xi(z){if(!J)for(const Ue of z){if(!Xh(Ue))return;if(bs(Ue)){J=!0;return}}}function bs(z){const Ue=vS(e,z.expression);return Ue==='"use strict"'||Ue==="'use strict'"}function Ca(z){switch(z.kind){case 80:if(z.flags&4096){let Ao=z.parent;for(;Ao&&!vm(Ao);)Ao=Ao.parent;bc(Ao,524288,788968);break}case 110:return y&&(Et(z)||i.kind===305)&&(z.flowNode=y),tc(z);case 167:y&&n6(z)&&(z.flowNode=y);break;case 237:case 108:z.flowNode=y;break;case 81:return Oo(z);case 212:case 213:const Ue=z;y&&ot(Ue)&&(Ue.flowNode=y),Ane(Ue)&&Nc(Ue),Er(Ue)&&e.commonJsModuleIndicator&&Tg(Ue)&&!u3(l,"module")&&Ne(e.locals,void 0,Ue.expression,134217729,111550);break;case 227:switch(ac(z)){case 1:Xt(z);break;case 2:Qn(z);break;case 3:Jl(z.left,z);break;case 6:sl(z);break;case 4:es(z);break;case 5:const Ao=z.left.expression;if(Er(z)&&Je(Ao)){const Uo=u3(l,Ao.escapedText);if(ZF(Uo==null?void 0:Uo.valueDeclaration)){es(z);break}}bd(z);break;case 0:break;default:C.fail("Unknown binary expression special property assignment kind")}return ga(z);case 300:return is(z);case 221:return Ja(z);case 226:return Ie(z);case 225:return Y(z);case 255:return ut(z);case 257:return Jt(z);case 198:_=!0;return;case 183:break;case 169:return ri(z);case 170:return pt(z);case 261:return oe(z);case 209:return z.flowNode=y,oe(z);case 173:case 172:return ml(z);case 304:case 305:return wn(z,4,0);case 307:return wn(z,8,900095);case 180:case 181:case 182:return Pr(z,131072,0);case 175:case 174:return wn(z,8192|(z.questionToken?16777216:0),ym(z)?0:103359);case 263:return rn(z);case 177:return Pr(z,16384,0);case 178:return wn(z,32768,46015);case 179:return wn(z,65536,78783);case 185:case 318:case 324:case 186:return fs(z);case 188:case 323:case 201:return Cc(z);case 333:return $n(z);case 211:return xs(z);case 219:case 220:return cn(z);case 214:switch(ac(z)){case 7:return of(z);case 8:return Fe(z);case 9:return wl(z);case 0:break;default:return C.fail("Unknown call expression assignment declaration kind")}Er(z)&&vh(z);break;case 232:case 264:return J=!0,Sf(z);case 265:return bc(z,64,788872);case 266:return bc(z,524288,788968);case 267:return g_(z);case 268:return wo(z);case 293:return ms(z);case 292:return ro(z,4,0);case 272:case 275:case 277:case 282:return Pr(z,2097152,2097152);case 271:return Iu(z);case 274:return qd(z);case 279:return xu(z);case 278:return al(z);case 308:return Xi(z.statements),zc();case 242:if(!VR(z.parent))return;case 269:return Xi(z.statements);case 342:if(z.parent.kind===324)return pt(z);if(z.parent.kind!==323)break;case 349:const To=z,oa=To.isBracketed||To.typeExpression&&To.typeExpression.type.kind===317?16777220:4;return Pr(To,oa,0);case 347:case 339:case 341:return(d||(d=[])).push(z);case 340:return Bn(z.typeExpression);case 352:return(m||(m=[])).push(z)}}function ml(z){const Ue=Qu(z),wt=Ue?98304:4,Nn=Ue?13247:0;return wn(z,wt|(z.questionToken?16777216:0),Nn)}function Cc(z){return zo(z,2048,"__type")}function zc(){if(ea(e),Wc(e))ol();else if(zf(e)){ol();const z=e.symbol;Ne(e.symbol.exports,e.symbol,e,4,-1),e.symbol=z}}function ol(){zo(e,512,'"'.concat(Su(e.fileName),'"'))}function al(z){if(!o.symbol||!o.symbol.exports)zo(z,111551,ee(z));else{const Ue=Dk(z)?2097152:4,wt=Ne(o.symbol.exports,o.symbol,z,Ue,-1);z.isExportEquals&&eM(wt,z)}}function Iu(z){bt(z.modifiers)&&e.bindDiagnostics.push(Re(z,f.Modifiers_cannot_appear_here));const Ue=Qi(z.parent)?Wc(z.parent)?z.parent.isDeclarationFile?void 0:f.Global_module_exports_may_only_appear_in_declaration_files:f.Global_module_exports_may_only_appear_in_module_files:f.Global_module_exports_may_only_appear_at_top_level;Ue?e.bindDiagnostics.push(Re(z,Ue)):(e.symbol.globalExports=e.symbol.globalExports||ma(),Ne(e.symbol.globalExports,e.symbol,z,2097152,2097152))}function xu(z){!o.symbol||!o.symbol.exports?zo(z,8388608,ee(z)):z.exportClause?V_(z.exportClause)&&(ps(z.exportClause,z),Ne(o.symbol.exports,o.symbol,z.exportClause,2097152,2097152)):Ne(o.symbol.exports,o.symbol,z,8388608,0)}function qd(z){z.name&&Pr(z,2097152,2097152)}function du(z){return e.externalModuleIndicator&&e.externalModuleIndicator!==!0?!1:(e.commonJsModuleIndicator||(e.commonJsModuleIndicator=z,e.externalModuleIndicator||ol()),!0)}function Fe(z){if(!du(z))return;const Ue=Kc(z.arguments[0],void 0,(wt,Nn)=>(Nn&&be(Nn,wt,67110400),Nn));Ue&&Ne(Ue.exports,Ue,z,1048580,0)}function Xt(z){if(!du(z))return;const Ue=Kc(z.left.expression,void 0,(wt,Nn)=>(Nn&&be(Nn,wt,67110400),Nn));if(Ue){const Nn=d6(z.right)&&(o1(z.left.expression)||Tg(z.left.expression))?2097152:1048580;ps(z.left,z),Ne(Ue.exports,Ue,z.left,Nn,0)}}function Qn(z){if(!du(z))return;const Ue=gk(z.right);if(EV(Ue)||o===e&&JS(e,Ue))return;if(za(Ue)&&Gn(Ue.properties,Ud)){Xe(Ue.properties,bo);return}const wt=Dk(z)?2097152:1049092,Nn=Ne(e.symbol.exports,e.symbol,z,wt|67108864,0);eM(Nn,z)}function bo(z){Ne(e.symbol.exports,e.symbol,z,69206016,0)}function es(z){if(C.assert(Er(z)),Nr(z)&&Jr(z.left)&&to(z.left.name)||Jr(z)&&to(z.name))return;const wt=bu(z,!1,!1);switch(wt.kind){case 263:case 219:let Nn=wt.symbol;if(Nr(wt.parent)&&wt.parent.operatorToken.kind===64){const Ao=wt.parent.left;AS(Ao)&&Db(Ao.expression)&&(Nn=sp(Ao.expression.expression,s))}Nn&&Nn.valueDeclaration&&(Nn.members=Nn.members||ma(),dy(z)?ts(z,Nn,Nn.members):Ne(Nn.members,Nn,z,67108868,0),be(Nn,Nn.valueDeclaration,32));break;case 177:case 173:case 175:case 178:case 179:case 176:const To=wt.parent,oa=ha(wt)?To.symbol.exports:To.symbol.members;dy(z)?ts(z,To.symbol,oa):Ne(oa,To.symbol,z,67108868,0,!0);break;case 308:if(dy(z))break;wt.commonJsModuleIndicator?Ne(wt.symbol.exports,wt.symbol,z,1048580,0):Pr(z,1,111550);break;case 268:break;default:C.failBadSyntaxKind(wt)}}function ts(z,Ue,wt){Ne(wt,Ue,z,4,0,!0,!0),ja(z,Ue)}function ja(z,Ue){Ue&&(Ue.assignmentDeclarationMembers||(Ue.assignmentDeclarationMembers=new Map)).set(ls(z),z)}function Nc(z){z.expression.kind===110?es(z):AS(z)&&z.parent.parent.kind===308&&(Db(z.expression)?Jl(z,z.parent):ld(z))}function sl(z){ps(z.left,z),ps(z.right,z),J_(z.left.expression,z.left,!1,!0)}function wl(z){const Ue=sp(z.arguments[0].expression);Ue&&Ue.valueDeclaration&&be(Ue,Ue.valueDeclaration,32),Ru(z,Ue,!0)}function Jl(z,Ue){const wt=z.expression,Nn=wt.expression;ps(Nn,wt),ps(wt,z),ps(z,Ue),J_(Nn,z,!0,!0)}function of(z){let Ue=sp(z.arguments[0]);const wt=z.parent.parent.kind===308;Ue=qp(Ue,z.arguments[0],wt,!1,!1),Ru(z,Ue,!1)}function bd(z){var Ue;const wt=sp(z.left.expression,l)||sp(z.left.expression,o);if(!Er(z)&&!Ine(wt))return;const Nn=pD(z.left);if(!(Je(Nn)&&((Ue=u3(o,Nn.escapedText))==null?void 0:Ue.flags)&2097152))if(ps(z.left,z),ps(z.right,z),Je(z.left.expression)&&o===e&&JS(e,z.left.expression))Xt(z);else if(dy(z)){zo(z,67108868,"__computed");const To=qp(wt,z.left.expression,Yf(z.left),!1,!1);ja(z,To)}else ld(va(z.left,s1))}function ld(z){C.assert(!Je(z)),ps(z.expression,z),J_(z.expression,z,!1,!1)}function qp(z,Ue,wt,Nn,To){return(z==null?void 0:z.flags)&2097152||(wt&&!Nn&&(z=Kc(Ue,z,(Uo,bl,Pa)=>{if(bl)return be(bl,Uo,67110400),bl;{const cd=Pa?Pa.exports:e.jsGlobalAugmentations||(e.jsGlobalAugmentations=ma());return Ne(cd,Pa,Uo,67110400,110735)}})),To&&z&&z.valueDeclaration&&be(z,z.valueDeclaration,32)),z}function Ru(z,Ue,wt){if(!Ue||!Lg(Ue))return;const Nn=wt?Ue.members||(Ue.members=ma()):Ue.exports||(Ue.exports=ma());let To=0,oa=0;ks(gI(z))?(To=8192,oa=103359):ra(z)&&a1(z)&&(bt(z.arguments[2].properties,Ao=>{const Uo=Fo(Ao);return!!Uo&&Je(Uo)&&Yr(Uo)==="set"})&&(To|=65540,oa|=78783),bt(z.arguments[2].properties,Ao=>{const Uo=Fo(Ao);return!!Uo&&Je(Uo)&&Yr(Uo)==="get"})&&(To|=32772,oa|=46015)),To===0&&(To=4,oa=0),Ne(Nn,Ue,z,To|67108864,oa&-67108865)}function Yf(z){return Nr(z.parent)?kg(z.parent).parent.kind===308:z.parent.parent.kind===308}function J_(z,Ue,wt,Nn){let To=sp(z,l)||sp(z,o);const oa=Yf(Ue);To=qp(To,Ue.expression,oa,wt,Nn),Ru(Ue,To,wt)}function Lg(z){if(z.flags&1072)return!0;const Ue=z.valueDeclaration;if(Ue&&ra(Ue))return!!gI(Ue);let wt=Ue?bi(Ue)?Ue.initializer:Nr(Ue)?Ue.right:Jr(Ue)&&Nr(Ue.parent)?Ue.parent.right:void 0:void 0;if(wt=wt&&gk(wt),wt){const Nn=Db(bi(Ue)?Ue.name:Nr(Ue)?Ue.left:Ue);return!!B0(Nr(wt)&&(wt.operatorToken.kind===57||wt.operatorToken.kind===61)?wt.right:wt,Nn)}return!1}function kg(z){for(;Nr(z.parent);)z=z.parent;return z.parent}function sp(z,Ue=o){if(Je(z))return u3(Ue,z.escapedText);{const wt=sp(z.expression);return wt&&wt.exports&&wt.exports.get(cy(z))}}function Kc(z,Ue,wt){if(JS(e,z))return e.symbol;if(Je(z))return wt(z,sp(z),Ue);{const Nn=Kc(z.expression,Ue,wt),To=yk(z);return to(To)&&C.fail("unexpected PrivateIdentifier"),wt(To,Nn&&Nn.exports&&Nn.exports.get(cy(z)),Nn)}}function vh(z){!e.commonJsModuleIndicator&&tp(z,!1)&&du(z)}function Sf(z){if(z.kind===264)bc(z,32,899503);else{const To=z.name?z.name.escapedText:"__class";zo(z,32,To),z.name&&ue.add(z.name.escapedText)}const{symbol:Ue}=z,wt=je(4194308,"prototype"),Nn=Ue.exports.get(wt.escapedName);Nn&&(z.name&&ps(z.name,z),e.bindDiagnostics.push(Re(Nn.declarations[0],f.Duplicate_identifier_0,Ol(wt)))),Ue.exports.set(wt.escapedName,wt),wt.parent=Ue}function g_(z){return W0(z)?bc(z,128,899967):bc(z,256,899327)}function oe(z){if(J&&Ds(z,z.name),!na(z.name)){const Ue=z.kind===261?z:z.parent.parent;Er(z)&&ES(Ue)&&!k0(z)&&!(L0(z)&32)?Pr(z,2097152,2097152):SG(z)?bc(z,2,111551):U0(z)?Pr(z,1,111551):Pr(z,1,111550)}}function pt(z){if(!(z.kind===342&&o.kind!==324)&&(J&&!(z.flags&33554432)&&Ds(z,z.name),na(z.name)?zo(z,1,"__"+z.parent.parameters.indexOf(z)):Pr(z,1,111551),Lp(z,z.parent))){const Ue=z.parent.parent;Ne(Ue.symbol.members,Ue.symbol,z,4|(z.questionToken?16777216:0),0)}}function rn(z){!e.isDeclarationFile&&!(z.flags&33554432)&&aM(z)&&(Q|=4096),lc(z),J?(Gs(z),bc(z,16,110991)):Pr(z,16,110991)}function cn(z){!e.isDeclarationFile&&!(z.flags&33554432)&&aM(z)&&(Q|=4096),y&&(z.flowNode=y),lc(z);const Ue=z.name?z.name.escapedText:"__function";return zo(z,16,Ue)}function wn(z,Ue,wt){return!e.isDeclarationFile&&!(z.flags&33554432)&&aM(z)&&(Q|=4096),y&&KF(z)&&(z.flowNode=y),dy(z)?zo(z,Ue,"__computed"):Pr(z,Ue,wt)}function ar(z){const Ue=Rn(z,wt=>wt.parent&&zS(wt.parent)&&wt.parent.extendsType===wt);return Ue&&Ue.parent}function ri(z){var Ue,wt;if(Am(z.parent)){const Nn=c6(z.parent);Nn?(C.assertNode(Nn,k_),(Ue=Nn.locals)!=null||(Nn.locals=ma()),Ne(Nn.locals,void 0,z,262144,526824)):Pr(z,262144,526824)}else if(z.parent.kind===196){const Nn=ar(z.parent);Nn?(C.assertNode(Nn,k_),(wt=Nn.locals)!=null||(Nn.locals=ma()),Ne(Nn.locals,void 0,z,262144,526824)):zo(z,262144,ee(z))}else Pr(z,262144,526824)}function Si(z){const Ue=vy(z);return Ue===1||Ue===2&&Cb(t)}function eo(z){if(!(y.flags&1))return!1;if(y===de&&(J2(z)&&z.kind!==243||z.kind===264||B1e(z,t)||z.kind===268&&Si(z))&&(y=ge,!t.allowUnreachableCode)){const wt=Sre(t)&&!(z.flags&33554432)&&(!sc(z)||!!(ay(z.declarationList)&7)||z.declarationList.declarations.some(Nn=>!!Nn.initializer));hHe(z,t,(Nn,To)=>si(wt,Nn,To,f.Unreachable_code_detected))}return!0}}function B1e(e,t){return e.kind===267&&(!W0(e)||Cb(t))}function hHe(e,t,r){if(Gi(e)&&i(e)&&ia(e.parent)){const{statements:s}=e.parent,l=KV(s,e);jB(l,i,(u,d)=>r(l[u],l[d-1]))}else r(e,e);function i(s){return!ec(s)&&!o(s)&&!(sc(s)&&!(ay(s)&7)&&s.declarationList.declarations.some(l=>!l.initializer))}function o(s){switch(s.kind){case 265:case 266:return!0;case 268:return vy(s)!==1;case 267:return!B1e(s,t);default:return!1}}}function JS(e,t){let r=0;const i=g2();for(i.enqueue(t);!i.isEmpty()&&r<100;){if(r++,t=i.dequeue(),o1(t)||Tg(t))return!0;if(Je(t)){const o=u3(e,t.escapedText);if(o&&o.valueDeclaration&&bi(o.valueDeclaration)&&o.valueDeclaration.initializer){const s=o.valueDeclaration.initializer;i.enqueue(s),id(s,!0)&&(i.enqueue(s.left),i.enqueue(s.right))}}}return!1}function wU(e){switch(e.kind){case 232:case 264:case 267:case 211:case 188:case 323:case 293:return 1;case 265:return 65;case 268:case 266:case 201:case 182:return 33;case 308:return 37;case 178:case 179:case 175:if(KF(e))return 173;case 177:case 263:case 174:case 180:case 324:case 318:case 185:case 181:case 186:case 176:return 45;case 352:return 37;case 219:case 220:return 61;case 269:return 4;case 173:return e.initializer?4:0;case 300:case 249:case 250:case 251:case 270:return 34;case 242:return Yo(e.parent)||Zl(e.parent)?0:34}return 0}function u3(e,t){var u;var r,i,o,s;const l=(i=(r=ii(e,k_))==null?void 0:r.locals)==null?void 0:i.get(t);if(l)return(u=l.exportSymbol)!=null?u:l;if(Qi(e)&&e.jsGlobalAugmentations&&e.jsGlobalAugmentations.has(t))return e.jsGlobalAugmentations.get(t);if(ah(e))return(s=(o=e.symbol)==null?void 0:o.exports)==null?void 0:s.get(t)}function hae(e,t,r,i,o,s,l,u,d,_){return m;function m(y=()=>!0){const E=[],A=[];return{walkType:he=>{try{return R(he),{visitedTypes:QA(E),visitedSymbols:QA(A)}}finally{ai(E),ai(A)}},walkSymbol:he=>{try{return J(he),{visitedTypes:QA(E),visitedSymbols:QA(A)}}finally{ai(E),ai(A)}}};function R(he){if(!(!he||E[he.id]||(E[he.id]=he,J(he.symbol)))){if(he.flags&524288){const q=he,ue=q.objectFlags;ue&4&&N(he),ue&32&&G(he),ue&3&&K(he),ue&24&&Q(q)}he.flags&262144&&M(he),he.flags&3145728&&k(he),he.flags&4194304&&F(he),he.flags&8388608&&O(he)}}function N(he){R(he.target),Xe(_(he),R)}function M(he){R(u(he))}function k(he){Xe(he.types,R)}function F(he){R(he.type)}function O(he){R(he.objectType),R(he.indexType),R(he.constraint)}function G(he){R(he.typeParameter),R(he.constraintType),R(he.templateType),R(he.modifiersType)}function j(he){const re=t(he);re&&R(re.type),Xe(he.typeParameters,R);for(const q of he.parameters)J(q);R(e(he)),R(r(he))}function K(he){Q(he),Xe(he.typeParameters,R),Xe(i(he),R),R(he.thisType)}function Q(he){const re=o(he);for(const q of re.indexInfos)R(q.keyType),R(q.type);for(const q of re.callSignatures)j(q);for(const q of re.constructSignatures)j(q);for(const q of re.properties)J(q)}function J(he){if(!he)return!1;const re=Aa(he);if(A[re])return!1;if(A[re]=he,!y(he))return!0;const q=s(he);return R(q),he.exports&&he.exports.forEach(J),Xe(he.declarations,ue=>{if(ue.type&&ue.type.kind===187){const de=ue.type,ge=l(d(de.exprName));J(ge)}}),!1}}}var by={};x(by,{RelativePreference:()=>G1e,countPathComponents:()=>m3,forEachFileNameOfModule:()=>J1e,getLocalModuleSpecifierBetweenFileNames:()=>THe,getModuleSpecifier:()=>yHe,getModuleSpecifierPreferences:()=>Uw,getModuleSpecifiers:()=>U1e,getModuleSpecifiersWithCacheInfo:()=>H1e,getNodeModulesPackageName:()=>vHe,tryGetJSExtensionForFile:()=>WU,tryGetModuleSpecifiersFromCache:()=>bHe,tryGetRealFileNameForNonJsDeclarationFileName:()=>Q1e,updateModuleSpecifier:()=>gHe});var _He=jh(e=>{try{let t=e.indexOf("/");if(t!==0)return new RegExp(e);const r=e.lastIndexOf("/");if(t===r)return new RegExp(e);for(;(t=e.indexOf("/",t+1))!==r;)if(e[t-1]!=="\\")return new RegExp(e);const i=e.substring(r+1).replace(/[^iu]/g,"");return e=e.substring(1,r),new RegExp(e,i)}catch(t){return}}),G1e=(e=>(e[e.Relative=0]="Relative",e[e.NonRelative=1]="NonRelative",e[e.Shortest=2]="Shortest",e[e.ExternalNonRelative=3]="ExternalNonRelative",e))(G1e||{});function Uw({importModuleSpecifierPreference:e,importModuleSpecifierEnding:t,autoImportSpecifierExcludeRegexes:r},i,o,s,l){const u=d();return{excludeRegexes:r,relativePreference:l!==void 0?td(l)?0:1:e==="relative"?0:e==="non-relative"?1:e==="project-relative"?3:2,getAllowedEndingsInPreferredOrder:_=>{const m=FU(s,i,o),y=_!==m?d(_):u,E=iu(o);if((_!=null?_:m)===99&&3<=E&&E<=99)return UD(o,s.fileName)?[3,2]:[2];if(iu(o)===1)return y===2?[2,1]:[1,2];const A=UD(o,s.fileName);switch(y){case 2:return A?[2,3,0,1]:[2,0,1];case 3:return[3,0,2,1];case 1:return A?[1,0,3,2]:[1,0,2];case 0:return A?[0,1,3,2]:[0,1,2];default:C.assertNever(y)}}};function d(_){if(l!==void 0){if(Ig(l))return 2;if(il(l,"/index"))return 1}return wre(t,_!=null?_:FU(s,i,o),o,bg(s)?s:void 0)}}function gHe(e,t,r,i,o,s,l={}){const u=V1e(e,t,r,i,o,Uw({},o,e,t,s),{},l);if(u!==s)return u}function yHe(e,t,r,i,o,s={}){return V1e(e,t,r,i,o,Uw({},o,e,t),{},s)}function vHe(e,t,r,i,o,s={}){const l=f3(t.fileName,i),u=K1e(l,r,i,o,e,s);return Wn(u,d=>yae(d,l,t,i,e,o,!0,s.overrideImportMode))}function V1e(e,t,r,i,o,s,l,u={}){const d=f3(r,o),_=K1e(d,i,o,l,e,u);return Wn(_,m=>yae(m,d,t,o,e,l,void 0,u.overrideImportMode))||_ae(i,d,e,o,u.overrideImportMode||FU(t,o,e),s)}function bHe(e,t,r,i,o={}){const s=j1e(e,t,r,i,o);return s[1]&&{kind:s[0],moduleSpecifiers:s[1],computedWithoutCache:!1}}function j1e(e,t,r,i,o={}){var s;const l=Y2(e);if(!l)return se;const u=(s=r.getModuleSpecifierCache)==null?void 0:s.call(r),d=u==null?void 0:u.get(t.path,l.path,i,o);return[d==null?void 0:d.kind,d==null?void 0:d.moduleSpecifiers,l,d==null?void 0:d.modulePaths,u]}function U1e(e,t,r,i,o,s,l={}){return H1e(e,t,r,i,o,s,l,!1).moduleSpecifiers}function H1e(e,t,r,i,o,s,l={},u){let d=!1;const _=xHe(e,t);if(_)return{kind:"ambient",moduleSpecifiers:u&&p3(_,s.autoImportSpecifierExcludeRegexes)?se:[_],computedWithoutCache:d};let[m,y,E,A,R]=j1e(e,i,o,s,l);if(y)return{kind:m,moduleSpecifiers:y,computedWithoutCache:d};if(!E)return{kind:void 0,moduleSpecifiers:se,computedWithoutCache:d};d=!0,A||(A=X1e(f3(i.fileName,o),E.originalFileName,o,r,l));const N=SHe(A,r,i,o,s,l,u);return R==null||R.set(i.path,E.path,s,l,N.kind,A,N.moduleSpecifiers),N}function THe(e,t,r,i,o,s={}){var d;const l=f3(e.fileName,i),u=(d=s.overrideImportMode)!=null?d:e.impliedNodeFormat;return _ae(t,l,r,i,u,Uw(o,i,r,e))}function SHe(e,t,r,i,o,s={},l){const u=f3(r.fileName,i),d=Uw(o,i,t,r),_=bg(r)&&Xe(e,N=>Xe(i.getFileIncludeReasons().get(Ws(N.path,i.getCurrentDirectory(),u.getCanonicalFileName)),M=>{var G;if(M.kind!==3||M.file!==r.path)return;const k=i.getModeForResolutionAtIndex(r,M.index),F=(G=s.overrideImportMode)!=null?G:i.getDefaultResolutionModeForFile(r);if(k!==F&&k!==void 0&&F!==void 0)return;const O=sO(r,M.index).text;return d.relativePreference!==1||!tf(O)?O:void 0}));if(_)return{kind:void 0,moduleSpecifiers:[_],computedWithoutCache:!0};const m=bt(e,N=>N.isInNodeModules);let y,E,A,R;for(const N of e){const M=N.isInNodeModules?yae(N,u,r,i,t,o,void 0,s.overrideImportMode):void 0;if(M&&!(l&&p3(M,d.excludeRegexes))&&(y=jn(y,M),N.isRedirect))return{kind:"node_modules",moduleSpecifiers:y,computedWithoutCache:!0};const k=_ae(N.path,u,t,i,s.overrideImportMode||r.impliedNodeFormat,d,N.isRedirect||!!M);!k||l&&p3(k,d.excludeRegexes)||(N.isRedirect?A=jn(A,k):L9(k)?Gb(k)?R=jn(R,k):E=jn(E,k):(l||!m||N.isInNodeModules)&&(R=jn(R,k)))}return E!=null&&E.length?{kind:"paths",moduleSpecifiers:E,computedWithoutCache:!0}:A!=null&&A.length?{kind:"redirect",moduleSpecifiers:A,computedWithoutCache:!0}:y!=null&&y.length?{kind:"node_modules",moduleSpecifiers:y,computedWithoutCache:!0}:{kind:"relative",moduleSpecifiers:R!=null?R:se,computedWithoutCache:!0}}function p3(e,t){return bt(t,r=>{var i;return!!((i=_He(r))!=null&&i.test(e))})}function f3(e,t){e=Eo(e,t.getCurrentDirectory());const r=Fd(t.useCaseSensitiveFileNames?t.useCaseSensitiveFileNames():!0),i=pi(e);return{getCanonicalFileName:r,importingSourceFileName:e,sourceDirectory:i,canonicalSourceDirectory:r(i)}}function _ae(e,t,r,i,o,{getAllowedEndingsInPreferredOrder:s,relativePreference:l,excludeRegexes:u},d){const{baseUrl:_,paths:m,rootDirs:y}=r;if(d&&!m)return;const{sourceDirectory:E,canonicalSourceDirectory:A,getCanonicalFileName:R}=t,N=s(o),M=y&&CHe(y,e,E,R,N,r)||Hw(HE(df(E,e,R)),N,r);if(!_&&!m&&!Jk(r)||l===0)return d?void 0:M;const k=Eo(b6(r,i)||_,i.getCurrentDirectory()),F=vae(e,k,R);if(!F)return d?void 0:M;const O=d?void 0:DHe(e,E,r,i,o,MHe(N)),G=d||O===void 0?m&&Y1e(F,m,N,k,R,i,r):void 0;if(d)return G;const j=O!=null?O:G===void 0&&_!==void 0?Hw(F,N,r):G;if(!j)return M;const K=p3(M,u),Q=p3(j,u);if(!K&&Q)return M;if(K&&!Q||l===1&&!tf(j))return j;if(l===3&&!tf(j)){const J=r.configFilePath?Ws(pi(r.configFilePath),i.getCurrentDirectory(),t.getCanonicalFileName):t.getCanonicalFileName(i.getCurrentDirectory()),he=Ws(e,J,R),re=fo(A,J),q=fo(he,J);if(re&&!q||!re&&q)return j;const ue=gae(i,pi(he)),de=gae(i,E),ge=!u1(i);return EHe(ue,de,ge)?M:j}return Z1e(j)||m3(M)<m3(j)?M:j}function EHe(e,t,r){return e===t?!0:e===void 0||t===void 0?!1:iy(e,t,r)===0}function m3(e){let t=0;for(let r=fo(e,"./")?2:0;r<e.length;r++)e.charCodeAt(r)===47&&t++;return t}function q1e(e,t){return M0(t.isRedirect,e.isRedirect)||Zk(e.path,t.path)}function gae(e,t){return e.getNearestAncestorDirectoryWithPackageJson?e.getNearestAncestorDirectoryWithPackageJson(t):j_(e,t,r=>e.fileExists(ei(r,"package.json"))?r:void 0)}function J1e(e,t,r,i,o){var s,l;const u=uy(r),d=r.getCurrentDirectory(),_=r.isSourceOfProjectReferenceRedirect(t)?(s=r.getRedirectFromSourceFile(t))==null?void 0:s.outputDts:void 0,m=Ws(t,d,u),y=r.redirectTargetsMap.get(m)||se,A=[..._?[_]:se,t,...y].map(F=>Eo(F,d));let R=!Gn(A,NM);if(!i){const F=Xe(A,O=>!(R&&NM(O))&&o(O,_===O));if(F)return F}const N=(l=r.getSymlinkCache)==null?void 0:l.call(r).getSymlinkedDirectoriesByRealpath(),M=Eo(t,d);return N&&j_(r,pi(M),F=>{const O=N.get(jc(Ws(F,d,u)));if(O)return O9(e,F,u)?!1:Xe(A,G=>{if(!O9(G,F,u))return;const j=df(F,G,u);for(const K of O){const Q=db(K,j),J=o(Q,G===_);if(R=!0,J)return J}})})||(i?Xe(A,F=>R&&NM(F)?void 0:o(F,F===_)):void 0)}function K1e(e,t,r,i,o,s={}){var l;const u=Ws(e.importingSourceFileName,r.getCurrentDirectory(),uy(r)),d=Ws(t,r.getCurrentDirectory(),uy(r)),_=(l=r.getModuleSpecifierCache)==null?void 0:l.call(r);if(_){const y=_.get(u,d,i,s);if(y!=null&&y.modulePaths)return y.modulePaths}const m=X1e(e,t,r,o,s);return _&&_.setModulePaths(u,d,i,s,m),m}var AHe=["dependencies","peerDependencies","optionalDependencies"];function IHe(e){let t;for(const r of AHe){const i=e[r];i&&typeof i=="object"&&(t=co(t,Vh(i)))}return t}function X1e(e,t,r,i,o){var s,l;const u=(s=r.getModuleResolutionCache)==null?void 0:s.call(r),d=(l=r.getSymlinkCache)==null?void 0:l.call(r);if(u&&d&&r.readFile&&!Gb(e.importingSourceFileName)){C.type(r);const y=oP(u.getPackageJsonInfoCache(),r,{}),E=aP(pi(e.importingSourceFileName),y);if(E){const A=IHe(E.contents.packageJsonContent);for(const R of A||se){const N=P1(R,ei(E.packageDirectory,"package.json"),i,r,u,void 0,o.overrideImportMode);d.setSymlinksFromResolution(N.resolvedModule)}}}const _=new Map;J1e(e.importingSourceFileName,t,r,!0,(y,E)=>{const A=Gb(y);_.set(y,{path:e.getCanonicalFileName(y),isRedirect:E,isInNodeModules:A})});const m=[];for(let y=e.canonicalSourceDirectory;_.size!==0;){const E=jc(y);let A;_.forEach(({path:N,isRedirect:M,isInNodeModules:k},F)=>{fo(N,E)&&((A||(A=[])).push({path:F,isRedirect:M,isInNodeModules:k}),_.delete(F))}),A&&(A.length>1&&A.sort(q1e),m.push(...A));const R=pi(y);if(R===y)break;y=R}if(_.size){const y=Mo(_.entries(),([E,{isRedirect:A,isInNodeModules:R}])=>({path:E,isRedirect:A,isInNodeModules:R}));y.length>1&&y.sort(q1e),m.push(...y)}return m}function xHe(e,t){var r;const i=(r=e.declarations)==null?void 0:r.find(l=>AG(l)&&(!TS(l)||!td(Bf(l.name))));if(i)return i.name.text;const s=Hi(e.declarations,l=>{var u,d,_,m;if(!pc(l))return;const y=N(l);if(!((u=y==null?void 0:y.parent)!=null&&u.parent&&a_(y.parent)&&vu(y.parent.parent)&&Qi(y.parent.parent.parent)))return;const E=(m=(_=(d=y.parent.parent.symbol.exports)==null?void 0:d.get("export="))==null?void 0:_.valueDeclaration)==null?void 0:m.expression;if(!E)return;const A=t.getSymbolAtLocation(E);if(!A)return;if(((A==null?void 0:A.flags)&2097152?t.getAliasedSymbol(A):A)===l.symbol)return y.parent.parent;function N(M){for(;M.flags&8;)M=M.parent;return M}})[0];if(s)return s.name.text}function Y1e(e,t,r,i,o,s,l){var d;for(const _ in t)for(const m of t[_]){const y=Sa(m),E=(d=vae(y,i,o))!=null?d:y,A=E.indexOf("*"),R=r.map(N=>({ending:N,value:Hw(e,[N],l)}));if(xg(E)&&R.push({ending:void 0,value:e}),A!==-1){const N=E.substring(0,A),M=E.substring(A+1);for(const{ending:k,value:F}of R)if(F.length>=N.length+M.length&&fo(F,N)&&il(F,M)&&u({ending:k,value:F})){const O=F.substring(N.length,F.length-M.length);if(!tf(O))return h1(_,O)}}else if(bt(R,N=>N.ending!==0&&E===N.value)||bt(R,N=>N.ending===0&&E===N.value&&u(N)))return _}function u({ending:_,value:m}){return _!==0||m===Hw(e,[_],l,s)}}function h3(e,t,r,i,o,s,l,u,d,_){if(typeof s=="string"){const m=!u1(t),y=()=>t.getCommonSourceDirectory(),E=d&&pH(r,e,m,y),A=d&&uH(r,e,m,y),R=Eo(ei(i,s),void 0),N=m1(r)?Su(r)+WU(r,e):void 0,M=_&&Lre(r);switch(u){case 0:if(N&&iy(N,R,m)===0||iy(r,R,m)===0||E&&iy(E,R,m)===0||A&&iy(A,R,m)===0)return{moduleFileToTry:o};break;case 1:if(M&&hm(r,R,m)){const G=df(R,r,!1);return{moduleFileToTry:Eo(ei(ei(o,s),G),void 0)}}if(N&&hm(R,N,m)){const G=df(R,N,!1);return{moduleFileToTry:Eo(ei(ei(o,s),G),void 0)}}if(!M&&hm(R,r,m)){const G=df(R,r,!1);return{moduleFileToTry:Eo(ei(ei(o,s),G),void 0)}}if(E&&hm(R,E,m)){const G=df(R,E,!1);return{moduleFileToTry:ei(o,G)}}if(A&&hm(R,A,m)){const G=oF(df(R,A,!1),OU(A,e));return{moduleFileToTry:ei(o,G)}}break;case 2:const k=R.indexOf("*"),F=R.slice(0,k),O=R.slice(k+1);if(M&&fo(r,F,m)&&il(r,O,m)){const G=r.slice(F.length,r.length-O.length);return{moduleFileToTry:h1(o,G)}}if(N&&fo(N,F,m)&&il(N,O,m)){const G=N.slice(F.length,N.length-O.length);return{moduleFileToTry:h1(o,G)}}if(!M&&fo(r,F,m)&&il(r,O,m)){const G=r.slice(F.length,r.length-O.length);return{moduleFileToTry:h1(o,G)}}if(E&&fo(E,F,m)&&il(E,O,m)){const G=E.slice(F.length,E.length-O.length);return{moduleFileToTry:h1(o,G)}}if(A&&fo(A,F,m)&&il(A,O,m)){const G=A.slice(F.length,A.length-O.length),j=h1(o,G),K=WU(A,e);return K?{moduleFileToTry:oF(j,K)}:void 0}break}}else{if(Array.isArray(s))return Xe(s,m=>h3(e,t,r,i,o,m,l,u,d,_));if(typeof s=="object"&&s!==null){for(const m of Vh(s))if(m==="default"||l.indexOf(m)>=0||Vw(l,m)){const y=s[m],E=h3(e,t,r,i,o,y,l,u,d,_);if(E)return E}}}}function RHe(e,t,r,i,o,s,l){return typeof s=="object"&&s!==null&&!Array.isArray(s)&&c3(s)?Xe(Vh(s),u=>{const d=Eo(ei(o,u),void 0),_=il(u,"/")?1:u.includes("*")?2:0;return h3(e,t,r,i,d,s[u],l,_,!1,!1)}):h3(e,t,r,i,o,s,l,0,!1,!1)}function DHe(e,t,r,i,o,s){var l,u,d;if(!i.readFile||!Jk(r))return;const _=gae(i,t);if(!_)return;const m=ei(_,"package.json"),y=(u=(l=i.getPackageJsonInfoCache)==null?void 0:l.call(i))==null?void 0:u.getPackageJsonInfo(m);if(Zoe(y)||!i.fileExists(m))return;const E=(y==null?void 0:y.contents.packageJsonContent)||Gk(i.readFile(m)),A=E==null?void 0:E.imports;if(!A)return;const R=Bb(r,o);return(d=Xe(Vh(A),N=>{if(!fo(N,"#")||N==="#"||fo(N,"#/"))return;const M=il(N,"/")?1:N.includes("*")?2:0;return h3(r,i,e,_,N,A[N],R,M,!0,s)}))==null?void 0:d.moduleFileToTry}function CHe(e,t,r,i,o,s){const l=$1e(t,e,i);if(l===void 0)return;const u=$1e(r,e,i),d=Wi(u,m=>Gt(l,y=>HE(df(m,y,i)))),_=t9(d,Zk);if(_)return Hw(_,o,s)}function yae({path:e,isRedirect:t},{getCanonicalFileName:r,canonicalSourceDirectory:i},o,s,l,u,d,_){if(!s.fileExists||!s.readFile)return;const m=n4(e);if(!m)return;const E=Uw(u,s,l,o).getAllowedEndingsInPreferredOrder();let A=e,R=!1;if(!d){let G=m.packageRootIndex,j;for(;;){const{moduleFileToTry:K,packageRootPath:Q,blockedByExports:J,verbatimFromExports:he}=O(G);if(iu(l)!==1){if(J)return;if(he)return K}if(Q){A=Q,R=!0;break}if(j||(j=K),G=e.indexOf($s,G+1),G===-1){A=Hw(j,E,l,s);break}}}if(t&&!R)return;const N=s.getGlobalTypingsCacheLocation&&s.getGlobalTypingsCacheLocation(),M=r(A.substring(0,m.topLevelNodeModulesIndex));if(!(fo(i,M)||N&&fo(r(N),M)))return;const k=A.substring(m.topLevelPackageNameIndex+1),F=sP(k);return iu(l)===1&&F===k?void 0:F;function O(G){var j,K;const Q=e.substring(0,G),J=ei(Q,"package.json");let he=e,re=!1;const q=(K=(j=s.getPackageJsonInfoCache)==null?void 0:j.call(s))==null?void 0:K.getPackageJsonInfo(J);if(o3(q)||q===void 0&&s.fileExists(J)){const ue=(q==null?void 0:q.contents.packageJsonContent)||Gk(s.readFile(J)),de=_||FU(o,s,l);if(qk(l)){const Re=Q.substring(m.topLevelPackageNameIndex+1),$=sP(Re),ve=Bb(l,de),je=ue!=null&&ue.exports?RHe(l,s,e,Q,$,ue.exports,ve):void 0;if(je)return{...je,verbatimFromExports:!0};if(ue!=null&&ue.exports)return{moduleFileToTry:e,blockedByExports:!0}}const ge=ue!=null&&ue.typesVersions?r3(ue.typesVersions):void 0;if(ge){const Re=e.slice(Q.length+1),$=Y1e(Re,ge.paths,E,Q,r,s,l);$===void 0?re=!0:he=ei(Q,$)}const Ae=(ue==null?void 0:ue.typings)||(ue==null?void 0:ue.types)||(ue==null?void 0:ue.main)||"index.js";if(jo(Ae)&&!(re&&JV(tw(ge.paths),Ae))){const Re=Ws(Ae,Q,r),$=r(he);if(Su(Re)===Su($))return{packageRootPath:Q,moduleFileToTry:he};if((ue==null?void 0:ue.type)!=="module"&&!Ql($,$6)&&fo($,Re)&&pi($)===ev(Re)&&Su(Ec($))==="index")return{packageRootPath:Q,moduleFileToTry:he}}}else{const ue=r(he.substring(m.packageRootIndex+1));if(ue==="index.d.ts"||ue==="index.js"||ue==="index.ts"||ue==="index.tsx")return{moduleFileToTry:he,packageRootPath:Q}}return{moduleFileToTry:he}}}function NHe(e,t){if(!e.fileExists)return;const r=Qo(EM({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}]));for(const i of r){const o=t+i;if(e.fileExists(o))return o}}function $1e(e,t,r){return Hi(t,i=>{const o=vae(e,i,r);return o!==void 0&&Z1e(o)?void 0:o})}function Hw(e,t,r,i){if(Ql(e,[".json",".mjs",".cjs"]))return e;const o=Su(e);if(e===o)return e;const s=t.indexOf(2),l=t.indexOf(3);if(Ql(e,[".mts",".cts"])&&l!==-1&&l<s)return e;if(Ql(e,[".d.mts",".mts",".d.cts",".cts"]))return o+OU(e,r);if(!Ql(e,[".d.ts"])&&Ql(e,[".ts"])&&e.includes(".d."))return Q1e(e);switch(t[0]){case 0:const u=CR(o,"/index");return i&&u!==o&&NHe(i,u)?o:u;case 1:return o;case 2:return o+OU(e,r);case 3:if(ad(e)){const d=t.findIndex(_=>_===0||_===1);return d!==-1&&d<s?o:o+OU(e,r)}return e;default:return C.assertNever(t[0])}}function Q1e(e){const t=Ec(e);if(!il(e,".ts")||!t.includes(".d.")||Ql(t,[".d.ts"]))return;const r=ew(e,".ts"),i=r.substring(r.lastIndexOf("."));return r.substring(0,r.indexOf(".d."))+i}function OU(e,t){var r;return(r=WU(e,t))!=null?r:C.fail("Extension ".concat(IM(e)," is unsupported:: FileName:: ").concat(e))}function WU(e,t){const r=xg(e);switch(r){case".ts":case".d.ts":return".js";case".tsx":return t.jsx===1?".jsx":".js";case".js":case".jsx":case".json":return r;case".d.mts":case".mts":case".mjs":return".mjs";case".d.cts":case".cts":case".cjs":return".cjs";default:return}}function vae(e,t,r){const i=kR(t,e,t,r,!1);return Pp(i)?void 0:i}function Z1e(e){return fo(e,"..")}function FU(e,t,r){return bg(e)?t.getDefaultResolutionModeForFile(e):O3(e,r)}function MHe(e){const t=e.indexOf(3);return t>-1&&t<e.indexOf(2)}var bae=/^".+"$/,zU="(anonymous)",eAe=1,tAe=1,nAe=1,rAe=1,BU=(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))(BU||{}),Tae=new Map(Object.entries({string:256,number:512,bigint:1024,boolean:2048,symbol:4096,undefined:524288,object:8192,function:16384})),GU=(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.RestBindingElement=32]="RestBindingElement",e[e.TypeOnly=64]="TypeOnly",e))(GU||{}),VU=(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))(VU||{}),PHe=qW(oAe,kHe),jU=new Map(Object.entries({Uppercase:0,Lowercase:1,Capitalize:2,Uncapitalize:3,NoInfer:4})),iAe=class{};function LHe(){this.flags=0}function ls(e){return e.id||(e.id=tAe,tAe++),e.id}function Aa(e){return e.id||(e.id=eAe,eAe++),e.id}function UU(e,t){const r=vy(e);return r===1||t&&r===2}function Sae(e){var t=[],r=n=>{t.push(n)},i,o,s=xd.getSymbolConstructor(),l=xd.getTypeConstructor(),u=xd.getSignatureConstructor(),d=0,_=0,m=0,y=0,E=0,A=0,R,N,M=!1,k=ma(),F=[1],O=e.getCompilerOptions(),G=Va(O),j=Tu(O),K=!!O.experimentalDecorators,Q=Kk(O),J=FV(O),he=LI(O),re=Vd(O,"strictNullChecks"),q=Vd(O,"strictFunctionTypes"),ue=Vd(O,"strictBindCallApply"),de=Vd(O,"strictPropertyInitialization"),ge=Vd(O,"strictBuiltinIteratorReturn"),Ae=Vd(O,"noImplicitAny"),Re=Vd(O,"noImplicitThis"),$=Vd(O,"useUnknownInCatchVariables"),ve=O.exactOptionalPropertyTypes,je=!!O.noUncheckedSideEffectImports,be=g_t(),ee=tbt(),Se=Uz(),Ne=xle(O,Se.syntacticBuilderResolver),ze=Zre({evaluateElementAccessExpression:Hyt,evaluateEntityNameExpression:r7e}),lt=ma(),le=Ua(4,"undefined");le.declarations=[];var De=Ua(1536,"globalThis",8);De.exports=lt,De.declarations=[],lt.set(De.escapedName,De);var _e=Ua(4,"arguments"),Ve=Ua(4,"require"),Ge=O.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules",Be=!O.verbatimModuleSyntax,ot,Ot,Vt=0,mn,Hn=0,gt=oj({compilerOptions:O,requireSymbol:Ve,argumentsSymbol:_e,globals:lt,getSymbolOfDeclaration:Fr,error:Ze,getRequiresScopeChangeCache:fE,setRequiresScopeChangeCache:DC,lookup:Td,onPropertyWithInvalidInitializer:oL,onFailedToResolveSymbol:Br,onSuccessfullyResolvedSymbol:Nu}),tn=oj({compilerOptions:O,requireSymbol:Ve,argumentsSymbol:_e,globals:lt,getSymbolOfDeclaration:Fr,error:Ze,getRequiresScopeChangeCache:fE,setRequiresScopeChangeCache:DC,lookup:Fmt});const ir={getNodeCount:()=>yu(e.getSourceFiles(),(n,a)=>n+a.nodeCount,0),getIdentifierCount:()=>yu(e.getSourceFiles(),(n,a)=>n+a.identifierCount,0),getSymbolCount:()=>yu(e.getSourceFiles(),(n,a)=>n+a.symbolCount,_),getTypeCount:()=>d,getInstantiationCount:()=>m,getRelationCacheSizes:()=>({assignable:Jd.size,identity:Kd.size,subtype:X_.size,strictSubtype:hl.size}),isUndefinedSymbol:n=>n===le,isArgumentsSymbol:n=>n===_e,isUnknownSymbol:n=>n===ie,getMergedSymbol:os,symbolIsValue:En,getDiagnostics:u7e,getGlobalDiagnostics:_vt,getRecursionIdentity:zY,getUnmatchedProperties:K_e,getTypeOfSymbolAtLocation:(n,a)=>{const c=Ho(a);return c?Xpt(n,c):rt},getTypeOfSymbol:gr,getSymbolsOfParameterPropertyDeclaration:(n,a)=>{const c=Ho(n,no);return c===void 0?C.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."):(C.assert(Lp(c,c.parent)),tA(c,Pl(a)))},getDeclaredTypeOfSymbol:Xs,getPropertiesOfType:Es,getPropertyOfType:(n,a)=>xa(n,Pl(a)),getPrivateIdentifierPropertyOfType:(n,a,c)=>{const p=Ho(c);if(!p)return;const h=Pl(a),v=F5(h,p);return v?T$(n,v):void 0},getTypeOfPropertyOfType:(n,a)=>yn(n,Pl(a)),getIndexInfoOfType:(n,a)=>Kg(n,a===0?yt:jt),getIndexInfosOfType:Yd,getIndexInfosOfIndexSymbol:hY,getSignaturesOfType:aa,getIndexTypeOfType:(n,a)=>HT(n,a===0?yt:jt),getIndexType:n=>x_(n),getBaseTypes:rm,getBaseTypeOfLiteralType:Uy,getWidenedType:Zp,getWidenedLiteralType:QT,fillMissingTypeArguments:Uv,getTypeFromTypeNode:n=>{const a=Ho(n,xi);return a?Yi(a):rt},getParameterType:wh,getParameterIdentifierInfoAtPosition:Pht,getPromisedTypeOfPromise:mW,getAwaitedType:n=>fR(n),getReturnTypeOfSignature:hs,isNullableType:W5,getNullableType:b5,getNonNullableType:Hy,getNonOptionalType:jY,getTypeArguments:cl,typeToTypeNode:Se.typeToTypeNode,typePredicateToTypePredicateNode:Se.typePredicateToTypePredicateNode,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:(n,a)=>{const c=Ho(n);return c?gvt(c,a):[]},getSymbolAtLocation:n=>{const a=Ho(n);return a?dm(a,!0):void 0},getIndexInfosAtLocation:n=>{const a=Ho(n);return a?Ivt(a):void 0},getShorthandAssignmentValueSymbol:n=>{const a=Ho(n);return a?xvt(a):void 0},getExportSpecifierLocalTargetSymbol:n=>{const a=Ho(n,ou);return a?Rvt(a):void 0},getExportSymbolOfSymbol(n){return os(n.exportSymbol||n)},getTypeAtLocation:n=>{const a=Ho(n);return a?hR(a):rt},getTypeOfAssignmentPattern:n=>{const a=Ho(n,BN);return a&&$$(a)||rt},getPropertySymbolOfDestructuringAssignment:n=>{const a=Ho(n,Je);return a?Dvt(a):void 0},signatureToString:(n,a,c,p)=>c0(n,Ho(a),c,p),typeToString:(n,a,c)=>sr(n,Ho(a),c),symbolToString:(n,a,c,p)=>uo(n,Ho(a),c,p),typePredicateToString:(n,a,c)=>Q_(n,Ho(a),c),writeSignature:(n,a,c,p,h,v,I,w)=>c0(n,Ho(a),c,p,h,v,I,w),writeType:(n,a,c,p,h,v,I)=>sr(n,Ho(a),c,p,h,v,I),writeSymbol:(n,a,c,p,h)=>uo(n,Ho(a),c,p,h),writeTypePredicate:(n,a,c,p)=>Q_(n,Ho(a),c,p),getAugmentedPropertiesOfType:Wye,getRootSymbols:v7e,getSymbolOfExpando:R$,getContextualType:(n,a)=>{const c=Ho(n,Et);if(c)return a&4?Qr(c,()=>Ku(c,a)):Ku(c,a)},getContextualTypeForObjectLiteralElement:n=>{const a=Ho(n,sy);return a?Age(a,void 0):void 0},getContextualTypeForArgumentAtIndex:(n,a)=>{const c=Ho(n,gS);return c&&Tge(c,a)},getContextualTypeForJsxAttribute:n=>{const a=Ho(n,xF);return a&&k6e(a,void 0)},isContextSensitive:Mf,getTypeOfPropertyOfContextualType:eS,getFullyQualifiedName:wv,getResolvedSignature:(n,a,c)=>go(n,a,c,0),getCandidateSignaturesForStringLiteralCompletions:_o,getResolvedSignatureForSignatureHelp:(n,a,c)=>Ht(n,()=>go(n,a,c,16)),getExpandedParameters:g8e,hasEffectiveRestParameter:ag,containsArgumentsReference:Bhe,getConstantValue:n=>{const a=Ho(n,I7e);return a?eQ(a):void 0},isValidPropertyAccess:(n,a)=>{const c=Ho(n,Ste);return!!c&&Gmt(c,Pl(a))},isValidPropertyAccessForCompletions:(n,a,c)=>{const p=Ho(n,Jr);return!!p&&u4e(p,a,c)},getSignatureFromDeclaration:n=>{const a=Ho(n,Yo);return a?Nf(a):void 0},isImplementationOfOverload:n=>{const a=Ho(n,Yo);return a?E7e(a):void 0},getImmediateAliasedSymbol:m$,getAliasedSymbol:ud,getEmitResolver:iL,requiresAddingImplicitUndefined:dB,getExportsOfModule:Ux,getExportsAndPropertiesOfModule:LC,forEachExportAndPropertyOfModule:Hx,getSymbolWalker:hae(fct,om,hs,rm,Nh,gr,mu,Ju,Ou,cl),getAmbientModules:jbt,getJsxIntrinsicTagNamesAt:Tmt,isOptionalParameter:n=>{const a=Ho(n,no);return a?P8(a):!1},tryGetMemberInModuleExports:(n,a)=>dA(Pl(n),a),tryGetMemberInModuleExportsAndProperties:(n,a)=>qx(Pl(n),a),tryFindAmbientModule:n=>W8e(n,!0),getApparentType:Mu,getUnionType:_i,isTypeAssignableTo:da,createAnonymousType:El,createSignature:A_,createSymbol:Ua,createIndexInfo:Xg,getAnyType:()=>He,getStringType:()=>yt,getStringLiteralType:Ip,getNumberType:()=>jt,getNumberLiteralType:Mh,getBigIntType:()=>or,getBigIntLiteralType:l5,getUnknownType:()=>At,createPromiseType:J5,createArrayType:$d,getElementTypeOfArrayType:v5,getBooleanType:()=>zt,getFalseType:n=>n?$n:fr,getTrueType:n=>n?vt:Rt,getVoidType:()=>An,getUndefinedType:()=>ye,getNullType:()=>$t,getESSymbolType:()=>Yt,getNeverType:()=>vn,getNonPrimitiveType:()=>tr,getOptionalType:()=>xt,getPromiseType:()=>n5(!1),getPromiseLikeType:()=>sWe(!1),getAnyAsyncIterableType:()=>{const n=r5(!1);if(n!==nn)return Fy(n,[He,He,He])},isSymbolAccessible:l0,isArrayType:sm,isTupleType:Xa,isArrayLikeType:Jv,isEmptyAnonymousObjectType:og,isTypeInvalidDueToUnionDiscriminant:Klt,getExactOptionalProperties:Eut,getAllPossiblePropertiesOfTypes:Xlt,getSuggestedSymbolForNonexistentProperty:Wge,getSuggestedSymbolForNonexistentJSXAttribute:s4e,getSuggestedSymbolForNonexistentSymbol:(n,a,c)=>c4e(n,Pl(a),c),getSuggestedSymbolForNonexistentModule:Fge,getSuggestedSymbolForNonexistentClassMember:a4e,getBaseConstraintOfType:Md,getDefaultFromTypeParameter:n=>n&&n.flags&262144?EE(n):void 0,resolveName(n,a,c,p){return gt(a,Pl(n),c,void 0,!1,p)},getJsxNamespace:n=>Bi(Xm(n)),getJsxFragmentFactory:n=>{const a=Vye(n);return a&&Bi(Ou(a).escapedText)},getAccessibleSymbolChain:Fv,getTypePredicateOfSignature:om,resolveExternalModuleName:n=>{const a=Ho(n,Et);return a&&pu(a,a,!0)},resolveExternalModuleSymbol:Ap,tryGetThisTypeAt:(n,a,c)=>{const p=Ho(n);return p&&gge(p,a,c)},getTypeArgumentConstraint:n=>{const a=Ho(n,xi);return a&&Z_t(a)},getSuggestionDiagnostics:(n,a)=>{const c=Ho(n,Qi)||C.fail("Could not determine parsed source file.");if(_D(c,O,e))return se;let p;try{return i=a,wye(c),C.assert(!!(Vr(c).flags&1)),p=$r(p,Q1.getDiagnostics(c.fileName)),C3e(d7e(c),(h,v,I)=>{!mI(h)&&!c7e(v,!!(h.flags&33554432))&&(p||(p=[])).push({...I,category:2})}),p||se}finally{i=void 0}},runWithCancellationToken:(n,a)=>{try{return i=n,a(ir)}finally{i=void 0}},getLocalTypeParametersOfClassOrInterfaceOrTypeAlias:ua,isDeclarationVisible:Z_,isPropertyAccessible:Bge,getTypeOnlyAliasDeclaration:Ah,getMemberOverrideModifierStatus:kyt,isTypeParameterPossiblyReferenced:u5,typeHasCallOrConstructSignatures:Q$,getSymbolFlags:fp,getTypeArgumentsForResolvedSignature:Ri,isLibType:OC};function Ri(n){if(n.mapper!==void 0)return Vy((n.target||n).typeParameters,n.mapper)}function _o(n,a){const c=new Set,p=[];Qr(a,()=>go(n,p,void 0,0));for(const h of p)c.add(h);p.length=0,Ht(a,()=>go(n,p,void 0,0));for(const h of p)c.add(h);return Mo(c)}function Ht(n,a){if(n=Rn(n,sG),n){const c=[],p=[];for(;n;){const v=Vr(n);if(c.push([v,v.resolvedSignature]),v.resolvedSignature=void 0,Mb(n)){const I=Kr(Fr(n)),w=I.type;p.push([I,w]),I.type=void 0}n=Rn(n.parent,sG)}const h=a();for(const[v,I]of c)v.resolvedSignature=I;for(const[v,I]of p)v.type=I;return h}return a()}function Qr(n,a){const c=Rn(n,gS);if(c){let h=n;do Vr(h).skipDirectInference=!0,h=h.parent;while(h&&h!==c)}M=!0;const p=Ht(n,a);if(M=!1,c){let h=n;do Vr(h).skipDirectInference=void 0,h=h.parent;while(h&&h!==c)}return p}function go(n,a,c,p){const h=Ho(n,gS);ot=c;const v=h?eN(h,a,p):void 0;return ot=void 0,v}var Ci=new Map,Cr=new Map,Ur=new Map,Qe=new Map,It=new Map,hn=new Map,pr=new Map,oi=new Map,di=new Map,Ki=new Map,Zo=new Map,Da=new Map,Pn=new Map,qo=new Map,at=new Map,Bt=[],ce=new Map,_t=new Set,ie=Ua(4,"unknown"),We=Ua(0,"__resolving__"),it=new Map,dt=new Map,Lt=new Set,He=ki(1,"any"),Ct=ki(1,"any",262144,"auto"),Nt=ki(1,"any",void 0,"wildcard"),Wt=ki(1,"any",void 0,"blocked string"),rt=ki(1,"error"),Zt=ki(1,"unresolved"),Rr=ki(1,"any",65536,"non-inferrable"),Oe=ki(1,"intrinsic"),At=ki(2,"unknown"),ye=ki(32768,"undefined"),B=re?ye:ki(32768,"undefined",65536,"widening"),xe=ki(32768,"undefined",void 0,"missing"),te=ve?xe:ye,xt=ki(32768,"undefined",void 0,"optional"),$t=ki(65536,"null"),Pe=re?$t:ki(65536,"null",65536,"widening"),yt=ki(4,"string"),jt=ki(8,"number"),or=ki(64,"bigint"),$n=ki(512,"false",void 0,"fresh"),fr=ki(512,"false"),vt=ki(512,"true",void 0,"fresh"),Rt=ki(512,"true");vt.regularType=Rt,vt.freshType=vt,Rt.regularType=Rt,Rt.freshType=vt,$n.regularType=fr,$n.freshType=$n,fr.regularType=fr,fr.freshType=$n;var zt=_i([fr,Rt]),Yt=ki(4096,"symbol"),An=ki(16384,"void"),vn=ki(131072,"never"),Ft=ki(131072,"never",262144,"silent"),bn=ki(131072,"never",void 0,"implicit"),Pr=ki(131072,"never",void 0,"unreachable"),tr=ki(67108864,"object"),kt=_i([yt,jt]),ti=_i([yt,jt,Yt]),ea=_i([jt,or]),wo=_i([yt,jt,zt,or,$t,ye]),vo=IA(["",""],[jt]),fs=d5(n=>n.flags&262144?Xdt(n):n,()=>"(restrictive mapper)"),xs=d5(n=>n.flags&262144?Nt:n,()=>"(permissive mapper)"),ms=ki(131072,"never",void 0,"unique literal"),ro=d5(n=>n.flags&262144?ms:n,()=>"(unique literal mapper)"),zo,bc=d5(n=>(zo&&(n===Gs||n===Ie||n===Y)&&zo(!0),n),()=>"(unmeasurable reporter)"),tl=d5(n=>(zo&&(n===Gs||n===Ie||n===Y)&&zo(!1),n),()=>"(unreliable reporter)"),Ma=El(void 0,k,se,se,se),tc=El(void 0,k,se,se,se);tc.objectFlags|=2048;var Tf=El(void 0,k,se,se,se);Tf.objectFlags|=141440;var Oo=Ua(2048,"__type");Oo.members=ma();var ga=El(Oo,k,se,se,se),is=El(void 0,k,se,se,se),Ja=re?_i([ye,$t,is]):At,nn=El(void 0,k,se,se,se);nn.instantiations=new Map;var Ds=El(void 0,k,se,se,se);Ds.objectFlags|=262144;var ql=El(void 0,k,se,se,se),lc=El(void 0,k,se,se,se),vd=El(void 0,k,se,se,se),Gs=Hu(),Ie=Hu();Ie.constraint=Gs;var Y=Hu(),ut=Hu(),Jt=Hu();Jt.constraint=ut;var fn=L8(1,"<<unresolved>>",0,He),dr=A_(void 0,void 0,void 0,se,He,void 0,0,0),si=A_(void 0,void 0,void 0,se,rt,void 0,0,0),xr=A_(void 0,void 0,void 0,se,He,void 0,0,0),Bn=A_(void 0,void 0,void 0,se,Ft,void 0,0,0),Zi=Xg(jt,yt,!0),Xi=Xg(yt,He,!1),bs=new Map,Ca={get yieldType(){return C.fail("Not supported")},get returnType(){return C.fail("Not supported")},get nextType(){return C.fail("Not supported")}},ml=T0(He,He,He),Cc=T0(Ft,Ft,Ft),zc={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:Dct,getGlobalIterableType:r5,getGlobalIterableIteratorType:lWe,getGlobalIteratorObjectType:Nct,getGlobalGeneratorType:Mct,getGlobalBuiltinIteratorTypes:Cct,resolveIterationType:(n,a)=>fR(n,a,f.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member),mustHaveANextMethodDiagnostic:f.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:f.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:f.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property},ol={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:Pct,getGlobalIterableType:EY,getGlobalIterableIteratorType:cWe,getGlobalIteratorObjectType:kct,getGlobalGeneratorType:wct,getGlobalBuiltinIteratorTypes:Lct,resolveIterationType:(n,a)=>n,mustHaveANextMethodDiagnostic:f.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:f.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:f.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property},al,Iu=new Map,xu=new Map,qd,du,Fe,Xt,Qn,bo,es,ts,ja,Nc,sl,wl,Jl,of,bd,ld,qp,Ru,Yf,J_,Lg,kg,sp,Kc,vh,Sf,g_,oe,pt,rn,cn,wn,ar,ri,Si,eo,z,Ue,wt,Nn,To,oa,Ao,Uo,bl,Pa,cd,Jp,Ef,$f,xy,Iv,ju,bh,Cm,Af,Ry,$e,ft,Qt,In,Yn=new Map,kr=0,Kn=0,ur=0,wi=!1,No=0,gi,Io,Vi,ll=[],lp=[],Nm=[],cp=0,Qf=[],dp=[],wg=[],Og=0,xv=[],Th=[],K_=0,EC=Ip(""),nL=Mh(0),AC=l5({negative:!1,base10Value:"0"}),Wg=[],TT=[],J1=[],Rv=0,K1=!1,Cx=0,rL=10,X1=[],Nx=[],ST=[],IC=[],Y1=[],Mx=[],lE=[],Xb=[],Px=[],Lx=[],cE=[],Yb=[],Dv=[],Dy=[],Cy=[],Ny=[],$b=[],ET=[],$1=[],AT=0,ns=dM(),Q1=dM(),xC=Xd(),My,Py,X_=new Map,hl=new Map,Jd=new Map,up=new Map,Kd=new Map,IT=new Map,Du=[[".mts",".mjs"],[".ts",".js"],[".cts",".cjs"],[".mjs",".mjs"],[".js",".js"],[".cjs",".cjs"],[".tsx",O.jsx===1?".jsx":".js"],[".jsx",".jsx"],[".json",".json"]];return nbt(),ir;function Y_(n){return!Jr(n)||!Je(n.name)||!Jr(n.expression)&&!Je(n.expression)?!1:Je(n.expression)?Yr(n.expression)==="Symbol"&&mu(n.expression)===(HC("Symbol",1160127,void 0)||ie):Je(n.expression.expression)?Yr(n.expression.name)==="Symbol"&&Yr(n.expression.expression)==="globalThis"&&mu(n.expression.expression)===De:!1}function Uu(n){return n?at.get(n):void 0}function Mm(n,a){return n&&at.set(n,a),a}function Xm(n){if(n){const a=On(n);if(a)if(qm(n)){if(a.localJsxFragmentNamespace)return a.localJsxFragmentNamespace;const c=a.pragmas.get("jsxfrag");if(c){const h=Lo(c)?c[0]:c;if(a.localJsxFragmentFactory=rx(h.arguments.factory,G),st(a.localJsxFragmentFactory,RT,ku),a.localJsxFragmentFactory)return a.localJsxFragmentNamespace=Ou(a.localJsxFragmentFactory).escapedText}const p=Vye(n);if(p)return a.localJsxFragmentFactory=p,a.localJsxFragmentNamespace=Ou(p).escapedText}else{const c=xT(a);if(c)return a.localJsxNamespace=c}}return My||(My="React",O.jsxFactory?(Py=rx(O.jsxFactory,G),st(Py,RT),Py&&(My=Ou(Py).escapedText)):O.reactNamespace&&(My=Pl(O.reactNamespace))),Py||(Py=L.createQualifiedName(L.createIdentifier(Bi(My)),"createElement")),My}function xT(n){if(n.localJsxNamespace)return n.localJsxNamespace;const a=n.pragmas.get("jsx");if(a){const c=Lo(a)?a[0]:a;if(n.localJsxFactory=rx(c.arguments.factory,G),st(n.localJsxFactory,RT,ku),n.localJsxFactory)return n.localJsxNamespace=Ou(n.localJsxFactory).escapedText}}function RT(n){return uh(n,-1,-1),kn(n,RT,void 0)}function iL(n,a,c){return c||u7e(n,a),ee}function RC(n,a,...c){const p=n?Sr(n,a,...c):Dl(a,...c),h=ns.lookup(p);return h||(ns.add(p),p)}function Cv(n,a,c,...p){const h=Ze(a,c,...p);return h.skippedOn=n,h}function dE(n,a,...c){return n?Sr(n,a,...c):Dl(a,...c)}function Ze(n,a,...c){const p=dE(n,a,...c);return ns.add(p),p}function Z1(n){const c=On(n).fileName;return Ql(c,[".cts",".cjs"])?f.ECMAScript_imports_and_exports_cannot_be_written_in_a_CommonJS_file_under_verbatimModuleSyntax:f.ECMAScript_imports_and_exports_cannot_be_written_in_a_CommonJS_file_under_verbatimModuleSyntax_Adjust_the_type_field_in_the_nearest_package_json_to_make_this_file_an_ECMAScript_module_or_adjust_your_verbatimModuleSyntax_module_and_moduleResolution_settings_in_TypeScript}function Fg(n,a){n?ns.add(a):Q1.add({...a,category:2})}function Ym(n,a,c,...p){if(a.pos<0||a.end<0){if(!n)return;const h=On(a);Fg(n,"message"in c?kc(h,0,0,c,...p):PG(h,c));return}Fg(n,"message"in c?Sr(a,c,...p):vg(On(a),a,c))}function Nv(n,a,c,...p){const h=Ze(n,c,...p);if(a){const v=Sr(n,f.Did_you_forget_to_use_await);_a(h,v)}return h}function Qb(n,a){const c=Array.isArray(n)?Xe(n,K9):K9(n);return c&&_a(a,Sr(c,f.The_declaration_was_marked_as_deprecated_here)),Q1.add(a),a}function Cu(n){const a=Xc(n);return a&&et(n.declarations)>1?a.flags&64?bt(n.declarations,Sh):Gn(n.declarations,Sh):!!n.valueDeclaration&&Sh(n.valueDeclaration)||et(n.declarations)&&Gn(n.declarations,Sh)}function Sh(n){return!!(wE(n)&536870912)}function Pm(n,a,c){const p=Sr(n,f._0_is_deprecated,c);return Qb(a,p)}function DT(n,a,c,p){const h=c?Sr(n,f.The_signature_0_of_1_is_deprecated,p,c):Sr(n,f._0_is_deprecated,p);return Qb(a,h)}function Ua(n,a,c){_++;const p=new s(n|33554432,a);return p.links=new iAe,p.links.checkFlags=c||0,p}function If(n,a){const c=Ua(1,n);return c.links.type=a,c}function Mv(n,a){const c=Ua(4,n);return c.links.type=a,c}function eA(n){let a=0;return n&2&&(a|=111551),n&1&&(a|=111550),n&4&&(a|=0),n&8&&(a|=900095),n&16&&(a|=110991),n&32&&(a|=899503),n&64&&(a|=788872),n&256&&(a|=899327),n&128&&(a|=899967),n&512&&(a|=110735),n&8192&&(a|=103359),n&32768&&(a|=46015),n&65536&&(a|=78783),n&262144&&(a|=526824),n&524288&&(a|=788968),n&2097152&&(a|=2097152),a}function Ly(n,a){a.mergeId||(a.mergeId=nAe,nAe++),X1[a.mergeId]=n}function uE(n){const a=Ua(n.flags,n.escapedName);return a.declarations=n.declarations?n.declarations.slice():[],a.parent=n.parent,n.valueDeclaration&&(a.valueDeclaration=n.valueDeclaration),n.constEnumOnlyModule&&(a.constEnumOnlyModule=!0),n.members&&(a.members=new Map(n.members)),n.exports&&(a.exports=new Map(n.exports)),Ly(a,n),a}function Zf(n,a,c=!1){if(!(n.flags&eA(a.flags))||(a.flags|n.flags)&67108864){if(a===n)return n;if(!(n.flags&33554432)){const v=mc(n);if(v===ie)return a;if(!(v.flags&eA(a.flags))||(a.flags|v.flags)&67108864)n=uE(v);else return p(n,a),a}a.flags&512&&n.flags&512&&n.constEnumOnlyModule&&!a.constEnumOnlyModule&&(n.constEnumOnlyModule=!1),n.flags|=a.flags,a.valueDeclaration&&eM(n,a.valueDeclaration),$r(n.declarations,a.declarations),a.members&&(n.members||(n.members=ma()),y_(n.members,a.members,c)),a.exports&&(n.exports||(n.exports=ma()),y_(n.exports,a.exports,c,n)),c||Ly(n,a)}else n.flags&1024?n!==De&&Ze(a.declarations&&Fo(a.declarations[0]),f.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,uo(n)):p(n,a);return n;function p(v,I){const w=!!(v.flags&384||I.flags&384),U=!!(v.flags&2||I.flags&2),H=w?f.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:U?f.Cannot_redeclare_block_scoped_variable_0:f.Duplicate_identifier_0,Z=I.declarations&&On(I.declarations[0]),Ee=v.declarations&&On(v.declarations[0]),Te=jN(Z,O.checkJs),Ye=jN(Ee,O.checkJs),ht=uo(I);if(Z&&Ee&&al&&!w&&Z!==Ee){const Dt=iy(Z.path,Ee.path)===-1?Z:Ee,en=Dt===Z?Ee:Z,Sn=XA(al,"".concat(Dt.path,"|").concat(en.path),()=>({firstFile:Dt,secondFile:en,conflictingSymbols:new Map})),Zn=XA(Sn.conflictingSymbols,ht,()=>({isBlockScoped:U,firstFileLocations:[],secondFileLocations:[]}));Te||h(Zn.firstFileLocations,I),Ye||h(Zn.secondFileLocations,v)}else Te||zg(I,H,ht,v),Ye||zg(v,H,ht,I)}function h(v,I){if(I.declarations)for(const w of I.declarations)wf(v,w)}}function zg(n,a,c,p){Xe(n.declarations,h=>{CT(h,a,c,p.declarations)})}function CT(n,a,c,p){const h=(B0(n,!1)?BG(n):Fo(n))||n,v=RC(h,a,c);for(const I of p||se){const w=(B0(I,!1)?BG(I):Fo(I))||I;if(w===h)continue;v.relatedInformation=v.relatedInformation||[];const U=Sr(w,f._0_was_also_declared_here,c),H=Sr(w,f.and_here);et(v.relatedInformation)>=5||bt(v.relatedInformation,Z=>bM(Z,H)===0||bM(Z,U)===0)||_a(v,et(v.relatedInformation)?H:U)}}function Pv(n,a){if(!(n!=null&&n.size))return a;if(!(a!=null&&a.size))return n;const c=ma();return y_(c,n),y_(c,a),c}function y_(n,a,c=!1,p){a.forEach((h,v)=>{const I=n.get(v),w=I?Zf(I,h,c):os(h);p&&I&&(w.parent=p),n.set(v,w)})}function pE(n){var a,c,p;const h=n.parent;if(((a=h.symbol.declarations)==null?void 0:a[0])!==h){C.assert(h.symbol.declarations.length>1);return}if(W_(h))y_(lt,h.symbol.exports);else{const v=n.parent.parent.flags&33554432?void 0:f.Invalid_module_name_in_augmentation_module_0_cannot_be_found;let I=Ep(n,n,v,!1,!0);if(!I)return;if(I=Ap(I),I.flags&1920)if(bt(du,w=>I===w.symbol)){const w=Zf(h.symbol,I,!0);Fe||(Fe=new Map),Fe.set(n.text,w)}else{if((c=I.exports)!=null&&c.get("__export")&&((p=h.symbol.exports)!=null&&p.size)){const w=Ihe(I,"resolvedExports");for(const[U,H]of Mo(h.symbol.exports.entries()))w.has(U)&&!I.exports.has(U)&&Zf(w.get(U),H)}Zf(I,h.symbol)}else Ze(n,f.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,n.text)}}function NT(){const n=le.escapedName,a=lt.get(n);a?Xe(a.declarations,c=>{wI(c)||ns.add(Sr(c,f.Declaration_name_conflicts_with_built_in_global_identifier_0,Bi(n)))}):lt.set(n,le)}function Kr(n){var c;if(n.flags&33554432)return n.links;const a=Aa(n);return(c=Nx[a])!=null?c:Nx[a]=new iAe}function Vr(n){const a=ls(n);return ST[a]||(ST[a]=new LHe)}function Td(n,a,c){if(c){const p=os(n.get(a));if(p&&(p.flags&c||p.flags&2097152&&fp(p)&c))return p}}function tA(n,a){const c=n.parent,p=n.parent.parent,h=Td(c.locals,a,111551),v=Td(tg(p.symbol),a,111551);return h&&v?[h,v]:C.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}function ky(n,a){const c=On(n),p=On(a),h=sh(n);if(c!==p){if(j&&(c.externalModuleIndicator||p.externalModuleIndicator)||!O.outFile||AI(a)||n.flags&33554432||I(a,n))return!0;const H=e.getSourceFiles();return H.indexOf(c)<=H.indexOf(p)}if(a.flags&16777216||AI(a)||tge(a))return!0;if(n.pos<=a.pos&&!(ko(n)&&ck(a.parent)&&!n.initializer&&!n.exclamationToken)){if(n.kind===209){const H=j0(a,209);return H?Rn(H,qa)!==Rn(n,qa)||n.pos<H.pos:ky(j0(n,261),a)}else{if(n.kind===261)return!v(n,a);if(hi(n)){const H=Rn(a,Z=>Z===n?"quit":Ea(Z)?Z.parent.parent===n:!K&&wc(Z)&&(Z.parent===n||Ll(Z.parent)&&Z.parent.parent===n||F2(Z.parent)&&Z.parent.parent===n||ko(Z.parent)&&Z.parent.parent===n||no(Z.parent)&&Z.parent.parent.parent===n));return H?!K&&wc(H)?!!Rn(a,Z=>Z===H?"quit":Yo(Z)&&!F0(Z)):!1:!0}else{if(ko(n))return!U(n,a,!1);if(Lp(n,n.parent))return!(J&&hd(n)===hd(a)&&I(a,n))}}return!0}if(a.parent.kind===282||a.parent.kind===278&&a.parent.isExportEquals||a.kind===278&&a.isExportEquals)return!0;if(I(a,n))return J&&hd(n)&&(ko(n)||Lp(n,n.parent))?!U(n,a,!0):!0;return!1;function v(H,Z){switch(H.parent.parent.kind){case 244:case 249:case 251:if($m(Z,H,h))return!0;break}const Ee=H.parent.parent;return ZE(Ee)&&$m(Z,Ee.expression,h)}function I(H,Z){return w(H,Z)}function w(H,Z){return!!Rn(H,Ee=>{if(Ee===h)return"quit";if(Yo(Ee))return!F0(Ee);if(Zl(Ee))return Z.pos<H.pos;const Te=ii(Ee.parent,ko);if(Te&&Te.initializer===Ee){if(ha(Ee.parent)){if(Z.kind===175)return!0;if(ko(Z)&&hd(H)===hd(Z)){const Dt=Z.name;if(Je(Dt)||to(Dt)){const en=gr(Fr(Z)),Sn=Fn(Z.parent.members,Zl);if(Byt(Dt,en,Sn,Z.parent.pos,Ee.pos))return!0}}}else if(!(Z.kind===173&&!ha(Z))||hd(H)!==hd(Z))return!0}const Ye=ii(Ee.parent,wc);if(Ye&&Ye.expression===Ee){if(no(Ye.parent))return w(Ye.parent.parent.parent,Z)?!0:"quit";if(Ll(Ye.parent))return w(Ye.parent.parent,Z)?!0:"quit"}return!1})}function U(H,Z,Ee){return Z.end>H.end?!1:Rn(Z,Ye=>{if(Ye===H)return"quit";switch(Ye.kind){case 220:return!0;case 173:return Ee&&(ko(H)&&Ye.parent===H.parent||Lp(H,H.parent)&&Ye.parent===H.parent.parent)?"quit":!0;case 242:switch(Ye.parent.kind){case 178:case 175:case 179:return!0;default:return!1}default:return!1}})===void 0}}function fE(n){return Vr(n).declarationRequiresScopeChange}function DC(n,a){Vr(n).declarationRequiresScopeChange=a}function oL(n,a,c,p){return J?!1:(n&&!p&&nA(n,a,a)||Ze(n,n&&c.type&&M2(c.type,n.pos)?f.Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:f.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,Fs(c.name),Sp(a)),!0)}function Br(n,a,c,p){const h=jo(a)?a:a.escapedText;r(()=>{if(!n||n.parent.kind!==325&&!nA(n,h,a)&&!Zb(n)&&!CC(n,h,c)&&!$_(n,h)&&!t0(n,h,c)&&!Eh(n,h,c)&&!kx(n,h,c)){let v,I;if(a&&(I=Omt(a),I&&Ze(n,p,Sp(a),I)),!I&&Cx<rL&&(v=c4e(n,h,c),(v==null?void 0:v.valueDeclaration)&&vu(v.valueDeclaration)&&W_(v.valueDeclaration)&&(v=void 0),v)){const U=uo(v),H=wge(n,v,!1),Z=c===1920||a&&typeof a!="string"&&zs(a)?f.Cannot_find_namespace_0_Did_you_mean_1:H?f.Could_not_find_name_0_Did_you_mean_1:f.Cannot_find_name_0_Did_you_mean_1,Ee=dE(n,Z,Sp(a),U);Ee.canonicalHead=one(p,Sp(a)),Fg(!H,Ee),v.valueDeclaration&&_a(Ee,Sr(v.valueDeclaration,f._0_is_declared_here,U))}!v&&!I&&a&&Ze(n,p,Sp(a)),Cx++}})}function Nu(n,a,c,p,h,v){r(()=>{var I;const w=a.escapedName,U=p&&Qi(p)&&wp(p);if(n&&(c&2||(c&32||c&384)&&(c&111551)===111551)){const H=St(a);(H.flags&2||H.flags&32||H.flags&384)&&xf(H,n)}if(U&&(c&111551)===111551&&!(n.flags&16777216)){const H=os(a);et(H.declarations)&&Gn(H.declarations,Z=>vw(Z)||Qi(Z)&&!!Z.symbol.globalExports)&&Ym(!O.allowUmdGlobalAccess,n,f._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,Bi(w))}if(h&&!v&&(c&111551)===111551){const H=os(lY(a)),Z=Qh(h);H===Fr(h)?Ze(n,f.Parameter_0_cannot_reference_itself,Fs(h.name)):H.valueDeclaration&&H.valueDeclaration.pos>h.pos&&Z.parent.locals&&Td(Z.parent.locals,H.escapedName,c)===H&&Ze(n,f.Parameter_0_cannot_reference_identifier_1_declared_after_it,Fs(h.name),Fs(n))}if(n&&c&111551&&a.flags&2097152&&!(a.flags&111551)&&!q0(n)){const H=Ah(a,111551);if(H){const Z=H.kind===282||H.kind===279||H.kind===281?f._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:f._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type,Ee=Bi(w);Bo(Ze(n,Z,Ee),H,Ee)}}if(O.isolatedModules&&a&&U&&(c&111551)===111551){const Z=Td(lt,w,c)===a&&Qi(p)&&p.locals&&Td(p.locals,w,-111552);if(Z){const Ee=(I=Z.declarations)==null?void 0:I.find(Te=>Te.kind===277||Te.kind===274||Te.kind===275||Te.kind===272);Ee&&!BR(Ee)&&Ze(Ee,f.Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled,Bi(w))}}})}function Bo(n,a,c){return a?_a(n,Sr(a,a.kind===282||a.kind===279||a.kind===281?f._0_was_exported_here:f._0_was_imported_here,c)):n}function Sp(n){return jo(n)?Bi(n):Fs(n)}function nA(n,a,c){if(!Je(n)||n.escapedText!==a||p7e(n)||AI(n))return!1;const p=bu(n,!1,!1);let h=p;for(;h;){if(hi(h.parent)){const v=Fr(h.parent);if(!v)break;const I=gr(v);if(xa(I,a))return Ze(n,f.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,Sp(c),uo(v)),!0;if(h===p&&!ha(h)){const w=Xs(v).thisType;if(xa(w,a))return Ze(n,f.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,Sp(c)),!0}}h=h.parent}return!1}function Zb(n){const a=Mr(n);return a&&Gl(a,64,!0)?(Ze(n,f.Cannot_extend_an_interface_0_Did_you_mean_implements,Rl(a)),!0):!1}function Mr(n){switch(n.kind){case 80:case 212:return n.parent?Mr(n.parent):void 0;case 234:if(Ps(n.expression))return n.expression;default:return}}function CC(n,a,c){const p=1920|(Er(n)?111551:0);if(c===p){const h=mc(gt(n,a,788968&~p,void 0,!1)),v=n.parent;if(h){if(Wu(v)){C.assert(v.left===n,"Should only be resolving left side of qualified name as a namespace");const I=v.right.escapedText;if(xa(Xs(h),I))return Ze(v,f.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,Bi(a),Bi(I)),!0}return Ze(n,f._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,Bi(a)),!0}}return!1}function kx(n,a,c){if(c&788584){const p=mc(gt(n,a,111127,void 0,!1));if(p&&!(p.flags&1920))return Ze(n,f._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,Bi(a)),!0}return!1}function uu(n){return n==="any"||n==="string"||n==="number"||n==="boolean"||n==="never"||n==="unknown"}function $_(n,a){return uu(a)&&n.parent.kind===282?(Ze(n,f.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,a),!0):!1}function Eh(n,a,c){if(c&111551){if(uu(a)){const v=n.parent.parent;if(v&&v.parent&&Gp(v)){const I=v.token;v.parent.kind===265&&I===96?Ze(n,f.An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types,Bi(a)):hi(v.parent)&&I===96?Ze(n,f.A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values,Bi(a)):hi(v.parent)&&I===119&&Ze(n,f.A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types,Bi(a))}else Ze(n,f._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,Bi(a));return!0}const p=mc(gt(n,a,788544,void 0,!1)),h=p&&fp(p);if(p&&h!==void 0&&!(h&111551)){const v=Bi(a);return rA(a)?Ze(n,f._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,v):e0(n,p)?Ze(n,f._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0,v,v==="K"?"P":"K"):Ze(n,f._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,v),!0}}return!1}function e0(n,a){const c=Rn(n.parent,p=>Ea(p)||Eu(p)?!1:Fu(p)||"quit");if(c&&c.members.length===1){const p=Xs(a);return!!(p.flags&1048576)&&dW(p,384,!0)}return!1}function rA(n){switch(n){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return!0}return!1}function t0(n,a,c){if(c&111127){if(mc(gt(n,a,1024,void 0,!1)))return Ze(n,f.Cannot_use_namespace_0_as_a_value,Bi(a)),!0}else if(c&788544&&mc(gt(n,a,1536,void 0,!1)))return Ze(n,f.Cannot_use_namespace_0_as_a_type,Bi(a)),!0;return!1}function xf(n,a){var c;if(C.assert(!!(n.flags&2||n.flags&32||n.flags&384)),n.flags&67108881&&n.flags&32)return;const p=(c=n.declarations)==null?void 0:c.find(h=>SG(h)||hi(h)||h.kind===267);if(p===void 0)return C.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");if(!(p.flags&33554432)&&!ky(p,a)){let h;const v=Fs(Fo(p));n.flags&2?h=Ze(a,f.Block_scoped_variable_0_used_before_its_declaration,v):n.flags&32?h=Ze(a,f.Class_0_used_before_its_declaration,v):n.flags&256?h=Ze(a,f.Enum_0_used_before_its_declaration,v):(C.assert(!!(n.flags&128)),Sm(O)&&(h=Ze(a,f.Enum_0_used_before_its_declaration,v))),h&&_a(h,Sr(p,f._0_is_declared_here,v))}}function $m(n,a,c){return!!a&&!!Rn(n,p=>p===a||(p===c||Yo(p)&&(!F0(p)||dc(p)&3)?"quit":!1))}function em(n){switch(n.kind){case 272:return n;case 274:return n.parent;case 275:return n.parent.parent;case 277:return n.parent.parent.parent;default:return}}function pp(n){return n.declarations&&pa(n.declarations,Lv)}function Lv(n){return n.kind===272||n.kind===271||n.kind===274&&!!n.name||n.kind===275||n.kind===281||n.kind===277||n.kind===282||n.kind===278&&Dk(n)||Nr(n)&&ac(n)===2&&Dk(n)||Qs(n)&&Nr(n.parent)&&n.parent.left===n&&n.parent.operatorToken.kind===64&&MT(n.parent.right)||n.kind===305||n.kind===304&&MT(n.initializer)||n.kind===261&&ES(n)||n.kind===209&&ES(n.parent.parent)}function MT(n){return d6(n)||Ks(n)&&C_(n)}function wx(n,a){const c=Fx(n);if(c){const h=pD(c.expression).arguments[0];return Je(c.name)?mc(xa(F8e(h),c.name.escapedText)):void 0}if(bi(n)||n.moduleReference.kind===284){const h=pu(n,zG(n)||YN(n)),v=Ap(h);if(v&&102<=j&&j<=199){const I=mE(v,"module.exports",n,a);if(I)return I}return tm(n,h,v,!1),v}const p=a0(n.moduleReference,a);return PT(n,p),p}function PT(n,a){if(tm(n,void 0,a,!1)&&!n.isTypeOnly){const c=Ah(Fr(n)),p=c.kind===282||c.kind===279,h=p?f.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:f.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type,v=p?f._0_was_exported_here:f._0_was_imported_here,I=c.kind===279?"*":Sb(c.name);_a(Ze(n.moduleReference,h),Sr(c,v,I))}}function n0(n,a,c,p){const h=n.exports.get("export="),v=h?xa(gr(h),a,!0):n.exports.get(a),I=mc(v,p);return tm(c,v,I,!1),I}function Ox(n){return fl(n)&&!n.isExportEquals||fi(n,2048)||ou(n)||V_(n)}function wy(n){return ds(n)?e.getEmitSyntaxForUsageLocation(On(n),n):void 0}function v_(n,a){return n===99&&a===1}function r0(n,a){if(100<=j&&j<=199&&wy(n)===99){a!=null||(a=pu(n,n,!0));const p=a&&Y2(a);return p&&(zf(p)||B4(p.fileName)===".d.json.ts")}return!1}function LT(n,a,c,p){const h=n&&wy(p);if(n&&h!==void 0){const v=e.getImpliedNodeFormatForEmit(n);if(h===99&&v===1&&100<=j&&j<=199)return!0;if(h===99&&v===99)return!1}if(!he)return!1;if(!n||n.isDeclarationFile){const v=n0(a,"default",void 0,!0);return!(v&&bt(v.declarations,Ox)||n0(a,Pl("__esModule"),void 0,c))}return wu(n)?typeof n.externalModuleIndicator!="object"&&!n0(a,Pl("__esModule"),void 0,c):Zm(a)}function kv(n,a){const c=pu(n,n.parent.moduleSpecifier);if(c)return i0(c,n,a)}function i0(n,a,c){var p;const h=(p=n.declarations)==null?void 0:p.find(Qi),v=Qm(a);let I,w;if(Z2(n))I=n;else if(h&&v&&102<=j&&j<=199&&wy(v)===1&&e.getImpliedNodeFormatForEmit(h)===99&&(w=n0(n,"module.exports",a,c))){if(!n_(O)){Ze(a.name,f.Module_0_can_only_be_default_imported_using_the_1_flag,uo(n),"esModuleInterop");return}return tm(a,w,void 0,!1),w}else I=n0(n,"default",a,c);if(!v)return I;const U=r0(v,n),H=LT(h,n,c,v);if(!I&&!H&&!U)if(Zm(n)&&!he){const Z=j>=5?"allowSyntheticDefaultImports":"esModuleInterop",Te=n.exports.get("export=").valueDeclaration,Ye=Ze(a.name,f.Module_0_can_only_be_default_imported_using_the_1_flag,uo(n),Z);Te&&_a(Ye,Sr(Te,f.This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,Z))}else Hm(a)?Oy(n,a):iA(n,n,a,hb(a)&&a.propertyName||a.name);else if(H||U){const Z=Ap(n,c)||mc(n,c);return tm(a,n,Z,!1),Z}return tm(a,I,void 0,!1),I}function Qm(n){switch(n.kind){case 274:return n.parent.moduleSpecifier;case 272:return _y(n.moduleReference)?n.moduleReference.expression:void 0;case 275:return n.parent.parent.moduleSpecifier;case 277:return n.parent.parent.parent.moduleSpecifier;case 282:return n.parent.parent.moduleSpecifier;default:return C.assertNever(n)}}function Oy(n,a){var c,p,h;if((c=n.exports)!=null&&c.has(a.symbol.escapedName))Ze(a.name,f.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,uo(n),uo(a.symbol));else{const v=Ze(a.name,f.Module_0_has_no_default_export,uo(n)),I=(p=n.exports)==null?void 0:p.get("__export");if(I){const w=(h=I.declarations)==null?void 0:h.find(U=>{var H,Z;return!!(fc(U)&&U.moduleSpecifier&&((Z=(H=pu(U,U.moduleSpecifier))==null?void 0:H.exports)!=null&&Z.has("default")))});w&&_a(v,Sr(w,f.export_Asterisk_does_not_re_export_a_default))}}}function Bg(n,a){const c=n.parent.parent.moduleSpecifier,p=pu(n,c),h=jg(p,c,a,!1);return tm(n,p,h,!1),h}function o0(n,a){const c=n.parent.moduleSpecifier,p=c&&pu(n,c),h=c&&jg(p,c,a,!1);return tm(n,p,h,!1),h}function dd(n,a){if(n===ie&&a===ie)return ie;if(n.flags&790504)return n;const c=Ua(n.flags|a.flags,n.escapedName);return C.assert(n.declarations||a.declarations),c.declarations=cS(co(n.declarations,a.declarations),ab),c.parent=n.parent||a.parent,n.valueDeclaration&&(c.valueDeclaration=n.valueDeclaration),a.members&&(c.members=new Map(a.members)),n.exports&&(c.exports=new Map(n.exports)),c}function mE(n,a,c,p){var h;if(n.flags&1536){const v=Kp(n).get(a),I=mc(v,p),w=(h=Kr(n).typeOnlyExportStarMap)==null?void 0:h.get(a);return tm(c,v,I,!1,w,a),I}}function Gg(n,a){if(n.flags&3){const c=n.valueDeclaration.type;if(c)return mc(xa(Yi(c),a))}}function kT(n,a,c=!1){var p;const h=zG(n)||n.moduleSpecifier,v=pu(n,h),I=!Jr(a)&&a.propertyName||a.name;if(!Je(I)&&I.kind!==11)return;const w=bS(I),H=jg(v,h,!1,w==="default"&&he);if(H&&(w||I.kind===11)){if(Z2(v))return v;let Z;v&&v.exports&&v.exports.get("export=")?Z=xa(gr(H),w,!0):Z=Gg(H,w),Z=mc(Z,c);let Ee=mE(H,w,a,c);if(Ee===void 0&&w==="default"){const Ye=(p=v.declarations)==null?void 0:p.find(Qi);(r0(h,v)||LT(Ye,v,c,h))&&(Ee=Ap(v,c)||mc(v,c))}const Te=Ee&&Z&&Ee!==Z?dd(Z,Ee):Ee||Z;return hb(a)&&r0(h,v)&&w!=="default"?Ze(I,f.Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0,MR[j]):Te||iA(v,H,n,I),Te}}function iA(n,a,c,p){var h;const v=wv(n,c),I=Fs(p),w=Je(p)?Fge(p,a):void 0;if(w!==void 0){const U=uo(w),H=Ze(p,f._0_has_no_exported_member_named_1_Did_you_mean_2,v,I,U);w.valueDeclaration&&_a(H,Sr(w.valueDeclaration,f._0_is_declared_here,U))}else(h=n.exports)!=null&&h.has("default")?Ze(p,f.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,v,I):Vg(c,p,I,n,v)}function Vg(n,a,c,p,h){var v,I;const w=(I=(v=ii(p.valueDeclaration,k_))==null?void 0:v.locals)==null?void 0:I.get(bS(a)),U=p.exports;if(w){const H=U==null?void 0:U.get("export=");if(H)me(H,w)?NC(n,a,c,h):Ze(a,f.Module_0_has_no_exported_member_1,h,c);else{const Z=U?_n(zhe(U),Te=>!!me(Te,w)):void 0,Ee=Z?Ze(a,f.Module_0_declares_1_locally_but_it_is_exported_as_2,h,c,uo(Z)):Ze(a,f.Module_0_declares_1_locally_but_it_is_not_exported,h,c);w.declarations&&_a(Ee,...Gt(w.declarations,(Te,Ye)=>Sr(Te,Ye===0?f._0_is_declared_here:f.and_here,c)))}}else Ze(a,f.Module_0_has_no_exported_member_1,h,c)}function NC(n,a,c,p){if(j>=5){const h=n_(O)?f._0_can_only_be_imported_by_using_a_default_import:f._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;Ze(a,h,c)}else if(Er(n)){const h=n_(O)?f._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:f._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;Ze(a,h,c)}else{const h=n_(O)?f._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:f._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;Ze(a,h,c,c,p)}}function Wx(n,a){if(Au(n)&&O_(n.propertyName||n.name)){const I=Qm(n),w=I&&pu(n,I);if(w)return i0(w,n,a)}const c=qa(n)?Qh(n):n.parent.parent.parent,p=Fx(c),h=kT(c,p||n,a),v=n.propertyName||n.name;return p&&h&&Je(v)?mc(xa(gr(h),v.escapedText),a):(tm(n,void 0,h,!1),h)}function Fx(n){if(bi(n)&&n.initializer&&Jr(n.initializer))return n.initializer}function aL(n,a){if(ah(n.parent)){const c=Ap(n.parent.symbol,a);return tm(n,void 0,c,!1),c}}function zx(n,a,c){const p=n.propertyName||n.name;if(O_(p)){const v=Qm(n),I=v&&pu(n,v);if(I)return i0(I,n,!!c)}const h=n.parent.parent.moduleSpecifier?kT(n.parent.parent,n,c):p.kind===11?void 0:Gl(p,a,!1,c);return tm(n,void 0,h,!1),h}function wT(n,a){const c=fl(n)?n.expression:n.right,p=Wy(c,a);return tm(n,void 0,p,!1),p}function Wy(n,a){if(uc(n))return Vl(n).symbol;if(!ku(n)&&!Ps(n))return;const c=Gl(n,901119,!0,a);return c||(Vl(n),Vr(n).resolvedSymbol)}function MC(n,a){if(Nr(n.parent)&&n.parent.left===n&&n.parent.operatorToken.kind===64)return Wy(n.parent.right,a)}function OT(n,a=!1){switch(n.kind){case 272:case 261:return wx(n,a);case 274:return kv(n,a);case 275:return Bg(n,a);case 281:return o0(n,a);case 277:case 209:return Wx(n,a);case 282:return zx(n,901119,a);case 278:case 227:return wT(n,a);case 271:return aL(n,a);case 305:return Gl(n.name,901119,!0,a);case 304:return Wy(n.initializer,a);case 213:case 212:return MC(n,a);default:return C.fail()}}function oA(n,a=901119){return n?(n.flags&(2097152|a))===2097152||!!(n.flags&2097152&&n.flags&67108864):!1}function mc(n,a){return!a&&oA(n)?ud(n):n}function ud(n){C.assert((n.flags&2097152)!==0,"Should only get Alias here.");const a=Kr(n);if(a.aliasTarget)a.aliasTarget===We&&(a.aliasTarget=ie);else{a.aliasTarget=We;const c=pp(n);if(!c)return C.fail();const p=OT(c);a.aliasTarget===We?a.aliasTarget=p||ie:Ze(c,f.Circular_definition_of_import_alias_0,uo(n))}return a.aliasTarget}function Bx(n){if(Kr(n).aliasTarget!==We)return ud(n)}function fp(n,a,c){const p=a&&Ah(n),h=p&&fc(p),v=p&&(h?pu(p.moduleSpecifier,p.moduleSpecifier,!0):ud(p.symbol)),I=h&&v?b_(v):void 0;let w=c?0:n.flags,U;for(;n.flags&2097152;){const H=St(ud(n));if(!h&&H===v||(I==null?void 0:I.get(H.escapedName))===H)break;if(H===ie)return-1;if(H===n||U!=null&&U.has(H))break;H.flags&2097152&&(U?U.add(H):U=new Set([n,H])),w|=H.flags,n=H}return w}function tm(n,a,c,p,h,v){if(!n||Jr(n))return!1;const I=Fr(n);if(nv(n)){const U=Kr(I);return U.typeOnlyDeclaration=n,!0}if(h){const U=Kr(I);return U.typeOnlyDeclaration=h,I.escapedName!==v&&(U.typeOnlyExportStarName=v),!0}const w=Kr(I);return hE(w,a,p)||hE(w,c,p)}function hE(n,a,c){var h,v;var p;if(a&&(n.typeOnlyDeclaration===void 0||c&&n.typeOnlyDeclaration===!1)){const I=(h=(p=a.exports)==null?void 0:p.get("export="))!=null?h:a,w=I.declarations&&_n(I.declarations,nv);n.typeOnlyDeclaration=(v=w!=null?w:Kr(I).typeOnlyDeclaration)!=null?v:!1}return!!n.typeOnlyDeclaration}function Ah(n,a){var c;if(!(n.flags&2097152))return;const p=Kr(n);if(p.typeOnlyDeclaration===void 0){p.typeOnlyDeclaration=!1;const h=mc(n);tm((c=n.declarations)==null?void 0:c[0],pp(n)&&m$(n),h,!0)}if(a===void 0)return p.typeOnlyDeclaration||void 0;if(p.typeOnlyDeclaration){const h=p.typeOnlyDeclaration.kind===279?mc(b_(p.typeOnlyDeclaration.symbol.parent).get(p.typeOnlyExportStarName||n.escapedName)):ud(p.typeOnlyDeclaration.symbol);return fp(h)&a?p.typeOnlyDeclaration:void 0}}function a0(n,a){return n.kind===80&&mM(n)&&(n=n.parent),n.kind===80||n.parent.kind===167?Gl(n,1920,!1,a):(C.assert(n.parent.kind===272),Gl(n,901119,!1,a))}function wv(n,a){return n.parent?wv(n.parent,a)+"."+uo(n):uo(n,a,void 0,36)}function Gx(n){for(;Wu(n.parent);)n=n.parent;return n}function sL(n){let a=Ou(n),c=gt(a,a,111551,void 0,!0);if(c){for(;Wu(a.parent);){const p=gr(c);if(c=xa(p,a.parent.right.escapedText),!c)return;a=a.parent}return c}}function Gl(n,a,c,p,h){if(Wl(n))return;const v=1920|(Er(n)?a&111551:0);let I;if(n.kind===80){const w=a===v||zs(n)?f.Cannot_find_namespace_0:FFe(Ou(n)),U=Er(n)&&!zs(n)?PC(n,a):void 0;if(I=os(gt(h||n,n,a,c||U?void 0:w,!0,!1)),!I)return os(U)}else if(n.kind===167||n.kind===212){const w=n.kind===167?n.left:n.expression,U=n.kind===167?n.right:n.name;let H=Gl(w,v,c,!1,h);if(!H||Wl(U))return;if(H===ie)return H;if(H.valueDeclaration&&Er(H.valueDeclaration)&&iu(O)!==100&&bi(H.valueDeclaration)&&H.valueDeclaration.initializer&&k4e(H.valueDeclaration.initializer)){const Z=H.valueDeclaration.initializer.arguments[0],Ee=pu(Z,Z);if(Ee){const Te=Ap(Ee);Te&&(H=Te)}}if(I=os(Td(Kp(H),U.escapedText,a)),!I&&H.flags&2097152&&(I=os(Td(Kp(ud(H)),U.escapedText,a))),!I){if(!c){const Z=wv(H),Ee=Fs(U),Te=Fge(U,H);if(Te){Ze(U,f._0_has_no_exported_member_named_1_Did_you_mean_2,Z,Ee,uo(Te));return}const Ye=Wu(n)&&Gx(n);if(Xt&&a&788968&&Ye&&!ED(Ye.parent)&&sL(Ye)){Ze(Ye,f._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,kp(Ye));return}if(a&1920&&Wu(n.parent)){const Dt=os(Td(Kp(H),U.escapedText,788968));if(Dt){Ze(n.parent.right,f.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,uo(Dt),Bi(n.parent.right.escapedText));return}}Ze(U,f.Namespace_0_has_no_exported_member_1,Z,Ee)}return}}else C.assertNever(n,"Unknown entity name kind.");return!zs(n)&&ku(n)&&(I.flags&2097152||n.parent.kind===278)&&tm(XG(n),I,void 0,!0),I.flags&a||p?I:ud(I)}function PC(n,a){if(bY(n.parent)){const c=aA(n.parent);if(c)return gt(c,n,a,void 0,!0)}}function aA(n){if(Rn(n,h=>jR(h)||h.flags&16777216?vm(h):"quit"))return;const c=IS(n);if(c&&od(c)&&bk(c.expression)){const h=Fr(c.expression.left);if(h)return _E(h)}if(c&&Ks(c)&&bk(c.parent)&&od(c.parent.parent)){const h=Fr(c.parent.left);if(h)return _E(h)}if(c&&(ym(c)||Rc(c))&&Nr(c.parent.parent)&&ac(c.parent.parent)===6){const h=Fr(c.parent.parent.left);if(h)return _E(h)}const p=V0(n);if(p&&Yo(p)){const h=Fr(p);return h&&h.valueDeclaration}}function _E(n){const a=n.parent.valueDeclaration;return a?(QN(a)?gI(a):e1(a)?ZN(a):void 0)||a:void 0}function Vx(n){const a=n.valueDeclaration;if(!a||!Er(a)||n.flags&524288||B0(a,!1))return;const c=bi(a)?ZN(a):gI(a);if(c){const p=Rf(c);if(p)return Kge(p,n)}}function pu(n,a,c){const h=iu(O)===1?f.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:f.Cannot_find_module_0_or_its_corresponding_type_declarations;return Ep(n,a,c?void 0:h,c)}function Ep(n,a,c,p=!1,h=!1){return ds(a)?sA(n,a.text,c,p?void 0:a,h):void 0}function sA(n,a,c,p,h=!1){var v,I,w,U,H,Z,Ee,Te,Ye,ht,Dt,en;if(p&&fo(a,"@types/")){const Pi=f.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,Vo=_N(a,"@types/");Ze(p,Pi,Vo,a)}const Sn=W8e(a,!0);if(Sn)return Sn;const Zn=On(n),yr=ds(n)?n:((v=pc(n)?n:n.parent&&pc(n.parent)&&n.parent.name===n?n.parent:void 0)==null?void 0:v.name)||((I=ly(n)?n:void 0)==null?void 0:I.argument.literal)||(bi(n)&&n.initializer&&tp(n.initializer,!0)?n.initializer.arguments[0]:void 0)||((w=Rn(n,ep))==null?void 0:w.arguments[0])||((U=Rn(n,Np(Sl,d_,fc)))==null?void 0:U.moduleSpecifier)||((H=Rn(n,z0))==null?void 0:H.moduleReference.expression),xn=yr&&ds(yr)?e.getModeForUsageLocation(Zn,yr):e.getDefaultResolutionModeForFile(Zn),Tn=iu(O),cr=(Z=e.getResolvedModule(Zn,a,xn))==null?void 0:Z.resolvedModule,mi=p&&cr&&kH(O,cr,Zn),ao=cr&&(!mi||mi===f.Module_0_was_resolved_to_1_but_jsx_is_not_set)&&e.getSourceFile(cr.resolvedFileName);if(ao){if(mi&&Ze(p,mi,a,cr.resolvedFileName),cr.resolvedUsingTsExtension&&ad(a)){const Pi=((Ee=Rn(n,Sl))==null?void 0:Ee.importClause)||Rn(n,Np(Oc,fc));(p&&Pi&&!Pi.isTypeOnly||Rn(n,ep))&&Ze(p,f.A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead,ui(C.checkDefined(C6(a))))}else if(cr.resolvedUsingTsExtension&&!UD(O,Zn.fileName)){const Pi=((Te=Rn(n,Sl))==null?void 0:Te.importClause)||Rn(n,Np(Oc,fc));if(p&&!(Pi!=null&&Pi.isTypeOnly||Rn(n,o_))){const Vo=C.checkDefined(C6(a));Ze(p,f.An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled,Vo)}}else if(O.rewriteRelativeImportExtensions&&!(n.flags&33554432)&&!ad(a)&&!ly(n)&&!gte(n)){const Pi=Sk(a,O);if(!cr.resolvedUsingTsExtension&&Pi)Ze(p,f.This_relative_import_path_is_unsafe_to_rewrite_because_it_looks_like_a_file_name_but_actually_resolves_to_0,LR(Eo(Zn.fileName,e.getCurrentDirectory()),cr.resolvedFileName,uy(e)));else if(cr.resolvedUsingTsExtension&&!Pi&&DS(ao,e))Ze(p,f.This_import_uses_a_0_extension_to_resolve_to_an_input_TypeScript_file_but_will_not_be_rewritten_during_emit_because_it_is_not_a_relative_path,rI(a));else if(cr.resolvedUsingTsExtension&&Pi){const Vo=(Ye=e.getRedirectFromSourceFile(ao.path))==null?void 0:Ye.resolvedRef;if(Vo){const _s=!e.useCaseSensitiveFileNames(),mo=e.getCommonSourceDirectory(),_l=O1(Vo.commandLine,_s),Xl=df(mo,_l,_s),hu=df(O.outDir||mo,Vo.commandLine.options.outDir||_l,_s);Xl!==hu&&Ze(p,f.This_import_path_is_unsafe_to_rewrite_because_it_resolves_to_another_project_and_the_relative_path_between_the_projects_output_files_is_not_the_same_as_the_relative_path_between_its_input_files)}}}if(ao.symbol){if(p&&cr.isExternalLibraryImport&&!AM(cr.extension)&&WT(!1,p,Zn,xn,cr,a),p&&(j===100||j===101)){const Pi=Zn.impliedNodeFormat===1&&!Rn(n,ep)||!!Rn(n,Oc),Vo=Rn(n,_s=>o_(_s)||fc(_s)||Sl(_s)||d_(_s));if(Pi&&ao.impliedNodeFormat===99&&!$re(Vo))if(Rn(n,Oc))Ze(p,f.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,a);else{let _s;const mo=xg(Zn.fileName);(mo===".ts"||mo===".js"||mo===".tsx"||mo===".jsx")&&(_s=_G(Zn));const _l=(Vo==null?void 0:Vo.kind)===273&&((ht=Vo.importClause)!=null&&ht.isTypeOnly)?f.Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute:(Vo==null?void 0:Vo.kind)===206?f.Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute:f.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;ns.add(vg(On(p),p,Ko(_s,_l,a)))}}return os(ao.symbol)}p&&c&&!aj(p)&&Ze(p,f.File_0_is_not_a_module,ao.fileName);return}if(du){const Pi=i9(du,Vo=>Vo.pattern,a);if(Pi){const Vo=Fe&&Fe.get(a);return os(Vo||Pi.symbol)}}if(!p)return;if(cr&&!AM(cr.extension)&&mi===void 0||mi===f.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type){if(h){const Pi=f.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;Ze(p,Pi,a,cr.resolvedFileName)}else WT(Ae&&!!c,p,Zn,xn,cr,a);return}if(c){if(cr){const Pi=e.getRedirectFromSourceFile(cr.resolvedFileName);if(Pi!=null&&Pi.outputDts){Ze(p,f.Output_file_0_has_not_been_built_from_source_file_1,Pi.outputDts,cr.resolvedFileName);return}}if(mi)Ze(p,mi,a,cr.resolvedFileName);else{const Pi=tf(a)&&!PR(a),Vo=Tn===3||Tn===99;if(!LS(O)&&xl(a,".json")&&Tn!==1&&z6(O))Ze(p,f.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,a);else if(xn===99&&Vo&&Pi){const _s=Eo(a,pi(Zn.path)),mo=(Dt=Du.find(([_l,Xl])=>e.fileExists(_s+_l)))==null?void 0:Dt[1];mo?Ze(p,f.Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0,a+mo):Ze(p,f.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 if((en=e.getResolvedModule(Zn,a,xn))!=null&&en.alternateResult){const _s=wF(Zn,e,a,xn,a);Ym(!0,p,Ko(_s,c,a))}else Ze(p,c,a)}}return;function ui(Pi){const Vo=ew(a,Pi);if(Xk(j)||xn===99){const _s=ad(a)&&UD(O);return Vo+(Pi===".mts"||Pi===".d.mts"?_s?".mts":".mjs":Pi===".cts"||Pi===".d.mts"?_s?".cts":".cjs":_s?".ts":".js")}return Vo}}function WT(n,a,c,p,{packageId:h,resolvedFileName:v},I){if(aj(a))return;let w;!td(I)&&h&&(w=wF(c,e,I,p,h.name)),Ym(n,a,Ko(w,f.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,I,v))}function Ap(n,a){if(n!=null&&n.exports){const c=mc(n.exports.get("export="),a),p=lA(os(c),os(n));return os(p)||n}}function lA(n,a){if(!n||n===ie||n===a||a.exports.size===1||n.flags&2097152)return n;const c=Kr(n);if(c.cjsExportMerged)return c.cjsExportMerged;const p=n.flags&33554432?n:uE(n);return p.flags=p.flags|512,p.exports===void 0&&(p.exports=ma()),a.exports.forEach((h,v)=>{v!=="export="&&p.exports.set(v,p.exports.has(v)?Zf(p.exports.get(v),h):h)}),p===n&&(Kr(p).resolvedExports=void 0,Kr(p).resolvedMembers=void 0),Kr(p).cjsExportMerged=p,c.cjsExportMerged=p}function jg(n,a,c,p){var h;const v=Ap(n,c);if(!c&&v){if(!p&&!(v.flags&1539)&&!ul(v,308)){const U=j>=5?"allowSyntheticDefaultImports":"esModuleInterop";return Ze(a,f.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,U),v}const I=a.parent,w=Sl(I)&&tD(I);if(w||ep(I)){const U=ep(I)?I.arguments[0]:I.moduleSpecifier,H=gr(v),Z=P4e(H,v,n,U);if(Z)return cA(v,Z,I);const Ee=(h=n==null?void 0:n.declarations)==null?void 0:h.find(Qi),Te=wy(U);let Ye;if(w&&Ee&&102<=j&&j<=199&&Te===1&&e.getImpliedNodeFormatForEmit(Ee)===99&&(Ye=n0(v,"module.exports",w,c)))return!p&&!(v.flags&1539)&&Ze(a,f.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,"esModuleInterop"),n_(O)&&jx(H)?cA(Ye,H,I):Ye;const ht=Ee&&v_(Te,e.getImpliedNodeFormatForEmit(Ee));if((n_(O)||ht)&&(jx(H)||xa(H,"default",!0)||ht)){const Dt=H.flags&3670016?L4e(H,v,n,U):Xge(v,v.parent);return cA(v,Dt,I)}}}return v}function jx(n){return bt(Zz(n,0))||bt(Zz(n,1))}function cA(n,a,c){const p=Ua(n.flags,n.escapedName);p.declarations=n.declarations?n.declarations.slice():[],p.parent=n.parent,p.links.target=n,p.links.originatingImport=c,n.valueDeclaration&&(p.valueDeclaration=n.valueDeclaration),n.constEnumOnlyModule&&(p.constEnumOnlyModule=!0),n.members&&(p.members=new Map(n.members)),n.exports&&(p.exports=new Map(n.exports));const h=Nh(a);return p.links.type=El(p,h.members,se,se,h.indexInfos),p}function Zm(n){return n.exports.get("export=")!==void 0}function Ux(n){return zhe(b_(n))}function LC(n){const a=Ux(n),c=Ap(n);if(c!==n){const p=gr(c);Ov(p)&&$r(a,Es(p))}return a}function Hx(n,a){b_(n).forEach((h,v)=>{BT(v)||a(h,v)});const p=Ap(n);if(p!==n){const h=gr(p);Ov(h)&&Jlt(h,(v,I)=>{a(v,I)})}}function dA(n,a){const c=b_(a);if(c)return c.get(n)}function qx(n,a){const c=dA(n,a);if(c)return c;const p=Ap(a);if(p===a)return;const h=gr(p);return Ov(h)?xa(h,n):void 0}function Ov(n){return!(n.flags&402784252||qr(n)&1||sm(n)||Xa(n))}function Kp(n){return n.flags&6256?Ihe(n,"resolvedExports"):n.flags&1536?b_(n):n.exports||k}function b_(n){const a=Kr(n);if(!a.resolvedExports){const{exports:c,typeOnlyExportStarMap:p}=pA(n);a.resolvedExports=c,a.typeOnlyExportStarMap=p}return a.resolvedExports}function uA(n,a,c,p){a&&a.forEach((h,v)=>{if(v==="default")return;const I=n.get(v);if(!I)n.set(v,h),c&&p&&c.set(v,{specifierText:Rl(p.moduleSpecifier)});else if(c&&p&&I&&mc(I)!==mc(h)){const w=c.get(v);w.exportsWithDuplicate?w.exportsWithDuplicate.push(p):w.exportsWithDuplicate=[p]}})}function pA(n){const a=[];let c;const p=new Set;n=Ap(n);const h=v(n)||k;return c&&p.forEach(I=>c.delete(I)),{exports:h,typeOnlyExportStarMap:c};function v(I,w,U){if(!U&&(I!=null&&I.exports)&&I.exports.forEach((Ee,Te)=>p.add(Te)),!(I&&I.exports&&wf(a,I)))return;const H=new Map(I.exports),Z=I.exports.get("__export");if(Z){const Ee=ma(),Te=new Map;if(Z.declarations)for(const Ye of Z.declarations){const ht=pu(Ye,Ye.moduleSpecifier),Dt=v(ht,Ye,U||Ye.isTypeOnly);uA(Ee,Dt,Te,Ye)}Te.forEach(({exportsWithDuplicate:Ye},ht)=>{if(!(ht==="export="||!(Ye&&Ye.length)||H.has(ht)))for(const Dt of Ye)ns.add(Sr(Dt,f.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity,Te.get(ht).specifierText,Bi(ht)))}),uA(H,Ee)}return w!=null&&w.isTypeOnly&&(c!=null||(c=new Map),H.forEach((Ee,Te)=>c.set(Te,w))),H}}function os(n){let a;return n&&n.mergeId&&(a=X1[n.mergeId])?a:n}function Fr(n){return os(n.symbol&&lY(n.symbol))}function Rf(n){return ah(n)?Fr(n):void 0}function Xc(n){return os(n.parent&&lY(n.parent))}function FT(n){var a,c;return(((a=n.valueDeclaration)==null?void 0:a.kind)===220||((c=n.valueDeclaration)==null?void 0:c.kind)===219)&&Rf(n.valueDeclaration.parent)||n}function fA(n,a){const c=On(a),p=ls(c),h=Kr(n);let v;if(h.extendedContainersByFile&&(v=h.extendedContainersByFile.get(p)))return v;if(c&&c.imports){for(const w of c.imports){if(zs(w))continue;const U=pu(a,w,!0);!U||!D(U,n)||(v=jn(v,U))}if(et(v))return(h.extendedContainersByFile||(h.extendedContainersByFile=new Map)).set(p,v),v}if(h.extendedContainers)return h.extendedContainers;const I=e.getSourceFiles();for(const w of I){if(!Wc(w))continue;const U=Fr(w);D(U,n)&&(v=jn(v,U))}return h.extendedContainers=v||se}function gE(n,a,c){const p=Xc(n);if(p&&!(n.flags&262144))return U(p);const h=Hi(n.declarations,Z=>{if(!vu(Z)&&Z.parent){if(vE(Z.parent))return Fr(Z.parent);if(a_(Z.parent)&&Z.parent.parent&&Ap(Fr(Z.parent.parent))===n)return Fr(Z.parent.parent)}if(uc(Z)&&Nr(Z.parent)&&Z.parent.operatorToken.kind===64&&Qs(Z.parent.left)&&Ps(Z.parent.left.expression))return Tg(Z.parent.left)||o1(Z.parent.left.expression)?Fr(On(Z)):(Vl(Z.parent.left.expression),Vr(Z.parent.left.expression).resolvedSymbol)});if(!et(h))return;const v=Hi(h,Z=>D(Z,n)?Z:void 0);let I=[],w=[];for(const Z of v){const[Ee,...Te]=U(Z);I=jn(I,Ee),w=$r(w,Te)}return co(I,w);function U(Z){const Ee=Hi(Z.declarations,H),Te=a&&fA(n,a),Ye=zT(Z,c);if(a&&Z.flags&eh(c)&&Fv(Z,a,1920,!1))return jn(co(co([Z],Ee),Te),Ye);const ht=!(Z.flags&eh(c))&&Z.flags&788968&&Xs(Z).flags&524288&&c===111551?Wv(a,en=>Uc(en,Sn=>{if(Sn.flags&eh(c)&&gr(Sn)===Xs(Z))return Sn})):void 0;let Dt=ht?[ht,...Ee,Z]:[...Ee,Z];return Dt=jn(Dt,Ye),Dt=$r(Dt,Te),Dt}function H(Z){return p&&mA(Z,p)}}function zT(n,a){const c=!!et(n.declarations)&&Qa(n.declarations);if(a&111551&&c&&c.parent&&bi(c.parent)&&(za(c)&&c===c.parent.initializer||Fu(c)&&c===c.parent.type))return Fr(c.parent)}function mA(n,a){const c=_A(n),p=c&&c.exports&&c.exports.get("export=");return p&&me(p,a)?c:void 0}function D(n,a){if(n===Xc(a))return a;const c=n.exports&&n.exports.get("export=");if(c&&me(c,a))return n;const p=Kp(n),h=p.get(a.escapedName);return h&&me(h,a)?h:Uc(p,v=>{if(me(v,a))return v})}function me(n,a){if(os(mc(os(n)))===os(mc(os(a))))return n}function St(n){return os(n&&(n.flags&1048576)!==0&&n.exportSymbol||n)}function En(n,a){return!!(n.flags&111551||n.flags&2097152&&fp(n,!a)&111551)}function vi(n){var a;const c=new l(ir,n);return d++,c.id=d,(a=Ar)==null||a.recordType(c),c}function Ni(n,a){const c=vi(n);return c.symbol=a,c}function xo(n){return new l(ir,n)}function ki(n,a,c=0,p){Ka(a,p);const h=vi(n);return h.intrinsicName=a,h.debugIntrinsicName=p,h.objectFlags=c|524288|2097152|33554432|16777216,h}function Ka(n,a){const c="".concat(n,",").concat(a!=null?a:"");Lt.has(c)&&C.fail("Duplicate intrinsic type name ".concat(n).concat(a?" (".concat(a,")"):"","; you may need to pass a name to createIntrinsicType.")),Lt.add(c)}function hc(n,a){const c=Ni(524288,a);return c.objectFlags=n,c.members=void 0,c.properties=void 0,c.callSignatures=void 0,c.constructSignatures=void 0,c.indexInfos=void 0,c}function Xd(){return _i(Mo(Tae.keys(),Ip))}function Hu(n){return Ni(262144,n)}function BT(n){return n.charCodeAt(0)===95&&n.charCodeAt(1)===95&&n.charCodeAt(2)!==95&&n.charCodeAt(2)!==64&&n.charCodeAt(2)!==35}function qu(n){let a;return n.forEach((c,p)=>{s0(c,p)&&(a||(a=[])).push(c)}),a||se}function s0(n,a){return!BT(a)&&En(n)}function Jx(n){const a=qu(n),c=mY(n);return c?co(a,[c]):a}function Lm(n,a,c,p,h){const v=n;return v.members=a,v.properties=se,v.callSignatures=c,v.constructSignatures=p,v.indexInfos=h,a!==k&&(v.properties=qu(a)),v}function El(n,a,c,p,h){return Lm(hc(16,n),a,c,p,h)}function hA(n){if(n.constructSignatures.length===0)return n;if(n.objectTypeWithoutAbstractConstructSignatures)return n.objectTypeWithoutAbstractConstructSignatures;const a=Fn(n.constructSignatures,p=>!(p.flags&4));if(n.constructSignatures===a)return n;const c=El(n.symbol,n.members,n.callSignatures,bt(a)?a:se,n.indexInfos);return n.objectTypeWithoutAbstractConstructSignatures=c,c.objectTypeWithoutAbstractConstructSignatures=c,c}function Wv(n,a){let c;for(let p=n;p;p=p.parent){if(k_(p)&&p.locals&&!iv(p)&&(c=a(p.locals,void 0,!0,p)))return c;switch(p.kind){case 308:if(!wp(p))break;case 268:const h=Fr(p);if(c=a((h==null?void 0:h.exports)||k,void 0,!0,p))return c;break;case 264:case 232:case 265:let v;if((Fr(p).members||k).forEach((I,w)=>{I.flags&788968&&(v||(v=ma())).set(w,I)}),v&&(c=a(v,void 0,!1,p)))return c;break}}return a(lt,void 0,!0)}function eh(n){return n===111551?111551:1920}function Fv(n,a,c,p,h=new Map){if(!(n&&!Vz(n)))return;const v=Kr(n),I=v.accessibleChainCache||(v.accessibleChainCache=new Map),w=Wv(a,(Sn,Zn,yr,xn)=>xn),U="".concat(p?0:1,"|").concat(w?ls(w):0,"|").concat(c);if(I.has(U))return I.get(U);const H=Aa(n);let Z=h.get(H);Z||h.set(H,Z=[]);const Ee=Wv(a,Te);return I.set(U,Ee),Ee;function Te(Sn,Zn,yr){if(!wf(Z,Sn))return;const xn=Dt(Sn,Zn,yr);return Z.pop(),xn}function Ye(Sn,Zn){return!yE(Sn,a,Zn)||!!Fv(Sn.parent,a,eh(Zn),p,h)}function ht(Sn,Zn,yr){return(n===(Zn||Sn)||os(n)===os(Zn||Sn))&&!bt(Sn.declarations,vE)&&(yr||Ye(os(Sn),c))}function Dt(Sn,Zn,yr){return ht(Sn.get(n.escapedName),void 0,Zn)?[n]:Uc(Sn,Tn=>{if(Tn.flags&2097152&&Tn.escapedName!=="export="&&Tn.escapedName!=="default"&&!(L6(Tn)&&a&&Wc(On(a)))&&(!p||bt(Tn.declarations,z0))&&(!yr||!bt(Tn.declarations,bne))&&(Zn||!ul(Tn,282))){const cr=ud(Tn),mi=en(Tn,cr,Zn);if(mi)return mi}if(Tn.escapedName===n.escapedName&&Tn.exportSymbol&&ht(os(Tn.exportSymbol),void 0,Zn))return[n]})||(Sn===lt?en(De,De,Zn):void 0)}function en(Sn,Zn,yr){if(ht(Sn,Zn,yr))return[Sn];const xn=Kp(Zn),Tn=xn&&Te(xn,!0);if(Tn&&Ye(Sn,eh(c)))return[Sn].concat(Tn)}}function yE(n,a,c){let p=!1;return Wv(a,h=>{let v=os(h.get(n.escapedName));if(!v)return!1;if(v===n)return!0;const I=v.flags&2097152&&!ul(v,282);return v=I?ud(v):v,(I?fp(v):v.flags)&c?(p=!0,!0):!1}),p}function Vz(n){if(n.declarations&&n.declarations.length){for(const a of n.declarations)switch(a.kind){case 173:case 175:case 178:case 179:continue;default:return!1}return!0}return!1}function lL(n,a){return Xx(n,a,788968,!1,!0).accessibility===0}function Kx(n,a){return Xx(n,a,111551,!1,!0).accessibility===0}function cL(n,a,c){return Xx(n,a,c,!1,!1).accessibility===0}function T8(n,a,c,p,h,v){if(!et(n))return;let I,w=!1;for(const U of n){const H=Fv(U,a,p,!1);if(H){I=U;const Te=gA(H[0],h);if(Te)return Te}if(v&&bt(U.declarations,vE)){if(h){w=!0;continue}return{accessibility:0}}const Z=gE(U,a,p),Ee=T8(Z,a,c,c===U?eh(p):p,h,v);if(Ee)return Ee}if(w)return{accessibility:0};if(I)return{accessibility:1,errorSymbolName:uo(c,a,p),errorModuleName:I!==c?uo(I,a,1920):void 0}}function l0(n,a,c,p){return Xx(n,a,c,p,!0)}function Xx(n,a,c,p,h){if(n&&a){const v=T8([n],a,n,c,p,h);if(v)return v;const I=Xe(n.declarations,_A);if(I){const w=_A(a);if(I!==w)return{accessibility:2,errorSymbolName:uo(n,a,c),errorModuleName:uo(I),errorNode:Er(a)?a:void 0}}return{accessibility:1,errorSymbolName:uo(n,a,c)}}return{accessibility:0}}function _A(n){const a=Rn(n,jz);return a&&Fr(a)}function jz(n){return vu(n)||n.kind===308&&wp(n)}function vE(n){return BF(n)||n.kind===308&&wp(n)}function gA(n,a){let c;if(!Gn(Fn(n.declarations,v=>v.kind!==80),p))return;return{accessibility:0,aliasesToMakeVisible:c};function p(v){var I,w;if(!Z_(v)){const U=em(v);if(U&&!fi(U,32)&&Z_(U.parent))return h(v,U);if(bi(v)&&sc(v.parent.parent)&&!fi(v.parent.parent,32)&&Z_(v.parent.parent.parent))return h(v,v.parent.parent);if(GF(v)&&!fi(v,32)&&Z_(v.parent))return h(v,v);if(qa(v)){if(n.flags&2097152&&Er(v)&&((I=v.parent)!=null&&I.parent)&&bi(v.parent.parent)&&((w=v.parent.parent.parent)!=null&&w.parent)&&sc(v.parent.parent.parent.parent)&&!fi(v.parent.parent.parent.parent,32)&&v.parent.parent.parent.parent.parent&&Z_(v.parent.parent.parent.parent.parent))return h(v,v.parent.parent.parent.parent);if(n.flags&2){const H=JE(v);if(H.kind===170)return!1;const Z=H.parent.parent;return Z.kind!==244?!1:fi(Z,32)?!0:Z_(Z.parent)?h(v,Z):!1}}return!1}return!0}function h(v,I){return a&&(Vr(v).isVisible=!0,c=ny(c,I)),!0}}function dL(n){let a;return n.parent.kind===187||n.parent.kind===234&&!Yh(n.parent)||n.parent.kind===168||n.parent.kind===183&&n.parent.parameterName===n?a=1160127:n.kind===167||n.kind===212||n.parent.kind===272||n.parent.kind===167&&n.parent.left===n||n.parent.kind===212&&n.parent.expression===n||n.parent.kind===213&&n.parent.expression===n?a=1920:a=788968,a}function Yx(n,a,c=!0){const p=dL(n),h=Ou(n),v=gt(a,h.escapedText,p,void 0,!1);return v&&v.flags&262144&&p&788968?{accessibility:0}:!v&&Rb(h)&&l0(Fr(bu(h,!1,!1)),h,p,!1).accessibility===0?{accessibility:0}:v?gA(v,c)||{accessibility:1,errorSymbolName:Rl(h),errorNode:h}:{accessibility:3,errorSymbolName:Rl(h),errorNode:h}}function uo(n,a,c,p=4,h){let v=70221824,I=0;p&2&&(v|=128),p&1&&(v|=512),p&8&&(v|=16384),p&32&&(I|=4),p&16&&(I|=1);const w=p&4?Se.symbolToNode:Se.symbolToEntityName;return h?U(h).getText():HR(U);function U(H){const Z=w(n,c,a,v,I),Ee=(a==null?void 0:a.kind)===308?gse():YS(),Te=a&&On(a);return Ee.writeNode(4,Z,Te,H),H}}function c0(n,a,c=0,p,h,v,I,w){return h?U(h).getText():HR(U);function U(H){let Z;c&262144?Z=p===1?186:185:Z=p===1?181:180;const Ee=Se.signatureToSignatureDeclaration(n,Z,a,bE(c)|70221824|512,void 0,void 0,v,I,w),Te=gH(),Ye=a&&On(a);return Te.writeNode(4,Ee,Ye,lV(H)),H}}function sr(n,a,c=1064960,p=wk(""),h,v,I){const w=!h&&O.noErrorTruncation||c&1,U=Se.typeToTypeNode(n,a,bE(c)|70221824|(w?1:0),void 0,void 0,h,v,I);if(U===void 0)return C.fail("should always get typenode");const H=n!==Zt?YS():_se(),Z=a&&On(a);H.writeNode(4,U,Z,p);const Ee=p.getText(),Te=h||(w?mG*2:VN*2);return Ee&&Ee.length>=Te?Ee.substr(0,Te-3)+"...":Ee}function uL(n,a){let c=wC(n.symbol)?sr(n,n.symbol.valueDeclaration):sr(n),p=wC(a.symbol)?sr(a,a.symbol.valueDeclaration):sr(a);return c===p&&(c=kC(n),p=kC(a)),[c,p]}function kC(n){return sr(n,void 0,64)}function wC(n){return n&&!!n.valueDeclaration&&Et(n.valueDeclaration)&&!Mf(n.valueDeclaration)}function bE(n=0){return n&848330095}function S8(n){return!!n.symbol&&!!(n.symbol.flags&32)&&(n===im(n.symbol)||!!(n.flags&524288)&&!!(qr(n)&16777216))}function yA(n){return Yi(n)}function Uz(){return{syntacticBuilderResolver:{evaluateEntityNameExpression:r7e,isExpandoFunctionDeclaration:A7e,hasLateBindableName:FC,shouldRemoveDeclaration(we,ae){return!(we.internalFlags&8&&Ps(ae.name.expression)&&nh(ae.name).flags&1)},createRecoveryBoundary(we){return Pi(we)},isDefinitelyReferenceToGlobalSymbolObject:Y_,getAllAccessorDeclarations:Bye,requiresAddingImplicitUndefined(we,ae,an){var dn;switch(we.kind){case 173:case 172:case 349:ae!=null||(ae=Fr(we));const Le=gr(ae);return!!(ae.flags&4&&ae.flags&16777216&&OI(we)&&((dn=ae.links)!=null&&dn.mappedType)&&vut(Le));case 170:case 342:return dB(we,an);default:C.assertNever(we)}},isOptionalParameter:P8,isUndefinedIdentifierExpression(we){return dm(we)===le},isEntityNameVisible(we,ae,an){return Yx(ae,we.enclosingDeclaration,an)},serializeExistingTypeNode(we,ae,an){return hp(we,ae,!!an)},serializeReturnTypeForSignature(we,ae,an){var ct;const dn=we,Le=Nf(ae);an!=null||(an=Fr(ae));const Ke=(ct=dn.enclosingSymbolTypes.get(Aa(an)))!=null?ct:oo(hs(Le),dn.mapper);return Fa(dn,Le,Ke)},serializeTypeOfExpression(we,ae){const an=we,dn=oo(Zp(_7e(ae)),an.mapper);return en(dn,an)},serializeTypeOfDeclaration(we,ae,an){var dn;const Le=we;an!=null||(an=Fr(ae));let Ke=(dn=Le.enclosingSymbolTypes)==null?void 0:dn.get(Aa(an));return Ke===void 0&&(Ke=an.flags&98304&&ae.kind===179?oo(Gv(an),Le.mapper):an&&!(an.flags&133120)?oo(QT(gr(an)),Le.mapper):rt),ae&&(no(ae)||hf(ae))&&dB(ae,Le.enclosingDeclaration)&&(Ke=y0(Ke)),_r(an,Le,Ke)},serializeNameOfParameter(we,ae){return qi(Fr(ae),ae,we)},serializeEntityName(we,ae){const an=we,dn=dm(ae,!0);if(dn&&Kx(dn,an.enclosingDeclaration))return um(dn,an,1160127)},serializeTypeName(we,ae,an,dn){return $c(we,ae,an,dn)},getJsDocPropertyOverride(we,ae,an){const dn=we,Le=Je(an.name)?an.name:an.name.right,Ke=yn(a(dn,ae),Le.escapedText);return Ke&&an.typeExpression&&a(dn,an.typeExpression.type)!==Ke?en(Ke,dn):void 0},enterNewScope(we,ae){if(Yo(ae)||gv(ae)){const an=Nf(ae);return Vo(we,ae,an.parameters,an.typeParameters)}else{const an=zS(ae)?f_e(ae):[jT(Fr(ae.typeParameter))];return Vo(we,ae,void 0,an)}},markNodeReuse(we,ae,an){return c(we,ae,an)},trackExistingEntityName(we,ae){return Hs(ae,we)},trackComputedName(we,ae){vr(ae,we.enclosingDeclaration,we)},getModuleSpecifierOverride(we,ae,an){const dn=we;if(dn.bundled||dn.enclosingFile!==On(an)){let Le=an.text;const Ke=Le,ct=Vr(ae).resolvedSymbol,Ut=ae.isTypeOf?111551:788968,ln=ct&&l0(ct,dn.enclosingDeclaration,Ut,!1).accessibility===0&&Wo(ct,dn,Ut,!0)[0];if(ln&&uI(ln))Le=cc(ln,dn);else{const qt=jye(ae);qt&&(Le=cc(qt.symbol,dn))}if(Le.includes("/node_modules/")&&(dn.encounteredError=!0,dn.tracker.reportLikelyUnsafeImportRequiredError&&dn.tracker.reportLikelyUnsafeImportRequiredError(Le)),Le!==Ke)return Le}},canReuseTypeNode(we,ae){return _u(we,ae)},canReuseTypeNodeAnnotation(we,ae,an,dn,Le){var Ke;const ct=we;if(ct.enclosingDeclaration===void 0)return!1;dn!=null||(dn=Fr(ae));let Ut=(Ke=ct.enclosingSymbolTypes)==null?void 0:Ke.get(Aa(dn));Ut===void 0&&(dn.flags&98304?Ut=ae.kind===179?Gv(dn):_L(dn):c1(ae)?Ut=hs(Nf(ae)):Ut=gr(dn));let ln=yA(an);return mr(ln)?!0:(Le&&ln&&(ln=fu(ln,!no(ae))),!!ln&&yi(ae,Ut,ln)&&Cn(an,Ut))}},typeToTypeNode:(we,ae,an,dn,Le,Ke,ct,Ut)=>H(ae,an,dn,Le,Ke,ct,ln=>en(we,ln),Ut),typePredicateToTypePredicateNode:(we,ae,an,dn,Le)=>H(ae,an,dn,Le,void 0,void 0,Ke=>hu(we,Ke)),serializeTypeForDeclaration:(we,ae,an,dn,Le,Ke)=>H(an,dn,Le,Ke,void 0,void 0,ct=>Ne.serializeTypeOfDeclaration(we,ae,ct)),serializeReturnTypeForSignature:(we,ae,an,dn,Le)=>H(ae,an,dn,Le,void 0,void 0,Ke=>Ne.serializeReturnTypeForSignature(we,Fr(we),Ke)),serializeTypeForExpression:(we,ae,an,dn,Le)=>H(ae,an,dn,Le,void 0,void 0,Ke=>Ne.serializeTypeOfExpression(we,Ke)),indexInfoToIndexSignatureDeclaration:(we,ae,an,dn,Le)=>H(ae,an,dn,Le,void 0,void 0,Ke=>ao(we,Ke,void 0)),signatureToSignatureDeclaration:(we,ae,an,dn,Le,Ke,ct,Ut,ln)=>H(an,dn,Le,Ke,ct,Ut,qt=>ui(we,ae,qt),ln),symbolToEntityName:(we,ae,an,dn,Le,Ke)=>H(an,dn,Le,Ke,void 0,void 0,ct=>rc(we,ct,ae,!1)),symbolToExpression:(we,ae,an,dn,Le,Ke)=>H(an,dn,Le,Ke,void 0,void 0,ct=>um(we,ct,ae)),symbolToTypeParameterDeclarations:(we,ae,an,dn,Le)=>H(ae,an,dn,Le,void 0,void 0,Ke=>dl(we,Ke)),symbolToParameterDeclaration:(we,ae,an,dn,Le)=>H(ae,an,dn,Le,void 0,void 0,Ke=>rr(we,Ke)),typeParameterToDeclaration:(we,ae,an,dn,Le,Ke,ct,Ut)=>H(ae,an,dn,Le,Ke,ct,ln=>Xl(we,ln),Ut),symbolTableToDeclarationStatements:(we,ae,an,dn,Le)=>H(ae,an,dn,Le,void 0,void 0,Ke=>rS(we,Ke)),symbolToNode:(we,ae,an,dn,Le,Ke)=>H(an,dn,Le,Ke,void 0,void 0,ct=>p(we,ct,ae)),symbolToDeclarations:h};function a(we,ae,an){const dn=yA(ae);if(!we.mapper)return dn;const Le=oo(dn,we.mapper);return an&&Le!==dn?void 0:Le}function c(we,ae,an){if((!zs(ae)||!(ae.flags&16)||!we.enclosingFile||we.enclosingFile!==On(Tl(ae)))&&(ae=L.cloneNode(ae)),ae===an||!an)return ae;let dn=ae.original;for(;dn&&dn!==an;)dn=dn.original;return dn||jr(ae,an),we.enclosingFile&&we.enclosingFile===On(Tl(an))?Tt(ae,an):ae}function p(we,ae,an){if(ae.internalFlags&1){if(we.valueDeclaration){const Le=Fo(we.valueDeclaration);if(Le&&Ea(Le))return Le}const dn=Kr(we).nameType;if(dn&&dn.flags&9216)return ae.enclosingDeclaration=dn.symbol.valueDeclaration,L.createComputedPropertyName(um(dn.symbol,ae,an))}return um(we,ae,an)}function h(we,ae,an,dn,Le,Ke){const ct=H(void 0,an,void 0,void 0,dn,Le,Ut=>U(we,Ut),Ke);return Hi(ct,Ut=>{switch(Ut.kind){case 264:return v(Ut,we);case 267:return I(Ut,eT,we);case 265:return w(Ut,we,ae);case 268:return I(Ut,pc,we);default:return}})}function v(we,ae){const an=Fn(ae.declarations,hi),dn=an&&an.length>0?an[0]:we,Le=Gd(dn)&-161;return uc(dn)&&(we=L.updateClassDeclaration(we,we.modifiers,void 0,we.typeParameters,we.heritageClauses,we.members)),L.replaceModifiers(we,Le)}function I(we,ae,an){const dn=Fn(an.declarations,ae),Le=dn&&dn.length>0?dn[0]:we,Ke=Gd(Le)&-161;return L.replaceModifiers(we,Ke)}function w(we,ae,an){if(an&64)return I(we,gd,ae)}function U(we,ae){const an=Xs(we);ae.typeStack.push(an.id),ae.typeStack.push(-1);const dn=ma([we]),Le=rS(dn,ae);return ae.typeStack.pop(),ae.typeStack.pop(),Le}function H(we,ae,an,dn,Le,Ke,ct,Ut){const ln=dn!=null&&dn.trackSymbol?dn.moduleResolverHost:(an||0)&4?wHe(e):void 0;ae=ae||0;const qt=Le||(ae&1?mG:VN),un={enclosingDeclaration:we,enclosingFile:we&&On(we),flags:ae,internalFlags:an||0,tracker:void 0,maxTruncationLength:qt,maxExpansionDepth:Ke!=null?Ke:-1,encounteredError:!1,suppressReportInferenceFallback:!1,reportedDiagnostic:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0,trackedSymbols:void 0,bundled:!!O.outFile&&!!we&&wp(On(we)),truncating:!1,usedSymbolNames:void 0,remappedSymbolNames:void 0,remappedSymbolReferences:void 0,reverseMappedStack:void 0,mustCreateTypeParameterSymbolList:!0,typeParameterSymbolList:void 0,mustCreateTypeParametersNamesLookups:!0,typeParameterNames:void 0,typeParameterNamesByText:void 0,typeParameterNamesByTextNextNameCount:void 0,enclosingSymbolTypes:new Map,mapper:void 0,depth:0,typeStack:[],out:{canIncreaseExpansionDepth:!1,truncated:!1}};un.tracker=new Eae(un,dn,ln);const nr=ct(un);return un.truncating&&un.flags&1&&un.tracker.reportTruncationError(),Ut&&(Ut.canIncreaseExpansionDepth=un.out.canIncreaseExpansionDepth,Ut.truncated=un.out.truncated),un.encounteredError?void 0:nr}function Z(we,ae,an){const dn=Aa(ae),Le=we.enclosingSymbolTypes.get(dn);return we.enclosingSymbolTypes.set(dn,an),Ke;function Ke(){Le?we.enclosingSymbolTypes.set(dn,Le):we.enclosingSymbolTypes.delete(dn)}}function Ee(we){const ae=we.flags,an=we.internalFlags,dn=we.depth;return Le;function Le(){we.flags=ae,we.internalFlags=an,we.depth=dn}}function Te(we){return we.maxExpansionDepth>=0&&Ye(we)}function Ye(we){return we.truncating?we.truncating:we.truncating=we.approximateLength>we.maxTruncationLength}function ht(we,ae){for(let an=0;an<ae.typeStack.length-1;an++)if(ae.typeStack[an]===we.id)return!1;return ae.depth<ae.maxExpansionDepth||ae.depth===ae.maxExpansionDepth&&!ae.out.canIncreaseExpansionDepth}function Dt(we,ae,an=!1){if(!an&&OC(we))return!1;for(let Le=0;Le<ae.typeStack.length-1;Le++)if(ae.typeStack[Le]===we.id)return!1;const dn=ae.depth<ae.maxExpansionDepth;return dn||(ae.out.canIncreaseExpansionDepth=!0),dn}function en(we,ae){const an=Ee(ae);we&&ae.typeStack.push(we.id);const dn=Sn(we,ae);return we&&ae.typeStack.pop(),an(),dn}function Sn(we,ae){var an,dn;i&&i.throwIfCancellationRequested&&i.throwIfCancellationRequested();const Le=ae.flags&8388608;ae.flags&=-8388609;let Ke=!1;if(!we){if(!(ae.flags&262144)){ae.encounteredError=!0;return}return ae.approximateLength+=3,L.createKeywordTypeNode(133)}if(ae.flags&536870912||(we=km(we)),we.flags&1)return we.aliasSymbol?L.createTypeReferenceNode(_c(we.aliasSymbol),cr(we.aliasTypeArguments,ae)):we===Zt?Lb(L.createKeywordTypeNode(133),3,"unresolved"):(ae.approximateLength+=3,L.createKeywordTypeNode(we===Oe?141:133));if(we.flags&2)return L.createKeywordTypeNode(159);if(we.flags&4)return ae.approximateLength+=6,L.createKeywordTypeNode(154);if(we.flags&8)return ae.approximateLength+=6,L.createKeywordTypeNode(150);if(we.flags&64)return ae.approximateLength+=6,L.createKeywordTypeNode(163);if(we.flags&16&&!we.aliasSymbol)return ae.approximateLength+=7,L.createKeywordTypeNode(136);if(we.flags&1056){if(we.symbol.flags&8){const gn=Xc(we.symbol),Xr=As(gn,ae,788968);if(Xs(gn)===we)return Xr;const Go=Ol(we.symbol);return _p(Go,1)?lr(Xr,L.createTypeReferenceNode(Go,void 0)):o_(Xr)?(Xr.isTypeOf=!0,L.createIndexedAccessTypeNode(Xr,L.createLiteralTypeNode(L.createStringLiteral(Go)))):Bp(Xr)?L.createIndexedAccessTypeNode(L.createTypeQueryNode(Xr.typeName),L.createLiteralTypeNode(L.createStringLiteral(Go))):C.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}if(Dt(we,ae))Ke=!0;else return As(we.symbol,ae,788968)}if(we.flags&128)return ae.approximateLength+=we.value.length+2,L.createLiteralTypeNode(Dr(L.createStringLiteral(we.value,!!(ae.flags&268435456)),16777216));if(we.flags&256){const gn=we.value;return ae.approximateLength+=(""+gn).length,L.createLiteralTypeNode(gn<0?L.createPrefixUnaryExpression(41,L.createNumericLiteral(-gn)):L.createNumericLiteral(gn))}if(we.flags&2048)return ae.approximateLength+=wS(we.value).length+1,L.createLiteralTypeNode(L.createBigIntLiteral(we.value));if(we.flags&512)return ae.approximateLength+=we.intrinsicName.length,L.createLiteralTypeNode(we.intrinsicName==="true"?L.createTrue():L.createFalse());if(we.flags&8192){if(!(ae.flags&1048576)){if(Kx(we.symbol,ae.enclosingDeclaration))return ae.approximateLength+=6,As(we.symbol,ae,111551);ae.tracker.reportInaccessibleUniqueSymbolError&&ae.tracker.reportInaccessibleUniqueSymbolError()}return ae.approximateLength+=13,L.createTypeOperatorNode(158,L.createKeywordTypeNode(155))}if(we.flags&16384)return ae.approximateLength+=4,L.createKeywordTypeNode(116);if(we.flags&32768)return ae.approximateLength+=9,L.createKeywordTypeNode(157);if(we.flags&65536)return ae.approximateLength+=4,L.createLiteralTypeNode(L.createNull());if(we.flags&131072)return ae.approximateLength+=5,L.createKeywordTypeNode(146);if(we.flags&4096)return ae.approximateLength+=6,L.createKeywordTypeNode(155);if(we.flags&67108864)return ae.approximateLength+=6,L.createKeywordTypeNode(151);if(PM(we))return ae.flags&4194304&&(!ae.encounteredError&&!(ae.flags&32768)&&(ae.encounteredError=!0),(dn=(an=ae.tracker).reportInaccessibleThisError)==null||dn.call(an)),ae.approximateLength+=4,L.createThisTypeNode();if(!Le&&we.aliasSymbol&&(ae.flags&16384||lL(we.aliasSymbol,ae.enclosingDeclaration))){if(!Dt(we,ae,!0)){const gn=cr(we.aliasTypeArguments,ae);return BT(we.aliasSymbol.escapedName)&&!(we.aliasSymbol.flags&32)?L.createTypeReferenceNode(L.createIdentifier(""),gn):et(gn)===1&&we.aliasSymbol===ts.symbol?L.createArrayTypeNode(gn[0]):As(we.aliasSymbol,ae,788968,gn)}ae.depth+=1}const ct=qr(we);if(ct&4)return C.assert(!!(we.flags&524288)),Dt(we,ae)?(ae.depth+=1,er(we,!0,!0)):we.node?Lr(we,Di):Di(we);if(we.flags&262144||ct&3){if(we.flags&262144&&Vn(ae.inferTypeParameters,we)){ae.approximateLength+=Ol(we.symbol).length+6;let Xr;const Go=Ju(we);if(Go){const So=j8e(we,!0);So&&$g(Go,So)||(ae.approximateLength+=9,Xr=Go&&en(Go,ae))}return L.createInferTypeNode(mo(we,ae,Xr))}if(ae.flags&4&&we.flags&262144){const Xr=Il(we,ae);return ae.approximateLength+=Yr(Xr).length,L.createTypeReferenceNode(L.createIdentifier(Yr(Xr)),void 0)}if(ct&3&&Dt(we,ae))return ae.depth+=1,er(we,!0,!0);if(we.symbol)return As(we.symbol,ae,788968);const gn=(we===ut||we===Jt)&&N&&N.symbol?(we===Jt?"sub-":"super-")+Ol(N.symbol):"?";return L.createTypeReferenceNode(L.createIdentifier(gn),void 0)}if(we.flags&1048576&&we.origin&&(we=we.origin),we.flags&3145728){const gn=we.flags&1048576?E8(we.types,Ke):we.types;if(et(gn)===1)return en(gn[0],ae);const Xr=cr(gn,ae,!0);if(Xr&&Xr.length>0)return we.flags&1048576?L.createUnionTypeNode(Xr):L.createIntersectionTypeNode(Xr);!ae.encounteredError&&!(ae.flags&262144)&&(ae.encounteredError=!0);return}if(ct&48)return C.assert(!!(we.flags&524288)),er(we);if(we.flags&4194304){const gn=we.type;ae.approximateLength+=6;const Xr=en(gn,ae);return L.createTypeOperatorNode(143,Xr)}if(we.flags&134217728){const gn=we.texts,Xr=we.types,Go=L.createTemplateHead(gn[0]),So=L.createNodeArray(Gt(Xr,($a,gs)=>L.createTemplateLiteralTypeSpan(en($a,ae),(gs<Xr.length-1?L.createTemplateMiddle:L.createTemplateTail)(gn[gs+1]))));return ae.approximateLength+=2,L.createTemplateLiteralType(Go,So)}if(we.flags&268435456){const gn=en(we.type,ae);return As(we.symbol,ae,788968,[gn])}if(we.flags&8388608){const gn=en(we.objectType,ae),Xr=en(we.indexType,ae);return ae.approximateLength+=2,L.createIndexedAccessTypeNode(gn,Xr)}if(we.flags&16777216)return Lr(we,gn=>Ut(gn));if(we.flags&33554432){const gn=en(we.baseType,ae),Xr=UC(we)&&Khe("NoInfer",!1);return Xr?As(Xr,ae,788968,[gn]):gn}return C.fail("Should be unreachable.");function Ut(gn){const Xr=en(gn.checkType,ae);if(ae.approximateLength+=15,ae.flags&4&&gn.root.isDistributive&&!(gn.checkType.flags&262144)){const Po=Hu(Ua(262144,"T")),Mc=Il(Po,ae),Pc=L.createTypeReferenceNode(Mc);ae.approximateLength+=37;const kd=CA(gn.root.checkType,Po,gn.mapper),gu=ae.inferTypeParameters;ae.inferTypeParameters=gn.root.inferTypeParameters;const Xu=en(oo(gn.root.extendsType,kd),ae);ae.inferTypeParameters=gu;const Yy=ln(oo(a(ae,gn.root.node.trueType),kd)),oS=ln(oo(a(ae,gn.root.node.falseType),kd));return L.createConditionalTypeNode(Xr,L.createInferTypeNode(L.createTypeParameterDeclaration(void 0,L.cloneNode(Pc.typeName))),L.createConditionalTypeNode(L.createTypeReferenceNode(L.cloneNode(Mc)),en(gn.checkType,ae),L.createConditionalTypeNode(Pc,Xu,Yy,oS),L.createKeywordTypeNode(146)),L.createKeywordTypeNode(146))}const Go=ae.inferTypeParameters;ae.inferTypeParameters=gn.root.inferTypeParameters;const So=en(gn.extendsType,ae);ae.inferTypeParameters=Go;const $a=ln(h0(gn)),gs=ln(_0(gn));return L.createConditionalTypeNode(Xr,So,$a,gs)}function ln(gn){var Xr,Go,So;return gn.flags&1048576?(Xr=ae.visitedTypes)!=null&&Xr.has(pd(gn))?(ae.flags&131072||(ae.encounteredError=!0,(So=(Go=ae.tracker)==null?void 0:Go.reportCyclicStructureError)==null||So.call(Go)),Zn(ae)):Lr(gn,$a=>en($a,ae)):en(gn,ae)}function qt(gn){return!!B8(gn)}function un(gn){return!!gn.target&&qt(gn.target)&&!qt(gn)}function nr(gn){var Xr;C.assert(!!(gn.flags&524288));const Go=gn.declaration.readonlyToken?L.createToken(gn.declaration.readonlyToken.kind):void 0,So=gn.declaration.questionToken?L.createToken(gn.declaration.questionToken.kind):void 0;let $a,gs,Po=Jg(gn);const Mc=th(gn),Pc=!BC(gn)&&!(UT(gn).flags&2)&&ae.flags&4&&!(Cf(gn).flags&262144&&((Xr=Ju(Cf(gn)))==null?void 0:Xr.flags)&4194304);if(BC(gn)){if(un(gn)&&ae.flags&4){const E0=Hu(Ua(262144,"T")),yR=Il(E0,ae),HL=gn.target;gs=L.createTypeReferenceNode(yR),Po=oo(Jg(HL),JWe([th(HL),UT(HL)],[Mc,E0]))}$a=L.createTypeOperatorNode(143,gs||en(UT(gn),ae))}else if(Pc){const E0=Hu(Ua(262144,"T")),yR=Il(E0,ae);gs=L.createTypeReferenceNode(yR),$a=gs}else $a=en(Cf(gn),ae);const kd=mo(Mc,ae,$a),gu=Vo(ae,gn.declaration,void 0,[jT(Fr(gn.declaration.typeParameter))]),Xu=gn.declaration.nameType?en(Vv(gn),ae):void 0,Yy=en(qy(Po,!!(ng(gn)&4)),ae);gu();const oS=L.createMappedTypeNode(Go,kd,Xu,So,Yy,void 0);ae.approximateLength+=10;const OE=Dr(oS,1);if(un(gn)&&ae.flags&4){const E0=oo(Ju(a(ae,gn.declaration.typeParameter.constraint.type))||At,gn.mapper);return L.createConditionalTypeNode(en(UT(gn),ae),L.createInferTypeNode(L.createTypeParameterDeclaration(void 0,L.cloneNode(gs.typeName),E0.flags&2?void 0:en(E0,ae))),OE,L.createKeywordTypeNode(146))}else if(Pc)return L.createConditionalTypeNode(en(Cf(gn),ae),L.createInferTypeNode(L.createTypeParameterDeclaration(void 0,L.cloneNode(gs.typeName),L.createTypeOperatorNode(143,en(UT(gn),ae)))),OE,L.createKeywordTypeNode(146));return OE}function er(gn,Xr=!1,Go=!1){var So,$a;const gs=gn.id,Po=gn.symbol;if(Po){if(!!(qr(gn)&8388608)){const Xu=gn.node;if(FS(Xu)&&a(ae,Xu)===gn){const Yy=Ne.tryReuseExistingTypeNode(ae,Xu);if(Yy)return Yy}return(So=ae.visitedTypes)!=null&&So.has(gs)?Zn(ae):Lr(gn,li)}const kd=S8(gn)?788968:111551;if(C_(Po.valueDeclaration))return As(Po,ae,kd);if(!Go&&(Po.flags&32&&!Xr&&!x8(Po)&&!(Po.valueDeclaration&&hi(Po.valueDeclaration)&&ae.flags&2048&&(!xc(Po.valueDeclaration)||l0(Po,ae.enclosingDeclaration,kd,!1).accessibility!==0))||Po.flags&896||Mc()))if(Dt(gn,ae))ae.depth+=1;else return As(Po,ae,kd);if(($a=ae.visitedTypes)!=null&&$a.has(gs)){const gu=Hz(gn);return gu?As(gu,ae,788968):Zn(ae)}else return Lr(gn,li)}else return li(gn);function Mc(){var Pc;const kd=!!(Po.flags&8192)&&bt(Po.declarations,Xu=>ha(Xu)&&!d8e(Fo(Xu))),gu=!!(Po.flags&16)&&(Po.parent||Xe(Po.declarations,Xu=>Xu.parent.kind===308||Xu.parent.kind===269));if(kd||gu)return(!!(ae.flags&4096)||((Pc=ae.visitedTypes)==null?void 0:Pc.has(gs)))&&(!(ae.flags&8)||Kx(Po,ae.enclosingDeclaration))}}function Lr(gn,Xr){var Go,So,$a;const gs=gn.id,Po=qr(gn)&16&&gn.symbol&&gn.symbol.flags&32,Mc=qr(gn)&4&&gn.node?"N"+ls(gn.node):gn.flags&16777216?"N"+ls(gn.root.node):gn.symbol?(Po?"+":"")+Aa(gn.symbol):void 0;ae.visitedTypes||(ae.visitedTypes=new Set),Mc&&!ae.symbolDepth&&(ae.symbolDepth=new Map);const Pc=ae.maxExpansionDepth>=0?void 0:ae.enclosingDeclaration&&Vr(ae.enclosingDeclaration),kd="".concat(pd(gn),"|").concat(ae.flags,"|").concat(ae.internalFlags);Pc&&(Pc.serializedTypes||(Pc.serializedTypes=new Map));const gu=(Go=Pc==null?void 0:Pc.serializedTypes)==null?void 0:Go.get(kd);if(gu)return(So=gu.trackedSymbols)==null||So.forEach(([sg,iN,fB])=>ae.tracker.trackSymbol(sg,iN,fB)),gu.truncating&&(ae.truncating=!0),ae.approximateLength+=gu.addedLength,yR(gu.node);let Xu;if(Mc){if(Xu=ae.symbolDepth.get(Mc)||0,Xu>10)return Zn(ae);ae.symbolDepth.set(Mc,Xu+1)}ae.visitedTypes.add(gs);const Yy=ae.trackedSymbols;ae.trackedSymbols=void 0;const oS=ae.approximateLength,OE=Xr(gn),E0=ae.approximateLength-oS;return!ae.reportedDiagnostic&&!ae.encounteredError&&(($a=Pc==null?void 0:Pc.serializedTypes)==null||$a.set(kd,{node:OE,truncating:ae.truncating,addedLength:E0,trackedSymbols:ae.trackedSymbols})),ae.visitedTypes.delete(gs),Mc&&ae.symbolDepth.set(Mc,Xu),ae.trackedSymbols=Yy,OE;function yR(sg){return!zs(sg)&&Ho(sg)===sg?sg:c(ae,L.cloneNode(kn(sg,yR,void 0,HL,yR)),sg)}function HL(sg,iN,fB,Xye,Yye){return sg&&sg.length===0?Tt(L.createNodeArray(void 0,sg.hasTrailingComma),sg):Jn(sg,iN,fB,Xye,Yye)}}function li(gn){if(mp(gn)||gn.containsError)return nr(gn);const Xr=Nh(gn);if(!Xr.properties.length&&!Xr.indexInfos.length){if(!Xr.callSignatures.length&&!Xr.constructSignatures.length)return ae.approximateLength+=2,Dr(L.createTypeLiteralNode(void 0),1);if(Xr.callSignatures.length===1&&!Xr.constructSignatures.length){const Po=Xr.callSignatures[0];return ui(Po,185,ae)}if(Xr.constructSignatures.length===1&&!Xr.callSignatures.length){const Po=Xr.constructSignatures[0];return ui(Po,186,ae)}}const Go=Fn(Xr.constructSignatures,Po=>!!(Po.flags&4));if(bt(Go)){const Po=Gt(Go,EA);return Xr.callSignatures.length+(Xr.constructSignatures.length-Go.length)+Xr.indexInfos.length+(ae.flags&2048?po(Xr.properties,Pc=>!(Pc.flags&4194304)):et(Xr.properties))&&Po.push(hA(Xr)),en(La(Po),ae)}const So=Ee(ae);ae.flags|=4194304;const $a=$o(Xr);So();const gs=L.createTypeLiteralNode($a);return ae.approximateLength+=2,Dr(gs,ae.flags&1024?0:1),gs}function Di(gn){let Xr=cl(gn);if(gn.target===ts||gn.target===ja){if(ae.flags&2){const $a=en(Xr[0],ae);return L.createTypeReferenceNode(gn.target===ts?"Array":"ReadonlyArray",[$a])}const Go=en(Xr[0],ae),So=L.createArrayTypeNode(Go);return gn.target===ts?So:L.createTypeOperatorNode(148,So)}else if(gn.target.objectFlags&8){if(Xr=Ui(Xr,(Go,So)=>qy(Go,!!(gn.target.elementFlags[So]&2))),Xr.length>0){const Go=Hv(gn),So=cr(Xr.slice(0,Go),ae);if(So){const{labeledElementDeclarations:$a}=gn.target;for(let Po=0;Po<So.length;Po++){const Mc=gn.target.elementFlags[Po],Pc=$a==null?void 0:$a[Po];Pc?So[Po]=L.createNamedTupleMember(Mc&12?L.createToken(26):void 0,L.createIdentifier(Bi(eye(Pc))),Mc&2?L.createToken(58):void 0,Mc&4?L.createArrayTypeNode(So[Po]):So[Po]):So[Po]=Mc&12?L.createRestTypeNode(Mc&4?L.createArrayTypeNode(So[Po]):So[Po]):Mc&2?L.createOptionalTypeNode(So[Po]):So[Po]}const gs=Dr(L.createTupleTypeNode(So),1);return gn.target.readonly?L.createTypeOperatorNode(148,gs):gs}}if(ae.encounteredError||ae.flags&524288){const Go=Dr(L.createTupleTypeNode([]),1);return gn.target.readonly?L.createTypeOperatorNode(148,Go):Go}ae.encounteredError=!0;return}else{if(ae.flags&2048&&gn.symbol.valueDeclaration&&hi(gn.symbol.valueDeclaration)&&!Kx(gn.symbol,ae.enclosingDeclaration))return er(gn);{const Go=gn.target.outerTypeParameters;let So=0,$a;if(Go){const Pc=Go.length;for(;So<Pc;){const kd=So,gu=U8e(Go[So]);do So++;while(So<Pc&&U8e(Go[So])===gu);if(!qB(Go,Xr,kd,So)){const Xu=cr(Xr.slice(kd,So),ae),Yy=Ee(ae);ae.flags|=16;const oS=As(gu,ae,788968,Xu);Yy(),$a=$a?lr($a,oS):oS}}}let gs;if(Xr.length>0){let Pc=0;if(gn.target.typeParameters&&(Pc=Math.min(gn.target.typeParameters.length,Xr.length),(Xp(gn,EY(!1))||Xp(gn,cWe(!1))||Xp(gn,r5(!1))||Xp(gn,lWe(!1)))&&(!gn.node||!Bp(gn.node)||!gn.node.typeArguments||gn.node.typeArguments.length<Pc)))for(;Pc>0;){const kd=Xr[Pc-1],gu=gn.target.typeParameters[Pc-1],Xu=EE(gu);if(!Xu||!$g(kd,Xu))break;Pc--}gs=cr(Xr.slice(So,Pc),ae)}const Po=Ee(ae);ae.flags|=16;const Mc=As(gn.symbol,ae,788968,gs);return Po(),$a?lr($a,Mc):Mc}}}function lr(gn,Xr){if(o_(gn)){let Go=gn.typeArguments,So=gn.qualifier;So&&(Je(So)?Go!==g1(So)&&(So=fv(L.cloneNode(So),Go)):Go!==g1(So.right)&&(So=L.updateQualifiedName(So,So.left,fv(L.cloneNode(So.right),Go)))),Go=Xr.typeArguments;const $a=Ei(Xr);for(const gs of $a)So=So?L.createQualifiedName(So,gs):gs;return L.updateImportTypeNode(gn,gn.argument,gn.attributes,So,Go,gn.isTypeOf)}else{let Go=gn.typeArguments,So=gn.typeName;Je(So)?Go!==g1(So)&&(So=fv(L.cloneNode(So),Go)):Go!==g1(So.right)&&(So=L.updateQualifiedName(So,So.left,fv(L.cloneNode(So.right),Go))),Go=Xr.typeArguments;const $a=Ei(Xr);for(const gs of $a)So=L.createQualifiedName(So,gs);return L.updateTypeReferenceNode(gn,So,Go)}}function Ei(gn){let Xr=gn.typeName;const Go=[];for(;!Je(Xr);)Go.unshift(Xr.right),Xr=Xr.left;return Go.unshift(Xr),Go}function Do(gn,Xr,Go){if(gn.components&&Gn(gn.components,$a=>{var gs;return!!($a.name&&Ea($a.name)&&Ps($a.name.expression)&&Xr.enclosingDeclaration&&((gs=Yx($a.name.expression,Xr.enclosingDeclaration,!1))==null?void 0:gs.accessibility)===0)})){const $a=Fn(gn.components,gs=>!FC(gs));return Gt($a,gs=>(vr(gs.name.expression,Xr.enclosingDeclaration,Xr),c(Xr,L.createPropertySignature(gn.isReadonly?[L.createModifier(148)]:void 0,gs.name,(Eu(gs)||ko(gs)||Um(gs)||Ll(gs)||hg(gs)||Jh(gs))&&gs.questionToken?L.createToken(58):void 0,Go||en(gr(gs.symbol),Xr)),gs)))}return[ao(gn,Xr,Go)]}function $o(gn){if(Ye(ae))return ae.out.truncated=!0,ae.flags&1?[WM(L.createNotEmittedTypeElement(),3,"elided")]:[L.createPropertySignature(void 0,"...",void 0,void 0)];ae.typeStack.push(-1);const Xr=[];for(const $a of gn.callSignatures)Xr.push(ui($a,180,ae));for(const $a of gn.constructSignatures)$a.flags&4||Xr.push(ui($a,181,ae));for(const $a of gn.indexInfos)Xr.push(...Do($a,ae,gn.objectFlags&1024?Zn(ae):void 0));const Go=gn.properties;if(!Go)return ae.typeStack.pop(),Xr;let So=0;for(const $a of Go)if(!(iS(ae)&&$a.flags&4194304)){if(So++,ae.flags&2048){if($a.flags&4194304)continue;jf($a)&6&&ae.tracker.reportPrivateInBaseOfClassExpression&&ae.tracker.reportPrivateInBaseOfClassExpression(Bi($a.escapedName))}if(Ye(ae)&&So+2<Go.length-1){if(ae.out.truncated=!0,ae.flags&1){const gs=Xr.pop();Xr.push(WM(gs,3,"... ".concat(Go.length-So," more elided ...")))}else Xr.push(L.createPropertySignature(void 0,"... ".concat(Go.length-So," more ..."),void 0,void 0));xn(Go[Go.length-1],ae,Xr);break}xn($a,ae,Xr)}return ae.typeStack.pop(),Xr.length?Xr:void 0}}function Zn(we){return we.approximateLength+=3,we.flags&1?Lb(L.createKeywordTypeNode(133),3,"elided"):L.createTypeReferenceNode(L.createIdentifier("..."),void 0)}function yr(we,ae){var an;return!!(Fl(we)&8192)&&(Vn(ae.reverseMappedStack,we)||((an=ae.reverseMappedStack)==null?void 0:an[0])&&!(qr(Ga(ae.reverseMappedStack).links.propertyType)&16)||Le());function Le(){var ct;var Ke;if(((ct=(Ke=ae.reverseMappedStack)==null?void 0:Ke.length)!=null?ct:0)<3)return!1;for(let Ut=0;Ut<3;Ut++)if(ae.reverseMappedStack[ae.reverseMappedStack.length-1-Ut].links.mappedType.symbol!==we.links.mappedType.symbol)return!1;return!0}}function xn(we,ae,an){var dn;const Le=!!(Fl(we)&8192),Ke=yr(we,ae)?He:xh(we),ct=ae.enclosingDeclaration;if(ae.enclosingDeclaration=void 0,ae.tracker.canTrackSymbol&&D8(we.escapedName))if(we.declarations){const Lr=Qa(we.declarations);if(FC(Lr))if(Nr(Lr)){const li=Fo(Lr);li&&Bs(li)&&zk(li.argumentExpression)&&vr(li.argumentExpression,ct,ae)}else vr(Lr.name.expression,ct,ae)}else ae.tracker.reportNonSerializableProperty(uo(we));ae.enclosingDeclaration=we.valueDeclaration||((dn=we.declarations)==null?void 0:dn[0])||ct;const Ut=UL(we,ae);if(ae.enclosingDeclaration=ct,ae.approximateLength+=Ol(we).length+1,we.flags&98304){const Lr=Gv(we);if(!mr(Ke)&&!mr(Lr)){const li=Kr(we).mapper,Di=ul(we,173);if(Ke!==Lr||we.parent.flags&32&&!Di){const lr=ul(we,178);if(lr){const Do=Nf(lr);an.push(Tn(ae,ui(li?NA(Do,li):Do,178,ae,{name:Ut}),lr))}const Ei=ul(we,179);if(Ei){const Do=Nf(Ei);an.push(Tn(ae,ui(li?NA(Do,li):Do,179,ae,{name:Ut}),Ei))}return}if(we.parent.flags&32&&Di&&_n(Di.modifiers,xj)){const lr=A_(void 0,void 0,void 0,se,Ke,void 0,0,0);an.push(Tn(ae,ui(lr,178,ae,{name:Ut}),Di));const Ei=Ua(1,"arg");Ei.links.type=Lr;const Do=A_(void 0,void 0,void 0,[Ei],An,void 0,0,0);an.push(ui(Do,179,ae,{name:Ut}));return}}}const ln=we.flags&16777216?L.createToken(58):void 0;if(we.flags&8208&&!jv(Ke).length&&!Wh(we)){const Lr=aa(Tc(Ke,li=>!(li.flags&32768)),0);for(const li of Lr){const Di=ui(li,174,ae,{name:Ut,questionToken:ln});an.push(er(Di,li.declaration||we.valueDeclaration))}if(Lr.length||!ln)return}let qt;yr(we,ae)?qt=Zn(ae):(Le&&(ae.reverseMappedStack||(ae.reverseMappedStack=[]),ae.reverseMappedStack.push(we)),qt=Ke?Gr(ae,void 0,Ke,we):L.createKeywordTypeNode(133),Le&&ae.reverseMappedStack.pop());const un=Wh(we)?[L.createToken(148)]:void 0;un&&(ae.approximateLength+=9);const nr=L.createPropertySignature(un,Ut,ln,qt);an.push(er(nr,we.valueDeclaration));function er(Lr,li){var Di;const lr=(Di=we.declarations)==null?void 0:Di.find(Ei=>Ei.kind===349);if(lr){const Ei=W2(lr.comment);Ei&&K0(Lr,[{kind:3,text:"*\n * "+Ei.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:!0}])}else li&&Tn(ae,Lr,li);return Lr}}function Tn(we,ae,an){return we.enclosingFile&&we.enclosingFile===On(an)?Ic(ae,an):ae}function cr(we,ae,an){if(bt(we)){if(Ye(ae))if(ae.out.truncated=!0,an){if(we.length>2)return[en(we[0],ae),ae.flags&1?Lb(L.createKeywordTypeNode(133),3,"... ".concat(we.length-2," more elided ...")):L.createTypeReferenceNode("... ".concat(we.length-2," more ..."),void 0),en(we[we.length-1],ae)]}else return[ae.flags&1?Lb(L.createKeywordTypeNode(133),3,"elided"):L.createTypeReferenceNode("...",void 0)];const Le=!(ae.flags&64)?fm():void 0,Ke=[];let ct=0;for(const Ut of we){if(ct++,Ye(ae)&&ct+2<we.length-1){ae.out.truncated=!0,Ke.push(ae.flags&1?Lb(L.createKeywordTypeNode(133),3,"... ".concat(we.length-ct," more elided ...")):L.createTypeReferenceNode("... ".concat(we.length-ct," more ..."),void 0));const qt=en(we[we.length-1],ae);qt&&Ke.push(qt);break}ae.approximateLength+=2;const ln=en(Ut,ae);ln&&(Ke.push(ln),Le&&Vre(ln)&&Le.add(ln.typeName.escapedText,[Ut,Ke.length-1]))}if(Le){const Ut=Ee(ae);ae.flags|=64,Le.forEach(ln=>{if(!jre(ln,([qt],[un])=>mi(qt,un)))for(const[qt,un]of ln)Ke[un]=en(qt,ae)}),Ut()}return Ke}}function mi(we,ae){return we===ae||!!we.symbol&&we.symbol===ae.symbol||!!we.aliasSymbol&&we.aliasSymbol===ae.aliasSymbol}function ao(we,ae,an){const dn=tne(we)||"x",Le=en(we.keyType,ae),Ke=L.createParameterDeclaration(void 0,void 0,dn,void 0,Le,void 0);return an||(an=en(we.type||He,ae)),!we.type&&!(ae.flags&2097152)&&(ae.encounteredError=!0),ae.approximateLength+=dn.length+4,L.createIndexSignature(we.isReadonly?[L.createToken(148)]:void 0,[Ke],an)}function ui(we,ae,an,dn){var Di,lr,Ei,Do;var Le;let Ke,ct;const Ut=g8e(we,!0)[0],ln=Vo(an,we.declaration,Ut,we.typeParameters,we.parameters,we.mapper);an.approximateLength+=3,an.flags&32&&we.target&&we.mapper&&we.target.typeParameters?ct=we.target.typeParameters.map($o=>en(oo($o,we.mapper),an)):Ke=we.typeParameters&&we.typeParameters.map($o=>Xl($o,an));const qt=Ee(an);an.flags&=-257;const un=(bt(Ut,$o=>$o!==Ut[Ut.length-1]&&!!(Fl($o)&32768))?we.parameters:Ut).map($o=>rr($o,an,ae===177)),nr=an.flags&33554432?void 0:_s(we,an);nr&&un.unshift(nr),qt();const er=ka(an,we);let Lr=dn==null?void 0:dn.modifiers;if(ae===186&&we.flags&4){const $o=e_(Lr);Lr=L.createModifiersFromModifierFlags($o|64)}const li=ae===180?L.createCallSignature(Ke,un,er):ae===181?L.createConstructSignature(Ke,un,er):ae===174?L.createMethodSignature(Lr,(Di=dn==null?void 0:dn.name)!=null?Di:L.createIdentifier(""),dn==null?void 0:dn.questionToken,Ke,un,er):ae===175?L.createMethodDeclaration(Lr,void 0,(lr=dn==null?void 0:dn.name)!=null?lr:L.createIdentifier(""),void 0,Ke,un,er,void 0):ae===177?L.createConstructorDeclaration(Lr,un,void 0):ae===178?L.createGetAccessorDeclaration(Lr,(Ei=dn==null?void 0:dn.name)!=null?Ei:L.createIdentifier(""),un,er,void 0):ae===179?L.createSetAccessorDeclaration(Lr,(Do=dn==null?void 0:dn.name)!=null?Do:L.createIdentifier(""),un,void 0):ae===182?L.createIndexSignature(Lr,un,er):ae===318?L.createJSDocFunctionType(un,er):ae===185?L.createFunctionTypeNode(Ke,un,er!=null?er:L.createTypeReferenceNode(L.createIdentifier(""))):ae===186?L.createConstructorTypeNode(Lr,Ke,un,er!=null?er:L.createTypeReferenceNode(L.createIdentifier(""))):ae===263?L.createFunctionDeclaration(Lr,void 0,dn!=null&&dn.name?va(dn.name,Je):L.createIdentifier(""),Ke,un,er,void 0):ae===219?L.createFunctionExpression(Lr,void 0,dn!=null&&dn.name?va(dn.name,Je):L.createIdentifier(""),Ke,un,er,L.createBlock([])):ae===220?L.createArrowFunction(Lr,Ke,un,er,void 0,L.createBlock([])):C.assertNever(ae);if(ct&&(li.typeArguments=L.createNodeArray(ct)),((Le=we.declaration)==null?void 0:Le.kind)===324&&we.declaration.parent.kind===340){const $o=Rl(we.declaration.parent.parent,!0).slice(2,-2).split(/\r\n|\n|\r/).map(gn=>gn.replace(/^\s+/," ")).join("\n");Lb(li,3,$o,!0)}return ln==null||ln(),li}function Pi(we){i&&i.throwIfCancellationRequested&&i.throwIfCancellationRequested();let ae,an,dn=!1;const Le=we.tracker,Ke=we.trackedSymbols;we.trackedSymbols=void 0;const ct=we.encounteredError;return we.tracker=new Eae(we,{...Le.inner,reportCyclicStructureError(){Ut(()=>Le.reportCyclicStructureError())},reportInaccessibleThisError(){Ut(()=>Le.reportInaccessibleThisError())},reportInaccessibleUniqueSymbolError(){Ut(()=>Le.reportInaccessibleUniqueSymbolError())},reportLikelyUnsafeImportRequiredError(un){Ut(()=>Le.reportLikelyUnsafeImportRequiredError(un))},reportNonSerializableProperty(un){Ut(()=>Le.reportNonSerializableProperty(un))},reportPrivateInBaseOfClassExpression(un){Ut(()=>Le.reportPrivateInBaseOfClassExpression(un))},trackSymbol(un,nr,er){return(ae!=null?ae:ae=[]).push([un,nr,er]),!1},moduleResolverHost:we.tracker.moduleResolverHost},we.tracker.moduleResolverHost),{startRecoveryScope:ln,finalizeBoundary:qt,markError:Ut,hadError:()=>dn};function Ut(un){dn=!0,un&&(an!=null?an:an=[]).push(un)}function ln(){var er,Lr;const un=(er=ae==null?void 0:ae.length)!=null?er:0,nr=(Lr=an==null?void 0:an.length)!=null?Lr:0;return()=>{dn=!1,ae&&(ae.length=un),an&&(an.length=nr)}}function qt(){return we.tracker=Le,we.trackedSymbols=Ke,we.encounteredError=ct,an==null||an.forEach(un=>un()),dn?!1:(ae==null||ae.forEach(([un,nr,er])=>we.tracker.trackSymbol(un,nr,er)),!0)}}function Vo(we,ae,an,dn,Le,Ke){const ct=AW(we);let Ut,ln;const qt=we.enclosingDeclaration,un=we.mapper;if(Ke&&(we.mapper=Ke),we.enclosingDeclaration&&ae){let nr=function(er,Lr){var Do;C.assert(we.enclosingDeclaration);let li;Vr(we.enclosingDeclaration).fakeScopeForSignatureDeclaration===er?li=we.enclosingDeclaration:we.enclosingDeclaration.parent&&Vr(we.enclosingDeclaration.parent).fakeScopeForSignatureDeclaration===er&&(li=we.enclosingDeclaration.parent),C.assertOptionalNode(li,ia);const Di=(Do=li==null?void 0:li.locals)!=null?Do:ma();let lr,Ei;if(Lr(($o,gn)=>{if(li){const Xr=Di.get($o);Xr?Ei=jn(Ei,{name:$o,oldSymbol:Xr}):lr=jn(lr,$o)}Di.set($o,gn)}),li)return function(){Xe(lr,gn=>Di.delete(gn)),Xe(Ei,gn=>Di.set(gn.name,gn.oldSymbol))};{const $o=L.createBlock(se);Vr($o).fakeScopeForSignatureDeclaration=er,$o.locals=Di,ps($o,we.enclosingDeclaration),we.enclosingDeclaration=$o}};Ut=bt(an)?nr("params",er=>{if(an)for(let Lr=0;Lr<an.length;Lr++){const li=an[Lr],Di=Le==null?void 0:Le[Lr];Le&&Di!==li?(er(li.escapedName,ie),Di&&er(Di.escapedName,ie)):Xe(li.declarations,lr=>{if(no(lr)&&na(lr.name))return Ei(lr.name),!0;return;function Ei($o){Xe($o.elements,gn=>{switch(gn.kind){case 233:return;case 209:return Do(gn);default:return C.assertNever(gn)}})}function Do($o){if(na($o.name))return Ei($o.name);const gn=Fr($o);er(gn.escapedName,gn)}})||er(li.escapedName,li)}}):void 0,we.flags&4&&bt(dn)&&(ln=nr("typeParams",er=>{for(const Lr of dn!=null?dn:se){const li=Il(Lr,we).escapedText;er(li,Lr.symbol)}}))}return()=>{Ut==null||Ut(),ln==null||ln(),ct(),we.enclosingDeclaration=qt,we.mapper=un}}function _s(we,ae){if(we.thisParameter)return rr(we.thisParameter,ae);if(we.declaration&&Er(we.declaration)){const an=mF(we.declaration);if(an&&an.typeExpression)return L.createParameterDeclaration(void 0,void 0,"this",void 0,en(a(ae,an.typeExpression),ae))}}function mo(we,ae,an){const dn=Ee(ae);ae.flags&=-513;const Le=L.createModifiersFromModifierFlags(L_e(we)),Ke=Il(we,ae),ct=EE(we),Ut=ct&&en(ct,ae);return dn(),L.createTypeParameterDeclaration(Le,Ke,an,Ut)}function _l(we,ae,an){return!ht(we,an)&&ae&&a(an,ae)===we&&Ne.tryReuseExistingTypeNode(an,ae)||en(we,an)}function Xl(we,ae,an=Ju(we)){const dn=an&&_l(an,gY(we),ae);return mo(we,ae,dn)}function hu(we,ae){const an=we.kind===2||we.kind===3?L.createToken(131):void 0,dn=we.kind===1||we.kind===3?Dr(L.createIdentifier(we.parameterName),16777216):L.createThisTypeNode(),Le=we.type&&en(we.type,ae);return L.createTypePredicateNode(an,dn,Le)}function Un(we){const ae=ul(we,170);if(ae)return ae;if(!_g(we))return ul(we,342)}function rr(we,ae,an){const dn=Un(we),Le=gr(we),Ke=Gr(ae,dn,Le,we),ct=!(ae.flags&8192)&&an&&dn&&Im(dn)?Gt(mS(dn),L.cloneNode):void 0,ln=dn&&w_(dn)||Fl(we)&32768?L.createToken(26):void 0,qt=qi(we,dn,ae),nr=dn&&P8(dn)||Fl(we)&16384?L.createToken(58):void 0,er=L.createParameterDeclaration(ct,ln,qt,nr,Ke,void 0);return ae.approximateLength+=Ol(we).length+3,er}function qi(we,ae,an){return ae&&ae.name?ae.name.kind===80?Dr(L.cloneNode(ae.name),16777216):ae.name.kind===167?Dr(L.cloneNode(ae.name.right),16777216):dn(ae.name):Ol(we);function dn(Le){return Ke(Le);function Ke(ct){an.tracker.canTrackSymbol&&Ea(ct)&&Ahe(ct)&&vr(ct.expression,an.enclosingDeclaration,an);let Ut=kn(ct,Ke,void 0,void 0,Ke);return qa(Ut)&&(Ut=L.updateBindingElement(Ut,Ut.dotDotDotToken,Ut.propertyName,Ut.name,void 0)),zs(Ut)||(Ut=L.cloneNode(Ut)),Dr(Ut,16777217)}}}function vr(we,ae,an){if(!an.tracker.canTrackSymbol)return;const dn=Ou(we),Le=gt(ae,dn.escapedText,1160127,void 0,!0);if(Le)an.tracker.trackSymbol(Le,ae,111551);else{const Ke=gt(dn,dn.escapedText,1160127,void 0,!0);Ke&&an.tracker.trackSymbol(Ke,ae,111551)}}function Wo(we,ae,an,dn){return ae.tracker.trackSymbol(we,ae.enclosingDeclaration,an),Ts(we,ae,an,dn)}function Ts(we,ae,an,dn){let Le;return!(we.flags&262144)&&(ae.enclosingDeclaration||ae.flags&64)&&!(ae.internalFlags&4)?(Le=C.checkDefined(ct(we,an,!0)),C.assert(Le&&Le.length>0)):Le=[we],Le;function ct(Ut,ln,qt){let un=Fv(Ut,ae.enclosingDeclaration,ln,!!(ae.flags&128)),nr;if(!un||yE(un[0],ae.enclosingDeclaration,un.length===1?ln:eh(ln))){const Lr=gE(un?un[0]:Ut,ae.enclosingDeclaration,ln);if(et(Lr)){nr=Lr.map(lr=>bt(lr.declarations,vE)?cc(lr,ae):void 0);const li=Lr.map((lr,Ei)=>Ei);li.sort(er);const Di=li.map(lr=>Lr[lr]);for(const lr of Di){const Ei=ct(lr,eh(ln),!1);if(Ei){if(lr.exports&&lr.exports.get("export=")&&me(lr.exports.get("export="),Ut)){un=Ei;break}un=Ei.concat(un||[D(lr,Ut)||Ut]);break}}}}if(un)return un;if(qt||!(Ut.flags&6144))return!qt&&!dn&&Xe(Ut.declarations,vE)?void 0:[Ut];function er(Lr,li){const Di=nr[Lr],lr=nr[li];if(Di&&lr){const Ei=tf(lr);return tf(Di)===Ei?m3(Di)-m3(lr):Ei?-1:1}return 0}}}function dl(we,ae){let an;return rN(we).flags&524384&&(an=L.createNodeArray(Gt(ua(we),Le=>Xl(Le,ae)))),an}function md(we,ae,an){var dn;C.assert(we&&0<=ae&&ae<we.length);const Le=we[ae],Ke=Aa(Le);if((dn=an.typeParameterSymbolList)!=null&&dn.has(Ke))return;an.mustCreateTypeParameterSymbolList&&(an.mustCreateTypeParameterSymbolList=!1,an.typeParameterSymbolList=new Set(an.typeParameterSymbolList)),an.typeParameterSymbolList.add(Ke);let ct;if(an.flags&512&&ae<we.length-1){const Ut=Le,ln=we[ae+1];if(Fl(ln)&1){const qt=Us(Ut.flags&2097152?ud(Ut):Ut);ct=cr(Gt(qt,un=>qv(un,ln.links.mapper)),an)}else ct=dl(Le,an)}return ct}function Ya(we){return BS(we.objectType)?Ya(we.objectType):we}function cc(we,ae,an){var nr;let dn=ul(we,308);if(!dn){const er=Wn(we.declarations,Lr=>mA(Lr,we));er&&(dn=ul(er,308))}if(dn&&dn.moduleName!==void 0)return dn.moduleName;if(!dn&&bae.test(we.escapedName))return we.escapedName.substring(1,we.escapedName.length-1);if(!ae.enclosingFile||!ae.tracker.moduleResolverHost)return bae.test(we.escapedName)?we.escapedName.substring(1,we.escapedName.length-1):On(xG(we)).fileName;const Le=Tl(ae.enclosingDeclaration),Ke=xne(Le)?yI(Le):void 0,ct=ae.enclosingFile,Ut=an||Ke&&e.getModeForUsageLocation(ct,Ke)||ct&&e.getDefaultResolutionModeForFile(ct),ln=iP(ct.path,Ut),qt=Kr(we);let un=qt.specifierCache&&qt.specifierCache.get(ln);if(!un){const er=!!O.outFile,{moduleResolverHost:Lr}=ae.tracker,li=er?{...O,baseUrl:Lr.getCommonSourceDirectory()}:O;un=Qa(U1e(we,ir,li,ct,Lr,{importModuleSpecifierPreference:er?"non-relative":"project-relative",importModuleSpecifierEnding:er?"minimal":Ut===99?"js":void 0},{overrideImportMode:an})),(nr=qt.specifierCache)!=null||(qt.specifierCache=new Map),qt.specifierCache.set(ln,un)}return un}function _c(we){const ae=L.createIdentifier(Bi(we.escapedName));return we.parent?L.createQualifiedName(_c(we.parent),ae):ae}function As(we,ae,an,dn){const Le=Wo(we,ae,an,!(ae.flags&16384)),Ke=an===111551;if(bt(Le[0].declarations,vE)){const ln=Le.length>1?Ut(Le,Le.length-1,1):void 0,qt=dn||md(Le,0,ae),un=On(Tl(ae.enclosingDeclaration)),nr=Y2(Le[0]);let er,Lr;if((iu(O)===3||iu(O)===99)&&(nr==null?void 0:nr.impliedNodeFormat)===99&&nr.impliedNodeFormat!==(un==null?void 0:un.impliedNodeFormat)&&(er=cc(Le[0],ae,99),Lr=L.createImportAttributes(L.createNodeArray([L.createImportAttribute(L.createStringLiteral("resolution-mode"),L.createStringLiteral("import"))]))),er||(er=cc(Le[0],ae)),!(ae.flags&67108864)&&iu(O)!==1&&er.includes("/node_modules/")){const Di=er;if(iu(O)===3||iu(O)===99){const lr=(un==null?void 0:un.impliedNodeFormat)===99?1:99;er=cc(Le[0],ae,lr),er.includes("/node_modules/")?er=Di:Lr=L.createImportAttributes(L.createNodeArray([L.createImportAttribute(L.createStringLiteral("resolution-mode"),L.createStringLiteral(lr===99?"import":"require"))]))}Lr||(ae.encounteredError=!0,ae.tracker.reportLikelyUnsafeImportRequiredError&&ae.tracker.reportLikelyUnsafeImportRequiredError(Di))}const li=L.createLiteralTypeNode(L.createStringLiteral(er));if(ae.approximateLength+=er.length+10,!ln||ku(ln)){if(ln){const Di=Je(ln)?ln:ln.right;fv(Di,void 0)}return L.createImportTypeNode(li,Lr,ln,qt,Ke)}else{const Di=Ya(ln),lr=Di.objectType.typeName;return L.createIndexedAccessTypeNode(L.createImportTypeNode(li,Lr,lr,qt,Ke),Di.indexType)}}const ct=Ut(Le,Le.length-1,0);if(BS(ct))return ct;if(Ke)return L.createTypeQueryNode(ct);{const ln=Je(ct)?ct:ct.right,qt=g1(ln);return fv(ln,void 0),L.createTypeReferenceNode(ct,qt)}function Ut(ln,qt,un){const nr=qt===ln.length-1?dn:md(ln,qt,ae),er=ln[qt],Lr=ln[qt-1];let li;if(qt===0)ae.flags|=16777216,li=VT(er,ae),ae.approximateLength+=(li?li.length:0)+1,ae.flags^=16777216;else if(Lr&&Kp(Lr)){const lr=Kp(Lr);Uc(lr,(Ei,Do)=>{if(me(Ei,er)&&!D8(Do)&&Do!=="export=")return li=Bi(Do),!0})}if(li===void 0){const lr=Wn(er.declarations,Fo);if(lr&&Ea(lr)&&ku(lr.expression)){const Ei=Ut(ln,qt-1,un);return ku(Ei)?L.createIndexedAccessTypeNode(L.createParenthesizedType(L.createTypeQueryNode(Ei)),L.createTypeQueryNode(lr.expression)):Ei}li=VT(er,ae)}if(ae.approximateLength+=li.length+1,!(ae.flags&16)&&Lr&&tg(Lr)&&tg(Lr).get(er.escapedName)&&me(tg(Lr).get(er.escapedName),er)){const lr=Ut(ln,qt-1,un);return BS(lr)?L.createIndexedAccessTypeNode(lr,L.createLiteralTypeNode(L.createStringLiteral(li))):L.createIndexedAccessTypeNode(L.createTypeReferenceNode(lr,nr),L.createLiteralTypeNode(L.createStringLiteral(li)))}const Di=Dr(L.createIdentifier(li),16777216);if(nr&&fv(Di,L.createNodeArray(nr)),Di.symbol=er,qt>un){const lr=Ut(ln,qt-1,un);return ku(lr)?L.createQualifiedName(lr,Di):C.fail("Impossible construct - an export of an indexed access cannot be reachable")}return Di}}function Pf(we,ae,an){const dn=gt(ae.enclosingDeclaration,we,788968,void 0,!1);return dn&&dn.flags&262144?dn!==an.symbol:!1}function Il(we,ae){var an,dn,Le,Ke;if(ae.flags&4&&ae.typeParameterNames){const ln=ae.typeParameterNames.get(pd(we));if(ln)return ln}let ct=rc(we.symbol,ae,788968,!0);if(!(ct.kind&80))return L.createIdentifier("(Missing type parameter)");const Ut=(dn=(an=we.symbol)==null?void 0:an.declarations)==null?void 0:dn[0];if(Ut&&pl(Ut)&&(ct=c(ae,ct,Ut.name)),ae.flags&4){const ln=ct.escapedText;let qt=((Le=ae.typeParameterNamesByTextNextNameCount)==null?void 0:Le.get(ln))||0,un=ln;for(;(Ke=ae.typeParameterNamesByText)!=null&&Ke.has(un)||Pf(un,ae,we);)qt++,un="".concat(ln,"_").concat(qt);if(un!==ln){const nr=g1(ct);ct=L.createIdentifier(un),fv(ct,nr)}ae.mustCreateTypeParametersNamesLookups&&(ae.mustCreateTypeParametersNamesLookups=!1,ae.typeParameterNames=new Map(ae.typeParameterNames),ae.typeParameterNamesByTextNextNameCount=new Map(ae.typeParameterNamesByTextNextNameCount),ae.typeParameterNamesByText=new Set(ae.typeParameterNamesByText)),ae.typeParameterNamesByTextNextNameCount.set(ln,qt),ae.typeParameterNames.set(pd(we),ct),ae.typeParameterNamesByText.add(un)}return ct}function rc(we,ae,an,dn){const Le=Wo(we,ae,an);return dn&&Le.length!==1&&!ae.encounteredError&&!(ae.flags&65536)&&(ae.encounteredError=!0),Ke(Le,Le.length-1);function Ke(ct,Ut){const ln=md(ct,Ut,ae),qt=ct[Ut];Ut===0&&(ae.flags|=16777216);const un=VT(qt,ae);Ut===0&&(ae.flags^=16777216);const nr=Dr(L.createIdentifier(un),16777216);return ln&&fv(nr,L.createNodeArray(ln)),nr.symbol=qt,Ut>0?L.createQualifiedName(Ke(ct,Ut-1),nr):nr}}function um(we,ae,an){const dn=Wo(we,ae,an);return Le(dn,dn.length-1);function Le(Ke,ct){const Ut=md(Ke,ct,ae),ln=Ke[ct];ct===0&&(ae.flags|=16777216);let qt=VT(ln,ae);ct===0&&(ae.flags^=16777216);let un=qt.charCodeAt(0);if(hk(un)&&bt(ln.declarations,vE)){const nr=cc(ln,ae);return ae.approximateLength+=2+nr.length,L.createStringLiteral(nr)}if(ct===0||ej(qt,G)){const nr=Dr(L.createIdentifier(qt),16777216);return Ut&&fv(nr,L.createNodeArray(Ut)),nr.symbol=ln,ae.approximateLength+=1+qt.length,ct>0?L.createPropertyAccessExpression(Le(Ke,ct-1),nr):nr}else{un===91&&(qt=qt.substring(1,qt.length-1),un=qt.charCodeAt(0));let nr;if(hk(un)&&!(ln.flags&8)){const er=bm(qt).replace(/\\./g,Lr=>Lr.substring(1));ae.approximateLength+=er.length+2,nr=L.createStringLiteral(er,un===39)}else""+ +qt===qt&&(ae.approximateLength+=qt.length,nr=L.createNumericLiteral(+qt));if(!nr){const er=Dr(L.createIdentifier(qt),16777216);Ut&&fv(er,L.createNodeArray(Ut)),er.symbol=ln,ae.approximateLength+=qt.length,nr=er}return ae.approximateLength+=2,L.createElementAccessExpression(Le(Ke,ct-1),nr)}}}function jL(we){const ae=Fo(we);return ae?Ea(ae)?!!(yo(ae.expression).flags&402653316):Bs(ae)?!!(yo(ae.argumentExpression).flags&402653316):Oa(ae):!1}function EW(we){const ae=Fo(we);return!!(ae&&Oa(ae)&&(ae.singleQuote||!zs(ae)&&fo(Rl(ae,!1),"'")))}function UL(we,ae){const an=aQ(we);if(an)if(!!ae.tracker.reportPrivateInBaseOfClassExpression&&ae.flags&2048){let qt=Bi(we.escapedName);return qt=qt.replace(/__#\d+@#/g,"__#private@#"),nw(qt,Va(O),!1,!0,!!(we.flags&8192))}else return an;const dn=!!et(we.declarations)&&Gn(we.declarations,jL),Le=!!et(we.declarations)&&Gn(we.declarations,EW),Ke=!!(we.flags&8192),ct=sf(we,ae,Le,dn,Ke);if(ct)return ct;const Ut=Bi(we.escapedName);return nw(Ut,Va(O),Le,dn,Ke)}function sf(we,ae,an,dn,Le){const Ke=Kr(we).nameType;if(Ke){if(Ke.flags&384){const ct=""+Ke.value;return!_p(ct,Va(O))&&(dn||!Rg(ct))?L.createStringLiteral(ct,!!an):Rg(ct)&&fo(ct,"-")?L.createComputedPropertyName(L.createPrefixUnaryExpression(41,L.createNumericLiteral(-ct))):nw(ct,Va(O),an,dn,Le)}if(Ke.flags&8192)return L.createComputedPropertyName(um(Ke.symbol,ae,111551))}}function AW(we){const ae=we.mustCreateTypeParameterSymbolList,an=we.mustCreateTypeParametersNamesLookups;we.mustCreateTypeParameterSymbolList=!0,we.mustCreateTypeParametersNamesLookups=!0;const dn=we.typeParameterNames,Le=we.typeParameterNamesByText,Ke=we.typeParameterNamesByTextNextNameCount,ct=we.typeParameterSymbolList;return()=>{we.typeParameterNames=dn,we.typeParameterNamesByText=Le,we.typeParameterNamesByTextNextNameCount=Ke,we.typeParameterSymbolList=ct,we.mustCreateTypeParameterSymbolList=ae,we.mustCreateTypeParametersNamesLookups=an}}function Kt(we,ae){return we.declarations&&_n(we.declarations,an=>!!x7e(an)&&(!ae||!!Rn(an,dn=>dn===ae)))}function Cn(we,ae){if(!(qr(ae)&4)||!Bp(we))return!0;TY(we);const an=Vr(we).resolvedSymbol,dn=an&&Xs(an);return!dn||dn!==ae.target?!0:et(we.typeArguments)>=rg(ae.target.typeParameters)}function Xn(we){for(;Vr(we).fakeScopeForSignatureDeclaration;)we=we.parent;return we}function _r(we,ae,an){return an.flags&8192&&an.symbol===we&&(!ae.enclosingDeclaration||bt(we.declarations,Le=>On(Le)===ae.enclosingFile))&&(ae.flags|=1048576),en(an,ae)}function Gr(we,ae,an,dn){var ln,qt;var Le;let Ke;const ct=ae&&(no(ae)||hf(ae))&&dB(ae,we.enclosingDeclaration),Ut=(qt=(ln=ae!=null?ae:dn.valueDeclaration)!=null?ln:Kt(dn))!=null?qt:(Le=dn.declarations)==null?void 0:Le[0];if(!ht(an,we)&&Ut){const un=Z(we,dn,an);gb(Ut)?Ke=Ne.serializeTypeOfAccessor(Ut,dn,we):s4(Ut)&&!zs(Ut)&&!(qr(an)&196608)&&(Ke=Ne.serializeTypeOfDeclaration(Ut,dn,we)),un()}return Ke||(ct&&(an=y0(an)),Ke=_r(dn,we,an)),Ke!=null?Ke:L.createKeywordTypeNode(133)}function yi(we,ae,an){return an===ae?!0:we&&((Eu(we)||ko(we))&&we.questionToken||no(we)&&dY(we))?lm(ae,524288)===an:!1}function ka(we,ae){const an=we.flags&256,dn=Ee(we);an&&(we.flags&=-257);let Le;const Ke=hs(ae);if(!(an&&Or(Ke))){if(ae.declaration&&!zs(ae.declaration)&&!ht(Ke,we)){const ct=Fr(ae.declaration),Ut=Z(we,ct,Ke);Le=Ne.serializeReturnTypeForSignature(ae.declaration,ct,we),Ut()}Le||(Le=Fa(we,ae,Ke))}return!Le&&!an&&(Le=L.createKeywordTypeNode(133)),dn(),Le}function Fa(we,ae,an){const dn=we.suppressReportInferenceFallback;we.suppressReportInferenceFallback=!0;const Le=om(ae),Ke=Le?hu(we.mapper?YWe(Le,we.mapper):Le,we):en(an,we);return we.suppressReportInferenceFallback=dn,Ke}function Hs(we,ae,an=ae.enclosingDeclaration){let dn=!1;const Le=Ou(we);if(Er(we)&&(o1(Le)||Tg(Le.parent)||Wu(Le.parent)&&GG(Le.parent.left)&&o1(Le.parent.right)))return dn=!0,{introducesError:dn,node:we};const Ke=dL(we);let ct;if(Rb(Le))return ct=Fr(bu(Le,!1,!1)),l0(ct,Le,Ke,!1).accessibility!==0&&(dn=!0,ae.tracker.reportInaccessibleThisError()),{introducesError:dn,node:Ut(we)};if(ct=Gl(Le,Ke,!0,!0),ae.enclosingDeclaration&&!(ct&&ct.flags&262144)){ct=St(ct);const ln=Gl(Le,Ke,!0,!0,ae.enclosingDeclaration);if(ln===ie||ln===void 0&&ct!==void 0||ln&&ct&&!me(St(ln),ct))return ln!==ie&&ae.tracker.reportInferenceFallback(we),dn=!0,{introducesError:dn,node:we,sym:ct};ct=ln}if(ct)return ct.flags&1&&ct.valueDeclaration&&(U0(ct.valueDeclaration)||hf(ct.valueDeclaration))?{introducesError:dn,node:Ut(we)}:(!(ct.flags&262144)&&!z_(we)&&l0(ct,an,Ke,!1).accessibility!==0?(ae.tracker.reportInferenceFallback(we),dn=!0):ae.tracker.trackSymbol(ct,an,Ke),{introducesError:dn,node:Ut(we)});return{introducesError:dn,node:we};function Ut(ln){if(ln===Le){const un=Xs(ct),nr=ct.flags&262144?Il(un,ae):L.cloneNode(ln);return nr.symbol=ct,c(ae,Dr(nr,16777216),ln)}const qt=kn(ln,un=>Ut(un),void 0);return c(ae,qt,ln)}}function $c(we,ae,an,dn){const Le=an?111551:788968,Ke=Gl(ae,Le,!0);if(!Ke)return;const ct=Ke.flags&2097152?ud(Ke):Ke;if(l0(Ke,we.enclosingDeclaration,Le,!1).accessibility===0)return As(ct,we,Le,dn)}function _u(we,ae){const an=a(we,ae,!0);if(!an)return!1;if(Er(ae)&&ly(ae)){GWe(ae);const dn=Vr(ae).resolvedSymbol;return!dn||!(!ae.isTypeOf&&!(dn.flags&788968)||!(et(ae.typeArguments)>=rg(ua(dn))))}if(Bp(ae)){if(zm(ae))return!1;const dn=Vr(ae).resolvedSymbol;if(!dn)return!1;if(dn.flags&262144){const Le=Xs(dn);return!(we.mapper&&qv(Le,we.mapper)!==Le)}if($N(ae))return Cn(ae,an)&&!Q8e(ae)&&!!(dn.flags&788968)}if(X0(ae)&&ae.operator===158&&ae.type.kind===155){const dn=we.enclosingDeclaration&&Xn(we.enclosingDeclaration);return!!Rn(ae,Le=>Le===dn)}return!0}function hp(we,ae,an){const dn=a(we,ae);if(an&&!cm(dn,Le=>!!(Le.flags&32768))&&_u(we,ae)){const Le=Ne.tryReuseExistingTypeNode(we,ae);if(Le)return L.createUnionTypeNode([Le,L.createKeywordTypeNode(157)])}return en(dn,we)}function rS(we,ae){var an;const dn=V7e(L.createPropertyDeclaration,175,!0),Le=V7e((Mt,hr,Ti,Ii)=>L.createPropertySignature(Mt,hr,Ti,Ii),174,!1),Ke=ae.enclosingDeclaration;let ct=[];const Ut=new Set,ln=[],qt=ae;ae={...qt,usedSymbolNames:new Set(qt.usedSymbolNames),remappedSymbolNames:new Map,remappedSymbolReferences:new Map((an=qt.remappedSymbolReferences)==null?void 0:an.entries()),tracker:void 0};const un={...qt.tracker.inner,trackSymbol:(Mt,hr,Ti)=>{var Ii,wr;if((Ii=ae.remappedSymbolNames)!=null&&Ii.has(Aa(Mt)))return!1;if(l0(Mt,hr,Ti,!1).accessibility===0){const Ba=Ts(Mt,ae,Ti);if(!(Mt.flags&4)){const sa=Ba[0],Li=On(qt.enclosingDeclaration);bt(sa.declarations,ya=>On(ya)===Li)&&$a(sa)}}else if((wr=qt.tracker.inner)!=null&&wr.trackSymbol)return qt.tracker.inner.trackSymbol(Mt,hr,Ti);return!1}};ae.tracker=new Eae(ae,un,qt.tracker.moduleResolverHost),Uc(we,(Mt,hr)=>{const Ti=Bi(hr);lg(Mt,Ti)});let nr=!ae.bundled;const er=we.get("export=");return er&&we.size>1&&er.flags&2098688&&(we=ma(),we.set("export=",er)),Xr(we),Do(ct);function Lr(Mt){return!!Mt&&Mt.kind===80}function li(Mt){return sc(Mt)?Fn(Gt(Mt.declarationList.declarations,Fo),Lr):Fn([Fo(Mt)],Lr)}function Di(Mt){const hr=_n(Mt,fl),Ti=lo(Mt,pc);let Ii=Ti!==-1?Mt[Ti]:void 0;if(Ii&&hr&&hr.isExportEquals&&Je(hr.expression)&&Je(Ii.name)&&Yr(Ii.name)===Yr(hr.expression)&&Ii.body&&a_(Ii.body)){const wr=Fn(Mt,sa=>!!(Gd(sa)&32)),Na=Ii.name;let Ba=Ii.body;if(et(wr)&&(Ii=L.updateModuleDeclaration(Ii,Ii.modifiers,Ii.name,Ba=L.updateModuleBlock(Ba,L.createNodeArray([...Ii.body.statements,L.createExportDeclaration(void 0,!1,L.createNamedExports(Gt(Wi(wr,sa=>li(sa)),sa=>L.createExportSpecifier(!1,void 0,sa))),void 0)]))),Mt=[...Mt.slice(0,Ti),Ii,...Mt.slice(Ti+1)]),!_n(Mt,sa=>sa!==Ii&&w2(sa,Na))){ct=[];const sa=!bt(Ba.statements,Li=>fi(Li,32)||fl(Li)||fc(Li));Xe(Ba.statements,Li=>{Po(Li,sa?32:0)}),Mt=[...Fn(Mt,Li=>Li!==Ii&&Li!==hr),...ct]}}return Mt}function lr(Mt){const hr=Fn(Mt,Ii=>fc(Ii)&&!Ii.moduleSpecifier&&!!Ii.exportClause&&Kf(Ii.exportClause));et(hr)>1&&(Mt=[...Fn(Mt,wr=>!fc(wr)||!!wr.moduleSpecifier||!wr.exportClause),L.createExportDeclaration(void 0,!1,L.createNamedExports(Wi(hr,wr=>va(wr.exportClause,Kf).elements)),void 0)]);const Ti=Fn(Mt,Ii=>fc(Ii)&&!!Ii.moduleSpecifier&&!!Ii.exportClause&&Kf(Ii.exportClause));if(et(Ti)>1){const Ii=RR(Ti,wr=>Oa(wr.moduleSpecifier)?">"+wr.moduleSpecifier.text:">");if(Ii.length!==Ti.length)for(const wr of Ii)wr.length>1&&(Mt=[...Fn(Mt,Na=>!wr.includes(Na)),L.createExportDeclaration(void 0,!1,L.createNamedExports(Wi(wr,Na=>va(Na.exportClause,Kf).elements)),wr[0].moduleSpecifier)])}return Mt}function Ei(Mt){const hr=lo(Mt,Ti=>fc(Ti)&&!Ti.moduleSpecifier&&!Ti.attributes&&!!Ti.exportClause&&Kf(Ti.exportClause));if(hr>=0){const Ti=Mt[hr],Ii=Hi(Ti.exportClause.elements,wr=>{if(!wr.propertyName&&wr.name.kind!==11){const Na=wr.name,Ba=VW(Mt),sa=Fn(Ba,Li=>w2(Mt[Li],Na));if(et(sa)&&Gn(sa,Li=>rw(Mt[Li]))){for(const Li of sa)Mt[Li]=$o(Mt[Li]);return}}return wr});et(Ii)?Mt[hr]=L.updateExportDeclaration(Ti,Ti.modifiers,Ti.isTypeOnly,L.updateNamedExports(Ti.exportClause,Ii),Ti.moduleSpecifier,Ti.attributes):lb(Mt,hr)}return Mt}function Do(Mt){return Mt=Di(Mt),Mt=lr(Mt),Mt=Ei(Mt),Ke&&(Qi(Ke)&&wp(Ke)||pc(Ke))&&(!bt(Mt,H2)||!Ite(Mt)&&bt(Mt,AF))&&Mt.push(Tw(L)),Mt}function $o(Mt){const hr=(Gd(Mt)|32)&-129;return L.replaceModifiers(Mt,hr)}function gn(Mt){const hr=Gd(Mt)&-33;return L.replaceModifiers(Mt,hr)}function Xr(Mt,hr,Ti){hr||ln.push(new Map);let Ii=0;const wr=Array.from(Mt.values());for(const Na of wr){if(Ii++,Te(ae)&&Ii+2<Mt.size-1){ae.out.truncated=!0,ct.push(yR("... (".concat(Mt.size-Ii," more ...)"))),Go(wr[wr.length-1],!1,!!Ti);break}Go(Na,!1,!!Ti)}hr||(ln[ln.length-1].forEach(Na=>{Go(Na,!0,!!Ti)}),ln.pop())}function Go(Mt,hr,Ti){Es(gr(Mt));const Ii=os(Mt);if(Ut.has(Aa(Ii)))return;if(Ut.add(Aa(Ii)),!hr||et(Mt.declarations)&&bt(Mt.declarations,Na=>!!Rn(Na,Ba=>Ba===Ke))){const Na=AW(ae);ae.tracker.pushErrorFallbackNode(_n(Mt.declarations,Ba=>On(Ba)===ae.enclosingFile)),So(Mt,hr,Ti),ae.tracker.popErrorFallbackNode(),Na()}}function So(Mt,hr,Ti,Ii=Mt.escapedName){var Om;var wr,Na,Ba,sa,Li,ya,gc;const gl=Bi(Ii),wd=Ii==="default";if(hr&&!(ae.flags&131072)&&EI(gl)&&!wd){ae.encounteredError=!0;return}let Od=wd&&!!(Mt.flags&-113||Mt.flags&16&&et(Es(gr(Mt))))&&!(Mt.flags&2097152),Cl=!Od&&!hr&&EI(gl)&&!wd;(Od||Cl)&&(hr=!0);const nl=(hr?0:32)|(wd&&!Od?2048:0),Yl=Mt.flags&1536&&Mt.flags&7&&Ii!=="export=",Qc=Yl&&$ye(gr(Mt),Mt);if((Mt.flags&8208||Qc)&&E0(gr(Mt),Mt,lg(Mt,gl),nl),Mt.flags&524288&&Mc(Mt,gl,nl),Mt.flags&98311&&Ii!=="export="&&!(Mt.flags&4194304)&&!(Mt.flags&32)&&!(Mt.flags&8192)&&!Qc)if(Ti)mB(Mt)&&(Cl=!1,Od=!1);else{const jl=gr(Mt),Lf=lg(Mt,gl);if(jl.symbol&&jl.symbol!==Mt&&jl.symbol.flags&16&&bt(jl.symbol.declarations,Mb)&&((wr=jl.symbol.members)!=null&&wr.size||(Na=jl.symbol.exports)!=null&&Na.size))ae.remappedSymbolReferences||(ae.remappedSymbolReferences=new Map),ae.remappedSymbolReferences.set(Aa(jl.symbol),Mt),So(jl.symbol,hr,Ti,Ii),ae.remappedSymbolReferences.delete(Aa(jl.symbol));else if(!(Mt.flags&16)&&$ye(jl,Mt))E0(jl,Mt,Lf,nl);else{const Fh=Mt.flags&2?cR(Mt)?2:1:(Ba=Mt.parent)!=null&&Ba.valueDeclaration&&Qi((sa=Mt.parent)==null?void 0:sa.valueDeclaration)?2:void 0,zh=Od||!(Mt.flags&4)?Lf:_B(Lf,Mt);let $v=Mt.declarations&&_n(Mt.declarations,vR=>bi(vR));$v&&_d($v.parent)&&$v.parent.declarations.length===1&&($v=$v.parent.parent);const WE=(Li=Mt.declarations)==null?void 0:Li.find(Jr);if(WE&&Nr(WE.parent)&&Je(WE.parent.right)&&((ya=jl.symbol)!=null&&ya.valueDeclaration)&&Qi(jl.symbol.valueDeclaration)){const vR=Lf===WE.parent.right.escapedText?void 0:WE.parent.right;ae.approximateLength+=12+((Om=(gc=vR==null?void 0:vR.escapedText)==null?void 0:gc.length)!=null?Om:0),Po(L.createExportDeclaration(void 0,!1,L.createNamedExports([L.createExportSpecifier(!1,vR,Lf)])),0),ae.tracker.trackSymbol(jl.symbol,ae.enclosingDeclaration,111551)}else{const vR=c(ae,L.createVariableStatement(void 0,L.createVariableDeclarationList([L.createVariableDeclaration(zh,void 0,Gr(ae,void 0,jl,Mt))],Fh)),$v);ae.approximateLength+=7+zh.length,Po(vR,zh!==Lf?nl&-33:nl),zh!==Lf&&!hr&&(ae.approximateLength+=16+zh.length+Lf.length,Po(L.createExportDeclaration(void 0,!1,L.createNamedExports([L.createExportSpecifier(!1,zh,Lf)])),0),Cl=!1,Od=!1)}}}if(Mt.flags&384&&OE(Mt,gl,nl),Mt.flags&32&&(Mt.flags&4&&Mt.valueDeclaration&&Nr(Mt.valueDeclaration.parent)&&uc(Mt.valueDeclaration.parent.right)?G7e(Mt,lg(Mt,gl),nl):Xye(Mt,lg(Mt,gl),nl)),(Mt.flags&1536&&(!Yl||Yy(Mt))||Qc)&&oS(Mt,gl,nl),Mt.flags&64&&!(Mt.flags&32)&&Pc(Mt,gl,nl),Mt.flags&2097152&&G7e(Mt,lg(Mt,gl),nl),Mt.flags&4&&Mt.escapedName==="export="&&mB(Mt),Mt.flags&8388608&&Mt.declarations)for(const jl of Mt.declarations){const Lf=pu(jl,jl.moduleSpecifier);if(!Lf)continue;const Fh=jl.isTypeOnly,zh=cc(Lf,ae);ae.approximateLength+=17+zh.length,Po(L.createExportDeclaration(void 0,Fh,void 0,L.createStringLiteral(zh)),0)}if(Od){const jl=lg(Mt,gl);ae.approximateLength+=16+jl.length,Po(L.createExportAssignment(void 0,!1,L.createIdentifier(jl)),0)}else if(Cl){const jl=lg(Mt,gl);ae.approximateLength+=22+gl.length+jl.length,Po(L.createExportDeclaration(void 0,!1,L.createNamedExports([L.createExportSpecifier(!1,jl,gl)])),0)}}function $a(Mt){if(bt(Mt.declarations,U0))return;C.assertIsDefined(ln[ln.length-1]),_B(Bi(Mt.escapedName),Mt);const hr=!!(Mt.flags&2097152)&&!bt(Mt.declarations,Ti=>!!Rn(Ti,fc)||V_(Ti)||Oc(Ti)&&!_y(Ti.moduleReference));ln[hr?0:ln.length-1].set(Aa(Mt),Mt)}function gs(Mt){return Qi(Mt)&&(wp(Mt)||zf(Mt))||vu(Mt)&&!W_(Mt)}function Po(Mt,hr){if(Im(Mt)){const Ti=Gd(Mt);let Ii=0;const wr=ae.enclosingDeclaration&&(vm(ae.enclosingDeclaration)?On(ae.enclosingDeclaration):ae.enclosingDeclaration);hr&32&&wr&&(gs(wr)||pc(wr))&&rw(Mt)&&(Ii|=32),nr&&!(Ii&32)&&(!wr||!(wr.flags&33554432))&&(eT(Mt)||sc(Mt)||ec(Mt)||xc(Mt)||pc(Mt))&&(Ii|=128),hr&2048&&(xc(Mt)||gd(Mt)||ec(Mt))&&(Ii|=2048),Ii&&(Mt=L.replaceModifiers(Mt,Ii|Ti)),ae.approximateLength+=hB(Ii|Ti)}ct.push(Mt)}function Mc(Mt,hr,Ti){var Od;var Ii;const wr=t8e(Mt),Na=Kr(Mt).typeParameters,Ba=Gt(Na,Cl=>Xl(Cl,ae)),sa=(Ii=Mt.declarations)==null?void 0:Ii.find(vm),Li=W2(sa?sa.comment||sa.parent.comment:void 0),ya=Ee(ae);ae.flags|=8388608;const gc=ae.enclosingDeclaration;ae.enclosingDeclaration=sa;const gl=sa&&sa.typeExpression&&nT(sa.typeExpression)&&Ne.tryReuseExistingTypeNode(ae,sa.typeExpression.type)||en(wr,ae),wd=lg(Mt,hr);ae.approximateLength+=8+((Od=Li==null?void 0:Li.length)!=null?Od:0)+wd.length,Po(K0(L.createTypeAliasDeclaration(void 0,wd,Ba,gl),Li?[{kind:3,text:"*\n * "+Li.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:!0}]:[]),Ti),ya(),ae.enclosingDeclaration=gc}function Pc(Mt,hr,Ti){const Ii=lg(Mt,hr);ae.approximateLength+=14+Ii.length;const wr=im(Mt),Na=ua(Mt),Ba=Gt(Na,Cl=>Xl(Cl,ae)),sa=rm(wr),Li=et(sa)?La(sa):void 0,ya=kd(Es(wr),!1,Li),gc=Qye(0,wr,Li,180),gl=Qye(1,wr,Li,181),wd=U7e(wr,Li),Od=et(sa)?[L.createHeritageClause(96,Hi(sa,Cl=>Zye(Cl,111551)))]:void 0;Po(L.createInterfaceDeclaration(void 0,Ii,Ba,Od,[...wd,...gl,...gc,...ya]),Ti)}function kd(Mt,hr,Ti,Ii){const wr=[];let Na=0;for(const Ba of Mt){if(Na++,Te(ae)&&Na+2<Mt.length-1){ae.out.truncated=!0;const Li=gu("... ".concat(Mt.length-Na," more ... "),hr);wr.push(Li);const ya=hr?dn(Mt[Mt.length-1],Ii,Ti):j7e(Mt[Mt.length-1],Ti);Lo(ya)?wr.push(...ya):wr.push(ya);break}ae.approximateLength+=1;const sa=hr?dn(Ba,Ii,Ti):j7e(Ba,Ti);Lo(sa)?wr.push(...sa):wr.push(sa)}return wr}function gu(Mt,hr){return ae.flags&1?Lb(L.createNotEmittedTypeElement(),3,Mt):hr?L.createPropertyDeclaration(void 0,Mt,void 0,void 0,void 0):L.createPropertySignature(void 0,Mt,void 0,void 0)}function Xu(Mt){let hr=Mo(Kp(Mt).values());const Ti=os(Mt);if(Ti!==Mt){const Ii=new Set(hr);for(const wr of Kp(Ti).values())fp(mc(wr))&111551||Ii.add(wr);hr=Mo(Ii)}return Fn(hr,Ii=>iN(Ii)&&_p(Ii.escapedName,99))}function Yy(Mt){return Gn(Xu(Mt),hr=>!(fp(mc(hr))&111551))}function oS(Mt,hr,Ti){const Ii=Xu(Mt),wr=iS(ae),Na=_2(Ii,Li=>Li.parent&&Li.parent===Mt||wr?"real":"merged"),Ba=Na.get("real")||se,sa=Na.get("merged")||se;if(et(Ba)||wr){let Li;if(wr){const ya=ae.flags;ae.flags|=514,Li=p(Mt,ae,-1),ae.flags=ya}else{const ya=lg(Mt,hr);Li=L.createIdentifier(ya),ae.approximateLength+=ya.length}sg(Ba,Li,Ti,!!(Mt.flags&67108880))}if(et(sa)){const Li=On(ae.enclosingDeclaration),ya=lg(Mt,hr),gc=L.createModuleBlock([L.createExportDeclaration(void 0,!1,L.createNamedExports(Hi(Fn(sa,gl=>gl.escapedName!=="export="),gl=>{var wd,Od;const Cl=Bi(gl.escapedName),nl=lg(gl,Cl),Yl=gl.declarations&&pp(gl);if(Li&&(Yl?Li!==On(Yl):!bt(gl.declarations,jl=>On(jl)===Li))){(Od=(wd=ae.tracker)==null?void 0:wd.reportNonlocalAugmentation)==null||Od.call(wd,Li,Mt,gl);return}const Qc=Yl&&OT(Yl,!0);$a(Qc||gl);const Om=Qc?lg(Qc,Bi(Qc.escapedName)):nl;return L.createExportSpecifier(!1,Cl===Om?void 0:Om,Cl)})))]);Po(L.createModuleDeclaration(void 0,L.createIdentifier(ya),gc,32),0)}}function OE(Mt,hr,Ti){var sa;const Ii=lg(Mt,hr);ae.approximateLength+=9+Ii.length;const wr=[],Na=Fn(Es(gr(Mt)),Li=>!!(Li.flags&8));let Ba=0;for(const Li of Na){if(Ba++,Te(ae)&&Ba+2<Na.length-1){ae.out.truncated=!0,wr.push(L.createEnumMember(" ... ".concat(Na.length-Ba," more ... ")));const Cl=Na[Na.length-1],nl=Cl.declarations&&Cl.declarations[0]&&gy(Cl.declarations[0])?eQ(Cl.declarations[0]):void 0,Yl=nl===void 0?void 0:typeof nl=="string"?L.createStringLiteral(nl):L.createNumericLiteral(nl),Qc=Bi(Cl.escapedName),Om=L.createEnumMember(Qc,Yl);wr.push(Om);break}const ya=Li.declarations&&Li.declarations[0]&&gy(Li.declarations[0])?Li.declarations[0]:void 0;let gc,gl;if(iS(ae)&&ya&&ya.initializer)gc=ys(ya.initializer),gl=ya.initializer.end-ya.initializer.pos;else{const Cl=ya&&eQ(ya);gc=Cl===void 0?void 0:typeof Cl=="string"?L.createStringLiteral(Cl):L.createNumericLiteral(Cl),gl=(sa=gc==null?void 0:gc.text.length)!=null?sa:0}const wd=Bi(Li.escapedName);ae.approximateLength+=4+wd.length+gl;const Od=L.createEnumMember(wd,gc);wr.push(Od)}Po(L.createEnumDeclaration(L.createModifiersFromModifierFlags(lye(Mt)?4096:0),Ii,wr),Ti)}function E0(Mt,hr,Ti,Ii){const wr=aa(Mt,0);for(const Na of wr){ae.approximateLength+=1;const Ba=ui(Na,263,ae,{name:L.createIdentifier(Ti)});Po(c(ae,Ba,HL(Na)),Ii)}if(!(hr.flags&1536&&hr.exports&&hr.exports.size)){const Na=Fn(Es(Mt),iN);ae.approximateLength+=Ti.length,sg(Na,L.createIdentifier(Ti),Ii,!0)}}function yR(Mt){return ae.flags&1?Lb(L.createEmptyStatement(),3,Mt):L.createExpressionStatement(L.createIdentifier(Mt))}function HL(Mt){if(Mt.declaration&&Mt.declaration.parent){if(Nr(Mt.declaration.parent)&&ac(Mt.declaration.parent)===5)return Mt.declaration.parent;if(bi(Mt.declaration.parent)&&Mt.declaration.parent.parent)return Mt.declaration.parent.parent}return Mt.declaration}function sg(Mt,hr,Ti,Ii){const wr=Je(hr)?32:0,Na=iS(ae);if(et(Mt)){ae.approximateLength+=14;const sa=_2(Mt,Yl=>!et(Yl.declarations)||bt(Yl.declarations,Qc=>On(Qc)===On(ae.enclosingDeclaration))||Na?"local":"remote").get("local")||se;let Li=oT.createModuleDeclaration(void 0,hr,L.createModuleBlock([]),wr);ps(Li,Ke),Li.locals=ma(Mt),Li.symbol=Mt[0].parent;const ya=ct;ct=[];const gc=nr;nr=!1;const gl={...ae,enclosingDeclaration:Li},wd=ae;ae=gl,Xr(ma(sa),Ii,!0),ae=wd,nr=gc;const Od=ct;ct=ya;const Cl=Gt(Od,Yl=>fl(Yl)&&!Yl.isExportEquals&&Je(Yl.expression)?L.createExportDeclaration(void 0,!1,L.createNamedExports([L.createExportSpecifier(!1,Yl.expression,L.createIdentifier("default"))])):Yl),nl=Gn(Cl,Yl=>fi(Yl,32))?Gt(Cl,gn):Cl;Li=L.updateModuleDeclaration(Li,Li.modifiers,Li.name,L.createModuleBlock(nl)),Po(Li,Ti)}else Na&&(ae.approximateLength+=14,Po(L.createModuleDeclaration(void 0,hr,L.createModuleBlock([]),wr),Ti))}function iN(Mt){return!!(Mt.flags&2887656)||!(Mt.flags&4194304||Mt.escapedName==="prototype"||Mt.valueDeclaration&&ha(Mt.valueDeclaration)&&hi(Mt.valueDeclaration.parent))}function fB(Mt){const hr=Hi(Mt,Ti=>{const Ii=ae.enclosingDeclaration;ae.enclosingDeclaration=Ti;let wr=Ti.expression;if(Ps(wr)){if(Je(wr)&&Yr(wr)==="")return Na(void 0);let Ba;if({introducesError:Ba,node:wr}=Hs(wr,ae),Ba)return Na(void 0)}return Na(L.createExpressionWithTypeArguments(wr,Gt(Ti.typeArguments,Ba=>Ne.tryReuseExistingTypeNode(ae,Ba)||en(a(ae,Ba),ae))));function Na(Ba){return ae.enclosingDeclaration=Ii,Ba}});if(hr.length===Mt.length)return hr}function Xye(Mt,hr,Ti){var Ii,wr;ae.approximateLength+=9+hr.length;const Na=(Ii=Mt.declarations)==null?void 0:Ii.find(hi),Ba=ae.enclosingDeclaration;ae.enclosingDeclaration=Na||Ba;const sa=ua(Mt),Li=Gt(sa,Qv=>Xl(Qv,ae));Xe(sa,Qv=>ae.approximateLength+=Ol(Qv.symbol).length);const ya=Yp(im(Mt)),gc=rm(ya),gl=Na&&iD(Na),wd=gl&&fB(gl)||Hi(R8(ya),e0t),Od=gr(Mt),Cl=!!((wr=Od.symbol)!=null&&wr.valueDeclaration)&&hi(Od.symbol.valueDeclaration),nl=Cl?qg(Od):He;ae.approximateLength+=(et(gc)?8:0)+(et(wd)?11:0);const Yl=[...et(gc)?[L.createHeritageClause(96,Gt(gc,Qv=>Zbt(Qv,nl,hr)))]:[],...et(wd)?[L.createHeritageClause(119,wd)]:[]],Qc=Wyt(ya,gc,Es(ya)),Om=Fn(Qc,Qv=>!pB(Qv)),jl=bt(Qc,pB),Lf=jl?iS(ae)?kd(Fn(Qc,pB),!0,gc[0],!1):[L.createPropertyDeclaration(void 0,L.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:se;jl&&!iS(ae)&&(ae.approximateLength+=9);const Fh=kd(Om,!0,gc[0],!1),zh=kd(Fn(Es(Od),Qv=>!(Qv.flags&4194304)&&Qv.escapedName!=="prototype"&&!iN(Qv)),!0,nl,!0),$v=!Cl&&!!Mt.valueDeclaration&&Er(Mt.valueDeclaration)&&!bt(aa(Od,1));$v&&(ae.approximateLength+=21);const WE=$v?[L.createConstructorDeclaration(L.createModifiersFromModifierFlags(2),[],void 0)]:Qye(1,Od,nl,177),vR=U7e(ya,gc[0]);ae.enclosingDeclaration=Ba,Po(c(ae,L.createClassDeclaration(void 0,hr,Li,Yl,[...vR,...zh,...WE,...Fh,...Lf]),Mt.declarations&&Fn(Mt.declarations,Qv=>xc(Qv)||uc(Qv))[0]),Ti)}function Yye(Mt){return Wn(Mt,hr=>{if(Au(hr)||ou(hr))return Sb(hr.propertyName||hr.name);if(Nr(hr)||fl(hr)){const Ti=fl(hr)?hr.expression:hr.right;if(Jr(Ti))return Yr(Ti.name)}if(Lv(hr)){const Ti=Fo(hr);if(Ti&&Je(Ti))return Yr(Ti)}})}function G7e(Mt,hr,Ti){var wd;var Ii,wr,Na,Ba,sa;const Li=pp(Mt);if(!Li)return C.fail();const ya=os(OT(Li,!0));if(!ya)return;let gc=Z2(ya)&&Yye(Mt.declarations)||Bi(ya.escapedName);gc==="export="&&he&&(gc="default");const gl=lg(ya,gc);switch($a(ya),Li.kind){case 209:if(((wr=(Ii=Li.parent)==null?void 0:Ii.parent)==null?void 0:wr.kind)===261){const nl=cc(ya.parent||ya,ae),{propertyName:Yl}=Li,Qc=Yl&&Je(Yl)?Yr(Yl):void 0;ae.approximateLength+=24+hr.length+nl.length+((wd=Qc==null?void 0:Qc.length)!=null?wd:0),Po(L.createImportDeclaration(void 0,L.createImportClause(void 0,void 0,L.createNamedImports([L.createImportSpecifier(!1,Qc?L.createIdentifier(Qc):void 0,L.createIdentifier(hr))])),L.createStringLiteral(nl),void 0),0);break}C.failBadSyntaxKind(((Na=Li.parent)==null?void 0:Na.parent)||Li,"Unhandled binding element grandparent kind in declaration serialization");break;case 305:((sa=(Ba=Li.parent)==null?void 0:Ba.parent)==null?void 0:sa.kind)===227&&qL(Bi(Mt.escapedName),gl);break;case 261:if(Jr(Li.initializer)){const nl=Li.initializer,Yl=L.createUniqueName(hr),Qc=cc(ya.parent||ya,ae);ae.approximateLength+=22+Qc.length+Yr(Yl).length,Po(L.createImportEqualsDeclaration(void 0,!1,Yl,L.createExternalModuleReference(L.createStringLiteral(Qc))),0),ae.approximateLength+=12+hr.length+Yr(Yl).length+Yr(nl.name).length,Po(L.createImportEqualsDeclaration(void 0,!1,L.createIdentifier(hr),L.createQualifiedName(Yl,nl.name)),Ti);break}case 272:if(ya.escapedName==="export="&&bt(ya.declarations,nl=>Qi(nl)&&zf(nl))){mB(Mt);break}const Od=!(ya.flags&512)&&!bi(Li);ae.approximateLength+=11+hr.length+Bi(ya.escapedName).length,Po(L.createImportEqualsDeclaration(void 0,!1,L.createIdentifier(hr),Od?rc(ya,ae,-1,!1):L.createExternalModuleReference(L.createStringLiteral(cc(ya,ae)))),Od?Ti:0);break;case 271:Po(L.createNamespaceExportDeclaration(Yr(Li.name)),0);break;case 274:{const nl=cc(ya.parent||ya,ae),Yl=ae.bundled?L.createStringLiteral(nl):Li.parent.moduleSpecifier,Qc=Sl(Li.parent)?Li.parent.attributes:void 0,Om=d_(Li.parent);ae.approximateLength+=14+hr.length+3+(Om?4:0),Po(L.createImportDeclaration(void 0,L.createImportClause(Om?156:void 0,L.createIdentifier(hr),void 0),Yl,Qc),0);break}case 275:{const nl=cc(ya.parent||ya,ae),Yl=ae.bundled?L.createStringLiteral(nl):Li.parent.parent.moduleSpecifier,Qc=d_(Li.parent.parent);ae.approximateLength+=19+hr.length+3+(Qc?4:0),Po(L.createImportDeclaration(void 0,L.createImportClause(Qc?156:void 0,void 0,L.createNamespaceImport(L.createIdentifier(hr))),Yl,Li.parent.attributes),0);break}case 281:ae.approximateLength+=19+hr.length+3,Po(L.createExportDeclaration(void 0,!1,L.createNamespaceExport(L.createIdentifier(hr)),L.createStringLiteral(cc(ya,ae))),0);break;case 277:{const nl=cc(ya.parent||ya,ae),Yl=ae.bundled?L.createStringLiteral(nl):Li.parent.parent.parent.moduleSpecifier,Qc=d_(Li.parent.parent.parent);ae.approximateLength+=19+hr.length+3+(Qc?4:0),Po(L.createImportDeclaration(void 0,L.createImportClause(Qc?156:void 0,void 0,L.createNamedImports([L.createImportSpecifier(!1,hr!==gc?L.createIdentifier(gc):void 0,L.createIdentifier(hr))])),Yl,Li.parent.parent.parent.attributes),0);break}case 282:const Cl=Li.parent.parent.moduleSpecifier;if(Cl){const nl=Li.propertyName;nl&&O_(nl)&&(gc="default")}qL(Bi(Mt.escapedName),Cl?gc:gl,Cl&&ds(Cl)?L.createStringLiteral(Cl.text):void 0);break;case 278:mB(Mt);break;case 227:case 212:case 213:Mt.escapedName==="default"||Mt.escapedName==="export="?mB(Mt):qL(hr,gl);break;default:return C.failBadSyntaxKind(Li,"Unhandled alias declaration kind in symbol serializer!")}}function qL(Mt,hr,Ti){ae.approximateLength+=16+Mt.length+(Mt!==hr?hr.length:0),Po(L.createExportDeclaration(void 0,!1,L.createNamedExports([L.createExportSpecifier(!1,Mt!==hr?hr:void 0,Mt)]),Ti),0)}function mB(Mt){var hr;if(Mt.flags&4194304)return!1;const Ti=Bi(Mt.escapedName),Ii=Ti==="export=",Na=Ii||Ti==="default",Ba=Mt.declarations&&pp(Mt),sa=Ba&&OT(Ba,!0);if(sa&&et(sa.declarations)&&bt(sa.declarations,Li=>On(Li)===On(Ke))){const Li=Ba&&(fl(Ba)||Nr(Ba)?YG(Ba):kne(Ba)),ya=Li&&Ps(Li)?Qyt(Li):void 0,gc=ya&&Gl(ya,-1,!0,!0,Ke);(gc||sa)&&$a(gc||sa);const gl=ae.tracker.disableTrackSymbol;if(ae.tracker.disableTrackSymbol=!0,Na)ae.approximateLength+=10,ct.push(L.createExportAssignment(void 0,Ii,um(sa,ae,-1)));else if(ya===Li&&ya)qL(Ti,Yr(ya));else if(Li&&uc(Li))qL(Ti,lg(sa,Ol(sa)));else{const wd=_B(Ti,Mt);ae.approximateLength+=wd.length+10,Po(L.createImportEqualsDeclaration(void 0,!1,L.createIdentifier(wd),rc(sa,ae,-1,!1)),0),qL(Ti,wd)}return ae.tracker.disableTrackSymbol=gl,!0}else{const Li=_B(Ti,Mt),ya=Zp(gr(os(Mt)));if($ye(ya,Mt))E0(ya,Mt,Li,Na?0:32);else{const gc=((hr=ae.enclosingDeclaration)==null?void 0:hr.kind)===268&&(!(Mt.flags&98304)||Mt.flags&65536)?1:2;ae.approximateLength+=Li.length+5;const gl=L.createVariableStatement(void 0,L.createVariableDeclarationList([L.createVariableDeclaration(Li,void 0,Gr(ae,void 0,ya,Mt))],gc));Po(gl,sa&&sa.flags&4&&sa.escapedName==="export="?128:Ti===Li?32:0)}return Na?(ae.approximateLength+=Li.length+10,ct.push(L.createExportAssignment(void 0,Ii,L.createIdentifier(Li))),!0):Ti!==Li?(qL(Ti,Li),!0):!1}}function $ye(Mt,hr){var Ti;const Ii=On(ae.enclosingDeclaration);return qr(Mt)&48&&!bt((Ti=Mt.symbol)==null?void 0:Ti.declarations,xi)&&!et(Yd(Mt))&&!S8(Mt)&&!!(et(Fn(Es(Mt),iN))||et(aa(Mt,0)))&&!et(aa(Mt,1))&&!Kt(hr,Ke)&&!(Mt.symbol&&bt(Mt.symbol.declarations,wr=>On(wr)!==Ii))&&!bt(Es(Mt),wr=>D8(wr.escapedName))&&!bt(Es(Mt),wr=>bt(wr.declarations,Na=>On(Na)!==Ii))&&Gn(Es(Mt),wr=>_p(Ol(wr),G)?wr.flags&98304?xh(wr)===Gv(wr):!0:!1)}function V7e(Mt,hr,Ti){return function(wr,Na,Ba){var sa,Li,ya,gc,gl,wd;const Od=jf(wr),Cl=!!(Od&2)&&!iS(ae);if(Na&&wr.flags&2887656)return[];if(wr.flags&4194304||wr.escapedName==="constructor"||Ba&&xa(Ba,wr.escapedName)&&Wh(xa(Ba,wr.escapedName))===Wh(wr)&&(wr.flags&16777216)===(xa(Ba,wr.escapedName).flags&16777216)&&$g(gr(wr),yn(Ba,wr.escapedName)))return[];const nl=Od&-1025|(Na?256:0),Yl=UL(wr,ae),Qc=(sa=wr.declarations)==null?void 0:sa.find(Np(ko,gb,bi,Eu,Nr,Jr));if(wr.flags&98304&&Ti){const Om=[];if(wr.flags&65536){const jl=wr.declarations&&Xe(wr.declarations,zh=>{if(zh.kind===179)return zh;if(ra(zh)&&a1(zh))return Xe(zh.arguments[2].properties,$v=>{const WE=Fo($v);if(WE&&Je(WE)&&Yr(WE)==="set")return $v})});C.assert(!!jl);const Lf=ks(jl)?Nf(jl).parameters[0]:void 0,Fh=(Li=wr.declarations)==null?void 0:Li.find(Jh);ae.approximateLength+=hB(nl)+7+(Lf?Ol(Lf).length:5)+(Cl?0:2),Om.push(c(ae,L.createSetAccessorDeclaration(L.createModifiersFromModifierFlags(nl),Yl,[L.createParameterDeclaration(void 0,void 0,Lf?qi(Lf,Un(Lf),ae):"value",void 0,Cl?void 0:Gr(ae,Fh,Gv(wr),wr))],void 0),Fh!=null?Fh:Qc))}if(wr.flags&32768){const jl=(ya=wr.declarations)==null?void 0:ya.find(hg);ae.approximateLength+=hB(nl)+8+(Cl?0:2),Om.push(c(ae,L.createGetAccessorDeclaration(L.createModifiersFromModifierFlags(nl),Yl,[],Cl?void 0:Gr(ae,jl,gr(wr),wr),void 0),jl!=null?jl:Qc))}return Om}else if(wr.flags&98311){const Om=(Wh(wr)?8:0)|nl;return ae.approximateLength+=2+(Cl?0:2)+hB(Om),c(ae,Mt(L.createModifiersFromModifierFlags(Om),Yl,wr.flags&16777216?L.createToken(58):void 0,Cl?void 0:Gr(ae,(gc=wr.declarations)==null?void 0:gc.find(bp),Gv(wr),wr),void 0),((gl=wr.declarations)==null?void 0:gl.find(Np(ko,bi)))||Qc)}if(wr.flags&8208){const Om=gr(wr),jl=aa(Om,0);if(Cl){const Fh=(Wh(wr)?8:0)|nl;return ae.approximateLength+=1+hB(Fh),c(ae,Mt(L.createModifiersFromModifierFlags(Fh),Yl,wr.flags&16777216?L.createToken(58):void 0,void 0,void 0),((wd=wr.declarations)==null?void 0:wd.find(ks))||jl[0]&&jl[0].declaration||wr.declarations&&wr.declarations[0])}const Lf=[];for(const Fh of jl){ae.approximateLength+=1;const zh=ui(Fh,hr,ae,{name:Yl,questionToken:wr.flags&16777216?L.createToken(58):void 0,modifiers:nl?L.createModifiersFromModifierFlags(nl):void 0}),$v=Fh.declaration&&bk(Fh.declaration.parent)?Fh.declaration.parent:Fh.declaration;Lf.push(c(ae,zh,$v))}return Lf}return C.fail("Unhandled class member kind! ".concat(wr.__debugFlags||wr.flags))}}function hB(Mt){let hr=0;return Mt&32&&(hr+=7),Mt&128&&(hr+=8),Mt&2048&&(hr+=8),Mt&4096&&(hr+=6),Mt&1&&(hr+=7),Mt&2&&(hr+=8),Mt&4&&(hr+=10),Mt&64&&(hr+=9),Mt&256&&(hr+=7),Mt&16&&(hr+=9),Mt&8&&(hr+=9),Mt&512&&(hr+=9),Mt&1024&&(hr+=6),Mt&8192&&(hr+=3),Mt&16384&&(hr+=4),hr}function j7e(Mt,hr){return Le(Mt,!1,hr)}function Qye(Mt,hr,Ti,Ii){const wr=aa(hr,Mt);if(Mt===1){if(!Ti&&Gn(wr,sa=>et(sa.parameters)===0))return[];if(Ti){const sa=aa(Ti,1);if(!et(sa)&&Gn(wr,Li=>et(Li.parameters)===0))return[];if(sa.length===wr.length){let Li=!1;for(let ya=0;ya<sa.length;ya++)if(!g5(wr[ya],sa[ya],!1,!1,!0,V8)){Li=!0;break}if(!Li)return[]}}let Ba=0;for(const sa of wr)sa.declaration&&(Ba|=II(sa.declaration,6));if(Ba)return[c(ae,L.createConstructorDeclaration(L.createModifiersFromModifierFlags(Ba),[],void 0),wr[0].declaration)]}const Na=[];for(const Ba of wr){ae.approximateLength+=1;const sa=ui(Ba,Ii,ae);Na.push(c(ae,sa,Ba.declaration))}return Na}function U7e(Mt,hr){const Ti=[];for(const Ii of Yd(Mt)){if(hr){const wr=Kg(hr,Ii.keyType);if(wr&&$g(Ii.type,wr.type))continue}Ti.push(ao(Ii,ae,void 0))}return Ti}function Zbt(Mt,hr,Ti){const Ii=Zye(Mt,111551);if(Ii)return Ii;const wr=_B("".concat(Ti,"_base")),Na=L.createVariableStatement(void 0,L.createVariableDeclarationList([L.createVariableDeclaration(wr,void 0,en(hr,ae))],2));return Po(Na,0),L.createExpressionWithTypeArguments(L.createIdentifier(wr),void 0)}function Zye(Mt,hr){let Ti,Ii;if(Mt.target&&cL(Mt.target.symbol,Ke,hr)?(Ti=Gt(cl(Mt),wr=>en(wr,ae)),Ii=um(Mt.target.symbol,ae,788968)):Mt.symbol&&cL(Mt.symbol,Ke,hr)&&(Ii=um(Mt.symbol,ae,788968)),Ii)return L.createExpressionWithTypeArguments(Ii,Ti)}function e0t(Mt){const hr=Zye(Mt,788968);if(hr)return hr;if(Mt.symbol)return L.createExpressionWithTypeArguments(um(Mt.symbol,ae,788968),void 0)}function _B(Mt,hr){var Ti,Ii;const wr=hr?Aa(hr):void 0;if(wr&&ae.remappedSymbolNames.has(wr))return ae.remappedSymbolNames.get(wr);hr&&(Mt=H7e(hr,Mt));let Na=0;const Ba=Mt;for(;(Ti=ae.usedSymbolNames)!=null&&Ti.has(Mt);)Na++,Mt="".concat(Ba,"_").concat(Na);return(Ii=ae.usedSymbolNames)==null||Ii.add(Mt),wr&&ae.remappedSymbolNames.set(wr,Mt),Mt}function H7e(Mt,hr){if(hr==="default"||hr==="__class"||hr==="__function"){const Ti=Ee(ae);ae.flags|=16777216;const Ii=VT(Mt,ae);Ti(),hr=Ii.length>0&&hk(Ii.charCodeAt(0))?bm(Ii):Ii}return hr==="default"?hr="_default":hr==="export="&&(hr="_exports"),hr=_p(hr,G)&&!EI(hr)?hr:"_"+hr.replace(/[^a-z0-9]/gi,"_"),hr}function lg(Mt,hr){const Ti=Aa(Mt);return ae.remappedSymbolNames.has(Ti)?ae.remappedSymbolNames.get(Ti):(hr=H7e(Mt,hr),ae.remappedSymbolNames.set(Ti,hr),hr)}}function iS(we){return we.maxExpansionDepth!==-1}function pB(we){return!!we.valueDeclaration&&nd(we.valueDeclaration)&&to(we.valueDeclaration.name)}function aQ(we){if(we.valueDeclaration&&nd(we.valueDeclaration)&&to(we.valueDeclaration.name))return L.cloneNode(we.valueDeclaration.name)}}function OC(n){var a;const c=(qr(n)&4)!==0?n.target.symbol:n.symbol;return Xa(n)||!!((a=c==null?void 0:c.declarations)!=null&&a.some(p=>e.isSourceFileDefaultLibrary(On(p))))}function Q_(n,a,c=16384,p){return p?h(p).getText():HR(h);function h(v){const I=bE(c)|70221824|512,w=Se.typePredicateToTypePredicateNode(n,a,I),U=YS(),H=a&&On(a);return U.writeNode(4,w,H,v),v}}function E8(n,a){const c=[];let p=0;for(let h=0;h<n.length;h++){const v=n[h];if(p|=v.flags,!(v.flags&98304)){if(v.flags&512||!a&&v.flags|1056){const I=v.flags&512?zt:sY(v);if(I.flags&1048576){const w=I.types.length;if(h+w<=n.length&&Pu(n[h+w-1])===Pu(I.types[w-1])){c.push(I),h+=w-1;continue}}}c.push(v)}}return p&65536&&c.push($t),p&32768&&c.push(ye),c||n}function GT(n){return n===2?"private":n===4?"protected":"public"}function Hz(n){if(n.symbol&&n.symbol.flags&2048&&n.symbol.declarations){const a=xk(n.symbol.declarations[0].parent);if(Em(a))return Fr(a)}}function pL(n){return n&&n.parent&&n.parent.kind===269&&TS(n.parent.parent)}function A8(n){return n.kind===308||vu(n)}function fL(n,a){const c=Kr(n).nameType;if(c){if(c.flags&384){const p=""+c.value;return!_p(p,Va(O))&&!Rg(p)?'"'.concat(B_(p,34),'"'):Rg(p)&&fo(p,"-")?"[".concat(p,"]"):p}if(c.flags&8192)return"[".concat(VT(c.symbol,a),"]")}}function VT(n,a){var c;if((c=a==null?void 0:a.remappedSymbolReferences)!=null&&c.has(Aa(n))&&(n=a.remappedSymbolReferences.get(Aa(n))),a&&n.escapedName==="default"&&!(a.flags&16384)&&(!(a.flags&16777216)||!n.declarations||a.enclosingDeclaration&&Rn(n.declarations[0],A8)!==Rn(a.enclosingDeclaration,A8)))return"default";if(n.declarations&&n.declarations.length){let h=Wn(n.declarations,I=>Fo(I)?I:void 0);const v=h&&Fo(h);if(h&&v){if(ra(h)&&a1(h))return Ol(n);if(Ea(v)&&!(Fl(n)&4096)){const I=Kr(n).nameType;if(I&&I.flags&384){const w=fL(n,a);if(w!==void 0)return w}}return Fs(v)}if(h||(h=n.declarations[0]),h.parent&&h.parent.kind===261)return Fs(h.parent.name);switch(h.kind){case 232:case 219:case 220:return a&&!a.encounteredError&&!(a.flags&131072)&&(a.encounteredError=!0),h.kind===232?"(Anonymous class)":"(Anonymous function)"}}const p=fL(n,a);return p!==void 0?p:Ol(n)}function Z_(n){if(n){const c=Vr(n);return c.isVisible===void 0&&(c.isVisible=!!a()),c.isVisible}return!1;function a(){switch(n.kind){case 339:case 347:case 341:return!!(n.parent&&n.parent.parent&&n.parent.parent.parent&&Qi(n.parent.parent.parent));case 209:return Z_(n.parent.parent);case 261:if(na(n.name)&&!n.name.elements.length)return!1;case 268:case 264:case 265:case 266:case 263:case 267:case 272:if(TS(n))return!0;const c=Pt(n);return!(oQ(n)&32)&&!(n.kind!==272&&c.kind!==308&&c.flags&33554432)?iv(c):Z_(c);case 173:case 172:case 178:case 179:case 175:case 174:if(Fp(n,6))return!1;case 177:case 181:case 180:case 182:case 170:case 269:case 185:case 186:case 188:case 184:case 189:case 190:case 193:case 194:case 197:case 203:return Z_(n.parent);case 274:case 275:case 277:return!1;case 169:case 308:case 271:return!0;case 278:return!1;default:return!1}}}function WC(n,a){let c;n.kind!==11&&n.parent&&n.parent.kind===278?c=gt(n,n,2998271,void 0,!1):n.parent.kind===282&&(c=zx(n.parent,2998271));let p,h;return c&&(h=new Set,h.add(Aa(c)),v(c.declarations)),p;function v(I){Xe(I,w=>{const U=em(w)||w;if(a?Vr(w).isVisible=!0:(p=p||[],wf(p,U)),i1(w)){const H=w.moduleReference,Z=Ou(H),Ee=gt(w,Z.escapedText,901119,void 0,!1);Ee&&h&&rh(h,Aa(Ee))&&v(Ee.declarations)}})}}function T_(n,a){const c=ne(n,a);if(c>=0){const{length:p}=Wg;for(let h=c;h<p;h++)TT[h]=!1;return!1}return Wg.push(n),TT.push(!0),J1.push(a),!0}function ne(n,a){for(let c=Wg.length-1;c>=Rv;c--){if(ke(Wg[c],J1[c]))return-1;if(Wg[c]===n&&J1[c]===a)return c}return-1}function ke(n,a){switch(a){case 0:return!!Kr(n).type;case 2:return!!Kr(n).declaredType;case 1:return!!n.resolvedBaseConstructorType;case 3:return!!n.resolvedReturnType;case 4:return!!n.immediateBaseConstraint;case 5:return!!n.resolvedTypeArguments;case 6:return!!n.baseTypesResolved;case 7:return!!Kr(n).writeType;case 8:return Vr(n).parameterInitializerContainsUndefined!==void 0}return C.assertNever(a)}function nt(){return Wg.pop(),J1.pop(),TT.pop()}function Pt(n){return Rn(Qh(n),a=>{switch(a.kind){case 261:case 262:case 277:case 276:case 275:case 274:return!1;default:return!0}}).parent}function on(n){const a=Xs(Xc(n));return a.typeParameters?Fy(a,Gt(a.typeParameters,c=>He)):a}function yn(n,a){const c=xa(n,a);return c?gr(c):void 0}function ni(n,a){var c;let p;return yn(n,a)||(p=(c=nR(n,a))==null?void 0:c.type)&&fu(p,!0,!0)}function Or(n){return n&&(n.flags&1)!==0}function mr(n){return n===rt||!!(n.flags&1&&n.aliasSymbol)}function Ai(n,a){if(a!==0)return $x(n,!1,a);const c=Fr(n);return c&&Kr(c).type||$x(n,!1,a)}function so(n,a,c){if(n=Tc(n,U=>!(U.flags&98304)),n.flags&131072)return Ma;if(n.flags&1048576)return Al(n,U=>so(U,a,c));let p=_i(Gt(a,zy));const h=[],v=[];for(const U of Es(n)){const H=rR(U,8576);!da(H,p)&&!(jf(U)&6)&&RY(U)?h.push(U):v.push(H)}if(RA(n)||DA(p)){if(v.length&&(p=_i([p,...v])),p.flags&131072)return n;const U=Bct();return U?jC(U,[n,p]):rt}const I=ma();for(const U of h)I.set(U.escapedName,__e(U,!1));const w=El(c,I,se,se,Yd(n));return w.objectFlags|=4194304,w}function Vs(n){return!!(n.flags&465829888)&&nc(Md(n)||At,32768)}function Cs(n){const a=cm(n,Vs)?Al(n,c=>c.flags&465829888?I_(c):c):n;return lm(a,524288)}function as(n,a){const c=nm(n);return c?Jy(c,a):a}function nm(n){const a=Df(n);if(a&&nD(a)&&a.flowNode){const c=S_(n);if(c){const p=Tt(oT.createStringLiteral(c),n),h=Zu(a)?a:oT.createParenthesizedExpression(a),v=Tt(oT.createElementAccessExpression(h,p),n);return ps(p,v),ps(v,n),h!==a&&ps(h,v),v.flowNode=a.flowNode,v}}}function Df(n){const a=n.parent.parent;switch(a.kind){case 209:case 304:return nm(a);case 210:return nm(n.parent);case 261:return a.initializer;case 227:return a.right}}function S_(n){const a=n.parent;return n.kind===209&&a.kind===207?zv(n.propertyName||n.name):n.kind===304||n.kind===305?zv(n.name):""+a.elements.indexOf(n)}function zv(n){const a=zy(n);return a.flags&384?""+a.value:void 0}function Ug(n){const a=n.dotDotDotToken?32:0,c=Ai(n.parent.parent,a);return c&&d0(n,c,!1)}function d0(n,a,c){if(Or(a))return a;const p=n.parent;re&&n.flags&33554432&&U0(n)?a=Hy(a):re&&p.parent.initializer&&!Lh(XFe(p.parent.initializer),65536)&&(a=lm(a,524288));const h=32|(c||uR(n)?16:0);let v;if(p.kind===207)if(n.dotDotDotToken){if(a=km(a),a.flags&2||!k5(a))return Ze(n,f.Rest_types_may_only_be_created_from_object_types),rt;const I=[];for(const w of p.elements)w.dotDotDotToken||I.push(w.propertyName||w.name);v=so(a,I,n.symbol)}else{const I=n.propertyName||n.name,w=zy(I),U=$p(a,w,h,I);v=as(n,U)}else{const I=Xv(65|(n.dotDotDotToken?0:128),a,ye,p),w=p.elements.indexOf(n);if(n.dotDotDotToken){const U=Al(a,H=>H.flags&58982400?I_(H):H);v=xp(U,Xa)?Al(U,H=>IL(H,w)):$d(I)}else if(Jv(a)){const U=Mh(w),H=m0(a,U,h,n.name)||rt;v=as(n,H)}else v=I}return n.initializer?Ac(JE(n))?re&&!Lh(wL(n,0),16777216)?Cs(v):v:uye(n,_i([Cs(v),wL(n,0)],2)):v}function cs(n){const a=tv(n);if(a)return Yi(a)}function Bc(n){const a=us(n,!0);return a.kind===106||a.kind===80&&mu(a)===le}function Bv(n){const a=us(n,!0);return a.kind===210&&a.elements.length===0}function fu(n,a=!1,c=!0){return re&&c?y0(n,a):n}function $x(n,a,c){if(bi(n)&&n.parent.parent.kind===250){const I=x_(Pge(yo(n.parent.parent.expression,c)));return I.flags&4456448?CWe(I):yt}if(bi(n)&&n.parent.parent.kind===251){const I=n.parent.parent;return oB(I)||He}if(na(n.parent))return Ug(n);const p=ko(n)&&!Zh(n)||Eu(n)||Xie(n),h=a&&OI(n),v=p0(n);if(EG(n))return v?Or(v)||v===At?v:rt:$?At:He;if(v)return fu(v,p,h);if((Ae||Er(n))&&bi(n)&&!na(n.name)&&!(oQ(n)&32)&&!(n.flags&33554432)){if(!(wE(n)&6)&&(!n.initializer||Bc(n.initializer)))return Ct;if(n.initializer&&Bv(n.initializer))return ld}if(no(n)){if(!n.symbol)return;const I=n.parent;if(I.kind===179&&zC(I)){const H=ul(Fr(n.parent),178);if(H){const Z=Nf(H),Ee=qye(I);return Ee&&n===Ee?(C.assert(!Ee.type),gr(Z.thisParameter)):hs(Z)}}const w=dct(I,n);if(w)return w;const U=n.symbol.escapedName==="this"?yge(I):x6e(n);if(U)return fu(U,!1,h)}if(e1(n)&&n.initializer){if(Er(n)&&!no(n)){const w=sn(n,Fr(n),ZN(n));if(w)return w}const I=uye(n,wL(n,c));return fu(I,p,h)}if(ko(n)&&(Ae||Er(n)))if(Lc(n)){const I=Fn(n.parent.members,Zl),w=I.length?P(n.symbol,I):Gd(n)&128?FY(n.symbol):void 0;return w&&fu(w,!0,h)}else{const I=aw(n.parent),w=I?V(n.symbol,I):Gd(n)&128?FY(n.symbol):void 0;return w&&fu(w,!0,h)}if(c_(n))return vt;if(na(n.name))return mL(n.name,!1,!0)}function Hg(n){if(n.valueDeclaration&&Nr(n.valueDeclaration)){const a=Kr(n);return a.isConstructorDeclaredProperty===void 0&&(a.isConstructorDeclaredProperty=!1,a.isConstructorDeclaredProperty=!!br(n)&&Gn(n.declarations,c=>Nr(c)&&c$(c)&&(c.left.kind!==213||pf(c.left.argumentExpression))&&!Wr(void 0,c,n,c))),a.isConstructorDeclaredProperty}return!1}function eg(n){const a=n.valueDeclaration;return a&&ko(a)&&!Ac(a)&&!a.initializer&&(Ae||Er(a))}function br(n){if(n.declarations)for(const a of n.declarations){const c=bu(a,!1,!1);if(c&&(c.kind===177||C_(c)))return c}}function T(n){const a=On(n.declarations[0]),c=Bi(n.escapedName),p=n.declarations.every(v=>Er(v)&&Qs(v)&&Tg(v.expression)),h=p?L.createPropertyAccessExpression(L.createPropertyAccessExpression(L.createIdentifier("module"),L.createIdentifier("exports")),c):L.createPropertyAccessExpression(L.createIdentifier("exports"),c);return p&&ps(h.expression.expression,h.expression),ps(h.expression,h),ps(h,a),h.flowNode=a.endFlowNode,Jy(h,Ct,ye)}function P(n,a){const c=fo(n.escapedName,"__#")?L.createPrivateIdentifier(n.escapedName.split("@")[1]):Bi(n.escapedName);for(const p of a){const h=L.createPropertyAccessExpression(L.createThis(),c);ps(h.expression,h),ps(h,p),h.flowNode=p.returnFlowNode;const v=pe(h,n);if(Ae&&(v===Ct||v===ld)&&Ze(n.valueDeclaration,f.Member_0_implicitly_has_an_1_type,uo(n),sr(v)),!xp(v,W5))return yW(v)}}function V(n,a){const c=fo(n.escapedName,"__#")?L.createPrivateIdentifier(n.escapedName.split("@")[1]):Bi(n.escapedName),p=L.createPropertyAccessExpression(L.createThis(),c);ps(p.expression,p),ps(p,a),p.flowNode=a.returnFlowNode;const h=pe(p,n);return Ae&&(h===Ct||h===ld)&&Ze(n.valueDeclaration,f.Member_0_implicitly_has_an_1_type,uo(n),sr(h)),xp(h,W5)?void 0:yW(h)}function pe(n,a){const c=(a==null?void 0:a.valueDeclaration)&&(!eg(a)||Gd(a.valueDeclaration)&128)&&FY(a)||ye;return Jy(n,Ct,c)}function tt(n,a){const c=gI(n.valueDeclaration);if(c){const w=Er(c)?k0(c):void 0;return w&&w.typeExpression?Yi(w.typeExpression):n.valueDeclaration&&sn(n.valueDeclaration,n,c)||QT(Vl(c))}let p,h=!1,v=!1;if(Hg(n)&&(p=V(n,br(n))),!p){let w;if(n.declarations){let U;for(const H of n.declarations){const Z=Nr(H)||ra(H)?H:Qs(H)?Nr(H.parent)?H.parent:H:void 0;if(!Z)continue;const Ee=Qs(Z)?vk(Z):ac(Z);(Ee===4||Nr(Z)&&c$(Z,Ee))&&(af(Z)?h=!0:v=!0),ra(Z)||(U=Wr(U,Z,n,H)),U||(w||(w=[])).push(Nr(Z)||ra(Z)?Ro(n,a,Z,Ee):vn)}p=U}if(!p){if(!et(w))return rt;let U=h&&n.declarations?u0(w,n.declarations):void 0;if(v){const Z=FY(n);Z&&((U||(U=[])).push(Z),h=!0)}const H=bt(U,Z=>!!(Z.flags&-98305))?U:w;p=_i(H)}}const I=Zp(fu(p,!1,v&&!h));return n.valueDeclaration&&Er(n.valueDeclaration)&&Tc(I,w=>!!(w.flags&-98305))===vn?(ZT(n.valueDeclaration,He),He):I}function sn(n,a,c){var p,h;if(!Er(n)||!c||!za(c)||c.properties.length)return;const v=ma();for(;Nr(n)||Jr(n);){const U=Rf(n);(p=U==null?void 0:U.exports)!=null&&p.size&&y_(v,U.exports),n=Nr(n)?n.parent:n.parent.parent}const I=Rf(n);(h=I==null?void 0:I.exports)!=null&&h.size&&y_(v,I.exports);const w=El(a,v,se,se,se);return w.objectFlags|=4096,w}function Wr(n,a,c,p){var h;const v=Ac(a.parent);if(v){const I=Zp(Yi(v));if(n)!mr(n)&&!mr(I)&&!$g(n,I)&&k3e(void 0,n,p,I);else return I}if((h=c.parent)!=null&&h.valueDeclaration){const I=FT(c.parent);if(I.valueDeclaration){const w=Ac(I.valueDeclaration);if(w){const U=xa(Yi(w),c.escapedName);if(U)return xh(U)}}}return n}function Ro(n,a,c,p){if(ra(c)){if(a)return gr(a);const I=Vl(c.arguments[2]),w=yn(I,"value");if(w)return w;const U=yn(I,"get");if(U){const Z=BA(U);if(Z)return hs(Z)}const H=yn(I,"set");if(H){const Z=BA(H);if(Z)return tye(Z)}return He}if(js(c.left,c.right))return He;const h=p===1&&(Jr(c.left)||Bs(c.left))&&(Tg(c.left.expression)||Je(c.left.expression)&&o1(c.left.expression)),v=a?gr(a):h?Pu(Vl(c.right)):QT(Vl(c.right));if(v.flags&524288&&p===2&&n.escapedName==="export="){const I=Nh(v),w=ma();LF(I.members,w);const U=w.size;a&&!a.exports&&(a.exports=ma()),(a||n).exports.forEach((Z,Ee)=>{var Te;const Ye=w.get(Ee);if(Ye&&Ye!==Z&&!(Z.flags&2097152))if(Z.flags&111551&&Ye.flags&111551){if(Z.valueDeclaration&&Ye.valueDeclaration&&On(Z.valueDeclaration)!==On(Ye.valueDeclaration)){const Dt=Bi(Z.escapedName),en=((Te=ii(Ye.valueDeclaration,nd))==null?void 0:Te.name)||Ye.valueDeclaration;_a(Ze(Z.valueDeclaration,f.Duplicate_identifier_0,Dt),Sr(en,f._0_was_also_declared_here,Dt)),_a(Ze(en,f.Duplicate_identifier_0,Dt),Sr(Z.valueDeclaration,f._0_was_also_declared_here,Dt))}const ht=Ua(Z.flags|Ye.flags,Ee);ht.links.type=_i([gr(Z),gr(Ye)]),ht.valueDeclaration=Ye.valueDeclaration,ht.declarations=co(Ye.declarations,Z.declarations),w.set(Ee,ht)}else w.set(Ee,Zf(Z,Ye));else w.set(Ee,Z)});const H=El(U!==w.size?void 0:I.symbol,w,I.callSignatures,I.constructSignatures,I.indexInfos);if(U===w.size&&(v.aliasSymbol&&(H.aliasSymbol=v.aliasSymbol,H.aliasTypeArguments=v.aliasTypeArguments),qr(v)&4)){H.aliasSymbol=v.symbol;const Z=cl(v);H.aliasTypeArguments=et(Z)?Z:void 0}return H.objectFlags|=e5([v])|qr(v)&20608,H.symbol&&H.symbol.flags&32&&v===im(H.symbol)&&(H.objectFlags|=16777216),H}return BY(v)?(ZT(c,bd),bd):v}function js(n,a){return Jr(n)&&n.expression.kind===110&&tx(a,c=>Ed(n,c))}function af(n){const a=bu(n,!1,!1);return a.kind===177||a.kind===263||a.kind===219&&!bk(a.parent)}function u0(n,a){return C.assert(n.length===a.length),n.filter((c,p)=>{const h=a[p],v=Nr(h)?h:Nr(h.parent)?h.parent:void 0;return v&&af(v)})}function Ih(n,a,c){if(n.initializer){const p=na(n.name)?mL(n.name,!0,!1):At;return fu(a3e(n,wL(n,0,p)))}return na(n.name)?mL(n.name,a,c):(c&&!eY(n)&&ZT(n,He),a?Rr:He)}function Qx(n,a,c){const p=ma();let h,v=131200;Xe(n.elements,w=>{const U=w.propertyName||w.name;if(w.dotDotDotToken){h=Xg(yt,He,!1);return}const H=zy(U);if(!Uf(H)){v|=512;return}const Z=Hf(H),Ee=4|(w.initializer?16777216:0),Te=Ua(Ee,Z);Te.links.type=Ih(w,a,c),p.set(Te.escapedName,Te)});const I=El(void 0,p,se,se,h?[h]:se);return I.objectFlags|=v,a&&(I.pattern=n,I.objectFlags|=131072),I}function fhe(n,a,c){const p=n.elements,h=rl(p),v=h&&h.kind===209&&h.dotDotDotToken?h:void 0;if(p.length===0||p.length===1&&v)return G>=2?fWe(He):bd;const I=Gt(p,Z=>qc(Z)?He:Ih(Z,a,c)),w=Ys(p,Z=>!(Z===v||qc(Z)||uR(Z)),p.length-1)+1,U=Gt(p,(Z,Ee)=>Z===v?4:Ee>=w?2:1);let H=ig(I,U);return a&&(H=H8e(H),H.pattern=n,H.objectFlags|=131072),H}function mL(n,a=!1,c=!1){a&&Qf.push(n);const p=n.kind===207?Qx(n,a,c):fhe(n,a,c);return a&&Qf.pop(),p}function Zx(n,a){return I8($x(n,!0,0),n,a)}function mhe(n){const a=Vr(n);if(!a.resolvedType){const c=Ua(4096,"__importAttributes"),p=ma();Xe(n.elements,v=>{const I=Ua(4,o4(v));I.parent=c,I.links.type=Zyt(v),I.links.target=I,p.set(I.escapedName,I)});const h=El(c,p,se,se,se);h.objectFlags|=262272,a.resolvedType=h}return a.resolvedType}function hhe(n){const a=Rf(n),c=xct(!1);return c&&a&&a===c}function I8(n,a,c){return n?(n.flags&4096&&hhe(a.parent)&&(n=g_e(a)),c&&KY(a,n),n.flags&8192&&(qa(a)||!p0(a))&&n.symbol!==Fr(a)&&(n=Yt),Zp(n)):(n=no(a)&&a.dotDotDotToken?bd:He,c&&(eY(a)||ZT(a,n)),n)}function eY(n){const a=Qh(n),c=a.kind===170?a.parent:a;return Z5(c)}function p0(n){const a=Ac(n);if(a)return Yi(a)}function _he(n){let a=n.valueDeclaration;return a?(qa(a)&&(a=JE(a)),no(a)?MY(a.parent):!1):!1}function ghe(n){const a=Kr(n);if(!a.type){const c=yhe(n);return!a.type&&!_he(n)&&(a.type=c),c}return a.type}function yhe(n){if(n.flags&4194304)return on(n);if(n===Ve)return He;if(n.flags&134217728&&n.valueDeclaration){const p=Fr(On(n.valueDeclaration)),h=Ua(p.flags,"exports");h.declarations=p.declarations?p.declarations.slice():[],h.parent=n,h.links.target=p,p.valueDeclaration&&(h.valueDeclaration=p.valueDeclaration),p.members&&(h.members=new Map(p.members)),p.exports&&(h.exports=new Map(p.exports));const v=ma();return v.set("exports",h),El(n,v,se,se,se)}C.assertIsDefined(n.valueDeclaration);const a=n.valueDeclaration;if(Qi(a)&&zf(a))return a.statements.length?Zp(QT(yo(a.statements[0].expression))):Ma;if(gb(a))return _L(n);if(!T_(n,0))return n.flags&512&&!(n.flags&67108864)?gL(n):vA(n);let c;if(a.kind===278)c=I8(p0(a)||Vl(a.expression),a);else if(Nr(a)||Er(a)&&(ra(a)||(Jr(a)||s6(a))&&Nr(a.parent)))c=tt(n);else if(Jr(a)||Bs(a)||Je(a)||ds(a)||ip(a)||xc(a)||ec(a)||Ll(a)&&!ym(a)||Um(a)||Qi(a)){if(n.flags&9136)return gL(n);c=Nr(a.parent)?tt(n):p0(a)||He}else if(Rc(a))c=p0(a)||s3e(a);else if(c_(a))c=p0(a)||G6e(a);else if(Ud(a))c=p0(a)||WL(a.name,0);else if(ym(a))c=p0(a)||l3e(a,0);else if(no(a)||ko(a)||Eu(a)||bi(a)||qa(a)||ON(a))c=Zx(a,!0);else if(eT(a))c=gL(n);else if(gy(a))c=iY(n);else return C.fail("Unhandled declaration kind! "+C.formatSyntaxKind(a.kind)+" for "+C.formatSymbol(n));return nt()?c:n.flags&512&&!(n.flags&67108864)?gL(n):vA(n)}function TE(n){if(n)switch(n.kind){case 178:return Wp(n);case 179:return hV(n);case 173:return C.assert(Zh(n)),Ac(n)}}function hL(n){const a=TE(n);return a&&Yi(a)}function eR(n){const a=qye(n);return a&&a.symbol}function tY(n){return qT(Nf(n))}function _L(n){var c;const a=Kr(n);if(!a.type){if(!T_(n,0))return rt;const p=ul(n,178),h=ul(n,179),v=ii(ul(n,173),Qu);let I=p&&Er(p)&&cs(p)||hL(p)||hL(h)||hL(v)||p&&p.body&&C$(p)||v&&Zx(v,!0);I||(h&&!Z5(h)?Ym(Ae,h,f.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,uo(n)):p&&!Z5(p)?Ym(Ae,p,f.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,uo(n)):v&&!Z5(v)&&Ym(Ae,v,f.Member_0_implicitly_has_an_1_type,uo(n),"any"),I=He),nt()||(TE(p)?Ze(p,f._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,uo(n)):TE(h)||TE(v)?Ze(h,f._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,uo(n)):p&&Ae&&Ze(p,f._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,uo(n)),I=He),(c=a.type)!=null||(a.type=I)}return a.type}function nY(n){var c,p;const a=Kr(n);if(!a.writeType){if(!T_(n,7))return rt;const h=(c=ul(n,179))!=null?c:ii(ul(n,173),Qu);let v=hL(h);nt()||(TE(h)&&Ze(h,f._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,uo(n)),v=He),(p=a.writeType)!=null||(a.writeType=v||_L(n))}return a.writeType}function x8(n){const a=qg(im(n));return a.flags&8650752?a:a.flags&2097152?_n(a.types,c=>!!(c.flags&8650752)):void 0}function gL(n){let a=Kr(n);const c=a;if(!a.type){const p=n.valueDeclaration&&R$(n.valueDeclaration,!1);if(p){const h=Kge(n,p);h&&(n=h,a=h.links)}c.type=a.type=rY(n)}return a.type}function rY(n){const a=n.valueDeclaration;if(n.flags&1536&&Z2(n))return He;if(a&&(a.kind===227||Qs(a)&&a.parent.kind===227))return tt(n);if(n.flags&512&&a&&Qi(a)&&a.commonJsModuleIndicator){const p=Ap(n);if(p!==n){if(!T_(n,0))return rt;const h=os(n.exports.get("export=")),v=tt(h,h===p?void 0:p);return nt()?v:vA(n)}}const c=hc(16,n);if(n.flags&32){const p=x8(n);return p?La([c,p]):c}else return re&&n.flags&16777216?y0(c,!0):c}function iY(n){const a=Kr(n);return a.type||(a.type=i8e(n))}function vhe(n){var c,p;const a=Kr(n);if(!a.type){if(!T_(n,0))return rt;const h=ud(n),v=n.declarations&&OT(pp(n),!0),I=Wn(v==null?void 0:v.declarations,w=>fl(w)?p0(w):void 0);if((c=a.type)!=null||(a.type=v!=null&&v.declarations&&X$(v.declarations)&&n.declarations.length?T(v):X$(n.declarations)?Ct:I||(fp(h)&111551?gr(h):rt)),!nt())return vA(v!=null?v:n),(p=a.type)!=null?p:a.type=rt}return a.type}function bhe(n){const a=Kr(n);return a.type||(a.type=oo(gr(a.target),a.mapper))}function The(n){const a=Kr(n);return a.writeType||(a.writeType=oo(Gv(a.target),a.mapper))}function vA(n){const a=n.valueDeclaration;if(a){if(Ac(a))return Ze(n.valueDeclaration,f._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,uo(n)),rt;Ae&&(a.kind!==170||a.initializer)&&Ze(n.valueDeclaration,f._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,uo(n))}else if(n.flags&2097152){const c=pp(n);c&&Ze(c,f.Circular_definition_of_import_alias_0,uo(n))}return He}function oY(n){const a=Kr(n);return a.type||(C.assertIsDefined(a.deferralParent),C.assertIsDefined(a.deferralConstituents),a.type=a.deferralParent.flags&1048576?_i(a.deferralConstituents):La(a.deferralConstituents)),a.type}function She(n){const a=Kr(n);return!a.writeType&&a.deferralWriteConstituents&&(C.assertIsDefined(a.deferralParent),C.assertIsDefined(a.deferralConstituents),a.writeType=a.deferralParent.flags&1048576?_i(a.deferralWriteConstituents):La(a.deferralWriteConstituents)),a.writeType}function Gv(n){const a=Fl(n);return a&2?a&65536?She(n)||oY(n):n.links.writeType||n.links.type:n.flags&4?qy(gr(n),!!(n.flags&16777216)):n.flags&98304?a&1?The(n):nY(n):gr(n)}function gr(n){const a=Fl(n);return a&65536?oY(n):a&1?bhe(n):a&262144?Hlt(n):a&8192?lpt(n):n.flags&7?ghe(n):n.flags&9136?gL(n):n.flags&8?iY(n):n.flags&98304?_L(n):n.flags&2097152?vhe(n):rt}function xh(n){return qy(gr(n),!!(n.flags&16777216))}function aY(n,a){if(n===void 0||(qr(n)&4)===0)return!1;for(const c of a)if(n.target===c)return!0;return!1}function Xp(n,a){return n!==void 0&&a!==void 0&&(qr(n)&4)!==0&&n.target===a}function zn(n){return qr(n)&4?n.target:n}function Hr(n,a){return c(n);function c(p){if(qr(p)&7){const h=zn(p);return h===a||bt(rm(h),c)}else if(p.flags&2097152)return bt(p.types,c);return!1}}function Zr(n,a){for(const c of a)n=ny(n,jT(Fr(c)));return n}function Mi(n,a){for(;;){if(n=n.parent,n&&Nr(n)){const p=ac(n);if(p===6||p===3){const h=Fr(n.left);h&&h.parent&&!Rn(h.parent.valueDeclaration,v=>n===v)&&(n=h.parent.valueDeclaration)}}if(!n)return;const c=n.kind;switch(c){case 264:case 232:case 265:case 180:case 181:case 174:case 185:case 186:case 318:case 263:case 175:case 219:case 220:case 266:case 346:case 347:case 341:case 339:case 201:case 195:{const h=Mi(n,a);if((c===219||c===220||ym(n))&&Mf(n)){const w=Sc(aa(gr(Fr(n)),0));if(w&&w.typeParameters)return[...h||se,...w.typeParameters]}if(c===201)return jn(h,jT(Fr(n.typeParameter)));if(c===195)return co(h,f_e(n));const v=Zr(h,fb(n)),I=a&&(c===264||c===232||c===265||C_(n))&&im(Fr(n)).thisType;return I?jn(v,I):v}case 342:const p=Ik(n);p&&(n=p.valueDeclaration);break;case 321:{const h=Mi(n,a);return n.tags?Zr(h,Wi(n.tags,v=>Am(v)?v.typeParameters:void 0)):h}}}}function Oi(n){var a;const c=n.flags&32||n.flags&16?n.valueDeclaration:(a=n.declarations)==null?void 0:a.find(p=>{if(p.kind===265)return!0;if(p.kind!==261)return!1;const h=p.initializer;return!!h&&(h.kind===219||h.kind===220)});return C.assert(!!c,"Class was missing valueDeclaration -OR- non-class had no interface declarations"),Mi(c)}function ua(n){if(!n.declarations)return;let a;for(const c of n.declarations)(c.kind===265||c.kind===264||c.kind===232||C_(c)||Ek(c))&&(a=Zr(a,fb(c)));return a}function Us(n){return co(Oi(n),ua(n))}function Sd(n){const a=aa(n,1);if(a.length===1){const c=a[0];if(!c.typeParameters&&c.parameters.length===1&&su(c)){const p=U5(c.parameters[0]);return Or(p)||v5(p)===He}}return!1}function Rh(n){if(aa(n,1).length>0)return!0;if(n.flags&8650752){const a=Md(n);return!!a&&Sd(a)}return!1}function E_(n){const a=my(n.symbol);return a&&lh(a)}function Dh(n,a,c){const p=et(a),h=Er(c);return Fn(aa(n,1),v=>(h||p>=rg(v.typeParameters))&&p<=et(v.typeParameters))}function Ch(n,a,c){const p=Dh(n,a,c),h=Gt(a,Yi);return Ui(p,v=>bt(v.typeParameters)?k8(v,h,Er(c)):v)}function qg(n){var a,c,p;if(!n.resolvedBaseConstructorType){const h=my(n.symbol),v=h&&lh(h),I=E_(n);if(!I)return n.resolvedBaseConstructorType=ye;if(!T_(n,1))return rt;const w=yo(I.expression);if(v&&I!==v&&(C.assert(!v.typeArguments),yo(v.expression)),w.flags&2621440&&Nh(w),!nt())return Ze(n.symbol.valueDeclaration,f._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,uo(n.symbol)),(a=n.resolvedBaseConstructorType)!=null?a:n.resolvedBaseConstructorType=rt;if(!(w.flags&1)&&w!==Pe&&!Rh(w)){const U=Ze(I.expression,f.Type_0_is_not_a_constructor_function_type,sr(w));if(w.flags&262144){const H=SL(w);let Z=At;if(H){const Ee=aa(H,1);Ee[0]&&(Z=hs(Ee[0]))}w.symbol.declarations&&_a(U,Sr(w.symbol.declarations[0],f.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,uo(w.symbol),sr(Z)))}return(c=n.resolvedBaseConstructorType)!=null?c:n.resolvedBaseConstructorType=rt}(p=n.resolvedBaseConstructorType)!=null||(n.resolvedBaseConstructorType=w)}return n.resolvedBaseConstructorType}function R8(n){let a=se;if(n.symbol.declarations)for(const c of n.symbol.declarations){const p=iD(c);if(p)for(const h of p){const v=Yi(h);mr(v)||(a===se?a=[v]:a.push(v))}}return a}function bA(n,a){Ze(n,f.Type_0_recursively_references_itself_as_a_base_type,sr(a,void 0,2))}function rm(n){if(!n.baseTypesResolved){if(T_(n,6)&&(n.objectFlags&8?n.resolvedBaseTypes=[_lt(n)]:n.symbol.flags&96?(n.symbol.flags&32&&glt(n),n.symbol.flags&64&&vlt(n)):C.fail("type must be class or interface"),!nt()&&n.symbol.declarations))for(const a of n.symbol.declarations)(a.kind===264||a.kind===265)&&bA(a,n);n.baseTypesResolved=!0}return n.resolvedBaseTypes}function _lt(n){const a=Ui(n.typeParameters,(c,p)=>n.elementFlags[p]&8?$p(c,jt):c);return $d(_i(a||se),n.readonly)}function glt(n){n.resolvedBaseTypes=fG;const a=Mu(qg(n));if(!(a.flags&2621441))return n.resolvedBaseTypes=se;const c=E_(n);let p;const h=a.symbol?Xs(a.symbol):void 0;if(a.symbol&&a.symbol.flags&32&&ylt(h))p=q8e(c,a.symbol);else if(a.flags&1)p=a;else{const I=Ch(a,c.typeArguments,c);if(!I.length)return Ze(c.expression,f.No_base_constructor_has_the_specified_number_of_type_arguments),n.resolvedBaseTypes=se;p=hs(I[0])}if(mr(p))return n.resolvedBaseTypes=se;const v=km(p);if(!qz(v)){const I=whe(void 0,p),w=Ko(I,f.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,sr(v));return ns.add(vg(On(c.expression),c.expression,w)),n.resolvedBaseTypes=se}return n===v||Hr(v,n)?(Ze(n.symbol.valueDeclaration,f.Type_0_recursively_references_itself_as_a_base_type,sr(n,void 0,2)),n.resolvedBaseTypes=se):(n.resolvedBaseTypes===fG&&(n.members=void 0),n.resolvedBaseTypes=[v])}function ylt(n){const a=n.outerTypeParameters;if(a){const c=a.length-1,p=cl(n);return a[c].symbol!==p[c].symbol}return!0}function qz(n){if(n.flags&262144){const a=Md(n);if(a)return qz(a)}return!!(n.flags&67633153&&!mp(n)||n.flags&2097152&&Gn(n.types,qz))}function vlt(n){if(n.resolvedBaseTypes=n.resolvedBaseTypes||se,n.symbol.declarations){for(const a of n.symbol.declarations)if(a.kind===265&&oM(a))for(const c of oM(a)){const p=km(Yi(c));mr(p)||(qz(p)?n!==p&&!Hr(p,n)?n.resolvedBaseTypes===se?n.resolvedBaseTypes=[p]:n.resolvedBaseTypes.push(p):bA(a,n):Ze(c,f.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members))}}}function blt(n){if(!n.declarations)return!0;for(const a of n.declarations)if(a.kind===265){if(a.flags&256)return!1;const c=oM(a);if(c){for(const p of c)if(Ps(p.expression)){const h=Gl(p.expression,788968,!0);if(!h||!(h.flags&64)||im(h).thisType)return!1}}}return!0}function im(n){let a=Kr(n);const c=a;if(!a.declaredType){const p=n.flags&32?1:2,h=Kge(n,n.valueDeclaration&&bht(n.valueDeclaration));h&&(n=h,a=h.links);const v=c.declaredType=a.declaredType=hc(p,n),I=Oi(n),w=ua(n);(I||w||p===1||!blt(n))&&(v.objectFlags|=4,v.typeParameters=co(I,w),v.outerTypeParameters=I,v.localTypeParameters=w,v.instantiations=new Map,v.instantiations.set(wm(v.typeParameters),v),v.target=v,v.resolvedTypeArguments=v.typeParameters,v.thisType=Hu(n),v.thisType.isThisType=!0,v.thisType.constraint=v)}return a.declaredType}function t8e(n){var p;var a;const c=Kr(n);if(!c.declaredType){if(!T_(n,2))return rt;const h=C.checkDefined((a=n.declarations)==null?void 0:a.find(Ek),"Type alias symbol with no valid declaration found"),v=vm(h)?h.typeExpression:h.type;let I=v?Yi(v):rt;if(nt()){const w=ua(n);w&&(c.typeParameters=w,c.instantiations=new Map,c.instantiations.set(wm(w),I)),I===Oe&&n.escapedName==="BuiltinIteratorReturn"&&(I=$he())}else I=rt,h.kind===341?Ze(h.typeExpression.type,f.Type_alias_0_circularly_references_itself,uo(n)):Ze(nd(h)&&h.name||h,f.Type_alias_0_circularly_references_itself,uo(n));(p=c.declaredType)!=null||(c.declaredType=I)}return c.declaredType}function sY(n){return n.flags&1056&&n.symbol.flags&8?Xs(Xc(n.symbol)):n}function n8e(n){const a=Kr(n);if(!a.declaredType){const c=[];if(n.declarations){for(const h of n.declarations)if(h.kind===267){for(const v of h.members)if(zC(v)){const I=Fr(v),w=VA(v).value,U=aR(w!==void 0?Vdt(w,Aa(n),I):r8e(I));Kr(I).declaredType=U,c.push(Pu(U))}}}const p=c.length?_i(c,1,n,void 0):r8e(n);p.flags&1048576&&(p.flags|=1024,p.symbol=n),a.declaredType=p}return a.declaredType}function r8e(n){const a=Ni(32,n),c=Ni(32,n);return a.regularType=a,a.freshType=c,c.regularType=a,c.freshType=c,a}function i8e(n){const a=Kr(n);if(!a.declaredType){const c=n8e(Xc(n));a.declaredType||(a.declaredType=c)}return a.declaredType}function jT(n){const a=Kr(n);return a.declaredType||(a.declaredType=Hu(n))}function Tlt(n){const a=Kr(n);return a.declaredType||(a.declaredType=Xs(ud(n)))}function Xs(n){return o8e(n)||rt}function o8e(n){if(n.flags&96)return im(n);if(n.flags&524288)return t8e(n);if(n.flags&262144)return jT(n);if(n.flags&384)return n8e(n);if(n.flags&8)return i8e(n);if(n.flags&2097152)return Tlt(n)}function Jz(n){switch(n.kind){case 133:case 159:case 154:case 150:case 163:case 136:case 155:case 151:case 116:case 157:case 146:case 202:return!0;case 189:return Jz(n.elementType);case 184:return!n.typeArguments||n.typeArguments.every(Jz)}return!1}function Slt(n){const a=zR(n);return!a||Jz(a)}function a8e(n){const a=Ac(n);return a?Jz(a):!rv(n)}function Elt(n){const a=Wp(n),c=fb(n);return(n.kind===177||!!a&&Jz(a))&&n.parameters.every(a8e)&&c.every(Slt)}function Alt(n){if(n.declarations&&n.declarations.length===1){const a=n.declarations[0];if(a)switch(a.kind){case 173:case 172:return a8e(a);case 175:case 174:case 177:case 178:case 179:return Elt(a)}}return!1}function s8e(n,a,c){const p=ma();for(const h of n)p.set(h.escapedName,c&&Alt(h)?h:T_e(h,a));return p}function l8e(n,a){for(const c of a){if(c8e(c))continue;const p=n.get(c.escapedName);(!p||p.valueDeclaration&&Nr(p.valueDeclaration)&&!Hg(p)&&!_ne(p.valueDeclaration))&&(n.set(c.escapedName,c),n.set(c.escapedName,c))}}function c8e(n){return!!n.valueDeclaration&&nu(n.valueDeclaration)&&ha(n.valueDeclaration)}function Ehe(n){if(!n.declaredProperties){const a=n.symbol,c=tg(a);n.declaredProperties=qu(c),n.declaredCallSignatures=se,n.declaredConstructSignatures=se,n.declaredIndexInfos=se,n.declaredCallSignatures=AE(c.get("__call")),n.declaredConstructSignatures=AE(c.get("__new")),n.declaredIndexInfos=V8e(a)}return n}function Ahe(n){return u8e(n)&&Uf(Ea(n)?nh(n):Vl(n.argumentExpression))}function d8e(n){return u8e(n)&&Ilt(Ea(n)?nh(n):Vl(n.argumentExpression))}function u8e(n){if(!Ea(n)&&!Bs(n))return!1;const a=Ea(n)?n.expression:n.argumentExpression;return Ps(a)}function Ilt(n){return da(n,ti)}function D8(n){return n.charCodeAt(0)===95&&n.charCodeAt(1)===95&&n.charCodeAt(2)===64}function FC(n){const a=Fo(n);return!!a&&Ahe(a)}function p8e(n){const a=Fo(n);return!!a&&d8e(a)}function zC(n){return!dy(n)||FC(n)}function f8e(n){return m6(n)&&!Ahe(n)}function xlt(n,a,c){C.assert(!!(Fl(n)&4096),"Expected a late-bound symbol."),n.flags|=c,Kr(a.symbol).lateSymbol=n,n.declarations?a.symbol.isReplaceableByMethod||n.declarations.push(a):n.declarations=[a],c&111551&&eM(n,a)}function m8e(n,a,c,p){C.assert(!!p.symbol,"The member is expected to have a symbol.");const h=Vr(p);if(!h.resolvedSymbol){h.resolvedSymbol=p.symbol;const v=Nr(p)?p.left:p.name,I=Bs(v)?Vl(v.argumentExpression):nh(v);if(Uf(I)){const w=Hf(I),U=p.symbol.flags;let H=c.get(w);H||c.set(w,H=Ua(0,w,4096));const Z=a&&a.get(w);if(!(n.flags&32)&&H.flags&eA(U)){const Ee=Z?co(Z.declarations,H.declarations):H.declarations,Te=!(I.flags&8192)&&Bi(w)||Fs(v);Xe(Ee,Ye=>Ze(Fo(Ye)||Ye,f.Property_0_was_also_declared_here,Te)),Ze(v||p,f.Duplicate_property_0,Te),H=Ua(0,w,4096)}return H.links.nameType=I,xlt(H,p,U),H.parent?C.assert(H.parent===n,"Existing symbol parent should match new one"):H.parent=n,h.resolvedSymbol=H}}return h.resolvedSymbol}function Rlt(n,a,c,p){let h=c.get("__index");if(!h){const v=a==null?void 0:a.get("__index");v?(h=uE(v),h.links.checkFlags|=4096):h=Ua(0,"__index",4096),c.set("__index",h)}h.declarations?p.symbol.isReplaceableByMethod||h.declarations.push(p):h.declarations=[p]}function Ihe(n,a){const c=Kr(n);if(!c[a]){const p=a==="resolvedExports",h=p?n.flags&1536?pA(n).exports:n.exports:n.members;c[a]=h||k;const v=ma();for(const U of n.declarations||se){const H=cne(U);if(H)for(const Z of H)p===Lc(Z)&&(FC(Z)?m8e(n,h,v,Z):p8e(Z)&&Rlt(n,h,v,Z))}const I=FT(n).assignmentDeclarationMembers;if(I){const U=Mo(I.values());for(const H of U){const Z=ac(H),Ee=Z===3||Nr(H)&&c$(H,Z)||Z===9||Z===6;p===!Ee&&FC(H)&&m8e(n,h,v,H)}}let w=Pv(h,v);if(n.flags&33554432&&c.cjsExportMerged&&n.declarations)for(const U of n.declarations){const H=Kr(U.symbol)[a];if(!w){w=H;continue}H&&H.forEach((Z,Ee)=>{const Te=w.get(Ee);if(!Te)w.set(Ee,Z);else{if(Te===Z)return;w.set(Ee,Zf(Te,Z))}})}c[a]=w||k}return c[a]}function tg(n){return n.flags&6256?Ihe(n,"resolvedMembers"):n.members||k}function lY(n){if(n.flags&106500&&n.escapedName==="__computed"){const a=Kr(n);if(!a.lateSymbol&&bt(n.declarations,FC)){const c=os(n.parent);bt(n.declarations,Lc)?Kp(c):tg(c)}return a.lateSymbol||(a.lateSymbol=n)}return n}function Yp(n,a,c){if(qr(n)&4){const p=n.target,h=cl(n);return et(p.typeParameters)===et(h)?Fy(p,co(h,[a||p.thisType])):n}else if(n.flags&2097152){const p=Ui(n.types,h=>Yp(h,a,c));return p!==n.types?La(p):n}return c?Mu(n):n}function h8e(n,a,c,p){let h,v,I,w,U;qB(c,p,0,c.length)?(v=a.symbol?tg(a.symbol):ma(a.declaredProperties),I=a.declaredCallSignatures,w=a.declaredConstructSignatures,U=a.declaredIndexInfos):(h=Qp(c,p),v=s8e(a.declaredProperties,h,c.length===1),I=CY(a.declaredCallSignatures,h),w=CY(a.declaredConstructSignatures,h),U=qWe(a.declaredIndexInfos,h));const H=rm(a);if(H.length){if(a.symbol&&v===tg(a.symbol)){const Ee=ma(a.declaredProperties),Te=fY(a.symbol);Te&&Ee.set("__index",Te),v=Ee}Lm(n,v,I,w,U);const Z=rl(p);for(const Ee of H){const Te=Z?Yp(oo(Ee,h),Z):Ee;l8e(v,Es(Te)),I=co(I,aa(Te,0)),w=co(w,aa(Te,1));const Ye=Te!==He?Yd(Te):[Xi];U=co(U,Fn(Ye,ht=>!bL(U,ht.keyType)))}}Lm(n,v,I,w,U)}function Dlt(n){h8e(n,Ehe(n),se,se)}function Clt(n){const a=Ehe(n.target),c=co(a.typeParameters,[a.thisType]),p=cl(n),h=p.length===c.length?p:co(p,[n]);h8e(n,a,c,h)}function A_(n,a,c,p,h,v,I,w){const U=new u(ir,w);return U.declaration=n,U.typeParameters=a,U.parameters=p,U.thisParameter=c,U.resolvedReturnType=h,U.resolvedTypePredicate=v,U.minArgumentCount=I,U.resolvedMinArgumentCount=void 0,U.target=void 0,U.mapper=void 0,U.compositeSignatures=void 0,U.compositeKind=void 0,U}function C8(n){const a=A_(n.declaration,n.typeParameters,n.thisParameter,n.parameters,void 0,void 0,n.minArgumentCount,n.flags&167);return a.target=n.target,a.mapper=n.mapper,a.compositeSignatures=n.compositeSignatures,a.compositeKind=n.compositeKind,a}function _8e(n,a){const c=C8(n);return c.compositeSignatures=a,c.compositeKind=1048576,c.target=void 0,c.mapper=void 0,c}function Nlt(n,a){if((n.flags&24)===a)return n;n.optionalCallSignatureCache||(n.optionalCallSignatureCache={});const c=a===8?"inner":"outer";return n.optionalCallSignatureCache[c]||(n.optionalCallSignatureCache[c]=Mlt(n,a))}function Mlt(n,a){C.assert(a===8||a===16,"An optional call signature can either be for an inner call chain or an outer call chain, but not both.");const c=C8(n);return c.flags|=a,c}function g8e(n,a){if(su(n)){const h=n.parameters.length-1,v=n.parameters[h],I=gr(v);if(Xa(I))return[c(I,h,v)];if(!a&&I.flags&1048576&&Gn(I.types,Xa))return Gt(I.types,w=>c(w,h,v))}return[n.parameters];function c(h,v,I){const w=cl(h),U=p(h,I),H=Gt(w,(Z,Ee)=>{const Te=U&&U[Ee]?U[Ee]:kL(n,v+Ee,h),Ye=h.target.elementFlags[Ee],ht=Ye&12?32768:Ye&2?16384:0,Dt=Ua(1,Te,ht);return Dt.links.type=Ye&4?$d(Z):Z,Dt});return co(n.parameters.slice(0,v),H)}function p(h,v){var w;const I=Gt(h.target.labeledElementDeclarations,(U,H)=>eye(U,H,h.target.elementFlags[H],v));if(I){const U=[],H=new Set;for(let Ee=0;Ee<I.length;Ee++){const Te=I[Ee];rh(H,Te)||U.push(Ee)}const Z=new Map;for(const Ee of U){let Te=(w=Z.get(I[Ee]))!=null?w:1,Ye;for(;!rh(H,Ye="".concat(I[Ee],"_").concat(Te));)Te++;I[Ee]=Ye,Z.set(I[Ee],Te+1)}}return I}}function Plt(n){const a=qg(n),c=aa(a,1),p=my(n.symbol),h=!!p&&fi(p,64);if(c.length===0)return[A_(void 0,n.localTypeParameters,void 0,se,n,void 0,0,h?4:0)];const v=E_(n),I=Er(v),w=t5(v),U=et(w),H=[];for(const Z of c){const Ee=rg(Z.typeParameters),Te=et(Z.typeParameters);if(I||U>=Ee&&U<=Te){const Ye=Te?pY(Z,Uv(w,Z.typeParameters,Ee,I)):C8(Z);Ye.typeParameters=n.localTypeParameters,Ye.resolvedReturnType=n,Ye.flags=h?Ye.flags|4:Ye.flags&-5,H.push(Ye)}}return H}function cY(n,a,c,p,h){for(const v of n)if(g5(v,a,c,p,h,c?out:V8))return v}function Llt(n,a,c){if(a.typeParameters){if(c>0)return;for(let h=1;h<n.length;h++)if(!cY(n[h],a,!1,!1,!1))return;return[a]}let p;for(let h=0;h<n.length;h++){const v=h===c?a:cY(n[h],a,!1,!1,!0)||cY(n[h],a,!0,!1,!0);if(!v)return;p=ny(p,v)}return p}function xhe(n){let a,c;for(let p=0;p<n.length;p++){if(n[p].length===0)return se;n[p].length>1&&(c=c===void 0?p:-1);for(const h of n[p])if(!a||!cY(a,h,!1,!1,!0)){const v=Llt(n,h,p);if(v){let I=h;if(v.length>1){let w=h.thisParameter;const U=Xe(v,H=>H.thisParameter);if(U){const H=La(Hi(v,Z=>Z.thisParameter&&gr(Z.thisParameter)));w=PA(U,H)}I=_8e(h,v),I.thisParameter=w}(a||(a=[])).push(I)}}}if(!et(a)&&c!==-1){const p=n[c!==void 0?c:0];let h=p.slice();for(const v of n)if(v!==p){const I=v[0];if(C.assert(!!I,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),h=I.typeParameters&&bt(h,w=>!!w.typeParameters&&!y8e(I.typeParameters,w.typeParameters))?void 0:Gt(h,w=>Olt(w,I)),!h)break}a=h}return a||se}function y8e(n,a){if(et(n)!==et(a))return!1;if(!n||!a)return!0;const c=Qp(a,n);for(let p=0;p<n.length;p++){const h=n[p],v=a[p];if(h!==v&&!$g(SL(h)||At,oo(SL(v)||At,c)))return!1}return!0}function klt(n,a,c){if(!n||!a)return n||a;const p=La([gr(n),oo(gr(a),c)]);return PA(n,p)}function wlt(n,a,c){const p=Rp(n),h=Rp(a),v=p>=h?n:a,I=v===n?a:n,w=v===n?p:h,U=ag(n)||ag(a),H=U&&!ag(v),Z=new Array(w+(H?1:0));for(let Ee=0;Ee<w;Ee++){let Te=kE(v,Ee);v===a&&(Te=oo(Te,c));let Ye=kE(I,Ee)||At;I===a&&(Ye=oo(Ye,c));const ht=La([Te,Ye]),Dt=U&&!H&&Ee===w-1,en=Ee>=Oh(v)&&Ee>=Oh(I),Sn=Ee>=p?void 0:kL(n,Ee),Zn=Ee>=h?void 0:kL(a,Ee),yr=Sn===Zn?Sn:Sn?Zn?void 0:Sn:Zn,xn=Ua(1|(en&&!Dt?16777216:0),yr||"arg".concat(Ee),Dt?32768:en?16384:0);xn.links.type=Dt?$d(ht):ht,Z[Ee]=xn}if(H){const Ee=Ua(1,"args",32768);Ee.links.type=$d(wh(I,w)),I===a&&(Ee.links.type=oo(Ee.links.type,c)),Z[w]=Ee}return Z}function Olt(n,a){const c=n.typeParameters||a.typeParameters;let p;n.typeParameters&&a.typeParameters&&(p=Qp(a.typeParameters,n.typeParameters));let h=(n.flags|a.flags)&166;const v=n.declaration,I=wlt(n,a,p),w=rl(I);w&&Fl(w)&32768&&(h|=1);const U=klt(n.thisParameter,a.thisParameter,p),H=Math.max(n.minArgumentCount,a.minArgumentCount),Z=A_(v,c,U,I,void 0,void 0,H,h);return Z.compositeKind=1048576,Z.compositeSignatures=co(n.compositeKind!==2097152&&n.compositeSignatures||[n],[a]),p?Z.mapper=n.compositeKind!==2097152&&n.mapper&&n.compositeSignatures?XT(n.mapper,p):p:n.compositeKind!==2097152&&n.mapper&&n.compositeSignatures&&(Z.mapper=n.mapper),Z}function v8e(n){const a=Yd(n[0]);if(a){const c=[];for(const p of a){const h=p.keyType;Gn(n,v=>!!Kg(v,h))&&c.push(Xg(h,_i(Gt(n,v=>HT(v,h))),bt(n,v=>Kg(v,h).isReadonly)))}return c}return se}function Wlt(n){const a=xhe(Gt(n.types,h=>h===Qn?[si]:aa(h,0))),c=xhe(Gt(n.types,h=>aa(h,1))),p=v8e(n.types);Lm(n,k,a,c,p)}function Kz(n,a){return n?a?La([n,a]):n:a}function b8e(n){const a=po(n,p=>aa(p,1).length>0),c=Gt(n,Sd);if(a>0&&a===po(c,p=>p)){const p=c.indexOf(!0);c[p]=!1}return c}function Flt(n,a,c,p){const h=[];for(let v=0;v<a.length;v++)v===p?h.push(n):c[v]&&h.push(hs(aa(a[v],1)[0]));return La(h)}function zlt(n){let a,c,p;const h=n.types,v=b8e(h),I=po(v,w=>w);for(let w=0;w<h.length;w++){const U=n.types[w];if(!v[w]){let H=aa(U,1);H.length&&I>0&&(H=Gt(H,Z=>{const Ee=C8(Z);return Ee.resolvedReturnType=Flt(hs(Z),h,v,w),Ee})),c=T8e(c,H)}a=T8e(a,aa(U,0)),p=yu(Yd(U),(H,Z)=>S8e(H,Z,!1),p)}Lm(n,k,a||se,c||se,p||se)}function T8e(n,a){for(const c of a)(!n||Gn(n,p=>!g5(p,c,!1,!1,!1,V8)))&&(n=jn(n,c));return n}function S8e(n,a,c){if(n)for(let p=0;p<n.length;p++){const h=n[p];if(h.keyType===a.keyType)return n[p]=Xg(h.keyType,c?_i([h.type,a.type]):La([h.type,a.type]),c?h.isReadonly||a.isReadonly:h.isReadonly&&a.isReadonly),n}return jn(n,a)}function Blt(n){if(n.target){Lm(n,k,se,se,se);const I=s8e(jv(n.target),n.mapper,!1),w=CY(aa(n.target,0),n.mapper),U=CY(aa(n.target,1),n.mapper),H=qWe(Yd(n.target),n.mapper);Lm(n,I,w,U,H);return}const a=os(n.symbol);if(a.flags&2048){Lm(n,k,se,se,se);const I=tg(a),w=AE(I.get("__call")),U=AE(I.get("__new")),H=V8e(a);Lm(n,I,w,U,H);return}let c=Kp(a),p;if(a===De){const I=new Map;c.forEach(w=>{var U;!(w.flags&418)&&!(w.flags&512&&((U=w.declarations)!=null&&U.length)&&Gn(w.declarations,vu))&&I.set(w.escapedName,w)}),c=I}let h;if(Lm(n,c,se,se,se),a.flags&32){const I=im(a),w=qg(I);w.flags&11272192?(c=ma(Jx(c)),l8e(c,Es(w))):w===He&&(h=Xi)}const v=mY(c);if(v?p=hY(v,Mo(c.values())):(h&&(p=jn(p,h)),a.flags&384&&(Xs(a).flags&32||bt(n.properties,I=>!!(gr(I).flags&296)))&&(p=jn(p,Zi))),Lm(n,c,se,se,p||se),a.flags&8208&&(n.callSignatures=AE(a)),a.flags&32){const I=im(a);let w=a.members?AE(a.members.get("__constructor")):se;a.flags&16&&(w=$r(w.slice(),Hi(n.callSignatures,U=>C_(U.declaration)?A_(U.declaration,U.typeParameters,U.thisParameter,U.parameters,I,void 0,U.minArgumentCount,U.flags&167):void 0))),w.length||(w=Plt(I)),n.constructSignatures=w}}function Glt(n,a,c){return oo(n,Qp([a.indexType,a.objectType],[Mh(0),ig([c])]))}function Vlt(n){const a=Cf(n.mappedType);if(!(a.flags&1048576||a.flags&2097152))return;const c=a.flags&1048576?a.origin:a;if(!c||!(c.flags&2097152))return;const p=La(c.types.filter(h=>h!==n.constraintType));return p!==vn?p:void 0}function jlt(n){const a=Kg(n.source,yt),c=ng(n.mappedType),p=!(c&1),h=c&4?0:16777216,v=a?[Xg(yt,YY(a.type,n.mappedType,n.constraintType)||At,p&&a.isReadonly)]:se,I=ma(),w=Vlt(n);for(const U of Es(n.source)){if(w){const Ee=rR(U,8576);if(!da(Ee,w))continue}const H=8192|(p&&Wh(U)?8:0),Z=Ua(4|U.flags&h,U.escapedName,H);if(Z.declarations=U.declarations,Z.links.nameType=Kr(U).nameType,Z.links.propertyType=gr(U),n.constraintType.type.flags&8388608&&n.constraintType.type.objectType.flags&262144&&n.constraintType.type.indexType.flags&262144){const Ee=n.constraintType.type.objectType,Te=Glt(n.mappedType,n.constraintType.type,Ee);Z.links.mappedType=Te,Z.links.constraintType=x_(Ee)}else Z.links.mappedType=n.mappedType,Z.links.constraintType=n.constraintType;I.set(U.escapedName,Z)}Lm(n,I,se,se,v)}function Xz(n){if(n.flags&4194304){const a=Mu(n.type);return g0(a)?gWe(a):x_(a)}if(n.flags&16777216){if(n.root.isDistributive){const a=n.checkType,c=Xz(a);if(c!==a)return E_e(n,CA(n.root.checkType,c,n.mapper),!1)}return n}if(n.flags&1048576)return Al(n,Xz,!0);if(n.flags&2097152){const a=n.types;return a.length===2&&a[0].flags&76&&a[1]===ga?n:La(Ui(n.types,Xz))}return n}function Rhe(n){return Fl(n)&4096}function Dhe(n,a,c,p){for(const h of Es(n))p(rR(h,a));if(n.flags&1)p(yt);else for(const h of Yd(n))(!c||h.keyType.flags&134217732)&&p(h.keyType)}function Ult(n){const a=ma();let c;Lm(n,k,se,se,se);const p=th(n),h=Cf(n),v=n.target||n,I=Vv(v),w=N8(v)!==2,U=Jg(v),H=Mu(UT(n)),Z=ng(n);BC(n)?Dhe(H,8576,!1,Te):OA(Xz(h),Te),Lm(n,a,se,se,c||se);function Te(ht){const Dt=I?oo(I,z8(n.mapper,p,ht)):ht;OA(Dt,en=>Ye(ht,en))}function Ye(ht,Dt){if(Uf(Dt)){const en=Hf(Dt),Sn=a.get(en);if(Sn)Sn.links.nameType=_i([Sn.links.nameType,Dt]),Sn.links.keyType=_i([Sn.links.keyType,ht]);else{const Zn=Uf(ht)?xa(H,Hf(ht)):void 0,yr=!!(Z&4||!(Z&8)&&Zn&&Zn.flags&16777216),xn=!!(Z&1||!(Z&2)&&Zn&&Wh(Zn)),Tn=re&&!yr&&Zn&&Zn.flags&16777216,cr=Zn?Rhe(Zn):0,mi=Ua(4|(yr?16777216:0),en,cr|262144|(xn?8:0)|(Tn?524288:0));mi.links.mappedType=n,mi.links.nameType=Dt,mi.links.keyType=ht,Zn&&(mi.links.syntheticOrigin=Zn,mi.declarations=w?Zn.declarations:void 0),a.set(en,mi)}}else if(_Y(Dt)||Dt.flags&33){const en=Dt.flags&5?yt:Dt.flags&40?jt:Dt,Sn=oo(U,z8(n.mapper,p,ht)),Zn=M8(H,Dt),yr=!!(Z&1||!(Z&2)&&(Zn!=null&&Zn.isReadonly)),xn=Xg(en,Sn,yr);c=S8e(c,xn,!0)}}}function Hlt(n){var c;var a;if(!n.links.type){const p=n.links.mappedType;if(!T_(n,0))return p.containsError=!0,rt;const h=Jg(p.target||p),v=z8(p.mapper,th(p),n.links.keyType),I=oo(h,v);let w=re&&n.flags&16777216&&!nc(I,49152)?y0(I,!0):n.links.checkFlags&524288?HY(I):I;nt()||(Ze(R,f.Type_of_property_0_circularly_references_itself_in_mapped_type_1,uo(n),sr(p)),w=rt),(c=(a=n.links).type)!=null||(a.type=w)}return n.links.type}function th(n){return n.typeParameter||(n.typeParameter=jT(Fr(n.declaration.typeParameter)))}function Cf(n){return n.constraintType||(n.constraintType=Ju(th(n))||rt)}function Vv(n){return n.declaration.nameType?n.nameType||(n.nameType=oo(Yi(n.declaration.nameType),n.mapper)):void 0}function Jg(n){return n.templateType||(n.templateType=n.declaration.type?oo(fu(Yi(n.declaration.type),!0,!!(ng(n)&4)),n.mapper):rt)}function E8e(n){return zR(n.declaration.typeParameter)}function BC(n){const a=E8e(n);return a.kind===199&&a.operator===143}function UT(n){if(!n.modifiersType)if(BC(n))n.modifiersType=oo(Yi(E8e(n).type),n.mapper);else{const a=u_e(n.declaration),c=Cf(a),p=c&&c.flags&262144?Ju(c):c;n.modifiersType=p&&p.flags&4194304?oo(p.type,n.mapper):At}return n.modifiersType}function ng(n){const a=n.declaration;return(a.readonlyToken?a.readonlyToken.kind===41?2:1:0)|(a.questionToken?a.questionToken.kind===41?8:4:0)}function A8e(n){const a=ng(n);return a&8?-1:a&4?1:0}function yL(n){if(qr(n)&32)return A8e(n)||yL(UT(n));if(n.flags&2097152){const a=yL(n.types[0]);return Gn(n.types,(c,p)=>p===0||yL(c)===a)?a:0}return 0}function qlt(n){return!!(qr(n)&32&&ng(n)&4)}function mp(n){if(qr(n)&32){const a=Cf(n);if(DA(a))return!0;const c=Vv(n);if(c&&DA(oo(c,DE(th(n),a))))return!0}return!1}function N8(n){const a=Vv(n);return a?da(a,th(n))?1:2:0}function Nh(n){return n.members||(n.flags&524288?n.objectFlags&4?Clt(n):n.objectFlags&3?Dlt(n):n.objectFlags&1024?jlt(n):n.objectFlags&16?Blt(n):n.objectFlags&32?Ult(n):C.fail("Unhandled object type "+C.formatObjectFlags(n.objectFlags)):n.flags&1048576?Wlt(n):n.flags&2097152?zlt(n):C.fail("Unhandled type "+C.formatTypeFlags(n.flags))),n}function jv(n){return n.flags&524288?Nh(n).properties:se}function SE(n,a){if(n.flags&524288){const p=Nh(n).members.get(a);if(p&&En(p))return p}}function Yz(n){if(!n.resolvedProperties){const a=ma();for(const c of n.types){for(const p of Es(c))if(!a.has(p.escapedName)){const h=Qz(n,p.escapedName,!!(n.flags&2097152));h&&a.set(p.escapedName,h)}if(n.flags&1048576&&Yd(c).length===0)break}n.resolvedProperties=qu(a)}return n.resolvedProperties}function Es(n){return n=vL(n),n.flags&3145728?Yz(n):jv(n)}function Jlt(n,a){n=vL(n),n.flags&3670016&&Nh(n).members.forEach((c,p)=>{s0(c,p)&&a(c,p)})}function Klt(n,a){return a.properties.some(p=>{const h=p.name&&(fh(p.name)?Ip(ow(p.name)):zy(p.name)),v=h&&Uf(h)?Hf(h):void 0,I=v===void 0?void 0:yn(n,v);return!!I&&H8(I)&&!da(hR(p),I)})}function Xlt(n){const a=_i(n);if(!(a.flags&1048576))return Wye(a);const c=ma();for(const p of n)for(const{escapedName:h}of Wye(p))if(!c.has(h)){const v=M8e(a,h);v&&c.set(h,v)}return Mo(c.values())}function TA(n){return n.flags&262144?Ju(n):n.flags&8388608?$lt(n):n.flags&16777216?R8e(n):Md(n)}function Ju(n){return $z(n)?SL(n):void 0}function Ylt(n,a){const c=B8(n);return!!c&&SA(c,a)}function SA(n,a=0){var c;return a<5&&!!(n&&(n.flags&262144&&bt((c=n.symbol)==null?void 0:c.declarations,p=>fi(p,4096))||n.flags&3145728&&bt(n.types,p=>SA(p,a))||n.flags&8388608&&SA(n.objectType,a+1)||n.flags&16777216&&SA(R8e(n),a+1)||n.flags&33554432&&SA(n.baseType,a)||qr(n)&32&&Ylt(n,a)||g0(n)&&lo(IE(n),(p,h)=>!!(n.target.elementFlags[h]&8)&&SA(p,a))>=0))}function $lt(n){return $z(n)?Qlt(n):void 0}function Che(n){const a=By(n,!1);return a!==n?a:TA(n)}function Qlt(n){if(Lhe(n))return IY(n.objectType,n.indexType);const a=Che(n.indexType);if(a&&a!==n.indexType){const p=m0(n.objectType,a,n.accessFlags);if(p)return p}const c=Che(n.objectType);if(c&&c!==n.objectType)return m0(c,n.indexType,n.accessFlags)}function Nhe(n){if(!n.resolvedDefaultConstraint){const a=Wdt(n),c=_0(n);n.resolvedDefaultConstraint=Or(a)?c:Or(c)?a:_i([a,c])}return n.resolvedDefaultConstraint}function I8e(n){if(n.resolvedConstraintOfDistributive!==void 0)return n.resolvedConstraintOfDistributive||void 0;if(n.root.isDistributive&&n.restrictiveInstantiation!==n){const a=By(n.checkType,!1),c=a===n.checkType?TA(a):a;if(c&&c!==n.checkType){const p=E_e(n,CA(n.root.checkType,c,n.mapper),!0);if(!(p.flags&131072))return n.resolvedConstraintOfDistributive=p,p}}n.resolvedConstraintOfDistributive=!1}function x8e(n){return I8e(n)||Nhe(n)}function R8e(n){return $z(n)?x8e(n):void 0}function Zlt(n,a){let c,p=!1;for(const h of n)if(h.flags&465829888){let v=TA(h);for(;v&&v.flags&21233664;)v=TA(v);v&&(c=jn(c,v),a&&(c=jn(c,h)))}else(h.flags&469892092||og(h))&&(p=!0);if(c&&(a||p)){if(p)for(const h of n)(h.flags&469892092||og(h))&&(c=jn(c,h));return m5(La(c,2),!1)}}function Md(n){if(n.flags&464781312||g0(n)){const a=Mhe(n);return a!==ql&&a!==lc?a:void 0}return n.flags&4194304?ti:void 0}function I_(n){return Md(n)||n}function $z(n){return Mhe(n)!==lc}function Mhe(n){if(n.resolvedBaseConstraint)return n.resolvedBaseConstraint;const a=[];return n.resolvedBaseConstraint=c(n);function c(v){var I;if(!v.immediateBaseConstraint){if(!T_(v,4))return lc;let w;const U=zY(v);if((a.length<10||a.length<50&&!Vn(a,U))&&(a.push(U),w=h(By(v,!1)),a.pop()),!nt()){if(v.flags&262144){const H=gY(v);if(H){const Z=Ze(H,f.Type_parameter_0_has_a_circular_constraint,sr(v));R&&!xS(H,R)&&!xS(R,H)&&_a(Z,Sr(R,f.Circularity_originates_in_type_at_this_location))}}w=lc}(I=v.immediateBaseConstraint)!=null||(v.immediateBaseConstraint=w||ql)}return v.immediateBaseConstraint}function p(v){const I=c(v);return I!==ql&&I!==lc?I:void 0}function h(v){if(v.flags&262144){const I=SL(v);return v.isThisType||!I?I:p(I)}if(v.flags&3145728){const I=v.types,w=[];let U=!1;for(const H of I){const Z=p(H);Z?(Z!==H&&(U=!0),w.push(Z)):U=!0}return U?v.flags&1048576&&w.length===I.length?_i(w):v.flags&2097152&&w.length?La(w):void 0:v}if(v.flags&4194304)return ti;if(v.flags&134217728){const I=v.types,w=Hi(I,p);return w.length===I.length?IA(v.texts,w):yt}if(v.flags&268435456){const I=p(v.type);return I&&I!==v.type?iR(v.symbol,I):yt}if(v.flags&8388608){if(Lhe(v))return p(IY(v.objectType,v.indexType));const I=p(v.objectType),w=p(v.indexType),U=I&&w&&m0(I,w,v.accessFlags);return U&&p(U)}if(v.flags&16777216){const I=x8e(v);return I&&p(I)}if(v.flags&33554432)return p(qhe(v));if(g0(v)){const I=Gt(IE(v),(w,U)=>{const H=w.flags&262144&&v.target.elementFlags[U]&8&&p(w)||w;return H!==w&&xp(H,Z=>$T(Z)&&!g0(Z))?H:w});return ig(I,v.target.elementFlags,v.target.readonly,v.target.labeledElementDeclarations)}return v}}function ect(n,a){var p;if(n===a)return n.resolvedApparentType||(n.resolvedApparentType=Yp(n,a,!0));const c="I".concat(pd(n),",").concat(pd(a));return(p=Uu(c))!=null?p:Mm(c,Yp(n,a,!0))}function Phe(n){if(n.default)n.default===vd&&(n.default=lc);else if(n.target){const a=Phe(n.target);n.default=a?oo(a,n.mapper):ql}else{n.default=vd;const a=n.symbol&&Xe(n.symbol.declarations,p=>pl(p)&&p.default),c=a?Yi(a):ql;n.default===vd&&(n.default=c)}return n.default}function EE(n){const a=Phe(n);return a!==ql&&a!==lc?a:void 0}function tct(n){return Phe(n)!==lc}function D8e(n){return!!(n.symbol&&Xe(n.symbol.declarations,a=>pl(a)&&a.default))}function C8e(n){return n.resolvedApparentType||(n.resolvedApparentType=nct(n))}function nct(n){var p;const a=(p=n.target)!=null?p:n,c=B8(a);if(c&&!a.declaration.nameType){const h=UT(n),v=mp(h)?C8e(h):Md(h);if(v&&xp(v,I=>$T(I)||N8e(I)))return oo(a,CA(c,v,n.mapper))}return n}function N8e(n){return!!(n.flags&2097152)&&Gn(n.types,$T)}function Lhe(n){let a;return!!(n.flags&8388608&&qr(a=n.objectType)&32&&!mp(a)&&DA(n.indexType)&&!(ng(a)&8)&&!a.declaration.nameType)}function Mu(n){const a=n.flags&465829888?Md(n)||At:n,c=qr(a);return c&32?C8e(a):c&4&&a!==n?Yp(a,n):a.flags&2097152?ect(a,n):a.flags&402653316?Nc:a.flags&296?sl:a.flags&2112?Gct():a.flags&528?wl:a.flags&12288?aWe():a.flags&67108864?Ma:a.flags&4194304?ti:a.flags&2&&!re?Ma:a}function vL(n){return km(Mu(km(n)))}function M8e(n,a,c){var p,h,v;let I=0,w,U,H;const Z=n.flags&1048576;let Ee,Te=4,Ye=Z?0:8,ht=!1;for(const ao of n.types){const ui=Mu(ao);if(!(mr(ui)||ui.flags&131072)){const Pi=xa(ui,a,c),Vo=Pi?jf(Pi):0;if(Pi){if(Pi.flags&106500&&(Ee!=null||(Ee=Z?0:16777216),Z?Ee|=Pi.flags&16777216:Ee&=Pi.flags),!w)w=Pi,I=Pi.flags&98304||4;else if(Pi!==w){if((rN(Pi)||Pi)===(rN(w)||w)&&k_e(w,Pi,(mo,_l)=>mo===_l?-1:0)===-1)ht=!!w.parent&&!!et(ua(w.parent));else{U||(U=new Map,U.set(Aa(w),w));const mo=Aa(Pi);U.has(mo)||U.set(mo,Pi)}I&98304&&(Pi.flags&98304)!==(I&98304)&&(I=I&-98305|4)}Z&&Wh(Pi)?Ye|=8:!Z&&!Wh(Pi)&&(Ye&=-9),Ye|=(Vo&6?0:256)|(Vo&4?512:0)|(Vo&2?1024:0)|(Vo&256?2048:0),Nge(Pi)||(Te=2)}else if(Z){const _s=!D8(a)&&nR(ui,a);_s?(I=I&-98305|4,Ye|=32|(_s.isReadonly?8:0),H=jn(H,Xa(ui)?VY(ui)||ye:_s.type)):Kv(ui)&&!(qr(ui)&2097152)?(Ye|=32,H=jn(H,ye)):Ye|=16}}}if(!w||Z&&(U||Ye&48)&&Ye&1536&&!(U&&rct(U.values())))return;if(!U&&!(Ye&16)&&!H)if(ht){const ao=(p=ii(w,_g))==null?void 0:p.links,ui=PA(w,ao==null?void 0:ao.type);return ui.parent=(v=(h=w.valueDeclaration)==null?void 0:h.symbol)==null?void 0:v.parent,ui.links.containingType=n,ui.links.mapper=ao==null?void 0:ao.mapper,ui.links.writeType=Gv(w),ui}else return w;const Dt=U?Mo(U.values()):[w];let en,Sn,Zn;const yr=[];let xn,Tn,cr=!1;for(const ao of Dt){Tn?ao.valueDeclaration&&ao.valueDeclaration!==Tn&&(cr=!0):Tn=ao.valueDeclaration,en=$r(en,ao.declarations);const ui=gr(ao);Sn||(Sn=ui,Zn=Kr(ao).nameType);const Pi=Gv(ao);(xn||Pi!==ui)&&(xn=jn(xn||yr.slice(),Pi)),ui!==Sn&&(Ye|=64),(H8(ui)||xA(ui))&&(Ye|=128),ui.flags&131072&&ui!==ms&&(Ye|=131072),yr.push(ui)}$r(yr,H);const mi=Ua(I|(Ee!=null?Ee:0),a,Te|Ye);return mi.links.containingType=n,!cr&&Tn&&(mi.valueDeclaration=Tn,Tn.symbol.parent&&(mi.parent=Tn.symbol.parent)),mi.declarations=en,mi.links.nameType=Zn,yr.length>2?(mi.links.checkFlags|=65536,mi.links.deferralParent=n,mi.links.deferralConstituents=yr,mi.links.deferralWriteConstituents=xn):(mi.links.type=Z?_i(yr):La(yr),xn&&(mi.links.writeType=Z?_i(xn):La(xn))),mi}function P8e(n,a,c){var p,h,v;let I=c?(p=n.propertyCacheWithoutObjectFunctionPropertyAugment)==null?void 0:p.get(a):(h=n.propertyCache)==null?void 0:h.get(a);return I||(I=M8e(n,a,c),I&&((c?n.propertyCacheWithoutObjectFunctionPropertyAugment||(n.propertyCacheWithoutObjectFunctionPropertyAugment=ma()):n.propertyCache||(n.propertyCache=ma())).set(a,I),c&&!(Fl(I)&48)&&!((v=n.propertyCache)!=null&&v.get(a))&&(n.propertyCache||(n.propertyCache=ma())).set(a,I))),I}function rct(n){let a;for(const c of n){if(!c.declarations)return;if(!a){a=new Set(c.declarations);continue}if(a.forEach(p=>{Vn(c.declarations,p)||a.delete(p)}),a.size===0)return}return a}function Qz(n,a,c){const p=P8e(n,a,c);return p&&!(Fl(p)&16)?p:void 0}function km(n){return n.flags&1048576&&n.objectFlags&16777216?n.resolvedReducedType||(n.resolvedReducedType=ict(n)):n.flags&2097152?(n.objectFlags&16777216||(n.objectFlags|=16777216|(bt(Yz(n),oct)?33554432:0)),n.objectFlags&33554432?vn:n):n}function ict(n){const a=Ui(n.types,km);if(a===n.types)return n;const c=_i(a);return c.flags&1048576&&(c.resolvedReducedType=c),c}function oct(n){return L8e(n)||k8e(n)}function L8e(n){return!(n.flags&16777216)&&(Fl(n)&131264)===192&&!!(gr(n).flags&131072)}function k8e(n){return!n.valueDeclaration&&!!(Fl(n)&1024)}function khe(n){return!!(n.flags&1048576&&n.objectFlags&16777216&&bt(n.types,khe)||n.flags&2097152&&act(n))}function act(n){const a=n.uniqueLiteralFilledInstantiation||(n.uniqueLiteralFilledInstantiation=oo(n,ro));return km(a)!==a}function whe(n,a){if(a.flags&2097152&&qr(a)&33554432){const c=_n(Yz(a),L8e);if(c)return Ko(n,f.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,sr(a,void 0,536870912),uo(c));const p=_n(Yz(a),k8e);if(p)return Ko(n,f.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,sr(a,void 0,536870912),uo(p))}return n}function xa(n,a,c,p){var h,v;if(n=vL(n),n.flags&524288){const I=Nh(n),w=I.members.get(a);if(w&&!p&&((h=n.symbol)==null?void 0:h.flags)&512&&((v=Kr(n.symbol).typeOnlyExportStarMap)!=null&&v.has(a)))return;if(w&&En(w,p))return w;if(c)return;const U=I===Ds?Qn:I.callSignatures.length?bo:I.constructSignatures.length?es:void 0;if(U){const H=SE(U,a);if(H)return H}return SE(Xt,a)}if(n.flags&2097152){const I=Qz(n,a,!0);return I||(c?void 0:Qz(n,a,c))}if(n.flags&1048576)return Qz(n,a,c)}function Zz(n,a){if(n.flags&3670016){const c=Nh(n);return a===0?c.callSignatures:c.constructSignatures}return se}function aa(n,a){const c=Zz(vL(n),a);if(a===0&&!et(c)&&n.flags&1048576){if(n.arrayFallbackSignatures)return n.arrayFallbackSignatures;let p;if(xp(n,h=>{var v;return!!((v=h.symbol)!=null&&v.parent)&&sct(h.symbol.parent)&&(p?p===h.symbol.escapedName:(p=h.symbol.escapedName,!0))})){const h=Al(n,I=>qv((w8e(I.symbol.parent)?ja:ts).typeParameters[0],I.mapper)),v=$d(h,cm(n,I=>w8e(I.symbol.parent)));return n.arrayFallbackSignatures=aa(yn(v,p),a)}n.arrayFallbackSignatures=c}return c}function sct(n){return!n||!ts.symbol||!ja.symbol?!1:!!me(n,ts.symbol)||!!me(n,ja.symbol)}function w8e(n){return!n||!ja.symbol?!1:!!me(n,ja.symbol)}function bL(n,a){return _n(n,c=>c.keyType===a)}function Ohe(n,a){let c,p,h;for(const v of n)v.keyType===yt?c=v:tR(a,v.keyType)&&(p?(h||(h=[p])).push(v):p=v);return h?Xg(At,La(Gt(h,v=>v.type)),yu(h,(v,I)=>v&&I.isReadonly,!0)):p||(c&&tR(a,yt)?c:void 0)}function tR(n,a){return da(n,a)||a===yt&&da(n,jt)||a===jt&&(n===vo||!!(n.flags&128)&&Rg(n.value))}function Whe(n){return n.flags&3670016?Nh(n).indexInfos:se}function Yd(n){return Whe(vL(n))}function Kg(n,a){return bL(Yd(n),a)}function HT(n,a){var c;return(c=Kg(n,a))==null?void 0:c.type}function Fhe(n,a){return Yd(n).filter(c=>tR(a,c.keyType))}function M8(n,a){return Ohe(Yd(n),a)}function nR(n,a){return M8(n,D8(a)?Yt:Ip(Bi(a)))}function O8e(n){var a;let c;for(const p of fb(n))c=ny(c,jT(p.symbol));return c!=null&&c.length?c:ec(n)?(a=TL(n))==null?void 0:a.typeParameters:void 0}function zhe(n){const a=[];return n.forEach((c,p)=>{BT(p)||a.push(c)}),a}function W8e(n,a){if(td(n))return;const c=Td(lt,'"'+n+'"',512);return c&&a?os(c):c}function dY(n){return bI(n)||iw(n)||no(n)&&r4(n)}function P8(n){if(dY(n))return!0;if(!no(n))return!1;if(n.initializer){const c=Nf(n.parent),p=n.parent.parameters.indexOf(n);return C.assert(p>=0),p>=Oh(c,3)}const a=F0(n.parent);return a?!n.type&&!n.dotDotDotToken&&n.parent.parameters.indexOf(n)>=I$(a).length:!1}function lct(n){return ko(n)&&!Zh(n)&&n.questionToken}function L8(n,a,c,p){return{kind:n,parameterName:a,parameterIndex:c,type:p}}function rg(n){let a=0;if(n)for(let c=0;c<n.length;c++)D8e(n[c])||(a=c+1);return a}function Uv(n,a,c,p){const h=et(a);if(!h)return[];const v=et(n);if(p||v>=c&&v<=h){const I=n?n.slice():[];for(let U=v;U<h;U++)I[U]=rt;const w=Z_e(p);for(let U=v;U<h;U++){let H=EE(a[U]);p&&H&&($g(H,At)||$g(H,Ma))&&(H=He),I[U]=H?oo(H,Qp(a,I)):w}return I.length=a.length,I}return n&&n.slice()}function Nf(n){const a=Vr(n);if(!a.resolvedSignature){const c=[];let p=0,h=0,v,I=Er(n)?mF(n):void 0,w=!1;const U=F0(n),H=TI(n);!U&&Er(n)&&c1(n)&&!ote(n)&&!bt(n.parameters,ht=>!!tv(ht))&&!tv(n)&&!f$(n)&&(p|=32);for(let ht=H?1:0;ht<n.parameters.length;ht++){const Dt=n.parameters[ht];if(Er(Dt)&&zj(Dt)){I=Dt;continue}let en=Dt.symbol;const Sn=hf(Dt)?Dt.typeExpression&&Dt.typeExpression.type:Dt.type;en&&en.flags&4&&!na(Dt.name)&&(en=gt(Dt,en.escapedName,111551,void 0,!1)),ht===0&&en.escapedName==="this"?(w=!0,v=Dt.symbol):c.push(en),Sn&&Sn.kind===202&&(p|=2),dY(Dt)||no(Dt)&&Dt.initializer||w_(Dt)||U&&c.length>U.arguments.length&&!Sn||(h=c.length)}if((n.kind===178||n.kind===179)&&zC(n)&&(!w||!v)){const ht=n.kind===178?179:178,Dt=ul(Fr(n),ht);Dt&&(v=eR(Dt))}I&&I.typeExpression&&(v=PA(Ua(1,"this"),Yi(I.typeExpression)));const Ee=gv(n)?V0(n):n,Te=Ee&&kl(Ee)?im(os(Ee.parent.symbol)):void 0,Ye=Te?Te.localTypeParameters:O8e(n);(pG(n)||Er(n)&&cct(n,c))&&(p|=1),(TD(n)&&fi(n,64)||kl(n)&&fi(n.parent,64))&&(p|=4),a.resolvedSignature=A_(n,Ye,v,c,void 0,void 0,h,p)}return a.resolvedSignature}function cct(n,a){if(gv(n)||!Bhe(n))return!1;const c=rl(n.parameters),p=c?FR(c):w0(n).filter(hf),h=Wn(p,I=>I.typeExpression&&R4(I.typeExpression.type)?I.typeExpression.type:void 0),v=Ua(3,"args",32768);return h?v.links.type=$d(Yi(h.type)):(v.links.checkFlags|=65536,v.links.deferralParent=vn,v.links.deferralConstituents=[bd],v.links.deferralWriteConstituents=[bd]),h&&a.pop(),a.push(v),!0}function TL(n){if(!(Er(n)&&ks(n)))return;const a=k0(n);return(a==null?void 0:a.typeExpression)&&BA(Yi(a.typeExpression))}function dct(n,a){const c=TL(n);if(!c)return;const p=n.parameters.indexOf(a);return a.dotDotDotToken?H5(c,p):wh(c,p)}function uct(n){const a=TL(n);return a&&hs(a)}function Bhe(n){const a=Vr(n);return a.containsArgumentsReference===void 0&&(a.flags&512?a.containsArgumentsReference=!0:a.containsArgumentsReference=c(n.body)),a.containsArgumentsReference;function c(p){if(!p)return!1;switch(p.kind){case 80:return p.escapedText===_e.escapedName&&TW(p)===_e;case 173:case 175:case 178:case 179:return p.name.kind===168&&c(p.name);case 212:case 213:return c(p.expression);case 304:return c(p.initializer);default:return!nV(p)&&!Yh(p)&&!!Xo(p,c)}}}function AE(n){if(!n||!n.declarations)return se;const a=[];for(let c=0;c<n.declarations.length;c++){const p=n.declarations[c];if(Yo(p)){if(c>0&&p.body){const h=n.declarations[c-1];if(p.parent===h.parent&&p.kind===h.kind&&p.pos===h.end)continue}if(Er(p)&&p.jsDoc){const h=qG(p);if(et(h)){for(const v of h){const I=v.typeExpression;I.type===void 0&&!kl(p)&&ZT(I,He),a.push(Nf(I))}continue}}a.push(!Mb(p)&&!ym(p)&&TL(p)||Nf(p))}}return a}function F8e(n){const a=pu(n,n);if(a){const c=Ap(a);if(c)return gr(c)}return He}function qT(n){if(n.thisParameter)return gr(n.thisParameter)}function om(n){if(!n.resolvedTypePredicate){if(n.target){const a=om(n.target);n.resolvedTypePredicate=a?YWe(a,n.mapper):fn}else if(n.compositeSignatures)n.resolvedTypePredicate=pdt(n.compositeSignatures,n.compositeKind)||fn;else{const a=n.declaration&&Wp(n.declaration);let c;if(!a){const p=TL(n.declaration);p&&n!==p&&(c=om(p))}if(a||c)n.resolvedTypePredicate=a&&qI(a)?pct(a,n):c||fn;else if(n.declaration&&ks(n.declaration)&&(!n.resolvedReturnType||n.resolvedReturnType.flags&16)&&Rp(n)>0){const{declaration:p}=n;n.resolvedTypePredicate=fn,n.resolvedTypePredicate=Qht(p)||fn}else n.resolvedTypePredicate=fn}C.assert(!!n.resolvedTypePredicate)}return n.resolvedTypePredicate===fn?void 0:n.resolvedTypePredicate}function pct(n,a){const c=n.parameterName,p=n.type&&Yi(n.type);return c.kind===198?L8(n.assertsModifier?2:0,void 0,void 0,p):L8(n.assertsModifier?3:1,c.escapedText,lo(a.parameters,h=>h.escapedName===c.escapedText),p)}function z8e(n,a,c){return a!==2097152?_i(n,c):La(n)}function hs(n){var a;if(!n.resolvedReturnType){if(!T_(n,3))return rt;let c=n.target?oo(hs(n.target),n.mapper):n.compositeSignatures?oo(z8e(Gt(n.compositeSignatures,hs),n.compositeKind,2),n.mapper):GC(n.declaration)||(Wl(n.declaration.body)?He:C$(n.declaration));if(n.flags&8?c=IFe(c):n.flags&16&&(c=y0(c)),!nt()){if(n.declaration){const p=Wp(n.declaration);if(p)Ze(p,f.Return_type_annotation_circularly_references_itself);else if(Ae){const h=n.declaration,v=Fo(h);v?Ze(v,f._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(v)):Ze(h,f.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)}}c=He}(a=n.resolvedReturnType)!=null||(n.resolvedReturnType=c)}return n.resolvedReturnType}function GC(n){if(n.kind===177)return im(os(n.parent.symbol));const a=Wp(n);if(gv(n)){const c=rD(n);if(c&&kl(c.parent)&&!a)return im(os(c.parent.parent.symbol))}if(TI(n))return Yi(n.parameters[0].type);if(a)return Yi(a);if(n.kind===178&&zC(n)){const c=Er(n)&&cs(n);if(c)return c;const p=ul(Fr(n),179),h=hL(p);if(h)return h}return uct(n)}function uY(n){return n.compositeSignatures&&bt(n.compositeSignatures,uY)||!n.resolvedReturnType&&ne(n,3)>=0}function fct(n){return B8e(n)||He}function B8e(n){if(su(n)){const a=gr(n.parameters[n.parameters.length-1]),c=Xa(a)?VY(a):a;return c&&HT(c,jt)}}function k8(n,a,c,p){const h=Ghe(n,Uv(a,n.typeParameters,rg(n.typeParameters),c));if(p){const v=_4e(hs(h));if(v){const I=C8(v);I.typeParameters=p;const w=EA(I);w.mapper=h.mapper;const U=C8(h);return U.resolvedReturnType=w,U}}return h}function Ghe(n,a){const c=n.instantiations||(n.instantiations=new Map),p=wm(a);let h=c.get(p);return h||c.set(p,h=pY(n,a)),h}function pY(n,a){return NA(n,mct(n,a),!0)}function G8e(n){return Ui(n.typeParameters,a=>a.mapper?oo(a,a.mapper):a)}function mct(n,a){return Qp(G8e(n),a)}function w8(n){return n.typeParameters?n.erasedSignatureCache||(n.erasedSignatureCache=hct(n)):n}function hct(n){return NA(n,KWe(n.typeParameters),!0)}function _ct(n){return n.typeParameters?n.canonicalSignatureCache||(n.canonicalSignatureCache=gct(n)):n}function gct(n){return k8(n,Gt(n.typeParameters,a=>a.target&&!Ju(a.target)?a.target:a),Er(n.declaration))}function yct(n){const a=n.typeParameters;if(a){if(n.baseSignatureCache)return n.baseSignatureCache;const c=KWe(a),p=Qp(a,Gt(a,v=>Ju(v)||At));let h=Gt(a,v=>oo(v,p)||At);for(let v=0;v<a.length-1;v++)h=Vy(h,p);return h=Vy(h,c),n.baseSignatureCache=NA(n,Qp(a,h),!0)}return n}function EA(n){var a,c;if(!n.isolatedSignatureType){const p=(a=n.declaration)==null?void 0:a.kind,h=p===void 0||p===177||p===181||p===186,v=hc(134217744,(c=n.declaration)==null?void 0:c.symbol);v.members=k,v.properties=se,v.callSignatures=h?se:[n],v.constructSignatures=h?[n]:se,v.indexInfos=se,n.isolatedSignatureType=v}return n.isolatedSignatureType}function fY(n){return n.members?mY(tg(n)):void 0}function mY(n){return n.get("__index")}function Xg(n,a,c,p,h){return{keyType:n,type:a,isReadonly:c,declaration:p,components:h}}function V8e(n){const a=fY(n);return a?hY(a,Mo(tg(n).values())):se}function hY(n,a=n.parent?Mo(tg(n.parent).values()):void 0){if(n.declarations){const c=[];let p=!1,h=!0,v=!1,I=!0,w=!1,U=!0;const H=[];for(const Ee of n.declarations)if(wb(Ee)){if(Ee.parameters.length===1){const Te=Ee.parameters[0];Te.type&&OA(Yi(Te.type),Ye=>{_Y(Ye)&&!bL(c,Ye)&&c.push(Xg(Ye,Ee.type?Yi(Ee.type):He,Fp(Ee,8),Ee))})}}else if(p8e(Ee)){const Te=Nr(Ee)?Ee.left:Ee.name,Ye=Bs(Te)?Vl(Te.argumentExpression):nh(Te);if(bL(c,Ye))continue;da(Ye,ti)&&(da(Ye,jt)?(p=!0,p1(Ee)||(h=!1)):da(Ye,Yt)?(v=!0,p1(Ee)||(I=!1)):(w=!0,p1(Ee)||(U=!1)),H.push(Ee.symbol))}const Z=co(H,Fn(a,Ee=>Ee!==n));return w&&!bL(c,yt)&&c.push(nW(U,0,Z,yt)),p&&!bL(c,jt)&&c.push(nW(h,0,Z,jt)),v&&!bL(c,Yt)&&c.push(nW(I,0,Z,Yt)),c}return se}function _Y(n){return!!(n.flags&4108)||xA(n)||!!(n.flags&2097152)&&!KT(n)&&bt(n.types,_Y)}function gY(n){return Hi(Fn(n.symbol&&n.symbol.declarations,pl),zR)[0]}function j8e(n,a){var c;let p;if((c=n.symbol)!=null&&c.declarations){for(const h of n.symbol.declarations)if(h.parent.kind===196){const[v=h.parent,I]=Pne(h.parent.parent);if(I.kind===184&&!a){const w=I,U=_ye(w);if(U){const H=w.typeArguments.indexOf(v);if(H<U.length){const Z=Ju(U[H]);if(Z){const Ee=v_e(U,U.map((Ye,ht)=>()=>$_t(w,U,ht))),Te=oo(Z,Ee);Te!==n&&(p=jn(p,Te))}}}}else if(I.kind===170&&I.dotDotDotToken||I.kind===192||I.kind===203&&I.dotDotDotToken)p=jn(p,$d(At));else if(I.kind===205)p=jn(p,yt);else if(I.kind===169&&I.parent.kind===201)p=jn(p,ti);else if(I.kind===201&&I.type&&us(I.type)===h.parent&&I.parent.kind===195&&I.parent.extendsType===I&&I.parent.checkType.kind===201&&I.parent.checkType.type){const w=I.parent.checkType,U=Yi(w.type);p=jn(p,oo(U,DE(jT(Fr(w.typeParameter)),w.typeParameter.constraint?Yi(w.typeParameter.constraint):ti)))}}}return p&&La(p)}function SL(n){if(!n.constraint)if(n.target){const a=Ju(n.target);n.constraint=a?oo(a,n.mapper):ql}else{const a=gY(n);if(!a)n.constraint=j8e(n)||ql;else{let c=Yi(a);c.flags&1&&!mr(c)&&(c=a.parent.parent.kind===201?ti:At),n.constraint=c}}return n.constraint===ql?void 0:n.constraint}function U8e(n){const a=ul(n.symbol,169),c=Am(a.parent)?c6(a.parent):a.parent;return c&&Rf(c)}function wm(n){let a="";if(n){const c=n.length;let p=0;for(;p<c;){const h=n[p].id;let v=1;for(;p+v<c&&n[p+v].id===h+v;)v++;a.length&&(a+=","),a+=h,v>1&&(a+=":"+v),p+=v}}return a}function AA(n,a){return n?"@".concat(Aa(n))+(a?":".concat(wm(a)):""):""}function e5(n,a){let c=0;for(const p of n)(a===void 0||!(p.flags&a))&&(c|=qr(p));return c&458752}function VC(n,a){return bt(a)&&n===nn?At:Fy(n,a)}function Fy(n,a){const c=wm(a);let p=n.instantiations.get(c);return p||(p=hc(4,n.symbol),n.instantiations.set(c,p),p.objectFlags|=a?e5(a):0,p.target=n,p.resolvedTypeArguments=a),p}function H8e(n){const a=Ni(n.flags,n.symbol);return a.objectFlags=n.objectFlags,a.target=n.target,a.resolvedTypeArguments=n.resolvedTypeArguments,a}function Vhe(n,a,c,p,h){if(!p){p=oR(a);const I=qC(p);h=c?Vy(I,c):I}const v=hc(4,n.symbol);return v.target=n,v.node=a,v.mapper=c,v.aliasSymbol=p,v.aliasTypeArguments=h,v}function cl(n){var p,h;var a,c;if(!n.resolvedTypeArguments){if(!T_(n,5))return co(n.target.outerTypeParameters,(a=n.target.localTypeParameters)==null?void 0:a.map(()=>rt))||se;const v=n.node,I=v?v.kind===184?co(n.target.outerTypeParameters,w$(v,n.target.localTypeParameters)):v.kind===189?[Yi(v.elementType)]:Gt(v.elements,Yi):se;nt()?(p=n.resolvedTypeArguments)!=null||(n.resolvedTypeArguments=n.mapper?Vy(I,n.mapper):I):((h=n.resolvedTypeArguments)!=null||(n.resolvedTypeArguments=co(n.target.outerTypeParameters,((c=n.target.localTypeParameters)==null?void 0:c.map(()=>rt))||se)),Ze(n.node||R,n.target.symbol?f.Type_arguments_for_0_circularly_reference_themselves:f.Tuple_type_arguments_circularly_reference_themselves,n.target.symbol&&uo(n.target.symbol)))}return n.resolvedTypeArguments}function Hv(n){return et(n.target.typeParameters)}function q8e(n,a){const c=Xs(os(a)),p=c.localTypeParameters;if(p){const h=et(n.typeArguments),v=rg(p),I=Er(n);if(!(!Ae&&I)&&(h<v||h>p.length)){const H=I&&hy(n)&&!ZI(n.parent),Z=v===p.length?H?f.Expected_0_type_arguments_provide_these_with_an_extends_tag:f.Generic_type_0_requires_1_type_argument_s:H?f.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:f.Generic_type_0_requires_between_1_and_2_type_arguments,Ee=sr(c,void 0,2);if(Ze(n,Z,Ee,v,p.length),!I)return rt}if(n.kind===184&&hWe(n,et(n.typeArguments)!==p.length))return Vhe(c,n,void 0);const U=co(c.outerTypeParameters,Uv(t5(n),p,v,I));return Fy(c,U)}return JT(n,a)?c:rt}function jC(n,a,c,p){const h=Xs(n);if(h===Oe){const H=jU.get(n.escapedName);if(H!==void 0&&a&&a.length===1)return H===4?jhe(a[0]):iR(n,a[0])}const v=Kr(n),I=v.typeParameters,w=wm(a)+AA(c,p);let U=v.instantiations.get(w);return U||v.instantiations.set(w,U=ZWe(h,Qp(I,Uv(a,I,rg(I),Er(n.valueDeclaration))),c,p)),U}function vct(n,a){if(Fl(a)&1048576){const h=t5(n),v=AA(a,h);let I=dt.get(v);return I||(I=ki(1,"error",void 0,"alias ".concat(v)),I.aliasSymbol=a,I.aliasTypeArguments=h,dt.set(v,I)),I}const c=Xs(a),p=Kr(a).typeParameters;if(p){const h=et(n.typeArguments),v=rg(p);if(h<v||h>p.length)return Ze(n,v===p.length?f.Generic_type_0_requires_1_type_argument_s:f.Generic_type_0_requires_between_1_and_2_type_arguments,uo(a),v,p.length),rt;const I=oR(n);let w=I&&(J8e(a)||!J8e(I))?I:void 0,U;if(w)U=qC(w);else if(NF(n)){const H=EL(n,2097152,!0);if(H&&H!==ie){const Z=ud(H);Z&&Z.flags&524288&&(w=Z,U=t5(n)||(p?[]:void 0))}}return jC(a,t5(n),w,U)}return JT(n,a)?c:rt}function J8e(n){var a;const c=(a=n.declarations)==null?void 0:a.find(Ek);return!!(c&&uf(c))}function bct(n){switch(n.kind){case 184:return n.typeName;case 234:const a=n.expression;if(Ps(a))return a}}function K8e(n){return n.parent?"".concat(K8e(n.parent),".").concat(n.escapedName):n.escapedName}function yY(n){const c=(n.kind===167?n.right:n.kind===212?n.name:n).escapedText;if(c){const p=n.kind===167?yY(n.left):n.kind===212?yY(n.expression):void 0,h=p?"".concat(K8e(p),".").concat(c):c;let v=it.get(h);return v||(it.set(h,v=Ua(524288,c,1048576)),v.parent=p,v.links.declaredType=Zt),v}return ie}function EL(n,a,c){const p=bct(n);if(!p)return ie;const h=Gl(p,a,c);return h&&h!==ie?h:c?ie:yY(p)}function vY(n,a){if(a===ie)return rt;if(a=Vx(a)||a,a.flags&96)return q8e(n,a);if(a.flags&524288)return vct(n,a);const c=o8e(a);if(c)return JT(n,a)?Pu(c):rt;if(a.flags&111551&&bY(n)){const p=Tct(n,a);return p||(EL(n,788968),gr(a))}return rt}function Tct(n,a){const c=Vr(n);if(!c.resolvedJSDocType){const p=gr(a);let h=p;if(a.valueDeclaration){const v=n.kind===206&&n.qualifier;p.symbol&&p.symbol!==a&&v&&(h=vY(n,p.symbol))}c.resolvedJSDocType=h}return c.resolvedJSDocType}function jhe(n){return Uhe(n)?X8e(n,At):n}function Uhe(n){return!!(n.flags&3145728&&bt(n.types,Uhe)||n.flags&33554432&&!UC(n)&&Uhe(n.baseType)||n.flags&524288&&!og(n)||n.flags&432275456&&!xA(n))}function UC(n){return!!(n.flags&33554432&&n.constraint.flags&2)}function Hhe(n,a){return a.flags&3||a===n||n.flags&1?n:X8e(n,a)}function X8e(n,a){const c="".concat(pd(n),">").concat(pd(a)),p=Da.get(c);if(p)return p;const h=vi(33554432);return h.baseType=n,h.constraint=a,Da.set(c,h),h}function qhe(n){return UC(n)?n.baseType:La([n.constraint,n.baseType])}function Y8e(n){return n.kind===190&&n.elements.length===1}function $8e(n,a,c){return Y8e(a)&&Y8e(c)?$8e(n,a.elements[0],c.elements[0]):Gy(Yi(a))===Gy(n)?Yi(c):void 0}function Sct(n,a){let c,p=!0;for(;a&&!Gi(a)&&a.kind!==321;){const h=a.parent;if(h.kind===170&&(p=!p),(p||n.flags&8650752)&&h.kind===195&&a===h.trueType){const v=$8e(n,h.checkType,h.extendsType);v&&(c=jn(c,v))}else if(n.flags&262144&&h.kind===201&&!h.nameType&&a===h.type){const v=Yi(h);if(th(v)===Gy(n)){const I=B8(v);if(I){const w=Ju(I);w&&xp(w,$T)&&(c=jn(c,_i([jt,vo])))}}}a=h}return c?Hhe(n,La(c)):n}function bY(n){return!!(n.flags&16777216)&&(n.kind===184||n.kind===206)}function JT(n,a){return n.typeArguments?(Ze(n,f.Type_0_is_not_generic,a?uo(a):n.typeName?Fs(n.typeName):zU),!1):!0}function Q8e(n){if(Je(n.typeName)){const a=n.typeArguments;switch(n.typeName.escapedText){case"String":return JT(n),yt;case"Number":return JT(n),jt;case"BigInt":return JT(n),or;case"Boolean":return JT(n),zt;case"Void":return JT(n),An;case"Undefined":return JT(n),ye;case"Null":return JT(n),$t;case"Function":case"function":return JT(n),Qn;case"array":return(!a||!a.length)&&!Ae?bd:void 0;case"promise":return(!a||!a.length)&&!Ae?J5(He):void 0;case"Object":if(a&&a.length===2){if(o6(n)){const c=Yi(a[0]),p=Yi(a[1]),h=c===yt||c===jt?[Xg(c,p,!1)]:se;return El(void 0,k,se,se,h)}return He}return JT(n),Ae?void 0:He}}}function Ect(n){const a=Yi(n.type);return re?b5(a,65536):a}function TY(n){const a=Vr(n);if(!a.resolvedType){if(zm(n)&&yS(n.parent))return a.resolvedSymbol=ie,a.resolvedType=Vl(n.parent.expression);let c,p;const h=788968;bY(n)&&(p=Q8e(n),p||(c=EL(n,h,!0),c===ie?c=EL(n,h|111551):EL(n,h),p=vY(n,c))),p||(c=EL(n,h),p=vY(n,c)),a.resolvedSymbol=c,a.resolvedType=p}return a.resolvedType}function t5(n){return Gt(n.typeArguments,Yi)}function Z8e(n){const a=Vr(n);if(!a.resolvedType){const c=W4e(n);a.resolvedType=Pu(Zp(c))}return a.resolvedType}function eWe(n,a){function c(h){const v=h.declarations;if(v)for(const I of v)switch(I.kind){case 264:case 265:case 267:return I}}if(!n)return a?nn:Ma;const p=Xs(n);return p.flags&524288?et(p.typeParameters)!==a?(Ze(c(n),f.Global_type_0_must_have_1_type_parameter_s,Ol(n),a),a?nn:Ma):p:(Ze(c(n),f.Global_type_0_must_be_a_class_or_interface_type,Ol(n)),a?nn:Ma)}function Jhe(n,a){return HC(n,111551,a?f.Cannot_find_global_value_0:void 0)}function Khe(n,a){return HC(n,788968,a?f.Cannot_find_global_type_0:void 0)}function SY(n,a,c){const p=HC(n,788968,c?f.Cannot_find_global_type_0:void 0);if(p&&(Xs(p),et(Kr(p).typeParameters)!==a)){const h=p.declarations&&_n(p.declarations,Em);Ze(h,f.Global_type_0_must_have_1_type_parameter_s,Ol(p),a);return}return p}function HC(n,a,c){return gt(void 0,n,a,c,!1,!1)}function Kl(n,a,c){const p=Khe(n,c);return p||c?eWe(p,a):void 0}function tWe(n,a){let c;for(const p of n)c=jn(c,Kl(p,a,!1));return c!=null?c:se}function Act(){return kg||(kg=Kl("TypedPropertyDescriptor",1,!0)||nn)}function Ict(){return To||(To=Kl("TemplateStringsArray",0,!0)||Ma)}function nWe(){return oa||(oa=Kl("ImportMeta",0,!0)||Ma)}function rWe(){if(!Ao){const n=Ua(0,"ImportMetaExpression"),a=nWe(),c=Ua(4,"meta",8);c.parent=n,c.links.type=a;const p=ma([c]);n.members=p,Ao=El(n,p,se,se,se)}return Ao}function iWe(n){return Uo||(Uo=Kl("ImportCallOptions",0,n))||Ma}function Xhe(n){return bl||(bl=Kl("ImportAttributes",0,n))||Ma}function oWe(n){return Yf||(Yf=Jhe("Symbol",n))}function xct(n){return J_||(J_=Khe("SymbolConstructor",n))}function aWe(){return Lg||(Lg=Kl("Symbol",0,!1))||Ma}function n5(n){return sp||(sp=Kl("Promise",1,n))||nn}function sWe(n){return Kc||(Kc=Kl("PromiseLike",1,n))||nn}function Yhe(n){return vh||(vh=Jhe("Promise",n))}function Rct(n){return Sf||(Sf=Kl("PromiseConstructorLike",0,n))||Ma}function r5(n){return ri||(ri=Kl("AsyncIterable",3,n))||nn}function Dct(n){return Si||(Si=Kl("AsyncIterator",3,n))||nn}function lWe(n){return eo||(eo=Kl("AsyncIterableIterator",3,n))||nn}function Cct(){return Ue!=null?Ue:Ue=tWe(["ReadableStreamAsyncIterator"],1)}function Nct(n){return wt||(wt=Kl("AsyncIteratorObject",3,n))||nn}function Mct(n){return Nn||(Nn=Kl("AsyncGenerator",3,n))||nn}function EY(n){return g_||(g_=Kl("Iterable",3,n))||nn}function Pct(n){return oe||(oe=Kl("Iterator",3,n))||nn}function cWe(n){return pt||(pt=Kl("IterableIterator",3,n))||nn}function $he(){return ge?ye:He}function Lct(){return z!=null?z:z=tWe(["ArrayIterator","MapIterator","SetIterator","StringIterator"],1)}function kct(n){return rn||(rn=Kl("IteratorObject",3,n))||nn}function wct(n){return cn||(cn=Kl("Generator",3,n))||nn}function Oct(n){return wn||(wn=Kl("IteratorYieldResult",1,n))||nn}function Wct(n){return ar||(ar=Kl("IteratorReturnResult",1,n))||nn}function dWe(n){return Pa||(Pa=Kl("Disposable",0,n))||Ma}function Fct(n){return cd||(cd=Kl("AsyncDisposable",0,n))||Ma}function uWe(n,a=0){const c=HC(n,788968,void 0);return c&&eWe(c,a)}function zct(){return Jp||(Jp=SY("Extract",2,!0)||ie),Jp===ie?void 0:Jp}function Bct(){return Ef||(Ef=SY("Omit",2,!0)||ie),Ef===ie?void 0:Ef}function Qhe(n){return $f||($f=SY("Awaited",1,n)||(n?ie:void 0)),$f===ie?void 0:$f}function Gct(){return xy||(xy=Kl("BigInt",0,!1))||Ma}function Vct(n){var a;return(a=bh!=null?bh:bh=Kl("ClassDecoratorContext",1,n))!=null?a:nn}function jct(n){var a;return(a=Cm!=null?Cm:Cm=Kl("ClassMethodDecoratorContext",2,n))!=null?a:nn}function Uct(n){var a;return(a=Af!=null?Af:Af=Kl("ClassGetterDecoratorContext",2,n))!=null?a:nn}function Hct(n){var a;return(a=Ry!=null?Ry:Ry=Kl("ClassSetterDecoratorContext",2,n))!=null?a:nn}function qct(n){var a;return(a=$e!=null?$e:$e=Kl("ClassAccessorDecoratorContext",2,n))!=null?a:nn}function Jct(n){var a;return(a=ft!=null?ft:ft=Kl("ClassAccessorDecoratorTarget",2,n))!=null?a:nn}function Kct(n){var a;return(a=Qt!=null?Qt:Qt=Kl("ClassAccessorDecoratorResult",2,n))!=null?a:nn}function Xct(n){var a;return(a=In!=null?In:In=Kl("ClassFieldDecoratorContext",2,n))!=null?a:nn}function Yct(){return Iv||(Iv=Jhe("NaN",!1))}function $ct(){return ju||(ju=SY("Record",2,!0)||ie),ju===ie?void 0:ju}function AL(n,a){return n!==nn?Fy(n,a):Ma}function pWe(n){return AL(Act(),[n])}function fWe(n){return AL(EY(!0),[n,An,ye])}function $d(n,a){return AL(a?ja:ts,[n])}function Zhe(n){switch(n.kind){case 191:return 2;case 192:return mWe(n);case 203:return n.questionToken?2:n.dotDotDotToken?mWe(n):1;default:return 1}}function mWe(n){return c5(n.type)?4:8}function Qct(n){const a=tdt(n.parent);if(c5(n))return a?ja:ts;const p=Gt(n.elements,Zhe);return e_e(p,a,Gt(n.elements,Zct))}function Zct(n){return SD(n)||no(n)?n:void 0}function hWe(n,a){return!!oR(n)||_We(n)&&(n.kind===189?f0(n.elementType):n.kind===190?bt(n.elements,f0):a||bt(n.typeArguments,f0))}function _We(n){const a=n.parent;switch(a.kind){case 197:case 203:case 184:case 193:case 194:case 200:case 195:case 199:case 189:case 190:return _We(a);case 266:return!0}return!1}function f0(n){switch(n.kind){case 184:return bY(n)||!!(EL(n,788968).flags&524288);case 187:return!0;case 199:return n.operator!==158&&f0(n.type);case 197:case 191:case 203:case 317:case 315:case 316:case 310:return f0(n.type);case 192:return n.type.kind!==189||f0(n.type.elementType);case 193:case 194:return bt(n.types,f0);case 200:return f0(n.objectType)||f0(n.indexType);case 195:return f0(n.checkType)||f0(n.extendsType)||f0(n.trueType)||f0(n.falseType)}return!1}function edt(n){const a=Vr(n);if(!a.resolvedType){const c=Qct(n);if(c===nn)a.resolvedType=Ma;else if(!(n.kind===190&&bt(n.elements,p=>!!(Zhe(p)&8)))&&hWe(n))a.resolvedType=n.kind===190&&n.elements.length===0?c:Vhe(c,n,void 0);else{const p=n.kind===189?[Yi(n.elementType)]:Gt(n.elements,Yi);a.resolvedType=t_e(c,p)}}return a.resolvedType}function tdt(n){return X0(n)&&n.operator===148}function ig(n,a,c=!1,p=[]){const h=e_e(a||Gt(n,v=>1),c,p);return h===nn?Ma:n.length?t_e(h,n):h}function e_e(n,a,c){if(n.length===1&&n[0]&4)return a?ja:ts;const p=Gt(n,v=>v&1?"#":v&2?"?":v&4?".":"*").join()+(a?"R":"")+(bt(c,v=>!!v)?","+Gt(c,v=>v?ls(v):"_").join(","):"");let h=Ci.get(p);return h||Ci.set(p,h=ndt(n,a,c)),h}function ndt(n,a,c){const p=n.length,h=po(n,Ee=>!!(Ee&9));let v;const I=[];let w=0;if(p){v=new Array(p);for(let Ee=0;Ee<p;Ee++){const Te=v[Ee]=Hu(),Ye=n[Ee];if(w|=Ye,!(w&12)){const ht=Ua(4|(Ye&2?16777216:0),""+Ee,a?8:0);ht.links.tupleLabelDeclaration=c==null?void 0:c[Ee],ht.links.type=Te,I.push(ht)}}}const U=I.length,H=Ua(4,"length",a?8:0);if(w&12)H.links.type=jt;else{const Ee=[];for(let Te=h;Te<=p;Te++)Ee.push(Mh(Te));H.links.type=_i(Ee)}I.push(H);const Z=hc(12);return Z.typeParameters=v,Z.outerTypeParameters=void 0,Z.localTypeParameters=v,Z.instantiations=new Map,Z.instantiations.set(wm(Z.typeParameters),Z),Z.target=Z,Z.resolvedTypeArguments=Z.typeParameters,Z.thisType=Hu(),Z.thisType.isThisType=!0,Z.thisType.constraint=Z,Z.declaredProperties=I,Z.declaredCallSignatures=se,Z.declaredConstructSignatures=se,Z.declaredIndexInfos=se,Z.elementFlags=n,Z.minLength=h,Z.fixedLength=U,Z.hasRestElement=!!(w&12),Z.combinedFlags=w,Z.readonly=a,Z.labeledElementDeclarations=c,Z}function t_e(n,a){return n.objectFlags&8?n_e(n,a):Fy(n,a)}function n_e(n,a){var c,p,h,v;if(!(n.combinedFlags&14))return Fy(n,a);if(n.combinedFlags&8){const ht=lo(a,(Dt,en)=>!!(n.elementFlags[en]&8&&Dt.flags&1179648));if(ht>=0)return o5(Gt(a,(Dt,en)=>n.elementFlags[en]&8?Dt:At))?Al(a[ht],Dt=>n_e(n,XB(a,ht,Dt))):rt}const I=[],w=[],U=[];let H=-1,Z=-1,Ee=-1;for(let ht=0;ht<a.length;ht++){const Dt=a[ht],en=n.elementFlags[ht];if(en&8)if(Dt.flags&1)Ye(Dt,4,(c=n.labeledElementDeclarations)==null?void 0:c[ht]);else if(Dt.flags&58982400||mp(Dt))Ye(Dt,8,(p=n.labeledElementDeclarations)==null?void 0:p[ht]);else if(Xa(Dt)){const Sn=IE(Dt);if(Sn.length+I.length>=1e4)return Ze(R,Yh(R)?f.Type_produces_a_tuple_type_that_is_too_large_to_represent:f.Expression_produces_a_tuple_type_that_is_too_large_to_represent),rt;Xe(Sn,(Zn,yr)=>{var xn;return Ye(Zn,Dt.target.elementFlags[yr],(xn=Dt.target.labeledElementDeclarations)==null?void 0:xn[yr])})}else Ye(Jv(Dt)&&HT(Dt,jt)||rt,4,(h=n.labeledElementDeclarations)==null?void 0:h[ht]);else Ye(Dt,en,(v=n.labeledElementDeclarations)==null?void 0:v[ht])}for(let ht=0;ht<H;ht++)w[ht]&2&&(w[ht]=1);Z>=0&&Z<Ee&&(I[Z]=_i(Ui(I.slice(Z,Ee+1),(ht,Dt)=>w[Z+Dt]&8?$p(ht,jt):ht)),I.splice(Z+1,Ee-Z),w.splice(Z+1,Ee-Z),U.splice(Z+1,Ee-Z));const Te=e_e(w,n.readonly,U);return Te===nn?Ma:w.length?Fy(Te,I):Te;function Ye(ht,Dt,en){Dt&1&&(H=w.length),Dt&4&&Z<0&&(Z=w.length),Dt&6&&(Ee=w.length),I.push(Dt&2?fu(ht,!0):ht),w.push(Dt),U.push(en)}}function IL(n,a,c=0){const p=n.target,h=Hv(n)-c;return a>p.fixedLength?jut(n)||ig(se):ig(cl(n).slice(a,h),p.elementFlags.slice(a,h),!1,p.labeledElementDeclarations&&p.labeledElementDeclarations.slice(a,h))}function gWe(n){return _i(jn(nZ(n.target.fixedLength,a=>Ip(""+a)),x_(n.target.readonly?ja:ts)))}function rdt(n,a){const c=lo(n.elementFlags,p=>!(p&a));return c>=0?c:n.elementFlags.length}function O8(n,a){return n.elementFlags.length-Ys(n.elementFlags,c=>!(c&a))-1}function r_e(n){return n.fixedLength+O8(n,3)}function IE(n){const a=cl(n),c=Hv(n);return a.length===c?a:a.slice(0,c)}function idt(n){return fu(Yi(n.type),!0)}function pd(n){return n.id}function Yg(n,a){return rb(n,a,pd,Js)>=0}function i5(n,a){const c=rb(n,a,pd,Js);return c<0?(n.splice(~c,0,a),!0):!1}function odt(n,a,c){const p=c.flags;if(!(p&131072))if(a|=p&473694207,p&465829888&&(a|=33554432),p&2097152&&qr(c)&67108864&&(a|=536870912),c===Nt&&(a|=8388608),mr(c)&&(a|=1073741824),!re&&p&98304)qr(c)&65536||(a|=4194304);else{const h=n.length,v=h&&c.id>n[h-1].id?~h:rb(n,c,pd,Js);v<0&&n.splice(~v,0,c)}return a}function yWe(n,a,c){let p;for(const h of c)h!==p&&(a=h.flags&1048576?yWe(n,a|(udt(h)?1048576:0),h.types):odt(n,a,h),p=h);return a}function adt(n,a){var c;if(n.length<2)return n;const p=wm(n),h=Pn.get(p);if(h)return h;const v=a&&bt(n,H=>!!(H.flags&524288)&&!mp(H)&&R_e(Nh(H))),I=n.length;let w=I,U=0;for(;w>0;){w--;const H=n[w];if(v||H.flags&469499904){if(H.flags&262144&&I_(H).flags&1048576){R_(H,_i(Gt(n,Te=>Te===H?vn:Te)),hl)&&lb(n,w);continue}const Z=H.flags&61603840?_n(Es(H),Te=>Ph(gr(Te))):void 0,Ee=Z&&Pu(gr(Z));for(const Te of n)if(H!==Te){if(U===1e5&&U/(I-w)*I>1e6){(c=Ar)==null||c.instant(Ar.Phase.CheckTypes,"removeSubtypes_DepthLimit",{typeIds:n.map(ht=>ht.id)}),Ze(R,f.Expression_produces_a_union_type_that_is_too_complex_to_represent);return}if(U++,Z&&Te.flags&61603840){const Ye=yn(Te,Z.escapedName);if(Ye&&Ph(Ye)&&Pu(Ye)!==Ee)continue}if(R_(H,Te,hl)&&(!(qr(zn(H))&1)||!(qr(zn(Te))&1)||YT(H,Te))){lb(n,w);break}}}}return Pn.set(p,n),n}function sdt(n,a,c){let p=n.length;for(;p>0;){p--;const h=n[p],v=h.flags;(v&402653312&&a&4||v&256&&a&8||v&2048&&a&64||v&8192&&a&4096||c&&v&32768&&a&16384||RE(h)&&Yg(n,h.regularType))&&lb(n,p)}}function ldt(n){const a=Fn(n,xA);if(a.length){let c=n.length;for(;c>0;){c--;const p=n[c];p.flags&128&&bt(a,h=>cdt(p,h))&&lb(n,c)}}}function cdt(n,a){return a.flags&134217728?QY(n,a):$Y(n,a)}function ddt(n){const a=[];for(const c of n)if(c.flags&2097152&&qr(c)&67108864){const p=c.types[0].flags&8650752?0:1;wf(a,c.types[p])}for(const c of a){const p=[];for(const v of n)if(v.flags&2097152&&qr(v)&67108864){const I=v.types[0].flags&8650752?0:1;v.types[I]===c&&i5(p,v.types[1-I])}const h=Md(c);if(xp(h,v=>Yg(p,v))){let v=n.length;for(;v>0;){v--;const I=n[v];if(I.flags&2097152&&qr(I)&67108864){const w=I.types[0].flags&8650752?0:1;I.types[w]===c&&Yg(p,I.types[1-w])&&lb(n,v)}}i5(n,c)}}}function udt(n){return!!(n.flags&1048576&&(n.aliasSymbol||n.origin))}function vWe(n,a){for(const c of a)if(c.flags&1048576){const p=c.origin;c.aliasSymbol||p&&!(p.flags&1048576)?wf(n,c):p&&p.flags&1048576&&vWe(n,p.types)}}function i_e(n,a){const c=xo(n);return c.types=a,c}function _i(n,a=1,c,p,h){if(n.length===0)return vn;if(n.length===1)return n[0];if(n.length===2&&!h&&(n[0].flags&1048576||n[1].flags&1048576)){const v=a===0?"N":a===2?"S":"L",I=n[0].id<n[1].id?0:1,w=n[I].id+v+n[1-I].id+AA(c,p);let U=Ur.get(w);return U||(U=bWe(n,a,c,p,void 0),Ur.set(w,U)),U}return bWe(n,a,c,p,h)}function bWe(n,a,c,p,h){let v=[];const I=yWe(v,0,n);if(a!==0){if(I&3)return I&1?I&8388608?Nt:I&1073741824?rt:He:At;if(I&32768&&v.length>=2&&v[0]===ye&&v[1]===xe&&lb(v,1),(I&402664352||I&16384&&I&32768)&&sdt(v,I,!!(a&2)),I&128&&I&402653184&&ldt(v),I&536870912&&ddt(v),a===2&&(v=adt(v,!!(I&524288)),!v))return rt;if(v.length===0)return I&65536?I&4194304?$t:Pe:I&32768?I&4194304?ye:B:vn}if(!h&&I&1048576){const U=[];vWe(U,n);const H=[];for(const Ee of v)bt(U,Te=>Yg(Te.types,Ee))||H.push(Ee);if(!c&&U.length===1&&H.length===0)return U[0];if(yu(U,(Ee,Te)=>Ee+Te.types.length,0)+H.length===v.length){for(const Ee of U)i5(H,Ee);h=i_e(1048576,H)}}const w=(I&36323331?0:32768)|(I&2097152?16777216:0);return a_e(v,w,c,p,h)}function pdt(n,a){let c;const p=[];for(const v of n){const I=om(v);if(I){if(I.kind!==0&&I.kind!==1||c&&!o_e(c,I))return;c=I,p.push(I.type)}else{const w=a!==2097152?hs(v):void 0;if(w!==$n&&w!==fr)return}}if(!c)return;const h=z8e(p,a);return L8(c.kind,c.parameterName,c.parameterIndex,h)}function o_e(n,a){return n.kind===a.kind&&n.parameterIndex===a.parameterIndex}function a_e(n,a,c,p,h){if(n.length===0)return vn;if(n.length===1)return n[0];const I=(h?h.flags&1048576?"|".concat(wm(h.types)):h.flags&2097152?"&".concat(wm(h.types)):"#".concat(h.type.id,"|").concat(wm(n)):wm(n))+AA(c,p);let w=Cr.get(I);return w||(w=vi(1048576),w.objectFlags=a|e5(n,98304),w.types=n,w.origin=h,w.aliasSymbol=c,w.aliasTypeArguments=p,n.length===2&&n[0].flags&512&&n[1].flags&512&&(w.flags|=16,w.intrinsicName="boolean"),Cr.set(I,w)),w}function fdt(n){const a=Vr(n);if(!a.resolvedType){const c=oR(n);a.resolvedType=_i(Gt(n.types,Yi),1,c,qC(c))}return a.resolvedType}function mdt(n,a,c){const p=c.flags;return p&2097152?TWe(n,a,c.types):(og(c)?a&16777216||(a|=16777216,n.set(c.id.toString(),c)):(p&3?(c===Nt&&(a|=8388608),mr(c)&&(a|=1073741824)):(re||!(p&98304))&&(c===xe&&(a|=262144,c=ye),n.has(c.id.toString())||(c.flags&109472&&a&109472&&(a|=67108864),n.set(c.id.toString(),c))),a|=p&473694207),a)}function TWe(n,a,c){for(const p of c)a=mdt(n,a,Pu(p));return a}function hdt(n,a){let c=n.length;for(;c>0;){c--;const p=n[c];(p.flags&4&&a&402653312||p.flags&8&&a&256||p.flags&64&&a&2048||p.flags&4096&&a&8192||p.flags&16384&&a&32768||og(p)&&a&470302716)&&lb(n,c)}}function _dt(n,a){for(const c of n)if(!Yg(c.types,a)){if(a===xe)return Yg(c.types,ye);if(a===ye)return Yg(c.types,xe);const p=a.flags&128?yt:a.flags&288?jt:a.flags&2048?or:a.flags&8192?Yt:void 0;if(!p||!Yg(c.types,p))return!1}return!0}function gdt(n){let a=n.length;const c=Fn(n,p=>!!(p.flags&128));for(;a>0;){a--;const p=n[a];if(p.flags&402653184){for(const h of c)if(CE(h,p)){lb(n,a);break}else if(xA(p))return!0}}return!1}function SWe(n,a){for(let c=0;c<n.length;c++)n[c]=Tc(n[c],p=>!(p.flags&a))}function ydt(n){let a;const c=lo(n,I=>!!(qr(I)&32768));if(c<0)return!1;let p=c+1;for(;p<n.length;){const I=n[p];qr(I)&32768?((a||(a=[n[c]])).push(I),lb(n,p)):p++}if(!a)return!1;const h=[],v=[];for(const I of a)for(const w of I.types)if(i5(h,w)&&_dt(a,w)){if(w===ye&&v.length&&v[0]===xe)continue;if(w===xe&&v.length&&v[0]===ye){v[0]=xe;continue}i5(v,w)}return n[c]=a_e(v,32768),!0}function vdt(n,a,c,p){const h=vi(2097152);return h.objectFlags=a|e5(n,98304),h.types=n,h.aliasSymbol=c,h.aliasTypeArguments=p,h}function La(n,a=0,c,p){const h=new Map,v=TWe(h,0,n),I=Mo(h.values());let w=0;if(v&131072)return Vn(I,Ft)?Ft:vn;if(re&&v&98304&&v&84410368||v&67108864&&v&402783228||v&402653316&&v&67238776||v&296&&v&469891796||v&2112&&v&469889980||v&12288&&v&469879804||v&49152&&v&469842940||v&402653184&&v&128&&gdt(I))return vn;if(v&1)return v&8388608?Nt:v&1073741824?rt:He;if(!re&&v&98304)return v&16777216?vn:v&32768?ye:$t;if((v&4&&v&402653312||v&8&&v&256||v&64&&v&2048||v&4096&&v&8192||v&16384&&v&32768||v&16777216&&v&470302716)&&(a&1||hdt(I,v)),v&262144&&(I[I.indexOf(ye)]=xe),I.length===0)return At;if(I.length===1)return I[0];if(I.length===2&&!(a&2)){const Z=I[0].flags&8650752?0:1,Ee=I[Z],Te=I[1-Z];if(Ee.flags&8650752&&(Te.flags&469893116&&!LWe(Te)||v&16777216)){const Ye=Md(Ee);if(Ye&&xp(Ye,ht=>!!(ht.flags&469893116)||og(ht))){if(xL(Ye,Te))return Ee;if(!(Ye.flags&1048576&&cm(Ye,ht=>xL(ht,Te)))&&!xL(Te,Ye))return vn;w=67108864}}}const U=wm(I)+(a&2?"*":AA(c,p));let H=Qe.get(U);if(!H){if(v&1048576)if(ydt(I))H=La(I,a,c,p);else if(Gn(I,Z=>!!(Z.flags&1048576&&Z.types[0].flags&32768))){const Z=bt(I,J8)?xe:ye;SWe(I,32768),H=_i([La(I,a),Z],1,c,p)}else if(Gn(I,Z=>!!(Z.flags&1048576&&(Z.types[0].flags&65536||Z.types[1].flags&65536))))SWe(I,65536),H=_i([La(I,a),$t],1,c,p);else if(I.length>=3&&n.length>2){const Z=Math.floor(I.length/2);H=La([La(I.slice(0,Z),a),La(I.slice(Z),a)],a,c,p)}else{if(!o5(I))return rt;const Z=bdt(I,a),Ee=bt(Z,Te=>!!(Te.flags&2097152))&&s_e(Z)>s_e(I)?i_e(2097152,I):void 0;H=_i(Z,1,c,p,Ee)}else H=vdt(I,w,c,p);Qe.set(U,H)}return H}function EWe(n){return yu(n,(a,c)=>c.flags&1048576?a*c.types.length:c.flags&131072?0:a,1)}function o5(n){var a;const c=EWe(n);return c>=1e5?((a=Ar)==null||a.instant(Ar.Phase.CheckTypes,"checkCrossProductUnion_DepthLimit",{typeIds:n.map(p=>p.id),size:c}),Ze(R,f.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1):!0}function bdt(n,a){const c=EWe(n),p=[];for(let h=0;h<c;h++){const v=n.slice();let I=h;for(let U=n.length-1;U>=0;U--)if(n[U].flags&1048576){const H=n[U].types,Z=H.length;v[U]=H[I%Z],I=Math.floor(I/Z)}const w=La(v,a);w.flags&131072||p.push(w)}return p}function AWe(n){return!(n.flags&3145728)||n.aliasSymbol?1:n.flags&1048576&&n.origin?AWe(n.origin):s_e(n.types)}function s_e(n){return yu(n,(a,c)=>a+AWe(c),0)}function Tdt(n){const a=Vr(n);if(!a.resolvedType){const c=oR(n),p=Gt(n.types,Yi),h=p.length===2?p.indexOf(ga):-1,v=h>=0?p[1-h]:At,I=!!(v.flags&76||v.flags&134217728&&xA(v));a.resolvedType=La(p,I?1:0,c,qC(c))}return a.resolvedType}function IWe(n,a){const c=vi(4194304);return c.type=n,c.indexFlags=a,c}function Sdt(n){const a=xo(4194304);return a.type=n,a}function xWe(n,a){return a&1?n.resolvedStringIndexType||(n.resolvedStringIndexType=IWe(n,1)):n.resolvedIndexType||(n.resolvedIndexType=IWe(n,0))}function RWe(n,a){const c=th(n),p=Cf(n),h=Vv(n.target||n);if(!h&&!(a&2))return p;const v=[];if(DA(p)){if(BC(n))return xWe(n,a);OA(p,w)}else if(BC(n)){const U=Mu(UT(n));Dhe(U,8576,!!(a&1),w)}else OA(Xz(p),w);const I=a&2?Tc(_i(v),U=>!(U.flags&5)):_i(v);if(I.flags&1048576&&p.flags&1048576&&wm(I.types)===wm(p.types))return p;return I;function w(U){const H=h?oo(h,z8(n.mapper,c,U)):U;v.push(H===yt?kt:H)}}function Edt(n){const a=th(n);return c(Vv(n)||a);function c(p){return p.flags&470810623?!0:p.flags&16777216?p.root.isDistributive&&p.checkType===a:p.flags&137363456?Gn(p.types,c):p.flags&8388608?c(p.objectType)&&c(p.indexType):p.flags&33554432?c(p.baseType)&&c(p.constraint):p.flags&268435456?c(p.type):!1}}function zy(n){if(to(n))return vn;if(ip(n))return Pu(yo(n));if(Ea(n))return Pu(nh(n));const a=d1(n);return a!==void 0?Ip(Bi(a)):Et(n)?Pu(yo(n)):vn}function rR(n,a,c){if(c||!(jf(n)&6)){let p=Kr(lY(n)).nameType;if(!p){const h=Fo(n.valueDeclaration);p=n.escapedName==="default"?Ip("default"):h&&zy(h)||(lM(n)?void 0:Ip(Ol(n)))}if(p&&p.flags&a)return p}return vn}function DWe(n,a){return!!(n.flags&a||n.flags&2097152&&bt(n.types,c=>DWe(c,a)))}function Adt(n,a,c){const p=c&&(qr(n)&7||n.aliasSymbol)?Sdt(n):void 0,h=Gt(Es(n),I=>rR(I,a)),v=Gt(Yd(n),I=>I!==Zi&&DWe(I.keyType,a)?I.keyType===yt&&a&8?kt:I.keyType:vn);return _i(co(h,v),1,void 0,void 0,p)}function l_e(n,a=0){return!!(n.flags&58982400||g0(n)||mp(n)&&(!Edt(n)||N8(n)===2)||n.flags&1048576&&!(a&4)&&khe(n)||n.flags&2097152&&nc(n,465829888)&&bt(n.types,og))}function x_(n,a=0){return n=km(n),UC(n)?jhe(x_(n.baseType,a)):l_e(n,a)?xWe(n,a):n.flags&1048576?La(Gt(n.types,c=>x_(c,a))):n.flags&2097152?_i(Gt(n.types,c=>x_(c,a))):qr(n)&32?RWe(n,a):n===Nt?Nt:n.flags&2?vn:n.flags&131073?ti:Adt(n,(a&2?128:402653316)|(a&1?0:12584),a===0)}function CWe(n){const a=zct();return a?jC(a,[n,yt]):yt}function Idt(n){const a=CWe(x_(n));return a.flags&131072?yt:a}function xdt(n){const a=Vr(n);if(!a.resolvedType)switch(n.operator){case 143:a.resolvedType=x_(Yi(n.type));break;case 158:a.resolvedType=n.type.kind===155?g_e(xk(n.parent)):rt;break;case 148:a.resolvedType=Yi(n.type);break;default:C.assertNever(n.operator)}return a.resolvedType}function Rdt(n){const a=Vr(n);return a.resolvedType||(a.resolvedType=IA([n.head.text,...Gt(n.templateSpans,c=>c.literal.text)],Gt(n.templateSpans,c=>Yi(c.type)))),a.resolvedType}function IA(n,a){const c=lo(a,H=>!!(H.flags&1179648));if(c>=0)return o5(a)?Al(a[c],H=>IA(n,XB(a,c,H))):rt;if(Vn(a,Nt))return Nt;const p=[],h=[];let v=n[0];if(!U(n,a))return yt;if(p.length===0)return Ip(v);if(h.push(v),Gn(h,H=>H==="")){if(Gn(p,H=>!!(H.flags&4)))return yt;if(p.length===1&&xA(p[0]))return p[0]}const I="".concat(wm(p),"|").concat(Gt(h,H=>H.length).join(","),"|").concat(h.join(""));let w=Ki.get(I);return w||Ki.set(I,w=Cdt(h,p)),w;function U(H,Z){for(let Ee=0;Ee<Z.length;Ee++){const Te=Z[Ee];if(Te.flags&101248)v+=Ddt(Te)||"",v+=H[Ee+1];else if(Te.flags&134217728){if(v+=Te.texts[0],!U(Te.texts,Te.types))return!1;v+=H[Ee+1]}else if(DA(Te)||a5(Te))p.push(Te),h.push(v),v=H[Ee+1];else return!1}return!0}}function Ddt(n){return n.flags&128?n.value:n.flags&256?""+n.value:n.flags&2048?wS(n.value):n.flags&98816?n.intrinsicName:void 0}function Cdt(n,a){const c=vi(134217728);return c.texts=n,c.types=a,c}function iR(n,a){return a.flags&1179648?Al(a,c=>iR(n,c)):a.flags&128?Ip(NWe(n,a.value)):a.flags&134217728?IA(...Ndt(n,a.texts,a.types)):a.flags&268435456&&n===a.symbol?a:a.flags&268435461||DA(a)?MWe(n,a):a5(a)?MWe(n,IA(["",""],[a])):a}function NWe(n,a){switch(jU.get(n.escapedName)){case 0:return a.toUpperCase();case 1:return a.toLowerCase();case 2:return a.charAt(0).toUpperCase()+a.slice(1);case 3:return a.charAt(0).toLowerCase()+a.slice(1)}return a}function Ndt(n,a,c){switch(jU.get(n.escapedName)){case 0:return[a.map(p=>p.toUpperCase()),c.map(p=>iR(n,p))];case 1:return[a.map(p=>p.toLowerCase()),c.map(p=>iR(n,p))];case 2:return[a[0]===""?a:[a[0].charAt(0).toUpperCase()+a[0].slice(1),...a.slice(1)],a[0]===""?[iR(n,c[0]),...c.slice(1)]:c];case 3:return[a[0]===""?a:[a[0].charAt(0).toLowerCase()+a[0].slice(1),...a.slice(1)],a[0]===""?[iR(n,c[0]),...c.slice(1)]:c]}return[a,c]}function MWe(n,a){const c="".concat(Aa(n),",").concat(pd(a));let p=Zo.get(c);return p||Zo.set(c,p=Mdt(n,a)),p}function Mdt(n,a){const c=Ni(268435456,n);return c.type=a,c}function Pdt(n,a,c,p,h){const v=vi(8388608);return v.objectType=n,v.indexType=a,v.accessFlags=c,v.aliasSymbol=p,v.aliasTypeArguments=h,v}function W8(n){if(Ae)return!1;if(qr(n)&4096)return!0;if(n.flags&1048576)return Gn(n.types,W8);if(n.flags&2097152)return bt(n.types,W8);if(n.flags&465829888){const a=Mhe(n);return a!==n&&W8(a)}return!1}function AY(n,a){return Uf(n)?Hf(n):a&&yc(a)?d1(a):void 0}function c_e(n,a){if(a.flags&8208){const c=Rn(n.parent,p=>!Qs(p))||n.parent;return gS(c)?qh(c)&&Je(n)&&jFe(c,n):Gn(a.declarations,p=>!Yo(p)||Sh(p))}return!0}function PWe(n,a,c,p,h,v){var H;const I=h&&h.kind===213?h:void 0,w=h&&to(h)?void 0:AY(c,h);if(w!==void 0){if(v&256)return eS(a,w)||He;const Z=xa(a,w);if(Z){if(v&64&&h&&Z.declarations&&Cu(Z)&&c_e(h,Z)){const Te=(H=I==null?void 0:I.argumentExpression)!=null?H:BS(h)?h.indexType:h;Pm(Te,Z.declarations,w)}if(I){if(B5(Z,I,d4e(I.expression,a.symbol)),Q4e(I,Z,Ab(I))){Ze(I.argumentExpression,f.Cannot_assign_to_0_because_it_is_a_read_only_property,uo(Z));return}if(v&8&&(Vr(h).resolvedSymbol=Z),n4e(I,Z))return Ct}const Ee=v&4?Gv(Z):gr(Z);return I&&Ab(I)!==1?Jy(I,Ee):h&&BS(h)&&J8(Ee)?_i([Ee,ye]):Ee}if(xp(a,Xa)&&Rg(w)){const Ee=+w;if(h&&xp(a,Te=>!(Te.target.combinedFlags&12))&&!(v&16)){const Te=d_e(h);if(Xa(a)){if(Ee<0)return Ze(Te,f.A_tuple_type_cannot_be_indexed_with_a_negative_value),ye;Ze(Te,f.Tuple_type_0_of_length_1_has_no_element_at_index_2,sr(a),Hv(a),Bi(w))}else Ze(Te,f.Property_0_does_not_exist_on_type_1,Bi(w),sr(a))}if(Ee>=0)return U(Kg(a,jt)),SFe(a,Ee,v&1?xe:void 0)}}if(!(c.flags&98304)&&Pd(c,402665900)){if(a.flags&131073)return a;const Z=M8(a,c)||Kg(a,yt);if(Z){if(v&2&&Z.keyType!==jt){I&&(v&4?Ze(I,f.Type_0_is_generic_and_can_only_be_indexed_for_reading,sr(n)):Ze(I,f.Type_0_cannot_be_used_to_index_type_1,sr(c),sr(n)));return}if(h&&Z.keyType===yt&&!Pd(c,12)){const Ee=d_e(h);return Ze(Ee,f.Type_0_cannot_be_used_as_an_index_type,sr(c)),v&1?_i([Z.type,xe]):Z.type}return U(Z),v&1&&!(a.symbol&&a.symbol.flags&384&&c.symbol&&c.flags&1024&&Xc(c.symbol)===a.symbol)?_i([Z.type,xe]):Z.type}if(c.flags&131072)return vn;if(W8(a))return He;if(I&&!P$(a)){if(Kv(a)){if(Ae&&c.flags&384)return ns.add(Sr(I,f.Property_0_does_not_exist_on_type_1,c.value,sr(a))),ye;if(c.flags&12){const Ee=Gt(a.properties,Te=>gr(Te));return _i(jn(Ee,ye))}}if(a.symbol===De&&w!==void 0&&De.exports.has(w)&&De.exports.get(w).flags&418)Ze(I,f.Property_0_does_not_exist_on_type_1,Bi(w),sr(a));else if(Ae&&!(v&128))if(w!==void 0&&o4e(w,a)){const Ee=sr(a);Ze(I,f.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,w,Ee,Ee+"["+Rl(I.argumentExpression)+"]")}else if(HT(a,jt))Ze(I.argumentExpression,f.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{let Ee;if(w!==void 0&&(Ee=l4e(w,a)))Ee!==void 0&&Ze(I.argumentExpression,f.Property_0_does_not_exist_on_type_1_Did_you_mean_2,w,sr(a),Ee);else{const Te=zmt(a,I,c);if(Te!==void 0)Ze(I,f.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,sr(a),Te);else{let Ye;if(c.flags&1024)Ye=Ko(void 0,f.Property_0_does_not_exist_on_type_1,"["+sr(c)+"]",sr(a));else if(c.flags&8192){const ht=wv(c.symbol,I);Ye=Ko(void 0,f.Property_0_does_not_exist_on_type_1,"["+ht+"]",sr(a))}else c.flags&128||c.flags&256?Ye=Ko(void 0,f.Property_0_does_not_exist_on_type_1,c.value,sr(a)):c.flags&12&&(Ye=Ko(void 0,f.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,sr(c),sr(a)));Ye=Ko(Ye,f.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,sr(p),sr(a)),ns.add(vg(On(I),I,Ye))}}}return}}if(v&16&&Kv(a))return ye;if(W8(a))return He;if(h){const Z=d_e(h);if(Z.kind!==10&&c.flags&384)Ze(Z,f.Property_0_does_not_exist_on_type_1,""+c.value,sr(a));else if(c.flags&12)Ze(Z,f.Type_0_has_no_matching_index_signature_for_type_1,sr(a),sr(c));else{const Ee=Z.kind===10?"bigint":sr(c);Ze(Z,f.Type_0_cannot_be_used_as_an_index_type,Ee)}}if(Or(c))return c;return;function U(Z){Z&&Z.isReadonly&&I&&(Ib(I)||KG(I))&&Ze(I,f.Index_signature_in_type_0_only_permits_reading,sr(a))}}function d_e(n){return n.kind===213?n.argumentExpression:n.kind===200?n.indexType:n.kind===168?n.expression:n}function a5(n){if(n.flags&2097152){let a=!1;for(const c of n.types)if(c.flags&101248||a5(c))a=!0;else if(!(c.flags&524288))return!1;return a}return!!(n.flags&77)||xA(n)}function xA(n){return!!(n.flags&134217728)&&Gn(n.types,a5)||!!(n.flags&268435456)&&a5(n.type)}function LWe(n){return!!(n.flags&402653184)&&!xA(n)}function KT(n){return!!F8(n)}function RA(n){return!!(F8(n)&4194304)}function DA(n){return!!(F8(n)&8388608)}function F8(n){return n.flags&3145728?(n.objectFlags&2097152||(n.objectFlags|=2097152|yu(n.types,(a,c)=>a|F8(c),0)),n.objectFlags&12582912):n.flags&33554432?(n.objectFlags&2097152||(n.objectFlags|=2097152|F8(n.baseType)|F8(n.constraint)),n.objectFlags&12582912):(n.flags&58982400||mp(n)||g0(n)?4194304:0)|(n.flags&63176704||LWe(n)?8388608:0)}function By(n,a){return n.flags&8388608?kdt(n,a):n.flags&16777216?wdt(n,a):n}function kWe(n,a,c){if(n.flags&1048576||n.flags&2097152&&!l_e(n)){const p=Gt(n.types,h=>By($p(h,a),c));return n.flags&2097152||c?La(p):_i(p)}}function Ldt(n,a,c){if(a.flags&1048576){const p=Gt(a.types,h=>By($p(n,h),c));return c?La(p):_i(p)}}function kdt(n,a){const c=a?"simplifiedForWriting":"simplifiedForReading";if(n[c])return n[c]===lc?n:n[c];n[c]=lc;const p=By(n.objectType,a),h=By(n.indexType,a),v=Ldt(p,h,a);if(v)return n[c]=v;if(!(h.flags&465829888)){const I=kWe(p,h,a);if(I)return n[c]=I}if(g0(p)&&h.flags&296){const I=CL(p,h.flags&8?0:p.target.fixedLength,0,a);if(I)return n[c]=I}return mp(p)&&N8(p)!==2?n[c]=Al(IY(p,n.indexType),I=>By(I,a)):n[c]=n}function wdt(n,a){const c=n.checkType,p=n.extendsType,h=h0(n),v=_0(n);if(v.flags&131072&&Gy(h)===Gy(c)){if(c.flags&1||da(MA(c),MA(p)))return By(h,a);if(wWe(c,p))return vn}else if(h.flags&131072&&Gy(v)===Gy(c)){if(!(c.flags&1)&&da(MA(c),MA(p)))return vn;if(c.flags&1||wWe(c,p))return By(v,a)}return n}function wWe(n,a){return!!(_i([Kz(n,a),vn]).flags&131072)}function IY(n,a){const c=Qp([th(n)],[a]),p=XT(n.mapper,c),h=oo(Jg(n.target||n),p),v=A8e(n)>0||(KT(n)?yL(UT(n))>0:Odt(n,a));return fu(h,!0,v)}function Odt(n,a){const c=Md(a);return!!c&&bt(Es(n),p=>!!(p.flags&16777216)&&da(rR(p,8576),c))}function $p(n,a,c=0,p,h,v){return m0(n,a,c,p,h,v)||(p?rt:At)}function OWe(n,a){return xp(n,c=>{if(c.flags&384){const p=Hf(c);if(Rg(p)){const h=+p;return h>=0&&h<a}}return!1})}function m0(n,a,c=0,p,h,v){if(n===Nt||a===Nt)return Nt;if(n=km(n),lFe(n)&&!(a.flags&98304)&&Pd(a,12)&&(a=yt),O.noUncheckedIndexedAccess&&c&32&&(c|=1),DA(a)||(p&&p.kind!==200?g0(n)&&!OWe(a,r_e(n.target)):RA(n)&&!(Xa(n)&&OWe(a,r_e(n.target)))||khe(n))){if(n.flags&3)return n;const w=c&1,U=n.id+","+a.id+","+w+AA(h,v);let H=di.get(U);return H||di.set(U,H=Pdt(n,a,w,h,v)),H}const I=vL(n);if(a.flags&1048576&&!(a.flags&16)){const w=[];let U=!1;for(const H of a.types){const Z=PWe(n,I,H,a,p,c|(U?128:0));if(Z)w.push(Z);else if(p)U=!0;else return}return U?void 0:c&4?La(w,0,h,v):_i(w,1,h,v)}return PWe(n,I,a,a,p,c|8|64)}function WWe(n){const a=Vr(n);if(!a.resolvedType){const c=Yi(n.objectType),p=Yi(n.indexType),h=oR(n);a.resolvedType=$p(c,p,0,n,h,qC(h))}return a.resolvedType}function u_e(n){const a=Vr(n);if(!a.resolvedType){const c=hc(32,n.symbol);c.declaration=n,c.aliasSymbol=oR(n),c.aliasTypeArguments=qC(c.aliasSymbol),a.resolvedType=c,Cf(c)}return a.resolvedType}function Gy(n){return n.flags&33554432?Gy(n.baseType):n.flags&8388608&&(n.objectType.flags&33554432||n.indexType.flags&33554432)?$p(Gy(n.objectType),Gy(n.indexType)):n}function FWe(n){return JI(n)&&et(n.elements)>0&&!bt(n.elements,a=>b4(a)||T4(a)||SD(a)&&!!(a.questionToken||a.dotDotDotToken))}function zWe(n,a){return KT(n)||a&&Xa(n)&&bt(IE(n),KT)}function p_e(n,a,c,p,h){let v,I,w=0;for(;;){if(w===1e3)return Ze(R,f.Type_instantiation_is_excessively_deep_and_possibly_infinite),rt;const H=oo(Gy(n.checkType),a),Z=oo(n.extendsType,a);if(H===rt||Z===rt)return rt;if(H===Nt||Z===Nt)return Nt;const Ee=nM(n.node.checkType),Te=nM(n.node.extendsType),Ye=FWe(Ee)&&FWe(Te)&&et(Ee.elements)===et(Te.elements),ht=zWe(H,Ye);let Dt;if(n.inferTypeParameters){const Sn=X8(n.inferTypeParameters,void 0,0);a&&(Sn.nonFixingMapper=XT(Sn.nonFixingMapper,a)),ht||Qg(Sn.inferences,H,Z,1536),Dt=a?XT(Sn.mapper,a):Sn.mapper}const en=Dt?oo(n.extendsType,Dt):Z;if(!ht&&!zWe(en,Ye)){if(!(en.flags&3)&&(H.flags&1||!da(G8(H),G8(en)))){(H.flags&1||c&&!(en.flags&131072)&&cm(G8(en),Zn=>da(Zn,G8(H))))&&(I||(I=[])).push(oo(Yi(n.node.trueType),Dt||a));const Sn=Yi(n.node.falseType);if(Sn.flags&16777216){const Zn=Sn.root;if(Zn.node.parent===n.node&&(!Zn.isDistributive||Zn.checkType===n.checkType)){n=Zn;continue}if(U(Sn,a))continue}v=oo(Sn,a);break}if(en.flags&3||da(MA(H),MA(en))){const Sn=Yi(n.node.trueType),Zn=Dt||a;if(U(Sn,Zn))continue;v=oo(Sn,Zn);break}}v=vi(16777216),v.root=n,v.checkType=oo(n.checkType,a),v.extendsType=oo(n.extendsType,a),v.mapper=a,v.combinedMapper=Dt,v.aliasSymbol=p||n.aliasSymbol,v.aliasTypeArguments=p?h:Vy(n.aliasTypeArguments,a);break}return I?_i(jn(I,v)):v;function U(H,Z){if(H.flags&16777216&&Z){const Ee=H.root;if(Ee.outerTypeParameters){const Te=XT(H.mapper,Z),Ye=Gt(Ee.outerTypeParameters,en=>qv(en,Te)),ht=Qp(Ee.outerTypeParameters,Ye),Dt=Ee.isDistributive?qv(Ee.checkType,ht):void 0;if(!Dt||Dt===Ee.checkType||!(Dt.flags&1179648))return n=Ee,a=ht,p=void 0,h=void 0,Ee.aliasSymbol&&w++,!0}}return!1}}function h0(n){return n.resolvedTrueType||(n.resolvedTrueType=oo(Yi(n.root.node.trueType),n.mapper))}function _0(n){return n.resolvedFalseType||(n.resolvedFalseType=oo(Yi(n.root.node.falseType),n.mapper))}function Wdt(n){return n.resolvedInferredTrueType||(n.resolvedInferredTrueType=n.combinedMapper?oo(Yi(n.root.node.trueType),n.combinedMapper):h0(n))}function f_e(n){let a;return n.locals&&n.locals.forEach(c=>{c.flags&262144&&(a=jn(a,Xs(c)))}),a}function Fdt(n){return n.isDistributive&&(u5(n.checkType,n.node.trueType)||u5(n.checkType,n.node.falseType))}function zdt(n){const a=Vr(n);if(!a.resolvedType){const c=Yi(n.checkType),p=oR(n),h=qC(p),v=Mi(n,!0),I=h?v:Fn(v,U=>u5(U,n)),w={node:n,checkType:c,extendsType:Yi(n.extendsType),isDistributive:!!(c.flags&262144),inferTypeParameters:f_e(n),outerTypeParameters:I,instantiations:void 0,aliasSymbol:p,aliasTypeArguments:h};a.resolvedType=p_e(w,void 0,!1),I&&(w.instantiations=new Map,w.instantiations.set(wm(I),a.resolvedType))}return a.resolvedType}function Bdt(n){const a=Vr(n);return a.resolvedType||(a.resolvedType=jT(Fr(n.typeParameter))),a.resolvedType}function BWe(n){return Je(n)?[n]:jn(BWe(n.left),n.right)}function GWe(n){var a;const c=Vr(n);if(!c.resolvedType){if(!ly(n))return Ze(n.argument,f.String_literal_expected),c.resolvedSymbol=ie,c.resolvedType=rt;const p=n.isTypeOf?111551:n.flags&16777216?900095:788968,h=pu(n,n.argument.literal);if(!h)return c.resolvedSymbol=ie,c.resolvedType=rt;const v=!!((a=h.exports)!=null&&a.get("export=")),I=Ap(h,!1);if(Wl(n.qualifier))if(I.flags&p)c.resolvedType=VWe(n,c,I,p);else{const w=p===111551?f.Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:f.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0;Ze(n,w,n.argument.literal.text),c.resolvedSymbol=ie,c.resolvedType=rt}else{const w=BWe(n.qualifier);let U=I,H;for(;H=w.shift();){const Z=w.length?1920:p,Ee=os(mc(U)),Te=n.isTypeOf||Er(n)&&v?xa(gr(Ee),H.escapedText,!1,!0):void 0,Ye=n.isTypeOf?void 0:Td(Kp(Ee),H.escapedText,Z),ht=Ye!=null?Ye:Te;if(!ht)return Ze(H,f.Namespace_0_has_no_exported_member_1,wv(U),Fs(H)),c.resolvedType=rt;Vr(H).resolvedSymbol=ht,Vr(H.parent).resolvedSymbol=ht,U=ht}c.resolvedType=VWe(n,c,U,p)}}return c.resolvedType}function VWe(n,a,c,p){const h=mc(c);return a.resolvedSymbol=h,p===111551?F4e(gr(c),n):vY(n,h)}function jWe(n){const a=Vr(n);if(!a.resolvedType){const c=oR(n);if(!n.symbol||tg(n.symbol).size===0&&!c)a.resolvedType=ga;else{let p=hc(16,n.symbol);p.aliasSymbol=c,p.aliasTypeArguments=qC(c),R1(n)&&n.isArrayType&&(p=$d(p)),a.resolvedType=p}}return a.resolvedType}function oR(n){let a=n.parent;for(;b1(a)||nT(a)||X0(a)&&a.operator===148;)a=a.parent;return Ek(a)?Fr(a):void 0}function qC(n){return n?ua(n):void 0}function xY(n){return!!(n.flags&524288)&&!mp(n)}function m_e(n){return jy(n)||!!(n.flags&474058748)}function h_e(n,a){if(!(n.flags&1048576))return n;if(Gn(n.types,m_e))return _n(n.types,jy)||Ma;const c=_n(n.types,v=>!m_e(v));if(!c||_n(n.types,v=>v!==c&&!m_e(v)))return n;return h(c);function h(v){const I=ma();for(const U of Es(v))if(!(jf(U)&6)){if(RY(U)){const H=U.flags&65536&&!(U.flags&32768),Ee=Ua(16777220,U.escapedName,Rhe(U)|(a?8:0));Ee.links.type=H?ye:fu(gr(U),!0),Ee.declarations=U.declarations,Ee.links.nameType=Kr(U).nameType,Ee.links.syntheticOrigin=U,I.set(U.escapedName,Ee)}}const w=El(v.symbol,I,se,se,Yd(v));return w.objectFlags|=131200,w}}function xE(n,a,c,p,h){if(n.flags&1||a.flags&1)return He;if(n.flags&2||a.flags&2)return At;if(n.flags&131072)return a;if(a.flags&131072)return n;if(n=h_e(n,h),n.flags&1048576)return o5([n,a])?Al(n,H=>xE(H,a,c,p,h)):rt;if(a=h_e(a,h),a.flags&1048576)return o5([n,a])?Al(a,H=>xE(n,H,c,p,h)):rt;if(a.flags&473960444)return n;if(RA(n)||RA(a)){if(jy(n))return a;if(n.flags&2097152){const H=n.types,Z=H[H.length-1];if(xY(Z)&&xY(a))return La(co(H.slice(0,H.length-1),[xE(Z,a,c,p,h)]))}return La([n,a])}const v=ma(),I=new Set,w=n===Ma?Yd(a):v8e([n,a]);for(const H of Es(a))jf(H)&6?I.add(H.escapedName):RY(H)&&v.set(H.escapedName,__e(H,h));for(const H of Es(n))if(!(I.has(H.escapedName)||!RY(H)))if(v.has(H.escapedName)){const Z=v.get(H.escapedName),Ee=gr(Z);if(Z.flags&16777216){const Te=co(H.declarations,Z.declarations),Ye=4|H.flags&16777216,ht=Ua(Ye,H.escapedName),Dt=gr(H),en=HY(Dt),Sn=HY(Ee);ht.links.type=en===Sn?Dt:_i([Dt,Sn],2),ht.links.leftSpread=H,ht.links.rightSpread=Z,ht.declarations=Te,ht.links.nameType=Kr(H).nameType,v.set(H.escapedName,ht)}}else v.set(H.escapedName,__e(H,h));const U=El(c,v,se,se,Ui(w,H=>Gdt(H,h)));return U.objectFlags|=2228352|p,U}function RY(n){var a;return!bt(n.declarations,nu)&&(!(n.flags&106496)||!((a=n.declarations)!=null&&a.some(c=>hi(c.parent))))}function __e(n,a){const c=n.flags&65536&&!(n.flags&32768);if(!c&&a===Wh(n))return n;const p=4|n.flags&16777216,h=Ua(p,n.escapedName,Rhe(n)|(a?8:0));return h.links.type=c?ye:gr(n),h.declarations=n.declarations,h.links.nameType=Kr(n).nameType,h.links.syntheticOrigin=n,h}function Gdt(n,a){return n.isReadonly!==a?Xg(n.keyType,n.type,a,n.declaration,n.components):n}function s5(n,a,c,p){const h=Ni(n,c);return h.value=a,h.regularType=p||h,h}function aR(n){if(n.flags&2976){if(!n.freshType){const a=s5(n.flags,n.value,n.symbol,n);a.freshType=a,n.freshType=a}return n.freshType}return n}function Pu(n){return n.flags&2976?n.regularType:n.flags&1048576?n.regularType||(n.regularType=Al(n,Pu)):n}function RE(n){return!!(n.flags&2976)&&n.freshType===n}function Ip(n){let a;return It.get(n)||(It.set(n,a=s5(128,n)),a)}function Mh(n){let a;return hn.get(n)||(hn.set(n,a=s5(256,n)),a)}function l5(n){let a;const c=wS(n);return pr.get(c)||(pr.set(c,a=s5(2048,n)),a)}function Vdt(n,a,c){let p;const h="".concat(a).concat(typeof n=="string"?"@":"#").concat(n),v=1024|(typeof n=="string"?128:256);return oi.get(h)||(oi.set(h,p=s5(v,n,c)),p)}function jdt(n){if(n.literal.kind===106)return $t;const a=Vr(n);return a.resolvedType||(a.resolvedType=Pu(yo(n.literal))),a.resolvedType}function Udt(n){const a=Ni(8192,n);return a.escapedName="__@".concat(a.symbol.escapedName,"@").concat(Aa(a.symbol)),a}function g_e(n){if(Er(n)&&nT(n)){const a=IS(n);a&&(n=SI(a)||a)}if(une(n)){const a=JF(n)?Rf(n.left):Rf(n);if(a){const c=Kr(a);return c.uniqueESSymbolType||(c.uniqueESSymbolType=Udt(a))}}return Yt}function Hdt(n){const a=bu(n,!1,!1),c=a&&a.parent;if(c&&(hi(c)||c.kind===265)&&!ha(a)&&(!kl(a)||xS(n,a.body)))return im(Fr(c)).thisType;if(c&&za(c)&&Nr(c.parent)&&ac(c.parent)===6)return im(Rf(c.parent.left).parent).thisType;const p=n.flags&16777216?G0(n):void 0;return p&&Ks(p)&&Nr(p.parent)&&ac(p.parent)===3?im(Rf(p.parent.left).parent).thisType:C_(a)&&xS(n,a.body)?im(Fr(a)).thisType:(Ze(n,f.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface),rt)}function y_e(n){const a=Vr(n);return a.resolvedType||(a.resolvedType=Hdt(n)),a.resolvedType}function UWe(n){return Yi(c5(n.type)||n.type)}function c5(n){switch(n.kind){case 197:return c5(n.type);case 190:if(n.elements.length===1&&(n=n.elements[0],n.kind===192||n.kind===203&&n.dotDotDotToken))return c5(n.type);break;case 189:return n.elementType}}function qdt(n){const a=Vr(n);return a.resolvedType||(a.resolvedType=n.dotDotDotToken?UWe(n):fu(Yi(n.type),!0,!!n.questionToken))}function Yi(n){return Sct(HWe(n),n)}function HWe(n){switch(n.kind){case 133:case 313:case 314:return He;case 159:return At;case 154:return yt;case 150:return jt;case 163:return or;case 136:return zt;case 155:return Yt;case 116:return An;case 157:return ye;case 106:return $t;case 146:return vn;case 151:return n.flags&524288&&!Ae?He:tr;case 141:return Oe;case 198:case 110:return y_e(n);case 202:return jdt(n);case 184:return TY(n);case 183:return n.assertsModifier?An:zt;case 234:return TY(n);case 187:return Z8e(n);case 189:case 190:return edt(n);case 191:return idt(n);case 193:return fdt(n);case 194:return Tdt(n);case 315:return Ect(n);case 317:return fu(Yi(n.type));case 203:return qdt(n);case 197:case 316:case 310:return Yi(n.type);case 192:return UWe(n);case 319:return dvt(n);case 185:case 186:case 188:case 323:case 318:case 324:return jWe(n);case 199:return xdt(n);case 200:return WWe(n);case 201:return u_e(n);case 195:return zdt(n);case 196:return Bdt(n);case 204:return Rdt(n);case 206:return GWe(n);case 80:case 167:case 212:const a=dm(n);return a?Xs(a):rt;default:return rt}}function DY(n,a,c){if(n&&n.length)for(let p=0;p<n.length;p++){const h=n[p],v=c(h,a);if(h!==v){const I=p===0?[]:n.slice(0,p);for(I.push(v),p++;p<n.length;p++)I.push(c(n[p],a));return I}}return n}function Vy(n,a){return DY(n,a,oo)}function CY(n,a){return DY(n,a,NA)}function qWe(n,a){return DY(n,a,rut)}function Qp(n,a){return n.length===1?DE(n[0],a?a[0]:He):JWe(n,a)}function qv(n,a){switch(a.kind){case 0:return n===a.source?a.target:n;case 1:{const p=a.sources,h=a.targets;for(let v=0;v<p.length;v++)if(n===p[v])return h?h[v]:He;return n}case 2:{const p=a.sources,h=a.targets;for(let v=0;v<p.length;v++)if(n===p[v])return h[v]();return n}case 3:return a.func(n);case 4:case 5:const c=qv(n,a.mapper1);return c!==n&&a.kind===4?oo(c,a.mapper2):qv(c,a.mapper2)}}function DE(n,a){return C.attachDebugPrototypeIfDebug({kind:0,source:n,target:a})}function JWe(n,a){return C.attachDebugPrototypeIfDebug({kind:1,sources:n,targets:a})}function d5(n,a){return C.attachDebugPrototypeIfDebug({kind:3,func:n,debugInfo:C.isDebugging?a:void 0})}function v_e(n,a){return C.attachDebugPrototypeIfDebug({kind:2,sources:n,targets:a})}function NY(n,a,c){return C.attachDebugPrototypeIfDebug({kind:n,mapper1:a,mapper2:c})}function KWe(n){return Qp(n,void 0)}function Jdt(n,a){const c=n.inferences.slice(a);return Qp(Gt(c,p=>p.typeParameter),Gt(c,()=>At))}function Kdt(n){var a;return(a=n.outerReturnMapper)!=null?a:n.outerReturnMapper=XWe(n.returnMapper,DFe(n).mapper)}function XT(n,a){return n?NY(4,n,a):a}function XWe(n,a){return n?NY(5,n,a):a}function CA(n,a,c){return c?NY(5,DE(n,a),c):DE(n,a)}function z8(n,a,c){return n?NY(5,n,DE(a,c)):DE(a,c)}function Xdt(n){return!n.constraint&&!gY(n)||n.constraint===ql?n:n.restrictiveInstantiation||(n.restrictiveInstantiation=Hu(n.symbol),n.restrictiveInstantiation.constraint=ql,n.restrictiveInstantiation)}function b_e(n){const a=Hu(n.symbol);return a.target=n,a}function YWe(n,a){return L8(n.kind,n.parameterName,n.parameterIndex,oo(n.type,a))}function NA(n,a,c){let p;if(n.typeParameters&&!c){p=Gt(n.typeParameters,b_e),a=XT(Qp(n.typeParameters,p),a);for(const v of p)v.mapper=a}const h=A_(n.declaration,p,n.thisParameter&&T_e(n.thisParameter,a),DY(n.parameters,a,T_e),void 0,void 0,n.minArgumentCount,n.flags&167);return h.target=n,h.mapper=a,h}function T_e(n,a){const c=Kr(n);if(c.type&&!v0(c.type)&&(!(n.flags&65536)||c.writeType&&!v0(c.writeType)))return n;Fl(n)&1&&(n=c.target,a=XT(c.mapper,a));const p=Ua(n.flags,n.escapedName,1|Fl(n)&53256);return p.declarations=n.declarations,p.parent=n.parent,p.links.target=n,p.links.mapper=a,n.valueDeclaration&&(p.valueDeclaration=n.valueDeclaration),c.nameType&&(p.links.nameType=c.nameType),p}function Ydt(n,a,c,p){const h=n.objectFlags&4||n.objectFlags&8388608?n.node:n.symbol.declarations[0],v=Vr(h),I=n.objectFlags&4?v.resolvedType:n.objectFlags&64?n.target:n;let w=v.outerTypeParameters;if(!w){let U=Mi(h,!0);if(C_(h)){const Z=O8e(h);U=$r(U,Z)}w=U||se;const H=n.objectFlags&8388612?[h]:n.symbol.declarations;w=(I.objectFlags&8388612||I.symbol.flags&8192||I.symbol.flags&2048)&&!I.aliasTypeArguments?Fn(w,Z=>bt(H,Ee=>u5(Z,Ee))):w,v.outerTypeParameters=w}if(w.length){const U=XT(n.mapper,a),H=Gt(w,ht=>qv(ht,U)),Z=c||n.aliasSymbol,Ee=c?p:Vy(n.aliasTypeArguments,a),Te=wm(H)+AA(Z,Ee);I.instantiations||(I.instantiations=new Map,I.instantiations.set(wm(w)+AA(I.aliasSymbol,I.aliasTypeArguments),I));let Ye=I.instantiations.get(Te);if(!Ye){let ht=Qp(w,H);I.objectFlags&134217728&&a&&(ht=XT(ht,a)),Ye=I.objectFlags&4?Vhe(n.target,n.node,ht,Z,Ee):I.objectFlags&32?Qdt(I,ht,Z,Ee):S_e(I,ht,Z,Ee),I.instantiations.set(Te,Ye);const Dt=qr(Ye);if(Ye.flags&3899393&&!(Dt&524288)){const en=bt(H,v0);qr(Ye)&524288||(Dt&52?Ye.objectFlags|=524288|(en?1048576:0):Ye.objectFlags|=en?0:524288)}}return Ye}return n}function $dt(n){return!(n.parent.kind===184&&n.parent.typeArguments&&n===n.parent.typeName||n.parent.kind===206&&n.parent.typeArguments&&n===n.parent.qualifier)}function u5(n,a){if(n.symbol&&n.symbol.declarations&&n.symbol.declarations.length===1){const p=n.symbol.declarations[0].parent;for(let h=a;h!==p;h=h.parent)if(!h||h.kind===242||h.kind===195&&Xo(h.extendsType,c))return!0;return c(a)}return!0;function c(p){switch(p.kind){case 198:return!!n.isThisType;case 80:return!n.isThisType&&Yh(p)&&$dt(p)&&HWe(p)===n;case 187:const h=p.exprName,v=Ou(h);if(!Rb(v)){const I=mu(v),w=n.symbol.declarations[0],U=w.kind===169?w.parent:n.isThisType?w:void 0;if(I.declarations&&U)return bt(I.declarations,H=>xS(H,U))||bt(p.typeArguments,c)}return!0;case 175:case 174:return!p.type&&!!p.body||bt(p.typeParameters,c)||bt(p.parameters,c)||!!p.type&&c(p.type)}return!!Xo(p,c)}}function B8(n){const a=Cf(n);if(a.flags&4194304){const c=Gy(a.type);if(c.flags&262144)return c}}function Qdt(n,a,c,p){const h=B8(n);if(h){const I=oo(h,a);if(h!==I)return ZFe(km(I),v,c,p)}return oo(Cf(n),a)===Nt?Nt:S_e(n,a,c,p);function v(I){if(I.flags&61603843&&I!==Nt&&!mr(I)){if(!n.declaration.nameType){let w;if(sm(I)||I.flags&1&&ne(h,4)<0&&(w=Ju(h))&&xp(w,$T))return eut(I,n,CA(h,I,a));if(Xa(I))return Zdt(I,n,h,a);if(N8e(I))return La(Gt(I.types,v))}return S_e(n,CA(h,I,a))}return I}}function $We(n,a){return a&1?!0:a&2?!1:n}function Zdt(n,a,c,p){const h=n.target.elementFlags,v=n.target.fixedLength,I=v?CA(c,n,p):p,w=Gt(IE(n),(Ee,Te)=>{var ht;const Ye=h[Te];return Te<v?QWe(a,Ip(""+Te),!!(Ye&2),I):Ye&8?oo(a,CA(c,Ee,p)):(ht=v5(oo(a,CA(c,$d(Ee),p))))!=null?ht:At}),U=ng(a),H=U&4?Gt(h,Ee=>Ee&1?2:Ee):U&8?Gt(h,Ee=>Ee&2?1:Ee):h,Z=$We(n.target.readonly,ng(a));return Vn(w,rt)?rt:ig(w,H,Z,n.target.labeledElementDeclarations)}function eut(n,a,c){const p=QWe(a,jt,!0,c);return mr(p)?rt:$d(p,$We(RL(n),ng(a)))}function QWe(n,a,c,p){const h=z8(p,th(n),a),v=oo(Jg(n.target||n),h),I=ng(n);return re&&I&4&&!nc(v,49152)?y0(v,!0):re&&I&8&&c?lm(v,524288):v}function S_e(n,a,c,p){C.assert(n.symbol,"anonymous type must have symbol to be instantiated");const h=hc(n.objectFlags&-1572865|64,n.symbol);if(n.objectFlags&32){h.declaration=n.declaration;const v=th(n),I=b_e(v);h.typeParameter=I,a=XT(DE(v,I),a),I.mapper=a}return n.objectFlags&8388608&&(h.node=n.node),h.target=n,h.mapper=a,h.aliasSymbol=c||n.aliasSymbol,h.aliasTypeArguments=c?p:Vy(n.aliasTypeArguments,a),h.objectFlags|=h.aliasTypeArguments?e5(h.aliasTypeArguments):0,h}function E_e(n,a,c,p,h){const v=n.root;if(v.outerTypeParameters){const I=Gt(v.outerTypeParameters,H=>qv(H,a)),w=(c?"C":"")+wm(I)+AA(p,h);let U=v.instantiations.get(w);if(!U){const H=Qp(v.outerTypeParameters,I),Z=v.checkType,Ee=v.isDistributive?km(qv(Z,H)):void 0;U=Ee&&Z!==Ee&&Ee.flags&1179648?ZFe(Ee,Te=>p_e(v,CA(Z,Te,H),c),p,h):p_e(v,H,c,p,h),v.instantiations.set(w,U)}return U}return n}function oo(n,a){return n&&a?ZWe(n,a,void 0,void 0):n}function ZWe(n,a,c,p){var h;if(!v0(n))return n;if(E===100||y>=5e6)return(h=Ar)==null||h.instant(Ar.Phase.CheckTypes,"instantiateType_DepthLimit",{typeId:n.id,instantiationDepth:E,instantiationCount:y}),Ze(R,f.Type_instantiation_is_excessively_deep_and_possibly_infinite),rt;const v=Bft(a);v===-1&&Fft(a);const I=n.id+AA(c,p),w=Th[v!==-1?v:K_-1],U=w.get(I);if(U)return U;m++,y++,E++;const H=tut(n,a,c,p);return v===-1?zft():w.set(I,H),E--,H}function tut(n,a,c,p){const h=n.flags;if(h&262144)return qv(n,a);if(h&524288){const v=n.objectFlags;if(v&52){if(v&4&&!n.node){const I=n.resolvedTypeArguments,w=Vy(I,a);return w!==I?t_e(n.target,w):n}return v&1024?nut(n,a):Ydt(n,a,c,p)}return n}if(h&3145728){const v=n.flags&1048576?n.origin:void 0,I=v&&v.flags&3145728?v.types:n.types,w=Vy(I,a);if(w===I&&c===n.aliasSymbol)return n;const U=c||n.aliasSymbol,H=c?p:Vy(n.aliasTypeArguments,a);return h&2097152||v&&v.flags&2097152?La(w,0,U,H):_i(w,1,U,H)}if(h&4194304)return x_(oo(n.type,a));if(h&134217728)return IA(n.texts,Vy(n.types,a));if(h&268435456)return iR(n.symbol,oo(n.type,a));if(h&8388608){const v=c||n.aliasSymbol,I=c?p:Vy(n.aliasTypeArguments,a);return $p(oo(n.objectType,a),oo(n.indexType,a),n.accessFlags,void 0,v,I)}if(h&16777216)return E_e(n,XT(n.mapper,a),!1,c,p);if(h&33554432){const v=oo(n.baseType,a);if(UC(n))return jhe(v);const I=oo(n.constraint,a);return v.flags&8650752&&KT(I)?Hhe(v,I):I.flags&3||da(MA(v),MA(I))?v:v.flags&8650752?Hhe(v,I):La([I,v])}return n}function nut(n,a){const c=oo(n.mappedType,a);if(!(qr(c)&32))return n;const p=oo(n.constraintType,a);if(!(p.flags&4194304))return n;const h=MFe(oo(n.source,a),c,p);return h||n}function G8(n){return n.flags&402915327?n:n.permissiveInstantiation||(n.permissiveInstantiation=oo(n,xs))}function MA(n){return n.flags&402915327?n:(n.restrictiveInstantiation||(n.restrictiveInstantiation=oo(n,fs),n.restrictiveInstantiation.restrictiveInstantiation=n.restrictiveInstantiation),n.restrictiveInstantiation)}function rut(n,a){return Xg(n.keyType,oo(n.type,a),n.isReadonly,n.declaration,n.components)}function Mf(n){switch(C.assert(n.kind!==175||ym(n)),n.kind){case 219:case 220:case 175:case 263:return eFe(n);case 211:return bt(n.properties,Mf);case 210:return bt(n.elements,Mf);case 228:return Mf(n.whenTrue)||Mf(n.whenFalse);case 227:return(n.operatorToken.kind===57||n.operatorToken.kind===61)&&(Mf(n.left)||Mf(n.right));case 304:return Mf(n.initializer);case 218:return Mf(n.expression);case 293:return bt(n.properties,Mf)||ph(n.parent)&&bt(n.parent.parent.children,Mf);case 292:{const{initializer:a}=n;return!!a&&Mf(a)}case 295:{const{expression:a}=n;return!!a&&Mf(a)}}return!1}function eFe(n){return t4(n)||iut(n)}function iut(n){return n.typeParameters||Wp(n)||!n.body?!1:n.body.kind!==242?Mf(n.body):!!Eb(n.body,a=>!!a.expression&&Mf(a.expression))}function MY(n){return(Mb(n)||ym(n))&&eFe(n)}function tFe(n){if(n.flags&524288){const a=Nh(n);if(a.constructSignatures.length||a.callSignatures.length){const c=hc(16,n.symbol);return c.members=a.members,c.properties=a.properties,c.callSignatures=se,c.constructSignatures=se,c.indexInfos=se,c}}else if(n.flags&2097152)return La(Gt(n.types,tFe));return n}function $g(n,a){return R_(n,a,Kd)}function V8(n,a){return R_(n,a,Kd)?-1:0}function A_e(n,a){return R_(n,a,Jd)?-1:0}function out(n,a){return R_(n,a,X_)?-1:0}function CE(n,a){return R_(n,a,X_)}function xL(n,a){return R_(n,a,hl)}function da(n,a){return R_(n,a,Jd)}function YT(n,a){return n.flags&1048576?Gn(n.types,c=>YT(c,a)):a.flags&1048576?bt(a.types,c=>YT(n,c)):n.flags&2097152?bt(n.types,c=>YT(c,a)):n.flags&58982400?YT(Md(n)||At,a):og(a)?!!(n.flags&67633152):a===Xt?!!(n.flags&67633152)&&!og(n):a===Qn?!!(n.flags&524288)&&ige(n):Hr(n,zn(a))||sm(a)&&!RL(a)&&YT(n,ja)}function PY(n,a){return R_(n,a,up)}function p5(n,a){return PY(n,a)||PY(a,n)}function Qd(n,a,c,p,h,v){return am(n,a,Jd,c,p,h,v)}function NE(n,a,c,p,h,v){return I_e(n,a,Jd,c,p,h,v,void 0)}function I_e(n,a,c,p,h,v,I,w){return R_(n,a,c)?!0:!p||!j8(h,n,a,c,v,I,w)?am(n,a,c,p,v,I,w):!1}function nFe(n){return!!(n.flags&16777216||n.flags&2097152&&bt(n.types,nFe))}function j8(n,a,c,p,h,v,I){if(!n||nFe(c))return!1;if(!am(a,c,p,void 0)&&aut(n,a,c,p,h,v,I))return!0;switch(n.kind){case 235:if(!ij(n))break;case 295:case 218:return j8(n.expression,a,c,p,h,v,I);case 227:switch(n.operatorToken.kind){case 64:case 28:return j8(n.right,a,c,p,h,v,I)}break;case 211:return mut(n,a,c,p,v,I);case 210:return put(n,a,c,p,v,I);case 293:return uut(n,a,c,p,v,I);case 220:return sut(n,a,c,p,v,I)}return!1}function aut(n,a,c,p,h,v,I){const w=aa(a,0),U=aa(a,1);for(const H of[U,w])if(bt(H,Z=>{const Ee=hs(Z);return!(Ee.flags&131073)&&am(Ee,c,p,void 0)})){const Z=I||{};Qd(a,c,n,h,v,Z);const Ee=Z.errors[Z.errors.length-1];return _a(Ee,Sr(n,H===U?f.Did_you_mean_to_use_new_with_this_expression:f.Did_you_mean_to_call_this_expression)),!0}return!1}function sut(n,a,c,p,h,v){if(ia(n.body)||bt(n.parameters,CF))return!1;const I=BA(a);if(!I)return!1;const w=aa(c,0);if(!et(w))return!1;const U=n.body,H=hs(I),Z=_i(Gt(w,hs));if(!am(H,Z,p,void 0)){const Ee=U&&j8(U,H,Z,p,void 0,h,v);if(Ee)return Ee;const Te=v||{};if(am(H,Z,p,U,void 0,h,Te),Te.errors)return c.symbol&&et(c.symbol.declarations)&&_a(Te.errors[Te.errors.length-1],Sr(c.symbol.declarations[0],f.The_expected_type_comes_from_the_return_type_of_this_signature)),(dc(n)&2)===0&&!yn(H,"then")&&am(J5(H),Z,p,void 0)&&_a(Te.errors[Te.errors.length-1],Sr(n,f.Did_you_mean_to_mark_this_function_as_async)),!0}return!1}function rFe(n,a,c){const p=m0(a,c);if(p)return p;if(a.flags&1048576){const h=uFe(n,a);if(h)return m0(h,c)}}function iFe(n,a){L5(n,a,!1);const c=WL(n,1);return eW(),c}function f5(n,a,c,p,h,v){let I=!1;for(const w of n){const{errorNode:U,innerExpression:H,nameType:Z,errorMessage:Ee}=w;let Te=rFe(a,c,Z);if(!Te||Te.flags&8388608)continue;let Ye=m0(a,Z);if(!Ye)continue;const ht=AY(Z,void 0);if(!am(Ye,Te,p,void 0)){const Dt=H&&j8(H,Ye,Te,p,void 0,h,v);if(I=!0,!Dt){const en=v||{},Sn=H?iFe(H,Ye):Ye;if(ve&&kY(Sn,Te)){const Zn=Sr(U,f.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,sr(Sn),sr(Te));ns.add(Zn),en.errors=[Zn]}else{const Zn=!!(ht&&(xa(c,ht)||ie).flags&16777216),yr=!!(ht&&(xa(a,ht)||ie).flags&16777216);Te=qy(Te,Zn),Ye=qy(Ye,Zn&&yr),am(Sn,Te,p,U,Ee,h,en)&&Sn!==Ye&&am(Ye,Te,p,U,Ee,h,en)}if(en.errors){const Zn=en.errors[en.errors.length-1],yr=Uf(Z)?Hf(Z):void 0,xn=yr!==void 0?xa(c,yr):void 0;let Tn=!1;if(!xn){const cr=M8(c,Z);cr&&cr.declaration&&!On(cr.declaration).hasNoDefaultLib&&(Tn=!0,_a(Zn,Sr(cr.declaration,f.The_expected_type_comes_from_this_index_signature)))}if(!Tn&&(xn&&et(xn.declarations)||c.symbol&&et(c.symbol.declarations))){const cr=xn&&et(xn.declarations)?xn.declarations[0]:c.symbol.declarations[0];On(cr).hasNoDefaultLib||_a(Zn,Sr(cr,f.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,yr&&!(Z.flags&8192)?Bi(yr):sr(Z),sr(c)))}}}}}return I}function lut(n,a,c,p,h,v){const I=Tc(c,GY),w=Tc(c,Z=>!GY(Z)),U=w!==vn?xye(13,0,w,void 0):void 0;let H=!1;for(let Z=n.next();!Z.done;Z=n.next()){const{errorNode:Ee,innerExpression:Te,nameType:Ye,errorMessage:ht}=Z.value;let Dt=U;const en=I!==vn?rFe(a,I,Ye):void 0;if(en&&!(en.flags&8388608)&&(Dt=U?_i([U,en]):en),!Dt)continue;let Sn=m0(a,Ye);if(!Sn)continue;const Zn=AY(Ye,void 0);if(!am(Sn,Dt,p,void 0)){const yr=Te&&j8(Te,Sn,Dt,p,void 0,h,v);if(H=!0,!yr){const xn=v||{},Tn=Te?iFe(Te,Sn):Sn;if(ve&&kY(Tn,Dt)){const cr=Sr(Ee,f.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,sr(Tn),sr(Dt));ns.add(cr),xn.errors=[cr]}else{const cr=!!(Zn&&(xa(I,Zn)||ie).flags&16777216),mi=!!(Zn&&(xa(a,Zn)||ie).flags&16777216);Dt=qy(Dt,cr),Sn=qy(Sn,cr&&mi),am(Tn,Dt,p,Ee,ht,h,xn)&&Tn!==Sn&&am(Sn,Dt,p,Ee,ht,h,xn)}}}}return H}function*cut(n){if(et(n.properties))for(const a of n.properties)QI(a)||Rge(ow(a.name))||(yield{errorNode:a.name,innerExpression:a.initializer,nameType:Ip(ow(a.name))})}function*dut(n,a){if(!et(n.children))return;let c=0;for(let p=0;p<n.children.length;p++){const h=n.children[p],v=Mh(p-c),I=oFe(h,v,a);I?yield I:c++}}function oFe(n,a,c){switch(n.kind){case 295:return{errorNode:n,innerExpression:n.expression,nameType:a};case 12:if(n.containsOnlyTriviaWhiteSpaces)break;return{errorNode:n,innerExpression:void 0,nameType:a,errorMessage:c()};case 285:case 286:case 289:return{errorNode:n,innerExpression:n,nameType:a};default:return C.assertNever(n,"Found invalid jsx child")}}function uut(n,a,c,p,h,v){let I=f5(cut(n),a,c,p,h,v),w;if(ph(n.parent)&&l_(n.parent.parent)){const H=n.parent.parent,Z=w5(FA(n)),Ee=Z===void 0?"children":Bi(Z),Te=Ip(Ee),Ye=$p(c,Te),ht=aD(H.children);if(!et(ht))return I;const Dt=et(ht)>1;let en,Sn;if(EY(!1)!==nn){const yr=fWe(He);en=Tc(Ye,xn=>da(xn,yr)),Sn=Tc(Ye,xn=>!da(xn,yr))}else en=Tc(Ye,GY),Sn=Tc(Ye,yr=>!GY(yr));if(Dt){if(en!==vn){const yr=ig(h$(H,0)),xn=dut(H,U);I=lut(xn,yr,en,p,h,v)||I}else if(!R_($p(a,Te),Ye,p)){I=!0;const yr=Ze(H.openingElement.tagName,f.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,Ee,sr(Ye));v&&v.skipLogging&&(v.errors||(v.errors=[])).push(yr)}}else if(Sn!==vn){const yr=ht[0],xn=oFe(yr,Te,U);xn&&(I=f5((function*(){yield xn})(),a,c,p,h,v)||I)}else if(!R_($p(a,Te),Ye,p)){I=!0;const yr=Ze(H.openingElement.tagName,f.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,Ee,sr(Ye));v&&v.skipLogging&&(v.errors||(v.errors=[])).push(yr)}}return I;function U(){if(!w){const H=Rl(n.parent.tagName),Z=w5(FA(n)),Ee=Z===void 0?"children":Bi(Z),Te=$p(c,Ip(Ee)),Ye=f._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2;w={...Ye,key:"!!ALREADY FORMATTED!!",message:PI(Ye,H,Ee,sr(Te))}}return w}}function*aFe(n,a){const c=et(n.elements);if(c)for(let p=0;p<c;p++){if(DL(a)&&!xa(a,""+p))continue;const h=n.elements[p];if(qc(h))continue;const v=Mh(p),I=A$(h);yield{errorNode:I,innerExpression:I,nameType:v}}}function put(n,a,c,p,h,v){if(c.flags&402915324)return!1;if(DL(a))return f5(aFe(n,c),a,c,p,h,v);L5(n,c,!1);const I=F6e(n,1,!0);return eW(),DL(I)?f5(aFe(n,c),I,c,p,h,v):!1}function*fut(n){if(et(n.properties))for(const a of n.properties){if(Ng(a))continue;const c=rR(Fr(a),8576);if(!(!c||c.flags&131072))switch(a.kind){case 179:case 178:case 175:case 305:yield{errorNode:a.name,innerExpression:void 0,nameType:c};break;case 304:yield{errorNode:a.name,innerExpression:a.initializer,nameType:c,errorMessage:tk(a.name)?f.Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:void 0};break;default:C.assertNever(a)}}}function mut(n,a,c,p,h,v){return c.flags&402915324?!1:f5(fut(n),a,c,p,h,v)}function sFe(n,a,c,p,h){return am(n,a,up,c,p,h)}function hut(n,a,c){return x_e(n,a,4,!1,void 0,void 0,A_e,void 0)!==0}function LY(n){if(!n.typeParameters&&(!n.thisParameter||Or(U5(n.thisParameter)))&&n.parameters.length===1&&su(n)){const a=U5(n.parameters[0]);return!!((sm(a)?cl(a)[0]:a).flags&131073&&hs(n).flags&3)}return!1}function x_e(n,a,c,p,h,v,I,w){if(n===a||!(c&16&&LY(n))&&LY(a))return-1;if(c&16&&LY(n)&&!LY(a))return 0;const U=Rp(a);if(!ag(a)&&(c&8?ag(n)||Rp(n)>U:Oh(n)>U))return p&&!(c&8)&&h(f.Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1,Oh(n),U),0;n.typeParameters&&n.typeParameters!==a.typeParameters&&(a=_ct(a),n=g4e(n,a,void 0,I));const Z=Rp(n),Ee=lW(n),Te=lW(a);(Ee||Te)&&oo(Ee||Te,w);const Ye=a.declaration?a.declaration.kind:0,ht=!(c&3)&&q&&Ye!==175&&Ye!==174&&Ye!==177;let Dt=-1;const en=qT(n);if(en&&en!==An){const yr=qT(a);if(yr){const xn=!ht&&I(en,yr,!1)||I(yr,en,p);if(!xn)return p&&h(f.The_this_types_of_each_signature_are_incompatible),0;Dt&=xn}}const Sn=Ee||Te?Math.min(Z,U):Math.max(Z,U),Zn=Ee||Te?Sn-1:-1;for(let yr=0;yr<Sn;yr++){const xn=yr===Zn?V4e(n,yr):kE(n,yr),Tn=yr===Zn?V4e(a,yr):kE(a,yr);if(xn&&Tn&&(xn!==Tn||c&8)){const cr=c&3||h4e(n,yr)?void 0:BA(Hy(xn)),mi=c&3||h4e(a,yr)?void 0:BA(Hy(Tn));let ui=cr&&mi&&!om(cr)&&!om(mi)&&KC(xn,50331648)===KC(Tn,50331648)?x_e(mi,cr,c&8|(ht?2:1),p,h,v,I,w):!(c&3)&&!ht&&I(xn,Tn,!1)||I(Tn,xn,p);if(ui&&c&8&&yr>=Oh(n)&&yr<Oh(a)&&I(xn,Tn,!1)&&(ui=0),!ui)return p&&h(f.Types_of_parameters_0_and_1_are_incompatible,Bi(kL(n,yr)),Bi(kL(a,yr))),0;Dt&=ui}}if(!(c&4)){const yr=uY(a)?He:a.declaration&&C_(a.declaration)?im(os(a.declaration.symbol)):hs(a);if(yr===An||yr===He)return Dt;const xn=uY(n)?He:n.declaration&&C_(n.declaration)?im(os(n.declaration.symbol)):hs(n),Tn=om(a);if(Tn){const cr=om(n);if(cr)Dt&=_ut(cr,Tn,p,h,I);else if(fne(Tn)||mne(Tn))return p&&h(f.Signature_0_must_be_a_type_predicate,c0(n)),0}else Dt&=c&1&&I(yr,xn,!1)||I(xn,yr,p),!Dt&&p&&v&&v(xn,yr)}return Dt}function _ut(n,a,c,p,h){if(n.kind!==a.kind)return c&&(p(f.A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard),p(f.Type_predicate_0_is_not_assignable_to_1,Q_(n),Q_(a))),0;if((n.kind===1||n.kind===3)&&n.parameterIndex!==a.parameterIndex)return c&&(p(f.Parameter_0_is_not_in_the_same_position_as_parameter_1,n.parameterName,a.parameterName),p(f.Type_predicate_0_is_not_assignable_to_1,Q_(n),Q_(a))),0;const v=n.type===a.type?-1:n.type&&a.type?h(n.type,a.type,c):0;return v===0&&c&&p(f.Type_predicate_0_is_not_assignable_to_1,Q_(n),Q_(a)),v}function gut(n,a){const c=w8(n),p=w8(a),h=hs(c),v=hs(p);return v===An||R_(v,h,Jd)||R_(h,v,Jd)?hut(c,p):!1}function R_e(n){return n!==Ds&&n.properties.length===0&&n.callSignatures.length===0&&n.constructSignatures.length===0&&n.indexInfos.length===0}function jy(n){return n.flags&524288?!mp(n)&&R_e(Nh(n)):n.flags&67108864?!0:n.flags&1048576?bt(n.types,jy):n.flags&2097152?Gn(n.types,jy):!1}function og(n){return!!(qr(n)&16&&(n.members&&R_e(n)||n.symbol&&n.symbol.flags&2048&&tg(n.symbol).size===0))}function yut(n){if(re&&n.flags&1048576){if(!(n.objectFlags&33554432)){const a=n.types;n.objectFlags|=33554432|(a.length>=3&&a[0].flags&32768&&a[1].flags&65536&&bt(a,og)?67108864:0)}return!!(n.objectFlags&67108864)}return!1}function JC(n){return!!((n.flags&1048576?n.types[0]:n).flags&32768)}function vut(n){const a=n.flags&1048576?n.types[0]:n;return!!(a.flags&32768)&&a!==xe}function lFe(n){return n.flags&524288&&!mp(n)&&Es(n).length===0&&Yd(n).length===1&&!!Kg(n,yt)||n.flags&3145728&&Gn(n.types,lFe)||!1}function D_e(n,a,c){const p=n.flags&8?Xc(n):n,h=a.flags&8?Xc(a):a;if(p===h)return!0;if(p.escapedName!==h.escapedName||!(p.flags&256)||!(h.flags&256))return!1;const v=Aa(p)+","+Aa(h),I=IT.get(v);if(I!==void 0&&!(I&2&&c))return!!(I&1);const w=gr(h);for(const U of Es(gr(p)))if(U.flags&8){const H=xa(w,U.escapedName);if(!H||!(H.flags&8))return c&&c(f.Property_0_is_missing_in_type_1,Ol(U),sr(Xs(h),void 0,64)),IT.set(v,2),!1;const Z=VA(ul(U,307)).value,Ee=VA(ul(H,307)).value;if(Z!==Ee){const Te=typeof Z=="string",Ye=typeof Ee=="string";if(Z!==void 0&&Ee!==void 0){if(c){const ht=Te?'"'.concat(B_(Z),'"'):Z,Dt=Ye?'"'.concat(B_(Ee),'"'):Ee;c(f.Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given,Ol(h),Ol(H),Dt,ht)}return IT.set(v,2),!1}if(Te||Ye){if(c){const ht=Z!=null?Z:Ee;C.assert(typeof ht=="string");const Dt='"'.concat(B_(ht),'"');c(f.One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value,Ol(h),Ol(H),Dt)}return IT.set(v,2),!1}}}return IT.set(v,1),!0}function U8(n,a,c,p){const h=n.flags,v=a.flags;return v&1||h&131072||n===Nt||v&2&&!(c===hl&&h&1)?!0:v&131072?!1:!!(h&402653316&&v&4||h&128&&h&1024&&v&128&&!(v&1024)&&n.value===a.value||h&296&&v&8||h&256&&h&1024&&v&256&&!(v&1024)&&n.value===a.value||h&2112&&v&64||h&528&&v&16||h&12288&&v&4096||h&32&&v&32&&n.symbol.escapedName===a.symbol.escapedName&&D_e(n.symbol,a.symbol,p)||h&1024&&v&1024&&(h&1048576&&v&1048576&&D_e(n.symbol,a.symbol,p)||h&2944&&v&2944&&n.value===a.value&&D_e(n.symbol,a.symbol,p))||h&32768&&(!re&&!(v&3145728)||v&49152)||h&65536&&(!re&&!(v&3145728)||v&65536)||h&524288&&v&67108864&&!(c===hl&&og(n)&&!(qr(n)&8192))||(c===Jd||c===up)&&(h&1||h&8&&(v&32||v&256&&v&1024)||h&256&&!(h&1024)&&(v&32||v&256&&v&1024&&n.value===a.value)||yut(a)))}function R_(n,a,c){if(RE(n)&&(n=n.regularType),RE(a)&&(a=a.regularType),n===a)return!0;if(c!==Kd){if(c===up&&!(a.flags&131072)&&U8(a,n,c)||U8(n,a,c))return!0}else if(!((n.flags|a.flags)&61865984)){if(n.flags!==a.flags)return!1;if(n.flags&67358815)return!0}if(n.flags&524288&&a.flags&524288){const p=c.get(WY(n,a,0,c,!1));if(p!==void 0)return!!(p&1)}return n.flags&469499904||a.flags&469499904?am(n,a,c,void 0):!1}function cFe(n,a){return qr(n)&2048&&Rge(a.escapedName)}function m5(n,a){for(;;){const c=RE(n)?n.regularType:g0(n)?Sut(n,a):qr(n)&4?n.node?Fy(n.target,cl(n)):O_e(n)||n:n.flags&3145728?but(n,a):n.flags&33554432?a?n.baseType:qhe(n):n.flags&25165824?By(n,a):n;if(c===n)return c;n=c}}function but(n,a){const c=km(n);if(c!==n)return c;if(n.flags&2097152&&Tut(n)){const p=Ui(n.types,h=>m5(h,a));if(p!==n.types)return La(p)}return n}function Tut(n){let a=!1,c=!1;for(const p of n.types)if(a||(a=!!(p.flags&465829888)),c||(c=!!(p.flags&98304)||og(p)),a&&c)return!0;return!1}function Sut(n,a){const c=IE(n),p=Ui(c,h=>h.flags&25165824?By(h,a):h);return c!==p?n_e(n.target,p):n}function am(n,a,c,p,h,v,I){var w;let U,H,Z,Ee,Te,Ye,ht=0,Dt=0,en=0,Sn=0,Zn=!1,yr=0,xn=0,Tn,cr,mi=16e6-c.size>>3;C.assert(c!==Kd||!p,"no error reporting in identity checking");const ao=vr(n,a,3,!!p,h);if(cr&&_s(),Zn){const Le=WY(n,a,0,c,!1);c.set(Le,2|(mi<=0?32:64)),(w=Ar)==null||w.instant(Ar.Phase.CheckTypes,"checkTypeRelatedTo_DepthLimit",{sourceId:n.id,targetId:a.id,depth:Dt,targetDepth:en});const Ke=mi<=0?f.Excessive_complexity_comparing_types_0_and_1:f.Excessive_stack_depth_comparing_types_0_and_1,ct=Ze(p||R,Ke,sr(n),sr(a));I&&(I.errors||(I.errors=[])).push(ct)}else if(U){if(v){const ct=v();ct&&(yre(ct,U),U=ct)}let Le;if(h&&p&&!ao&&n.symbol){const ct=Kr(n.symbol);if(ct.originatingImport&&!ep(ct.originatingImport)&&am(gr(ct.target),a,c,void 0)){const ln=Sr(ct.originatingImport,f.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);Le=jn(Le,ln)}}const Ke=vg(On(p),p,U,Le);H&&_a(Ke,...H),I&&(I.errors||(I.errors=[])).push(Ke),(!I||!I.skipLogging)&&ns.add(Ke)}return p&&I&&I.skipLogging&&ao===0&&C.assert(!!I.errors,"missed opportunity to interact with error."),ao!==0;function ui(Le){U=Le.errorInfo,Tn=Le.lastSkippedInfo,cr=Le.incompatibleStack,yr=Le.overrideNextErrorInfo,xn=Le.skipParentCounter,H=Le.relatedInfo}function Pi(){return{errorInfo:U,lastSkippedInfo:Tn,incompatibleStack:cr==null?void 0:cr.slice(),overrideNextErrorInfo:yr,skipParentCounter:xn,relatedInfo:H==null?void 0:H.slice()}}function Vo(Le,...Ke){yr++,Tn=void 0,(cr||(cr=[])).push([Le,...Ke])}function _s(){const Le=cr||[];cr=void 0;const Ke=Tn;if(Tn=void 0,Le.length===1){mo(...Le[0]),Ke&&hu(void 0,...Ke);return}let ct="";const Ut=[];for(;Le.length;){const[ln,...qt]=Le.pop();switch(ln.code){case f.Types_of_property_0_are_incompatible.code:{ct.indexOf("new ")===0&&(ct="(".concat(ct,")"));const un=""+qt[0];ct.length===0?ct="".concat(un):_p(un,Va(O))?ct="".concat(ct,".").concat(un):un[0]==="["&&un[un.length-1]==="]"?ct="".concat(ct).concat(un):ct="".concat(ct,"[").concat(un,"]");break}case f.Call_signature_return_types_0_and_1_are_incompatible.code:case f.Construct_signature_return_types_0_and_1_are_incompatible.code:case f.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:case f.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:{if(ct.length===0){let un=ln;ln.code===f.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?un=f.Call_signature_return_types_0_and_1_are_incompatible:ln.code===f.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code&&(un=f.Construct_signature_return_types_0_and_1_are_incompatible),Ut.unshift([un,qt[0],qt[1]])}else{const un=ln.code===f.Construct_signature_return_types_0_and_1_are_incompatible.code||ln.code===f.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"new ":"",nr=ln.code===f.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code||ln.code===f.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"":"...";ct="".concat(un).concat(ct,"(").concat(nr,")")}break}case f.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target.code:{Ut.unshift([f.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,qt[0],qt[1]]);break}case f.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target.code:{Ut.unshift([f.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,qt[0],qt[1],qt[2]]);break}default:return C.fail("Unhandled Diagnostic: ".concat(ln.code))}}ct?mo(ct[ct.length-1]===")"?f.The_types_returned_by_0_are_incompatible_between_these_types:f.The_types_of_0_are_incompatible_between_these_types,ct):Ut.shift();for(const[ln,...qt]of Ut){const un=ln.elidedInCompatabilityPyramid;ln.elidedInCompatabilityPyramid=!1,mo(ln,...qt),ln.elidedInCompatabilityPyramid=un}Ke&&hu(void 0,...Ke)}function mo(Le,...Ke){C.assert(!!p),cr&&_s(),!Le.elidedInCompatabilityPyramid&&(xn===0?U=Ko(U,Le,...Ke):xn--)}function _l(Le,...Ke){mo(Le,...Ke),xn++}function Xl(Le){C.assert(!!U),H?H.push(Le):H=[Le]}function hu(Le,Ke,ct){cr&&_s();const[Ut,ln]=uL(Ke,ct);let qt=Ke,un=Ut;if(!(ct.flags&131072)&&H8(Ke)&&!C_e(ct)&&(qt=Uy(Ke),C.assert(!da(qt,ct),"generalized source shouldn't be assignable"),un=kC(qt)),(ct.flags&8388608&&!(Ke.flags&8388608)?ct.objectType.flags:ct.flags)&262144&&ct!==ut&&ct!==Jt){const er=Md(ct);let Lr;er&&(da(qt,er)||(Lr=da(Ke,er)))?mo(f._0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2,Lr?Ut:un,ln,sr(er)):(U=void 0,mo(f._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1,ln,un))}if(Le)Le===f.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1&&ve&&dFe(Ke,ct).length&&(Le=f.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(c===up)Le=f.Type_0_is_not_comparable_to_type_1;else if(Ut===ln)Le=f.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated;else if(ve&&dFe(Ke,ct).length)Le=f.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(Ke.flags&128&&ct.flags&1048576){const er=Bmt(Ke,ct);if(er){mo(f.Type_0_is_not_assignable_to_type_1_Did_you_mean_2,un,ln,sr(er));return}}Le=f.Type_0_is_not_assignable_to_type_1}mo(Le,un,ln)}function Un(Le,Ke){const ct=wC(Le.symbol)?sr(Le,Le.symbol.valueDeclaration):sr(Le),Ut=wC(Ke.symbol)?sr(Ke,Ke.symbol.valueDeclaration):sr(Ke);(Nc===Le&&yt===Ke||sl===Le&&jt===Ke||wl===Le&&zt===Ke||aWe()===Le&&Yt===Ke)&&mo(f._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,Ut,ct)}function rr(Le,Ke,ct){return Xa(Le)?Le.target.readonly&&y5(Ke)?(ct&&mo(f.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,sr(Le),sr(Ke)),!1):$T(Ke):RL(Le)&&y5(Ke)?(ct&&mo(f.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,sr(Le),sr(Ke)),!1):Xa(Ke)?sm(Le):!0}function qi(Le,Ke,ct){return vr(Le,Ke,3,ct)}function vr(Le,Ke,ct=3,Ut=!1,ln,qt=0){if(Le===Ke)return-1;if(Le.flags&524288&&Ke.flags&402784252)return c===up&&!(Ke.flags&131072)&&U8(Ke,Le,c)||U8(Le,Ke,c,Ut?mo:void 0)?-1:(Ut&&Wo(Le,Ke,Le,Ke,ln),0);const un=m5(Le,!1);let nr=m5(Ke,!0);if(un===nr)return-1;if(c===Kd)return un.flags!==nr.flags?0:un.flags&67358815?-1:(Ts(un,nr),EW(un,nr,!1,0,ct));if(un.flags&262144&&TA(un)===nr)return-1;if(un.flags&470302716&&nr.flags&1048576){const er=nr.types,Lr=er.length===2&&er[0].flags&98304?er[1]:er.length===3&&er[0].flags&98304&&er[1].flags&98304?er[2]:void 0;if(Lr&&!(Lr.flags&98304)&&(nr=m5(Lr,!0),un===nr))return-1}if(c===up&&!(nr.flags&131072)&&U8(nr,un,c)||U8(un,nr,c,Ut?mo:void 0))return-1;if(un.flags&469499904||nr.flags&469499904){if(!(qt&2)&&Kv(un)&&qr(un)&8192&&md(un,nr,Ut))return Ut&&hu(ln,un,Ke.aliasSymbol?Ke:nr),0;const Lr=(c!==up||Ph(un))&&!(qt&2)&&un.flags&405405692&&un!==Xt&&nr.flags&2621440&&M_e(nr)&&(Es(un).length>0||Q$(un)),li=!!(qr(un)&2048);if(Lr&&!Aut(un,nr,li)){if(Ut){const Ei=sr(Le.aliasSymbol?Le:un),Do=sr(Ke.aliasSymbol?Ke:nr),$o=aa(un,0),gn=aa(un,1);$o.length>0&&vr(hs($o[0]),nr,1,!1)||gn.length>0&&vr(hs(gn[0]),nr,1,!1)?mo(f.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,Ei,Do):mo(f.Type_0_has_no_properties_in_common_with_type_1,Ei,Do)}return 0}Ts(un,nr);const lr=un.flags&1048576&&un.types.length<4&&!(nr.flags&1048576)||nr.flags&1048576&&nr.types.length<4&&!(un.flags&469499904)?cc(un,nr,Ut,qt):EW(un,nr,Ut,qt,ct);if(lr)return lr}return Ut&&Wo(Le,Ke,un,nr,ln),0}function Wo(Le,Ke,ct,Ut,ln){var qt,un;const nr=!!O_e(Le),er=!!O_e(Ke);ct=Le.aliasSymbol||nr?Le:ct,Ut=Ke.aliasSymbol||er?Ke:Ut;let Lr=yr>0;if(Lr&&yr--,ct.flags&524288&&Ut.flags&524288){const li=U;rr(ct,Ut,!0),U!==li&&(Lr=!!U)}if(ct.flags&524288&&Ut.flags&402784252)Un(ct,Ut);else if(ct.symbol&&ct.flags&524288&&Xt===ct)mo(f.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(qr(ct)&2048&&Ut.flags&2097152){const li=Ut.types,Di=LE(gf.IntrinsicAttributes,p),lr=LE(gf.IntrinsicClassAttributes,p);if(!mr(Di)&&!mr(lr)&&(Vn(li,Di)||Vn(li,lr)))return}else U=whe(U,Ke);if(!ln&&Lr){const li=Pi();hu(ln,ct,Ut);let Di;U&&U!==li.errorInfo&&(Di={code:U.code,messageText:U.messageText}),ui(li),Di&&U&&(U.canonicalHead=Di),Tn=[ct,Ut];return}if(hu(ln,ct,Ut),ct.flags&262144&&((un=(qt=ct.symbol)==null?void 0:qt.declarations)!=null&&un[0])&&!TA(ct)){const li=b_e(ct);if(li.constraint=oo(Ut,DE(ct,li)),$z(li)){const Di=sr(Ut,ct.symbol.declarations[0]);Xl(Sr(ct.symbol.declarations[0],f.This_type_parameter_might_need_an_extends_0_constraint,Di))}}}function Ts(Le,Ke){if(Ar&&Le.flags&3145728&&Ke.flags&3145728){const ct=Le,Ut=Ke;if(ct.objectFlags&Ut.objectFlags&32768)return;const ln=ct.types.length,qt=Ut.types.length;ln*qt>1e6&&Ar.instant(Ar.Phase.CheckTypes,"traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:Le.id,sourceSize:ln,targetId:Ke.id,targetSize:qt,pos:p==null?void 0:p.pos,end:p==null?void 0:p.end})}}function dl(Le,Ke){return _i(yu(Le,(Ut,ln)=>{var qt;ln=Mu(ln);const un=ln.flags&3145728?Qz(ln,Ke):SE(ln,Ke),nr=un&&gr(un)||((qt=nR(ln,Ke))==null?void 0:qt.type)||ye;return jn(Ut,nr)},void 0)||se)}function md(Le,Ke,ct){var Ut;if(!rW(Ke)||!Ae&&qr(Ke)&4096)return!1;const ln=!!(qr(Le)&2048);if((c===Jd||c===up)&&(ML(Xt,Ke)||!ln&&jy(Ke)))return!1;let qt=Ke,un;Ke.flags&1048576&&(qt=B7e(Le,Ke,vr)||Ybt(Ke),un=qt.flags&1048576?qt.types:[qt]);for(const nr of Es(Le))if(Ya(nr,Le.symbol)&&!cFe(Le,nr)){if(!y$(qt,nr.escapedName,ln)){if(ct){const er=Tc(qt,rW);if(!p)return C.fail();if(jS(p)||ru(p)||ru(p.parent)){nr.valueDeclaration&&c_(nr.valueDeclaration)&&On(p)===On(nr.valueDeclaration.name)&&(p=nr.valueDeclaration.name);const Lr=uo(nr),li=s4e(Lr,er),Di=li?uo(li):void 0;Di?mo(f.Property_0_does_not_exist_on_type_1_Did_you_mean_2,Lr,sr(er),Di):mo(f.Property_0_does_not_exist_on_type_1,Lr,sr(er))}else{const Lr=((Ut=Le.symbol)==null?void 0:Ut.declarations)&&Sc(Le.symbol.declarations);let li;if(nr.valueDeclaration&&Rn(nr.valueDeclaration,Di=>Di===Lr)&&On(Lr)===On(p)){const Di=nr.valueDeclaration;C.assertNode(Di,sy);const lr=Di.name;p=lr,Je(lr)&&(li=l4e(lr,er))}li!==void 0?_l(f.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,uo(nr),sr(er),li):_l(f.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,uo(nr),sr(er))}}return!0}if(un&&!vr(gr(nr),dl(un,nr.escapedName),3,ct))return ct&&Vo(f.Types_of_property_0_are_incompatible,uo(nr)),!0}return!1}function Ya(Le,Ke){return Le.valueDeclaration&&Ke.valueDeclaration&&Le.valueDeclaration.parent===Ke.valueDeclaration}function cc(Le,Ke,ct,Ut){if(Le.flags&1048576){if(Ke.flags&1048576){const ln=Le.origin;if(ln&&ln.flags&2097152&&Ke.aliasSymbol&&Vn(ln.types,Ke))return-1;const qt=Ke.origin;if(qt&&qt.flags&1048576&&Le.aliasSymbol&&Vn(qt.types,Le))return-1}return c===up?Il(Le,Ke,ct&&!(Le.flags&402784252),Ut):um(Le,Ke,ct&&!(Le.flags&402784252),Ut)}if(Ke.flags&1048576)return As(K8(Le),Ke,ct&&!(Le.flags&402784252)&&!(Ke.flags&402784252),Ut);if(Ke.flags&2097152)return Pf(Le,Ke,ct,2);if(c===up&&Ke.flags&402784252){const ln=Ui(Le.types,qt=>qt.flags&465829888?Md(qt)||At:qt);if(ln!==Le.types){if(Le=La(ln),Le.flags&131072)return 0;if(!(Le.flags&2097152))return vr(Le,Ke,1,!1)||vr(Ke,Le,1,!1)}}return Il(Le,Ke,!1,1)}function _c(Le,Ke){let ct=-1;const Ut=Le.types;for(const ln of Ut){const qt=As(ln,Ke,!1,0);if(!qt)return 0;ct&=qt}return ct}function As(Le,Ke,ct,Ut){const ln=Ke.types;if(Ke.flags&1048576){if(Yg(ln,Le))return-1;if(c!==up&&qr(Ke)&32768&&!(Le.flags&1024)&&(Le.flags&2688||(c===X_||c===hl)&&Le.flags&256)){const un=Le===Le.regularType?Le.freshType:Le.regularType,nr=Le.flags&128?yt:Le.flags&256?jt:Le.flags&2048?or:void 0;return nr&&Yg(ln,nr)||un&&Yg(ln,un)?-1:0}const qt=GFe(Ke,Le);if(qt){const un=vr(Le,qt,2,!1,void 0,Ut);if(un)return un}}for(const qt of ln){const un=vr(Le,qt,2,!1,void 0,Ut);if(un)return un}if(ct){const qt=uFe(Le,Ke,vr);qt&&vr(Le,qt,2,!0,void 0,Ut)}return 0}function Pf(Le,Ke,ct,Ut){let ln=-1;const qt=Ke.types;for(const un of qt){const nr=vr(Le,un,2,ct,void 0,Ut);if(!nr)return 0;ln&=nr}return ln}function Il(Le,Ke,ct,Ut){const ln=Le.types;if(Le.flags&1048576&&Yg(ln,Ke))return-1;const qt=ln.length;for(let un=0;un<qt;un++){const nr=vr(ln[un],Ke,1,ct&&un===qt-1,void 0,Ut);if(nr)return nr}return 0}function rc(Le,Ke){return Le.flags&1048576&&Ke.flags&1048576&&!(Le.types[0].flags&32768)&&Ke.types[0].flags&32768?PL(Ke,-32769):Ke}function um(Le,Ke,ct,Ut){let ln=-1;const qt=Le.types,un=rc(Le,Ke);for(let nr=0;nr<qt.length;nr++){const er=qt[nr];if(un.flags&1048576&&qt.length>=un.types.length&&qt.length%un.types.length===0){const li=vr(er,un.types[nr%un.types.length],3,!1,void 0,Ut);if(li){ln&=li;continue}}const Lr=vr(er,Ke,1,ct,void 0,Ut);if(!Lr)return 0;ln&=Lr}return ln}function jL(Le=se,Ke=se,ct=se,Ut,ln){if(Le.length!==Ke.length&&c===Kd)return 0;const qt=Le.length<=Ke.length?Le.length:Ke.length;let un=-1;for(let nr=0;nr<qt;nr++){const er=nr<ct.length?ct[nr]:1,Lr=er&7;if(Lr!==4){const li=Le[nr],Di=Ke[nr];let lr=-1;if(er&8?lr=c===Kd?vr(li,Di,3,!1):V8(li,Di):Lr===1?lr=vr(li,Di,3,Ut,void 0,ln):Lr===2?lr=vr(Di,li,3,Ut,void 0,ln):Lr===3?(lr=vr(Di,li,3,!1),lr||(lr=vr(li,Di,3,Ut,void 0,ln))):(lr=vr(li,Di,3,Ut,void 0,ln),lr&&(lr&=vr(Di,li,3,Ut,void 0,ln))),!lr)return 0;un&=lr}}return un}function EW(Le,Ke,ct,Ut,ln){var qt,un,nr;if(Zn)return 0;const er=WY(Le,Ke,Ut,c,!1),Lr=c.get(er);if(Lr!==void 0&&!(ct&&Lr&2&&!(Lr&96))){if(zo){const gn=Lr&24;gn&8&&oo(Le,tl),gn&16&&oo(Le,bc)}if(ct&&Lr&96){const gn=Lr&32?f.Excessive_complexity_comparing_types_0_and_1:f.Excessive_stack_depth_comparing_types_0_and_1;mo(gn,sr(Le),sr(Ke)),yr++}return Lr&1?-1:0}if(mi<=0)return Zn=!0,0;if(!Z)Z=[],Ee=new Set,Te=[],Ye=[];else{if(Ee.has(er))return 3;const gn=er.startsWith("*")?WY(Le,Ke,Ut,c,!0):void 0;if(gn&&Ee.has(gn))return 3;if(Dt===100||en===100)return Zn=!0,0}const li=ht;Z[ht]=er,Ee.add(er),ht++;const Di=Sn;ln&1&&(Te[Dt]=Le,Dt++,!(Sn&1)&&lR(Le,Te,Dt)&&(Sn|=1)),ln&2&&(Ye[en]=Ke,en++,!(Sn&2)&&lR(Ke,Ye,en)&&(Sn|=2));let lr,Ei=0;zo&&(lr=zo,zo=gn=>(Ei|=gn?16:8,lr(gn)));let Do;return Sn===3?((qt=Ar)==null||qt.instant(Ar.Phase.CheckTypes,"recursiveTypeRelatedTo_DepthLimit",{sourceId:Le.id,sourceIdStack:Te.map(gn=>gn.id),targetId:Ke.id,targetIdStack:Ye.map(gn=>gn.id),depth:Dt,targetDepth:en}),Do=3):((un=Ar)==null||un.push(Ar.Phase.CheckTypes,"structuredTypeRelatedTo",{sourceId:Le.id,targetId:Ke.id}),Do=UL(Le,Ke,ct,Ut),(nr=Ar)==null||nr.pop()),zo&&(zo=lr),ln&1&&Dt--,ln&2&&en--,Sn=Di,Do?(Do===-1||Dt===0&&en===0)&&$o(Do===-1||Do===3):(c.set(er,2|Ei),mi--,$o(!1)),Do;function $o(gn){for(let Xr=li;Xr<ht;Xr++)Ee.delete(Z[Xr]),gn&&(c.set(Z[Xr],1|Ei),mi--);ht=li}}function UL(Le,Ke,ct,Ut){const ln=Pi();let qt=AW(Le,Ke,ct,Ut,ln);if(c!==Kd){if(!qt&&(Le.flags&2097152||Le.flags&262144&&Ke.flags&1048576)){const un=Zlt(Le.flags&2097152?Le.types:[Le],!!(Ke.flags&1048576));un&&xp(un,nr=>nr!==Le)&&(qt=vr(un,Ke,1,!1,void 0,Ut))}qt&&!(Ut&2)&&Ke.flags&2097152&&!RA(Ke)&&Le.flags&2621440?(qt&=ka(Le,Ke,ct,void 0,!1,0),qt&&Kv(Le)&&qr(Le)&8192&&(qt&=we(Le,Ke,!1,ct,0))):qt&&xY(Ke)&&!$T(Ke)&&Le.flags&2097152&&Mu(Le).flags&3670016&&!bt(Le.types,un=>un===Ke||!!(qr(un)&262144))&&(qt&=ka(Le,Ke,ct,void 0,!0,Ut))}return qt&&ui(ln),qt}function sf(Le,Ke){const ct=Mu(UT(Ke)),Ut=[];return Dhe(ct,8576,!1,ln=>void Ut.push(oo(Le,z8(Ke.mapper,th(Ke),ln)))),_i(Ut)}function AW(Le,Ke,ct,Ut,ln){let qt,un,nr=!1,er=Le.flags;const Lr=Ke.flags;if(c===Kd){if(er&3145728){let lr=_c(Le,Ke);return lr&&(lr&=_c(Ke,Le)),lr}if(er&4194304)return vr(Le.type,Ke.type,3,!1);if(er&8388608&&(qt=vr(Le.objectType,Ke.objectType,3,!1))&&(qt&=vr(Le.indexType,Ke.indexType,3,!1))||er&16777216&&Le.root.isDistributive===Ke.root.isDistributive&&(qt=vr(Le.checkType,Ke.checkType,3,!1))&&(qt&=vr(Le.extendsType,Ke.extendsType,3,!1))&&(qt&=vr(h0(Le),h0(Ke),3,!1))&&(qt&=vr(_0(Le),_0(Ke),3,!1))||er&33554432&&(qt=vr(Le.baseType,Ke.baseType,3,!1))&&(qt&=vr(Le.constraint,Ke.constraint,3,!1)))return qt;if(er&134217728&&ef(Le.texts,Ke.texts)){const lr=Le.types,Ei=Ke.types;qt=-1;for(let Do=0;Do<lr.length&&(qt&=vr(lr[Do],Ei[Do],3,!1));Do++);return qt}if(er&268435456&&Le.symbol===Ke.symbol)return vr(Le.type,Ke.type,3,!1);if(!(er&524288))return 0}else if(er&3145728||Lr&3145728){if(qt=cc(Le,Ke,ct,Ut))return qt;if(!(er&465829888||er&524288&&Lr&1048576||er&2097152&&Lr&467402752))return 0}if(er&17301504&&Le.aliasSymbol&&Le.aliasTypeArguments&&Le.aliasSymbol===Ke.aliasSymbol&&!(wY(Le)||wY(Ke))){const lr=pFe(Le.aliasSymbol);if(lr===se)return 1;const Ei=Kr(Le.aliasSymbol).typeParameters,Do=rg(Ei),$o=Uv(Le.aliasTypeArguments,Ei,Do,Er(Le.aliasSymbol.valueDeclaration)),gn=Uv(Ke.aliasTypeArguments,Ei,Do,Er(Le.aliasSymbol.valueDeclaration)),Xr=Di($o,gn,lr,Ut);if(Xr!==void 0)return Xr}if(TFe(Le)&&!Le.target.readonly&&(qt=vr(cl(Le)[0],Ke,1))||TFe(Ke)&&(Ke.target.readonly||y5(Md(Le)||Le))&&(qt=vr(Le,cl(Ke)[0],2)))return qt;if(Lr&262144){if(qr(Le)&32&&!Le.declaration.nameType&&vr(x_(Ke),Cf(Le),3)&&!(ng(Le)&4)){const lr=Jg(Le),Ei=$p(Ke,th(Le));if(qt=vr(lr,Ei,3,ct))return qt}if(c===up&&er&262144){let lr=Ju(Le);if(lr)for(;lr&&cm(lr,Ei=>!!(Ei.flags&262144));){if(qt=vr(lr,Ke,1,!1))return qt;lr=Ju(lr)}return 0}}else if(Lr&4194304){const lr=Ke.type;if(er&4194304&&(qt=vr(lr,Le.type,3,!1)))return qt;if(Xa(lr)){if(qt=vr(Le,gWe(lr),2,ct))return qt}else{const Ei=Che(lr);if(Ei){if(vr(Le,x_(Ei,Ke.indexFlags|4),2,ct)===-1)return-1}else if(mp(lr)){const Do=Vv(lr),$o=Cf(lr);let gn;if(Do&&BC(lr)){const Xr=sf(Do,lr);gn=_i([Xr,Do])}else gn=Do||$o;if(vr(Le,gn,2,ct)===-1)return-1}}}else if(Lr&8388608){if(er&8388608){if((qt=vr(Le.objectType,Ke.objectType,3,ct))&&(qt&=vr(Le.indexType,Ke.indexType,3,ct)),qt)return qt;ct&&(un=U)}if(c===Jd||c===up){const lr=Ke.objectType,Ei=Ke.indexType,Do=Md(lr)||lr,$o=Md(Ei)||Ei;if(!RA(Do)&&!DA($o)){const gn=4|(Do!==lr?2:0),Xr=m0(Do,$o,gn);if(Xr){if(ct&&un&&ui(ln),qt=vr(Le,Xr,2,ct,void 0,Ut))return qt;ct&&un&&U&&(U=li([un])<=li([U])?un:U)}}}ct&&(un=void 0)}else if(mp(Ke)&&c!==Kd){const lr=!!Ke.declaration.nameType,Ei=Jg(Ke),Do=ng(Ke);if(!(Do&8)){if(!lr&&Ei.flags&8388608&&Ei.objectType===Le&&Ei.indexType===th(Ke))return-1;if(!mp(Le)){const $o=lr?Vv(Ke):Cf(Ke),gn=x_(Le,2),Xr=Do&4,Go=Xr?Kz($o,gn):void 0;if(Xr?!(Go.flags&131072):vr($o,gn,3)){const So=Jg(Ke),$a=th(Ke),gs=PL(So,-98305);if(!lr&&gs.flags&8388608&&gs.indexType===$a){if(qt=vr(Le,gs.objectType,2,ct))return qt}else{const Po=lr?Go||$o:Go?La([Go,$a]):$a,Mc=$p(Le,Po);if(qt=vr(Mc,So,3,ct))return qt}}un=U,ui(ln)}}}else if(Lr&16777216){if(lR(Ke,Ye,en,10))return 3;const lr=Ke;if(!lr.root.inferTypeParameters&&!Fdt(lr.root)&&!(Le.flags&16777216&&Le.root===lr.root)){const Ei=!da(G8(lr.checkType),G8(lr.extendsType)),Do=!Ei&&da(MA(lr.checkType),MA(lr.extendsType));if((qt=Ei?-1:vr(Le,h0(lr),2,!1,void 0,Ut))&&(qt&=Do?-1:vr(Le,_0(lr),2,!1,void 0,Ut),qt))return qt}}else if(Lr&134217728){if(er&134217728){if(c===up)return ppt(Le,Ke)?0:-1;oo(Le,bc)}if(QY(Le,Ke))return-1}else if(Ke.flags&268435456&&!(Le.flags&268435456)&&$Y(Le,Ke))return-1;if(er&8650752){if(!(er&8388608&&Lr&8388608)){const lr=TA(Le)||At;if(qt=vr(lr,Ke,1,!1,void 0,Ut))return qt;if(qt=vr(Yp(lr,Le),Ke,1,ct&&lr!==At&&!(Lr&er&262144),void 0,Ut))return qt;if(Lhe(Le)){const Ei=TA(Le.indexType);if(Ei&&(qt=vr($p(Le.objectType,Ei),Ke,1,ct)))return qt}}}else if(er&4194304){const lr=l_e(Le.type,Le.indexFlags)&&qr(Le.type)&32;if(qt=vr(ti,Ke,1,ct&&!lr))return qt;if(lr){const Ei=Le.type,Do=Vv(Ei),$o=Do&&BC(Ei)?sf(Do,Ei):Do||Cf(Ei);if(qt=vr($o,Ke,1,ct))return qt}}else if(er&134217728&&!(Lr&524288)){if(!(Lr&134217728)){const lr=Md(Le);if(lr&&lr!==Le&&(qt=vr(lr,Ke,1,ct)))return qt}}else if(er&268435456)if(Lr&268435456){if(Le.symbol!==Ke.symbol)return 0;if(qt=vr(Le.type,Ke.type,3,ct))return qt}else{const lr=Md(Le);if(lr&&(qt=vr(lr,Ke,1,ct)))return qt}else if(er&16777216){if(lR(Le,Te,Dt,10))return 3;if(Lr&16777216){const Do=Le.root.inferTypeParameters;let $o=Le.extendsType,gn;if(Do){const Xr=X8(Do,void 0,0,qi);Qg(Xr.inferences,Ke.extendsType,$o,1536),$o=oo($o,Xr.mapper),gn=Xr.mapper}if($g($o,Ke.extendsType)&&(vr(Le.checkType,Ke.checkType,3)||vr(Ke.checkType,Le.checkType,3))&&((qt=vr(oo(h0(Le),gn),h0(Ke),3,ct))&&(qt&=vr(_0(Le),_0(Ke),3,ct)),qt))return qt}const lr=Nhe(Le);if(lr&&(qt=vr(lr,Ke,1,ct)))return qt;const Ei=!(Lr&16777216)&&$z(Le)?I8e(Le):void 0;if(Ei&&(ui(ln),qt=vr(Ei,Ke,1,ct)))return qt}else{if(c!==X_&&c!==hl&&qlt(Ke)&&jy(Le))return-1;if(mp(Ke))return mp(Le)&&(qt=Kt(Le,Ke,ct))?qt:0;const lr=!!(er&402784252);if(c!==Kd)Le=Mu(Le),er=Le.flags;else if(mp(Le))return 0;if(qr(Le)&4&&qr(Ke)&4&&Le.target===Ke.target&&!Xa(Le)&&!(wY(Le)||wY(Ke))){if(BY(Le))return-1;const Ei=P_e(Le.target);if(Ei===se)return 1;const Do=Di(cl(Le),cl(Ke),Ei,Ut);if(Do!==void 0)return Do}else{if(RL(Ke)?xp(Le,$T):sm(Ke)&&xp(Le,Ei=>Xa(Ei)&&!Ei.target.readonly))return c!==Kd?vr(HT(Le,jt)||He,HT(Ke,jt)||He,3,ct):0;if(g0(Le)&&Xa(Ke)&&!g0(Ke)){const Ei=I_(Le);if(Ei!==Le)return vr(Ei,Ke,1,ct)}else if((c===X_||c===hl)&&jy(Ke)&&qr(Ke)&8192&&!jy(Le))return 0}if(er&2621440&&Lr&524288){const Ei=ct&&U===ln.errorInfo&&!lr;if(qt=ka(Le,Ke,Ei,void 0,!1,Ut),qt&&(qt&=Hs(Le,Ke,0,Ei,Ut),qt&&(qt&=Hs(Le,Ke,1,Ei,Ut),qt&&(qt&=we(Le,Ke,lr,Ei,Ut)))),nr&&qt)U=un||U||ln.errorInfo;else if(qt)return qt}if(er&2621440&&Lr&1048576){const Ei=PL(Ke,36175872);if(Ei.flags&1048576){const Do=Cn(Le,Ei);if(Do)return Do}}}return 0;function li(lr){return lr?yu(lr,(Ei,Do)=>Ei+1+li(Do.next),0):0}function Di(lr,Ei,Do,$o){if(qt=jL(lr,Ei,Do,ct,$o))return qt;if(bt(Do,Xr=>!!(Xr&24))){un=void 0,ui(ln);return}const gn=Ei&&Iut(Ei,Do);if(nr=!gn,Do!==se&&!gn){if(nr&&!(ct&&bt(Do,Xr=>(Xr&7)===0)))return 0;un=U,ui(ln)}}}function Kt(Le,Ke,ct){if(c===up||(c===Kd?ng(Le)===ng(Ke):yL(Le)<=yL(Ke))){let ln;const qt=Cf(Ke),un=oo(Cf(Le),yL(Le)<0?tl:bc);if(ln=vr(qt,un,3,ct)){const nr=Qp([th(Le)],[th(Ke)]);if(oo(Vv(Le),nr)===oo(Vv(Ke),nr))return ln&vr(oo(Jg(Le),nr),Jg(Ke),3,ct)}}return 0}function Cn(Le,Ke){var ct;const Ut=Es(Le),ln=BFe(Ut,Ke);if(!ln)return 0;let qt=1;for(const Di of ln)if(qt*=Bpt(xh(Di)),qt>25)return(ct=Ar)==null||ct.instant(Ar.Phase.CheckTypes,"typeRelatedToDiscriminatedType_DepthLimit",{sourceId:Le.id,targetId:Ke.id,numCombinations:qt}),0;const un=new Array(ln.length),nr=new Set;for(let Di=0;Di<ln.length;Di++){const lr=ln[Di],Ei=xh(lr);un[Di]=Ei.flags&1048576?Ei.types:[Ei],nr.add(lr.escapedName)}const er=mZ(un),Lr=[];for(const Di of er){let lr=!1;e:for(const Ei of Ke.types){for(let Do=0;Do<ln.length;Do++){const $o=ln[Do],gn=xa(Ei,$o.escapedName);if(!gn)continue e;if($o===gn)continue;if(!Gr(Le,Ke,$o,gn,Go=>Di[Do],!1,0,re||c===up))continue e}wf(Lr,Ei,ab),lr=!0}if(!lr)return 0}let li=-1;for(const Di of Lr)if(li&=ka(Le,Di,!1,nr,!1,0),li&&(li&=Hs(Le,Di,0,!1,0),li&&(li&=Hs(Le,Di,1,!1,0),li&&!(Xa(Le)&&Xa(Di))&&(li&=we(Le,Di,!1,!1,0)))),!li)return li;return li}function Xn(Le,Ke){if(!Ke||Le.length===0)return Le;let ct;for(let Ut=0;Ut<Le.length;Ut++)Ke.has(Le[Ut].escapedName)?ct||(ct=Le.slice(0,Ut)):ct&&ct.push(Le[Ut]);return ct||Le}function _r(Le,Ke,ct,Ut,ln){const qt=re&&!!(Fl(Ke)&48),un=fu(xh(Ke),!1,qt);if(un.flags&(c===hl?1:3))return-1;const nr=ct(Le);return vr(nr,un,3,Ut,void 0,ln)}function Gr(Le,Ke,ct,Ut,ln,qt,un,nr){const er=jf(ct),Lr=jf(Ut);if(er&2||Lr&2){if(ct.valueDeclaration!==Ut.valueDeclaration)return qt&&(er&2&&Lr&2?mo(f.Types_have_separate_declarations_of_a_private_property_0,uo(Ut)):mo(f.Property_0_is_private_in_type_1_but_not_in_type_2,uo(Ut),sr(er&2?Le:Ke),sr(er&2?Ke:Le))),0}else if(Lr&4){if(!Nut(ct,Ut))return qt&&mo(f.Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2,uo(Ut),sr(sR(ct)||Le),sr(sR(Ut)||Ke)),0}else if(er&4)return qt&&mo(f.Property_0_is_protected_in_type_1_but_public_in_type_2,uo(Ut),sr(Le),sr(Ke)),0;if(c===hl&&Wh(ct)&&!Wh(Ut))return 0;const li=_r(ct,Ut,ln,qt,un);return li?!nr&&ct.flags&16777216&&Ut.flags&106500&&!(Ut.flags&16777216)?(qt&&mo(f.Property_0_is_optional_in_type_1_but_required_in_type_2,uo(Ut),sr(Le),sr(Ke)),0):li:(qt&&Vo(f.Types_of_property_0_are_incompatible,uo(Ut)),0)}function yi(Le,Ke,ct,Ut){let ln=!1;if(ct.valueDeclaration&&nd(ct.valueDeclaration)&&to(ct.valueDeclaration.name)&&Le.symbol&&Le.symbol.flags&32){const un=ct.valueDeclaration.name.escapedText,nr=Nk(Le.symbol,un);if(nr&&xa(Le,nr)){const er=L.getDeclarationName(Le.symbol.valueDeclaration),Lr=L.getDeclarationName(Ke.symbol.valueDeclaration);mo(f.Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2,Sp(un),Sp(er.escapedText===""?zU:er),Sp(Lr.escapedText===""?zU:Lr));return}}const qt=Mo(K_e(Le,Ke,Ut,!1));if((!h||h.code!==f.Class_0_incorrectly_implements_interface_1.code&&h.code!==f.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code)&&(ln=!0),qt.length===1){const un=uo(ct,void 0,0,20);mo(f.Property_0_is_missing_in_type_1_but_required_in_type_2,un,...uL(Le,Ke)),et(ct.declarations)&&Xl(Sr(ct.declarations[0],f._0_is_declared_here,un)),ln&&U&&yr++}else rr(Le,Ke,!1)&&(qt.length>5?mo(f.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,sr(Le),sr(Ke),Gt(qt.slice(0,4),un=>uo(un)).join(", "),qt.length-4):mo(f.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,sr(Le),sr(Ke),Gt(qt,un=>uo(un)).join(", ")),ln&&U&&yr++)}function ka(Le,Ke,ct,Ut,ln,qt){if(c===Kd)return Fa(Le,Ke,Ut);let un=-1;if(Xa(Ke)){if($T(Le)){if(!Ke.target.readonly&&(RL(Le)||Xa(Le)&&Le.target.readonly))return 0;const Di=Hv(Le),lr=Hv(Ke),Ei=Xa(Le)?Le.target.combinedFlags&4:4,Do=!!(Ke.target.combinedFlags&12),$o=Xa(Le)?Le.target.minLength:0,gn=Ke.target.minLength;if(!Ei&&Di<gn)return ct&&mo(f.Source_has_0_element_s_but_target_requires_1,Di,gn),0;if(!Do&&lr<$o)return ct&&mo(f.Source_has_0_element_s_but_target_allows_only_1,$o,lr),0;if(!Do&&(Ei||lr<Di))return ct&&($o<gn?mo(f.Target_requires_0_element_s_but_source_may_have_fewer,gn):mo(f.Target_allows_only_0_element_s_but_source_may_have_more,lr)),0;const Xr=cl(Le),Go=cl(Ke),So=rdt(Ke.target,11),$a=O8(Ke.target,11);let gs=!!Ut;for(let Po=0;Po<Di;Po++){const Mc=Xa(Le)?Le.target.elementFlags[Po]:4,Pc=Di-1-Po,kd=Do&&Po>=So?lr-1-Math.min(Pc,$a):Po,gu=Ke.target.elementFlags[kd];if(gu&8&&!(Mc&8))return ct&&mo(f.Source_provides_no_match_for_variadic_element_at_position_0_in_target,kd),0;if(Mc&8&&!(gu&12))return ct&&mo(f.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,Po,kd),0;if(gu&1&&!(Mc&1))return ct&&mo(f.Source_provides_no_match_for_required_element_at_position_0_in_target,kd),0;if(gs&&((Mc&12||gu&12)&&(gs=!1),gs&&(Ut!=null&&Ut.has(""+Po))))continue;const Xu=qy(Xr[Po],!!(Mc&gu&2)),Yy=Go[kd],oS=Mc&8&&gu&4?$d(Yy):qy(Yy,!!(gu&2)),OE=vr(Xu,oS,3,ct,void 0,qt);if(!OE)return ct&&(lr>1||Di>1)&&(Do&&Po>=So&&Pc>=$a&&So!==Di-$a-1?Vo(f.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,So,Di-$a-1,kd):Vo(f.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,Po,kd)),0;un&=OE}return un}if(Ke.target.combinedFlags&12)return 0}const nr=(c===X_||c===hl)&&!Kv(Le)&&!BY(Le)&&!Xa(Le),er=X_e(Le,Ke,nr,!1);if(er)return ct&&$c(Le,Ke)&&yi(Le,Ke,er,nr),0;if(Kv(Ke)){for(const Di of Xn(Es(Le),Ut))if(!SE(Ke,Di.escapedName)&&!(gr(Di).flags&32768))return ct&&mo(f.Property_0_does_not_exist_on_type_1,uo(Di),sr(Ke)),0}const Lr=Es(Ke),li=Xa(Le)&&Xa(Ke);for(const Di of Xn(Lr,Ut)){const lr=Di.escapedName;if(!(Di.flags&4194304)&&(!li||Rg(lr)||lr==="length")&&(!ln||Di.flags&16777216)){const Ei=xa(Le,lr);if(Ei&&Ei!==Di){const Do=Gr(Le,Ke,Ei,Di,xh,ct,qt,c===up);if(!Do)return 0;un&=Do}}}return un}function Fa(Le,Ke,ct){if(!(Le.flags&524288&&Ke.flags&524288))return 0;const Ut=Xn(jv(Le),ct),ln=Xn(jv(Ke),ct);if(Ut.length!==ln.length)return 0;let qt=-1;for(const un of Ut){const nr=SE(Ke,un.escapedName);if(!nr)return 0;const er=k_e(un,nr,vr);if(!er)return 0;qt&=er}return qt}function Hs(Le,Ke,ct,Ut,ln){var qt,un;if(c===Kd)return iS(Le,Ke,ct);if(Ke===Ds||Le===Ds)return-1;const nr=Le.symbol&&C_(Le.symbol.valueDeclaration),er=Ke.symbol&&C_(Ke.symbol.valueDeclaration),Lr=aa(Le,nr&&ct===1?0:ct),li=aa(Ke,er&&ct===1?0:ct);if(ct===1&&Lr.length&&li.length){const $o=!!(Lr[0].flags&4),gn=!!(li[0].flags&4);if($o&&!gn)return Ut&&mo(f.Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type),0;if(!dn(Lr[0],li[0],Ut))return 0}let Di=-1;const lr=ct===1?hp:_u,Ei=qr(Le),Do=qr(Ke);if(Ei&64&&Do&64&&Le.symbol===Ke.symbol||Ei&4&&Do&4&&Le.target===Ke.target){C.assertEqual(Lr.length,li.length);for(let $o=0;$o<li.length;$o++){const gn=rS(Lr[$o],li[$o],!0,Ut,ln,lr(Lr[$o],li[$o]));if(!gn)return 0;Di&=gn}}else if(Lr.length===1&&li.length===1){const $o=c===up,gn=Qa(Lr),Xr=Qa(li);if(Di=rS(gn,Xr,$o,Ut,ln,lr(gn,Xr)),!Di&&Ut&&ct===1&&Ei&Do&&(((qt=Xr.declaration)==null?void 0:qt.kind)===177||((un=gn.declaration)==null?void 0:un.kind)===177)){const Go=So=>c0(So,void 0,262144,ct);return mo(f.Type_0_is_not_assignable_to_type_1,Go(gn),Go(Xr)),mo(f.Types_of_construct_signatures_are_incompatible),Di}}else e:for(const $o of li){const gn=Pi();let Xr=Ut;for(const Go of Lr){const So=rS(Go,$o,!0,Xr,ln,lr(Go,$o));if(So){Di&=So,ui(gn);continue e}Xr=!1}return Xr&&mo(f.Type_0_provides_no_match_for_the_signature_1,sr(Le),c0($o,void 0,void 0,ct)),0}return Di}function $c(Le,Ke){const ct=Zz(Le,0),Ut=Zz(Le,1),ln=jv(Le);return(ct.length||Ut.length)&&!ln.length?!!(aa(Ke,0).length&&ct.length||aa(Ke,1).length&&Ut.length):!0}function _u(Le,Ke){return Le.parameters.length===0&&Ke.parameters.length===0?(ct,Ut)=>Vo(f.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,sr(ct),sr(Ut)):(ct,Ut)=>Vo(f.Call_signature_return_types_0_and_1_are_incompatible,sr(ct),sr(Ut))}function hp(Le,Ke){return Le.parameters.length===0&&Ke.parameters.length===0?(ct,Ut)=>Vo(f.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,sr(ct),sr(Ut)):(ct,Ut)=>Vo(f.Construct_signature_return_types_0_and_1_are_incompatible,sr(ct),sr(Ut))}function rS(Le,Ke,ct,Ut,ln,qt){const un=c===X_?16:c===hl?24:0;return x_e(ct?w8(Le):Le,ct?w8(Ke):Ke,un,Ut,mo,qt,nr,bc);function nr(er,Lr,li){return vr(er,Lr,3,li,void 0,ln)}}function iS(Le,Ke,ct){const Ut=aa(Le,ct),ln=aa(Ke,ct);if(Ut.length!==ln.length)return 0;let qt=-1;for(let un=0;un<Ut.length;un++){const nr=g5(Ut[un],ln[un],!1,!1,!1,vr);if(!nr)return 0;qt&=nr}return qt}function pB(Le,Ke,ct,Ut){let ln=-1;const qt=Ke.keyType,un=Le.flags&2097152?Yz(Le):jv(Le);for(const nr of un)if(!cFe(Le,nr)&&tR(rR(nr,8576),qt)){const er=xh(nr),Lr=ve||er.flags&32768||qt===jt||!(nr.flags&16777216)?er:lm(er,524288),li=vr(Lr,Ke.type,3,ct,void 0,Ut);if(!li)return ct&&mo(f.Property_0_is_incompatible_with_index_signature,uo(nr)),0;ln&=li}for(const nr of Yd(Le))if(tR(nr.keyType,qt)){const er=aQ(nr,Ke,ct,Ut);if(!er)return 0;ln&=er}return ln}function aQ(Le,Ke,ct,Ut){const ln=vr(Le.type,Ke.type,3,ct,void 0,Ut);return!ln&&ct&&(Le.keyType===Ke.keyType?mo(f._0_index_signatures_are_incompatible,sr(Le.keyType)):mo(f._0_and_1_index_signatures_are_incompatible,sr(Le.keyType),sr(Ke.keyType))),ln}function we(Le,Ke,ct,Ut,ln){if(c===Kd)return an(Le,Ke);const qt=Yd(Ke),un=bt(qt,er=>er.keyType===yt);let nr=-1;for(const er of qt){const Lr=c!==hl&&!ct&&un&&er.type.flags&1?-1:mp(Le)&&un?vr(Jg(Le),er.type,3,Ut):ae(Le,er,Ut,ln);if(!Lr)return 0;nr&=Lr}return nr}function ae(Le,Ke,ct,Ut){const ln=M8(Le,Ke.keyType);return ln?aQ(ln,Ke,ct,Ut):!(Ut&1)&&(c!==hl||qr(Le)&8192)&&qY(Le)?pB(Le,Ke,ct,Ut):(ct&&mo(f.Index_signature_for_type_0_is_missing_in_type_1,sr(Ke.keyType),sr(Le)),0)}function an(Le,Ke){const ct=Yd(Le),Ut=Yd(Ke);if(ct.length!==Ut.length)return 0;for(const ln of Ut){const qt=Kg(Le,ln.keyType);if(!(qt&&vr(qt.type,ln.type,3)&&qt.isReadonly===ln.isReadonly))return 0}return-1}function dn(Le,Ke,ct){if(!Le.declaration||!Ke.declaration)return!0;const Ut=II(Le.declaration,6),ln=II(Ke.declaration,6);return ln===2||ln===4&&Ut!==2||ln!==4&&!Ut?!0:(ct&&mo(f.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type,GT(Ut),GT(ln)),!1)}}function C_e(n){if(n.flags&16)return!1;if(n.flags&3145728)return!!Xe(n.types,C_e);if(n.flags&465829888){const a=TA(n);if(a&&a!==n)return C_e(a)}return Ph(n)||!!(n.flags&134217728)||!!(n.flags&268435456)}function dFe(n,a){return Xa(n)&&Xa(a)?se:Es(a).filter(c=>kY(yn(n,c.escapedName),gr(c)))}function kY(n,a){return!!n&&!!a&&nc(n,32768)&&!!J8(a)}function Eut(n){return Es(n).filter(a=>J8(gr(a)))}function uFe(n,a,c=A_e){return B7e(n,a,c)||qbt(n,a)||Jbt(n,a)||Kbt(n,a)||Xbt(n,a)}function N_e(n,a,c){const p=n.types,h=p.map(I=>I.flags&402784252?0:-1);for(const[I,w]of a){let U=!1;for(let H=0;H<p.length;H++)if(h[H]){const Z=ni(p[H],w);Z&&(cm(I(),Ee=>!!c(Ee,Z))?U=!0:h[H]=3)}for(let H=0;H<p.length;H++)h[H]===3&&(h[H]=U?0:-1)}const v=Vn(h,0)?_i(p.filter((I,w)=>h[w]),0):n;return v.flags&131072?n:v}function M_e(n){if(n.flags&524288){const a=Nh(n);return a.callSignatures.length===0&&a.constructSignatures.length===0&&a.indexInfos.length===0&&a.properties.length>0&&Gn(a.properties,c=>!!(c.flags&16777216))}return n.flags&33554432?M_e(n.baseType):n.flags&2097152?Gn(n.types,M_e):!1}function Aut(n,a,c){for(const p of Es(n))if(y$(a,p.escapedName,c))return!0;return!1}function P_e(n){return n===ts||n===ja||n.objectFlags&8?F:fFe(n.symbol,n.typeParameters)}function pFe(n){return fFe(n,Kr(n).typeParameters)}function fFe(n,a=se){var c,p;const h=Kr(n);if(!h.variances){(c=Ar)==null||c.push(Ar.Phase.CheckTypes,"getVariancesWorker",{arity:a.length,id:pd(Xs(n))});const v=K1,I=Rv;K1||(K1=!0,Rv=Wg.length),h.variances=se;const w=[];for(const U of a){const H=L_e(U);let Z=H&16384?H&8192?0:1:H&8192?2:void 0;if(Z===void 0){let Ee=!1,Te=!1;const Ye=zo;zo=en=>en?Te=!0:Ee=!0;const ht=h5(n,U,Gs),Dt=h5(n,U,Ie);Z=(da(Dt,ht)?1:0)|(da(ht,Dt)?2:0),Z===3&&da(h5(n,U,Y),ht)&&(Z=4),zo=Ye,(Ee||Te)&&(Ee&&(Z|=8),Te&&(Z|=16))}w.push(Z)}v||(K1=!1,Rv=I),h.variances=w,(p=Ar)==null||p.pop({variances:w.map(C.formatVariance)})}return h.variances}function h5(n,a,c){const p=DE(a,c),h=Xs(n);if(mr(h))return h;const v=n.flags&524288?jC(n,Vy(Kr(n).typeParameters,p)):Fy(h,Vy(h.typeParameters,p));return _t.add(pd(v)),v}function wY(n){return _t.has(pd(n))}function L_e(n){var a;return yu((a=n.symbol)==null?void 0:a.declarations,(c,p)=>c|Gd(p),0)&28672}function Iut(n,a){for(let c=0;c<a.length;c++)if((a[c]&7)===1&&n[c].flags&16384)return!0;return!1}function xut(n){return n.flags&262144&&!Ju(n)}function Rut(n){return!!(qr(n)&4)&&!n.node}function OY(n){return Rut(n)&&bt(cl(n),a=>!!(a.flags&262144)||OY(a))}function Dut(n,a,c,p){const h=[];let v="";const I=U(n,0),w=U(a,0);return"".concat(v).concat(I,",").concat(w).concat(c);function U(H,Z=0){let Ee=""+H.target.id;for(const Te of cl(H)){if(Te.flags&262144){if(p||xut(Te)){let Ye=h.indexOf(Te);Ye<0&&(Ye=h.length,h.push(Te)),Ee+="="+Ye;continue}v="*"}else if(Z<4&&OY(Te)){Ee+="<"+U(Te,Z+1)+">";continue}Ee+="-"+Te.id}return Ee}}function WY(n,a,c,p,h){if(p===Kd&&n.id>a.id){const I=n;n=a,a=I}const v=c?":"+c:"";return OY(n)&&OY(a)?Dut(n,a,v,h):"".concat(n.id,",").concat(a.id).concat(v)}function _5(n,a){if(Fl(n)&6){for(const c of n.links.containingType.types){const p=xa(c,n.escapedName),h=p&&_5(p,a);if(h)return h}return}return a(n)}function sR(n){return n.parent&&n.parent.flags&32?Xs(Xc(n)):void 0}function FY(n){const a=sR(n),c=a&&rm(a)[0];return c&&yn(c,n.escapedName)}function Cut(n,a){return _5(n,c=>{const p=sR(c);return p?Hr(p,a):!1})}function Nut(n,a){return!_5(a,c=>jf(c)&4?!Cut(n,sR(c)):!1)}function mFe(n,a,c){return _5(a,p=>jf(p,c)&4?!Hr(n,sR(p)):!1)?void 0:n}function lR(n,a,c,p=3){if(c>=p){if((qr(n)&96)===96&&(n=hFe(n)),n.flags&2097152)return bt(n.types,w=>lR(w,a,c,p));const h=zY(n);let v=0,I=0;for(let w=0;w<c;w++){const U=a[w];if(_Fe(U,h)){if(U.id>=I&&(v++,v>=p))return!0;I=U.id}}}return!1}function hFe(n){let a;for(;(qr(n)&96)===96&&(a=UT(n))&&(a.symbol||a.flags&2097152&&bt(a.types,c=>!!c.symbol));)n=a;return n}function _Fe(n,a){return(qr(n)&96)===96&&(n=hFe(n)),n.flags&2097152?bt(n.types,c=>_Fe(c,a)):zY(n)===a}function zY(n){if(n.flags&524288&&!$_e(n)){if(qr(n)&4&&n.node)return n.node;if(n.symbol&&!(qr(n)&16&&n.symbol.flags&32))return n.symbol;if(Xa(n))return n.target}if(n.flags&262144)return n.symbol;if(n.flags&8388608){do n=n.objectType;while(n.flags&8388608);return n}return n.flags&16777216?n.root:n}function Mut(n,a){return k_e(n,a,V8)!==0}function k_e(n,a,c){if(n===a)return-1;const p=jf(n)&6,h=jf(a)&6;if(p!==h)return 0;if(p){if(rN(n)!==rN(a))return 0}else if((n.flags&16777216)!==(a.flags&16777216))return 0;return Wh(n)!==Wh(a)?0:c(gr(n),gr(a))}function Put(n,a,c){const p=Rp(n),h=Rp(a),v=Oh(n),I=Oh(a),w=ag(n),U=ag(a);return!!(p===h&&v===I&&w===U||c&&v<=I)}function g5(n,a,c,p,h,v){if(n===a)return-1;if(!Put(n,a,c)||et(n.typeParameters)!==et(a.typeParameters))return 0;if(a.typeParameters){const U=Qp(n.typeParameters,a.typeParameters);for(let H=0;H<a.typeParameters.length;H++){const Z=n.typeParameters[H],Ee=a.typeParameters[H];if(!(Z===Ee||v(oo(SL(Z),U)||At,SL(Ee)||At)&&v(oo(EE(Z),U)||At,EE(Ee)||At)))return 0}n=NA(n,U,!0)}let I=-1;if(!p){const U=qT(n);if(U){const H=qT(a);if(H){const Z=v(U,H);if(!Z)return 0;I&=Z}}}const w=Rp(a);for(let U=0;U<w;U++){const H=wh(n,U),Z=wh(a,U),Ee=v(Z,H);if(!Ee)return 0;I&=Ee}if(!h){const U=om(n),H=om(a);I&=U||H?Lut(U,H,v):v(hs(n),hs(a))}return I}function Lut(n,a,c){return n&&a&&o_e(n,a)?n.type===a.type?-1:n.type&&a.type?c(n.type,a.type):0:0}function kut(n){let a;for(const c of n)if(!(c.flags&131072)){const p=Uy(c);if(a!=null||(a=p),p===c||p!==a)return!1}return!0}function gFe(n){return yu(n,(a,c)=>a|(c.flags&1048576?gFe(c.types):c.flags),0)}function wut(n){if(n.length===1)return n[0];const a=re?Ui(n,p=>Tc(p,h=>!(h.flags&98304))):n,c=kut(a)?_i(a):Out(a);return a===n?c:b5(c,gFe(n)&98304)}function Out(n){const a=yu(n,(c,p)=>xL(c,p)?p:c);return Gn(n,c=>c===a||xL(c,a))?a:yu(n,(c,p)=>CE(c,p)?p:c)}function Wut(n){return yu(n,(a,c)=>CE(c,a)?c:a)}function sm(n){return!!(qr(n)&4)&&(n.target===ts||n.target===ja)}function RL(n){return!!(qr(n)&4)&&n.target===ja}function $T(n){return sm(n)||Xa(n)}function y5(n){return sm(n)&&!RL(n)||Xa(n)&&!n.target.readonly}function v5(n){return sm(n)?cl(n)[0]:void 0}function Jv(n){return sm(n)||!(n.flags&98304)&&da(n,qp)}function w_e(n){return y5(n)||!(n.flags&98305)&&da(n,bd)}function O_e(n){if(!(qr(n)&4)||!(qr(n.target)&3))return;if(qr(n)&33554432)return qr(n)&67108864?n.cachedEquivalentBaseType:void 0;n.objectFlags|=33554432;const a=n.target;if(qr(a)&1){const h=E_(a);if(h&&h.expression.kind!==80&&h.expression.kind!==212)return}const c=rm(a);if(c.length!==1||tg(n.symbol).size)return;let p=et(a.typeParameters)?oo(c[0],Qp(a.typeParameters,cl(n).slice(0,a.typeParameters.length))):c[0];return et(cl(n))>et(a.typeParameters)&&(p=Yp(p,Ga(cl(n)))),n.objectFlags|=67108864,n.cachedEquivalentBaseType=p}function yFe(n){return re?n===bn:n===B}function BY(n){const a=v5(n);return!!a&&yFe(a)}function DL(n){let a;return Xa(n)||!!xa(n,"0")||Jv(n)&&!!(a=yn(n,"length"))&&xp(a,c=>!!(c.flags&256))}function GY(n){return Jv(n)||DL(n)}function Fut(n,a){const c=yn(n,""+a);if(c)return c;if(xp(n,Xa))return SFe(n,a,O.noUncheckedIndexedAccess?ye:void 0)}function zut(n){return!(n.flags&240544)}function Ph(n){return!!(n.flags&109472)}function vFe(n){const a=I_(n);return a.flags&2097152?bt(a.types,Ph):Ph(a)}function But(n){return n.flags&2097152&&_n(n.types,Ph)||n}function H8(n){return n.flags&16?!0:n.flags&1048576?n.flags&1024?!0:Gn(n.types,Ph):Ph(n)}function Uy(n){return n.flags&1056?sY(n):n.flags&402653312?yt:n.flags&256?jt:n.flags&2048?or:n.flags&512?zt:n.flags&1048576?Gut(n):n}function Gut(n){var c;const a="B".concat(pd(n));return(c=Uu(a))!=null?c:Mm(a,Al(n,Uy))}function W_e(n){return n.flags&402653312?yt:n.flags&288?jt:n.flags&2048?or:n.flags&512?zt:n.flags&1048576?Al(n,W_e):n}function QT(n){return n.flags&1056&&RE(n)?sY(n):n.flags&128&&RE(n)?yt:n.flags&256&&RE(n)?jt:n.flags&2048&&RE(n)?or:n.flags&512&&RE(n)?zt:n.flags&1048576?Al(n,QT):n}function bFe(n){return n.flags&8192?Yt:n.flags&1048576?Al(n,bFe):n}function F_e(n,a){return L$(n,a)||(n=bFe(QT(n))),Pu(n)}function Vut(n,a,c){if(n&&Ph(n)){const p=a?c?mW(a):a:void 0;n=F_e(n,p)}return n}function z_e(n,a,c,p){if(n&&Ph(n)){const h=a?Yv(c,a,p):void 0;n=F_e(n,h)}return n}function Xa(n){return!!(qr(n)&4&&n.target.objectFlags&8)}function g0(n){return Xa(n)&&!!(n.target.combinedFlags&8)}function TFe(n){return g0(n)&&n.target.elementFlags.length===1}function VY(n){return CL(n,n.target.fixedLength)}function SFe(n,a,c){return Al(n,p=>{const h=p,v=VY(h);return v?c&&a>=r_e(h.target)?_i([v,c]):v:ye})}function jut(n){const a=VY(n);return a&&$d(a)}function CL(n,a,c=0,p=!1,h=!1){const v=Hv(n)-c;if(a<v){const I=cl(n),w=[];for(let U=a;U<v;U++){const H=I[U];w.push(n.target.elementFlags[U]&8?$p(H,jt):H)}return p?La(w):_i(w,h?0:1)}}function Uut(n,a){return Hv(n)===Hv(a)&&Gn(n.target.elementFlags,(c,p)=>(c&12)===(a.target.elementFlags[p]&12))}function EFe({value:n}){return n.base10Value==="0"}function AFe(n){return Tc(n,a=>Lh(a,4194304))}function Hut(n){return Al(n,qut)}function qut(n){return n.flags&4?EC:n.flags&8?nL:n.flags&64?AC:n===fr||n===$n||n.flags&114691||n.flags&128&&n.value===""||n.flags&256&&n.value===0||n.flags&2048&&EFe(n)?n:vn}function b5(n,a){const c=a&~n.flags&98304;return c===0?n:_i(c===32768?[n,ye]:c===65536?[n,$t]:[n,ye,$t])}function y0(n,a=!1){C.assert(re);const c=a?te:ye;return n===c||n.flags&1048576&&n.types[0]===c?n:_i([n,c])}function Jut(n){return Ru||(Ru=HC("NonNullable",524288,void 0)||ie),Ru!==ie?jC(Ru,[n]):La([n,Ma])}function Hy(n){return re?wA(n,2097152):n}function IFe(n){return re?_i([n,xt]):n}function jY(n){return re?e$(n,xt):n}function UY(n,a,c){return c?kN(a)?y0(n):IFe(n):n}function q8(n,a){return yF(a)?Hy(n):tu(a)?jY(n):n}function qy(n,a){return ve&&a?e$(n,xe):n}function J8(n){return n===xe||!!(n.flags&1048576)&&n.types[0]===xe}function HY(n){return ve?e$(n,xe):lm(n,524288)}function Kut(n,a){return(n.flags&524)!==0&&(a.flags&28)!==0}function qY(n){const a=qr(n);return n.flags&2097152?Gn(n.types,qY):!!(n.symbol&&(n.symbol.flags&7040)!==0&&!(n.symbol.flags&32)&&!Q$(n))||!!(a&4194304)||!!(a&1024&&qY(n.source))}function PA(n,a){const c=Ua(n.flags,n.escapedName,Fl(n)&8);c.declarations=n.declarations,c.parent=n.parent,c.links.type=a,c.links.target=n,n.valueDeclaration&&(c.valueDeclaration=n.valueDeclaration);const p=Kr(n).nameType;return p&&(c.links.nameType=p),c}function Xut(n,a){const c=ma();for(const p of jv(n)){const h=gr(p),v=a(h);c.set(p.escapedName,v===h?p:PA(p,v))}return c}function K8(n){if(!(Kv(n)&&qr(n)&8192))return n;const a=n.regularType;if(a)return a;const c=n,p=Xut(n,K8),h=El(c.symbol,p,c.callSignatures,c.constructSignatures,c.indexInfos);return h.flags=c.flags,h.objectFlags|=c.objectFlags&-8193,n.regularType=h,h}function xFe(n,a,c){return{parent:n,propertyName:a,siblings:c,resolvedProperties:void 0}}function RFe(n){if(!n.siblings){const a=[];for(const c of RFe(n.parent))if(Kv(c)){const p=SE(c,n.propertyName);p&&OA(gr(p),h=>{a.push(h)})}n.siblings=a}return n.siblings}function Yut(n){if(!n.resolvedProperties){const a=new Map;for(const c of RFe(n))if(Kv(c)&&!(qr(c)&2097152))for(const p of Es(c))a.set(p.escapedName,p);n.resolvedProperties=Mo(a.values())}return n.resolvedProperties}function $ut(n,a){if(!(n.flags&4))return n;const c=gr(n),p=a&&xFe(a,n.escapedName,void 0),h=B_e(c,p);return h===c?n:PA(n,h)}function Qut(n){const a=ce.get(n.escapedName);if(a)return a;const c=PA(n,te);return c.flags|=16777216,ce.set(n.escapedName,c),c}function Zut(n,a){const c=ma();for(const h of jv(n))c.set(h.escapedName,$ut(h,a));if(a)for(const h of Yut(a))c.has(h.escapedName)||c.set(h.escapedName,Qut(h));const p=El(n.symbol,c,se,se,Ui(Yd(n),h=>Xg(h.keyType,Zp(h.type),h.isReadonly,h.declaration,h.components)));return p.objectFlags|=qr(n)&266240,p}function Zp(n){return B_e(n,void 0)}function B_e(n,a){if(qr(n)&196608){if(a===void 0&&n.widened)return n.widened;let c;if(n.flags&98305)c=He;else if(Kv(n))c=Zut(n,a);else if(n.flags&1048576){const p=a||xFe(void 0,void 0,n.types),h=Ui(n.types,v=>v.flags&98304?v:B_e(v,p));c=_i(h,bt(h,jy)?2:1)}else n.flags&2097152?c=La(Ui(n.types,Zp)):$T(n)&&(c=Fy(n.target,Ui(cl(n),Zp)));return c&&a===void 0&&(n.widened=c),c||n}return n}function JY(n){var a;let c=!1;if(qr(n)&65536){if(n.flags&1048576)if(bt(n.types,jy))c=!0;else for(const p of n.types)c||(c=JY(p));else if($T(n))for(const p of cl(n))c||(c=JY(p));else if(Kv(n))for(const p of jv(n)){const h=gr(p);if(qr(h)&65536&&(c=JY(h),!c)){const v=(a=p.declarations)==null?void 0:a.find(I=>{var w;return((w=I.symbol.valueDeclaration)==null?void 0:w.parent)===n.symbol.valueDeclaration});v&&(Ze(v,f.Object_literal_s_property_0_implicitly_has_an_1_type,uo(p),sr(Zp(h))),c=!0)}}}return c}function ZT(n,a,c){const p=sr(Zp(a));if(Er(n)&&!xM(On(n),O))return;let h;switch(n.kind){case 227:case 173:case 172:h=Ae?f.Member_0_implicitly_has_an_1_type:f.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 170:const v=n;if(Je(v.name)){const I=KE(v.name);if((HI(v.parent)||Um(v.parent)||G_(v.parent))&&v.parent.parameters.includes(v)&&(gt(v,v.name.escapedText,788968,void 0,!0)||I&&PV(I))){const w="arg"+v.parent.parameters.indexOf(v),U=Fs(v.name)+(v.dotDotDotToken?"[]":"");Ym(Ae,n,f.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,w,U);return}}h=n.dotDotDotToken?Ae?f.Rest_parameter_0_implicitly_has_an_any_type:f.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:Ae?f.Parameter_0_implicitly_has_an_1_type:f.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 209:if(h=f.Binding_element_0_implicitly_has_an_1_type,!Ae)return;break;case 318:Ze(n,f.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,p);return;case 324:Ae&&MD(n.parent)&&Ze(n.parent.tagName,f.This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation,p);return;case 263:case 175:case 174:case 178:case 179:case 219:case 220:if(Ae&&!n.name){c===3?Ze(n,f.Generator_implicitly_has_yield_type_0_Consider_supplying_a_return_type_annotation,p):Ze(n,f.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,p);return}h=Ae?c===3?f._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:f._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:f._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage;break;case 201:Ae&&Ze(n,f.Mapped_object_type_implicitly_has_an_any_template_type);return;default:h=Ae?f.Variable_0_implicitly_has_an_1_type:f.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}Ym(Ae,n,h,Fs(Fo(n)),p)}function ept(n,a){var v,I;const c=f$(n);if(!c)return!0;let p=hs(c);const h=dc(n);switch(a){case 1:return h&1?p=(v=Yv(1,p,!!(h&2)))!=null?v:p:h&2&&(p=(I=Ky(p))!=null?I:p),KT(p);case 3:const w=Yv(0,p,!!(h&2));return!!w&&KT(w);case 2:const U=Yv(2,p,!!(h&2));return!!U&&KT(U)}return!1}function KY(n,a,c){r(()=>{Ae&&qr(a)&65536&&(!c||ks(n)&&ept(n,c))&&(JY(a)||ZT(n,a,c))})}function G_e(n,a,c){const p=Rp(n),h=Rp(a),v=sW(n),I=sW(a),w=I?h-1:h,U=v?w:Math.min(p,w),H=qT(n);if(H){const Z=qT(a);Z&&c(H,Z)}for(let Z=0;Z<U;Z++)c(wh(n,Z),wh(a,Z));I&&c(H5(n,U,SA(I)&&!cm(I,w_e)),I)}function V_e(n,a,c){const p=om(a);if(p){const v=om(n);if(v&&o_e(v,p)&&v.type&&p.type){c(v.type,p.type);return}}const h=hs(a);v0(h)&&c(hs(n),h)}function X8(n,a,c,p){return j_e(n.map(H_e),a,c,p||A_e)}function DFe(n,a=0){return n&&j_e(Gt(n.inferences,CFe),n.signature,n.flags|a,n.compareTypes)}function j_e(n,a,c,p){const h={inferences:n,signature:a,flags:c,compareTypes:p,mapper:tl,nonFixingMapper:tl};return h.mapper=tpt(h),h.nonFixingMapper=npt(h),h}function tpt(n){return v_e(Gt(n.inferences,a=>a.typeParameter),Gt(n.inferences,(a,c)=>()=>(a.isFixed||(rpt(n),XY(n.inferences),a.isFixed=!0),Q_e(n,c))))}function npt(n){return v_e(Gt(n.inferences,a=>a.typeParameter),Gt(n.inferences,(a,c)=>()=>Q_e(n,c)))}function XY(n){for(const a of n)a.isFixed||(a.inferredType=void 0)}function U_e(n,a,c){var p;((p=n.intraExpressionInferenceSites)!=null?p:n.intraExpressionInferenceSites=[]).push({node:a,type:c})}function rpt(n){if(n.intraExpressionInferenceSites){for(const{node:a,type:c}of n.intraExpressionInferenceSites){const p=a.kind===175?L6e(a,2):Ku(a,2);p&&Qg(n.inferences,c,p)}n.intraExpressionInferenceSites=void 0}}function H_e(n){return{typeParameter:n,candidates:void 0,contraCandidates:void 0,inferredType:void 0,priority:void 0,topLevel:!0,isFixed:!1,impliedArity:void 0}}function CFe(n){return{typeParameter:n.typeParameter,candidates:n.candidates&&n.candidates.slice(),contraCandidates:n.contraCandidates&&n.contraCandidates.slice(),inferredType:n.inferredType,priority:n.priority,topLevel:n.topLevel,isFixed:n.isFixed,impliedArity:n.impliedArity}}function ipt(n){const a=Fn(n.inferences,nN);return a.length?j_e(Gt(a,CFe),n.signature,n.flags,n.compareTypes):void 0}function q_e(n){return n&&n.mapper}function v0(n){const a=qr(n);if(a&524288)return!!(a&1048576);const c=!!(n.flags&465829888||n.flags&524288&&!NFe(n)&&(a&4&&(n.node||bt(cl(n),v0))||a&16&&n.symbol&&n.symbol.flags&14384&&n.symbol.declarations||a&12583968)||n.flags&3145728&&!(n.flags&1024)&&!NFe(n)&&bt(n.types,v0));return n.flags&3899393&&(n.objectFlags|=524288|(c?1048576:0)),c}function NFe(n){if(n.aliasSymbol&&!n.aliasTypeArguments){const a=ul(n.aliasSymbol,266);return!!(a&&Rn(a.parent,c=>c.kind===308?!0:c.kind===268?!1:"quit"))}return!1}function Y8(n,a,c=0){return!!(n===a||n.flags&3145728&&bt(n.types,p=>Y8(p,a,c))||c<3&&n.flags&16777216&&(Y8(h0(n),a,c+1)||Y8(_0(n),a,c+1)))}function opt(n,a){const c=om(n);return c?!!c.type&&Y8(c.type,a):Y8(hs(n),a)}function apt(n){const a=ma();OA(n,p=>{if(!(p.flags&128))return;const h=Pl(p.value),v=Ua(4,h);v.links.type=He,p.symbol&&(v.declarations=p.symbol.declarations,v.valueDeclaration=p.symbol.valueDeclaration),a.set(h,v)});const c=n.flags&4?[Xg(yt,Ma,!1)]:se;return El(void 0,a,se,se,c)}function MFe(n,a,c){const p=n.id+","+a.id+","+c.id;if(xu.has(p))return xu.get(p);const h=spt(n,a,c);return xu.set(p,h),h}function J_e(n){return!(qr(n)&262144)||Kv(n)&&bt(Es(n),a=>J_e(gr(a)))||Xa(n)&&bt(IE(n),J_e)}function spt(n,a,c){if(!(Kg(n,yt)||Es(n).length!==0&&J_e(n)))return;if(sm(n)){const h=YY(cl(n)[0],a,c);return h?$d(h,RL(n)):void 0}if(Xa(n)){const h=Gt(IE(n),I=>YY(I,a,c));if(!Gn(h,I=>!!I))return;const v=ng(a)&4?Ui(n.target.elementFlags,I=>I&2?1:I):n.target.elementFlags;return ig(h,v,n.target.readonly,n.target.labeledElementDeclarations)}const p=hc(1040,void 0);return p.source=n,p.mappedType=a,p.constraintType=c,p}function lpt(n){const a=Kr(n);return a.type||(a.type=YY(n.links.propertyType,n.links.mappedType,n.links.constraintType)||At),a.type}function cpt(n,a,c){const p=$p(c.type,th(a)),h=Jg(a),v=H_e(p);return Qg([v],n,h),PFe(v)||At}function YY(n,a,c){const p=n.id+","+a.id+","+c.id;if(Iu.has(p))return Iu.get(p)||At;ET.push(n),$1.push(a);const h=AT;lR(n,ET,ET.length,2)&&(AT|=1),lR(a,$1,$1.length,2)&&(AT|=2);let v;return AT!==3&&(v=cpt(n,a,c)),ET.pop(),$1.pop(),AT=h,Iu.set(p,v),v}function*K_e(n,a,c,p){const h=Es(a);for(const v of h)if(!c8e(v)&&(c||!(v.flags&16777216||Fl(v)&48))){const I=xa(n,v.escapedName);if(!I)yield v;else if(p){const w=gr(v);if(w.flags&109472){const U=gr(I);U.flags&1||Pu(U)===Pu(w)||(yield v)}}}}function X_e(n,a,c,p){return jW(K_e(n,a,c,p))}function dpt(n,a){return!(a.target.combinedFlags&8)&&a.target.minLength>n.target.minLength||!(a.target.combinedFlags&12)&&(!!(n.target.combinedFlags&12)||a.target.fixedLength<n.target.fixedLength)}function upt(n,a){return Xa(n)&&Xa(a)?dpt(n,a):!!X_e(n,a,!1,!0)&&!!X_e(a,n,!1,!1)}function PFe(n){return n.candidates?_i(n.candidates,2):n.contraCandidates?La(n.contraCandidates):void 0}function Y_e(n){return!!Vr(n).skipDirectInference}function LFe(n){return!!(n.symbol&&bt(n.symbol.declarations,Y_e))}function ppt(n,a){const c=n.texts[0],p=a.texts[0],h=n.texts[n.texts.length-1],v=a.texts[a.texts.length-1],I=Math.min(c.length,p.length),w=Math.min(h.length,v.length);return c.slice(0,I)!==p.slice(0,I)||h.slice(h.length-w)!==v.slice(v.length-w)}function kFe(n,a){if(n==="")return!1;const c=+n;return isFinite(c)&&(!a||""+c===n)}function fpt(n){return l5($V(n))}function $Y(n,a){if(a.flags&1)return!0;if(a.flags&134217732)return da(n,a);if(a.flags&268435456){const c=[];for(;a.flags&268435456;)c.unshift(a.symbol),a=a.type;return yu(c,(h,v)=>iR(v,h),n)===n&&$Y(n,a)}return!1}function wFe(n,a){if(a.flags&2097152)return Gn(a.types,c=>c===ga||wFe(n,c));if(a.flags&4||da(n,a))return!0;if(n.flags&128){const c=n.value;return!!(a.flags&8&&kFe(c,!1)||a.flags&64&&e4(c,!1)||a.flags&98816&&c===a.intrinsicName||a.flags&268435456&&$Y(n,a)||a.flags&134217728&&QY(n,a))}if(n.flags&134217728){const c=n.texts;return c.length===2&&c[0]===""&&c[1]===""&&da(n.types[0],a)}return!1}function OFe(n,a){return n.flags&128?WFe([n.value],se,a):n.flags&134217728?ef(n.texts,a.texts)?Gt(n.types,(c,p)=>da(I_(c),I_(a.types[p]))?c:mpt(c)):WFe(n.texts,n.types,a):void 0}function QY(n,a){const c=OFe(n,a);return!!c&&Gn(c,(p,h)=>wFe(p,a.types[h]))}function mpt(n){return n.flags&402653317?n:IA(["",""],[n])}function WFe(n,a,c){const p=n.length-1,h=n[0],v=n[p],I=c.texts,w=I.length-1,U=I[0],H=I[w];if(p===0&&h.length<U.length+H.length||!h.startsWith(U)||!v.endsWith(H))return;const Z=v.slice(0,v.length-H.length),Ee=[];let Te=0,Ye=U.length;for(let en=1;en<w;en++){const Sn=I[en];if(Sn.length>0){let Zn=Te,yr=Ye;for(;yr=ht(Zn).indexOf(Sn,yr),!(yr>=0);){if(Zn++,Zn===n.length)return;yr=0}Dt(Zn,yr),Ye+=Sn.length}else if(Ye<ht(Te).length)Dt(Te,Ye+1);else if(Te<p)Dt(Te+1,0);else return}return Dt(p,ht(p).length),Ee;function ht(en){return en<p?n[en]:Z}function Dt(en,Sn){const Zn=en===Te?Ip(ht(en).slice(Ye,Sn)):IA([n[Te].slice(Ye),...n.slice(Te+1,en),ht(en).slice(0,Sn)],a.slice(Te,en));Ee.push(Zn),Te=en,Ye=Sn}}function Qg(n,a,c,p=0,h=!1){let v=!1,I,w=2048,U,H,Z,Ee=0;Te(a,c);function Te(Un,rr){if(!(!v0(rr)||UC(rr))){if(Un===Nt||Un===Wt){const qi=I;I=Un,Te(rr,rr),I=qi;return}if(Un.aliasSymbol&&Un.aliasSymbol===rr.aliasSymbol){if(Un.aliasTypeArguments){const qi=Kr(Un.aliasSymbol).typeParameters,vr=rg(qi),Wo=Uv(Un.aliasTypeArguments,qi,vr,Er(Un.aliasSymbol.valueDeclaration)),Ts=Uv(rr.aliasTypeArguments,qi,vr,Er(Un.aliasSymbol.valueDeclaration));Zn(Wo,Ts,pFe(Un.aliasSymbol))}return}if(Un===rr&&Un.flags&3145728){for(const qi of Un.types)Te(qi,qi);return}if(rr.flags&1048576){const[qi,vr]=Sn(Un.flags&1048576?Un.types:[Un],rr.types,hpt),[Wo,Ts]=Sn(qi,vr,_pt);if(Ts.length===0)return;if(rr=_i(Ts),Wo.length===0){Ye(Un,rr,1);return}Un=_i(Wo)}else if(rr.flags&2097152&&!Gn(rr.types,xY)&&!(Un.flags&1048576)){const[qi,vr]=Sn(Un.flags&2097152?Un.types:[Un],rr.types,$g);if(qi.length===0||vr.length===0)return;Un=La(qi),rr=La(vr)}if(rr.flags&41943040){if(UC(rr))return;rr=Gy(rr)}if(rr.flags&8650752){if(LFe(Un))return;const qi=Tn(rr);if(qi){if(qr(Un)&262144||Un===Rr)return;if(!qi.isFixed){const Wo=I||Un;if(Wo===Wt)return;(qi.priority===void 0||p<qi.priority)&&(qi.candidates=void 0,qi.contraCandidates=void 0,qi.topLevel=!0,qi.priority=p),p===qi.priority&&(h&&!v?Vn(qi.contraCandidates,Wo)||(qi.contraCandidates=jn(qi.contraCandidates,Wo),XY(n)):Vn(qi.candidates,Wo)||(qi.candidates=jn(qi.candidates,Wo),XY(n))),!(p&128)&&rr.flags&262144&&qi.topLevel&&!Y8(c,rr)&&(qi.topLevel=!1,XY(n))}w=Math.min(w,p);return}const vr=By(rr,!1);if(vr!==rr)Te(Un,vr);else if(rr.flags&8388608){const Wo=By(rr.indexType,!1);if(Wo.flags&465829888){const Ts=kWe(By(rr.objectType,!1),Wo,!1);Ts&&Ts!==rr&&Te(Un,Ts)}}}if(qr(Un)&4&&qr(rr)&4&&(Un.target===rr.target||sm(Un)&&sm(rr))&&!(Un.node&&rr.node))Zn(cl(Un),cl(rr),P_e(Un.target));else if(Un.flags&4194304&&rr.flags&4194304)yr(Un.type,rr.type);else if((H8(Un)||Un.flags&4)&&rr.flags&4194304){const qi=apt(Un);ht(qi,rr.type,256)}else if(Un.flags&8388608&&rr.flags&8388608)Te(Un.objectType,rr.objectType),Te(Un.indexType,rr.indexType);else if(Un.flags&268435456&&rr.flags&268435456)Un.symbol===rr.symbol&&Te(Un.type,rr.type);else if(Un.flags&33554432)Te(Un.baseType,rr),Ye(qhe(Un),rr,4);else if(rr.flags&16777216)en(Un,rr,ui);else if(rr.flags&3145728)mi(Un,rr.types,rr.flags);else if(Un.flags&1048576){const qi=Un.types;for(const vr of qi)Te(vr,rr)}else if(rr.flags&134217728)Pi(Un,rr);else{if(Un=km(Un),mp(Un)&&mp(rr)&&en(Un,rr,Vo),!(p&512&&Un.flags&467927040)){const qi=Mu(Un);if(qi!==Un&&!(qi.flags&2621440))return Te(qi,rr);Un=qi}Un.flags&2621440&&en(Un,rr,_s)}}}function Ye(Un,rr,qi){const vr=p;p|=qi,Te(Un,rr),p=vr}function ht(Un,rr,qi){const vr=p;p|=qi,yr(Un,rr),p=vr}function Dt(Un,rr,qi,vr){const Wo=p;p|=vr,mi(Un,rr,qi),p=Wo}function en(Un,rr,qi){const vr=Un.id+","+rr.id,Wo=U&&U.get(vr);if(Wo!==void 0){w=Math.min(w,Wo);return}(U||(U=new Map)).set(vr,-1);const Ts=w;w=2048;const dl=Ee;(H!=null?H:H=[]).push(Un),(Z!=null?Z:Z=[]).push(rr),lR(Un,H,H.length,2)&&(Ee|=1),lR(rr,Z,Z.length,2)&&(Ee|=2),Ee!==3?qi(Un,rr):w=-1,Z.pop(),H.pop(),Ee=dl,U.set(vr,w),w=Math.min(w,Ts)}function Sn(Un,rr,qi){let vr,Wo;for(const Ts of rr)for(const dl of Un)qi(dl,Ts)&&(Te(dl,Ts),vr=ny(vr,dl),Wo=ny(Wo,Ts));return[vr?Fn(Un,Ts=>!Vn(vr,Ts)):Un,Wo?Fn(rr,Ts=>!Vn(Wo,Ts)):rr]}function Zn(Un,rr,qi){const vr=Un.length<rr.length?Un.length:rr.length;for(let Wo=0;Wo<vr;Wo++)Wo<qi.length&&(qi[Wo]&7)===2?yr(Un[Wo],rr[Wo]):Te(Un[Wo],rr[Wo])}function yr(Un,rr){h=!h,Te(Un,rr),h=!h}function xn(Un,rr){q||p&1024?yr(Un,rr):Te(Un,rr)}function Tn(Un){if(Un.flags&8650752){for(const rr of n)if(Un===rr.typeParameter)return rr}}function cr(Un){let rr;for(const qi of Un){const vr=qi.flags&2097152&&_n(qi.types,Wo=>!!Tn(Wo));if(!vr||rr&&vr!==rr)return;rr=vr}return rr}function mi(Un,rr,qi){let vr=0;if(qi&1048576){let Wo;const Ts=Un.flags&1048576?Un.types:[Un],dl=new Array(Ts.length);let md=!1;for(const Ya of rr)if(Tn(Ya))Wo=Ya,vr++;else for(let cc=0;cc<Ts.length;cc++){const _c=w;w=2048,Te(Ts[cc],Ya),w===p&&(dl[cc]=!0),md=md||w===-1,w=Math.min(w,_c)}if(vr===0){const Ya=cr(rr);Ya&&Ye(Un,Ya,1);return}if(vr===1&&!md){const Ya=Wi(Ts,(cc,_c)=>dl[_c]?void 0:cc);if(Ya.length){Te(_i(Ya),Wo);return}}}else for(const Wo of rr)Tn(Wo)?vr++:Te(Un,Wo);if(qi&2097152?vr===1:vr>0)for(const Wo of rr)Tn(Wo)&&Ye(Un,Wo,1)}function ao(Un,rr,qi){if(qi.flags&1048576||qi.flags&2097152){let vr=!1;for(const Wo of qi.types)vr=ao(Un,rr,Wo)||vr;return vr}if(qi.flags&4194304){const vr=Tn(qi.type);if(vr&&!vr.isFixed&&!LFe(Un)){const Wo=MFe(Un,rr,qi);Wo&&Ye(Wo,vr.typeParameter,qr(Un)&262144?16:8)}return!0}if(qi.flags&262144){Ye(x_(Un,Un.pattern?2:0),qi,32);const vr=TA(qi);if(vr&&ao(Un,rr,vr))return!0;const Wo=Gt(Es(Un),gr),Ts=Gt(Yd(Un),dl=>dl!==Zi?dl.type:vn);return Te(_i(co(Wo,Ts)),Jg(rr)),!0}return!1}function ui(Un,rr){if(Un.flags&16777216)Te(Un.checkType,rr.checkType),Te(Un.extendsType,rr.extendsType),Te(h0(Un),h0(rr)),Te(_0(Un),_0(rr));else{const qi=[h0(rr),_0(rr)];Dt(Un,qi,rr.flags,h?64:0)}}function Pi(Un,rr){const qi=OFe(Un,rr),vr=rr.types;if(qi||Gn(rr.texts,Wo=>Wo.length===0))for(let Wo=0;Wo<vr.length;Wo++){const Ts=qi?qi[Wo]:vn,dl=vr[Wo];if(Ts.flags&128&&dl.flags&8650752){const md=Tn(dl),Ya=md?Md(md.typeParameter):void 0;if(Ya&&!Or(Ya)){const cc=Ya.flags&1048576?Ya.types:[Ya];let _c=yu(cc,(As,Pf)=>As|Pf.flags,0);if(!(_c&4)){const As=Ts.value;_c&296&&!kFe(As,!0)&&(_c&=-297),_c&2112&&!e4(As,!0)&&(_c&=-2113);const Pf=yu(cc,(Il,rc)=>rc.flags&_c?Il.flags&4?Il:rc.flags&4?Ts:Il.flags&134217728?Il:rc.flags&134217728&&QY(Ts,rc)?Ts:Il.flags&268435456?Il:rc.flags&268435456&&As===NWe(rc.symbol,As)?Ts:Il.flags&128?Il:rc.flags&128&&rc.value===As?rc:Il.flags&8?Il:rc.flags&8?Mh(+As):Il.flags&32?Il:rc.flags&32?Mh(+As):Il.flags&256?Il:rc.flags&256&&rc.value===+As?rc:Il.flags&64?Il:rc.flags&64?fpt(As):Il.flags&2048?Il:rc.flags&2048&&wS(rc.value)===As?rc:Il.flags&16?Il:rc.flags&16?As==="true"?vt:As==="false"?$n:zt:Il.flags&512?Il:rc.flags&512&&rc.intrinsicName===As?rc:Il.flags&32768?Il:rc.flags&32768&&rc.intrinsicName===As?rc:Il.flags&65536?Il:rc.flags&65536&&rc.intrinsicName===As?rc:Il:Il,vn);if(!(Pf.flags&131072)){Te(Pf,dl);continue}}}}Te(Ts,dl)}}function Vo(Un,rr){Te(Cf(Un),Cf(rr)),Te(Jg(Un),Jg(rr));const qi=Vv(Un),vr=Vv(rr);qi&&vr&&Te(qi,vr)}function _s(Un,rr){var qi,vr;if(qr(Un)&4&&qr(rr)&4&&(Un.target===rr.target||sm(Un)&&sm(rr))){Zn(cl(Un),cl(rr),P_e(Un.target));return}if(mp(Un)&&mp(rr)&&Vo(Un,rr),qr(rr)&32&&!rr.declaration.nameType){const Wo=Cf(rr);if(ao(Un,rr,Wo))return}if(!upt(Un,rr)){if($T(Un)){if(Xa(rr)){const Wo=Hv(Un),Ts=Hv(rr),dl=cl(rr),md=rr.target.elementFlags;if(Xa(Un)&&Uut(Un,rr)){for(let _c=0;_c<Ts;_c++)Te(cl(Un)[_c],dl[_c]);return}const Ya=Xa(Un)?Math.min(Un.target.fixedLength,rr.target.fixedLength):0,cc=Math.min(Xa(Un)?O8(Un.target,3):0,rr.target.combinedFlags&12?O8(rr.target,3):0);for(let _c=0;_c<Ya;_c++)Te(cl(Un)[_c],dl[_c]);if(!Xa(Un)||Wo-Ya-cc===1&&Un.target.elementFlags[Ya]&4){const _c=cl(Un)[Ya];for(let As=Ya;As<Ts-cc;As++)Te(md[As]&8?$d(_c):_c,dl[As])}else{const _c=Ts-Ya-cc;if(_c===2){if(md[Ya]&md[Ya+1]&8){const As=Tn(dl[Ya]);As&&As.impliedArity!==void 0&&(Te(IL(Un,Ya,cc+Wo-As.impliedArity),dl[Ya]),Te(IL(Un,Ya+As.impliedArity,cc),dl[Ya+1]))}else if(md[Ya]&8&&md[Ya+1]&4){const As=(qi=Tn(dl[Ya]))==null?void 0:qi.typeParameter,Pf=As&&Md(As);if(Pf&&Xa(Pf)&&!(Pf.target.combinedFlags&12)){const Il=Pf.target.fixedLength;Te(IL(Un,Ya,Wo-(Ya+Il)),dl[Ya]),Te(CL(Un,Ya+Il,cc),dl[Ya+1])}}else if(md[Ya]&4&&md[Ya+1]&8){const As=(vr=Tn(dl[Ya+1]))==null?void 0:vr.typeParameter,Pf=As&&Md(As);if(Pf&&Xa(Pf)&&!(Pf.target.combinedFlags&12)){const Il=Pf.target.fixedLength,rc=Wo-O8(rr.target,3),um=rc-Il,jL=ig(cl(Un).slice(um,rc),Un.target.elementFlags.slice(um,rc),!1,Un.target.labeledElementDeclarations&&Un.target.labeledElementDeclarations.slice(um,rc));Te(CL(Un,Ya,cc+Il),dl[Ya]),Te(jL,dl[Ya+1])}}}else if(_c===1&&md[Ya]&8){const As=rr.target.elementFlags[Ts-1]&2,Pf=IL(Un,Ya,cc);Ye(Pf,dl[Ya],As?2:0)}else if(_c===1&&md[Ya]&4){const As=CL(Un,Ya,cc);As&&Te(As,dl[Ya])}}for(let _c=0;_c<cc;_c++)Te(cl(Un)[Wo-_c-1],dl[Ts-_c-1]);return}if(sm(rr)){hu(Un,rr);return}}mo(Un,rr),_l(Un,rr,0),_l(Un,rr,1),hu(Un,rr)}}function mo(Un,rr){const qi=jv(rr);for(const vr of qi){const Wo=xa(Un,vr.escapedName);Wo&&!bt(Wo.declarations,Y_e)&&Te(qy(gr(Wo),!!(Wo.flags&16777216)),qy(gr(vr),!!(vr.flags&16777216)))}}function _l(Un,rr,qi){const vr=aa(Un,qi),Wo=vr.length;if(Wo>0){const Ts=aa(rr,qi),dl=Ts.length;for(let md=0;md<dl;md++){const Ya=Math.max(Wo-dl+md,0);Xl(yct(vr[Ya]),w8(Ts[md]))}}}function Xl(Un,rr){if(!(Un.flags&64)){const qi=v,vr=rr.declaration?rr.declaration.kind:0;v=v||vr===175||vr===174||vr===177,G_e(Un,rr,xn),v=qi}V_e(Un,rr,Te)}function hu(Un,rr){const qi=qr(Un)&qr(rr)&32?8:0,vr=Yd(rr);if(qY(Un))for(const Wo of vr){const Ts=[];for(const dl of Es(Un))if(tR(rR(dl,8576),Wo.keyType)){const md=gr(dl);Ts.push(dl.flags&16777216?HY(md):md)}for(const dl of Yd(Un))tR(dl.keyType,Wo.keyType)&&Ts.push(dl.type);Ts.length&&Ye(_i(Ts),Wo.type,qi)}for(const Wo of vr){const Ts=M8(Un,Wo.keyType);Ts&&Ye(Ts.type,Wo.type,qi)}}}function hpt(n,a){return a===xe?n===a:$g(n,a)||!!(a.flags&4&&n.flags&128||a.flags&8&&n.flags&256)}function _pt(n,a){return!!(n.flags&524288&&a.flags&524288&&n.symbol&&n.symbol===a.symbol||n.aliasSymbol&&n.aliasTypeArguments&&n.aliasSymbol===a.aliasSymbol)}function gpt(n){const a=Ju(n);return!!a&&nc(a.flags&16777216?Nhe(a):a,406978556)}function Kv(n){return!!(qr(n)&128)}function $_e(n){return!!(qr(n)&16512)}function ypt(n){if(n.length>1){const a=Fn(n,$_e);if(a.length){const c=_i(a,2);return co(Fn(n,p=>!$_e(p)),[c])}}return n}function vpt(n){return n.priority&416?La(n.contraCandidates):Wut(n.contraCandidates)}function bpt(n,a){const c=ypt(n.candidates),p=gpt(n.typeParameter)||SA(n.typeParameter),h=!p&&n.topLevel&&(n.isFixed||!opt(a,n.typeParameter)),v=p?Ui(c,Pu):h?Ui(c,QT):c,I=n.priority&416?_i(v,2):wut(v);return Zp(I)}function Q_e(n,a){const c=n.inferences[a];if(!c.inferredType){let p,h;if(n.signature){const I=c.candidates?bpt(c,n.signature):void 0,w=c.contraCandidates?vpt(c):void 0;if(I||w){const U=I&&(!w||!(I.flags&131073)&&bt(c.contraCandidates,H=>da(I,H))&&Gn(n.inferences,H=>H!==c&&Ju(H.typeParameter)!==c.typeParameter||Gn(H.candidates,Z=>da(Z,I))));p=U?I:w,h=U?w:I}else if(n.flags&1)p=Ft;else{const U=EE(c.typeParameter);U&&(p=oo(U,XWe(Jdt(n,a),n.nonFixingMapper)))}}else p=PFe(c);c.inferredType=p||Z_e(!!(n.flags&2));const v=Ju(c.typeParameter);if(v){const I=oo(v,n.nonFixingMapper);(!p||!n.compareTypes(p,Yp(I,p)))&&(c.inferredType=h&&n.compareTypes(h,Yp(I,h))?h:I)}Gft()}return c.inferredType}function Z_e(n){return n?He:At}function ege(n){const a=[];for(let c=0;c<n.inferences.length;c++)a.push(Q_e(n,c));return a}function FFe(n){switch(n.escapedText){case"document":case"console":return f.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom;case"$":return O.types?f.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:f.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 O.types?f.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:f.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 O.types?f.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:f.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode;case"Bun":return O.types?f.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_and_then_add_bun_to_the_types_field_in_your_tsconfig:f.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun;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 f.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(ra(n.parent))return f.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function;default:return n.parent.kind===305?f.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:f.Cannot_find_name_0}}function mu(n){const a=Vr(n);return a.resolvedSymbol||(a.resolvedSymbol=!Wl(n)&>(n,n,1160127,FFe(n),!P6(n),!1)||ie),a.resolvedSymbol}function tge(n){return!!(n.flags&33554432||Rn(n,a=>gd(a)||Em(a)||Fu(a)))}function T5(n,a,c,p){switch(n.kind){case 80:if(!NS(n)){const I=mu(n);return I!==ie?"".concat(p?ls(p):"-1","|").concat(pd(a),"|").concat(pd(c),"|").concat(Aa(I)):void 0}case 110:return"0|".concat(p?ls(p):"-1","|").concat(pd(a),"|").concat(pd(c));case 236:case 218:return T5(n.expression,a,c,p);case 167:const h=T5(n.left,a,c,p);return h&&"".concat(h,".").concat(n.right.escapedText);case 212:case 213:const v=LA(n);if(v!==void 0){const I=T5(n.expression,a,c,p);return I&&"".concat(I,".").concat(v)}if(Bs(n)&&Je(n.argumentExpression)){const I=mu(n.argumentExpression);if(cR(I)||Z8(I)&&!Q8(I)){const w=T5(n.expression,a,c,p);return w&&"".concat(w,".@").concat(Aa(I))}}break;case 207:case 208:case 263:case 219:case 220:case 175:return"".concat(ls(n),"#").concat(pd(a))}}function Ed(n,a){switch(a.kind){case 218:case 236:return Ed(n,a.expression);case 227:return id(a)&&Ed(n,a.left)||Nr(a)&&a.operatorToken.kind===28&&Ed(n,a.right)}switch(n.kind){case 237:return a.kind===237&&n.keywordToken===a.keywordToken&&n.name.escapedText===a.name.escapedText;case 80:case 81:return NS(n)?a.kind===110:a.kind===80&&mu(n)===mu(a)||(bi(a)||qa(a))&&St(mu(n))===Fr(a);case 110:return a.kind===110;case 108:return a.kind===108;case 236:case 218:case 239:return Ed(n.expression,a);case 212:case 213:const c=LA(n);if(c!==void 0){const p=Qs(a)?LA(a):void 0;if(p!==void 0)return p===c&&Ed(n.expression,a.expression)}if(Bs(n)&&Bs(a)&&Je(n.argumentExpression)&&Je(a.argumentExpression)){const p=mu(n.argumentExpression);if(p===mu(a.argumentExpression)&&(cR(p)||Z8(p)&&!Q8(p)))return Ed(n.expression,a.expression)}break;case 167:return Qs(a)&&n.right.escapedText===LA(a)&&Ed(n.left,a.expression);case 227:return Nr(n)&&n.operatorToken.kind===28&&Ed(n.right,a)}return!1}function LA(n){if(Jr(n))return n.name.escapedText;if(Bs(n))return Tpt(n);if(qa(n)){const a=S_(n);return a?Pl(a):void 0}if(no(n))return""+n.parent.parameters.indexOf(n)}function nge(n){return n.flags&8192?n.escapedName:n.flags&384?Pl(""+n.value):void 0}function Tpt(n){return pf(n.argumentExpression)?Pl(n.argumentExpression.text):Ps(n.argumentExpression)?Spt(n.argumentExpression):void 0}function Spt(n){const a=Gl(n,111551,!0);if(!a||!(cR(a)||a.flags&8))return;const c=a.valueDeclaration;if(c===void 0)return;const p=p0(c);if(p){const h=nge(p);if(h!==void 0)return h}if(e1(c)&&ky(c,n)){const h=_k(c);if(h){const v=na(c.parent)?Ug(c):Ld(h);return v&&nge(v)}if(gy(c))return _I(c.name)}}function zFe(n,a){for(;Qs(n);)if(n=n.expression,Ed(n,a))return!0;return!1}function kA(n,a){for(;tu(n);)if(n=n.expression,Ed(n,a))return!0;return!1}function NL(n,a){if(n&&n.flags&1048576){const c=P8e(n,a);if(c&&Fl(c)&2)return c.links.isDiscriminantProperty===void 0&&(c.links.isDiscriminantProperty=(c.links.checkFlags&192)===192&&!KT(gr(c))),!!c.links.isDiscriminantProperty}return!1}function BFe(n,a){let c;for(const p of n)if(NL(a,p.escapedName)){if(c){c.push(p);continue}c=[p]}return c}function Ept(n,a){const c=new Map;let p=0;for(const h of n)if(h.flags&61603840){const v=yn(h,a);if(v){if(!H8(v))return;let I=!1;OA(v,w=>{const U=pd(Pu(w)),H=c.get(U);H?H!==At&&(c.set(U,At),I=!0):c.set(U,h)}),I||p++}}return p>=10&&p*2>=n.length?c:void 0}function S5(n){const a=n.types;if(!(a.length<10||qr(n)&32768||po(a,c=>!!(c.flags&59506688))<10)){if(n.keyPropertyName===void 0){const c=Xe(a,h=>h.flags&59506688?Xe(Es(h),v=>Ph(gr(v))?v.escapedName:void 0):void 0),p=c&&Ept(a,c);n.keyPropertyName=p?c:"",n.constituentMap=p}return n.keyPropertyName.length?n.keyPropertyName:void 0}}function E5(n,a){var c;const p=(c=n.constituentMap)==null?void 0:c.get(pd(Pu(a)));return p!==At?p:void 0}function GFe(n,a){const c=S5(n),p=c&&yn(a,c);return p&&E5(n,p)}function Apt(n,a){const c=S5(n),p=c&&_n(a.properties,v=>v.symbol&&v.kind===304&&v.symbol.escapedName===c&&P5(v.initializer)),h=p&&Q5(p.initializer);return h&&E5(n,h)}function VFe(n,a){return Ed(n,a)||zFe(n,a)}function jFe(n,a){if(n.arguments){for(const c of n.arguments)if(VFe(a,c)||kA(c,a))return!0}return!!(n.expression.kind===212&&VFe(a,n.expression.expression))}function rge(n){return n.id<=0&&(n.id=rAe,rAe++),n.id}function Ipt(n,a){if(!(n.flags&1048576))return da(n,a);for(const c of n.types)if(da(c,a))return!0;return!1}function xpt(n,a){var p;if(n===a)return n;if(a.flags&131072)return a;const c="A".concat(pd(n),",").concat(pd(a));return(p=Uu(c))!=null?p:Mm(c,Rpt(n,a))}function Rpt(n,a){const c=Tc(n,h=>Ipt(a,h)),p=a.flags&512&&RE(a)?Al(c,aR):c;return da(a,p)?p:n}function ige(n){if(qr(n)&256)return!1;const a=Nh(n);return!!(a.callSignatures.length||a.constructSignatures.length||a.members.get("bind")&&CE(n,Qn))}function KC(n,a){return oge(n,a)&a}function Lh(n,a){return KC(n,a)!==0}function oge(n,a){n.flags&467927040&&(n=Md(n)||At);const c=n.flags;if(c&268435460)return re?16317953:16776705;if(c&134217856){const p=c&128&&n.value==="";return re?p?12123649:7929345:p?12582401:16776705}if(c&40)return re?16317698:16776450;if(c&256){const p=n.value===0;return re?p?12123394:7929090:p?12582146:16776450}if(c&64)return re?16317188:16775940;if(c&2048){const p=EFe(n);return re?p?12122884:7928580:p?12581636:16775940}return c&16?re?16316168:16774920:c&528?re?n===$n||n===fr?12121864:7927560:n===$n||n===fr?12580616:16774920:c&524288?(a&(re?83427327:83886079))===0?0:qr(n)&16&&jy(n)?re?83427327:83886079:ige(n)?re?7880640:16728e3:re?7888800:16736160:c&16384?9830144:c&32768?26607360:c&65536?42917664:c&12288?re?7925520:16772880:c&67108864?re?7888800:16736160:c&131072?0:c&1048576?yu(n.types,(p,h)=>p|oge(h,a),0):c&2097152?Dpt(n,a):83886079}function Dpt(n,a){const c=nc(n,402784252);let p=0,h=134217727;for(const v of n.types)if(!(c&&v.flags&524288)){const I=oge(v,a);p|=I,h&=I}return p&8256|h&134209471}function lm(n,a){return Tc(n,c=>Lh(c,a))}function wA(n,a){const c=age(lm(re&&n.flags&2?Ja:n,a));if(re)switch(a){case 524288:return UFe(c,65536,131072,33554432,$t);case 1048576:return UFe(c,131072,65536,16777216,ye);case 2097152:case 4194304:return Al(c,p=>Lh(p,262144)?Jut(p):p)}return c}function UFe(n,a,c,p,h){const v=KC(n,50528256);if(!(v&a))return n;const I=_i([Ma,h]);return Al(n,w=>Lh(w,a)?La([w,!(v&p)&&Lh(w,c)?I:Ma]):w)}function age(n){return n===Ja?At:n}function sge(n,a){return a?_i([Cs(n),Ld(a)]):n}function HFe(n,a){var c;const p=zy(a);if(!Uf(p))return rt;const h=Hf(p);return yn(n,h)||$8((c=nR(n,h))==null?void 0:c.type)||rt}function qFe(n,a){return xp(n,DL)&&Fut(n,a)||$8(Xv(65,n,ye,void 0))||rt}function $8(n){return n&&(O.noUncheckedIndexedAccess?_i([n,xe]):n)}function JFe(n){return $d(Xv(65,n,ye,void 0)||rt)}function Cpt(n){return n.parent.kind===210&&lge(n.parent)||n.parent.kind===304&&lge(n.parent.parent)?sge(A5(n),n.right):Ld(n.right)}function lge(n){return n.parent.kind===227&&n.parent.left===n||n.parent.kind===251&&n.parent.initializer===n}function Npt(n,a){return qFe(A5(n),n.elements.indexOf(a))}function Mpt(n){return JFe(A5(n.parent))}function KFe(n){return HFe(A5(n.parent),n.name)}function Ppt(n){return sge(KFe(n),n.objectAssignmentInitializer)}function A5(n){const{parent:a}=n;switch(a.kind){case 250:return yt;case 251:return oB(a)||rt;case 227:return Cpt(a);case 221:return ye;case 210:return Npt(a,n);case 231:return Mpt(a);case 304:return KFe(a);case 305:return Ppt(a)}return rt}function Lpt(n){const a=n.parent,c=YFe(a.parent),p=a.kind===207?HFe(c,n.propertyName||n.name):n.dotDotDotToken?JFe(c):qFe(c,a.elements.indexOf(n));return sge(p,n.initializer)}function XFe(n){return Vr(n).resolvedType||Ld(n)}function kpt(n){return n.initializer?XFe(n.initializer):n.parent.parent.kind===250?yt:n.parent.parent.kind===251&&oB(n.parent.parent)||rt}function YFe(n){return n.kind===261?kpt(n):Lpt(n)}function wpt(n){return n.kind===261&&n.initializer&&Bv(n.initializer)||n.kind!==209&&n.parent.kind===227&&Bv(n.parent.right)}function ME(n){switch(n.kind){case 218:return ME(n.expression);case 227:switch(n.operatorToken.kind){case 64:case 76:case 77:case 78:return ME(n.left);case 28:return ME(n.right)}}return n}function $Fe(n){const{parent:a}=n;return a.kind===218||a.kind===227&&a.operatorToken.kind===64&&a.left===n||a.kind===227&&a.operatorToken.kind===28&&a.right===n?$Fe(a):n}function Opt(n){return n.kind===297?Pu(Ld(n.expression)):vn}function ZY(n){const a=Vr(n);if(!a.switchTypes){a.switchTypes=[];for(const c of n.caseBlock.clauses)a.switchTypes.push(Opt(c))}return a.switchTypes}function QFe(n){if(bt(n.caseBlock.clauses,c=>c.kind===297&&!ds(c.expression)))return;const a=[];for(const c of n.caseBlock.clauses){const p=c.kind===297?c.expression.text:void 0;a.push(p&&!Vn(a,p)?p:void 0)}return a}function Wpt(n,a){return n.flags&1048576?!Xe(n.types,c=>!Vn(a,c)):Vn(a,n)}function ML(n,a){return!!(n===a||n.flags&131072||a.flags&1048576&&Fpt(n,a))}function Fpt(n,a){if(n.flags&1048576){for(const c of n.types)if(!Yg(a.types,c))return!1;return!0}return n.flags&1056&&sY(n)===a?!0:Yg(a.types,n)}function OA(n,a){return n.flags&1048576?Xe(n.types,a):a(n)}function cm(n,a){return n.flags&1048576?bt(n.types,a):a(n)}function xp(n,a){return n.flags&1048576?Gn(n.types,a):a(n)}function zpt(n,a){return n.flags&3145728?Gn(n.types,a):a(n)}function Tc(n,a){if(n.flags&1048576){const c=n.types,p=Fn(c,a);if(p===c)return n;const h=n.origin;let v;if(h&&h.flags&1048576){const I=h.types,w=Fn(I,U=>!!(U.flags&1048576)||a(U));if(I.length-w.length===c.length-p.length){if(w.length===1)return w[0];v=i_e(1048576,w)}}return a_e(p,n.objectFlags&16809984,void 0,void 0,v)}return n.flags&131072||a(n)?n:vn}function e$(n,a){return Tc(n,c=>c!==a)}function Bpt(n){return n.flags&1048576?n.types.length:1}function Al(n,a,c){if(n.flags&131072)return n;if(!(n.flags&1048576))return a(n);const p=n.origin,h=p&&p.flags&1048576?p.types:n.types;let v,I=!1;for(const w of h){const U=w.flags&1048576?Al(w,a,c):a(w);I||(I=w!==U),U&&(v?v.push(U):v=[U])}return I?v&&_i(v,c?0:1):n}function ZFe(n,a,c,p){return n.flags&1048576&&c?_i(Gt(n.types,a),1,c,p):Al(n,a)}function PL(n,a){return Tc(n,c=>(c.flags&a)!==0)}function e6e(n,a){return nc(n,134217804)&&nc(a,402655616)?Al(n,c=>c.flags&4?PL(a,402653316):xA(c)&&!nc(a,402653188)?PL(a,128):c.flags&8?PL(a,264):c.flags&64?PL(a,2112):c):n}function XC(n){return n.flags===0}function WA(n){return n.flags===0?n.type:n}function YC(n,a){return a?{flags:0,type:n.flags&131072?Ft:n}:n}function Gpt(n){const a=hc(256);return a.elementType=n,a}function cge(n){return Bt[n.id]||(Bt[n.id]=Gpt(n))}function t6e(n,a){const c=K8(Uy(Q5(a)));return ML(c,n.elementType)?n:cge(_i([n.elementType,c]))}function Vpt(n){return n.flags&131072?ld:$d(n.flags&1048576?_i(n.types,2):n)}function jpt(n){return n.finalArrayType||(n.finalArrayType=Vpt(n.elementType))}function I5(n){return qr(n)&256?jpt(n):n}function Upt(n){return qr(n)&256?n.elementType:vn}function Hpt(n){let a=!1;for(const c of n)if(!(c.flags&131072)){if(!(qr(c)&256))return!1;a=!0}return a}function n6e(n){const a=$Fe(n),c=a.parent,p=Jr(c)&&(c.name.escapedText==="length"||c.parent.kind===214&&Je(c.name)&&tV(c.name)),h=c.kind===213&&c.expression===a&&c.parent.kind===227&&c.parent.operatorToken.kind===64&&c.parent.left===c&&!Ib(c.parent)&&Pd(Ld(c.argumentExpression),296);return p||h}function qpt(n){return(bi(n)||ko(n)||Eu(n)||no(n))&&!!(Ac(n)||Er(n)&&rv(n)&&n.initializer&&Mb(n.initializer)&&Wp(n.initializer))}function t$(n,a){if(n=mc(n),n.flags&8752)return gr(n);if(n.flags&7){if(Fl(n)&262144){const p=n.links.syntheticOrigin;if(p&&t$(p))return gr(n)}const c=n.valueDeclaration;if(c){if(qpt(c))return gr(n);if(bi(c)&&c.parent.parent.kind===251){const p=c.parent.parent,h=x5(p.expression,void 0);if(h){const v=p.awaitModifier?15:13;return Xv(v,h,ye,void 0)}}a&&_a(a,Sr(c,f._0_needs_an_explicit_type_annotation,uo(n)))}}}function x5(n,a){if(!(n.flags&67108864))switch(n.kind){case 80:const c=St(mu(n));return t$(c,a);case 110:return fft(n);case 108:return s$(n);case 212:{const p=x5(n.expression,a);if(p){const h=n.name;let v;if(to(h)){if(!p.symbol)return;v=xa(p,Nk(p.symbol,h.escapedText))}else v=xa(p,h.escapedText);return v&&t$(v,a)}return}case 218:return x5(n.expression,a)}}function R5(n){const a=Vr(n);let c=a.effectsSignature;if(c===void 0){let p;if(Nr(n)){const I=QC(n.right);p=cye(I)}else n.parent.kind===245?p=x5(n.expression,void 0):n.expression.kind!==108&&(tu(n)?p=D_(q8(yo(n.expression),n.expression),n.expression):p=QC(n.expression));const h=aa(p&&Mu(p)||At,0),v=h.length===1&&!h[0].typeParameters?h[0]:bt(h,r6e)?eN(n):void 0;c=a.effectsSignature=v&&r6e(v)?v:si}return c===si?void 0:c}function r6e(n){return!!(om(n)||n.declaration&&(GC(n.declaration)||At).flags&131072)}function Jpt(n,a){if(n.kind===1||n.kind===3)return a.arguments[n.parameterIndex];const c=us(a.expression);return Qs(c)?us(c.expression):void 0}function Kpt(n){const a=Rn(n,iG),c=On(n),p=Kh(c,a.statements.pos);ns.add(kc(c,p.start,p.length,f.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis))}function D5(n){const a=n$(n,!1);return gi=n,Io=a,a}function C5(n){const a=us(n,!0);return a.kind===97||a.kind===227&&(a.operatorToken.kind===56&&(C5(a.left)||C5(a.right))||a.operatorToken.kind===57&&C5(a.left)&&C5(a.right))}function n$(n,a){for(;;){if(n===gi)return Io;const c=n.flags;if(c&4096){if(!a){const p=rge(n),h=Lx[p];return h!==void 0?h:Lx[p]=n$(n,!0)}a=!1}if(c&368)n=n.antecedent;else if(c&512){const p=R5(n.node);if(p){const h=om(p);if(h&&h.kind===3&&!h.type){const v=n.node.arguments[h.parameterIndex];if(v&&C5(v))return!1}if(hs(p).flags&131072)return!1}n=n.antecedent}else{if(c&4)return bt(n.antecedent,p=>n$(p,!1));if(c&8){const p=n.antecedent;if(p===void 0||p.length===0)return!1;n=p[0]}else if(c&128){const p=n.node;if(p.clauseStart===p.clauseEnd&&X4e(p.switchStatement))return!1;n=n.antecedent}else if(c&1024){gi=void 0;const p=n.node.target,h=p.antecedent;p.antecedent=n.node.antecedents;const v=n$(n.antecedent,!1);return p.antecedent=h,v}else return!(c&1)}}}function r$(n,a){for(;;){const c=n.flags;if(c&4096){if(!a){const p=rge(n),h=cE[p];return h!==void 0?h:cE[p]=r$(n,!0)}a=!1}if(c&496)n=n.antecedent;else if(c&512){if(n.node.expression.kind===108)return!0;n=n.antecedent}else{if(c&4)return Gn(n.antecedent,p=>r$(p,!1));if(c&8)n=n.antecedent[0];else if(c&1024){const p=n.node.target,h=p.antecedent;p.antecedent=n.node.antecedents;const v=r$(n.antecedent,!1);return p.antecedent=h,v}else return!!(c&1)}}}function dge(n){switch(n.kind){case 110:return!0;case 80:if(!NS(n)){const c=mu(n);return cR(c)||Z8(c)&&!Q8(c)||!!c.valueDeclaration&&Ks(c.valueDeclaration)}break;case 212:case 213:return dge(n.expression)&&Wh(Vr(n).resolvedSymbol||ie);case 207:case 208:const a=Qh(n.parent);return no(a)||Jre(a)?!uge(a):bi(a)&&SW(a)}return!1}function Jy(n,a,c=a,p,h=(v=>(v=ii(n,nD))==null?void 0:v.flowNode)()){let v,I=!1,w=0;if(wi)return rt;if(!h)return a;No++;const U=ur,H=WA(Te(h));ur=U;const Z=qr(H)&256&&n6e(n)?ld:I5(H);if(Z===Pr||n.parent&&n.parent.kind===236&&!(Z.flags&131072)&&lm(Z,2097152).flags&131072)return a;return Z;function Ee(){return I?v:(I=!0,v=T5(n,a,c,p))}function Te(Kt){var Cn;if(w===2e3)return(Cn=Ar)==null||Cn.instant(Ar.Phase.CheckTypes,"getTypeAtFlowNode_DepthLimit",{flowId:Kt.id}),wi=!0,Kpt(n),rt;w++;let Xn;for(;;){const _r=Kt.flags;if(_r&4096){for(let yi=U;yi<ur;yi++)if(Xb[yi]===Kt)return w--,Px[yi];Xn=Kt}let Gr;if(_r&16){if(Gr=ht(Kt),!Gr){Kt=Kt.antecedent;continue}}else if(_r&512){if(Gr=en(Kt),!Gr){Kt=Kt.antecedent;continue}}else if(_r&96)Gr=Zn(Kt);else if(_r&128)Gr=yr(Kt);else if(_r&12){if(Kt.antecedent.length===1){Kt=Kt.antecedent[0];continue}Gr=_r&4?xn(Kt):Tn(Kt)}else if(_r&256){if(Gr=Sn(Kt),!Gr){Kt=Kt.antecedent;continue}}else if(_r&1024){const yi=Kt.node.target,ka=yi.antecedent;yi.antecedent=Kt.node.antecedents,Gr=Te(Kt.antecedent),yi.antecedent=ka}else if(_r&2){const yi=Kt.node;if(yi&&yi!==p&&n.kind!==212&&n.kind!==213&&!(n.kind===110&&yi.kind!==220)){Kt=yi.flowNode;continue}Gr=c}else Gr=yW(a);return Xn&&(Xb[ur]=Xn,Px[ur]=Gr,ur++),w--,Gr}}function Ye(Kt){const Cn=Kt.node;return pge(Cn.kind===261||Cn.kind===209?YFe(Cn):A5(Cn),n)}function ht(Kt){const Cn=Kt.node;if(Ed(n,Cn)){if(!D5(Kt))return Pr;if(Ab(Cn)===2){const _r=Te(Kt.antecedent);return YC(Uy(WA(_r)),XC(_r))}if(a===Ct||a===ld){if(wpt(Cn))return cge(vn);const _r=QT(Ye(Kt));return da(_r,a)?_r:bd}const Xn=JG(Cn)?Uy(a):a;return Xn.flags&1048576?xpt(Xn,Ye(Kt)):Xn}if(zFe(n,Cn)){if(!D5(Kt))return Pr;if(bi(Cn)&&(Er(Cn)||SW(Cn))){const Xn=ZN(Cn);if(Xn&&(Xn.kind===219||Xn.kind===220))return Te(Kt.antecedent)}return a}if(bi(Cn)&&Cn.parent.parent.kind===250&&(Ed(n,Cn.parent.parent.expression)||kA(Cn.parent.parent.expression,n)))return Pge(I5(WA(Te(Kt.antecedent))))}function Dt(Kt,Cn){const Xn=us(Cn,!0);if(Xn.kind===97)return Pr;if(Xn.kind===227){if(Xn.operatorToken.kind===56)return Dt(Dt(Kt,Xn.left),Xn.right);if(Xn.operatorToken.kind===57)return _i([Dt(Kt,Xn.left),Dt(Kt,Xn.right)])}return sf(Kt,Xn,!0)}function en(Kt){const Cn=R5(Kt.node);if(Cn){const Xn=om(Cn);if(Xn&&(Xn.kind===2||Xn.kind===3)){const _r=Te(Kt.antecedent),Gr=I5(WA(_r)),yi=Xn.type?UL(Gr,Xn,Kt.node,!0):Xn.kind===3&&Xn.parameterIndex>=0&&Xn.parameterIndex<Kt.node.arguments.length?Dt(Gr,Kt.node.arguments[Xn.parameterIndex]):Gr;return yi===Gr?_r:YC(yi,XC(_r))}if(hs(Cn).flags&131072)return Pr}}function Sn(Kt){if(a===Ct||a===ld){const Cn=Kt.node,Xn=Cn.kind===214?Cn.expression.expression:Cn.left.expression;if(Ed(n,ME(Xn))){const _r=Te(Kt.antecedent),Gr=WA(_r);if(qr(Gr)&256){let yi=Gr;if(Cn.kind===214)for(const ka of Cn.arguments)yi=t6e(yi,ka);else{const ka=Q5(Cn.left.argumentExpression);Pd(ka,296)&&(yi=t6e(yi,Cn.right))}return yi===Gr?_r:YC(yi,XC(_r))}return _r}}}function Zn(Kt){const Cn=Te(Kt.antecedent),Xn=WA(Cn);if(Xn.flags&131072)return Cn;const _r=(Kt.flags&32)!==0,Gr=I5(Xn),yi=sf(Gr,Kt.node,_r);return yi===Gr?Cn:YC(yi,XC(Cn))}function yr(Kt){const Cn=us(Kt.node.switchStatement.expression),Xn=Te(Kt.antecedent);let _r=WA(Xn);if(Ed(n,Cn))_r=dl(_r,Kt.node);else if(Cn.kind===222&&Ed(n,Cn.expression))_r=cc(_r,Kt.node);else if(Cn.kind===112)_r=_c(_r,Kt.node);else{re&&(kA(Cn,n)?_r=Ts(_r,Kt.node,yi=>!(yi.flags&163840)):Cn.kind===222&&kA(Cn.expression,n)&&(_r=Ts(_r,Kt.node,yi=>!(yi.flags&131072||yi.flags&128&&yi.value==="undefined"))));const Gr=ao(Cn,_r);Gr&&(_r=Vo(_r,Gr,Kt.node))}return YC(_r,XC(Xn))}function xn(Kt){const Cn=[];let Xn=!1,_r=!1,Gr;for(const yi of Kt.antecedent){if(!Gr&&yi.flags&128&&yi.node.clauseStart===yi.node.clauseEnd){Gr=yi;continue}const ka=Te(yi),Fa=WA(ka);if(Fa===a&&a===c)return Fa;wf(Cn,Fa),ML(Fa,c)||(Xn=!0),XC(ka)&&(_r=!0)}if(Gr){const yi=Te(Gr),ka=WA(yi);if(!(ka.flags&131072)&&!Vn(Cn,ka)&&!X4e(Gr.node.switchStatement)){if(ka===a&&a===c)return ka;Cn.push(ka),ML(ka,c)||(Xn=!0),XC(yi)&&(_r=!0)}}return YC(cr(Cn,Xn?2:1),_r)}function Tn(Kt){const Cn=rge(Kt),Xn=IC[Cn]||(IC[Cn]=new Map),_r=Ee();if(!_r)return a;const Gr=Xn.get(_r);if(Gr)return Gr;for(let $c=kr;$c<Kn;$c++)if(Y1[$c]===Kt&&Mx[$c]===_r&&lE[$c].length)return YC(cr(lE[$c],1),!0);const yi=[];let ka=!1,Fa;for(const $c of Kt.antecedent){let _u;if(!Fa)_u=Fa=Te($c);else{Y1[Kn]=Kt,Mx[Kn]=_r,lE[Kn]=yi,Kn++;const rS=Vi;Vi=void 0,_u=Te($c),Vi=rS,Kn--;const iS=Xn.get(_r);if(iS)return iS}const hp=WA(_u);if(wf(yi,hp),ML(hp,c)||(ka=!0),hp===a)break}const Hs=cr(yi,ka?2:1);return XC(Fa)?YC(Hs,!0):(Xn.set(_r,Hs),Hs)}function cr(Kt,Cn){if(Hpt(Kt))return cge(_i(Gt(Kt,Upt)));const Xn=age(_i(Ui(Kt,I5),Cn));return Xn!==a&&Xn.flags&a.flags&1048576&&ef(Xn.types,a.types)?a:Xn}function mi(Kt){if(na(n)||Mb(n)||ym(n)){if(Je(Kt)){const Cn=mu(Kt),Xn=St(Cn).valueDeclaration;if(Xn&&(qa(Xn)||no(Xn))&&n===Xn.parent&&!Xn.initializer&&!Xn.dotDotDotToken)return Xn}}else if(Qs(Kt)){if(Ed(n,Kt.expression))return Kt}else if(Je(Kt)){const Cn=mu(Kt);if(cR(Cn)){const Xn=Cn.valueDeclaration;if(bi(Xn)&&!Xn.type&&Xn.initializer&&Qs(Xn.initializer)&&Ed(n,Xn.initializer.expression))return Xn.initializer;if(qa(Xn)&&!Xn.initializer){const _r=Xn.parent.parent;if(bi(_r)&&!_r.type&&_r.initializer&&(Je(_r.initializer)||Qs(_r.initializer))&&Ed(n,_r.initializer))return Xn}}}}function ao(Kt,Cn){if(a.flags&1048576||Cn.flags&1048576){const Xn=mi(Kt);if(Xn){const _r=LA(Xn);if(_r){const Gr=a.flags&1048576&&ML(Cn,a)?a:Cn;if(NL(Gr,_r))return Xn}}}}function ui(Kt,Cn,Xn){const _r=LA(Cn);if(_r===void 0)return Kt;const Gr=tu(Cn),yi=re&&(Gr||Xre(Cn))&&nc(Kt,98304);let ka=yn(yi?lm(Kt,2097152):Kt,_r);if(!ka)return Kt;ka=yi&&Gr?y0(ka):ka;const Fa=Xn(ka);return Tc(Kt,Hs=>{const $c=ni(Hs,_r)||At;return!($c.flags&131072)&&!(Fa.flags&131072)&&p5(Fa,$c)})}function Pi(Kt,Cn,Xn,_r,Gr){if((Xn===37||Xn===38)&&Kt.flags&1048576){const yi=S5(Kt);if(yi&&yi===LA(Cn)){const ka=E5(Kt,Ld(_r));if(ka)return Xn===(Gr?37:38)?ka:Ph(yn(ka,yi)||At)?e$(Kt,ka):Kt}}return ui(Kt,Cn,yi=>qi(yi,Xn,_r,Gr))}function Vo(Kt,Cn,Xn){if(Xn.clauseStart<Xn.clauseEnd&&Kt.flags&1048576&&S5(Kt)===LA(Cn)){const _r=ZY(Xn.switchStatement).slice(Xn.clauseStart,Xn.clauseEnd),Gr=_i(Gt(_r,yi=>E5(Kt,yi)||At));if(Gr!==At)return Gr}return ui(Kt,Cn,_r=>dl(_r,Xn))}function _s(Kt,Cn,Xn){if(Ed(n,Cn))return wA(Kt,Xn?4194304:8388608);re&&Xn&&kA(Cn,n)&&(Kt=wA(Kt,2097152));const _r=ao(Cn,Kt);return _r?ui(Kt,_r,Gr=>lm(Gr,Xn?4194304:8388608)):Kt}function mo(Kt,Cn,Xn){const _r=xa(Kt,Cn);return _r?!!(_r.flags&16777216||Fl(_r)&48)||Xn:!!nR(Kt,Cn)||!Xn}function _l(Kt,Cn,Xn){const _r=Hf(Cn);if(cm(Kt,yi=>mo(yi,_r,!0)))return Tc(Kt,yi=>mo(yi,_r,Xn));if(Xn){const yi=$ct();if(yi)return La([Kt,jC(yi,[Cn,At])])}return Kt}function Xl(Kt,Cn,Xn,_r,Gr){return Gr=Gr!==(Xn.kind===112)!=(_r!==38&&_r!==36),sf(Kt,Cn,Gr)}function hu(Kt,Cn,Xn){switch(Cn.operatorToken.kind){case 64:case 76:case 77:case 78:return _s(sf(Kt,Cn.right,Xn),Cn.left,Xn);case 35:case 36:case 37:case 38:const _r=Cn.operatorToken.kind,Gr=ME(Cn.left),yi=ME(Cn.right);if(Gr.kind===222&&ds(yi))return vr(Kt,Gr,_r,yi,Xn);if(yi.kind===222&&ds(Gr))return vr(Kt,yi,_r,Gr,Xn);if(Ed(n,Gr))return qi(Kt,_r,yi,Xn);if(Ed(n,yi))return qi(Kt,_r,Gr,Xn);re&&(kA(Gr,n)?Kt=rr(Kt,_r,yi,Xn):kA(yi,n)&&(Kt=rr(Kt,_r,Gr,Xn)));const ka=ao(Gr,Kt);if(ka)return Pi(Kt,ka,_r,yi,Xn);const Fa=ao(yi,Kt);if(Fa)return Pi(Kt,Fa,_r,Gr,Xn);if(As(Gr))return Pf(Kt,_r,yi,Xn);if(As(yi))return Pf(Kt,_r,Gr,Xn);if(zN(yi)&&!Qs(Gr))return Xl(Kt,Gr,yi,_r,Xn);if(zN(Gr)&&!Qs(yi))return Xl(Kt,yi,Gr,_r,Xn);break;case 104:return Il(Kt,Cn,Xn);case 103:if(to(Cn.left))return Un(Kt,Cn,Xn);const Hs=ME(Cn.right);if(J8(Kt)&&Qs(n)&&Ed(n.expression,Hs)){const $c=Ld(Cn.left);if(Uf($c)&&LA(n)===Hf($c))return lm(Kt,Xn?524288:65536)}if(Ed(n,Hs)){const $c=Ld(Cn.left);if(Uf($c))return _l(Kt,$c,Xn)}break;case 28:return sf(Kt,Cn.right,Xn);case 56:return Xn?sf(sf(Kt,Cn.left,!0),Cn.right,!0):_i([sf(Kt,Cn.left,!1),sf(Kt,Cn.right,!1)]);case 57:return Xn?_i([sf(Kt,Cn.left,!0),sf(Kt,Cn.right,!0)]):sf(sf(Kt,Cn.left,!1),Cn.right,!1)}return Kt}function Un(Kt,Cn,Xn){const _r=ME(Cn.right);if(!Ed(n,_r))return Kt;C.assertNode(Cn.left,to);const Gr=b$(Cn.left);if(Gr===void 0)return Kt;const yi=Gr.parent,ka=Lc(C.checkDefined(Gr.valueDeclaration,"should always have a declaration"))?gr(yi):Xs(yi);return um(Kt,ka,Xn,!0)}function rr(Kt,Cn,Xn,_r){const Gr=Cn===35||Cn===37,yi=Cn===35||Cn===36?98304:32768,ka=Ld(Xn);return Gr!==_r&&xp(ka,Hs=>!!(Hs.flags&yi))||Gr===_r&&xp(ka,Hs=>!(Hs.flags&(3|yi)))?wA(Kt,2097152):Kt}function qi(Kt,Cn,Xn,_r){if(Kt.flags&1)return Kt;(Cn===36||Cn===38)&&(_r=!_r);const Gr=Ld(Xn),yi=Cn===35||Cn===36;if(Gr.flags&98304){if(!re)return Kt;const ka=yi?_r?262144:2097152:Gr.flags&65536?_r?131072:1048576:_r?65536:524288;return wA(Kt,ka)}if(_r){if(!yi&&(Kt.flags&2||cm(Kt,og))){if(Gr.flags&469893116||og(Gr))return Gr;if(Gr.flags&524288)return tr}const ka=Tc(Kt,Fa=>p5(Fa,Gr)||yi&&Kut(Fa,Gr));return e6e(ka,Gr)}return Ph(Gr)?Tc(Kt,ka=>!(vFe(ka)&&p5(ka,Gr))):Kt}function vr(Kt,Cn,Xn,_r,Gr){(Xn===36||Xn===38)&&(Gr=!Gr);const yi=ME(Cn.expression);if(!Ed(n,yi)){re&&kA(yi,n)&&Gr===(_r.text!=="undefined")&&(Kt=wA(Kt,2097152));const ka=ao(yi,Kt);return ka?ui(Kt,ka,Fa=>Wo(Fa,_r,Gr)):Kt}return Wo(Kt,_r,Gr)}function Wo(Kt,Cn,Xn){return Xn?md(Kt,Cn.text):wA(Kt,Tae.get(Cn.text)||32768)}function Ts(Kt,{switchStatement:Cn,clauseStart:Xn,clauseEnd:_r},Gr){return Xn!==_r&&Gn(ZY(Cn).slice(Xn,_r),Gr)?lm(Kt,2097152):Kt}function dl(Kt,{switchStatement:Cn,clauseStart:Xn,clauseEnd:_r}){const Gr=ZY(Cn);if(!Gr.length)return Kt;const yi=Gr.slice(Xn,_r),ka=Xn===_r||Vn(yi,vn);if(Kt.flags&2&&!ka){let _u;for(let hp=0;hp<yi.length;hp+=1){const rS=yi[hp];if(rS.flags&469893116)_u!==void 0&&_u.push(rS);else if(rS.flags&524288)_u===void 0&&(_u=yi.slice(0,hp)),_u.push(tr);else return Kt}return _i(_u===void 0?yi:_u)}const Fa=_i(yi),Hs=Fa.flags&131072?vn:e6e(Tc(Kt,_u=>p5(Fa,_u)),Fa);if(!ka)return Hs;const $c=Tc(Kt,_u=>!(vFe(_u)&&Vn(Gr,_u.flags&32768?ye:Pu(But(_u)))));return Hs.flags&131072?$c:_i([Hs,$c])}function md(Kt,Cn){switch(Cn){case"string":return Ya(Kt,yt,1);case"number":return Ya(Kt,jt,2);case"bigint":return Ya(Kt,or,4);case"boolean":return Ya(Kt,zt,8);case"symbol":return Ya(Kt,Yt,16);case"object":return Kt.flags&1?Kt:_i([Ya(Kt,tr,32),Ya(Kt,$t,131072)]);case"function":return Kt.flags&1?Kt:Ya(Kt,Qn,64);case"undefined":return Ya(Kt,ye,65536)}return Ya(Kt,tr,128)}function Ya(Kt,Cn,Xn){return Al(Kt,_r=>R_(_r,Cn,hl)?Lh(_r,Xn)?_r:vn:CE(Cn,_r)?Cn:Lh(_r,Xn)?La([_r,Cn]):vn)}function cc(Kt,{switchStatement:Cn,clauseStart:Xn,clauseEnd:_r}){const Gr=QFe(Cn);if(!Gr)return Kt;const yi=lo(Cn.caseBlock.clauses,Hs=>Hs.kind===298);if(Xn===_r||yi>=Xn&&yi<_r){const Hs=K4e(Xn,_r,Gr);return Tc(Kt,$c=>KC($c,Hs)===Hs)}const Fa=Gr.slice(Xn,_r);return _i(Gt(Fa,Hs=>Hs?md(Kt,Hs):vn))}function _c(Kt,{switchStatement:Cn,clauseStart:Xn,clauseEnd:_r}){const Gr=lo(Cn.caseBlock.clauses,Fa=>Fa.kind===298),yi=Xn===_r||Gr>=Xn&&Gr<_r;for(let Fa=0;Fa<Xn;Fa++){const Hs=Cn.caseBlock.clauses[Fa];Hs.kind===297&&(Kt=sf(Kt,Hs.expression,!1))}if(yi){for(let Fa=_r;Fa<Cn.caseBlock.clauses.length;Fa++){const Hs=Cn.caseBlock.clauses[Fa];Hs.kind===297&&(Kt=sf(Kt,Hs.expression,!1))}return Kt}const ka=Cn.caseBlock.clauses.slice(Xn,_r);return _i(Gt(ka,Fa=>Fa.kind===297?sf(Kt,Fa.expression,!0):vn))}function As(Kt){return(Jr(Kt)&&Yr(Kt.name)==="constructor"||Bs(Kt)&&ds(Kt.argumentExpression)&&Kt.argumentExpression.text==="constructor")&&Ed(n,Kt.expression)}function Pf(Kt,Cn,Xn,_r){if(_r?Cn!==35&&Cn!==37:Cn!==36&&Cn!==38)return Kt;const Gr=Ld(Xn);if(!zye(Gr)&&!Rh(Gr))return Kt;const yi=xa(Gr,"prototype");if(!yi)return Kt;const ka=gr(yi),Fa=Or(ka)?void 0:ka;if(!Fa||Fa===Xt||Fa===Qn)return Kt;if(Or(Kt))return Fa;return Tc(Kt,$c=>Hs($c,Fa));function Hs($c,_u){return $c.flags&524288&&qr($c)&1||_u.flags&524288&&qr(_u)&1?$c.symbol===_u.symbol:CE($c,_u)}}function Il(Kt,Cn,Xn){const _r=ME(Cn.left);if(!Ed(n,_r))return Xn&&re&&kA(_r,n)?wA(Kt,2097152):Kt;const Gr=Cn.right,yi=Ld(Gr);if(!YT(yi,Xt))return Kt;const ka=R5(Cn),Fa=ka&&om(ka);if(Fa&&Fa.kind===1&&Fa.parameterIndex===0)return um(Kt,Fa.type,Xn,!0);if(!YT(yi,Qn))return Kt;const Hs=Al(yi,rc);return Or(Kt)&&(Hs===Xt||Hs===Qn)||!Xn&&!(Hs.flags&524288&&!og(Hs))?Kt:um(Kt,Hs,Xn,!0)}function rc(Kt){const Cn=yn(Kt,"prototype");if(Cn&&!Or(Cn))return Cn;const Xn=aa(Kt,1);return Xn.length?_i(Gt(Xn,_r=>hs(w8(_r)))):Ma}function um(Kt,Cn,Xn,_r){var yi;const Gr=Kt.flags&1048576?"N".concat(pd(Kt),",").concat(pd(Cn),",").concat((Xn?1:0)|(_r?2:0)):void 0;return(yi=Uu(Gr))!=null?yi:Mm(Gr,jL(Kt,Cn,Xn,_r))}function jL(Kt,Cn,Xn,_r){if(!Xn){if(Kt===Cn)return vn;if(_r)return Tc(Kt,Hs=>!YT(Hs,Cn));Kt=Kt.flags&2?Ja:Kt;const Fa=um(Kt,Cn,!0,!1);return age(Tc(Kt,Hs=>!ML(Hs,Fa)))}if(Kt.flags&3||Kt===Cn)return Cn;const Gr=_r?YT:CE,yi=Kt.flags&1048576?S5(Kt):void 0,ka=Al(Cn,Fa=>{const Hs=yi&&yn(Fa,yi),$c=Hs&&E5(Kt,Hs),_u=Al($c||Kt,_r?hp=>YT(hp,Fa)?hp:YT(Fa,hp)?Fa:vn:hp=>xL(hp,Fa)?hp:xL(Fa,hp)?Fa:CE(hp,Fa)?hp:CE(Fa,hp)?Fa:vn);return _u.flags&131072?Al(Kt,hp=>nc(hp,465829888)&&Gr(Fa,Md(hp)||At)?La([hp,Fa]):vn):_u});return ka.flags&131072?CE(Cn,Kt)?Cn:da(Kt,Cn)?Kt:da(Cn,Kt)?Cn:La([Kt,Cn]):ka}function EW(Kt,Cn,Xn){if(jFe(Cn,n)){const _r=Xn||!XE(Cn)?R5(Cn):void 0,Gr=_r&&om(_r);if(Gr&&(Gr.kind===0||Gr.kind===1))return UL(Kt,Gr,Cn,Xn)}if(J8(Kt)&&Qs(n)&&Jr(Cn.expression)){const _r=Cn.expression;if(Ed(n.expression,ME(_r.expression))&&Je(_r.name)&&_r.name.escapedText==="hasOwnProperty"&&Cn.arguments.length===1){const Gr=Cn.arguments[0];if(ds(Gr)&&LA(n)===Pl(Gr.text))return lm(Kt,Xn?524288:65536)}}return Kt}function UL(Kt,Cn,Xn,_r){if(Cn.type&&!(Or(Kt)&&(Cn.type===Xt||Cn.type===Qn))){const Gr=Jpt(Cn,Xn);if(Gr){if(Ed(n,Gr))return um(Kt,Cn.type,_r,!1);re&&kA(Gr,n)&&(_r&&!Lh(Cn.type,65536)||!_r&&xp(Cn.type,W5))&&(Kt=wA(Kt,2097152));const yi=ao(Gr,Kt);if(yi)return ui(Kt,yi,ka=>um(ka,Cn.type,_r,!1))}}return Kt}function sf(Kt,Cn,Xn){if(yF(Cn)||Nr(Cn.parent)&&(Cn.parent.operatorToken.kind===61||Cn.parent.operatorToken.kind===78)&&Cn.parent.left===Cn)return AW(Kt,Cn,Xn);switch(Cn.kind){case 80:if(!Ed(n,Cn)&&A<5){const _r=mu(Cn);if(cR(_r)){const Gr=_r.valueDeclaration;if(Gr&&bi(Gr)&&!Gr.type&&Gr.initializer&&dge(n)){A++;const yi=sf(Kt,Gr.initializer,Xn);return A--,yi}}}case 110:case 108:case 212:case 213:return _s(Kt,Cn,Xn);case 214:return EW(Kt,Cn,Xn);case 218:case 236:case 239:return sf(Kt,Cn.expression,Xn);case 227:return hu(Kt,Cn,Xn);case 225:if(Cn.operator===54)return sf(Kt,Cn.operand,!Xn);break}return Kt}function AW(Kt,Cn,Xn){if(Ed(n,Cn))return wA(Kt,Xn?2097152:262144);const _r=ao(Cn,Kt);return _r?ui(Kt,_r,Gr=>lm(Gr,Xn?2097152:262144)):Kt}}function Xpt(n,a){if(n=St(n),(a.kind===80||a.kind===81)&&(mM(a)&&(a=a.parent),F_(a)&&(!Ib(a)||DI(a)))){const c=jY(DI(a)&&a.kind===212?v$(a,void 0,!0):Ld(a));if(St(Vr(a).resolvedSymbol)===n)return c}return z_(a)&&Jh(a.parent)&&TE(a.parent)?nY(a.parent.symbol):SV(a)&&DI(a.parent)?Gv(n):xh(n)}function LL(n){return Rn(n.parent,a=>Yo(a)&&!F0(a)||a.kind===269||a.kind===308||a.kind===173)}function Ypt(n){return(n.lastAssignmentPos!==void 0||Q8(n)&&n.lastAssignmentPos!==void 0)&&n.lastAssignmentPos<0}function Q8(n){return!i6e(n,void 0)}function i6e(n,a){const c=Rn(n.valueDeclaration,i$);if(!c)return!1;const p=Vr(c);return p.flags&131072||(p.flags|=131072,$pt(c)||a6e(c)),!n.lastAssignmentPos||a&&Math.abs(n.lastAssignmentPos)<a.pos}function uge(n){return C.assert(bi(n)||no(n)),o6e(n.name)}function o6e(n){return n.kind===80?Q8(Fr(n.parent)):bt(n.elements,a=>a.kind!==233&&o6e(a.name))}function $pt(n){return!!Rn(n.parent,a=>i$(a)&&!!(Vr(a).flags&131072))}function i$(n){return ks(n)||Qi(n)}function a6e(n){switch(n.kind){case 80:const a=Ab(n);if(a!==0){const h=mu(n),v=a===1||h.lastAssignmentPos!==void 0&&h.lastAssignmentPos<0;if(Z8(h)){if(h.lastAssignmentPos===void 0||Math.abs(h.lastAssignmentPos)!==Number.MAX_VALUE){const I=Rn(n,i$),w=Rn(h.valueDeclaration,i$);h.lastAssignmentPos=I===w?Qpt(n,h.valueDeclaration):Number.MAX_VALUE}v&&h.lastAssignmentPos>0&&(h.lastAssignmentPos*=-1)}}return;case 282:const c=n.parent.parent,p=n.propertyName||n.name;if(!n.isTypeOnly&&!c.isTypeOnly&&!c.moduleSpecifier&&p.kind!==11){const h=Gl(p,111551,!0,!0);if(h&&Z8(h)){const v=h.lastAssignmentPos!==void 0&&h.lastAssignmentPos<0?-1:1;h.lastAssignmentPos=v*Number.MAX_VALUE}}return;case 265:case 266:case 267:return}xi(n)||Xo(n,a6e)}function Qpt(n,a){let c=n.pos;for(;n&&n.pos>a.pos;){switch(n.kind){case 244:case 245:case 246:case 247:case 248:case 249:case 250:case 251:case 255:case 256:case 259:case 264:c=n.end}n=n.parent}return c}function cR(n){return n.flags&3&&(Cge(n)&6)!==0}function Z8(n){const a=n.valueDeclaration&&Qh(n.valueDeclaration);return!!a&&(no(a)||bi(a)&&(US(a.parent)||s6e(a)))}function s6e(n){return!!(n.parent.flags&1)&&!(L0(n)&32||n.parent.parent.kind===244&&iv(n.parent.parent.parent))}function Zpt(n){var c;const a=Vr(n);if(a.parameterInitializerContainsUndefined===void 0){if(!T_(n,8))return vA(n.symbol),!0;const p=!!Lh(wL(n,0),16777216);if(!nt())return vA(n.symbol),!0;(c=a.parameterInitializerContainsUndefined)!=null||(a.parameterInitializerContainsUndefined=p)}return a.parameterInitializerContainsUndefined}function eft(n,a){return re&&a.kind===170&&a.initializer&&Lh(n,16777216)&&!Zpt(a)?lm(n,524288):n}function tft(n,a){const c=a.parent;return c.kind===212||c.kind===167||c.kind===214&&c.expression===a||c.kind===215&&c.expression===a||c.kind===213&&c.expression===a&&!(cm(n,c6e)&&DA(Ld(c.argumentExpression)))}function l6e(n){return n.flags&2097152?bt(n.types,l6e):!!(n.flags&465829888&&I_(n).flags&1146880)}function c6e(n){return n.flags&2097152?bt(n.types,c6e):!!(n.flags&465829888&&!nc(I_(n),98304))}function nft(n,a){const c=(Je(n)||Jr(n)||Bs(n))&&!((ph(n.parent)||x1(n.parent))&&n.parent.tagName===n)&&(a&&a&32?Ku(n,8):Ku(n,void 0));return c&&!KT(c)}function pge(n,a,c){return UC(n)&&(n=n.baseType),!(c&&c&2)&&cm(n,l6e)&&(tft(n,a)||nft(a,c))?Al(n,I_):n}function d6e(n){return!!Rn(n,a=>{const c=a.parent;return c===void 0?"quit":fl(c)?c.expression===a&&Ps(a):ou(c)?c.name===a||c.propertyName===a:!1})}function dR(n,a,c,p){if(Be&&!(n.flags&33554432&&!Eu(n)&&!ko(n)))switch(a){case 1:return o$(n);case 2:return u6e(n,c,p);case 3:return p6e(n);case 4:return fge(n);case 5:return f6e(n);case 6:return m6e(n);case 7:return h6e(n);case 8:return _6e(n);case 0:{if(Je(n)&&(F_(n)||Ud(n.parent)||Oc(n.parent)&&n.parent.moduleReference===n)&&b6e(n)){if(U2(n.parent)&&(Jr(n.parent)?n.parent.expression:n.parent.left)!==n)return;o$(n);return}if(U2(n)){let h=n;for(;U2(h);){if(Yh(h))return;h=h.parent}return u6e(n)}return fl(n)?p6e(n):ru(n)||qm(n)?fge(n):Oc(n)?i1(n)||H$(n)?m6e(n):void 0:ou(n)?h6e(n):((ks(n)||Um(n))&&f6e(n),!O.emitDecoratorMetadata||!qS(n)||!ff(n)||!n.modifiers||!uk(K,n,n.parent,n.parent.parent)?void 0:_6e(n))}default:C.assertNever(a,"Unhandled reference hint: ".concat(a))}}function o$(n){const a=mu(n);a&&a!==_e&&a!==ie&&!NS(n)&&N5(a,n)}function u6e(n,a,c){const p=Jr(n)?n.expression:n.left;if(Rb(p)||!Je(p))return;const h=mu(p);if(!h||h===ie)return;if(Sm(O)||Cb(O)&&d6e(n)){N5(h,n);return}const v=c||Vl(p);if(Or(v)||v===Ft){N5(h,n);return}let I=a;if(!I&&!c){const w=Jr(n)?n.name:n.right,U=to(w)&&F5(w.escapedText,w),H=Ab(n),Z=Mu(H!==0||Lge(n)?Zp(v):v);I=to(w)?U&&T$(Z,U)||void 0:xa(Z,w.escapedText)}I&&(bW(I)||I.flags&8&&n.parent.kind===307)||N5(h,n)}function p6e(n){if(Je(n.expression)){const a=n.expression,c=St(Gl(a,-1,!0,!0,n));c&&N5(c,a)}}function fge(n){if(!g$(n)){const a=ns&&O.jsx===2?f.This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found:void 0,c=Xm(n),p=ru(n)?n.tagName:n,h=O.jsx!==1&&O.jsx!==3;let v;if(qm(n)&&c==="null"||(v=gt(p,c,h?111551:111167,a,!0)),v&&(v.isReferenced=-1,Be&&v.flags&2097152&&!Ah(v)&&a$(v)),qm(n)){const I=On(n),w=Gye(I);if(w){const U=Ou(w).escapedText;gt(p,U,h?111551:111167,a,!0)}}}}function f6e(n){if(G<2&&dc(n)&2){const a=Wp(n);rft(a)}}function m6e(n){fi(n,32)&&g6e(n)}function h6e(n){if(!n.parent.parent.moduleSpecifier&&!n.isTypeOnly&&!n.parent.parent.isTypeOnly){const a=n.propertyName||n.name;if(a.kind===11)return;const c=gt(a,a.escapedText,2998271,void 0,!0);if(!(c&&(c===le||c===De||c.declarations&&iv(Pt(c.declarations[0]))))){const p=c&&(c.flags&2097152?ud(c):c);(!p||fp(p)&111551)&&(g6e(n),o$(a))}return}}function _6e(n){if(O.emitDecoratorMetadata){const a=_n(n.modifiers,wc);if(!a)return;switch(Yc(a,16),n.kind){case 264:const c=Sg(n);if(c)for(const I of c.parameters)$C(F$(I));break;case 178:case 179:const p=n.kind===178?179:178,h=ul(Fr(n),p);$C(TE(n)||h&&TE(h));break;case 175:for(const I of n.parameters)$C(F$(I));$C(Wp(n));break;case 173:$C(Ac(n));break;case 170:$C(F$(n));const v=n.parent;for(const I of v.parameters)$C(F$(I));$C(Wp(v));break}}}function N5(n,a){if(Be&&oA(n,111551)&&!AI(a)){const c=ud(n);fp(n,!0)&1160127&&(Sm(O)||Cb(O)&&d6e(a)||!bW(St(c)))&&a$(n)}}function a$(n){C.assert(Be);const a=Kr(n);if(!a.referenced){a.referenced=!0;const c=pp(n);if(!c)return C.fail();if(i1(c)&&fp(mc(n))&111551){const p=Ou(c.moduleReference);o$(p)}}}function g6e(n){const a=Fr(n),c=ud(a);c&&(c===ie||fp(a,!0)&111551&&!bW(c))&&a$(a)}function y6e(n,a){if(!n)return;const c=Ou(n),p=(n.kind===80?788968:1920)|2097152,h=gt(c,c.escapedText,p,void 0,!0);if(h&&h.flags&2097152){if(Be&&En(h)&&!bW(ud(h))&&!Ah(h))a$(h);else if(a&&Sm(O)&&Tu(O)>=5&&!En(h)&&!bt(h.declarations,nv)){const v=Ze(n,f.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled),I=_n(h.declarations||se,Lv);I&&_a(v,Sr(I,f._0_was_imported_here,Yr(c)))}}}function rft(n){y6e(n&&dk(n),!1)}function $C(n){const a=vye(n);a&&ku(a)&&y6e(a,!0)}function ift(n,a){var c;const p=gr(n),h=n.valueDeclaration;if(h){if(qa(h)&&!h.initializer&&!h.dotDotDotToken&&h.parent.elements.length>=2){const v=h.parent.parent,I=Qh(v);if(I.kind===261&&wE(I)&6||I.kind===170){const w=Vr(v);if(!(w.flags&4194304)){w.flags|=4194304;const U=Ai(v,0),H=U&&Al(U,I_);if(w.flags&=-4194305,H&&H.flags&1048576&&!(I.kind===170&&uge(I))){const Z=h.parent,Ee=Jy(Z,H,H,void 0,a.flowNode);return Ee.flags&131072?vn:d0(h,Ee,!0)}}}}if(no(h)&&!h.type&&!h.initializer&&!h.dotDotDotToken){const v=h.parent;if(v.parameters.length>=2&&MY(v)){const I=tW(v);if(I&&I.parameters.length===1&&su(I)){const w=vL(oo(gr(I.parameters[0]),(c=PE(v))==null?void 0:c.nonFixingMapper));if(w.flags&1048576&&xp(w,Xa)&&!bt(v.parameters,uge)){const U=Jy(v,w,w,void 0,a.flowNode),H=v.parameters.indexOf(h)-(CS(v)?1:0);return $p(U,Mh(H))}}}}}return p}function v6e(n,a){if(NS(n))return;if(a===_e){if(Oge(n,!0)){Ze(n,f.arguments_cannot_be_referenced_in_property_initializers_or_class_static_initialization_blocks);return}let v=uf(n);if(v)for(G<2&&(v.kind===220?Ze(n,f.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES5_Consider_using_a_standard_function_expression):fi(v,1024)&&Ze(n,f.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES5_Consider_using_a_standard_function_or_method)),Vr(v).flags|=512;v&&Zs(v);)v=uf(v),v&&(Vr(v).flags|=512);return}const c=St(a),p=Pye(c,n);Cu(p)&&c_e(n,p)&&p.declarations&&Pm(n,p.declarations,n.escapedText);const h=c.valueDeclaration;if(h&&c.flags&32&&hi(h)&&h.name!==n){let v=bu(n,!1,!1);for(;v.kind!==308&&v.parent!==h;)v=bu(v,!1,!1);v.kind!==308&&(Vr(h).flags|=262144,Vr(v).flags|=262144,Vr(n).flags|=536870912)}cft(n,a)}function oft(n,a){if(NS(n))return M5(n);const c=mu(n);if(c===ie)return rt;if(v6e(n,c),c===_e)return Oge(n)?rt:gr(c);b6e(n)&&dR(n,1);const p=St(c);let h=p.valueDeclaration;const v=h;if(h&&h.kind===209&&Vn(Qf,h.parent)&&Rn(n,Tn=>Tn===h.parent))return Rr;let I=ift(p,n);const w=Ab(n);if(w){if(!(p.flags&3)&&!(Er(n)&&p.flags&512)){const Tn=p.flags&384?f.Cannot_assign_to_0_because_it_is_an_enum:p.flags&32?f.Cannot_assign_to_0_because_it_is_a_class:p.flags&1536?f.Cannot_assign_to_0_because_it_is_a_namespace:p.flags&16?f.Cannot_assign_to_0_because_it_is_a_function:p.flags&2097152?f.Cannot_assign_to_0_because_it_is_an_import:f.Cannot_assign_to_0_because_it_is_not_a_variable;return Ze(n,Tn,uo(c)),rt}if(Wh(p))return p.flags&3?Ze(n,f.Cannot_assign_to_0_because_it_is_a_constant,uo(c)):Ze(n,f.Cannot_assign_to_0_because_it_is_a_read_only_property,uo(c)),rt}const U=p.flags&2097152;if(p.flags&3){if(w===1)return JG(n)?Uy(I):I}else if(U)h=pp(c);else return I;if(!h)return I;I=pge(I,n,a);const H=Qh(h).kind===170,Z=LL(h);let Ee=LL(n);const Te=Ee!==Z,Ye=n.parent&&n.parent.parent&&Ng(n.parent)&&lge(n.parent.parent),ht=c.flags&134217728,Dt=I===Ct||I===ld,en=Dt&&n.parent.kind===236;for(;Ee!==Z&&(Ee.kind===219||Ee.kind===220||KF(Ee))&&(cR(p)&&I!==ld||Z8(p)&&i6e(p,n));)Ee=LL(Ee);const Sn=v&&bi(v)&&!v.initializer&&!v.exclamationToken&&s6e(v)&&!Ypt(c),Zn=H||U||Te&&!Sn||Ye||ht||aft(n,h)||I!==Ct&&I!==ld&&(!re||(I.flags&16387)!==0||AI(n)||tge(n)||n.parent.kind===282)||n.parent.kind===236||h.kind===261&&h.exclamationToken||h.flags&33554432,yr=en?ye:Zn?H?eft(I,h):I:Dt?ye:y0(I),xn=en?Hy(Jy(n,I,yr,Ee)):Jy(n,I,yr,Ee);if(!n6e(n)&&(I===Ct||I===ld)){if(xn===Ct||xn===ld)return Ae&&(Ze(Fo(h),f.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,uo(c),sr(xn)),Ze(n,f.Variable_0_implicitly_has_an_1_type,uo(c),sr(xn))),yW(xn)}else if(!Zn&&!JC(I)&&JC(xn))return Ze(n,f.Variable_0_is_used_before_being_assigned,uo(c)),I;return w?Uy(xn):xn}function aft(n,a){if(qa(a)){const c=Rn(n,qa);return c&&Qh(c)===Qh(a)}}function b6e(n){var a;const c=n.parent;if(c){if(Jr(c)&&c.expression===n||ou(c)&&c.isTypeOnly)return!1;const p=(a=c.parent)==null?void 0:a.parent;if(p&&fc(p)&&p.isTypeOnly)return!1}return!0}function sft(n,a){return!!Rn(n,c=>c===a?"quit":Yo(c)||c.parent&&ko(c.parent)&&!Lc(c.parent)&&c.parent.initializer===c)}function lft(n,a){return Rn(n,c=>c===a?"quit":c===a.initializer||c===a.condition||c===a.incrementor||c===a.statement)}function mge(n){return Rn(n,a=>!a||nV(a)?"quit":yb(a,!1))}function cft(n,a){if(G>=2||(a.flags&34)===0||!a.valueDeclaration||Qi(a.valueDeclaration)||a.valueDeclaration.parent.kind===300)return;const c=sh(a.valueDeclaration),p=sft(n,c),h=mge(c);if(h){if(p){let v=!0;if(Z0(c)){const I=j0(a.valueDeclaration,262);if(I&&I.parent===c){const w=lft(n.parent,c);if(w){const U=Vr(w);U.flags|=8192;const H=U.capturedBlockScopeBindings||(U.capturedBlockScopeBindings=[]);wf(H,a),w===c.initializer&&(v=!1)}}}v&&(Vr(h).flags|=4096)}if(Z0(c)){const v=j0(a.valueDeclaration,262);v&&v.parent===c&&uft(n,c)&&(Vr(a.valueDeclaration).flags|=65536)}Vr(a.valueDeclaration).flags|=32768}p&&(Vr(a.valueDeclaration).flags|=16384)}function dft(n,a){const c=Vr(n);return!!c&&Vn(c.capturedBlockScopeBindings,Fr(a))}function uft(n,a){let c=n;for(;c.parent.kind===218;)c=c.parent;let p=!1;if(Ib(c))p=!0;else if(c.parent.kind===225||c.parent.kind===226){const h=c.parent;p=h.operator===46||h.operator===47}return p?!!Rn(c,h=>h===a?"quit":h===a.statement):!1}function hge(n,a){if(Vr(n).flags|=2,a.kind===173||a.kind===177){const c=a.parent;Vr(c).flags|=4}else Vr(a).flags|=4}function T6e(n){return r1(n)?n:Yo(n)?void 0:Xo(n,T6e)}function _ge(n){const a=Fr(n),c=Xs(a);return qg(c)===Pe}function S6e(n,a,c){const p=a.parent;RS(p)&&!_ge(p)&&nD(n)&&n.flowNode&&!r$(n.flowNode,!1)&&Ze(n,c)}function pft(n,a){ko(a)&&Lc(a)&&K&&a.initializer&&M2(a.initializer,n.pos)&&ff(a.parent)&&Ze(n,f.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class)}function M5(n){const a=AI(n);let c=bu(n,!0,!0),p=!1,h=!1;for(c.kind===177&&S6e(n,c,f.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class);;){if(c.kind===220&&(c=bu(c,!1,!h),p=!0),c.kind===168){c=bu(c,!p,!1),h=!0;continue}break}if(pft(n,c),h)Ze(n,f.this_cannot_be_referenced_in_a_computed_property_name);else switch(c.kind){case 268:Ze(n,f.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 267:Ze(n,f.this_cannot_be_referenced_in_current_location);break}!a&&p&&G<2&&hge(n,c);const v=gge(n,!0,c);if(Re){const I=gr(De);if(v===I&&p)Ze(n,f.The_containing_arrow_function_captures_the_global_value_of_this);else if(!v){const w=Ze(n,f.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!Qi(c)){const U=gge(c);U&&U!==I&&_a(w,Sr(c,f.An_outer_value_of_this_is_shadowed_by_this_container))}}}return v||He}function gge(n,a=!0,c=bu(n,!1,!1)){const p=Er(n);if(Yo(c)&&(!bge(n)||CS(c))){let h=tY(c)||p&&hft(c);if(!h){const v=mft(c);if(p&&v){const I=yo(v).symbol;I&&I.members&&I.flags&16&&(h=Xs(I).thisType)}else C_(c)&&(h=Xs(os(c.symbol)).thisType);h||(h=yge(c))}if(h)return Jy(n,h)}if(hi(c.parent)){const h=Fr(c.parent),v=ha(c)?gr(h):Xs(h).thisType;return Jy(n,v)}if(Qi(c))if(c.commonJsModuleIndicator){const h=Fr(c);return h&&gr(h)}else{if(c.externalModuleIndicator)return ye;if(a)return gr(De)}}function fft(n){const a=bu(n,!1,!1);if(Yo(a)){const c=Nf(a);if(c.thisParameter)return t$(c.thisParameter)}if(hi(a.parent)){const c=Fr(a.parent);return ha(a)?gr(c):Xs(c).thisType}}function mft(n){if(n.kind===219&&Nr(n.parent)&&ac(n.parent)===3)return n.parent.left.expression.expression;if(n.kind===175&&n.parent.kind===211&&Nr(n.parent.parent)&&ac(n.parent.parent)===6)return n.parent.parent.left.expression;if(n.kind===219&&n.parent.kind===304&&n.parent.parent.kind===211&&Nr(n.parent.parent.parent)&&ac(n.parent.parent.parent)===6)return n.parent.parent.parent.left.expression;if(n.kind===219&&Rc(n.parent)&&Je(n.parent.name)&&(n.parent.name.escapedText==="value"||n.parent.name.escapedText==="get"||n.parent.name.escapedText==="set")&&za(n.parent.parent)&&ra(n.parent.parent.parent)&&n.parent.parent.parent.arguments[2]===n.parent.parent&&ac(n.parent.parent.parent)===9)return n.parent.parent.parent.arguments[0].expression;if(Ll(n)&&Je(n.name)&&(n.name.escapedText==="value"||n.name.escapedText==="get"||n.name.escapedText==="set")&&za(n.parent)&&ra(n.parent.parent)&&n.parent.parent.arguments[2]===n.parent&&ac(n.parent.parent)===9)return n.parent.parent.arguments[0].expression}function hft(n){const a=mF(n);if(a&&a.typeExpression)return Yi(a.typeExpression);const c=TL(n);if(c)return qT(c)}function _ft(n,a){return!!Rn(n,c=>ks(c)?"quit":c.kind===170&&c.parent===a)}function s$(n){const a=n.parent.kind===214&&n.parent.expression===n,c=lk(n,!0);let p=c,h=!1,v=!1;if(!a){for(;p&&p.kind===220;)fi(p,1024)&&(v=!0),p=lk(p,!0),h=G<2;p&&fi(p,1024)&&(v=!0)}let I=0;if(!p||!Z(p)){const Ee=Rn(n,Te=>Te===p?"quit":Te.kind===168);return Ee&&Ee.kind===168?Ze(n,f.super_cannot_be_referenced_in_a_computed_property_name):a?Ze(n,f.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):!p||!p.parent||!(hi(p.parent)||p.parent.kind===211)?Ze(n,f.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions):Ze(n,f.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class),rt}if(!a&&c.kind===177&&S6e(n,p,f.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),ha(p)||a?(I=32,!a&&G>=2&&G<=8&&(ko(p)||Zl(p))&&ene(n.parent,Ee=>{(!Qi(Ee)||wp(Ee))&&(Vr(Ee).flags|=2097152)})):I=16,Vr(n).flags|=I,p.kind===175&&v&&(gp(n.parent)&&Ib(n.parent)?Vr(p).flags|=256:Vr(p).flags|=128),h&&hge(n.parent,p),p.parent.kind===211)return G<2?(Ze(n,f.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),rt):He;const w=p.parent;if(!RS(w))return Ze(n,f.super_can_only_be_referenced_in_a_derived_class),rt;if(_ge(w))return a?rt:Pe;const U=Xs(Fr(w)),H=U&&rm(U)[0];if(!H)return rt;if(p.kind===177&&_ft(n,p))return Ze(n,f.super_cannot_be_referenced_in_constructor_arguments),rt;return I===32?qg(U):Yp(H,U.thisType);function Z(Ee){return a?Ee.kind===177:hi(Ee.parent)||Ee.parent.kind===211?ha(Ee)?Ee.kind===175||Ee.kind===174||Ee.kind===178||Ee.kind===179||Ee.kind===173||Ee.kind===176:Ee.kind===175||Ee.kind===174||Ee.kind===178||Ee.kind===179||Ee.kind===173||Ee.kind===172||Ee.kind===177:!1}}function E6e(n){return(n.kind===175||n.kind===178||n.kind===179)&&n.parent.kind===211?n.parent:n.kind===219&&n.parent.kind===304?n.parent.parent:void 0}function A6e(n){return qr(n)&4&&n.target===of?cl(n)[0]:void 0}function gft(n){return Al(n,a=>a.flags&2097152?Xe(a.types,A6e):A6e(a))}function I6e(n,a){let c=n,p=a;for(;p;){const h=gft(p);if(h)return h;if(c.parent.kind!==304)break;c=c.parent.parent,p=tS(c,void 0)}}function yge(n){if(n.kind===220)return;if(MY(n)){const c=tW(n);if(c){const p=c.thisParameter;if(p)return gr(p)}}const a=Er(n);if(Re||a){const c=E6e(n);if(c){const h=tS(c,void 0),v=I6e(c,h);return v?oo(v,q_e(PE(c))):Zp(h?Hy(h):Vl(c))}const p=Vm(n.parent);if(id(p)){const h=p.left;if(Qs(h)){const{expression:v}=h;if(a&&Je(v)){const I=On(p);if(I.commonJsModuleIndicator&&mu(v)===I.symbol)return}return Zp(Vl(v))}}}}function x6e(n){const a=n.parent;if(!MY(a))return;const c=F0(a);if(c&&c.arguments){const h=I$(c),v=a.parameters.indexOf(n);if(n.dotDotDotToken)return Uge(h,v,h.length,He,void 0,0);const I=Vr(c),w=I.resolvedSignature;I.resolvedSignature=dr;const U=v<h.length?QT(yo(h[v])):n.initializer?void 0:B;return I.resolvedSignature=w,U}const p=tW(a);if(p){const h=a.parameters.indexOf(n)-(CS(a)?1:0);return n.dotDotDotToken&&rl(a.parameters)===n?H5(p,h):kE(p,h)}}function vge(n,a){const c=Ac(n)||(Er(n)?i4(n):void 0);if(c)return Yi(c);switch(n.kind){case 170:return x6e(n);case 209:return yft(n,a);case 173:if(ha(n))return vft(n,a)}}function yft(n,a){const c=n.parent.parent,p=n.propertyName||n.name,h=vge(c,a)||c.kind!==209&&c.initializer&&wL(c,n.dotDotDotToken?32:0);if(!h||na(p)||tk(p))return;if(c.name.kind===208){const I=qR(n.parent.elements,n);return I<0?void 0:Ige(h,I)}const v=zy(p);if(Uf(v)){const I=Hf(v);return yn(h,I)}}function vft(n,a){const c=Et(n.parent)&&Ku(n.parent,a);if(c)return eS(c,Fr(n).escapedName)}function bft(n,a){const c=n.parent;if(rv(c)&&n===c.initializer){const p=vge(c,a);if(p)return p;if(!(a&8)&&na(c.name)&&c.name.elements.length>0)return mL(c.name,!0,!1)}}function Tft(n,a){const c=uf(n);if(c){let p=l$(c,a);if(p){const h=dc(c);if(h&1){const v=(h&2)!==0;p.flags&1048576&&(p=Tc(p,w=>!!Yv(1,w,v)));const I=Yv(1,p,(h&2)!==0);if(!I)return;p=I}if(h&2){const v=Al(p,Ky);return v&&_i([v,q4e(v)])}return p}}}function Sft(n,a){const c=Ku(n,a);if(c){const p=Ky(c);return p&&_i([p,q4e(p)])}}function Eft(n,a){var p,h,v;const c=uf(n);if(c){const I=dc(c);let w=l$(c,a);if(w){const U=(I&2)!==0;if(!n.asteriskToken&&w.flags&1048576&&(w=Tc(w,H=>!!Yv(1,H,U))),n.asteriskToken){const H=Nye(w,U),Z=(p=H==null?void 0:H.yieldType)!=null?p:Ft,Ee=(h=Ku(n,a))!=null?h:Ft,Te=(v=H==null?void 0:H.nextType)!=null?v:At,Ye=N$(Z,Ee,Te,!1);if(U){const ht=N$(Z,Ee,Te,!0);return _i([Ye,ht])}return Ye}return Yv(0,w,U)}}}function bge(n){let a=!1;for(;n.parent&&!Yo(n.parent);){if(no(n.parent)&&(a||n.parent.initializer===n))return!0;qa(n.parent)&&n.parent.initializer===n&&(a=!0),n=n.parent}return!1}function R6e(n,a){const c=!!(dc(a)&2),p=l$(a,void 0);if(p)return Yv(n,p,c)||void 0}function l$(n,a){const c=GC(n);if(c)return c;const p=f$(n);if(p&&!uY(p)){const v=hs(p),I=dc(n);return I&1?Tc(v,w=>!!(w.flags&58998787)||mye(w,I,void 0)):I&2?Tc(v,w=>!!(w.flags&58998787)||!!FL(w)):v}const h=F0(n);if(h)return Ku(h,a)}function D6e(n,a){const p=I$(n).indexOf(a);return p===-1?void 0:Tge(n,p)}function Tge(n,a){if(ep(n))return a===0?yt:a===1?iWe(!1):He;const c=Vr(n).resolvedSignature===xr?xr:eN(n);if(ru(n)&&a===0)return p$(c,n);const p=c.parameters.length-1;return su(c)&&a>=p?$p(gr(c.parameters[p]),Mh(a-p),256):wh(c,a)}function Aft(n){const a=iye(n);return a?EA(a):void 0}function Ift(n,a){if(n.parent.kind===216)return D6e(n.parent,a)}function xft(n,a){const c=n.parent,{left:p,operatorToken:h,right:v}=c;switch(h.kind){case 64:case 77:case 76:case 78:return n===v?Dft(c):void 0;case 57:case 61:const I=Ku(c,a);return n===v&&(I&&I.pattern||!I&&!Sne(c))?Ld(p):I;case 56:case 28:return n===v?Ku(c,a):void 0;default:return}}function Rft(n){if(ah(n)&&n.symbol)return n.symbol;if(Je(n))return mu(n);if(Jr(n)){const c=Ld(n.expression);return to(n.name)?a(c,n.name):xa(c,n.name.escapedText)}if(Bs(n)){const c=Vl(n.argumentExpression);if(!Uf(c))return;const p=Ld(n.expression);return xa(p,Hf(c))}return;function a(c,p){const h=F5(p.escapedText,p);return h&&T$(c,h)}}function Dft(n){var a,c;const p=ac(n);switch(p){case 0:case 4:const h=Rft(n.left),v=h&&h.valueDeclaration;if(v&&(ko(v)||Eu(v))){const U=Ac(v);return U&&oo(Yi(U),Kr(h).mapper)||(ko(v)?v.initializer&&Ld(n.left):void 0)}return p===0?Ld(n.left):C6e(n);case 5:if(c$(n,p))return C6e(n);if(!ah(n.left)||!n.left.symbol)return Ld(n.left);{const U=n.left.symbol.valueDeclaration;if(!U)return;const H=va(n.left,Qs),Z=Ac(U);if(Z)return Yi(Z);if(Je(H.expression)){const Ee=H.expression,Te=gt(Ee,Ee.escapedText,111551,void 0,!0);if(Te){const Ye=Te.valueDeclaration&&Ac(Te.valueDeclaration);if(Ye){const ht=cy(H);if(ht!==void 0)return eS(Yi(Ye),ht)}return}}return Er(U)||U===n.left?void 0:Ld(n.left)}case 1:case 6:case 3:case 2:let I;p!==2&&(I=ah(n.left)?(a=n.left.symbol)==null?void 0:a.valueDeclaration:void 0),I||(I=(c=n.symbol)==null?void 0:c.valueDeclaration);const w=I&&Ac(I);return w?Yi(w):void 0;case 7:case 8:case 9:return C.fail("Does not apply");default:return C.assertNever(p)}}function c$(n,a=ac(n)){if(a===4)return!0;if(!Er(n)||a!==5||!Je(n.left.expression))return!1;const c=n.left.expression.escapedText,p=gt(n.left,c,111551,void 0,!0,!0);return ZF(p==null?void 0:p.valueDeclaration)}function C6e(n){if(!n.symbol)return Ld(n.left);if(n.symbol.valueDeclaration){const h=Ac(n.symbol.valueDeclaration);if(h){const v=Yi(h);if(v)return v}}const a=va(n.left,Qs);if(!ym(bu(a.expression,!1,!1)))return;const c=M5(a.expression),p=cy(a);return p!==void 0&&eS(c,p)||void 0}function Cft(n){return!!(Fl(n)&262144&&!n.links.type&&ne(n,0)>=0)}function Sge(n,a){if(n.flags&16777216){const c=n;return!!(km(h0(c)).flags&131072)&&Gy(_0(c))===Gy(c.checkType)&&da(a,c.extendsType)}return n.flags&2097152?bt(n.types,c=>Sge(c,a)):!1}function eS(n,a,c){return Al(n,p=>{var h;if(p.flags&2097152){let v,I,w=!1;for(const U of p.types){if(!(U.flags&524288))continue;if(mp(U)&&N8(U)!==2){const Z=N6e(U,a,c);v=Ege(v,Z);continue}const H=M6e(U,a);if(!H){w||(I=jn(I,U));continue}w=!0,I=void 0,v=Ege(v,H)}if(I)for(const U of I){const H=P6e(U,a,c);v=Ege(v,H)}return v?v.length===1?v[0]:La(v):void 0}if(p.flags&524288)return mp(p)&&N8(p)!==2?N6e(p,a,c):(h=M6e(p,a))!=null?h:P6e(p,a,c)},!0)}function Ege(n,a){return a?jn(n,a.flags&1?At:a):n}function N6e(n,a,c){const p=c||Ip(Bi(a)),h=Cf(n);if(n.nameType&&Sge(n.nameType,p)||Sge(h,p))return;const v=Md(h)||h;if(da(p,v))return IY(n,p)}function M6e(n,a){const c=xa(n,a);if(!(!c||Cft(c)))return qy(gr(c),!!(c.flags&16777216))}function P6e(n,a,c){var p;if(Xa(n)&&Rg(a)&&+a>=0){const h=CL(n,n.target.fixedLength,0,!1,!0);if(h)return h}return(p=Ohe(Whe(n),c||Ip(Bi(a))))==null?void 0:p.type}function L6e(n,a){if(C.assert(ym(n)),!(n.flags&67108864))return Age(n,a)}function Age(n,a){const c=n.parent,p=Rc(n)&&vge(n,a);if(p)return p;const h=tS(c,a);if(h){if(zC(n)){const v=Fr(n);return eS(h,v.escapedName,Kr(v).nameType)}if(dy(n)){const v=Fo(n);if(v&&Ea(v)){const I=yo(v.expression),w=Uf(I)&&eS(h,Hf(I));if(w)return w}}if(n.name){const v=zy(n.name);return Al(h,I=>{var w;return(w=Ohe(Whe(I),v))==null?void 0:w.type},!0)}}}function Nft(n){let a,c;for(let p=0;p<n.length;p++)Jf(n[p])&&(a!=null||(a=p),c=p);return{first:a,last:c}}function Ige(n,a,c,p,h){return n&&Al(n,v=>{if(Xa(v)){if((p===void 0||a<p)&&a<v.target.fixedLength)return qy(cl(v)[a],!!v.target.elementFlags[a]);const I=c!==void 0&&(h===void 0||a>h)?c-a:0,w=I>0&&v.target.combinedFlags&12?O8(v.target,3):0;return I>0&&I<=w?cl(v)[Hv(v)-I]:CL(v,p===void 0?v.target.fixedLength:Math.min(v.target.fixedLength,p),c===void 0||h===void 0?w:Math.min(w,c-h),!1,!0)}return(!p||a<p)&&eS(v,""+a)||Iye(1,v,ye,void 0,!1)},!0)}function Mft(n,a){const c=n.parent;return n===c.whenTrue||n===c.whenFalse?Ku(c,a):void 0}function Pft(n,a,c){const p=tS(n.openingElement.attributes,c),h=w5(FA(n));if(!(p&&!Or(p)&&h&&h!==""))return;const v=aD(n.children),I=v.indexOf(a),w=eS(p,h);return w&&(v.length===1?w:Al(w,U=>Jv(U)?$p(U,Mh(I)):U,!0))}function Lft(n,a){const c=n.parent;return xF(c)?Ku(n,a):l_(c)?Pft(c,n,a):void 0}function k6e(n,a){if(c_(n)){const c=tS(n.parent,a);return!c||Or(c)?void 0:eS(c,LM(n.name))}else return Ku(n.parent,a)}function P5(n){switch(n.kind){case 11:case 9:case 10:case 15:case 229:case 112:case 97:case 106:case 80:case 157:return!0;case 212:case 218:return P5(n.expression);case 295:return!n.expression||P5(n.expression)}return!1}function kft(n,a){var p,h;const c="D".concat(ls(n),",").concat(pd(a));return(h=Uu(c))!=null?h:Mm(c,(p=Apt(a,n))!=null?p:N_e(a,co(Gt(Fn(n.properties,v=>v.symbol?v.kind===304?P5(v.initializer)&&NL(a,v.symbol.escapedName):v.kind===305?NL(a,v.symbol.escapedName):!1:!1),v=>[()=>Q5(v.kind===304?v.initializer:v.name),v.symbol.escapedName]),Gt(Fn(Es(a),v=>{var I;return!!(v.flags&16777216)&&!!((I=n==null?void 0:n.symbol)!=null&&I.members)&&!n.symbol.members.has(v.escapedName)&&NL(a,v.escapedName)}),v=>[()=>ye,v.escapedName])),da))}function wft(n,a){const c="D".concat(ls(n),",").concat(pd(a)),p=Uu(c);if(p)return p;const h=w5(FA(n));return Mm(c,N_e(a,co(Gt(Fn(n.properties,v=>!!v.symbol&&v.kind===292&&NL(a,v.symbol.escapedName)&&(!v.initializer||P5(v.initializer))),v=>[v.initializer?()=>Q5(v.initializer):()=>vt,v.symbol.escapedName]),Gt(Fn(Es(a),v=>{var I;if(!(v.flags&16777216)||!((I=n==null?void 0:n.symbol)!=null&&I.members))return!1;const w=n.parent.parent;return v.escapedName===h&&l_(w)&&aD(w.children).length?!1:!n.symbol.members.has(v.escapedName)&&NL(a,v.escapedName)}),v=>[()=>ye,v.escapedName])),da))}function tS(n,a){const c=ym(n)?L6e(n,a):Ku(n,a),p=d$(c,n,a);if(p&&!(a&&a&2&&p.flags&8650752)){const h=Al(p,v=>qr(v)&32?v:Mu(v),!0);return h.flags&1048576&&za(n)?kft(n,h):h.flags&1048576&&jS(n)?wft(n,h):h}}function d$(n,a,c){if(n&&nc(n,465829888)){const p=PE(a);if(p&&c&1&&bt(p.inferences,M_t))return u$(n,p.nonFixingMapper);if(p!=null&&p.returnMapper){const h=u$(n,p.returnMapper);return h.flags&1048576&&Yg(h.types,fr)&&Yg(h.types,Rt)?Tc(h,v=>v!==fr&&v!==Rt):h}}return n}function u$(n,a){return n.flags&465829888?oo(n,a):n.flags&1048576?_i(Gt(n.types,c=>u$(c,a)),0):n.flags&2097152?La(Gt(n.types,c=>u$(c,a))):n}function Ku(n,a){var v;var c;if(n.flags&67108864)return;const p=O6e(n,!a);if(p>=0)return lp[p];const{parent:h}=n;switch(h.kind){case 261:case 170:case 173:case 172:case 209:return bft(n,a);case 220:case 254:return Tft(n,a);case 230:return Eft(h,a);case 224:return Sft(h,a);case 214:case 215:return D6e(h,n);case 171:return Aft(h);case 217:case 235:return zm(h.type)?Ku(h,a):Yi(h.type);case 227:return xft(n,a);case 304:case 305:return Age(h,a);case 306:return Ku(h.parent,a);case 210:{const I=h,w=tS(I,a),U=qR(I.elements,n),H=(v=(c=Vr(I)).spreadIndices)!=null?v:c.spreadIndices=Nft(I.elements);return Ige(w,U,I.elements.length,H.first,H.last)}case 228:return Mft(n,a);case 240:return C.assert(h.parent.kind===229),Ift(h.parent,n);case 218:{if(Er(h)){if(tj(h))return Yi(nj(h));const I=k0(h);if(I&&!zm(I.typeExpression.type))return Yi(I.typeExpression.type)}return Ku(h,a)}case 236:return Ku(h,a);case 239:return Yi(h.type);case 278:return p0(h);case 295:return Lft(h,a);case 292:case 294:return k6e(h,a);case 287:case 286:return jft(h,a);case 302:return Vft(h)}}function w6e(n){L5(n,Ku(n,void 0),!0)}function L5(n,a,c){ll[cp]=n,lp[cp]=a,Nm[cp]=c,cp++}function eW(){cp--,ll[cp]=void 0,lp[cp]=void 0,Nm[cp]=void 0}function O6e(n,a){for(let c=cp-1;c>=0;c--)if(n===ll[c]&&(a||!Nm[c]))return c;return-1}function Oft(n,a){dp[Og]=n,wg[Og]=a,Og++}function Wft(){Og--,dp[Og]=void 0,wg[Og]=void 0}function PE(n){for(let a=Og-1;a>=0;a--)if(xS(n,dp[a]))return wg[a]}function Fft(n){var a;xv[K_]=n,(a=Th[K_])!=null||(Th[K_]=new Map),K_++}function zft(){K_--,xv[K_]=void 0,Th[K_].clear()}function Bft(n){for(let a=K_-1;a>=0;a--)if(n===xv[a])return a;return-1}function Gft(){for(let n=K_-1;n>=0;n--)Th[n].clear()}function Vft(n){return eS(Xhe(!1),o4(n))}function jft(n,a){if(ph(n)&&a!==4){const c=O6e(n.parent,!a);if(c>=0)return lp[c]}return Tge(n,0)}function p$(n,a){return qm(a)||b4e(a)!==0?Uft(n,a):Jft(n,a)}function Uft(n,a){let c=nye(n,At);c=W6e(a,FA(a),c);const p=LE(gf.IntrinsicAttributes,a);return mr(p)||(c=Kz(p,c)),c}function Hft(n,a){if(n.compositeSignatures){const p=[];for(const h of n.compositeSignatures){const v=hs(h);if(Or(v))return v;const I=yn(v,a);if(!I)return;p.push(I)}return La(p)}const c=hs(n);return Or(c)?c:yn(c,a)}function qft(n){if(qm(n))return N4e(n);if(pR(n.tagName)){const c=J6e(n),p=x$(n,c);return EA(p)}const a=Vl(n.tagName);if(a.flags&128){const c=q6e(a,n);if(!c)return rt;const p=x$(n,c);return EA(p)}return a}function W6e(n,a,c){const p=_mt(a);if(p){const h=qft(n),v=Y6e(p,Er(n),h,c);if(v)return v}return c}function Jft(n,a){const c=FA(a),p=ymt(c);let h=p===void 0?nye(n,At):p===""?hs(n):Hft(n,p);if(!h)return p&&et(a.attributes.properties)&&Ze(a,f.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,Bi(p)),At;if(h=W6e(a,c,h),Or(h))return h;{let v=h;const I=LE(gf.IntrinsicClassAttributes,a);if(!mr(I)){const U=ua(I.symbol),H=hs(n);let Z;if(U){const Ee=Uv([H],U,rg(U),Er(a));Z=oo(I,Qp(U,Ee))}else Z=I;v=Kz(Z,v)}const w=LE(gf.IntrinsicAttributes,a);return mr(w)||(v=Kz(w,v)),v}}function Kft(n){return Vd(O,"noImplicitAny")?yu(n,(a,c)=>a===c||!a?a:y8e(a.typeParameters,c.typeParameters)?$ft(a,c):void 0):void 0}function Xft(n,a,c){if(!n||!a)return n||a;const p=_i([gr(n),oo(gr(a),c)]);return PA(n,p)}function Yft(n,a,c){const p=Rp(n),h=Rp(a),v=p>=h?n:a,I=v===n?a:n,w=v===n?p:h,U=ag(n)||ag(a),H=U&&!ag(v),Z=new Array(w+(H?1:0));for(let Ee=0;Ee<w;Ee++){let Te=kE(v,Ee);v===a&&(Te=oo(Te,c));let Ye=kE(I,Ee)||At;I===a&&(Ye=oo(Ye,c));const ht=_i([Te,Ye]),Dt=U&&!H&&Ee===w-1,en=Ee>=Oh(v)&&Ee>=Oh(I),Sn=Ee>=p?void 0:kL(n,Ee),Zn=Ee>=h?void 0:kL(a,Ee),yr=Sn===Zn?Sn:Sn?Zn?void 0:Sn:Zn,xn=Ua(1|(en&&!Dt?16777216:0),yr||"arg".concat(Ee),Dt?32768:en?16384:0);xn.links.type=Dt?$d(ht):ht,Z[Ee]=xn}if(H){const Ee=Ua(1,"args",32768);Ee.links.type=$d(wh(I,w)),I===a&&(Ee.links.type=oo(Ee.links.type,c)),Z[w]=Ee}return Z}function $ft(n,a){const c=n.typeParameters||a.typeParameters;let p;n.typeParameters&&a.typeParameters&&(p=Qp(a.typeParameters,n.typeParameters));let h=(n.flags|a.flags)&166;const v=n.declaration,I=Yft(n,a,p),w=rl(I);w&&Fl(w)&32768&&(h|=1);const U=Xft(n.thisParameter,a.thisParameter,p),H=Math.max(n.minArgumentCount,a.minArgumentCount),Z=A_(v,c,U,I,void 0,void 0,H,h);return Z.compositeKind=2097152,Z.compositeSignatures=co(n.compositeKind===2097152&&n.compositeSignatures||[n],[a]),p&&(Z.mapper=n.compositeKind===2097152&&n.mapper&&n.compositeSignatures?XT(n.mapper,p):p),Z}function xge(n,a){const c=aa(n,0),p=Fn(c,h=>!Qft(h,a));return p.length===1?p[0]:Kft(p)}function Qft(n,a){let c=0;for(;c<a.parameters.length;c++){const p=a.parameters[c];if(p.initializer||p.questionToken||p.dotDotDotToken||r4(p))break}return a.parameters.length&&xb(a.parameters[0])&&c--,!ag(n)&&Rp(n)<c}function f$(n){return Mb(n)||ym(n)?tW(n):void 0}function tW(n){C.assert(n.kind!==175||ym(n));const a=TL(n);if(a)return a;const c=tS(n,1);if(!c)return;if(!(c.flags&1048576))return xge(c,n);let p;const h=c.types;for(const v of h){const I=xge(v,n);if(I)if(!p)p=[I];else if(g5(p[0],I,!1,!0,!0,V8))p.push(I);else return}if(p)return p.length===1?p[0]:_8e(p[0],p)}function Zft(n){const a=On(n);if(!S0(a)&&!n.isUnterminated){let c;o!=null||(o=fg(99,!0)),o.setScriptTarget(a.languageVersion),o.setLanguageVariant(a.languageVariant),o.setOnError((p,h,v)=>{const I=o.getTokenEnd();if(p.category===3&&c&&I===c.start&&h===c.length){const w=NI(a.fileName,a.text,I,h,p,v);_a(c,w)}else(!c||I!==c.start)&&(c=kc(a,I,h,p,v),ns.add(c))}),o.setText(a.text,n.pos,n.end-n.pos);try{return o.scan(),C.assert(o.reScanSlashToken(!0)===14,"Expected scanner to rescan RegularExpressionLiteral"),!!c}finally{o.setText(""),o.setOnError(void 0)}}return!1}function emt(n){const a=Vr(n);return a.flags&1||(a.flags|=1,r(()=>Zft(n))),Jl}function tmt(n,a){G<ed.SpreadElements&&Yc(n,O.downlevelIteration?1536:1024);const c=yo(n.expression,a);return Xv(33,c,ye,n.expression)}function nmt(n){return n.isSpread?$p(n.type,jt):n.type}function uR(n){return n.kind===209&&!!n.initializer||n.kind===304&&uR(n.initializer)||n.kind===305&&!!n.objectAssignmentInitializer||n.kind===227&&n.operatorToken.kind===64}function rmt(n){const a=Vm(n.parent);return Jf(a)&&qh(a.parent)}function F6e(n,a,c){const p=n.elements,h=p.length,v=[],I=[];w6e(n);const w=Ib(n),U=OL(n),H=tS(n,void 0),Z=rmt(n)||!!H&&cm(H,Te=>DL(Te)||mp(Te)&&!Te.nameType&&!!B8(Te.target||Te));let Ee=!1;for(let Te=0;Te<h;Te++){const Ye=p[Te];if(Ye.kind===231){G<ed.SpreadElements&&Yc(Ye,O.downlevelIteration?1536:1024);const ht=yo(Ye.expression,a,c);if(Jv(ht))v.push(ht),I.push(8);else if(w){const Dt=HT(ht,jt)||Iye(65,ht,ye,void 0,!1)||At;v.push(Dt),I.push(4)}else v.push(Xv(33,ht,ye,Ye.expression)),I.push(4)}else if(ve&&Ye.kind===233)Ee=!0,v.push(te),I.push(2);else{const ht=WL(Ye,a,c);if(v.push(fu(ht,!0,Ee)),I.push(Ee?2:1),Z&&a&&a&2&&!(a&4)&&Mf(Ye)){const Dt=PE(n);C.assert(Dt),U_e(Dt,Ye,ht)}}}return eW(),w?ig(v,I):z6e(c||U||Z?ig(v,I,U&&!(H&&cm(H,w_e))):$d(v.length?_i(Ui(v,(Te,Ye)=>I[Ye]&8?m0(Te,jt)||He:Te),2):re?bn:B,U))}function z6e(n){if(!(qr(n)&4))return n;let a=n.literalType;return a||(a=n.literalType=H8e(n),a.objectFlags|=147456),a}function imt(n){switch(n.kind){case 168:return omt(n);case 80:return Rg(n.escapedText);case 9:case 11:return Rg(n.text);default:return!1}}function omt(n){return Pd(nh(n),296)}function nh(n){const a=Vr(n.expression);if(!a.resolvedType){if((Fu(n.parent.parent)||hi(n.parent.parent)||gd(n.parent.parent))&&Nr(n.expression)&&n.expression.operatorToken.kind===103&&n.parent.kind!==178&&n.parent.kind!==179)return a.resolvedType=rt;if(a.resolvedType=yo(n.expression),ko(n.parent)&&!Lc(n.parent)&&uc(n.parent.parent)){const c=sh(n.parent.parent),p=mge(c);p&&(Vr(p).flags|=4096,Vr(n).flags|=32768,Vr(n.parent.parent).flags|=32768)}(a.resolvedType.flags&98304||!Pd(a.resolvedType,402665900)&&!da(a.resolvedType,ti))&&Ze(n,f.A_computed_property_name_must_be_of_type_string_number_symbol_or_any)}return a.resolvedType}function amt(n){var a;const c=(a=n.declarations)==null?void 0:a[0];return Rg(n.escapedName)||c&&nd(c)&&imt(c.name)}function B6e(n){var a;const c=(a=n.declarations)==null?void 0:a[0];return lM(n)||c&&nd(c)&&Ea(c.name)&&Pd(nh(c.name),4096)}function smt(n){var a;const c=(a=n.declarations)==null?void 0:a[0];return c&&nd(c)&&Ea(c.name)}function nW(n,a,c,p){var h;const v=[];let I;for(let U=a;U<c.length;U++){const H=c[U];(p===yt&&!B6e(H)||p===jt&&amt(H)||p===Yt&&B6e(H))&&(v.push(gr(c[U])),smt(c[U])&&(I=jn(I,(h=c[U].declarations)==null?void 0:h[0])))}const w=v.length?_i(v,2):ye;return Xg(p,w,n,void 0,I)}function m$(n){C.assert((n.flags&2097152)!==0,"Should only get Alias here.");const a=Kr(n);if(!a.immediateTarget){const c=pp(n);if(!c)return C.fail();a.immediateTarget=OT(c,!0)}return a.immediateTarget}function lmt(n,a=0){const c=Ib(n);Tbt(n,c);const p=re?ma():void 0;let h=ma(),v=[],I=Ma;w6e(n);const w=tS(n,void 0),U=w&&w.pattern&&(w.pattern.kind===207||w.pattern.kind===211),H=OL(n),Z=H?8:0,Ee=Er(n)&&!r6(n),Te=Ee?X9(n):void 0,Ye=!w&&Ee&&!Te;let ht=8192,Dt=!1,en=!1,Sn=!1,Zn=!1;for(const Tn of n.properties)Tn.name&&Ea(Tn.name)&&nh(Tn.name);let yr=0;for(const Tn of n.properties){let cr=Fr(Tn);const mi=Tn.name&&Tn.name.kind===168?nh(Tn.name):void 0;if(Tn.kind===304||Tn.kind===305||ym(Tn)){let ao=Tn.kind===304?s3e(Tn,a):Tn.kind===305?WL(!c&&Tn.objectAssignmentInitializer?Tn.objectAssignmentInitializer:Tn.name,a):l3e(Tn,a);if(Ee){const Vo=cs(Tn);Vo?(Qd(ao,Vo,Tn),ao=Vo):Te&&Te.typeExpression&&Qd(ao,Yi(Te.typeExpression),Tn)}ht|=qr(ao)&458752;const ui=mi&&Uf(mi)?mi:void 0,Pi=ui?Ua(4|cr.flags,Hf(ui),Z|4096):Ua(4|cr.flags,cr.escapedName,Z);if(ui&&(Pi.links.nameType=ui),c&&uR(Tn))Pi.flags|=16777216;else if(U&&!(qr(w)&512)){const Vo=xa(w,cr.escapedName);Vo?Pi.flags|=Vo.flags&16777216:Kg(w,yt)||Ze(Tn.name,f.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,uo(cr),sr(w))}if(Pi.declarations=cr.declarations,Pi.parent=cr.parent,cr.valueDeclaration&&(Pi.valueDeclaration=cr.valueDeclaration),Pi.links.type=ao,Pi.links.target=cr,cr=Pi,p==null||p.set(Pi.escapedName,Pi),w&&a&2&&!(a&4)&&(Tn.kind===304||Tn.kind===175)&&Mf(Tn)){const Vo=PE(n);C.assert(Vo);const _s=Tn.kind===304?Tn.initializer:Tn;U_e(Vo,_s,ao)}}else if(Tn.kind===306){G<ed.ObjectAssign&&Yc(Tn,2),v.length>0&&(I=xE(I,xn(),n.symbol,ht,H),v=[],h=ma(),en=!1,Sn=!1,Zn=!1);const ao=km(yo(Tn.expression,a&2));if(k5(ao)){const ui=h_e(ao,H);if(p&&j6e(ui,p,Tn),yr=v.length,mr(I))continue;I=xE(I,ui,n.symbol,ht,H)}else Ze(Tn,f.Spread_types_may_only_be_created_from_object_types),I=rt;continue}else C.assert(Tn.kind===178||Tn.kind===179),mR(Tn);mi&&!(mi.flags&8576)?da(mi,ti)&&(da(mi,jt)?Sn=!0:da(mi,Yt)?Zn=!0:en=!0,c&&(Dt=!0)):h.set(cr.escapedName,cr),v.push(cr)}if(eW(),mr(I))return rt;if(I!==Ma)return v.length>0&&(I=xE(I,xn(),n.symbol,ht,H),v=[],h=ma(),en=!1,Sn=!1),Al(I,Tn=>Tn===Ma?xn():Tn);return xn();function xn(){const Tn=[],cr=OL(n);en&&Tn.push(nW(cr,yr,v,yt)),Sn&&Tn.push(nW(cr,yr,v,jt)),Zn&&Tn.push(nW(cr,yr,v,Yt));const mi=El(n.symbol,h,se,se,Tn);return mi.objectFlags|=ht|128|131072,Ye&&(mi.objectFlags|=4096),Dt&&(mi.objectFlags|=512),c&&(mi.pattern=n),mi}}function k5(n){const a=AFe(Al(n,I_));return!!(a.flags&126615553||a.flags&3145728&&Gn(a.types,k5))}function cmt(n){Dge(n)}function dmt(n,a){return mR(n),O5(n)||He}function umt(n){Dge(n.openingElement),pR(n.closingElement.tagName)?_$(n.closingElement):yo(n.closingElement.tagName),h$(n)}function pmt(n,a){return mR(n),O5(n)||He}function fmt(n){Dge(n.openingFragment);const a=On(n);V6(O)&&(O.jsxFactory||a.pragmas.has("jsx"))&&!O.jsxFragmentFactory&&!a.pragmas.has("jsxfrag")&&Ze(n,O.jsxFactory?f.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:f.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments),h$(n);const c=O5(n);return mr(c)?He:c}function Rge(n){return n.includes("-")}function pR(n){return Je(n)&&sD(n.escapedText)||fh(n)}function G6e(n,a){return n.initializer?WL(n.initializer,a):vt}function V6e(n,a=0){const c=re?ma():void 0;let p=ma(),h=tc,v=!1,I,w=!1,U=2048;const H=w5(FA(n)),Z=qm(n);let Ee,Te=n;if(!Z){const Dt=n.attributes;Ee=Dt.symbol,Te=Dt;const en=Ku(Dt,0);for(const Sn of Dt.properties){const Zn=Sn.symbol;if(c_(Sn)){const yr=G6e(Sn,a);U|=qr(yr)&458752;const xn=Ua(4|Zn.flags,Zn.escapedName);if(xn.declarations=Zn.declarations,xn.parent=Zn.parent,Zn.valueDeclaration&&(xn.valueDeclaration=Zn.valueDeclaration),xn.links.type=yr,xn.links.target=Zn,p.set(xn.escapedName,xn),c==null||c.set(xn.escapedName,xn),LM(Sn.name)===H&&(w=!0),en){const Tn=xa(en,Zn.escapedName);Tn&&Tn.declarations&&Cu(Tn)&&Je(Sn.name)&&Pm(Sn.name,Tn.declarations,Sn.name.escapedText)}if(en&&a&2&&!(a&4)&&Mf(Sn)){const Tn=PE(Dt);C.assert(Tn);const cr=Sn.initializer.expression;U_e(Tn,cr,yr)}}else{C.assert(Sn.kind===294),p.size>0&&(h=xE(h,ht(),Dt.symbol,U,!1),p=ma());const yr=km(yo(Sn.expression,a&2));Or(yr)&&(v=!0),k5(yr)?(h=xE(h,yr,Dt.symbol,U,!1),c&&j6e(yr,c,Sn)):(Ze(Sn.expression,f.Spread_types_may_only_be_created_from_object_types),I=I?La([I,yr]):yr)}}v||p.size>0&&(h=xE(h,ht(),Dt.symbol,U,!1))}const Ye=n.parent;if((l_(Ye)&&Ye.openingElement===n||tT(Ye)&&Ye.openingFragment===n)&&aD(Ye.children).length>0){const Dt=h$(Ye,a);if(!v&&H&&H!==""){w&&Ze(Te,f._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,Bi(H));const en=ph(n)?tS(n.attributes,void 0):void 0,Sn=en&&eS(en,H),Zn=Ua(4,H);Zn.links.type=Dt.length===1?Dt[0]:Sn&&cm(Sn,DL)?ig(Dt):$d(_i(Dt)),Zn.valueDeclaration=L.createPropertySignature(void 0,Bi(H),void 0,void 0),ps(Zn.valueDeclaration,Te),Zn.valueDeclaration.symbol=Zn;const yr=ma();yr.set(H,Zn),h=xE(h,El(Ee,yr,se,se,se),Ee,U,!1)}}if(v)return He;if(I&&h!==tc)return La([I,h]);return I||(h===tc?ht():h);function ht(){return U|=8192,mmt(U,Ee,p)}}function mmt(n,a,c){const p=El(a,c,se,se,se);return p.objectFlags|=n|8192|128|131072,p}function h$(n,a){const c=[];for(const p of n.children)if(p.kind===12)p.containsOnlyTriviaWhiteSpaces||c.push(yt);else{if(p.kind===295&&!p.expression)continue;c.push(WL(p,a))}return c}function j6e(n,a,c){for(const p of Es(n))if(!(p.flags&16777216)){const h=a.get(p.escapedName);if(h){const v=Ze(h.valueDeclaration,f._0_is_specified_more_than_once_so_this_usage_will_be_overwritten,Bi(h.escapedName));_a(v,Sr(c,f.This_spread_always_overwrites_this_property))}}}function hmt(n,a){return V6e(n.parent,a)}function LE(n,a){const c=FA(a),p=c&&Kp(c),h=p&&Td(p,n,788968);return h?Xs(h):rt}function _$(n){const a=Vr(n);if(!a.resolvedSymbol){const c=LE(gf.IntrinsicElements,n);if(mr(c))return Ae&&Ze(n,f.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,Bi(gf.IntrinsicElements)),a.resolvedSymbol=ie;{if(!Je(n.tagName)&&!fh(n.tagName))return C.fail();const p=fh(n.tagName)?WI(n.tagName):n.tagName.escapedText,h=xa(c,p);if(h)return a.jsxFlags|=1,a.resolvedSymbol=h;const v=h7e(c,Ip(Bi(p)));return v?(a.jsxFlags|=2,a.resolvedSymbol=v):ni(c,p)?(a.jsxFlags|=2,a.resolvedSymbol=c.symbol):(Ze(n,f.Property_0_does_not_exist_on_type_1,rj(n.tagName),"JSX."+gf.IntrinsicElements),a.resolvedSymbol=ie)}}return a.resolvedSymbol}function g$(n){const a=n&&On(n),c=a&&Vr(a);if(c&&c.jsxImplicitImportContainer===!1)return;if(c&&c.jsxImplicitImportContainer)return c.jsxImplicitImportContainer;const p=j6(Yk(O,a),O);if(!p)return;const v=iu(O)===1?f.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:f.This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_for_the_appropriate_package_installed,I=$bt(a,p),w=sA(I||n,p,v,n),U=w&&w!==ie?os(mc(w)):void 0;return c&&(c.jsxImplicitImportContainer=U||!1),U}function FA(n){const a=n&&Vr(n);if(a&&a.jsxNamespace)return a.jsxNamespace;if(!a||a.jsxNamespace!==!1){let p=g$(n);if(!p||p===ie){const h=Xm(n);p=gt(n,h,1920,void 0,!1)}if(p){const h=mc(Td(Kp(mc(p)),gf.JSX,1920));if(h&&h!==ie)return a&&(a.jsxNamespace=h),h}a&&(a.jsxNamespace=!1)}const c=mc(HC(gf.JSX,1920,void 0));if(c!==ie)return c}function U6e(n,a){const c=a&&Td(a.exports,n,788968),p=c&&Xs(c),h=p&&Es(p);if(h){if(h.length===0)return"";if(h.length===1)return h[0].escapedName;h.length>1&&c.declarations&&Ze(c.declarations[0],f.The_global_type_JSX_0_may_not_have_more_than_one_property,Bi(n))}}function _mt(n){return n&&Td(n.exports,gf.LibraryManagedAttributes,788968)}function gmt(n){return n&&Td(n.exports,gf.ElementType,788968)}function ymt(n){return U6e(gf.ElementAttributesPropertyNameContainer,n)}function w5(n){return O.jsx===4||O.jsx===5?"children":U6e(gf.ElementChildrenAttributeNameContainer,n)}function H6e(n,a){if(n.flags&4)return[dr];if(n.flags&128){const h=q6e(n,a);return h?[x$(a,h)]:(Ze(a,f.Property_0_does_not_exist_on_type_1,n.value,"JSX."+gf.IntrinsicElements),se)}const c=Mu(n);let p=aa(c,1);return p.length===0&&(p=aa(c,0)),p.length===0&&c.flags&1048576&&(p=xhe(Gt(c.types,h=>H6e(h,a)))),p}function q6e(n,a){const c=LE(gf.IntrinsicElements,a);if(!mr(c)){const p=n.value,h=xa(c,Pl(p));if(h)return gr(h);const v=HT(c,yt);return v||void 0}return He}function vmt(n,a,c){if(n===1){const h=X6e(c);h&&am(a,h,Jd,c.tagName,f.Its_return_type_0_is_not_a_valid_JSX_element,p)}else if(n===0){const h=K6e(c);h&&am(a,h,Jd,c.tagName,f.Its_instance_type_0_is_not_a_valid_JSX_element,p)}else{const h=X6e(c),v=K6e(c);if(!h||!v)return;const I=_i([h,v]);am(a,I,Jd,c.tagName,f.Its_element_type_0_is_not_a_valid_JSX_element,p)}function p(){const h=Rl(c.tagName);return Ko(void 0,f._0_cannot_be_used_as_a_JSX_component,h)}}function J6e(n){var a;C.assert(pR(n.tagName));const c=Vr(n);if(!c.resolvedJsxElementAttributesType){const p=_$(n);if(c.jsxFlags&1)return c.resolvedJsxElementAttributesType=gr(p)||rt;if(c.jsxFlags&2){const h=fh(n.tagName)?WI(n.tagName):n.tagName.escapedText;return c.resolvedJsxElementAttributesType=((a=nR(LE(gf.IntrinsicElements,n),h))==null?void 0:a.type)||rt}else return c.resolvedJsxElementAttributesType=rt}return c.resolvedJsxElementAttributesType}function K6e(n){const a=LE(gf.ElementClass,n);if(!mr(a))return a}function O5(n){return LE(gf.Element,n)}function X6e(n){const a=O5(n);if(a)return _i([a,$t])}function bmt(n){const a=FA(n);if(!a)return;const c=gmt(a);if(!c)return;const p=Y6e(c,Er(n));if(!(!p||mr(p)))return p}function Y6e(n,a,...c){const p=Xs(n);if(n.flags&524288){const h=Kr(n).typeParameters;if(et(h)>=c.length){const v=Uv(c,h,c.length,a);return et(v)===0?p:jC(n,v)}}if(et(p.typeParameters)>=c.length){const h=Uv(c,p.typeParameters,c.length,a);return Fy(p,h)}}function Tmt(n){const a=LE(gf.IntrinsicElements,n);return a?Es(a):se}function Smt(n){(O.jsx||0)===0&&Ze(n,f.Cannot_use_JSX_unless_the_jsx_flag_is_provided),O5(n)===void 0&&Ae&&Ze(n,f.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}function Dge(n){const a=ru(n);a&&Sbt(n),Smt(n),fge(n);const c=eN(n);if(D$(c,n),a){const p=n,h=bmt(p);if(h!==void 0){const v=p.tagName,I=pR(v)?Ip(rj(v)):yo(v);am(I,h,Jd,v,f.Its_type_0_is_not_a_valid_JSX_element_type,()=>{const w=Rl(v);return Ko(void 0,f._0_cannot_be_used_as_a_JSX_component,w)})}else vmt(b4e(p),hs(c),p)}}function y$(n,a,c){if(n.flags&524288&&(SE(n,a)||nR(n,a)||D8(a)&&Kg(n,yt)||c&&Rge(a)))return!0;if(n.flags&33554432)return y$(n.baseType,a,c);if(n.flags&3145728&&rW(n)){for(const p of n.types)if(y$(p,a,c))return!0}return!1}function rW(n){return!!(n.flags&524288&&!(qr(n)&512)||n.flags&67108864||n.flags&33554432&&rW(n.baseType)||n.flags&1048576&&bt(n.types,rW)||n.flags&2097152&&Gn(n.types,rW))}function Emt(n,a){if(Abt(n),n.expression){const c=yo(n.expression,a);return n.dotDotDotToken&&c!==He&&!sm(c)&&Ze(n,f.JSX_spread_child_must_be_an_array_type),c}else return rt}function Cge(n){return n.valueDeclaration?wE(n.valueDeclaration):0}function Nge(n){if(n.flags&8192||Fl(n)&4)return!0;if(Er(n.valueDeclaration)){const a=n.valueDeclaration.parent;return a&&Nr(a)&&ac(a)===3}}function Mge(n,a,c,p,h,v=!0){const I=v?n.kind===167?n.right:n.kind===206?n:n.kind===209&&n.propertyName?n.propertyName:n.name:void 0;return $6e(n,a,c,p,h,I)}function $6e(n,a,c,p,h,v){var I;const w=jf(h,c);if(a){if(G<2&&Q6e(h))return v&&Ze(v,f.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword),!1;if(w&64)return v&&Ze(v,f.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,uo(h),sr(sR(h))),!1;if(!(w&256)&&((I=h.declarations)!=null&&I.some(vte)))return v&&Ze(v,f.Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super,uo(h)),!1}if(w&64&&Q6e(h)&&(ck(n)||vne(n)||mf(n.parent)&&ZF(n.parent.parent))){const H=my(Xc(h));if(H&&bvt(n))return v&&Ze(v,f.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,uo(h),Bf(H.name)),!1}if(!(w&6))return!0;if(w&2){const H=my(Xc(h));return Oye(n,H)?!0:(v&&Ze(v,f.Property_0_is_private_and_only_accessible_within_class_1,uo(h),sr(sR(h))),!1)}if(a)return!0;let U=f7e(n,H=>{const Z=Xs(Fr(H));return mFe(Z,h,c)});return!U&&(U=Amt(n),U=U&&mFe(U,h,c),w&256||!U)?(v&&Ze(v,f.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,uo(h),sr(sR(h)||p)),!1):w&256?!0:(p.flags&262144&&(p=p.isThisType?Ju(p):Md(p)),!p||!Hr(p,U)?(v&&Ze(v,f.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2,uo(h),sr(U),sr(p)),!1):!0)}function Amt(n){const a=Imt(n);let c=(a==null?void 0:a.type)&&Yi(a.type);if(c)c.flags&262144&&(c=Ju(c));else{const p=bu(n,!1,!1);Yo(p)&&(c=yge(p))}if(c&&qr(c)&7)return zn(c)}function Imt(n){const a=bu(n,!1,!1);return a&&Yo(a)?CS(a):void 0}function Q6e(n){return!!_5(n,a=>!(a.flags&8192))}function QC(n){return D_(yo(n),n)}function W5(n){return Lh(n,50331648)}function Pge(n){return W5(n)?Hy(n):n}function xmt(n,a){const c=Ps(n)?kp(n):void 0;if(n.kind===106){Ze(n,f.The_value_0_cannot_be_used_here,"null");return}if(c!==void 0&&c.length<100){if(Je(n)&&c==="undefined"){Ze(n,f.The_value_0_cannot_be_used_here,"undefined");return}Ze(n,a&16777216?a&33554432?f._0_is_possibly_null_or_undefined:f._0_is_possibly_undefined:f._0_is_possibly_null,c)}else Ze(n,a&16777216?a&33554432?f.Object_is_possibly_null_or_undefined:f.Object_is_possibly_undefined:f.Object_is_possibly_null)}function Rmt(n,a){Ze(n,a&16777216?a&33554432?f.Cannot_invoke_an_object_which_is_possibly_null_or_undefined:f.Cannot_invoke_an_object_which_is_possibly_undefined:f.Cannot_invoke_an_object_which_is_possibly_null)}function Z6e(n,a,c){if(re&&n.flags&2){if(Ps(a)){const h=kp(a);if(h.length<100)return Ze(a,f._0_is_of_type_unknown,h),rt}return Ze(a,f.Object_is_of_type_unknown),rt}const p=KC(n,50331648);if(p&50331648){c(a,p);const h=Hy(n);return h.flags&229376?rt:h}return n}function D_(n,a){return Z6e(n,a,xmt)}function e4e(n,a){const c=D_(n,a);if(c.flags&16384){if(Ps(a)){const p=kp(a);if(Je(a)&&p==="undefined")return Ze(a,f.The_value_0_cannot_be_used_here,p),c;if(p.length<100)return Ze(a,f._0_is_possibly_undefined,p),c}Ze(a,f.Object_is_possibly_undefined)}return c}function v$(n,a,c){return n.flags&64?Dmt(n,a):kge(n,n.expression,QC(n.expression),n.name,a,c)}function Dmt(n,a){const c=yo(n.expression),p=q8(c,n.expression);return UY(kge(n,n.expression,D_(p,n.expression),n.name,a),n,p!==c)}function t4e(n,a){const c=n6(n)&&Rb(n.left)?D_(M5(n.left),n.left):QC(n.left);return kge(n,n.left,c,n.right,a)}function Lge(n){for(;n.parent.kind===218;)n=n.parent;return qh(n.parent)&&n.parent.expression===n}function F5(n,a){for(let c=$F(a);c;c=hd(c)){const{symbol:p}=c,h=Nk(p,n),v=p.members&&p.members.get(h)||p.exports&&p.exports.get(h);if(v)return v}}function Cmt(n){if(!hd(n))return Dn(n,f.Private_identifiers_are_not_allowed_outside_class_bodies);if(!A4(n.parent)){if(!F_(n))return Dn(n,f.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 a=Nr(n.parent)&&n.parent.operatorToken.kind===103;if(!b$(n)&&!a)return Dn(n,f.Cannot_find_name_0,Yr(n))}return!1}function Nmt(n){Cmt(n);const a=b$(n);return a&&B5(a,void 0,!1),He}function b$(n){if(!F_(n))return;const a=Vr(n);return a.resolvedSymbol===void 0&&(a.resolvedSymbol=F5(n.escapedText,n)),a.resolvedSymbol}function T$(n,a){return xa(n,a.escapedName)}function Mmt(n,a,c){let p;const h=Es(n);h&&Xe(h,I=>{const w=I.valueDeclaration;if(w&&nd(w)&&to(w.name)&&w.name.escapedText===a.escapedText)return p=I,!0});const v=Sp(a);if(p){const I=C.checkDefined(p.valueDeclaration),w=C.checkDefined(hd(I));if(c!=null&&c.valueDeclaration){const U=c.valueDeclaration,H=hd(U);if(C.assert(!!H),Rn(H,Z=>w===Z)){const Z=Ze(a,f.The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling,v,sr(n));return _a(Z,Sr(U,f.The_shadowing_declaration_of_0_is_defined_here,v),Sr(I,f.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,v)),!0}}return Ze(a,f.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,v,Sp(w.name||zU)),!0}return!1}function n4e(n,a){return(Hg(a)||ck(n)&&eg(a))&&bu(n,!0,!1)===br(a)}function kge(n,a,c,p,h,v){const I=Vr(a).resolvedSymbol,w=Ab(n),U=Mu(w!==0||Lge(n)?Zp(c):c),H=Or(U)||U===Ft;let Z;if(to(p)){(G<ed.PrivateNamesAndClassStaticBlocks||G<ed.ClassAndClassElementDecorators||!Q)&&(w!==0&&Yc(n,1048576),w!==1&&Yc(n,524288));const Te=F5(p.escapedText,p);if(w&&Te&&Te.valueDeclaration&&Ll(Te.valueDeclaration)&&Dn(p,f.Cannot_assign_to_private_method_0_Private_methods_are_not_writable,Yr(p)),H){if(Te)return mr(U)?rt:U;if($F(p)===void 0)return Dn(p,f.Private_identifiers_are_not_allowed_outside_class_bodies),He}if(Z=Te&&T$(c,Te),Z===void 0){if(Mmt(c,p,Te))return rt;const Ye=$F(p);Ye&&jN(On(Ye),O.checkJs)&&Dn(p,f.Private_field_0_must_be_declared_in_an_enclosing_class,Yr(p))}else Z.flags&65536&&!(Z.flags&32768)&&w!==1&&Ze(n,f.Private_accessor_was_defined_without_a_getter)}else{if(H)return Je(a)&&I&&dR(n,2,void 0,c),mr(U)?rt:U;Z=xa(U,p.escapedText,P$(U),n.kind===167)}dR(n,2,Z,c);let Ee;if(Z){const Te=Pye(Z,p);if(Cu(Te)&&c_e(n,Te)&&Te.declarations&&Pm(p,Te.declarations,p.escapedText),Pmt(Z,n,p),B5(Z,n,d4e(a,I)),Vr(n).resolvedSymbol=Z,Mge(n,a.kind===108,DI(n),U,Z),Q4e(n,Z,w))return Ze(p,f.Cannot_assign_to_0_because_it_is_a_read_only_property,Yr(p)),rt;Ee=n4e(n,Z)?Ct:v||P6(n)?Gv(Z):gr(Z)}else{const Te=!to(p)&&(w===0||!RA(c)||PM(c))?nR(U,p.escapedText):void 0;if(!(Te&&Te.type)){const Ye=wge(n,c.symbol,!0);return!Ye&&W8(c)?He:c.symbol===De?(De.exports.has(p.escapedText)&&De.exports.get(p.escapedText).flags&418?Ze(p,f.Property_0_does_not_exist_on_type_1,Bi(p.escapedText),sr(c)):Ae&&Ze(p,f.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,sr(c)),He):(p.escapedText&&!Zb(n)&&i4e(p,PM(c)?U:c,Ye),rt)}Te.isReadonly&&(Ib(n)||KG(n))&&Ze(n,f.Index_signature_in_type_0_only_permits_reading,sr(U)),Ee=Te.type,O.noUncheckedIndexedAccess&&Ab(n)!==1&&(Ee=_i([Ee,xe])),O.noPropertyAccessFromIndexSignature&&Jr(n)&&Ze(p,f.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0,Bi(p.escapedText)),Te.declaration&&Sh(Te.declaration)&&Pm(p,[Te.declaration],p.escapedText)}return r4e(n,Z,Ee,p,h)}function wge(n,a,c){var p;const h=On(n);if(h&&O.checkJs===void 0&&h.checkJsDirective===void 0&&(h.scriptKind===1||h.scriptKind===2)){const v=Xe(a==null?void 0:a.declarations,On),I=!(a!=null&&a.valueDeclaration)||!hi(a.valueDeclaration)||((p=a.valueDeclaration.heritageClauses)==null?void 0:p.length)||ov(!1,a.valueDeclaration);return!(h!==v&&v&&iv(v))&&!(c&&a&&a.flags&32&&I)&&!(n&&c&&Jr(n)&&n.expression.kind===110&&I)}return!1}function r4e(n,a,c,p,h){const v=Ab(n);if(v===1)return qy(c,!!(a&&a.flags&16777216));if(a&&!(a.flags&98311)&&!(a.flags&8192&&c.flags&1048576)&&!X$(a.declarations))return c;if(c===Ct)return pe(n,a);c=pge(c,n,h);let I=!1;if(re&&de&&Qs(n)&&n.expression.kind===110){const U=a&&a.valueDeclaration;if(U&&e7e(U)&&!ha(U)){const H=LL(n);H.kind===177&&H.parent===U.parent&&!(U.flags&33554432)&&(I=!0)}}else re&&a&&a.valueDeclaration&&Jr(a.valueDeclaration)&&vk(a.valueDeclaration)&&LL(n)===LL(a.valueDeclaration)&&(I=!0);const w=Jy(n,c,I?y0(c):c);return I&&!JC(c)&&JC(w)?(Ze(p,f.Property_0_is_used_before_being_assigned,uo(a)),c):v?Uy(w):w}function Pmt(n,a,c){const{valueDeclaration:p}=n;if(!p||On(a).isDeclarationFile)return;let h;const v=Yr(c);Oge(a)&&!lct(p)&&!(Qs(a)&&Qs(a.expression))&&!ky(p,c)&&!(Ll(p)&&oQ(p)&256)&&(Q||!Lmt(n))?h=Ze(c,f.Property_0_is_used_before_its_initialization,v):p.kind===264&&a.parent.kind!==184&&!(p.flags&33554432)&&!ky(p,c)&&(h=Ze(c,f.Class_0_used_before_its_declaration,v)),h&&_a(h,Sr(p,f._0_is_declared_here,v))}function Oge(n,a){return!!Rn(n,c=>{switch(c.kind){case 173:case 176:return!0;case 187:case 288:return"quit";case 220:return a?!1:"quit";case 242:return ks(c.parent)&&c.parent.kind!==220?"quit":!1;default:return!1}})}function Lmt(n){if(!(n.parent.flags&32))return!1;let a=gr(n.parent);for(;;){if(a=a.symbol&&kmt(a),!a)return!1;const c=xa(a,n.escapedName);if(c&&c.valueDeclaration)return!0}}function kmt(n){const a=rm(n);if(a.length!==0)return La(a)}function i4e(n,a,c){const p=Vr(n),h=p.nonExistentPropCheckCache||(p.nonExistentPropCheckCache=new Set),v="".concat(pd(a),"|").concat(c);if(h.has(v))return;h.add(v);let I,w;if(!to(n)&&a.flags&1048576&&!(a.flags&402784252)){for(const H of a.types)if(!xa(H,n.escapedText)&&!nR(H,n.escapedText)){I=Ko(I,f.Property_0_does_not_exist_on_type_1,Fs(n),sr(H));break}}if(o4e(n.escapedText,a)){const H=Fs(n),Z=sr(a);I=Ko(I,f.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,H,Z,Z+"."+H)}else{const H=mW(a);if(H&&xa(H,n.escapedText))I=Ko(I,f.Property_0_does_not_exist_on_type_1,Fs(n),sr(a)),w=Sr(n,f.Did_you_forget_to_use_await);else{const Z=Fs(n),Ee=sr(a),Te=Wmt(Z,a);if(Te!==void 0)I=Ko(I,f.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,Z,Ee,Te);else{const Ye=Wge(n,a);if(Ye!==void 0){const ht=Ol(Ye),Dt=c?f.Property_0_may_not_exist_on_type_1_Did_you_mean_2:f.Property_0_does_not_exist_on_type_1_Did_you_mean_2;I=Ko(I,Dt,Z,Ee,ht),w=Ye.valueDeclaration&&Sr(Ye.valueDeclaration,f._0_is_declared_here,ht)}else{const ht=wmt(a)?f.Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:f.Property_0_does_not_exist_on_type_1;I=Ko(whe(I,a),ht,Z,Ee)}}}}const U=vg(On(n),n,I);w&&_a(U,w),Fg(!c||I.code!==f.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,U)}function wmt(n){return O.lib&&!O.lib.includes("lib.dom.d.ts")&&zpt(n,a=>a.symbol&&/^(?:EventTarget|Node|(?:HTML[a-zA-Z]*)?Element)$/.test(Bi(a.symbol.escapedName)))&&jy(n)}function o4e(n,a){const c=a.symbol&&xa(gr(a.symbol),n);return c!==void 0&&!!c.valueDeclaration&&ha(c.valueDeclaration)}function Omt(n){const a=Sp(n),p=TG().get(a);return p&&JB(p.keys())}function Wmt(n,a){const c=Mu(a).symbol;if(!c)return;const p=Ol(c),v=TG().get(p);if(v){for(const[I,w]of v)if(Vn(w,n))return I}}function a4e(n,a){return z5(n,Es(a),106500)}function Wge(n,a){let c=Es(a);if(typeof n!="string"){const p=n.parent;Jr(p)&&(c=Fn(c,h=>u4e(p,a,h))),n=Yr(n)}return z5(n,c,111551)}function s4e(n,a){const c=jo(n)?n:Yr(n),p=Es(a),h=c==="for"?_n(p,v=>Ol(v)==="htmlFor"):c==="class"?_n(p,v=>Ol(v)==="className"):void 0;return h!=null?h:z5(c,p,111551)}function l4e(n,a){const c=Wge(n,a);return c&&Ol(c)}function Fmt(n,a,c){const p=Td(n,a,c);if(p)return p;let h;return n===lt?h=Hi(["string","number","boolean","object","bigint","symbol"],I=>n.has(I.charAt(0).toUpperCase()+I.slice(1))?Ua(524288,I):void 0).concat(Mo(n.values())):h=Mo(n.values()),z5(Bi(a),h,c)}function c4e(n,a,c){return C.assert(a!==void 0,"outername should always be defined"),tn(n,a,c,void 0,!1,!1)}function Fge(n,a){return a.exports&&z5(Yr(n),Ux(a),2623475)}function zmt(n,a,c){function p(I){const w=SE(n,I);if(w){const U=BA(gr(w));return!!U&&Oh(U)>=1&&da(c,wh(U,0))}return!1}const h=Ib(a)?"set":"get";if(!p(h))return;let v=Bk(a.expression);return v===void 0?v=h:v+="."+h,v}function Bmt(n,a){const c=a.types.filter(p=>!!(p.flags&128));return fS(n.value,c,p=>p.value)}function z5(n,a,c){return fS(n,a,p);function p(h){const v=Ol(h);if(!fo(v,'"')){if(h.flags&c)return v;if(h.flags&2097152){const I=Bx(h);if(I&&I.flags&c)return v}}}}function B5(n,a,c){const p=n&&n.flags&106500&&n.valueDeclaration;if(!p)return;const h=Fp(p,2),v=n.valueDeclaration&&nd(n.valueDeclaration)&&to(n.valueDeclaration.name);if(!(!h&&!v)&&!(a&&P6(a)&&!(n.flags&65536))){if(c){const I=Rn(a,ks);if(I&&I.symbol===n)return}(Fl(n)&1?Kr(n).target:n).isReferenced=-1}}function d4e(n,a){return n.kind===110||!!a&&Ps(n)&&a===mu(Ou(n))}function Gmt(n,a){switch(n.kind){case 212:return zge(n,n.expression.kind===108,a,Zp(yo(n.expression)));case 167:return zge(n,!1,a,Zp(yo(n.left)));case 206:return zge(n,!1,a,Yi(n))}}function u4e(n,a,c){return Bge(n,n.kind===212&&n.expression.kind===108,!1,a,c)}function zge(n,a,c,p){if(Or(p))return!0;const h=xa(p,c);return!!h&&Bge(n,a,!1,p,h)}function Bge(n,a,c,p,h){if(Or(p))return!0;if(h.valueDeclaration&&nu(h.valueDeclaration)){const v=hd(h.valueDeclaration);return!tu(n)&&!!Rn(n,I=>I===v)}return $6e(n,a,c,p,h)}function Vmt(n){const a=n.initializer;if(a.kind===262){const c=a.declarations[0];if(c&&!na(c.name))return Fr(c)}else if(a.kind===80)return mu(a)}function jmt(n){return Yd(n).length===1&&!!Kg(n,jt)}function Umt(n){const a=us(n);if(a.kind===80){const c=mu(a);if(c.flags&3){let p=n,h=n.parent;for(;h;){if(h.kind===250&&p===h.statement&&Vmt(h)===c&&jmt(Ld(h.expression)))return!0;p=h,h=h.parent}}}return!1}function Hmt(n,a){return n.flags&64?qmt(n,a):p4e(n,QC(n.expression),a)}function qmt(n,a){const c=yo(n.expression),p=q8(c,n.expression);return UY(p4e(n,D_(p,n.expression),a),n,p!==c)}function p4e(n,a,c){const p=Ab(n)!==0||Lge(n)?Zp(a):a,h=n.argumentExpression,v=yo(h);if(mr(p)||p===Ft)return p;if(P$(p)&&!ds(h))return Ze(h,f.A_const_enum_member_can_only_be_accessed_using_a_string_literal),rt;const I=Umt(h)?jt:v,w=Ab(n);let U;w===0?U=32:(U=4|(RA(p)&&!PM(p)?2:0),w===2&&(U|=32));const H=m0(p,I,U,n)||rt;return T3e(r4e(n,Vr(n).resolvedSymbol,H,h,c),n)}function f4e(n){return qh(n)||Y0(n)||ru(n)}function zA(n){return f4e(n)&&Xe(n.typeArguments,Wa),n.kind===216?yo(n.template):ru(n)?yo(n.attributes):Nr(n)?yo(n.left):qh(n)&&Xe(n.arguments,a=>{yo(a)}),dr}function kh(n){return zA(n),si}function Jmt(n,a,c){let p,h,v=0,I,w=-1,U;C.assert(!a.length);for(const H of n){const Z=H.declaration&&Fr(H.declaration),Ee=H.declaration&&H.declaration.parent;!h||Z===h?p&&Ee===p?I=I+1:(p=Ee,I=v):(I=v=a.length,p=Ee),h=Z,lAe(H)?(w++,U=w,v++):U=I,a.splice(U,0,c?Nlt(H,c):H)}}function S$(n){return!!n&&(n.kind===231||n.kind===238&&n.isSpread)}function Gge(n){return lo(n,S$)}function m4e(n){return!!(n.flags&16384)}function Kmt(n){return!!(n.flags&49155)}function E$(n,a,c,p=!1){if(qm(n))return!0;let h,v=!1,I=Rp(c),w=Oh(c);if(n.kind===216)if(h=a.length,n.template.kind===229){const U=Ga(n.template.templateSpans);v=Wl(U.literal)||!!U.literal.isUnterminated}else{const U=n.template;C.assert(U.kind===15),v=!!U.isUnterminated}else if(n.kind===171)h=S4e(n,c);else if(n.kind===227)h=1;else if(ru(n)){if(v=n.attributes.end===n.end,v)return!0;h=w===0?a.length:1,I=a.length===0?I:1,w=Math.min(w,1)}else if(n.arguments){h=p?a.length+1:a.length,v=n.arguments.end===n.end;const U=Gge(a);if(U>=0)return U>=Oh(c)&&(ag(c)||U<Rp(c))}else return C.assert(n.kind===215),Oh(c)===0;if(!ag(c)&&h>I)return!1;if(v||h>=w)return!0;for(let U=h;U<w;U++){const H=wh(c,U);if(Tc(H,Er(n)&&!re?Kmt:m4e).flags&131072)return!1}return!0}function Vge(n,a){const c=et(n.typeParameters),p=rg(n.typeParameters);return!bt(a)||a.length>=p&&a.length<=c}function h4e(n,a){let c;return!!(n.target&&(c=kE(n.target,a))&&KT(c))}function BA(n){return iW(n,0,!1)}function _4e(n){return iW(n,0,!1)||iW(n,1,!1)}function iW(n,a,c){if(n.flags&524288){const p=Nh(n);if(c||p.properties.length===0&&p.indexInfos.length===0){if(a===0&&p.callSignatures.length===1&&p.constructSignatures.length===0)return p.callSignatures[0];if(a===1&&p.constructSignatures.length===1&&p.callSignatures.length===0)return p.constructSignatures[0]}}}function g4e(n,a,c,p){const h=X8(G8e(n),n,0,p),v=sW(a),I=c&&(v&&v.flags&262144?c.nonFixingMapper:c.mapper),w=I?NA(a,I):a;return G_e(w,n,(U,H)=>{Qg(h.inferences,U,H)}),c||V_e(a,n,(U,H)=>{Qg(h.inferences,U,H,128)}),k8(n,ege(h),Er(a.declaration))}function Xmt(n,a,c,p){const h=p$(a,n),v=tN(n.attributes,h,p,c);return Qg(p.inferences,v,h),ege(p)}function y4e(n){if(!n)return An;const a=yo(n);return tre(n)?a:LN(n.parent)?Hy(a):tu(n.parent)?jY(a):a}function jge(n,a,c,p,h){if(ru(n))return Xmt(n,a,p,h);if(n.kind!==171&&n.kind!==227){const U=Gn(a.typeParameters,Z=>!!EE(Z)),H=Ku(n,U?8:0);if(H){const Z=hs(a);if(v0(Z)){const Ee=PE(n);if(!(!U&&Ku(n,8)!==H)){const Dt=q_e(DFe(Ee,1)),en=oo(H,Dt),Sn=BA(en),Zn=Sn&&Sn.typeParameters?EA(Ghe(Sn,Sn.typeParameters)):en;Qg(h.inferences,Zn,Z,128)}const Ye=X8(a.typeParameters,a,h.flags),ht=oo(H,Ee&&Kdt(Ee));Qg(Ye.inferences,ht,Z),h.returnMapper=bt(Ye.inferences,nN)?q_e(ipt(Ye)):void 0}}}const v=lW(a),I=v?Math.min(Rp(a)-1,c.length):c.length;if(v&&v.flags&262144){const U=_n(h.inferences,H=>H.typeParameter===v);U&&(U.impliedArity=lo(c,S$,I)<0?c.length-I:void 0)}const w=qT(a);if(w&&v0(w)){const U=T4e(n);Qg(h.inferences,y4e(U),w)}for(let U=0;U<I;U++){const H=c[U];if(H.kind!==233){const Z=wh(a,U);if(v0(Z)){const Ee=tN(H,Z,h,p);Qg(h.inferences,Ee,Z)}}}if(v&&v0(v)){const U=Uge(c,I,c.length,v,h,p);Qg(h.inferences,U,v)}return ege(h)}function v4e(n){return n.flags&1048576?Al(n,v4e):n.flags&1||y5(Md(n)||n)?n:Xa(n)?ig(IE(n),n.target.elementFlags,!1,n.target.labeledElementDeclarations):ig([n],[8])}function Uge(n,a,c,p,h,v){const I=SA(p);if(a>=c-1){const Z=n[c-1];if(S$(Z)){const Ee=Z.kind===238?Z.type:tN(Z.expression,p,h,v);return Jv(Ee)?v4e(Ee):$d(Xv(33,Ee,ye,Z.kind===231?Z.expression:Z),I)}}const w=[],U=[],H=[];for(let Z=a;Z<c;Z++){const Ee=n[Z];if(S$(Ee)){const Te=Ee.kind===238?Ee.type:yo(Ee.expression);Jv(Te)?(w.push(Te),U.push(8)):(w.push(Xv(33,Te,ye,Ee.kind===231?Ee.expression:Ee)),U.push(4))}else{const Te=Xa(p)?Ige(p,Z-a,c-a)||At:$p(p,Mh(Z-a),256),Ye=tN(Ee,Te,h,v),ht=I||nc(Te,406978556);w.push(ht?Pu(Ye):QT(Ye)),U.push(1)}Ee.kind===238&&Ee.tupleNameSource?H.push(Ee.tupleNameSource):H.push(void 0)}return ig(w,U,I&&!cm(p,w_e),H)}function Hge(n,a,c,p){const h=Er(n.declaration),v=n.typeParameters,I=Uv(Gt(a,Yi),v,rg(v),h);let w;for(let U=0;U<a.length;U++){C.assert(v[U]!==void 0,"Should not call checkTypeArguments with too many type arguments");const H=Ju(v[U]);if(H){const Z=c&&p?()=>Ko(void 0,f.Type_0_does_not_satisfy_the_constraint_1):void 0,Ee=p||f.Type_0_does_not_satisfy_the_constraint_1;w||(w=Qp(v,I));const Te=I[U];if(!Qd(Te,Yp(oo(H,w),Te),c?a[U]:void 0,Ee,Z))return}}return I}function b4e(n){if(pR(n.tagName))return 2;const a=Mu(yo(n.tagName));return et(aa(a,1))?0:et(aa(a,0))?1:2}function Ymt(n,a,c,p,h,v,I){const w=p$(a,n),U=qm(n)?V6e(n):tN(n.attributes,w,void 0,p),H=p&4?K8(U):U;return Z()&&I_e(H,w,c,h?qm(n)?n:n.tagName:void 0,qm(n)?void 0:n.attributes,void 0,v,I);function Z(){var Ee;if(g$(n))return!0;const Te=(ph(n)||x1(n))&&!(pR(n.tagName)||fh(n.tagName))?yo(n.tagName):void 0;if(!Te)return!0;const Ye=aa(Te,0);if(!et(Ye))return!0;const ht=Gye(n);if(!ht)return!0;const Dt=Gl(ht,111551,!0,!1,n);if(!Dt)return!0;const en=gr(Dt),Sn=aa(en,0);if(!et(Sn))return!0;let Zn=!1,yr=0;for(const Tn of Sn){const cr=wh(Tn,0),mi=aa(cr,0);if(et(mi))for(const ao of mi){if(Zn=!0,ag(ao))return!0;const ui=Rp(ao);ui>yr&&(yr=ui)}}if(!Zn)return!0;let xn=1/0;for(const Tn of Ye){const cr=Oh(Tn);cr<xn&&(xn=cr)}if(xn<=yr)return!0;if(h){const Tn=n.tagName,cr=Sr(Tn,f.Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3,kp(Tn),xn,kp(ht),yr),mi=(Ee=dm(Tn))==null?void 0:Ee.valueDeclaration;mi&&_a(cr,Sr(mi,f._0_is_declared_here,kp(Tn))),I&&I.skipLogging&&(I.errors||(I.errors=[])).push(cr),I.skipLogging||ns.add(cr)}return!1}}function A$(n){const a=Er(n)?-2147483615:33;return Hl(n,a)}function G5(n,a,c,p,h,v,I){const w={errors:void 0,skipLogging:!0};if(Lte(n))return Ymt(n,c,p,h,v,I,w)?void 0:(C.assert(!v||!!w.errors,"jsx should have errors when reporting errors"),w.errors||se);const U=qT(c);if(U&&U!==An&&!(GS(n)||ra(n)&&gp(n.expression))){const Ye=T4e(n),ht=y4e(Ye),Dt=v?Ye||n:void 0,en=f.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1;if(!am(ht,U,p,Dt,en,I,w))return C.assert(!v||!!w.errors,"this parameter should have errors when reporting errors"),w.errors||se}const H=f.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1,Z=lW(c),Ee=Z?Math.min(Rp(c)-1,a.length):a.length;for(let Ye=0;Ye<Ee;Ye++){const ht=a[Ye];if(ht.kind!==233){const Dt=wh(c,Ye),en=tN(ht,Dt,void 0,h),Sn=h&4?K8(en):en,Zn=A$(ht);if(!I_e(Sn,Dt,p,v?Zn:void 0,Zn,H,I,w))return C.assert(!v||!!w.errors,"parameter should have errors when reporting errors"),Te(ht,Sn,Dt),w.errors||se}}if(Z){const Ye=Uge(a,Ee,a.length,Z,void 0,h),ht=a.length-Ee,Dt=v?ht===0?n:ht===1?A$(a[Ee]):uh(oW(n,Ye),a[Ee].pos,a[a.length-1].end):void 0;if(!am(Ye,Z,p,Dt,H,void 0,w))return C.assert(!v||!!w.errors,"rest parameter should have errors when reporting errors"),Te(Dt,Ye,Z),w.errors||se}return;function Te(Ye,ht,Dt){if(Ye&&v&&w.errors&&w.errors.length){if(FL(Dt))return;const en=FL(ht);en&&R_(en,Dt,p)&&_a(w.errors[0],Sr(Ye,f.Did_you_forget_to_use_await))}}}function T4e(n){if(n.kind===227)return n.right;const a=n.kind===214?n.expression:n.kind===216?n.tag:n.kind===171&&!K?n.expression:void 0;if(a){const c=Hl(a);if(Qs(c))return c.expression}}function oW(n,a,c,p){const h=oT.createSyntheticExpression(a,c,p);return Tt(h,n),ps(h,n),h}function I$(n){if(qm(n))return[oW(n,Tf)];if(n.kind===216){const p=n.template,h=[oW(p,Ict())];return p.kind===229&&Xe(p.templateSpans,v=>{h.push(v.expression)}),h}if(n.kind===171)return $mt(n);if(n.kind===227)return[n.left];if(ru(n))return n.attributes.properties.length>0||ph(n)&&n.parent.children.length>0?[n.attributes]:se;const a=n.arguments||se,c=Gge(a);if(c>=0){const p=a.slice(0,c);for(let h=c;h<a.length;h++){const v=a[h],I=v.kind===231&&(Kn?yo(v.expression):Vl(v.expression));I&&Xa(I)?Xe(IE(I),(w,U)=>{var H;const Z=I.target.elementFlags[U],Ee=oW(v,Z&4?$d(w):w,!!(Z&12),(H=I.target.labeledElementDeclarations)==null?void 0:H[U]);p.push(Ee)}):p.push(v)}return p}return a}function $mt(n){const a=n.expression,c=iye(n);if(c){const p=[];for(const h of c.parameters){const v=gr(h);p.push(oW(a,v))}return p}return C.fail()}function S4e(n,a){return O.experimentalDecorators?Qmt(n,a):Math.min(Math.max(Rp(a),1),2)}function Qmt(n,a){switch(n.parent.kind){case 264:case 232:return 1;case 173:return Zh(n.parent)?3:2;case 175:case 178:case 179:return a.parameters.length<=2?2:3;case 170:return 3;default:return C.fail()}}function E4e(n){const a=On(n),{start:c,length:p}=n1(a,Jr(n.expression)?n.expression.name:n.expression);return{start:c,length:p,sourceFile:a}}function aW(n,a,...c){if(ra(n)){const{sourceFile:p,start:h,length:v}=E4e(n);return"message"in a?kc(p,h,v,a,...c):PG(p,a)}else return"message"in a?Sr(n,a,...c):vg(On(n),n,a)}function Zmt(n){return qh(n)?Jr(n.expression)?n.expression.name:n.expression:Y0(n)?Jr(n.tag)?n.tag.name:n.tag:ru(n)?n.tagName:n}function eht(n){if(!ra(n)||!Je(n.expression))return!1;const a=gt(n.expression,n.expression.escapedText,111551,void 0,!1),c=a==null?void 0:a.valueDeclaration;if(!c||!no(c)||!Mb(c.parent)||!GS(c.parent.parent)||!Je(c.parent.parent.expression))return!1;const p=Yhe(!1);return p?dm(c.parent.parent.expression,!0)===p:!1}function A4e(n,a,c,p){var h;const v=Gge(c);if(v>-1)return Sr(c[v],f.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter);let I=Number.POSITIVE_INFINITY,w=Number.NEGATIVE_INFINITY,U=Number.NEGATIVE_INFINITY,H=Number.POSITIVE_INFINITY,Z;for(const Dt of a){const en=Oh(Dt),Sn=Rp(Dt);en<I&&(I=en,Z=Dt),w=Math.max(w,Sn),en<c.length&&en>U&&(U=en),c.length<Sn&&Sn<H&&(H=Sn)}const Ee=bt(a,ag),Te=Ee?I:I<w?I+"-"+w:I,Ye=!Ee&&Te===1&&c.length===0&&eht(n);if(Ye&&Er(n))return aW(n,f.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments);const ht=wc(n)?Ee?f.The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0:f.The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0:Ee?f.Expected_at_least_0_arguments_but_got_1:Ye?f.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:f.Expected_0_arguments_but_got_1;if(I<c.length&&c.length<w){if(p){let Dt=Ko(void 0,f.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments,c.length,U,H);return Dt=Ko(Dt,p),aW(n,Dt)}return aW(n,f.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments,c.length,U,H)}else if(c.length<I){let Dt;if(p){let Sn=Ko(void 0,ht,Te,c.length);Sn=Ko(Sn,p),Dt=aW(n,Sn)}else Dt=aW(n,ht,Te,c.length);const en=(h=Z==null?void 0:Z.declaration)==null?void 0:h.parameters[Z.thisParameter?c.length+1:c.length];if(en){const Sn=na(en.name)?[f.An_argument_matching_this_binding_pattern_was_not_provided]:w_(en)?[f.Arguments_for_the_rest_parameter_0_were_not_provided,Yr(Ou(en.name))]:[f.An_argument_for_0_was_not_provided,en.name?Yr(Ou(en.name)):c.length],Zn=Sr(en,...Sn);return _a(Dt,Zn)}return Dt}else{const Dt=L.createNodeArray(c.slice(w)),en=Qa(Dt).pos;let Sn=Ga(Dt).end;if(Sn===en&&Sn++,uh(Dt,en,Sn),p){let Zn=Ko(void 0,ht,Te,c.length);return Zn=Ko(Zn,p),nk(On(n),Dt,Zn)}return KR(On(n),Dt,ht,Te,c.length)}}function tht(n,a,c,p){const h=c.length;if(a.length===1){const w=a[0],U=rg(w.typeParameters),H=et(w.typeParameters);if(p){let Z=Ko(void 0,f.Expected_0_type_arguments_but_got_1,U<H?U+"-"+H:U,h);return Z=Ko(Z,p),nk(On(n),c,Z)}return KR(On(n),c,f.Expected_0_type_arguments_but_got_1,U<H?U+"-"+H:U,h)}let v=-1/0,I=1/0;for(const w of a){const U=rg(w.typeParameters),H=et(w.typeParameters);U>h?I=Math.min(I,U):H<h&&(v=Math.max(v,H))}if(v!==-1/0&&I!==1/0){if(p){let w=Ko(void 0,f.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments,h,v,I);return w=Ko(w,p),nk(On(n),c,w)}return KR(On(n),c,f.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments,h,v,I)}if(p){let w=Ko(void 0,f.Expected_0_type_arguments_but_got_1,v===-1/0?I:v,h);return w=Ko(w,p),nk(On(n),c,w)}return KR(On(n),c,f.Expected_0_type_arguments_but_got_1,v===-1/0?I:v,h)}function ZC(n,a,c,p,h,v){const I=n.kind===216,w=n.kind===171,U=ru(n),H=qm(n),Z=n.kind===227,Ee=!M&&!c;let Te,Ye,ht,Dt,en=0,Sn=[],Zn;if(!w&&!Z&&!r1(n)&&!H&&(Zn=n.typeArguments,(I||U||n.expression.kind!==108)&&Xe(Zn,Wa)),Sn=c||[],Jmt(a,Sn,h),!H&&!Sn.length)return Ee&&ns.add(aW(n,f.Call_target_does_not_contain_any_signatures)),kh(n);const yr=I$(n),xn=Sn.length===1&&!Sn[0].typeParameters;!w&&!xn&&bt(yr,Mf)&&(en=4);const Tn=!!(p&16)&&n.kind===214&&n.arguments.hasTrailingComma;Sn.length>1&&(Dt=ao(Sn,X_,xn,Tn)),Dt||(Dt=ao(Sn,Jd,xn,Tn));const cr=Vr(n);if(cr.resolvedSignature!==xr&&!c)return C.assert(cr.resolvedSignature),cr.resolvedSignature;if(Dt)return Dt;if(Dt=nht(n,Sn,yr,!!c,p),cr.resolvedSignature=Dt,Ee){if(!v&&Z&&(v=f.The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method),Te)if(Te.length===1||Te.length>3){const ui=Te[Te.length-1];let Pi;Te.length>3&&(Pi=Ko(Pi,f.The_last_overload_gave_the_following_error),Pi=Ko(Pi,f.No_overload_matches_this_call)),v&&(Pi=Ko(Pi,v));const Vo=G5(n,yr,ui,Jd,0,!0,()=>Pi);if(Vo)for(const _s of Vo)ui.declaration&&Te.length>3&&_a(_s,Sr(ui.declaration,f.The_last_overload_is_declared_here)),mi(ui,_s),ns.add(_s);else C.fail("No error for last overload signature")}else{const ui=[];let Pi=0,Vo=Number.MAX_VALUE,_s=0,mo=0;for(const rr of Te){const vr=G5(n,yr,rr,Jd,0,!0,()=>Ko(void 0,f.Overload_0_of_1_2_gave_the_following_error,mo+1,Sn.length,c0(rr)));vr?(vr.length<=Vo&&(Vo=vr.length,_s=mo),Pi=Math.max(Pi,vr.length),ui.push(vr)):C.fail("No error for 3 or fewer overload signatures"),mo++}const _l=Pi>1?ui[_s]:Qo(ui);C.assert(_l.length>0,"No errors reported for 3 or fewer overload signatures");let Xl=Ko(Gt(_l,rne),f.No_overload_matches_this_call);v&&(Xl=Ko(Xl,v));const hu=[...Wi(_l,rr=>rr.relatedInformation)];let Un;if(Gn(_l,rr=>rr.start===_l[0].start&&rr.length===_l[0].length&&rr.file===_l[0].file)){const{file:rr,start:qi,length:vr}=_l[0];Un={file:rr,start:qi,length:vr,code:Xl.code,category:Xl.category,messageText:Xl,relatedInformation:hu}}else Un=vg(On(n),Zmt(n),Xl,hu);mi(Te[0],Un),ns.add(Un)}else if(Ye)ns.add(A4e(n,[Ye],yr,v));else if(ht)Hge(ht,n.typeArguments,!0,v);else if(!H){const ui=Fn(a,Pi=>Vge(Pi,Zn));ui.length===0?ns.add(tht(n,a,Zn,v)):ns.add(A4e(n,ui,yr,v))}}return Dt;function mi(ui,Pi){var Vo,_s;const mo=Te,_l=Ye,Xl=ht,hu=((_s=(Vo=ui.declaration)==null?void 0:Vo.symbol)==null?void 0:_s.declarations)||se,rr=hu.length>1?_n(hu,qi=>ks(qi)&&gm(qi.body)):void 0;if(rr){const qi=Nf(rr),vr=!qi.typeParameters;ao([qi],Jd,vr)&&_a(Pi,Sr(rr,f.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}Te=mo,Ye=_l,ht=Xl}function ao(ui,Pi,Vo,_s=!1){if(Te=void 0,Ye=void 0,ht=void 0,Vo){const mo=ui[0];if(bt(Zn)||!E$(n,yr,mo,_s))return;if(G5(n,yr,mo,Pi,0,!1,void 0)){Te=[mo];return}return mo}for(let mo=0;mo<ui.length;mo++){const _l=ui[mo];if(!Vge(_l,Zn)||!E$(n,yr,_l,_s))continue;let Xl,hu;if(_l.typeParameters){let Un;if(bt(Zn)){if(Un=Hge(_l,Zn,!1),!Un){ht=_l;continue}}else hu=X8(_l.typeParameters,_l,Er(n)?2:0),Un=jge(n,_l,yr,en|8,hu),en|=hu.flags&4?8:0;if(Xl=k8(_l,Un,Er(_l.declaration),hu&&hu.inferredTypeParameters),lW(_l)&&!E$(n,yr,Xl,_s)){Ye=Xl;continue}}else Xl=_l;if(G5(n,yr,Xl,Pi,en,!1,void 0)){(Te||(Te=[])).push(Xl);continue}if(en){if(en=0,hu){const Un=jge(n,_l,yr,en,hu);if(Xl=k8(_l,Un,Er(_l.declaration),hu.inferredTypeParameters),lW(_l)&&!E$(n,yr,Xl,_s)){Ye=Xl;continue}}if(G5(n,yr,Xl,Pi,en,!1,void 0)){(Te||(Te=[])).push(Xl);continue}}return ui[mo]=Xl,Xl}}}function nht(n,a,c,p,h){return C.assert(a.length>0),mR(n),p||a.length===1||a.some(v=>!!v.typeParameters)?oht(n,a,c,h):rht(a)}function rht(n){const a=Hi(n,U=>U.thisParameter);let c;a.length&&(c=I4e(a,a.map(U5)));const{min:p,max:h}=zre(n,iht),v=[];for(let U=0;U<h;U++){const H=Hi(n,Z=>su(Z)?U<Z.parameters.length-1?Z.parameters[U]:Ga(Z.parameters):U<Z.parameters.length?Z.parameters[U]:void 0);C.assert(H.length!==0),v.push(I4e(H,Hi(n,Z=>kE(Z,U))))}const I=Hi(n,U=>su(U)?Ga(U.parameters):void 0);let w=128;if(I.length!==0){const U=$d(_i(Hi(n,B8e),2));v.push(x4e(I,U)),w|=1}return n.some(lAe)&&(w|=2),A_(n[0].declaration,void 0,c,v,La(n.map(hs)),void 0,p,w)}function iht(n){const a=n.parameters.length;return su(n)?a-1:a}function I4e(n,a){return x4e(n,_i(a,2))}function x4e(n,a){return PA(Qa(n),a)}function oht(n,a,c,p){const h=lht(a,ot===void 0?c.length:ot),v=a[h],{typeParameters:I}=v;if(!I)return v;const w=f4e(n)?n.typeArguments:void 0,U=w?pY(v,aht(w,I,Er(n))):sht(n,I,v,c,p);return a[h]=U,U}function aht(n,a,c){const p=n.map(hR);for(;p.length>a.length;)p.pop();for(;p.length<a.length;)p.push(EE(a[p.length])||Ju(a[p.length])||Z_e(c));return p}function sht(n,a,c,p,h){const v=X8(a,c,Er(n)?2:0),I=jge(n,c,p,h|4|8,v);return pY(c,I)}function lht(n,a){let c=-1,p=-1;for(let h=0;h<n.length;h++){const v=n[h],I=Rp(v);if(ag(v)||I>=a)return h;I>p&&(p=I,c=h)}return c}function cht(n,a,c){if(n.expression.kind===108){const U=s$(n.expression);if(Or(U)){for(const H of n.arguments)yo(H);return dr}if(!mr(U)){const H=lh(hd(n));if(H){const Z=Ch(U,H.typeArguments,H);return ZC(n,Z,a,c,0)}}return zA(n)}let p,h=yo(n.expression);if(XE(n)){const U=q8(h,n.expression);p=U===h?0:kN(n)?16:8,h=U}else p=0;if(h=Z6e(h,n.expression,Rmt),h===Ft)return Bn;const v=Mu(h);if(mr(v))return kh(n);const I=aa(v,0),w=aa(v,1).length;if(V5(h,v,I.length,w))return!mr(h)&&n.typeArguments&&Ze(n,f.Untyped_function_calls_may_not_accept_type_arguments),zA(n);if(!I.length){if(w)Ze(n,f.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,sr(h));else{let U;if(n.arguments.length===1){const H=On(n).text;eu(H.charCodeAt(wa(H,n.expression.end,!0)-1))&&(U=Sr(n.expression,f.Are_you_missing_a_semicolon))}Jge(n.expression,v,0,U)}return kh(n)}return c&8&&!n.typeArguments&&I.some(dht)?(d3e(n,c),xr):I.some(U=>Er(U.declaration)&&!!J9(U.declaration))?(Ze(n,f.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,sr(h)),kh(n)):ZC(n,I,a,c,p)}function dht(n){return!!(n.typeParameters&&zye(hs(n)))}function V5(n,a,c,p){return Or(n)||Or(a)&&!!(n.flags&262144)||!c&&!p&&!(a.flags&1048576)&&!(km(a).flags&131072)&&da(n,Qn)}function uht(n,a,c){let p=QC(n.expression);if(p===Ft)return Bn;if(p=Mu(p),mr(p))return kh(n);if(Or(p))return n.typeArguments&&Ze(n,f.Untyped_function_calls_may_not_accept_type_arguments),zA(n);const h=aa(p,1);if(h.length){if(!pht(n,h[0]))return kh(n);if(R4e(h,w=>!!(w.flags&4)))return Ze(n,f.Cannot_create_an_instance_of_an_abstract_class),kh(n);const I=p.symbol&&my(p.symbol);return I&&fi(I,64)?(Ze(n,f.Cannot_create_an_instance_of_an_abstract_class),kh(n)):ZC(n,h,a,c,0)}const v=aa(p,0);if(v.length){const I=ZC(n,v,a,c,0);return Ae||(I.declaration&&!C_(I.declaration)&&hs(I)!==An&&Ze(n,f.Only_a_void_function_can_be_called_with_the_new_keyword),qT(I)===An&&Ze(n,f.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),I}return Jge(n.expression,p,1),kh(n)}function R4e(n,a){return Lo(n)?bt(n,c=>R4e(c,a)):n.compositeKind===1048576?bt(n.compositeSignatures,a):a(n)}function qge(n,a){const c=rm(a);if(!et(c))return!1;const p=c[0];if(p.flags&2097152){const h=p.types,v=b8e(h);let I=0;for(const w of p.types){if(!v[I]&&qr(w)&3&&(w.symbol===n||qge(n,w)))return!0;I++}return!1}return p.symbol===n?!0:qge(n,p)}function pht(n,a){if(!a||!a.declaration)return!0;const c=a.declaration,p=II(c,6);if(!p||c.kind!==177)return!0;const h=my(c.parent.symbol),v=Xs(c.parent.symbol);if(!Oye(n,h)){const I=hd(n);if(I&&p&4){const w=hR(I);if(qge(c.parent.symbol,w))return!0}return p&2&&Ze(n,f.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,sr(v)),p&4&&Ze(n,f.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,sr(v)),!1}return!0}function D4e(n,a,c){let p;const h=c===0,v=fR(a),I=v&&aa(v,c).length>0;if(a.flags&1048576){const U=a.types;let H=!1;for(const Z of U)if(aa(Z,c).length!==0){if(H=!0,p)break}else if(p||(p=Ko(p,h?f.Type_0_has_no_call_signatures:f.Type_0_has_no_construct_signatures,sr(Z)),p=Ko(p,h?f.Not_all_constituents_of_type_0_are_callable:f.Not_all_constituents_of_type_0_are_constructable,sr(a))),H)break;H||(p=Ko(void 0,h?f.No_constituent_of_type_0_is_callable:f.No_constituent_of_type_0_is_constructable,sr(a))),p||(p=Ko(p,h?f.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:f.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other,sr(a)))}else p=Ko(p,h?f.Type_0_has_no_call_signatures:f.Type_0_has_no_construct_signatures,sr(a));let w=h?f.This_expression_is_not_callable:f.This_expression_is_not_constructable;if(ra(n.parent)&&n.parent.arguments.length===0){const{resolvedSymbol:U}=Vr(n);U&&U.flags&32768&&(w=f.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without)}return{messageChain:Ko(p,w),relatedMessage:I?f.Did_you_forget_to_use_await:void 0}}function Jge(n,a,c,p){const{messageChain:h,relatedMessage:v}=D4e(n,a,c),I=vg(On(n),n,h);if(v&&_a(I,Sr(n,v)),ra(n.parent)){const{start:w,length:U}=E4e(n.parent);I.start=w,I.length=U}ns.add(I),C4e(a,c,p?_a(I,p):I)}function C4e(n,a,c){if(!n.symbol)return;const p=Kr(n.symbol).originatingImport;if(p&&!ep(p)){const h=aa(gr(Kr(n.symbol).target),a);if(!h||!h.length)return;_a(c,Sr(p,f.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 fht(n,a,c){const p=yo(n.tag),h=Mu(p);if(mr(h))return kh(n);const v=aa(h,0),I=aa(h,1).length;if(V5(p,h,v.length,I))return zA(n);if(!v.length){if(Dd(n.parent)){const w=Sr(n.tag,f.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 ns.add(w),kh(n)}return Jge(n.tag,h,0),kh(n)}return ZC(n,v,a,c,0)}function mht(n){switch(n.parent.kind){case 264:case 232:return f.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 170:return f.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 173:return f.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 175:case 178:case 179:return f.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression;default:return C.fail()}}function hht(n,a,c){const p=yo(n.expression),h=Mu(p);if(mr(h))return kh(n);const v=aa(h,0),I=aa(h,1).length;if(V5(p,h,v.length,I))return zA(n);if(yht(n,v)&&!zu(n.expression)){const U=Rl(n.expression,!1);return Ze(n,f._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0,U),kh(n)}const w=mht(n);if(!v.length){const U=D4e(n.expression,h,0),H=Ko(U.messageChain,w),Z=vg(On(n.expression),n.expression,H);return U.relatedMessage&&_a(Z,Sr(n.expression,U.relatedMessage)),ns.add(Z),C4e(h,0,Z),kh(n)}return ZC(n,v,a,c,0,w)}function x$(n,a){const c=FA(n),p=c&&Kp(c),h=p&&Td(p,gf.Element,788968),v=h&&Se.symbolToEntityName(h,788968,n),I=L.createFunctionTypeNode(void 0,[L.createParameterDeclaration(void 0,void 0,"props",void 0,Se.typeToTypeNode(a,n))],v?L.createTypeReferenceNode(v,void 0):L.createKeywordTypeNode(133)),w=Ua(1,"props");return w.links.type=a,A_(I,void 0,void 0,[w],h?Xs(h):rt,void 0,1,0)}function N4e(n){var Ee;const a=Vr(On(n));if(a.jsxFragmentType!==void 0)return a.jsxFragmentType;const c=Xm(n);if(!((O.jsx===2||O.jsxFragmentFactory!==void 0)&&c!=="null"))return a.jsxFragmentType=He;const h=O.jsx!==1&&O.jsx!==3,v=ns?f.Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found:void 0,I=(Ee=g$(n))!=null?Ee:gt(n,c,h?111551:111167,v,!0);if(I===void 0)return a.jsxFragmentType=rt;if(I.escapedName===HU.Fragment)return a.jsxFragmentType=gr(I);const w=(I.flags&2097152)===0?I:ud(I),U=I&&Kp(w),H=U&&Td(U,HU.Fragment,2),Z=H&&gr(H);return a.jsxFragmentType=Z===void 0?rt:Z}function _ht(n,a,c){const p=qm(n);let h;if(p)h=N4e(n);else{if(pR(n.tagName)){const w=J6e(n),U=x$(n,w);return NE(tN(n.attributes,p$(U,n),void 0,0),w,n.tagName,n.attributes),et(n.typeArguments)&&(Xe(n.typeArguments,Wa),ns.add(KR(On(n),n.typeArguments,f.Expected_0_type_arguments_but_got_1,0,et(n.typeArguments)))),U}h=yo(n.tagName)}const v=Mu(h);if(mr(v))return kh(n);const I=H6e(h,n);return V5(h,v,I.length,0)?zA(n):I.length===0?(p?Ze(n,f.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,Rl(n)):Ze(n.tagName,f.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,Rl(n.tagName)),kh(n)):ZC(n,I,a,c,0)}function ght(n,a,c){const p=yo(n.right);if(!Or(p)){const h=cye(p);if(h){const v=Mu(h);if(mr(v))return kh(n);const I=aa(v,0),w=aa(v,1);if(V5(h,v,I.length,w.length))return zA(n);if(I.length)return ZC(n,I,a,c,0)}else if(!(Q$(p)||CE(p,Qn)))return Ze(n.right,f.The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_type_assignable_to_the_Function_interface_type_or_an_object_type_with_a_Symbol_hasInstance_method),kh(n)}return dr}function yht(n,a){return a.length&&Gn(a,c=>c.minArgumentCount===0&&!su(c)&&c.parameters.length<S4e(n,c))}function vht(n,a,c){switch(n.kind){case 214:return cht(n,a,c);case 215:return uht(n,a,c);case 216:return fht(n,a,c);case 171:return hht(n,a,c);case 290:case 287:case 286:return _ht(n,a,c);case 227:return ght(n,a,c)}C.assertNever(n,"Branch in 'resolveSignature' should be unreachable.")}function eN(n,a,c){const p=Vr(n),h=p.resolvedSignature;if(h&&h!==xr&&!a)return h;const v=Rv;h||(Rv=Wg.length),p.resolvedSignature=xr;const I=vht(n,a,c||0);return Rv=v,I!==xr&&(p.resolvedSignature=kr===Kn?I:h),I}function C_(n){var a;if(!n||!Er(n))return!1;const c=ec(n)||Ks(n)?n:(bi(n)||Rc(n))&&n.initializer&&Ks(n.initializer)?n.initializer:void 0;if(c){if(J9(n))return!0;if(Rc(Vm(c.parent)))return!1;const p=Fr(c);return!!((a=p==null?void 0:p.members)!=null&&a.size)}return!1}function Kge(n,a){var c,p;if(a){const h=Kr(a);if(!h.inferredClassSymbol||!h.inferredClassSymbol.has(Aa(n))){const v=_g(n)?n:uE(n);return v.exports=v.exports||ma(),v.members=v.members||ma(),v.flags|=a.flags&32,(c=a.exports)!=null&&c.size&&y_(v.exports,a.exports),(p=a.members)!=null&&p.size&&y_(v.members,a.members),(h.inferredClassSymbol||(h.inferredClassSymbol=new Map)).set(Aa(v),v),v}return h.inferredClassSymbol.get(Aa(n))}}function bht(n){var a;const c=n&&R$(n,!0),p=(a=c==null?void 0:c.exports)==null?void 0:a.get("prototype"),h=(p==null?void 0:p.valueDeclaration)&&Tht(p.valueDeclaration);return h?Fr(h):void 0}function R$(n,a){if(!n.parent)return;let c,p;if(bi(n.parent)&&n.parent.initializer===n){if(!Er(n)&&!(SW(n.parent)&&ks(n)))return;c=n.parent.name,p=n.parent}else if(Nr(n.parent)){const h=n.parent,v=n.parent.operatorToken.kind;if(v===64&&(a||h.right===n))c=h.left,p=c;else if((v===57||v===61)&&(bi(h.parent)&&h.parent.initializer===h?(c=h.parent.name,p=h.parent):Nr(h.parent)&&h.parent.operatorToken.kind===64&&(a||h.parent.right===h)&&(c=h.parent.left,p=c),!c||!s1(c)||!eD(c,h.left)))return}else a&&ec(n)&&(c=n.name,p=n);if(!(!p||!c||!a&&!B0(n,Db(c))))return Rf(p)}function Tht(n){if(!n.parent)return!1;let a=n.parent;for(;a&&a.kind===212;)a=a.parent;if(a&&Nr(a)&&Db(a.left)&&a.operatorToken.kind===64){const c=jG(a);return za(c)&&c}}function Sht(n,a){var c,p,h;uB(n,n.typeArguments);const v=eN(n,void 0,a);if(v===xr)return Ft;if(D$(v,n),n.expression.kind===108)return An;if(n.kind===215){const w=v.declaration;if(w&&w.kind!==177&&w.kind!==181&&w.kind!==186&&!(gv(w)&&((p=(c=rD(w))==null?void 0:c.parent)==null?void 0:p.kind)===177)&&!TI(w)&&!C_(w))return Ae&&Ze(n,f.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type),He}if(Er(n)&&k4e(n))return F8e(n.arguments[0]);const I=hs(v);if(I.flags&12288&&M4e(n))return g_e(Vm(n.parent));if(n.kind===214&&!n.questionDotToken&&n.parent.kind===245&&I.flags&16384&&om(v)){if(!Fk(n.expression))Ze(n.expression,f.Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name);else if(!R5(n)){const w=Ze(n.expression,f.Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation);x5(n.expression,w)}}if(Er(n)){const w=R$(n,!1);if((h=w==null?void 0:w.exports)!=null&&h.size){const U=El(w,w.exports,se,se,se);return U.objectFlags|=4096,La([I,U])}}return I}function D$(n,a){if(!(n.flags&128)&&n.declaration&&n.declaration.flags&536870912){const c=j5(a),p=Bk(e6(a));DT(c,n.declaration,p,c0(n))}}function j5(n){switch(n=us(n),n.kind){case 214:case 171:case 215:return j5(n.expression);case 216:return j5(n.tag);case 287:case 286:return j5(n.tagName);case 213:return n.argumentExpression;case 212:return n.name;case 184:const a=n;return Wu(a.typeName)?a.typeName.right:a;default:return n}}function M4e(n){if(!ra(n))return!1;let a=n.expression;if(Jr(a)&&a.name.escapedText==="for"&&(a=a.expression),!Je(a)||a.escapedText!=="Symbol")return!1;const c=oWe(!1);return c?c===gt(a,"Symbol",111551,void 0,!1):!1}function Eht(n){if(Hbt(n),n.arguments.length===0)return K5(n,He);const a=n.arguments[0],c=Vl(a),p=n.arguments.length>1?Vl(n.arguments[1]):void 0;for(let v=2;v<n.arguments.length;++v)Vl(n.arguments[v]);if((c.flags&32768||c.flags&65536||!da(c,yt))&&Ze(a,f.Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0,sr(c)),p){const v=iWe(!0);v!==Ma&&Qd(p,b5(v,32768),n.arguments[1])}const h=pu(n,a);if(h){const v=jg(h,a,!0,!1);if(v)return K5(n,P4e(gr(v),v,h,a)||L4e(gr(v),v,h,a))}return K5(n,He)}function Xge(n,a,c){const p=ma(),h=Ua(2097152,"default");return h.parent=a,h.links.nameType=Ip("default"),h.links.aliasTarget=mc(n),p.set("default",h),El(c,p,se,se,se)}function P4e(n,a,c,p){if(r0(p)&&n&&!mr(n)){const v=n;if(!v.defaultOnlyType){const I=Xge(a,c);v.defaultOnlyType=I}return v.defaultOnlyType}}function L4e(n,a,c,p){var h;if(he&&n&&!mr(n)){const v=n;if(!v.syntheticType){const I=(h=c.declarations)==null?void 0:h.find(Qi);if(LT(I,c,!1,p)){const U=Ua(2048,"__type"),H=Xge(a,c,U);U.links.type=H,v.syntheticType=k5(n)?xE(n,H,U,0,!1):H}else v.syntheticType=n}return v.syntheticType}return n}function k4e(n){if(!tp(n,!0))return!1;if(!Je(n.expression))return C.fail();const a=gt(n.expression,n.expression.escapedText,111551,void 0,!0);if(a===Ve)return!0;if(a.flags&2097152)return!1;const c=a.flags&16?263:a.flags&3?261:0;if(c!==0){const p=ul(a,c);return!!p&&!!(p.flags&33554432)}return!1}function Aht(n){ybt(n)||uB(n,n.typeArguments),G<ed.TaggedTemplates&&Yc(n,262144);const a=eN(n);return D$(a,n),hs(a)}function Iht(n,a){if(n.kind===217){const c=On(n);if(c&&Ql(c.fileName,[".cts",".mts"])&&Dn(n,f.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead),O.erasableSyntaxOnly){const p=wa(c.text,n.pos),h=n.expression.pos;ns.add(kc(c,p,h-p,f.This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled))}}return w4e(n,a)}function Yge(n){switch(n.kind){case 11:case 15:case 9:case 10:case 112:case 97:case 210:case 211:case 229:return!0;case 218:return Yge(n.expression);case 225:const a=n.operator,c=n.operand;return a===41&&(c.kind===9||c.kind===10)||a===40&&c.kind===9;case 212:case 213:const p=us(n.expression),h=Ps(p)?Gl(p,111551,!0):void 0;return!!(h&&h.flags&384)}return!1}function w4e(n,a){const{type:c,expression:p}=O4e(n),h=yo(p,a);if(zm(c))return Yge(p)||Ze(p,f.A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals),Pu(h);const v=Vr(n);return v.assertionExpressionType=h,Wa(c),mR(n),Yi(c)}function O4e(n){let a,c;switch(n.kind){case 235:case 217:a=n.type,c=n.expression;break;case 218:a=LD(n),c=n.expression;break}return{type:a,expression:c}}function xht(n){const{type:a}=O4e(n),c=zu(n)?a:n,p=Vr(n);C.assertIsDefined(p.assertionExpressionType);const h=K8(Uy(p.assertionExpressionType)),v=Yi(a);mr(v)||r(()=>{const I=Zp(h);PY(v,I)||sFe(h,v,c,f.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)})}function Rht(n){const a=yo(n.expression),c=q8(a,n.expression);return UY(Hy(c),n,c!==a)}function Dht(n){return n.flags&64?Rht(n):Hy(yo(n.expression))}function W4e(n){if(C7e(n),Xe(n.typeArguments,Wa),n.kind===234){const c=Vm(n.parent);c.kind===227&&c.operatorToken.kind===104&&xS(n,c.right)&&Ze(n,f.The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression)}const a=n.kind===234?yo(n.expression):Rb(n.exprName)?M5(n.exprName):yo(n.exprName);return F4e(a,n)}function F4e(n,a){const c=a.typeArguments;if(n===Ft||mr(n)||!bt(c))return n;const p=Vr(a);if(p.instantiationExpressionTypes||(p.instantiationExpressionTypes=new Map),p.instantiationExpressionTypes.has(n.id))return p.instantiationExpressionTypes.get(n.id);let h=!1,v;const I=U(n);p.instantiationExpressionTypes.set(n.id,I);const w=h?v:n;return w&&ns.add(KR(On(a),c,f.Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable,sr(w))),I;function U(Z){let Ee=!1,Te=!1;const Ye=ht(Z);return h||(h=Te),Ee&&!Te&&(v!=null||(v=Z)),Ye;function ht(Dt){if(Dt.flags&524288){const en=Nh(Dt),Sn=H(en.callSignatures),Zn=H(en.constructSignatures);if(Ee||(Ee=en.callSignatures.length!==0||en.constructSignatures.length!==0),Te||(Te=Sn.length!==0||Zn.length!==0),Sn!==en.callSignatures||Zn!==en.constructSignatures){const yr=El(Ua(0,"__instantiationExpression"),en.members,Sn,Zn,en.indexInfos);return yr.objectFlags|=8388608,yr.node=a,yr}}else if(Dt.flags&58982400){const en=Md(Dt);if(en){const Sn=ht(en);if(Sn!==en)return Sn}}else{if(Dt.flags&1048576)return Al(Dt,U);if(Dt.flags&2097152)return La(Ui(Dt.types,ht))}return Dt}}function H(Z){const Ee=Fn(Z,Te=>!!Te.typeParameters&&Vge(Te,c));return Ui(Ee,Te=>{const Ye=Hge(Te,c,!0);return Ye?k8(Te,Ye,Er(Te.declaration)):Te})}}function Cht(n){return Wa(n.type),$ge(n.expression,n.type)}function $ge(n,a,c){const p=yo(n,c),h=Yi(a);if(mr(h))return h;const v=Rn(a.parent,I=>I.kind===239||I.kind===351);return NE(p,h,v,n,f.Type_0_does_not_satisfy_the_expected_type_1),p}function Nht(n){return kbt(n),n.keywordToken===105?Qge(n):n.keywordToken===102?n.name.escapedText==="defer"?(C.assert(!ra(n.parent)||n.parent.expression!==n,"Trying to get the type of `import.defer` in `import.defer(...)`"),rt):Mht(n):C.assertNever(n.keywordToken)}function z4e(n){switch(n.keywordToken){case 102:return rWe();case 105:const a=Qge(n);return mr(a)?rt:Kht(a);default:C.assertNever(n.keywordToken)}}function Qge(n){const a=yne(n);if(a)if(a.kind===177){const c=Fr(a.parent);return gr(c)}else{const c=Fr(a);return gr(c)}else return Ze(n,f.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor,"new.target"),rt}function Mht(n){100<=j&&j<=199?On(n).impliedNodeFormat!==99&&Ze(n,f.The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output):j<6&&j!==4&&Ze(n,f.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_node18_node20_or_nodenext);const a=On(n);return C.assert(!!(a.flags&8388608),"Containing file is missing import meta node flag."),n.name.escapedText==="meta"?nWe():rt}function U5(n){const a=n.valueDeclaration;return fu(gr(n),!1,!!a&&(rv(a)||OI(a)))}function Zge(n,a,c){switch(n.name.kind){case 80:{const p=n.name.escapedText;return n.dotDotDotToken?c&12?p:"".concat(p,"_").concat(a):c&3?p:"".concat(p,"_n")}case 208:{if(n.dotDotDotToken){const p=n.name.elements,h=ii(rl(p),qa),v=p.length-(h!=null&&h.dotDotDotToken?1:0);if(a<v){const I=p[a];if(qa(I))return Zge(I,a,c)}else if(h!=null&&h.dotDotDotToken)return Zge(h,a-v,c)}break}}return"arg_".concat(a)}function eye(n,a=0,c=3,p){var h;if(!n){const v=ii(p==null?void 0:p.valueDeclaration,no);return v?Zge(v,a,c):"".concat((h=p==null?void 0:p.escapedName)!=null?h:"arg","_").concat(a)}return C.assert(Je(n.name)),n.name.escapedText}function kL(n,a,c){var p;const h=n.parameters.length-(su(n)?1:0);if(a<h)return n.parameters[a].escapedName;const v=n.parameters[h]||ie,I=c||gr(v);if(Xa(I)){const w=I.target,U=a-h,H=(p=w.labeledElementDeclarations)==null?void 0:p[U],Z=w.elementFlags[U];return eye(H,U,Z,v)}return v.escapedName}function Pht(n,a){var c;if(((c=n.declaration)==null?void 0:c.kind)===318)return;const p=n.parameters.length-(su(n)?1:0);if(a<p){const w=n.parameters[a],U=B4e(w);return U?{parameter:U,parameterName:w.escapedName,isRestParameter:!1}:void 0}const h=n.parameters[p]||ie,v=B4e(h);if(!v)return;const I=gr(h);if(Xa(I)){const w=I.target.labeledElementDeclarations,U=a-p,H=w==null?void 0:w[U],Z=!!(H!=null&&H.dotDotDotToken);return H?(C.assert(Je(H.name)),{parameter:H.name,parameterName:H.name.escapedText,isRestParameter:Z}):void 0}if(a===p)return{parameter:v,parameterName:h.escapedName,isRestParameter:!0}}function B4e(n){return n.valueDeclaration&&no(n.valueDeclaration)&&Je(n.valueDeclaration.name)&&n.valueDeclaration.name}function G4e(n){return n.kind===203||no(n)&&n.name&&Je(n.name)}function Lht(n,a){const c=n.parameters.length-(su(n)?1:0);if(a<c){const v=n.parameters[a].valueDeclaration;return v&&G4e(v)?v:void 0}const p=n.parameters[c]||ie,h=gr(p);if(Xa(h)){const v=h.target.labeledElementDeclarations,I=a-c;return v&&v[I]}return p.valueDeclaration&&G4e(p.valueDeclaration)?p.valueDeclaration:void 0}function wh(n,a){return kE(n,a)||He}function kE(n,a){const c=n.parameters.length-(su(n)?1:0);if(a<c)return U5(n.parameters[a]);if(su(n)){const p=gr(n.parameters[c]),h=a-c;if(!Xa(p)||p.target.combinedFlags&12||h<p.target.fixedLength)return $p(p,Mh(h))}}function H5(n,a,c){const p=Rp(n),h=Oh(n),v=sW(n);if(v&&a>=p-1)return a===p-1?v:$d($p(v,jt));const I=[],w=[],U=[];for(let H=a;H<p;H++)!v||H<p-1?(I.push(wh(n,H)),w.push(H<h?1:2)):(I.push(v),w.push(8)),U.push(Lht(n,H));return ig(I,w,c,U)}function V4e(n,a){const c=H5(n,a),p=c&&v5(c);return p&&Or(p)?He:c}function Rp(n){const a=n.parameters.length;if(su(n)){const c=gr(n.parameters[a-1]);if(Xa(c))return a+c.target.fixedLength-(c.target.combinedFlags&12?0:1)}return a}function Oh(n,a){const c=a&1,p=a&2;if(p||n.resolvedMinArgumentCount===void 0){let h;if(su(n)){const v=gr(n.parameters[n.parameters.length-1]);if(Xa(v)){const I=lo(v.target.elementFlags,U=>!(U&1)),w=I<0?v.target.fixedLength:I;w>0&&(h=n.parameters.length-1+w)}}if(h===void 0){if(!c&&n.flags&32)return 0;h=n.minArgumentCount}if(p)return h;for(let v=h-1;v>=0;v--){const I=wh(n,v);if(Tc(I,m4e).flags&131072)break;h=v}n.resolvedMinArgumentCount=h}return n.resolvedMinArgumentCount}function ag(n){if(su(n)){const a=gr(n.parameters[n.parameters.length-1]);return!Xa(a)||!!(a.target.combinedFlags&12)}return!1}function sW(n){if(su(n)){const a=gr(n.parameters[n.parameters.length-1]);if(!Xa(a))return Or(a)?bd:a;if(a.target.combinedFlags&12)return IL(a,a.target.fixedLength)}}function lW(n){const a=sW(n);return a&&!sm(a)&&!Or(a)?a:void 0}function tye(n){return nye(n,vn)}function nye(n,a){return n.parameters.length>0?wh(n,0):a}function j4e(n,a,c){const p=n.parameters.length-(su(n)?1:0);for(let v=0;v<p;v++){const I=n.parameters[v].valueDeclaration,w=Ac(I);if(w){const U=fu(Yi(w),!1,OI(I)),H=wh(a,v);Qg(c.inferences,U,H)}}const h=n.declaration&&Wp(n.declaration);if(h){const v=Yi(h),I=hs(a);Qg(c.inferences,v,I)}}function kht(n,a){if(a.typeParameters)if(!n.typeParameters)n.typeParameters=a.typeParameters;else return;if(a.thisParameter){const p=n.thisParameter;(!p||p.valueDeclaration&&!p.valueDeclaration.type)&&(p||(n.thisParameter=PA(a.thisParameter,void 0)),q5(n.thisParameter,gr(a.thisParameter)))}const c=n.parameters.length-(su(n)?1:0);for(let p=0;p<c;p++){const h=n.parameters[p],v=h.valueDeclaration;if(!Ac(v)){let I=kE(a,p);if(I&&v.initializer){let w=wL(v,0);!da(w,I)&&da(I,w=uye(v,w))&&(I=w)}q5(h,I)}}if(su(n)){const p=Ga(n.parameters);if(p.valueDeclaration?!Ac(p.valueDeclaration):Fl(p)&65536){const h=H5(a,c);q5(p,h)}}}function wht(n){n.thisParameter&&q5(n.thisParameter);for(const a of n.parameters)q5(a)}function q5(n,a){const c=Kr(n);if(c.type)a&&C.assertEqual(c.type,a,"Parameter symbol already has a cached type which differs from newly assigned type");else{const p=n.valueDeclaration;c.type=fu(a||(p?Zx(p,!0):gr(n)),!1,!!p&&!p.initializer&&OI(p)),p&&p.name.kind!==80&&(c.type===At&&(c.type=mL(p.name)),U4e(p.name,c.type))}}function U4e(n,a){for(const c of n.elements)if(!qc(c)){const p=d0(c,a,!1);c.name.kind===80?Kr(Fr(c)).type=p:U4e(c.name,p)}}function Oht(n){return VC(Vct(!0),[n])}function Wht(n,a){return VC(jct(!0),[n,a])}function Fht(n,a){return VC(Uct(!0),[n,a])}function zht(n,a){return VC(Hct(!0),[n,a])}function Bht(n,a){return VC(qct(!0),[n,a])}function Ght(n,a){return VC(Xct(!0),[n,a])}function Vht(n,a,c){const p="".concat(a?"p":"P").concat(c?"s":"S").concat(n.id);let h=qo.get(p);if(!h){const v=ma();v.set("name",Mv("name",n)),v.set("private",Mv("private",a?vt:$n)),v.set("static",Mv("static",c?vt:$n)),h=El(void 0,v,se,se,se),qo.set(p,h)}return h}function H4e(n,a,c){const p=Lc(n),h=to(n.name),v=h?Ip(Yr(n.name)):zy(n.name),I=Ll(n)?Wht(a,c):qf(n)?Fht(a,c):bp(n)?zht(a,c):Qu(n)?Bht(a,c):ko(n)?Ght(a,c):C.failBadSyntaxKind(n),w=Vht(v,h,p);return La([I,w])}function jht(n,a){return VC(Jct(!0),[n,a])}function Uht(n,a){return VC(Kct(!0),[n,a])}function Hht(n,a){const c=If("this",n),p=If("value",a);return yye(void 0,c,[p],a,void 0,1)}function rye(n,a,c){const p=If("target",n),h=If("context",a),v=_i([c,An]);return hW(void 0,void 0,[p,h],v)}function qht(n){const{parent:a}=n,c=Vr(a);if(!c.decoratorSignature)switch(c.decoratorSignature=dr,a.kind){case 264:case 232:{const h=gr(Fr(a)),v=Oht(h);c.decoratorSignature=rye(h,v,h);break}case 175:case 178:case 179:{const p=a;if(!hi(p.parent))break;const h=Ll(p)?EA(Nf(p)):hR(p),v=Lc(p)?gr(Fr(p.parent)):im(Fr(p.parent)),I=qf(p)?A3e(h):bp(p)?I3e(h):h,w=H4e(p,v,h),U=qf(p)?A3e(h):bp(p)?I3e(h):h;c.decoratorSignature=rye(I,w,U);break}case 173:{const p=a;if(!hi(p.parent))break;const h=hR(p),v=Lc(p)?gr(Fr(p.parent)):im(Fr(p.parent)),I=Zh(p)?jht(v,h):ye,w=H4e(p,v,h),U=Zh(p)?Uht(v,h):Hht(v,h);c.decoratorSignature=rye(I,w,U);break}}return c.decoratorSignature===dr?void 0:c.decoratorSignature}function Jht(n){const{parent:a}=n,c=Vr(a);if(!c.decoratorSignature)switch(c.decoratorSignature=dr,a.kind){case 264:case 232:{const h=gr(Fr(a)),v=If("target",h);c.decoratorSignature=hW(void 0,void 0,[v],_i([h,An]));break}case 170:{const p=a;if(!kl(p.parent)&&!(Ll(p.parent)||bp(p.parent)&&hi(p.parent.parent))||CS(p.parent)===p)break;const h=CS(p.parent)?p.parent.parameters.indexOf(p)-1:p.parent.parameters.indexOf(p);C.assert(h>=0);const v=kl(p.parent)?gr(Fr(p.parent.parent)):g7e(p.parent),I=kl(p.parent)?ye:y7e(p.parent),w=Mh(h),U=If("target",v),H=If("propertyKey",I),Z=If("parameterIndex",w);c.decoratorSignature=hW(void 0,void 0,[U,H,Z],An);break}case 175:case 178:case 179:case 173:{const p=a;if(!hi(p.parent))break;const h=g7e(p),v=If("target",h),I=y7e(p),w=If("propertyKey",I),U=ko(p)?An:pWe(hR(p));if(!ko(a)||Zh(a)){const Z=pWe(hR(p)),Ee=If("descriptor",Z);c.decoratorSignature=hW(void 0,void 0,[v,w,Ee],_i([U,An]))}else c.decoratorSignature=hW(void 0,void 0,[v,w],_i([U,An]));break}}return c.decoratorSignature===dr?void 0:c.decoratorSignature}function iye(n){return K?Jht(n):qht(n)}function J5(n){const a=n5(!0);return a!==nn?(n=Ky(zL(n))||At,Fy(a,[n])):At}function q4e(n){const a=sWe(!0);return a!==nn?(n=Ky(zL(n))||At,Fy(a,[n])):At}function K5(n,a){const c=J5(a);return c===At?(Ze(n,ep(n)?f.A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:f.An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option),rt):(Yhe(!0)||Ze(n,ep(n)?f.A_dynamic_import_call_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:f.An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option),c)}function Kht(n){const a=Ua(0,"NewTargetExpression"),c=Ua(4,"target",8);c.parent=a,c.links.type=n;const p=ma([c]);return a.members=p,El(a,p,se,se,se)}function C$(n,a){if(!n.body)return rt;const c=dc(n),p=(c&2)!==0,h=(c&1)!==0;let v,I,w,U=An;if(n.body.kind!==242)v=Vl(n.body,a&&a&-9),p&&(v=zL(eB(v,!1,n,f.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)));else if(h){const H=Y4e(n,a);H?H.length>0&&(v=_i(H,2)):U=vn;const{yieldTypes:Z,nextTypes:Ee}=Xht(n,a);I=bt(Z)?_i(Z,2):void 0,w=bt(Ee)?La(Ee):void 0}else{const H=Y4e(n,a);if(!H)return c&2?K5(n,vn):vn;if(H.length===0){const Z=l$(n,void 0),Ee=Z&&(aB(Z,c)||An).flags&32768?ye:An;return c&2?K5(n,Ee):Ee}v=_i(H,2)}if(v||I||w){if(I&&KY(n,I,3),v&&KY(n,v,1),w&&KY(n,w,2),v&&Ph(v)||I&&Ph(I)||w&&Ph(w)){const H=f$(n),Z=H?H===Nf(n)?h?void 0:v:d$(hs(H),n,void 0):void 0;h?(I=z_e(I,Z,0,p),v=z_e(v,Z,1,p),w=z_e(w,Z,2,p)):v=Vut(v,Z,p)}I&&(I=Zp(I)),v&&(v=Zp(v)),w&&(w=Zp(w))}return h?N$(I||vn,v||U,w||R6e(2,n)||At,p):p?J5(v||U):v||U}function N$(n,a,c,p){const h=p?zc:ol,v=h.getGlobalGeneratorType(!1);if(n=h.resolveIterationType(n,void 0)||At,a=h.resolveIterationType(a,void 0)||At,v===nn){const I=h.getGlobalIterableIteratorType(!1);return I!==nn?AL(I,[n,a,c]):(h.getGlobalIterableIteratorType(!0),Ma)}return AL(v,[n,a,c])}function Xht(n,a){const c=[],p=[],h=(dc(n)&2)!==0;return lne(n.body,v=>{const I=v.expression?yo(v.expression,a):B;wf(c,J4e(v,I,He,h));let w;if(v.asteriskToken){const U=V$(I,h?19:17,v.expression);w=U&&U.nextType}else w=Ku(v,void 0);w&&wf(p,w)}),{yieldTypes:c,nextTypes:p}}function J4e(n,a,c,p){if(a===Ft)return Ft;const h=n.expression||n,v=n.asteriskToken?Xv(p?19:17,a,c,h):a;return p?fR(v,h,n.asteriskToken?f.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:f.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):v}function K4e(n,a,c){let p=0;for(let h=0;h<c.length;h++){const v=h<n||h>=a?c[h]:void 0;p|=v!==void 0?Tae.get(v)||32768:0}return p}function X4e(n){const a=Vr(n);if(a.isExhaustive===void 0){a.isExhaustive=0;const c=Yht(n);a.isExhaustive===0&&(a.isExhaustive=c)}else a.isExhaustive===0&&(a.isExhaustive=!1);return a.isExhaustive}function Yht(n){if(n.expression.kind===222){const p=QFe(n);if(!p)return!1;const h=I_(Vl(n.expression.expression)),v=K4e(0,0,p);return h.flags&3?(556800&v)===556800:!cm(h,I=>KC(I,v)===v)}const a=I_(Vl(n.expression));if(!H8(a))return!1;const c=ZY(n);return!c.length||bt(c,zut)?!1:Wpt(Al(a,Pu),c)}function oye(n){return n.endFlowNode&&D5(n.endFlowNode)}function Y4e(n,a){const c=dc(n),p=[];let h=oye(n),v=!1;if(Eb(n.body,I=>{let w=I.expression;if(w){if(w=us(w,!0),c&2&&w.kind===224&&(w=us(w.expression,!0)),w.kind===214&&w.expression.kind===80&&Vl(w.expression).symbol===os(n.symbol)&&(!Mb(n.symbol.valueDeclaration)||dge(w.expression))){v=!0;return}let U=Vl(w,a&&a&-9);c&2&&(U=zL(eB(U,!1,n,f.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member))),U.flags&131072&&(v=!0),wf(p,U)}else h=!0}),!(p.length===0&&!h&&(v||$ht(n))))return re&&p.length&&h&&!(C_(n)&&p.some(I=>I.symbol===n.symbol))&&wf(p,ye),p}function $ht(n){switch(n.kind){case 219:case 220:return!0;case 175:return n.parent.kind===211;default:return!1}}function Qht(n){switch(n.kind){case 177:case 178:case 179:return}if(dc(n)!==0)return;let c;if(n.body&&n.body.kind!==242)c=n.body;else if(Eb(n.body,h=>{if(c||!h.expression)return!0;c=h.expression})||!c||oye(n))return;return Zht(n,c)}function Zht(n,a){if(a=us(a,!0),!!(Vl(a).flags&16))return Xe(n.parameters,(p,h)=>{const v=gr(p.symbol);if(!v||v.flags&16||!Je(p.name)||Q8(p.symbol)||w_(p))return;const I=e_t(n,a,p,v);if(I)return L8(1,Bi(p.name.escapedText),h,I)})}function e_t(n,a,c,p){const h=nD(a)&&a.flowNode||a.parent.kind===254&&a.parent.flowNode||U_(2,void 0,void 0),v=U_(32,a,h),I=Jy(c.name,p,p,n,v);if(I===p)return;const w=U_(64,a,h);return km(Jy(c.name,p,I,n,w)).flags&131072?I:void 0}function aye(n,a){r(c);return;function c(){const p=dc(n),h=a&&aB(a,p);if(h&&(nc(h,16384)||h.flags&32769)||n.kind===174||Wl(n.body)||n.body.kind!==242||!oye(n))return;const v=n.flags&1024,I=Wp(n)||n;if(h&&h.flags&131072)Ze(I,f.A_function_returning_never_cannot_have_a_reachable_end_point);else if(h&&!v)Ze(I,f.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value);else if(h&&re&&!da(ye,h))Ze(I,f.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined);else if(O.noImplicitReturns){if(!h){if(!v)return;const w=hs(Nf(n));if(U3e(n,w))return}Ze(I,f.Not_all_code_paths_return_a_value)}}}function $4e(n,a){if(C.assert(n.kind!==175||ym(n)),mR(n),Ks(n)&&BL(n,n.name),a&&a&4&&Mf(n)){if(!Wp(n)&&!t4(n)){const p=tW(n);if(p&&v0(hs(p))){const h=Vr(n);if(h.contextFreeType)return h.contextFreeType;const v=C$(n,a),I=A_(void 0,void 0,void 0,se,v,void 0,0,64),w=El(n.symbol,k,[I],se,se);return w.objectFlags|=262144,h.contextFreeType=w}}return Ds}return!nQ(n)&&n.kind===219&&Uye(n),t_t(n,a),gr(Fr(n))}function t_t(n,a){const c=Vr(n);if(!(c.flags&64)){const p=tW(n);if(!(c.flags&64)){c.flags|=64;const h=Sc(aa(gr(Fr(n)),0));if(!h)return;if(Mf(n))if(p){const v=PE(n);let I;if(a&&a&2){j4e(h,p,v);const w=sW(p);w&&w.flags&262144&&(I=NA(p,v.nonFixingMapper))}I||(I=v?NA(p,v.mapper):p),kht(h,I)}else wht(h);else if(p&&!n.typeParameters&&p.parameters.length>n.parameters.length){const v=PE(n);a&&a&2&&j4e(h,p,v)}if(p&&!GC(n)&&!h.resolvedReturnType){const v=C$(n,a);h.resolvedReturnType||(h.resolvedReturnType=v)}uW(n)}}}function n_t(n){C.assert(n.kind!==175||ym(n));const a=dc(n),c=GC(n);if(aye(n,c),n.body)if(Wp(n)||hs(Nf(n)),n.body.kind===242)Wa(n.body);else{const p=yo(n.body),h=c&&aB(c,a);h&&j$(n,h,n.body,n.body,p)}}function M$(n,a,c,p=!1){if(!da(a,ea)){const h=p&&FL(a);return Nv(n,!!h&&da(h,ea),c),!1}return!0}function r_t(n){if(!ra(n)||!a1(n))return!1;const a=Vl(n.arguments[2]);if(yn(a,"value")){const h=xa(a,"writable"),v=h&&gr(h);if(!v||v===$n||v===fr)return!0;if(h&&h.valueDeclaration&&Rc(h.valueDeclaration)){const I=h.valueDeclaration.initializer,w=yo(I);if(w===$n||w===fr)return!0}return!1}return!xa(a,"set")}function Wh(n){return!!(Fl(n)&8||n.flags&4&&jf(n)&8||n.flags&3&&Cge(n)&6||n.flags&98304&&!(n.flags&65536)||n.flags&8||bt(n.declarations,r_t))}function Q4e(n,a,c){var p,h;if(c===0)return!1;if(Wh(a)){if(a.flags&4&&Qs(n)&&n.expression.kind===110){const v=LL(n);if(!(v&&(v.kind===177||C_(v))))return!0;if(a.valueDeclaration){const I=Nr(a.valueDeclaration),w=v.parent===a.valueDeclaration.parent,U=v===a.valueDeclaration.parent,H=I&&((p=a.parent)==null?void 0:p.valueDeclaration)===v.parent,Z=I&&((h=a.parent)==null?void 0:h.valueDeclaration)===v;return!(w||U||H||Z)}}return!0}if(Qs(n)){const v=us(n.expression);if(v.kind===80){const I=Vr(v).resolvedSymbol;if(I.flags&2097152){const w=pp(I);return!!w&&w.kind===275}}}return!1}function cW(n,a,c){const p=Hl(n,39);return p.kind!==80&&!Qs(p)?(Ze(n,a),!1):p.flags&64?(Ze(n,c),!1):!0}function i_t(n){yo(n.expression);const a=us(n.expression);if(!Qs(a))return Ze(a,f.The_operand_of_a_delete_operator_must_be_a_property_reference),zt;Jr(a)&&to(a.name)&&Ze(a,f.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);const c=Vr(a),p=St(c.resolvedSymbol);return p&&(Wh(p)?Ze(a,f.The_operand_of_a_delete_operator_cannot_be_a_read_only_property):o_t(a,p)),zt}function o_t(n,a){const c=gr(a);re&&!(c.flags&131075)&&!(ve?a.flags&16777216:Lh(c,16777216))&&Ze(n,f.The_operand_of_a_delete_operator_must_be_optional)}function a_t(n){return yo(n.expression),xC}function s_t(n){return mR(n),B}function Z4e(n){let a=!1;const c=YF(n);if(c&&Zl(c)){const p=Ob(n)?f.await_expression_cannot_be_used_inside_a_class_static_block:f.await_using_statements_cannot_be_used_inside_a_class_static_block;Ze(n,p),a=!0}else if(!(n.flags&65536))if(QF(n)){const p=On(n);if(!S0(p)){let h;if(!JR(p,O)){h!=null||(h=Kh(p,n.pos));const v=Ob(n)?f.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:f.await_using_statements_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,I=kc(p,h.start,h.length,v);ns.add(I),a=!0}switch(j){case 100:case 101:case 102:case 199:if(p.impliedNodeFormat===1){h!=null||(h=Kh(p,n.pos)),ns.add(kc(p,h.start,h.length,f.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level)),a=!0;break}case 7:case 99:case 200:case 4:if(G>=4)break;default:h!=null||(h=Kh(p,n.pos));const v=Ob(n)?f.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher:f.Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher;ns.add(kc(p,h.start,h.length,v)),a=!0;break}}}else{const p=On(n);if(!S0(p)){const h=Kh(p,n.pos),v=Ob(n)?f.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:f.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules,I=kc(p,h.start,h.length,v);if(c&&c.kind!==177&&(dc(c)&2)===0){const w=Sr(c,f.Did_you_mean_to_mark_this_function_as_async);_a(I,w)}ns.add(I),a=!0}}return Ob(n)&&bge(n)&&(Ze(n,f.await_expressions_cannot_be_used_in_a_parameter_initializer),a=!0),a}function l_t(n){r(()=>Z4e(n));const a=yo(n.expression),c=eB(a,!0,n,f.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);return c===a&&!mr(c)&&!(a.flags&3)&&Fg(!1,Sr(n,f.await_has_no_effect_on_the_type_of_this_expression)),c}function c_t(n){const a=yo(n.operand);if(a===Ft)return Ft;switch(n.operand.kind){case 9:switch(n.operator){case 41:return aR(Mh(-n.operand.text));case 40:return aR(Mh(+n.operand.text))}break;case 10:if(n.operator===41)return aR(l5({negative:!0,base10Value:DM(n.operand.text)}))}switch(n.operator){case 40:case 41:case 55:return D_(a,n.operand),X5(a,12288)&&Ze(n.operand,f.The_0_operator_cannot_be_applied_to_type_symbol,Ta(n.operator)),n.operator===40?(X5(a,2112)&&Ze(n.operand,f.Operator_0_cannot_be_applied_to_type_1,Ta(n.operator),sr(Uy(a))),jt):sye(a);case 54:Eye(a,n.operand);const c=KC(a,12582912);return c===4194304?$n:c===8388608?vt:zt;case 46:case 47:return M$(n.operand,D_(a,n.operand),f.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&cW(n.operand,f.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,f.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),sye(a)}return rt}function d_t(n){const a=yo(n.operand);return a===Ft?Ft:(M$(n.operand,D_(a,n.operand),f.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&cW(n.operand,f.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,f.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),sye(a))}function sye(n){return nc(n,2112)?Pd(n,3)||nc(n,296)?ea:or:jt}function X5(n,a){if(nc(n,a))return!0;const c=I_(n);return!!c&&nc(c,a)}function nc(n,a){if(n.flags&a)return!0;if(n.flags&3145728){const c=n.types;for(const p of c)if(nc(p,a))return!0}return!1}function Pd(n,a,c){return n.flags&a?!0:c&&n.flags&114691?!1:!!(a&296)&&da(n,jt)||!!(a&2112)&&da(n,or)||!!(a&402653316)&&da(n,yt)||!!(a&528)&&da(n,zt)||!!(a&16384)&&da(n,An)||!!(a&131072)&&da(n,vn)||!!(a&65536)&&da(n,$t)||!!(a&32768)&&da(n,ye)||!!(a&4096)&&da(n,Yt)||!!(a&67108864)&&da(n,tr)}function dW(n,a,c){return n.flags&1048576?Gn(n.types,p=>dW(p,a,c)):Pd(n,a,c)}function P$(n){return!!(qr(n)&16)&&!!n.symbol&&lye(n.symbol)}function lye(n){return(n.flags&128)!==0}function cye(n){const a=B3e("hasInstance");if(dW(n,67108864)){const c=xa(n,a);if(c){const p=gr(c);if(p&&aa(p,0).length!==0)return p}}}function u_t(n,a,c,p,h){if(c===Ft||p===Ft)return Ft;!Or(c)&&dW(c,402784252)&&Ze(n,f.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),C.assert(D6(n.parent));const v=eN(n.parent,void 0,h);if(v===xr)return Ft;const I=hs(v);return Qd(I,zt,a,f.An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression),zt}function p_t(n){return cm(n,a=>a===is||!!(a.flags&2097152)&&og(I_(a)))}function f_t(n,a,c,p){if(c===Ft||p===Ft)return Ft;if(to(n)){if((G<ed.PrivateNamesAndClassStaticBlocks||G<ed.ClassAndClassElementDecorators||!Q)&&Yc(n,2097152),!Vr(n).resolvedSymbol&&hd(n)){const h=wge(n,p.symbol,!0);i4e(n,p,h)}}else Qd(D_(c,n),ti,n);return Qd(D_(p,a),tr,a)&&p_t(p)&&Ze(a,f.Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator,sr(p)),zt}function m_t(n,a,c){const p=n.properties;if(re&&p.length===0)return D_(a,n);for(let h=0;h<p.length;h++)e3e(n,a,h,p,c);return a}function e3e(n,a,c,p,h=!1){const v=n.properties,I=v[c];if(I.kind===304||I.kind===305){const w=I.name,U=zy(w);if(Uf(U)){const Ee=Hf(U),Te=xa(a,Ee);Te&&(B5(Te,I,h),Mge(I,!1,!0,a,Te))}const H=$p(a,U,32|(uR(I)?16:0),w),Z=as(I,H);return GA(I.kind===305?I:I.initializer,Z)}else if(I.kind===306)if(c<v.length-1)Ze(I,f.A_rest_element_must_be_last_in_a_destructuring_pattern);else{G<ed.ObjectSpreadRest&&Yc(I,4);const w=[];if(p)for(const H of p)Ng(H)||w.push(H.name);const U=so(a,w,a.symbol);return gR(p,f.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),GA(I.expression,U)}else Ze(I,f.Property_assignment_expected)}function h_t(n,a,c){const p=n.elements;G<ed.DestructuringAssignment&&O.downlevelIteration&&Yc(n,512);const h=Xv(193,a,ye,n)||rt;let v=O.noUncheckedIndexedAccess?void 0:h;for(let I=0;I<p.length;I++){let w=h;n.elements[I].kind===231&&(w=v=v!=null?v:Xv(65,a,ye,n)||rt),t3e(n,a,I,w,c)}return a}function t3e(n,a,c,p,h){const v=n.elements,I=v[c];if(I.kind!==233){if(I.kind!==231){const w=Mh(c);if(Jv(a)){const U=32|(uR(I)?16:0),H=m0(a,w,U,oW(I,w))||rt,Z=uR(I)?lm(H,524288):H,Ee=as(I,Z);return GA(I,Ee,h)}return GA(I,p,h)}if(c<v.length-1)Ze(I,f.A_rest_element_must_be_last_in_a_destructuring_pattern);else{const w=I.expression;if(w.kind===227&&w.operatorToken.kind===64)Ze(w.operatorToken,f.A_rest_element_cannot_have_an_initializer);else{gR(n.elements,f.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma);const U=xp(a,Xa)?Al(a,H=>IL(H,c)):$d(p);return GA(w,U,h)}}}}function GA(n,a,c,p){let h;if(n.kind===305){const v=n;v.objectAssignmentInitializer&&(re&&!Lh(yo(v.objectAssignmentInitializer),16777216)&&(a=lm(a,524288)),S_t(v.name,v.equalsToken,v.objectAssignmentInitializer,c)),h=n.name}else h=n;return h.kind===227&&h.operatorToken.kind===64&&(be(h,c),h=h.left,re&&(a=lm(a,524288))),h.kind===211?m_t(h,a,p):h.kind===210?h_t(h,a,c):__t(h,a,c)}function __t(n,a,c){const p=yo(n,c),h=n.parent.kind===306?f.The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:f.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,v=n.parent.kind===306?f.The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:f.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access;return cW(n,h,v)&&NE(a,p,n,n),GR(n)&&Yc(n.parent,1048576),a}function Y5(n){switch(n=us(n),n.kind){case 80:case 11:case 14:case 216:case 229:case 15:case 9:case 10:case 112:case 97:case 106:case 157:case 219:case 232:case 220:case 210:case 211:case 222:case 236:case 286:case 285:return!0;case 228:return Y5(n.whenTrue)&&Y5(n.whenFalse);case 227:return py(n.operatorToken.kind)?!1:Y5(n.left)&&Y5(n.right);case 225:case 226:switch(n.operator){case 54:case 40:case 41:case 55:return!0}return!1;case 223:case 217:case 235:default:return!1}}function dye(n,a){return(a.flags&98304)!==0||PY(n,a)}function g_t(){const n=W4(a,c,p,h,v,I);return(Te,Ye)=>{const ht=n(Te,Ye);return C.assertIsDefined(ht),ht};function a(Te,Ye,ht){return Ye?(Ye.stackIndex++,Ye.skip=!1,H(Ye,void 0),Ee(Ye,void 0)):Ye={checkMode:ht,skip:!1,stackIndex:0,typeStack:[void 0,void 0]},Er(Te)&&gI(Te)?(Ye.skip=!0,Ee(Ye,yo(Te.right,ht)),Ye):(y_t(Te),Te.operatorToken.kind===64&&(Te.left.kind===211||Te.left.kind===210)&&(Ye.skip=!0,Ee(Ye,GA(Te.left,yo(Te.right,ht),ht,Te.right.kind===110))),Ye)}function c(Te,Ye,ht){if(!Ye.skip)return w(Ye,Te)}function p(Te,Ye,ht){if(!Ye.skip){const Dt=Z(Ye);C.assertIsDefined(Dt),H(Ye,Dt),Ee(Ye,void 0);const en=Te.kind;if(x6(en)){let Sn=ht.parent;for(;Sn.kind===218||Wk(Sn);)Sn=Sn.parent;(en===56||Q0(Sn))&&Sye(ht.left,Dt,Q0(Sn)?Sn.thenStatement:void 0),Ok(en)&&Eye(Dt,ht.left)}}}function h(Te,Ye,ht){if(!Ye.skip)return w(Ye,Te)}function v(Te,Ye){let ht;if(Ye.skip)ht=Z(Ye);else{const Dt=U(Ye);C.assertIsDefined(Dt);const en=Z(Ye);C.assertIsDefined(en),ht=n3e(Te.left,Te.operatorToken,Te.right,Dt,en,Ye.checkMode,Te)}return Ye.skip=!1,H(Ye,void 0),Ee(Ye,void 0),Ye.stackIndex--,ht}function I(Te,Ye,ht){return Ee(Te,Ye),Te}function w(Te,Ye){if(Nr(Ye))return Ye;Ee(Te,yo(Ye,Te.checkMode))}function U(Te){return Te.typeStack[Te.stackIndex]}function H(Te,Ye){Te.typeStack[Te.stackIndex]=Ye}function Z(Te){return Te.typeStack[Te.stackIndex+1]}function Ee(Te,Ye){Te.typeStack[Te.stackIndex+1]=Ye}}function y_t(n){if(n.operatorToken.kind===61){if(Nr(n.parent)){const{left:a,operatorToken:c}=n.parent;Nr(a)&&c.kind===57&&Dn(a,f._0_and_1_operations_cannot_be_mixed_without_parentheses,Ta(61),Ta(c.kind))}else if(Nr(n.left)){const{operatorToken:a}=n.left;(a.kind===57||a.kind===56)&&Dn(n.left,f._0_and_1_operations_cannot_be_mixed_without_parentheses,Ta(a.kind),Ta(61))}else if(Nr(n.right)){const{operatorToken:a}=n.right;a.kind===56&&Dn(n.right,f._0_and_1_operations_cannot_be_mixed_without_parentheses,Ta(61),Ta(a.kind))}v_t(n),b_t(n)}}function v_t(n){const a=Hl(n.left,63),c=$5(a);c!==3&&(c===1?Ze(a,f.This_expression_is_always_nullish):Ze(a,f.Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish))}function b_t(n){const a=Hl(n.right,63),c=$5(a);T_t(n)||(c===1?Ze(a,f.This_expression_is_always_nullish):c===2&&Ze(a,f.This_expression_is_never_nullish))}function T_t(n){return!Nr(n.parent)||n.parent.operatorToken.kind!==61}function $5(n){switch(n=Hl(n),n.kind){case 224:case 214:case 216:case 213:case 237:case 215:case 212:case 230:case 110:return 3;case 227:switch(n.operatorToken.kind){case 64:case 61:case 78:case 57:case 76:case 56:case 77:return 3;case 28:return $5(n.right)}return 2;case 228:return $5(n.whenTrue)|$5(n.whenFalse);case 106:return 1;case 80:return mu(n)===le?1:3}return 2}function S_t(n,a,c,p,h){const v=a.kind;if(v===64&&(n.kind===211||n.kind===210))return GA(n,yo(c,p),p,c.kind===110);let I;Ok(v)?I=vW(n,p):I=yo(n,p);const w=yo(c,p);return n3e(n,a,c,I,w,p,h)}function n3e(n,a,c,p,h,v,I){const w=a.kind;switch(w){case 42:case 43:case 67:case 68:case 44:case 69:case 45:case 70:case 41:case 66:case 48:case 71:case 49:case 72:case 50:case 73:case 52:case 75:case 53:case 79:case 51:case 74:if(p===Ft||h===Ft)return Ft;p=D_(p,n),h=D_(h,c);let xn;if(p.flags&528&&h.flags&528&&(xn=Te(a.kind))!==void 0)return Ze(I||a,f.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,Ta(a.kind),Ta(xn)),jt;{const mi=M$(n,p,f.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0),ao=M$(c,h,f.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0);let ui;if(Pd(p,3)&&Pd(h,3)||!(nc(p,2112)||nc(h,2112)))ui=jt;else if(U(p,h)){switch(w){case 50:case 73:en();break;case 43:case 68:G<3&&Ze(I,f.Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later)}ui=or}else en(U),ui=rt;if(mi&&ao)switch(Ye(ui),w){case 48:case 71:case 49:case 72:case 50:case 73:const Pi=ze(c);typeof Pi.value=="number"&&Math.abs(Pi.value)>=32&&Ym(gy(Vm(c.parent.parent)),I||a,f.This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2,Rl(n),Ta(w),Pi.value%32);break}return ui}case 40:case 65:if(p===Ft||h===Ft)return Ft;!Pd(p,402653316)&&!Pd(h,402653316)&&(p=D_(p,n),h=D_(h,c));let Tn;return Pd(p,296,!0)&&Pd(h,296,!0)?Tn=jt:Pd(p,2112,!0)&&Pd(h,2112,!0)?Tn=or:Pd(p,402653316,!0)||Pd(h,402653316,!0)?Tn=yt:(Or(p)||Or(h))&&(Tn=mr(p)||mr(h)?rt:He),Tn&&!Ee(w)?Tn:Tn?(w===65&&Ye(Tn),Tn):(en((ao,ui)=>Pd(ao,402655727)&&Pd(ui,402655727)),He);case 30:case 32:case 33:case 34:return Ee(w)&&(p=W_e(D_(p,n)),h=W_e(D_(h,c)),Dt((mi,ao)=>{if(Or(mi)||Or(ao))return!0;const ui=da(mi,ea),Pi=da(ao,ea);return ui&&Pi||!ui&&!Pi&&p5(mi,ao)})),zt;case 35:case 36:case 37:case 38:if(!(v&&v&64)){if((tG(n)||tG(c))&&(!Er(n)||w===37||w===38)){const mi=w===35||w===37;Ze(I,f.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value,mi?"false":"true")}Zn(I,w,n,c),Dt((mi,ao)=>dye(mi,ao)||dye(ao,mi))}return zt;case 104:return u_t(n,c,p,h,v);case 103:return f_t(n,c,p,h);case 56:case 77:{const mi=Lh(p,4194304)?_i([Hut(re?p:Uy(h)),h]):p;return w===77&&Ye(h),mi}case 57:case 76:{const mi=Lh(p,8388608)?_i([Hy(AFe(p)),h],2):p;return w===76&&Ye(h),mi}case 61:case 78:{const mi=Lh(p,262144)?_i([Hy(p),h],2):p;return w===78&&Ye(h),mi}case 64:const cr=Nr(n.parent)?ac(n.parent):0;return H(cr,h),ht(cr)?((!(h.flags&524288)||cr!==2&&cr!==6&&!jy(h)&&!ige(h)&&!(qr(h)&1))&&Ye(h),p):(Ye(h),h);case 28:if(!O.allowUnreachableCode&&Y5(n)&&!Z(n.parent)){const mi=On(n),ao=mi.text,ui=wa(ao,n.pos);mi.parseDiagnostics.some(Vo=>Vo.code!==f.JSX_expressions_must_have_one_parent_element.code?!1:G9(Vo,ui))||Ze(n,f.Left_side_of_comma_operator_is_unused_and_has_no_side_effects)}return h;default:return C.fail()}function U(xn,Tn){return Pd(xn,2112)&&Pd(Tn,2112)}function H(xn,Tn){if(xn===2)for(const cr of jv(Tn)){const mi=gr(cr);if(mi.symbol&&mi.symbol.flags&32){const ao=cr.escapedName,ui=gt(cr.valueDeclaration,ao,788968,void 0,!1);ui!=null&&ui.declarations&&ui.declarations.some(D1)&&(zg(ui,f.Duplicate_identifier_0,Bi(ao),cr),zg(cr,f.Duplicate_identifier_0,Bi(ao),ui))}}}function Z(xn){return xn.parent.kind===218&&ip(xn.left)&&xn.left.text==="0"&&(ra(xn.parent.parent)&&xn.parent.parent.expression===xn.parent||xn.parent.parent.kind===216)&&(Qs(xn.right)||Je(xn.right)&&xn.right.escapedText==="eval")}function Ee(xn){const Tn=X5(p,12288)?n:X5(h,12288)?c:void 0;return Tn?(Ze(Tn,f.The_0_operator_cannot_be_applied_to_type_symbol,Ta(xn)),!1):!0}function Te(xn){switch(xn){case 52:case 75:return 57;case 53:case 79:return 38;case 51:case 74:return 56;default:return}}function Ye(xn){py(w)&&r(Tn);function Tn(){let cr=p;if(dP(a.kind)&&n.kind===212&&(cr=v$(n,void 0,!0)),cW(n,f.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,f.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access)){let mi;if(ve&&Jr(n)&&nc(xn,32768)){const ao=yn(Ld(n.expression),n.name.escapedText);kY(xn,ao)&&(mi=f.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target)}NE(xn,cr,n,c,mi)}}}function ht(xn){var Tn;switch(xn){case 2:return!0;case 1:case 5:case 6:case 3:case 4:const cr=Rf(n),mi=gI(c);return!!mi&&za(mi)&&!!((Tn=cr==null?void 0:cr.exports)!=null&&Tn.size);default:return!1}}function Dt(xn){return xn(p,h)?!1:(en(xn),!0)}function en(xn){let Tn=!1;const cr=I||a;if(xn){const Vo=Ky(p),_s=Ky(h);Tn=!(Vo===p&&_s===h)&&!!(Vo&&_s)&&xn(Vo,_s)}let mi=p,ao=h;!Tn&&xn&&([mi,ao]=E_t(p,h,xn));const[ui,Pi]=uL(mi,ao);Sn(cr,Tn,ui,Pi)||Nv(cr,Tn,f.Operator_0_cannot_be_applied_to_types_1_and_2,Ta(a.kind),ui,Pi)}function Sn(xn,Tn,cr,mi){switch(a.kind){case 37:case 35:case 38:case 36:return Nv(xn,Tn,f.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap,cr,mi);default:return}}function Zn(xn,Tn,cr,mi){const ao=yr(us(cr)),ui=yr(us(mi));if(ao||ui){const Pi=Ze(xn,f.This_condition_will_always_return_0,Ta(Tn===37||Tn===35?97:112));if(ao&&ui)return;const Vo=Tn===38||Tn===36?Ta(54):"",_s=ao?mi:cr,mo=us(_s);_a(Pi,Sr(_s,f.Did_you_mean_0,"".concat(Vo,"Number.isNaN(").concat(Ps(mo)?kp(mo):"...",")")))}}function yr(xn){if(Je(xn)&&xn.escapedText==="NaN"){const Tn=Yct();return!!Tn&&Tn===mu(xn)}return!1}}function E_t(n,a,c){let p=n,h=a;const v=Uy(n),I=Uy(a);return c(v,I)||(p=v,h=I),[p,h]}function A_t(n){r(Ee);const a=uf(n);if(!a)return He;const c=dc(a);if(!(c&1))return He;const p=(c&2)!==0;n.asteriskToken&&(p&&G<ed.AsyncGenerators&&Yc(n,26624),!p&&G<ed.Generators&&O.downlevelIteration&&Yc(n,256));let h=GC(a);h&&h.flags&1048576&&(h=Tc(h,Te=>mye(Te,c,void 0)));const v=h&&Nye(h,p),I=v&&v.yieldType||He,w=v&&v.nextType||He,U=n.expression?yo(n.expression):B,H=J4e(n,U,w,p);if(h&&H&&NE(H,I,n.expression||n,n.expression),n.asteriskToken)return xye(p?19:17,1,U,n.expression)||He;if(h)return Yv(2,h,p)||He;let Z=R6e(2,a);return Z||(Z=He,r(()=>{if(Ae&&!Hre(n)){const Te=Ku(n,void 0);(!Te||Or(Te))&&Ze(n,f.yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation)}})),Z;function Ee(){n.flags&16384||fd(n,f.A_yield_expression_is_only_allowed_in_a_generator_body),bge(n)&&Ze(n,f.yield_expressions_cannot_be_used_in_a_parameter_initializer)}}function I_t(n,a){const c=vW(n.condition,a);Sye(n.condition,c,n.whenTrue);const p=yo(n.whenTrue,a),h=yo(n.whenFalse,a);return _i([p,h],2)}function r3e(n){const a=n.parent;return zu(a)&&r3e(a)||Bs(a)&&a.argumentExpression===n}function x_t(n){const a=[n.head.text],c=[];for(const h of n.templateSpans){const v=yo(h.expression);X5(v,12288)&&Ze(h.expression,f.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String),a.push(h.literal.text),c.push(da(v,wo)?v:yt)}const p=n.parent.kind!==216&&ze(n).value;return p?aR(Ip(p)):OL(n)||r3e(n)||cm(Ku(n,void 0)||At,R_t)?IA(a,c):yt}function R_t(n){return!!(n.flags&134217856||n.flags&58982400&&nc(Md(n)||At,402653316))}function D_t(n){return jS(n)&&!x1(n.parent)?n.parent.parent:n}function tN(n,a,c,p){const h=D_t(n);L5(h,a,!1),Oft(h,c);const v=yo(n,p|1|(c?2:0));c&&c.intraExpressionInferenceSites&&(c.intraExpressionInferenceSites=void 0);const I=nc(v,2944)&&L$(v,d$(a,n,void 0))?Pu(v):v;return Wft(),eW(),I}function Vl(n,a){if(a)return yo(n,a);const c=Vr(n);if(!c.resolvedType){const p=kr,h=Vi;kr=Kn,Vi=void 0,c.resolvedType=yo(n,a),Vi=h,kr=p}return c.resolvedType}function i3e(n){return n=us(n,!0),n.kind===217||n.kind===235||HS(n)}function wL(n,a,c){const p=_k(n);if(Er(n)){const v=i4(n);if(v)return $ge(p,v,a)}const h=fye(p)||(c?tN(p,c,void 0,a||0):Vl(p,a));if(no(qa(n)?JE(n):n)){if(n.name.kind===207&&Kv(h))return C_t(h,n.name);if(n.name.kind===208&&Xa(h))return N_t(h,n.name)}return h}function C_t(n,a){let c;for(const v of a.elements)if(v.initializer){const I=o3e(v);I&&!xa(n,I)&&(c=jn(c,v))}if(!c)return n;const p=ma();for(const v of jv(n))p.set(v.escapedName,v);for(const v of c){const I=Ua(16777220,o3e(v));I.links.type=Ih(v,!1,!1),p.set(I.escapedName,I)}const h=El(n.symbol,p,se,se,Yd(n));return h.objectFlags=n.objectFlags,h}function o3e(n){const a=zy(n.propertyName||n.name);return Uf(a)?Hf(a):void 0}function N_t(n,a){if(n.target.combinedFlags&12||Hv(n)>=a.elements.length)return n;const c=a.elements,p=IE(n).slice(),h=n.target.elementFlags.slice();for(let v=Hv(n);v<c.length;v++){const I=c[v];(v<c.length-1||!(I.kind===209&&I.dotDotDotToken))&&(p.push(!qc(I)&&uR(I)?Ih(I,!1,!1):He),h.push(2),!qc(I)&&!uR(I)&&ZT(I,He))}return ig(p,h,n.target.readonly)}function uye(n,a){const c=a3e(n,a);if(Er(n)){if(yFe(c))return ZT(n,He),He;if(BY(c))return ZT(n,bd),bd}return c}function a3e(n,a){return wE(n)&6||rk(n)?a:QT(a)}function L$(n,a){if(a){if(a.flags&3145728){const c=a.types;return bt(c,p=>L$(n,p))}if(a.flags&58982400){const c=Md(a)||At;return nc(c,4)&&nc(n,128)||nc(c,8)&&nc(n,256)||nc(c,64)&&nc(n,2048)||nc(c,4096)&&nc(n,8192)||L$(n,c)}return!!(a.flags&406847616&&nc(n,128)||a.flags&256&&nc(n,256)||a.flags&2048&&nc(n,2048)||a.flags&512&&nc(n,512)||a.flags&8192&&nc(n,8192))}return!1}function OL(n){const a=n.parent;return yS(a)&&zm(a.type)||HS(a)&&zm(LD(a))||Yge(n)&&SA(Ku(n,0))||(zu(a)||Dd(a)||Jf(a))&&OL(a)||(Rc(a)||Ud(a)||xD(a))&&OL(a.parent)}function WL(n,a,c){const p=yo(n,a,c);return OL(n)||dne(n)?Pu(p):i3e(n)?p:F_e(p,d$(Ku(n,void 0),n,void 0))}function s3e(n,a){return n.name.kind===168&&nh(n.name),WL(n.initializer,a)}function l3e(n,a){P7e(n),n.name.kind===168&&nh(n.name);const c=$4e(n,a);return c3e(n,c,a)}function c3e(n,a,c){if(c&&c&10){const p=iW(a,0,!0),h=iW(a,1,!0),v=p||h;if(v&&v.typeParameters){const I=tS(n,2);if(I){const w=iW(Hy(I),p?0:1,!1);if(w&&!w.typeParameters){if(c&8)return d3e(n,c),Ds;const U=PE(n),H=U.signature&&hs(U.signature),Z=H&&_4e(H);if(Z&&!Z.typeParameters&&!Gn(U.inferences,nN)){const Ee=k_t(U,v.typeParameters),Te=Ghe(v,Ee),Ye=Gt(U.inferences,ht=>H_e(ht.typeParameter));if(G_e(Te,w,(ht,Dt)=>{Qg(Ye,ht,Dt,0,!0)}),bt(Ye,nN)&&(V_e(Te,w,(ht,Dt)=>{Qg(Ye,ht,Dt)}),!P_t(U.inferences,Ye)))return L_t(U.inferences,Ye),U.inferredTypeParameters=co(U.inferredTypeParameters,Ee),EA(Te)}return EA(g4e(v,w,U))}}}}return a}function d3e(n,a){if(a&2){const c=PE(n);c.flags|=4}}function nN(n){return!!(n.candidates||n.contraCandidates)}function M_t(n){return!!(n.candidates||n.contraCandidates||D8e(n.typeParameter))}function P_t(n,a){for(let c=0;c<n.length;c++)if(nN(n[c])&&nN(a[c]))return!0;return!1}function L_t(n,a){for(let c=0;c<n.length;c++)!nN(n[c])&&nN(a[c])&&(n[c]=a[c])}function k_t(n,a){const c=[];let p,h;for(const v of a){const I=v.symbol.escapedName;if(pye(n.inferredTypeParameters,I)||pye(c,I)){const w=w_t(co(n.inferredTypeParameters,c),I),U=Ua(262144,w),H=Hu(U);H.target=v,p=jn(p,v),h=jn(h,H),c.push(H)}else c.push(v)}if(h){const v=Qp(p,h);for(const I of h)I.mapper=v}return c}function pye(n,a){return bt(n,c=>c.symbol.escapedName===a)}function w_t(n,a){let c=a.length;for(;c>1&&a.charCodeAt(c-1)>=48&&a.charCodeAt(c-1)<=57;)c--;const p=a.slice(0,c);for(let h=1;;h++){const v=p+h;if(!pye(n,v))return v}}function u3e(n){const a=BA(n);if(a&&!a.typeParameters)return hs(a)}function O_t(n){const a=yo(n.expression),c=q8(a,n.expression),p=u3e(a);return p&&UY(p,n,c!==a)}function Ld(n){const a=fye(n);if(a)return a;if(n.flags&268435456&&Vi){const h=Vi[ls(n)];if(h)return h}const c=No,p=yo(n,64);if(No!==c){const h=Vi||(Vi=[]);h[ls(n)]=p,Ure(n,n.flags|268435456)}return p}function fye(n){let a=us(n,!0);if(HS(a)){const c=LD(a);if(!zm(c))return Yi(c)}if(a=us(n),Ob(a)){const c=fye(a.expression);return c?fR(c):void 0}if(ra(a)&&a.expression.kind!==108&&!tp(a,!0)&&!M4e(a)&&!ep(a))return XE(a)?O_t(a):u3e(QC(a.expression));if(yS(a)&&!zm(a.type))return Yi(a.type);if(YE(n)||zN(n))return yo(n)}function Q5(n){const a=Vr(n);if(a.contextFreeType)return a.contextFreeType;L5(n,He,!1);const c=a.contextFreeType=yo(n,4);return eW(),c}function yo(n,a,c){var p,h;(p=Ar)==null||p.push(Ar.Phase.Check,"checkExpression",{kind:n.kind,pos:n.pos,end:n.end,path:n.tracingPath});const v=R;R=n,y=0;const I=z_t(n,a,c),w=c3e(n,I,a);return P$(w)&&W_t(n,w),R=v,(h=Ar)==null||h.pop(),w}function W_t(n,a){var c;const p=n.parent.kind===212&&n.parent.expression===n||n.parent.kind===213&&n.parent.expression===n||(n.kind===80||n.kind===167)&&Y$(n)||n.parent.kind===187&&n.parent.exprName===n||n.parent.kind===282;if(p||Ze(n,f.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query),O.isolatedModules||O.verbatimModuleSyntax&&p&&!gt(n,Ou(n),2097152,void 0,!1,!0)){C.assert(!!(a.symbol.flags&128));const h=a.symbol.valueDeclaration,v=(c=e.getRedirectFromOutput(On(h).resolvedPath))==null?void 0:c.resolvedRef;h.flags&33554432&&!q0(n)&&(!v||!Cb(v.commandLine.options))&&Ze(n,f.Cannot_access_ambient_const_enums_when_0_is_enabled,Ge)}}function F_t(n,a){if(nf(n)){if(tj(n))return $ge(n.expression,nj(n),a);if(HS(n))return w4e(n,a)}return yo(n.expression,a)}function z_t(n,a,c){const p=n.kind;if(i)switch(p){case 232:case 219:case 220:i.throwIfCancellationRequested()}switch(p){case 80:return oft(n,a);case 81:return Nmt(n);case 110:return M5(n);case 108:return s$(n);case 106:return Pe;case 15:case 11:return Y_e(n)?Wt:aR(Ip(n.text));case 9:return F7e(n),aR(Mh(+n.text));case 10:return Gbt(n),aR(l5({negative:!1,base10Value:DM(n.text)}));case 112:return vt;case 97:return $n;case 229:return x_t(n);case 14:return emt(n);case 210:return F6e(n,a,c);case 211:return lmt(n,a);case 212:return v$(n,a);case 167:return t4e(n,a);case 213:return Hmt(n,a);case 214:if(ep(n))return Eht(n);case 215:return Sht(n,a);case 216:return Aht(n);case 218:return F_t(n,a);case 232:return Cyt(n);case 219:case 220:return $4e(n,a);case 222:return a_t(n);case 217:case 235:return Iht(n,a);case 236:return Dht(n);case 234:return W4e(n);case 239:return Cht(n);case 237:return Nht(n);case 221:return i_t(n);case 223:return s_t(n);case 224:return l_t(n);case 225:return c_t(n);case 226:return d_t(n);case 227:return be(n,a);case 228:return I_t(n,a);case 231:return tmt(n,a);case 233:return B;case 230:return A_t(n);case 238:return nmt(n);case 295:return Emt(n,a);case 285:return pmt(n);case 286:return dmt(n);case 289:return fmt(n);case 293:return hmt(n,a);case 287:C.fail("Shouldn't ever directly check a JsxOpeningElement")}return rt}function p3e(n){ey(n),n.expression&&fd(n.expression,f.Type_expected),Wa(n.constraint),Wa(n.default);const a=jT(Fr(n));Md(a),tct(a)||Ze(n.default,f.Type_parameter_0_has_a_circular_default,sr(a));const c=Ju(a),p=EE(a);c&&p&&Qd(p,Yp(oo(c,DE(a,p)),p),n.default,f.Type_0_does_not_satisfy_the_constraint_1),mR(n),r(()=>GL(n.name,f.Type_parameter_name_cannot_be_0))}function B_t(n){var a,c;if(gd(n.parent)||hi(n.parent)||Em(n.parent)){const p=jT(Fr(n)),h=L_e(p)&24576;if(h){const v=Fr(n.parent);if(Em(n.parent)&&!(qr(Xs(v))&48))Ze(n,f.Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types);else if(h===8192||h===16384){(a=Ar)==null||a.push(Ar.Phase.CheckTypes,"checkTypeParameterDeferred",{parent:pd(Xs(v)),id:pd(p)});const I=h5(v,p,h===16384?Jt:ut),w=h5(v,p,h===16384?ut:Jt),U=p;N=p,Qd(I,w,n,f.Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation),N=U,(c=Ar)==null||c.pop()}}}}function f3e(n){ey(n),iB(n);const a=uf(n);fi(n,31)&&(O.erasableSyntaxOnly&&Ze(n,f.This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled),a.kind===177&&gm(a.body)||Ze(n,f.A_parameter_property_is_only_allowed_in_a_constructor_implementation),a.kind===177&&Je(n.name)&&n.name.escapedText==="constructor"&&Ze(n.name,f.constructor_cannot_be_used_as_a_parameter_property_name)),!n.initializer&&OI(n)&&na(n.name)&&a.body&&Ze(n,f.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),n.name&&Je(n.name)&&(n.name.escapedText==="this"||n.name.escapedText==="new")&&(a.parameters.indexOf(n)!==0&&Ze(n,f.A_0_parameter_must_be_the_first_parameter,n.name.escapedText),(a.kind===177||a.kind===181||a.kind===186)&&Ze(n,f.A_constructor_cannot_have_a_this_parameter),a.kind===220&&Ze(n,f.An_arrow_function_cannot_have_a_this_parameter),(a.kind===178||a.kind===179)&&Ze(n,f.get_and_set_accessors_cannot_declare_this_parameters)),n.dotDotDotToken&&!na(n.name)&&!da(km(gr(n.symbol)),qp)&&Ze(n,f.A_rest_parameter_must_be_of_an_array_type)}function G_t(n){const a=V_t(n);if(!a){Ze(n,f.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return}const c=Nf(a),p=om(c);if(!p)return;Wa(n.type);const{parameterName:h}=n;if(p.kind!==0&&p.kind!==2){if(p.parameterIndex>=0){if(su(c)&&p.parameterIndex===c.parameters.length-1)Ze(h,f.A_type_predicate_cannot_reference_a_rest_parameter);else if(p.type){const v=()=>Ko(void 0,f.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type);Qd(p.type,gr(c.parameters[p.parameterIndex]),n.type,void 0,v)}}else if(h){let v=!1;for(const{name:I}of a.parameters)if(na(I)&&m3e(I,h,p.parameterName)){v=!0;break}v||Ze(n.parameterName,f.Cannot_find_parameter_0,p.parameterName)}}}function V_t(n){switch(n.parent.kind){case 220:case 180:case 263:case 219:case 185:case 175:case 174:const a=n.parent;if(n===a.type)return a}}function m3e(n,a,c){for(const p of n.elements){if(qc(p))continue;const h=p.name;if(h.kind===80&&h.escapedText===c)return Ze(a,f.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern,c),!0;if((h.kind===208||h.kind===207)&&m3e(h,a,c))return!0}}function uW(n){n.kind===182?_bt(n):(n.kind===185||n.kind===263||n.kind===186||n.kind===180||n.kind===177||n.kind===181)&&nQ(n);const a=dc(n);a&4||((a&3)===3&&G<ed.AsyncGenerators&&Yc(n,6144),(a&3)===2&&G<ed.AsyncFunctions&&Yc(n,64),(a&3)!==0&&G<ed.Generators&&Yc(n,128)),sB(fb(n)),xyt(n),Xe(n.parameters,f3e),n.type&&Wa(n.type),r(c);function c(){Ggt(n);let p=Wp(n),h=p;if(Er(n)){const v=k0(n);if(v&&v.typeExpression&&Bp(v.typeExpression.type)){const I=BA(Yi(v.typeExpression));I&&I.declaration&&(p=Wp(I.declaration),h=v.typeExpression.type)}}if(Ae&&!p)switch(n.kind){case 181:Ze(n,f.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 180:Ze(n,f.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break}if(p&&h){const v=dc(n);if((v&5)===1){const I=Yi(p);I===An?Ze(h,f.A_generator_cannot_have_a_void_type_annotation):mye(I,v,h)}else(v&3)===2&&vgt(n,p,h)}n.kind!==182&&n.kind!==318&&b0(n)}}function mye(n,a,c){const p=Yv(0,n,(a&2)!==0)||He,h=Yv(1,n,(a&2)!==0)||p,v=Yv(2,n,(a&2)!==0)||At,I=N$(p,h,v,!!(a&2));return Qd(I,n,c)}function j_t(n){const a=new Map,c=new Map,p=new Map;for(const v of n.members)if(v.kind===177)for(const I of v.parameters)Lp(I,v)&&!na(I.name)&&h(a,I.name,I.name.escapedText,3);else{const I=ha(v),w=v.name;if(!w)continue;const U=to(w),H=U&&I?16:0,Z=U?p:I?c:a,Ee=w&&Kye(w);if(Ee)switch(v.kind){case 178:h(Z,w,Ee,1|H);break;case 179:h(Z,w,Ee,2|H);break;case 173:h(Z,w,Ee,3|H);break;case 175:h(Z,w,Ee,8|H);break}}function h(v,I,w,U){const H=v.get(w);if(H)if((H&16)!==(U&16))Ze(I,f.Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name,Rl(I));else{const Z=!!(H&8),Ee=!!(U&8);Z||Ee?Z!==Ee&&Ze(I,f.Duplicate_identifier_0,Rl(I)):H&U&-17?Ze(I,f.Duplicate_identifier_0,Rl(I)):v.set(w,H|U)}else v.set(w,U)}}function U_t(n){for(const a of n.members){const c=a.name;if(ha(a)&&c){const h=Kye(c);switch(h){case"name":case"length":case"caller":case"arguments":if(Q)break;case"prototype":const v=f.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1,I=VT(Fr(n));Ze(c,v,h,I);break}}}}function h3e(n){const a=new Map;for(const c of n.members)if(c.kind===172){let p;const h=c.name;switch(h.kind){case 11:case 9:p=h.text;break;case 80:p=Yr(h);break;default:continue}a.get(p)?(Ze(Fo(c.symbol.valueDeclaration),f.Duplicate_identifier_0,p),Ze(c.name,f.Duplicate_identifier_0,p)):a.set(p,!0)}}function hye(n){if(n.kind===265){const c=Fr(n);if(c.declarations&&c.declarations.length>0&&c.declarations[0]!==n)return}const a=fY(Fr(n));if(a!=null&&a.declarations){const c=new Map;for(const p of a.declarations)wb(p)&&p.parameters.length===1&&p.parameters[0].type&&OA(Yi(p.parameters[0].type),h=>{const v=c.get(pd(h));v?v.declarations.push(p):c.set(pd(h),{type:h,declarations:[p]})});c.forEach(p=>{if(p.declarations.length>1)for(const h of p.declarations)Ze(h,f.Duplicate_index_signature_for_type_0,sr(p.type))})}}function _3e(n){!ey(n)&&!Fbt(n)&&rQ(n.name),iB(n),k$(n),fi(n,64)&&n.kind===173&&n.initializer&&Ze(n,f.Property_0_cannot_have_an_initializer_because_it_is_marked_abstract,Fs(n.name))}function H_t(n){return to(n.name)&&Ze(n,f.Private_identifiers_are_not_allowed_outside_class_bodies),_3e(n)}function q_t(n){P7e(n)||rQ(n.name),Ll(n)&&n.asteriskToken&&Je(n.name)&&Yr(n.name)==="constructor"&&Ze(n.name,f.Class_constructor_may_not_be_a_generator),D3e(n),fi(n,64)&&n.kind===175&&n.body&&Ze(n,f.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,Fs(n.name)),to(n.name)&&!hd(n)&&Ze(n,f.Private_identifiers_are_not_allowed_outside_class_bodies),k$(n)}function k$(n){if(to(n.name)&&(G<ed.PrivateNamesAndClassStaticBlocks||G<ed.ClassAndClassElementDecorators||!Q)){for(let a=sh(n);a;a=sh(a))Vr(a).flags|=1048576;if(uc(n.parent)){const a=mge(n.parent);a&&(Vr(n.name).flags|=32768,Vr(a).flags|=4096)}}}function J_t(n){ey(n),Xo(n,Wa)}function K_t(n){uW(n),Obt(n)||Wbt(n),Wa(n.body);const a=Fr(n),c=ul(a,n.kind);if(n===c&&O$(a),Wl(n.body))return;r(h);return;function p(v){return nu(v)?!0:v.kind===173&&!ha(v)&&!!v.initializer}function h(){const v=n.parent;if(RS(v)){hge(n.parent,v);const I=_ge(v),w=T6e(n.body);if(w){if(I&&Ze(w,f.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null),!J&&(bt(n.parent.members,p)||bt(n.parameters,H=>fi(H,31))))if(!X_t(w,n.body))Ze(w,f.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{let H;for(const Z of n.body.statements){if(od(Z)&&r1(Hl(Z.expression))){H=Z;break}if(g3e(Z))break}H===void 0&&Ze(n,f.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 I||Ze(n,f.Constructors_for_derived_classes_must_contain_a_super_call)}}}function X_t(n,a){const c=Vm(n.parent);return od(c)&&c.parent===a}function g3e(n){return n.kind===108||n.kind===110?!0:gne(n)?!1:!!Xo(n,g3e)}function y3e(n){Je(n.name)&&Yr(n.name)==="constructor"&&hi(n.parent)&&Ze(n.name,f.Class_constructor_may_not_be_an_accessor),r(a),Wa(n.body),k$(n);function a(){if(!nQ(n)&&!Ibt(n)&&rQ(n.name),tB(n),uW(n),n.kind===178&&!(n.flags&33554432)&&gm(n.body)&&n.flags&512&&(n.flags&1024||Ze(n.name,f.A_get_accessor_must_return_a_value)),n.name.kind===168&&nh(n.name),zC(n)){const p=Fr(n),h=ul(p,178),v=ul(p,179);if(h&&v&&!(_R(h)&1)){Vr(h).flags|=1;const I=Gd(h),w=Gd(v);(I&64)!==(w&64)&&(Ze(h.name,f.Accessors_must_both_be_abstract_or_non_abstract),Ze(v.name,f.Accessors_must_both_be_abstract_or_non_abstract)),(I&4&&!(w&6)||I&2&&!(w&2))&&(Ze(h.name,f.A_get_accessor_must_be_at_least_as_accessible_as_the_setter),Ze(v.name,f.A_get_accessor_must_be_at_least_as_accessible_as_the_setter))}}const c=_L(Fr(n));n.kind===178&&aye(n,c)}}function Y_t(n){tB(n)}function $_t(n,a,c){return n.typeArguments&&c<n.typeArguments.length?Yi(n.typeArguments[c]):w$(n,a)[c]}function w$(n,a){return Uv(Gt(n.typeArguments,Yi),a,rg(a),Er(n))}function v3e(n,a){let c,p,h=!0;for(let v=0;v<a.length;v++){const I=Ju(a[v]);I&&(c||(c=w$(n,a),p=Qp(a,c)),h=h&&Qd(c[v],oo(I,p),n.typeArguments[v],f.Type_0_does_not_satisfy_the_constraint_1))}return h}function Q_t(n,a){if(!mr(n))return a.flags&524288&&Kr(a).typeParameters||(qr(n)&4?n.target.localTypeParameters:void 0)}function _ye(n){const a=Yi(n);if(!mr(a)){const c=Vr(n).resolvedSymbol;if(c)return Q_t(a,c)}}function gye(n){if(uB(n,n.typeArguments),n.kind===184&&!Er(n)&&!$N(n)&&n.typeArguments&&n.typeName.end!==n.typeArguments.pos){const a=On(n);ane(a,n.typeName.end)===25&&nS(n,wa(a.text,n.typeName.end),1,f.JSDoc_types_can_only_be_used_inside_documentation_comments)}Xe(n.typeArguments,Wa),b3e(n)}function b3e(n){const a=Yi(n);if(!mr(a)){n.typeArguments&&r(()=>{const p=_ye(n);p&&v3e(n,p)});const c=Vr(n).resolvedSymbol;c&&bt(c.declarations,p=>wI(p)&&!!(p.flags&536870912))&&Pm(j5(n),c.declarations,c.escapedName)}}function Z_t(n){const a=ii(n.parent,NF);if(!a)return;const c=_ye(a);if(!c)return;const p=Ju(c[a.typeArguments.indexOf(n)]);return p&&oo(p,Qp(c,w$(a,c)))}function egt(n){Z8e(n)}function tgt(n){Xe(n.members,Wa),r(a);function a(){const c=jWe(n);U$(c,c.symbol),hye(n),h3e(n)}}function ngt(n){Wa(n.elementType)}function rgt(n){let a=!1,c=!1;for(const p of n.elements){let h=Zhe(p);if(h&8){const v=Yi(p.type);if(!Jv(v)){Ze(p,f.A_rest_element_type_must_be_an_array_type);break}(sm(v)||Xa(v)&&v.target.combinedFlags&4)&&(h|=4)}if(h&4){if(c){Dn(p,f.A_rest_element_cannot_follow_another_rest_element);break}c=!0}else if(h&2){if(c){Dn(p,f.An_optional_element_cannot_follow_a_rest_element);break}a=!0}else if(h&1&&a){Dn(p,f.A_required_element_cannot_follow_an_optional_element);break}}Xe(n.elements,Wa),Yi(n)}function igt(n){Xe(n.types,Wa),Yi(n)}function T3e(n,a){if(!(n.flags&8388608))return n;const c=n.objectType,p=n.indexType,h=mp(c)&&N8(c)===2?RWe(c,0):x_(c,0),v=!!Kg(c,jt);if(xp(p,I=>da(I,h)||v&&tR(I,jt)))return a.kind===213&&Ib(a)&&qr(c)&32&&ng(c)&1&&Ze(a,f.Index_signature_in_type_0_only_permits_reading,sr(c)),n;if(RA(c)){const I=AY(p,a);if(I){const w=OA(Mu(c),U=>xa(U,I));if(w&&jf(w)&6)return Ze(a,f.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter,Bi(I)),rt}}return Ze(a,f.Type_0_cannot_be_used_to_index_type_1,sr(p),sr(c)),rt}function ogt(n){Wa(n.objectType),Wa(n.indexType),T3e(WWe(n),n)}function agt(n){sgt(n),Wa(n.typeParameter),Wa(n.nameType),Wa(n.type),n.type||ZT(n,He);const a=u_e(n),c=Vv(a);if(c)Qd(c,ti,n.nameType);else{const p=Cf(a);Qd(p,ti,zR(n.typeParameter))}}function sgt(n){var a;if((a=n.members)!=null&&a.length)return Dn(n.members[0],f.A_mapped_type_may_not_declare_properties_or_methods)}function lgt(n){y_e(n)}function cgt(n){Rbt(n),Wa(n.type)}function dgt(n){Xo(n,Wa)}function ugt(n){Rn(n,c=>c.parent&&c.parent.kind===195&&c.parent.extendsType===c)||Dn(n,f.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type),Wa(n.typeParameter);const a=Fr(n.typeParameter);if(a.declarations&&a.declarations.length>1){const c=Kr(a);if(!c.typeParametersChecked){c.typeParametersChecked=!0;const p=jT(a),h=Wte(a,169);if(!J3e(h,[p],v=>[v])){const v=uo(a);for(const I of h)Ze(I.name,f.All_declarations_of_0_must_have_identical_constraints,v)}}}b0(n)}function pgt(n){for(const a of n.templateSpans){Wa(a.type);const c=Yi(a.type);Qd(c,wo,a.type)}Yi(n)}function fgt(n){Wa(n.argument),n.attributes&&JD(n.attributes,Dn),b3e(n)}function mgt(n){n.dotDotDotToken&&n.questionToken&&Dn(n,f.A_tuple_member_cannot_be_both_optional_and_rest),n.type.kind===191&&Dn(n.type,f.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type),n.type.kind===192&&Dn(n.type,f.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type),Wa(n.type),Yi(n)}function Z5(n){return(Fp(n,2)||nu(n))&&!!(n.flags&33554432)}function pW(n,a){let c=oQ(n);if(n.parent.kind!==265&&n.parent.kind!==264&&n.parent.kind!==232&&n.flags&33554432){const p=VF(n);p&&p.flags&128&&!(c&128)&&!(a_(n.parent)&&pc(n.parent.parent)&&W_(n.parent.parent))&&(c|=32),c|=128}return c&a}function O$(n){r(()=>hgt(n))}function hgt(n){function a(xn,Tn){return Tn!==void 0&&Tn.parent===xn[0].parent?Tn:xn[0]}function c(xn,Tn,cr,mi,ao){if((mi^ao)!==0){const Pi=pW(a(xn,Tn),cr);RR(xn,Vo=>On(Vo).fileName).forEach(Vo=>{const _s=pW(a(Vo,Tn),cr);for(const mo of Vo){const _l=pW(mo,cr)^Pi,Xl=pW(mo,cr)^_s;Xl&32?Ze(Fo(mo),f.Overload_signatures_must_all_be_exported_or_non_exported):Xl&128?Ze(Fo(mo),f.Overload_signatures_must_all_be_ambient_or_non_ambient):_l&6?Ze(Fo(mo)||mo,f.Overload_signatures_must_all_be_public_private_or_protected):_l&64&&Ze(Fo(mo),f.Overload_signatures_must_all_be_abstract_or_non_abstract)}})}}function p(xn,Tn,cr,mi){if(cr!==mi){const ao=bI(a(xn,Tn));Xe(xn,ui=>{bI(ui)!==ao&&Ze(Fo(ui),f.Overload_signatures_must_all_be_optional_or_required)})}}const h=230;let v=0,I=h,w=!1,U=!0,H=!1,Z,Ee,Te;const Ye=n.declarations,ht=(n.flags&16384)!==0;function Dt(xn){if(xn.name&&Wl(xn.name))return;let Tn=!1;const cr=Xo(xn.parent,ao=>{if(Tn)return ao;Tn=ao===xn});if(cr&&cr.pos===xn.end&&cr.kind===xn.kind){const ao=cr.name||cr,ui=cr.name;if(xn.name&&ui&&(to(xn.name)&&to(ui)&&xn.name.escapedText===ui.escapedText||Ea(xn.name)&&Ea(ui)&&$g(nh(xn.name),nh(ui))||$h(xn.name)&&$h(ui)&&sM(xn.name)===sM(ui))){if((xn.kind===175||xn.kind===174)&&ha(xn)!==ha(cr)){const Vo=ha(xn)?f.Function_overload_must_be_static:f.Function_overload_must_not_be_static;Ze(ao,Vo)}return}if(gm(cr.body)){Ze(ao,f.Function_implementation_name_must_be_0,Fs(xn.name));return}}const mi=xn.name||xn;ht?Ze(mi,f.Constructor_implementation_is_missing):fi(xn,64)?Ze(mi,f.All_declarations_of_an_abstract_method_must_be_consecutive):Ze(mi,f.Function_implementation_is_missing_or_not_immediately_following_the_declaration)}let en=!1,Sn=!1,Zn=!1;const yr=[];if(Ye)for(const xn of Ye){const Tn=xn,cr=Tn.flags&33554432,mi=Tn.parent&&(Tn.parent.kind===265||Tn.parent.kind===188)||cr;if(mi&&(Te=void 0),(Tn.kind===264||Tn.kind===232)&&!cr&&(Zn=!0),Tn.kind===263||Tn.kind===175||Tn.kind===174||Tn.kind===177){yr.push(Tn);const ao=pW(Tn,h);v|=ao,I&=ao,w=w||bI(Tn),U=U&&bI(Tn);const ui=gm(Tn.body);ui&&Z?ht?Sn=!0:en=!0:(Te==null?void 0:Te.parent)===Tn.parent&&Te.end!==Tn.pos&&Dt(Te),ui?Z||(Z=Tn):H=!0,Te=Tn,mi||(Ee=Tn)}Er(xn)&&Yo(xn)&&xn.jsDoc&&(H=et(qG(xn))>0)}if(Sn&&Xe(yr,xn=>{Ze(xn,f.Multiple_constructor_implementations_are_not_allowed)}),en&&Xe(yr,xn=>{Ze(Fo(xn)||xn,f.Duplicate_function_implementation)}),Zn&&!ht&&n.flags&16&&Ye){const xn=Fn(Ye,Tn=>Tn.kind===264).map(Tn=>Sr(Tn,f.Consider_adding_a_declare_modifier_to_this_class));Xe(Ye,Tn=>{const cr=Tn.kind===264?f.Class_declaration_cannot_implement_overload_list_for_0:Tn.kind===263?f.Function_with_bodies_can_only_merge_with_classes_that_are_ambient:void 0;cr&&_a(Ze(Fo(Tn)||Tn,cr,Ol(n)),...xn)})}if(Ee&&!Ee.body&&!fi(Ee,64)&&!Ee.questionToken&&Dt(Ee),H&&(Ye&&(c(Ye,Z,h,v,I),p(Ye,Z,w,U)),Z)){const xn=AE(n),Tn=Nf(Z);for(const cr of xn)if(!gut(Tn,cr)){const mi=cr.declaration&&gv(cr.declaration)?cr.declaration.parent.tagName:cr.declaration;_a(Ze(mi,f.This_overload_signature_is_not_compatible_with_its_implementation_signature),Sr(Z,f.The_implementation_signature_is_declared_here));break}}}function fW(n){r(()=>_gt(n))}function _gt(n){let a=n.localSymbol;if(!a&&(a=Fr(n),!a.exportSymbol)||ul(a,n.kind)!==n)return;let c=0,p=0,h=0;for(const H of a.declarations){const Z=U(H),Ee=pW(H,2080);Ee&32?Ee&2048?h|=Z:c|=Z:p|=Z}const v=c|p,I=c&p,w=h&v;if(I||w)for(const H of a.declarations){const Z=U(H),Ee=Fo(H);Z&w?Ze(Ee,f.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead,Fs(Ee)):Z&I&&Ze(Ee,f.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local,Fs(Ee))}function U(H){let Z=H;switch(Z.kind){case 265:case 266:case 347:case 339:case 341:return 2;case 268:return vu(Z)||vy(Z)!==0?5:4;case 264:case 267:case 307:return 3;case 308:return 7;case 278:case 227:const Ee=Z,Te=fl(Ee)?Ee.expression:Ee.right;if(!Ps(Te))return 1;Z=Te;case 272:case 275:case 274:let Ye=0;const ht=ud(Fr(Z));return Xe(ht.declarations,Dt=>{Ye|=U(Dt)}),Ye;case 261:case 209:case 263:case 277:case 80:return 1;case 174:case 172:return 2;default:return C.failBadSyntaxKind(Z)}}}function FL(n,a,c,...p){const h=mW(n,a);return h&&fR(h,a,c,...p)}function mW(n,a,c){if(Or(n))return;const p=n;if(p.promisedTypeOfPromise)return p.promisedTypeOfPromise;if(Xp(n,n5(!1)))return p.promisedTypeOfPromise=cl(n)[0];if(dW(I_(n),402915324))return;const h=yn(n,"then");if(Or(h))return;const v=h?aa(h,0):se;if(v.length===0){a&&Ze(a,f.A_promise_must_have_a_then_method);return}let I,w;for(const Z of v){const Ee=qT(Z);Ee&&Ee!==An&&!R_(n,Ee,X_)?I=Ee:w=jn(w,Z)}if(!w){C.assertIsDefined(I),c&&(c.value=I),a&&Ze(a,f.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,sr(n),sr(I));return}const U=lm(_i(Gt(w,tye)),2097152);if(Or(U))return;const H=aa(U,0);if(H.length===0){a&&Ze(a,f.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback);return}return p.promisedTypeOfPromise=_i(Gt(H,tye),2)}function eB(n,a,c,p,...h){return(a?fR(n,c,p,...h):Ky(n,c,p,...h))||rt}function S3e(n){if(dW(I_(n),402915324))return!1;const a=yn(n,"then");return!!a&&aa(lm(a,2097152),0).length>0}function W$(n){var a;if(n.flags&16777216){const c=Qhe(!1);return!!c&&n.aliasSymbol===c&&((a=n.aliasTypeArguments)==null?void 0:a.length)===1}return!1}function zL(n){return n.flags&1048576?Al(n,zL):W$(n)?n.aliasTypeArguments[0]:n}function E3e(n){if(Or(n)||W$(n))return!1;if(RA(n)){const a=Md(n);if(a?a.flags&3||jy(a)||cm(a,S3e):nc(n,8650752))return!0}return!1}function ggt(n){const a=Qhe(!0);if(a)return jC(a,[zL(n)])}function ygt(n){var a;return E3e(n)?(a=ggt(n))!=null?a:n:(C.assert(W$(n)||mW(n)===void 0,"type provided should not be a non-generic 'promise'-like."),n)}function fR(n,a,c,...p){const h=Ky(n,a,c,...p);return h&&ygt(h)}function Ky(n,a,c,...p){if(Or(n)||W$(n))return n;const h=n;if(h.awaitedTypeOfType)return h.awaitedTypeOfType;if(n.flags&1048576){if($b.lastIndexOf(n.id)>=0){a&&Ze(a,f.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}const w=a?H=>Ky(H,a,c,...p):Ky;$b.push(n.id);const U=Al(n,w);return $b.pop(),h.awaitedTypeOfType=U}if(E3e(n))return h.awaitedTypeOfType=n;const v={value:void 0},I=mW(n,void 0,v);if(I){if(n.id===I.id||$b.lastIndexOf(I.id)>=0){a&&Ze(a,f.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}$b.push(n.id);const w=Ky(I,a,c,...p);return $b.pop(),w?h.awaitedTypeOfType=w:void 0}if(S3e(n)){if(a){C.assertIsDefined(c);let w;v.value&&(w=Ko(w,f.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,sr(n),sr(v.value))),w=Ko(w,c,...p),ns.add(vg(On(a),a,w))}return}return h.awaitedTypeOfType=n}function vgt(n,a,c){const p=Yi(a);if(G>=2){if(mr(p))return;const v=n5(!0);if(v!==nn&&!Xp(p,v)){h(f.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0,a,c,sr(Ky(p)||An));return}}else{if(dR(n,5),mr(p))return;const v=dk(a);if(v===void 0){h(f.Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,a,c,sr(p));return}const I=Gl(v,111551,!0),w=I?gr(I):rt;if(mr(w)){v.kind===80&&v.escapedText==="Promise"&&zn(p)===n5(!1)?Ze(c,f.An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option):h(f.Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,a,c,kp(v));return}const U=Rct(!0);if(U===Ma){h(f.Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,a,c,kp(v));return}const H=f.Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compatible_constructor_value;if(!Qd(w,U,c,H,()=>a===c?void 0:Ko(void 0,f.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type)))return;const Ee=v&&Ou(v),Te=Td(n.locals,Ee.escapedText,111551);if(Te){Ze(Te.valueDeclaration,f.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,Yr(Ee),kp(v));return}}eB(p,!1,n,f.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);function h(v,I,w,U){if(I===w)Ze(w,v,U);else{const H=Ze(w,f.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type);_a(H,Sr(I,v,U))}}}function bgt(n){const a=On(n);if(!S0(a)){let c=n.expression;if(zu(c))return!1;let p=!0,h;for(;;){if(hy(c)||YI(c)){c=c.expression;continue}if(ra(c)){p||(h=c),c.questionDotToken&&(h=c.questionDotToken),c=c.expression,p=!1;continue}if(Jr(c)){c.questionDotToken&&(h=c.questionDotToken),c=c.expression,p=!1;continue}Je(c)||(h=c);break}if(h)return _a(Ze(n.expression,f.Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator),Sr(h,f.Invalid_syntax_in_decorator)),!0}return!1}function Tgt(n){bgt(n);const a=eN(n);D$(a,n);const c=hs(a);if(c.flags&1)return;const p=iye(n);if(!(p!=null&&p.resolvedReturnType))return;let h;const v=p.resolvedReturnType;switch(n.parent.kind){case 264:case 232:h=f.Decorator_function_return_type_0_is_not_assignable_to_type_1;break;case 173:if(!K){h=f.Decorator_function_return_type_0_is_not_assignable_to_type_1;break}case 170:h=f.Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any;break;case 175:case 178:case 179:h=f.Decorator_function_return_type_0_is_not_assignable_to_type_1;break;default:return C.failBadSyntaxKind(n.parent)}Qd(c,v,n.expression,h)}function hW(n,a,c,p,h,v=c.length,I=0){const w=L.createFunctionTypeNode(void 0,se,L.createKeywordTypeNode(133));return A_(w,n,a,c,p,h,v,I)}function yye(n,a,c,p,h,v,I){const w=hW(n,a,c,p,h,v,I);return EA(w)}function A3e(n){return yye(void 0,void 0,se,n)}function I3e(n){const a=If("value",n);return yye(void 0,void 0,[a],An)}function vye(n){if(n)switch(n.kind){case 194:case 193:return x3e(n.types);case 195:return x3e([n.trueType,n.falseType]);case 197:case 203:return vye(n.type);case 184:return n.typeName}}function x3e(n){let a;for(let c of n){for(;c.kind===197||c.kind===203;)c=c.type;if(c.kind===146||!re&&(c.kind===202&&c.literal.kind===106||c.kind===157))continue;const p=vye(c);if(!p)return;if(a){if(!Je(a)||!Je(p)||a.escapedText!==p.escapedText)return}else a=p}return a}function F$(n){const a=Ac(n);return w_(n)?wG(a):a}function tB(n){if(!qS(n)||!ff(n)||!n.modifiers||!uk(K,n,n.parent,n.parent.parent))return;const a=_n(n.modifiers,wc);if(a){K?(Yc(a,8),n.kind===170&&Yc(a,32)):G<ed.ClassAndClassElementDecorators&&(Yc(a,8),xc(n)?n.name?K3e(n)&&Yc(a,4194304):Yc(a,4194304):uc(n)||(to(n.name)&&(Ll(n)||gb(n)||Qu(n))&&Yc(a,4194304),Ea(n.name)&&Yc(a,8388608))),dR(n,8);for(const c of n.modifiers)wc(c)&&Tgt(c)}}function Sgt(n){r(a);function a(){D3e(n),Uye(n),BL(n,n.name)}}function Egt(n){n.typeExpression||Ze(n.name,f.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),n.name&&GL(n.name,f.Type_alias_name_cannot_be_0),Wa(n.typeExpression),sB(fb(n))}function Agt(n){Wa(n.constraint);for(const a of n.typeParameters)Wa(a)}function Igt(n){Wa(n.typeExpression)}function xgt(n){Wa(n.typeExpression);const a=V0(n);if(a){const c=_F(a,M4);if(et(c)>1)for(let p=1;p<et(c);p++){const h=c[p].tagName;Ze(h,f._0_tag_already_specified,Yr(h))}}}function Rgt(n){n.name&&cB(n.name,!0)}function Dgt(n){Wa(n.typeExpression)}function Cgt(n){Wa(n.typeExpression)}function Ngt(n){r(a),uW(n);function a(){!n.type&&!TI(n)&&ZT(n,He)}}function Mgt(n){const a=V0(n);a&&Zs(a)&&Ze(n.tagName,f.An_arrow_function_cannot_have_a_this_parameter)}function Pgt(n){Lye(n)}function Lgt(n){const a=V0(n);(!a||!xc(a)&&!uc(a))&&Ze(a,f.JSDoc_0_is_not_attached_to_a_class,Yr(n.tagName))}function kgt(n){const a=V0(n);if(!a||!xc(a)&&!uc(a)){Ze(a,f.JSDoc_0_is_not_attached_to_a_class,Yr(n.tagName));return}const c=w0(a).filter(ZI);C.assert(c.length>0),c.length>1&&Ze(c[1],f.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);const p=R3e(n.class.expression),h=RS(a);if(h){const v=R3e(h.expression);v&&p.escapedText!==v.escapedText&&Ze(p,f.JSDoc_0_1_does_not_match_the_extends_2_clause,Yr(n.tagName),Yr(p),Yr(v))}}function wgt(n){const a=IS(n);a&&nu(a)&&Ze(n,f.An_accessibility_modifier_cannot_be_used_with_a_private_identifier)}function R3e(n){switch(n.kind){case 80:return n;case 212:return n.name;default:return}}function D3e(n){var a;tB(n),uW(n);const c=dc(n);if(n.name&&n.name.kind===168&&nh(n.name),zC(n)){const v=Fr(n),I=n.localSymbol||v,w=(a=I.declarations)==null?void 0:a.find(U=>U.kind===n.kind&&!(U.flags&524288));n===w&&O$(I),v.parent&&O$(v)}const p=n.kind===174?void 0:n.body;if(Wa(p),aye(n,GC(n)),r(h),Er(n)){const v=k0(n);v&&v.typeExpression&&!xge(Yi(v.typeExpression),n)&&Ze(v.typeExpression.type,f.The_type_of_a_function_declaration_must_match_the_function_s_signature)}function h(){Wp(n)||(Wl(p)&&!Z5(n)&&ZT(n,He),c&1&&gm(p)&&hs(Nf(n)))}}function b0(n){r(a);function a(){const c=On(n);let p=Yn.get(c.path);p||(p=[],Yn.set(c.path,p)),p.push(n)}}function C3e(n,a){for(const c of n)switch(c.kind){case 264:case 232:Ogt(c,a),bye(c,a);break;case 308:case 268:case 242:case 270:case 249:case 250:case 251:P3e(c,a);break;case 177:case 219:case 263:case 220:case 175:case 178:case 179:c.body&&P3e(c,a),bye(c,a);break;case 174:case 180:case 181:case 185:case 186:case 266:case 265:bye(c,a);break;case 196:Wgt(c,a);break;default:C.assertNever(c,"Node should not have been registered for unused identifiers check")}}function N3e(n,a,c){const p=Fo(n)||n,h=wI(n)?f._0_is_declared_but_never_used:f._0_is_declared_but_its_value_is_never_read;c(n,0,Sr(p,h,a))}function _W(n){return Je(n)&&Yr(n).charCodeAt(0)===95}function Ogt(n,a){for(const c of n.members)switch(c.kind){case 175:case 173:case 178:case 179:if(c.kind===179&&c.symbol.flags&32768)break;const p=Fr(c);!p.isReferenced&&(Fp(c,2)||nd(c)&&to(c.name))&&!(c.flags&33554432)&&a(c,0,Sr(c.name,f._0_is_declared_but_its_value_is_never_read,uo(p)));break;case 177:for(const h of c.parameters)!h.symbol.isReferenced&&fi(h,2)&&a(h,0,Sr(h.name,f.Property_0_is_declared_but_its_value_is_never_read,Ol(h.symbol)));break;case 182:case 241:case 176:break;default:C.fail("Unexpected class member")}}function Wgt(n,a){const{typeParameter:c}=n;Tye(c)&&a(n,1,Sr(n,f._0_is_declared_but_its_value_is_never_read,Yr(c.name)))}function bye(n,a){const c=Fr(n).declarations;if(!c||Ga(c)!==n)return;const p=fb(n),h=new Set;for(const v of p){if(!Tye(v))continue;const I=Yr(v.name),{parent:w}=v;if(w.kind!==196&&w.typeParameters.every(Tye)){if(rh(h,w)){const U=On(w),H=Am(w)?XV(w):YV(U,w.typeParameters),Ee=w.typeParameters.length===1?[f._0_is_declared_but_its_value_is_never_read,I]:[f.All_type_parameters_are_unused];a(v,1,kc(U,H.pos,H.end-H.pos,...Ee))}}else a(v,1,Sr(v,f._0_is_declared_but_its_value_is_never_read,I))}}function Tye(n){return!(os(n.symbol).isReferenced&262144)&&!_W(n.name)}function nB(n,a,c,p){const h=String(p(a)),v=n.get(h);v?v[1].push(c):n.set(h,[a,[c]])}function M3e(n){return ii(Qh(n),no)}function Fgt(n){return qa(n)?mf(n.parent)?!!(n.propertyName&&_W(n.name)):_W(n.name):vu(n)||(bi(n)&&ZE(n.parent.parent)||L3e(n))&&_W(n.name)}function P3e(n,a){const c=new Map,p=new Map,h=new Map;n.locals.forEach(v=>{if(!(v.flags&262144?!(v.flags&3&&!(v.isReferenced&3)):v.isReferenced||v.exportSymbol)&&v.declarations){for(const I of v.declarations)if(!Fgt(I))if(L3e(I))nB(c,Bgt(I),I,ls);else if(qa(I)&&mf(I.parent)){const w=Ga(I.parent.elements);(I===w||!Ga(I.parent.elements).dotDotDotToken)&&nB(p,I.parent,I,ls)}else if(bi(I)){const w=wE(I)&7,U=Fo(I);(w!==4&&w!==6||!U||!_W(U))&&nB(h,I.parent,I,ls)}else{const w=v.valueDeclaration&&M3e(v.valueDeclaration),U=v.valueDeclaration&&Fo(v.valueDeclaration);w&&U?!Lp(w,w.parent)&&!xb(w)&&!_W(U)&&(qa(I)&&_v(I.parent)?nB(p,I.parent,I,ls):a(w,1,Sr(U,f._0_is_declared_but_its_value_is_never_read,Ol(v)))):N3e(I,Ol(v),a)}}}),c.forEach(([v,I])=>{const w=v.parent;if((v.name?1:0)+(v.namedBindings?v.namedBindings.kind===275?1:v.namedBindings.elements.length:0)===I.length)a(w,0,I.length===1?Sr(w,f._0_is_declared_but_its_value_is_never_read,Yr(Qa(I).name)):Sr(w,f.All_imports_in_import_declaration_are_unused));else for(const H of I)N3e(H,Yr(H.name),a)}),p.forEach(([v,I])=>{const w=M3e(v.parent)?1:0;if(v.elements.length===I.length)I.length===1&&v.parent.kind===261&&v.parent.parent.kind===262?nB(h,v.parent.parent,v.parent,ls):a(v,w,I.length===1?Sr(v,f._0_is_declared_but_its_value_is_never_read,rB(Qa(I).name)):Sr(v,f.All_destructured_elements_are_unused));else for(const U of I)a(U,w,Sr(U,f._0_is_declared_but_its_value_is_never_read,rB(U.name)))}),h.forEach(([v,I])=>{if(v.declarations.length===I.length)a(v,0,I.length===1?Sr(Qa(I).name,f._0_is_declared_but_its_value_is_never_read,rB(Qa(I).name)):Sr(v.parent.kind===244?v.parent:v,f.All_variables_are_unused));else for(const w of I)a(w,0,Sr(w,f._0_is_declared_but_its_value_is_never_read,rB(w.name)))})}function zgt(){var n;for(const a of Ny)if(!((n=Fr(a))!=null&&n.isReferenced)){const c=JE(a);C.assert(U0(c),"Only parameter declaration should be checked here");const p=Sr(a.name,f._0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation,Fs(a.name),Fs(a.propertyName));c.type||_a(p,kc(On(c),c.end,0,f.We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here,Fs(a.propertyName))),ns.add(p)}}function rB(n){switch(n.kind){case 80:return Yr(n);case 208:case 207:return rB(va(Qa(n.elements),qa).name);default:return C.assertNever(n)}}function L3e(n){return n.kind===274||n.kind===277||n.kind===275}function Bgt(n){return n.kind===274?n:n.kind===275?n.parent:n.parent.parent}function z$(n){if(n.kind===242&&Xy(n),iG(n)){const a=wi;Xe(n.statements,Wa),wi=a}else Xe(n.statements,Wa);n.locals&&b0(n)}function Ggt(n){G>=2||!pG(n)||n.flags&33554432||Wl(n.body)||Xe(n.parameters,a=>{a.name&&!na(a.name)&&a.name.escapedText===_e.escapedName&&Cv("noEmit",a,f.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)})}function gW(n,a,c){if((a==null?void 0:a.escapedText)!==c||n.kind===173||n.kind===172||n.kind===175||n.kind===174||n.kind===178||n.kind===179||n.kind===304||n.flags&33554432||(Hm(n)||Oc(n)||Au(n))&&nv(n))return!1;const p=Qh(n);return!(no(p)&&Wl(p.parent.body))}function Vgt(n){Rn(n,a=>_R(a)&4?(n.kind!==80?Ze(Fo(n),f.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):Ze(n,f.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0):!1)}function jgt(n){Rn(n,a=>_R(a)&8?(n.kind!==80?Ze(Fo(n),f.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):Ze(n,f.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0):!1)}function Ugt(n,a){if(e.getEmitModuleFormatOfFile(On(n))>=5||!a||!gW(n,a,"require")&&!gW(n,a,"exports")||pc(n)&&vy(n)!==1)return;const c=Pt(n);c.kind===308&&wp(c)&&Cv("noEmit",a,f.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,Fs(a),Fs(a))}function Hgt(n,a){if(!a||G>=4||!gW(n,a,"Promise")||pc(n)&&vy(n)!==1)return;const c=Pt(n);c.kind===308&&wp(c)&&c.flags&4096&&Cv("noEmit",a,f.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,Fs(a),Fs(a))}function qgt(n,a){G<=8&&(gW(n,a,"WeakMap")||gW(n,a,"WeakSet"))&&Dy.push(n)}function Jgt(n){const a=sh(n);_R(a)&1048576&&(C.assert(nd(n)&&Je(n.name)&&typeof n.name.escapedText=="string","The target of a WeakMap/WeakSet collision check should be an identifier"),Cv("noEmit",n,f.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,n.name.escapedText))}function Kgt(n,a){a&&G>=2&&G<=8&&gW(n,a,"Reflect")&&Cy.push(n)}function Xgt(n){let a=!1;if(uc(n)){for(const c of n.members)if(_R(c)&2097152){a=!0;break}}else if(Ks(n))_R(n)&2097152&&(a=!0);else{const c=sh(n);c&&_R(c)&2097152&&(a=!0)}a&&(C.assert(nd(n)&&Je(n.name),"The target of a Reflect collision check should be an identifier"),Cv("noEmit",n,f.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers,Fs(n.name),"Reflect"))}function BL(n,a){a&&(Ugt(n,a),Hgt(n,a),qgt(n,a),Kgt(n,a),hi(n)?(GL(a,f.Class_name_cannot_be_0),n.flags&33554432||Iyt(a)):eT(n)&&GL(a,f.Enum_name_cannot_be_0))}function Ygt(n){if((wE(n)&7)!==0||U0(n))return;const a=Fr(n);if(a.flags&1){if(!Je(n.name))return C.fail();const c=gt(n,n.name.escapedText,3,void 0,!1);if(c&&c!==a&&c.flags&2&&Cge(c)&7){const p=j0(c.valueDeclaration,262),h=p.parent.kind===244&&p.parent.parent?p.parent.parent:void 0;if(!(h&&(h.kind===242&&Yo(h.parent)||h.kind===269||h.kind===268||h.kind===308))){const I=uo(c);Ze(n,f.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,I,I)}}}}function yW(n){return n===Ct?He:n===ld?bd:n}function iB(n){var a;if(tB(n),qa(n)||Wa(n.type),!n.name)return;if(n.name.kind===168&&(nh(n.name),e1(n)&&n.initializer&&Vl(n.initializer)),qa(n)){if(n.propertyName&&Je(n.name)&&U0(n)&&Wl(uf(n).body)){Ny.push(n);return}mf(n.parent)&&n.dotDotDotToken&&G<ed.ObjectSpreadRest&&Yc(n,4),n.propertyName&&n.propertyName.kind===168&&nh(n.propertyName);const h=n.parent.parent,v=n.dotDotDotToken?32:0,I=Ai(h,v),w=n.propertyName||n.name;if(I&&!na(w)){const U=zy(w);if(Uf(U)){const H=Hf(U),Z=xa(I,H);Z&&(B5(Z,void 0,!1),Mge(n,!!h.initializer&&h.initializer.kind===108,!1,I,Z))}}}if(na(n.name)&&(n.name.kind===208&&G<ed.BindingPatterns&&O.downlevelIteration&&Yc(n,512),Xe(n.name.elements,Wa)),n.initializer&&U0(n)&&Wl(uf(n).body)){Ze(n,f.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);return}if(na(n.name)){if(tge(n))return;const h=e1(n)&&n.initializer&&n.parent.parent.kind!==250,v=!bt(n.name.elements,JW(qc));if(h||v){const I=Zx(n);if(h){const w=Vl(n.initializer);re&&v?e4e(w,n):NE(w,Zx(n),n,n.initializer)}v&&(_v(n.name)?Xv(65,I,ye,n):re&&e4e(I,n))}return}const c=Fr(n);if(c.flags&2097152&&(ES(n)||Tne(n))){J$(n);return}n.name.kind===10&&Ze(n.name,f.A_bigint_literal_cannot_be_used_as_a_property_name);const p=yW(gr(c));if(n===c.valueDeclaration){const h=e1(n)&&_k(n);if(h&&!(Er(n)&&za(h)&&(h.properties.length===0||Db(n.name))&&!!((a=c.exports)!=null&&a.size))&&n.parent.parent.kind!==250){const I=Vl(h);NE(I,p,n,h,void 0);const w=wE(n)&7;if(w===6){const U=Fct(!0),H=dWe(!0);if(U!==Ma&&H!==Ma){const Z=_i([U,H,$t,ye]);Qd(I8(I,n),Z,h,f.The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined)}}else if(w===4){const U=dWe(!0);if(U!==Ma){const H=_i([U,$t,ye]);Qd(I8(I,n),H,h,f.The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined)}}}c.declarations&&c.declarations.length>1&&bt(c.declarations,v=>v!==n&&qN(v)&&!w3e(v,n))&&Ze(n.name,f.All_declarations_of_0_must_have_identical_modifiers,Fs(n.name))}else{const h=yW(Zx(n));!mr(p)&&!mr(h)&&!$g(p,h)&&!(c.flags&67108864)&&k3e(c.valueDeclaration,p,n,h),e1(n)&&n.initializer&&NE(Vl(n.initializer),h,n,n.initializer,void 0),c.valueDeclaration&&!w3e(n,c.valueDeclaration)&&Ze(n.name,f.All_declarations_of_0_must_have_identical_modifiers,Fs(n.name))}n.kind!==173&&n.kind!==172&&(fW(n),(n.kind===261||n.kind===209)&&Ygt(n),BL(n,n.name))}function k3e(n,a,c,p){const h=Fo(c),v=c.kind===173||c.kind===172?f.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:f.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2,I=Fs(h),w=Ze(h,v,I,sr(a),sr(p));n&&_a(w,Sr(n,f._0_was_also_declared_here,I))}function w3e(n,a){if(n.kind===170&&a.kind===261||n.kind===261&&a.kind===170)return!0;if(bI(n)!==bI(a))return!1;const c=1358;return II(n,c)===II(a,c)}function $gt(n){var a,c;(a=Ar)==null||a.push(Ar.Phase.Check,"checkVariableDeclaration",{kind:n.kind,pos:n.pos,end:n.end,path:n.tracingPath}),Pbt(n),iB(n),(c=Ar)==null||c.pop()}function Qgt(n){return Cbt(n),iB(n)}function B$(n){const a=ay(n)&7;(a===4||a===6)&&G<ed.UsingAndAwaitUsing&&Yc(n,16777216),Xe(n.declarations,Wa)}function Zgt(n){!ey(n)&&!Jye(n.declarationList)&&Lbt(n),B$(n.declarationList)}function eyt(n){Xy(n),yo(n.expression)}function tyt(n){Xy(n);const a=vW(n.expression);Sye(n.expression,a,n.thenStatement),Wa(n.thenStatement),n.thenStatement.kind===243&&Ze(n.thenStatement,f.The_body_of_an_if_statement_cannot_be_the_empty_statement),Wa(n.elseStatement)}function Sye(n,a,c){if(!re)return;p(n,c);function p(v,I){for(v=us(v),h(v,I);Nr(v)&&(v.operatorToken.kind===57||v.operatorToken.kind===61);)v=us(v.left),h(v,I)}function h(v,I){var Dt;const w=Wk(v)?us(v.right):v;if(Tg(w))return;if(Wk(w)){p(w,I);return}const U=w===v?a:yo(w);if(U.flags&1024&&Jr(w)&&((Dt=Vr(w.expression).resolvedSymbol)!=null?Dt:ie).flags&384){Ze(w,f.This_condition_will_always_return_0,U.value?"true":"false");return}const H=Jr(w)&&i3e(w.expression);if(!Lh(U,4194304)||H)return;const Z=aa(U,0),Ee=!!FL(U);if(Z.length===0&&!Ee)return;const Te=Je(w)?w:Jr(w)?w.name:void 0,Ye=Te&&dm(Te);if(!Ye&&!Ee)return;Ye&&Nr(v.parent)&&ryt(v.parent,Ye)||Ye&&I&&nyt(v,I,Te,Ye)||(Ee?Nv(w,!0,f.This_condition_will_always_return_true_since_this_0_is_always_defined,kC(U)):Ze(w,f.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead))}}function nyt(n,a,c,p){return!!Xo(a,function h(v){if(Je(v)){const I=dm(v);if(I&&I===p){if(Je(n)||Je(c)&&Nr(c.parent))return!0;let w=c.parent,U=v.parent;for(;w&&U;){if(Je(w)&&Je(U)||w.kind===110&&U.kind===110)return dm(w)===dm(U);if(Jr(w)&&Jr(U)){if(dm(w.name)!==dm(U.name))return!1;U=U.expression,w=w.expression}else if(ra(w)&&ra(U))U=U.expression,w=w.expression;else return!1}}}return Xo(v,h)})}function ryt(n,a){for(;Nr(n)&&n.operatorToken.kind===56;){if(Xo(n.right,function p(h){if(Je(h)){const v=dm(h);if(v&&v===a)return!0}return Xo(h,p)}))return!0;n=n.parent}return!1}function iyt(n){Xy(n),Wa(n.statement),vW(n.expression)}function oyt(n){Xy(n),vW(n.expression),Wa(n.statement)}function Eye(n,a){if(n.flags&16384)Ze(a,f.An_expression_of_type_void_cannot_be_tested_for_truthiness);else{const c=Aye(a);c!==3&&Ze(a,c===1?f.This_kind_of_expression_is_always_truthy:f.This_kind_of_expression_is_always_falsy)}return n}function Aye(n){switch(n=Hl(n),n.kind){case 9:return n.text==="0"||n.text==="1"?3:1;case 210:case 220:case 10:case 232:case 219:case 285:case 286:case 211:case 14:return 1;case 223:case 106:return 2;case 15:case 11:return n.text?1:2;case 228:return Aye(n.whenTrue)|Aye(n.whenFalse);case 80:return mu(n)===le?2:3}return 3}function vW(n,a){return Eye(yo(n,a),n)}function ayt(n){Xy(n)||n.initializer&&n.initializer.kind===262&&Jye(n.initializer),n.initializer&&(n.initializer.kind===262?B$(n.initializer):yo(n.initializer)),n.condition&&vW(n.condition),n.incrementor&&yo(n.incrementor),Wa(n.statement),n.locals&&b0(n)}function syt(n){M7e(n);const a=YF(n);if(n.awaitModifier?a&&Zl(a)?Dn(n.awaitModifier,f.for_await_loops_cannot_be_used_inside_a_class_static_block):(dc(a)&6)===2&&G<ed.ForAwaitOf&&Yc(n,16384):O.downlevelIteration&&G<ed.ForOf&&Yc(n,256),n.initializer.kind===262)B$(n.initializer);else{const c=n.initializer,p=oB(n);if(c.kind===210||c.kind===211)GA(c,p||rt);else{const h=yo(c);cW(c,f.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,f.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access),p&&NE(p,h,c,n.expression)}}Wa(n.statement),n.locals&&b0(n)}function lyt(n){M7e(n);const a=Pge(yo(n.expression));if(n.initializer.kind===262){const c=n.initializer.declarations[0];c&&na(c.name)&&Ze(c.name,f.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),B$(n.initializer)}else{const c=n.initializer,p=yo(c);c.kind===210||c.kind===211?Ze(c,f.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):da(Idt(a),p)?cW(c,f.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,f.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access):Ze(c,f.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}(a===vn||!Pd(a,126091264))&&Ze(n.expression,f.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,sr(a)),Wa(n.statement),n.locals&&b0(n)}function oB(n){const a=n.awaitModifier?15:13;return Xv(a,QC(n.expression),ye,n.expression)}function Xv(n,a,c,p){return Or(a)?a:Iye(n,a,c,p,!0)||He}function Iye(n,a,c,p,h){const v=(n&2)!==0;if(a===vn){p&&Dye(p,a,v);return}const I=G>=2,w=!I&&O.downlevelIteration,U=O.noUncheckedIndexedAccess&&!!(n&128);if(I||w||v){const Ye=V$(a,n,I?p:void 0);if(h&&Ye){const ht=n&8?f.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:n&32?f.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:n&64?f.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:n&16?f.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;ht&&Qd(c,Ye.nextType,p,ht)}if(Ye||I)return U?$8(Ye&&Ye.yieldType):Ye&&Ye.yieldType}let H=a,Z=!1;if(n&4){if(H.flags&1048576){const Ye=a.types,ht=Fn(Ye,Dt=>!(Dt.flags&402653316));ht!==Ye&&(H=_i(ht,2))}else H.flags&402653316&&(H=vn);if(Z=H!==a,Z&&H.flags&131072)return U?$8(yt):yt}if(!Jv(H)){if(p){const Ye=!!(n&4)&&!Z,[ht,Dt]=Te(Ye,w);Nv(p,Dt&&!!FL(H),ht,sr(H))}return Z?U?$8(yt):yt:void 0}const Ee=HT(H,jt);if(Z&&Ee)return Ee.flags&402653316&&!O.noUncheckedIndexedAccess?yt:_i(U?[Ee,yt,ye]:[Ee,yt],2);return n&128?$8(Ee):Ee;function Te(Ye,ht){var Dt;return ht?Ye?[f.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:[f.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:xye(n,0,a,void 0)?[f.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!1]:cyt((Dt=a.symbol)==null?void 0:Dt.escapedName)?[f.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!0]:Ye?[f.Type_0_is_not_an_array_type_or_a_string_type,!0]:[f.Type_0_is_not_an_array_type,!0]}}function cyt(n){switch(n){case"Float32Array":case"Float64Array":case"Int16Array":case"Int32Array":case"Int8Array":case"NodeList":case"Uint16Array":case"Uint32Array":case"Uint8Array":case"Uint8ClampedArray":return!0}return!1}function xye(n,a,c,p){if(Or(c))return;const h=V$(c,n,p);return h&&h[sAe(a)]}function T0(n=vn,a=vn,c=At){if(n.flags&67359327&&a.flags&180227&&c.flags&180227){const p=wm([n,a,c]);let h=bs.get(p);return h||(h={yieldType:n,returnType:a,nextType:c},bs.set(p,h)),h}return{yieldType:n,returnType:a,nextType:c}}function O3e(n){let a,c,p;for(const h of n)if(!(h===void 0||h===Ca)){if(h===ml)return ml;a=jn(a,h.yieldType),c=jn(c,h.returnType),p=jn(p,h.nextType)}return a||c||p?T0(a&&_i(a),c&&_i(c),p&&La(p)):Ca}function G$(n,a){return n[a]}function Zg(n,a,c){return n[a]=c}function V$(n,a,c){var p,h;if(n===Ft)return Cc;if(Or(n))return ml;if(!(n.flags&1048576)){const H=c?{errors:void 0,skipLogging:!0}:void 0,Z=W3e(n,a,c,H);if(Z===Ca){if(c){const Ee=Dye(c,n,!!(a&2));H!=null&&H.errors&&_a(Ee,...H.errors)}return}else if((p=H==null?void 0:H.errors)!=null&&p.length)for(const Ee of H.errors)ns.add(Ee);return Z}const v=a&2?"iterationTypesOfAsyncIterable":"iterationTypesOfIterable",I=G$(n,v);if(I)return I===Ca?void 0:I;let w;for(const H of n.types){const Z=c?{errors:void 0}:void 0,Ee=W3e(H,a,c,Z);if(Ee===Ca){if(c){const Te=Dye(c,n,!!(a&2));Z!=null&&Z.errors&&_a(Te,...Z.errors)}Zg(n,v,Ca);return}else if((h=Z==null?void 0:Z.errors)!=null&&h.length)for(const Te of Z.errors)ns.add(Te);w=jn(w,Ee)}const U=w?O3e(w):Ca;return Zg(n,v,U),U===Ca?void 0:U}function Rye(n,a){if(n===Ca)return Ca;if(n===ml)return ml;const{yieldType:c,returnType:p,nextType:h}=n;return a&&Qhe(!0),T0(fR(c,a)||He,fR(p,a)||He,h)}function W3e(n,a,c,p){if(Or(n))return ml;let h=!1;if(a&2){const v=F3e(n,zc)||z3e(n,zc);if(v)if(v===Ca&&c)h=!0;else return a&8?Rye(v,c):v}if(a&1){let v=F3e(n,ol)||z3e(n,ol);if(v)if(v===Ca&&c)h=!0;else if(a&2){if(v!==Ca)return v=Rye(v,c),h?v:Zg(n,"iterationTypesOfAsyncIterable",v)}else return v}if(a&2){const v=G3e(n,zc,c,p,h);if(v!==Ca)return v}if(a&1){let v=G3e(n,ol,c,p,h);if(v!==Ca)return a&2?(v=Rye(v,c),h?v:Zg(n,"iterationTypesOfAsyncIterable",v)):v}return Ca}function F3e(n,a){return G$(n,a.iterableCacheKey)}function z3e(n,a){if(Xp(n,a.getGlobalIterableType(!1))||Xp(n,a.getGlobalIteratorObjectType(!1))||Xp(n,a.getGlobalIterableIteratorType(!1))||Xp(n,a.getGlobalGeneratorType(!1))){const[c,p,h]=cl(n);return Zg(n,a.iterableCacheKey,T0(a.resolveIterationType(c,void 0)||c,a.resolveIterationType(p,void 0)||p,h))}if(aY(n,a.getGlobalBuiltinIteratorTypes())){const[c]=cl(n),p=$he(),h=At;return Zg(n,a.iterableCacheKey,T0(a.resolveIterationType(c,void 0)||c,a.resolveIterationType(p,void 0)||p,h))}}function B3e(n){const a=oWe(!1),c=a&&yn(gr(a),Pl(n));return c&&Uf(c)?Hf(c):"__@".concat(n)}function G3e(n,a,c,p,h){var Ee;const v=xa(n,B3e(a.iteratorSymbolName)),I=v&&!(v.flags&16777216)?gr(v):void 0;if(Or(I))return h?ml:Zg(n,a.iterableCacheKey,ml);const w=I?aa(I,0):void 0,U=Fn(w,Te=>Oh(Te)===0);if(!bt(U))return c&&bt(w)&&Qd(n,a.getGlobalIterableType(!0),c,void 0,void 0,p),h?Ca:Zg(n,a.iterableCacheKey,Ca);const H=La(Gt(U,hs)),Z=(Ee=V3e(H,a,c,p,h))!=null?Ee:Ca;return h?Z:Zg(n,a.iterableCacheKey,Z)}function Dye(n,a,c){const p=c?f.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:f.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator,h=!!FL(a)||!c&&yw(n.parent)&&n.parent.expression===n&&r5(!1)!==nn&&da(a,AL(r5(!1),[He,He,He]));return Nv(n,h,p,sr(a))}function dyt(n,a,c,p){return V3e(n,a,c,p,!1)}function V3e(n,a,c,p,h){if(Or(n))return ml;let v=uyt(n,a)||pyt(n,a);return v===Ca&&c&&(v=void 0,h=!0),v!=null||(v=_yt(n,a,c,p,h)),v===Ca?void 0:v}function uyt(n,a){return G$(n,a.iteratorCacheKey)}function pyt(n,a){if(Xp(n,a.getGlobalIterableIteratorType(!1))||Xp(n,a.getGlobalIteratorType(!1))||Xp(n,a.getGlobalIteratorObjectType(!1))||Xp(n,a.getGlobalGeneratorType(!1))){const[c,p,h]=cl(n);return Zg(n,a.iteratorCacheKey,T0(c,p,h))}if(aY(n,a.getGlobalBuiltinIteratorTypes())){const[c]=cl(n),p=$he(),h=At;return Zg(n,a.iteratorCacheKey,T0(c,p,h))}}function j3e(n,a){const c=yn(n,"done")||$n;return da(a===0?$n:vt,c)}function fyt(n){return j3e(n,0)}function myt(n){return j3e(n,1)}function hyt(n){if(Or(n))return ml;const a=G$(n,"iterationTypesOfIteratorResult");if(a)return a;if(Xp(n,Oct(!1))){const I=cl(n)[0];return Zg(n,"iterationTypesOfIteratorResult",T0(I,void 0,void 0))}if(Xp(n,Wct(!1))){const I=cl(n)[0];return Zg(n,"iterationTypesOfIteratorResult",T0(void 0,I,void 0))}const c=Tc(n,fyt),p=c!==vn?yn(c,"value"):void 0,h=Tc(n,myt),v=h!==vn?yn(h,"value"):void 0;return!p&&!v?Zg(n,"iterationTypesOfIteratorResult",Ca):Zg(n,"iterationTypesOfIteratorResult",T0(p,v||An,void 0))}function Cye(n,a,c,p,h){var xn,Tn;var v,I,w,U;const H=xa(n,c);if(!H&&c!=="next")return;const Z=H&&!(c==="next"&&H.flags&16777216)?c==="next"?gr(H):lm(gr(H),2097152):void 0;if(Or(Z))return ml;const Ee=Z?aa(Z,0):se;if(Ee.length===0){if(p){const cr=c==="next"?a.mustHaveANextMethodDiagnostic:a.mustBeAMethodDiagnostic;h?((xn=h.errors)!=null||(h.errors=[]),h.errors.push(Sr(p,cr,c))):Ze(p,cr,c)}return c==="next"?Ca:void 0}if(Z!=null&&Z.symbol&&Ee.length===1){const cr=a.getGlobalGeneratorType(!1),mi=a.getGlobalIteratorType(!1),ao=((I=(v=cr.symbol)==null?void 0:v.members)==null?void 0:I.get(c))===Z.symbol,ui=!ao&&((U=(w=mi.symbol)==null?void 0:w.members)==null?void 0:U.get(c))===Z.symbol;if(ao||ui){const Pi=ao?cr:mi,{mapper:Vo}=Z;return T0(qv(Pi.typeParameters[0],Vo),qv(Pi.typeParameters[1],Vo),c==="next"?qv(Pi.typeParameters[2],Vo):void 0)}}let Te,Ye;for(const cr of Ee)c!=="throw"&&bt(cr.parameters)&&(Te=jn(Te,wh(cr,0))),Ye=jn(Ye,hs(cr));let ht,Dt;if(c!=="throw"){const cr=Te?_i(Te):At;if(c==="next")Dt=cr;else if(c==="return"){const mi=a.resolveIterationType(cr,p)||He;ht=jn(ht,mi)}}let en;const Sn=Ye?La(Ye):vn,Zn=a.resolveIterationType(Sn,p)||He,yr=hyt(Zn);return yr===Ca?(p&&(h?((Tn=h.errors)!=null||(h.errors=[]),h.errors.push(Sr(p,a.mustHaveAValueDiagnostic,c))):Ze(p,a.mustHaveAValueDiagnostic,c)),en=He,ht=jn(ht,He)):(en=yr.yieldType,ht=jn(ht,yr.returnType)),T0(en,_i(ht),Dt)}function _yt(n,a,c,p,h){const v=O3e([Cye(n,a,"next",c,p),Cye(n,a,"return",c,p),Cye(n,a,"throw",c,p)]);return h?v:Zg(n,a.iteratorCacheKey,v)}function Yv(n,a,c){if(Or(a))return;const p=Nye(a,c);return p&&p[sAe(n)]}function Nye(n,a){if(Or(n))return ml;const c=a?2:1,p=a?zc:ol;return V$(n,c,void 0)||dyt(n,p,void 0,void 0)}function gyt(n){Xy(n)||Dbt(n)}function aB(n,a){const c=!!(a&1),p=!!(a&2);if(c){const h=Yv(1,n,p);return h?p?Ky(zL(h)):h:rt}return p?Ky(n)||rt:n}function U3e(n,a){const c=aB(a,dc(n));return!!(c&&(nc(c,16384)||c.flags&32769))}function yyt(n){var h;if(Xy(n))return;const a=YF(n);if(a&&Zl(a)){fd(n,f.A_return_statement_cannot_be_used_inside_a_class_static_block);return}if(!a){fd(n,f.A_return_statement_can_only_be_used_within_a_function_body);return}const c=Nf(a),p=hs(c);if(re||n.expression||p.flags&131072){const v=n.expression?Vl(n.expression):ye;if(a.kind===179)n.expression&&Ze(n,f.Setters_cannot_return_a_value);else if(a.kind===177){const I=n.expression?Vl(n.expression):ye;n.expression&&!NE(I,p,n,n.expression)&&Ze(n,f.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class)}else if(GC(a)){const I=(h=aB(p,dc(a)))!=null?h:p;j$(a,I,n,n.expression,v)}}else a.kind!==177&&O.noImplicitReturns&&!U3e(a,p)&&Ze(n,f.Not_all_code_paths_return_a_value)}function j$(n,a,c,p,h,v=!1){const I=Er(c),w=dc(n);if(p){const Te=us(p,I);if(S1(Te)){j$(n,a,c,Te.whenTrue,yo(Te.whenTrue),!0),j$(n,a,c,Te.whenFalse,yo(Te.whenFalse),!0);return}}const U=c.kind===254,H=w&2?eB(h,!1,c,f.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):h,Z=p&&A$(p);NE(H,a,U&&!v?c:Z,Z)}function vyt(n){Xy(n)||n.flags&65536&&fd(n,f.with_statements_are_not_allowed_in_an_async_function_block),yo(n.expression);const a=On(n);if(!S0(a)){const c=Kh(a,n.pos).start,p=n.statement.pos;nS(a,c,p-c,f.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any)}}function byt(n){Xy(n);let a,c=!1;const p=yo(n.expression);Xe(n.caseBlock.clauses,h=>{h.kind===298&&!c&&(a===void 0?a=h:(Dn(h,f.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),c=!0)),h.kind===297&&r(v(h)),Xe(h.statements,Wa),O.noFallthroughCasesInSwitch&&h.fallthroughFlowNode&&D5(h.fallthroughFlowNode)&&Ze(h,f.Fallthrough_case_in_switch);function v(I){return()=>{const w=yo(I.expression);dye(p,w)||sFe(w,p,I.expression,void 0)}}}),n.caseBlock.locals&&b0(n.caseBlock)}function Tyt(n){Xy(n)||Rn(n.parent,a=>Yo(a)?"quit":a.kind===257&&a.label.escapedText===n.label.escapedText?(Dn(n.label,f.Duplicate_label_0,Rl(n.label)),!0):!1),Wa(n.statement)}function Syt(n){Xy(n)||Je(n.expression)&&!n.expression.escapedText&&Vbt(n,f.Line_break_not_permitted_here),n.expression&&yo(n.expression)}function Eyt(n){Xy(n),z$(n.tryBlock);const a=n.catchClause;if(a){if(a.variableDeclaration){const c=a.variableDeclaration;iB(c);const p=Ac(c);if(p){const h=Yi(p);h&&!(h.flags&3)&&fd(p,f.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified)}else if(c.initializer)fd(c.initializer,f.Catch_clause_variable_cannot_have_an_initializer);else{const h=a.block.locals;h&&gg(a.locals,v=>{const I=h.get(v);I!=null&&I.valueDeclaration&&(I.flags&2)!==0&&Dn(I.valueDeclaration,f.Cannot_redeclare_identifier_0_in_catch_clause,Bi(v))})}}z$(a.block)}n.finallyBlock&&z$(n.finallyBlock)}function U$(n,a,c){const p=Yd(n);if(p.length===0)return;for(const v of jv(n))c&&v.flags&4194304||H3e(n,v,rR(v,8576,!0),xh(v));const h=a.valueDeclaration;if(h&&hi(h)){for(const v of h.members)if((!c&&!ha(v)||c&&ha(v))&&!zC(v)){const I=Fr(v);H3e(n,I,Ld(v.name.expression),xh(I))}}if(p.length>1)for(const v of p)Ayt(n,v)}function H3e(n,a,c,p){const h=a.valueDeclaration,v=Fo(h);if(v&&to(v))return;const I=Fhe(n,c),w=qr(n)&2?ul(n.symbol,265):void 0,U=h&&h.kind===227||v&&v.kind===168?h:void 0,H=Xc(a)===n.symbol?h:void 0;for(const Z of I){const Ee=Z.declaration&&Xc(Fr(Z.declaration))===n.symbol?Z.declaration:void 0,Te=H||Ee||(w&&!bt(rm(n),Ye=>!!SE(Ye,a.escapedName)&&!!HT(Ye,Z.keyType))?w:void 0);if(Te&&!da(p,Z.type)){const Ye=dE(Te,f.Property_0_of_type_1_is_not_assignable_to_2_index_type_3,uo(a),sr(p),sr(Z.keyType),sr(Z.type));U&&Te!==U&&_a(Ye,Sr(U,f._0_is_declared_here,uo(a))),ns.add(Ye)}}}function Ayt(n,a){const c=a.declaration,p=Fhe(n,a.keyType),h=qr(n)&2?ul(n.symbol,265):void 0,v=c&&Xc(Fr(c))===n.symbol?c:void 0;for(const I of p){if(I===a)continue;const w=I.declaration&&Xc(Fr(I.declaration))===n.symbol?I.declaration:void 0,U=v||w||(h&&!bt(rm(n),H=>!!Kg(H,a.keyType)&&!!HT(H,I.keyType))?h:void 0);U&&!da(a.type,I.type)&&Ze(U,f._0_index_type_1_is_not_assignable_to_2_index_type_3,sr(a.keyType),sr(a.type),sr(I.keyType),sr(I.type))}}function GL(n,a){switch(n.escapedText){case"any":case"unknown":case"never":case"number":case"bigint":case"boolean":case"string":case"symbol":case"void":case"object":case"undefined":Ze(n,a,n.escapedText)}}function Iyt(n){G>=1&&n.escapedText==="Object"&&e.getEmitModuleFormatOfFile(On(n))<5&&Ze(n,f.Class_name_cannot_be_Object_when_targeting_ES5_and_above_with_module_0,MR[j])}function xyt(n){const a=Fn(w0(n),hf);if(!et(a))return;const c=Er(n),p=new Set,h=new Set;if(Xe(n.parameters,({name:I},w)=>{Je(I)&&p.add(I.escapedText),na(I)&&h.add(w)}),Bhe(n)){const I=a.length-1,w=a[I];c&&w&&Je(w.name)&&w.typeExpression&&w.typeExpression.type&&!p.has(w.name.escapedText)&&!h.has(I)&&!sm(Yi(w.typeExpression.type))&&Ze(w.name,f.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type,Yr(w.name))}else Xe(a,({name:I,isNameFirst:w},U)=>{h.has(U)||Je(I)&&p.has(I.escapedText)||(Wu(I)?c&&Ze(I,f.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1,kp(I),kp(I.left)):w||Ym(c,I,f.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name,Yr(I)))})}function sB(n){let a=!1;if(n)for(let p=0;p<n.length;p++){const h=n[p];p3e(h),r(c(h,p))}function c(p,h){return()=>{p.default?(a=!0,Ryt(p.default,n,h)):a&&Ze(p,f.Required_type_parameters_may_not_follow_optional_type_parameters);for(let v=0;v<h;v++)n[v].symbol===p.symbol&&Ze(p.name,f.Duplicate_identifier_0,Fs(p.name))}}}function Ryt(n,a,c){p(n);function p(h){if(h.kind===184){const v=TY(h);if(v.flags&262144)for(let I=c;I<a.length;I++)v.symbol===Fr(a[I])&&Ze(h,f.Type_parameter_defaults_can_only_reference_previously_declared_type_parameters)}Xo(h,p)}}function q3e(n){if(n.declarations&&n.declarations.length===1)return;const a=Kr(n);if(!a.typeParametersChecked){a.typeParametersChecked=!0;const c=wyt(n);if(!c||c.length<=1)return;const p=Xs(n);if(!J3e(c,p.localTypeParameters,fb)){const h=uo(n);for(const v of c)Ze(v.name,f.All_declarations_of_0_must_have_identical_type_parameters,h)}}}function J3e(n,a,c){const p=et(a),h=rg(a);for(const v of n){const I=c(v),w=I.length;if(w<h||w>p)return!1;for(let U=0;U<w;U++){const H=I[U],Z=a[U];if(H.name.escapedText!==Z.symbol.escapedName)return!1;const Ee=zR(H),Te=Ee&&Yi(Ee),Ye=Ju(Z);if(Te&&Ye&&!$g(Te,Ye))return!1;const ht=H.default&&Yi(H.default),Dt=EE(Z);if(ht&&Dt&&!$g(ht,Dt))return!1}}return!0}function K3e(n){var h;const a=!K&&G<ed.ClassAndClassElementDecorators&&ov(!1,n),c=G<ed.PrivateNamesAndClassStaticBlocks||G<ed.ClassAndClassElementDecorators,p=!J;if(a||c)for(const v of n.members){if(a&&WG(!1,v,n))return(h=Sc(pb(n)))!=null?h:n;if(c){if(Zl(v))return v;if(ha(v)&&(nu(v)||p&&qw(v)))return v}}}function Dyt(n){var h;if(n.name)return;const a=ioe(n);if(!eV(a))return;const c=!K&&G<ed.ClassAndClassElementDecorators;let p;c&&ov(!1,n)?p=(h=Sc(pb(n)))!=null?h:n:p=K3e(n),p&&(Yc(p,4194304),(Rc(a)||ko(a)||qa(a))&&Ea(a.name)&&Yc(p,8388608))}function Cyt(n){return X3e(n),mR(n),Dyt(n),gr(Fr(n))}function Nyt(n){Xe(n.members,Wa),b0(n)}function Myt(n){const a=_n(n.modifiers,wc);K&&a&&bt(n.members,c=>Lc(c)&&nu(c))&&Dn(a,f.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator),!n.name&&!fi(n,2048)&&fd(n,f.A_class_declaration_without_the_default_modifier_must_have_a_name),X3e(n),Xe(n.members,Wa),b0(n)}function X3e(n){fbt(n),tB(n),BL(n,n.name),sB(fb(n)),fW(n);const a=Fr(n),c=Xs(a),p=Yp(c),h=gr(a);q3e(a),O$(a),j_t(n),!!(n.flags&33554432)||U_t(n);const I=lh(n);if(I){Xe(I.typeArguments,Wa),G<ed.Classes&&Yc(I.parent,1);const H=RS(n);H&&H!==I&&yo(H.expression);const Z=rm(c);Z.length&&r(()=>{const Ee=Z[0],Te=qg(c),Ye=Mu(Te);if(Lyt(Ye,I),Wa(I.expression),bt(I.typeArguments)){Xe(I.typeArguments,Wa);for(const Dt of Dh(Ye,I.typeArguments,I))if(!v3e(I,Dt.typeParameters))break}const ht=Yp(Ee,c.thisType);if(Qd(p,ht,void 0)?Qd(h,tFe(Ye),n.name||n,f.Class_static_side_0_incorrectly_extends_base_class_static_side_1):Q3e(n,p,ht,f.Class_0_incorrectly_extends_base_class_1),Te.flags&8650752&&(Sd(h)?aa(Te,1).some(en=>en.flags&4)&&!fi(n,64)&&Ze(n.name||n,f.A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract):Ze(n.name||n,f.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any)),!(Ye.symbol&&Ye.symbol.flags&32)&&!(Te.flags&8650752)){const Dt=Ch(Ye,I.typeArguments,I);Xe(Dt,en=>!C_(en.declaration)&&!$g(hs(en),Ee))&&Ze(I.expression,f.Base_constructors_must_all_have_the_same_return_type)}Oyt(c,Ee)})}Pyt(n,c,p,h);const w=iD(n);if(w)for(const H of w)(!Ps(H.expression)||tu(H.expression))&&Ze(H.expression,f.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments),gye(H),r(U(H));r(()=>{U$(c,a),U$(h,a,!0),hye(n),zyt(n)});function U(H){return()=>{const Z=km(Yi(H));if(!mr(Z))if(qz(Z)){const Ee=Z.symbol&&Z.symbol.flags&32?f.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:f.Class_0_incorrectly_implements_interface_1,Te=Yp(Z,c.thisType);Qd(p,Te,void 0)||Q3e(n,p,Te,Ee)}else Ze(H,f.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members)}}}function Pyt(n,a,c,p){const v=lh(n)&&rm(a),I=v!=null&&v.length?Yp(Qa(v),a.thisType):void 0,w=qg(a);for(const U of n.members)gV(U)||(kl(U)&&Xe(U.parameters,H=>{Lp(H,U)&&Y3e(n,p,w,I,a,c,H,!0)}),Y3e(n,p,w,I,a,c,U,!1))}function Y3e(n,a,c,p,h,v,I,w,U=!0){const H=I.name&&dm(I.name)||dm(I);return H?$3e(n,a,c,p,h,v,I6(I),PS(I),ha(I),w,H,U?I:void 0):0}function $3e(n,a,c,p,h,v,I,w,U,H,Z,Ee){const Te=Er(n),Ye=!!(n.flags&33554432);if(I&&(Z!=null&&Z.valueDeclaration)&&vc(Z.valueDeclaration)&&Z.valueDeclaration.name&&f8e(Z.valueDeclaration.name))return Ze(Ee,Te?f.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_name_is_dynamic:f.This_member_cannot_have_an_override_modifier_because_its_name_is_dynamic),2;if(p&&(I||O.noImplicitOverride)){const ht=U?a:v,Dt=U?c:p,en=xa(ht,Z.escapedName),Sn=xa(Dt,Z.escapedName),Zn=sr(p);if(en&&!Sn&&I){if(Ee){const yr=a4e(Ol(Z),Dt);yr?Ze(Ee,Te?f.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:f.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1,Zn,uo(yr)):Ze(Ee,Te?f.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:f.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0,Zn)}return 2}else if(en&&(Sn!=null&&Sn.declarations)&&O.noImplicitOverride&&!Ye){const yr=bt(Sn.declarations,PS);if(I)return 0;if(yr){if(w&&yr)return Ee&&Ze(Ee,f.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0,Zn),1}else{if(Ee){const xn=H?Te?f.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:f.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:Te?f.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:f.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0;Ze(Ee,xn,Zn)}return 1}}}else if(I){if(Ee){const ht=sr(h);Ze(Ee,Te?f.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:f.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class,ht)}return 2}return 0}function Q3e(n,a,c,p){let h=!1;for(const v of n.members){if(ha(v))continue;const I=v.name&&dm(v.name)||dm(v);if(I){const w=xa(a,I.escapedName),U=xa(c,I.escapedName);if(w&&U){const H=()=>Ko(void 0,f.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2,uo(I),sr(a),sr(c));Qd(gr(w),gr(U),v.name||v,void 0,H)||(h=!0)}}}h||Qd(a,c,n.name||n,p)}function Lyt(n,a){const c=aa(n,1);if(c.length){const p=c[0].declaration;if(p&&Fp(p,2)){const h=my(n.symbol);Oye(a,h)||Ze(a,f.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private,wv(n.symbol))}}}function kyt(n,a,c){if(!a.name)return 0;const p=Fr(n),h=Xs(p),v=Yp(h),I=gr(p),U=lh(n)&&rm(h),H=U!=null&&U.length?Yp(Qa(U),h.thisType):void 0,Z=qg(h),Ee=a.parent?I6(a):fi(a,16);return $3e(n,I,Z,H,h,v,Ee,PS(a),ha(a),!1,c)}function rN(n){return Fl(n)&1?n.links.target:n}function wyt(n){return Fn(n.declarations,a=>a.kind===264||a.kind===265)}function Oyt(n,a){var c,p,h,v,I;const w=Es(a),U=new Map;e:for(const H of w){const Z=rN(H);if(Z.flags&4194304)continue;const Ee=SE(n,Z.escapedName);if(!Ee)continue;const Te=rN(Ee),Ye=jf(Z);if(C.assert(!!Te,"derived should point to something, even if it is the base class' declaration."),Te===Z){const ht=my(n.symbol);if(Ye&64&&(!ht||!fi(ht,64))){for(const yr of rm(n)){if(yr===a)continue;const xn=SE(yr,Z.escapedName),Tn=xn&&rN(xn);if(Tn&&Tn!==Z)continue e}const Dt=sr(a),en=sr(n),Sn=uo(H),Zn=jn((c=U.get(ht))==null?void 0:c.missedProperties,Sn);U.set(ht,{baseTypeName:Dt,typeName:en,missedProperties:Zn})}}else{const ht=jf(Te);if(Ye&2||ht&2)continue;let Dt;const en=Z.flags&98308,Sn=Te.flags&98308;if(en&&Sn){if((Fl(Z)&6?(p=Z.declarations)!=null&&p.some(xn=>Z3e(xn,Ye)):(h=Z.declarations)!=null&&h.every(xn=>Z3e(xn,Ye)))||Fl(Z)&262144||Te.valueDeclaration&&Nr(Te.valueDeclaration))continue;const Zn=en!==4&&Sn===4;if(Zn||en===4&&Sn!==4){const xn=Zn?f._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:f._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor;Ze(Fo(Te.valueDeclaration)||Te.valueDeclaration,xn,uo(Z),sr(a),sr(n))}else if(Q){const xn=(v=Te.declarations)==null?void 0:v.find(Tn=>Tn.kind===173&&!Tn.initializer);if(xn&&!(Te.flags&33554432)&&!(Ye&64)&&!(ht&64)&&!((I=Te.declarations)!=null&&I.some(Tn=>!!(Tn.flags&33554432)))){const Tn=aw(my(n.symbol)),cr=xn.name;if(xn.exclamationToken||!Tn||!Je(cr)||!re||!t7e(cr,n,Tn)){const mi=f.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;Ze(Fo(Te.valueDeclaration)||Te.valueDeclaration,mi,uo(Z),sr(a))}}}continue}else if(Nge(Z)){if(Nge(Te)||Te.flags&4)continue;C.assert(!!(Te.flags&98304)),Dt=f.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor}else Z.flags&98304?Dt=f.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:Dt=f.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;Ze(Fo(Te.valueDeclaration)||Te.valueDeclaration,Dt,sr(a),uo(Z),sr(n))}}for(const[H,Z]of U)if(et(Z.missedProperties)===1)uc(H)?Ze(H,f.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1,Qa(Z.missedProperties),Z.baseTypeName):Ze(H,f.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2,Z.typeName,Qa(Z.missedProperties),Z.baseTypeName);else if(et(Z.missedProperties)>5){const Ee=Gt(Z.missedProperties.slice(0,4),Ye=>"'".concat(Ye,"'")).join(", "),Te=et(Z.missedProperties)-4;uc(H)?Ze(H,f.Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and_2_more,Z.baseTypeName,Ee,Te):Ze(H,f.Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more,Z.typeName,Z.baseTypeName,Ee,Te)}else{const Ee=Gt(Z.missedProperties,Te=>"'".concat(Te,"'")).join(", ");uc(H)?Ze(H,f.Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1,Z.baseTypeName,Ee):Ze(H,f.Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2,Z.typeName,Z.baseTypeName,Ee)}}function Z3e(n,a){return a&64&&(!ko(n)||!n.initializer)||gd(n.parent)}function Wyt(n,a,c){if(!et(a))return c;const p=new Map;Xe(c,h=>{p.set(h.escapedName,h)});for(const h of a){const v=Es(Yp(h,n.thisType));for(const I of v){const w=p.get(I.escapedName);w&&I.parent===w.parent&&p.delete(I.escapedName)}}return Mo(p.values())}function Fyt(n,a){const c=rm(n);if(c.length<2)return!0;const p=new Map;Xe(Ehe(n).declaredProperties,v=>{p.set(v.escapedName,{prop:v,containingType:n})});let h=!0;for(const v of c){const I=Es(Yp(v,n.thisType));for(const w of I){const U=p.get(w.escapedName);if(!U)p.set(w.escapedName,{prop:w,containingType:v});else if(U.containingType!==n&&!Mut(U.prop,w)){h=!1;const Z=sr(U.containingType),Ee=sr(v);let Te=Ko(void 0,f.Named_property_0_of_types_1_and_2_are_not_identical,uo(w),Z,Ee);Te=Ko(Te,f.Interface_0_cannot_simultaneously_extend_types_1_and_2,sr(n),Z,Ee),ns.add(vg(On(a),a,Te))}}}return h}function zyt(n){if(!re||!de||n.flags&33554432)return;const a=aw(n);for(const c of n.members)if(!(Gd(c)&128)&&!ha(c)&&e7e(c)){const p=c.name;if(Je(p)||to(p)||Ea(p)){const h=gr(Fr(c));h.flags&3||JC(h)||(!a||!t7e(p,h,a))&&Ze(c.name,f.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor,Fs(p))}}}function e7e(n){return n.kind===173&&!PS(n)&&!n.exclamationToken&&!n.initializer}function Byt(n,a,c,p,h){for(const v of c)if(v.pos>=p&&v.pos<=h){const I=L.createPropertyAccessExpression(L.createThis(),n);ps(I.expression,I),ps(I,v),I.flowNode=v.returnFlowNode;const w=Jy(I,a,y0(a));if(!JC(w))return!0}return!1}function t7e(n,a,c){const p=Ea(n)?L.createElementAccessExpression(L.createThis(),n.expression):L.createPropertyAccessExpression(L.createThis(),n);ps(p.expression,p),ps(p,c),p.flowNode=c.returnFlowNode;const h=Jy(p,a,y0(a));return!JC(h)}function Gyt(n){ey(n)||bbt(n),iQ(n.parent)||Dn(n,f._0_declarations_can_only_be_declared_inside_a_block,"interface"),sB(n.typeParameters),r(()=>{GL(n.name,f.Interface_name_cannot_be_0),fW(n);const a=Fr(n);q3e(a);const c=ul(a,265);if(n===c){const p=Xs(a),h=Yp(p);if(Fyt(p,n.name)){for(const v of rm(p))Qd(h,Yp(v,p.thisType),n.name,f.Interface_0_incorrectly_extends_interface_1);U$(p,a)}}h3e(n)}),Xe(oM(n),a=>{(!Ps(a.expression)||tu(a.expression))&&Ze(a.expression,f.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments),gye(a)}),Xe(n.members,Wa),r(()=>{hye(n),b0(n)})}function Vyt(n){if(ey(n),GL(n.name,f.Type_alias_name_cannot_be_0),iQ(n.parent)||Dn(n,f._0_declarations_can_only_be_declared_inside_a_block,"type"),fW(n),sB(n.typeParameters),n.type.kind===141){const a=et(n.typeParameters);(a===0?n.name.escapedText==="BuiltinIteratorReturn":a===1&&jU.has(n.name.escapedText))||Ze(n.type,f.The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types)}else Wa(n.type),b0(n)}function n7e(n){const a=Vr(n);if(!(a.flags&1024)){a.flags|=1024;let c=0,p;for(const h of n.members){const v=jyt(h,c,p);Vr(h).enumMemberValue=v,c=typeof v.value=="number"?v.value+1:void 0,p=h}}}function jyt(n,a,c){if(tk(n.name))Ze(n.name,f.Computed_property_names_are_not_allowed_in_enums);else if(bD(n.name))Ze(n.name,f.An_enum_member_cannot_have_a_numeric_name);else{const p=_I(n.name);Rg(p)&&!MM(p)&&Ze(n.name,f.An_enum_member_cannot_have_a_numeric_name)}if(n.initializer)return Uyt(n);if(n.parent.flags&33554432&&!W0(n.parent))return Hc(void 0);if(a===void 0)return Ze(n.name,f.Enum_member_must_have_initializer),Hc(void 0);if(Sm(O)&&(c!=null&&c.initializer)){const p=VA(c);typeof p.value=="number"&&!p.resolvedOtherFiles||Ze(n.name,f.Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is_enabled)}return Hc(a)}function Uyt(n){const a=W0(n.parent),c=n.initializer,p=ze(c,n);return p.value!==void 0?a&&typeof p.value=="number"&&!isFinite(p.value)?Ze(c,isNaN(p.value)?f.const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:f.const_enum_member_initializer_was_evaluated_to_a_non_finite_value):Sm(O)&&typeof p.value=="string"&&!p.isSyntacticallyString&&Ze(c,f._0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is_enabled,"".concat(Yr(n.parent.name),".").concat(_I(n.name))):a?Ze(c,f.const_enum_member_initializers_must_be_constant_expressions):n.parent.flags&33554432?Ze(c,f.In_ambient_enum_declarations_member_initializer_must_be_constant_expression):Qd(yo(c),jt,c,f.Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values),p}function r7e(n,a){const c=Gl(n,111551,!0);if(!c)return Hc(void 0);if(n.kind===80){const p=n;if(MM(p.escapedText)&&c===HC(p.escapedText,111551,void 0))return Hc(+p.escapedText,!1)}if(c.flags&8)return a?i7e(n,c,a):VA(c.valueDeclaration);if(cR(c)){const p=c.valueDeclaration;if(p&&bi(p)&&!p.type&&p.initializer&&(!a||p!==a&&ky(p,a))){const h=ze(p.initializer,p);return a&&On(a)!==On(p)?Hc(h.value,!1,!0,!0):Hc(h.value,h.isSyntacticallyString,h.resolvedOtherFiles,!0)}}return Hc(void 0)}function Hyt(n,a){const c=n.expression;if(Ps(c)&&ds(n.argumentExpression)){const p=Gl(c,111551,!0);if(p&&p.flags&384){const h=Pl(n.argumentExpression.text),v=p.exports.get(h);if(v)return C.assert(On(v.valueDeclaration)===On(p.valueDeclaration)),a?i7e(n,v,a):VA(v.valueDeclaration)}}return Hc(void 0)}function i7e(n,a,c){const p=a.valueDeclaration;if(!p||p===c)return Ze(n,f.Property_0_is_used_before_being_assigned,uo(a)),Hc(void 0);if(!ky(p,c))return Ze(n,f.A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums),Hc(0);const h=VA(p);return c.parent!==p.parent?Hc(h.value,h.isSyntacticallyString,h.resolvedOtherFiles,!0):h}function qyt(n){r(()=>Jyt(n))}function Jyt(n){ey(n),BL(n,n.name),fW(n),n.members.forEach(Wa),O.erasableSyntaxOnly&&!(n.flags&33554432)&&Ze(n,f.This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled),n7e(n);const a=Fr(n),c=ul(a,n.kind);if(n===c){if(a.declarations&&a.declarations.length>1){const h=W0(n);Xe(a.declarations,v=>{eT(v)&&W0(v)!==h&&Ze(Fo(v),f.Enum_declarations_must_all_be_const_or_non_const)})}let p=!1;Xe(a.declarations,h=>{if(h.kind!==267)return!1;const v=h;if(!v.members.length)return!1;const I=v.members[0];I.initializer||(p?Ze(I.name,f.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):p=!0)})}}function Kyt(n){to(n.name)&&Ze(n,f.An_enum_member_cannot_be_named_with_a_private_identifier),n.initializer&&yo(n.initializer)}function Xyt(n){const a=n.declarations;if(a){for(const c of a)if((c.kind===264||c.kind===263&&gm(c.body))&&!(c.flags&33554432))return c}}function Yyt(n,a){const c=sh(n),p=sh(a);return iv(c)?iv(p):iv(p)?!1:c===p}function $yt(n){n.body&&(Wa(n.body),W_(n)||b0(n)),r(a);function a(){var c,p;const h=W_(n),v=n.flags&33554432;h&&!v&&Ze(n.name,f.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context);const I=vu(n),w=I?f.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:f.A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module;if(lB(n,w))return;if(ey(n)||!v&&n.name.kind===11&&Dn(n.name,f.Only_ambient_modules_can_use_quoted_names),Je(n.name)&&(BL(n,n.name),!(n.flags&2080))){const H=On(n),Z=Hte(n),Ee=Kh(H,Z);Q1.add(kc(H,Ee.start,Ee.length,f.A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_keyword_instead))}fW(n);const U=Fr(n);if(U.flags&512&&!v&&UU(n,Cb(O))){if(O.erasableSyntaxOnly&&Ze(n.name,f.This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled),Sm(O)&&!On(n).externalModuleIndicator&&Ze(n.name,f.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,Ge),((c=U.declarations)==null?void 0:c.length)>1){const H=Xyt(U);H&&(On(n)!==On(H)?Ze(n.name,f.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):n.pos<H.pos&&Ze(n.name,f.A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged));const Z=ul(U,264);Z&&Yyt(n,Z)&&(Vr(n).flags|=2048)}if(O.verbatimModuleSyntax&&n.parent.kind===308&&e.getEmitModuleFormatOfFile(n.parent)===1){const H=(p=n.modifiers)==null?void 0:p.find(Z=>Z.kind===95);H&&Ze(H,f.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled)}}if(I)if(TS(n)){if((h||Fr(n).flags&33554432)&&n.body)for(const Z of n.body.statements)Mye(Z,h)}else iv(n.parent)?h?Ze(n.name,f.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):td(Bf(n.name))&&Ze(n.name,f.Ambient_module_declaration_cannot_specify_relative_module_name):h?Ze(n.name,f.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):Ze(n.name,f.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces)}}function Mye(n,a){switch(n.kind){case 244:for(const p of n.declarationList.declarations)Mye(p,a);break;case 278:case 279:fd(n,f.Exports_and_export_assignments_are_not_permitted_in_module_augmentations);break;case 272:if(i1(n))break;case 273:fd(n,f.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module);break;case 209:case 261:const c=n.name;if(na(c)){for(const p of c.elements)Mye(p,a);break}case 264:case 267:case 263:case 265:case 268:case 266:if(a)return;break}}function Qyt(n){switch(n.kind){case 80:return n;case 167:do n=n.left;while(n.kind!==80);return n;case 212:do{if(Tg(n.expression)&&!to(n.name))return n.name;n=n.expression}while(n.kind!==80);return n}}function H$(n){const a=vI(n);if(!a||Wl(a))return!1;if(!Oa(a))return Ze(a,f.String_literal_expected),!1;const c=n.parent.kind===269&&vu(n.parent.parent);if(n.parent.kind!==308&&!c)return Ze(a,n.kind===279?f.Export_declarations_are_not_permitted_in_a_namespace:f.Import_declarations_in_a_namespace_cannot_reference_a_module),!1;if(c&&td(a.text)&&!pL(n))return Ze(n,f.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name),!1;if(!Oc(n)&&n.attributes){const p=n.attributes.token===118?f.Import_attribute_values_must_be_string_literal_expressions:f.Import_assertion_values_must_be_string_literal_expressions;let h=!1;for(const v of n.attributes.elements)Oa(v.value)||(h=!0,Ze(v.value,p));return!h}return!0}function q$(n,a=!0){n===void 0||n.kind!==11||(a?(j===5||j===6)&&Dn(n,f.String_literal_import_and_export_names_are_not_supported_when_the_module_flag_is_set_to_es2015_or_es2020):Dn(n,f.Identifier_expected))}function J$(n){var U;var a,c,p,h,v;let I=Fr(n);const w=ud(I);if(w!==ie){if(I=os(I.exportSymbol||I),Er(n)&&!(w.flags&111551)&&!nv(n)){const Ee=hb(n)?n.propertyName||n.name:nd(n)?n.name:n;if(C.assert(n.kind!==281),n.kind===282){const Te=Ze(Ee,f.Types_cannot_appear_in_export_declarations_in_JavaScript_files),Ye=(c=(a=On(n).symbol)==null?void 0:a.exports)==null?void 0:c.get(bS(n.propertyName||n.name));if(Ye===w){const ht=(p=Ye.declarations)==null?void 0:p.find(jR);ht&&_a(Te,Sr(ht,f._0_is_automatically_exported_here,Bi(Ye.escapedName)))}}else{C.assert(n.kind!==261);const Te=Rn(n,Np(Sl,Oc)),Ye=(U=Te&&((h=yI(Te))==null?void 0:h.text))!=null?U:"...",ht=Bi(Je(Ee)?Ee.escapedText:I.escapedName);Ze(Ee,f._0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation,ht,'import("'.concat(Ye,'").').concat(ht))}return}const H=fp(w),Z=(I.flags&1160127?111551:0)|(I.flags&788968?788968:0)|(I.flags&1920?1920:0);if(H&Z){const Ee=n.kind===282?f.Export_declaration_conflicts_with_exported_declaration_of_0:f.Import_declaration_conflicts_with_local_declaration_of_0;Ze(n,Ee,uo(I))}else n.kind!==282&&O.isolatedModules&&!Rn(n,nv)&&I.flags&1160127&&Ze(n,f.Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_is_enabled,uo(I),Ge);if(Sm(O)&&!nv(n)&&!(n.flags&33554432)){const Ee=Ah(I),Te=!(H&111551);if(Te||Ee)switch(n.kind){case 274:case 277:case 272:{if(O.verbatimModuleSyntax){C.assertIsDefined(n.name,"An ImportClause with a symbol should have a name");const Ye=O.verbatimModuleSyntax&&i1(n)?f.An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled:Te?f._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:f._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled,ht=Sb(n.kind===277&&n.propertyName||n.name);Bo(Ze(n,Ye,ht),Te?void 0:Ee,ht)}Te&&n.kind===272&&Fp(n,32)&&Ze(n,f.Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled,Ge);break}case 282:if(O.verbatimModuleSyntax||On(Ee)!==On(n)){const Ye=Sb(n.propertyName||n.name),ht=Te?Ze(n,f.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type,Ge):Ze(n,f._0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled,Ye,Ge);Bo(ht,Te?void 0:Ee,Ye);break}}if(O.verbatimModuleSyntax&&n.kind!==272&&!Er(n)&&e.getEmitModuleFormatOfFile(On(n))===1?Ze(n,Z1(n)):j===200&&n.kind!==272&&n.kind!==261&&e.getEmitModuleFormatOfFile(On(n))===1&&Ze(n,f.ECMAScript_module_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve),O.verbatimModuleSyntax&&!nv(n)&&!(n.flags&33554432)&&H&128){const Ye=w.valueDeclaration,ht=(v=e.getRedirectFromOutput(On(Ye).resolvedPath))==null?void 0:v.resolvedRef;Ye.flags&33554432&&(!ht||!Cb(ht.commandLine.options))&&Ze(n,f.Cannot_access_ambient_const_enums_when_0_is_enabled,Ge)}}if(Au(n)){const Ee=Pye(I,n);Cu(Ee)&&Ee.declarations&&Pm(n,Ee.declarations,Ee.escapedName)}}}function Pye(n,a){if(!(n.flags&2097152)||Cu(n)||!pp(n))return n;const c=ud(n);if(c===ie)return c;for(;n.flags&2097152;){const p=m$(n);if(p){if(p===c)break;if(p.declarations&&et(p.declarations))if(Cu(p)){Pm(a,p.declarations,p.escapedName);break}else{if(n===c)break;n=p}}else break}return c}function K$(n){BL(n,n.name),J$(n),n.kind===277&&(q$(n.propertyName),O_(n.propertyName||n.name)&&n_(O)&&e.getEmitModuleFormatOfFile(On(n))<4&&Yc(n,131072))}function Lye(n){var a;const c=n.attributes;if(c){const p=Xhe(!0);p!==Ma&&Qd(mhe(c),b5(p,32768),c);const h=RH(n),v=JD(c,h?Dn:void 0),I=n.attributes.token===118;if(h&&v)return;if(!Are(j))return Dn(c,I?f.Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_node18_node20_nodenext_or_preserve:f.Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_node18_node20_nodenext_or_preserve);if(102<=j&&j<=199&&!I)return fd(c,f.Import_assertions_have_been_replaced_by_import_attributes_Use_with_instead_of_assert);if(n.moduleSpecifier&&wy(n.moduleSpecifier)===1)return Dn(c,I?f.Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:f.Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls);if(d_(n)||(Sl(n)?(a=n.importClause)==null?void 0:a.isTypeOnly:n.isTypeOnly))return Dn(c,I?f.Import_attributes_cannot_be_used_with_type_only_imports_or_exports:f.Import_assertions_cannot_be_used_with_type_only_imports_or_exports);if(v)return Dn(c,f.resolution_mode_can_only_be_set_for_type_only_imports)}}function Zyt(n){return Pu(Vl(n.value))}function evt(n){if(!lB(n,Er(n)?f.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:f.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)){if(!ey(n)&&n.modifiers&&fd(n,f.An_import_declaration_cannot_have_modifiers),H$(n)){let a;const c=n.importClause;c&&!Ubt(c)?(c.name&&K$(c),c.namedBindings&&(c.namedBindings.kind===275?(K$(c.namedBindings),e.getEmitModuleFormatOfFile(On(n))<4&&n_(O)&&Yc(n,65536)):(a=pu(n,n.moduleSpecifier),a&&Xe(c.namedBindings.elements,K$))),!c.isTypeOnly&&101<=j&&j<=199&&r0(n.moduleSpecifier,a)&&!tvt(n)&&Ze(n.moduleSpecifier,f.Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_module_is_set_to_0,MR[j])):je&&!c&&pu(n,n.moduleSpecifier)}Lye(n)}}function tvt(n){return!!n.attributes&&n.attributes.elements.some(a=>{var c;return Bf(a.name)==="type"&&((c=ii(a.value,ds))==null?void 0:c.text)==="json"})}function nvt(n){if(!lB(n,Er(n)?f.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:f.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)&&(ey(n),O.erasableSyntaxOnly&&!(n.flags&33554432)&&Ze(n,f.This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled),i1(n)||H$(n)))if(K$(n),dR(n,6),n.moduleReference.kind!==284){const a=ud(Fr(n));if(a!==ie){const c=fp(a);if(c&111551){const p=Ou(n.moduleReference);Gl(p,112575).flags&1920||Ze(p,f.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,Fs(p))}c&788968&&GL(n.name,f.Import_name_cannot_be_0)}n.isTypeOnly&&Dn(n,f.An_import_alias_cannot_use_import_type)}else 5<=j&&j<=99&&!n.isTypeOnly&&!(n.flags&33554432)&&Dn(n,f.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead)}function rvt(n){if(!lB(n,Er(n)?f.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:f.An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)){if(!ey(n)&&Kne(n)&&fd(n,f.An_export_declaration_cannot_have_modifiers),ivt(n),!n.moduleSpecifier||H$(n))if(n.exportClause&&!V_(n.exportClause)){Xe(n.exportClause.elements,ovt);const a=n.parent.kind===269&&vu(n.parent.parent),c=!a&&n.parent.kind===269&&!n.moduleSpecifier&&n.flags&33554432;n.parent.kind!==308&&!a&&!c&&Ze(n,f.Export_declarations_are_not_permitted_in_a_namespace)}else{const a=pu(n,n.moduleSpecifier);a&&Zm(a)?Ze(n.moduleSpecifier,f.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,uo(a)):n.exportClause&&(J$(n.exportClause),q$(n.exportClause.name)),e.getEmitModuleFormatOfFile(On(n))<4&&(n.exportClause?n_(O)&&Yc(n,65536):Yc(n,32768))}Lye(n)}}function ivt(n){var a;return n.isTypeOnly&&((a=n.exportClause)==null?void 0:a.kind)===280?z7e(n.exportClause):!1}function lB(n,a){const c=n.parent.kind===308||n.parent.kind===269||n.parent.kind===268;return c||fd(n,a),!c}function ovt(n){J$(n);const a=n.parent.parent.moduleSpecifier!==void 0;if(q$(n.propertyName,a),q$(n.name),vp(O)&&WC(n.propertyName||n.name,!0),a)n_(O)&&e.getEmitModuleFormatOfFile(On(n))<4&&O_(n.propertyName||n.name)&&Yc(n,131072);else{const c=n.propertyName||n.name;if(c.kind===11)return;const p=gt(c,c.escapedText,2998271,void 0,!0);p&&(p===le||p===De||p.declarations&&iv(Pt(p.declarations[0])))?Ze(c,f.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,Yr(c)):dR(n,7)}}function avt(n){const a=n.isExportEquals?f.An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:f.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration;if(lB(n,a))return;O.erasableSyntaxOnly&&n.isExportEquals&&!(n.flags&33554432)&&Ze(n,f.This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled);const c=n.parent.kind===308?n.parent:n.parent.parent;if(c.kind===268&&!vu(c)){n.isExportEquals?Ze(n,f.An_export_assignment_cannot_be_used_in_a_namespace):Ze(n,f.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);return}!ey(n)&&_V(n)&&fd(n,f.An_export_assignment_cannot_have_modifiers);const p=Ac(n);p&&Qd(Vl(n.expression),Yi(p),n.expression);const h=!n.isExportEquals&&!(n.flags&33554432)&&O.verbatimModuleSyntax&&e.getEmitModuleFormatOfFile(On(n))===1;if(n.expression.kind===80){const v=n.expression,I=St(Gl(v,-1,!0,!0,n));if(I){dR(n,3);const w=Ah(I,111551);if(fp(I)&111551?(Vl(v),!h&&!(n.flags&33554432)&&O.verbatimModuleSyntax&&w&&Ze(v,n.isExportEquals?f.An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:f.An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration,Yr(v))):!h&&!(n.flags&33554432)&&O.verbatimModuleSyntax&&Ze(v,n.isExportEquals?f.An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:f.An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type,Yr(v)),!h&&!(n.flags&33554432)&&Sm(O)&&!(I.flags&111551)){const U=fp(I,!1,!0);I.flags&2097152&&U&788968&&!(U&111551)&&(!w||On(w)!==On(n))?Ze(v,n.isExportEquals?f._0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported:f._0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default,Yr(v),Ge):w&&On(w)!==On(n)&&Bo(Ze(v,n.isExportEquals?f._0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_import_type_where_0_is_imported:f._0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enabled_Consider_using_export_type_0_as_default,Yr(v),Ge),w,Yr(v))}}else Vl(v);vp(O)&&WC(v,!0)}else Vl(n.expression);h&&Ze(n,Z1(n)),o7e(c),n.flags&33554432&&!Ps(n.expression)&&Dn(n.expression,f.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),n.isExportEquals&&(j>=5&&j!==200&&(n.flags&33554432&&e.getImpliedNodeFormatForEmit(On(n))===99||!(n.flags&33554432)&&e.getImpliedNodeFormatForEmit(On(n))!==1)?Dn(n,f.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):j===4&&!(n.flags&33554432)&&Dn(n,f.Export_assignment_is_not_supported_when_module_flag_is_system))}function svt(n){return Uc(n.exports,(a,c)=>c!=="export=")}function o7e(n){const a=Fr(n),c=Kr(a);if(!c.exportsChecked){const p=a.exports.get("export=");if(p&&svt(a)){const v=pp(p)||p.valueDeclaration;v&&!pL(v)&&!Er(v)&&Ze(v,f.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}const h=b_(a);h&&h.forEach(({declarations:v,flags:I},w)=>{if(w==="__export"||I&1920)return;const U=po(v,qW(PHe,JW(gd)));if(!(I&524288&&U<=2)&&U>1&&!X$(v))for(const H of v)oAe(H)&&ns.add(Sr(H,f.Cannot_redeclare_exported_variable_0,Bi(w)))}),c.exportsChecked=!0}}function X$(n){return n&&n.length>1&&n.every(a=>Er(a)&&Qs(a)&&(o1(a.expression)||Tg(a.expression)))}function Wa(n){if(n){const a=R;R=n,y=0,lvt(n),R=a}}function lvt(n){if(_R(n)&8388608)return;Ak(n)&&Xe(n.jsDoc,({comment:c,tags:p})=>{a7e(c),Xe(p,h=>{a7e(h.comment),Er(n)&&Wa(h)})});const a=n.kind;if(i)switch(a){case 268:case 264:case 265:case 263:i.throwIfCancellationRequested()}switch(a>=244&&a<=260&&nD(n)&&n.flowNode&&!D5(n.flowNode)&&Ym(O.allowUnreachableCode===!1,n,f.Unreachable_code_detected),a){case 169:return p3e(n);case 170:return f3e(n);case 173:return _3e(n);case 172:return H_t(n);case 186:case 185:case 180:case 181:case 182:return uW(n);case 175:case 174:return q_t(n);case 176:return J_t(n);case 177:return K_t(n);case 178:case 179:return y3e(n);case 184:return gye(n);case 183:return G_t(n);case 187:return egt(n);case 188:return tgt(n);case 189:return ngt(n);case 190:return rgt(n);case 193:case 194:return igt(n);case 197:case 191:case 192:return Wa(n.type);case 198:return lgt(n);case 199:return cgt(n);case 195:return dgt(n);case 196:return ugt(n);case 204:return pgt(n);case 206:return fgt(n);case 203:return mgt(n);case 329:return kgt(n);case 330:return Lgt(n);case 347:case 339:case 341:return Egt(n);case 346:return Agt(n);case 345:return Igt(n);case 325:case 326:case 327:return Rgt(n);case 342:return Dgt(n);case 349:return Cgt(n);case 318:Ngt(n);case 316:case 315:case 313:case 314:case 323:s7e(n),Xo(n,Wa);return;case 319:cvt(n);return;case 310:return Wa(n.type);case 334:case 336:case 335:return wgt(n);case 351:return xgt(n);case 344:return Mgt(n);case 352:return Pgt(n);case 200:return ogt(n);case 201:return agt(n);case 263:return Sgt(n);case 242:case 269:return z$(n);case 244:return Zgt(n);case 245:return eyt(n);case 246:return tyt(n);case 247:return iyt(n);case 248:return oyt(n);case 249:return ayt(n);case 250:return lyt(n);case 251:return syt(n);case 252:case 253:return gyt(n);case 254:return yyt(n);case 255:return vyt(n);case 256:return byt(n);case 257:return Tyt(n);case 258:return Syt(n);case 259:return Eyt(n);case 261:return $gt(n);case 209:return Qgt(n);case 264:return Myt(n);case 265:return Gyt(n);case 266:return Vyt(n);case 267:return qyt(n);case 307:return Kyt(n);case 268:return $yt(n);case 273:return evt(n);case 272:return nvt(n);case 279:return rvt(n);case 278:return avt(n);case 243:case 260:Xy(n);return;case 283:return Y_t(n)}}function a7e(n){Lo(n)&&Xe(n,a=>{dI(a)&&Wa(a)})}function s7e(n){if(!Er(n))if(x4(n)||CD(n)){const a=Ta(x4(n)?54:58),c=n.postfix?f._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:f._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1,p=n.type,h=Yi(p);Dn(n,c,a,sr(CD(n)&&!(h===vn||h===An)?_i(jn([h,ye],n.postfix?void 0:$t)):h))}else Dn(n,f.JSDoc_types_can_only_be_used_inside_documentation_comments)}function cvt(n){s7e(n),Wa(n.type);const{parent:a}=n;if(no(a)&&ND(a.parent)){Ga(a.parent.parameters)!==a&&Ze(n,f.A_rest_parameter_must_be_last_in_a_parameter_list);return}nT(a)||Ze(n,f.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);const c=n.parent.parent;if(!hf(c)){Ze(n,f.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);return}const p=Ik(c);if(!p)return;const h=G0(c);(!h||Ga(h.parameters).symbol!==p)&&Ze(n,f.A_rest_parameter_must_be_last_in_a_parameter_list)}function dvt(n){const a=Yi(n.type),{parent:c}=n,p=n.parent.parent;if(nT(n.parent)&&hf(p)){const h=G0(p),v=Lj(p.parent.parent);if(h||v){const I=rl(v?p.parent.parent.typeExpression.parameters:h.parameters),w=Ik(p);if(!I||w&&I.symbol===w&&w_(I))return $d(a)}}return no(c)&&ND(c.parent)?$d(a):fu(a)}function mR(n){const a=On(n),c=Vr(a);c.flags&1?C.assert(!c.deferredNodes,"A type-checked file should have no deferred nodes."):(c.deferredNodes||(c.deferredNodes=new Set),c.deferredNodes.add(n))}function l7e(n){const a=Vr(n);a.deferredNodes&&a.deferredNodes.forEach(uvt),a.deferredNodes=void 0}function uvt(n){var a,c;(a=Ar)==null||a.push(Ar.Phase.Check,"checkDeferredNode",{kind:n.kind,pos:n.pos,end:n.end,path:n.tracingPath});const p=R;switch(R=n,y=0,n.kind){case 214:case 215:case 216:case 171:case 287:zA(n);break;case 219:case 220:case 175:case 174:n_t(n);break;case 178:case 179:y3e(n);break;case 232:Nyt(n);break;case 169:B_t(n);break;case 286:cmt(n);break;case 285:umt(n);break;case 217:case 235:case 218:xht(n);break;case 223:yo(n.expression);break;case 227:D6(n)&&zA(n);break}R=p,(c=Ar)==null||c.pop()}function pvt(n,a){var c,p;(c=Ar)==null||c.push(Ar.Phase.Check,a?"checkSourceFileNodes":"checkSourceFile",{path:n.path},!0);const h=a?"beforeCheckNodes":"beforeCheck",v=a?"afterCheckNodes":"afterCheck";Nl(h),a?mvt(n,a):fvt(n),Nl(v),Of("Check",h,v),(p=Ar)==null||p.pop()}function c7e(n,a){if(a)return!1;switch(n){case 0:return!!O.noUnusedLocals;case 1:return!!O.noUnusedParameters;default:return C.assertNever(n)}}function d7e(n){return Yn.get(n.path)||se}function fvt(n){const a=Vr(n);if(!(a.flags&1)){if(_D(n,O,e))return;W7e(n),ai(Yb),ai(Dv),ai(Dy),ai(Cy),ai(Ny),a.flags&8388608&&(Yb=a.potentialThisCollisions,Dv=a.potentialNewTargetCollisions,Dy=a.potentialWeakMapSetCollisions,Cy=a.potentialReflectCollisions,Ny=a.potentialUnusedRenamedBindingElementsInTypes),Xe(n.statements,Wa),Wa(n.endOfFileToken),l7e(n),wp(n)&&b0(n),r(()=>{!n.isDeclarationFile&&(O.noUnusedLocals||O.noUnusedParameters)&&C3e(d7e(n),(c,p,h)=>{!mI(c)&&c7e(p,!!(c.flags&33554432))&&ns.add(h)}),n.isDeclarationFile||zgt()}),wp(n)&&o7e(n),Yb.length&&(Xe(Yb,Vgt),ai(Yb)),Dv.length&&(Xe(Dv,jgt),ai(Dv)),Dy.length&&(Xe(Dy,Jgt),ai(Dy)),Cy.length&&(Xe(Cy,Xgt),ai(Cy)),a.flags|=1}}function mvt(n,a){const c=Vr(n);if(!(c.flags&1)){if(_D(n,O,e))return;W7e(n),ai(Yb),ai(Dv),ai(Dy),ai(Cy),ai(Ny),Xe(a,Wa),l7e(n),(c.potentialThisCollisions||(c.potentialThisCollisions=[])).push(...Yb),(c.potentialNewTargetCollisions||(c.potentialNewTargetCollisions=[])).push(...Dv),(c.potentialWeakMapSetCollisions||(c.potentialWeakMapSetCollisions=[])).push(...Dy),(c.potentialReflectCollisions||(c.potentialReflectCollisions=[])).push(...Cy),(c.potentialUnusedRenamedBindingElementsInTypes||(c.potentialUnusedRenamedBindingElementsInTypes=[])).push(...Ny),c.flags|=8388608;for(const p of a){const h=Vr(p);h.flags|=8388608}}}function u7e(n,a,c){try{return i=a,hvt(n,c)}finally{i=void 0}}function kye(){for(const n of t)n();t=[]}function wye(n,a){kye();const c=r;r=p=>p(),pvt(n,a),r=c}function hvt(n,a){if(n){kye();const c=ns.getGlobalDiagnostics(),p=c.length;wye(n,a);const h=ns.getDiagnostics(n.fileName);if(a)return h;const v=ns.getGlobalDiagnostics();if(v!==c){const I=eZ(c,v,bM);return co(I,h)}else if(p===0&&v.length>0)return co(v,h);return h}return Xe(e.getSourceFiles(),c=>wye(c)),ns.getDiagnostics()}function _vt(){return kye(),ns.getGlobalDiagnostics()}function gvt(n,a){if(n.flags&67108864)return[];const c=ma();let p=!1;return h(),c.delete("this"),zhe(c);function h(){for(;n;){switch(k_(n)&&n.locals&&!iv(n)&&I(n.locals,a),n.kind){case 308:if(!Wc(n))break;case 268:w(Fr(n).exports,a&2623475);break;case 267:I(Fr(n).exports,a&8);break;case 232:n.name&&v(n.symbol,a);case 264:case 265:p||I(tg(Fr(n)),a&788968);break;case 219:n.name&&v(n.symbol,a);break}pne(n)&&v(_e,a),p=ha(n),n=n.parent}I(lt,a)}function v(U,H){if(uD(U)&H){const Z=U.escapedName;c.has(Z)||c.set(Z,U)}}function I(U,H){H&&U.forEach(Z=>{v(Z,H)})}function w(U,H){H&&U.forEach(Z=>{!ul(Z,282)&&!ul(Z,281)&&Z.escapedName!=="default"&&v(Z,H)})}}function yvt(n){return n.kind===80&&wI(n.parent)&&Fo(n.parent)===n}function p7e(n){for(;n.parent.kind===167;)n=n.parent;return n.parent.kind===184}function vvt(n){for(;n.parent.kind===212;)n=n.parent;return n.parent.kind===234}function f7e(n,a){let c,p=hd(n);for(;p&&!(c=a(p));)p=hd(p);return c}function bvt(n){return!!Rn(n,a=>kl(a)&&gm(a.body)||ko(a)?!0:hi(a)||ks(a)?"quit":!1)}function Oye(n,a){return!!f7e(n,c=>c===a)}function Tvt(n){for(;n.parent.kind===167;)n=n.parent;if(n.parent.kind===272)return n.parent.moduleReference===n?n.parent:void 0;if(n.parent.kind===278)return n.parent.expression===n?n.parent:void 0}function Y$(n){return Tvt(n)!==void 0}function Svt(n){switch(ac(n.parent.parent)){case 1:case 3:return Rf(n.parent);case 5:if(Jr(n.parent)&&pD(n.parent)===n)return;case 4:case 2:return Fr(n.parent.parent)}}function Evt(n){let a=n.parent;for(;Wu(a);)n=a,a=a.parent;if(a&&a.kind===206&&a.qualifier===n)return a}function Avt(n){if(n.expression.kind===110){const a=bu(n,!1,!1);if(Yo(a)){const c=E6e(a);if(c){const p=tS(c,void 0),h=I6e(c,p);return h&&!Or(h)}}}}function m7e(n){if(z_(n))return Rf(n.parent);if(Er(n)&&n.parent.kind===212&&n.parent===n.parent.parent.left&&!to(n)&&!rT(n)&&!Avt(n.parent)){const a=Svt(n);if(a)return a}if(n.parent.kind===278&&Ps(n)){const a=Gl(n,2998271,!0);if(a&&a!==ie)return a}else if(ku(n)&&Y$(n)){const a=j0(n,272);return C.assert(a!==void 0),a0(n,!0)}if(ku(n)){const a=Evt(n);if(a){Yi(a);const c=Vr(n).resolvedSymbol;return c===ie?void 0:c}}for(;ere(n);)n=n.parent;if(vvt(n)){let a=0;n.parent.kind===234?(a=Yh(n)?788968:111551,R6(n.parent)&&(a|=111551)):a=1920,a|=2097152;const c=Ps(n)?Gl(n,a,!0):void 0;if(c)return c}if(n.parent.kind===342)return Ik(n.parent);if(n.parent.kind===169&&n.parent.parent.kind===346){C.assert(!Er(n));const a=Dne(n.parent);return a&&a.symbol}if(F_(n)){if(Wl(n))return;const a=Rn(n,Np(dI,KM,rT)),c=a?901119:111551;if(n.kind===80){if(ZR(n)&&pR(n)){const h=_$(n.parent);return h===ie?void 0:h}const p=Gl(n,c,!0,!0,G0(n));if(!p&&a){const h=Rn(n,Np(hi,gd));if(h)return cB(n,!0,Fr(h))}if(p&&a){const h=IS(n);if(h&&gy(h)&&h===p.valueDeclaration)return Gl(n,c,!0,!0,On(h))||p}return p}else{if(to(n))return b$(n);if(n.kind===212||n.kind===167){const p=Vr(n);return p.resolvedSymbol?p.resolvedSymbol:(n.kind===212?(v$(n,0),p.resolvedSymbol||(p.resolvedSymbol=h7e(Vl(n.expression),zy(n.name)))):t4e(n,0),!p.resolvedSymbol&&a&&Wu(n)?cB(n):p.resolvedSymbol)}else if(rT(n))return cB(n)}}else if(ku(n)&&p7e(n)){const a=n.parent.kind===184?788968:1920,c=Gl(n,a,!0,!0);return c&&c!==ie?c:yY(n)}if(n.parent.kind===183)return Gl(n,1,!0)}function h7e(n,a){const c=Fhe(n,a);if(c.length&&n.members){const p=mY(Nh(n).members);if(c===Yd(n))return p;if(p){const h=Kr(p),v=Hi(c,w=>w.declaration),I=Gt(v,ls).join(",");if(h.filteredIndexSymbolCache||(h.filteredIndexSymbolCache=new Map),h.filteredIndexSymbolCache.has(I))return h.filteredIndexSymbolCache.get(I);{const w=Ua(131072,"__index");return w.declarations=Hi(c,U=>U.declaration),w.parent=n.aliasSymbol?n.aliasSymbol:n.symbol?n.symbol:dm(w.declarations[0].parent),h.filteredIndexSymbolCache.set(I,w),w}}}}function cB(n,a,c){if(ku(n)){let I=Gl(n,901119,a,!0,G0(n));if(!I&&Je(n)&&c&&(I=os(Td(Kp(c),n.escapedText,901119))),I)return I}const p=Je(n)?c:cB(n.left,a,c),h=Je(n)?n.escapedText:n.right.escapedText;if(p){const v=p.flags&111551&&xa(gr(p),"prototype"),I=v?gr(v):Xs(p);return xa(I,h)}}function dm(n,a){var h;if(Qi(n))return Wc(n)?os(n.symbol):void 0;const{parent:c}=n,p=c.parent;if(!(n.flags&67108864)){if(aAe(n)){const v=Fr(c);return hb(n.parent)&&n.parent.propertyName===n?m$(v):v}else if(Rk(n))return Fr(c.parent);if(n.kind===80){if(Y$(n))return m7e(n);if(c.kind===209&&p.kind===207&&n===c.propertyName){const v=hR(p),I=xa(v,n.escapedText);if(I)return I}else if(E1(c)&&c.name===n)return c.keywordToken===105&&Yr(n)==="target"?Qge(c).symbol:c.keywordToken===102&&Yr(n)==="meta"?rWe().members.get("meta"):void 0}switch(n.kind){case 80:case 81:case 212:case 167:if(!NS(n))return m7e(n);case 110:const v=bu(n,!1,!1);if(Yo(v)){const U=Nf(v);if(U.thisParameter)return U.thisParameter}if(t6(n))return yo(n).symbol;case 198:return y_e(n).symbol;case 108:return yo(n).symbol;case 137:const I=n.parent;return I&&I.kind===177?I.parent.symbol:void 0;case 11:case 15:if(z0(n.parent.parent)&&YN(n.parent.parent)===n||(n.parent.kind===273||n.parent.kind===279)&&n.parent.moduleSpecifier===n||Er(n)&&d_(n.parent)&&n.parent.moduleSpecifier===n||Er(n)&&tp(n.parent,!1)||ep(n.parent)||hv(n.parent)&&ly(n.parent.parent)&&n.parent.parent.argument===n.parent)return pu(n,n,a);if(ra(c)&&a1(c)&&c.arguments[1]===n)return Fr(c);case 9:const w=Bs(c)?c.argumentExpression===n?Ld(c.expression):void 0:hv(c)&&BS(p)?Yi(p.objectType):void 0;return w&&xa(w,Pl(n.text));case 90:case 100:case 39:case 86:return Rf(n.parent);case 206:return ly(n)?dm(n.argument.literal,a):void 0;case 95:return fl(n.parent)?C.checkDefined(n.parent.symbol):void 0;case 102:if(E1(n.parent)&&n.parent.name.escapedText==="defer")return;case 105:return E1(n.parent)?z4e(n.parent).symbol:void 0;case 104:if(Nr(n.parent)){const U=Ld(n.parent.right),H=cye(U);return(h=H==null?void 0:H.symbol)!=null?h:U.symbol}return;case 237:return yo(n).symbol;case 296:if(ZR(n)&&pR(n)){const U=_$(n.parent);return U===ie?void 0:U}default:return}}}function Ivt(n){if(Je(n)&&Jr(n.parent)&&n.parent.name===n){const a=zy(n),c=Ld(n.parent.expression),p=c.flags&1048576?c.types:[c];return Wi(p,h=>Fn(Yd(h),v=>tR(a,v.keyType)))}}function xvt(n){if(n&&n.kind===305)return Gl(n.name,2208703,!0)}function Rvt(n){if(ou(n)){const a=n.propertyName||n.name;return n.parent.parent.moduleSpecifier?kT(n.parent.parent,n):a.kind===11?void 0:Gl(a,2998271,!0)}else return Gl(n,2998271,!0)}function hR(n){if(Qi(n)&&!Wc(n)||n.flags&67108864)return rt;const a=TV(n),c=a&&im(Fr(a.class));if(Yh(n)){const p=Yi(n);return c?Yp(p,c.thisType):p}if(F_(n))return _7e(n);if(c&&!a.isImplements){const p=Sc(rm(c));return p?Yp(p,c.thisType):rt}if(wI(n)){const p=Fr(n);return Xs(p)}if(yvt(n)){const p=dm(n);return p?Xs(p):rt}if(qa(n))return $x(n,!0,0)||rt;if(rd(n)){const p=Fr(n);return p?gr(p):rt}if(aAe(n)){const p=dm(n);return p?gr(p):rt}if(na(n))return $x(n.parent,!0,0)||rt;if(Y$(n)){const p=dm(n);if(p){const h=Xs(p);return mr(h)?gr(p):h}}return E1(n.parent)&&n.parent.keywordToken===n.kind?z4e(n.parent):I1(n)?Xhe(!1):rt}function $$(n){if(C.assert(n.kind===211||n.kind===210),n.parent.kind===251){const h=oB(n.parent);return GA(n,h||rt)}if(n.parent.kind===227){const h=Ld(n.parent.right);return GA(n,h||rt)}if(n.parent.kind===304){const h=va(n.parent.parent,za),v=$$(h)||rt,I=qR(h.properties,n.parent);return e3e(h,v,I)}const a=va(n.parent,Dd),c=$$(a)||rt,p=Xv(65,c,ye,n.parent)||rt;return t3e(a,c,a.elements.indexOf(n),p)}function Dvt(n){const a=$$(va(n.parent.parent,BN));return a&&xa(a,n.escapedText)}function _7e(n){return mM(n)&&(n=n.parent),Pu(Ld(n))}function g7e(n){const a=Rf(n.parent);return ha(n)?gr(a):Xs(a)}function y7e(n){const a=n.name;switch(a.kind){case 80:return Ip(Yr(a));case 9:case 11:return Ip(a.text);case 168:const c=nh(a);return Pd(c,12288)?c:yt;default:return C.fail("Unsupported property name.")}}function Wye(n){n=Mu(n);const a=ma(Es(n)),c=aa(n,0).length?bo:aa(n,1).length?es:void 0;return c&&Xe(Es(c),p=>{a.has(p.escapedName)||a.set(p.escapedName,p)}),qu(a)}function Q$(n){return aa(n,0).length!==0||aa(n,1).length!==0}function v7e(n){const a=Cvt(n);return a?Wi(a,v7e):[n]}function Cvt(n){if(Fl(n)&6)return Hi(Kr(n).containingType.types,a=>xa(a,n.escapedName));if(n.flags&33554432){const{links:{leftSpread:a,rightSpread:c,syntheticOrigin:p}}=n;return a?[a,c]:p?[p]:tI(Nvt(n))}}function Nvt(n){let a,c=n;for(;c=Kr(c).target;)a=c;return a}function Mvt(n){if(yl(n))return!1;const a=Ho(n,Je);if(!a)return!1;const c=a.parent;return c?!((Jr(c)||Rc(c))&&c.name===a)&&TW(a)===_e:!1}function Pvt(n){return q2(n.parent)&&n===n.parent.name}function Lvt(n,a){var c;const p=Ho(n,Je);if(p){let h=TW(p,Pvt(p));if(h){if(h.flags&1048576){const I=os(h.exportSymbol);if(!a&&I.flags&944&&!(I.flags&3))return;h=I}const v=Xc(h);if(v){if(v.flags&512&&((c=v.valueDeclaration)==null?void 0:c.kind)===308){const I=v.valueDeclaration,w=On(p);return I!==w?void 0:I}return Rn(p.parent,I=>q2(I)&&Fr(I)===v)}}}}function kvt(n){const a=Tie(n);if(a)return a;const c=Ho(n,Je);if(c){const p=Xvt(c);if(oA(p,111551)&&!Ah(p,111551))return pp(p)}}function wvt(n){return n.valueDeclaration&&qa(n.valueDeclaration)&&JE(n.valueDeclaration).parent.kind===300}function b7e(n){if(n.flags&418&&n.valueDeclaration&&!Qi(n.valueDeclaration)){const a=Kr(n);if(a.isDeclarationWithCollidingName===void 0){const c=sh(n.valueDeclaration);if(Vte(c)||wvt(n))if(gt(c.parent,n.escapedName,111551,void 0,!1))a.isDeclarationWithCollidingName=!0;else if(Fye(n.valueDeclaration,16384)){const p=Fye(n.valueDeclaration,32768),h=yb(c,!1),v=c.kind===242&&yb(c.parent,!1);a.isDeclarationWithCollidingName=!Yte(c)&&(!p||!h&&!v)}else a.isDeclarationWithCollidingName=!1}return a.isDeclarationWithCollidingName}return!1}function Ovt(n){if(!yl(n)){const a=Ho(n,Je);if(a){const c=TW(a);if(c&&b7e(c))return c.valueDeclaration}}}function Wvt(n){const a=Ho(n,rd);if(a){const c=Fr(a);if(c)return b7e(c)}return!1}function T7e(n){switch(C.assert(Be),n.kind){case 272:return Z$(Fr(n));case 274:case 275:case 277:case 282:const a=Fr(n);return!!a&&Z$(a,!0);case 279:const c=n.exportClause;return!!c&&(V_(c)||bt(c.elements,T7e));case 278:return n.expression&&n.expression.kind===80?Z$(Fr(n),!0):!0}return!1}function Fvt(n){const a=Ho(n,Oc);return a===void 0||a.parent.kind!==308||!i1(a)?!1:Z$(Fr(a))&&a.moduleReference&&!Wl(a.moduleReference)}function Z$(n,a){if(!n)return!1;const c=On(n.valueDeclaration),p=c&&Fr(c);Ap(p);const h=St(ud(n));return h===ie?!a||!Ah(n):!!(fp(n,a,!0)&111551)&&(Cb(O)||!bW(h))}function bW(n){return lye(n)||!!n.constEnumOnlyModule}function S7e(n,a){if(C.assert(Be),Lv(n)){const c=Fr(n),p=c&&Kr(c);if(p!=null&&p.referenced)return!0;const h=Kr(c).aliasTarget;if(h&&Gd(n)&32&&fp(h)&111551&&(Cb(O)||!bW(h)))return!0}return a?!!Xo(n,c=>S7e(c,a)):!1}function E7e(n){if(gm(n.body)){if(hg(n)||Jh(n))return!1;const a=Fr(n),c=AE(a);return c.length>1||c.length===1&&c[0].declaration!==n}return!1}function zvt(n){const a=x7e(n);if(!a)return!1;const c=Yi(a);return mr(c)||JC(c)}function dB(n,a){return(Bvt(n,a)||Gvt(n))&&!zvt(n)}function Bvt(n,a){return!re||P8(n)||hf(n)||!n.initializer?!1:fi(n,31)?!!a&&ks(a):!0}function Gvt(n){return re&&P8(n)&&(hf(n)||!n.initializer)&&fi(n,31)}function A7e(n){const a=Ho(n,p=>ec(p)||bi(p));if(!a)return!1;let c;if(bi(a)){if(a.type||!Er(a)&&!SW(a))return!1;const p=ZN(a);if(!p||!ah(p))return!1;c=Fr(p)}else c=Fr(a);return!c||!(c.flags&16|3)?!1:!!Uc(Kp(c),p=>p.flags&111551&&FI(p.valueDeclaration))}function Vvt(n){const a=Ho(n,ec);if(!a)return se;const c=Fr(a);return c&&Es(gr(c))||se}function _R(n){var a;const c=n.id||0;return c<0||c>=ST.length?0:((a=ST[c])==null?void 0:a.flags)||0}function Fye(n,a){return jvt(n,a),!!(_R(n)&a)}function jvt(n,a){if(!O.noCheck&&RM(On(n),O)||Vr(n).calculatedFlags&a)return;switch(a){case 16:case 32:return I(n);case 128:case 256:case 2097152:return v(n);case 512:case 8192:case 65536:case 262144:return U(n);case 536870912:return Z(n);case 4096:case 32768:case 16384:return Te(n);default:return C.assertNever(a,"Unhandled node check flag calculation: ".concat(C.formatNodeCheckFlags(a)))}function p(ht,Dt){const en=Dt(ht,ht.parent);if(en!=="skip")return en||tx(ht,Dt)}function h(ht){const Dt=Vr(ht);if(Dt.calculatedFlags&a)return"skip";Dt.calculatedFlags|=2097536,I(ht)}function v(ht){p(ht,h)}function I(ht){const Dt=Vr(ht);Dt.calculatedFlags|=48,ht.kind===108&&s$(ht)}function w(ht){const Dt=Vr(ht);if(Dt.calculatedFlags&a)return"skip";Dt.calculatedFlags|=336384,Z(ht)}function U(ht){p(ht,w)}function H(ht){var Dt;return F_(ht)||Ud(ht.parent)&&((Dt=ht.parent.objectAssignmentInitializer)!=null?Dt:ht.parent.name)===ht}function Z(ht){const Dt=Vr(ht);if(Dt.calculatedFlags|=536870912,Je(ht)&&(Dt.calculatedFlags|=49152,H(ht)&&!(Jr(ht.parent)&&ht.parent.name===ht))){const en=mu(ht);en&&en!==ie&&v6e(ht,en)}}function Ee(ht){const Dt=Vr(ht);if(Dt.calculatedFlags&a)return"skip";Dt.calculatedFlags|=53248,Ye(ht)}function Te(ht){const Dt=sh(z_(ht)?ht.parent:ht);p(Dt,Ee)}function Ye(ht){Z(ht),Ea(ht)&&nh(ht),to(ht)&&vc(ht.parent)&&k$(ht.parent)}}function VA(n){var a;return n7e(n.parent),(a=Vr(n).enumMemberValue)!=null?a:Hc(void 0)}function I7e(n){switch(n.kind){case 307:case 212:case 213:return!0}return!1}function eQ(n){if(n.kind===307)return VA(n).value;Vr(n).resolvedSymbol||Vl(n);const a=Vr(n).resolvedSymbol||(Ps(n)?Gl(n,111551,!0):void 0);if(a&&a.flags&8){const c=a.valueDeclaration;if(W0(c.parent))return VA(c).value}}function zye(n){return!!(n.flags&524288)&&aa(n,0).length>0}function Uvt(n,a){var c;const p=Ho(n,ku);if(!p||a&&(a=Ho(a),!a))return 0;let h=!1;if(Wu(p)){const Z=Gl(Ou(p),111551,!0,!0,a);h=!!((c=Z==null?void 0:Z.declarations)!=null&&c.every(nv))}const v=Gl(p,111551,!0,!0,a),I=v&&v.flags&2097152?ud(v):v;h||(h=!!(v&&Ah(v,111551)));const w=Gl(p,788968,!0,!0,a),U=w&&w.flags&2097152?ud(w):w;if(v||h||(h=!!(w&&Ah(w,788968))),I&&I===U){const Z=Yhe(!1);if(Z&&I===Z)return 9;const Ee=gr(I);if(Ee&&Rh(Ee))return h?10:1}if(!U)return h?11:0;const H=Xs(U);return mr(H)?h?11:0:H.flags&3?11:Pd(H,245760)?2:Pd(H,528)?6:Pd(H,296)?3:Pd(H,2112)?4:Pd(H,402653316)?5:Xa(H)?7:Pd(H,12288)?8:zye(H)?10:sm(H)?7:11}function Hvt(n,a,c,p,h){const v=Ho(n,s4);if(!v)return L.createToken(133);const I=Fr(v);return Se.serializeTypeForDeclaration(v,I,a,c|1024,p,h)}function Bye(n){n=Ho(n,F2);const a=n.kind===179?178:179,c=ul(Fr(n),a),p=c&&c.pos<n.pos?c:n,h=c&&c.pos<n.pos?n:c,v=n.kind===179?n:c,I=n.kind===178?n:c;return{firstAccessor:p,secondAccessor:h,setAccessor:v,getAccessor:I}}function qvt(n,a,c,p,h){const v=Ho(n,Yo);return v?Se.serializeReturnTypeForSignature(v,a,c|1024,p,h):L.createToken(133)}function Jvt(n,a,c,p,h){const v=Ho(n,Et);return v?Se.serializeTypeForExpression(v,a,c|1024,p,h):L.createToken(133)}function Kvt(n){return lt.has(Pl(n))}function TW(n,a){const c=Vr(n).resolvedSymbol;if(c)return c;let p=n;if(a){const h=n.parent;rd(h)&&n===h.name&&(p=Pt(h))}return gt(p,n.escapedText,3257279,void 0,!0)}function Xvt(n){const a=Vr(n).resolvedSymbol;return a&&a!==ie?a:gt(n,n.escapedText,3257279,void 0,!0,void 0)}function Yvt(n){if(!yl(n)){const a=Ho(n,Je);if(a){const c=TW(a);if(c)return St(c).valueDeclaration}}}function $vt(n){if(!yl(n)){const a=Ho(n,Je);if(a){const c=TW(a);if(c)return Fn(St(c).declarations,p=>{switch(p.kind){case 261:case 170:case 209:case 173:case 304:case 305:case 307:case 211:case 263:case 219:case 220:case 264:case 232:case 267:case 175:case 178:case 179:case 268:return!0}return!1})}}}function Qvt(n){return rk(n)||bi(n)&&SW(n)?RE(gr(Fr(n))):!1}function Zvt(n,a,c){const p=n.flags&1056?Se.symbolToExpression(n.symbol,111551,a,void 0,void 0,c):n===vt?L.createTrue():n===$n&&L.createFalse();if(p)return p;const h=n.value;return typeof h=="object"?L.createBigIntLiteral(h):typeof h=="string"?L.createStringLiteral(h):h<0?L.createPrefixUnaryExpression(41,L.createNumericLiteral(-h)):L.createNumericLiteral(h)}function ebt(n,a){const c=gr(Fr(n));return Zvt(c,n,a)}function Gye(n){return n?(Xm(n),On(n).localJsxFactory||Py):Py}function Vye(n){if(n){const a=On(n);if(a){if(a.localJsxFragmentFactory)return a.localJsxFragmentFactory;const c=a.pragmas.get("jsxfrag"),p=Lo(c)?c[0]:c;if(p)return a.localJsxFragmentFactory=rx(p.arguments.factory,G),a.localJsxFragmentFactory}}if(O.jsxFragmentFactory)return rx(O.jsxFragmentFactory,G)}function x7e(n){const a=Ac(n);if(a)return a;if(n.kind===170&&n.parent.kind===179){const c=Bye(n.parent).getAccessor;if(c)return Wp(c)}}function tbt(){return{getReferencedExportContainer:Lvt,getReferencedImportDeclaration:kvt,getReferencedDeclarationWithCollidingName:Ovt,isDeclarationWithCollidingName:Wvt,isValueAliasDeclaration:a=>{const c=Ho(a);return c&&Be?T7e(c):!0},hasGlobalName:Kvt,isReferencedAliasDeclaration:(a,c)=>{const p=Ho(a);return p&&Be?S7e(p,c):!0},hasNodeCheckFlag:(a,c)=>{const p=Ho(a);return p?Fye(p,c):!1},isTopLevelValueImportEqualsWithEntityName:Fvt,isDeclarationVisible:Z_,isImplementationOfOverload:E7e,requiresAddingImplicitUndefined:dB,isExpandoFunctionDeclaration:A7e,getPropertiesOfContainerFunction:Vvt,createTypeOfDeclaration:Hvt,createReturnTypeOfSignatureDeclaration:qvt,createTypeOfExpression:Jvt,createLiteralConstValue:ebt,isSymbolAccessible:l0,isEntityNameVisible:Yx,getConstantValue:a=>{const c=Ho(a,I7e);return c?eQ(c):void 0},getEnumMemberValue:a=>{const c=Ho(a,gy);return c?VA(c):void 0},collectLinkedAliases:WC,markLinkedReferences:a=>{const c=Ho(a);return c&&dR(c,0)},getReferencedValueDeclaration:Yvt,getReferencedValueDeclarations:$vt,getTypeReferenceSerializationKind:Uvt,isOptionalParameter:P8,isArgumentsLocalBinding:Mvt,getExternalModuleFileFromDeclaration:a=>{const c=Ho(a,Zte);return c&&jye(c)},isLiteralConstDeclaration:Qvt,isLateBound:a=>{const c=Ho(a,rd),p=c&&Fr(c);return!!(p&&Fl(p)&4096)},getJsxFactoryEntity:Gye,getJsxFragmentFactoryEntity:Vye,isBindingCapturedByNode:(a,c)=>{const p=Ho(a),h=Ho(c);return!!p&&!!h&&(bi(h)||qa(h))&&dft(p,h)},getDeclarationStatementsForSourceFile:(a,c,p,h)=>{const v=Ho(a);C.assert(v&&v.kind===308,"Non-sourcefile node passed into getDeclarationsForSourceFile");const I=Fr(a);return I?(Ap(I),I.exports?Se.symbolTableToDeclarationStatements(I.exports,a,c,p,h):[]):a.locals?Se.symbolTableToDeclarationStatements(a.locals,a,c,p,h):[]},isImportRequiredByAugmentation:n,isDefinitelyReferenceToGlobalSymbolObject:Y_,createLateBoundIndexSignatures:(a,c,p,h,v)=>{const I=a.symbol,w=Yd(gr(I)),U=fY(I),H=U&&hY(U,Mo(tg(I).values()));let Z;for(const Te of[w,H])if(et(Te)){Z||(Z=[]);for(const Ye of Te){if(Ye.declaration||Ye===Xi)continue;if(Ye.components&&Gn(Ye.components,en=>{var Sn;return!!(en.name&&Ea(en.name)&&Ps(en.name.expression)&&c&&((Sn=Yx(en.name.expression,c,!1))==null?void 0:Sn.accessibility)===0)})){const en=Fn(Ye.components,Sn=>!FC(Sn));Z.push(...Gt(en,Sn=>{Ee(Sn.name.expression);const Zn=Te===w?[L.createModifier(126)]:void 0;return L.createPropertyDeclaration(jn(Zn,Ye.isReadonly?L.createModifier(148):void 0),Sn.name,(Eu(Sn)||ko(Sn)||Um(Sn)||Ll(Sn)||hg(Sn)||Jh(Sn))&&Sn.questionToken?L.createToken(58):void 0,Se.typeToTypeNode(gr(Sn.symbol),c,p,h,v),void 0)}));continue}const ht=Se.indexInfoToIndexSignatureDeclaration(Ye,c,p,h,v);ht&&Te===w&&(ht.modifiers||(ht.modifiers=L.createNodeArray())).unshift(L.createModifier(126)),ht&&Z.push(ht)}}return Z;function Ee(Te){if(!v.trackSymbol)return;const Ye=Ou(Te),ht=gt(Ye,Ye.escapedText,1160127,void 0,!0);ht&&v.trackSymbol(ht,c,111551)}},symbolToDeclarations:(a,c,p,h,v,I)=>Se.symbolToDeclarations(a,c,p,h,v,I)};function n(a){const c=On(a);if(!c.symbol)return!1;const p=jye(a);if(!p||p===c)return!1;const h=b_(c.symbol);for(const v of Mo(h.values()))if(v.mergeId){const I=os(v);if(I.declarations){for(const w of I.declarations)if(On(w)===p)return!0}}return!1}}function jye(n){const a=n.kind===268?ii(n.name,Oa):vI(n),c=Ep(a,a,void 0);if(c)return ul(c,308)}function nbt(){for(const a of e.getSourceFiles())mae(a,O);al=new Map;let n;for(const a of e.getSourceFiles())if(!a.redirectInfo){if(!wp(a)){const c=a.locals.get("globalThis");if(c!=null&&c.declarations)for(const p of c.declarations)ns.add(Sr(p,f.Declaration_name_conflicts_with_built_in_global_identifier_0,"globalThis"));y_(lt,a.locals)}a.jsGlobalAugmentations&&y_(lt,a.jsGlobalAugmentations),a.patternAmbientModules&&a.patternAmbientModules.length&&(du=co(du,a.patternAmbientModules)),a.moduleAugmentations.length&&(n||(n=[])).push(a.moduleAugmentations),a.symbol&&a.symbol.globalExports&&a.symbol.globalExports.forEach((p,h)=>{lt.has(h)||lt.set(h,p)})}if(n)for(const a of n)for(const c of a)W_(c.parent)&&pE(c);if(NT(),Kr(le).type=B,Kr(_e).type=Kl("IArguments",0,!0),Kr(ie).type=rt,Kr(De).type=hc(16,De),ts=Kl("Array",1,!0),Xt=Kl("Object",0,!0),Qn=Kl("Function",0,!0),bo=ue&&Kl("CallableFunction",0,!0)||Qn,es=ue&&Kl("NewableFunction",0,!0)||Qn,Nc=Kl("String",0,!0),sl=Kl("Number",0,!0),wl=Kl("Boolean",0,!0),Jl=Kl("RegExp",0,!0),bd=$d(He),ld=$d(Ct),ld===Ma&&(ld=El(void 0,k,se,se,se)),ja=uWe("ReadonlyArray",1)||ts,qp=ja?AL(ja,[He]):bd,of=uWe("ThisType",1),n)for(const a of n)for(const c of a)W_(c.parent)||pE(c);al.forEach(({firstFile:a,secondFile:c,conflictingSymbols:p})=>{if(p.size<8)p.forEach(({isBlockScoped:h,firstFileLocations:v,secondFileLocations:I},w)=>{const U=h?f.Cannot_redeclare_block_scoped_variable_0:f.Duplicate_identifier_0;for(const H of v)CT(H,U,w,I);for(const H of I)CT(H,U,w,v)});else{const h=Mo(p.keys()).join(", ");ns.add(_a(Sr(a,f.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,h),Sr(c,f.Conflicts_are_in_this_file))),ns.add(_a(Sr(c,f.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,h),Sr(a,f.Conflicts_are_in_this_file)))}}),al=void 0}function Yc(n,a){var c;if(O.importHelpers){const p=On(n);if(JR(p,O)&&!(n.flags&33554432)){const h=ibt(p,n);if(h!==ie){const v=Kr(h);if((c=v.requestedExternalEmitHelpers)!=null||(v.requestedExternalEmitHelpers=0),(v.requestedExternalEmitHelpers&a)!==a){const I=a&~v.requestedExternalEmitHelpers;for(let w=1;w<=16777216;w<<=1)if(I&w)for(const U of rbt(w)){const H=mc(Td(b_(h),Pl(U),111551));H?w&524288?bt(AE(H),Z=>Rp(Z)>3)||Ze(n,f.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,vb,U,4):w&1048576?bt(AE(H),Z=>Rp(Z)>4)||Ze(n,f.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,vb,U,5):w&1024&&(bt(AE(H),Z=>Rp(Z)>2)||Ze(n,f.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,vb,U,3)):Ze(n,f.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,vb,U)}}v.requestedExternalEmitHelpers|=a}}}}function rbt(n){switch(n){case 1:return["__extends"];case 2:return["__assign"];case 4:return["__rest"];case 8:return K?["__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["__setFunctionName"];case 8388608:return["__propKey"];case 16777216:return["__addDisposableResource","__disposeResources"];case 33554432:return["__rewriteRelativeImportExtension"];default:return C.fail("Unrecognized helper")}}function ibt(n,a){const c=Vr(n);return c.externalHelpersModule||(c.externalHelpersModule=sA(Qbt(n),vb,f.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,a)||ie),c.externalHelpersModule}function ey(n){var a;const c=sbt(n)||obt(n);if(c!==void 0)return c;if(no(n)&&xb(n))return fd(n,f.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters);const p=sc(n)?n.declarationList.flags&7:0;let h,v,I,w,U,H=0,Z=!1,Ee=!1;for(const Te of n.modifiers)if(wc(Te)){if(uk(K,n,n.parent,n.parent.parent)){if(K&&(n.kind===178||n.kind===179)){const Ye=Bye(n);if(ff(Ye.firstAccessor)&&n===Ye.secondAccessor)return fd(n,f.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}}else return n.kind===175&&!gm(n.body)?fd(n,f.A_decorator_can_only_decorate_a_method_implementation_not_an_overload):fd(n,f.Decorators_are_not_valid_here);if(H&-34849)return Dn(Te,f.Decorators_are_not_valid_here);if(Ee&&H&98303){C.assertIsDefined(U);const Ye=On(Te);return S0(Ye)?!1:(_a(Ze(Te,f.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),Sr(U,f.Decorator_used_before_export_here)),!0)}H|=32768,H&98303?H&32&&(Z=!0):Ee=!0,U!=null||(U=Te)}else{if(Te.kind!==148){if(n.kind===172||n.kind===174)return Dn(Te,f._0_modifier_cannot_appear_on_a_type_member,Ta(Te.kind));if(n.kind===182&&(Te.kind!==126||!hi(n.parent)))return Dn(Te,f._0_modifier_cannot_appear_on_an_index_signature,Ta(Te.kind))}if(Te.kind!==103&&Te.kind!==147&&Te.kind!==87&&n.kind===169)return Dn(Te,f._0_modifier_cannot_appear_on_a_type_parameter,Ta(Te.kind));switch(Te.kind){case 87:{if(n.kind!==267&&n.kind!==169)return Dn(n,f.A_class_member_cannot_have_the_0_keyword,Ta(87));const Dt=Am(n.parent)&&V0(n.parent)||n.parent;if(n.kind===169&&!(ks(Dt)||hi(Dt)||G_(Dt)||TD(Dt)||HI(Dt)||VM(Dt)||Um(Dt)))return Dn(Te,f._0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class,Ta(Te.kind));break}case 164:if(H&16)return Dn(Te,f._0_modifier_already_seen,"override");if(H&128)return Dn(Te,f._0_modifier_cannot_be_used_with_1_modifier,"override","declare");if(H&8)return Dn(Te,f._0_modifier_must_precede_1_modifier,"override","readonly");if(H&512)return Dn(Te,f._0_modifier_must_precede_1_modifier,"override","accessor");if(H&1024)return Dn(Te,f._0_modifier_must_precede_1_modifier,"override","async");H|=16,w=Te;break;case 125:case 124:case 123:const Ye=GT(xI(Te.kind));if(H&7)return Dn(Te,f.Accessibility_modifier_already_seen);if(H&16)return Dn(Te,f._0_modifier_must_precede_1_modifier,Ye,"override");if(H&256)return Dn(Te,f._0_modifier_must_precede_1_modifier,Ye,"static");if(H&512)return Dn(Te,f._0_modifier_must_precede_1_modifier,Ye,"accessor");if(H&8)return Dn(Te,f._0_modifier_must_precede_1_modifier,Ye,"readonly");if(H&1024)return Dn(Te,f._0_modifier_must_precede_1_modifier,Ye,"async");if(n.parent.kind===269||n.parent.kind===308)return Dn(Te,f._0_modifier_cannot_appear_on_a_module_or_namespace_element,Ye);if(H&64)return Te.kind===123?Dn(Te,f._0_modifier_cannot_be_used_with_1_modifier,Ye,"abstract"):Dn(Te,f._0_modifier_must_precede_1_modifier,Ye,"abstract");if(nu(n))return Dn(Te,f.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);H|=xI(Te.kind);break;case 126:if(H&256)return Dn(Te,f._0_modifier_already_seen,"static");if(H&8)return Dn(Te,f._0_modifier_must_precede_1_modifier,"static","readonly");if(H&1024)return Dn(Te,f._0_modifier_must_precede_1_modifier,"static","async");if(H&512)return Dn(Te,f._0_modifier_must_precede_1_modifier,"static","accessor");if(n.parent.kind===269||n.parent.kind===308)return Dn(Te,f._0_modifier_cannot_appear_on_a_module_or_namespace_element,"static");if(n.kind===170)return Dn(Te,f._0_modifier_cannot_appear_on_a_parameter,"static");if(H&64)return Dn(Te,f._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(H&16)return Dn(Te,f._0_modifier_must_precede_1_modifier,"static","override");H|=256,h=Te;break;case 129:if(H&512)return Dn(Te,f._0_modifier_already_seen,"accessor");if(H&8)return Dn(Te,f._0_modifier_cannot_be_used_with_1_modifier,"accessor","readonly");if(H&128)return Dn(Te,f._0_modifier_cannot_be_used_with_1_modifier,"accessor","declare");if(n.kind!==173)return Dn(Te,f.accessor_modifier_can_only_appear_on_a_property_declaration);H|=512;break;case 148:if(H&8)return Dn(Te,f._0_modifier_already_seen,"readonly");if(n.kind!==173&&n.kind!==172&&n.kind!==182&&n.kind!==170)return Dn(Te,f.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);if(H&512)return Dn(Te,f._0_modifier_cannot_be_used_with_1_modifier,"readonly","accessor");H|=8;break;case 95:if(O.verbatimModuleSyntax&&!(n.flags&33554432)&&n.kind!==266&&n.kind!==265&&n.kind!==268&&n.parent.kind===308&&e.getEmitModuleFormatOfFile(On(n))===1)return Dn(Te,f.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);if(H&32)return Dn(Te,f._0_modifier_already_seen,"export");if(H&128)return Dn(Te,f._0_modifier_must_precede_1_modifier,"export","declare");if(H&64)return Dn(Te,f._0_modifier_must_precede_1_modifier,"export","abstract");if(H&1024)return Dn(Te,f._0_modifier_must_precede_1_modifier,"export","async");if(hi(n.parent))return Dn(Te,f._0_modifier_cannot_appear_on_class_elements_of_this_kind,"export");if(n.kind===170)return Dn(Te,f._0_modifier_cannot_appear_on_a_parameter,"export");if(p===4)return Dn(Te,f._0_modifier_cannot_appear_on_a_using_declaration,"export");if(p===6)return Dn(Te,f._0_modifier_cannot_appear_on_an_await_using_declaration,"export");H|=32;break;case 90:const ht=n.parent.kind===308?n.parent:n.parent.parent;if(ht.kind===268&&!vu(ht))return Dn(Te,f.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);if(p===4)return Dn(Te,f._0_modifier_cannot_appear_on_a_using_declaration,"default");if(p===6)return Dn(Te,f._0_modifier_cannot_appear_on_an_await_using_declaration,"default");if(H&32){if(Z)return Dn(U,f.Decorators_are_not_valid_here)}else return Dn(Te,f._0_modifier_must_precede_1_modifier,"export","default");H|=2048;break;case 138:if(H&128)return Dn(Te,f._0_modifier_already_seen,"declare");if(H&1024)return Dn(Te,f._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(H&16)return Dn(Te,f._0_modifier_cannot_be_used_in_an_ambient_context,"override");if(hi(n.parent)&&!ko(n))return Dn(Te,f._0_modifier_cannot_appear_on_class_elements_of_this_kind,"declare");if(n.kind===170)return Dn(Te,f._0_modifier_cannot_appear_on_a_parameter,"declare");if(p===4)return Dn(Te,f._0_modifier_cannot_appear_on_a_using_declaration,"declare");if(p===6)return Dn(Te,f._0_modifier_cannot_appear_on_an_await_using_declaration,"declare");if(n.parent.flags&33554432&&n.parent.kind===269)return Dn(Te,f.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);if(nu(n))return Dn(Te,f._0_modifier_cannot_be_used_with_a_private_identifier,"declare");if(H&512)return Dn(Te,f._0_modifier_cannot_be_used_with_1_modifier,"declare","accessor");H|=128,v=Te;break;case 128:if(H&64)return Dn(Te,f._0_modifier_already_seen,"abstract");if(n.kind!==264&&n.kind!==186){if(n.kind!==175&&n.kind!==173&&n.kind!==178&&n.kind!==179)return Dn(Te,f.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration);if(!(n.parent.kind===264&&fi(n.parent,64))){const Dt=n.kind===173?f.Abstract_properties_can_only_appear_within_an_abstract_class:f.Abstract_methods_can_only_appear_within_an_abstract_class;return Dn(Te,Dt)}if(H&256)return Dn(Te,f._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(H&2)return Dn(Te,f._0_modifier_cannot_be_used_with_1_modifier,"private","abstract");if(H&1024&&I)return Dn(I,f._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");if(H&16)return Dn(Te,f._0_modifier_must_precede_1_modifier,"abstract","override");if(H&512)return Dn(Te,f._0_modifier_must_precede_1_modifier,"abstract","accessor")}if(nd(n)&&n.name.kind===81)return Dn(Te,f._0_modifier_cannot_be_used_with_a_private_identifier,"abstract");H|=64;break;case 134:if(H&1024)return Dn(Te,f._0_modifier_already_seen,"async");if(H&128||n.parent.flags&33554432)return Dn(Te,f._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(n.kind===170)return Dn(Te,f._0_modifier_cannot_appear_on_a_parameter,"async");if(H&64)return Dn(Te,f._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");H|=1024,I=Te;break;case 103:case 147:{const Dt=Te.kind===103?8192:16384,en=Te.kind===103?"in":"out",Sn=Am(n.parent)&&(V0(n.parent)||_n((a=rD(n.parent))==null?void 0:a.tags,D1))||n.parent;if(n.kind!==169||Sn&&!(gd(Sn)||hi(Sn)||Em(Sn)||D1(Sn)))return Dn(Te,f._0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias,en);if(H&Dt)return Dn(Te,f._0_modifier_already_seen,en);if(Dt&8192&&H&16384)return Dn(Te,f._0_modifier_must_precede_1_modifier,"in","out");H|=Dt;break}}}return n.kind===177?H&256?Dn(h,f._0_modifier_cannot_appear_on_a_constructor_declaration,"static"):H&16?Dn(w,f._0_modifier_cannot_appear_on_a_constructor_declaration,"override"):H&1024?Dn(I,f._0_modifier_cannot_appear_on_a_constructor_declaration,"async"):!1:(n.kind===273||n.kind===272)&&H&128?Dn(v,f.A_0_modifier_cannot_be_used_with_an_import_declaration,"declare"):n.kind===170&&H&31&&na(n.name)?Dn(n,f.A_parameter_property_may_not_be_declared_using_a_binding_pattern):n.kind===170&&H&31&&n.dotDotDotToken?Dn(n,f.A_parameter_property_cannot_be_declared_using_a_rest_parameter):H&1024?cbt(n,I):!1}function obt(n){if(!n.modifiers)return!1;const a=abt(n);return a&&fd(a,f.Modifiers_cannot_appear_here)}function tQ(n,a){const c=_n(n.modifiers,Ra);return c&&c.kind!==a?c:void 0}function abt(n){switch(n.kind){case 178:case 179:case 177:case 173:case 172:case 175:case 174:case 182:case 268:case 273:case 272:case 279:case 278:case 219:case 220:case 170:case 169:return;case 176:case 304:case 305:case 271:case 283:return _n(n.modifiers,Ra);default:if(n.parent.kind===269||n.parent.kind===308)return;switch(n.kind){case 263:return tQ(n,134);case 264:case 186:return tQ(n,128);case 232:case 265:case 266:return _n(n.modifiers,Ra);case 244:return n.declarationList.flags&4?tQ(n,135):_n(n.modifiers,Ra);case 267:return tQ(n,87);default:C.assertNever(n)}}}function sbt(n){const a=lbt(n);return a&&fd(a,f.Decorators_are_not_valid_here)}function lbt(n){return Yj(n)?_n(n.modifiers,wc):void 0}function cbt(n,a){switch(n.kind){case 175:case 263:case 219:case 220:return!1}return Dn(a,f._0_modifier_cannot_be_used_here,"async")}function gR(n,a=f.Trailing_comma_not_allowed){return n&&n.hasTrailingComma?nS(n[0],n.end-1,1,a):!1}function R7e(n,a){if(n&&n.length===0){const c=n.pos-1,p=wa(a.text,n.end)+1;return nS(a,c,p-c,f.Type_parameter_list_cannot_be_empty)}return!1}function dbt(n){let a=!1;const c=n.length;for(let p=0;p<c;p++){const h=n[p];if(h.dotDotDotToken){if(p!==c-1)return Dn(h.dotDotDotToken,f.A_rest_parameter_must_be_last_in_a_parameter_list);if(h.flags&33554432||gR(n,f.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),h.questionToken)return Dn(h.questionToken,f.A_rest_parameter_cannot_be_optional);if(h.initializer)return Dn(h.name,f.A_rest_parameter_cannot_have_an_initializer)}else if(dY(h)){if(a=!0,h.questionToken&&h.initializer)return Dn(h.name,f.Parameter_cannot_have_question_mark_and_initializer)}else if(a&&!h.initializer)return Dn(h.name,f.A_required_parameter_cannot_follow_an_optional_parameter)}}function ubt(n){return Fn(n,a=>!!a.initializer||na(a.name)||w_(a))}function pbt(n){if(G>=3){const a=n.body&&ia(n.body)&&qj(n.body.statements);if(a){const c=ubt(n.parameters);if(et(c)){Xe(c,h=>{_a(Ze(h,f.This_parameter_is_not_allowed_with_use_strict_directive),Sr(a,f.use_strict_directive_used_here))});const p=c.map((h,v)=>v===0?Sr(h,f.Non_simple_parameter_declared_here):Sr(h,f.and_here));return _a(Ze(a,f.use_strict_directive_cannot_be_used_with_non_simple_parameter_list),...p),!0}}}return!1}function nQ(n){const a=On(n);return ey(n)||R7e(n.typeParameters,a)||dbt(n.parameters)||mbt(n,a)||ks(n)&&pbt(n)}function fbt(n){const a=On(n);return vbt(n)||R7e(n.typeParameters,a)}function mbt(n,a){if(!Zs(n))return!1;n.typeParameters&&!(et(n.typeParameters)>1||n.typeParameters.hasTrailingComma||n.typeParameters[0].constraint)&&a&&Ql(a.fileName,[".mts",".cts"])&&Dn(n.typeParameters[0],f.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint);const{equalsGreaterThanToken:c}=n,p=fa(a,c.pos).line,h=fa(a,c.end).line;return p!==h&&Dn(c,f.Line_terminator_not_permitted_before_arrow)}function hbt(n){const a=n.parameters[0];if(n.parameters.length!==1)return Dn(a?a.name:n,f.An_index_signature_must_have_exactly_one_parameter);if(gR(n.parameters,f.An_index_signature_cannot_have_a_trailing_comma),a.dotDotDotToken)return Dn(a.dotDotDotToken,f.An_index_signature_cannot_have_a_rest_parameter);if(_V(a))return Dn(a.name,f.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(a.questionToken)return Dn(a.questionToken,f.An_index_signature_parameter_cannot_have_a_question_mark);if(a.initializer)return Dn(a.name,f.An_index_signature_parameter_cannot_have_an_initializer);if(!a.type)return Dn(a.name,f.An_index_signature_parameter_must_have_a_type_annotation);const c=Yi(a.type);return cm(c,p=>!!(p.flags&8576))||KT(c)?Dn(a.name,f.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead):xp(c,_Y)?n.type?!1:Dn(n,f.An_index_signature_must_have_a_type_annotation):Dn(a.name,f.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}function _bt(n){return ey(n)||hbt(n)}function gbt(n,a){if(a&&a.length===0){const c=On(n),p=a.pos-1,h=wa(c.text,a.end)+1;return nS(c,p,h-p,f.Type_argument_list_cannot_be_empty)}return!1}function uB(n,a){return gR(a)||gbt(n,a)}function ybt(n){return n.questionDotToken||n.flags&64?Dn(n.template,f.Tagged_template_expressions_are_not_permitted_in_an_optional_chain):!1}function D7e(n){const a=n.types;if(gR(a))return!0;if(a&&a.length===0){const c=Ta(n.token);return nS(n,a.pos,0,f._0_list_cannot_be_empty,c)}return bt(a,C7e)}function C7e(n){return hy(n)&&GM(n.expression)&&n.typeArguments?Dn(n,f.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments):uB(n,n.typeArguments)}function vbt(n){let a=!1,c=!1;if(!ey(n)&&n.heritageClauses)for(const p of n.heritageClauses){if(p.token===96){if(a)return fd(p,f.extends_clause_already_seen);if(c)return fd(p,f.extends_clause_must_precede_implements_clause);if(p.types.length>1)return fd(p.types[1],f.Classes_can_only_extend_a_single_class);a=!0}else{if(C.assert(p.token===119),c)return fd(p,f.implements_clause_already_seen);c=!0}D7e(p)}}function bbt(n){let a=!1;if(n.heritageClauses)for(const c of n.heritageClauses){if(c.token===96){if(a)return fd(c,f.extends_clause_already_seen);a=!0}else return C.assert(c.token===119),fd(c,f.Interface_declaration_cannot_have_implements_clause);D7e(c)}return!1}function rQ(n){if(n.kind!==168)return!1;const a=n;return a.expression.kind===227&&a.expression.operatorToken.kind===28?Dn(a.expression,f.A_comma_expression_is_not_allowed_in_a_computed_property_name):!1}function Uye(n){if(n.asteriskToken){if(C.assert(n.kind===263||n.kind===219||n.kind===175),n.flags&33554432)return Dn(n.asteriskToken,f.Generators_are_not_allowed_in_an_ambient_context);if(!n.body)return Dn(n.asteriskToken,f.An_overload_signature_cannot_be_declared_as_a_generator)}}function Hye(n,a){return!!n&&Dn(n,a)}function N7e(n,a){return!!n&&Dn(n,a)}function Tbt(n,a){const c=new Map;for(const p of n.properties){if(p.kind===306){if(a){const I=us(p.expression);if(Dd(I)||za(I))return Dn(p.expression,f.A_rest_element_cannot_contain_a_binding_pattern)}continue}const h=p.name;if(h.kind===168&&rQ(h),p.kind===305&&!a&&p.objectAssignmentInitializer&&Dn(p.equalsToken,f.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),h.kind===81&&Dn(h,f.Private_identifiers_are_not_allowed_outside_class_bodies),Im(p)&&p.modifiers)for(const I of p.modifiers)Ra(I)&&(I.kind!==134||p.kind!==175)&&Dn(I,f._0_modifier_cannot_be_used_here,Rl(I));else if(soe(p)&&p.modifiers)for(const I of p.modifiers)Ra(I)&&Dn(I,f._0_modifier_cannot_be_used_here,Rl(I));let v;switch(p.kind){case 305:case 304:N7e(p.exclamationToken,f.A_definite_assignment_assertion_is_not_permitted_in_this_context),Hye(p.questionToken,f.An_object_member_cannot_be_declared_optional),h.kind===9&&F7e(h),h.kind===10&&Fg(!0,Sr(h,f.A_bigint_literal_cannot_be_used_as_a_property_name)),v=4;break;case 175:v=8;break;case 178:v=1;break;case 179:v=2;break;default:C.assertNever(p,"Unexpected syntax kind:"+p.kind)}if(!a){const I=Kye(h);if(I===void 0)continue;const w=c.get(I);if(!w)c.set(I,v);else if(v&8&&w&8)Dn(h,f.Duplicate_identifier_0,Rl(h));else if(v&4&&w&4)Dn(h,f.An_object_literal_cannot_have_multiple_properties_with_the_same_name,Rl(h));else if(v&3&&w&3)if(w!==3&&v!==w)c.set(I,v|w);else return Dn(h,f.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name);else return Dn(h,f.An_object_literal_cannot_have_property_and_accessor_with_the_same_name)}}}function Sbt(n){Ebt(n.tagName),uB(n,n.typeArguments);const a=new Map;for(const c of n.attributes.properties){if(c.kind===294)continue;const{name:p,initializer:h}=c,v=LM(p);if(!a.get(v))a.set(v,!0);else return Dn(p,f.JSX_elements_cannot_have_multiple_attributes_with_the_same_name);if(h&&h.kind===295&&!h.expression)return Dn(h,f.JSX_attributes_must_only_be_assigned_a_non_empty_expression)}}function Ebt(n){if(Jr(n)&&fh(n.expression))return Dn(n.expression,f.JSX_property_access_expressions_cannot_include_JSX_namespace_names);if(fh(n)&&V6(O)&&!sD(n.namespace.escapedText))return Dn(n,f.React_components_cannot_include_JSX_namespace_names)}function Abt(n){if(n.expression&&$M(n.expression))return Dn(n.expression,f.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array)}function M7e(n){if(Xy(n))return!0;if(n.kind===251&&n.awaitModifier&&!(n.flags&65536)){const a=On(n);if(QF(n)){if(!S0(a))switch(JR(a,O)||ns.add(Sr(n.awaitModifier,f.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)),j){case 100:case 101:case 102:case 199:if(a.impliedNodeFormat===1){ns.add(Sr(n.awaitModifier,f.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level));break}case 7:case 99:case 200:case 4:if(G>=4)break;default:ns.add(Sr(n.awaitModifier,f.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher));break}}else if(!S0(a)){const c=Sr(n.awaitModifier,f.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules),p=uf(n);if(p&&p.kind!==177){C.assert((dc(p)&2)===0,"Enclosing function should never be an async function.");const h=Sr(p,f.Did_you_mean_to_mark_this_function_as_async);_a(c,h)}return ns.add(c),!0}}if(yw(n)&&!(n.flags&65536)&&Je(n.initializer)&&n.initializer.escapedText==="async")return Dn(n.initializer,f.The_left_hand_side_of_a_for_of_statement_may_not_be_async),!1;if(n.initializer.kind===262){const a=n.initializer;if(!Jye(a)){const c=a.declarations;if(!c.length)return!1;if(c.length>1){const h=n.kind===250?f.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:f.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return fd(a.declarations[1],h)}const p=c[0];if(p.initializer){const h=n.kind===250?f.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:f.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return Dn(p.name,h)}if(p.type){const h=n.kind===250?f.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:f.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation;return Dn(p,h)}}}return!1}function Ibt(n){if(!(n.flags&33554432)&&n.parent.kind!==188&&n.parent.kind!==265){if(G<2&&to(n.name))return Dn(n.name,f.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(n.body===void 0&&!fi(n,64))return nS(n,n.end-1,1,f._0_expected,"{")}if(n.body){if(fi(n,64))return Dn(n,f.An_abstract_accessor_cannot_have_an_implementation);if(n.parent.kind===188||n.parent.kind===265)return Dn(n.body,f.An_implementation_cannot_be_declared_in_ambient_contexts)}if(n.typeParameters)return Dn(n.name,f.An_accessor_cannot_have_type_parameters);if(!xbt(n))return Dn(n.name,n.kind===178?f.A_get_accessor_cannot_have_parameters:f.A_set_accessor_must_have_exactly_one_parameter);if(n.kind===179){if(n.type)return Dn(n.name,f.A_set_accessor_cannot_have_a_return_type_annotation);const a=C.checkDefined(pM(n),"Return value does not match parameter count assertion.");if(a.dotDotDotToken)return Dn(a.dotDotDotToken,f.A_set_accessor_cannot_have_rest_parameter);if(a.questionToken)return Dn(a.questionToken,f.A_set_accessor_cannot_have_an_optional_parameter);if(a.initializer)return Dn(n.name,f.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}function xbt(n){return qye(n)||n.parameters.length===(n.kind===178?0:1)}function qye(n){if(n.parameters.length===(n.kind===178?1:2))return CS(n)}function Rbt(n){if(n.operator===158){if(n.type.kind!==155)return Dn(n.type,f._0_expected,Ta(155));let a=xk(n.parent);if(Er(a)&&nT(a)){const c=IS(a);c&&(a=SI(c)||c)}switch(a.kind){case 261:const c=a;if(c.name.kind!==80)return Dn(n,f.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!JN(c))return Dn(n,f.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(c.parent.flags&2))return Dn(a.name,f.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 173:if(!ha(a)||!p1(a))return Dn(a.name,f.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 172:if(!fi(a,8))return Dn(a.name,f.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);break;default:return Dn(n,f.unique_symbol_types_are_not_allowed_here)}}else if(n.operator===148&&n.type.kind!==189&&n.type.kind!==190)return fd(n,f.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,Ta(155))}function VL(n,a){if(f8e(n)&&!Ps(Bs(n)?us(n.argumentExpression):n.expression))return Dn(n,a)}function P7e(n){if(nQ(n))return!0;if(n.kind===175){if(n.parent.kind===211){if(n.modifiers&&!(n.modifiers.length===1&&Qa(n.modifiers).kind===134))return fd(n,f.Modifiers_cannot_appear_here);if(Hye(n.questionToken,f.An_object_member_cannot_be_declared_optional))return!0;if(N7e(n.exclamationToken,f.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(n.body===void 0)return nS(n,n.end-1,1,f._0_expected,"{")}if(Uye(n))return!0}if(hi(n.parent)){if(G<2&&to(n.name))return Dn(n.name,f.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(n.flags&33554432)return VL(n.name,f.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(n.kind===175&&!n.body)return VL(n.name,f.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else{if(n.parent.kind===265)return VL(n.name,f.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(n.parent.kind===188)return VL(n.name,f.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 Dbt(n){let a=n;for(;a;){if(VR(a))return Dn(n,f.Jump_target_cannot_cross_function_boundary);switch(a.kind){case 257:if(n.label&&a.label.escapedText===n.label.escapedText)return n.kind===252&&!yb(a.statement,!0)?Dn(n,f.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement):!1;break;case 256:if(n.kind===253&&!n.label)return!1;break;default:if(yb(a,!1)&&!n.label)return!1;break}a=a.parent}if(n.label){const c=n.kind===253?f.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:f.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return Dn(n,c)}else{const c=n.kind===253?f.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:f.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;return Dn(n,c)}}function Cbt(n){if(n.dotDotDotToken){const a=n.parent.elements;if(n!==Ga(a))return Dn(n,f.A_rest_element_must_be_last_in_a_destructuring_pattern);if(gR(a,f.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),n.propertyName)return Dn(n.name,f.A_rest_element_cannot_have_a_property_name)}if(n.dotDotDotToken&&n.initializer)return nS(n,n.initializer.pos-1,1,f.A_rest_element_cannot_have_an_initializer)}function L7e(n){return pf(n)||n.kind===225&&n.operator===41&&n.operand.kind===9}function Nbt(n){return n.kind===10||n.kind===225&&n.operator===41&&n.operand.kind===10}function Mbt(n){if((Jr(n)||Bs(n)&&L7e(n.argumentExpression))&&Ps(n.expression))return!!(Vl(n).flags&1056)}function k7e(n){const a=n.initializer;if(a){const c=!(L7e(a)||Mbt(a)||a.kind===112||a.kind===97||Nbt(a));if((rk(n)||bi(n)&&SW(n))&&!n.type){if(c)return Dn(a,f.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}else return Dn(a,f.Initializers_are_not_allowed_in_ambient_contexts)}}function Pbt(n){const a=wE(n),c=a&7;if(na(n.name))switch(c){case 6:return Dn(n,f._0_declarations_may_not_have_binding_patterns,"await using");case 4:return Dn(n,f._0_declarations_may_not_have_binding_patterns,"using")}if(n.parent.parent.kind!==250&&n.parent.parent.kind!==251){if(a&33554432)k7e(n);else if(!n.initializer){if(na(n.name)&&!na(n.parent))return Dn(n,f.A_destructuring_declaration_must_have_an_initializer);switch(c){case 6:return Dn(n,f._0_declarations_must_be_initialized,"await using");case 4:return Dn(n,f._0_declarations_must_be_initialized,"using");case 2:return Dn(n,f._0_declarations_must_be_initialized,"const")}}}if(n.exclamationToken&&(n.parent.parent.kind!==244||!n.type||n.initializer||a&33554432)){const p=n.initializer?f.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:n.type?f.A_definite_assignment_assertion_is_not_permitted_in_this_context:f.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return Dn(n.exclamationToken,p)}return e.getEmitModuleFormatOfFile(On(n))<4&&!(n.parent.parent.flags&33554432)&&fi(n.parent.parent,32)&&w7e(n.name),!!c&&O7e(n.name)}function w7e(n){if(n.kind===80){if(Yr(n)==="__esModule")return wbt("noEmit",n,f.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}else{const a=n.elements;for(const c of a)if(!qc(c))return w7e(c.name)}return!1}function O7e(n){if(n.kind===80){if(n.escapedText==="let")return Dn(n,f.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations)}else{const a=n.elements;for(const c of a)qc(c)||O7e(c.name)}return!1}function Jye(n){const a=n.declarations;if(gR(n.declarations))return!0;if(!n.declarations.length)return nS(n,a.pos,a.end-a.pos,f.Variable_declaration_list_cannot_be_empty);const c=n.flags&7;if(c===4||c===6){if(A4(n.parent))return Dn(n,c===4?f.The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration:f.The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration);if(n.flags&33554432)return Dn(n,c===4?f.using_declarations_are_not_allowed_in_ambient_contexts:f.await_using_declarations_are_not_allowed_in_ambient_contexts);if(c===6)return Z4e(n)}return!1}function iQ(n){switch(n.kind){case 246:case 247:case 248:case 255:case 249:case 250:case 251:return!1;case 257:return iQ(n.parent)}return!0}function Lbt(n){if(!iQ(n.parent)){const a=wE(n.declarationList)&7;if(a){const c=a===1?"let":a===2?"const":a===4?"using":a===6?"await using":C.fail("Unknown BlockScope flag");Ze(n,f._0_declarations_can_only_be_declared_inside_a_block,c)}}}function kbt(n){const a=n.name.escapedText;switch(n.keywordToken){case 105:if(a!=="target")return Dn(n.name,f._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,Bi(n.name.escapedText),Ta(n.keywordToken),"target");break;case 102:if(a!=="meta"){const c=ra(n.parent)&&n.parent.expression===n;if(a==="defer"){if(!c)return nS(n,n.end,0,f._0_expected,"(")}else return c?Dn(n.name,f._0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer,Bi(n.name.escapedText)):Dn(n.name,f._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,Bi(n.name.escapedText),Ta(n.keywordToken),"meta")}break}}function S0(n){return n.parseDiagnostics.length>0}function fd(n,a,...c){const p=On(n);if(!S0(p)){const h=Kh(p,n.pos);return ns.add(kc(p,h.start,h.length,a,...c)),!0}return!1}function nS(n,a,c,p,...h){const v=On(n);return S0(v)?!1:(ns.add(kc(v,a,c,p,...h)),!0)}function wbt(n,a,c,...p){const h=On(a);return S0(h)?!1:(Cv(n,a,c,...p),!0)}function Dn(n,a,...c){const p=On(n);return S0(p)?!1:(Ze(n,a,...c),!0)}function Obt(n){const a=Er(n)?A6(n):void 0,c=n.typeParameters||a&&Sc(a);if(c){const p=c.pos===c.end?c.pos:wa(On(n).text,c.pos);return nS(n,p,c.end-p,f.Type_parameters_cannot_appear_on_a_constructor_declaration)}}function Wbt(n){const a=n.type||Wp(n);if(a)return Dn(a,f.Type_annotation_cannot_appear_on_a_constructor_declaration)}function Fbt(n){if(Ea(n.name)&&Nr(n.name.expression)&&n.name.expression.operatorToken.kind===103)return Dn(n.parent.members[0],f.A_mapped_type_may_not_declare_properties_or_methods);if(hi(n.parent)){if(Oa(n.name)&&n.name.text==="constructor")return Dn(n.name,f.Classes_may_not_have_a_field_named_constructor);if(VL(n.name,f.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type))return!0;if(G<2&&to(n.name))return Dn(n.name,f.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(G<2&&Qu(n)&&!(n.flags&33554432))return Dn(n.name,f.Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(Qu(n)&&Hye(n.questionToken,f.An_accessor_property_cannot_be_declared_optional))return!0}else if(n.parent.kind===265){if(VL(n.name,f.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(C.assertNode(n,Eu),n.initializer)return Dn(n.initializer,f.An_interface_property_cannot_have_an_initializer)}else if(Fu(n.parent)){if(VL(n.name,f.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(C.assertNode(n,Eu),n.initializer)return Dn(n.initializer,f.A_type_literal_property_cannot_have_an_initializer)}if(n.flags&33554432&&k7e(n),ko(n)&&n.exclamationToken&&(!hi(n.parent)||!n.type||n.initializer||n.flags&33554432||ha(n)||PS(n))){const a=n.initializer?f.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:n.type?f.A_definite_assignment_assertion_is_not_permitted_in_this_context:f.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return Dn(n.exclamationToken,a)}}function zbt(n){return n.kind===265||n.kind===266||n.kind===273||n.kind===272||n.kind===279||n.kind===278||n.kind===271||fi(n,2208)?!1:fd(n,f.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function Bbt(n){for(const a of n.statements)if((rd(a)||a.kind===244)&&zbt(a))return!0;return!1}function W7e(n){return!!(n.flags&33554432)&&Bbt(n)}function Xy(n){if(n.flags&33554432){if(!Vr(n).hasReportedStatementInAmbientContext&&(Yo(n.parent)||gb(n.parent)))return Vr(n).hasReportedStatementInAmbientContext=fd(n,f.An_implementation_cannot_be_declared_in_ambient_contexts);if(n.parent.kind===242||n.parent.kind===269||n.parent.kind===308){const c=Vr(n.parent);if(!c.hasReportedStatementInAmbientContext)return c.hasReportedStatementInAmbientContext=fd(n,f.Statements_are_not_allowed_in_ambient_contexts)}}return!1}function F7e(n){const a=Rl(n).includes("."),c=n.numericLiteralFlags&16;a||c||+n.text<=2**53-1||Fg(!1,Sr(n,f.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}function Gbt(n){return!!(!(hv(n.parent)||$0(n.parent)&&hv(n.parent.parent))&&!(n.flags&33554432)&&G<7&&Dn(n,f.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020))}function Vbt(n,a,...c){const p=On(n);if(!S0(p)){const h=Kh(p,n.pos);return ns.add(kc(p,Ml(h),0,a,...c)),!0}return!1}function jbt(){return qd||(qd=[],lt.forEach((n,a)=>{bae.test(a)&&qd.push(n)})),qd}function Ubt(n){var a,c;if(n.phaseModifier===156){if(n.name&&n.namedBindings)return Dn(n,f.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both);if(((a=n.namedBindings)==null?void 0:a.kind)===276)return z7e(n.namedBindings)}else if(n.phaseModifier===166){if(n.name)return Dn(n,f.Default_imports_are_not_allowed_in_a_deferred_import);if(((c=n.namedBindings)==null?void 0:c.kind)===276)return Dn(n,f.Named_imports_are_not_allowed_in_a_deferred_import);if(j!==99&&j!==200)return Dn(n,f.Deferred_imports_are_only_supported_when_the_module_flag_is_set_to_esnext_or_preserve)}return!1}function z7e(n){return!!Xe(n.elements,a=>{if(a.isTypeOnly)return fd(a,a.kind===277?f.The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:f.The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement)})}function Hbt(n){if(O.verbatimModuleSyntax&&j===1)return Dn(n,Z1(n));if(n.expression.kind===237){if(j!==99&&j!==200)return Dn(n,f.Deferred_imports_are_only_supported_when_the_module_flag_is_set_to_esnext_or_preserve)}else if(j===5)return Dn(n,f.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_node18_node20_or_nodenext);if(n.typeArguments)return Dn(n,f.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments);const a=n.arguments;if(!(100<=j&&j<=199)&&j!==99&&j!==200&&(gR(a),a.length>1)){const p=a[1];return Dn(p,f.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_node18_node20_nodenext_or_preserve)}if(a.length===0||a.length>2)return Dn(n,f.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments);const c=_n(a,Jf);return c?Dn(c,f.Argument_of_dynamic_import_cannot_be_spread_element):!1}function qbt(n,a){const c=qr(n);if(c&20&&a.flags&1048576)return _n(a.types,p=>{if(p.flags&524288){const h=c&qr(p);if(h&4)return n.target===p.target;if(h&16)return!!n.aliasSymbol&&n.aliasSymbol===p.aliasSymbol}return!1})}function Jbt(n,a){if(qr(n)&128&&cm(a,Jv))return _n(a.types,c=>!Jv(c))}function Kbt(n,a){let c=0;if(aa(n,c).length>0||(c=1,aa(n,c).length>0))return _n(a.types,h=>aa(h,c).length>0)}function Xbt(n,a){let c;if(!(n.flags&406978556)){let p=0;for(const h of a.types)if(!(h.flags&406978556)){const v=La([x_(n),x_(h)]);if(v.flags&4194304)return h;if(Ph(v)||v.flags&1048576){const I=v.flags&1048576?po(v.types,Ph):1;I>=p&&(c=h,p=I)}}}return c}function Ybt(n){if(nc(n,67108864)){const a=Tc(n,c=>!(c.flags&402784252));if(!(a.flags&131072))return a}return n}function B7e(n,a,c){if(a.flags&1048576&&n.flags&2621440){const p=GFe(a,n);if(p)return p;const h=Es(n);if(h){const v=BFe(h,a);if(v){const I=N_e(a,Gt(v,w=>[()=>gr(w),w.escapedName]),c);if(I!==a)return I}}}}function Kye(n){const a=d1(n);return a||(Ea(n)?nge(Ld(n.expression)):void 0)}function oQ(n){return mn===n||(mn=n,Hn=L0(n)),Hn}function wE(n){return Ot===n||(Ot=n,Vt=ay(n)),Vt}function SW(n){const a=wE(n)&7;return a===2||a===4||a===6}function $bt(n,a){const c=O.importHelpers?1:0,p=n==null?void 0:n.imports[c];return p&&C.assert(zs(p)&&p.text===a,"Expected sourceFile.imports[".concat(c,"] to be the synthesized JSX runtime import")),p}function Qbt(n){C.assert(O.importHelpers,"Expected importHelpers to be enabled");const a=n.imports[0];return C.assert(a&&zs(a)&&a.text==="tslib","Expected sourceFile.imports[0] to be the synthesized tslib import"),a}}function kHe(e){return!gb(e)}function oAe(e){return e.kind!==263&&e.kind!==175||!!e.body}function aAe(e){switch(e.parent.kind){case 277:case 282:return Je(e)||e.kind===11;default:return z_(e)}}var gf;(e=>{e.JSX="JSX",e.IntrinsicElements="IntrinsicElements",e.ElementClass="ElementClass",e.ElementAttributesPropertyNameContainer="ElementAttributesProperty",e.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",e.Element="Element",e.ElementType="ElementType",e.IntrinsicAttributes="IntrinsicAttributes",e.IntrinsicClassAttributes="IntrinsicClassAttributes",e.LibraryManagedAttributes="LibraryManagedAttributes"})(gf||(gf={}));var HU;(e=>{e.Fragment="Fragment"})(HU||(HU={}));function sAe(e){switch(e){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function su(e){return!!(e.flags&1)}function lAe(e){return!!(e.flags&2)}function wHe(e){return{getCommonSourceDirectory:e.getCommonSourceDirectory?()=>e.getCommonSourceDirectory():()=>"",getCurrentDirectory:()=>e.getCurrentDirectory(),getSymlinkCache:la(e,e.getSymlinkCache),getPackageJsonInfoCache:()=>{var t;return(t=e.getPackageJsonInfoCache)==null?void 0:t.call(e)},useCaseSensitiveFileNames:()=>e.useCaseSensitiveFileNames(),redirectTargetsMap:e.redirectTargetsMap,getRedirectFromSourceFile:t=>e.getRedirectFromSourceFile(t),isSourceOfProjectReferenceRedirect:t=>e.isSourceOfProjectReferenceRedirect(t),fileExists:t=>e.fileExists(t),getFileIncludeReasons:()=>e.getFileIncludeReasons(),readFile:e.readFile?t=>e.readFile(t):void 0,getDefaultResolutionModeForFile:t=>e.getDefaultResolutionModeForFile(t),getModeForResolutionAtIndex:(t,r)=>e.getModeForResolutionAtIndex(t,r),getGlobalTypingsCacheLocation:la(e,e.getGlobalTypingsCacheLocation)}}var Eae=class Y7e{constructor(t,r,i){this.moduleResolverHost=void 0,this.inner=void 0,this.disableTrackSymbol=!1;for(var o;r instanceof Y7e;)r=r.inner;this.inner=r,this.moduleResolverHost=i,this.context=t,this.canTrackSymbol=!!((o=this.inner)!=null&&o.trackSymbol)}trackSymbol(t,r,i){var l;var o,s;if((o=this.inner)!=null&&o.trackSymbol&&!this.disableTrackSymbol){if(this.inner.trackSymbol(t,r,i))return this.onDiagnosticReported(),!0;t.flags&262144||((l=(s=this.context).trackedSymbols)!=null?l:s.trackedSymbols=[]).push([t,r,i])}return!1}reportInaccessibleThisError(){var t;(t=this.inner)!=null&&t.reportInaccessibleThisError&&(this.onDiagnosticReported(),this.inner.reportInaccessibleThisError())}reportPrivateInBaseOfClassExpression(t){var r;(r=this.inner)!=null&&r.reportPrivateInBaseOfClassExpression&&(this.onDiagnosticReported(),this.inner.reportPrivateInBaseOfClassExpression(t))}reportInaccessibleUniqueSymbolError(){var t;(t=this.inner)!=null&&t.reportInaccessibleUniqueSymbolError&&(this.onDiagnosticReported(),this.inner.reportInaccessibleUniqueSymbolError())}reportCyclicStructureError(){var t;(t=this.inner)!=null&&t.reportCyclicStructureError&&(this.onDiagnosticReported(),this.inner.reportCyclicStructureError())}reportLikelyUnsafeImportRequiredError(t){var r;(r=this.inner)!=null&&r.reportLikelyUnsafeImportRequiredError&&(this.onDiagnosticReported(),this.inner.reportLikelyUnsafeImportRequiredError(t))}reportTruncationError(){var t;(t=this.inner)!=null&&t.reportTruncationError&&(this.onDiagnosticReported(),this.inner.reportTruncationError())}reportNonlocalAugmentation(t,r,i){var o;(o=this.inner)!=null&&o.reportNonlocalAugmentation&&(this.onDiagnosticReported(),this.inner.reportNonlocalAugmentation(t,r,i))}reportNonSerializableProperty(t){var r;(r=this.inner)!=null&&r.reportNonSerializableProperty&&(this.onDiagnosticReported(),this.inner.reportNonSerializableProperty(t))}onDiagnosticReported(){this.context.reportedDiagnostic=!0}reportInferenceFallback(t){var r;(r=this.inner)!=null&&r.reportInferenceFallback&&!this.context.suppressReportInferenceFallback&&(this.onDiagnosticReported(),this.inner.reportInferenceFallback(t))}pushErrorFallbackNode(t){var r,i;return(i=(r=this.inner)==null?void 0:r.pushErrorFallbackNode)==null?void 0:i.call(r,t)}popErrorFallbackNode(){var t,r;return(r=(t=this.inner)==null?void 0:t.popErrorFallbackNode)==null?void 0:r.call(t)}};function st(e,t,r,i){if(e===void 0)return e;const o=t(e);let s;if(o!==void 0)return Lo(o)?s=(i||GHe)(o):s=o,C.assertNode(s,r),s}function Jn(e,t,r,i,o){if(e===void 0)return e;const s=e.length;(i===void 0||i<0)&&(i=0),(o===void 0||o>s-i)&&(o=s-i);let l,u=-1,d=-1;i>0||o<s?l=e.hasTrailingComma&&i+o===s:(u=e.pos,d=e.end,l=e.hasTrailingComma);const _=cAe(e,t,r,i,o);if(_!==e){const m=L.createNodeArray(_,l);return uh(m,u,d),m}return e}function lP(e,t,r,i,o){if(e===void 0)return e;const s=e.length;return(i===void 0||i<0)&&(i=0),(o===void 0||o>s-i)&&(o=s-i),cAe(e,t,r,i,o)}function cAe(e,t,r,i,o){let s;const l=e.length;(i>0||o<l)&&(s=[]);for(let u=0;u<o;u++){const d=e[u+i],_=d!==void 0?t?t(d):d:void 0;if((s!==void 0||_===void 0||_!==d)&&(s===void 0&&(s=e.slice(0,u),C.assertEachNode(s,r)),_))if(Lo(_))for(const m of _)C.assertNode(m,r),s.push(m);else C.assertNode(_,r),s.push(_)}return s||(C.assertEachNode(e,r),e)}function qU(e,t,r,i,o,s=Jn){return r.startLexicalEnvironment(),e=s(e,t,Gi,i),o&&(e=r.factory.ensureUseStrict(e)),L.mergeLexicalEnvironment(e,r.endLexicalEnvironment())}function zl(e,t,r,i=Jn){let o;return r.startLexicalEnvironment(),e&&(r.setLexicalEnvironmentFlags(1,!0),o=i(e,t,no),r.getLexicalEnvironmentFlags()&2&&Va(r.getCompilerOptions())>=2&&(o=OHe(o,r)),r.setLexicalEnvironmentFlags(1,!1)),r.suspendLexicalEnvironment(),o}function OHe(e,t){let r;for(let i=0;i<e.length;i++){const o=e[i],s=WHe(o,t);(r||s!==o)&&(r||(r=e.slice(0,i)),r[i]=s)}return r?Tt(t.factory.createNodeArray(r,e.hasTrailingComma),e):e}function WHe(e,t){return e.dotDotDotToken?e:na(e.name)?FHe(e,t):e.initializer?zHe(e,e.name,e.initializer,t):e}function FHe(e,t){const{factory:r}=t;return t.addInitializationStatement(r.createVariableStatement(void 0,r.createVariableDeclarationList([r.createVariableDeclaration(e.name,void 0,e.type,e.initializer?r.createConditionalExpression(r.createStrictEquality(r.getGeneratedNameForNode(e),r.createVoidZero()),void 0,e.initializer,void 0,r.getGeneratedNameForNode(e)):r.getGeneratedNameForNode(e))]))),r.updateParameterDeclaration(e,e.modifiers,e.dotDotDotToken,r.getGeneratedNameForNode(e),e.questionToken,e.type,void 0)}function zHe(e,t,r,i){const o=i.factory;return i.addInitializationStatement(o.createIfStatement(o.createTypeCheck(o.cloneNode(t),"undefined"),Dr(Tt(o.createBlock([o.createExpressionStatement(Dr(Tt(o.createAssignment(Dr(o.cloneNode(t),96),Dr(r,96|Za(r)|3072)),e),3072))]),e),3905))),o.updateParameterDeclaration(e,e.modifiers,e.dotDotDotToken,e.name,e.questionToken,e.type,void 0)}function yf(e,t,r,i=st){r.resumeLexicalEnvironment();const o=i(e,t,IF),s=r.endLexicalEnvironment();if(bt(s)){if(!o)return r.factory.createBlock(s);const l=r.factory.converters.convertToFunctionBlock(o),u=L.mergeLexicalEnvironment(l.statements,s);return r.factory.updateBlock(l,u)}return o}function Bu(e,t,r,i=st){r.startBlockScope();const o=i(e,t,Gi,r.factory.liftToBlock);C.assert(o);const s=r.endBlockScope();return bt(s)?ia(o)?(s.push(...o.statements),r.factory.updateBlock(o,s)):(s.push(o),r.factory.createBlock(s)):o}function _3(e,t,r=t){if(r===t||e.length<=1)return Jn(e,t,Et);let i=0;const o=e.length;return Jn(e,s=>{const l=i<o-1;return i++,l?r(s):t(s)},Et)}function kn(e,t,r=Zw,i=Jn,o,s=st){if(e===void 0)return;const l=BHe[e.kind];return l===void 0?e:l(e,t,r,i,s,o)}var BHe={167:function(t,r,i,o,s,l){return i.factory.updateQualifiedName(t,C.checkDefined(s(t.left,r,ku)),C.checkDefined(s(t.right,r,Je)))},168:function(t,r,i,o,s,l){return i.factory.updateComputedPropertyName(t,C.checkDefined(s(t.expression,r,Et)))},169:function(t,r,i,o,s,l){return i.factory.updateTypeParameterDeclaration(t,o(t.modifiers,r,Ra),C.checkDefined(s(t.name,r,Je)),s(t.constraint,r,xi),s(t.default,r,xi))},170:function(t,r,i,o,s,l){return i.factory.updateParameterDeclaration(t,o(t.modifiers,r,vl),l?s(t.dotDotDotToken,l,g4):t.dotDotDotToken,C.checkDefined(s(t.name,r,QE)),l?s(t.questionToken,l,kb):t.questionToken,s(t.type,r,xi),s(t.initializer,r,Et))},171:function(t,r,i,o,s,l){return i.factory.updateDecorator(t,C.checkDefined(s(t.expression,r,Et)))},172:function(t,r,i,o,s,l){return i.factory.updatePropertySignature(t,o(t.modifiers,r,Ra),C.checkDefined(s(t.name,r,yc)),l?s(t.questionToken,l,kb):t.questionToken,s(t.type,r,xi))},173:function(t,r,i,o,s,l){var u,d;return i.factory.updatePropertyDeclaration(t,o(t.modifiers,r,vl),C.checkDefined(s(t.name,r,yc)),l?s((u=t.questionToken)!=null?u:t.exclamationToken,l,loe):(d=t.questionToken)!=null?d:t.exclamationToken,s(t.type,r,xi),s(t.initializer,r,Et))},174:function(t,r,i,o,s,l){return i.factory.updateMethodSignature(t,o(t.modifiers,r,Ra),C.checkDefined(s(t.name,r,yc)),l?s(t.questionToken,l,kb):t.questionToken,o(t.typeParameters,r,pl),o(t.parameters,r,no),s(t.type,r,xi))},175:function(t,r,i,o,s,l){return i.factory.updateMethodDeclaration(t,o(t.modifiers,r,vl),l?s(t.asteriskToken,l,mw):t.asteriskToken,C.checkDefined(s(t.name,r,yc)),l?s(t.questionToken,l,kb):t.questionToken,o(t.typeParameters,r,pl),zl(t.parameters,r,i,o),s(t.type,r,xi),yf(t.body,r,i,s))},177:function(t,r,i,o,s,l){return i.factory.updateConstructorDeclaration(t,o(t.modifiers,r,vl),zl(t.parameters,r,i,o),yf(t.body,r,i,s))},178:function(t,r,i,o,s,l){return i.factory.updateGetAccessorDeclaration(t,o(t.modifiers,r,vl),C.checkDefined(s(t.name,r,yc)),zl(t.parameters,r,i,o),s(t.type,r,xi),yf(t.body,r,i,s))},179:function(t,r,i,o,s,l){return i.factory.updateSetAccessorDeclaration(t,o(t.modifiers,r,vl),C.checkDefined(s(t.name,r,yc)),zl(t.parameters,r,i,o),yf(t.body,r,i,s))},176:function(t,r,i,o,s,l){return i.startLexicalEnvironment(),i.suspendLexicalEnvironment(),i.factory.updateClassStaticBlockDeclaration(t,yf(t.body,r,i,s))},180:function(t,r,i,o,s,l){return i.factory.updateCallSignature(t,o(t.typeParameters,r,pl),o(t.parameters,r,no),s(t.type,r,xi))},181:function(t,r,i,o,s,l){return i.factory.updateConstructSignature(t,o(t.typeParameters,r,pl),o(t.parameters,r,no),s(t.type,r,xi))},182:function(t,r,i,o,s,l){return i.factory.updateIndexSignature(t,o(t.modifiers,r,vl),o(t.parameters,r,no),C.checkDefined(s(t.type,r,xi)))},183:function(t,r,i,o,s,l){return i.factory.updateTypePredicateNode(t,s(t.assertsModifier,r,Cie),C.checkDefined(s(t.parameterName,r,coe)),s(t.type,r,xi))},184:function(t,r,i,o,s,l){return i.factory.updateTypeReferenceNode(t,C.checkDefined(s(t.typeName,r,ku)),o(t.typeArguments,r,xi))},185:function(t,r,i,o,s,l){return i.factory.updateFunctionTypeNode(t,o(t.typeParameters,r,pl),o(t.parameters,r,no),C.checkDefined(s(t.type,r,xi)))},186:function(t,r,i,o,s,l){return i.factory.updateConstructorTypeNode(t,o(t.modifiers,r,Ra),o(t.typeParameters,r,pl),o(t.parameters,r,no),C.checkDefined(s(t.type,r,xi)))},187:function(t,r,i,o,s,l){return i.factory.updateTypeQueryNode(t,C.checkDefined(s(t.exprName,r,ku)),o(t.typeArguments,r,xi))},188:function(t,r,i,o,s,l){return i.factory.updateTypeLiteralNode(t,o(t.members,r,_S))},189:function(t,r,i,o,s,l){return i.factory.updateArrayTypeNode(t,C.checkDefined(s(t.elementType,r,xi)))},190:function(t,r,i,o,s,l){return i.factory.updateTupleTypeNode(t,o(t.elements,r,xi))},191:function(t,r,i,o,s,l){return i.factory.updateOptionalTypeNode(t,C.checkDefined(s(t.type,r,xi)))},192:function(t,r,i,o,s,l){return i.factory.updateRestTypeNode(t,C.checkDefined(s(t.type,r,xi)))},193:function(t,r,i,o,s,l){return i.factory.updateUnionTypeNode(t,o(t.types,r,xi))},194:function(t,r,i,o,s,l){return i.factory.updateIntersectionTypeNode(t,o(t.types,r,xi))},195:function(t,r,i,o,s,l){return i.factory.updateConditionalTypeNode(t,C.checkDefined(s(t.checkType,r,xi)),C.checkDefined(s(t.extendsType,r,xi)),C.checkDefined(s(t.trueType,r,xi)),C.checkDefined(s(t.falseType,r,xi)))},196:function(t,r,i,o,s,l){return i.factory.updateInferTypeNode(t,C.checkDefined(s(t.typeParameter,r,pl)))},206:function(t,r,i,o,s,l){return i.factory.updateImportTypeNode(t,C.checkDefined(s(t.argument,r,xi)),s(t.attributes,r,I1),s(t.qualifier,r,ku),o(t.typeArguments,r,xi),t.isTypeOf)},303:function(t,r,i,o,s,l){return i.factory.updateImportTypeAssertionContainer(t,C.checkDefined(s(t.assertClause,r,zie)),t.multiLine)},203:function(t,r,i,o,s,l){return i.factory.updateNamedTupleMember(t,l?s(t.dotDotDotToken,l,g4):t.dotDotDotToken,C.checkDefined(s(t.name,r,Je)),l?s(t.questionToken,l,kb):t.questionToken,C.checkDefined(s(t.type,r,xi)))},197:function(t,r,i,o,s,l){return i.factory.updateParenthesizedType(t,C.checkDefined(s(t.type,r,xi)))},199:function(t,r,i,o,s,l){return i.factory.updateTypeOperatorNode(t,C.checkDefined(s(t.type,r,xi)))},200:function(t,r,i,o,s,l){return i.factory.updateIndexedAccessTypeNode(t,C.checkDefined(s(t.objectType,r,xi)),C.checkDefined(s(t.indexType,r,xi)))},201:function(t,r,i,o,s,l){return i.factory.updateMappedTypeNode(t,l?s(t.readonlyToken,l,doe):t.readonlyToken,C.checkDefined(s(t.typeParameter,r,pl)),s(t.nameType,r,xi),l?s(t.questionToken,l,uoe):t.questionToken,s(t.type,r,xi),o(t.members,r,_S))},202:function(t,r,i,o,s,l){return i.factory.updateLiteralTypeNode(t,C.checkDefined(s(t.literal,r,Ate)))},204:function(t,r,i,o,s,l){return i.factory.updateTemplateLiteralType(t,C.checkDefined(s(t.head,r,VI)),o(t.templateSpans,r,Rj))},205:function(t,r,i,o,s,l){return i.factory.updateTemplateLiteralTypeSpan(t,C.checkDefined(s(t.type,r,xi)),C.checkDefined(s(t.literal,r,TF)))},207:function(t,r,i,o,s,l){return i.factory.updateObjectBindingPattern(t,o(t.elements,r,qa))},208:function(t,r,i,o,s,l){return i.factory.updateArrayBindingPattern(t,o(t.elements,r,EF))},209:function(t,r,i,o,s,l){return i.factory.updateBindingElement(t,l?s(t.dotDotDotToken,l,g4):t.dotDotDotToken,s(t.propertyName,r,yc),C.checkDefined(s(t.name,r,QE)),s(t.initializer,r,Et))},210:function(t,r,i,o,s,l){return i.factory.updateArrayLiteralExpression(t,o(t.elements,r,Et))},211:function(t,r,i,o,s,l){return i.factory.updateObjectLiteralExpression(t,o(t.properties,r,sy))},212:function(t,r,i,o,s,l){return gF(t)?i.factory.updatePropertyAccessChain(t,C.checkDefined(s(t.expression,r,Et)),l?s(t.questionDotToken,l,y4):t.questionDotToken,C.checkDefined(s(t.name,r,mg))):i.factory.updatePropertyAccessExpression(t,C.checkDefined(s(t.expression,r,Et)),C.checkDefined(s(t.name,r,mg)))},213:function(t,r,i,o,s,l){return $9(t)?i.factory.updateElementAccessChain(t,C.checkDefined(s(t.expression,r,Et)),l?s(t.questionDotToken,l,y4):t.questionDotToken,C.checkDefined(s(t.argumentExpression,r,Et))):i.factory.updateElementAccessExpression(t,C.checkDefined(s(t.expression,r,Et)),C.checkDefined(s(t.argumentExpression,r,Et)))},214:function(t,r,i,o,s,l){return XE(t)?i.factory.updateCallChain(t,C.checkDefined(s(t.expression,r,Et)),l?s(t.questionDotToken,l,y4):t.questionDotToken,o(t.typeArguments,r,xi),o(t.arguments,r,Et)):i.factory.updateCallExpression(t,C.checkDefined(s(t.expression,r,Et)),o(t.typeArguments,r,xi),o(t.arguments,r,Et))},215:function(t,r,i,o,s,l){return i.factory.updateNewExpression(t,C.checkDefined(s(t.expression,r,Et)),o(t.typeArguments,r,xi),o(t.arguments,r,Et))},216:function(t,r,i,o,s,l){return i.factory.updateTaggedTemplateExpression(t,C.checkDefined(s(t.tag,r,Et)),o(t.typeArguments,r,xi),C.checkDefined(s(t.template,r,cI)))},217:function(t,r,i,o,s,l){return i.factory.updateTypeAssertion(t,C.checkDefined(s(t.type,r,xi)),C.checkDefined(s(t.expression,r,Et)))},218:function(t,r,i,o,s,l){return i.factory.updateParenthesizedExpression(t,C.checkDefined(s(t.expression,r,Et)))},219:function(t,r,i,o,s,l){return i.factory.updateFunctionExpression(t,o(t.modifiers,r,Ra),l?s(t.asteriskToken,l,mw):t.asteriskToken,s(t.name,r,Je),o(t.typeParameters,r,pl),zl(t.parameters,r,i,o),s(t.type,r,xi),yf(t.body,r,i,s))},220:function(t,r,i,o,s,l){return i.factory.updateArrowFunction(t,o(t.modifiers,r,Ra),o(t.typeParameters,r,pl),zl(t.parameters,r,i,o),s(t.type,r,xi),l?C.checkDefined(s(t.equalsGreaterThanToken,l,Die)):t.equalsGreaterThanToken,yf(t.body,r,i,s))},221:function(t,r,i,o,s,l){return i.factory.updateDeleteExpression(t,C.checkDefined(s(t.expression,r,Et)))},222:function(t,r,i,o,s,l){return i.factory.updateTypeOfExpression(t,C.checkDefined(s(t.expression,r,Et)))},223:function(t,r,i,o,s,l){return i.factory.updateVoidExpression(t,C.checkDefined(s(t.expression,r,Et)))},224:function(t,r,i,o,s,l){return i.factory.updateAwaitExpression(t,C.checkDefined(s(t.expression,r,Et)))},225:function(t,r,i,o,s,l){return i.factory.updatePrefixUnaryExpression(t,C.checkDefined(s(t.operand,r,Et)))},226:function(t,r,i,o,s,l){return i.factory.updatePostfixUnaryExpression(t,C.checkDefined(s(t.operand,r,Et)))},227:function(t,r,i,o,s,l){return i.factory.updateBinaryExpression(t,C.checkDefined(s(t.left,r,Et)),l?C.checkDefined(s(t.operatorToken,l,foe)):t.operatorToken,C.checkDefined(s(t.right,r,Et)))},228:function(t,r,i,o,s,l){return i.factory.updateConditionalExpression(t,C.checkDefined(s(t.condition,r,Et)),l?C.checkDefined(s(t.questionToken,l,kb)):t.questionToken,C.checkDefined(s(t.whenTrue,r,Et)),l?C.checkDefined(s(t.colonToken,l,Rie)):t.colonToken,C.checkDefined(s(t.whenFalse,r,Et)))},229:function(t,r,i,o,s,l){return i.factory.updateTemplateExpression(t,C.checkDefined(s(t.head,r,VI)),o(t.templateSpans,r,xD))},230:function(t,r,i,o,s,l){return i.factory.updateYieldExpression(t,l?s(t.asteriskToken,l,mw):t.asteriskToken,s(t.expression,r,Et))},231:function(t,r,i,o,s,l){return i.factory.updateSpreadElement(t,C.checkDefined(s(t.expression,r,Et)))},232:function(t,r,i,o,s,l){return i.factory.updateClassExpression(t,o(t.modifiers,r,vl),s(t.name,r,Je),o(t.typeParameters,r,pl),o(t.heritageClauses,r,Gp),o(t.members,r,vc))},234:function(t,r,i,o,s,l){return i.factory.updateExpressionWithTypeArguments(t,C.checkDefined(s(t.expression,r,Et)),o(t.typeArguments,r,xi))},235:function(t,r,i,o,s,l){return i.factory.updateAsExpression(t,C.checkDefined(s(t.expression,r,Et)),C.checkDefined(s(t.type,r,xi)))},239:function(t,r,i,o,s,l){return i.factory.updateSatisfiesExpression(t,C.checkDefined(s(t.expression,r,Et)),C.checkDefined(s(t.type,r,xi)))},236:function(t,r,i,o,s,l){return tu(t)?i.factory.updateNonNullChain(t,C.checkDefined(s(t.expression,r,Et))):i.factory.updateNonNullExpression(t,C.checkDefined(s(t.expression,r,Et)))},237:function(t,r,i,o,s,l){return i.factory.updateMetaProperty(t,C.checkDefined(s(t.name,r,Je)))},240:function(t,r,i,o,s,l){return i.factory.updateTemplateSpan(t,C.checkDefined(s(t.expression,r,Et)),C.checkDefined(s(t.literal,r,TF)))},242:function(t,r,i,o,s,l){return i.factory.updateBlock(t,o(t.statements,r,Gi))},244:function(t,r,i,o,s,l){return i.factory.updateVariableStatement(t,o(t.modifiers,r,vl),C.checkDefined(s(t.declarationList,r,_d)))},245:function(t,r,i,o,s,l){return i.factory.updateExpressionStatement(t,C.checkDefined(s(t.expression,r,Et)))},246:function(t,r,i,o,s,l){return i.factory.updateIfStatement(t,C.checkDefined(s(t.expression,r,Et)),C.checkDefined(s(t.thenStatement,r,Gi,i.factory.liftToBlock)),s(t.elseStatement,r,Gi,i.factory.liftToBlock))},247:function(t,r,i,o,s,l){return i.factory.updateDoStatement(t,Bu(t.statement,r,i,s),C.checkDefined(s(t.expression,r,Et)))},248:function(t,r,i,o,s,l){return i.factory.updateWhileStatement(t,C.checkDefined(s(t.expression,r,Et)),Bu(t.statement,r,i,s))},249:function(t,r,i,o,s,l){return i.factory.updateForStatement(t,s(t.initializer,r,Wf),s(t.condition,r,Et),s(t.incrementor,r,Et),Bu(t.statement,r,i,s))},250:function(t,r,i,o,s,l){return i.factory.updateForInStatement(t,C.checkDefined(s(t.initializer,r,Wf)),C.checkDefined(s(t.expression,r,Et)),Bu(t.statement,r,i,s))},251:function(t,r,i,o,s,l){return i.factory.updateForOfStatement(t,l?s(t.awaitModifier,l,Ij):t.awaitModifier,C.checkDefined(s(t.initializer,r,Wf)),C.checkDefined(s(t.expression,r,Et)),Bu(t.statement,r,i,s))},252:function(t,r,i,o,s,l){return i.factory.updateContinueStatement(t,s(t.label,r,Je))},253:function(t,r,i,o,s,l){return i.factory.updateBreakStatement(t,s(t.label,r,Je))},254:function(t,r,i,o,s,l){return i.factory.updateReturnStatement(t,s(t.expression,r,Et))},255:function(t,r,i,o,s,l){return i.factory.updateWithStatement(t,C.checkDefined(s(t.expression,r,Et)),C.checkDefined(s(t.statement,r,Gi,i.factory.liftToBlock)))},256:function(t,r,i,o,s,l){return i.factory.updateSwitchStatement(t,C.checkDefined(s(t.expression,r,Et)),C.checkDefined(s(t.caseBlock,r,qM)))},257:function(t,r,i,o,s,l){return i.factory.updateLabeledStatement(t,C.checkDefined(s(t.label,r,Je)),C.checkDefined(s(t.statement,r,Gi,i.factory.liftToBlock)))},258:function(t,r,i,o,s,l){return i.factory.updateThrowStatement(t,C.checkDefined(s(t.expression,r,Et)))},259:function(t,r,i,o,s,l){return i.factory.updateTryStatement(t,C.checkDefined(s(t.tryBlock,r,ia)),s(t.catchClause,r,US),s(t.finallyBlock,r,ia))},261:function(t,r,i,o,s,l){return i.factory.updateVariableDeclaration(t,C.checkDefined(s(t.name,r,QE)),l?s(t.exclamationToken,l,hw):t.exclamationToken,s(t.type,r,xi),s(t.initializer,r,Et))},262:function(t,r,i,o,s,l){return i.factory.updateVariableDeclarationList(t,o(t.declarations,r,bi))},263:function(t,r,i,o,s,l){return i.factory.updateFunctionDeclaration(t,o(t.modifiers,r,Ra),l?s(t.asteriskToken,l,mw):t.asteriskToken,s(t.name,r,Je),o(t.typeParameters,r,pl),zl(t.parameters,r,i,o),s(t.type,r,xi),yf(t.body,r,i,s))},264:function(t,r,i,o,s,l){return i.factory.updateClassDeclaration(t,o(t.modifiers,r,vl),s(t.name,r,Je),o(t.typeParameters,r,pl),o(t.heritageClauses,r,Gp),o(t.members,r,vc))},265:function(t,r,i,o,s,l){return i.factory.updateInterfaceDeclaration(t,o(t.modifiers,r,vl),C.checkDefined(s(t.name,r,Je)),o(t.typeParameters,r,pl),o(t.heritageClauses,r,Gp),o(t.members,r,_S))},266:function(t,r,i,o,s,l){return i.factory.updateTypeAliasDeclaration(t,o(t.modifiers,r,vl),C.checkDefined(s(t.name,r,Je)),o(t.typeParameters,r,pl),C.checkDefined(s(t.type,r,xi)))},267:function(t,r,i,o,s,l){return i.factory.updateEnumDeclaration(t,o(t.modifiers,r,vl),C.checkDefined(s(t.name,r,Je)),o(t.members,r,gy))},268:function(t,r,i,o,s,l){return i.factory.updateModuleDeclaration(t,o(t.modifiers,r,vl),C.checkDefined(s(t.name,r,poe)),s(t.body,r,xte))},269:function(t,r,i,o,s,l){return i.factory.updateModuleBlock(t,o(t.statements,r,Gi))},270:function(t,r,i,o,s,l){return i.factory.updateCaseBlock(t,o(t.clauses,r,RF))},271:function(t,r,i,o,s,l){return i.factory.updateNamespaceExportDeclaration(t,C.checkDefined(s(t.name,r,Je)))},272:function(t,r,i,o,s,l){return i.factory.updateImportEqualsDeclaration(t,o(t.modifiers,r,vl),t.isTypeOnly,C.checkDefined(s(t.name,r,Je)),C.checkDefined(s(t.moduleReference,r,Mte)))},273:function(t,r,i,o,s,l){return i.factory.updateImportDeclaration(t,o(t.modifiers,r,vl),s(t.importClause,r,Hm),C.checkDefined(s(t.moduleSpecifier,r,Et)),s(t.attributes,r,I1))},301:function(t,r,i,o,s,l){return i.factory.updateImportAttributes(t,o(t.elements,r,Bie),t.multiLine)},302:function(t,r,i,o,s,l){return i.factory.updateImportAttribute(t,C.checkDefined(s(t.name,r,yte)),C.checkDefined(s(t.value,r,Et)))},274:function(t,r,i,o,s,l){return i.factory.updateImportClause(t,t.phaseModifier,s(t.name,r,Je),s(t.namedBindings,r,dG))},275:function(t,r,i,o,s,l){return i.factory.updateNamespaceImport(t,C.checkDefined(s(t.name,r,Je)))},281:function(t,r,i,o,s,l){return i.factory.updateNamespaceExport(t,C.checkDefined(s(t.name,r,Je)))},276:function(t,r,i,o,s,l){return i.factory.updateNamedImports(t,o(t.elements,r,Au))},277:function(t,r,i,o,s,l){return i.factory.updateImportSpecifier(t,t.isTypeOnly,s(t.propertyName,r,I4),C.checkDefined(s(t.name,r,Je)))},278:function(t,r,i,o,s,l){return i.factory.updateExportAssignment(t,o(t.modifiers,r,vl),C.checkDefined(s(t.expression,r,Et)))},279:function(t,r,i,o,s,l){return i.factory.updateExportDeclaration(t,o(t.modifiers,r,vl),t.isTypeOnly,s(t.exportClause,r,Z9),s(t.moduleSpecifier,r,Et),s(t.attributes,r,I1))},280:function(t,r,i,o,s,l){return i.factory.updateNamedExports(t,o(t.elements,r,ou))},282:function(t,r,i,o,s,l){return i.factory.updateExportSpecifier(t,t.isTypeOnly,s(t.propertyName,r,I4),C.checkDefined(s(t.name,r,I4)))},284:function(t,r,i,o,s,l){return i.factory.updateExternalModuleReference(t,C.checkDefined(s(t.expression,r,Et)))},285:function(t,r,i,o,s,l){return i.factory.updateJsxElement(t,C.checkDefined(s(t.openingElement,r,ph)),o(t.children,r,K2),C.checkDefined(s(t.closingElement,r,VS)))},286:function(t,r,i,o,s,l){return i.factory.updateJsxSelfClosingElement(t,C.checkDefined(s(t.tagName,r,GN)),o(t.typeArguments,r,xi),C.checkDefined(s(t.attributes,r,jS)))},287:function(t,r,i,o,s,l){return i.factory.updateJsxOpeningElement(t,C.checkDefined(s(t.tagName,r,GN)),o(t.typeArguments,r,xi),C.checkDefined(s(t.attributes,r,jS)))},288:function(t,r,i,o,s,l){return i.factory.updateJsxClosingElement(t,C.checkDefined(s(t.tagName,r,GN)))},296:function(t,r,i,o,s,l){return i.factory.updateJsxNamespacedName(t,C.checkDefined(s(t.namespace,r,Je)),C.checkDefined(s(t.name,r,Je)))},289:function(t,r,i,o,s,l){return i.factory.updateJsxFragment(t,C.checkDefined(s(t.openingFragment,r,qm)),o(t.children,r,K2),C.checkDefined(s(t.closingFragment,r,Vie)))},292:function(t,r,i,o,s,l){return i.factory.updateJsxAttribute(t,C.checkDefined(s(t.name,r,Yre)),s(t.initializer,r,Pte))},293:function(t,r,i,o,s,l){return i.factory.updateJsxAttributes(t,o(t.properties,r,xF))},294:function(t,r,i,o,s,l){return i.factory.updateJsxSpreadAttribute(t,C.checkDefined(s(t.expression,r,Et)))},295:function(t,r,i,o,s,l){return i.factory.updateJsxExpression(t,s(t.expression,r,Et))},297:function(t,r,i,o,s,l){return i.factory.updateCaseClause(t,C.checkDefined(s(t.expression,r,Et)),o(t.statements,r,Gi))},298:function(t,r,i,o,s,l){return i.factory.updateDefaultClause(t,o(t.statements,r,Gi))},299:function(t,r,i,o,s,l){return i.factory.updateHeritageClause(t,o(t.types,r,hy))},300:function(t,r,i,o,s,l){return i.factory.updateCatchClause(t,s(t.variableDeclaration,r,bi),C.checkDefined(s(t.block,r,ia)))},304:function(t,r,i,o,s,l){return i.factory.updatePropertyAssignment(t,C.checkDefined(s(t.name,r,yc)),C.checkDefined(s(t.initializer,r,Et)))},305:function(t,r,i,o,s,l){return i.factory.updateShorthandPropertyAssignment(t,C.checkDefined(s(t.name,r,Je)),s(t.objectAssignmentInitializer,r,Et))},306:function(t,r,i,o,s,l){return i.factory.updateSpreadAssignment(t,C.checkDefined(s(t.expression,r,Et)))},307:function(t,r,i,o,s,l){return i.factory.updateEnumMember(t,C.checkDefined(s(t.name,r,yc)),s(t.initializer,r,Et))},308:function(t,r,i,o,s,l){return i.factory.updateSourceFile(t,qU(t.statements,r,i))},356:function(t,r,i,o,s,l){return i.factory.updatePartiallyEmittedExpression(t,C.checkDefined(s(t.expression,r,Et)))},357:function(t,r,i,o,s,l){return i.factory.updateCommaListExpression(t,o(t.elements,r,Et))}};function GHe(e){return C.assert(e.length<=1,"Too many nodes written to output."),cg(e)}function Aae(e,t,r,i,o){var{enter:s,exit:l}=o.extendedDiagnostics?l9("Source Map","beforeSourcemap","afterSourcemap"):SZ,u=[],d=[],_=new Map,m,y=[],E,A=[],R="",N=0,M=0,k=0,F=0,O=0,G=0,j=!1,K=0,Q=0,J=0,he=0,re=0,q=0,ue=!1,de=!1,ge=!1;return{getSources:()=>u,addSource:Ae,setSourceContent:Re,addName:$,addMapping:be,appendSourceMap:ee,toJSON:le,toString:()=>JSON.stringify(le())};function Ae(_e){s();const Ve=kR(i,_e,e.getCurrentDirectory(),e.getCanonicalFileName,!0);let Ge=_.get(Ve);return Ge===void 0&&(Ge=d.length,d.push(Ve),u.push(_e),_.set(Ve,Ge)),l(),Ge}function Re(_e,Ve){if(s(),Ve!==null){for(m||(m=[]);m.length<_e;)m.push(null);m[_e]=Ve}l()}function $(_e){s(),E||(E=new Map);let Ve=E.get(_e);return Ve===void 0&&(Ve=y.length,y.push(_e),E.set(_e,Ve)),l(),Ve}function ve(_e,Ve){return!ue||K!==_e||Q!==Ve}function je(_e,Ve,Ge){return _e!==void 0&&Ve!==void 0&&Ge!==void 0&&J===_e&&(he>Ve||he===Ve&&re>Ge)}function be(_e,Ve,Ge,Be,ot,Ot){C.assert(_e>=K,"generatedLine cannot backtrack"),C.assert(Ve>=0,"generatedCharacter cannot be negative"),C.assert(Ge===void 0||Ge>=0,"sourceIndex cannot be negative"),C.assert(Be===void 0||Be>=0,"sourceLine cannot be negative"),C.assert(ot===void 0||ot>=0,"sourceCharacter cannot be negative"),s(),(ve(_e,Ve)||je(Ge,Be,ot))&&(ze(),K=_e,Q=Ve,de=!1,ge=!1,ue=!0),Ge!==void 0&&Be!==void 0&&ot!==void 0&&(J=Ge,he=Be,re=ot,de=!0,Ot!==void 0&&(q=Ot,ge=!0)),l()}function ee(_e,Ve,Ge,Be,ot,Ot){C.assert(_e>=K,"generatedLine cannot backtrack"),C.assert(Ve>=0,"generatedCharacter cannot be negative"),s();const Vt=[];let mn;const Hn=YU(Ge.mappings);for(const gt of Hn){if(Ot&&(gt.generatedLine>Ot.line||gt.generatedLine===Ot.line&>.generatedCharacter>Ot.character))break;if(ot&&(gt.generatedLine<ot.line||ot.line===gt.generatedLine&>.generatedCharacter<ot.character))continue;let tn,ir,Ri,_o;if(gt.sourceIndex!==void 0){if(tn=Vt[gt.sourceIndex],tn===void 0){const Cr=Ge.sources[gt.sourceIndex],Ur=Ge.sourceRoot?ei(Ge.sourceRoot,Cr):Cr,Qe=ei(pi(Be),Ur);Vt[gt.sourceIndex]=tn=Ae(Qe),Ge.sourcesContent&&typeof Ge.sourcesContent[gt.sourceIndex]=="string"&&Re(tn,Ge.sourcesContent[gt.sourceIndex])}ir=gt.sourceLine,Ri=gt.sourceCharacter,Ge.names&>.nameIndex!==void 0&&(mn||(mn=[]),_o=mn[gt.nameIndex],_o===void 0&&(mn[gt.nameIndex]=_o=$(Ge.names[gt.nameIndex])))}const Ht=gt.generatedLine-(ot?ot.line:0),Qr=Ht+_e,go=ot&&ot.line===gt.generatedLine?gt.generatedCharacter-ot.character:gt.generatedCharacter,Ci=Ht===0?go+Ve:go;be(Qr,Ci,tn,ir,Ri,_o)}l()}function Se(){return!j||N!==K||M!==Q||k!==J||F!==he||O!==re||G!==q}function Ne(_e){A.push(_e),A.length>=1024&<()}function ze(){if(!(!ue||!Se())){if(s(),N<K){do Ne(59),N++;while(N<K);M=0}else C.assertEqual(N,K,"generatedLine cannot backtrack"),j&&Ne(44);De(Q-M),M=Q,de&&(De(J-k),k=J,De(he-F),F=he,De(re-O),O=re,ge&&(De(q-G),G=q)),j=!0,l()}}function lt(){A.length>0&&(R+=String.fromCharCode.apply(void 0,A),A.length=0)}function le(){return ze(),lt(),{version:3,file:t,sourceRoot:r,sources:d,names:y,mappings:R,sourcesContent:m}}function De(_e){_e<0?_e=(-_e<<1)+1:_e=_e<<1;do{let Ve=_e&31;_e=_e>>5,_e>0&&(Ve=Ve|32),Ne(UHe(Ve))}while(_e>0)}}var Iae=/\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,JU=/^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,KU=/^\s*(\/\/[@#] .*)?$/;function XU(e,t){return{getLineCount:()=>t.length,getLineText:r=>e.substring(t[r],t[r+1])}}function xae(e){for(let t=e.getLineCount()-1;t>=0;t--){const r=e.getLineText(t),i=JU.exec(r);if(i)return i[1].trimEnd();if(!r.match(KU))break}}function VHe(e){return typeof e=="string"||e===null}function jHe(e){return e!==null&&typeof e=="object"&&e.version===3&&typeof e.file=="string"&&typeof e.mappings=="string"&&Lo(e.sources)&&Gn(e.sources,jo)&&(e.sourceRoot===void 0||e.sourceRoot===null||typeof e.sourceRoot=="string")&&(e.sourcesContent===void 0||e.sourcesContent===null||Lo(e.sourcesContent)&&Gn(e.sourcesContent,VHe))&&(e.names===void 0||e.names===null||Lo(e.names)&&Gn(e.names,jo))}function Rae(e){try{const t=JSON.parse(e);if(jHe(t))return t}catch(t){}}function YU(e){let t=!1,r=0,i=0,o=0,s=0,l=0,u=0,d=0,_;return{get pos(){return r},get error(){return _},get state(){return m(!0,!0)},next(){for(;!t&&r<e.length;){const k=e.charCodeAt(r);if(k===59){i++,o=0,r++;continue}if(k===44){r++;continue}let F=!1,O=!1;if(o+=M(),R())return y();if(o<0)return A("Invalid generatedCharacter found");if(!N()){if(F=!0,s+=M(),R())return y();if(s<0)return A("Invalid sourceIndex found");if(N())return A("Unsupported Format: No entries after sourceIndex");if(l+=M(),R())return y();if(l<0)return A("Invalid sourceLine found");if(N())return A("Unsupported Format: No entries after sourceLine");if(u+=M(),R())return y();if(u<0)return A("Invalid sourceCharacter found");if(!N()){if(O=!0,d+=M(),R())return y();if(d<0)return A("Invalid nameIndex found");if(!N())return A("Unsupported Error Format: Entries after nameIndex")}}return{value:m(F,O),done:t}}return y()},[Symbol.iterator](){return this}};function m(k,F){return{generatedLine:i,generatedCharacter:o,sourceIndex:k?s:void 0,sourceLine:k?l:void 0,sourceCharacter:k?u:void 0,nameIndex:F?d:void 0}}function y(){return t=!0,{value:void 0,done:!0}}function E(k){_===void 0&&(_=k)}function A(k){return E(k),y()}function R(){return _!==void 0}function N(){return r===e.length||e.charCodeAt(r)===44||e.charCodeAt(r)===59}function M(){let k=!0,F=0,O=0;for(;k;r++){if(r>=e.length)return E("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;const G=HHe(e.charCodeAt(r));if(G===-1)return E("Invalid character in VLQ"),-1;k=(G&32)!==0,O=O|(G&31)<<F,F+=5}return(O&1)===0?O=O>>1:(O=O>>1,O=-O),O}}function dAe(e,t){return e===t||e.generatedLine===t.generatedLine&&e.generatedCharacter===t.generatedCharacter&&e.sourceIndex===t.sourceIndex&&e.sourceLine===t.sourceLine&&e.sourceCharacter===t.sourceCharacter&&e.nameIndex===t.nameIndex}function Dae(e){return e.sourceIndex!==void 0&&e.sourceLine!==void 0&&e.sourceCharacter!==void 0}function UHe(e){return e>=0&&e<26?65+e:e>=26&&e<52?97+e-26:e>=52&&e<62?48+e-52:e===62?43:e===63?47:C.fail("".concat(e,": not a base64 value"))}function HHe(e){return e>=65&&e<=90?e-65:e>=97&&e<=122?e-97+26:e>=48&&e<=57?e-48+52:e===43?62:e===47?63:-1}function uAe(e){return e.sourceIndex!==void 0&&e.sourcePosition!==void 0}function pAe(e,t){return e.generatedPosition===t.generatedPosition&&e.sourceIndex===t.sourceIndex&&e.sourcePosition===t.sourcePosition}function qHe(e,t){return C.assert(e.sourceIndex===t.sourceIndex),Js(e.sourcePosition,t.sourcePosition)}function JHe(e,t){return Js(e.generatedPosition,t.generatedPosition)}function KHe(e){return e.sourcePosition}function XHe(e){return e.generatedPosition}function Cae(e,t,r){const i=pi(r),o=t.sourceRoot?Eo(t.sourceRoot,i):i,s=Eo(t.file,i),l=e.getSourceFileLike(s),u=t.sources.map(F=>Eo(F,o)),d=new Map(u.map((F,O)=>[e.getCanonicalFileName(F),O]));let _,m,y;return{getSourcePosition:k,getGeneratedPosition:M};function E(F){const O=l!==void 0?I2(l,F.generatedLine,F.generatedCharacter,!0):-1;let G,j;if(Dae(F)){const K=e.getSourceFileLike(u[F.sourceIndex]);G=t.sources[F.sourceIndex],j=K!==void 0?I2(K,F.sourceLine,F.sourceCharacter,!0):-1}return{generatedPosition:O,source:G,sourceIndex:F.sourceIndex,sourcePosition:j,nameIndex:F.nameIndex}}function A(){if(_===void 0){const F=YU(t.mappings),O=Mo(F,E);F.error!==void 0?(e.log&&e.log("Encountered error while decoding sourcemap: ".concat(F.error)),_=se):_=O}return _}function R(F){if(y===void 0){const O=[];for(const G of A()){if(!uAe(G))continue;let j=O[G.sourceIndex];j||(O[G.sourceIndex]=j=[]),j.push(G)}y=O.map(G=>mN(G,qHe,pAe))}return y[F]}function N(){if(m===void 0){const F=[];for(const O of A())F.push(O);m=mN(F,JHe,pAe)}return m}function M(F){const O=d.get(e.getCanonicalFileName(F.fileName));if(O===void 0)return F;const G=R(O);if(!bt(G))return F;let j=$A(G,F.pos,KHe,Js);j<0&&(j=~j);const K=G[j];return K===void 0||K.sourceIndex!==O?F:{fileName:s,pos:K.generatedPosition}}function k(F){const O=N();if(!bt(O))return F;let G=$A(O,F.pos,XHe,Js);G<0&&(G=~G);const j=O[G];return j===void 0||!uAe(j)?F:{fileName:u[j.sourceIndex],pos:j.sourcePosition}}}var $U={getSourcePosition:qs,getGeneratedPosition:qs};function Gu(e){return e=Tl(e),e?ls(e):0}function fAe(e){return!e||!s_(e)&&!Kf(e)?!1:bt(e.elements,mAe)}function mAe(e){return O_(e.propertyName||e.name)}function hh(e,t){return r;function r(o){return o.kind===308?t(o):i(o)}function i(o){return e.factory.createBundle(Gt(o.sourceFiles,t))}}function Nae(e){return!!tD(e)}function g3(e){if(tD(e))return!0;const t=e.importClause&&e.importClause.namedBindings;if(!t||!s_(t))return!1;let r=0;for(const i of t.elements)mAe(i)&&r++;return r>0&&r!==t.elements.length||!!(t.elements.length-r)&&l1(e)}function QU(e){return!g3(e)&&(l1(e)||!!e.importClause&&s_(e.importClause.namedBindings)&&fAe(e.importClause.namedBindings))}function ZU(e,t){const r=e.getEmitResolver(),i=e.getCompilerOptions(),o=[],s=new YHe,l=[],u=new Map,d=new Set;let _,m=!1,y,E=!1,A=!1,R=!1;for(const F of t.statements)switch(F.kind){case 273:o.push(F),!A&&g3(F)&&(A=!0),!R&&QU(F)&&(R=!0);break;case 272:F.moduleReference.kind===284&&o.push(F);break;case 279:if(F.moduleSpecifier)if(!F.exportClause)o.push(F),E=!0;else if(o.push(F),Kf(F.exportClause))M(F),R||(R=fAe(F.exportClause));else{const O=F.exportClause.name,G=Sb(O);u.get(G)||(cP(l,Gu(F),O),u.set(G,!0),_=jn(_,O)),A=!0}else M(F);break;case 278:F.isExportEquals&&!y&&(y=F);break;case 244:if(fi(F,32))for(const O of F.declarationList.declarations)_=hAe(O,u,_,l);break;case 263:fi(F,32)&&k(F,void 0,fi(F,2048));break;case 264:if(fi(F,32))if(fi(F,2048))m||(cP(l,Gu(F),e.factory.getDeclarationName(F)),m=!0);else{const O=F.name;O&&!u.get(Yr(O))&&(cP(l,Gu(F),O),u.set(Yr(O),!0),_=jn(_,O))}break}const N=Jj(e.factory,e.getEmitHelperFactory(),t,i,E,A,R);return N&&o.unshift(N),{externalImports:o,exportSpecifiers:s,exportEquals:y,hasExportStarsToExportValues:E,exportedBindings:l,exportedNames:_,exportedFunctions:d,externalHelpersImportDeclaration:N};function M(F){for(const O of va(F.exportClause,Kf).elements){const G=Sb(O.name);if(!u.get(G)){const j=O.propertyName||O.name;if(j.kind!==11){F.moduleSpecifier||s.add(j,O);const K=r.getReferencedImportDeclaration(j)||r.getReferencedValueDeclaration(j);if(K){if(K.kind===263){k(K,O.name,O_(O.name));continue}cP(l,Gu(K),O.name)}}u.set(G,!0),_=jn(_,O.name)}}}function k(F,O,G){if(d.add(Tl(F,ec)),G)m||(cP(l,Gu(F),O!=null?O:e.factory.getDeclarationName(F)),m=!0);else{O!=null||(O=F.name);const j=Sb(O);u.get(j)||(cP(l,Gu(F),O),u.set(j,!0))}}}function hAe(e,t,r,i){if(na(e.name))for(const o of e.name.elements)qc(o)||(r=hAe(o,t,r,i));else if(!yl(e.name)){const o=Yr(e.name);t.get(o)||(t.set(o,!0),r=jn(r,e.name),yy(e.name)&&cP(i,Gu(e),e.name))}return r}function cP(e,t,r){let i=e[t];return i?i.push(r):e[t]=i=[r],i}var HD=class oN{constructor(){this._map=new Map}get size(){return this._map.size}has(t){return this._map.has(oN.toKey(t))}get(t){return this._map.get(oN.toKey(t))}set(t,r){return this._map.set(oN.toKey(t),r),this}delete(t){var i;var r;return(i=(r=this._map)==null?void 0:r.delete(oN.toKey(t)))!=null?i:!1}clear(){this._map.clear()}values(){return this._map.values()}static toKey(t){if($E(t)||yl(t)){const r=t.emitNode.autoGenerate;if((r.flags&7)===4){const i=Dw(t),o=mg(i)&&i!==t?oN.toKey(i):"(generated@".concat(ls(i),")");return iT(!1,r.prefix,o,r.suffix,oN.toKey)}else{const i="(auto@".concat(r.id,")");return iT(!1,r.prefix,i,r.suffix,oN.toKey)}}return to(t)?Yr(t).slice(1):Yr(t)}},YHe=class extends HD{add(e,t){let r=this.get(e);return r?r.push(t):this.set(e,r=[t]),r}remove(e,t){const r=this.get(e);r&&(eI(r,t),r.length||this.delete(e))}};function KS(e){return ds(e)||e.kind===9||np(e.kind)||Je(e)}function H_(e){return!Je(e)&&KS(e)}function dP(e){return e>=65&&e<=79}function uP(e){switch(e){case 65:return 40;case 66:return 41;case 67:return 42;case 68:return 43;case 69:return 44;case 70:return 45;case 71:return 48;case 72:return 49;case 73:return 50;case 74:return 51;case 75:return 52;case 79:return 53;case 76:return 57;case 77:return 56;case 78:return 61}}function y3(e){if(!od(e))return;const t=us(e.expression);return r1(t)?t:void 0}function _Ae(e,t,r){for(let i=t;i<e.length;i+=1){const o=e[i];if(y3(o))return r.unshift(i),!0;if(A1(o)&&_Ae(o.tryBlock.statements,0,r))return r.unshift(i),!0}return!1}function v3(e,t){const r=[];return _Ae(e,t,r),r}function eH(e,t,r){return Fn(e.members,i=>QHe(i,t,r))}function $He(e){return ZHe(e)||Zl(e)}function b3(e){return Fn(e.members,$He)}function QHe(e,t,r){return ko(e)&&(!!e.initializer||!t)&&Lc(e)===r}function ZHe(e){return ko(e)&&Lc(e)}function qw(e){return e.kind===173&&e.initializer!==void 0}function Mae(e){return!ha(e)&&(lI(e)||Qu(e))&&to(e.name)}function Pae(e){let t;if(e){const r=e.parameters,i=r.length>0&&xb(r[0]),o=i?1:0,s=i?r.length-1:r.length;for(let l=0;l<s;l++){const u=r[l+o];(t||ff(u))&&(t||(t=new Array(s)),t[l]=pb(u))}}return t}function tH(e,t){const r=pb(e),i=t?Pae(Sg(e)):void 0;if(!(!bt(r)&&!bt(i)))return{decorators:r,parameters:i}}function T3(e,t,r){switch(e.kind){case 178:case 179:return r?eqe(e,t):gAe(e,!1);case 175:return gAe(e,r);case 173:return tqe(e);default:return}}function eqe(e,t,r){if(!e.body)return;const{firstAccessor:i,secondAccessor:o,getAccessor:s,setAccessor:l}=MS(t.members,e),u=ff(i)?i:o&&ff(o)?o:void 0;if(!u||e!==u)return;const d=pb(u),_=Pae(l);if(!(!bt(d)&&!bt(_)))return{decorators:d,parameters:_,getDecorators:s&&pb(s),setDecorators:l&&pb(l)}}function gAe(e,t){if(!e.body)return;const r=pb(e),i=t?Pae(e):void 0;if(!(!bt(r)&&!bt(i)))return{decorators:r,parameters:i}}function tqe(e){const t=pb(e);if(bt(t))return{decorators:t}}function nqe(e,t){for(;e;){const r=t(e);if(r!==void 0)return r;e=e.previous}}function Lae(e){return{data:e}}function nH(e,t){var r,i;return $E(t)?(r=e==null?void 0:e.generatedIdentifiers)==null?void 0:r.get(Dw(t)):(i=e==null?void 0:e.identifiers)==null?void 0:i.get(t.escapedText)}function k1(e,t,r){var i,o;$E(t)?((i=e.generatedIdentifiers)!=null||(e.generatedIdentifiers=new Map),e.generatedIdentifiers.set(Dw(t),r)):((o=e.identifiers)!=null||(e.identifiers=new Map),e.identifiers.set(t.escapedText,r))}function kae(e,t){return nqe(e,r=>nH(r.privateEnv,t))}function rqe(e){return!e.initializer&&Je(e.name)}function Jw(e){return Gn(e,rqe)}function sx(e,t){if(!e||!Oa(e)||!Sk(e.text,t))return e;const r=dv(e.text,eO(e.text,t));return r!==e.text?jr(Tt(L.createStringLiteral(r,e.singleQuote),e),e):e}var wae=(e=>(e[e.All=0]="All",e[e.ObjectRest=1]="ObjectRest",e))(wae||{});function w1(e,t,r,i,o,s){let l=e,u;if(sv(e))for(u=e.right;nre(e.left)||EV(e.left);)if(sv(u))l=e=u,u=e.right;else return C.checkDefined(st(u,t,Et));let d;const _={context:r,level:i,downlevelIteration:!!r.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:m,emitBindingOrAssignment:y,createArrayBindingOrAssignmentPattern:E=>uqe(r.factory,E),createObjectBindingOrAssignmentPattern:E=>fqe(r.factory,E),createArrayBindingOrAssignmentElement:hqe,visitor:t};if(u&&(u=st(u,t,Et),C.assert(u),Je(u)&&Oae(e,u.escapedText)||Wae(e)?u=lx(_,u,!1,l):o?u=lx(_,u,!0,l):zs(e)&&(l=u)),pP(_,e,u,l,sv(e)),u&&o){if(!bt(d))return u;d.push(u)}return r.factory.inlineExpressions(d)||r.factory.createOmittedExpression();function m(E){d=jn(d,E)}function y(E,A,R,N){C.assertNode(E,s?Je:Et);const M=s?s(E,A,R):Tt(r.factory.createAssignment(C.checkDefined(st(E,t,Et)),A),R);M.original=N,m(M)}}function Oae(e,t){const r=Fb(e);return G2(r)?iqe(r,t):Je(r)?r.escapedText===t:!1}function iqe(e,t){const r=wD(e);for(const i of r)if(Oae(i,t))return!0;return!1}function Wae(e){const t=O4(e);if(t&&Ea(t)&&!YE(t.expression))return!0;const r=Fb(e);return!!r&&G2(r)&&oqe(r)}function oqe(e){return!!Xe(wD(e),Wae)}function XS(e,t,r,i,o,s=!1,l){let u;const d=[],_=[],m={context:r,level:i,downlevelIteration:!!r.getCompilerOptions().downlevelIteration,hoistTempVariables:s,emitExpression:y,emitBindingOrAssignment:E,createArrayBindingOrAssignmentPattern:A=>dqe(r.factory,A),createObjectBindingOrAssignmentPattern:A=>pqe(r.factory,A),createArrayBindingOrAssignmentElement:A=>mqe(r.factory,A),visitor:t};if(bi(e)){let A=xw(e);A&&(Je(A)&&Oae(e,A.escapedText)||Wae(e))&&(A=lx(m,C.checkDefined(st(A,m.visitor,Et)),!1,A),e=r.factory.updateVariableDeclaration(e,e.name,void 0,void 0,A))}if(pP(m,e,o,e,l),u){const A=r.factory.createTempVariable(void 0);if(s){const R=r.factory.inlineExpressions(u);u=void 0,E(A,R,void 0,void 0)}else{r.hoistVariableDeclaration(A);const R=Ga(d);R.pendingExpressions=jn(R.pendingExpressions,r.factory.createAssignment(A,R.value)),$r(R.pendingExpressions,u),R.value=A}}for(const{pendingExpressions:A,name:R,value:N,location:M,original:k}of d){const F=r.factory.createVariableDeclaration(R,void 0,void 0,A?r.factory.inlineExpressions(jn(A,N)):N);F.original=k,Tt(F,M),_.push(F)}return _;function y(A){u=jn(u,A)}function E(A,R,N,M){C.assertNode(A,QE),u&&(R=r.factory.inlineExpressions(jn(u,R)),u=void 0),d.push({pendingExpressions:u,name:A,value:R,location:N,original:M})}}function pP(e,t,r,i,o){const s=Fb(t);if(!o){const l=st(xw(t),e.visitor,Et);l?r?(r=lqe(e,r,l,i),!H_(l)&&G2(s)&&(r=lx(e,r,!0,i))):r=l:r||(r=e.context.factory.createVoidZero())}oG(s)?aqe(e,t,s,r,i):aG(s)?sqe(e,t,s,r,i):e.emitBindingOrAssignment(s,r,i,t)}function aqe(e,t,r,i,o){const s=wD(r),l=s.length;if(l!==1){const _=!B2(t)||l!==0;i=lx(e,i,_,o)}let u,d;for(let _=0;_<l;_++){const m=s[_];if(w4(m)){if(_===l-1){u&&(e.emitBindingOrAssignment(e.createObjectBindingOrAssignmentPattern(u),i,o,r),u=void 0);const y=e.context.getEmitHelperFactory().createRestHelper(i,s,d,r);pP(e,m,y,m)}}else{const y=Kj(m);if(e.level>=1&&!(m.transformFlags&98304)&&!(Fb(m).transformFlags&98304)&&!Ea(y))u=jn(u,st(m,e.visitor,Tte));else{u&&(e.emitBindingOrAssignment(e.createObjectBindingOrAssignmentPattern(u),i,o,r),u=void 0);const E=cqe(e,i,y);Ea(y)&&(d=jn(d,E.argumentExpression)),pP(e,m,E,m)}}}u&&e.emitBindingOrAssignment(e.createObjectBindingOrAssignmentPattern(u),i,o,r)}function sqe(e,t,r,i,o){const s=wD(r),l=s.length;if(e.level<1&&e.downlevelIteration)i=lx(e,Tt(e.context.getEmitHelperFactory().createReadHelper(i,l>0&&w4(s[l-1])?void 0:l),o),!1,o);else if(l!==1&&(e.level<1||l===0)||Gn(s,qc)){const _=!B2(t)||l!==0;i=lx(e,i,_,o)}let u,d;for(let _=0;_<l;_++){const m=s[_];if(e.level>=1)if(m.transformFlags&65536||e.hasTransformedPriorElement&&!yAe(m)){e.hasTransformedPriorElement=!0;const y=e.context.factory.createTempVariable(void 0);e.hoistTempVariables&&e.context.hoistVariableDeclaration(y),d=jn(d,[y,m]),u=jn(u,e.createArrayBindingOrAssignmentElement(y))}else u=jn(u,m);else{if(qc(m))continue;if(w4(m)){if(_===l-1){const y=e.context.factory.createArraySliceCall(i,_);pP(e,m,y,m)}}else{const y=e.context.factory.createElementAccessExpression(i,_);pP(e,m,y,m)}}}if(u&&e.emitBindingOrAssignment(e.createArrayBindingOrAssignmentPattern(u),i,o,r),d)for(const[_,m]of d)pP(e,m,_,m)}function yAe(e){const t=Fb(e);if(!t||qc(t))return!0;const r=O4(e);if(r&&!$h(r))return!1;const i=xw(e);return i&&!H_(i)?!1:G2(t)?Gn(wD(t),yAe):Je(t)}function lqe(e,t,r,i){return t=lx(e,t,!0,i),e.context.factory.createConditionalExpression(e.context.factory.createTypeCheck(t,"undefined"),void 0,r,void 0,t)}function cqe(e,t,r){const{factory:i}=e.context;if(Ea(r)){const o=lx(e,C.checkDefined(st(r.expression,e.visitor,Et)),!1,r);return e.context.factory.createElementAccessExpression(t,o)}else if(pf(r)||bD(r)){const o=i.cloneNode(r);return e.context.factory.createElementAccessExpression(t,o)}else{const o=e.context.factory.createIdentifier(Yr(r));return e.context.factory.createPropertyAccessExpression(t,o)}}function lx(e,t,r,i){if(Je(t)&&r)return t;{const o=e.context.factory.createTempVariable(void 0);return e.hoistTempVariables?(e.context.hoistVariableDeclaration(o),e.emitExpression(Tt(e.context.factory.createAssignment(o,t),i))):e.emitBindingOrAssignment(o,t,i,void 0),o}}function dqe(e,t){return C.assertEachNode(t,EF),e.createArrayBindingPattern(t)}function uqe(e,t){return C.assertEachNode(t,j2),e.createArrayLiteralExpression(Gt(t,e.converters.convertToArrayAssignmentElement))}function pqe(e,t){return C.assertEachNode(t,qa),e.createObjectBindingPattern(t)}function fqe(e,t){return C.assertEachNode(t,V2),e.createObjectLiteralExpression(Gt(t,e.converters.convertToObjectAssignmentElement))}function mqe(e,t){return e.createBindingElement(void 0,void 0,t)}function hqe(e){return e}function _qe(e,t,r=e.createThis()){const i=e.createAssignment(t,r),o=e.createExpressionStatement(i),s=e.createBlock([o],!1),l=e.createClassStaticBlockDeclaration(s);return jd(l).classThis=t,l}function fP(e){var t;if(!Zl(e)||e.body.statements.length!==1)return!1;const r=e.body.statements[0];return od(r)&&id(r.expression,!0)&&Je(r.expression.left)&&((t=e.emitNode)==null?void 0:t.classThis)===r.expression.left&&r.expression.right.kind===110}function rH(e){var t;return!!((t=e.emitNode)!=null&&t.classThis)&&bt(e.members,fP)}function Fae(e,t,r,i){if(rH(t))return t;const o=_qe(e,r,i);t.name&&Ha(o.body.statements[0],t.name);const s=e.createNodeArray([o,...t.members]);Tt(s,t.members);const l=xc(t)?e.updateClassDeclaration(t,t.modifiers,t.name,t.typeParameters,t.heritageClauses,s):e.updateClassExpression(t,t.modifiers,t.name,t.typeParameters,t.heritageClauses,s);return jd(l).classThis=r,l}function S3(e,t,r){const i=Tl(Hl(r));return(xc(i)||ec(i))&&!i.name&&fi(i,2048)?e.createStringLiteral("default"):e.createStringLiteralFromNode(t)}function vAe(e,t,r){const{factory:i}=e;if(r!==void 0)return{assignedName:i.createStringLiteral(r),name:t};if($h(t)||to(t))return{assignedName:i.createStringLiteralFromNode(t),name:t};if($h(t.expression)&&!Je(t.expression))return{assignedName:i.createStringLiteralFromNode(t.expression),name:t};const o=i.getGeneratedNameForNode(t);e.hoistVariableDeclaration(o);const s=e.getEmitHelperFactory().createPropKeyHelper(t.expression),l=i.createAssignment(o,s),u=i.updateComputedPropertyName(t,l);return{assignedName:o,name:u}}function gqe(e,t,r=e.factory.createThis()){const{factory:i}=e,o=e.getEmitHelperFactory().createSetFunctionNameHelper(r,t),s=i.createExpressionStatement(o),l=i.createBlock([s],!1),u=i.createClassStaticBlockDeclaration(l);return jd(u).assignedName=t,u}function cx(e){var t;if(!Zl(e)||e.body.statements.length!==1)return!1;const r=e.body.statements[0];return od(r)&&FM(r.expression,"___setFunctionName")&&r.expression.arguments.length>=2&&r.expression.arguments[1]===((t=e.emitNode)==null?void 0:t.assignedName)}function E3(e){var t;return!!((t=e.emitNode)!=null&&t.assignedName)&&bt(e.members,cx)}function iH(e){return!!e.name||E3(e)}function A3(e,t,r,i){if(E3(t))return t;const{factory:o}=e,s=gqe(e,r,i);t.name&&Ha(s.body.statements[0],t.name);const l=lo(t.members,fP)+1,u=t.members.slice(0,l),d=t.members.slice(l),_=o.createNodeArray([...u,s,...d]);return Tt(_,t.members),t=xc(t)?o.updateClassDeclaration(t,t.modifiers,t.name,t.typeParameters,t.heritageClauses,_):o.updateClassExpression(t,t.modifiers,t.name,t.typeParameters,t.heritageClauses,_),jd(t).assignedName=r,t}function qD(e,t,r,i){if(i&&Oa(r)&&FG(r))return t;const{factory:o}=e,s=Hl(t),l=uc(s)?va(A3(e,s,r),uc):e.getEmitHelperFactory().createSetFunctionNameHelper(s,r);return o.restoreOuterExpressions(t,l)}function yqe(e,t,r,i){const{factory:o}=e,{assignedName:s,name:l}=vAe(e,t.name,i),u=qD(e,t.initializer,s,r);return o.updatePropertyAssignment(t,l,u)}function vqe(e,t,r,i){const{factory:o}=e,s=i!==void 0?o.createStringLiteral(i):S3(o,t.name,t.objectAssignmentInitializer),l=qD(e,t.objectAssignmentInitializer,s,r);return o.updateShorthandPropertyAssignment(t,t.name,l)}function bqe(e,t,r,i){const{factory:o}=e,s=i!==void 0?o.createStringLiteral(i):S3(o,t.name,t.initializer),l=qD(e,t.initializer,s,r);return o.updateVariableDeclaration(t,t.name,t.exclamationToken,t.type,l)}function Tqe(e,t,r,i){const{factory:o}=e,s=i!==void 0?o.createStringLiteral(i):S3(o,t.name,t.initializer),l=qD(e,t.initializer,s,r);return o.updateParameterDeclaration(t,t.modifiers,t.dotDotDotToken,t.name,t.questionToken,t.type,l)}function Sqe(e,t,r,i){const{factory:o}=e,s=i!==void 0?o.createStringLiteral(i):S3(o,t.name,t.initializer),l=qD(e,t.initializer,s,r);return o.updateBindingElement(t,t.dotDotDotToken,t.propertyName,t.name,l)}function Eqe(e,t,r,i){var d;const{factory:o}=e,{assignedName:s,name:l}=vAe(e,t.name,i),u=qD(e,t.initializer,s,r);return o.updatePropertyDeclaration(t,t.modifiers,l,(d=t.questionToken)!=null?d:t.exclamationToken,t.type,u)}function Aqe(e,t,r,i){const{factory:o}=e,s=i!==void 0?o.createStringLiteral(i):S3(o,t.left,t.right),l=qD(e,t.right,s,r);return o.updateBinaryExpression(t,t.left,t.operatorToken,l)}function Iqe(e,t,r,i){const{factory:o}=e,s=i!==void 0?o.createStringLiteral(i):o.createStringLiteral(t.isExportEquals?"":"default"),l=qD(e,t.expression,s,r);return o.updateExportAssignment(t,t.modifiers,l)}function Vp(e,t,r,i){switch(t.kind){case 304:return yqe(e,t,r,i);case 305:return vqe(e,t,r,i);case 261:return bqe(e,t,r,i);case 170:return Tqe(e,t,r,i);case 209:return Sqe(e,t,r,i);case 173:return Eqe(e,t,r,i);case 227:return Aqe(e,t,r,i);case 278:return Iqe(e,t,r,i)}}var zae=(e=>(e[e.LiftRestriction=0]="LiftRestriction",e[e.All=1]="All",e))(zae||{});function oH(e,t,r,i,o,s){const l=st(t.tag,r,Et);C.assert(l);const u=[void 0],d=[],_=[],m=t.template;if(s===0&&!aV(m))return kn(t,r,e);const{factory:y}=e;if(y1(m))d.push(Bae(y,m)),_.push(Gae(y,m,i));else{d.push(Bae(y,m.head)),_.push(Gae(y,m.head,i));for(const A of m.templateSpans)d.push(Bae(y,A.literal)),_.push(Gae(y,A.literal,i)),u.push(C.checkDefined(st(A.expression,r,Et)))}const E=e.getEmitHelperFactory().createTemplateObjectHelper(y.createArrayLiteralExpression(d),y.createArrayLiteralExpression(_));if(Wc(i)){const A=y.createUniqueName("templateObject");o(A),u[0]=y.createLogicalOr(A,y.createAssignment(A,E))}else u[0]=E;return y.createCallExpression(l,void 0,u)}function Bae(e,t){return t.templateFlags&26656?e.createVoidZero():e.createStringLiteral(t.text)}function Gae(e,t,r){let i=t.rawText;if(i===void 0){C.assertIsDefined(r,"Template literal node is missing 'rawText' and does not have a source file. Possibly bad transform."),i=vS(r,t);const o=t.kind===15||t.kind===18;i=i.substring(1,i.length-(o?1:2))}return i=i.replace(/\r\n?/g,"\n"),Tt(e.createStringLiteral(i),t)}function Vae(e){const{factory:t,getEmitHelperFactory:r,startLexicalEnvironment:i,resumeLexicalEnvironment:o,endLexicalEnvironment:s,hoistVariableDeclaration:l}=e,u=e.getEmitResolver(),d=e.getCompilerOptions(),_=Va(d),m=Tu(d),y=!!d.experimentalDecorators,E=d.emitDecoratorMetadata?Uae(e):void 0,A=e.onEmitNode,R=e.onSubstituteNode;e.onEmitNode=tc,e.onSubstituteNode=Tf,e.enableSubstitution(212),e.enableSubstitution(213);let N,M,k,F,O,G=0,j;return K;function K(Ie){return Ie.kind===309?Q(Ie):J(Ie)}function Q(Ie){return t.createBundle(Ie.sourceFiles.map(J))}function J(Ie){if(Ie.isDeclarationFile)return Ie;N=Ie;const Y=he(Ie,De);return Dg(Y,e.readEmitHelpers()),N=void 0,Y}function he(Ie,Y){const ut=F,Jt=O;re(Ie);const fn=Y(Ie);return F!==ut&&(O=Jt),F=ut,fn}function re(Ie){switch(Ie.kind){case 308:case 270:case 269:case 242:F=Ie,O=void 0;break;case 264:case 263:if(fi(Ie,128))break;Ie.name?B(Ie):C.assert(Ie.kind===264||fi(Ie,2048));break}}function q(Ie){return he(Ie,ue)}function ue(Ie){return Ie.transformFlags&1?le(Ie):Ie}function de(Ie){return he(Ie,ge)}function ge(Ie){switch(Ie.kind){case 273:case 272:case 278:case 279:return Re(Ie);default:return ue(Ie)}}function Ae(Ie){const Y=Ho(Ie);if(Y===Ie||fl(Ie))return!1;if(!Y||Y.kind!==Ie.kind)return!0;switch(Ie.kind){case 273:if(C.assertNode(Y,Sl),Ie.importClause!==Y.importClause||Ie.attributes!==Y.attributes)return!0;break;case 272:if(C.assertNode(Y,Oc),Ie.name!==Y.name||Ie.isTypeOnly!==Y.isTypeOnly||Ie.moduleReference!==Y.moduleReference&&(ku(Ie.moduleReference)||ku(Y.moduleReference)))return!0;break;case 279:if(C.assertNode(Y,fc),Ie.exportClause!==Y.exportClause||Ie.attributes!==Y.attributes)return!0;break}return!1}function Re(Ie){if(Ae(Ie))return Ie.transformFlags&1?kn(Ie,q,e):Ie;switch(Ie.kind){case 273:return jt(Ie);case 272:return bn(Ie);case 278:return vt(Ie);case 279:return Rt(Ie);default:C.fail("Unhandled ellided statement")}}function $(Ie){return he(Ie,ve)}function ve(Ie){if(!(Ie.kind===279||Ie.kind===273||Ie.kind===274||Ie.kind===272&&Ie.moduleReference.kind===284))return Ie.transformFlags&1||fi(Ie,32)?le(Ie):Ie}function je(Ie){return Y=>he(Y,ut=>be(ut,Ie))}function be(Ie,Y){switch(Ie.kind){case 177:return Qe(Ie);case 173:return Ur(Ie,Y);case 178:return Ki(Ie,Y);case 179:return Zo(Ie,Y);case 175:return oi(Ie,Y);case 176:return kn(Ie,q,e);case 241:return Ie;case 182:return;default:return C.failBadSyntaxKind(Ie)}}function ee(Ie){return Y=>he(Y,ut=>Se(ut,Ie))}function Se(Ie,Y){switch(Ie.kind){case 304:case 305:case 306:return q(Ie);case 178:return Ki(Ie,Y);case 179:return Zo(Ie,Y);case 175:return oi(Ie,Y);default:return C.failBadSyntaxKind(Ie)}}function Ne(Ie){return wc(Ie)?void 0:q(Ie)}function ze(Ie){return Ra(Ie)?void 0:q(Ie)}function lt(Ie){if(!wc(Ie)&&!(xI(Ie.kind)&28895)&&!(M&&Ie.kind===95))return Ie}function le(Ie){if(Gi(Ie)&&fi(Ie,128))return t.createNotEmittedStatement(Ie);switch(Ie.kind){case 95:case 90:return M?void 0:Ie;case 125:case 123:case 124:case 128:case 164:case 87:case 138:case 148:case 103:case 147:case 189:case 190:case 191:case 192:case 188:case 183:case 169:case 133:case 159:case 136:case 154:case 150:case 146:case 116:case 155:case 186:case 185:case 187:case 184:case 193:case 194:case 195:case 197:case 198:case 199:case 200:case 201:case 202:case 182:return;case 266:return t.createNotEmittedStatement(Ie);case 271:return;case 265:return t.createNotEmittedStatement(Ie);case 264:return ot(Ie);case 232:return Ot(Ie);case 299:return go(Ie);case 234:return Ci(Ie);case 211:return _e(Ie);case 177:case 173:case 175:case 178:case 179:case 176:return C.fail("Class and object literal elements must be visited with their respective visitors");case 263:return Da(Ie);case 219:return Pn(Ie);case 220:return qo(Ie);case 170:return at(Ie);case 218:return ie(Ie);case 217:case 235:return We(Ie);case 239:return dt(Ie);case 214:return Lt(Ie);case 215:return He(Ie);case 216:return Ct(Ie);case 236:return it(Ie);case 267:return Zt(Ie);case 244:return Bt(Ie);case 261:return _t(Ie);case 268:return $t(Ie);case 272:return bn(Ie);case 286:return Nt(Ie);case 287:return Wt(Ie);default:return kn(Ie,q,e)}}function De(Ie){const Y=Vd(d,"alwaysStrict")&&!(Wc(Ie)&&m>=5)&&!zf(Ie);return t.updateSourceFile(Ie,qU(Ie.statements,de,e,0,Y))}function _e(Ie){return t.updateObjectLiteralExpression(Ie,Jn(Ie.properties,ee(Ie),sy))}function Ve(Ie){let Y=0;bt(eH(Ie,!0,!0))&&(Y|=1);const ut=lh(Ie);return ut&&Hl(ut.expression).kind!==106&&(Y|=64),ov(y,Ie)&&(Y|=2),XN(y,Ie)&&(Y|=4),Pr(Ie)?Y|=8:ti(Ie)?Y|=32:kt(Ie)&&(Y|=16),Y}function Ge(Ie){return!!(Ie.transformFlags&8192)}function Be(Ie){return ff(Ie)||bt(Ie.typeParameters)||bt(Ie.heritageClauses,Ge)||bt(Ie.members,Ge)}function ot(Ie){var Xi;const Y=Ve(Ie),ut=_<=1&&!!(Y&7);if(!Be(Ie)&&!ov(y,Ie)&&!Pr(Ie))return t.updateClassDeclaration(Ie,Jn(Ie.modifiers,lt,Ra),Ie.name,void 0,Jn(Ie.heritageClauses,q,Gp),Jn(Ie.members,je(Ie),vc));ut&&e.startLexicalEnvironment();const Jt=ut||Y&8;let fn=Jt?Jn(Ie.modifiers,ze,vl):Jn(Ie.modifiers,q,vl);Y&2&&(fn=mn(fn,Ie));const si=Jt&&!Ie.name||Y&4||Y&1?(Xi=Ie.name)!=null?Xi:t.getGeneratedNameForNode(Ie):Ie.name,xr=t.updateClassDeclaration(Ie,fn,si,void 0,Jn(Ie.heritageClauses,q,Gp),Vt(Ie));let Bn=Za(Ie);Y&1&&(Bn|=64),Dr(xr,Bn);let Zi;if(ut){const bs=[xr],Ca=IV(wa(N.text,Ie.members.end),20),ml=t.getInternalName(Ie),Cc=t.createPartiallyEmittedExpression(ml);gD(Cc,Ca.end),Dr(Cc,3072);const zc=t.createReturnStatement(Cc);CM(zc,Ca.pos),Dr(zc,3840),bs.push(zc),yg(bs,e.endLexicalEnvironment());const ol=t.createImmediatelyInvokedArrowFunction(bs);uw(ol,1);const al=t.createVariableDeclaration(t.getLocalName(Ie,!1,!1),void 0,void 0,ol);jr(al,Ie);const Iu=t.createVariableStatement(void 0,t.createVariableDeclarationList([al],1));jr(Iu,Ie),Ic(Iu,Ie),Ha(Iu,fy(Ie)),au(Iu),Zi=Iu}else Zi=xr;if(Jt){if(Y&8)return[Zi,ea(Ie)];if(Y&32)return[Zi,t.createExportDefault(t.getLocalName(Ie,!1,!0))];if(Y&16)return[Zi,t.createExternalModuleExport(t.getDeclarationName(Ie,!1,!0))]}return Zi}function Ot(Ie){let Y=Jn(Ie.modifiers,ze,vl);return ov(y,Ie)&&(Y=mn(Y,Ie)),t.updateClassExpression(Ie,Y,Ie.name,void 0,Jn(Ie.heritageClauses,q,Gp),Vt(Ie))}function Vt(Ie){const Y=Jn(Ie.members,je(Ie),vc);let ut;const Jt=Sg(Ie),fn=Jt&&Fn(Jt.parameters,dr=>Lp(dr,Jt));if(fn)for(const dr of fn){const si=t.createPropertyDeclaration(void 0,dr.name,void 0,void 0,void 0);jr(si,dr),ut=jn(ut,si)}return ut?(ut=$r(ut,Y),Tt(t.createNodeArray(ut),Ie.members)):Y}function mn(Ie,Y){const ut=gt(Y,Y);if(bt(ut)){const Jt=[];$r(Jt,a9(Ie,Rw)),$r(Jt,Fn(Ie,wc)),$r(Jt,ut),$r(Jt,Fn(hZ(Ie,Rw),Ra)),Ie=Tt(t.createNodeArray(Jt),Ie)}return Ie}function Hn(Ie,Y,ut){if(hi(ut)&&WG(y,Y,ut)){const Jt=gt(Y,ut);if(bt(Jt)){const fn=[];$r(fn,Fn(Ie,wc)),$r(fn,Jt),$r(fn,Fn(Ie,Ra)),Ie=Tt(t.createNodeArray(fn),Ie)}}return Ie}function gt(Ie,Y){if(y)return tn(Ie,Y)}function tn(Ie,Y){if(E){let ut;if(ir(Ie)){const Jt=r().createMetadataHelper("design:type",E.serializeTypeOfNode({currentLexicalScope:F,currentNameScope:Y},Ie,Y));ut=jn(ut,t.createDecorator(Jt))}if(_o(Ie)){const Jt=r().createMetadataHelper("design:paramtypes",E.serializeParameterTypesOfNode({currentLexicalScope:F,currentNameScope:Y},Ie,Y));ut=jn(ut,t.createDecorator(Jt))}if(Ri(Ie)){const Jt=r().createMetadataHelper("design:returntype",E.serializeReturnTypeOfNode({currentLexicalScope:F,currentNameScope:Y},Ie));ut=jn(ut,t.createDecorator(Jt))}return ut}}function ir(Ie){const Y=Ie.kind;return Y===175||Y===178||Y===179||Y===173}function Ri(Ie){return Ie.kind===175}function _o(Ie){switch(Ie.kind){case 264:case 232:return Sg(Ie)!==void 0;case 175:case 178:case 179:return!0}return!1}function Ht(Ie,Y){const ut=Ie.name;return to(ut)?t.createIdentifier(""):Ea(ut)?ut.expression:Je(ut)?t.createStringLiteral(Yr(ut)):t.cloneNode(ut)}function Qr(Ie){const Y=Ie.name;if(y&&Ea(Y)&&ff(Ie)){const ut=st(Y.expression,q,Et);C.assert(ut);const Jt=Bm(ut);if(!H_(Jt)){const fn=t.getGeneratedNameForNode(Y);return l(fn),t.updateComputedPropertyName(Y,t.createAssignment(fn,ut))}}return C.checkDefined(st(Y,q,yc))}function go(Ie){if(Ie.token!==119)return kn(Ie,q,e)}function Ci(Ie){return t.updateExpressionWithTypeArguments(Ie,C.checkDefined(st(Ie.expression,q,Zu)),void 0)}function Cr(Ie){return!Wl(Ie.body)}function Ur(Ie,Y){const ut=Ie.flags&33554432||fi(Ie,64);if(ut&&!(y&&ff(Ie)))return;let Jt=hi(Y)?ut?Jn(Ie.modifiers,ze,vl):Jn(Ie.modifiers,q,vl):Jn(Ie.modifiers,Ne,vl);return Jt=Hn(Jt,Ie,Y),ut?t.updatePropertyDeclaration(Ie,co(Jt,t.createModifiersFromModifierFlags(128)),C.checkDefined(st(Ie.name,q,yc)),void 0,void 0,void 0):t.updatePropertyDeclaration(Ie,Jt,Qr(Ie),void 0,void 0,st(Ie.initializer,q,Et))}function Qe(Ie){if(Cr(Ie))return t.updateConstructorDeclaration(Ie,void 0,zl(Ie.parameters,q,e),hn(Ie.body,Ie))}function It(Ie,Y,ut,Jt,fn,dr){const si=Jt[fn],xr=Y[si];if($r(Ie,Jn(Y,q,Gi,ut,si-ut)),A1(xr)){const Bn=[];It(Bn,xr.tryBlock.statements,0,Jt,fn+1,dr);const Zi=t.createNodeArray(Bn);Tt(Zi,xr.tryBlock.statements),Ie.push(t.updateTryStatement(xr,t.updateBlock(xr.tryBlock,Bn),st(xr.catchClause,q,US),st(xr.finallyBlock,q,ia)))}else $r(Ie,Jn(Y,q,Gi,si,1)),$r(Ie,dr);$r(Ie,Jn(Y,q,Gi,si+1))}function hn(Ie,Y){const ut=Y&&Fn(Y.parameters,Bn=>Lp(Bn,Y));if(!bt(ut))return yf(Ie,q,e);let Jt=[];o();const fn=t.copyPrologue(Ie.statements,Jt,!1,q),dr=v3(Ie.statements,fn),si=Hi(ut,pr);dr.length?It(Jt,Ie.statements,fn,dr,0,si):($r(Jt,si),$r(Jt,Jn(Ie.statements,q,Gi,fn))),Jt=t.mergeLexicalEnvironment(Jt,s());const xr=t.createBlock(Tt(t.createNodeArray(Jt),Ie.statements),!0);return Tt(xr,Ie),jr(xr,Ie),xr}function pr(Ie){const Y=Ie.name;if(!Je(Y))return;const ut=ps(Tt(t.cloneNode(Y),Y),Y.parent);Dr(ut,3168);const Jt=ps(Tt(t.cloneNode(Y),Y),Y.parent);return Dr(Jt,3072),au(dw(Tt(jr(t.createExpressionStatement(t.createAssignment(Tt(t.createPropertyAccessExpression(t.createThis(),ut),Ie.name),Jt)),Ie),H0(Ie,-1))))}function oi(Ie,Y){if(!(Ie.transformFlags&1))return Ie;if(!Cr(Ie))return;let ut=hi(Y)?Jn(Ie.modifiers,q,vl):Jn(Ie.modifiers,Ne,vl);return ut=Hn(ut,Ie,Y),t.updateMethodDeclaration(Ie,ut,Ie.asteriskToken,Qr(Ie),void 0,void 0,zl(Ie.parameters,q,e),void 0,yf(Ie.body,q,e))}function di(Ie){return!(Wl(Ie.body)&&fi(Ie,64))}function Ki(Ie,Y){if(!(Ie.transformFlags&1))return Ie;if(!di(Ie))return;let ut=hi(Y)?Jn(Ie.modifiers,q,vl):Jn(Ie.modifiers,Ne,vl);return ut=Hn(ut,Ie,Y),t.updateGetAccessorDeclaration(Ie,ut,Qr(Ie),zl(Ie.parameters,q,e),void 0,yf(Ie.body,q,e)||t.createBlock([]))}function Zo(Ie,Y){if(!(Ie.transformFlags&1))return Ie;if(!di(Ie))return;let ut=hi(Y)?Jn(Ie.modifiers,q,vl):Jn(Ie.modifiers,Ne,vl);return ut=Hn(ut,Ie,Y),t.updateSetAccessorDeclaration(Ie,ut,Qr(Ie),zl(Ie.parameters,q,e),yf(Ie.body,q,e)||t.createBlock([]))}function Da(Ie){if(!Cr(Ie))return t.createNotEmittedStatement(Ie);const Y=t.updateFunctionDeclaration(Ie,Jn(Ie.modifiers,lt,Ra),Ie.asteriskToken,Ie.name,void 0,zl(Ie.parameters,q,e),void 0,yf(Ie.body,q,e)||t.createBlock([]));if(Pr(Ie)){const ut=[Y];return wo(ut,Ie),ut}return Y}function Pn(Ie){return Cr(Ie)?t.updateFunctionExpression(Ie,Jn(Ie.modifiers,lt,Ra),Ie.asteriskToken,Ie.name,void 0,zl(Ie.parameters,q,e),void 0,yf(Ie.body,q,e)||t.createBlock([])):t.createOmittedExpression()}function qo(Ie){return t.updateArrowFunction(Ie,Jn(Ie.modifiers,lt,Ra),void 0,zl(Ie.parameters,q,e),void 0,Ie.equalsGreaterThanToken,yf(Ie.body,q,e))}function at(Ie){if(xb(Ie))return;const Y=t.updateParameterDeclaration(Ie,Jn(Ie.modifiers,ut=>wc(ut)?q(ut):void 0,vl),Ie.dotDotDotToken,C.checkDefined(st(Ie.name,q,QE)),void 0,void 0,st(Ie.initializer,q,Et));return Y!==Ie&&(Ic(Y,Ie),Tt(Y,t_(Ie)),Ha(Y,t_(Ie)),Dr(Y.name,64)),Y}function Bt(Ie){if(Pr(Ie)){const Y=gM(Ie.declarationList);return Y.length===0?void 0:Tt(t.createExpressionStatement(t.inlineExpressions(Gt(Y,ce))),Ie)}else return kn(Ie,q,e)}function ce(Ie){const Y=Ie.name;return na(Y)?w1(Ie,q,e,0,!1,fs):Tt(t.createAssignment(xs(Y),C.checkDefined(st(Ie.initializer,q,Et))),Ie)}function _t(Ie){const Y=t.updateVariableDeclaration(Ie,C.checkDefined(st(Ie.name,q,QE)),void 0,void 0,st(Ie.initializer,q,Et));return Ie.type&&yie(Y.name,Ie.type),Y}function ie(Ie){const Y=Hl(Ie.expression,-55);if(yS(Y)||ID(Y)){const ut=st(Ie.expression,q,Et);return C.assert(ut),t.createPartiallyEmittedExpression(ut,Ie)}return kn(Ie,q,e)}function We(Ie){const Y=st(Ie.expression,q,Et);return C.assert(Y),t.createPartiallyEmittedExpression(Y,Ie)}function it(Ie){const Y=st(Ie.expression,q,Zu);return C.assert(Y),t.createPartiallyEmittedExpression(Y,Ie)}function dt(Ie){const Y=st(Ie.expression,q,Et);return C.assert(Y),t.createPartiallyEmittedExpression(Y,Ie)}function Lt(Ie){return t.updateCallExpression(Ie,C.checkDefined(st(Ie.expression,q,Et)),void 0,Jn(Ie.arguments,q,Et))}function He(Ie){return t.updateNewExpression(Ie,C.checkDefined(st(Ie.expression,q,Et)),void 0,Jn(Ie.arguments,q,Et))}function Ct(Ie){return t.updateTaggedTemplateExpression(Ie,C.checkDefined(st(Ie.tag,q,Et)),void 0,C.checkDefined(st(Ie.template,q,cI)))}function Nt(Ie){return t.updateJsxSelfClosingElement(Ie,C.checkDefined(st(Ie.tagName,q,GN)),void 0,C.checkDefined(st(Ie.attributes,q,jS)))}function Wt(Ie){return t.updateJsxOpeningElement(Ie,C.checkDefined(st(Ie.tagName,q,GN)),void 0,C.checkDefined(st(Ie.attributes,q,jS)))}function rt(Ie){return!W0(Ie)||Cb(d)}function Zt(Ie){if(!rt(Ie))return t.createNotEmittedStatement(Ie);const Y=[];let ut=4;const Jt=xt(Y,Ie);Jt&&(m!==4||F!==N)&&(ut|=1024);const fn=ms(Ie),dr=ro(Ie),si=Pr(Ie)?t.getExternalModuleOrNamespaceExportName(k,Ie,!1,!0):t.getDeclarationName(Ie,!1,!0);let xr=t.createLogicalOr(si,t.createAssignment(si,t.createObjectLiteralExpression()));if(Pr(Ie)){const Zi=t.getLocalName(Ie,!1,!0);xr=t.createAssignment(Zi,xr)}const Bn=t.createExpressionStatement(t.createCallExpression(t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,fn)],void 0,Rr(Ie,dr)),void 0,[xr]));return jr(Bn,Ie),Jt&&(K0(Bn,void 0),zI(Bn,void 0)),Tt(Bn,Ie),r_(Bn,ut),Y.push(Bn),Y}function Rr(Ie,Y){const ut=k;k=Y;const Jt=[];i();const fn=Gt(Ie.members,Oe);return yg(Jt,s()),$r(Jt,fn),k=ut,t.createBlock(Tt(t.createNodeArray(Jt),Ie.members),!0)}function Oe(Ie){const Y=Ht(Ie),ut=u.getEnumMemberValue(Ie),Jt=At(Ie,ut==null?void 0:ut.value),fn=t.createAssignment(t.createElementAccessExpression(k,Y),Jt),dr=typeof(ut==null?void 0:ut.value)=="string"||ut!=null&&ut.isSyntacticallyString?fn:t.createAssignment(t.createElementAccessExpression(k,fn),Y);return Tt(t.createExpressionStatement(Tt(dr,Ie)),Ie)}function At(Ie,Y){return Y!==void 0?typeof Y=="string"?t.createStringLiteral(Y):Y<0?t.createPrefixUnaryExpression(41,t.createNumericLiteral(-Y)):t.createNumericLiteral(Y):(zo(),Ie.initializer?C.checkDefined(st(Ie.initializer,q,Et)):t.createVoidZero())}function ye(Ie){const Y=Ho(Ie,pc);return Y?UU(Y,Cb(d)):!0}function B(Ie){O||(O=new Map);const Y=te(Ie);O.has(Y)||O.set(Y,Ie)}function xe(Ie){if(O){const Y=te(Ie);return O.get(Y)===Ie}return!0}function te(Ie){return C.assertNode(Ie.name,Je),Ie.name.escapedText}function xt(Ie,Y){const ut=t.createVariableDeclaration(t.getLocalName(Y,!1,!0)),Jt=F.kind===308?0:1,fn=t.createVariableStatement(Jn(Y.modifiers,lt,Ra),t.createVariableDeclarationList([ut],Jt));return jr(ut,Y),K0(ut,void 0),zI(ut,void 0),jr(fn,Y),B(Y),xe(Y)?(Y.kind===267?Ha(fn.declarationList,Y):Ha(fn,Y),Ic(fn,Y),r_(fn,2048),Ie.push(fn),!0):!1}function $t(Ie){if(!ye(Ie))return t.createNotEmittedStatement(Ie);C.assertNode(Ie.name,Je,"A TypeScript namespace should have an Identifier name."),bc();const Y=[];let ut=4;const Jt=xt(Y,Ie);Jt&&(m!==4||F!==N)&&(ut|=1024);const fn=ms(Ie),dr=ro(Ie),si=Pr(Ie)?t.getExternalModuleOrNamespaceExportName(k,Ie,!1,!0):t.getDeclarationName(Ie,!1,!0);let xr=t.createLogicalOr(si,t.createAssignment(si,t.createObjectLiteralExpression()));if(Pr(Ie)){const Zi=t.getLocalName(Ie,!1,!0);xr=t.createAssignment(Zi,xr)}const Bn=t.createExpressionStatement(t.createCallExpression(t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,fn)],void 0,Pe(Ie,dr)),void 0,[xr]));return jr(Bn,Ie),Jt&&(K0(Bn,void 0),zI(Bn,void 0)),Tt(Bn,Ie),r_(Bn,ut),Y.push(Bn),Y}function Pe(Ie,Y){const ut=k,Jt=M,fn=O;k=Y,M=Ie,O=void 0;const dr=[];i();let si,xr;if(Ie.body)if(Ie.body.kind===269)he(Ie.body,Zi=>$r(dr,Jn(Zi.statements,$,Gi))),si=Ie.body.statements,xr=Ie.body;else{const Zi=$t(Ie.body);Zi&&(Lo(Zi)?$r(dr,Zi):dr.push(Zi));const Xi=yt(Ie).body;si=H0(Xi.statements,-1)}yg(dr,s()),k=ut,M=Jt,O=fn;const Bn=t.createBlock(Tt(t.createNodeArray(dr),si),!0);return Tt(Bn,xr),(!Ie.body||Ie.body.kind!==269)&&Dr(Bn,Za(Bn)|3072),Bn}function yt(Ie){if(Ie.body.kind===268)return yt(Ie.body)||Ie.body}function jt(Ie){if(!Ie.importClause)return Ie;if(Ie.importClause.isTypeOnly)return;const Y=st(Ie.importClause,or,Hm);return Y?t.updateImportDeclaration(Ie,void 0,Y,Ie.moduleSpecifier,Ie.attributes):void 0}function or(Ie){C.assert(Ie.phaseModifier!==156);const Y=Gs(Ie)?Ie.name:void 0,ut=st(Ie.namedBindings,$n,dG);return Y||ut?t.updateImportClause(Ie,Ie.phaseModifier,Y,ut):void 0}function $n(Ie){if(Ie.kind===275)return Gs(Ie)?Ie:void 0;{const Y=d.verbatimModuleSyntax,ut=Jn(Ie.elements,fr,Au);return Y||bt(ut)?t.updateNamedImports(Ie,ut):void 0}}function fr(Ie){return!Ie.isTypeOnly&&Gs(Ie)?Ie:void 0}function vt(Ie){return d.verbatimModuleSyntax||u.isValueAliasDeclaration(Ie)?kn(Ie,q,e):void 0}function Rt(Ie){if(Ie.isTypeOnly)return;if(!Ie.exportClause||V_(Ie.exportClause))return t.updateExportDeclaration(Ie,Ie.modifiers,Ie.isTypeOnly,Ie.exportClause,Ie.moduleSpecifier,Ie.attributes);const Y=!!d.verbatimModuleSyntax,ut=st(Ie.exportClause,Jt=>An(Jt,Y),Z9);return ut?t.updateExportDeclaration(Ie,void 0,Ie.isTypeOnly,ut,Ie.moduleSpecifier,Ie.attributes):void 0}function zt(Ie,Y){const ut=Jn(Ie.elements,vn,ou);return Y||bt(ut)?t.updateNamedExports(Ie,ut):void 0}function Yt(Ie){return t.updateNamespaceExport(Ie,C.checkDefined(st(Ie.name,q,Je)))}function An(Ie,Y){return V_(Ie)?Yt(Ie):zt(Ie,Y)}function vn(Ie){return!Ie.isTypeOnly&&(d.verbatimModuleSyntax||u.isValueAliasDeclaration(Ie))?Ie:void 0}function Ft(Ie){return Gs(Ie)||!Wc(N)&&u.isTopLevelValueImportEqualsWithEntityName(Ie)}function bn(Ie){if(Ie.isTypeOnly)return;if(z0(Ie))return Gs(Ie)?kn(Ie,q,e):void 0;if(!Ft(Ie))return;const Y=Sw(t,Ie.moduleReference);return Dr(Y,7168),kt(Ie)||!Pr(Ie)?jr(Tt(t.createVariableStatement(Jn(Ie.modifiers,lt,Ra),t.createVariableDeclarationList([jr(t.createVariableDeclaration(Ie.name,void 0,void 0,Y),Ie)])),Ie),Ie):jr(vo(Ie.name,Y,Ie),Ie)}function Pr(Ie){return M!==void 0&&fi(Ie,32)}function tr(Ie){return M===void 0&&fi(Ie,32)}function kt(Ie){return tr(Ie)&&!fi(Ie,2048)}function ti(Ie){return tr(Ie)&&fi(Ie,2048)}function ea(Ie){const Y=t.createAssignment(t.getExternalModuleOrNamespaceExportName(k,Ie,!1,!0),t.getLocalName(Ie));Ha(Y,Gf(Ie.name?Ie.name.pos:Ie.pos,Ie.end));const ut=t.createExpressionStatement(Y);return Ha(ut,Gf(-1,Ie.end)),ut}function wo(Ie,Y){Ie.push(ea(Y))}function vo(Ie,Y,ut){return Tt(t.createExpressionStatement(t.createAssignment(t.getNamespaceMemberName(k,Ie,!1,!0),Y)),ut)}function fs(Ie,Y,ut){return Tt(t.createAssignment(xs(Ie),Y),ut)}function xs(Ie){return t.getNamespaceMemberName(k,Ie,!1,!0)}function ms(Ie){const Y=t.getGeneratedNameForNode(Ie);return Ha(Y,Ie.name),Y}function ro(Ie){return t.getGeneratedNameForNode(Ie)}function zo(){(G&8)===0&&(G|=8,e.enableSubstitution(80))}function bc(){(G&2)===0&&(G|=2,e.enableSubstitution(80),e.enableSubstitution(305),e.enableEmitNotification(268))}function tl(Ie){return Tl(Ie).kind===268}function Ma(Ie){return Tl(Ie).kind===267}function tc(Ie,Y,ut){const Jt=j,fn=N;Qi(Y)&&(N=Y),G&2&&tl(Y)&&(j|=2),G&8&&Ma(Y)&&(j|=8),A(Ie,Y,ut),j=Jt,N=fn}function Tf(Ie,Y){return Y=R(Ie,Y),Ie===1?ga(Y):Ud(Y)?Oo(Y):Y}function Oo(Ie){if(G&2){const Y=Ie.name,ut=Ja(Y);if(ut){if(Ie.objectAssignmentInitializer){const Jt=t.createAssignment(ut,Ie.objectAssignmentInitializer);return Tt(t.createPropertyAssignment(Y,Jt),Ie)}return Tt(t.createPropertyAssignment(Y,ut),Ie)}}return Ie}function ga(Ie){switch(Ie.kind){case 80:return is(Ie);case 212:return nn(Ie);case 213:return Ds(Ie)}return Ie}function is(Ie){return Ja(Ie)||Ie}function Ja(Ie){if(G&j&&!yl(Ie)&&!yy(Ie)){const Y=u.getReferencedExportContainer(Ie,!1);if(Y&&Y.kind!==308&&(j&2&&Y.kind===268||j&8&&Y.kind===267))return Tt(t.createPropertyAccessExpression(t.getGeneratedNameForNode(Y),Ie),Ie)}}function nn(Ie){return lc(Ie)}function Ds(Ie){return lc(Ie)}function ql(Ie){return Ie.replace(/\*\//g,"*_/")}function lc(Ie){const Y=vd(Ie);if(Y!==void 0){_ie(Ie,Y);const ut=typeof Y=="string"?t.createStringLiteral(Y):Y<0?t.createPrefixUnaryExpression(41,t.createNumericLiteral(-Y)):t.createNumericLiteral(Y);if(!d.removeComments){const Jt=Tl(Ie,Qs);WM(ut,3," ".concat(ql(Rl(Jt))," "))}return ut}return Ie}function vd(Ie){if(!Sm(d))return Jr(Ie)||Bs(Ie)?u.getConstantValue(Ie):void 0}function Gs(Ie){return d.verbatimModuleSyntax||Er(Ie)||u.isReferencedAliasDeclaration(Ie)}}function jae(e){const{factory:t,getEmitHelperFactory:r,hoistVariableDeclaration:i,endLexicalEnvironment:o,startLexicalEnvironment:s,resumeLexicalEnvironment:l,addBlockScopedVariable:u}=e,d=e.getEmitResolver(),_=e.getCompilerOptions(),m=Va(_),y=Kk(_),E=!!_.experimentalDecorators,A=!y,R=y&&m<9,N=A||R,M=m<9,k=m<99?-1:y?0:3,F=m<9,O=F&&m>=2,G=N||M||k===-1,j=e.onSubstituteNode;e.onSubstituteNode=ql;const K=e.onEmitNode;e.onEmitNode=Ds;let Q=!1,J=0,he,re,q,ue;const de=new Map,ge=new Set;let Ae,Re,$=!1,ve=!1;return hh(e,je);function je(Y){if(Y.isDeclarationFile||(ue=void 0,Q=!!(Gm(Y)&32),!G&&!Q))return Y;const ut=kn(Y,ee,e);return Dg(ut,e.readEmitHelpers()),ut}function be(Y){switch(Y.kind){case 129:return It()?void 0:Y;default:return ii(Y,Ra)}}function ee(Y){if(!(Y.transformFlags&16777216)&&!(Y.transformFlags&134234112))return Y;switch(Y.kind){case 264:return Zt(Y);case 232:return Oe(Y);case 176:case 173:return C.fail("Use `classElementVisitor` instead.");case 304:return Be(Y);case 244:return ot(Y);case 261:return Ot(Y);case 170:return Vt(Y);case 209:return mn(Y);case 278:return Hn(Y);case 81:return Ve(Y);case 212:return Zo(Y);case 213:return Da(Y);case 225:case 226:return Pn(Y,!1);case 227:return it(Y,!1);case 218:return Lt(Y,!1);case 214:return ce(Y);case 245:return at(Y);case 216:return _t(Y);case 249:return qo(Y);case 110:return B(Y);case 263:case 219:return Ht(void 0,Se,Y);case 177:case 175:case 178:case 179:return Ht(Y,Se,Y);default:return Se(Y)}}function Se(Y){return kn(Y,ee,e)}function Ne(Y){switch(Y.kind){case 225:case 226:return Pn(Y,!0);case 227:return it(Y,!0);case 357:return dt(Y);case 218:return Lt(Y,!0);default:return ee(Y)}}function ze(Y){switch(Y.kind){case 299:return kn(Y,ze,e);case 234:return Wt(Y);default:return ee(Y)}}function lt(Y){switch(Y.kind){case 211:case 210:return nn(Y);default:return ee(Y)}}function le(Y){switch(Y.kind){case 177:return Ht(Y,ir,Y);case 178:case 179:case 175:return Ht(Y,_o,Y);case 173:return Ht(Y,hn,Y);case 176:return Ht(Y,ye,Y);case 168:return tn(Y);case 241:return Y;default:return vl(Y)?be(Y):ee(Y)}}function De(Y){switch(Y.kind){case 168:return tn(Y);default:return ee(Y)}}function _e(Y){switch(Y.kind){case 173:return Qe(Y);case 178:case 179:return le(Y);default:C.assertMissingNode(Y,"Expected node to either be a PropertyDeclaration, GetAccessorDeclaration, or SetAccessorDeclaration");break}}function Ve(Y){return!M||Gi(Y.parent)?Y:jr(t.createIdentifier(""),Y)}function Ge(Y){const ut=zo(Y.left);if(ut){const Jt=st(Y.right,ee,Et);return jr(r().createClassPrivateFieldInHelper(ut.brandCheckIdentifier,Jt),Y)}return kn(Y,ee,e)}function Be(Y){return Op(Y,We)&&(Y=Vp(e,Y)),kn(Y,ee,e)}function ot(Y){const ut=q;q=[];const Jt=kn(Y,ee,e),fn=bt(q)?[Jt,...q]:Jt;return q=ut,fn}function Ot(Y){return Op(Y,We)&&(Y=Vp(e,Y)),kn(Y,ee,e)}function Vt(Y){return Op(Y,We)&&(Y=Vp(e,Y)),kn(Y,ee,e)}function mn(Y){return Op(Y,We)&&(Y=Vp(e,Y)),kn(Y,ee,e)}function Hn(Y){return Op(Y,We)&&(Y=Vp(e,Y,!0,Y.isExportEquals?"":"default")),kn(Y,ee,e)}function gt(Y){return bt(re)&&(zu(Y)?(re.push(Y.expression),Y=t.updateParenthesizedExpression(Y,t.inlineExpressions(re))):(re.push(Y),Y=t.inlineExpressions(re)),re=void 0),Y}function tn(Y){const ut=st(Y.expression,ee,Et);return t.updateComputedPropertyName(Y,gt(ut))}function ir(Y){return Ae?xt(Y,Ae):Se(Y)}function Ri(Y){return!!(M||Lc(Y)&&Gm(Y)&32)}function _o(Y){if(C.assert(!ff(Y)),!nu(Y)||!Ri(Y))return kn(Y,le,e);const ut=zo(Y.name);if(C.assert(ut,"Undeclared private name for property declaration."),!ut.isValid)return Y;const Jt=Qr(Y);Jt&&tr().push(t.createAssignment(Jt,t.createFunctionExpression(Fn(Y.modifiers,fn=>Ra(fn)&&!UI(fn)&&!xj(fn)),Y.asteriskToken,Jt,void 0,zl(Y.parameters,ee,e),void 0,yf(Y.body,ee,e))))}function Ht(Y,ut,Jt){if(Y!==Re){const fn=Re;Re=Y;const dr=ut(Jt);return Re=fn,dr}return ut(Jt)}function Qr(Y){C.assert(to(Y.name));const ut=zo(Y.name);if(C.assert(ut,"Undeclared private name for property declaration."),ut.kind==="m")return ut.methodName;if(ut.kind==="a"){if(hg(Y))return ut.getterName;if(Jh(Y))return ut.setterName}}function go(){var ut,Jt;const Y=bn();return(Jt=(ut=Y.classThis)!=null?ut:Y.classConstructor)!=null?Jt:Ae==null?void 0:Ae.name}function Ci(Y){var ml;const ut=i_(Y),Jt=pv(Y),fn=Y.name;let dr=fn,si=fn;if(Ea(fn)&&!H_(fn.expression)){const Cc=F4(fn);if(Cc)dr=t.updateComputedPropertyName(fn,st(fn.expression,ee,Et)),si=t.updateComputedPropertyName(fn,Cc.left);else{const zc=t.createTempVariable(i);Ha(zc,fn.expression);const ol=st(fn.expression,ee,Et),al=t.createAssignment(zc,ol);Ha(al,fn.expression),dr=t.updateComputedPropertyName(fn,al),si=t.updateComputedPropertyName(fn,zc)}}const xr=Jn(Y.modifiers,be,Ra),Bn=Zj(t,Y,xr,Y.initializer);jr(Bn,Y),Dr(Bn,3072),Ha(Bn,Jt);const Zi=ha(Y)&&(ml=go())!=null?ml:t.createThis(),Xi=hoe(t,Y,xr,dr,Zi);jr(Xi,Y),Ic(Xi,ut),Ha(Xi,Jt);const bs=t.createModifiersFromModifierFlags(e_(xr)),Ca=_oe(t,Y,bs,si,Zi);return jr(Ca,Y),Dr(Ca,3072),Ha(Ca,Jt),lP([Bn,Xi,Ca],_e,vc)}function Cr(Y){if(Ri(Y)){const ut=zo(Y.name);if(C.assert(ut,"Undeclared private name for property declaration."),!ut.isValid)return Y;if(ut.isStatic&&!M){const Jt=jt(Y,t.createThis());if(Jt)return t.createClassStaticBlockDeclaration(t.createBlock([Jt],!0))}return}return A&&!ha(Y)&&(ue!=null&&ue.data)&&ue.data.facts&16?t.updatePropertyDeclaration(Y,Jn(Y.modifiers,ee,vl),Y.name,void 0,void 0,void 0):(Op(Y,We)&&(Y=Vp(e,Y)),t.updatePropertyDeclaration(Y,Jn(Y.modifiers,be,Ra),st(Y.name,De,yc),void 0,void 0,st(Y.initializer,ee,Et)))}function Ur(Y){if(N&&!Qu(Y)){const ut=An(Y.name,!!Y.initializer||y);if(ut&&tr().push(...goe(ut)),ha(Y)&&!M){const Jt=jt(Y,t.createThis());if(Jt){const fn=t.createClassStaticBlockDeclaration(t.createBlock([Jt]));return jr(fn,Y),Ic(fn,Y),Ic(Jt,{pos:-1,end:-1}),K0(Jt,void 0),zI(Jt,void 0),fn}}return}return t.updatePropertyDeclaration(Y,Jn(Y.modifiers,be,Ra),st(Y.name,De,yc),void 0,void 0,st(Y.initializer,ee,Et))}function Qe(Y){return C.assert(!ff(Y),"Decorators should already have been transformed and elided."),nu(Y)?Cr(Y):Ur(Y)}function It(){return k===-1||k===3&&!!(ue!=null&&ue.data)&&!!(ue.data.facts&16)}function hn(Y){return Qu(Y)&&(It()||Lc(Y)&&Gm(Y)&32)?Ci(Y):Qe(Y)}function pr(){return!!Re&&Lc(Re)&&gb(Re)&&Qu(Tl(Re))}function oi(Y){if(pr()){const ut=Hl(Y);ut.kind===110&&ge.add(ut)}}function di(Y,ut){return ut=st(ut,ee,Et),oi(ut),Ki(Y,ut)}function Ki(Y,ut){switch(Ic(ut,H0(ut,-1)),Y.kind){case"a":return r().createClassPrivateFieldGetHelper(ut,Y.brandCheckIdentifier,Y.kind,Y.getterName);case"m":return r().createClassPrivateFieldGetHelper(ut,Y.brandCheckIdentifier,Y.kind,Y.methodName);case"f":return r().createClassPrivateFieldGetHelper(ut,Y.brandCheckIdentifier,Y.kind,Y.isStatic?Y.variableName:void 0);case"untransformed":return C.fail("Access helpers should not be created for untransformed private elements");default:C.assertNever(Y,"Unknown private element type")}}function Zo(Y){if(to(Y.name)){const ut=zo(Y.name);if(ut)return Tt(jr(di(ut,Y.expression),Y),Y)}if(O&&Re&&gp(Y)&&Je(Y.name)&&mP(Re)&&(ue!=null&&ue.data)){const{classConstructor:ut,superClassReference:Jt,facts:fn}=ue.data;if(fn&1)return Yt(Y);if(ut&&Jt){const dr=t.createReflectGetCall(Jt,t.createStringLiteralFromNode(Y.name),ut);return jr(dr,Y.expression),Tt(dr,Y.expression),dr}}return kn(Y,ee,e)}function Da(Y){if(O&&Re&&gp(Y)&&mP(Re)&&(ue!=null&&ue.data)){const{classConstructor:ut,superClassReference:Jt,facts:fn}=ue.data;if(fn&1)return Yt(Y);if(ut&&Jt){const dr=t.createReflectGetCall(Jt,st(Y.argumentExpression,ee,Et),ut);return jr(dr,Y.expression),Tt(dr,Y.expression),dr}}return kn(Y,ee,e)}function Pn(Y,ut){if(Y.operator===46||Y.operator===47){const Jt=us(Y.operand);if(GR(Jt)){let fn;if(fn=zo(Jt.name)){const dr=st(Jt.expression,ee,Et);oi(dr);const{readExpression:si,initializeExpression:xr}=Bt(dr);let Bn=di(fn,si);const Zi=$0(Y)||ut?void 0:t.createTempVariable(i);return Bn=P4(t,Y,Bn,i,Zi),Bn=He(fn,xr||si,Bn,64),jr(Bn,Y),Tt(Bn,Y),Zi&&(Bn=t.createComma(Bn,Zi),Tt(Bn,Y)),Bn}}else if(O&&Re&&gp(Jt)&&mP(Re)&&(ue!=null&&ue.data)){const{classConstructor:fn,superClassReference:dr,facts:si}=ue.data;if(si&1){const xr=Yt(Jt);return $0(Y)?t.updatePrefixUnaryExpression(Y,xr):t.updatePostfixUnaryExpression(Y,xr)}if(fn&&dr){let xr,Bn;if(Jr(Jt)?Je(Jt.name)&&(Bn=xr=t.createStringLiteralFromNode(Jt.name)):H_(Jt.argumentExpression)?Bn=xr=Jt.argumentExpression:(Bn=t.createTempVariable(i),xr=t.createAssignment(Bn,st(Jt.argumentExpression,ee,Et))),xr&&Bn){let Zi=t.createReflectGetCall(dr,Bn,fn);Tt(Zi,Jt);const Xi=ut?void 0:t.createTempVariable(i);return Zi=P4(t,Y,Zi,i,Xi),Zi=t.createReflectSetCall(dr,xr,Zi,fn),jr(Zi,Y),Tt(Zi,Y),Xi&&(Zi=t.createComma(Zi,Xi),Tt(Zi,Y)),Zi}}}}return kn(Y,ee,e)}function qo(Y){return t.updateForStatement(Y,st(Y.initializer,Ne,Wf),st(Y.condition,ee,Et),st(Y.incrementor,Ne,Et),Bu(Y.statement,ee,e))}function at(Y){return t.updateExpressionStatement(Y,st(Y.expression,Ne,Et))}function Bt(Y){const ut=zs(Y)?Y:t.cloneNode(Y);if(Y.kind===110&&ge.has(Y)&&ge.add(ut),H_(Y))return{readExpression:ut,initializeExpression:void 0};const Jt=t.createTempVariable(i),fn=t.createAssignment(Jt,ut);return{readExpression:Jt,initializeExpression:fn}}function ce(Y){var ut;if(GR(Y.expression)&&zo(Y.expression.name)){const{thisArg:Jt,target:fn}=t.createCallBinding(Y.expression,i,m);return XE(Y)?t.updateCallChain(Y,t.createPropertyAccessChain(st(fn,ee,Et),Y.questionDotToken,"call"),void 0,void 0,[st(Jt,ee,Et),...Jn(Y.arguments,ee,Et)]):t.updateCallExpression(Y,t.createPropertyAccessExpression(st(fn,ee,Et),"call"),void 0,[st(Jt,ee,Et),...Jn(Y.arguments,ee,Et)])}if(O&&Re&&gp(Y.expression)&&mP(Re)&&((ut=ue==null?void 0:ue.data)!=null&&ut.classConstructor)){const Jt=t.createFunctionCallCall(st(Y.expression,ee,Et),ue.data.classConstructor,Jn(Y.arguments,ee,Et));return jr(Jt,Y),Tt(Jt,Y),Jt}return kn(Y,ee,e)}function _t(Y){var ut;if(GR(Y.tag)&&zo(Y.tag.name)){const{thisArg:Jt,target:fn}=t.createCallBinding(Y.tag,i,m);return t.updateTaggedTemplateExpression(Y,t.createCallExpression(t.createPropertyAccessExpression(st(fn,ee,Et),"bind"),void 0,[st(Jt,ee,Et)]),void 0,st(Y.template,ee,cI))}if(O&&Re&&gp(Y.tag)&&mP(Re)&&((ut=ue==null?void 0:ue.data)!=null&&ut.classConstructor)){const Jt=t.createFunctionBindCall(st(Y.tag,ee,Et),ue.data.classConstructor,[]);return jr(Jt,Y),Tt(Jt,Y),t.updateTaggedTemplateExpression(Y,Jt,void 0,st(Y.template,ee,cI))}return kn(Y,ee,e)}function ie(Y){if(ue&&de.set(Tl(Y),ue),M){if(fP(Y)){const fn=st(Y.body.statements[0].expression,ee,Et);return id(fn,!0)&&fn.left===fn.right?void 0:fn}if(cx(Y))return st(Y.body.statements[0].expression,ee,Et);s();let ut=Ht(Y,fn=>Jn(fn,ee,Gi),Y.body.statements);ut=t.mergeLexicalEnvironment(ut,o());const Jt=t.createImmediatelyInvokedArrowFunction(ut);return jr(us(Jt.expression),Y),r_(us(Jt.expression),4),jr(Jt,Y),Tt(Jt,Y),Jt}}function We(Y){if(uc(Y)&&!Y.name){const ut=b3(Y);return bt(ut,cx)?!1:(M||!!Gm(Y))&&bt(ut,fn=>Zl(fn)||nu(fn)||N&&qw(fn))}return!1}function it(Y,ut){if(sv(Y)){const Jt=re;re=void 0,Y=t.updateBinaryExpression(Y,st(Y.left,lt,Et),Y.operatorToken,st(Y.right,ee,Et));const fn=bt(re)?t.inlineExpressions(m2([...re,Y])):Y;return re=Jt,fn}if(id(Y)){Op(Y,We)&&(Y=Vp(e,Y),C.assertNode(Y,id));const Jt=Hl(Y.left,9);if(GR(Jt)){const fn=zo(Jt.name);if(fn)return Tt(jr(He(fn,Jt.expression,Y.right,Y.operatorToken.kind),Y),Y)}else if(O&&Re&&gp(Y.left)&&mP(Re)&&(ue!=null&&ue.data)){const{classConstructor:fn,superClassReference:dr,facts:si}=ue.data;if(si&1)return t.updateBinaryExpression(Y,Yt(Y.left),Y.operatorToken,st(Y.right,ee,Et));if(fn&&dr){let xr=Bs(Y.left)?st(Y.left.argumentExpression,ee,Et):Je(Y.left.name)?t.createStringLiteralFromNode(Y.left.name):void 0;if(xr){let Bn=st(Y.right,ee,Et);if(dP(Y.operatorToken.kind)){let Xi=xr;H_(xr)||(Xi=t.createTempVariable(i),xr=t.createAssignment(Xi,xr));const bs=t.createReflectGetCall(dr,Xi,fn);jr(bs,Y.left),Tt(bs,Y.left),Bn=t.createBinaryExpression(bs,uP(Y.operatorToken.kind),Bn),Tt(Bn,Y)}const Zi=ut?void 0:t.createTempVariable(i);return Zi&&(Bn=t.createAssignment(Zi,Bn),Tt(Zi,Y)),Bn=t.createReflectSetCall(dr,xr,Bn,fn),jr(Bn,Y),Tt(Bn,Y),Zi&&(Bn=t.createComma(Bn,Zi),Tt(Bn,Y)),Bn}}}}return Nqe(Y)?Ge(Y):kn(Y,ee,e)}function dt(Y,ut){const Jt=_3(Y.elements,Ne);return t.updateCommaListExpression(Y,Jt)}function Lt(Y,ut){const Jt=ut?Ne:ee,fn=st(Y.expression,Jt,Et);return t.updateParenthesizedExpression(Y,fn)}function He(Y,ut,Jt,fn){if(ut=st(ut,ee,Et),Jt=st(Jt,ee,Et),oi(ut),dP(fn)){const{readExpression:dr,initializeExpression:si}=Bt(ut);ut=si||dr,Jt=t.createBinaryExpression(Ki(Y,dr),uP(fn),Jt)}switch(Ic(ut,H0(ut,-1)),Y.kind){case"a":return r().createClassPrivateFieldSetHelper(ut,Y.brandCheckIdentifier,Jt,Y.kind,Y.setterName);case"m":return r().createClassPrivateFieldSetHelper(ut,Y.brandCheckIdentifier,Jt,Y.kind,void 0);case"f":return r().createClassPrivateFieldSetHelper(ut,Y.brandCheckIdentifier,Jt,Y.kind,Y.isStatic?Y.variableName:void 0);case"untransformed":return C.fail("Access helpers should not be created for untransformed private elements");default:C.assertNever(Y,"Unknown private element type")}}function Ct(Y){return Fn(Y.members,Mae)}function Nt(Y){var ut;let Jt=0;const fn=Tl(Y);hi(fn)&&ov(E,fn)&&(Jt|=1),M&&(rH(Y)||E3(Y))&&(Jt|=2);let dr=!1,si=!1,xr=!1,Bn=!1;for(const Xi of Y.members)ha(Xi)?((Xi.name&&(to(Xi.name)||Qu(Xi))&&M||Qu(Xi)&&k===-1&&!Y.name&&!((ut=Y.emitNode)!=null&&ut.classThis))&&(Jt|=2),(ko(Xi)||Zl(Xi))&&(F&&Xi.transformFlags&16384&&(Jt|=8,Jt&1||(Jt|=2)),O&&Xi.transformFlags&134217728&&(Jt&1||(Jt|=6)))):PS(Tl(Xi))||(Qu(Xi)?(Bn=!0,xr||(xr=nu(Xi))):nu(Xi)?(xr=!0,d.hasNodeCheckFlag(Xi,262144)&&(Jt|=2)):ko(Xi)&&(dr=!0,si||(si=!!Xi.initializer)));return(R&&dr||A&&si||M&&xr||M&&Bn&&k===-1)&&(Jt|=16),Jt}function Wt(Y){var ut;if((((ut=ue==null?void 0:ue.data)==null?void 0:ut.facts)||0)&4){const fn=t.createTempVariable(i,!0);return bn().superClassReference=fn,t.updateExpressionWithTypeArguments(Y,t.createAssignment(fn,st(Y.expression,ee,Et)),void 0)}return kn(Y,ee,e)}function rt(Y,ut){var Jt;const fn=Ae,dr=re,si=ue;Ae=Y,re=void 0,vn();const xr=Gm(Y)&32;if(M||xr){const Xi=Fo(Y);if(Xi&&Je(Xi))Pr().data.className=Xi;else if((Jt=Y.emitNode)!=null&&Jt.assignedName&&Oa(Y.emitNode.assignedName)){if(Y.emitNode.assignedName.textSourceNode&&Je(Y.emitNode.assignedName.textSourceNode))Pr().data.className=Y.emitNode.assignedName.textSourceNode;else if(_p(Y.emitNode.assignedName.text,m)){const bs=t.createIdentifier(Y.emitNode.assignedName.text);Pr().data.className=bs}}}if(M){const Xi=Ct(Y);bt(Xi)&&(Pr().data.weakSetName=ms("instances",Xi[0].name))}const Bn=Nt(Y);Bn&&(bn().facts=Bn),Bn&8&&Rt();const Zi=ut(Y,Bn);return Ft(),C.assert(ue===si),Ae=fn,re=dr,Zi}function Zt(Y){return rt(Y,Rr)}function Rr(Y,ut){var Jt,fn;let dr;if(ut&2)if(M&&((Jt=Y.emitNode)!=null&&Jt.classThis))bn().classConstructor=Y.emitNode.classThis,dr=t.createAssignment(Y.emitNode.classThis,t.getInternalName(Y));else{const ol=t.createTempVariable(i,!0);bn().classConstructor=t.cloneNode(ol),dr=t.createAssignment(ol,t.getInternalName(Y))}(fn=Y.emitNode)!=null&&fn.classThis&&(bn().classThis=Y.emitNode.classThis);const si=d.hasNodeCheckFlag(Y,262144),xr=fi(Y,32),Bn=fi(Y,2048);let Zi=Jn(Y.modifiers,be,Ra);const Xi=Jn(Y.heritageClauses,ze,Gp),{members:bs,prologue:Ca}=xe(Y),ml=[];if(dr&&tr().unshift(dr),bt(re)&&ml.push(t.createExpressionStatement(t.inlineExpressions(re))),A||M||Gm(Y)&32){const ol=b3(Y);bt(ol)&&yt(ml,ol,t.getInternalName(Y))}ml.length>0&&xr&&Bn&&(Zi=Jn(Zi,ol=>Rw(ol)?void 0:ol,Ra),ml.push(t.createExportAssignment(void 0,!1,t.getLocalName(Y,!1,!0))));const Cc=bn().classConstructor;si&&Cc&&(vt(),he[Gu(Y)]=Cc);const zc=t.updateClassDeclaration(Y,Zi,Y.name,void 0,Xi,bs);return ml.unshift(zc),Ca&&ml.unshift(t.createExpressionStatement(Ca)),ml}function Oe(Y){return rt(Y,At)}function At(Y,ut){var xu;var Jt,fn,dr;const si=!!(ut&1),xr=b3(Y),Bn=d.hasNodeCheckFlag(Y,262144),Zi=d.hasNodeCheckFlag(Y,32768);let Xi;function bs(){var qd;if(M&&((qd=Y.emitNode)!=null&&qd.classThis))return bn().classConstructor=Y.emitNode.classThis;const du=t.createTempVariable(Zi?u:i,!0);return bn().classConstructor=t.cloneNode(du),du}(Jt=Y.emitNode)!=null&&Jt.classThis&&(bn().classThis=Y.emitNode.classThis),ut&2&&(Xi!=null||(Xi=bs()));const Ca=Jn(Y.modifiers,be,Ra),ml=Jn(Y.heritageClauses,ze,Gp),{members:Cc,prologue:zc}=xe(Y),ol=t.updateClassExpression(Y,Ca,Y.name,void 0,ml,Cc),al=[];if(zc&&al.push(zc),(M||Gm(Y)&32)&&bt(xr,qd=>Zl(qd)||nu(qd)||N&&qw(qd))||bt(re))if(si)C.assertIsDefined(q,"Decorated classes transformed by TypeScript are expected to be within a variable declaration."),bt(re)&&$r(q,Gt(re,t.createExpressionStatement)),bt(xr)&&yt(q,xr,(xu=(fn=Y.emitNode)==null?void 0:fn.classThis)!=null?xu:t.getInternalName(Y)),Xi?al.push(t.createAssignment(Xi,ol)):M&&((dr=Y.emitNode)!=null&&dr.classThis)?al.push(t.createAssignment(Y.emitNode.classThis,ol)):al.push(ol);else{if(Xi!=null||(Xi=bs()),Bn){vt();const qd=t.cloneNode(Xi);qd.emitNode.autoGenerate.flags&=-9,he[Gu(Y)]=qd}al.push(t.createAssignment(Xi,ol)),$r(al,re),$r(al,or(xr,Xi)),al.push(t.cloneNode(Xi))}else al.push(ol);return al.length>1&&(r_(ol,131072),al.forEach(au)),t.inlineExpressions(al)}function ye(Y){if(!M)return kn(Y,ee,e)}function B(Y){var ut;if(F&&Re&&Zl(Re)&&(ue!=null&&ue.data)){const{classThis:Jt,classConstructor:fn}=ue.data;return(ut=Jt!=null?Jt:fn)!=null?ut:Y}return Y}function xe(Y){const ut=!!(Gm(Y)&32);if(M||Q){for(const xr of Y.members)if(nu(xr))if(Ri(xr))xs(xr,xr.name,kt);else{const Bn=Pr();k1(Bn,xr.name,{kind:"untransformed"})}if(M&&bt(Ct(Y))&&te(),It()){for(const xr of Y.members)if(Qu(xr)){const Bn=t.getGeneratedPrivateNameForNode(xr.name,void 0,"_accessor_storage");if(M||ut&&Lc(xr))xs(xr,Bn,ti);else{const Zi=Pr();k1(Zi,Bn,{kind:"untransformed"})}}}}let Jt=Jn(Y.members,le,vc),fn;bt(Jt,kl)||(fn=xt(void 0,Y));let dr,si;if(!M&&bt(re)){let xr=t.createExpressionStatement(t.inlineExpressions(re));if(xr.transformFlags&134234112){const Zi=t.createTempVariable(i),Xi=t.createArrowFunction(void 0,void 0,[],void 0,void 0,t.createBlock([xr]));dr=t.createAssignment(Zi,Xi),xr=t.createExpressionStatement(t.createCallExpression(Zi,void 0,[]))}const Bn=t.createBlock([xr]);si=t.createClassStaticBlockDeclaration(Bn),re=void 0}if(fn||si){let xr;const Bn=_n(Jt,fP),Zi=_n(Jt,cx);xr=jn(xr,Bn),xr=jn(xr,Zi),xr=jn(xr,fn),xr=jn(xr,si);const Xi=Bn||Zi?Fn(Jt,bs=>bs!==Bn&&bs!==Zi):Jt;xr=$r(xr,Xi),Jt=Tt(t.createNodeArray(xr),Y.members)}return{members:Jt,prologue:dr}}function te(){const{weakSetName:Y}=Pr().data;C.assert(Y,"weakSetName should be set in private identifier environment"),tr().push(t.createAssignment(Y,t.createNewExpression(t.createIdentifier("WeakSet"),void 0,[])))}function xt(Y,ut){if(Y=st(Y,ee,kl),!(ue!=null&&ue.data)||!(ue.data.facts&16))return Y;const Jt=lh(ut),fn=!!(Jt&&Hl(Jt.expression).kind!==106),dr=zl(Y?Y.parameters:void 0,ee,e),si=Pe(ut,Y,fn);return si?Y?(C.assert(dr),t.updateConstructorDeclaration(Y,void 0,dr,si)):au(jr(Tt(t.createConstructorDeclaration(void 0,dr!=null?dr:[],si),Y||ut),Y)):Y}function $t(Y,ut,Jt,fn,dr,si,xr){const Bn=fn[dr],Zi=ut[Bn];if($r(Y,Jn(ut,ee,Gi,Jt,Bn-Jt)),Jt=Bn+1,A1(Zi)){const Xi=[];$t(Xi,Zi.tryBlock.statements,0,fn,dr+1,si,xr);const bs=t.createNodeArray(Xi);Tt(bs,Zi.tryBlock.statements),Y.push(t.updateTryStatement(Zi,t.updateBlock(Zi.tryBlock,Xi),st(Zi.catchClause,ee,US),st(Zi.finallyBlock,ee,ia)))}else{for($r(Y,Jn(ut,ee,Gi,Bn,1));Jt<ut.length;){const Xi=ut[Jt];if(Lp(Tl(Xi),xr))Jt++;else break}$r(Y,si)}$r(Y,Jn(ut,ee,Gi,Jt))}function Pe(Y,ut,Jt){var zc,ol;var fn;const dr=eH(Y,!1,!1);let si=dr;y||(si=Fn(si,al=>!!al.initializer||to(al.name)||Zh(al)));const xr=Ct(Y),Bn=bt(si)||bt(xr);if(!ut&&!Bn)return yf(void 0,ee,e);l();const Zi=!ut&&Jt;let Xi=0,bs=[];const Ca=[],ml=t.createThis();if(zt(Ca,xr,ml),ut){const al=Fn(dr,xu=>Lp(Tl(xu),ut)),Iu=Fn(si,xu=>!Lp(Tl(xu),ut));yt(Ca,al,ml),yt(Ca,Iu,ml)}else yt(Ca,si,ml);if(ut!=null&&ut.body){Xi=t.copyPrologue(ut.body.statements,bs,!1,ee);const al=v3(ut.body.statements,Xi);if(al.length)$t(bs,ut.body.statements,Xi,al,0,Ca,ut);else{for(;Xi<ut.body.statements.length;){const Iu=ut.body.statements[Xi];if(Lp(Tl(Iu),ut))Xi++;else break}$r(bs,Ca),$r(bs,Jn(ut.body.statements,ee,Gi,Xi))}}else Zi&&bs.push(t.createExpressionStatement(t.createCallExpression(t.createSuper(),void 0,[t.createSpreadElement(t.createIdentifier("arguments"))]))),$r(bs,Ca);if(bs=t.mergeLexicalEnvironment(bs,o()),bs.length===0&&!ut)return;const Cc=ut!=null&&ut.body&&ut.body.statements.length>=bs.length&&(zc=ut.body.multiLine)!=null?zc:bs.length>0;return Tt(t.createBlock(Tt(t.createNodeArray(bs),(ol=(fn=ut==null?void 0:ut.body)==null?void 0:fn.statements)!=null?ol:Y.members),Cc),ut==null?void 0:ut.body)}function yt(Y,ut,Jt){for(const fn of ut){if(ha(fn)&&!M)continue;const dr=jt(fn,Jt);dr&&Y.push(dr)}}function jt(Y,ut){const Jt=Zl(Y)?Ht(Y,ie,Y):$n(Y,ut);if(!Jt)return;const fn=t.createExpressionStatement(Jt);jr(fn,Y),r_(fn,Za(Y)&3072),Ic(fn,Y);const dr=Tl(Y);return no(dr)?(Ha(fn,dr),dw(fn)):Ha(fn,t_(Y)),K0(Jt,void 0),zI(Jt,void 0),Zh(dr)&&r_(fn,3072),fn}function or(Y,ut){const Jt=[];for(const fn of Y){const dr=Zl(fn)?Ht(fn,ie,fn):Ht(fn,()=>$n(fn,ut),void 0);dr&&(au(dr),jr(dr,fn),r_(dr,Za(fn)&3072),Ha(dr,t_(fn)),Ic(dr,fn),Jt.push(dr))}return Jt}function $n(Y,ut){var Jt;const fn=Re,dr=fr(Y,ut);return dr&&Lc(Y)&&((Jt=ue==null?void 0:ue.data)!=null&&Jt.facts)&&(jr(dr,Y),r_(dr,4),Ha(dr,pv(Y.name)),de.set(Tl(Y),ue)),Re=fn,dr}function fr(Y,ut){const Jt=!y;Op(Y,We)&&(Y=Vp(e,Y));const fn=Zh(Y)?t.getGeneratedPrivateNameForNode(Y.name):Ea(Y.name)&&!H_(Y.name.expression)?t.updateComputedPropertyName(Y.name,t.getGeneratedNameForNode(Y.name)):Y.name;if(Lc(Y)&&(Re=Y),to(fn)&&Ri(Y)){const xr=zo(fn);if(xr)return xr.kind==="f"?xr.isStatic?xqe(t,xr.variableName,st(Y.initializer,ee,Et)):Rqe(t,ut,st(Y.initializer,ee,Et),xr.brandCheckIdentifier):void 0;C.fail("Undeclared private name for property declaration.")}if((to(fn)||Lc(Y))&&!Y.initializer)return;const dr=Tl(Y);if(fi(dr,64))return;let si=st(Y.initializer,ee,Et);if(Lp(dr,dr.parent)&&Je(fn)){const xr=t.cloneNode(fn);si?(zu(si)&&Ew(si.expression)&&FM(si.expression.left,"___runInitializers")&&XI(si.expression.right)&&ip(si.expression.right.expression)&&(si=si.expression.left),si=t.inlineExpressions([si,xr])):si=xr,Dr(fn,3168),Ha(xr,dr.name),Dr(xr,3072)}else si!=null||(si=t.createVoidZero());if(Jt||to(fn)){const xr=C1(t,ut,fn,fn);return r_(xr,1024),t.createAssignment(xr,si)}else{const xr=Ea(fn)?fn.expression:Je(fn)?t.createStringLiteral(Bi(fn.escapedText)):fn,Bn=t.createPropertyDescriptor({value:si,configurable:!0,writable:!0,enumerable:!0});return t.createObjectDefinePropertyCall(ut,xr,Bn)}}function vt(){(J&1)===0&&(J|=1,e.enableSubstitution(80),he=[])}function Rt(){(J&2)===0&&(J|=2,e.enableSubstitution(110),e.enableEmitNotification(263),e.enableEmitNotification(219),e.enableEmitNotification(177),e.enableEmitNotification(178),e.enableEmitNotification(179),e.enableEmitNotification(175),e.enableEmitNotification(173),e.enableEmitNotification(168))}function zt(Y,ut,Jt){if(!M||!bt(ut))return;const{weakSetName:fn}=Pr().data;C.assert(fn,"weakSetName should be set in private identifier environment"),Y.push(t.createExpressionStatement(Dqe(t,Jt,fn)))}function Yt(Y){return Jr(Y)?t.updatePropertyAccessExpression(Y,t.createVoidZero(),Y.name):t.updateElementAccessExpression(Y,t.createVoidZero(),st(Y.argumentExpression,ee,Et))}function An(Y,ut){if(Ea(Y)){const Jt=F4(Y),fn=st(Y.expression,ee,Et),dr=Bm(fn),si=H_(dr);if(!(!!Jt||id(dr)&&yl(dr.left))&&!si&&ut){const Bn=t.getGeneratedNameForNode(Y);return d.hasNodeCheckFlag(Y,32768)?u(Bn):i(Bn),t.createAssignment(Bn,fn)}return si||Je(dr)?void 0:fn}}function vn(){ue={previous:ue,data:void 0}}function Ft(){ue=ue==null?void 0:ue.previous}function bn(){var Y;return C.assert(ue),(Y=ue.data)!=null?Y:ue.data={facts:0,classConstructor:void 0,classThis:void 0,superClassReference:void 0}}function Pr(){var Y;return C.assert(ue),(Y=ue.privateEnv)!=null?Y:ue.privateEnv=Lae({className:void 0,weakSetName:void 0})}function tr(){return re!=null?re:re=[]}function kt(Y,ut,Jt,fn,dr,si,xr){Qu(Y)?fs(Y,ut,Jt,fn,dr,si):ko(Y)?ti(Y,ut,Jt,fn,dr,si):Ll(Y)?ea(Y,ut,Jt,fn,dr,si):qf(Y)?wo(Y,ut,Jt,fn,dr,si,xr):bp(Y)&&vo(Y,ut,Jt,fn,dr,si,xr)}function ti(Y,ut,Jt,fn,dr,si,xr){var Bn;if(dr){const Zi=C.checkDefined((Bn=Jt.classThis)!=null?Bn:Jt.classConstructor,"classConstructor should be set in private identifier environment"),Xi=ro(ut);k1(fn,ut,{kind:"f",isStatic:!0,brandCheckIdentifier:Zi,variableName:Xi,isValid:si})}else{const Zi=ro(ut);k1(fn,ut,{kind:"f",isStatic:!1,brandCheckIdentifier:Zi,isValid:si}),tr().push(t.createAssignment(Zi,t.createNewExpression(t.createIdentifier("WeakMap"),void 0,[])))}}function ea(Y,ut,Jt,fn,dr,si,xr){var Xi;const Bn=ro(ut),Zi=dr?C.checkDefined((Xi=Jt.classThis)!=null?Xi:Jt.classConstructor,"classConstructor should be set in private identifier environment"):C.checkDefined(fn.data.weakSetName,"weakSetName should be set in private identifier environment");k1(fn,ut,{kind:"m",methodName:Bn,brandCheckIdentifier:Zi,isStatic:dr,isValid:si})}function wo(Y,ut,Jt,fn,dr,si,xr){var Xi;const Bn=ro(ut,"_get"),Zi=dr?C.checkDefined((Xi=Jt.classThis)!=null?Xi:Jt.classConstructor,"classConstructor should be set in private identifier environment"):C.checkDefined(fn.data.weakSetName,"weakSetName should be set in private identifier environment");(xr==null?void 0:xr.kind)==="a"&&xr.isStatic===dr&&!xr.getterName?xr.getterName=Bn:k1(fn,ut,{kind:"a",getterName:Bn,setterName:void 0,brandCheckIdentifier:Zi,isStatic:dr,isValid:si})}function vo(Y,ut,Jt,fn,dr,si,xr){var Xi;const Bn=ro(ut,"_set"),Zi=dr?C.checkDefined((Xi=Jt.classThis)!=null?Xi:Jt.classConstructor,"classConstructor should be set in private identifier environment"):C.checkDefined(fn.data.weakSetName,"weakSetName should be set in private identifier environment");(xr==null?void 0:xr.kind)==="a"&&xr.isStatic===dr&&!xr.setterName?xr.setterName=Bn:k1(fn,ut,{kind:"a",getterName:void 0,setterName:Bn,brandCheckIdentifier:Zi,isStatic:dr,isValid:si})}function fs(Y,ut,Jt,fn,dr,si,xr){var bs;const Bn=ro(ut,"_get"),Zi=ro(ut,"_set"),Xi=dr?C.checkDefined((bs=Jt.classThis)!=null?bs:Jt.classConstructor,"classConstructor should be set in private identifier environment"):C.checkDefined(fn.data.weakSetName,"weakSetName should be set in private identifier environment");k1(fn,ut,{kind:"a",getterName:Bn,setterName:Zi,brandCheckIdentifier:Xi,isStatic:dr,isValid:si})}function xs(Y,ut,Jt){const fn=bn(),dr=Pr(),si=nH(dr,ut),xr=Lc(Y),Bn=!Cqe(ut)&&si===void 0;Jt(Y,ut,fn,dr,xr,Bn,si)}function ms(Y,ut,Jt){const{className:fn}=Pr().data,dr=fn?{prefix:"_",node:fn,suffix:"_"}:"_",si=typeof Y=="object"?t.getGeneratedNameForNode(Y,24,dr,Jt):typeof Y=="string"?t.createUniqueName(Y,16,dr,Jt):t.createTempVariable(void 0,!0,dr,Jt);return d.hasNodeCheckFlag(ut,32768)?u(si):i(si),si}function ro(Y,ut){var fn;const Jt=HN(Y);return ms((fn=Jt==null?void 0:Jt.substring(1))!=null?fn:Y,Y,ut)}function zo(Y){const ut=kae(ue,Y);return(ut==null?void 0:ut.kind)==="untransformed"?void 0:ut}function bc(Y){const ut=t.getGeneratedNameForNode(Y),Jt=zo(Y.name);if(!Jt)return kn(Y,ee,e);let fn=Y.expression;return(ck(Y)||gp(Y)||!KS(Y.expression))&&(fn=t.createTempVariable(i,!0),tr().push(t.createBinaryExpression(fn,64,st(Y.expression,ee,Et)))),t.createAssignmentTargetWrapper(ut,He(Jt,fn,ut,64))}function tl(Y){if(za(Y)||Dd(Y))return nn(Y);if(GR(Y))return bc(Y);if(O&&Re&&gp(Y)&&mP(Re)&&(ue!=null&&ue.data)){const{classConstructor:ut,superClassReference:Jt,facts:fn}=ue.data;if(fn&1)return Yt(Y);if(ut&&Jt){const dr=Bs(Y)?st(Y.argumentExpression,ee,Et):Je(Y.name)?t.createStringLiteralFromNode(Y.name):void 0;if(dr){const si=t.createTempVariable(void 0);return t.createAssignmentTargetWrapper(si,t.createReflectSetCall(Jt,dr,si,ut))}}}return kn(Y,ee,e)}function Ma(Y){if(Op(Y,We)&&(Y=Vp(e,Y)),id(Y,!0)){const ut=tl(Y.left),Jt=st(Y.right,ee,Et);return t.updateBinaryExpression(Y,ut,Y.operatorToken,Jt)}return tl(Y)}function tc(Y){if(Zu(Y.expression)){const ut=tl(Y.expression);return t.updateSpreadElement(Y,ut)}return kn(Y,ee,e)}function Tf(Y){if(j2(Y)){if(Jf(Y))return tc(Y);if(!qc(Y))return Ma(Y)}return kn(Y,ee,e)}function Oo(Y){const ut=st(Y.name,ee,yc);if(id(Y.initializer,!0)){const Jt=Ma(Y.initializer);return t.updatePropertyAssignment(Y,ut,Jt)}if(Zu(Y.initializer)){const Jt=tl(Y.initializer);return t.updatePropertyAssignment(Y,ut,Jt)}return kn(Y,ee,e)}function ga(Y){return Op(Y,We)&&(Y=Vp(e,Y)),kn(Y,ee,e)}function is(Y){if(Zu(Y.expression)){const ut=tl(Y.expression);return t.updateSpreadAssignment(Y,ut)}return kn(Y,ee,e)}function Ja(Y){return C.assertNode(Y,V2),Ng(Y)?is(Y):Ud(Y)?ga(Y):Rc(Y)?Oo(Y):kn(Y,ee,e)}function nn(Y){return Dd(Y)?t.updateArrayLiteralExpression(Y,Jn(Y.elements,Tf,Et)):t.updateObjectLiteralExpression(Y,Jn(Y.properties,Ja,sy))}function Ds(Y,ut,Jt){const fn=Tl(ut),dr=de.get(fn);if(dr){const si=ue,xr=ve;ue=dr,ve=$,$=!Zl(fn)||!(Gm(fn)&32),K(Y,ut,Jt),$=ve,ve=xr,ue=si;return}switch(ut.kind){case 219:if(Zs(fn)||Za(ut)&524288)break;case 263:case 177:case 178:case 179:case 175:case 173:{const si=ue,xr=ve;ue=void 0,ve=$,$=!1,K(Y,ut,Jt),$=ve,ve=xr,ue=si;return}case 168:{const si=ue,xr=$;ue=ue==null?void 0:ue.previous,$=ve,K(Y,ut,Jt),$=xr,ue=si;return}}K(Y,ut,Jt)}function ql(Y,ut){return ut=j(Y,ut),Y===1?lc(ut):ut}function lc(Y){switch(Y.kind){case 80:return Gs(Y);case 110:return vd(Y)}return Y}function vd(Y){if(J&2&&(ue!=null&&ue.data)&&!ge.has(Y)){const{facts:ut,classConstructor:Jt,classThis:fn}=ue.data,dr=$&&fn!=null?fn:Jt;if(dr)return Tt(jr(t.cloneNode(dr),Y),Y);if(ut&1&&E)return t.createParenthesizedExpression(t.createVoidZero())}return Y}function Gs(Y){return Ie(Y)||Y}function Ie(Y){if(J&1&&d.hasNodeCheckFlag(Y,536870912)){const ut=d.getReferencedValueDeclaration(Y);if(ut){const Jt=he[ut.id];if(Jt){const fn=t.cloneNode(Jt);return Ha(fn,Y),Ic(fn,Y),fn}}}}}function xqe(e,t,r){return e.createAssignment(t,e.createObjectLiteralExpression([e.createPropertyAssignment("value",r||e.createVoidZero())]))}function Rqe(e,t,r,i){return e.createCallExpression(e.createPropertyAccessExpression(i,"set"),void 0,[t,r||e.createVoidZero()])}function Dqe(e,t,r){return e.createCallExpression(e.createPropertyAccessExpression(r,"add"),void 0,[t])}function Cqe(e){return!$E(e)&&e.escapedText==="#constructor"}function Nqe(e){return to(e.left)&&e.operatorToken.kind===103}function Mqe(e){return ko(e)&&Lc(e)}function mP(e){return Zl(e)||Mqe(e)}function Uae(e){const{factory:t,hoistVariableDeclaration:r}=e,i=e.getEmitResolver(),o=e.getCompilerOptions(),s=Va(o),l=Vd(o,"strictNullChecks");let u,d;return{serializeTypeNode:(re,q)=>_(re,N,q),serializeTypeOfNode:(re,q,ue)=>_(re,y,q,ue),serializeParameterTypesOfNode:(re,q,ue)=>_(re,E,q,ue),serializeReturnTypeOfNode:(re,q)=>_(re,R,q)};function _(re,q,ue,de){const ge=u,Ae=d;u=re.currentLexicalScope,d=re.currentNameScope;const Re=de===void 0?q(ue):q(ue,de);return u=ge,d=Ae,Re}function m(re,q){const ue=MS(q.members,re);return ue.setAccessor&&Une(ue.setAccessor)||ue.getAccessor&&Wp(ue.getAccessor)}function y(re,q){switch(re.kind){case 173:case 170:return N(re.type);case 179:case 178:return N(m(re,q));case 264:case 232:case 175:return t.createIdentifier("Function");default:return t.createVoidZero()}}function E(re,q){const ue=hi(re)?Sg(re):Yo(re)&&gm(re.body)?re:void 0,de=[];if(ue){const ge=A(ue,q),Ae=ge.length;for(let Re=0;Re<Ae;Re++){const $=ge[Re];Re===0&&Je($.name)&&$.name.escapedText==="this"||($.dotDotDotToken?de.push(N(wG($.type))):de.push(y($,q)))}}return t.createArrayLiteralExpression(de)}function A(re,q){if(q&&re.kind===178){const{setAccessor:ue}=MS(q.members,re);if(ue)return ue.parameters}return re.parameters}function R(re){return Yo(re)&&re.type?N(re.type):aM(re)?t.createIdentifier("Promise"):t.createVoidZero()}function N(re){if(re===void 0)return t.createIdentifier("Object");switch(re=nM(re),re.kind){case 116:case 157:case 146:return t.createVoidZero();case 185:case 186:return t.createIdentifier("Function");case 189:case 190:return t.createIdentifier("Array");case 183:return re.assertsModifier?t.createVoidZero():t.createIdentifier("Boolean");case 136:return t.createIdentifier("Boolean");case 204:case 154:return t.createIdentifier("String");case 151:return t.createIdentifier("Object");case 202:return M(re.literal);case 150:return t.createIdentifier("Number");case 163:return he("BigInt",7);case 155:return he("Symbol",2);case 184:return O(re);case 194:return k(re.types,!0);case 193:return k(re.types,!1);case 195:return k([re.trueType,re.falseType],!1);case 199:if(re.operator===148)return N(re.type);break;case 187:case 200:case 201:case 188:case 133:case 159:case 198:case 206:break;case 313:case 314:case 318:case 319:case 320:break;case 315:case 316:case 317:return N(re.type);default:return C.failBadSyntaxKind(re)}return t.createIdentifier("Object")}function M(re){switch(re.kind){case 11:case 15:return t.createIdentifier("String");case 225:{const q=re.operand;switch(q.kind){case 9:case 10:return M(q);default:return C.failBadSyntaxKind(q)}}case 9:return t.createIdentifier("Number");case 10:return he("BigInt",7);case 112:case 97:return t.createIdentifier("Boolean");case 106:return t.createVoidZero();default:return C.failBadSyntaxKind(re)}}function k(re,q){let ue;for(let de of re){if(de=nM(de),de.kind===146){if(q)return t.createVoidZero();continue}if(de.kind===159){if(!q)return t.createIdentifier("Object");continue}if(de.kind===133)return t.createIdentifier("Object");if(!l&&(hv(de)&&de.literal.kind===106||de.kind===157))continue;const ge=N(de);if(Je(ge)&&ge.escapedText==="Object")return ge;if(ue){if(!F(ue,ge))return t.createIdentifier("Object")}else ue=ge}return ue!=null?ue:t.createVoidZero()}function F(re,q){return yl(re)?yl(q):Je(re)?Je(q)&&re.escapedText===q.escapedText:Jr(re)?Jr(q)&&F(re.expression,q.expression)&&F(re.name,q.name):XI(re)?XI(q)&&ip(re.expression)&&re.expression.text==="0"&&ip(q.expression)&&q.expression.text==="0":Oa(re)?Oa(q)&&re.text===q.text:ED(re)?ED(q)&&F(re.expression,q.expression):zu(re)?zu(q)&&F(re.expression,q.expression):S1(re)?S1(q)&&F(re.condition,q.condition)&&F(re.whenTrue,q.whenTrue)&&F(re.whenFalse,q.whenFalse):Nr(re)?Nr(q)&&re.operatorToken.kind===q.operatorToken.kind&&F(re.left,q.left)&&F(re.right,q.right):!1}function O(re){const q=i.getTypeReferenceSerializationKind(re.typeName,d!=null?d:u);switch(q){case 0:if(Rn(re,ge=>ge.parent&&zS(ge.parent)&&(ge.parent.trueType===ge||ge.parent.falseType===ge)))return t.createIdentifier("Object");const ue=j(re.typeName),de=t.createTempVariable(r);return t.createConditionalExpression(t.createTypeCheck(t.createAssignment(de,ue),"function"),void 0,de,void 0,t.createIdentifier("Object"));case 1:return K(re.typeName);case 2:return t.createVoidZero();case 4:return he("BigInt",7);case 6:return t.createIdentifier("Boolean");case 3:return t.createIdentifier("Number");case 5:return t.createIdentifier("String");case 7:return t.createIdentifier("Array");case 8:return he("Symbol",2);case 10:return t.createIdentifier("Function");case 9:return t.createIdentifier("Promise");case 11:return t.createIdentifier("Object");default:return C.assertNever(q)}}function G(re,q){return t.createLogicalAnd(t.createStrictInequality(t.createTypeOfExpression(re),t.createStringLiteral("undefined")),q)}function j(re){if(re.kind===80){const de=K(re);return G(de,de)}if(re.left.kind===80)return G(K(re.left),K(re));const q=j(re.left),ue=t.createTempVariable(r);return t.createLogicalAnd(t.createLogicalAnd(q.left,t.createStrictInequality(t.createAssignment(ue,q.right),t.createVoidZero())),t.createPropertyAccessExpression(ue,re.right))}function K(re){switch(re.kind){case 80:const q=ps(Tt(oT.cloneNode(re),re),re.parent);return q.original=void 0,ps(q,Ho(u)),q;case 167:return Q(re)}}function Q(re){return t.createPropertyAccessExpression(K(re.left),re.right)}function J(re){return t.createConditionalExpression(t.createTypeCheck(t.createIdentifier(re),"function"),void 0,t.createIdentifier(re),void 0,t.createIdentifier("Object"))}function he(re,q){return s<q?J(re):t.createIdentifier(re)}}function Hae(e){const{factory:t,getEmitHelperFactory:r,hoistVariableDeclaration:i}=e,o=e.getEmitResolver(),s=e.getCompilerOptions(),l=Va(s),u=e.onSubstituteNode;e.onSubstituteNode=De;let d;return hh(e,_);function _(Be){const ot=kn(Be,y,e);return Dg(ot,e.readEmitHelpers()),ot}function m(Be){return wc(Be)?void 0:Be}function y(Be){if(!(Be.transformFlags&33554432))return Be;switch(Be.kind){case 171:return;case 264:return E(Be);case 232:return O(Be);case 177:return G(Be);case 175:return K(Be);case 179:return J(Be);case 178:return Q(Be);case 173:return he(Be);case 170:return re(Be);default:return kn(Be,y,e)}}function E(Be){if(!(ov(!0,Be)||XN(!0,Be)))return kn(Be,y,e);const ot=ov(!0,Be)?F(Be,Be.name):k(Be,Be.name);return M_(ot)}function A(Be){return!!(Be.transformFlags&536870912)}function R(Be){return bt(Be,A)}function N(Be){for(const ot of Be.members){if(!qS(ot))continue;const Ot=T3(ot,Be,!0);if(bt(Ot==null?void 0:Ot.decorators,A)||bt(Ot==null?void 0:Ot.parameters,R))return!0}return!1}function M(Be,ot){let Ot=[];return de(Ot,Be,!1),de(Ot,Be,!0),N(Be)&&(ot=Tt(t.createNodeArray([...ot,t.createClassStaticBlockDeclaration(t.createBlock(Ot,!0))]),ot),Ot=void 0),{decorationStatements:Ot,members:ot}}function k(Be,ot){const Ot=Jn(Be.modifiers,m,Ra),Vt=Jn(Be.heritageClauses,y,Gp);let mn=Jn(Be.members,y,vc),Hn=[];({members:mn,decorationStatements:Hn}=M(Be,mn));const gt=t.updateClassDeclaration(Be,Ot,ot,void 0,Vt,mn);return $r([gt],Hn)}function F(Be,ot){const Ot=fi(Be,32),Vt=fi(Be,2048),mn=Jn(Be.modifiers,It=>Rw(It)||wc(It)?void 0:It,vl),Hn=t_(Be),gt=ze(Be),tn=l<2?t.getInternalName(Be,!1,!0):t.getLocalName(Be,!1,!0),ir=Jn(Be.heritageClauses,y,Gp);let Ri=Jn(Be.members,y,vc),_o=[];({members:Ri,decorationStatements:_o}=M(Be,Ri));const Ht=l>=9&&!!gt&&bt(Ri,It=>ko(It)&&fi(It,256)||Zl(It));Ht&&(Ri=Tt(t.createNodeArray([t.createClassStaticBlockDeclaration(t.createBlock([t.createExpressionStatement(t.createAssignment(gt,t.createThis()))])),...Ri]),Ri));const Qr=t.createClassExpression(mn,ot&&yl(ot)?void 0:ot,void 0,ir,Ri);jr(Qr,Be),Tt(Qr,Hn);const go=gt&&!Ht?t.createAssignment(gt,Qr):Qr,Ci=t.createVariableDeclaration(tn,void 0,void 0,go);jr(Ci,Be);const Cr=t.createVariableDeclarationList([Ci],1),Ur=t.createVariableStatement(void 0,Cr);jr(Ur,Be),Tt(Ur,Hn),Ic(Ur,Be);const Qe=[Ur];if($r(Qe,_o),ve(Qe,Be),Ot)if(Vt){const It=t.createExportDefault(tn);Qe.push(It)}else{const It=t.createExternalModuleExport(t.getDeclarationName(Be));Qe.push(It)}return Qe}function O(Be){return t.updateClassExpression(Be,Jn(Be.modifiers,m,Ra),Be.name,void 0,Jn(Be.heritageClauses,y,Gp),Jn(Be.members,y,vc))}function G(Be){return t.updateConstructorDeclaration(Be,Jn(Be.modifiers,m,Ra),Jn(Be.parameters,y,no),st(Be.body,y,ia))}function j(Be,ot){return Be!==ot&&(Ic(Be,ot),Ha(Be,t_(ot))),Be}function K(Be){return j(t.updateMethodDeclaration(Be,Jn(Be.modifiers,m,Ra),Be.asteriskToken,C.checkDefined(st(Be.name,y,yc)),void 0,void 0,Jn(Be.parameters,y,no),void 0,st(Be.body,y,ia)),Be)}function Q(Be){return j(t.updateGetAccessorDeclaration(Be,Jn(Be.modifiers,m,Ra),C.checkDefined(st(Be.name,y,yc)),Jn(Be.parameters,y,no),void 0,st(Be.body,y,ia)),Be)}function J(Be){return j(t.updateSetAccessorDeclaration(Be,Jn(Be.modifiers,m,Ra),C.checkDefined(st(Be.name,y,yc)),Jn(Be.parameters,y,no),st(Be.body,y,ia)),Be)}function he(Be){if(!(Be.flags&33554432||fi(Be,128)))return j(t.updatePropertyDeclaration(Be,Jn(Be.modifiers,m,Ra),C.checkDefined(st(Be.name,y,yc)),void 0,void 0,st(Be.initializer,y,Et)),Be)}function re(Be){const ot=t.updateParameterDeclaration(Be,moe(t,Be.modifiers),Be.dotDotDotToken,C.checkDefined(st(Be.name,y,QE)),void 0,void 0,st(Be.initializer,y,Et));return ot!==Be&&(Ic(ot,Be),Tt(ot,t_(Be)),Ha(ot,t_(Be)),Dr(ot.name,64)),ot}function q(Be){return FM(Be.expression,"___metadata")}function ue(Be){if(!Be)return;const{false:ot,true:Ot}=YB(Be.decorators,q),Vt=[];return $r(Vt,Gt(ot,be)),$r(Vt,Wi(Be.parameters,ee)),$r(Vt,Gt(Ot,be)),Vt}function de(Be,ot,Ot){$r(Be,Gt(Re(ot,Ot),Vt=>t.createExpressionStatement(Vt)))}function ge(Be,ot,Ot){return pk(!0,Be,Ot)&&ot===ha(Be)}function Ae(Be,ot){return Fn(Be.members,Ot=>ge(Ot,ot,Be))}function Re(Be,ot){const Ot=Ae(Be,ot);let Vt;for(const mn of Ot)Vt=jn(Vt,$(Be,mn));return Vt}function $(Be,ot){const Ot=T3(ot,Be,!0),Vt=ue(Ot);if(!Vt)return;const mn=le(Be,ot),Hn=Se(ot,!fi(ot,128)),gt=ko(ot)&&!Zh(ot)?t.createVoidZero():t.createNull(),tn=r().createDecorateHelper(Vt,mn,Hn,gt);return Dr(tn,3072),Ha(tn,t_(ot)),tn}function ve(Be,ot){const Ot=je(ot);Ot&&Be.push(jr(t.createExpressionStatement(Ot),ot))}function je(Be){const ot=tH(Be,!0),Ot=ue(ot);if(!Ot)return;const Vt=d&&d[Gu(Be)],mn=l<2?t.getInternalName(Be,!1,!0):t.getDeclarationName(Be,!1,!0),Hn=r().createDecorateHelper(Ot,mn),gt=t.createAssignment(mn,Vt?t.createAssignment(Vt,Hn):Hn);return Dr(gt,3072),Ha(gt,t_(Be)),gt}function be(Be){return C.checkDefined(st(Be.expression,y,Et))}function ee(Be,ot){let Ot;if(Be){Ot=[];for(const Vt of Be){const mn=r().createParamHelper(be(Vt),ot);Tt(mn,Vt.expression),Dr(mn,3072),Ot.push(mn)}}return Ot}function Se(Be,ot){const Ot=Be.name;return to(Ot)?t.createIdentifier(""):Ea(Ot)?ot&&!H_(Ot.expression)?t.getGeneratedNameForNode(Ot):Ot.expression:Je(Ot)?t.createStringLiteral(Yr(Ot)):t.cloneNode(Ot)}function Ne(){d||(e.enableSubstitution(80),d=[])}function ze(Be){if(o.hasNodeCheckFlag(Be,262144)){Ne();const ot=t.createUniqueName(Be.name&&!yl(Be.name)?Yr(Be.name):"default");return d[Gu(Be)]=ot,i(ot),ot}}function lt(Be){return t.createPropertyAccessExpression(t.getDeclarationName(Be),"prototype")}function le(Be,ot){return ha(ot)?t.getDeclarationName(Be):lt(Be)}function De(Be,ot){return ot=u(Be,ot),Be===1?_e(ot):ot}function _e(Be){switch(Be.kind){case 80:return Ve(Be)}return Be}function Ve(Be){var ot;return(ot=Ge(Be))!=null?ot:Be}function Ge(Be){if(d&&o.hasNodeCheckFlag(Be,536870912)){const ot=o.getReferencedValueDeclaration(Be);if(ot){const Ot=d[ot.id];if(Ot){const Vt=t.cloneNode(Ot);return Ha(Vt,Be),Ic(Vt,Be),Vt}}}}}function qae(e){const{factory:t,getEmitHelperFactory:r,startLexicalEnvironment:i,endLexicalEnvironment:o,hoistVariableDeclaration:s}=e,l=Va(e.getCompilerOptions());let u,d,_,m,y,E;return hh(e,A);function A(B){u=void 0,E=!1;const xe=kn(B,J,e);return Dg(xe,e.readEmitHelpers()),E&&(_1(xe,32),E=!1),xe}function R(){switch(d=void 0,_=void 0,m=void 0,u==null?void 0:u.kind){case"class":d=u.classInfo;break;case"class-element":d=u.next.classInfo,_=u.classThis,m=u.classSuper;break;case"name":const B=u.next.next.next;(B==null?void 0:B.kind)==="class-element"&&(d=B.next.classInfo,_=B.classThis,m=B.classSuper);break}}function N(B){u={kind:"class",next:u,classInfo:B,savedPendingExpressions:y},y=void 0,R()}function M(){C.assert((u==null?void 0:u.kind)==="class","Incorrect value for top.kind.",()=>"Expected top.kind to be 'class' but got '".concat(u==null?void 0:u.kind,"' instead.")),y=u.savedPendingExpressions,u=u.next,R()}function k(B){var xe,te;C.assert((u==null?void 0:u.kind)==="class","Incorrect value for top.kind.",()=>"Expected top.kind to be 'class' but got '".concat(u==null?void 0:u.kind,"' instead.")),u={kind:"class-element",next:u},(Zl(B)||ko(B)&&Lc(B))&&(u.classThis=(xe=u.next.classInfo)==null?void 0:xe.classThis,u.classSuper=(te=u.next.classInfo)==null?void 0:te.classSuper),R()}function F(){var B;C.assert((u==null?void 0:u.kind)==="class-element","Incorrect value for top.kind.",()=>"Expected top.kind to be 'class-element' but got '".concat(u==null?void 0:u.kind,"' instead.")),C.assert(((B=u.next)==null?void 0:B.kind)==="class","Incorrect value for top.next.kind.",()=>{var xe;return"Expected top.next.kind to be 'class' but got '".concat((xe=u.next)==null?void 0:xe.kind,"' instead.")}),u=u.next,R()}function O(){C.assert((u==null?void 0:u.kind)==="class-element","Incorrect value for top.kind.",()=>"Expected top.kind to be 'class-element' but got '".concat(u==null?void 0:u.kind,"' instead.")),u={kind:"name",next:u},R()}function G(){C.assert((u==null?void 0:u.kind)==="name","Incorrect value for top.kind.",()=>"Expected top.kind to be 'name' but got '".concat(u==null?void 0:u.kind,"' instead.")),u=u.next,R()}function j(){(u==null?void 0:u.kind)==="other"?(C.assert(!y),u.depth++):(u={kind:"other",next:u,depth:0,savedPendingExpressions:y},y=void 0,R())}function K(){C.assert((u==null?void 0:u.kind)==="other","Incorrect value for top.kind.",()=>"Expected top.kind to be 'other' but got '".concat(u==null?void 0:u.kind,"' instead.")),u.depth>0?(C.assert(!y),u.depth--):(y=u.savedPendingExpressions,u=u.next,R())}function Q(B){return!!(B.transformFlags&33554432)||!!_&&!!(B.transformFlags&16384)||!!_&&!!m&&!!(B.transformFlags&134217728)}function J(B){if(!Q(B))return B;switch(B.kind){case 171:return C.fail("Use `modifierVisitor` instead.");case 264:return je(B);case 232:return be(B);case 177:case 173:case 176:return C.fail("Not supported outside of a class. Use 'classElementVisitor' instead.");case 170:return Hn(B);case 227:return _o(B,!1);case 304:return Ur(B);case 261:return Qe(B);case 209:return It(B);case 278:return at(B);case 110:return Be(B);case 249:return ir(B);case 245:return Ri(B);case 357:return Qr(B,!1);case 218:return Bt(B,!1);case 356:return ce(B);case 214:return ot(B);case 216:return Ot(B);case 225:case 226:return Ht(B,!1);case 212:return Vt(B);case 213:return mn(B);case 168:return Cr(B);case 175:case 179:case 178:case 219:case 263:{j();const xe=kn(B,he,e);return K(),xe}default:return kn(B,he,e)}}function he(B){switch(B.kind){case 171:return;default:return J(B)}}function re(B){switch(B.kind){case 171:return;default:return B}}function q(B){switch(B.kind){case 177:return Ne(B);case 175:return le(B);case 178:return De(B);case 179:return _e(B);case 173:return Ge(B);case 176:return Ve(B);default:return J(B)}}function ue(B){switch(B.kind){case 225:case 226:return Ht(B,!0);case 227:return _o(B,!0);case 357:return Qr(B,!0);case 218:return Bt(B,!0);default:return J(B)}}function de(B){let xe=B.name&&Je(B.name)&&!yl(B.name)?Yr(B.name):B.name&&to(B.name)&&!yl(B.name)?Yr(B.name).slice(1):B.name&&Oa(B.name)&&_p(B.name.text,99)?B.name.text:hi(B)?"class":"member";return hg(B)&&(xe="get_".concat(xe)),Jh(B)&&(xe="set_".concat(xe)),B.name&&to(B.name)&&(xe="private_".concat(xe)),ha(B)&&(xe="static_".concat(xe)),"_"+xe}function ge(B,xe){return t.createUniqueName("".concat(de(B),"_").concat(xe),24)}function Ae(B,xe){return t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(B,void 0,void 0,xe)],1))}function Re(B){var fr,vt;const xe=t.createUniqueName("_metadata",48);let te,xt,$t=!1,Pe=!1,yt=!1,jt,or,$n;if(QR(!1,B)){const Rt=bt(B.members,zt=>(nu(zt)||Qu(zt))&&Lc(zt));jt=t.createUniqueName("_classThis",Rt?24:48)}for(const Rt of B.members){if(lI(Rt)&&pk(!1,Rt,B))if(Lc(Rt)){if(!xt){xt=t.createUniqueName("_staticExtraInitializers",48);const zt=r().createRunInitializersHelper(jt!=null?jt:t.createThis(),xt);Ha(zt,(fr=B.name)!=null?fr:fy(B)),or!=null||(or=[]),or.push(zt)}}else{if(!te){te=t.createUniqueName("_instanceExtraInitializers",48);const zt=r().createRunInitializersHelper(t.createThis(),te);Ha(zt,(vt=B.name)!=null?vt:fy(B)),$n!=null||($n=[]),$n.push(zt)}te!=null||(te=t.createUniqueName("_instanceExtraInitializers",48))}if(Zl(Rt)?cx(Rt)||($t=!0):ko(Rt)&&(Lc(Rt)?$t||($t=!!Rt.initializer||ff(Rt)):Pe||(Pe=!DG(Rt))),(nu(Rt)||Qu(Rt))&&Lc(Rt)&&(yt=!0),xt&&te&&$t&&Pe&&yt)break}return{class:B,classThis:jt,metadataReference:xe,instanceMethodExtraInitializersName:te,staticMethodExtraInitializersName:xt,hasStaticInitializers:$t,hasNonAmbientInstanceFields:Pe,hasStaticPrivateClassElements:yt,pendingStaticInitializers:or,pendingInstanceInitializers:$n}}function $(B){var Pr,tr;i(),!iH(B)&&ov(!1,B)&&(B=A3(e,B,t.createStringLiteral("")));const xe=t.getLocalName(B,!1,!1,!0),te=Re(B),xt=[];let $t,Pe,yt,jt,or=!1;const $n=it(tH(B,!1));$n&&(te.classDecoratorsName=t.createUniqueName("_classDecorators",48),te.classDescriptorName=t.createUniqueName("_classDescriptor",48),te.classExtraInitializersName=t.createUniqueName("_classExtraInitializers",48),C.assertIsDefined(te.classThis),xt.push(Ae(te.classDecoratorsName,t.createArrayLiteralExpression($n)),Ae(te.classDescriptorName),Ae(te.classExtraInitializersName,t.createArrayLiteralExpression()),Ae(te.classThis)),te.hasStaticPrivateClassElements&&(or=!0,E=!0));const fr=Ck(B.heritageClauses,96),vt=fr&&Sc(fr.types),Rt=vt&&st(vt.expression,J,Et);if(Rt){te.classSuper=t.createUniqueName("_classSuper",48);const kt=Hl(Rt),ti=uc(kt)&&!kt.name||Ks(kt)&&!kt.name||Zs(kt)?t.createComma(t.createNumericLiteral(0),Rt):Rt;xt.push(Ae(te.classSuper,ti));const ea=t.updateExpressionWithTypeArguments(vt,te.classSuper,void 0),wo=t.updateHeritageClause(fr,[ea]);jt=t.createNodeArray([wo])}const zt=(Pr=te.classThis)!=null?Pr:t.createThis();N(te),$t=jn($t,Oe(te.metadataReference,te.classSuper));let Yt=B.members;if(Yt=Jn(Yt,kt=>kl(kt)?kt:q(kt),vc),Yt=Jn(Yt,kt=>kl(kt)?q(kt):kt,vc),y){let kt;for(let ti of y){ti=st(ti,function wo(vo){if(!(vo.transformFlags&16384))return vo;switch(vo.kind){case 110:return kt||(kt=t.createUniqueName("_outerThis",16),xt.unshift(Ae(kt,t.createThis()))),kt;default:return kn(vo,wo,e)}},Et);const ea=t.createExpressionStatement(ti);$t=jn($t,ea)}y=void 0}if(M(),bt(te.pendingInstanceInitializers)&&!Sg(B)){const kt=ee(B,te);if(kt){const ti=lh(B),ea=!!(ti&&Hl(ti.expression).kind!==106),wo=[];if(ea){const fs=t.createSpreadElement(t.createIdentifier("arguments")),xs=t.createCallExpression(t.createSuper(),void 0,[fs]);wo.push(t.createExpressionStatement(xs))}$r(wo,kt);const vo=t.createBlock(wo,!0);yt=t.createConstructorDeclaration(void 0,[],vo)}}if(te.staticMethodExtraInitializersName&&xt.push(Ae(te.staticMethodExtraInitializersName,t.createArrayLiteralExpression())),te.instanceMethodExtraInitializersName&&xt.push(Ae(te.instanceMethodExtraInitializersName,t.createArrayLiteralExpression())),te.memberInfos&&Uc(te.memberInfos,(kt,ti)=>{ha(ti)&&(xt.push(Ae(kt.memberDecoratorsName)),kt.memberInitializersName&&xt.push(Ae(kt.memberInitializersName,t.createArrayLiteralExpression())),kt.memberExtraInitializersName&&xt.push(Ae(kt.memberExtraInitializersName,t.createArrayLiteralExpression())),kt.memberDescriptorName&&xt.push(Ae(kt.memberDescriptorName)))}),te.memberInfos&&Uc(te.memberInfos,(kt,ti)=>{ha(ti)||(xt.push(Ae(kt.memberDecoratorsName)),kt.memberInitializersName&&xt.push(Ae(kt.memberInitializersName,t.createArrayLiteralExpression())),kt.memberExtraInitializersName&&xt.push(Ae(kt.memberExtraInitializersName,t.createArrayLiteralExpression())),kt.memberDescriptorName&&xt.push(Ae(kt.memberDescriptorName)))}),$t=$r($t,te.staticNonFieldDecorationStatements),$t=$r($t,te.nonStaticNonFieldDecorationStatements),$t=$r($t,te.staticFieldDecorationStatements),$t=$r($t,te.nonStaticFieldDecorationStatements),te.classDescriptorName&&te.classDecoratorsName&&te.classExtraInitializersName&&te.classThis){$t!=null||($t=[]);const kt=t.createPropertyAssignment("value",zt),ti=t.createObjectLiteralExpression([kt]),ea=t.createAssignment(te.classDescriptorName,ti),wo=t.createPropertyAccessExpression(zt,"name"),vo=r().createESDecorateHelper(t.createNull(),ea,te.classDecoratorsName,{kind:"class",name:wo,metadata:te.metadataReference},t.createNull(),te.classExtraInitializersName),fs=t.createExpressionStatement(vo);Ha(fs,fy(B)),$t.push(fs);const xs=t.createPropertyAccessExpression(te.classDescriptorName,"value"),ms=t.createAssignment(te.classThis,xs),ro=t.createAssignment(xe,ms);$t.push(t.createExpressionStatement(ro))}if($t.push(At(zt,te.metadataReference)),bt(te.pendingStaticInitializers)){for(const kt of te.pendingStaticInitializers){const ti=t.createExpressionStatement(kt);Ha(ti,pv(kt)),Pe=jn(Pe,ti)}te.pendingStaticInitializers=void 0}if(te.classExtraInitializersName){const kt=r().createRunInitializersHelper(zt,te.classExtraInitializersName),ti=t.createExpressionStatement(kt);Ha(ti,(tr=B.name)!=null?tr:fy(B)),Pe=jn(Pe,ti)}$t&&Pe&&!te.hasStaticInitializers&&($r($t,Pe),Pe=void 0);const An=$t&&t.createClassStaticBlockDeclaration(t.createBlock($t,!0));An&&or&&uw(An,32);const vn=Pe&&t.createClassStaticBlockDeclaration(t.createBlock(Pe,!0));if(An||yt||vn){const kt=[],ti=Yt.findIndex(cx);An?($r(kt,Yt,0,ti+1),kt.push(An),$r(kt,Yt,ti+1)):$r(kt,Yt),yt&&kt.push(yt),vn&&kt.push(vn),Yt=Tt(t.createNodeArray(kt),Yt)}const Ft=o();let bn;if($n){bn=t.createClassExpression(void 0,void 0,void 0,jt,Yt),te.classThis&&(bn=Fae(t,bn,te.classThis));const kt=t.createVariableDeclaration(xe,void 0,void 0,bn),ti=t.createVariableDeclarationList([kt]),ea=te.classThis?t.createAssignment(xe,te.classThis):xe;xt.push(t.createVariableStatement(void 0,ti),t.createReturnStatement(ea))}else bn=t.createClassExpression(void 0,B.name,void 0,jt,Yt),xt.push(t.createReturnStatement(bn));if(or){_1(bn,32);for(const kt of bn.members)(nu(kt)||Qu(kt))&&Lc(kt)&&_1(kt,32)}return jr(bn,B),t.createImmediatelyInvokedArrowFunction(t.mergeLexicalEnvironment(xt,Ft))}function ve(B){return ov(!1,B)||XN(!1,B)}function je(B){var xe;if(ve(B)){const te=[],xt=(xe=Tl(B,hi))!=null?xe:B,$t=xt.name?t.createStringLiteralFromNode(xt.name):t.createStringLiteral("default"),Pe=fi(B,32),yt=fi(B,2048);if(B.name||(B=A3(e,B,$t)),Pe&&yt){const jt=$(B);if(B.name){const or=t.createVariableDeclaration(t.getLocalName(B),void 0,void 0,jt);jr(or,B);const $n=t.createVariableDeclarationList([or],1),fr=t.createVariableStatement(void 0,$n);te.push(fr);const vt=t.createExportDefault(t.getDeclarationName(B));jr(vt,B),Ic(vt,i_(B)),Ha(vt,fy(B)),te.push(vt)}else{const or=t.createExportDefault(jt);jr(or,B),Ic(or,i_(B)),Ha(or,fy(B)),te.push(or)}}else{C.assertIsDefined(B.name,"A class declaration that is not a default export must have a name.");const jt=$(B),or=Pe?Yt=>jI(Yt)?void 0:re(Yt):re,$n=Jn(B.modifiers,or,Ra),fr=t.getLocalName(B,!1,!0),vt=t.createVariableDeclaration(fr,void 0,void 0,jt);jr(vt,B);const Rt=t.createVariableDeclarationList([vt],1),zt=t.createVariableStatement($n,Rt);if(jr(zt,B),Ic(zt,i_(B)),te.push(zt),Pe){const Yt=t.createExternalModuleExport(fr);jr(Yt,B),te.push(Yt)}}return M_(te)}else{const te=Jn(B.modifiers,re,Ra),xt=Jn(B.heritageClauses,J,Gp);N(void 0);const $t=Jn(B.members,q,vc);return M(),t.updateClassDeclaration(B,te,B.name,void 0,xt,$t)}}function be(B){if(ve(B)){const xe=$(B);return jr(xe,B),xe}else{const xe=Jn(B.modifiers,re,Ra),te=Jn(B.heritageClauses,J,Gp);N(void 0);const xt=Jn(B.members,q,vc);return M(),t.updateClassExpression(B,xe,B.name,void 0,te,xt)}}function ee(B,xe){if(bt(xe.pendingInstanceInitializers)){const te=[];return te.push(t.createExpressionStatement(t.inlineExpressions(xe.pendingInstanceInitializers))),xe.pendingInstanceInitializers=void 0,te}}function Se(B,xe,te,xt,$t,Pe){const yt=xt[$t],jt=xe[yt];if($r(B,Jn(xe,J,Gi,te,yt-te)),A1(jt)){const or=[];Se(or,jt.tryBlock.statements,0,xt,$t+1,Pe);const $n=t.createNodeArray(or);Tt($n,jt.tryBlock.statements),B.push(t.updateTryStatement(jt,t.updateBlock(jt.tryBlock,or),st(jt.catchClause,J,US),st(jt.finallyBlock,J,ia)))}else $r(B,Jn(xe,J,Gi,yt,1)),$r(B,Pe);$r(B,Jn(xe,J,Gi,yt+1))}function Ne(B){k(B);const xe=Jn(B.modifiers,re,Ra),te=Jn(B.parameters,J,no);let xt;if(B.body&&d){const $t=ee(d.class,d);if($t){const Pe=[],yt=t.copyPrologue(B.body.statements,Pe,!1,J),jt=v3(B.body.statements,yt);jt.length>0?Se(Pe,B.body.statements,yt,jt,0,$t):($r(Pe,$t),$r(Pe,Jn(B.body.statements,J,Gi))),xt=t.createBlock(Pe,!0),jr(xt,B.body),Tt(xt,B.body)}}return xt!=null||(xt=st(B.body,J,ia)),F(),t.updateConstructorDeclaration(B,xe,te,xt)}function ze(B,xe){return B!==xe&&(Ic(B,xe),Ha(B,fy(xe))),B}function lt(B,xe,te){var vt,Rt,zt,Yt,An,vn,Ft;let xt,$t,Pe,yt,jt,or;if(!xe){const bn=Jn(B.modifiers,re,Ra);return O(),$t=Ci(B.name),G(),{modifiers:bn,referencedName:xt,name:$t,initializersName:Pe,descriptorName:or,thisArg:jt}}const $n=it(T3(B,xe.class,!1)),fr=Jn(B.modifiers,re,Ra);if($n){const bn=ge(B,"decorators"),Pr=t.createArrayLiteralExpression($n),tr=t.createAssignment(bn,Pr),kt={memberDecoratorsName:bn};(vt=xe.memberInfos)!=null||(xe.memberInfos=new Map),xe.memberInfos.set(B,kt),y!=null||(y=[]),y.push(tr);const ti=lI(B)||Qu(B)?ha(B)?(Rt=xe.staticNonFieldDecorationStatements)!=null?Rt:xe.staticNonFieldDecorationStatements=[]:(zt=xe.nonStaticNonFieldDecorationStatements)!=null?zt:xe.nonStaticNonFieldDecorationStatements=[]:ko(B)&&!Qu(B)?ha(B)?(Yt=xe.staticFieldDecorationStatements)!=null?Yt:xe.staticFieldDecorationStatements=[]:(An=xe.nonStaticFieldDecorationStatements)!=null?An:xe.nonStaticFieldDecorationStatements=[]:C.fail(),ea=qf(B)?"getter":bp(B)?"setter":Ll(B)?"method":Qu(B)?"accessor":ko(B)?"field":C.fail();let wo;if(Je(B.name)||to(B.name))wo={computed:!1,name:B.name};else if($h(B.name))wo={computed:!0,name:t.createStringLiteralFromNode(B.name)};else{const fs=B.name.expression;$h(fs)&&!Je(fs)?wo={computed:!0,name:t.createStringLiteralFromNode(fs)}:(O(),{referencedName:xt,name:$t}=go(B.name),wo={computed:!0,name:xt},G())}const vo={kind:ea,name:wo,static:ha(B),private:to(B.name),access:{get:ko(B)||qf(B)||Ll(B),set:ko(B)||bp(B)},metadata:xe.metadataReference};if(lI(B)){const fs=ha(B)?xe.staticMethodExtraInitializersName:xe.instanceMethodExtraInitializersName;C.assertIsDefined(fs);let xs;nu(B)&&te&&(xs=te(B,Jn(fr,zo=>ii(zo,zM),Ra)),kt.memberDescriptorName=or=ge(B,"descriptor"),xs=t.createAssignment(or,xs));const ms=r().createESDecorateHelper(t.createThis(),xs!=null?xs:t.createNull(),bn,vo,t.createNull(),fs),ro=t.createExpressionStatement(ms);Ha(ro,fy(B)),ti.push(ro)}else if(ko(B)){Pe=(vn=kt.memberInitializersName)!=null?vn:kt.memberInitializersName=ge(B,"initializers"),yt=(Ft=kt.memberExtraInitializersName)!=null?Ft:kt.memberExtraInitializersName=ge(B,"extraInitializers"),ha(B)&&(jt=xe.classThis);let fs;nu(B)&&Zh(B)&&te&&(fs=te(B,void 0),kt.memberDescriptorName=or=ge(B,"descriptor"),fs=t.createAssignment(or,fs));const xs=r().createESDecorateHelper(Qu(B)?t.createThis():t.createNull(),fs!=null?fs:t.createNull(),bn,vo,Pe,yt),ms=t.createExpressionStatement(xs);Ha(ms,fy(B)),ti.push(ms)}}return $t===void 0&&(O(),$t=Ci(B.name),G()),!bt(fr)&&(Ll(B)||ko(B))&&Dr($t,1024),{modifiers:fr,referencedName:xt,name:$t,initializersName:Pe,extraInitializersName:yt,descriptorName:or,thisArg:jt}}function le(B){k(B);const{modifiers:xe,name:te,descriptorName:xt}=lt(B,d,He);if(xt)return F(),ze(rt(xe,te,xt),B);{const $t=Jn(B.parameters,J,no),Pe=st(B.body,J,ia);return F(),ze(t.updateMethodDeclaration(B,xe,B.asteriskToken,te,void 0,void 0,$t,void 0,Pe),B)}}function De(B){k(B);const{modifiers:xe,name:te,descriptorName:xt}=lt(B,d,Ct);if(xt)return F(),ze(Zt(xe,te,xt),B);{const $t=Jn(B.parameters,J,no),Pe=st(B.body,J,ia);return F(),ze(t.updateGetAccessorDeclaration(B,xe,te,$t,void 0,Pe),B)}}function _e(B){k(B);const{modifiers:xe,name:te,descriptorName:xt}=lt(B,d,Nt);if(xt)return F(),ze(Rr(xe,te,xt),B);{const $t=Jn(B.parameters,J,no),Pe=st(B.body,J,ia);return F(),ze(t.updateSetAccessorDeclaration(B,xe,te,$t,Pe),B)}}function Ve(B){k(B);let xe;if(cx(B))xe=kn(B,J,e);else if(fP(B)){const te=_;_=void 0,xe=kn(B,J,e),_=te}else if(B=kn(B,J,e),xe=B,d&&(d.hasStaticInitializers=!0,bt(d.pendingStaticInitializers))){const te=[];for(const Pe of d.pendingStaticInitializers){const yt=t.createExpressionStatement(Pe);Ha(yt,pv(Pe)),te.push(yt)}const xt=t.createBlock(te,!0);xe=[t.createClassStaticBlockDeclaration(xt),xe],d.pendingStaticInitializers=void 0}return F(),xe}function Ge(B){var $n,fr,vt;Op(B,gt)&&(B=Vp(e,B,tn(B.initializer))),k(B),C.assert(!DG(B),"Not yet implemented.");const{modifiers:xe,name:te,initializersName:xt,extraInitializersName:$t,descriptorName:Pe,thisArg:yt}=lt(B,d,Zh(B)?Wt:void 0);i();let jt=st(B.initializer,J,Et);xt&&(jt=r().createRunInitializersHelper(yt!=null?yt:t.createThis(),xt,jt!=null?jt:t.createVoidZero())),ha(B)&&d&&jt&&(d.hasStaticInitializers=!0);const or=o();if(bt(or)&&(jt=t.createImmediatelyInvokedArrowFunction([...or,t.createReturnStatement(jt)])),d&&(ha(B)?(jt=We(d,!0,jt),$t&&(($n=d.pendingStaticInitializers)!=null||(d.pendingStaticInitializers=[]),d.pendingStaticInitializers.push(r().createRunInitializersHelper((fr=d.classThis)!=null?fr:t.createThis(),$t)))):(jt=We(d,!1,jt),$t&&((vt=d.pendingInstanceInitializers)!=null||(d.pendingInstanceInitializers=[]),d.pendingInstanceInitializers.push(r().createRunInitializersHelper(t.createThis(),$t))))),F(),Zh(B)&&Pe){const Rt=i_(B),zt=pv(B),Yt=B.name;let An=Yt,vn=Yt;if(Ea(Yt)&&!H_(Yt.expression)){const kt=F4(Yt);if(kt)An=t.updateComputedPropertyName(Yt,st(Yt.expression,J,Et)),vn=t.updateComputedPropertyName(Yt,kt.left);else{const ti=t.createTempVariable(s);Ha(ti,Yt.expression);const ea=st(Yt.expression,J,Et),wo=t.createAssignment(ti,ea);Ha(wo,Yt.expression),An=t.updateComputedPropertyName(Yt,wo),vn=t.updateComputedPropertyName(Yt,ti)}}const Ft=Jn(xe,kt=>kt.kind!==129?kt:void 0,Ra),bn=Zj(t,B,Ft,jt);jr(bn,B),Dr(bn,3072),Ha(bn,zt),Ha(bn.name,B.name);const Pr=Zt(Ft,An,Pe);jr(Pr,B),Ic(Pr,Rt),Ha(Pr,zt);const tr=Rr(Ft,vn,Pe);return jr(tr,B),Dr(tr,3072),Ha(tr,zt),[bn,Pr,tr]}return ze(t.updatePropertyDeclaration(B,xe,te,void 0,void 0,jt),B)}function Be(B){return _!=null?_:B}function ot(B){if(gp(B.expression)&&_){const xe=st(B.expression,J,Et),te=Jn(B.arguments,J,Et),xt=t.createFunctionCallCall(xe,_,te);return jr(xt,B),Tt(xt,B),xt}return kn(B,J,e)}function Ot(B){if(gp(B.tag)&&_){const xe=st(B.tag,J,Et),te=t.createFunctionBindCall(xe,_,[]);jr(te,B),Tt(te,B);const xt=st(B.template,J,cI);return t.updateTaggedTemplateExpression(B,te,void 0,xt)}return kn(B,J,e)}function Vt(B){if(gp(B)&&Je(B.name)&&_&&m){const xe=t.createStringLiteralFromNode(B.name),te=t.createReflectGetCall(m,xe,_);return jr(te,B.expression),Tt(te,B.expression),te}return kn(B,J,e)}function mn(B){if(gp(B)&&_&&m){const xe=st(B.argumentExpression,J,Et),te=t.createReflectGetCall(m,xe,_);return jr(te,B.expression),Tt(te,B.expression),te}return kn(B,J,e)}function Hn(B){Op(B,gt)&&(B=Vp(e,B,tn(B.initializer)));const xe=t.updateParameterDeclaration(B,void 0,B.dotDotDotToken,st(B.name,J,QE),void 0,void 0,st(B.initializer,J,Et));return xe!==B&&(Ic(xe,B),Tt(xe,t_(B)),Ha(xe,t_(B)),Dr(xe.name,64)),xe}function gt(B){return uc(B)&&!B.name&&ve(B)}function tn(B){const xe=Hl(B);return uc(xe)&&!xe.name&&!ov(!1,xe)}function ir(B){return t.updateForStatement(B,st(B.initializer,ue,Wf),st(B.condition,J,Et),st(B.incrementor,ue,Et),Bu(B.statement,J,e))}function Ri(B){return kn(B,ue,e)}function _o(B,xe){if(sv(B)){const te=qo(B.left),xt=st(B.right,J,Et);return t.updateBinaryExpression(B,te,B.operatorToken,xt)}if(id(B)){if(Op(B,gt))return B=Vp(e,B,tn(B.right)),kn(B,J,e);if(gp(B.left)&&_&&m){let te=Bs(B.left)?st(B.left.argumentExpression,J,Et):Je(B.left.name)?t.createStringLiteralFromNode(B.left.name):void 0;if(te){let xt=st(B.right,J,Et);if(dP(B.operatorToken.kind)){let Pe=te;H_(te)||(Pe=t.createTempVariable(s),te=t.createAssignment(Pe,te));const yt=t.createReflectGetCall(m,Pe,_);jr(yt,B.left),Tt(yt,B.left),xt=t.createBinaryExpression(yt,uP(B.operatorToken.kind),xt),Tt(xt,B)}const $t=xe?void 0:t.createTempVariable(s);return $t&&(xt=t.createAssignment($t,xt),Tt($t,B)),xt=t.createReflectSetCall(m,te,xt,_),jr(xt,B),Tt(xt,B),$t&&(xt=t.createComma(xt,$t),Tt(xt,B)),xt}}}if(B.operatorToken.kind===28){const te=st(B.left,ue,Et),xt=st(B.right,xe?ue:J,Et);return t.updateBinaryExpression(B,te,B.operatorToken,xt)}return kn(B,J,e)}function Ht(B,xe){if(B.operator===46||B.operator===47){const te=us(B.operand);if(gp(te)&&_&&m){let xt=Bs(te)?st(te.argumentExpression,J,Et):Je(te.name)?t.createStringLiteralFromNode(te.name):void 0;if(xt){let $t=xt;H_(xt)||($t=t.createTempVariable(s),xt=t.createAssignment($t,xt));let Pe=t.createReflectGetCall(m,$t,_);jr(Pe,B),Tt(Pe,B);const yt=xe?void 0:t.createTempVariable(s);return Pe=P4(t,B,Pe,s,yt),Pe=t.createReflectSetCall(m,xt,Pe,_),jr(Pe,B),Tt(Pe,B),yt&&(Pe=t.createComma(Pe,yt),Tt(Pe,B)),Pe}}}return kn(B,J,e)}function Qr(B,xe){const te=xe?_3(B.elements,ue):_3(B.elements,J,ue);return t.updateCommaListExpression(B,te)}function go(B){if($h(B)||to(B)){const Pe=t.createStringLiteralFromNode(B),yt=st(B,J,yc);return{referencedName:Pe,name:yt}}if($h(B.expression)&&!Je(B.expression)){const Pe=t.createStringLiteralFromNode(B.expression),yt=st(B,J,yc);return{referencedName:Pe,name:yt}}const xe=t.getGeneratedNameForNode(B);s(xe);const te=r().createPropKeyHelper(st(B.expression,J,Et)),xt=t.createAssignment(xe,te),$t=t.updateComputedPropertyName(B,ie(xt));return{referencedName:xe,name:$t}}function Ci(B){return Ea(B)?Cr(B):st(B,J,yc)}function Cr(B){let xe=st(B.expression,J,Et);return H_(xe)||(xe=ie(xe)),t.updateComputedPropertyName(B,xe)}function Ur(B){return Op(B,gt)&&(B=Vp(e,B,tn(B.initializer))),kn(B,J,e)}function Qe(B){return Op(B,gt)&&(B=Vp(e,B,tn(B.initializer))),kn(B,J,e)}function It(B){return Op(B,gt)&&(B=Vp(e,B,tn(B.initializer))),kn(B,J,e)}function hn(B){if(za(B)||Dd(B))return qo(B);if(gp(B)&&_&&m){const xe=Bs(B)?st(B.argumentExpression,J,Et):Je(B.name)?t.createStringLiteralFromNode(B.name):void 0;if(xe){const te=t.createTempVariable(void 0),xt=t.createAssignmentTargetWrapper(te,t.createReflectSetCall(m,xe,te,_));return jr(xt,B),Tt(xt,B),xt}}return kn(B,J,e)}function pr(B){if(id(B,!0)){Op(B,gt)&&(B=Vp(e,B,tn(B.right)));const xe=hn(B.left),te=st(B.right,J,Et);return t.updateBinaryExpression(B,xe,B.operatorToken,te)}else return hn(B)}function oi(B){if(Zu(B.expression)){const xe=hn(B.expression);return t.updateSpreadElement(B,xe)}return kn(B,J,e)}function di(B){return C.assertNode(B,j2),Jf(B)?oi(B):qc(B)?kn(B,J,e):pr(B)}function Ki(B){const xe=st(B.name,J,yc);if(id(B.initializer,!0)){const te=pr(B.initializer);return t.updatePropertyAssignment(B,xe,te)}if(Zu(B.initializer)){const te=hn(B.initializer);return t.updatePropertyAssignment(B,xe,te)}return kn(B,J,e)}function Zo(B){return Op(B,gt)&&(B=Vp(e,B,tn(B.objectAssignmentInitializer))),kn(B,J,e)}function Da(B){if(Zu(B.expression)){const xe=hn(B.expression);return t.updateSpreadAssignment(B,xe)}return kn(B,J,e)}function Pn(B){return C.assertNode(B,V2),Ng(B)?Da(B):Ud(B)?Zo(B):Rc(B)?Ki(B):kn(B,J,e)}function qo(B){if(Dd(B)){const xe=Jn(B.elements,di,Et);return t.updateArrayLiteralExpression(B,xe)}else{const xe=Jn(B.properties,Pn,sy);return t.updateObjectLiteralExpression(B,xe)}}function at(B){return Op(B,gt)&&(B=Vp(e,B,tn(B.expression))),kn(B,J,e)}function Bt(B,xe){const te=xe?ue:J,xt=st(B.expression,te,Et);return t.updateParenthesizedExpression(B,xt)}function ce(B,xe){const te=J,xt=st(B.expression,te,Et);return t.updatePartiallyEmittedExpression(B,xt)}function _t(B,xe){return bt(B)&&(xe?zu(xe)?(B.push(xe.expression),xe=t.updateParenthesizedExpression(xe,t.inlineExpressions(B))):(B.push(xe),xe=t.inlineExpressions(B)):xe=t.inlineExpressions(B)),xe}function ie(B){const xe=_t(y,B);return C.assertIsDefined(xe),xe!==B&&(y=void 0),xe}function We(B,xe,te){const xt=_t(xe?B.pendingStaticInitializers:B.pendingInstanceInitializers,te);return xt!==te&&(xe?B.pendingStaticInitializers=void 0:B.pendingInstanceInitializers=void 0),xt}function it(B){if(!B)return;const xe=[];return $r(xe,Gt(B.decorators,dt)),xe}function dt(B){const xe=st(B.expression,J,Et);Dr(xe,3072);const te=Hl(xe);if(Qs(te)){const{target:xt,thisArg:$t}=t.createCallBinding(xe,s,l,!0);return t.restoreOuterExpressions(xe,t.createFunctionBindCall(xt,$t,[]))}return xe}function Lt(B,xe,te,xt,$t,Pe,yt){const jt=t.createFunctionExpression(te,xt,void 0,void 0,Pe,void 0,yt!=null?yt:t.createBlock([]));jr(jt,B),Ha(jt,fy(B)),Dr(jt,3072);const or=$t==="get"||$t==="set"?$t:void 0,$n=t.createStringLiteralFromNode(xe,void 0),fr=r().createSetFunctionNameHelper(jt,$n,or),vt=t.createPropertyAssignment(t.createIdentifier($t),fr);return jr(vt,B),Ha(vt,fy(B)),Dr(vt,3072),vt}function He(B,xe){return t.createObjectLiteralExpression([Lt(B,B.name,xe,B.asteriskToken,"value",Jn(B.parameters,J,no),st(B.body,J,ia))])}function Ct(B,xe){return t.createObjectLiteralExpression([Lt(B,B.name,xe,void 0,"get",[],st(B.body,J,ia))])}function Nt(B,xe){return t.createObjectLiteralExpression([Lt(B,B.name,xe,void 0,"set",Jn(B.parameters,J,no),st(B.body,J,ia))])}function Wt(B,xe){return t.createObjectLiteralExpression([Lt(B,B.name,xe,void 0,"get",[],t.createBlock([t.createReturnStatement(t.createPropertyAccessExpression(t.createThis(),t.getGeneratedPrivateNameForNode(B.name)))])),Lt(B,B.name,xe,void 0,"set",[t.createParameterDeclaration(void 0,void 0,"value")],t.createBlock([t.createExpressionStatement(t.createAssignment(t.createPropertyAccessExpression(t.createThis(),t.getGeneratedPrivateNameForNode(B.name)),t.createIdentifier("value")))]))])}function rt(B,xe,te){return B=Jn(B,xt=>UI(xt)?xt:void 0,Ra),t.createGetAccessorDeclaration(B,xe,[],void 0,t.createBlock([t.createReturnStatement(t.createPropertyAccessExpression(te,t.createIdentifier("value")))]))}function Zt(B,xe,te){return B=Jn(B,xt=>UI(xt)?xt:void 0,Ra),t.createGetAccessorDeclaration(B,xe,[],void 0,t.createBlock([t.createReturnStatement(t.createFunctionCallCall(t.createPropertyAccessExpression(te,t.createIdentifier("get")),t.createThis(),[]))]))}function Rr(B,xe,te){return B=Jn(B,xt=>UI(xt)?xt:void 0,Ra),t.createSetAccessorDeclaration(B,xe,[t.createParameterDeclaration(void 0,void 0,"value")],t.createBlock([t.createReturnStatement(t.createFunctionCallCall(t.createPropertyAccessExpression(te,t.createIdentifier("set")),t.createThis(),[t.createIdentifier("value")]))]))}function Oe(B,xe){const te=t.createVariableDeclaration(B,void 0,void 0,t.createConditionalExpression(t.createLogicalAnd(t.createTypeCheck(t.createIdentifier("Symbol"),"function"),t.createPropertyAccessExpression(t.createIdentifier("Symbol"),"metadata")),t.createToken(58),t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"create"),void 0,[xe?ye(xe):t.createNull()]),t.createToken(59),t.createVoidZero()));return t.createVariableStatement(void 0,t.createVariableDeclarationList([te],2))}function At(B,xe){const te=t.createObjectDefinePropertyCall(B,t.createPropertyAccessExpression(t.createIdentifier("Symbol"),"metadata"),t.createPropertyDescriptor({configurable:!0,writable:!0,enumerable:!0,value:xe},!0));return Dr(t.createIfStatement(xe,t.createExpressionStatement(te)),1)}function ye(B){return t.createBinaryExpression(t.createElementAccessExpression(B,t.createPropertyAccessExpression(t.createIdentifier("Symbol"),"metadata")),61,t.createNull())}}function Jae(e){const{factory:t,getEmitHelperFactory:r,resumeLexicalEnvironment:i,endLexicalEnvironment:o,hoistVariableDeclaration:s}=e,l=e.getEmitResolver(),u=e.getCompilerOptions(),d=Va(u);let _=0,m=0,y,E,A,R;const N=[];let M=0;const k=e.onEmitNode,F=e.onSubstituteNode;return e.onEmitNode=Ri,e.onSubstituteNode=_o,hh(e,O);function O(Qe){if(Qe.isDeclarationFile)return Qe;G(1,!1),G(2,!RG(Qe,u));const It=kn(Qe,q,e);return Dg(It,e.readEmitHelpers()),It}function G(Qe,It){M=It?M|Qe:M&~Qe}function j(Qe){return(M&Qe)!==0}function K(){return!j(1)}function Q(){return j(2)}function J(Qe,It,hn){const pr=Qe&~M;if(pr){G(pr,!0);const oi=It(hn);return G(pr,!1),oi}return It(hn)}function he(Qe){return kn(Qe,q,e)}function re(Qe){switch(Qe.kind){case 219:case 263:case 175:case 178:case 179:case 177:return Qe;case 170:case 209:case 261:break;case 80:if(R&&l.isArgumentsLocalBinding(Qe))return R;break}return kn(Qe,re,e)}function q(Qe){if((Qe.transformFlags&256)===0)return R?re(Qe):Qe;switch(Qe.kind){case 134:return;case 224:return ve(Qe);case 175:return J(3,be,Qe);case 263:return J(3,Ne,Qe);case 219:return J(3,ze,Qe);case 220:return J(1,lt,Qe);case 212:return E&&Jr(Qe)&&Qe.expression.kind===108&&E.add(Qe.name.escapedText),kn(Qe,q,e);case 213:return E&&Qe.expression.kind===108&&(A=!0),kn(Qe,q,e);case 178:return J(3,ee,Qe);case 179:return J(3,Se,Qe);case 177:return J(3,je,Qe);case 264:case 232:return J(3,he,Qe);default:return kn(Qe,q,e)}}function ue(Qe){if(Mne(Qe))switch(Qe.kind){case 244:return ge(Qe);case 249:return $(Qe);case 250:return Ae(Qe);case 251:return Re(Qe);case 300:return de(Qe);case 242:case 256:case 270:case 297:case 298:case 259:case 247:case 248:case 246:case 255:case 257:return kn(Qe,ue,e);default:return C.assertNever(Qe,"Unhandled node.")}return q(Qe)}function de(Qe){const It=new Set;le(Qe.variableDeclaration,It);let hn;if(It.forEach((pr,oi)=>{y.has(oi)&&(hn||(hn=new Set(y)),hn.delete(oi))}),hn){const pr=y;y=hn;const oi=kn(Qe,ue,e);return y=pr,oi}else return kn(Qe,ue,e)}function ge(Qe){if(De(Qe.declarationList)){const It=_e(Qe.declarationList,!1);return It?t.createExpressionStatement(It):void 0}return kn(Qe,q,e)}function Ae(Qe){return t.updateForInStatement(Qe,De(Qe.initializer)?_e(Qe.initializer,!0):C.checkDefined(st(Qe.initializer,q,Wf)),C.checkDefined(st(Qe.expression,q,Et)),Bu(Qe.statement,ue,e))}function Re(Qe){return t.updateForOfStatement(Qe,st(Qe.awaitModifier,q,Ij),De(Qe.initializer)?_e(Qe.initializer,!0):C.checkDefined(st(Qe.initializer,q,Wf)),C.checkDefined(st(Qe.expression,q,Et)),Bu(Qe.statement,ue,e))}function $(Qe){const It=Qe.initializer;return t.updateForStatement(Qe,De(It)?_e(It,!1):st(Qe.initializer,q,Wf),st(Qe.condition,q,Et),st(Qe.incrementor,q,Et),Bu(Qe.statement,ue,e))}function ve(Qe){return K()?kn(Qe,q,e):jr(Tt(t.createYieldExpression(void 0,st(Qe.expression,q,Et)),Qe),Qe)}function je(Qe){const It=R;R=void 0;const hn=t.updateConstructorDeclaration(Qe,Jn(Qe.modifiers,q,Ra),zl(Qe.parameters,q,e),Ot(Qe));return R=It,hn}function be(Qe){let It;const hn=dc(Qe),pr=R;R=void 0;const oi=t.updateMethodDeclaration(Qe,Jn(Qe.modifiers,q,vl),Qe.asteriskToken,Qe.name,void 0,void 0,It=hn&2?mn(Qe):zl(Qe.parameters,q,e),void 0,hn&2?Hn(Qe,It):Ot(Qe));return R=pr,oi}function ee(Qe){const It=R;R=void 0;const hn=t.updateGetAccessorDeclaration(Qe,Jn(Qe.modifiers,q,vl),Qe.name,zl(Qe.parameters,q,e),void 0,Ot(Qe));return R=It,hn}function Se(Qe){const It=R;R=void 0;const hn=t.updateSetAccessorDeclaration(Qe,Jn(Qe.modifiers,q,vl),Qe.name,zl(Qe.parameters,q,e),Ot(Qe));return R=It,hn}function Ne(Qe){let It;const hn=R;R=void 0;const pr=dc(Qe),oi=t.updateFunctionDeclaration(Qe,Jn(Qe.modifiers,q,vl),Qe.asteriskToken,Qe.name,void 0,It=pr&2?mn(Qe):zl(Qe.parameters,q,e),void 0,pr&2?Hn(Qe,It):yf(Qe.body,q,e));return R=hn,oi}function ze(Qe){let It;const hn=R;R=void 0;const pr=dc(Qe),oi=t.updateFunctionExpression(Qe,Jn(Qe.modifiers,q,Ra),Qe.asteriskToken,Qe.name,void 0,It=pr&2?mn(Qe):zl(Qe.parameters,q,e),void 0,pr&2?Hn(Qe,It):yf(Qe.body,q,e));return R=hn,oi}function lt(Qe){let It;const hn=dc(Qe);return t.updateArrowFunction(Qe,Jn(Qe.modifiers,q,Ra),void 0,It=hn&2?mn(Qe):zl(Qe.parameters,q,e),void 0,Qe.equalsGreaterThanToken,hn&2?Hn(Qe,It):yf(Qe.body,q,e))}function le({name:Qe},It){if(Je(Qe))It.add(Qe.escapedText);else for(const hn of Qe.elements)qc(hn)||le(hn,It)}function De(Qe){return!!Qe&&_d(Qe)&&!(Qe.flags&7)&&Qe.declarations.some(ot)}function _e(Qe,It){Ve(Qe);const hn=gM(Qe);return hn.length===0?It?st(t.converters.convertToAssignmentElementTarget(Qe.declarations[0].name),q,Et):void 0:t.inlineExpressions(Gt(hn,Be))}function Ve(Qe){Xe(Qe.declarations,Ge)}function Ge({name:Qe}){if(Je(Qe))s(Qe);else for(const It of Qe.elements)qc(It)||Ge(It)}function Be(Qe){const It=Ha(t.createAssignment(t.converters.convertToAssignmentElementTarget(Qe.name),Qe.initializer),Qe);return C.checkDefined(st(It,q,Et))}function ot({name:Qe}){if(Je(Qe))return y.has(Qe.escapedText);for(const It of Qe.elements)if(!qc(It)&&ot(It))return!0;return!1}function Ot(Qe){C.assertIsDefined(Qe.body);const It=E,hn=A;E=new Set,A=!1;let pr=yf(Qe.body,q,e);const oi=Tl(Qe,ks);if(d>=2&&(l.hasNodeCheckFlag(Qe,256)||l.hasNodeCheckFlag(Qe,128))&&(dc(oi)&3)!==3){if(ir(),E.size){const Ki=I3(t,l,Qe,E);N[ls(Ki)]=!0;const Zo=pr.statements.slice();yg(Zo,[Ki]),pr=t.updateBlock(pr,Zo)}A&&(l.hasNodeCheckFlag(Qe,256)?BI(pr,h4):l.hasNodeCheckFlag(Qe,128)&&BI(pr,m4))}return E=It,A=hn,pr}function Vt(){C.assert(R);const Qe=t.createVariableDeclaration(R,void 0,void 0,t.createIdentifier("arguments")),It=t.createVariableStatement(void 0,[Qe]);return au(It),r_(It,2097152),It}function mn(Qe){if(Jw(Qe.parameters))return zl(Qe.parameters,q,e);const It=[];for(const pr of Qe.parameters){if(pr.initializer||pr.dotDotDotToken){if(Qe.kind===220){const di=t.createParameterDeclaration(void 0,t.createToken(26),t.createUniqueName("args",8));It.push(di)}break}const oi=t.createParameterDeclaration(void 0,void 0,t.getGeneratedNameForNode(pr.name,8));It.push(oi)}const hn=t.createNodeArray(It);return Tt(hn,Qe.parameters),hn}function Hn(Qe,It){const hn=Jw(Qe.parameters)?void 0:zl(Qe.parameters,q,e);i();const oi=Tl(Qe,Yo).type,di=d<2?tn(oi):void 0,Ki=Qe.kind===220,Zo=R,Pn=l.hasNodeCheckFlag(Qe,512)&&!R;Pn&&(R=t.createUniqueName("arguments"));let qo;if(hn)if(Ki){const it=[];C.assert(It.length<=Qe.parameters.length);for(let dt=0;dt<Qe.parameters.length;dt++){C.assert(dt<It.length);const Lt=Qe.parameters[dt],He=It[dt];if(C.assertNode(He.name,Je),Lt.initializer||Lt.dotDotDotToken){C.assert(dt===It.length-1),it.push(t.createSpreadElement(He.name));break}it.push(He.name)}qo=t.createArrayLiteralExpression(it)}else qo=t.createIdentifier("arguments");const at=y;y=new Set;for(const it of Qe.parameters)le(it,y);const Bt=E,ce=A;Ki||(E=new Set,A=!1);const _t=Q();let ie=gt(Qe.body);ie=t.updateBlock(ie,t.mergeLexicalEnvironment(ie.statements,o()));let We;if(Ki){if(We=r().createAwaiterHelper(_t,qo,di,hn,ie),Pn){const it=t.converters.convertToFunctionBlock(We);We=t.updateBlock(it,t.mergeLexicalEnvironment(it.statements,[Vt()]))}}else{const it=[];it.push(t.createReturnStatement(r().createAwaiterHelper(_t,qo,di,hn,ie)));const dt=d>=2&&(l.hasNodeCheckFlag(Qe,256)||l.hasNodeCheckFlag(Qe,128));if(dt&&(ir(),E.size)){const He=I3(t,l,Qe,E);N[ls(He)]=!0,yg(it,[He])}Pn&&yg(it,[Vt()]);const Lt=t.createBlock(it,!0);Tt(Lt,Qe.body),dt&&A&&(l.hasNodeCheckFlag(Qe,256)?BI(Lt,h4):l.hasNodeCheckFlag(Qe,128)&&BI(Lt,m4)),We=Lt}return y=at,Ki||(E=Bt,A=ce,R=Zo),We}function gt(Qe,It){return ia(Qe)?t.updateBlock(Qe,Jn(Qe.statements,ue,Gi,It)):t.converters.convertToFunctionBlock(C.checkDefined(st(Qe,ue,IF)))}function tn(Qe){const It=Qe&&dk(Qe);if(It&&ku(It)){const hn=l.getTypeReferenceSerializationKind(It);if(hn===1||hn===0)return It}}function ir(){(_&1)===0&&(_|=1,e.enableSubstitution(214),e.enableSubstitution(212),e.enableSubstitution(213),e.enableEmitNotification(264),e.enableEmitNotification(175),e.enableEmitNotification(178),e.enableEmitNotification(179),e.enableEmitNotification(177),e.enableEmitNotification(244))}function Ri(Qe,It,hn){if(_&1&&Cr(It)){const pr=(l.hasNodeCheckFlag(It,128)?128:0)|(l.hasNodeCheckFlag(It,256)?256:0);if(pr!==m){const oi=m;m=pr,k(Qe,It,hn),m=oi;return}}else if(_&&N[ls(It)]){const pr=m;m=0,k(Qe,It,hn),m=pr;return}k(Qe,It,hn)}function _o(Qe,It){return It=F(Qe,It),Qe===1&&m?Ht(It):It}function Ht(Qe){switch(Qe.kind){case 212:return Qr(Qe);case 213:return go(Qe);case 214:return Ci(Qe)}return Qe}function Qr(Qe){return Qe.expression.kind===108?Tt(t.createPropertyAccessExpression(t.createUniqueName("_super",48),Qe.name),Qe):Qe}function go(Qe){return Qe.expression.kind===108?Ur(Qe.argumentExpression,Qe):Qe}function Ci(Qe){const It=Qe.expression;if(gp(It)){const hn=Jr(It)?Qr(It):go(It);return t.createCallExpression(t.createPropertyAccessExpression(hn,"call"),void 0,[t.createThis(),...Qe.arguments])}return Qe}function Cr(Qe){const It=Qe.kind;return It===264||It===177||It===175||It===178||It===179}function Ur(Qe,It){return m&256?Tt(t.createPropertyAccessExpression(t.createCallExpression(t.createUniqueName("_superIndex",48),void 0,[Qe]),"value"),It):Tt(t.createCallExpression(t.createUniqueName("_superIndex",48),void 0,[Qe]),It)}}function I3(e,t,r,i){const o=t.hasNodeCheckFlag(r,256),s=[];return i.forEach((l,u)=>{const d=Bi(u),_=[];_.push(e.createPropertyAssignment("get",e.createArrowFunction(void 0,void 0,[],void 0,void 0,Dr(e.createPropertyAccessExpression(Dr(e.createSuper(),8),d),8)))),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(Dr(e.createPropertyAccessExpression(Dr(e.createSuper(),8),d),8),e.createIdentifier("v"))))),s.push(e.createPropertyAssignment(d,e.createObjectLiteralExpression(_)))}),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(s,!0)]))],2))}function Kae(e){const{factory:t,getEmitHelperFactory:r,resumeLexicalEnvironment:i,endLexicalEnvironment:o,hoistVariableDeclaration:s}=e,l=e.getEmitResolver(),u=e.getCompilerOptions(),d=Va(u),_=e.onEmitNode;e.onEmitNode=Zo;const m=e.onSubstituteNode;e.onSubstituteNode=Da;let y=!1,E=0,A,R,N=0,M=0,k,F,O,G;const j=[];return hh(e,re);function K(ie,We){return M!==(M&~ie|We)}function Q(ie,We){const it=M;return M=(M&~ie|We)&3,it}function J(ie){M=ie}function he(ie){F=jn(F,t.createVariableDeclaration(ie))}function re(ie){if(ie.isDeclarationFile)return ie;k=ie;const We=lt(ie);return Dg(We,e.readEmitHelpers()),k=void 0,F=void 0,We}function q(ie){return Re(ie,!1)}function ue(ie){return Re(ie,!0)}function de(ie){if(ie.kind!==134)return ie}function ge(ie,We,it,dt){if(K(it,dt)){const Lt=Q(it,dt),He=ie(We);return J(Lt),He}return ie(We)}function Ae(ie){return kn(ie,q,e)}function Re(ie,We){if((ie.transformFlags&128)===0)return ie;switch(ie.kind){case 224:return $(ie);case 230:return ve(ie);case 254:return je(ie);case 257:return be(ie);case 211:return Se(ie);case 227:return De(ie,We);case 357:return _e(ie,We);case 300:return Ve(ie);case 244:return Ge(ie);case 261:return Be(ie);case 247:case 248:case 250:return ge(Ae,ie,0,2);case 251:return mn(ie,void 0);case 249:return ge(Ot,ie,0,2);case 223:return Vt(ie);case 177:return ge(Qr,ie,2,1);case 175:return ge(Cr,ie,2,1);case 178:return ge(go,ie,2,1);case 179:return ge(Ci,ie,2,1);case 263:return ge(Ur,ie,2,1);case 219:return ge(It,ie,2,1);case 220:return ge(Qe,ie,2,0);case 170:return _o(ie);case 245:return Ne(ie);case 218:return ze(ie,We);case 216:return le(ie);case 212:return O&&Jr(ie)&&ie.expression.kind===108&&O.add(ie.name.escapedText),kn(ie,q,e);case 213:return O&&ie.expression.kind===108&&(G=!0),kn(ie,q,e);case 264:case 232:return ge(Ae,ie,2,1);default:return kn(ie,q,e)}}function $(ie){return A&2&&A&1?jr(Tt(t.createYieldExpression(void 0,r().createAwaitHelper(st(ie.expression,q,Et))),ie),ie):kn(ie,q,e)}function ve(ie){if(A&2&&A&1){if(ie.asteriskToken){const We=st(C.checkDefined(ie.expression),q,Et);return jr(Tt(t.createYieldExpression(void 0,r().createAwaitHelper(t.updateYieldExpression(ie,ie.asteriskToken,Tt(r().createAsyncDelegatorHelper(Tt(r().createAsyncValuesHelper(We),We)),We)))),ie),ie)}return jr(Tt(t.createYieldExpression(void 0,tn(ie.expression?st(ie.expression,q,Et):t.createVoidZero())),ie),ie)}return kn(ie,q,e)}function je(ie){return A&2&&A&1?t.updateReturnStatement(ie,tn(ie.expression?st(ie.expression,q,Et):t.createVoidZero())):kn(ie,q,e)}function be(ie){if(A&2){const We=OG(ie);return We.kind===251&&We.awaitModifier?mn(We,ie):t.restoreEnclosingLabel(st(We,q,Gi,t.liftToBlock),ie)}return kn(ie,q,e)}function ee(ie){let We;const it=[];for(const dt of ie)if(dt.kind===306){We&&(it.push(t.createObjectLiteralExpression(We)),We=void 0);const Lt=dt.expression;it.push(st(Lt,q,Et))}else We=jn(We,dt.kind===304?t.createPropertyAssignment(dt.name,st(dt.initializer,q,Et)):st(dt,q,sy));return We&&it.push(t.createObjectLiteralExpression(We)),it}function Se(ie){if(ie.transformFlags&65536){const We=ee(ie.properties);We.length&&We[0].kind!==211&&We.unshift(t.createObjectLiteralExpression());let it=We[0];if(We.length>1){for(let dt=1;dt<We.length;dt++)it=r().createAssignHelper([it,We[dt]]);return it}else return r().createAssignHelper(We)}return kn(ie,q,e)}function Ne(ie){return kn(ie,ue,e)}function ze(ie,We){return kn(ie,We?ue:q,e)}function lt(ie){const We=Q(2,RG(ie,u)?0:1);y=!1;const it=kn(ie,q,e),dt=co(it.statements,F&&[t.createVariableStatement(void 0,t.createVariableDeclarationList(F))]),Lt=t.updateSourceFile(it,Tt(t.createNodeArray(dt),ie.statements));return J(We),Lt}function le(ie){return oH(e,ie,q,k,he,0)}function De(ie,We){return sv(ie)&&Cw(ie.left)?w1(ie,q,e,1,!We):ie.operatorToken.kind===28?t.updateBinaryExpression(ie,st(ie.left,ue,Et),ie.operatorToken,st(ie.right,We?ue:q,Et)):kn(ie,q,e)}function _e(ie,We){if(We)return kn(ie,ue,e);let it;for(let Lt=0;Lt<ie.elements.length;Lt++){const He=ie.elements[Lt],Ct=st(He,Lt<ie.elements.length-1?ue:q,Et);(it||Ct!==He)&&(it||(it=ie.elements.slice(0,Lt)),it.push(Ct))}const dt=it?Tt(t.createNodeArray(it),ie.elements):ie.elements;return t.updateCommaListExpression(ie,dt)}function Ve(ie){if(ie.variableDeclaration&&na(ie.variableDeclaration.name)&&ie.variableDeclaration.name.transformFlags&65536){const We=t.getGeneratedNameForNode(ie.variableDeclaration.name),it=t.updateVariableDeclaration(ie.variableDeclaration,ie.variableDeclaration.name,void 0,void 0,We),dt=XS(it,q,e,1);let Lt=st(ie.block,q,ia);return bt(dt)&&(Lt=t.updateBlock(Lt,[t.createVariableStatement(void 0,dt),...Lt.statements])),t.updateCatchClause(ie,t.updateVariableDeclaration(ie.variableDeclaration,We,void 0,void 0,void 0),Lt)}return kn(ie,q,e)}function Ge(ie){if(fi(ie,32)){const We=y;y=!0;const it=kn(ie,q,e);return y=We,it}return kn(ie,q,e)}function Be(ie){if(y){const We=y;y=!1;const it=ot(ie,!0);return y=We,it}return ot(ie,!1)}function ot(ie,We){return na(ie.name)&&ie.name.transformFlags&65536?XS(ie,q,e,1,void 0,We):kn(ie,q,e)}function Ot(ie){return t.updateForStatement(ie,st(ie.initializer,ue,Wf),st(ie.condition,q,Et),st(ie.incrementor,ue,Et),Bu(ie.statement,q,e))}function Vt(ie){return kn(ie,ue,e)}function mn(ie,We){const it=Q(0,2);(ie.initializer.transformFlags&65536||BN(ie.initializer)&&Cw(ie.initializer))&&(ie=Hn(ie));const dt=ie.awaitModifier?ir(ie,We,it):t.restoreEnclosingLabel(kn(ie,q,e),We);return J(it),dt}function Hn(ie){const We=us(ie.initializer);if(_d(We)||BN(We)){let it,dt;const Lt=t.createTempVariable(void 0),He=[jj(t,We,Lt)];return ia(ie.statement)?($r(He,ie.statement.statements),it=ie.statement,dt=ie.statement.statements):ie.statement&&(jn(He,ie.statement),it=ie.statement,dt=ie.statement),t.updateForOfStatement(ie,ie.awaitModifier,Tt(t.createVariableDeclarationList([Tt(t.createVariableDeclaration(Lt),ie.initializer)],1),ie.initializer),ie.expression,Tt(t.createBlock(Tt(t.createNodeArray(He),dt),!0),it))}return ie}function gt(ie,We,it){const dt=t.createTempVariable(s),Lt=t.createAssignment(dt,We),He=t.createExpressionStatement(Lt);Ha(He,ie.expression);const Ct=t.createAssignment(it,t.createFalse()),Nt=t.createExpressionStatement(Ct);Ha(Nt,ie.expression);const Wt=[He,Nt],rt=jj(t,ie.initializer,dt);Wt.push(st(rt,q,Gi));let Zt,Rr;const Oe=Bu(ie.statement,q,e);return ia(Oe)?($r(Wt,Oe.statements),Zt=Oe,Rr=Oe.statements):Wt.push(Oe),Tt(t.createBlock(Tt(t.createNodeArray(Wt),Rr),!0),Zt)}function tn(ie){return A&1?t.createYieldExpression(void 0,r().createAwaitHelper(ie)):t.createAwaitExpression(ie)}function ir(ie,We,it){const dt=st(ie.expression,q,Et),Lt=Je(dt)?t.getGeneratedNameForNode(dt):t.createTempVariable(void 0),He=Je(dt)?t.getGeneratedNameForNode(Lt):t.createTempVariable(void 0),Ct=t.createTempVariable(void 0),Nt=t.createTempVariable(s),Wt=t.createUniqueName("e"),rt=t.getGeneratedNameForNode(Wt),Zt=t.createTempVariable(void 0),Rr=Tt(r().createAsyncValuesHelper(dt),ie.expression),Oe=t.createCallExpression(t.createPropertyAccessExpression(Lt,"next"),void 0,[]),At=t.createPropertyAccessExpression(He,"done"),ye=t.createPropertyAccessExpression(He,"value"),B=t.createFunctionCallCall(Zt,Lt,[]);s(Wt),s(Zt);const xe=it&2?t.inlineExpressions([t.createAssignment(Wt,t.createVoidZero()),Rr]):Rr,te=Dr(Tt(t.createForStatement(Dr(Tt(t.createVariableDeclarationList([t.createVariableDeclaration(Ct,void 0,void 0,t.createTrue()),Tt(t.createVariableDeclaration(Lt,void 0,void 0,xe),ie.expression),t.createVariableDeclaration(He)]),ie.expression),4194304),t.inlineExpressions([t.createAssignment(He,tn(Oe)),t.createAssignment(Nt,At),t.createLogicalNot(Nt)]),t.createAssignment(Ct,t.createTrue()),gt(ie,ye,Ct)),ie),512);return jr(te,ie),t.createTryStatement(t.createBlock([t.restoreEnclosingLabel(te,We)]),t.createCatchClause(t.createVariableDeclaration(rt),Dr(t.createBlock([t.createExpressionStatement(t.createAssignment(Wt,t.createObjectLiteralExpression([t.createPropertyAssignment("error",rt)])))]),1)),t.createBlock([t.createTryStatement(t.createBlock([Dr(t.createIfStatement(t.createLogicalAnd(t.createLogicalAnd(t.createLogicalNot(Ct),t.createLogicalNot(Nt)),t.createAssignment(Zt,t.createPropertyAccessExpression(Lt,"return"))),t.createExpressionStatement(tn(B))),1)]),void 0,Dr(t.createBlock([Dr(t.createIfStatement(Wt,t.createThrowStatement(t.createPropertyAccessExpression(Wt,"error"))),1)]),1))]))}function Ri(ie){return C.assertNode(ie,no),_o(ie)}function _o(ie){return R!=null&&R.has(ie)?t.updateParameterDeclaration(ie,void 0,ie.dotDotDotToken,na(ie.name)?t.getGeneratedNameForNode(ie):ie.name,void 0,void 0,void 0):ie.transformFlags&65536?t.updateParameterDeclaration(ie,void 0,ie.dotDotDotToken,t.getGeneratedNameForNode(ie),void 0,void 0,st(ie.initializer,q,Et)):kn(ie,q,e)}function Ht(ie){let We;for(const it of ie.parameters)We?We.add(it):it.transformFlags&65536&&(We=new Set);return We}function Qr(ie){const We=A,it=R;A=dc(ie),R=Ht(ie);const dt=t.updateConstructorDeclaration(ie,ie.modifiers,zl(ie.parameters,Ri,e),oi(ie));return A=We,R=it,dt}function go(ie){const We=A,it=R;A=dc(ie),R=Ht(ie);const dt=t.updateGetAccessorDeclaration(ie,ie.modifiers,st(ie.name,q,yc),zl(ie.parameters,Ri,e),void 0,oi(ie));return A=We,R=it,dt}function Ci(ie){const We=A,it=R;A=dc(ie),R=Ht(ie);const dt=t.updateSetAccessorDeclaration(ie,ie.modifiers,st(ie.name,q,yc),zl(ie.parameters,Ri,e),oi(ie));return A=We,R=it,dt}function Cr(ie){const We=A,it=R;A=dc(ie),R=Ht(ie);const dt=t.updateMethodDeclaration(ie,A&1?Jn(ie.modifiers,de,vl):ie.modifiers,A&2?void 0:ie.asteriskToken,st(ie.name,q,yc),st(void 0,q,kb),void 0,A&2&&A&1?hn(ie):zl(ie.parameters,Ri,e),void 0,A&2&&A&1?pr(ie):oi(ie));return A=We,R=it,dt}function Ur(ie){const We=A,it=R;A=dc(ie),R=Ht(ie);const dt=t.updateFunctionDeclaration(ie,A&1?Jn(ie.modifiers,de,Ra):ie.modifiers,A&2?void 0:ie.asteriskToken,ie.name,void 0,A&2&&A&1?hn(ie):zl(ie.parameters,Ri,e),void 0,A&2&&A&1?pr(ie):oi(ie));return A=We,R=it,dt}function Qe(ie){const We=A,it=R;A=dc(ie),R=Ht(ie);const dt=t.updateArrowFunction(ie,ie.modifiers,void 0,zl(ie.parameters,Ri,e),void 0,ie.equalsGreaterThanToken,oi(ie));return A=We,R=it,dt}function It(ie){const We=A,it=R;A=dc(ie),R=Ht(ie);const dt=t.updateFunctionExpression(ie,A&1?Jn(ie.modifiers,de,Ra):ie.modifiers,A&2?void 0:ie.asteriskToken,ie.name,void 0,A&2&&A&1?hn(ie):zl(ie.parameters,Ri,e),void 0,A&2&&A&1?pr(ie):oi(ie));return A=We,R=it,dt}function hn(ie){if(Jw(ie.parameters))return zl(ie.parameters,q,e);const We=[];for(const dt of ie.parameters){if(dt.initializer||dt.dotDotDotToken)break;const Lt=t.createParameterDeclaration(void 0,void 0,t.getGeneratedNameForNode(dt.name,8));We.push(Lt)}const it=t.createNodeArray(We);return Tt(it,ie.parameters),it}function pr(ie){const We=Jw(ie.parameters)?void 0:zl(ie.parameters,q,e);i();const it=O,dt=G;O=new Set,G=!1;const Lt=[];let He=t.updateBlock(ie.body,Jn(ie.body.statements,q,Gi));He=t.updateBlock(He,t.mergeLexicalEnvironment(He.statements,di(o(),ie)));const Ct=t.createReturnStatement(r().createAsyncGeneratorHelper(t.createFunctionExpression(void 0,t.createToken(42),ie.name&&t.getGeneratedNameForNode(ie.name),void 0,We!=null?We:[],void 0,He),!!(M&1))),Nt=d>=2&&(l.hasNodeCheckFlag(ie,256)||l.hasNodeCheckFlag(ie,128));if(Nt){Ki();const rt=I3(t,l,ie,O);j[ls(rt)]=!0,yg(Lt,[rt])}Lt.push(Ct);const Wt=t.updateBlock(ie.body,Lt);return Nt&&G&&(l.hasNodeCheckFlag(ie,256)?BI(Wt,h4):l.hasNodeCheckFlag(ie,128)&&BI(Wt,m4)),O=it,G=dt,Wt}function oi(ie){var He;i();let We=0;const it=[],dt=(He=st(ie.body,q,IF))!=null?He:t.createBlock([]);ia(dt)&&(We=t.copyPrologue(dt.statements,it,!1,q)),$r(it,di(void 0,ie));const Lt=o();if(We>0||bt(it)||bt(Lt)){const Ct=t.converters.convertToFunctionBlock(dt,!0);return yg(it,Lt),$r(it,Ct.statements.slice(We)),t.updateBlock(Ct,Tt(t.createNodeArray(it),Ct.statements))}return dt}function di(ie,We){let it=!1;for(const dt of We.parameters)if(it){if(na(dt.name)){if(dt.name.elements.length>0){const Lt=XS(dt,q,e,0,t.getGeneratedNameForNode(dt));if(bt(Lt)){const He=t.createVariableDeclarationList(Lt),Ct=t.createVariableStatement(void 0,He);Dr(Ct,2097152),ie=jn(ie,Ct)}}else if(dt.initializer){const Lt=t.getGeneratedNameForNode(dt),He=st(dt.initializer,q,Et),Ct=t.createAssignment(Lt,He),Nt=t.createExpressionStatement(Ct);Dr(Nt,2097152),ie=jn(ie,Nt)}}else if(dt.initializer){const Lt=t.cloneNode(dt.name);Tt(Lt,dt.name),Dr(Lt,96);const He=st(dt.initializer,q,Et);r_(He,3168);const Ct=t.createAssignment(Lt,He);Tt(Ct,dt),Dr(Ct,3072);const Nt=t.createBlock([t.createExpressionStatement(Ct)]);Tt(Nt,dt),Dr(Nt,3905);const Wt=t.createTypeCheck(t.cloneNode(dt.name),"undefined"),rt=t.createIfStatement(Wt,Nt);au(rt),Tt(rt,dt),Dr(rt,2101056),ie=jn(ie,rt)}}else if(dt.transformFlags&65536){it=!0;const Lt=XS(dt,q,e,1,t.getGeneratedNameForNode(dt),!1,!0);if(bt(Lt)){const He=t.createVariableDeclarationList(Lt),Ct=t.createVariableStatement(void 0,He);Dr(Ct,2097152),ie=jn(ie,Ct)}}return ie}function Ki(){(E&1)===0&&(E|=1,e.enableSubstitution(214),e.enableSubstitution(212),e.enableSubstitution(213),e.enableEmitNotification(264),e.enableEmitNotification(175),e.enableEmitNotification(178),e.enableEmitNotification(179),e.enableEmitNotification(177),e.enableEmitNotification(244))}function Zo(ie,We,it){if(E&1&&ce(We)){const dt=(l.hasNodeCheckFlag(We,128)?128:0)|(l.hasNodeCheckFlag(We,256)?256:0);if(dt!==N){const Lt=N;N=dt,_(ie,We,it),N=Lt;return}}else if(E&&j[ls(We)]){const dt=N;N=0,_(ie,We,it),N=dt;return}_(ie,We,it)}function Da(ie,We){return We=m(ie,We),ie===1&&N?Pn(We):We}function Pn(ie){switch(ie.kind){case 212:return qo(ie);case 213:return at(ie);case 214:return Bt(ie)}return ie}function qo(ie){return ie.expression.kind===108?Tt(t.createPropertyAccessExpression(t.createUniqueName("_super",48),ie.name),ie):ie}function at(ie){return ie.expression.kind===108?_t(ie.argumentExpression,ie):ie}function Bt(ie){const We=ie.expression;if(gp(We)){const it=Jr(We)?qo(We):at(We);return t.createCallExpression(t.createPropertyAccessExpression(it,"call"),void 0,[t.createThis(),...ie.arguments])}return ie}function ce(ie){const We=ie.kind;return We===264||We===177||We===175||We===178||We===179}function _t(ie,We){return N&256?Tt(t.createPropertyAccessExpression(t.createCallExpression(t.createIdentifier("_superIndex"),void 0,[ie]),"value"),We):Tt(t.createCallExpression(t.createIdentifier("_superIndex"),void 0,[ie]),We)}}function Xae(e){const t=e.factory;return hh(e,r);function r(s){return s.isDeclarationFile?s:kn(s,i,e)}function i(s){if((s.transformFlags&64)===0)return s;switch(s.kind){case 300:return o(s);default:return kn(s,i,e)}}function o(s){return s.variableDeclaration?kn(s,i,e):t.updateCatchClause(s,t.createVariableDeclaration(t.createTempVariable(void 0)),st(s.block,i,ia))}}function Yae(e){const{factory:t,hoistVariableDeclaration:r}=e;return hh(e,i);function i(R){return R.isDeclarationFile?R:kn(R,o,e)}function o(R){if((R.transformFlags&32)===0)return R;switch(R.kind){case 214:{const N=d(R,!1);return C.assertNotNode(N,$I),N}case 212:case 213:if(tu(R)){const N=m(R,!1,!1);return C.assertNotNode(N,$I),N}return kn(R,o,e);case 227:return R.operatorToken.kind===61?E(R):kn(R,o,e);case 221:return A(R);default:return kn(R,o,e)}}function s(R){C.assertNotNode(R,vF);const N=[R];for(;!R.questionDotToken&&!Y0(R);)R=va(Bm(R.expression),tu),C.assertNotNode(R,vF),N.unshift(R);return{expression:R.expression,chain:N}}function l(R,N,M){const k=_(R.expression,N,M);return $I(k)?t.createSyntheticReferenceExpression(t.updateParenthesizedExpression(R,k.expression),k.thisArg):t.updateParenthesizedExpression(R,k)}function u(R,N,M){if(tu(R))return m(R,N,M);let k=st(R.expression,o,Et);C.assertNotNode(k,$I);let F;return N&&(KS(k)?F=k:(F=t.createTempVariable(r),k=t.createAssignment(F,k))),k=R.kind===212?t.updatePropertyAccessExpression(R,k,st(R.name,o,Je)):t.updateElementAccessExpression(R,k,st(R.argumentExpression,o,Et)),F?t.createSyntheticReferenceExpression(k,F):k}function d(R,N){if(tu(R))return m(R,N,!1);if(zu(R.expression)&&tu(us(R.expression))){const M=l(R.expression,!0,!1),k=Jn(R.arguments,o,Et);return $I(M)?Tt(t.createFunctionCallCall(M.expression,M.thisArg,k),R):t.updateCallExpression(R,M,void 0,k)}return kn(R,o,e)}function _(R,N,M){switch(R.kind){case 218:return l(R,N,M);case 212:case 213:return u(R,N,M);case 214:return d(R,N);default:return st(R,o,Et)}}function m(R,N,M){const{expression:k,chain:F}=s(R),O=_(Bm(k),XE(F[0]),!1);let G=$I(O)?O.thisArg:void 0,j=$I(O)?O.expression:O,K=t.restoreOuterExpressions(k,j,8);KS(j)||(j=t.createTempVariable(r),K=t.createAssignment(j,K));let Q=j,J;for(let re=0;re<F.length;re++){const q=F[re];switch(q.kind){case 212:case 213:re===F.length-1&&N&&(KS(Q)?J=Q:(J=t.createTempVariable(r),Q=t.createAssignment(J,Q))),Q=q.kind===212?t.createPropertyAccessExpression(Q,st(q.name,o,Je)):t.createElementAccessExpression(Q,st(q.argumentExpression,o,Et));break;case 214:re===0&&G?(yl(G)||(G=t.cloneNode(G),r_(G,3072)),Q=t.createFunctionCallCall(Q,G.kind===108?t.createThis():G,Jn(q.arguments,o,Et))):Q=t.createCallExpression(Q,void 0,Jn(q.arguments,o,Et));break}jr(Q,q)}const he=M?t.createConditionalExpression(y(K,j,!0),void 0,t.createTrue(),void 0,t.createDeleteExpression(Q)):t.createConditionalExpression(y(K,j,!0),void 0,t.createVoidZero(),void 0,Q);return Tt(he,R),J?t.createSyntheticReferenceExpression(he,J):he}function y(R,N,M){return t.createBinaryExpression(t.createBinaryExpression(R,t.createToken(M?37:38),t.createNull()),t.createToken(M?57:56),t.createBinaryExpression(N,t.createToken(M?37:38),t.createVoidZero()))}function E(R){let N=st(R.left,o,Et),M=N;return KS(N)||(M=t.createTempVariable(r),N=t.createAssignment(M,N)),Tt(t.createConditionalExpression(y(N,M),void 0,M,void 0,st(R.right,o,Et)),R)}function A(R){return tu(us(R.expression))?jr(_(R.expression,!1,!0),R):t.updateDeleteExpression(R,st(R.expression,o,Et))}}function $ae(e){const{hoistVariableDeclaration:t,factory:r}=e;return hh(e,i);function i(l){return l.isDeclarationFile?l:kn(l,o,e)}function o(l){return(l.transformFlags&16)===0?l:vV(l)?s(l):kn(l,o,e)}function s(l){const u=l.operatorToken,d=uP(u.kind);let _=us(st(l.left,o,Zu)),m=_;const y=us(st(l.right,o,Et));if(Qs(_)){const E=KS(_.expression),A=E?_.expression:r.createTempVariable(t),R=E?_.expression:r.createAssignment(A,_.expression);if(Jr(_))m=r.createPropertyAccessExpression(A,_.name),_=r.createPropertyAccessExpression(R,_.name);else{const N=KS(_.argumentExpression),M=N?_.argumentExpression:r.createTempVariable(t);m=r.createElementAccessExpression(A,M),_=r.createElementAccessExpression(R,N?_.argumentExpression:r.createAssignment(M,_.argumentExpression))}}return r.createBinaryExpression(_,d,r.createParenthesizedExpression(r.createAssignment(m,y)))}}function Qae(e){const{factory:t,getEmitHelperFactory:r,hoistVariableDeclaration:i,startLexicalEnvironment:o,endLexicalEnvironment:s}=e;let l,u,d,_;return hh(e,m);function m(ge){if(ge.isDeclarationFile)return ge;const Ae=st(ge,y,Qi);return Dg(Ae,e.readEmitHelpers()),u=void 0,l=void 0,d=void 0,Ae}function y(ge){if((ge.transformFlags&4)===0)return ge;switch(ge.kind){case 308:return E(ge);case 242:return A(ge);case 249:return R(ge);case 251:return N(ge);case 256:return k(ge);default:return kn(ge,y,e)}}function E(ge){const Ae=aH(ge.statements);if(Ae){o(),l=new HD,u=[];const Re=bAe(ge.statements),$=[];$r($,lP(ge.statements,y,Gi,0,Re));let ve=Re;for(;ve<ge.statements.length;){const ee=ge.statements[ve];if(ese(ee)!==0){ve>Re&&$r($,Jn(ge.statements,y,Gi,Re,ve-Re));break}ve++}C.assert(ve<ge.statements.length,"Should have encountered at least one 'using' statement.");const je=ue(),be=F(ge.statements,ve,ge.statements.length,je,$);return l.size&&jn($,t.createExportDeclaration(void 0,!1,t.createNamedExports(Mo(l.values())))),$r($,s()),u.length&&$.push(t.createVariableStatement(t.createModifiersFromModifierFlags(32),t.createVariableDeclarationList(u,1))),$r($,de(be,je,Ae===2)),_&&$.push(t.createExportAssignment(void 0,!0,_)),t.updateSourceFile(ge,$)}return kn(ge,y,e)}function A(ge){const Ae=aH(ge.statements);if(Ae){const Re=bAe(ge.statements),$=ue();return t.updateBlock(ge,[...lP(ge.statements,y,Gi,0,Re),...de(F(ge.statements,Re,ge.statements.length,$,void 0),$,Ae===2)])}return kn(ge,y,e)}function R(ge){return ge.initializer&&TAe(ge.initializer)?st(t.createBlock([t.createVariableStatement(void 0,ge.initializer),t.updateForStatement(ge,void 0,ge.condition,ge.incrementor,ge.statement)]),y,Gi):kn(ge,y,e)}function N(ge){if(TAe(ge.initializer)){const Ae=ge.initializer,Re=Sc(Ae.declarations)||t.createVariableDeclaration(t.createTempVariable(void 0)),$=Zae(Ae)===2,ve=t.getGeneratedNameForNode(Re.name),je=t.updateVariableDeclaration(Re,Re.name,void 0,void 0,ve),be=t.createVariableDeclarationList([je],$?6:4),ee=t.createVariableStatement(void 0,be);return st(t.updateForOfStatement(ge,ge.awaitModifier,t.createVariableDeclarationList([t.createVariableDeclaration(ve)],2),ge.expression,ia(ge.statement)?t.updateBlock(ge.statement,[ee,...ge.statement.statements]):t.createBlock([ee,ge.statement],!0)),y,Gi)}return kn(ge,y,e)}function M(ge,Ae){return aH(ge.statements)!==0?DD(ge)?t.updateCaseClause(ge,st(ge.expression,y,Et),F(ge.statements,0,ge.statements.length,Ae,void 0)):t.updateDefaultClause(ge,F(ge.statements,0,ge.statements.length,Ae,void 0)):kn(ge,y,e)}function k(ge){const Ae=Lqe(ge.caseBlock.clauses);if(Ae){const Re=ue();return de([t.updateSwitchStatement(ge,st(ge.expression,y,Et),t.updateCaseBlock(ge.caseBlock,ge.caseBlock.clauses.map($=>M($,Re))))],Re,Ae===2)}return kn(ge,y,e)}function F(ge,Ae,Re,$,ve){var Se;const je=[];for(let Ne=Ae;Ne<Re;Ne++){const ze=ge[Ne],lt=ese(ze);if(lt){C.assertNode(ze,sc);const De=[];for(let _e of ze.declarationList.declarations){if(!Je(_e.name)){De.length=0;break}Op(_e)&&(_e=Vp(e,_e));const Ve=(Se=st(_e.initializer,y,Et))!=null?Se:t.createVoidZero();De.push(t.updateVariableDeclaration(_e,_e.name,void 0,void 0,r().createAddDisposableResourceHelper($,Ve,lt===2)))}if(De.length){const _e=t.createVariableDeclarationList(De,2);jr(_e,ze.declarationList),Tt(_e,ze.declarationList),be(t.updateVariableStatement(ze,void 0,_e));continue}}const le=y(ze);Lo(le)?le.forEach(be):le&&be(le)}return je;function be(Ne){C.assertNode(Ne,Gi),jn(je,ee(Ne))}function ee(Ne){if(!ve)return Ne;switch(Ne.kind){case 273:case 272:case 279:case 263:return O(Ne,ve);case 278:return G(Ne);case 264:return Q(Ne);case 244:return J(Ne)}return Ne}}function O(ge,Ae){Ae.push(ge)}function G(ge){return ge.isExportEquals?K(ge):j(ge)}function j(ge){if(d)return ge;d=t.createUniqueName("_default",56),q(d,!0,"default",ge);let Ae=ge.expression,Re=Hl(Ae);Op(Re)&&(Re=Vp(e,Re,!1,"default"),Ae=t.restoreOuterExpressions(Ae,Re));const $=t.createAssignment(d,Ae);return t.createExpressionStatement($)}function K(ge){if(_)return ge;_=t.createUniqueName("_default",56),i(_);const Ae=t.createAssignment(_,ge.expression);return t.createExpressionStatement(Ae)}function Q(ge){if(!ge.name&&d)return ge;const Ae=fi(ge,32),Re=fi(ge,2048);let $=t.converters.convertToClassExpression(ge);return ge.name&&(q(t.getLocalName(ge),Ae&&!Re,void 0,ge),$=t.createAssignment(t.getDeclarationName(ge),$),Op($)&&($=Vp(e,$,!1)),jr($,ge),Ha($,ge),Ic($,ge)),Re&&!d&&(d=t.createUniqueName("_default",56),q(d,!0,"default",ge),$=t.createAssignment(d,$),Op($)&&($=Vp(e,$,!1,"default")),jr($,ge)),t.createExpressionStatement($)}function J(ge){let Ae;const Re=fi(ge,32);for(const $ of ge.declarationList.declarations)re($,Re,$),$.initializer&&(Ae=jn(Ae,he($)));if(Ae){const $=t.createExpressionStatement(t.inlineExpressions(Ae));return jr($,ge),Ic($,ge),Ha($,ge),$}}function he(ge){C.assertIsDefined(ge.initializer);let Ae;Je(ge.name)?(Ae=t.cloneNode(ge.name),Dr(Ae,Za(Ae)&-114689)):Ae=t.converters.convertToAssignmentPattern(ge.name);const Re=t.createAssignment(Ae,ge.initializer);return jr(Re,ge),Ic(Re,ge),Ha(Re,ge),Re}function re(ge,Ae,Re){if(na(ge.name))for(const $ of ge.name.elements)qc($)||re($,Ae,Re);else q(ge.name,Ae,void 0,Re)}function q(ge,Ae,Re,$){const ve=yl(ge)?ge:t.cloneNode(ge);if(Ae){if(Re===void 0&&!yy(ve)){const Se=t.createVariableDeclaration(ve);$&&jr(Se,$),u.push(Se);return}const je=Re!==void 0?ve:void 0,be=Re!==void 0?Re:ve,ee=t.createExportSpecifier(!1,je,be);$&&jr(ee,$),l.set(ve,ee)}i(ve)}function ue(){return t.createUniqueName("env")}function de(ge,Ae,Re){const $=[],ve=t.createObjectLiteralExpression([t.createPropertyAssignment("stack",t.createArrayLiteralExpression()),t.createPropertyAssignment("error",t.createVoidZero()),t.createPropertyAssignment("hasError",t.createFalse())]),je=t.createVariableDeclaration(Ae,void 0,void 0,ve),be=t.createVariableDeclarationList([je],2),ee=t.createVariableStatement(void 0,be);$.push(ee);const Se=t.createBlock(ge,!0),Ne=t.createUniqueName("e"),ze=t.createCatchClause(Ne,t.createBlock([t.createExpressionStatement(t.createAssignment(t.createPropertyAccessExpression(Ae,"error"),Ne)),t.createExpressionStatement(t.createAssignment(t.createPropertyAccessExpression(Ae,"hasError"),t.createTrue()))],!0));let lt;if(Re){const De=t.createUniqueName("result");lt=t.createBlock([t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(De,void 0,void 0,r().createDisposeResourcesHelper(Ae))],2)),t.createIfStatement(De,t.createExpressionStatement(t.createAwaitExpression(De)))],!0)}else lt=t.createBlock([t.createExpressionStatement(r().createDisposeResourcesHelper(Ae))],!0);const le=t.createTryStatement(Se,ze,lt);return $.push(le),$}}function bAe(e){for(let t=0;t<e.length;t++)if(!Xh(e[t])&&!ak(e[t]))return t;return 0}function TAe(e){return _d(e)&&Zae(e)!==0}function Zae(e){return(e.flags&7)===6?2:(e.flags&7)===4?1:0}function Pqe(e){return Zae(e.declarationList)}function ese(e){return sc(e)?Pqe(e):0}function aH(e){let t=0;for(const r of e){const i=ese(r);if(i===2)return 2;i>t&&(t=i)}return t}function Lqe(e){let t=0;for(const r of e){const i=aH(r.statements);if(i===2)return 2;i>t&&(t=i)}return t}function tse(e){const{factory:t,getEmitHelperFactory:r}=e,i=e.getCompilerOptions();let o,s;return hh(e,y);function l(){if(s.filenameDeclaration)return s.filenameDeclaration.name;const le=t.createVariableDeclaration(t.createUniqueName("_jsxFileName",48),void 0,void 0,t.createStringLiteral(o.fileName));return s.filenameDeclaration=le,s.filenameDeclaration.name}function u(le){return i.jsx===5?"jsxDEV":le?"jsxs":"jsx"}function d(le){const De=u(le);return m(De)}function _(){return m("Fragment")}function m(le){var De,_e;const Ve=le==="createElement"?s.importSpecifier:j6(s.importSpecifier,i),Ge=(_e=(De=s.utilizedImplicitRuntimeImports)==null?void 0:De.get(Ve))==null?void 0:_e.get(le);if(Ge)return Ge.name;s.utilizedImplicitRuntimeImports||(s.utilizedImplicitRuntimeImports=new Map);let Be=s.utilizedImplicitRuntimeImports.get(Ve);Be||(Be=new Map,s.utilizedImplicitRuntimeImports.set(Ve,Be));const ot=t.createUniqueName("_".concat(le),112),Ot=t.createImportSpecifier(!1,t.createIdentifier(le),ot);return bie(ot,Ot),Be.set(le,Ot),ot}function y(le){if(le.isDeclarationFile)return le;o=le,s={},s.importSpecifier=Yk(i,le);let De=kn(le,E,e);Dg(De,e.readEmitHelpers());let _e=De.statements;if(s.filenameDeclaration&&(_e=t1(_e.slice(),t.createVariableStatement(void 0,t.createVariableDeclarationList([s.filenameDeclaration],2)))),s.utilizedImplicitRuntimeImports){for(const[Ve,Ge]of Mo(s.utilizedImplicitRuntimeImports.entries()))if(Wc(le)){const Be=t.createImportDeclaration(void 0,t.createImportClause(void 0,void 0,t.createNamedImports(Mo(Ge.values()))),t.createStringLiteral(Ve),void 0);J0(Be,!1),_e=t1(_e.slice(),Be)}else if(wp(le)){const Be=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(t.createObjectBindingPattern(Mo(Ge.values(),ot=>t.createBindingElement(void 0,ot.propertyName,ot.name))),void 0,void 0,t.createCallExpression(t.createIdentifier("require"),void 0,[t.createStringLiteral(Ve)]))],2));J0(Be,!1),_e=t1(_e.slice(),Be)}}return _e!==De.statements&&(De=t.updateSourceFile(De,_e)),s=void 0,De}function E(le){return le.transformFlags&2?A(le):le}function A(le){switch(le.kind){case 285:return F(le,!1);case 286:return O(le,!1);case 289:return G(le,!1);case 295:return lt(le);default:return kn(le,E,e)}}function R(le){switch(le.kind){case 12:return ve(le);case 295:return lt(le);case 285:return F(le,!0);case 286:return O(le,!0);case 289:return G(le,!0);default:return C.failBadSyntaxKind(le)}}function N(le){return le.properties.some(De=>Rc(De)&&(Je(De.name)&&Yr(De.name)==="__proto__"||Oa(De.name)&&De.name.text==="__proto__"))}function M(le){let De=!1;for(const _e of le.attributes.properties)if(QI(_e)&&(!za(_e.expression)||_e.expression.properties.some(Ng)))De=!0;else if(De&&c_(_e)&&Je(_e.name)&&_e.name.escapedText==="key")return!0;return!1}function k(le){return s.importSpecifier===void 0||M(le)}function F(le,De){return(k(le.openingElement)?he:Q)(le.openingElement,le.children,De,le)}function O(le,De){return(k(le)?he:Q)(le,void 0,De,le)}function G(le,De){return(s.importSpecifier===void 0?q:re)(le.openingFragment,le.children,De,le)}function j(le){const De=K(le);return De&&t.createObjectLiteralExpression([De])}function K(le){const De=aD(le);if(et(De)===1&&!De[0].dotDotDotToken){const Ve=R(De[0]);return Ve&&t.createPropertyAssignment("children",Ve)}const _e=Hi(le,R);return et(_e)?t.createPropertyAssignment("children",t.createArrayLiteralExpression(_e)):void 0}function Q(le,De,_e,Ve){const Ge=Ne(le),Be=De&&De.length?K(De):void 0,ot=_n(le.attributes.properties,mn=>!!mn.name&&Je(mn.name)&&mn.name.escapedText==="key"),Ot=ot?Fn(le.attributes.properties,mn=>mn!==ot):le.attributes.properties,Vt=et(Ot)?de(Ot,Be):t.createObjectLiteralExpression(Be?[Be]:se);return J(Ge,Vt,ot,De||se,_e,Ve)}function J(le,De,_e,Ve,Ge,Be){var ot;const Ot=aD(Ve),Vt=et(Ot)>1||!!((ot=Ot[0])!=null&&ot.dotDotDotToken),mn=[le,De];if(_e&&mn.push($(_e.initializer)),i.jsx===5){const gt=Tl(o);if(gt&&Qi(gt)){_e===void 0&&mn.push(t.createVoidZero()),mn.push(Vt?t.createTrue():t.createFalse());const tn=fa(gt,Be.pos);mn.push(t.createObjectLiteralExpression([t.createPropertyAssignment("fileName",l()),t.createPropertyAssignment("lineNumber",t.createNumericLiteral(tn.line+1)),t.createPropertyAssignment("columnNumber",t.createNumericLiteral(tn.character+1))])),mn.push(t.createThis())}}const Hn=Tt(t.createCallExpression(d(Vt),void 0,mn),Be);return Ge&&au(Hn),Hn}function he(le,De,_e,Ve){const Ge=Ne(le),Be=le.attributes.properties,ot=et(Be)?de(Be):t.createNull(),Ot=s.importSpecifier===void 0?Vj(t,e.getEmitResolver().getJsxFactoryEntity(o),i.reactNamespace,le):m("createElement"),Vt=eoe(t,Ot,Ge,ot,Hi(De,R),Ve);return _e&&au(Vt),Vt}function re(le,De,_e,Ve){let Ge;if(De&&De.length){const Be=j(De);Be&&(Ge=Be)}return J(_(),Ge||t.createObjectLiteralExpression([]),void 0,De,_e,Ve)}function q(le,De,_e,Ve){const Ge=toe(t,e.getEmitResolver().getJsxFactoryEntity(o),e.getEmitResolver().getJsxFragmentFactoryEntity(o),i.reactNamespace,Hi(De,R),le,Ve);return _e&&au(Ge),Ge}function ue(le){return za(le.expression)&&!N(le.expression)?Ui(le.expression.properties,De=>C.checkDefined(st(De,E,sy))):t.createSpreadAssignment(C.checkDefined(st(le.expression,E,Et)))}function de(le,De){const _e=Va(i);return _e&&_e>=5?t.createObjectLiteralExpression(ge(le,De)):Ae(le,De)}function ge(le,De){const _e=Qo(f2(le,QI,(Ve,Ge)=>Qo(Gt(Ve,Be=>Ge?ue(Be):Re(Be)))));return De&&_e.push(De),_e}function Ae(le,De){const _e=[];let Ve=[];for(const Be of le){if(QI(Be)){if(za(Be.expression)&&!N(Be.expression)){for(const ot of Be.expression.properties){if(Ng(ot)){Ge(),_e.push(C.checkDefined(st(ot.expression,E,Et)));continue}Ve.push(C.checkDefined(st(ot,E)))}continue}Ge(),_e.push(C.checkDefined(st(Be.expression,E,Et)));continue}Ve.push(Re(Be))}return De&&Ve.push(De),Ge(),_e.length&&!za(_e[0])&&_e.unshift(t.createObjectLiteralExpression()),cg(_e)||r().createAssignHelper(_e);function Ge(){Ve.length&&(_e.push(t.createObjectLiteralExpression(Ve)),Ve=[])}}function Re(le){const De=ze(le),_e=$(le.initializer);return t.createPropertyAssignment(De,_e)}function $(le){if(le===void 0)return t.createTrue();if(le.kind===11){const De=le.singleQuote!==void 0?le.singleQuote:!a6(le,o),_e=t.createStringLiteral(Se(le.text)||le.text,De);return Tt(_e,le)}return le.kind===295?le.expression===void 0?t.createTrue():C.checkDefined(st(le.expression,E,Et)):l_(le)?F(le,!1):x1(le)?O(le,!1):tT(le)?G(le,!1):C.failBadSyntaxKind(le)}function ve(le){const De=je(le.text);return De===void 0?void 0:t.createStringLiteral(De)}function je(le){let De,_e=0,Ve=-1;for(let Ge=0;Ge<le.length;Ge++){const Be=le.charCodeAt(Ge);eu(Be)?(_e!==-1&&Ve!==-1&&(De=be(De,le.substr(_e,Ve-_e+1))),_e=-1):Hh(Be)||(Ve=Ge,_e===-1&&(_e=Ge))}return _e!==-1?be(De,le.substr(_e)):De}function be(le,De){const _e=ee(De);return le===void 0?_e:le+" "+_e}function ee(le){return le.replace(/&((#((\d+)|x([\da-fA-F]+)))|(\w+));/g,(De,_e,Ve,Ge,Be,ot,Ot)=>{if(Be)return NN(parseInt(Be,10));if(ot)return NN(parseInt(ot,16));{const Vt=kqe.get(Ot);return Vt?NN(Vt):De}})}function Se(le){const De=ee(le);return De===le?void 0:De}function Ne(le){if(le.kind===285)return Ne(le.openingElement);{const De=le.tagName;return Je(De)&&sD(De.escapedText)?t.createStringLiteral(Yr(De)):fh(De)?t.createStringLiteral(Yr(De.namespace)+":"+Yr(De.name)):Sw(t,De)}}function ze(le){const De=le.name;if(Je(De)){const _e=Yr(De);return/^[A-Z_]\w*$/i.test(_e)?De:t.createStringLiteral(_e)}return t.createStringLiteral(Yr(De.namespace)+":"+Yr(De.name))}function lt(le){const De=st(le.expression,E,Et);return le.dotDotDotToken?t.createSpreadElement(De):De}}var kqe=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 nse(e){const{factory:t,hoistVariableDeclaration:r}=e;return hh(e,i);function i(d){return d.isDeclarationFile?d:kn(d,o,e)}function o(d){if((d.transformFlags&512)===0)return d;switch(d.kind){case 227:return s(d);default:return kn(d,o,e)}}function s(d){switch(d.operatorToken.kind){case 68:return l(d);case 43:return u(d);default:return kn(d,o,e)}}function l(d){let _,m;const y=st(d.left,o,Et),E=st(d.right,o,Et);if(Bs(y)){const A=t.createTempVariable(r),R=t.createTempVariable(r);_=Tt(t.createElementAccessExpression(Tt(t.createAssignment(A,y.expression),y.expression),Tt(t.createAssignment(R,y.argumentExpression),y.argumentExpression)),y),m=Tt(t.createElementAccessExpression(A,R),y)}else if(Jr(y)){const A=t.createTempVariable(r);_=Tt(t.createPropertyAccessExpression(Tt(t.createAssignment(A,y.expression),y.expression),y.name),y),m=Tt(t.createPropertyAccessExpression(A,y.name),y)}else _=y,m=y;return Tt(t.createAssignment(_,Tt(t.createGlobalMethodCall("Math","pow",[m,E]),d)),d)}function u(d){const _=st(d.left,o,Et),m=st(d.right,o,Et);return Tt(t.createGlobalMethodCall("Math","pow",[_,m]),d)}}function SAe(e,t){return{kind:e,expression:t}}function rse(e){const{factory:t,getEmitHelperFactory:r,startLexicalEnvironment:i,resumeLexicalEnvironment:o,endLexicalEnvironment:s,hoistVariableDeclaration:l}=e,u=e.getCompilerOptions(),d=e.getEmitResolver(),_=e.onSubstituteNode,m=e.onEmitNode;e.onEmitNode=ld,e.onSubstituteNode=Yf;let y,E,A,R;function N(oe){R=jn(R,t.createVariableDeclaration(oe))}let M,k=0;return hh(e,F);function F(oe){if(oe.isDeclarationFile)return oe;y=oe,E=oe.text;const pt=de(oe);return Dg(pt,e.readEmitHelpers()),y=void 0,E=void 0,R=void 0,A=0,pt}function O(oe,pt){const rn=A;return A=(A&~oe|pt)&32767,rn}function G(oe,pt,rn){A=(A&~pt|rn)&-32768|oe}function j(oe){return(A&8192)!==0&&oe.kind===254&&!oe.expression}function K(oe){return oe.transformFlags&4194304&&(rf(oe)||Q0(oe)||Fie(oe)||HM(oe)||qM(oe)||DD(oe)||JM(oe)||A1(oe)||US(oe)||Wb(oe)||yb(oe,!1)||ia(oe))}function Q(oe){return(oe.transformFlags&1024)!==0||M!==void 0||A&8192&&K(oe)||yb(oe,!1)&&ro(oe)||(Gm(oe)&1)!==0}function J(oe){return Q(oe)?ue(oe,!1):oe}function he(oe){return Q(oe)?ue(oe,!0):oe}function re(oe){if(Q(oe)){const pt=Tl(oe);if(ko(pt)&&Lc(pt)){const rn=O(32670,16449),cn=ue(oe,!1);return G(rn,229376,0),cn}return ue(oe,!1)}return oe}function q(oe){return oe.kind===108?of(oe,!0):J(oe)}function ue(oe,pt){switch(oe.kind){case 126:return;case 264:return Ne(oe);case 232:return ze(oe);case 170:return Da(oe);case 263:return Zt(oe);case 220:return Wt(oe);case 219:return rt(oe);case 261:return $n(oe);case 80:return ee(oe);case 262:return Pe(oe);case 256:return ge(oe);case 270:return Ae(oe);case 242:return At(oe);case 253:case 252:return Se(oe);case 257:return Rt(oe);case 247:case 248:return An(oe,void 0);case 249:return vn(oe,void 0);case 250:return bn(oe,void 0);case 251:return Pr(oe,void 0);case 245:return ye(oe);case 211:return wo(oe);case 300:return Zi(oe);case 305:return ml(oe);case 168:return Cc(oe);case 210:return ol(oe);case 214:return al(oe);case 215:return qd(oe);case 218:return B(oe,pt);case 227:return xe(oe,pt);case 357:return te(oe,pt);case 15:case 16:case 17:case 18:return ts(oe);case 11:return ja(oe);case 9:return Nc(oe);case 216:return sl(oe);case 229:return wl(oe);case 230:return zc(oe);case 231:return es(oe);case 108:return of(oe,!1);case 110:return je(oe);case 237:return bd(oe);case 175:return bs(oe);case 178:case 179:return Ca(oe);case 244:return $t(oe);case 254:return ve(oe);case 223:return be(oe);default:return kn(oe,J,e)}}function de(oe){const pt=O(8064,64),rn=[],cn=[];i();const wn=t.copyPrologue(oe.statements,rn,!1,J);return $r(cn,Jn(oe.statements,J,Gi,wn)),R&&cn.push(t.createVariableStatement(void 0,t.createVariableDeclarationList(R))),t.mergeLexicalEnvironment(rn,s()),ie(rn,oe),G(pt,0,0),t.updateSourceFile(oe,Tt(t.createNodeArray(co(rn,cn)),oe.statements))}function ge(oe){if(M!==void 0){const pt=M.allowedNonLabeledJumps;M.allowedNonLabeledJumps|=2;const rn=kn(oe,J,e);return M.allowedNonLabeledJumps=pt,rn}return kn(oe,J,e)}function Ae(oe){const pt=O(7104,0),rn=kn(oe,J,e);return G(pt,0,0),rn}function Re(oe){return jr(t.createReturnStatement($()),oe)}function $(){return t.createUniqueName("_this",48)}function ve(oe){return M?(M.nonLocalJumps|=8,j(oe)&&(oe=Re(oe)),t.createReturnStatement(t.createObjectLiteralExpression([t.createPropertyAssignment(t.createIdentifier("value"),oe.expression?C.checkDefined(st(oe.expression,J,Et)):t.createVoidZero())]))):j(oe)?Re(oe):kn(oe,J,e)}function je(oe){return A|=65536,A&2&&!(A&16384)&&(A|=131072),M?A&2?(M.containsLexicalThis=!0,oe):M.thisName||(M.thisName=t.createUniqueName("this")):oe}function be(oe){return kn(oe,he,e)}function ee(oe){return M&&d.isArgumentsLocalBinding(oe)?M.argumentsName||(M.argumentsName=t.createUniqueName("arguments")):oe.flags&256?jr(Tt(t.createIdentifier(Bi(oe.escapedText)),oe),oe):oe}function Se(oe){if(M){const pt=oe.kind===253?2:4;if(!(oe.label&&M.labels&&M.labels.get(Yr(oe.label))||!oe.label&&M.allowedNonLabeledJumps&pt)){let cn;const wn=oe.label;wn?oe.kind===253?(cn="break-".concat(wn.escapedText),ut(M,!0,Yr(wn),cn)):(cn="continue-".concat(wn.escapedText),ut(M,!1,Yr(wn),cn)):oe.kind===253?(M.nonLocalJumps|=2,cn="break"):(M.nonLocalJumps|=4,cn="continue");let ar=t.createStringLiteral(cn);if(M.loopOutParameters.length){const ri=M.loopOutParameters;let Si;for(let eo=0;eo<ri.length;eo++){const z=vd(ri[eo],1);eo===0?Si=z:Si=t.createBinaryExpression(Si,28,z)}ar=t.createBinaryExpression(Si,28,ar)}return t.createReturnStatement(ar)}}return kn(oe,J,e)}function Ne(oe){const pt=t.createVariableDeclaration(t.getLocalName(oe,!0),void 0,void 0,lt(oe));jr(pt,oe);const rn=[],cn=t.createVariableStatement(void 0,t.createVariableDeclarationList([pt]));if(jr(cn,oe),Tt(cn,oe),au(cn),rn.push(cn),fi(oe,32)){const wn=fi(oe,2048)?t.createExportDefault(t.getLocalName(oe)):t.createExternalModuleExport(t.getLocalName(oe));jr(wn,cn),rn.push(wn)}return M_(rn)}function ze(oe){return lt(oe)}function lt(oe){oe.name&&qp();const pt=RS(oe),rn=t.createFunctionExpression(void 0,void 0,void 0,void 0,pt?[t.createParameterDeclaration(void 0,void 0,Jl())]:[],void 0,le(oe,pt));Dr(rn,Za(oe)&131072|1048576);const cn=t.createPartiallyEmittedExpression(rn);gD(cn,oe.end),Dr(cn,3072);const wn=t.createPartiallyEmittedExpression(cn);gD(wn,wa(E,oe.pos)),Dr(wn,3072);const ar=t.createParenthesizedExpression(t.createCallExpression(wn,void 0,pt?[C.checkDefined(st(pt.expression,J,Et))]:[]));return Lb(ar,3,"* @class "),ar}function le(oe,pt){const rn=[],cn=t.getInternalName(oe),wn=ZG(cn)?t.getGeneratedNameForNode(cn):cn;i(),De(rn,oe,pt),_e(rn,oe,wn,pt),dt(rn,oe);const ar=IV(wa(E,oe.members.end),20),ri=t.createPartiallyEmittedExpression(wn);gD(ri,ar.end),Dr(ri,3072);const Si=t.createReturnStatement(ri);CM(Si,ar.pos),Dr(Si,3840),rn.push(Si),yg(rn,s());const eo=t.createBlock(Tt(t.createNodeArray(rn),oe.members),!0);return Dr(eo,3072),eo}function De(oe,pt,rn){rn&&oe.push(Tt(t.createExpressionStatement(r().createExtendsHelper(t.getInternalName(pt))),rn))}function _e(oe,pt,rn,cn){const wn=M;M=void 0;const ar=O(32662,73),ri=Sg(pt),Si=g_(ri,cn!==void 0),eo=t.createFunctionDeclaration(void 0,void 0,rn,void 0,Ve(ri,Si),void 0,Ot(ri,pt,cn,Si));Tt(eo,ri||pt),cn&&Dr(eo,16),oe.push(eo),G(ar,229376,0),M=wn}function Ve(oe,pt){return zl(oe&&!pt?oe.parameters:void 0,J,e)||[]}function Ge(oe,pt){const rn=[];o(),t.mergeLexicalEnvironment(rn,s()),pt&&rn.push(t.createReturnStatement(Zo()));const cn=t.createNodeArray(rn);Tt(cn,oe.members);const wn=t.createBlock(cn,!0);return Tt(wn,oe),Dr(wn,3072),wn}function Be(oe){return sc(oe)&&Gn(oe.declarationList.declarations,pt=>Je(pt.name)&&!pt.initializer)}function ot(oe){if(r1(oe))return!0;if(!(oe.transformFlags&134217728))return!1;switch(oe.kind){case 220:case 219:case 263:case 177:case 176:return!1;case 178:case 179:case 175:case 173:{const pt=oe;return Ea(pt.name)?!!Xo(pt.name,ot):!1}}return!!Xo(oe,ot)}function Ot(oe,pt,rn,cn){const wn=!!rn&&Hl(rn.expression).kind!==106;if(!oe)return Ge(pt,wn);const ar=[],ri=[];o();const Si=t.copyStandardPrologue(oe.body.statements,ar,0);(cn||ot(oe.body))&&(A|=8192),$r(ri,Jn(oe.body.statements,J,Gi,Si));const eo=wn||A&8192;qo(ar,oe),_t(ar,oe,cn),it(ar,oe),eo?We(ar,oe,Ki()):ie(ar,oe),t.mergeLexicalEnvironment(ar,s()),eo&&!di(oe.body)&&ri.push(t.createReturnStatement($()));const z=t.createBlock(Tt(t.createNodeArray([...ar,...ri]),oe.body.statements),!0);return Tt(z,oe.body),oi(z,oe.body,cn)}function Vt(oe){return yl(oe)&&Yr(oe)==="_this"}function mn(oe){return yl(oe)&&Yr(oe)==="_super"}function Hn(oe){return sc(oe)&&oe.declarationList.declarations.length===1&>(oe.declarationList.declarations[0])}function gt(oe){return bi(oe)&&Vt(oe.name)&&!!oe.initializer}function tn(oe){return id(oe,!0)&&Vt(oe.left)}function ir(oe){return ra(oe)&&Jr(oe.expression)&&mn(oe.expression.expression)&&Je(oe.expression.name)&&(Yr(oe.expression.name)==="call"||Yr(oe.expression.name)==="apply")&&oe.arguments.length>=1&&oe.arguments[0].kind===110}function Ri(oe){return Nr(oe)&&oe.operatorToken.kind===57&&oe.right.kind===110&&ir(oe.left)}function _o(oe){return Nr(oe)&&oe.operatorToken.kind===56&&Nr(oe.left)&&oe.left.operatorToken.kind===38&&mn(oe.left.left)&&oe.left.right.kind===106&&ir(oe.right)&&Yr(oe.right.expression.name)==="apply"}function Ht(oe){return Nr(oe)&&oe.operatorToken.kind===57&&oe.right.kind===110&&_o(oe.left)}function Qr(oe){return tn(oe)&&Ri(oe.right)}function go(oe){return tn(oe)&&Ht(oe.right)}function Ci(oe){return ir(oe)||Ri(oe)||Qr(oe)||_o(oe)||Ht(oe)||go(oe)}function Cr(oe){for(let pt=0;pt<oe.statements.length-1;pt++){const rn=oe.statements[pt];if(!Hn(rn))continue;const cn=rn.declarationList.declarations[0];if(cn.initializer.kind!==110)continue;const wn=pt;let ar=pt+1;for(;ar<oe.statements.length;){const Nn=oe.statements[ar];if(od(Nn)&&Ci(Hl(Nn.expression)))break;if(Be(Nn)){ar++;continue}return oe}const ri=oe.statements[ar];let Si=ri.expression;tn(Si)&&(Si=Si.right);const eo=t.updateVariableDeclaration(cn,cn.name,void 0,void 0,Si),z=t.updateVariableDeclarationList(rn.declarationList,[eo]),Ue=t.createVariableStatement(rn.modifiers,z);jr(Ue,ri),Tt(Ue,ri);const wt=t.createNodeArray([...oe.statements.slice(0,wn),...oe.statements.slice(wn+1,ar),Ue,...oe.statements.slice(ar+1)]);return Tt(wt,oe.statements),t.updateBlock(oe,wt)}return oe}function Ur(oe,pt){for(const cn of pt.statements)if(cn.transformFlags&134217728&&!y3(cn))return oe;const rn=!(pt.transformFlags&16384)&&!(A&65536)&&!(A&131072);for(let cn=oe.statements.length-1;cn>0;cn--){const wn=oe.statements[cn];if(rf(wn)&&wn.expression&&Vt(wn.expression)){const ar=oe.statements[cn-1];let ri;if(od(ar)&&Qr(Hl(ar.expression)))ri=ar.expression;else if(rn&&Hn(ar)){const z=ar.declarationList.declarations[0];Ci(Hl(z.initializer))&&(ri=t.createAssignment($(),z.initializer))}if(!ri)break;const Si=t.createReturnStatement(ri);jr(Si,ar),Tt(Si,ar);const eo=t.createNodeArray([...oe.statements.slice(0,cn-1),Si,...oe.statements.slice(cn+1)]);return Tt(eo,oe.statements),t.updateBlock(oe,eo)}}return oe}function Qe(oe){if(Hn(oe)){if(oe.declarationList.declarations[0].initializer.kind===110)return}else if(tn(oe))return t.createPartiallyEmittedExpression(oe.right,oe);switch(oe.kind){case 220:case 219:case 263:case 177:case 176:return oe;case 178:case 179:case 175:case 173:{const pt=oe;return Ea(pt.name)?t.replacePropertyName(pt,kn(pt.name,Qe,void 0)):oe}}return kn(oe,Qe,void 0)}function It(oe,pt){if(pt.transformFlags&16384||A&65536||A&131072)return oe;for(const rn of pt.statements)if(rn.transformFlags&134217728&&!y3(rn))return oe;return t.updateBlock(oe,Jn(oe.statements,Qe,Gi))}function hn(oe){if(ir(oe)&&oe.arguments.length===2&&Je(oe.arguments[1])&&Yr(oe.arguments[1])==="arguments")return t.createLogicalAnd(t.createStrictInequality(Jl(),t.createNull()),oe);switch(oe.kind){case 220:case 219:case 263:case 177:case 176:return oe;case 178:case 179:case 175:case 173:{const pt=oe;return Ea(pt.name)?t.replacePropertyName(pt,kn(pt.name,hn,void 0)):oe}}return kn(oe,hn,void 0)}function pr(oe){return t.updateBlock(oe,Jn(oe.statements,hn,Gi))}function oi(oe,pt,rn){const cn=oe;return oe=Cr(oe),oe=Ur(oe,pt),oe!==cn&&(oe=It(oe,pt)),rn&&(oe=pr(oe)),oe}function di(oe){if(oe.kind===254)return!0;if(oe.kind===246){const pt=oe;if(pt.elseStatement)return di(pt.thenStatement)&&di(pt.elseStatement)}else if(oe.kind===242){const pt=rl(oe.statements);if(pt&&di(pt))return!0}return!1}function Ki(){return Dr(t.createThis(),8)}function Zo(){return t.createLogicalOr(t.createLogicalAnd(t.createStrictInequality(Jl(),t.createNull()),t.createFunctionApplyCall(Jl(),Ki(),t.createIdentifier("arguments"))),Ki())}function Da(oe){if(!oe.dotDotDotToken)return na(oe.name)?jr(Tt(t.createParameterDeclaration(void 0,void 0,t.getGeneratedNameForNode(oe),void 0,void 0,void 0),oe),oe):oe.initializer?jr(Tt(t.createParameterDeclaration(void 0,void 0,oe.name,void 0,void 0,void 0),oe),oe):oe}function Pn(oe){return oe.initializer!==void 0||na(oe.name)}function qo(oe,pt){if(!bt(pt.parameters,Pn))return!1;let rn=!1;for(const cn of pt.parameters){const{name:wn,initializer:ar,dotDotDotToken:ri}=cn;ri||(na(wn)?rn=at(oe,cn,wn,ar)||rn:ar&&(Bt(oe,cn,wn,ar),rn=!0))}return rn}function at(oe,pt,rn,cn){return rn.elements.length>0?(t1(oe,Dr(t.createVariableStatement(void 0,t.createVariableDeclarationList(XS(pt,J,e,0,t.getGeneratedNameForNode(pt)))),2097152)),!0):cn?(t1(oe,Dr(t.createExpressionStatement(t.createAssignment(t.getGeneratedNameForNode(pt),C.checkDefined(st(cn,J,Et)))),2097152)),!0):!1}function Bt(oe,pt,rn,cn){cn=C.checkDefined(st(cn,J,Et));const wn=t.createIfStatement(t.createTypeCheck(t.cloneNode(rn),"undefined"),Dr(Tt(t.createBlock([t.createExpressionStatement(Dr(Tt(t.createAssignment(Dr(ps(Tt(t.cloneNode(rn),rn),rn.parent),96),Dr(cn,96|Za(cn)|3072)),pt),3072))]),pt),3905));au(wn),Tt(wn,pt),Dr(wn,2101056),t1(oe,wn)}function ce(oe,pt){return!!(oe&&oe.dotDotDotToken&&!pt)}function _t(oe,pt,rn){const cn=[],wn=rl(pt.parameters);if(!ce(wn,rn))return!1;const ar=wn.name.kind===80?ps(Tt(t.cloneNode(wn.name),wn.name),wn.name.parent):t.createTempVariable(void 0);Dr(ar,96);const ri=wn.name.kind===80?t.cloneNode(wn.name):ar,Si=pt.parameters.length-1,eo=t.createLoopVariable();cn.push(Dr(Tt(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(ar,void 0,void 0,t.createArrayLiteralExpression([]))])),wn),2097152));const z=t.createForStatement(Tt(t.createVariableDeclarationList([t.createVariableDeclaration(eo,void 0,void 0,t.createNumericLiteral(Si))]),wn),Tt(t.createLessThan(eo,t.createPropertyAccessExpression(t.createIdentifier("arguments"),"length")),wn),Tt(t.createPostfixIncrement(eo),wn),t.createBlock([au(Tt(t.createExpressionStatement(t.createAssignment(t.createElementAccessExpression(ri,Si===0?eo:t.createSubtract(eo,t.createNumericLiteral(Si))),t.createElementAccessExpression(t.createIdentifier("arguments"),eo))),wn))]));return Dr(z,2097152),au(z),cn.push(z),wn.name.kind!==80&&cn.push(Dr(Tt(t.createVariableStatement(void 0,t.createVariableDeclarationList(XS(wn,J,e,0,ri))),wn),2097152)),yG(oe,cn),!0}function ie(oe,pt){return A&131072&&pt.kind!==220?(We(oe,pt,t.createThis()),!0):!1}function We(oe,pt,rn){Ru();const cn=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration($(),void 0,void 0,rn)]));Dr(cn,2100224),Ha(cn,pt),t1(oe,cn)}function it(oe,pt){if(A&32768){let rn;switch(pt.kind){case 220:return oe;case 175:case 178:case 179:rn=t.createVoidZero();break;case 177:rn=t.createPropertyAccessExpression(Dr(t.createThis(),8),"constructor");break;case 263:case 219:rn=t.createConditionalExpression(t.createLogicalAnd(Dr(t.createThis(),8),t.createBinaryExpression(Dr(t.createThis(),8),104,t.getLocalName(pt))),void 0,t.createPropertyAccessExpression(Dr(t.createThis(),8),"constructor"),void 0,t.createVoidZero());break;default:return C.failBadSyntaxKind(pt)}const cn=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(t.createUniqueName("_newTarget",48),void 0,void 0,rn)]));Dr(cn,2100224),t1(oe,cn)}return oe}function dt(oe,pt){for(const rn of pt.members)switch(rn.kind){case 241:oe.push(Lt(rn));break;case 175:oe.push(He(Sf(pt,rn),rn,pt));break;case 178:case 179:const cn=MS(pt.members,rn);rn===cn.firstAccessor&&oe.push(Ct(Sf(pt,rn),cn,pt));break;case 177:case 176:break;default:C.failBadSyntaxKind(rn,y&&y.fileName);break}}function Lt(oe){return Tt(t.createEmptyStatement(),oe)}function He(oe,pt,rn){const cn=i_(pt),wn=pv(pt),ar=Rr(pt,pt,void 0,rn),ri=st(pt.name,J,yc);C.assert(ri);let Si;if(!to(ri)&&Kk(e.getCompilerOptions())){const z=Ea(ri)?ri.expression:Je(ri)?t.createStringLiteral(Bi(ri.escapedText)):ri;Si=t.createObjectDefinePropertyCall(oe,z,t.createPropertyDescriptor({value:ar,enumerable:!1,writable:!0,configurable:!0}))}else{const z=C1(t,oe,ri,pt.name);Si=t.createAssignment(z,ar)}Dr(ar,3072),Ha(ar,wn);const eo=Tt(t.createExpressionStatement(Si),pt);return jr(eo,pt),Ic(eo,cn),Dr(eo,96),eo}function Ct(oe,pt,rn){const cn=t.createExpressionStatement(Nt(oe,pt,rn,!1));return Dr(cn,3072),Ha(cn,pv(pt.firstAccessor)),cn}function Nt(oe,{firstAccessor:pt,getAccessor:rn,setAccessor:cn},wn,ar){const ri=ps(Tt(t.cloneNode(oe),oe),oe.parent);Dr(ri,3136),Ha(ri,pt.name);const Si=st(pt.name,J,yc);if(C.assert(Si),to(Si))return C.failBadSyntaxKind(Si,"Encountered unhandled private identifier while transforming ES2015.");const eo=Uj(t,Si);Dr(eo,3104),Ha(eo,pt.name);const z=[];if(rn){const wt=Rr(rn,void 0,void 0,wn);Ha(wt,pv(rn)),Dr(wt,1024);const Nn=t.createPropertyAssignment("get",wt);Ic(Nn,i_(rn)),z.push(Nn)}if(cn){const wt=Rr(cn,void 0,void 0,wn);Ha(wt,pv(cn)),Dr(wt,1024);const Nn=t.createPropertyAssignment("set",wt);Ic(Nn,i_(cn)),z.push(Nn)}z.push(t.createPropertyAssignment("enumerable",rn||cn?t.createFalse():t.createTrue()),t.createPropertyAssignment("configurable",t.createTrue()));const Ue=t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"defineProperty"),void 0,[ri,eo,t.createObjectLiteralExpression(z,!0)]);return ar&&au(Ue),Ue}function Wt(oe){oe.transformFlags&16384&&!(A&16384)&&(A|=131072);const pt=M;M=void 0;const rn=O(15232,66),cn=t.createFunctionExpression(void 0,void 0,void 0,void 0,zl(oe.parameters,J,e),void 0,Oe(oe));return Tt(cn,oe),jr(cn,oe),Dr(cn,16),G(rn,0,0),M=pt,cn}function rt(oe){const pt=Za(oe)&524288?O(32662,69):O(32670,65),rn=M;M=void 0;const cn=zl(oe.parameters,J,e),wn=Oe(oe),ar=A&32768?t.getLocalName(oe):oe.name;return G(pt,229376,0),M=rn,t.updateFunctionExpression(oe,void 0,oe.asteriskToken,ar,void 0,cn,void 0,wn)}function Zt(oe){const pt=M;M=void 0;const rn=O(32670,65),cn=zl(oe.parameters,J,e),wn=Oe(oe),ar=A&32768?t.getLocalName(oe):oe.name;return G(rn,229376,0),M=pt,t.updateFunctionDeclaration(oe,Jn(oe.modifiers,J,Ra),oe.asteriskToken,ar,void 0,cn,void 0,wn)}function Rr(oe,pt,rn,cn){const wn=M;M=void 0;const ar=cn&&hi(cn)&&!ha(oe)?O(32670,73):O(32670,65),ri=zl(oe.parameters,J,e),Si=Oe(oe);return A&32768&&!rn&&(oe.kind===263||oe.kind===219)&&(rn=t.getGeneratedNameForNode(oe)),G(ar,229376,0),M=wn,jr(Tt(t.createFunctionExpression(void 0,oe.asteriskToken,rn,void 0,ri,void 0,Si),pt),oe)}function Oe(oe){let pt=!1,rn=!1,cn,wn;const ar=[],ri=[],Si=oe.body;let eo;if(o(),ia(Si)&&(eo=t.copyStandardPrologue(Si.statements,ar,0,!1),eo=t.copyCustomPrologue(Si.statements,ri,eo,J,HF),eo=t.copyCustomPrologue(Si.statements,ri,eo,J,qF)),pt=qo(ri,oe)||pt,pt=_t(ri,oe,!1)||pt,ia(Si))eo=t.copyCustomPrologue(Si.statements,ri,eo,J),cn=Si.statements,$r(ri,Jn(Si.statements,J,Gi,eo)),!pt&&Si.multiLine&&(pt=!0);else{C.assert(oe.kind===220),cn=N6(Si,-1);const Ue=oe.equalsGreaterThanToken;!zs(Ue)&&!zs(Si)&&(Vk(Ue,Si,y)?rn=!0:pt=!0);const wt=st(Si,J,Et),Nn=t.createReturnStatement(wt);Tt(Nn,Si),mie(Nn,Si),Dr(Nn,2880),ri.push(Nn),wn=Si}if(t.mergeLexicalEnvironment(ar,s()),it(ar,oe),ie(ar,oe),bt(ar)&&(pt=!0),ri.unshift(...ar),ia(Si)&&ef(ri,Si.statements))return Si;const z=t.createBlock(Tt(t.createNodeArray(ri),cn),pt);return Tt(z,oe.body),!pt&&rn&&Dr(z,1),wn&&fie(z,20,wn),jr(z,oe.body),z}function At(oe,pt){const rn=A&256?O(7104,512):O(6976,128),cn=kn(oe,J,e);return G(rn,0,0),cn}function ye(oe){return kn(oe,he,e)}function B(oe,pt){return kn(oe,pt?he:J,e)}function xe(oe,pt){return sv(oe)?w1(oe,J,e,0,!pt):oe.operatorToken.kind===28?t.updateBinaryExpression(oe,C.checkDefined(st(oe.left,he,Et)),oe.operatorToken,C.checkDefined(st(oe.right,pt?he:J,Et))):kn(oe,J,e)}function te(oe,pt){if(pt)return kn(oe,he,e);let rn;for(let wn=0;wn<oe.elements.length;wn++){const ar=oe.elements[wn],ri=st(ar,wn<oe.elements.length-1?he:J,Et);(rn||ri!==ar)&&(rn||(rn=oe.elements.slice(0,wn)),C.assert(ri),rn.push(ri))}const cn=rn?Tt(t.createNodeArray(rn),oe.elements):oe.elements;return t.updateCommaListExpression(oe,cn)}function xt(oe){return oe.declarationList.declarations.length===1&&!!oe.declarationList.declarations[0].initializer&&!!(Gm(oe.declarationList.declarations[0].initializer)&1)}function $t(oe){const pt=O(0,fi(oe,32)?32:0);let rn;if(M&&(oe.declarationList.flags&7)===0&&!xt(oe)){let cn;for(const wn of oe.declarationList.declarations)if(bc(M,wn),wn.initializer){let ar;na(wn.name)?ar=w1(wn,J,e,0):(ar=t.createBinaryExpression(wn.name,64,C.checkDefined(st(wn.initializer,J,Et))),Tt(ar,wn)),cn=jn(cn,ar)}cn?rn=Tt(t.createExpressionStatement(t.inlineExpressions(cn)),oe):rn=void 0}else rn=kn(oe,J,e);return G(pt,0,0),rn}function Pe(oe){if(oe.flags&7||oe.transformFlags&524288){oe.flags&7&&qp();const pt=Jn(oe.declarations,oe.flags&1?or:$n,bi),rn=t.createVariableDeclarationList(pt);return jr(rn,oe),Tt(rn,oe),Ic(rn,oe),oe.transformFlags&524288&&(na(oe.declarations[0].name)||na(Ga(oe.declarations).name))&&Ha(rn,yt(pt)),rn}return kn(oe,J,e)}function yt(oe){let pt=-1,rn=-1;for(const cn of oe)pt=pt===-1?cn.pos:cn.pos===-1?pt:Math.min(pt,cn.pos),rn=Math.max(rn,cn.end);return Gf(pt,rn)}function jt(oe){const pt=d.hasNodeCheckFlag(oe,16384),rn=d.hasNodeCheckFlag(oe,32768);return!((A&64)!==0||pt&&rn&&(A&512)!==0)&&(A&4096)===0&&(!d.isDeclarationWithCollidingName(oe)||rn&&!pt&&(A&6144)===0)}function or(oe){const pt=oe.name;return na(pt)?$n(oe):!oe.initializer&&jt(oe)?t.updateVariableDeclaration(oe,oe.name,void 0,void 0,t.createVoidZero()):kn(oe,J,e)}function $n(oe){const pt=O(32,0);let rn;return na(oe.name)?rn=XS(oe,J,e,0,void 0,(pt&32)!==0):rn=kn(oe,J,e),G(pt,0,0),rn}function fr(oe){M.labels.set(Yr(oe.label),!0)}function vt(oe){M.labels.set(Yr(oe.label),!1)}function Rt(oe){var rn;M&&!M.labels&&(M.labels=new Map);const pt=OG(oe,M&&fr);return yb(pt,!1)?zt(pt,oe):t.restoreEnclosingLabel((rn=st(pt,J,Gi,t.liftToBlock))!=null?rn:Tt(t.createEmptyStatement(),pt),oe,M&&vt)}function zt(oe,pt){switch(oe.kind){case 247:case 248:return An(oe,pt);case 249:return vn(oe,pt);case 250:return bn(oe,pt);case 251:return Pr(oe,pt)}}function Yt(oe,pt,rn,cn,wn){const ar=O(oe,pt),ri=tl(rn,cn,ar,wn);return G(ar,0,0),ri}function An(oe,pt){return Yt(0,1280,oe,pt)}function vn(oe,pt){return Yt(5056,3328,oe,pt)}function Ft(oe){return t.updateForStatement(oe,st(oe.initializer,he,Wf),st(oe.condition,J,Et),st(oe.incrementor,he,Et),C.checkDefined(st(oe.statement,J,Gi,t.liftToBlock)))}function bn(oe,pt){return Yt(3008,5376,oe,pt)}function Pr(oe,pt){return Yt(3008,5376,oe,pt,u.downlevelIteration?ea:ti)}function tr(oe,pt,rn){const cn=[],wn=oe.initializer;if(_d(wn)){oe.initializer.flags&7&&qp();const ar=Sc(wn.declarations);if(ar&&na(ar.name)){const ri=XS(ar,J,e,0,pt),Si=Tt(t.createVariableDeclarationList(ri),oe.initializer);jr(Si,oe.initializer),Ha(Si,Gf(ri[0].pos,Ga(ri).end)),cn.push(t.createVariableStatement(void 0,Si))}else cn.push(Tt(t.createVariableStatement(void 0,jr(Tt(t.createVariableDeclarationList([t.createVariableDeclaration(ar?ar.name:t.createTempVariable(void 0),void 0,void 0,pt)]),H0(wn,-1)),wn)),N6(wn,-1)))}else{const ar=t.createAssignment(wn,pt);sv(ar)?cn.push(t.createExpressionStatement(xe(ar,!0))):(gD(ar,wn.end),cn.push(Tt(t.createExpressionStatement(C.checkDefined(st(ar,J,Et))),N6(wn,-1))))}if(rn)return kt($r(cn,rn));{const ar=st(oe.statement,J,Gi,t.liftToBlock);return C.assert(ar),ia(ar)?t.updateBlock(ar,Tt(t.createNodeArray(co(cn,ar.statements)),ar.statements)):(cn.push(ar),kt(cn))}}function kt(oe){return Dr(t.createBlock(t.createNodeArray(oe),!0),864)}function ti(oe,pt,rn){const cn=st(oe.expression,J,Et);C.assert(cn);const wn=t.createLoopVariable(),ar=Je(cn)?t.getGeneratedNameForNode(cn):t.createTempVariable(void 0);Dr(cn,96|Za(cn));const ri=Tt(t.createForStatement(Dr(Tt(t.createVariableDeclarationList([Tt(t.createVariableDeclaration(wn,void 0,void 0,t.createNumericLiteral(0)),H0(oe.expression,-1)),Tt(t.createVariableDeclaration(ar,void 0,void 0,cn),oe.expression)]),oe.expression),4194304),Tt(t.createLessThan(wn,t.createPropertyAccessExpression(ar,"length")),oe.expression),Tt(t.createPostfixIncrement(wn),oe.expression),tr(oe,t.createElementAccessExpression(ar,wn),rn)),oe);return Dr(ri,512),Tt(ri,oe),t.restoreEnclosingLabel(ri,pt,M&&vt)}function ea(oe,pt,rn,cn){const wn=st(oe.expression,J,Et);C.assert(wn);const ar=Je(wn)?t.getGeneratedNameForNode(wn):t.createTempVariable(void 0),ri=Je(wn)?t.getGeneratedNameForNode(ar):t.createTempVariable(void 0),Si=t.createUniqueName("e"),eo=t.getGeneratedNameForNode(Si),z=t.createTempVariable(void 0),Ue=Tt(r().createValuesHelper(wn),oe.expression),wt=t.createCallExpression(t.createPropertyAccessExpression(ar,"next"),void 0,[]);l(Si),l(z);const Nn=cn&1024?t.inlineExpressions([t.createAssignment(Si,t.createVoidZero()),Ue]):Ue,To=Dr(Tt(t.createForStatement(Dr(Tt(t.createVariableDeclarationList([Tt(t.createVariableDeclaration(ar,void 0,void 0,Nn),oe.expression),t.createVariableDeclaration(ri,void 0,void 0,wt)]),oe.expression),4194304),t.createLogicalNot(t.createPropertyAccessExpression(ri,"done")),t.createAssignment(ri,wt),tr(oe,t.createPropertyAccessExpression(ri,"value"),rn)),oe),512);return t.createTryStatement(t.createBlock([t.restoreEnclosingLabel(To,pt,M&&vt)]),t.createCatchClause(t.createVariableDeclaration(eo),Dr(t.createBlock([t.createExpressionStatement(t.createAssignment(Si,t.createObjectLiteralExpression([t.createPropertyAssignment("error",eo)])))]),1)),t.createBlock([t.createTryStatement(t.createBlock([Dr(t.createIfStatement(t.createLogicalAnd(t.createLogicalAnd(ri,t.createLogicalNot(t.createPropertyAccessExpression(ri,"done"))),t.createAssignment(z,t.createPropertyAccessExpression(ar,"return"))),t.createExpressionStatement(t.createFunctionCallCall(z,ar,[]))),1)]),void 0,Dr(t.createBlock([Dr(t.createIfStatement(Si,t.createThrowStatement(t.createPropertyAccessExpression(Si,"error"))),1)]),1))]))}function wo(oe){const pt=oe.properties;let rn=-1,cn=!1;for(let Si=0;Si<pt.length;Si++){const eo=pt[Si];if(eo.transformFlags&1048576&&A&4||(cn=C.checkDefined(eo.name).kind===168)){rn=Si;break}}if(rn<0)return kn(oe,J,e);const wn=t.createTempVariable(l),ar=[],ri=t.createAssignment(wn,Dr(t.createObjectLiteralExpression(Jn(pt,J,sy,0,rn),oe.multiLine),cn?131072:0));return oe.multiLine&&au(ri),ar.push(ri),dr(ar,oe,wn,rn),ar.push(oe.multiLine?au(ps(Tt(t.cloneNode(wn),wn),wn.parent)):wn),t.inlineExpressions(ar)}function vo(oe){return d.hasNodeCheckFlag(oe,8192)}function fs(oe){return Z0(oe)&&!!oe.initializer&&vo(oe.initializer)}function xs(oe){return Z0(oe)&&!!oe.condition&&vo(oe.condition)}function ms(oe){return Z0(oe)&&!!oe.incrementor&&vo(oe.incrementor)}function ro(oe){return zo(oe)||fs(oe)}function zo(oe){return d.hasNodeCheckFlag(oe,4096)}function bc(oe,pt){oe.hoistedLocalVariables||(oe.hoistedLocalVariables=[]),rn(pt.name);function rn(cn){if(cn.kind===80)oe.hoistedLocalVariables.push(cn);else for(const wn of cn.elements)qc(wn)||rn(wn.name)}}function tl(oe,pt,rn,cn){if(!ro(oe)){let Ue;M&&(Ue=M.allowedNonLabeledJumps,M.allowedNonLabeledJumps=6);const wt=cn?cn(oe,pt,void 0,rn):t.restoreEnclosingLabel(Z0(oe)?Ft(oe):kn(oe,J,e),pt,M&&vt);return M&&(M.allowedNonLabeledJumps=Ue),wt}const wn=Ja(oe),ar=[],ri=M;M=wn;const Si=fs(oe)?ql(oe,wn):void 0,eo=zo(oe)?lc(oe,wn,ri):void 0;M=ri,Si&&ar.push(Si.functionDeclaration),eo&&ar.push(eo.functionDeclaration),nn(ar,wn,ri),Si&&ar.push(Ie(Si.functionName,Si.containsYield));let z;if(eo)if(cn)z=cn(oe,pt,eo.part,rn);else{const Ue=Ma(oe,Si,t.createBlock(eo.part,!0));z=t.restoreEnclosingLabel(Ue,pt,M&&vt)}else{const Ue=Ma(oe,Si,C.checkDefined(st(oe.statement,J,Gi,t.liftToBlock)));z=t.restoreEnclosingLabel(Ue,pt,M&&vt)}return ar.push(z),ar}function Ma(oe,pt,rn){switch(oe.kind){case 249:return tc(oe,pt,rn);case 250:return Oo(oe,rn);case 251:return Tf(oe,rn);case 247:return ga(oe,rn);case 248:return is(oe,rn);default:return C.failBadSyntaxKind(oe,"IterationStatement expected")}}function tc(oe,pt,rn){const cn=oe.condition&&vo(oe.condition),wn=cn||oe.incrementor&&vo(oe.incrementor);return t.updateForStatement(oe,st(pt?pt.part:oe.initializer,he,Wf),st(cn?void 0:oe.condition,J,Et),st(wn?void 0:oe.incrementor,he,Et),rn)}function Tf(oe,pt){return t.updateForOfStatement(oe,void 0,C.checkDefined(st(oe.initializer,J,Wf)),C.checkDefined(st(oe.expression,J,Et)),pt)}function Oo(oe,pt){return t.updateForInStatement(oe,C.checkDefined(st(oe.initializer,J,Wf)),C.checkDefined(st(oe.expression,J,Et)),pt)}function ga(oe,pt){return t.updateDoStatement(oe,pt,C.checkDefined(st(oe.expression,J,Et)))}function is(oe,pt){return t.updateWhileStatement(oe,C.checkDefined(st(oe.expression,J,Et)),pt)}function Ja(oe){let pt;switch(oe.kind){case 249:case 250:case 251:const ar=oe.initializer;ar&&ar.kind===262&&(pt=ar);break}const rn=[],cn=[];if(pt&&ay(pt)&7){const ar=fs(oe)||xs(oe)||ms(oe);for(const ri of pt.declarations)fn(oe,ri,rn,cn,ar)}const wn={loopParameters:rn,loopOutParameters:cn};return M&&(M.argumentsName&&(wn.argumentsName=M.argumentsName),M.thisName&&(wn.thisName=M.thisName),M.hoistedLocalVariables&&(wn.hoistedLocalVariables=M.hoistedLocalVariables)),wn}function nn(oe,pt,rn){let cn;if(pt.argumentsName&&(rn?rn.argumentsName=pt.argumentsName:(cn||(cn=[])).push(t.createVariableDeclaration(pt.argumentsName,void 0,void 0,t.createIdentifier("arguments")))),pt.thisName&&(rn?rn.thisName=pt.thisName:(cn||(cn=[])).push(t.createVariableDeclaration(pt.thisName,void 0,void 0,t.createIdentifier("this")))),pt.hoistedLocalVariables)if(rn)rn.hoistedLocalVariables=pt.hoistedLocalVariables;else{cn||(cn=[]);for(const wn of pt.hoistedLocalVariables)cn.push(t.createVariableDeclaration(wn))}if(pt.loopOutParameters.length){cn||(cn=[]);for(const wn of pt.loopOutParameters)cn.push(t.createVariableDeclaration(wn.outParamName))}pt.conditionVariable&&(cn||(cn=[]),cn.push(t.createVariableDeclaration(pt.conditionVariable,void 0,void 0,t.createFalse()))),cn&&oe.push(t.createVariableStatement(void 0,t.createVariableDeclarationList(cn)))}function Ds(oe){return t.createVariableDeclaration(oe.originalName,void 0,void 0,oe.outParamName)}function ql(oe,pt){const rn=t.createUniqueName("_loop_init"),cn=(oe.initializer.transformFlags&1048576)!==0;let wn=0;pt.containsLexicalThis&&(wn|=16),cn&&A&4&&(wn|=524288);const ar=[];ar.push(t.createVariableStatement(void 0,oe.initializer)),Gs(pt.loopOutParameters,2,1,ar);const ri=t.createVariableStatement(void 0,Dr(t.createVariableDeclarationList([t.createVariableDeclaration(rn,void 0,void 0,Dr(t.createFunctionExpression(void 0,cn?t.createToken(42):void 0,void 0,void 0,void 0,void 0,C.checkDefined(st(t.createBlock(ar,!0),J,ia))),wn))]),4194304)),Si=t.createVariableDeclarationList(Gt(pt.loopOutParameters,Ds));return{functionName:rn,containsYield:cn,functionDeclaration:ri,part:Si}}function lc(oe,pt,rn){const cn=t.createUniqueName("_loop");i();const wn=st(oe.statement,J,Gi,t.liftToBlock),ar=s(),ri=[];(xs(oe)||ms(oe))&&(pt.conditionVariable=t.createUniqueName("inc"),oe.incrementor?ri.push(t.createIfStatement(pt.conditionVariable,t.createExpressionStatement(C.checkDefined(st(oe.incrementor,J,Et))),t.createExpressionStatement(t.createAssignment(pt.conditionVariable,t.createTrue())))):ri.push(t.createIfStatement(t.createLogicalNot(pt.conditionVariable),t.createExpressionStatement(t.createAssignment(pt.conditionVariable,t.createTrue())))),xs(oe)&&ri.push(t.createIfStatement(t.createPrefixUnaryExpression(54,C.checkDefined(st(oe.condition,J,Et))),C.checkDefined(st(t.createBreakStatement(),J,Gi))))),C.assert(wn),ia(wn)?$r(ri,wn.statements):ri.push(wn),Gs(pt.loopOutParameters,1,1,ri),yg(ri,ar);const Si=t.createBlock(ri,!0);ia(wn)&&jr(Si,wn);const eo=(oe.statement.transformFlags&1048576)!==0;let z=1048576;pt.containsLexicalThis&&(z|=16),eo&&(A&4)!==0&&(z|=524288);const Ue=t.createVariableStatement(void 0,Dr(t.createVariableDeclarationList([t.createVariableDeclaration(cn,void 0,void 0,Dr(t.createFunctionExpression(void 0,eo?t.createToken(42):void 0,void 0,void 0,pt.loopParameters,void 0,Si),z))]),4194304)),wt=Y(cn,pt,rn,eo);return{functionName:cn,containsYield:eo,functionDeclaration:Ue,part:wt}}function vd(oe,pt){const rn=pt===0?oe.outParamName:oe.originalName,cn=pt===0?oe.originalName:oe.outParamName;return t.createBinaryExpression(cn,64,rn)}function Gs(oe,pt,rn,cn){for(const wn of oe)wn.flags&pt&&cn.push(t.createExpressionStatement(vd(wn,rn)))}function Ie(oe,pt){const rn=t.createCallExpression(oe,void 0,[]),cn=pt?t.createYieldExpression(t.createToken(42),Dr(rn,8388608)):rn;return t.createExpressionStatement(cn)}function Y(oe,pt,rn,cn){const wn=[],ar=!(pt.nonLocalJumps&-5)&&!pt.labeledNonLocalBreaks&&!pt.labeledNonLocalContinues,ri=t.createCallExpression(oe,void 0,Gt(pt.loopParameters,eo=>eo.name)),Si=cn?t.createYieldExpression(t.createToken(42),Dr(ri,8388608)):ri;if(ar)wn.push(t.createExpressionStatement(Si)),Gs(pt.loopOutParameters,1,0,wn);else{const eo=t.createUniqueName("state"),z=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(eo,void 0,void 0,Si)]));if(wn.push(z),Gs(pt.loopOutParameters,1,0,wn),pt.nonLocalJumps&8){let Ue;rn?(rn.nonLocalJumps|=8,Ue=t.createReturnStatement(eo)):Ue=t.createReturnStatement(t.createPropertyAccessExpression(eo,"value")),wn.push(t.createIfStatement(t.createTypeCheck(eo,"object"),Ue))}if(pt.nonLocalJumps&2&&wn.push(t.createIfStatement(t.createStrictEquality(eo,t.createStringLiteral("break")),t.createBreakStatement())),pt.labeledNonLocalBreaks||pt.labeledNonLocalContinues){const Ue=[];Jt(pt.labeledNonLocalBreaks,!0,eo,rn,Ue),Jt(pt.labeledNonLocalContinues,!1,eo,rn,Ue),wn.push(t.createSwitchStatement(eo,t.createCaseBlock(Ue)))}}return wn}function ut(oe,pt,rn,cn){pt?(oe.labeledNonLocalBreaks||(oe.labeledNonLocalBreaks=new Map),oe.labeledNonLocalBreaks.set(rn,cn)):(oe.labeledNonLocalContinues||(oe.labeledNonLocalContinues=new Map),oe.labeledNonLocalContinues.set(rn,cn))}function Jt(oe,pt,rn,cn,wn){oe&&oe.forEach((ar,ri)=>{const Si=[];if(!cn||cn.labels&&cn.labels.get(ri)){const eo=t.createIdentifier(ri);Si.push(pt?t.createBreakStatement(eo):t.createContinueStatement(eo))}else ut(cn,pt,ri,ar),Si.push(t.createReturnStatement(rn));wn.push(t.createCaseClause(t.createStringLiteral(ar),Si))})}function fn(oe,pt,rn,cn,wn){const ar=pt.name;if(na(ar))for(const ri of ar.elements)qc(ri)||fn(oe,ri,rn,cn,wn);else{rn.push(t.createParameterDeclaration(void 0,void 0,ar));const ri=d.hasNodeCheckFlag(pt,65536);if(ri||wn){const Si=t.createUniqueName("out_"+Yr(ar));let eo=0;ri&&(eo|=1),Z0(oe)&&(oe.initializer&&d.isBindingCapturedByNode(oe.initializer,pt)&&(eo|=2),(oe.condition&&d.isBindingCapturedByNode(oe.condition,pt)||oe.incrementor&&d.isBindingCapturedByNode(oe.incrementor,pt))&&(eo|=1)),cn.push({flags:eo,originalName:ar,outParamName:Si})}}}function dr(oe,pt,rn,cn){const wn=pt.properties,ar=wn.length;for(let ri=cn;ri<ar;ri++){const Si=wn[ri];switch(Si.kind){case 178:case 179:const eo=MS(pt.properties,Si);Si===eo.firstAccessor&&oe.push(Nt(rn,eo,pt,!!pt.multiLine));break;case 175:oe.push(Bn(Si,rn,pt,pt.multiLine));break;case 304:oe.push(si(Si,rn,pt.multiLine));break;case 305:oe.push(xr(Si,rn,pt.multiLine));break;default:C.failBadSyntaxKind(pt);break}}}function si(oe,pt,rn){const cn=t.createAssignment(C1(t,pt,C.checkDefined(st(oe.name,J,yc))),C.checkDefined(st(oe.initializer,J,Et)));return Tt(cn,oe),rn&&au(cn),cn}function xr(oe,pt,rn){const cn=t.createAssignment(C1(t,pt,C.checkDefined(st(oe.name,J,yc))),t.cloneNode(oe.name));return Tt(cn,oe),rn&&au(cn),cn}function Bn(oe,pt,rn,cn){const wn=t.createAssignment(C1(t,pt,C.checkDefined(st(oe.name,J,yc))),Rr(oe,oe,void 0,rn));return Tt(wn,oe),cn&&au(wn),wn}function Zi(oe){const pt=O(7104,0);let rn;if(C.assert(!!oe.variableDeclaration,"Catch clause variable should always be present when downleveling ES2015."),na(oe.variableDeclaration.name)){const cn=t.createTempVariable(void 0),wn=t.createVariableDeclaration(cn);Tt(wn,oe.variableDeclaration);const ar=XS(oe.variableDeclaration,J,e,0,cn),ri=t.createVariableDeclarationList(ar);Tt(ri,oe.variableDeclaration);const Si=t.createVariableStatement(void 0,ri);rn=t.updateCatchClause(oe,wn,Xi(oe.block,Si))}else rn=kn(oe,J,e);return G(pt,0,0),rn}function Xi(oe,pt){const rn=Jn(oe.statements,J,Gi);return t.updateBlock(oe,[pt,...rn])}function bs(oe){C.assert(!Ea(oe.name));const pt=Rr(oe,H0(oe,-1),void 0,void 0);return Dr(pt,1024|Za(pt)),Tt(t.createPropertyAssignment(oe.name,pt),oe)}function Ca(oe){C.assert(!Ea(oe.name));const pt=M;M=void 0;const rn=O(32670,65);let cn;const wn=zl(oe.parameters,J,e),ar=Oe(oe);return oe.kind===178?cn=t.updateGetAccessorDeclaration(oe,oe.modifiers,oe.name,wn,oe.type,ar):cn=t.updateSetAccessorDeclaration(oe,oe.modifiers,oe.name,wn,ar),G(rn,229376,0),M=pt,cn}function ml(oe){return Tt(t.createPropertyAssignment(oe.name,ee(t.cloneNode(oe.name))),oe)}function Cc(oe){return kn(oe,J,e)}function zc(oe){return kn(oe,J,e)}function ol(oe){return bt(oe.elements,Jf)?du(oe.elements,!1,!!oe.multiLine,!!oe.elements.hasTrailingComma):kn(oe,J,e)}function al(oe){if(Gm(oe)&1)return Iu(oe);const pt=Hl(oe.expression);return pt.kind===108||gp(pt)||bt(oe.arguments,Jf)?xu(oe):t.updateCallExpression(oe,C.checkDefined(st(oe.expression,q,Et)),void 0,Jn(oe.arguments,J,Et))}function Iu(oe){const pt=va(va(Hl(oe.expression),Zs).body,ia),rn=Pa=>sc(Pa)&&!!Qa(Pa.declarationList.declarations).initializer,cn=M;M=void 0;const wn=Jn(pt.statements,re,Gi);M=cn;const ar=Fn(wn,rn),ri=Fn(wn,Pa=>!rn(Pa)),eo=va(Qa(ar),sc).declarationList.declarations[0],z=Hl(eo.initializer);let Ue=ii(z,id);!Ue&&Nr(z)&&z.operatorToken.kind===28&&(Ue=ii(z.left,id));const wt=va(Ue?Hl(Ue.right):z,ra),Nn=va(Hl(wt.expression),Ks),To=Nn.body.statements;let oa=0,Ao=-1;const Uo=[];if(Ue){const Pa=ii(To[oa],od);Pa&&(Uo.push(Pa),oa++),Uo.push(To[oa]),oa++,Uo.push(t.createExpressionStatement(t.createAssignment(Ue.left,va(eo.name,Je))))}for(;!rf(nb(To,Ao));)Ao--;$r(Uo,To,oa,Ao),Ao<-1&&$r(Uo,To,Ao+1);const bl=ii(nb(To,Ao),rf);for(const Pa of ri)rf(Pa)&&(bl!=null&&bl.expression)&&!Je(bl.expression)?Uo.push(bl):Uo.push(Pa);return $r(Uo,ar,1),t.restoreOuterExpressions(oe.expression,t.restoreOuterExpressions(eo.initializer,t.restoreOuterExpressions(Ue&&Ue.right,t.updateCallExpression(wt,t.restoreOuterExpressions(wt.expression,t.updateFunctionExpression(Nn,void 0,void 0,void 0,void 0,Nn.parameters,void 0,t.updateBlock(Nn.body,Uo))),void 0,wt.arguments))))}function xu(oe,pt){if(oe.transformFlags&32768||oe.expression.kind===108||gp(Hl(oe.expression))){const{target:rn,thisArg:cn}=t.createCallBinding(oe.expression,l);oe.expression.kind===108&&Dr(cn,8);let wn;if(oe.transformFlags&32768?wn=t.createFunctionApplyCall(C.checkDefined(st(rn,q,Et)),oe.expression.kind===108?cn:C.checkDefined(st(cn,J,Et)),du(oe.arguments,!0,!1,!1)):wn=Tt(t.createFunctionCallCall(C.checkDefined(st(rn,q,Et)),oe.expression.kind===108?cn:C.checkDefined(st(cn,J,Et)),Jn(oe.arguments,J,Et)),oe),oe.expression.kind===108){const ar=t.createLogicalOr(wn,Ki());wn=t.createAssignment($(),ar)}return jr(wn,oe)}return r1(oe)&&(A|=131072),kn(oe,J,e)}function qd(oe){if(bt(oe.arguments,Jf)){const{target:pt,thisArg:rn}=t.createCallBinding(t.createPropertyAccessExpression(oe.expression,"bind"),l);return t.createNewExpression(t.createFunctionApplyCall(C.checkDefined(st(pt,J,Et)),rn,du(t.createNodeArray([t.createVoidZero(),...oe.arguments]),!0,!1,!1)),void 0,[])}return kn(oe,J,e)}function du(oe,pt,rn,cn){const wn=oe.length,ar=Qo(f2(oe,Fe,(z,Ue,wt,Nn)=>Ue(z,rn,cn&&Nn===wn)));if(ar.length===1){const z=ar[0];if(pt&&!u.downlevelIteration||ZV(z.expression)||FM(z.expression,"___spreadArray"))return z.expression}const ri=r(),Si=ar[0].kind!==0;let eo=Si?t.createArrayLiteralExpression():ar[0].expression;for(let z=Si?0:1;z<ar.length;z++){const Ue=ar[z];eo=ri.createSpreadArrayHelper(eo,Ue.expression,Ue.kind===1&&!pt)}return eo}function Fe(oe){return Jf(oe)?Xt:bo}function Xt(oe){return Gt(oe,Qn)}function Qn(oe){C.assertNode(oe,Jf);let pt=st(oe.expression,J,Et);C.assert(pt);const rn=FM(pt,"___read");let cn=rn||ZV(pt)?2:1;return u.downlevelIteration&&cn===1&&!Dd(pt)&&!rn&&(pt=r().createReadHelper(pt,void 0),cn=2),SAe(cn,pt)}function bo(oe,pt,rn){const cn=t.createArrayLiteralExpression(Jn(t.createNodeArray(oe,rn),J,Et),pt);return SAe(0,cn)}function es(oe){return st(oe.expression,J,Et)}function ts(oe){return Tt(t.createStringLiteral(oe.text),oe)}function ja(oe){return oe.hasExtendedUnicodeEscape?Tt(t.createStringLiteral(oe.text),oe):oe}function Nc(oe){return oe.numericLiteralFlags&384?Tt(t.createNumericLiteral(oe.text),oe):oe}function sl(oe){return oH(e,oe,J,y,N,1)}function wl(oe){let pt=t.createStringLiteral(oe.head.text);for(const rn of oe.templateSpans){const cn=[C.checkDefined(st(rn.expression,J,Et))];rn.literal.text.length>0&&cn.push(t.createStringLiteral(rn.literal.text)),pt=t.createCallExpression(t.createPropertyAccessExpression(pt,"concat"),void 0,cn)}return Tt(pt,oe)}function Jl(){return t.createUniqueName("_super",48)}function of(oe,pt){const rn=A&8&&!pt?t.createPropertyAccessExpression(jr(Jl(),oe),"prototype"):Jl();return jr(rn,oe),Ic(rn,oe),Ha(rn,oe),rn}function bd(oe){return oe.keywordToken===105&&oe.name.escapedText==="target"?(A|=32768,t.createUniqueName("_newTarget",48)):oe}function ld(oe,pt,rn){if(k&1&&Yo(pt)){const cn=O(32670,Za(pt)&16?81:65);m(oe,pt,rn),G(cn,0,0);return}m(oe,pt,rn)}function qp(){(k&2)===0&&(k|=2,e.enableSubstitution(80))}function Ru(){(k&1)===0&&(k|=1,e.enableSubstitution(110),e.enableEmitNotification(177),e.enableEmitNotification(175),e.enableEmitNotification(178),e.enableEmitNotification(179),e.enableEmitNotification(220),e.enableEmitNotification(219),e.enableEmitNotification(263))}function Yf(oe,pt){return pt=_(oe,pt),oe===1?kg(pt):Je(pt)?J_(pt):pt}function J_(oe){if(k&2&&!Hj(oe)){const pt=Ho(oe,Je);if(pt&&Lg(pt))return Tt(t.getGeneratedNameForNode(pt),oe)}return oe}function Lg(oe){switch(oe.parent.kind){case 209:case 264:case 267:case 261:return oe.parent.name===oe&&d.isDeclarationWithCollidingName(oe.parent)}return!1}function kg(oe){switch(oe.kind){case 80:return sp(oe);case 110:return vh(oe)}return oe}function sp(oe){if(k&2&&!Hj(oe)){const pt=d.getReferencedDeclarationWithCollidingName(oe);if(pt&&!(hi(pt)&&Kc(pt,oe)))return Tt(t.getGeneratedNameForNode(Fo(pt)),oe)}return oe}function Kc(oe,pt){let rn=Ho(pt);if(!rn||rn===oe||rn.end<=oe.pos||rn.pos>=oe.end)return!1;const cn=sh(oe);for(;rn;){if(rn===cn||rn===oe)return!1;if(vc(rn)&&rn.parent===oe)return!0;rn=rn.parent}return!1}function vh(oe){return k&1&&A&16?Tt($(),oe):oe}function Sf(oe,pt){return ha(pt)?t.getInternalName(oe):t.createPropertyAccessExpression(t.getInternalName(oe),"prototype")}function g_(oe,pt){if(!oe||!pt||bt(oe.parameters))return!1;const rn=Sc(oe.body.statements);if(!rn||!zs(rn)||rn.kind!==245)return!1;const cn=rn.expression;if(!zs(cn)||cn.kind!==214)return!1;const wn=cn.expression;if(!zs(wn)||wn.kind!==108)return!1;const ar=cg(cn.arguments);if(!ar||!zs(ar)||ar.kind!==231)return!1;const ri=ar.expression;return Je(ri)&&ri.escapedText==="arguments"}}function wqe(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}}function ise(e){const{factory:t,getEmitHelperFactory:r,resumeLexicalEnvironment:i,endLexicalEnvironment:o,hoistFunctionDeclaration:s,hoistVariableDeclaration:l}=e,u=e.getCompilerOptions(),d=Va(u),_=e.getEmitResolver(),m=e.onSubstituteNode;e.onSubstituteNode=ye;let y,E,A,R,N,M,k,F,O,G,j=1,K,Q,J,he,re=0,q=0,ue,de,ge,Ae,Re,$,ve,je;return hh(e,be);function be(Fe){if(Fe.isDeclarationFile||(Fe.transformFlags&2048)===0)return Fe;const Xt=kn(Fe,ee,e);return Dg(Xt,e.readEmitHelpers()),Xt}function ee(Fe){const Xt=Fe.transformFlags;return R?Se(Fe):A?Ne(Fe):ks(Fe)&&Fe.asteriskToken?lt(Fe):Xt&2048?kn(Fe,ee,e):Fe}function Se(Fe){switch(Fe.kind){case 247:return Zo(Fe);case 248:return Pn(Fe);case 256:return Nt(Fe);case 257:return rt(Fe);default:return Ne(Fe)}}function Ne(Fe){switch(Fe.kind){case 263:return le(Fe);case 219:return De(Fe);case 178:case 179:return _e(Fe);case 244:return Ge(Fe);case 249:return at(Fe);case 250:return ce(Fe);case 253:return it(Fe);case 252:return ie(Fe);case 254:return Lt(Fe);default:return Fe.transformFlags&1048576?ze(Fe):Fe.transformFlags&4196352?kn(Fe,ee,e):Fe}}function ze(Fe){switch(Fe.kind){case 227:return Be(Fe);case 357:return mn(Fe);case 228:return gt(Fe);case 230:return tn(Fe);case 210:return ir(Fe);case 211:return _o(Fe);case 213:return Ht(Fe);case 214:return Qr(Fe);case 215:return go(Fe);default:return kn(Fe,ee,e)}}function lt(Fe){switch(Fe.kind){case 263:return le(Fe);case 219:return De(Fe);default:return C.failBadSyntaxKind(Fe)}}function le(Fe){if(Fe.asteriskToken)Fe=jr(Tt(t.createFunctionDeclaration(Fe.modifiers,void 0,Fe.name,void 0,zl(Fe.parameters,ee,e),void 0,Ve(Fe.body)),Fe),Fe);else{const Xt=A,Qn=R;A=!1,R=!1,Fe=kn(Fe,ee,e),A=Xt,R=Qn}if(A){s(Fe);return}else return Fe}function De(Fe){if(Fe.asteriskToken)Fe=jr(Tt(t.createFunctionExpression(void 0,void 0,Fe.name,void 0,zl(Fe.parameters,ee,e),void 0,Ve(Fe.body)),Fe),Fe);else{const Xt=A,Qn=R;A=!1,R=!1,Fe=kn(Fe,ee,e),A=Xt,R=Qn}return Fe}function _e(Fe){const Xt=A,Qn=R;return A=!1,R=!1,Fe=kn(Fe,ee,e),A=Xt,R=Qn,Fe}function Ve(Fe){const Xt=[],Qn=A,bo=R,es=N,ts=M,ja=k,Nc=F,sl=O,wl=G,Jl=j,of=K,bd=Q,ld=J,qp=he;A=!0,R=!1,N=void 0,M=void 0,k=void 0,F=void 0,O=void 0,G=void 0,j=1,K=void 0,Q=void 0,J=void 0,he=t.createTempVariable(void 0),i();const Ru=t.copyPrologue(Fe.statements,Xt,!1,ee);Ci(Fe.statements,Ru);const Yf=ut();return yg(Xt,o()),Xt.push(t.createReturnStatement(Yf)),A=Qn,R=bo,N=es,M=ts,k=ja,F=Nc,O=sl,G=wl,j=Jl,K=of,Q=bd,J=ld,he=qp,Tt(t.createBlock(Xt,Fe.multiLine),Fe)}function Ge(Fe){if(Fe.transformFlags&1048576){pr(Fe.declarationList);return}else{if(Za(Fe)&2097152)return Fe;for(const Qn of Fe.declarationList.declarations)l(Qn.name);const Xt=gM(Fe.declarationList);return Xt.length===0?void 0:Ha(t.createExpressionStatement(t.inlineExpressions(Gt(Xt,oi))),Fe)}}function Be(Fe){const Xt=rV(Fe);switch(Xt){case 0:return Ot(Fe);case 1:return ot(Fe);default:return C.assertNever(Xt)}}function ot(Fe){const{left:Xt,right:Qn}=Fe;if(Oe(Qn)){let bo;switch(Xt.kind){case 212:bo=t.updatePropertyAccessExpression(Xt,te(C.checkDefined(st(Xt.expression,ee,Zu))),Xt.name);break;case 213:bo=t.updateElementAccessExpression(Xt,te(C.checkDefined(st(Xt.expression,ee,Zu))),te(C.checkDefined(st(Xt.argumentExpression,ee,Et))));break;default:bo=C.checkDefined(st(Xt,ee,Et));break}const es=Fe.operatorToken.kind;return dP(es)?Tt(t.createAssignment(bo,Tt(t.createBinaryExpression(te(bo),uP(es),C.checkDefined(st(Qn,ee,Et))),Fe)),Fe):t.updateBinaryExpression(Fe,bo,Fe.operatorToken,C.checkDefined(st(Qn,ee,Et)))}return kn(Fe,ee,e)}function Ot(Fe){return Oe(Fe.right)?Zne(Fe.operatorToken.kind)?Hn(Fe):Fe.operatorToken.kind===28?Vt(Fe):t.updateBinaryExpression(Fe,te(C.checkDefined(st(Fe.left,ee,Et))),Fe.operatorToken,C.checkDefined(st(Fe.right,ee,Et))):kn(Fe,ee,e)}function Vt(Fe){let Xt=[];return Qn(Fe.left),Qn(Fe.right),t.inlineExpressions(Xt);function Qn(bo){Nr(bo)&&bo.operatorToken.kind===28?(Qn(bo.left),Qn(bo.right)):(Oe(bo)&&Xt.length>0&&(Y(1,[t.createExpressionStatement(t.inlineExpressions(Xt))]),Xt=[]),Xt.push(C.checkDefined(st(bo,ee,Et))))}}function mn(Fe){let Xt=[];for(const Qn of Fe.elements)Nr(Qn)&&Qn.operatorToken.kind===28?Xt.push(Vt(Qn)):(Oe(Qn)&&Xt.length>0&&(Y(1,[t.createExpressionStatement(t.inlineExpressions(Xt))]),Xt=[]),Xt.push(C.checkDefined(st(Qn,ee,Et))));return t.inlineExpressions(Xt)}function Hn(Fe){const Xt=$t(),Qn=xt();return is(Qn,C.checkDefined(st(Fe.left,ee,Et)),Fe.left),Fe.operatorToken.kind===56?Ds(Xt,Qn,Fe.left):nn(Xt,Qn,Fe.left),is(Qn,C.checkDefined(st(Fe.right,ee,Et)),Fe.right),Pe(Xt),Qn}function gt(Fe){if(Oe(Fe.whenTrue)||Oe(Fe.whenFalse)){const Xt=$t(),Qn=$t(),bo=xt();return Ds(Xt,C.checkDefined(st(Fe.condition,ee,Et)),Fe.condition),is(bo,C.checkDefined(st(Fe.whenTrue,ee,Et)),Fe.whenTrue),Ja(Qn),Pe(Xt),is(bo,C.checkDefined(st(Fe.whenFalse,ee,Et)),Fe.whenFalse),Pe(Qn),bo}return kn(Fe,ee,e)}function tn(Fe){const Xt=$t(),Qn=st(Fe.expression,ee,Et);if(Fe.asteriskToken){const bo=(Za(Fe.expression)&8388608)===0?Tt(r().createValuesHelper(Qn),Fe):Qn;ql(bo,Fe)}else lc(Qn,Fe);return Pe(Xt),Tf(Fe)}function ir(Fe){return Ri(Fe.elements,void 0,void 0,Fe.multiLine)}function Ri(Fe,Xt,Qn,bo){const es=At(Fe);let ts;if(es>0){ts=xt();const sl=Jn(Fe,ee,Et,0,es);is(ts,t.createArrayLiteralExpression(Xt?[Xt,...sl]:sl)),Xt=void 0}const ja=yu(Fe,Nc,[],es);return ts?t.createArrayConcatCall(ts,[t.createArrayLiteralExpression(ja,bo)]):Tt(t.createArrayLiteralExpression(Xt?[Xt,...ja]:ja,bo),Qn);function Nc(sl,wl){if(Oe(wl)&&sl.length>0){const Jl=ts!==void 0;ts||(ts=xt()),is(ts,Jl?t.createArrayConcatCall(ts,[t.createArrayLiteralExpression(sl,bo)]):t.createArrayLiteralExpression(Xt?[Xt,...sl]:sl,bo)),Xt=void 0,sl=[]}return sl.push(C.checkDefined(st(wl,ee,Et))),sl}}function _o(Fe){const Xt=Fe.properties,Qn=Fe.multiLine,bo=At(Xt),es=xt();is(es,t.createObjectLiteralExpression(Jn(Xt,ee,sy,0,bo),Qn));const ts=yu(Xt,ja,[],bo);return ts.push(Qn?au(ps(Tt(t.cloneNode(es),es),es.parent)):es),t.inlineExpressions(ts);function ja(Nc,sl){Oe(sl)&&Nc.length>0&&(ga(t.createExpressionStatement(t.inlineExpressions(Nc))),Nc=[]);const wl=noe(t,Fe,sl,es),Jl=st(wl,ee,Et);return Jl&&(Qn&&au(Jl),Nc.push(Jl)),Nc}}function Ht(Fe){return Oe(Fe.argumentExpression)?t.updateElementAccessExpression(Fe,te(C.checkDefined(st(Fe.expression,ee,Zu))),C.checkDefined(st(Fe.argumentExpression,ee,Et))):kn(Fe,ee,e)}function Qr(Fe){if(!ep(Fe)&&Xe(Fe.arguments,Oe)){const{target:Xt,thisArg:Qn}=t.createCallBinding(Fe.expression,l,d,!0);return jr(Tt(t.createFunctionApplyCall(te(C.checkDefined(st(Xt,ee,Zu))),Qn,Ri(Fe.arguments)),Fe),Fe)}return kn(Fe,ee,e)}function go(Fe){if(Xe(Fe.arguments,Oe)){const{target:Xt,thisArg:Qn}=t.createCallBinding(t.createPropertyAccessExpression(Fe.expression,"bind"),l);return jr(Tt(t.createNewExpression(t.createFunctionApplyCall(te(C.checkDefined(st(Xt,ee,Et))),Qn,Ri(Fe.arguments,t.createVoidZero())),void 0,[]),Fe),Fe)}return kn(Fe,ee,e)}function Ci(Fe,Xt=0){const Qn=Fe.length;for(let bo=Xt;bo<Qn;bo++)Ur(Fe[bo])}function Cr(Fe){ia(Fe)?Ci(Fe.statements):Ur(Fe)}function Ur(Fe){const Xt=R;R||(R=Oe(Fe)),Qe(Fe),R=Xt}function Qe(Fe){switch(Fe.kind){case 242:return It(Fe);case 245:return hn(Fe);case 246:return di(Fe);case 247:return Ki(Fe);case 248:return Da(Fe);case 249:return qo(Fe);case 250:return Bt(Fe);case 252:return _t(Fe);case 253:return We(Fe);case 254:return dt(Fe);case 255:return He(Fe);case 256:return Ct(Fe);case 257:return Wt(Fe);case 258:return Zt(Fe);case 259:return Rr(Fe);default:return ga(st(Fe,ee,Gi))}}function It(Fe){Oe(Fe)?Ci(Fe.statements):ga(st(Fe,ee,Gi))}function hn(Fe){ga(st(Fe,ee,Gi))}function pr(Fe){for(const ts of Fe.declarations){const ja=t.cloneNode(ts.name);Ic(ja,ts.name),l(ja)}const Xt=gM(Fe),Qn=Xt.length;let bo=0,es=[];for(;bo<Qn;){for(let ts=bo;ts<Qn;ts++){const ja=Xt[ts];if(Oe(ja.initializer)&&es.length>0)break;es.push(oi(ja))}es.length&&(ga(t.createExpressionStatement(t.inlineExpressions(es))),bo+=es.length,es=[])}}function oi(Fe){return Ha(t.createAssignment(Ha(t.cloneNode(Fe.name),Fe.name),C.checkDefined(st(Fe.initializer,ee,Et))),Fe)}function di(Fe){if(Oe(Fe))if(Oe(Fe.thenStatement)||Oe(Fe.elseStatement)){const Xt=$t(),Qn=Fe.elseStatement?$t():void 0;Ds(Fe.elseStatement?Qn:Xt,C.checkDefined(st(Fe.expression,ee,Et)),Fe.expression),Cr(Fe.thenStatement),Fe.elseStatement&&(Ja(Xt),Pe(Qn),Cr(Fe.elseStatement)),Pe(Xt)}else ga(st(Fe,ee,Gi));else ga(st(Fe,ee,Gi))}function Ki(Fe){if(Oe(Fe)){const Xt=$t(),Qn=$t();Ft(Xt),Pe(Qn),Cr(Fe.statement),Pe(Xt),nn(Qn,C.checkDefined(st(Fe.expression,ee,Et))),bn()}else ga(st(Fe,ee,Gi))}function Zo(Fe){return R?(vn(),Fe=kn(Fe,ee,e),bn(),Fe):kn(Fe,ee,e)}function Da(Fe){if(Oe(Fe)){const Xt=$t(),Qn=Ft(Xt);Pe(Xt),Ds(Qn,C.checkDefined(st(Fe.expression,ee,Et))),Cr(Fe.statement),Ja(Xt),bn()}else ga(st(Fe,ee,Gi))}function Pn(Fe){return R?(vn(),Fe=kn(Fe,ee,e),bn(),Fe):kn(Fe,ee,e)}function qo(Fe){if(Oe(Fe)){const Xt=$t(),Qn=$t(),bo=Ft(Qn);if(Fe.initializer){const es=Fe.initializer;_d(es)?pr(es):ga(Tt(t.createExpressionStatement(C.checkDefined(st(es,ee,Et))),es))}Pe(Xt),Fe.condition&&Ds(bo,C.checkDefined(st(Fe.condition,ee,Et))),Cr(Fe.statement),Pe(Qn),Fe.incrementor&&ga(Tt(t.createExpressionStatement(C.checkDefined(st(Fe.incrementor,ee,Et))),Fe.incrementor)),Ja(Xt),bn()}else ga(st(Fe,ee,Gi))}function at(Fe){R&&vn();const Xt=Fe.initializer;if(Xt&&_d(Xt)){for(const bo of Xt.declarations)l(bo.name);const Qn=gM(Xt);Fe=t.updateForStatement(Fe,Qn.length>0?t.inlineExpressions(Gt(Qn,oi)):void 0,st(Fe.condition,ee,Et),st(Fe.incrementor,ee,Et),Bu(Fe.statement,ee,e))}else Fe=kn(Fe,ee,e);return R&&bn(),Fe}function Bt(Fe){if(Oe(Fe)){const Xt=xt(),Qn=xt(),bo=xt(),es=t.createLoopVariable(),ts=Fe.initializer;l(es),is(Xt,C.checkDefined(st(Fe.expression,ee,Et))),is(Qn,t.createArrayLiteralExpression()),ga(t.createForInStatement(bo,Xt,t.createExpressionStatement(t.createCallExpression(t.createPropertyAccessExpression(Qn,"push"),void 0,[bo])))),is(es,t.createNumericLiteral(0));const ja=$t(),Nc=$t(),sl=Ft(Nc);Pe(ja),Ds(sl,t.createLessThan(es,t.createPropertyAccessExpression(Qn,"length"))),is(bo,t.createElementAccessExpression(Qn,es)),Ds(Nc,t.createBinaryExpression(bo,103,Xt));let wl;if(_d(ts)){for(const Jl of ts.declarations)l(Jl.name);wl=t.cloneNode(ts.declarations[0].name)}else wl=C.checkDefined(st(ts,ee,Et)),C.assert(Zu(wl));is(wl,bo),Cr(Fe.statement),Pe(Nc),ga(t.createExpressionStatement(t.createPostfixIncrement(es))),Ja(ja),bn()}else ga(st(Fe,ee,Gi))}function ce(Fe){R&&vn();const Xt=Fe.initializer;if(_d(Xt)){for(const Qn of Xt.declarations)l(Qn.name);Fe=t.updateForInStatement(Fe,Xt.declarations[0].name,C.checkDefined(st(Fe.expression,ee,Et)),C.checkDefined(st(Fe.statement,ee,Gi,t.liftToBlock)))}else Fe=kn(Fe,ee,e);return R&&bn(),Fe}function _t(Fe){const Xt=zo(Fe.label?Yr(Fe.label):void 0);Xt>0?Ja(Xt,Fe):ga(Fe)}function ie(Fe){if(R){const Xt=zo(Fe.label&&Yr(Fe.label));if(Xt>0)return Ma(Xt,Fe)}return kn(Fe,ee,e)}function We(Fe){const Xt=ro(Fe.label?Yr(Fe.label):void 0);Xt>0?Ja(Xt,Fe):ga(Fe)}function it(Fe){if(R){const Xt=ro(Fe.label&&Yr(Fe.label));if(Xt>0)return Ma(Xt,Fe)}return kn(Fe,ee,e)}function dt(Fe){vd(st(Fe.expression,ee,Et),Fe)}function Lt(Fe){return tc(st(Fe.expression,ee,Et),Fe)}function He(Fe){Oe(Fe)?(fr(te(C.checkDefined(st(Fe.expression,ee,Et)))),Cr(Fe.statement),vt()):ga(st(Fe,ee,Gi))}function Ct(Fe){if(Oe(Fe.caseBlock)){const Xt=Fe.caseBlock,Qn=Xt.clauses.length,bo=tr(),es=te(C.checkDefined(st(Fe.expression,ee,Et))),ts=[];let ja=-1;for(let wl=0;wl<Qn;wl++){const Jl=Xt.clauses[wl];ts.push($t()),Jl.kind===298&&ja===-1&&(ja=wl)}let Nc=0,sl=[];for(;Nc<Qn;){let wl=0;for(let Jl=Nc;Jl<Qn;Jl++){const of=Xt.clauses[Jl];if(of.kind===297){if(Oe(of.expression)&&sl.length>0)break;sl.push(t.createCaseClause(C.checkDefined(st(of.expression,ee,Et)),[Ma(ts[Jl],of.expression)]))}else wl++}sl.length&&(ga(t.createSwitchStatement(es,t.createCaseBlock(sl))),Nc+=sl.length,sl=[]),wl>0&&(Nc+=wl,wl=0)}ja>=0?Ja(ts[ja]):Ja(bo);for(let wl=0;wl<Qn;wl++)Pe(ts[wl]),Ci(Xt.clauses[wl].statements);kt()}else ga(st(Fe,ee,Gi))}function Nt(Fe){return R&&Pr(),Fe=kn(Fe,ee,e),R&&kt(),Fe}function Wt(Fe){Oe(Fe)?(ea(Yr(Fe.label)),Cr(Fe.statement),wo()):ga(st(Fe,ee,Gi))}function rt(Fe){return R&&ti(Yr(Fe.label)),Fe=kn(Fe,ee,e),R&&wo(),Fe}function Zt(Fe){var Xt;Gs(C.checkDefined(st((Xt=Fe.expression)!=null?Xt:t.createVoidZero(),ee,Et)),Fe)}function Rr(Fe){Oe(Fe)?(Rt(),Cr(Fe.tryBlock),Fe.catchClause&&(zt(Fe.catchClause.variableDeclaration),Cr(Fe.catchClause.block)),Fe.finallyBlock&&(Yt(),Cr(Fe.finallyBlock)),An()):ga(kn(Fe,ee,e))}function Oe(Fe){return!!Fe&&(Fe.transformFlags&1048576)!==0}function At(Fe){const Xt=Fe.length;for(let Qn=0;Qn<Xt;Qn++)if(Oe(Fe[Qn]))return Qn;return-1}function ye(Fe,Xt){return Xt=m(Fe,Xt),Fe===1?B(Xt):Xt}function B(Fe){return Je(Fe)?xe(Fe):Fe}function xe(Fe){if(!yl(Fe)&&y&&y.has(Yr(Fe))){const Xt=Tl(Fe);if(Je(Xt)&&Xt.parent){const Qn=_.getReferencedValueDeclaration(Xt);if(Qn){const bo=E[Gu(Qn)];if(bo){const es=ps(Tt(t.cloneNode(bo),bo),bo.parent);return Ha(es,Fe),Ic(es,Fe),es}}}}return Fe}function te(Fe){if(yl(Fe)||Za(Fe)&8192)return Fe;const Xt=t.createTempVariable(l);return is(Xt,Fe,Fe),Xt}function xt(Fe){const Xt=Fe?t.createUniqueName(Fe):t.createTempVariable(void 0);return l(Xt),Xt}function $t(){O||(O=[]);const Fe=j;return j++,O[Fe]=-1,Fe}function Pe(Fe){C.assert(O!==void 0,"No labels were defined."),O[Fe]=K?K.length:0}function yt(Fe){N||(N=[],k=[],M=[],F=[]);const Xt=k.length;return k[Xt]=0,M[Xt]=K?K.length:0,N[Xt]=Fe,F.push(Fe),Xt}function jt(){const Fe=or();if(Fe===void 0)return C.fail("beginBlock was never called.");const Xt=k.length;return k[Xt]=1,M[Xt]=K?K.length:0,N[Xt]=Fe,F.pop(),Fe}function or(){return rl(F)}function $n(){const Fe=or();return Fe&&Fe.kind}function fr(Fe){const Xt=$t(),Qn=$t();Pe(Xt),yt({kind:1,expression:Fe,startLabel:Xt,endLabel:Qn})}function vt(){C.assert($n()===1);const Fe=jt();Pe(Fe.endLabel)}function Rt(){const Fe=$t(),Xt=$t();return Pe(Fe),yt({kind:0,state:0,startLabel:Fe,endLabel:Xt}),Oo(),Xt}function zt(Fe){C.assert($n()===0);let Xt;if(yl(Fe.name))Xt=Fe.name,l(Fe.name);else{const ts=Yr(Fe.name);Xt=xt(ts),y||(y=new Map,E=[],e.enableSubstitution(80)),y.set(ts,!0),E[Gu(Fe)]=Xt}const Qn=or();C.assert(Qn.state<1);const bo=Qn.endLabel;Ja(bo);const es=$t();Pe(es),Qn.state=1,Qn.catchVariable=Xt,Qn.catchLabel=es,is(Xt,t.createCallExpression(t.createPropertyAccessExpression(he,"sent"),void 0,[])),Oo()}function Yt(){C.assert($n()===0);const Fe=or();C.assert(Fe.state<2);const Xt=Fe.endLabel;Ja(Xt);const Qn=$t();Pe(Qn),Fe.state=2,Fe.finallyLabel=Qn}function An(){C.assert($n()===0);const Fe=jt();Fe.state<2?Ja(Fe.endLabel):Ie(),Pe(Fe.endLabel),Oo(),Fe.state=3}function vn(){yt({kind:3,isScript:!0,breakLabel:-1,continueLabel:-1})}function Ft(Fe){const Xt=$t();return yt({kind:3,isScript:!1,breakLabel:Xt,continueLabel:Fe}),Xt}function bn(){C.assert($n()===3);const Fe=jt(),Xt=Fe.breakLabel;Fe.isScript||Pe(Xt)}function Pr(){yt({kind:2,isScript:!0,breakLabel:-1})}function tr(){const Fe=$t();return yt({kind:2,isScript:!1,breakLabel:Fe}),Fe}function kt(){C.assert($n()===2);const Fe=jt(),Xt=Fe.breakLabel;Fe.isScript||Pe(Xt)}function ti(Fe){yt({kind:4,isScript:!0,labelText:Fe,breakLabel:-1})}function ea(Fe){const Xt=$t();yt({kind:4,isScript:!1,labelText:Fe,breakLabel:Xt})}function wo(){C.assert($n()===4);const Fe=jt();Fe.isScript||Pe(Fe.breakLabel)}function vo(Fe){return Fe.kind===2||Fe.kind===3}function fs(Fe){return Fe.kind===4}function xs(Fe){return Fe.kind===3}function ms(Fe,Xt){for(let Qn=Xt;Qn>=0;Qn--){const bo=F[Qn];if(fs(bo)){if(bo.labelText===Fe)return!0}else break}return!1}function ro(Fe){if(F)if(Fe)for(let Xt=F.length-1;Xt>=0;Xt--){const Qn=F[Xt];if(fs(Qn)&&Qn.labelText===Fe)return Qn.breakLabel;if(vo(Qn)&&ms(Fe,Xt-1))return Qn.breakLabel}else for(let Xt=F.length-1;Xt>=0;Xt--){const Qn=F[Xt];if(vo(Qn))return Qn.breakLabel}return 0}function zo(Fe){if(F)if(Fe)for(let Xt=F.length-1;Xt>=0;Xt--){const Qn=F[Xt];if(xs(Qn)&&ms(Fe,Xt-1))return Qn.continueLabel}else for(let Xt=F.length-1;Xt>=0;Xt--){const Qn=F[Xt];if(xs(Qn))return Qn.continueLabel}return 0}function bc(Fe){if(Fe!==void 0&&Fe>0){G===void 0&&(G=[]);const Xt=t.createNumericLiteral(Number.MAX_SAFE_INTEGER);return G[Fe]===void 0?G[Fe]=[Xt]:G[Fe].push(Xt),Xt}return t.createOmittedExpression()}function tl(Fe){const Xt=t.createNumericLiteral(Fe);return WM(Xt,3,wqe(Fe)),Xt}function Ma(Fe,Xt){return C.assertLessThan(0,Fe,"Invalid label"),Tt(t.createReturnStatement(t.createArrayLiteralExpression([tl(3),bc(Fe)])),Xt)}function tc(Fe,Xt){return Tt(t.createReturnStatement(t.createArrayLiteralExpression(Fe?[tl(2),Fe]:[tl(2)])),Xt)}function Tf(Fe){return Tt(t.createCallExpression(t.createPropertyAccessExpression(he,"sent"),void 0,[]),Fe)}function Oo(){Y(0)}function ga(Fe){Fe?Y(1,[Fe]):Oo()}function is(Fe,Xt,Qn){Y(2,[Fe,Xt],Qn)}function Ja(Fe,Xt){Y(3,[Fe],Xt)}function nn(Fe,Xt,Qn){Y(4,[Fe,Xt],Qn)}function Ds(Fe,Xt,Qn){Y(5,[Fe,Xt],Qn)}function ql(Fe,Xt){Y(7,[Fe],Xt)}function lc(Fe,Xt){Y(6,[Fe],Xt)}function vd(Fe,Xt){Y(8,[Fe],Xt)}function Gs(Fe,Xt){Y(9,[Fe],Xt)}function Ie(){Y(10)}function Y(Fe,Xt,Qn){K===void 0&&(K=[],Q=[],J=[]),O===void 0&&Pe($t());const bo=K.length;K[bo]=Fe,Q[bo]=Xt,J[bo]=Qn}function ut(){re=0,q=0,ue=void 0,de=!1,ge=!1,Ae=void 0,Re=void 0,$=void 0,ve=void 0,je=void 0;const Fe=Jt();return r().createGeneratorHelper(Dr(t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,he)],void 0,t.createBlock(Fe,Fe.length>0)),1048576))}function Jt(){if(K){for(let Fe=0;Fe<K.length;Fe++)bs(Fe);dr(K.length)}else dr(0);if(Ae){const Fe=t.createPropertyAccessExpression(he,"label"),Xt=t.createSwitchStatement(Fe,t.createCaseBlock(Ae));return[au(Xt)]}return Re||[]}function fn(){Re&&(xr(!de),de=!1,ge=!1,q++)}function dr(Fe){si(Fe)&&(Bn(Fe),je=void 0,zc(void 0,void 0)),Re&&Ae&&xr(!1),Zi()}function si(Fe){if(!ge)return!0;if(!O||!G)return!1;for(let Xt=0;Xt<O.length;Xt++)if(O[Xt]===Fe&&G[Xt])return!0;return!1}function xr(Fe){if(Ae||(Ae=[]),Re){if(je)for(let Xt=je.length-1;Xt>=0;Xt--){const Qn=je[Xt];Re=[t.createWithStatement(Qn.expression,t.createBlock(Re))]}if(ve){const{startLabel:Xt,catchLabel:Qn,finallyLabel:bo,endLabel:es}=ve;Re.unshift(t.createExpressionStatement(t.createCallExpression(t.createPropertyAccessExpression(t.createPropertyAccessExpression(he,"trys"),"push"),void 0,[t.createArrayLiteralExpression([bc(Xt),bc(Qn),bc(bo),bc(es)])]))),ve=void 0}Fe&&Re.push(t.createExpressionStatement(t.createAssignment(t.createPropertyAccessExpression(he,"label"),t.createNumericLiteral(q+1))))}Ae.push(t.createCaseClause(t.createNumericLiteral(q),Re||[])),Re=void 0}function Bn(Fe){if(O)for(let Xt=0;Xt<O.length;Xt++)O[Xt]===Fe&&(fn(),ue===void 0&&(ue=[]),ue[q]===void 0?ue[q]=[Xt]:ue[q].push(Xt))}function Zi(){if(G!==void 0&&ue!==void 0)for(let Fe=0;Fe<ue.length;Fe++){const Xt=ue[Fe];if(Xt!==void 0)for(const Qn of Xt){const bo=G[Qn];if(bo!==void 0)for(const es of bo)es.text=String(Fe)}}}function Xi(Fe){if(N)for(;re<k.length&&M[re]<=Fe;re++){const Xt=N[re],Qn=k[re];switch(Xt.kind){case 0:Qn===0?($||($=[]),Re||(Re=[]),$.push(ve),ve=Xt):Qn===1&&(ve=$.pop());break;case 1:Qn===0?(je||(je=[]),je.push(Xt)):Qn===1&&je.pop();break}}}function bs(Fe){if(Bn(Fe),Xi(Fe),de)return;de=!1,ge=!1;const Xt=K[Fe];if(Xt===0)return;if(Xt===10)return du();const Qn=Q[Fe];if(Xt===1)return Ca(Qn[0]);const bo=J[Fe];switch(Xt){case 2:return ml(Qn[0],Qn[1],bo);case 3:return ol(Qn[0],bo);case 4:return al(Qn[0],Qn[1],bo);case 5:return Iu(Qn[0],Qn[1],bo);case 6:return xu(Qn[0],bo);case 7:return qd(Qn[0],bo);case 8:return zc(Qn[0],bo);case 9:return Cc(Qn[0],bo)}}function Ca(Fe){Fe&&(Re?Re.push(Fe):Re=[Fe])}function ml(Fe,Xt,Qn){Ca(Tt(t.createExpressionStatement(t.createAssignment(Fe,Xt)),Qn))}function Cc(Fe,Xt){de=!0,ge=!0,Ca(Tt(t.createThrowStatement(Fe),Xt))}function zc(Fe,Xt){de=!0,ge=!0,Ca(Dr(Tt(t.createReturnStatement(t.createArrayLiteralExpression(Fe?[tl(2),Fe]:[tl(2)])),Xt),768))}function ol(Fe,Xt){de=!0,Ca(Dr(Tt(t.createReturnStatement(t.createArrayLiteralExpression([tl(3),bc(Fe)])),Xt),768))}function al(Fe,Xt,Qn){Ca(Dr(t.createIfStatement(Xt,Dr(Tt(t.createReturnStatement(t.createArrayLiteralExpression([tl(3),bc(Fe)])),Qn),768)),1))}function Iu(Fe,Xt,Qn){Ca(Dr(t.createIfStatement(t.createLogicalNot(Xt),Dr(Tt(t.createReturnStatement(t.createArrayLiteralExpression([tl(3),bc(Fe)])),Qn),768)),1))}function xu(Fe,Xt){de=!0,Ca(Dr(Tt(t.createReturnStatement(t.createArrayLiteralExpression(Fe?[tl(4),Fe]:[tl(4)])),Xt),768))}function qd(Fe,Xt){de=!0,Ca(Dr(Tt(t.createReturnStatement(t.createArrayLiteralExpression([tl(5),Fe])),Xt),768))}function du(){de=!0,Ca(t.createReturnStatement(t.createArrayLiteralExpression([tl(7)])))}}function sH(e){function t(ye){switch(ye){case 2:return Q;case 3:return J;default:return K}}const{factory:r,getEmitHelperFactory:i,startLexicalEnvironment:o,endLexicalEnvironment:s,hoistVariableDeclaration:l}=e,u=e.getCompilerOptions(),d=e.getEmitResolver(),_=e.getEmitHost(),m=Va(u),y=Tu(u),E=e.onSubstituteNode,A=e.onEmitNode;e.onSubstituteNode=Ct,e.onEmitNode=He,e.enableSubstitution(214),e.enableSubstitution(216),e.enableSubstitution(80),e.enableSubstitution(227),e.enableSubstitution(305),e.enableEmitNotification(308);const R=[];let N,M,k;const F=[];let O;return hh(e,G);function G(ye){if(ye.isDeclarationFile||!(JR(ye,u)||ye.transformFlags&8388608||zf(ye)&&z6(u)&&u.outFile))return ye;N=ye,M=ZU(e,ye),R[Gu(ye)]=M,u.rewriteRelativeImportExtensions&&c4(ye,!1,!1,te=>{(!ds(te.arguments[0])||Sk(te.arguments[0].text,u))&&(k=jn(k,te))});const xe=t(y)(ye);return N=void 0,M=void 0,O=!1,xe}function j(){return Ig(N.fileName)&&N.commonJsModuleIndicator&&(!N.externalModuleIndicator||N.externalModuleIndicator===!0)?!1:!!(!M.exportEquals&&Wc(N))}function K(ye){o();const B=[],xe=Vd(u,"alwaysStrict")||Wc(N),te=r.copyPrologue(ye.statements,B,xe&&!zf(ye),de);if(j()&&jn(B,We()),bt(M.exportedNames))for(let Pe=0;Pe<M.exportedNames.length;Pe+=50)jn(B,r.createExpressionStatement(yu(M.exportedNames.slice(Pe,Pe+50),(yt,jt)=>jt.kind===11?r.createAssignment(r.createElementAccessExpression(r.createIdentifier("exports"),r.createStringLiteral(jt.text)),yt):r.createAssignment(r.createPropertyAccessExpression(r.createIdentifier("exports"),r.createIdentifier(Yr(jt))),yt),r.createVoidZero())));for(const $t of M.exportedFunctions)ce(B,$t);jn(B,st(M.externalHelpersImportDeclaration,de,Gi)),$r(B,Jn(ye.statements,de,Gi,te)),ue(B,!1),yg(B,s());const xt=r.updateSourceFile(ye,Tt(r.createNodeArray(B),ye.statements));return Dg(xt,e.readEmitHelpers()),xt}function Q(ye){const B=r.createIdentifier("define"),xe=Iw(r,ye,_,u),te=zf(ye)&&ye,{aliasedModuleNames:xt,unaliasedModuleNames:$t,importAliasNames:Pe}=he(ye,!0),yt=r.updateSourceFile(ye,Tt(r.createNodeArray([r.createExpressionStatement(r.createCallExpression(B,void 0,[...xe?[xe]:[],r.createArrayLiteralExpression(te?se:[r.createStringLiteral("require"),r.createStringLiteral("exports"),...xt,...$t]),te?te.statements.length?te.statements[0].expression:r.createObjectLiteralExpression():r.createFunctionExpression(void 0,void 0,void 0,void 0,[r.createParameterDeclaration(void 0,void 0,"require"),r.createParameterDeclaration(void 0,void 0,"exports"),...Pe],void 0,q(ye))]))]),ye.statements));return Dg(yt,e.readEmitHelpers()),yt}function J(ye){const{aliasedModuleNames:B,unaliasedModuleNames:xe,importAliasNames:te}=he(ye,!1),xt=Iw(r,ye,_,u),$t=r.createFunctionExpression(void 0,void 0,void 0,void 0,[r.createParameterDeclaration(void 0,void 0,"factory")],void 0,Tt(r.createBlock([r.createIfStatement(r.createLogicalAnd(r.createTypeCheck(r.createIdentifier("module"),"object"),r.createTypeCheck(r.createPropertyAccessExpression(r.createIdentifier("module"),"exports"),"object")),r.createBlock([r.createVariableStatement(void 0,[r.createVariableDeclaration("v",void 0,void 0,r.createCallExpression(r.createIdentifier("factory"),void 0,[r.createIdentifier("require"),r.createIdentifier("exports")]))]),Dr(r.createIfStatement(r.createStrictInequality(r.createIdentifier("v"),r.createIdentifier("undefined")),r.createExpressionStatement(r.createAssignment(r.createPropertyAccessExpression(r.createIdentifier("module"),"exports"),r.createIdentifier("v")))),1)]),r.createIfStatement(r.createLogicalAnd(r.createTypeCheck(r.createIdentifier("define"),"function"),r.createPropertyAccessExpression(r.createIdentifier("define"),"amd")),r.createBlock([r.createExpressionStatement(r.createCallExpression(r.createIdentifier("define"),void 0,[...xt?[xt]:[],r.createArrayLiteralExpression([r.createStringLiteral("require"),r.createStringLiteral("exports"),...B,...xe]),r.createIdentifier("factory")]))])))],!0),void 0)),Pe=r.updateSourceFile(ye,Tt(r.createNodeArray([r.createExpressionStatement(r.createCallExpression($t,void 0,[r.createFunctionExpression(void 0,void 0,void 0,void 0,[r.createParameterDeclaration(void 0,void 0,"require"),r.createParameterDeclaration(void 0,void 0,"exports"),...te],void 0,q(ye))]))]),ye.statements));return Dg(Pe,e.readEmitHelpers()),Pe}function he(ye,B){const xe=[],te=[],xt=[];for(const $t of ye.amdDependencies)$t.name?(xe.push(r.createStringLiteral($t.path)),xt.push(r.createParameterDeclaration(void 0,void 0,$t.name))):te.push(r.createStringLiteral($t.path));for(const $t of M.externalImports){const Pe=ex(r,$t,N,_,d,u),yt=kD(r,$t,N);Pe&&(B&&yt?(Dr(yt,8),xe.push(Pe),xt.push(r.createParameterDeclaration(void 0,void 0,yt))):te.push(Pe))}return{aliasedModuleNames:xe,unaliasedModuleNames:te,importAliasNames:xt}}function re(ye){if(Oc(ye)||fc(ye)||!ex(r,ye,N,_,d,u))return;const B=kD(r,ye,N),xe=Ci(ye,B);if(xe!==B)return r.createExpressionStatement(r.createAssignment(B,xe))}function q(ye){o();const B=[],xe=r.copyPrologue(ye.statements,B,!0,de);j()&&jn(B,We()),bt(M.exportedNames)&&jn(B,r.createExpressionStatement(yu(M.exportedNames,(xt,$t)=>$t.kind===11?r.createAssignment(r.createElementAccessExpression(r.createIdentifier("exports"),r.createStringLiteral($t.text)),xt):r.createAssignment(r.createPropertyAccessExpression(r.createIdentifier("exports"),r.createIdentifier(Yr($t))),xt),r.createVoidZero())));for(const xt of M.exportedFunctions)ce(B,xt);jn(B,st(M.externalHelpersImportDeclaration,de,Gi)),y===2&&$r(B,Hi(M.externalImports,re)),$r(B,Jn(ye.statements,de,Gi,xe)),ue(B,!0),yg(B,s());const te=r.createBlock(B,!0);return O&&BI(te,Oqe),te}function ue(ye,B){if(M.exportEquals){const xe=st(M.exportEquals.expression,Re,Et);if(xe)if(B){const te=r.createReturnStatement(xe);Tt(te,M.exportEquals),Dr(te,3840),ye.push(te)}else{const te=r.createExpressionStatement(r.createAssignment(r.createPropertyAccessExpression(r.createIdentifier("module"),"exports"),xe));Tt(te,M.exportEquals),Dr(te,3072),ye.push(te)}}}function de(ye){switch(ye.kind){case 273:return Cr(ye);case 272:return Qe(ye);case 279:return It(ye);case 278:return hn(ye);default:return ge(ye)}}function ge(ye){switch(ye.kind){case 244:return di(ye);case 263:return pr(ye);case 264:return oi(ye);case 249:return be(ye,!0);case 250:return ee(ye);case 251:return Se(ye);case 247:return Ne(ye);case 248:return ze(ye);case 257:return lt(ye);case 255:return le(ye);case 246:return De(ye);case 256:return _e(ye);case 270:return Ve(ye);case 297:return Ge(ye);case 298:return Be(ye);case 259:return ot(ye);case 300:return Ot(ye);case 242:return Vt(ye);default:return Re(ye)}}function Ae(ye,B){if(!(ye.transformFlags&276828160)&&!(k!=null&&k.length))return ye;switch(ye.kind){case 249:return be(ye,!1);case 245:return mn(ye);case 218:return Hn(ye,B);case 356:return gt(ye,B);case 214:const xe=ye===Sc(k);if(xe&&k.shift(),ep(ye)&&_.shouldTransformImportCall(N))return Ri(ye,xe);if(xe)return ir(ye);break;case 227:if(sv(ye))return je(ye,B);break;case 225:case 226:return tn(ye,B)}return kn(ye,Re,e)}function Re(ye){return Ae(ye,!1)}function $(ye){return Ae(ye,!0)}function ve(ye){if(za(ye))for(const B of ye.properties)switch(B.kind){case 304:if(ve(B.initializer))return!0;break;case 305:if(ve(B.name))return!0;break;case 306:if(ve(B.expression))return!0;break;case 175:case 178:case 179:return!1;default:C.assertNever(B,"Unhandled object member kind")}else if(Dd(ye)){for(const B of ye.elements)if(Jf(B)){if(ve(B.expression))return!0}else if(ve(B))return!0}else if(Je(ye))return et(At(ye))>(L4(ye)?1:0);return!1}function je(ye,B){return ve(ye.left)?w1(ye,Re,e,0,!B,Ki):kn(ye,Re,e)}function be(ye,B){if(B&&ye.initializer&&_d(ye.initializer)&&!(ye.initializer.flags&7)){const xe=at(void 0,ye.initializer,!1);if(xe){const te=[],xt=st(ye.initializer,$,_d),$t=r.createVariableStatement(void 0,xt);te.push($t),$r(te,xe);const Pe=st(ye.condition,Re,Et),yt=st(ye.incrementor,$,Et),jt=Bu(ye.statement,B?ge:Re,e);return te.push(r.updateForStatement(ye,void 0,Pe,yt,jt)),te}}return r.updateForStatement(ye,st(ye.initializer,$,Wf),st(ye.condition,Re,Et),st(ye.incrementor,$,Et),Bu(ye.statement,B?ge:Re,e))}function ee(ye){if(_d(ye.initializer)&&!(ye.initializer.flags&7)){const B=at(void 0,ye.initializer,!0);if(bt(B)){const xe=st(ye.initializer,$,Wf),te=st(ye.expression,Re,Et),xt=Bu(ye.statement,ge,e),$t=ia(xt)?r.updateBlock(xt,[...B,...xt.statements]):r.createBlock([...B,xt],!0);return r.updateForInStatement(ye,xe,te,$t)}}return r.updateForInStatement(ye,st(ye.initializer,$,Wf),st(ye.expression,Re,Et),Bu(ye.statement,ge,e))}function Se(ye){if(_d(ye.initializer)&&!(ye.initializer.flags&7)){const B=at(void 0,ye.initializer,!0),xe=st(ye.initializer,$,Wf),te=st(ye.expression,Re,Et);let xt=Bu(ye.statement,ge,e);return bt(B)&&(xt=ia(xt)?r.updateBlock(xt,[...B,...xt.statements]):r.createBlock([...B,xt],!0)),r.updateForOfStatement(ye,ye.awaitModifier,xe,te,xt)}return r.updateForOfStatement(ye,ye.awaitModifier,st(ye.initializer,$,Wf),st(ye.expression,Re,Et),Bu(ye.statement,ge,e))}function Ne(ye){return r.updateDoStatement(ye,Bu(ye.statement,ge,e),st(ye.expression,Re,Et))}function ze(ye){return r.updateWhileStatement(ye,st(ye.expression,Re,Et),Bu(ye.statement,ge,e))}function lt(ye){var B;return r.updateLabeledStatement(ye,ye.label,(B=st(ye.statement,ge,Gi,r.liftToBlock))!=null?B:Tt(r.createEmptyStatement(),ye.statement))}function le(ye){return r.updateWithStatement(ye,st(ye.expression,Re,Et),C.checkDefined(st(ye.statement,ge,Gi,r.liftToBlock)))}function De(ye){var B;return r.updateIfStatement(ye,st(ye.expression,Re,Et),(B=st(ye.thenStatement,ge,Gi,r.liftToBlock))!=null?B:r.createBlock([]),st(ye.elseStatement,ge,Gi,r.liftToBlock))}function _e(ye){return r.updateSwitchStatement(ye,st(ye.expression,Re,Et),C.checkDefined(st(ye.caseBlock,ge,qM)))}function Ve(ye){return r.updateCaseBlock(ye,Jn(ye.clauses,ge,RF))}function Ge(ye){return r.updateCaseClause(ye,st(ye.expression,Re,Et),Jn(ye.statements,ge,Gi))}function Be(ye){return kn(ye,ge,e)}function ot(ye){return kn(ye,ge,e)}function Ot(ye){return r.updateCatchClause(ye,ye.variableDeclaration,C.checkDefined(st(ye.block,ge,ia)))}function Vt(ye){return ye=kn(ye,ge,e),ye}function mn(ye){return r.updateExpressionStatement(ye,st(ye.expression,$,Et))}function Hn(ye,B){return r.updateParenthesizedExpression(ye,st(ye.expression,B?$:Re,Et))}function gt(ye,B){return r.updatePartiallyEmittedExpression(ye,st(ye.expression,B?$:Re,Et))}function tn(ye,B){if((ye.operator===46||ye.operator===47)&&Je(ye.operand)&&!yl(ye.operand)&&!yy(ye.operand)&&!DV(ye.operand)){const xe=At(ye.operand);if(xe){let te,xt=st(ye.operand,Re,Et);$0(ye)?xt=r.updatePrefixUnaryExpression(ye,xt):(xt=r.updatePostfixUnaryExpression(ye,xt),B||(te=r.createTempVariable(l),xt=r.createAssignment(te,xt),Tt(xt,ye)),xt=r.createComma(xt,r.cloneNode(ye.operand)),Tt(xt,ye));for(const $t of xe)F[ls(xt)]=!0,xt=dt($t,xt),Tt(xt,ye);return te&&(F[ls(xt)]=!0,xt=r.createComma(xt,te),Tt(xt,ye)),xt}}return kn(ye,Re,e)}function ir(ye){return r.updateCallExpression(ye,ye.expression,void 0,Jn(ye.arguments,B=>B===ye.arguments[0]?ds(B)?sx(B,u):i().createRewriteRelativeImportExtensionsHelper(B):Re(B),Et))}function Ri(ye,B){if(y===0&&m>=7)return kn(ye,Re,e);const xe=ex(r,ye,N,_,d,u),te=st(Sc(ye.arguments),Re,Et),xt=xe&&(!te||!Oa(te)||te.text!==xe.text)?xe:te&&B?Oa(te)?sx(te,u):i().createRewriteRelativeImportExtensionsHelper(te):te,$t=!!(ye.transformFlags&16384);switch(u.module){case 2:return Ht(xt,$t);case 3:return _o(xt!=null?xt:r.createVoidZero(),$t);case 1:default:return Qr(xt)}}function _o(ye,B){if(O=!0,KS(ye)){const xe=yl(ye)?ye:Oa(ye)?r.createStringLiteralFromNode(ye):Dr(Tt(r.cloneNode(ye),ye),3072);return r.createConditionalExpression(r.createIdentifier("__syncRequire"),void 0,Qr(ye),void 0,Ht(xe,B))}else{const xe=r.createTempVariable(l);return r.createComma(r.createAssignment(xe,ye),r.createConditionalExpression(r.createIdentifier("__syncRequire"),void 0,Qr(xe,!0),void 0,Ht(xe,B)))}}function Ht(ye,B){const xe=r.createUniqueName("resolve"),te=r.createUniqueName("reject"),xt=[r.createParameterDeclaration(void 0,void 0,xe),r.createParameterDeclaration(void 0,void 0,te)],$t=r.createBlock([r.createExpressionStatement(r.createCallExpression(r.createIdentifier("require"),void 0,[r.createArrayLiteralExpression([ye||r.createOmittedExpression()]),xe,te]))]);let Pe;m>=2?Pe=r.createArrowFunction(void 0,void 0,xt,void 0,void 0,$t):(Pe=r.createFunctionExpression(void 0,void 0,void 0,void 0,xt,void 0,$t),B&&Dr(Pe,16));const yt=r.createNewExpression(r.createIdentifier("Promise"),void 0,[Pe]);return n_(u)?r.createCallExpression(r.createPropertyAccessExpression(yt,r.createIdentifier("then")),void 0,[i().createImportStarCallbackHelper()]):yt}function Qr(ye,B){const xe=ye&&!H_(ye)&&!B,te=r.createCallExpression(r.createPropertyAccessExpression(r.createIdentifier("Promise"),"resolve"),void 0,xe?m>=2?[r.createTemplateExpression(r.createTemplateHead(""),[r.createTemplateSpan(ye,r.createTemplateTail(""))])]:[r.createCallExpression(r.createPropertyAccessExpression(r.createStringLiteral(""),"concat"),void 0,[ye])]:[]);let xt=r.createCallExpression(r.createIdentifier("require"),void 0,xe?[r.createIdentifier("s")]:ye?[ye]:[]);n_(u)&&(xt=i().createImportStarHelper(xt));const $t=xe?[r.createParameterDeclaration(void 0,void 0,"s")]:[];let Pe;return m>=2?Pe=r.createArrowFunction(void 0,void 0,$t,void 0,void 0,xt):Pe=r.createFunctionExpression(void 0,void 0,void 0,void 0,$t,void 0,r.createBlock([r.createReturnStatement(xt)])),r.createCallExpression(r.createPropertyAccessExpression(te,"then"),void 0,[Pe])}function go(ye,B){return!n_(u)||Gm(ye)&2?B:Nae(ye)?i().createImportStarHelper(B):B}function Ci(ye,B){return!n_(u)||Gm(ye)&2?B:g3(ye)?i().createImportStarHelper(B):QU(ye)?i().createImportDefaultHelper(B):B}function Cr(ye){let B;const xe=tD(ye);if(y!==2)if(ye.importClause){const te=[];xe&&!l1(ye)?te.push(r.createVariableDeclaration(r.cloneNode(xe.name),void 0,void 0,Ci(ye,Ur(ye)))):(te.push(r.createVariableDeclaration(r.getGeneratedNameForNode(ye),void 0,void 0,Ci(ye,Ur(ye)))),xe&&l1(ye)&&te.push(r.createVariableDeclaration(r.cloneNode(xe.name),void 0,void 0,r.getGeneratedNameForNode(ye)))),B=jn(B,jr(Tt(r.createVariableStatement(void 0,r.createVariableDeclarationList(te,m>=2?2:0)),ye),ye))}else return jr(Tt(r.createExpressionStatement(Ur(ye)),ye),ye);else xe&&l1(ye)&&(B=jn(B,r.createVariableStatement(void 0,r.createVariableDeclarationList([jr(Tt(r.createVariableDeclaration(r.cloneNode(xe.name),void 0,void 0,r.getGeneratedNameForNode(ye)),ye),ye)],m>=2?2:0))));return B=Da(B,ye),M_(B)}function Ur(ye){const B=ex(r,ye,N,_,d,u),xe=[];return B&&xe.push(sx(B,u)),r.createCallExpression(r.createIdentifier("require"),void 0,xe)}function Qe(ye){C.assert(z0(ye),"import= for internal module references should be handled in an earlier transformer.");let B;return y!==2?fi(ye,32)?B=jn(B,jr(Tt(r.createExpressionStatement(dt(ye.name,Ur(ye))),ye),ye)):B=jn(B,jr(Tt(r.createVariableStatement(void 0,r.createVariableDeclarationList([r.createVariableDeclaration(r.cloneNode(ye.name),void 0,void 0,Ur(ye))],m>=2?2:0)),ye),ye)):fi(ye,32)&&(B=jn(B,jr(Tt(r.createExpressionStatement(dt(r.getExportName(ye),r.getLocalName(ye))),ye),ye))),B=Pn(B,ye),M_(B)}function It(ye){if(!ye.moduleSpecifier)return;const B=r.getGeneratedNameForNode(ye);if(ye.exportClause&&Kf(ye.exportClause)){const xe=[];y!==2&&xe.push(jr(Tt(r.createVariableStatement(void 0,r.createVariableDeclarationList([r.createVariableDeclaration(B,void 0,void 0,Ur(ye))])),ye),ye));for(const te of ye.exportClause.elements){const xt=te.propertyName||te.name,Pe=!!n_(u)&&!(Gm(ye)&2)&&O_(xt)?i().createImportDefaultHelper(B):B,yt=xt.kind===11?r.createElementAccessExpression(Pe,xt):r.createPropertyAccessExpression(Pe,xt);xe.push(jr(Tt(r.createExpressionStatement(dt(te.name.kind===11?r.cloneNode(te.name):r.getExportName(te),yt,void 0,!0)),te),te))}return M_(xe)}else if(ye.exportClause){const xe=[];return xe.push(jr(Tt(r.createExpressionStatement(dt(r.cloneNode(ye.exportClause.name),go(ye,y!==2?Ur(ye):zF(ye)||ye.exportClause.name.kind===11?B:r.createIdentifier(Yr(ye.exportClause.name))))),ye),ye)),M_(xe)}else return jr(Tt(r.createExpressionStatement(i().createExportStarHelper(y!==2?Ur(ye):B)),ye),ye)}function hn(ye){if(!ye.isExportEquals)return it(r.createIdentifier("default"),st(ye.expression,Re,Et),ye,!0)}function pr(ye){let B;return fi(ye,32)?B=jn(B,jr(Tt(r.createFunctionDeclaration(Jn(ye.modifiers,Lt,Ra),ye.asteriskToken,r.getDeclarationName(ye,!0,!0),void 0,Jn(ye.parameters,Re,no),void 0,kn(ye.body,Re,e)),ye),ye)):B=jn(B,kn(ye,Re,e)),M_(B)}function oi(ye){let B;return fi(ye,32)?B=jn(B,jr(Tt(r.createClassDeclaration(Jn(ye.modifiers,Lt,vl),r.getDeclarationName(ye,!0,!0),void 0,Jn(ye.heritageClauses,Re,Gp),Jn(ye.members,Re,vc)),ye),ye)):B=jn(B,kn(ye,Re,e)),B=ce(B,ye),M_(B)}function di(ye){let B,xe,te;if(fi(ye,32)){let xt,$t=!1;for(const Pe of ye.declarationList.declarations)if(Je(Pe.name)&&yy(Pe.name))if(xt||(xt=Jn(ye.modifiers,Lt,Ra)),Pe.initializer){const yt=r.updateVariableDeclaration(Pe,Pe.name,void 0,void 0,dt(Pe.name,st(Pe.initializer,Re,Et)));xe=jn(xe,yt)}else xe=jn(xe,Pe);else if(Pe.initializer)if(!na(Pe.name)&&(Zs(Pe.initializer)||Ks(Pe.initializer)||uc(Pe.initializer))){const yt=r.createAssignment(Tt(r.createPropertyAccessExpression(r.createIdentifier("exports"),Pe.name),Pe.name),r.createIdentifier(Bf(Pe.name))),jt=r.createVariableDeclaration(Pe.name,Pe.exclamationToken,Pe.type,st(Pe.initializer,Re,Et));xe=jn(xe,jt),te=jn(te,yt),$t=!0}else te=jn(te,Zo(Pe));if(xe&&(B=jn(B,r.updateVariableStatement(ye,xt,r.updateVariableDeclarationList(ye.declarationList,xe)))),te){const Pe=jr(Tt(r.createExpressionStatement(r.inlineExpressions(te)),ye),ye);$t&&dw(Pe),B=jn(B,Pe)}}else B=jn(B,kn(ye,Re,e));return B=qo(B,ye),M_(B)}function Ki(ye,B,xe){const te=At(ye);if(te){let xt=L4(ye)?B:r.createAssignment(ye,B);for(const $t of te)Dr(xt,8),xt=dt($t,xt,xe);return xt}return r.createAssignment(ye,B)}function Zo(ye){return na(ye.name)?w1(st(ye,Re,jk),Re,e,0,!1,Ki):r.createAssignment(Tt(r.createPropertyAccessExpression(r.createIdentifier("exports"),ye.name),ye.name),ye.initializer?st(ye.initializer,Re,Et):r.createVoidZero())}function Da(ye,B){if(M.exportEquals)return ye;const xe=B.importClause;if(!xe)return ye;const te=new HD;xe.name&&(ye=_t(ye,te,xe));const xt=xe.namedBindings;if(xt)switch(xt.kind){case 275:ye=_t(ye,te,xt);break;case 276:for(const $t of xt.elements)ye=_t(ye,te,$t,!0);break}return ye}function Pn(ye,B){return M.exportEquals?ye:_t(ye,new HD,B)}function qo(ye,B){return at(ye,B.declarationList,!1)}function at(ye,B,xe){if(M.exportEquals)return ye;for(const te of B.declarations)ye=Bt(ye,te,xe);return ye}function Bt(ye,B,xe){if(M.exportEquals)return ye;if(na(B.name))for(const te of B.name.elements)qc(te)||(ye=Bt(ye,te,xe));else!yl(B.name)&&(!bi(B)||B.initializer||xe)&&(ye=_t(ye,new HD,B));return ye}function ce(ye,B){if(M.exportEquals)return ye;const xe=new HD;if(fi(B,32)){const te=fi(B,2048)?r.createIdentifier("default"):r.getDeclarationName(B);ye=ie(ye,xe,te,r.getLocalName(B),B)}return B.name&&(ye=_t(ye,xe,B)),ye}function _t(ye,B,xe,te){const xt=r.getDeclarationName(xe),$t=M.exportSpecifiers.get(xt);if($t)for(const Pe of $t)ye=ie(ye,B,Pe.name,xt,Pe.name,void 0,te);return ye}function ie(ye,B,xe,te,xt,$t,Pe){if(xe.kind!==11){if(B.has(xe))return ye;B.set(xe,!0)}return ye=jn(ye,it(xe,te,xt,$t,Pe)),ye}function We(){const ye=r.createExpressionStatement(r.createCallExpression(r.createPropertyAccessExpression(r.createIdentifier("Object"),"defineProperty"),void 0,[r.createIdentifier("exports"),r.createStringLiteral("__esModule"),r.createObjectLiteralExpression([r.createPropertyAssignment("value",r.createTrue())])]));return Dr(ye,2097152),ye}function it(ye,B,xe,te,xt){const $t=Tt(r.createExpressionStatement(dt(ye,B,void 0,xt)),xe);return au($t),te||Dr($t,3072),$t}function dt(ye,B,xe,te){return Tt(te?r.createCallExpression(r.createPropertyAccessExpression(r.createIdentifier("Object"),"defineProperty"),void 0,[r.createIdentifier("exports"),r.createStringLiteralFromNode(ye),r.createObjectLiteralExpression([r.createPropertyAssignment("enumerable",r.createTrue()),r.createPropertyAssignment("get",r.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,r.createBlock([r.createReturnStatement(B)])))])]):r.createAssignment(ye.kind===11?r.createElementAccessExpression(r.createIdentifier("exports"),r.cloneNode(ye)):r.createPropertyAccessExpression(r.createIdentifier("exports"),r.cloneNode(ye)),B),xe)}function Lt(ye){switch(ye.kind){case 95:case 90:return}return ye}function He(ye,B,xe){B.kind===308?(N=B,M=R[Gu(N)],A(ye,B,xe),N=void 0,M=void 0):A(ye,B,xe)}function Ct(ye,B){return B=E(ye,B),B.id&&F[B.id]?B:ye===1?Wt(B):Ud(B)?Nt(B):B}function Nt(ye){const B=ye.name,xe=Rr(B);if(xe!==B){if(ye.objectAssignmentInitializer){const te=r.createAssignment(xe,ye.objectAssignmentInitializer);return Tt(r.createPropertyAssignment(B,te),ye)}return Tt(r.createPropertyAssignment(B,xe),ye)}return ye}function Wt(ye){switch(ye.kind){case 80:return Rr(ye);case 214:return rt(ye);case 216:return Zt(ye);case 227:return Oe(ye)}return ye}function rt(ye){if(Je(ye.expression)){const B=Rr(ye.expression);if(F[ls(B)]=!0,!Je(B)&&!(Za(ye.expression)&8192))return _1(r.updateCallExpression(ye,B,void 0,ye.arguments),16)}return ye}function Zt(ye){if(Je(ye.tag)){const B=Rr(ye.tag);if(F[ls(B)]=!0,!Je(B)&&!(Za(ye.tag)&8192))return _1(r.updateTaggedTemplateExpression(ye,B,void 0,ye.template),16)}return ye}function Rr(ye){var B,xe;if(Za(ye)&8192){const te=Aw(N);return te?r.createPropertyAccessExpression(te,ye):ye}else if(!(yl(ye)&&!(ye.emitNode.autoGenerate.flags&64))&&!yy(ye)){const te=d.getReferencedExportContainer(ye,L4(ye));if(te&&te.kind===308)return Tt(r.createPropertyAccessExpression(r.createIdentifier("exports"),r.cloneNode(ye)),ye);const xt=d.getReferencedImportDeclaration(ye);if(xt){if(Hm(xt))return Tt(r.createPropertyAccessExpression(r.getGeneratedNameForNode(xt.parent),r.createIdentifier("default")),ye);if(Au(xt)){const $t=xt.propertyName||xt.name,Pe=r.getGeneratedNameForNode(((xe=(B=xt.parent)==null?void 0:B.parent)==null?void 0:xe.parent)||xt);return Tt($t.kind===11?r.createElementAccessExpression(Pe,r.cloneNode($t)):r.createPropertyAccessExpression(Pe,r.cloneNode($t)),ye)}}}return ye}function Oe(ye){if(py(ye.operatorToken.kind)&&Je(ye.left)&&(!yl(ye.left)||z2(ye.left))&&!yy(ye.left)){const B=At(ye.left);if(B){let xe=ye;for(const te of B)F[ls(xe)]=!0,xe=dt(te,xe,ye);return xe}}return ye}function At(ye){if(yl(ye)){if(z2(ye)){const B=M==null?void 0:M.exportSpecifiers.get(ye);if(B){const xe=[];for(const te of B)xe.push(te.name);return xe}}}else{const B=d.getReferencedImportDeclaration(ye);if(B)return M==null?void 0:M.exportedBindings[Gu(B)];const xe=new Set,te=d.getReferencedValueDeclarations(ye);if(te){for(const xt of te){const $t=M==null?void 0:M.exportedBindings[Gu(xt)];if($t)for(const Pe of $t)xe.add(Pe)}if(xe.size)return Mo(xe)}}}}var Oqe={name:"typescript:dynamicimport-sync-require",scoped:!0,text:'\n var __syncRequire = typeof module === "object" && typeof module.exports === "object";'};function ose(e){const{factory:t,startLexicalEnvironment:r,endLexicalEnvironment:i,hoistVariableDeclaration:o}=e,s=e.getCompilerOptions(),l=e.getEmitResolver(),u=e.getEmitHost(),d=e.onSubstituteNode,_=e.onEmitNode;e.onSubstituteNode=We,e.onEmitNode=ie,e.enableSubstitution(80),e.enableSubstitution(305),e.enableSubstitution(227),e.enableSubstitution(237),e.enableEmitNotification(308);const m=[],y=[],E=[],A=[];let R,N,M,k,F,O,G;return hh(e,j);function j(Oe){if(Oe.isDeclarationFile||!(JR(Oe,s)||Oe.transformFlags&8388608))return Oe;const At=Gu(Oe);R=Oe,O=Oe,N=m[At]=ZU(e,Oe),M=t.createUniqueName("exports"),y[At]=M,k=A[At]=t.createUniqueName("context");const ye=K(N.externalImports),B=Q(Oe,ye),xe=t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,M),t.createParameterDeclaration(void 0,void 0,k)],void 0,B),te=Iw(t,Oe,u,s),xt=t.createArrayLiteralExpression(Gt(ye,Pe=>Pe.name)),$t=Dr(t.updateSourceFile(Oe,Tt(t.createNodeArray([t.createExpressionStatement(t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("System"),"register"),void 0,te?[te,xt,xe]:[xt,xe]))]),Oe.statements)),2048);return s.outFile||gie($t,B,Pe=>!Pe.scoped),G&&(E[At]=G,G=void 0),R=void 0,N=void 0,M=void 0,k=void 0,F=void 0,O=void 0,$t}function K(Oe){const At=new Map,ye=[];for(const B of Oe){const xe=ex(t,B,R,u,l,s);if(xe){const te=xe.text,xt=At.get(te);xt!==void 0?ye[xt].externalImports.push(B):(At.set(te,ye.length),ye.push({name:xe,externalImports:[B]}))}}return ye}function Q(Oe,At){const ye=[];r();const B=Vd(s,"alwaysStrict")||Wc(R),xe=t.copyPrologue(Oe.statements,ye,B,q);ye.push(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration("__moduleName",void 0,void 0,t.createLogicalAnd(k,t.createPropertyAccessExpression(k,"id")))]))),st(N.externalHelpersImportDeclaration,q,Gi);const te=Jn(Oe.statements,q,Gi,xe);$r(ye,F),yg(ye,i());const xt=J(ye),$t=Oe.transformFlags&2097152?t.createModifiersFromModifierFlags(1024):void 0,Pe=t.createObjectLiteralExpression([t.createPropertyAssignment("setters",re(xt,At)),t.createPropertyAssignment("execute",t.createFunctionExpression($t,void 0,void 0,void 0,[],void 0,t.createBlock(te,!0)))],!0);return ye.push(t.createReturnStatement(Pe)),t.createBlock(ye,!0)}function J(Oe){if(!N.hasExportStarsToExportValues)return;if(!bt(N.exportedNames)&&N.exportedFunctions.size===0&&N.exportSpecifiers.size===0){let xe=!1;for(const te of N.externalImports)if(te.kind===279&&te.exportClause){xe=!0;break}if(!xe){const te=he(void 0);return Oe.push(te),te.name}}const At=[];if(N.exportedNames)for(const xe of N.exportedNames)O_(xe)||At.push(t.createPropertyAssignment(t.createStringLiteralFromNode(xe),t.createTrue()));for(const xe of N.exportedFunctions)fi(xe,2048)||(C.assert(!!xe.name),At.push(t.createPropertyAssignment(t.createStringLiteralFromNode(xe.name),t.createTrue())));const ye=t.createUniqueName("exportedNames");Oe.push(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(ye,void 0,void 0,t.createObjectLiteralExpression(At,!0))])));const B=he(ye);return Oe.push(B),B.name}function he(Oe){const At=t.createUniqueName("exportStar"),ye=t.createIdentifier("m"),B=t.createIdentifier("n"),xe=t.createIdentifier("exports");let te=t.createStrictInequality(B,t.createStringLiteral("default"));return Oe&&(te=t.createLogicalAnd(te,t.createLogicalNot(t.createCallExpression(t.createPropertyAccessExpression(Oe,"hasOwnProperty"),void 0,[B])))),t.createFunctionDeclaration(void 0,void 0,At,void 0,[t.createParameterDeclaration(void 0,void 0,ye)],void 0,t.createBlock([t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(xe,void 0,void 0,t.createObjectLiteralExpression([]))])),t.createForInStatement(t.createVariableDeclarationList([t.createVariableDeclaration(B)]),ye,t.createBlock([Dr(t.createIfStatement(te,t.createExpressionStatement(t.createAssignment(t.createElementAccessExpression(xe,B),t.createElementAccessExpression(ye,B)))),1)])),t.createExpressionStatement(t.createCallExpression(M,void 0,[xe]))],!0))}function re(Oe,At){const ye=[];for(const B of At){const xe=Xe(B.externalImports,$t=>kD(t,$t,R)),te=xe?t.getGeneratedNameForNode(xe):t.createUniqueName(""),xt=[];for(const $t of B.externalImports){const Pe=kD(t,$t,R);switch($t.kind){case 273:if(!$t.importClause)break;case 272:C.assert(Pe!==void 0),xt.push(t.createExpressionStatement(t.createAssignment(Pe,te))),fi($t,32)&&xt.push(t.createExpressionStatement(t.createCallExpression(M,void 0,[t.createStringLiteral(Yr(Pe)),te])));break;case 279:if(C.assert(Pe!==void 0),$t.exportClause)if(Kf($t.exportClause)){const yt=[];for(const jt of $t.exportClause.elements)yt.push(t.createPropertyAssignment(t.createStringLiteral(Sb(jt.name)),t.createElementAccessExpression(te,t.createStringLiteral(Sb(jt.propertyName||jt.name)))));xt.push(t.createExpressionStatement(t.createCallExpression(M,void 0,[t.createObjectLiteralExpression(yt,!0)])))}else xt.push(t.createExpressionStatement(t.createCallExpression(M,void 0,[t.createStringLiteral(Sb($t.exportClause.name)),te])));else xt.push(t.createExpressionStatement(t.createCallExpression(Oe,void 0,[te])));break}}ye.push(t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,te)],void 0,t.createBlock(xt,!0)))}return t.createArrayLiteralExpression(ye,!0)}function q(Oe){switch(Oe.kind){case 273:return ue(Oe);case 272:return ge(Oe);case 279:return de(Oe);case 278:return Ae(Oe);default:return Vt(Oe)}}function ue(Oe){let At;return Oe.importClause&&o(kD(t,Oe,R)),M_(lt(At,Oe))}function de(Oe){C.assertIsDefined(Oe)}function ge(Oe){C.assert(z0(Oe),"import= for internal module references should be handled in an earlier transformer.");let At;return o(kD(t,Oe,R)),M_(le(At,Oe))}function Ae(Oe){if(Oe.isExportEquals)return;const At=st(Oe.expression,di,Et);return ot(t.createIdentifier("default"),At,!0)}function Re(Oe){fi(Oe,32)?F=jn(F,t.updateFunctionDeclaration(Oe,Jn(Oe.modifiers,_t,vl),Oe.asteriskToken,t.getDeclarationName(Oe,!0,!0),void 0,Jn(Oe.parameters,di,no),void 0,st(Oe.body,di,ia))):F=jn(F,kn(Oe,di,e)),F=Ve(F,Oe)}function $(Oe){let At;const ye=t.getLocalName(Oe);return o(ye),At=jn(At,Tt(t.createExpressionStatement(t.createAssignment(ye,Tt(t.createClassExpression(Jn(Oe.modifiers,_t,vl),Oe.name,void 0,Jn(Oe.heritageClauses,di,Gp),Jn(Oe.members,di,vc)),Oe))),Oe)),At=Ve(At,Oe),M_(At)}function ve(Oe){if(!be(Oe.declarationList))return st(Oe,di,Gi);let At;if(ok(Oe.declarationList)||ik(Oe.declarationList)){const ye=Jn(Oe.modifiers,_t,vl),B=[];for(const te of Oe.declarationList.declarations)B.push(t.updateVariableDeclaration(te,t.getGeneratedNameForNode(te.name),void 0,void 0,ee(te,!1)));const xe=t.updateVariableDeclarationList(Oe.declarationList,B);At=jn(At,t.updateVariableStatement(Oe,ye,xe))}else{let ye;const B=fi(Oe,32);for(const xe of Oe.declarationList.declarations)xe.initializer?ye=jn(ye,ee(xe,B)):je(xe);ye&&(At=jn(At,Tt(t.createExpressionStatement(t.inlineExpressions(ye)),Oe)))}return At=De(At,Oe,!1),M_(At)}function je(Oe){if(na(Oe.name))for(const At of Oe.name.elements)qc(At)||je(At);else o(t.cloneNode(Oe.name))}function be(Oe){return(Za(Oe)&4194304)===0&&(O.kind===308||(Tl(Oe).flags&7)===0)}function ee(Oe,At){const ye=At?Se:Ne;return na(Oe.name)?w1(Oe,di,e,0,!1,ye):Oe.initializer?ye(Oe.name,st(Oe.initializer,di,Et)):Oe.name}function Se(Oe,At,ye){return ze(Oe,At,ye,!0)}function Ne(Oe,At,ye){return ze(Oe,At,ye,!1)}function ze(Oe,At,ye,B){return o(t.cloneNode(Oe)),B?Ot(Oe,Zt(Tt(t.createAssignment(Oe,At),ye))):Zt(Tt(t.createAssignment(Oe,At),ye))}function lt(Oe,At){if(N.exportEquals)return Oe;const ye=At.importClause;if(!ye)return Oe;ye.name&&(Oe=Ge(Oe,ye));const B=ye.namedBindings;if(B)switch(B.kind){case 275:Oe=Ge(Oe,B);break;case 276:for(const xe of B.elements)Oe=Ge(Oe,xe);break}return Oe}function le(Oe,At){return N.exportEquals?Oe:Ge(Oe,At)}function De(Oe,At,ye){if(N.exportEquals)return Oe;for(const B of At.declarationList.declarations)(B.initializer||ye)&&(Oe=_e(Oe,B));return Oe}function _e(Oe,At,ye){if(N.exportEquals)return Oe;if(na(At.name))for(const B of At.name.elements)qc(B)||(Oe=_e(Oe,B));else yl(At.name)||(Oe=Ge(Oe,At,void 0));return Oe}function Ve(Oe,At){if(N.exportEquals)return Oe;let ye;if(fi(At,32)){const B=fi(At,2048)?t.createStringLiteral("default"):At.name;Oe=Be(Oe,B,t.getLocalName(At)),ye=Bf(B)}return At.name&&(Oe=Ge(Oe,At,ye)),Oe}function Ge(Oe,At,ye){if(N.exportEquals)return Oe;const B=t.getDeclarationName(At),xe=N.exportSpecifiers.get(B);if(xe)for(const te of xe)Sb(te.name)!==ye&&(Oe=Be(Oe,te.name,B));return Oe}function Be(Oe,At,ye,B){return Oe=jn(Oe,ot(At,ye,B)),Oe}function ot(Oe,At,ye){const B=t.createExpressionStatement(Ot(Oe,At));return au(B),ye||Dr(B,3072),B}function Ot(Oe,At){const ye=Je(Oe)?t.createStringLiteralFromNode(Oe):Oe;return Dr(At,Za(At)|3072),Ic(t.createCallExpression(M,void 0,[ye,At]),At)}function Vt(Oe){switch(Oe.kind){case 244:return ve(Oe);case 263:return Re(Oe);case 264:return $(Oe);case 249:return mn(Oe,!0);case 250:return Hn(Oe);case 251:return gt(Oe);case 247:return Ri(Oe);case 248:return _o(Oe);case 257:return Ht(Oe);case 255:return Qr(Oe);case 246:return go(Oe);case 256:return Ci(Oe);case 270:return Cr(Oe);case 297:return Ur(Oe);case 298:return Qe(Oe);case 259:return It(Oe);case 300:return hn(Oe);case 242:return pr(Oe);default:return di(Oe)}}function mn(Oe,At){const ye=O;return O=Oe,Oe=t.updateForStatement(Oe,st(Oe.initializer,At?ir:Ki,Wf),st(Oe.condition,di,Et),st(Oe.incrementor,Ki,Et),Bu(Oe.statement,At?Vt:di,e)),O=ye,Oe}function Hn(Oe){const At=O;return O=Oe,Oe=t.updateForInStatement(Oe,ir(Oe.initializer),st(Oe.expression,di,Et),Bu(Oe.statement,Vt,e)),O=At,Oe}function gt(Oe){const At=O;return O=Oe,Oe=t.updateForOfStatement(Oe,Oe.awaitModifier,ir(Oe.initializer),st(Oe.expression,di,Et),Bu(Oe.statement,Vt,e)),O=At,Oe}function tn(Oe){return _d(Oe)&&be(Oe)}function ir(Oe){if(tn(Oe)){let At;for(const ye of Oe.declarations)At=jn(At,ee(ye,!1)),ye.initializer||je(ye);return At?t.inlineExpressions(At):t.createOmittedExpression()}else return st(Oe,Ki,Wf)}function Ri(Oe){return t.updateDoStatement(Oe,Bu(Oe.statement,Vt,e),st(Oe.expression,di,Et))}function _o(Oe){return t.updateWhileStatement(Oe,st(Oe.expression,di,Et),Bu(Oe.statement,Vt,e))}function Ht(Oe){var At;return t.updateLabeledStatement(Oe,Oe.label,(At=st(Oe.statement,Vt,Gi,t.liftToBlock))!=null?At:t.createExpressionStatement(t.createIdentifier("")))}function Qr(Oe){return t.updateWithStatement(Oe,st(Oe.expression,di,Et),C.checkDefined(st(Oe.statement,Vt,Gi,t.liftToBlock)))}function go(Oe){var At;return t.updateIfStatement(Oe,st(Oe.expression,di,Et),(At=st(Oe.thenStatement,Vt,Gi,t.liftToBlock))!=null?At:t.createBlock([]),st(Oe.elseStatement,Vt,Gi,t.liftToBlock))}function Ci(Oe){return t.updateSwitchStatement(Oe,st(Oe.expression,di,Et),C.checkDefined(st(Oe.caseBlock,Vt,qM)))}function Cr(Oe){const At=O;return O=Oe,Oe=t.updateCaseBlock(Oe,Jn(Oe.clauses,Vt,RF)),O=At,Oe}function Ur(Oe){return t.updateCaseClause(Oe,st(Oe.expression,di,Et),Jn(Oe.statements,Vt,Gi))}function Qe(Oe){return kn(Oe,Vt,e)}function It(Oe){return kn(Oe,Vt,e)}function hn(Oe){const At=O;return O=Oe,Oe=t.updateCatchClause(Oe,Oe.variableDeclaration,C.checkDefined(st(Oe.block,Vt,ia))),O=At,Oe}function pr(Oe){const At=O;return O=Oe,Oe=kn(Oe,Vt,e),O=At,Oe}function oi(Oe,At){if(!(Oe.transformFlags&276828160))return Oe;switch(Oe.kind){case 249:return mn(Oe,!1);case 245:return Zo(Oe);case 218:return Da(Oe,At);case 356:return Pn(Oe,At);case 227:if(sv(Oe))return at(Oe,At);break;case 214:if(ep(Oe))return qo(Oe);break;case 225:case 226:return ce(Oe,At)}return kn(Oe,di,e)}function di(Oe){return oi(Oe,!1)}function Ki(Oe){return oi(Oe,!0)}function Zo(Oe){return t.updateExpressionStatement(Oe,st(Oe.expression,Ki,Et))}function Da(Oe,At){return t.updateParenthesizedExpression(Oe,st(Oe.expression,At?Ki:di,Et))}function Pn(Oe,At){return t.updatePartiallyEmittedExpression(Oe,st(Oe.expression,At?Ki:di,Et))}function qo(Oe){const At=ex(t,Oe,R,u,l,s),ye=st(Sc(Oe.arguments),di,Et),B=At&&(!ye||!Oa(ye)||ye.text!==At.text)?At:ye;return t.createCallExpression(t.createPropertyAccessExpression(k,t.createIdentifier("import")),void 0,B?[B]:[])}function at(Oe,At){return Bt(Oe.left)?w1(Oe,di,e,0,!At):kn(Oe,di,e)}function Bt(Oe){if(id(Oe,!0))return Bt(Oe.left);if(Jf(Oe))return Bt(Oe.expression);if(za(Oe))return bt(Oe.properties,Bt);if(Dd(Oe))return bt(Oe.elements,Bt);if(Ud(Oe))return Bt(Oe.name);if(Rc(Oe))return Bt(Oe.initializer);if(Je(Oe)){const At=l.getReferencedExportContainer(Oe);return At!==void 0&&At.kind===308}else return!1}function ce(Oe,At){if((Oe.operator===46||Oe.operator===47)&&Je(Oe.operand)&&!yl(Oe.operand)&&!yy(Oe.operand)&&!DV(Oe.operand)){const ye=Wt(Oe.operand);if(ye){let B,xe=st(Oe.operand,di,Et);$0(Oe)?xe=t.updatePrefixUnaryExpression(Oe,xe):(xe=t.updatePostfixUnaryExpression(Oe,xe),At||(B=t.createTempVariable(o),xe=t.createAssignment(B,xe),Tt(xe,Oe)),xe=t.createComma(xe,t.cloneNode(Oe.operand)),Tt(xe,Oe));for(const te of ye)xe=Ot(te,Zt(xe));return B&&(xe=t.createComma(xe,B),Tt(xe,Oe)),xe}}return kn(Oe,di,e)}function _t(Oe){switch(Oe.kind){case 95:case 90:return}return Oe}function ie(Oe,At,ye){if(At.kind===308){const B=Gu(At);R=At,N=m[B],M=y[B],G=E[B],k=A[B],G&&delete E[B],_(Oe,At,ye),R=void 0,N=void 0,M=void 0,k=void 0,G=void 0}else _(Oe,At,ye)}function We(Oe,At){return At=d(Oe,At),Rr(At)?At:Oe===1?Lt(At):Oe===4?it(At):At}function it(Oe){switch(Oe.kind){case 305:return dt(Oe)}return Oe}function dt(Oe){var At,ye;const B=Oe.name;if(!yl(B)&&!yy(B)){const xe=l.getReferencedImportDeclaration(B);if(xe){if(Hm(xe))return Tt(t.createPropertyAssignment(t.cloneNode(B),t.createPropertyAccessExpression(t.getGeneratedNameForNode(xe.parent),t.createIdentifier("default"))),Oe);if(Au(xe)){const te=xe.propertyName||xe.name,xt=t.getGeneratedNameForNode(((ye=(At=xe.parent)==null?void 0:At.parent)==null?void 0:ye.parent)||xe);return Tt(t.createPropertyAssignment(t.cloneNode(B),te.kind===11?t.createElementAccessExpression(xt,t.cloneNode(te)):t.createPropertyAccessExpression(xt,t.cloneNode(te))),Oe)}}}return Oe}function Lt(Oe){switch(Oe.kind){case 80:return He(Oe);case 227:return Ct(Oe);case 237:return Nt(Oe)}return Oe}function He(Oe){var At,ye;if(Za(Oe)&8192){const B=Aw(R);return B?t.createPropertyAccessExpression(B,Oe):Oe}if(!yl(Oe)&&!yy(Oe)){const B=l.getReferencedImportDeclaration(Oe);if(B){if(Hm(B))return Tt(t.createPropertyAccessExpression(t.getGeneratedNameForNode(B.parent),t.createIdentifier("default")),Oe);if(Au(B)){const xe=B.propertyName||B.name,te=t.getGeneratedNameForNode(((ye=(At=B.parent)==null?void 0:At.parent)==null?void 0:ye.parent)||B);return Tt(xe.kind===11?t.createElementAccessExpression(te,t.cloneNode(xe)):t.createPropertyAccessExpression(te,t.cloneNode(xe)),Oe)}}}return Oe}function Ct(Oe){if(py(Oe.operatorToken.kind)&&Je(Oe.left)&&(!yl(Oe.left)||z2(Oe.left))&&!yy(Oe.left)){const At=Wt(Oe.left);if(At){let ye=Oe;for(const B of At)ye=Ot(B,Zt(ye));return ye}}return Oe}function Nt(Oe){return YR(Oe)?t.createPropertyAccessExpression(k,t.createIdentifier("meta")):Oe}function Wt(Oe){let At;const ye=rt(Oe);if(ye){const B=l.getReferencedExportContainer(Oe,!1);B&&B.kind===308&&(At=jn(At,t.getDeclarationName(ye))),At=$r(At,N==null?void 0:N.exportedBindings[Gu(ye)])}else if(yl(Oe)&&z2(Oe)){const B=N==null?void 0:N.exportSpecifiers.get(Oe);if(B){const xe=[];for(const te of B)xe.push(te.name);return xe}}return At}function rt(Oe){if(!yl(Oe)){const At=l.getReferencedImportDeclaration(Oe);if(At)return At;const ye=l.getReferencedValueDeclaration(Oe);if(ye&&(N!=null&&N.exportedBindings[Gu(ye)]))return ye;const B=l.getReferencedValueDeclarations(Oe);if(B){for(const xe of B)if(xe!==ye&&(N!=null&&N.exportedBindings[Gu(xe)]))return xe}return ye}}function Zt(Oe){return G===void 0&&(G=[]),G[ls(Oe)]=!0,Oe}function Rr(Oe){return G&&Oe.id&&G[Oe.id]}}function lH(e){const{factory:t,getEmitHelperFactory:r}=e,i=e.getEmitHost(),o=e.getEmitResolver(),s=e.getCompilerOptions(),l=Va(s),u=e.onEmitNode,d=e.onSubstituteNode;e.onEmitNode=J,e.onSubstituteNode=he,e.enableEmitNotification(308),e.enableSubstitution(80);const _=new Set;let m,y,E,A;return hh(e,R);function R(q){if(q.isDeclarationFile)return q;if(Wc(q)||Sm(s)){E=q,A=void 0,s.rewriteRelativeImportExtensions&&(E.flags&4194304||Er(q))&&c4(q,!1,!1,de=>{(!ds(de.arguments[0])||Sk(de.arguments[0].text,s))&&(m=jn(m,de))});let ue=N(q);return Dg(ue,e.readEmitHelpers()),E=void 0,A&&(ue=t.updateSourceFile(ue,Tt(t.createNodeArray(yG(ue.statements.slice(),A)),ue.statements))),!Wc(q)||Tu(s)===200||bt(ue.statements,H2)?ue:t.updateSourceFile(ue,Tt(t.createNodeArray([...ue.statements,Tw(t)]),ue.statements))}return q}function N(q){const ue=Jj(t,r(),q,s);if(ue){const de=[],ge=t.copyPrologue(q.statements,de);return $r(de,lP([ue],M,Gi)),$r(de,Jn(q.statements,M,Gi,ge)),t.updateSourceFile(q,Tt(t.createNodeArray(de),q.statements))}else return kn(q,M,e)}function M(q){switch(q.kind){case 272:return Tu(s)>=100?G(q):void 0;case 278:return K(q);case 279:return Q(q);case 273:return k(q);case 214:if(q===(m==null?void 0:m[0]))return F(m.shift());default:if(m!=null&&m.length&&rp(q,m[0]))return kn(q,M,e)}return q}function k(q){if(!s.rewriteRelativeImportExtensions)return q;const ue=sx(q.moduleSpecifier,s);return ue===q.moduleSpecifier?q:t.updateImportDeclaration(q,q.modifiers,q.importClause,ue,q.attributes)}function F(q){return t.updateCallExpression(q,q.expression,q.typeArguments,[ds(q.arguments[0])?sx(q.arguments[0],s):r().createRewriteRelativeImportExtensionsHelper(q.arguments[0]),...q.arguments.slice(1)])}function O(q){const ue=ex(t,q,C.checkDefined(E),i,o,s),de=[];if(ue&&de.push(sx(ue,s)),Tu(s)===200)return t.createCallExpression(t.createIdentifier("require"),void 0,de);if(!A){const Ae=t.createUniqueName("_createRequire",48),Re=t.createImportDeclaration(void 0,t.createImportClause(void 0,void 0,t.createNamedImports([t.createImportSpecifier(!1,t.createIdentifier("createRequire"),Ae)])),t.createStringLiteral("module"),void 0),$=t.createUniqueName("__require",48),ve=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration($,void 0,void 0,t.createCallExpression(t.cloneNode(Ae),void 0,[t.createPropertyAccessExpression(t.createMetaProperty(102,t.createIdentifier("meta")),t.createIdentifier("url"))]))],l>=2?2:0));A=[Re,ve]}const ge=A[1].declarationList.declarations[0].name;return C.assertNode(ge,Je),t.createCallExpression(t.cloneNode(ge),void 0,de)}function G(q){C.assert(z0(q),"import= for internal module references should be handled in an earlier transformer.");let ue;return ue=jn(ue,jr(Tt(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(t.cloneNode(q.name),void 0,void 0,O(q))],l>=2?2:0)),q),q)),ue=j(ue,q),M_(ue)}function j(q,ue){return fi(ue,32)&&(q=jn(q,t.createExportDeclaration(void 0,ue.isTypeOnly,t.createNamedExports([t.createExportSpecifier(!1,void 0,Yr(ue.name))])))),q}function K(q){return q.isExportEquals?Tu(s)===200?jr(t.createExpressionStatement(t.createAssignment(t.createPropertyAccessExpression(t.createIdentifier("module"),"exports"),q.expression)),q):void 0:q}function Q(q){const ue=sx(q.moduleSpecifier,s);if(s.module!==void 0&&s.module>5||!q.exportClause||!V_(q.exportClause)||!q.moduleSpecifier)return!q.moduleSpecifier||ue===q.moduleSpecifier?q:t.updateExportDeclaration(q,q.modifiers,q.isTypeOnly,q.exportClause,ue,q.attributes);const de=q.exportClause.name,ge=t.getGeneratedNameForNode(de),Ae=t.createImportDeclaration(void 0,t.createImportClause(void 0,void 0,t.createNamespaceImport(ge)),ue,q.attributes);jr(Ae,q.exportClause);const Re=zF(q)?t.createExportDefault(ge):t.createExportDeclaration(void 0,!1,t.createNamedExports([t.createExportSpecifier(!1,ge,de)]));return jr(Re,q),[Ae,Re]}function J(q,ue,de){Qi(ue)?((Wc(ue)||Sm(s))&&s.importHelpers&&(y=new Map),E=ue,u(q,ue,de),E=void 0,y=void 0):u(q,ue,de)}function he(q,ue){return ue=d(q,ue),ue.id&&_.has(ue.id)?ue:Je(ue)&&Za(ue)&8192?re(ue):ue}function re(q){const ue=E&&Aw(E);if(ue)return _.add(ls(q)),t.createPropertyAccessExpression(ue,q);if(y){const de=Yr(q);let ge=y.get(de);return ge||y.set(de,ge=t.createUniqueName(de,48)),ge}return q}}function ase(e){const t=e.onSubstituteNode,r=e.onEmitNode,i=lH(e),o=e.onSubstituteNode,s=e.onEmitNode;e.onSubstituteNode=t,e.onEmitNode=r;const l=sH(e),u=e.onSubstituteNode,d=e.onEmitNode,_=k=>e.getEmitHost().getEmitModuleFormatOfFile(k);e.onSubstituteNode=y,e.onEmitNode=E,e.enableSubstitution(308),e.enableEmitNotification(308);let m;return N;function y(k,F){return Qi(F)?(m=F,t(k,F)):m?_(m)>=5?o(k,F):u(k,F):t(k,F)}function E(k,F,O){return Qi(F)&&(m=F),m?_(m)>=5?s(k,F,O):d(k,F,O):r(k,F,O)}function A(k){return _(k)>=5?i:l}function R(k){if(k.isDeclarationFile)return k;m=k;const F=A(k)(k);return m=void 0,C.assert(Qi(F)),F}function N(k){return k.kind===308?R(k):M(k)}function M(k){return e.factory.createBundle(Gt(k.sourceFiles,R))}}function Kw(e){return bi(e)||ko(e)||Eu(e)||qa(e)||Jh(e)||hg(e)||VM(e)||HI(e)||Ll(e)||Um(e)||ec(e)||no(e)||pl(e)||hy(e)||Oc(e)||Em(e)||kl(e)||wb(e)||Jr(e)||Bs(e)||Nr(e)||vm(e)}function sse(e){if(Jh(e)||hg(e))return t;return Um(e)||Ll(e)?i:cT(e);function t(s){const l=r(s);return l!==void 0?{diagnosticMessage:l,errorNode:e,typeName:e.name}:void 0}function r(s){return ha(e)?s.errorModuleName?s.accessibility===2?f.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:f.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:f.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:e.parent.kind===264?s.errorModuleName?s.accessibility===2?f.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:f.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:f.Public_property_0_of_exported_class_has_or_is_using_private_name_1:s.errorModuleName?f.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:f.Property_0_of_exported_interface_has_or_is_using_private_name_1}function i(s){const l=o(s);return l!==void 0?{diagnosticMessage:l,errorNode:e,typeName:e.name}:void 0}function o(s){return ha(e)?s.errorModuleName?s.accessibility===2?f.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:f.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:f.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:e.parent.kind===264?s.errorModuleName?s.accessibility===2?f.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:f.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:f.Public_method_0_of_exported_class_has_or_is_using_private_name_1:s.errorModuleName?f.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:f.Method_0_of_exported_interface_has_or_is_using_private_name_1}}function cT(e){if(bi(e)||ko(e)||Eu(e)||Jr(e)||Bs(e)||Nr(e)||qa(e)||kl(e))return r;return Jh(e)||hg(e)?i:VM(e)||HI(e)||Ll(e)||Um(e)||ec(e)||wb(e)?o:no(e)?Lp(e,e.parent)&&fi(e.parent,2)?r:s:pl(e)?u:hy(e)?d:Oc(e)?_:Em(e)||vm(e)?m:C.assertNever(e,"Attempted to set a declaration diagnostic context for unhandled node kind: ".concat(C.formatSyntaxKind(e.kind)));function t(y){if(e.kind===261||e.kind===209)return y.errorModuleName?y.accessibility===2?f.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:f.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:f.Exported_variable_0_has_or_is_using_private_name_1;if(e.kind===173||e.kind===212||e.kind===213||e.kind===227||e.kind===172||e.kind===170&&fi(e.parent,2))return ha(e)?y.errorModuleName?y.accessibility===2?f.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:f.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:f.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:e.parent.kind===264||e.kind===170?y.errorModuleName?y.accessibility===2?f.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:f.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:f.Public_property_0_of_exported_class_has_or_is_using_private_name_1:y.errorModuleName?f.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:f.Property_0_of_exported_interface_has_or_is_using_private_name_1}function r(y){const E=t(y);return E!==void 0?{diagnosticMessage:E,errorNode:e,typeName:e.name}:void 0}function i(y){let E;return e.kind===179?ha(e)?E=y.errorModuleName?f.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:f.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:E=y.errorModuleName?f.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:f.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:ha(e)?E=y.errorModuleName?y.accessibility===2?f.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:f.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:f.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:E=y.errorModuleName?y.accessibility===2?f.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:f.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:f.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1,{diagnosticMessage:E,errorNode:e.name,typeName:e.name}}function o(y){let E;switch(e.kind){case 181:E=y.errorModuleName?f.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:f.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 180:E=y.errorModuleName?f.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:f.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 182:E=y.errorModuleName?f.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:f.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 175:case 174:ha(e)?E=y.errorModuleName?y.accessibility===2?f.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:f.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:f.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:e.parent.kind===264?E=y.errorModuleName?y.accessibility===2?f.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:f.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:f.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:E=y.errorModuleName?f.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:f.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 263:E=y.errorModuleName?y.accessibility===2?f.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:f.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:f.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return C.fail("This is unknown kind for signature: "+e.kind)}return{diagnosticMessage:E,errorNode:e.name||e}}function s(y){const E=l(y);return E!==void 0?{diagnosticMessage:E,errorNode:e,typeName:e.name}:void 0}function l(y){switch(e.parent.kind){case 177:return y.errorModuleName?y.accessibility===2?f.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:f.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:f.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 181:case 186:return y.errorModuleName?f.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:f.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 180:return y.errorModuleName?f.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:f.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 182:return y.errorModuleName?f.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:f.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 175:case 174:return ha(e.parent)?y.errorModuleName?y.accessibility===2?f.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:f.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:f.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:e.parent.parent.kind===264?y.errorModuleName?y.accessibility===2?f.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:f.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:f.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:y.errorModuleName?f.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:f.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 263:case 185:return y.errorModuleName?y.accessibility===2?f.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:f.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:f.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 179:case 178:return y.errorModuleName?y.accessibility===2?f.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:f.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:f.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return C.fail("Unknown parent for parameter: ".concat(C.formatSyntaxKind(e.parent.kind)))}}function u(){let y;switch(e.parent.kind){case 264:y=f.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 265:y=f.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 201:y=f.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 186:case 181:y=f.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 180:y=f.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 175:case 174:ha(e.parent)?y=f.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:e.parent.parent.kind===264?y=f.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:y=f.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 185:case 263:y=f.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 196:y=f.Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1;break;case 266:y=f.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return C.fail("This is unknown parent for type parameter: "+e.parent.kind)}return{diagnosticMessage:y,errorNode:e,typeName:e.name}}function d(){let y;return xc(e.parent.parent)?y=Gp(e.parent)&&e.parent.token===119?f.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:e.parent.parent.name?f.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:f.extends_clause_of_exported_class_has_or_is_using_private_name_0:y=f.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1,{diagnosticMessage:y,errorNode:e,typeName:Fo(e.parent.parent)}}function _(){return{diagnosticMessage:f.Import_declaration_0_is_using_private_name_1,errorNode:e,typeName:e.name}}function m(y){return{diagnosticMessage:y.errorModuleName?f.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:f.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:vm(e)?C.checkDefined(e.typeExpression):e.type,typeName:vm(e)?Fo(e):e.name}}}function lse(e){const t={220:f.Add_a_return_type_to_the_function_expression,219:f.Add_a_return_type_to_the_function_expression,175:f.Add_a_return_type_to_the_method,178:f.Add_a_return_type_to_the_get_accessor_declaration,179:f.Add_a_type_to_parameter_of_the_set_accessor_declaration,263:f.Add_a_return_type_to_the_function_declaration,181:f.Add_a_return_type_to_the_function_declaration,170:f.Add_a_type_annotation_to_the_parameter_0,261:f.Add_a_type_annotation_to_the_variable_0,173:f.Add_a_type_annotation_to_the_property_0,172:f.Add_a_type_annotation_to_the_property_0,278:f.Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it},r={219:f.Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations,263:f.Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations,220:f.Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations,175:f.Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations,181:f.Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations,178:f.At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations,179:f.At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations,170:f.Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations,261:f.Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations,173:f.Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations,172:f.Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations,168:f.Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations,306:f.Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations,305:f.Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations,210:f.Only_const_arrays_can_be_inferred_with_isolatedDeclarations,278:f.Default_exports_can_t_be_inferred_with_isolatedDeclarations,231:f.Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations};return i;function i(M){if(Rn(M,Gp))return Sr(M,f.Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations);if((Yh(M)||FS(M.parent))&&(ku(M)||Ps(M)))return R(M);switch(C.type(M),M.kind){case 178:case 179:return s(M);case 168:case 305:case 306:return u(M);case 210:case 231:return d(M);case 175:case 181:case 219:case 220:case 263:return _(M);case 209:return m(M);case 173:case 261:return y(M);case 170:return E(M);case 304:return N(M.initializer);case 232:return A(M);default:return N(M)}}function o(M){const k=Rn(M,F=>fl(F)||Gi(F)||bi(F)||ko(F)||no(F));if(k)return fl(k)?k:rf(k)?Rn(k,F=>ks(F)&&!kl(F)):Gi(k)?void 0:k}function s(M){var j;const{getAccessor:k,setAccessor:F}=MS(M.symbol.declarations,M),O=(j=Jh(M)?M.parameters[0]:M)!=null?j:M,G=Sr(O,r[M.kind]);return F&&_a(G,Sr(F,t[F.kind])),k&&_a(G,Sr(k,t[k.kind])),G}function l(M,k){const F=o(M);if(F){const O=fl(F)||!F.name?"":Rl(F.name,!1);_a(k,Sr(F,t[F.kind],O))}return k}function u(M){const k=Sr(M,r[M.kind]);return l(M,k),k}function d(M){const k=Sr(M,r[M.kind]);return l(M,k),k}function _(M){const k=Sr(M,r[M.kind]);return l(M,k),_a(k,Sr(M,t[M.kind])),k}function m(M){return Sr(M,f.Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations)}function y(M){const k=Sr(M,r[M.kind]),F=Rl(M.name,!1);return _a(k,Sr(M,t[M.kind],F)),k}function E(M){if(Jh(M.parent))return s(M.parent);const k=e.requiresAddingImplicitUndefined(M,M.parent);if(!k&&M.initializer)return N(M.initializer);const F=k?f.Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_supported_with_isolatedDeclarations:r[M.kind],O=Sr(M,F),G=Rl(M.name,!1);return _a(O,Sr(M,t[M.kind],G)),O}function A(M){return N(M,f.Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations)}function R(M){const k=Sr(M,f.Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations,Rl(M,!1));return l(M,k),k}function N(M,k){const F=o(M);let O;if(F){const G=fl(F)||!F.name?"":Rl(F.name,!1),j=Rn(M.parent,K=>fl(K)||(Gi(K)?"quit":!zu(K)&&!S4(K)&&!AD(K)));F===j?(O=Sr(M,k!=null?k:r[F.kind]),_a(O,Sr(F,t[F.kind],G))):(O=Sr(M,k!=null?k:f.Expression_type_can_t_be_inferred_with_isolatedDeclarations),_a(O,Sr(F,t[F.kind],G)),_a(O,Sr(M,f.Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit)))}else O=Sr(M,k!=null?k:f.Expression_type_can_t_be_inferred_with_isolatedDeclarations);return O}}function cse(e,t,r){const i=e.getCompilerOptions(),o=Fn(T6(e,r),i6);return Vn(o,r)?Qw(t,e,L,i,[r],[cH],!1).diagnostics:void 0}var Xw=531469,Yw=8;function cH(e){const t=()=>C.fail("Diagnostic emitted without context");let r=t,i=!0,o=!1,s=!1,l=!1,u=!1,d,_,m,y;const{factory:E}=e,A=e.getEmitHost();let R=()=>{};const N={trackSymbol:ge,reportInaccessibleThisError:je,reportInaccessibleUniqueSymbolError:$,reportCyclicStructureError:ve,reportPrivateInBaseOfClassExpression:Ae,reportLikelyUnsafeImportRequiredError:be,reportTruncationError:ee,moduleResolverHost:A,reportNonlocalAugmentation:Se,reportNonSerializableProperty:Ne,reportInferenceFallback:ue,pushErrorFallbackNode(ce){const _t=k,ie=R;R=()=>{R=ie,k=_t},k=ce},popErrorFallbackNode(){R()}};let M,k,F,O,G,j;const K=e.getEmitResolver(),Q=e.getCompilerOptions(),J=lse(K),{stripInternal:he,isolatedDeclarations:re}=Q;return lt;function q(ce){K.getPropertiesOfContainerFunction(ce).forEach(_t=>{if(FI(_t.valueDeclaration)){const ie=Nr(_t.valueDeclaration)?_t.valueDeclaration.left:_t.valueDeclaration;e.addDiagnostic(Sr(ie,f.Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations_Add_an_explicit_declaration_for_the_properties_assigned_to_this_function))}})}function ue(ce){!re||wu(F)||On(ce)===F&&(bi(ce)&&K.isExpandoFunctionDeclaration(ce)?q(ce):e.addDiagnostic(J(ce)))}function de(ce){if(ce.accessibility===0){if(ce.aliasesToMakeVisible)if(!_)_=ce.aliasesToMakeVisible;else for(const _t of ce.aliasesToMakeVisible)wf(_,_t)}else if(ce.accessibility!==3){const _t=r(ce);if(_t)return _t.typeName?e.addDiagnostic(Sr(ce.errorNode||_t.errorNode,_t.diagnosticMessage,Rl(_t.typeName),ce.errorSymbolName,ce.errorModuleName)):e.addDiagnostic(Sr(ce.errorNode||_t.errorNode,_t.diagnosticMessage,ce.errorSymbolName,ce.errorModuleName)),!0}return!1}function ge(ce,_t,ie){return ce.flags&262144?!1:de(K.isSymbolAccessible(ce,_t,ie,!0))}function Ae(ce){(M||k)&&e.addDiagnostic(_a(Sr(M||k,f.Property_0_of_exported_anonymous_class_type_may_not_be_private_or_protected,ce),...bi((M||k).parent)?[Sr(M||k,f.Add_a_type_annotation_to_the_variable_0,Re())]:[]))}function Re(){return M?Fs(M):k&&Fo(k)?Fs(Fo(k)):k&&fl(k)?k.isExportEquals?"export=":"default":"(Missing)"}function $(){(M||k)&&e.addDiagnostic(Sr(M||k,f.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,Re(),"unique symbol"))}function ve(){(M||k)&&e.addDiagnostic(Sr(M||k,f.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,Re()))}function je(){(M||k)&&e.addDiagnostic(Sr(M||k,f.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,Re(),"this"))}function be(ce){(M||k)&&e.addDiagnostic(Sr(M||k,f.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,Re(),ce))}function ee(){(M||k)&&e.addDiagnostic(Sr(M||k,f.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed))}function Se(ce,_t,ie){var We;const it=(We=_t.declarations)==null?void 0:We.find(Lt=>On(Lt)===ce),dt=Fn(ie.declarations,Lt=>On(Lt)!==ce);if(it&&dt)for(const Lt of dt)e.addDiagnostic(_a(Sr(Lt,f.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized),Sr(it,f.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)))}function Ne(ce){(M||k)&&e.addDiagnostic(Sr(M||k,f.The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized,ce))}function ze(ce){const _t=r;r=We=>We.errorNode&&Kw(We.errorNode)?cT(We.errorNode)(We):{diagnosticMessage:We.errorModuleName?f.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:f.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit,errorNode:We.errorNode||ce};const ie=K.getDeclarationStatementsForSourceFile(ce,Xw,Yw,N);return r=_t,ie}function lt(ce){if(ce.kind===308&&ce.isDeclarationFile)return ce;if(ce.kind===309){o=!0,O=[],G=[],j=[];let Ct=!1;const Nt=E.createBundle(Gt(ce.sourceFiles,rt=>{if(rt.isDeclarationFile)return;if(Ct=Ct||rt.hasNoDefaultLib,F=rt,d=rt,_=void 0,y=!1,m=new Map,r=t,l=!1,u=!1,We(rt),wp(rt)||zf(rt)){s=!1,i=!1;const Rr=wu(rt)?E.createNodeArray(ze(rt)):Jn(rt.statements,Ur,Gi);return E.updateSourceFile(rt,[E.createModuleDeclaration([E.createModifier(138)],E.createStringLiteral(cV(e.getEmitHost(),rt)),E.createModuleBlock(Tt(E.createNodeArray(go(Rr)),rt.statements)))],!0,[],[],!1,[])}i=!0;const Zt=wu(rt)?E.createNodeArray(ze(rt)):Jn(rt.statements,Ur,Gi);return E.updateSourceFile(rt,go(Zt),!0,[],[],!1,[])})),Wt=pi(Bd(_P(ce,A,!0).declarationFilePath));return Nt.syntheticFileReferences=He(Wt),Nt.syntheticTypeReferences=dt(),Nt.syntheticLibReferences=Lt(),Nt.hasNoDefaultLib=Ct,Nt}i=!0,l=!1,u=!1,d=ce,F=ce,r=t,o=!1,s=!1,y=!1,_=void 0,m=new Map,O=[],G=[],j=[],We(F);let _t;if(wu(F))_t=E.createNodeArray(ze(ce));else{const Ct=Jn(ce.statements,Ur,Gi);_t=Tt(E.createNodeArray(go(Ct)),ce.statements),Wc(ce)&&(!s||l&&!u)&&(_t=Tt(E.createNodeArray([..._t,Tw(E)]),_t))}const ie=pi(Bd(_P(ce,A,!0).declarationFilePath));return E.updateSourceFile(ce,_t,!0,He(ie),dt(),ce.hasNoDefaultLib,Lt());function We(Ct){O=co(O,Gt(Ct.referencedFiles,Nt=>[Ct,Nt])),G=co(G,Ct.typeReferenceDirectives),j=co(j,Ct.libReferenceDirectives)}function it(Ct){const Nt={...Ct};return Nt.pos=-1,Nt.end=-1,Nt}function dt(){return Hi(G,Ct=>{if(Ct.preserve)return it(Ct)})}function Lt(){return Hi(j,Ct=>{if(Ct.preserve)return it(Ct)})}function He(Ct){return Hi(O,([Nt,Wt])=>{if(!Wt.preserve)return;const rt=A.getSourceFileFromReference(Nt,Wt);if(!rt)return;let Zt;if(rt.isDeclarationFile)Zt=rt.fileName;else{if(o&&Vn(ce.sourceFiles,rt))return;const At=_P(rt,A,!0);Zt=At.declarationFilePath||At.jsFilePath||rt.fileName}if(!Zt)return;const Rr=kR(Ct,Zt,A.getCurrentDirectory(),A.getCanonicalFileName,!1),Oe=it(Wt);return Oe.fileName=Rr,Oe})}}function le(ce){if(ce.kind===80)return ce;return ce.kind===208?E.updateArrayBindingPattern(ce,Jn(ce.elements,_t,EF)):E.updateObjectBindingPattern(ce,Jn(ce.elements,_t,qa));function _t(ie){return ie.kind===233?ie:(ie.propertyName&&Ea(ie.propertyName)&&Ps(ie.propertyName.expression)&&tn(ie.propertyName.expression,d),E.updateBindingElement(ie,ie.dotDotDotToken,ie.propertyName,le(ie.name),void 0))}}function De(ce,_t){let ie;y||(ie=r,r=cT(ce));const We=E.updateParameterDeclaration(ce,Fqe(E,ce,_t),ce.dotDotDotToken,le(ce.name),K.isOptionalParameter(ce)?ce.questionToken||E.createToken(58):void 0,Ge(ce,!0),Ve(ce));return y||(r=ie),We}function _e(ce){return AAe(ce)&&!!ce.initializer&&K.isLiteralConstDeclaration(Ho(ce))}function Ve(ce){if(_e(ce)){const _t=eie(ce.initializer);return a4(_t)||ue(ce),K.createLiteralConstValue(Ho(ce,AAe),N)}}function Ge(ce,_t){if(!_t&&Fp(ce,2)||_e(ce))return;if(!fl(ce)&&!qa(ce)&&ce.type&&(!no(ce)||!K.requiresAddingImplicitUndefined(ce,d)))return st(ce.type,Ci,xi);const ie=M;M=ce.name;let We;y||(We=r,Kw(ce)&&(r=cT(ce)));let it;return s4(ce)?it=K.createTypeOfDeclaration(ce,d,Xw,Yw,N):Yo(ce)?it=K.createReturnTypeOfSignatureDeclaration(ce,d,Xw,Yw,N):C.assertNever(ce),M=ie,y||(r=We),it!=null?it:E.createKeywordTypeNode(133)}function Be(ce){switch(ce=Ho(ce),ce.kind){case 263:case 268:case 265:case 264:case 266:case 267:return!K.isDeclarationVisible(ce);case 261:return!Ot(ce);case 272:case 273:case 279:case 278:return!1;case 176:return!0}return!1}function ot(ce){var _t;if(ce.body)return!0;const ie=(_t=ce.symbol.declarations)==null?void 0:_t.filter(We=>ec(We)&&!We.body);return!ie||ie.indexOf(ce)===ie.length-1}function Ot(ce){return qc(ce)?!1:na(ce.name)?bt(ce.name.elements,Ot):K.isDeclarationVisible(ce)}function Vt(ce,_t,ie){if(Fp(ce,2))return E.createNodeArray();const We=Gt(_t,it=>De(it,ie));return We?E.createNodeArray(We,_t.hasTrailingComma):E.createNodeArray()}function mn(ce,_t){let ie;if(!_t){const We=CS(ce);We&&(ie=[De(We)])}if(bp(ce)){let We;if(!_t){const it=pM(ce);it&&(We=De(it))}We||(We=E.createParameterDeclaration(void 0,void 0,"value")),ie=jn(ie,We)}return E.createNodeArray(ie||se)}function Hn(ce,_t){return Fp(ce,2)?void 0:Jn(_t,Ci,pl)}function gt(ce){return Qi(ce)||Em(ce)||pc(ce)||xc(ce)||gd(ce)||Yo(ce)||wb(ce)||T1(ce)}function tn(ce,_t){const ie=K.isEntityNameVisible(ce,_t);de(ie)}function ir(ce,_t){return nf(ce)&&nf(_t)&&(ce.jsDoc=_t.jsDoc),Ic(ce,i_(_t))}function Ri(ce,_t){if(_t){if(s=s||ce.kind!==268&&ce.kind!==206,ds(_t)&&o){const ie=Bne(e.getEmitHost(),K,ce);if(ie)return E.createStringLiteral(ie)}return _t}}function _o(ce){if(K.isDeclarationVisible(ce))if(ce.moduleReference.kind===284){const _t=YN(ce);return E.updateImportEqualsDeclaration(ce,ce.modifiers,ce.isTypeOnly,ce.name,E.updateExternalModuleReference(ce.moduleReference,Ri(ce,_t)))}else{const _t=r;return r=cT(ce),tn(ce.moduleReference,d),r=_t,ce}}function Ht(ce){if(!ce.importClause)return E.updateImportDeclaration(ce,ce.modifiers,ce.importClause,Ri(ce,ce.moduleSpecifier),Qr(ce.attributes));const _t=ce.importClause.phaseModifier===166?void 0:ce.importClause.phaseModifier,ie=ce.importClause&&ce.importClause.name&&K.isDeclarationVisible(ce.importClause)?ce.importClause.name:void 0;if(!ce.importClause.namedBindings)return ie&&E.updateImportDeclaration(ce,ce.modifiers,E.updateImportClause(ce.importClause,_t,ie,void 0),Ri(ce,ce.moduleSpecifier),Qr(ce.attributes));if(ce.importClause.namedBindings.kind===275){const it=K.isDeclarationVisible(ce.importClause.namedBindings)?ce.importClause.namedBindings:void 0;return ie||it?E.updateImportDeclaration(ce,ce.modifiers,E.updateImportClause(ce.importClause,_t,ie,it),Ri(ce,ce.moduleSpecifier),Qr(ce.attributes)):void 0}const We=Hi(ce.importClause.namedBindings.elements,it=>K.isDeclarationVisible(it)?it:void 0);if(We&&We.length||ie)return E.updateImportDeclaration(ce,ce.modifiers,E.updateImportClause(ce.importClause,_t,ie,We&&We.length?E.updateNamedImports(ce.importClause.namedBindings,We):void 0),Ri(ce,ce.moduleSpecifier),Qr(ce.attributes));if(K.isImportRequiredByAugmentation(ce))return re&&e.addDiagnostic(Sr(ce,f.Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_supported_with_isolatedDeclarations)),E.updateImportDeclaration(ce,ce.modifiers,void 0,Ri(ce,ce.moduleSpecifier),Qr(ce.attributes))}function Qr(ce){const _t=JD(ce);return ce&&_t!==void 0?ce:void 0}function go(ce){for(;et(_);){const ie=_.shift();if(!GF(ie))return C.fail("Late replaced statement was found which is not handled by the declaration transformer!: ".concat(C.formatSyntaxKind(ie.kind)));const We=i;i=ie.parent&&Qi(ie.parent)&&!(Wc(ie.parent)&&o);const it=hn(ie);i=We,m.set(Gu(ie),it)}return Jn(ce,_t,Gi);function _t(ie){if(GF(ie)){const We=Gu(ie);if(m.has(We)){const it=m.get(We);return m.delete(We),it&&((Lo(it)?bt(it,AF):AF(it))&&(l=!0),Qi(ie.parent)&&(Lo(it)?bt(it,H2):H2(it))&&(s=!0)),it}}return ie}}function Ci(ce){if(Zo(ce))return;if(rd(ce)){if(Be(ce))return;if(dy(ce)){if(re){if(!K.isDefinitelyReferenceToGlobalSymbolObject(ce.name.expression)){if(xc(ce.parent)||za(ce.parent)){e.addDiagnostic(Sr(ce,f.Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations));return}else if((gd(ce.parent)||Fu(ce.parent))&&!Ps(ce.name.expression)){e.addDiagnostic(Sr(ce,f.Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedDeclarations));return}}}else if(!K.isLateBound(Ho(ce))||!Ps(ce.name.expression))return}}if(Yo(ce)&&K.isImplementationOfOverload(ce)||Wie(ce))return;let _t;gt(ce)&&(_t=d,d=ce);const ie=r,We=Kw(ce),it=y;let dt=(ce.kind===188||ce.kind===201)&&ce.parent.kind!==266;if((Ll(ce)||Um(ce))&&Fp(ce,2))return ce.symbol&&ce.symbol.declarations&&ce.symbol.declarations[0]!==ce?void 0:Lt(E.createPropertyDeclaration(qo(ce),ce.name,void 0,void 0,void 0));if(We&&!y&&(r=cT(ce)),FS(ce)&&tn(ce.exprName,d),dt&&(y=!0),Bqe(ce))switch(ce.kind){case 234:{(ku(ce.expression)||Ps(ce.expression))&&tn(ce.expression,d);const He=kn(ce,Ci,e);return Lt(E.updateExpressionWithTypeArguments(He,He.expression,He.typeArguments))}case 184:{tn(ce.typeName,d);const He=kn(ce,Ci,e);return Lt(E.updateTypeReferenceNode(He,He.typeName,He.typeArguments))}case 181:return Lt(E.updateConstructSignature(ce,Hn(ce,ce.typeParameters),Vt(ce,ce.parameters),Ge(ce)));case 177:{const He=E.createConstructorDeclaration(qo(ce),Vt(ce,ce.parameters,0),void 0);return Lt(He)}case 175:{if(to(ce.name))return Lt(void 0);const He=E.createMethodDeclaration(qo(ce),void 0,ce.name,ce.questionToken,Hn(ce,ce.typeParameters),Vt(ce,ce.parameters),Ge(ce),void 0);return Lt(He)}case 178:return to(ce.name)?Lt(void 0):Lt(E.updateGetAccessorDeclaration(ce,qo(ce),ce.name,mn(ce,Fp(ce,2)),Ge(ce),void 0));case 179:return to(ce.name)?Lt(void 0):Lt(E.updateSetAccessorDeclaration(ce,qo(ce),ce.name,mn(ce,Fp(ce,2)),void 0));case 173:return to(ce.name)?Lt(void 0):Lt(E.updatePropertyDeclaration(ce,qo(ce),ce.name,ce.questionToken,Ge(ce),Ve(ce)));case 172:return to(ce.name)?Lt(void 0):Lt(E.updatePropertySignature(ce,qo(ce),ce.name,ce.questionToken,Ge(ce)));case 174:return to(ce.name)?Lt(void 0):Lt(E.updateMethodSignature(ce,qo(ce),ce.name,ce.questionToken,Hn(ce,ce.typeParameters),Vt(ce,ce.parameters),Ge(ce)));case 180:return Lt(E.updateCallSignature(ce,Hn(ce,ce.typeParameters),Vt(ce,ce.parameters),Ge(ce)));case 182:return Lt(E.updateIndexSignature(ce,qo(ce),Vt(ce,ce.parameters),st(ce.type,Ci,xi)||E.createKeywordTypeNode(133)));case 261:return na(ce.name)?oi(ce.name):(dt=!0,y=!0,Lt(E.updateVariableDeclaration(ce,ce.name,void 0,Ge(ce),Ve(ce))));case 169:return Cr(ce)&&(ce.default||ce.constraint)?Lt(E.updateTypeParameterDeclaration(ce,ce.modifiers,ce.name,void 0,void 0)):Lt(kn(ce,Ci,e));case 195:{const He=st(ce.checkType,Ci,xi),Ct=st(ce.extendsType,Ci,xi),Nt=d;d=ce.trueType;const Wt=st(ce.trueType,Ci,xi);d=Nt;const rt=st(ce.falseType,Ci,xi);return C.assert(He),C.assert(Ct),C.assert(Wt),C.assert(rt),Lt(E.updateConditionalTypeNode(ce,He,Ct,Wt,rt))}case 185:return Lt(E.updateFunctionTypeNode(ce,Jn(ce.typeParameters,Ci,pl),Vt(ce,ce.parameters),C.checkDefined(st(ce.type,Ci,xi))));case 186:return Lt(E.updateConstructorTypeNode(ce,qo(ce),Jn(ce.typeParameters,Ci,pl),Vt(ce,ce.parameters),C.checkDefined(st(ce.type,Ci,xi))));case 206:return ly(ce)?Lt(E.updateImportTypeNode(ce,E.updateLiteralTypeNode(ce.argument,Ri(ce,ce.argument.literal)),ce.attributes,ce.qualifier,Jn(ce.typeArguments,Ci,xi),ce.isTypeOf)):Lt(ce);default:C.assertNever(ce,"Attempted to process unhandled node kind: ".concat(C.formatSyntaxKind(ce.kind)))}return JI(ce)&&fa(F,ce.pos).line===fa(F,ce.end).line&&Dr(ce,1),Lt(kn(ce,Ci,e));function Lt(He){return He&&We&&dy(ce)&&Ki(ce),gt(ce)&&(d=_t),We&&!y&&(r=ie),dt&&(y=it),He===ce?He:He&&jr(ir(He,ce),ce)}}function Cr(ce){return ce.parent.kind===175&&Fp(ce.parent,2)}function Ur(ce){if(!zqe(ce)||Zo(ce))return;switch(ce.kind){case 279:return Qi(ce.parent)&&(s=!0),u=!0,E.updateExportDeclaration(ce,ce.modifiers,ce.isTypeOnly,ce.exportClause,Ri(ce,ce.moduleSpecifier),Qr(ce.attributes));case 278:{if(Qi(ce.parent)&&(s=!0),u=!0,ce.expression.kind===80)return ce;{const ie=E.createUniqueName("_default",16);r=()=>({diagnosticMessage:f.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:ce}),k=ce;const We=Ge(ce),it=E.createVariableDeclaration(ie,void 0,We,void 0);k=void 0;const dt=E.createVariableStatement(i?[E.createModifier(138)]:[],E.createVariableDeclarationList([it],2));return ir(dt,ce),dw(ce),[dt,E.updateExportAssignment(ce,ce.modifiers,ie)]}}}const _t=hn(ce);return m.set(Gu(ce),_t),ce}function Qe(ce){if(Oc(ce)||Fp(ce,2048)||!Im(ce))return ce;const _t=E.createModifiersFromModifierFlags(Gd(ce)&131039);return E.replaceModifiers(ce,_t)}function It(ce,_t,ie,We){const it=E.updateModuleDeclaration(ce,_t,ie,We);if(vu(it)||it.flags&32)return it;const dt=E.createModuleDeclaration(it.modifiers,it.name,it.body,it.flags|32);return jr(dt,it),Tt(dt,it),dt}function hn(ce){if(_)for(;hN(_,ce););if(Zo(ce))return;switch(ce.kind){case 272:return _o(ce);case 273:return Ht(ce)}if(rd(ce)&&Be(ce)||d_(ce)||Yo(ce)&&K.isImplementationOfOverload(ce))return;let _t;gt(ce)&&(_t=d,d=ce);const ie=Kw(ce),We=r;ie&&(r=cT(ce));const it=i;switch(ce.kind){case 266:{i=!1;const Lt=dt(E.updateTypeAliasDeclaration(ce,qo(ce),ce.name,Jn(ce.typeParameters,Ci,pl),C.checkDefined(st(ce.type,Ci,xi))));return i=it,Lt}case 265:return dt(E.updateInterfaceDeclaration(ce,qo(ce),ce.name,Hn(ce,ce.typeParameters),Bt(ce.heritageClauses),Jn(ce.members,Ci,_S)));case 263:{const Lt=dt(E.updateFunctionDeclaration(ce,qo(ce),void 0,ce.name,Hn(ce,ce.typeParameters),Vt(ce,ce.parameters),Ge(ce),void 0));if(Lt&&K.isExpandoFunctionDeclaration(ce)&&ot(ce)){const He=K.getPropertiesOfContainerFunction(ce);re&&q(ce);const Ct=oT.createModuleDeclaration(void 0,Lt.name||E.createIdentifier("_default"),E.createModuleBlock([]),32);ps(Ct,d),Ct.locals=ma(He),Ct.symbol=He[0].parent;const Nt=[];let Wt=Hi(He,ye=>{if(!FI(ye.valueDeclaration))return;const B=Bi(ye.escapedName);if(!_p(B,99))return;r=cT(ye.valueDeclaration);const xe=K.createTypeOfDeclaration(ye.valueDeclaration,Ct,Xw,Yw|2,N);r=We;const te=EI(B),xt=te?E.getGeneratedNameForNode(ye.valueDeclaration):E.createIdentifier(B);te&&Nt.push([xt,B]);const $t=E.createVariableDeclaration(xt,void 0,xe,void 0);return E.createVariableStatement(te?void 0:[E.createToken(95)],E.createVariableDeclarationList([$t]))});Nt.length?Wt.push(E.createExportDeclaration(void 0,!1,E.createNamedExports(Gt(Nt,([ye,B])=>E.createExportSpecifier(!1,ye,B))))):Wt=Hi(Wt,ye=>E.replaceModifiers(ye,0));const rt=E.createModuleDeclaration(qo(ce),ce.name,E.createModuleBlock(Wt),32);if(!Fp(Lt,2048))return[Lt,rt];const Zt=E.createModifiersFromModifierFlags(Gd(Lt)&-2081|128),Rr=E.updateFunctionDeclaration(Lt,Zt,void 0,Lt.name,Lt.typeParameters,Lt.parameters,Lt.type,void 0),Oe=E.updateModuleDeclaration(rt,Zt,rt.name,rt.body),At=E.createExportAssignment(void 0,!1,rt.name);return Qi(ce.parent)&&(s=!0),u=!0,[Rr,Oe,At]}else return Lt}case 268:{i=!1;const Lt=ce.body;if(Lt&&Lt.kind===269){const He=l,Ct=u;u=!1,l=!1;const Nt=Jn(Lt.statements,Ur,Gi);let Wt=go(Nt);ce.flags&33554432&&(l=!1),!W_(ce)&&!Pn(Wt)&&!u&&(l?Wt=E.createNodeArray([...Wt,Tw(E)]):Wt=Jn(Wt,Qe,Gi));const rt=E.updateModuleBlock(Lt,Wt);i=it,l=He,u=Ct;const Zt=qo(ce);return dt(It(ce,Zt,TS(ce)?Ri(ce,ce.name):ce.name,rt))}else{i=it;const He=qo(ce);i=!1,st(Lt,Ur);const Ct=Gu(Lt),Nt=m.get(Ct);return m.delete(Ct),dt(It(ce,He,ce.name,Nt))}}case 264:{M=ce.name,k=ce;const Lt=E.createNodeArray(qo(ce)),He=Hn(ce,ce.typeParameters),Ct=Sg(ce);let Nt;if(Ct){const ye=r;Nt=m2(Wi(Ct.parameters,B=>{if(!fi(B,31)||Zo(B))return;if(r=cT(B),B.name.kind===80)return ir(E.createPropertyDeclaration(qo(B),B.name,B.questionToken,Ge(B),Ve(B)),B);return xe(B.name);function xe(te){let xt;for(const $t of te.elements)qc($t)||(na($t.name)&&(xt=co(xt,xe($t.name))),xt=xt||[],xt.push(E.createPropertyDeclaration(qo(B),$t.name,void 0,Ge($t),void 0)));return xt}})),r=ye}const rt=bt(ce.members,ye=>!!ye.name&&to(ye.name))?[E.createPropertyDeclaration(void 0,E.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:void 0,Zt=K.createLateBoundIndexSignatures(ce,d,Xw,Yw,N),Rr=co(co(co(rt,Zt),Nt),Jn(ce.members,Ci,vc)),Oe=E.createNodeArray(Rr),At=lh(ce);if(At&&!Ps(At.expression)&&At.expression.kind!==106){const ye=ce.name?Bi(ce.name.escapedText):"default",B=E.createUniqueName("".concat(ye,"_base"),16);r=()=>({diagnosticMessage:f.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:At,typeName:ce.name});const xe=E.createVariableDeclaration(B,void 0,K.createTypeOfExpression(At.expression,ce,Xw,Yw,N),void 0),te=E.createVariableStatement(i?[E.createModifier(138)]:[],E.createVariableDeclarationList([xe],2)),xt=E.createNodeArray(Gt(ce.heritageClauses,$t=>{if($t.token===96){const Pe=r;r=cT($t.types[0]);const yt=E.updateHeritageClause($t,Gt($t.types,jt=>E.updateExpressionWithTypeArguments(jt,B,Jn(jt.typeArguments,Ci,xi))));return r=Pe,yt}return E.updateHeritageClause($t,Jn(E.createNodeArray(Fn($t.types,Pe=>Ps(Pe.expression)||Pe.expression.kind===106)),Ci,hy))}));return[te,dt(E.updateClassDeclaration(ce,Lt,ce.name,He,xt,Oe))]}else{const ye=Bt(ce.heritageClauses);return dt(E.updateClassDeclaration(ce,Lt,ce.name,He,ye,Oe))}}case 244:return dt(pr(ce));case 267:return dt(E.updateEnumDeclaration(ce,E.createNodeArray(qo(ce)),ce.name,E.createNodeArray(Hi(ce.members,Lt=>{if(Zo(Lt))return;const He=K.getEnumMemberValue(Lt),Ct=He==null?void 0:He.value;re&&Lt.initializer&&(He!=null&&He.hasExternalReferences)&&!Ea(Lt.name)&&e.addDiagnostic(Sr(Lt,f.Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDeclarations));const Nt=Ct===void 0?void 0:typeof Ct=="string"?E.createStringLiteral(Ct):Ct<0?E.createPrefixUnaryExpression(41,E.createNumericLiteral(-Ct)):E.createNumericLiteral(Ct);return ir(E.updateEnumMember(Lt,Lt.name,Nt),Lt)}))))}return C.assertNever(ce,"Unhandled top-level node in declaration emit: ".concat(C.formatSyntaxKind(ce.kind)));function dt(Lt){return gt(ce)&&(d=_t),ie&&(r=We),ce.kind===268&&(i=it),Lt===ce?Lt:(k=void 0,M=void 0,Lt&&jr(ir(Lt,ce),ce))}}function pr(ce){if(!Xe(ce.declarationList.declarations,Ot))return;const _t=Jn(ce.declarationList.declarations,Ci,bi);if(!et(_t))return;const ie=E.createNodeArray(qo(ce));let We;return ok(ce.declarationList)||ik(ce.declarationList)?(We=E.createVariableDeclarationList(_t,2),jr(We,ce.declarationList),Tt(We,ce.declarationList),Ic(We,ce.declarationList)):We=E.updateVariableDeclarationList(ce.declarationList,_t),E.updateVariableStatement(ce,ie,We)}function oi(ce){return Qo(Hi(ce.elements,_t=>di(_t)))}function di(ce){if(ce.kind!==233&&ce.name)return Ot(ce)?na(ce.name)?oi(ce.name):E.createVariableDeclaration(ce.name,void 0,Ge(ce),void 0):void 0}function Ki(ce){let _t;y||(_t=r,r=sse(ce)),M=ce.name,C.assert(dy(ce));const We=ce.name.expression;tn(We,d),y||(r=_t),M=void 0}function Zo(ce){return!!he&&!!ce&&wte(ce,F)}function Da(ce){return fl(ce)||fc(ce)}function Pn(ce){return bt(ce,Da)}function qo(ce){const _t=Gd(ce),ie=at(ce);return _t===ie?lP(ce.modifiers,We=>ii(We,Ra),Ra):E.createModifiersFromModifierFlags(ie)}function at(ce){let _t=130030,ie=i&&!Wqe(ce)?128:0;const We=ce.parent.kind===308;return(!We||o&&We&&Wc(ce.parent))&&(_t^=128,ie=0),EAe(ce,_t,ie)}function Bt(ce){return E.createNodeArray(Fn(Gt(ce,_t=>E.updateHeritageClause(_t,Jn(E.createNodeArray(Fn(_t.types,ie=>Ps(ie.expression)||_t.token===96&&ie.expression.kind===106)),Ci,hy))),_t=>_t.types&&!!_t.types.length))}}function Wqe(e){return e.kind===265}function Fqe(e,t,r,i){return e.createModifiersFromModifierFlags(EAe(t,r,i))}function EAe(e,t=131070,r=0){let i=Gd(e)&t|r;return i&2048&&!(i&32)&&(i^=32),i&2048&&i&128&&(i^=128),i}function AAe(e){switch(e.kind){case 173:case 172:return!Fp(e,2);case 170:case 261:return!0}return!1}function zqe(e){switch(e.kind){case 263:case 268:case 272:case 265:case 264:case 266:case 267:case 244:case 273:case 279:case 278:return!0}return!1}function Bqe(e){switch(e.kind){case 181:case 177:case 175:case 178:case 179:case 173:case 172:case 174:case 180:case 182:case 261:case 169:case 234:case 184:case 195:case 185:case 186:case 206:return!0}return!1}function Gqe(e){switch(e){case 200:return lH;case 99:case 7:case 6:case 5:case 100:case 101:case 102:case 199:case 1:return ase;case 4:return ose;default:return sH}}var dse={scriptTransformers:se,declarationTransformers:se};function use(e,t,r){return{scriptTransformers:Vqe(e,t,r),declarationTransformers:jqe(t)}}function Vqe(e,t,r){if(r)return se;const i=Va(e),o=Tu(e),s=Kk(e),l=[];return $r(l,t&&Gt(t.before,xAe)),l.push(Vae),e.experimentalDecorators&&l.push(Hae),V6(e)&&l.push(tse),i<99&&l.push(Qae),!e.experimentalDecorators&&(i<99||!s)&&l.push(qae),l.push(jae),i<8&&l.push($ae),i<7&&l.push(Yae),i<6&&l.push(Xae),i<5&&l.push(Kae),i<4&&l.push(Jae),i<3&&l.push(nse),i<2&&(l.push(rse),l.push(ise)),l.push(Gqe(o)),$r(l,t&&Gt(t.after,xAe)),l}function jqe(e){const t=[];return t.push(cH),$r(t,e&&Gt(e.afterDeclarations,Hqe)),t}function Uqe(e){return t=>jie(t)?e.transformBundle(t):e.transformSourceFile(t)}function IAe(e,t){return r=>{const i=e(r);return typeof i=="function"?t(r,i):Uqe(i)}}function xAe(e){return IAe(e,hh)}function Hqe(e){return IAe(e,(t,r)=>r)}function hP(e,t){return t}function $w(e,t,r){r(e,t)}function Qw(e,t,r,i,o,s,l){var u,d;const _=new Array(359);let m,y,E,A=0,R=[],N=[],M=[],k=[],F=0,O=!1,G=[],j=0,K,Q,J=hP,he=$w,re=0;const q=[],ue={factory:r,getCompilerOptions:()=>i,getEmitResolver:()=>e,getEmitHost:()=>t,getEmitHelperFactory:Lu(()=>Eie(ue)),startLexicalEnvironment:le,suspendLexicalEnvironment:De,resumeLexicalEnvironment:_e,endLexicalEnvironment:Ve,setLexicalEnvironmentFlags:Ge,getLexicalEnvironmentFlags:Be,hoistVariableDeclaration:Ne,hoistFunctionDeclaration:ze,addInitializationStatement:lt,startBlockScope:ot,endBlockScope:Ot,addBlockScopedVariable:Vt,requestEmitHelper:mn,readEmitHelpers:Hn,enableSubstitution:$,enableEmitNotification:be,isSubstitutionEnabled:ve,isEmitNotificationEnabled:ee,get onSubstituteNode(){return J},set onSubstituteNode(tn){C.assert(re<1,"Cannot modify transformation hooks after initialization has completed."),C.assert(tn!==void 0,"Value must not be 'undefined'"),J=tn},get onEmitNode(){return he},set onEmitNode(tn){C.assert(re<1,"Cannot modify transformation hooks after initialization has completed."),C.assert(tn!==void 0,"Value must not be 'undefined'"),he=tn},addDiagnostic(tn){q.push(tn)}};for(const tn of o)_j(On(Ho(tn)));Nl("beforeTransform");const de=s.map(tn=>tn(ue)),ge=tn=>{for(const ir of de)tn=ir(tn);return tn};re=1;const Ae=[];for(const tn of o)(u=Ar)==null||u.push(Ar.Phase.Emit,"transformNodes",tn.kind===308?{path:tn.path}:{kind:tn.kind,pos:tn.pos,end:tn.end}),Ae.push((l?ge:Re)(tn)),(d=Ar)==null||d.pop();return re=2,Nl("afterTransform"),Of("transformTime","beforeTransform","afterTransform"),{transformed:Ae,substituteNode:je,emitNodeWithNotification:Se,isEmitNotificationEnabled:ee,dispose:gt,diagnostics:q};function Re(tn){return tn&&(!Qi(tn)||!tn.isDeclarationFile)?ge(tn):tn}function $(tn){C.assert(re<2,"Cannot modify the transformation context after transformation has completed."),_[tn]|=1}function ve(tn){return(_[tn.kind]&1)!==0&&(Za(tn)&8)===0}function je(tn,ir){return C.assert(re<3,"Cannot substitute a node after the result is disposed."),ir&&ve(ir)&&J(tn,ir)||ir}function be(tn){C.assert(re<2,"Cannot modify the transformation context after transformation has completed."),_[tn]|=2}function ee(tn){return(_[tn.kind]&2)!==0||(Za(tn)&4)!==0}function Se(tn,ir,Ri){C.assert(re<3,"Cannot invoke TransformationResult callbacks after the result is disposed."),ir&&(ee(ir)?he(tn,ir,Ri):Ri(tn,ir))}function Ne(tn){C.assert(re>0,"Cannot modify the lexical environment during initialization."),C.assert(re<2,"Cannot modify the lexical environment after transformation has completed.");const ir=Dr(r.createVariableDeclaration(tn),128);m?m.push(ir):m=[ir],A&1&&(A|=2)}function ze(tn){C.assert(re>0,"Cannot modify the lexical environment during initialization."),C.assert(re<2,"Cannot modify the lexical environment after transformation has completed."),Dr(tn,2097152),y?y.push(tn):y=[tn]}function lt(tn){C.assert(re>0,"Cannot modify the lexical environment during initialization."),C.assert(re<2,"Cannot modify the lexical environment after transformation has completed."),Dr(tn,2097152),E?E.push(tn):E=[tn]}function le(){C.assert(re>0,"Cannot modify the lexical environment during initialization."),C.assert(re<2,"Cannot modify the lexical environment after transformation has completed."),C.assert(!O,"Lexical environment is suspended."),R[F]=m,N[F]=y,M[F]=E,k[F]=A,F++,m=void 0,y=void 0,E=void 0,A=0}function De(){C.assert(re>0,"Cannot modify the lexical environment during initialization."),C.assert(re<2,"Cannot modify the lexical environment after transformation has completed."),C.assert(!O,"Lexical environment is already suspended."),O=!0}function _e(){C.assert(re>0,"Cannot modify the lexical environment during initialization."),C.assert(re<2,"Cannot modify the lexical environment after transformation has completed."),C.assert(O,"Lexical environment is not suspended."),O=!1}function Ve(){C.assert(re>0,"Cannot modify the lexical environment during initialization."),C.assert(re<2,"Cannot modify the lexical environment after transformation has completed."),C.assert(!O,"Lexical environment is suspended.");let tn;if(m||y||E){if(y&&(tn=[...y]),m){const ir=r.createVariableStatement(void 0,r.createVariableDeclarationList(m));Dr(ir,2097152),tn?tn.push(ir):tn=[ir]}E&&(tn?tn=[...tn,...E]:tn=[...E])}return F--,m=R[F],y=N[F],E=M[F],A=k[F],F===0&&(R=[],N=[],M=[],k=[]),tn}function Ge(tn,ir){A=ir?A|tn:A&~tn}function Be(){return A}function ot(){C.assert(re>0,"Cannot start a block scope during initialization."),C.assert(re<2,"Cannot start a block scope after transformation has completed."),G[j]=K,j++,K=void 0}function Ot(){C.assert(re>0,"Cannot end a block scope during initialization."),C.assert(re<2,"Cannot end a block scope after transformation has completed.");const tn=bt(K)?[r.createVariableStatement(void 0,r.createVariableDeclarationList(K.map(ir=>r.createVariableDeclaration(ir)),1))]:void 0;return j--,K=G[j],j===0&&(G=[]),tn}function Vt(tn){C.assert(j>0,"Cannot add a block scoped variable outside of an iteration body."),(K||(K=[])).push(tn)}function mn(tn){if(C.assert(re>0,"Cannot modify the transformation context during initialization."),C.assert(re<2,"Cannot modify the transformation context after transformation has completed."),C.assert(!tn.scoped,"Cannot request a scoped emit helper."),tn.dependencies)for(const ir of tn.dependencies)mn(ir);Q=jn(Q,tn)}function Hn(){C.assert(re>0,"Cannot modify the transformation context during initialization."),C.assert(re<2,"Cannot modify the transformation context after transformation has completed.");const tn=Q;return Q=void 0,tn}function gt(){if(re<3){for(const tn of o)_j(On(Ho(tn)));m=void 0,R=void 0,y=void 0,N=void 0,J=void 0,he=void 0,Q=void 0,re=3}}}var Zw={factory:L,getCompilerOptions:()=>({}),getEmitResolver:ba,getEmitHost:ba,getEmitHelperFactory:ba,startLexicalEnvironment:vs,resumeLexicalEnvironment:vs,suspendLexicalEnvironment:vs,endLexicalEnvironment:uS,setLexicalEnvironmentFlags:vs,getLexicalEnvironmentFlags:()=>0,hoistVariableDeclaration:vs,hoistFunctionDeclaration:vs,addInitializationStatement:vs,startBlockScope:vs,endBlockScope:uS,addBlockScopedVariable:vs,requestEmitHelper:vs,readEmitHelpers:ba,enableSubstitution:vs,enableEmitNotification:vs,isSubstitutionEnabled:ba,isEmitNotificationEnabled:ba,onSubstituteNode:hP,onEmitNode:$w,addDiagnostic:vs},RAe=Jqe();function pse(e){return xl(e,".tsbuildinfo")}function dH(e,t,r,i=!1,o,s){const l=Lo(r)?r:T6(e,r,i),u=e.getCompilerOptions();if(!o)if(u.outFile){if(l.length){const d=L.createBundle(l),_=t(_P(d,e,i),d);if(_)return _}}else for(const d of l){const _=t(_P(d,e,i),d);if(_)return _}if(s){const d=dT(u);if(d)return t({buildInfoPath:d},void 0)}}function dT(e){const t=e.configFilePath;if(!qqe(e))return;if(e.tsBuildInfoFile)return e.tsBuildInfoFile;const r=e.outFile;let i;if(r)i=Su(r);else{if(!t)return;const o=Su(t);i=e.outDir?e.rootDir?db(e.outDir,df(e.rootDir,o,!0)):ei(e.outDir,Ec(o)):o}return i+".tsbuildinfo"}function qqe(e){return kS(e)||!!e.tscBuild}function fse(e,t){const r=e.outFile,i=e.emitDeclarationOnly?void 0:r,o=i&&DAe(i,e),s=t||vp(e)?Su(r)+".d.ts":void 0,l=s&&F6(e)?s+".map":void 0;return{jsFilePath:i,sourceMapFilePath:o,declarationFilePath:s,declarationMapPath:l}}function _P(e,t,r){const i=t.getCompilerOptions();if(e.kind===309)return fse(i,r);{const o=Gne(e.fileName,t,eO(e.fileName,i)),s=zf(e),l=s&&iy(e.fileName,o,t.getCurrentDirectory(),!t.useCaseSensitiveFileNames())===0,u=i.emitDeclarationOnly||l?void 0:o,d=!u||zf(e)?void 0:DAe(u,i),_=r||vp(i)&&!s?Vne(e.fileName,t):void 0,m=_&&F6(i)?_+".map":void 0;return{jsFilePath:u,sourceMapFilePath:d,declarationFilePath:_,declarationMapPath:m}}}function DAe(e,t){return t.sourceMap&&!t.inlineSourceMap?e+".map":void 0}function eO(e,t){return xl(e,".json")?".json":t.jsx===1&&Ql(e,[".jsx",".tsx"])?".jsx":Ql(e,[".mts",".mjs"])?".mjs":Ql(e,[".cts",".cjs"])?".cjs":".js"}function CAe(e,t,r,i){return r?db(r,df(i(),e,t)):e}function gP(e,t,r,i=()=>O1(t,r)){return uH(e,t.options,r,i)}function uH(e,t,r,i){return dv(CAe(e,r,t.declarationDir||t.outDir,i),v6(e))}function NAe(e,t,r,i=()=>O1(t,r)){if(t.options.emitDeclarationOnly)return;const o=xl(e,".json"),s=pH(e,t.options,r,i);return!o||iy(e,s,C.checkDefined(t.options.configFilePath),r)!==0?s:void 0}function pH(e,t,r,i){return dv(CAe(e,r,t.outDir,i),eO(e,t))}function MAe(){let e;return{addOutput:t,getOutputs:r};function t(i){i&&(e||(e=[])).push(i)}function r(){return e||se}}function PAe(e,t){const{jsFilePath:r,sourceMapFilePath:i,declarationFilePath:o,declarationMapPath:s}=fse(e.options,!1);t(r),t(i),t(o),t(s)}function LAe(e,t,r,i,o){if(ad(t))return;const s=NAe(t,e,r,o);if(i(s),!xl(t,".json")&&(s&&e.options.sourceMap&&i("".concat(s,".map")),vp(e.options))){const l=gP(t,e,r,o);i(l),e.options.declarationMap&&i("".concat(l,".map"))}}function yP(e,t,r,i,o){let s;return e.rootDir?(s=Eo(e.rootDir,r),o==null||o(e.rootDir)):e.composite&&e.configFilePath?(s=pi(Bd(e.configFilePath)),o==null||o(s)):s=Tse(t(),r,i),s&&s[s.length-1]!==$s&&(s+=$s),s}function O1({options:e,fileNames:t},r){return yP(e,()=>Fn(t,i=>!(e.noEmitForJsFiles&&Ql(i,hD))&&!ad(i)),pi(Bd(C.checkDefined(e.configFilePath))),Fd(!r))}function x3(e,t){const{addOutput:r,getOutputs:i}=MAe();if(e.options.outFile)PAe(e,r);else{const o=Lu(()=>O1(e,t));for(const s of e.fileNames)LAe(e,s,t,r,o)}return r(dT(e.options)),i()}function kAe(e,t,r){t=Sa(t),C.assert(Vn(e.fileNames,t),"Expected fileName to be present in command line");const{addOutput:i,getOutputs:o}=MAe();return e.options.outFile?PAe(e,i):LAe(e,t,r,i),o()}function fH(e,t){if(e.options.outFile){const{jsFilePath:o,declarationFilePath:s}=fse(e.options,!1);return C.checkDefined(o||s,"project ".concat(e.options.configFilePath," expected to have at least one output"))}const r=Lu(()=>O1(e,t));for(const o of e.fileNames){if(ad(o))continue;const s=NAe(o,e,t,r);if(s)return s;if(!xl(o,".json")&&vp(e.options))return gP(o,e,t,r)}const i=dT(e.options);return i||C.fail("project ".concat(e.options.configFilePath," expected to have at least one output"))}function mH(e,t){return!!t&&!!e}function hH(e,t,r,{scriptTransformers:i,declarationTransformers:o},s,l,u,d){var _=t.getCompilerOptions(),m=_.sourceMap||_.inlineSourceMap||F6(_)?[]:void 0,y=_.listEmittedFiles?[]:void 0,E=dM(),A=lv(_),R=wk(A),{enter:N,exit:M}=l9("printTime","beforePrint","afterPrint"),k=!1;return N(),dH(t,F,T6(t,r,u),u,l,!r&&!d),M(),{emitSkipped:k,diagnostics:E.getDiagnostics(),emittedFiles:y,sourceMaps:m};function F({jsFilePath:de,sourceMapFilePath:ge,declarationFilePath:Ae,declarationMapPath:Re,buildInfoPath:$},ve){var je,be,ee,Se,Ne,ze;(je=Ar)==null||je.push(Ar.Phase.Emit,"emitJsFileOrBundle",{jsFilePath:de}),G(ve,de,ge),(be=Ar)==null||be.pop(),(ee=Ar)==null||ee.push(Ar.Phase.Emit,"emitDeclarationFileOrBundle",{declarationFilePath:Ae}),j(ve,Ae,Re),(Se=Ar)==null||Se.pop(),(Ne=Ar)==null||Ne.push(Ar.Phase.Emit,"emitBuildInfo",{buildInfoPath:$}),O($),(ze=Ar)==null||ze.pop()}function O(de){if(!de||r)return;if(t.isEmitBlocked(de)){k=!0;return}const ge=t.getBuildInfo()||{version:Me};E6(t,E,de,mse(ge),!1,void 0,{buildInfo:ge}),y==null||y.push(de)}function G(de,ge,Ae){if(!de||s||!ge)return;if(t.isEmitBlocked(ge)||_.noEmit){k=!0;return}(Qi(de)?[de]:Fn(de.sourceFiles,i6)).forEach(je=>{(_.noCheck||!RM(je,_))&&Q(je)});const Re=Qw(e,t,L,_,[de],i,!1),$={removeComments:_.removeComments,newLine:_.newLine,noEmitHelpers:_.noEmitHelpers,module:Tu(_),moduleResolution:iu(_),target:Va(_),sourceMap:_.sourceMap,inlineSourceMap:_.inlineSourceMap,inlineSources:_.inlineSources,extendedDiagnostics:_.extendedDiagnostics},ve=jb($,{hasGlobalName:e.hasGlobalName,onEmitNode:Re.emitNodeWithNotification,isEmitNotificationEnabled:Re.isEmitNotificationEnabled,substituteNode:Re.substituteNode});C.assert(Re.transformed.length===1,"Should only see one output from the transform"),J(ge,Ae,Re,ve,_),Re.dispose(),y&&(y.push(ge),Ae&&y.push(Ae))}function j(de,ge,Ae){if(!de||s===0)return;if(!ge){(s||_.emitDeclarationOnly)&&(k=!0);return}const Re=Qi(de)?[de]:de.sourceFiles,$=u?Re:Fn(Re,i6),ve=_.outFile?[L.createBundle($)]:$;$.forEach(ee=>{(s&&!vp(_)||_.noCheck||mH(s,u)||!RM(ee,_))&&K(ee)});const je=Qw(e,t,L,_,ve,o,!1);if(et(je.diagnostics))for(const ee of je.diagnostics)E.add(ee);const be=!!je.diagnostics&&!!je.diagnostics.length||!!t.isEmitBlocked(ge)||!!_.noEmit;if(k=k||be,!be||u){C.assert(je.transformed.length===1,"Should only see one output from the decl transform");const ee={removeComments:_.removeComments,newLine:_.newLine,noEmitHelpers:!0,module:_.module,moduleResolution:_.moduleResolution,target:_.target,sourceMap:s!==2&&_.declarationMap,inlineSourceMap:_.inlineSourceMap,extendedDiagnostics:_.extendedDiagnostics,onlyPrintJsDocStyle:!0,omitBraceSourceMapPositions:!0},Se=jb(ee,{hasGlobalName:e.hasGlobalName,onEmitNode:je.emitNodeWithNotification,isEmitNotificationEnabled:je.isEmitNotificationEnabled,substituteNode:je.substituteNode}),Ne=J(ge,Ae,je,Se,{sourceMap:ee.sourceMap,sourceRoot:_.sourceRoot,mapRoot:_.mapRoot,extendedDiagnostics:_.extendedDiagnostics});y&&(Ne&&y.push(ge),Ae&&y.push(Ae))}je.dispose()}function K(de){if(fl(de)){de.expression.kind===80&&e.collectLinkedAliases(de.expression,!0);return}else if(ou(de)){e.collectLinkedAliases(de.propertyName||de.name,!0);return}Xo(de,K)}function Q(de){wu(de)||tx(de,ge=>{if(Oc(ge)&&!(av(ge)&32)||Sl(ge))return"skip";e.markLinkedReferences(ge)})}function J(de,ge,Ae,Re,$){const ve=Ae.transformed[0],je=ve.kind===309?ve:void 0,be=ve.kind===308?ve:void 0,ee=je?je.sourceFiles:[be];let Se;he($,ve)&&(Se=Aae(t,Ec(Bd(de)),re($),q($,de,be),$)),je?Re.writeBundle(je,R,Se):Re.writeFile(be,R,Se);let Ne;if(Se){m&&m.push({inputSourceFileNames:Se.getSources(),sourceMap:Se.toJSON()});const le=ue($,Se,de,ge,be);if(le&&(R.isAtStartOfLine()||R.rawWrite(A),Ne=R.getTextPos(),R.writeComment("//# sourceMappingURL=".concat(le))),ge){const De=Se.toString();E6(t,E,ge,De,!1,ee)}}else R.writeLine();const ze=R.getText(),lt={sourceMapUrlPos:Ne,diagnostics:Ae.diagnostics};return E6(t,E,de,ze,!!_.emitBOM,ee,lt),R.clear(),!lt.skippedDtsWrite}function he(de,ge){return(de.sourceMap||de.inlineSourceMap)&&(ge.kind!==308||!xl(ge.fileName,".json"))}function re(de){const ge=Bd(de.sourceRoot||"");return ge&&jc(ge)}function q(de,ge,Ae){if(de.sourceRoot)return t.getCommonSourceDirectory();if(de.mapRoot){let Re=Bd(de.mapRoot);return Ae&&(Re=pi(S6(Ae.fileName,t,Re))),Uh(Re)===0&&(Re=ei(t.getCommonSourceDirectory(),Re)),Re}return pi(Sa(ge))}function ue(de,ge,Ae,Re,$){if(de.inlineSourceMap){const je=ge.toString(),be=ire(Vc,je);return"data:application/json;base64,".concat(be)}const ve=Ec(Bd(C.checkDefined(Re)));if(de.mapRoot){let je=Bd(de.mapRoot);return $&&(je=pi(S6($.fileName,t,je))),Uh(je)===0?(je=ei(t.getCommonSourceDirectory(),je),encodeURI(kR(pi(Sa(Ae)),ei(je,ve),t.getCurrentDirectory(),t.getCanonicalFileName,!0))):encodeURI(ei(je,ve))}return encodeURI(ve)}}function mse(e){return JSON.stringify(e)}function _H(e,t){return AV(e,t)}var hse={hasGlobalName:ba,getReferencedExportContainer:ba,getReferencedImportDeclaration:ba,getReferencedDeclarationWithCollidingName:ba,isDeclarationWithCollidingName:ba,isValueAliasDeclaration:ba,isReferencedAliasDeclaration:ba,isTopLevelValueImportEqualsWithEntityName:ba,hasNodeCheckFlag:ba,isDeclarationVisible:ba,isLateBound:e=>!1,collectLinkedAliases:ba,markLinkedReferences:ba,isImplementationOfOverload:ba,requiresAddingImplicitUndefined:ba,isExpandoFunctionDeclaration:ba,getPropertiesOfContainerFunction:ba,createTypeOfDeclaration:ba,createReturnTypeOfSignatureDeclaration:ba,createTypeOfExpression:ba,createLiteralConstValue:ba,isSymbolAccessible:ba,isEntityNameVisible:ba,getConstantValue:ba,getEnumMemberValue:ba,getReferencedValueDeclaration:ba,getReferencedValueDeclarations:ba,getTypeReferenceSerializationKind:ba,isOptionalParameter:ba,isArgumentsLocalBinding:ba,getExternalModuleFileFromDeclaration:ba,isLiteralConstDeclaration:ba,getJsxFactoryEntity:ba,getJsxFragmentFactoryEntity:ba,isBindingCapturedByNode:ba,getDeclarationStatementsForSourceFile:ba,isImportRequiredByAugmentation:ba,isDefinitelyReferenceToGlobalSymbolObject:ba,createLateBoundIndexSignatures:ba,symbolToDeclarations:ba},_se=Lu(()=>jb({})),YS=Lu(()=>jb({removeComments:!0})),gse=Lu(()=>jb({removeComments:!0,neverAsciiEscape:!0})),gH=Lu(()=>jb({removeComments:!0,omitTrailingSemicolon:!0}));function jb(e={},t={}){var{hasGlobalName:r,onEmitNode:i=$w,isEmitNotificationEnabled:o,substituteNode:s=hP,onBeforeEmitNode:l,onAfterEmitNode:u,onBeforeEmitNodeArray:d,onAfterEmitNodeArray:_,onBeforeEmitToken:m,onAfterEmitToken:y}=t,E=!!e.extendedDiagnostics,A=!!e.omitBraceSourceMapPositions,R=lv(e),N=Tu(e),M=new Map,k,F,O,G,j,K,Q,J,he,re,q,ue,de,ge,Ae,Re=e.preserveSourceNewlines,$,ve,je,be=DC,ee,Se=!0,Ne,ze,lt=-1,le,De=-1,_e=-1,Ve=-1,Ge=-1,Be,ot,Ot=!1,Vt=!!e.removeComments,mn,Hn,{enter:gt,exit:tn}=F0e(E,"commentTime","beforeComment","afterComment"),ir=L.parenthesizer,Ri={select:D=>D===0?ir.parenthesizeLeadingTypeArgument:void 0},_o=Nc();return Zo(),{printNode:Ht,printList:Qr,printFile:Ci,printBundle:go,writeNode:Cr,writeList:Ur,writeFile:It,writeBundle:Qe};function Ht(D,me,St){switch(D){case 0:C.assert(Qi(me),"Expected a SourceFile node.");break;case 2:C.assert(Je(me),"Expected an Identifier node.");break;case 1:C.assert(Et(me),"Expected an Expression node.");break}switch(me.kind){case 308:return Ci(me);case 309:return go(me)}return Cr(D,me,St,hn()),pr()}function Qr(D,me,St){return Ur(D,me,St,hn()),pr()}function go(D){return Qe(D,hn(),void 0),pr()}function Ci(D){return It(D,hn(),void 0),pr()}function Cr(D,me,St,En){const vi=ve;Ki(En,void 0),oi(D,me,St),Zo(),ve=vi}function Ur(D,me,St,En){const vi=ve;Ki(En,void 0),St&&di(St),Kr(void 0,me,D),Zo(),ve=vi}function Qe(D,me,St){ee=!1;const En=ve;Ki(me,St),Nv(D),Ym(D),Zt(D),iL(D);for(const vi of D.sourceFiles)oi(0,vi,vi);Zo(),ve=En}function It(D,me,St){ee=!0;const En=ve;Ki(me,St),Nv(D),Ym(D),oi(0,D,D),Zo(),ve=En}function hn(){return je||(je=wk(R))}function pr(){const D=je.getText();return je.clear(),D}function oi(D,me,St){St&&di(St),ie(D,me,void 0)}function di(D){k=D,Be=void 0,ot=void 0,D&&gE(D)}function Ki(D,me){D&&e.omitTrailingSemicolon&&(D=lV(D)),ve=D,Ne=me,Se=!ve||!Ne}function Zo(){F=[],O=[],G=[],j=new Set,K=[],Q=new Map,J=[],he=0,re=[],q=0,ue=[],de=void 0,ge=[],Ae=void 0,k=void 0,Be=void 0,ot=void 0,Ki(void 0,void 0)}function Da(){return Be||(Be=dg(C.checkDefined(k)))}function Pn(D,me){D!==void 0&&ie(4,D,me)}function qo(D){D!==void 0&&ie(2,D,void 0)}function at(D,me){D!==void 0&&ie(1,D,me)}function Bt(D){ie(Oa(D)?6:4,D)}function ce(D){Re&&Gm(D)&4&&(Re=!1)}function _t(D){Re=D}function ie(D,me,St){Hn=St,dt(0,D,me)(D,me),Hn=void 0}function We(D){return!Vt&&!Qi(D)}function it(D){return!Se&&!Qi(D)&&!r6(D)}function dt(D,me,St){switch(D){case 0:if(i!==$w&&(!o||o(St)))return He;case 1:if(s!==hP&&(mn=s(me,St)||St)!==St)return Hn&&(mn=Hn(mn)),rt;case 2:if(We(St))return hE;case 3:if(it(St))return pA;case 4:return Ct;default:return C.assertNever(D)}}function Lt(D,me,St){return dt(D+1,me,St)}function He(D,me){const St=Lt(0,D,me);i(D,me,St)}function Ct(D,me){if(l==null||l(me),Re){const St=Re;ce(me),Nt(D,me),_t(St)}else Nt(D,me);u==null||u(me),Hn=void 0}function Nt(D,me,St=!0){if(St){const En=yj(me);if(En)return ye(D,me,En)}if(D===0)return RT(va(me,Qi));if(D===2)return te(va(me,Je));if(D===6)return At(va(me,Oa),!0);if(D===3)return Wt(va(me,pl));if(D===7)return Og(va(me,I1));if(D===5)return C.assertNode(me,Cj),vh(!0);if(D===4){switch(me.kind){case 16:case 17:case 18:return At(me,!1);case 80:return te(me);case 81:return xt(me);case 167:return $t(me);case 168:return yt(me);case 169:return jt(me);case 170:return or(me);case 171:return $n(me);case 172:return fr(me);case 173:return vt(me);case 174:return Rt(me);case 175:return zt(me);case 176:return Yt(me);case 177:return An(me);case 178:case 179:return vn(me);case 180:return Ft(me);case 181:return bn(me);case 182:return Pr(me);case 183:return ti(me);case 184:return ea(me);case 185:return wo(me);case 186:return bc(me);case 187:return tl(me);case 188:return Ma(me);case 189:return tc(me);case 190:return Oo(me);case 191:return is(me);case 193:return Ja(me);case 194:return nn(me);case 195:return Ds(me);case 196:return ql(me);case 197:return lc(me);case 234:return ld(me);case 198:return vd();case 199:return Gs(me);case 200:return Ie(me);case 201:return Y(me);case 202:return ut(me);case 203:return ga(me);case 204:return Jt(me);case 205:return tr(me);case 206:return fn(me);case 207:return dr(me);case 208:return si(me);case 209:return xr(me);case 240:return Lg(me);case 241:return kt();case 242:return kg(me);case 244:return Kc(me);case 243:return vh(!1);case 245:return Sf(me);case 246:return g_(me);case 247:return pt(me);case 248:return rn(me);case 249:return cn(me);case 250:return wn(me);case 251:return ar(me);case 252:return Si(me);case 253:return eo(me);case 254:return oa(me);case 255:return Ao(me);case 256:return Uo(me);case 257:return bl(me);case 258:return Pa(me);case 259:return cd(me);case 260:return Jp(me);case 261:return Ef(me);case 262:return $f(me);case 263:return xy(me);case 264:return In(me);case 265:return kr(me);case 266:return Kn(me);case 267:return ur(me);case 268:return wi(me);case 269:return No(me);case 270:return gi(me);case 271:return K_(me);case 272:return Io(me);case 273:return ll(me);case 274:return lp(me);case 275:return Nm(me);case 281:return EC(me);case 276:return cp(me);case 277:return Qf(me);case 278:return dp(me);case 279:return wg(me);case 280:return nL(me);case 282:return AC(me);case 301:return xv(me);case 302:return Th(me);case 283:return;case 284:return J1(me);case 12:return X1(me);case 287:case 290:return rL(me);case 288:case 291:return Nx(me);case 292:return IC(me);case 293:return ST(me);case 294:return Y1(me);case 295:return Px(me);case 296:return Lx(me);case 297:return Yb(me);case 298:return Dv(me);case 299:return Cy(me);case 300:return Ny(me);case 304:return $b(me);case 305:return ET(me);case 306:return $1(me);case 307:return AT(me);case 308:return RT(me);case 309:return C.fail("Bundles should be printed using printBundle");case 310:return xT(me);case 311:return Py(me);case 313:return Br("*");case 314:return Br("?");case 315:return ms(me);case 316:return ro(me);case 317:return zo(me);case 318:return xs(me);case 192:case 319:return Tf(me);case 320:return;case 321:return ns(me);case 323:return Du(me);case 324:return Y_(me);case 328:case 333:case 338:return IT(me);case 329:case 330:return X_(me);case 331:case 332:return;case 334:case 335:case 336:case 337:return;case 339:return up(me);case 340:return Kd(me);case 342:case 349:return Uu(me);case 341:case 343:case 344:case 345:case 350:case 351:return Q1(me);case 346:return hl(me);case 347:return Jd(me);case 348:return xC(me);case 352:return My(me);case 354:case 355:return}if(Et(me)&&(D=1,s!==hP)){const En=s(D,me)||me;En!==me&&(me=En,Hn&&(me=Hn(me)))}}if(D===1)switch(me.kind){case 9:case 10:return Oe(me);case 11:case 14:case 15:return At(me,!1);case 80:return te(me);case 81:return xt(me);case 210:return Bn(me);case 211:return Zi(me);case 212:return Xi(me);case 213:return Ca(me);case 214:return ml(me);case 215:return Cc(me);case 216:return zc(me);case 217:return ol(me);case 218:return al(me);case 219:return Iu(me);case 220:return xu(me);case 221:return Fe(me);case 222:return Xt(me);case 223:return Qn(me);case 224:return bo(me);case 225:return es(me);case 226:return ja(me);case 227:return _o(me);case 228:return sl(me);case 229:return wl(me);case 230:return Jl(me);case 231:return of(me);case 232:return bd(me);case 233:return;case 235:return qp(me);case 236:return Ru(me);case 234:return ld(me);case 239:return Yf(me);case 237:return J_(me);case 238:return C.fail("SyntheticExpression should never be printed.");case 283:return;case 285:return Rv(me);case 286:return K1(me);case 289:return Cx(me);case 353:return C.fail("SyntaxList should not be printed");case 354:return;case 356:return Ze(me);case 357:return Z1(me);case 358:return C.fail("SyntheticReferenceExpression should not be printed")}if(np(me.kind))return rA(me,Bo);if(eG(me.kind))return rA(me,Br);C.fail("Unhandled SyntaxKind: ".concat(C.formatSyntaxKind(me.kind),"."))}function Wt(D){Pn(D.name),Mr(),Bo("in"),Mr(),Pn(D.constraint)}function rt(D,me){const St=Lt(1,D,me);C.assertIsDefined(mn),me=mn,mn=void 0,St(D,me)}function Zt(D){let me=!1;const St=D.kind===309?D:void 0;if(St&&N===0)return;const En=St?St.sourceFiles.length:1;for(let vi=0;vi<En;vi++){const Ni=St?St.sourceFiles[vi]:D,xo=Qi(Ni)?Ni:k,ki=e.noEmitHelpers||!!xo&&ooe(xo),Ka=Qi(Ni)&&!ee,hc=Rr(Ni);if(hc)for(const Xd of hc){if(Xd.scoped){if(St)continue}else{if(ki)continue;if(Ka){if(M.get(Xd.name))continue;M.set(Xd.name,!0)}}typeof Xd.text=="string"?$m(Xd.text):$m(Xd.text(MC)),me=!0}}return me}function Rr(D){const me=gj(D);return me&&Cp(me,Aie)}function Oe(D){At(D,!1)}function At(D,me){const St=i0(D,void 0,e.neverAsciiEscape,me);(e.sourceMap||e.inlineSourceMap)&&(D.kind===11||mb(D.kind))?ky(St):fE(St)}function ye(D,me,St){switch(St.kind){case 1:B(D,me,St);break;case 0:xe(D,me,St);break}}function B(D,me,St){kx("${".concat(St.order,":")),Nt(D,me,!1),kx("}")}function xe(D,me,St){C.assert(me.kind===243,"A tab stop cannot be attached to a node of kind ".concat(C.formatSyntaxKind(me.kind),".")),C.assert(D!==5,"A tab stop cannot be attached to an embedded statement."),kx("$".concat(St.order))}function te(D){(D.symbol?oL:be)(kv(D,!1),D.symbol),Kr(D,g1(D),53776)}function xt(D){be(kv(D,!1))}function $t(D){Pe(D.left),Br("."),Pn(D.right)}function Pe(D){D.kind===80?at(D):Pn(D)}function yt(D){Br("["),at(D.expression,ir.parenthesizeExpressionOfComputedPropertyName),Br("]")}function jt(D){Sh(D,D.modifiers),Pn(D.name),D.constraint&&(Mr(),Bo("extends"),Mr(),Pn(D.constraint)),D.default&&(Mr(),Sp("="),Mr(),Pn(D.default))}function or(D){Cu(D,D.modifiers,!0),Pn(D.dotDotDotToken),Qb(D.name,nA),Pn(D.questionToken),D.parent&&D.parent.kind===318&&!D.name?Pn(D.type):Pm(D.type),DT(D.initializer,D.type?D.type.end:D.questionToken?D.questionToken.end:D.name?D.name.end:D.modifiers?D.modifiers.end:D.pos,D,ir.parenthesizeExpressionForDisallowedComma)}function $n(D){Br("@"),at(D.expression,ir.parenthesizeLeftSideOfAccess)}function fr(D){Sh(D,D.modifiers),Qb(D.name,CC),Pn(D.questionToken),Pm(D.type),Nu()}function vt(D){Cu(D,D.modifiers,!0),Pn(D.name),Pn(D.questionToken),Pn(D.exclamationToken),Pm(D.type),DT(D.initializer,D.type?D.type.end:D.questionToken?D.questionToken.end:D.name.end,D),Nu()}function Rt(D){Sh(D,D.modifiers),Pn(D.name),Pn(D.questionToken),ju(D,Af,Cm)}function zt(D){Cu(D,D.modifiers,!0),Pn(D.asteriskToken),Pn(D.name),Pn(D.questionToken),ju(D,Af,bh)}function Yt(D){Bo("static"),Qm(D),$e(D.body),Oy(D)}function An(D){Cu(D,D.modifiers,!1),Bo("constructor"),ju(D,Af,bh)}function vn(D){const me=Cu(D,D.modifiers,!0),St=D.kind===178?139:153;z(St,me,Bo,D),Mr(),Pn(D.name),ju(D,Af,bh)}function Ft(D){ju(D,Af,Cm)}function bn(D){Bo("new"),Mr(),ju(D,Af,Cm)}function Pr(D){Cu(D,D.modifiers,!1),pE(D,D.parameters),Pm(D.type),Nu()}function tr(D){Pn(D.type),Pn(D.literal)}function kt(){Nu()}function ti(D){D.assertsModifier&&(Pn(D.assertsModifier),Mr()),Pn(D.parameterName),D.type&&(Mr(),Bo("is"),Mr(),Pn(D.type))}function ea(D){Pn(D.typeName),Zf(D,D.typeArguments)}function wo(D){ju(D,vo,fs)}function vo(D){zg(D,D.typeParameters),y_(D,D.parameters),Mr(),Br("=>")}function fs(D){Mr(),Pn(D.type)}function xs(D){Bo("function"),CT(D,D.parameters),Br(":"),Pn(D.type)}function ms(D){Br("?"),Pn(D.type)}function ro(D){Br("!"),Pn(D.type)}function zo(D){Pn(D.type),Br("=")}function bc(D){Sh(D,D.modifiers),Bo("new"),Mr(),ju(D,vo,fs)}function tl(D){Bo("typeof"),Mr(),Pn(D.exprName),Zf(D,D.typeArguments)}function Ma(D){Qm(D),Xe(D.members,mE),Br("{");const me=Za(D)&1?768:32897;Kr(D,D.members,me|524288),Br("}"),Oy(D)}function tc(D){Pn(D.elementType,ir.parenthesizeNonArrayTypeOfPostfixType),Br("["),Br("]")}function Tf(D){Br("..."),Pn(D.type)}function Oo(D){z(23,D.pos,Br,D);const me=Za(D)&1?528:657;Kr(D,D.elements,me|524288,ir.parenthesizeElementTypeOfTupleType),z(24,D.elements.end,Br,D)}function ga(D){Pn(D.dotDotDotToken),Pn(D.name),Pn(D.questionToken),z(59,D.name.end,Br,D),Mr(),Pn(D.type)}function is(D){Pn(D.type,ir.parenthesizeTypeOfOptionalType),Br("?")}function Ja(D){Kr(D,D.types,516,ir.parenthesizeConstituentTypeOfUnionType)}function nn(D){Kr(D,D.types,520,ir.parenthesizeConstituentTypeOfIntersectionType)}function Ds(D){Pn(D.checkType,ir.parenthesizeCheckTypeOfConditionalType),Mr(),Bo("extends"),Mr(),Pn(D.extendsType,ir.parenthesizeExtendsTypeOfConditionalType),Mr(),Br("?"),Mr(),Pn(D.trueType),Mr(),Br(":"),Mr(),Pn(D.falseType)}function ql(D){Bo("infer"),Mr(),Pn(D.typeParameter)}function lc(D){Br("("),Pn(D.type),Br(")")}function vd(){Bo("this")}function Gs(D){t0(D.operator,Bo),Mr();const me=D.operator===148?ir.parenthesizeOperandOfReadonlyTypeOperator:ir.parenthesizeOperandOfTypeOperator;Pn(D.type,me)}function Ie(D){Pn(D.objectType,ir.parenthesizeNonArrayTypeOfPostfixType),Br("["),Pn(D.indexType),Br("]")}function Y(D){const me=Za(D);Br("{"),me&1?Mr():(uu(),$_()),D.readonlyToken&&(Pn(D.readonlyToken),D.readonlyToken.kind!==148&&Bo("readonly"),Mr()),Br("["),ie(3,D.typeParameter),D.nameType&&(Mr(),Bo("as"),Mr(),Pn(D.nameType)),Br("]"),D.questionToken&&(Pn(D.questionToken),D.questionToken.kind!==58&&Br("?")),Br(":"),Mr(),Pn(D.type),Nu(),me&1?Mr():(uu(),Eh()),Kr(D,D.members,2),Br("}")}function ut(D){at(D.literal)}function Jt(D){Pn(D.head),Kr(D,D.templateSpans,262144)}function fn(D){D.isTypeOf&&(Bo("typeof"),Mr()),Bo("import"),Br("("),Pn(D.argument),D.attributes&&(Br(","),Mr(),ie(7,D.attributes)),Br(")"),D.qualifier&&(Br("."),Pn(D.qualifier)),Zf(D,D.typeArguments)}function dr(D){Br("{"),Kr(D,D.elements,525136),Br("}")}function si(D){Br("["),Kr(D,D.elements,524880),Br("]")}function xr(D){Pn(D.dotDotDotToken),D.propertyName&&(Pn(D.propertyName),Br(":"),Mr()),Pn(D.name),DT(D.initializer,D.name.end,D,ir.parenthesizeExpressionForDisallowedComma)}function Bn(D){const me=D.elements,St=D.multiLine?65536:0;Vr(D,me,8914|St,ir.parenthesizeExpressionForDisallowedComma)}function Zi(D){Qm(D),Xe(D.properties,mE);const me=Za(D)&131072;me&&$_();const St=D.multiLine?65536:0,En=k&&k.languageVersion>=1&&!zf(k)?64:0;Kr(D,D.properties,526226|En|St),me&&Eh(),Oy(D)}function Xi(D){at(D.expression,ir.parenthesizeLeftSideOfAccess);const me=D.questionDotToken||uh(L.createToken(25),D.expression.end,D.name.pos),St=v_(D,D.expression,me),En=v_(D,me,D.name);em(St,!1),me.kind!==29&&bs(D.expression)&&!ve.hasTrailingComment()&&!ve.hasTrailingWhitespace()&&Br("."),D.questionDotToken?Pn(me):z(me.kind,D.expression.end,Br,D),em(En,!1),Pn(D.name),pp(St,En)}function bs(D){if(D=Bm(D),ip(D)){const me=i0(D,void 0,!0,!1);return!(D.numericLiteralFlags&448)&&!me.includes(Ta(25))&&!me.includes("E")&&!me.includes("e")}else if(Qs(D)){const me=hie(D);return typeof me=="number"&&isFinite(me)&&me>=0&&Math.floor(me)===me}}function Ca(D){at(D.expression,ir.parenthesizeLeftSideOfAccess),Pn(D.questionDotToken),z(23,D.expression.end,Br,D),at(D.argumentExpression),z(24,D.argumentExpression.end,Br,D)}function ml(D){const me=Gm(D)&16;me&&(Br("("),ky("0"),Br(","),Mr()),at(D.expression,ir.parenthesizeLeftSideOfAccess),me&&Br(")"),Pn(D.questionDotToken),Zf(D,D.typeArguments),Vr(D,D.arguments,2576,ir.parenthesizeExpressionForDisallowedComma)}function Cc(D){z(105,D.pos,Bo,D),Mr(),at(D.expression,ir.parenthesizeExpressionOfNew),Zf(D,D.typeArguments),Vr(D,D.arguments,18960,ir.parenthesizeExpressionForDisallowedComma)}function zc(D){const me=Gm(D)&16;me&&(Br("("),ky("0"),Br(","),Mr()),at(D.tag,ir.parenthesizeLeftSideOfAccess),me&&Br(")"),Zf(D,D.typeArguments),Mr(),at(D.template)}function ol(D){Br("<"),Pn(D.type),Br(">"),at(D.expression,ir.parenthesizeOperandOfPrefixUnary)}function al(D){const me=z(21,D.pos,Br,D),St=n0(D.expression,D);at(D.expression,void 0),Ox(D.expression,D),pp(St),z(22,D.expression?D.expression.end:me,Br,D)}function Iu(D){Gg(D.name),Iv(D)}function xu(D){Sh(D,D.modifiers),ju(D,qd,du)}function qd(D){zg(D,D.typeParameters),y_(D,D.parameters),Pm(D.type),Mr(),Pn(D.equalsGreaterThanToken)}function du(D){ia(D.body)?$e(D.body):(Mr(),at(D.body,ir.parenthesizeConciseBodyOfArrowFunction))}function Fe(D){z(91,D.pos,Bo,D),Mr(),at(D.expression,ir.parenthesizeOperandOfPrefixUnary)}function Xt(D){z(114,D.pos,Bo,D),Mr(),at(D.expression,ir.parenthesizeOperandOfPrefixUnary)}function Qn(D){z(116,D.pos,Bo,D),Mr(),at(D.expression,ir.parenthesizeOperandOfPrefixUnary)}function bo(D){z(135,D.pos,Bo,D),Mr(),at(D.expression,ir.parenthesizeOperandOfPrefixUnary)}function es(D){t0(D.operator,Sp),ts(D)&&Mr(),at(D.operand,ir.parenthesizeOperandOfPrefixUnary)}function ts(D){const me=D.operand;return me.kind===225&&(D.operator===40&&(me.operator===40||me.operator===46)||D.operator===41&&(me.operator===41||me.operator===47))}function ja(D){at(D.operand,ir.parenthesizeOperandOfPostfixUnary),t0(D.operator,Sp)}function Nc(){return W4(D,me,St,En,vi,void 0);function D(xo,ki){if(ki){ki.stackIndex++,ki.preserveSourceNewlinesStack[ki.stackIndex]=Re,ki.containerPosStack[ki.stackIndex]=_e,ki.containerEndStack[ki.stackIndex]=Ve,ki.declarationListContainerEndStack[ki.stackIndex]=Ge;const Ka=ki.shouldEmitCommentsStack[ki.stackIndex]=We(xo),hc=ki.shouldEmitSourceMapsStack[ki.stackIndex]=it(xo);l==null||l(xo),Ka&&Ah(xo),hc&&os(xo),ce(xo)}else ki={stackIndex:0,preserveSourceNewlinesStack:[void 0],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[!1],shouldEmitSourceMapsStack:[!1]};return ki}function me(xo,ki,Ka){return Ni(xo,Ka,"left")}function St(xo,ki,Ka){const hc=xo.kind!==28,Xd=v_(Ka,Ka.left,xo),Hu=v_(Ka,xo,Ka.right);em(Xd,hc),jg(xo.pos),rA(xo,xo.kind===103?Bo:Sp),Zm(xo.end,!0),em(Hu,!0)}function En(xo,ki,Ka){return Ni(xo,Ka,"right")}function vi(xo,ki){const Ka=v_(xo,xo.left,xo.operatorToken),hc=v_(xo,xo.operatorToken,xo.right);if(pp(Ka,hc),ki.stackIndex>0){const Xd=ki.preserveSourceNewlinesStack[ki.stackIndex],Hu=ki.containerPosStack[ki.stackIndex],BT=ki.containerEndStack[ki.stackIndex],qu=ki.declarationListContainerEndStack[ki.stackIndex],s0=ki.shouldEmitCommentsStack[ki.stackIndex],Jx=ki.shouldEmitSourceMapsStack[ki.stackIndex];_t(Xd),Jx&&Fr(xo),s0&&a0(xo,Hu,BT,qu),u==null||u(xo),ki.stackIndex--}}function Ni(xo,ki,Ka){const hc=Ka==="left"?ir.getParenthesizeLeftSideOfBinaryForOperator(ki.operatorToken.kind):ir.getParenthesizeRightSideOfBinaryForOperator(ki.operatorToken.kind);let Xd=dt(0,1,xo);if(Xd===rt&&(C.assertIsDefined(mn),xo=hc(va(mn,Et)),Xd=Lt(1,1,xo),mn=void 0),(Xd===hE||Xd===pA||Xd===Ct)&&Nr(xo))return xo;Hn=hc,Xd(1,xo)}}function sl(D){const me=v_(D,D.condition,D.questionToken),St=v_(D,D.questionToken,D.whenTrue),En=v_(D,D.whenTrue,D.colonToken),vi=v_(D,D.colonToken,D.whenFalse);at(D.condition,ir.parenthesizeConditionOfConditionalExpression),em(me,!0),Pn(D.questionToken),em(St,!0),at(D.whenTrue,ir.parenthesizeBranchOfConditionalExpression),pp(me,St),em(En,!0),Pn(D.colonToken),em(vi,!0),at(D.whenFalse,ir.parenthesizeBranchOfConditionalExpression),pp(En,vi)}function wl(D){Pn(D.head),Kr(D,D.templateSpans,262144)}function Jl(D){z(127,D.pos,Bo,D),Pn(D.asteriskToken),Mv(D.expression&&Nn(D.expression),To)}function of(D){z(26,D.pos,Br,D),at(D.expression,ir.parenthesizeExpressionForDisallowedComma)}function bd(D){Gg(D.name),Yn(D)}function ld(D){at(D.expression,ir.parenthesizeLeftSideOfAccess),Zf(D,D.typeArguments)}function qp(D){at(D.expression,void 0),D.type&&(Mr(),Bo("as"),Mr(),Pn(D.type))}function Ru(D){at(D.expression,ir.parenthesizeLeftSideOfAccess),Sp("!")}function Yf(D){at(D.expression,void 0),D.type&&(Mr(),Bo("satisfies"),Mr(),Pn(D.type))}function J_(D){e0(D.keywordToken,D.pos,Br),Br("."),Pn(D.name)}function Lg(D){at(D.expression),Pn(D.literal)}function kg(D){sp(D,!D.multiLine&&r0(D))}function sp(D,me){z(19,D.pos,Br,D);const St=me||Za(D)&1?768:129;Kr(D,D.statements,St),z(20,D.statements.end,Br,D,!!(St&1))}function Kc(D){Cu(D,D.modifiers,!1),Pn(D.declarationList),Nu()}function vh(D){D?Br(";"):Nu()}function Sf(D){at(D.expression,ir.parenthesizeExpressionOfExpressionStatement),(!k||!zf(k)||zs(D.expression))&&Nu()}function g_(D){const me=z(101,D.pos,Bo,D);Mr(),z(21,me,Br,D),at(D.expression),z(22,D.expression.end,Br,D),Ly(D,D.thenStatement),D.elseStatement&&(xf(D,D.thenStatement,D.elseStatement),z(93,D.thenStatement.end,Bo,D),D.elseStatement.kind===246?(Mr(),Pn(D.elseStatement)):Ly(D,D.elseStatement))}function oe(D,me){const St=z(117,me,Bo,D);Mr(),z(21,St,Br,D),at(D.expression),z(22,D.expression.end,Br,D)}function pt(D){z(92,D.pos,Bo,D),Ly(D,D.statement),ia(D.statement)&&!Re?Mr():xf(D,D.statement,D.expression),oe(D,D.statement.end),Nu()}function rn(D){oe(D,D.pos),Ly(D,D.statement)}function cn(D){const me=z(99,D.pos,Bo,D);Mr();let St=z(21,me,Br,D);ri(D.initializer),St=z(27,D.initializer?D.initializer.end:St,Br,D),Mv(D.condition),St=z(27,D.condition?D.condition.end:St,Br,D),Mv(D.incrementor),z(22,D.incrementor?D.incrementor.end:St,Br,D),Ly(D,D.statement)}function wn(D){const me=z(99,D.pos,Bo,D);Mr(),z(21,me,Br,D),ri(D.initializer),Mr(),z(103,D.initializer.end,Bo,D),Mr(),at(D.expression),z(22,D.expression.end,Br,D),Ly(D,D.statement)}function ar(D){const me=z(99,D.pos,Bo,D);Mr(),eA(D.awaitModifier),z(21,me,Br,D),ri(D.initializer),Mr(),z(165,D.initializer.end,Bo,D),Mr(),at(D.expression),z(22,D.expression.end,Br,D),Ly(D,D.statement)}function ri(D){D!==void 0&&(D.kind===262?Pn(D):at(D))}function Si(D){z(88,D.pos,Bo,D),If(D.label),Nu()}function eo(D){z(83,D.pos,Bo,D),If(D.label),Nu()}function z(D,me,St,En,vi){const Ni=Ho(En),xo=Ni&&Ni.kind===En.kind,ki=me;if(xo&&k&&(me=wa(k.text,me)),xo&&En.pos!==ki){const Ka=vi&&k&&!Vf(ki,me,k);Ka&&$_(),jg(ki),Ka&&Eh()}if(!A&&(D===19||D===20)?me=e0(D,me,St,En):me=t0(D,St,me),xo&&En.end!==me){const Ka=En.kind===295;Zm(me,!Ka,Ka)}return me}function Ue(D){return D.kind===2||!!D.hasTrailingNewLine}function wt(D){if(!k)return!1;const me=pg(k.text,D.pos);if(me){const St=Ho(D);if(St&&zu(St.parent))return!0}return bt(me,Ue)||bt(vD(D),Ue)?!0:Oie(D)?D.pos!==D.expression.pos&&bt(ub(k.text,D.expression.pos),Ue)?!0:wt(D.expression):!1}function Nn(D){if(!Vt)switch(D.kind){case 356:if(wt(D)){const me=Ho(D);if(me&&zu(me)){const St=L.createParenthesizedExpression(D.expression);return jr(St,D),Tt(St,me),St}return L.createParenthesizedExpression(D)}return L.updatePartiallyEmittedExpression(D,Nn(D.expression));case 212:return L.updatePropertyAccessExpression(D,Nn(D.expression),D.name);case 213:return L.updateElementAccessExpression(D,Nn(D.expression),D.argumentExpression);case 214:return L.updateCallExpression(D,Nn(D.expression),D.typeArguments,D.arguments);case 216:return L.updateTaggedTemplateExpression(D,Nn(D.tag),D.typeArguments,D.template);case 226:return L.updatePostfixUnaryExpression(D,Nn(D.operand));case 227:return L.updateBinaryExpression(D,Nn(D.left),D.operatorToken,D.right);case 228:return L.updateConditionalExpression(D,Nn(D.condition),D.questionToken,D.whenTrue,D.colonToken,D.whenFalse);case 235:return L.updateAsExpression(D,Nn(D.expression),D.type);case 239:return L.updateSatisfiesExpression(D,Nn(D.expression),D.type);case 236:return L.updateNonNullExpression(D,Nn(D.expression))}return D}function To(D){return Nn(ir.parenthesizeExpressionForDisallowedComma(D))}function oa(D){z(107,D.pos,Bo,D),Mv(D.expression&&Nn(D.expression),Nn),Nu()}function Ao(D){const me=z(118,D.pos,Bo,D);Mr(),z(21,me,Br,D),at(D.expression),z(22,D.expression.end,Br,D),Ly(D,D.statement)}function Uo(D){const me=z(109,D.pos,Bo,D);Mr(),z(21,me,Br,D),at(D.expression),z(22,D.expression.end,Br,D),Mr(),Pn(D.caseBlock)}function bl(D){Pn(D.label),z(59,D.label.end,Br,D),Mr(),Pn(D.statement)}function Pa(D){z(111,D.pos,Bo,D),Mv(Nn(D.expression),Nn),Nu()}function cd(D){z(113,D.pos,Bo,D),Mr(),Pn(D.tryBlock),D.catchClause&&(xf(D,D.tryBlock,D.catchClause),Pn(D.catchClause)),D.finallyBlock&&(xf(D,D.catchClause||D.tryBlock,D.finallyBlock),z(98,(D.catchClause||D.tryBlock).end,Bo,D),Mr(),Pn(D.finallyBlock))}function Jp(D){e0(89,D.pos,Bo),Nu()}function Ef(D){var vi,Ni;var me,St,En;Pn(D.name),Pn(D.exclamationToken),Pm(D.type),DT(D.initializer,(Ni=(vi=(me=D.type)==null?void 0:me.end)!=null?vi:(En=(St=D.name.emitNode)==null?void 0:St.typeNode)==null?void 0:En.end)!=null?Ni:D.name.end,D,ir.parenthesizeExpressionForDisallowedComma)}function $f(D){if(ik(D))Bo("await"),Mr(),Bo("using");else{const me=UF(D)?"let":XR(D)?"const":ok(D)?"using":"var";Bo(me)}Mr(),Kr(D,D.declarations,528)}function xy(D){Iv(D)}function Iv(D){Cu(D,D.modifiers,!1),Bo("function"),Pn(D.asteriskToken),Mr(),qo(D.name),ju(D,Af,bh)}function ju(D,me,St){const En=Za(D)&131072;En&&$_(),Qm(D),Xe(D.parameters,dd),me(D),St(D),Oy(D),En&&Eh()}function bh(D){const me=D.body;me?$e(me):Nu()}function Cm(D){Nu()}function Af(D){zg(D,D.typeParameters),CT(D,D.parameters),Pm(D.type)}function Ry(D){if(Za(D)&1)return!0;if(D.multiLine||!zs(D)&&k&&!f1(D,k)||Lv(D,Sc(D.statements),2)||wx(D,rl(D.statements),2,D.statements))return!1;let me;for(const St of D.statements){if(MT(me,St,2)>0)return!1;me=St}return!0}function $e(D){dd(D),l==null||l(D),Mr(),Br("{"),$_();const me=Ry(D)?ft:Qt;_E(D,D.statements,me),Eh(),e0(20,D.statements.end,Br,D),u==null||u(D)}function ft(D){Qt(D,!0)}function Qt(D,me){const St=Fg(D.statements),En=ve.getTextPos();Zt(D),St===0&&En===ve.getTextPos()&&me?(Eh(),Kr(D,D.statements,768),$_()):Kr(D,D.statements,1,void 0,St)}function In(D){Yn(D)}function Yn(D){Cu(D,D.modifiers,!0),z(86,t_(D).pos,Bo,D),D.name&&(Mr(),qo(D.name));const me=Za(D)&131072;me&&$_(),zg(D,D.typeParameters),Kr(D,D.heritageClauses,0),Mr(),Br("{"),Qm(D),Xe(D.members,mE),Kr(D,D.members,129),Oy(D),Br("}"),me&&Eh()}function kr(D){Cu(D,D.modifiers,!1),Bo("interface"),Mr(),Pn(D.name),zg(D,D.typeParameters),Kr(D,D.heritageClauses,512),Mr(),Br("{"),Qm(D),Xe(D.members,mE),Kr(D,D.members,129),Oy(D),Br("}")}function Kn(D){Cu(D,D.modifiers,!1),Bo("type"),Mr(),Pn(D.name),zg(D,D.typeParameters),Mr(),Br("="),Mr(),Pn(D.type),Nu()}function ur(D){Cu(D,D.modifiers,!1),Bo("enum"),Mr(),Pn(D.name),Mr(),Br("{"),Kr(D,D.members,145),Br("}")}function wi(D){Cu(D,D.modifiers,!1),~D.flags&2048&&(Bo(D.flags&32?"namespace":"module"),Mr()),Pn(D.name);let me=D.body;if(!me)return Nu();for(;me&&pc(me);)Br("."),Pn(me.name),me=me.body;Mr(),Pn(me)}function No(D){Qm(D),Xe(D.statements,dd),sp(D,r0(D)),Oy(D)}function gi(D){z(19,D.pos,Br,D),Kr(D,D.clauses,129),z(20,D.clauses.end,Br,D,!0)}function Io(D){Cu(D,D.modifiers,!1),z(102,D.modifiers?D.modifiers.end:D.pos,Bo,D),Mr(),D.isTypeOnly&&(z(156,D.pos,Bo,D),Mr()),Pn(D.name),Mr(),z(64,D.name.end,Br,D),Mr(),Vi(D.moduleReference),Nu()}function Vi(D){D.kind===80?at(D):Pn(D)}function ll(D){Cu(D,D.modifiers,!1),z(102,D.modifiers?D.modifiers.end:D.pos,Bo,D),Mr(),D.importClause&&(Pn(D.importClause),Mr(),z(161,D.importClause.end,Bo,D),Mr()),at(D.moduleSpecifier),D.attributes&&If(D.attributes),Nu()}function lp(D){D.phaseModifier!==void 0&&(z(D.phaseModifier,D.pos,Bo,D),Mr()),Pn(D.name),D.name&&D.namedBindings&&(z(28,D.name.end,Br,D),Mr()),Pn(D.namedBindings)}function Nm(D){const me=z(42,D.pos,Br,D);Mr(),z(130,me,Bo,D),Mr(),Pn(D.name)}function cp(D){Wg(D)}function Qf(D){TT(D)}function dp(D){const me=z(95,D.pos,Bo,D);Mr(),D.isExportEquals?z(64,me,Sp,D):z(90,me,Bo,D),Mr(),at(D.expression,D.isExportEquals?ir.getParenthesizeRightSideOfBinaryForOperator(64):ir.parenthesizeExpressionOfExportDefault),Nu()}function wg(D){Cu(D,D.modifiers,!1);let me=z(95,D.pos,Bo,D);if(Mr(),D.isTypeOnly&&(me=z(156,me,Bo,D),Mr()),D.exportClause?Pn(D.exportClause):me=z(42,me,Br,D),D.moduleSpecifier){Mr();const St=D.exportClause?D.exportClause.end:me;z(161,St,Bo,D),Mr(),at(D.moduleSpecifier)}D.attributes&&If(D.attributes),Nu()}function Og(D){Br("{"),Mr(),Bo(D.token===132?"assert":"with"),Br(":"),Mr();const me=D.elements;Kr(D,me,526226),Mr(),Br("}")}function xv(D){z(D.token,D.pos,Bo,D),Mr();const me=D.elements;Kr(D,me,526226)}function Th(D){Pn(D.name),Br(":"),Mr();const me=D.value;if((Za(me)&1024)===0){const St=i_(me);Zm(St.pos)}Pn(me)}function K_(D){let me=z(95,D.pos,Bo,D);Mr(),me=z(130,me,Bo,D),Mr(),me=z(145,me,Bo,D),Mr(),Pn(D.name),Nu()}function EC(D){const me=z(42,D.pos,Br,D);Mr(),z(130,me,Bo,D),Mr(),Pn(D.name)}function nL(D){Wg(D)}function AC(D){TT(D)}function Wg(D){Br("{"),Kr(D,D.elements,525136),Br("}")}function TT(D){D.isTypeOnly&&(Bo("type"),Mr()),D.propertyName&&(Pn(D.propertyName),Mr(),z(130,D.propertyName.end,Bo,D),Mr()),Pn(D.name)}function J1(D){Bo("require"),Br("("),at(D.expression),Br(")")}function Rv(D){Pn(D.openingElement),Kr(D,D.children,262144),Pn(D.closingElement)}function K1(D){Br("<"),cE(D.tagName),Zf(D,D.typeArguments),Mr(),Pn(D.attributes),Br("/>")}function Cx(D){Pn(D.openingFragment),Kr(D,D.children,262144),Pn(D.closingFragment)}function rL(D){if(Br("<"),ph(D)){const me=n0(D.tagName,D);cE(D.tagName),Zf(D,D.typeArguments),D.attributes.properties&&D.attributes.properties.length>0&&Mr(),Pn(D.attributes),Ox(D.attributes,D),pp(me)}Br(">")}function X1(D){ve.writeLiteral(D.text)}function Nx(D){Br("</"),VS(D)&&cE(D.tagName),Br(">")}function ST(D){Kr(D,D.properties,262656)}function IC(D){Pn(D.name),Ua("=",Br,D.initializer,Bt)}function Y1(D){Br("{..."),at(D.expression),Br("}")}function Mx(D){let me=!1;return D2((k==null?void 0:k.text)||"",D+1,()=>me=!0),me}function lE(D){let me=!1;return R2((k==null?void 0:k.text)||"",D+1,()=>me=!0),me}function Xb(D){return Mx(D)||lE(D)}function Px(D){var me;if(D.expression||!Vt&&!zs(D)&&Xb(D.pos)){const St=k&&!zs(D)&&fa(k,D.pos).line!==fa(k,D.end).line;St&&ve.increaseIndent();const En=z(19,D.pos,Br,D);Pn(D.dotDotDotToken),at(D.expression),z(20,((me=D.expression)==null?void 0:me.end)||En,Br,D),St&&ve.decreaseIndent()}}function Lx(D){qo(D.namespace),Br(":"),qo(D.name)}function cE(D){D.kind===80?at(D):Pn(D)}function Yb(D){z(84,D.pos,Bo,D),Mr(),at(D.expression,ir.parenthesizeExpressionForDisallowedComma),Dy(D,D.statements,D.expression.end)}function Dv(D){const me=z(90,D.pos,Bo,D);Dy(D,D.statements,me)}function Dy(D,me,St){const En=me.length===1&&(!k||zs(D)||zs(me[0])||M6(D,me[0],k));let vi=163969;En?(e0(59,St,Br,D),Mr(),vi&=-130):z(59,St,Br,D),Kr(D,me,vi)}function Cy(D){Mr(),t0(D.token,Bo),Mr(),Kr(D,D.types,528)}function Ny(D){const me=z(85,D.pos,Bo,D);Mr(),D.variableDeclaration&&(z(21,me,Br,D),Pn(D.variableDeclaration),z(22,D.variableDeclaration.end,Br,D),Mr()),Pn(D.block)}function $b(D){Pn(D.name),Br(":"),Mr();const me=D.initializer;if((Za(me)&1024)===0){const St=i_(me);Zm(St.pos)}at(me,ir.parenthesizeExpressionForDisallowedComma)}function ET(D){Pn(D.name),D.objectAssignmentInitializer&&(Mr(),Br("="),Mr(),at(D.objectAssignmentInitializer,ir.parenthesizeExpressionForDisallowedComma))}function $1(D){D.expression&&(z(26,D.pos,Br,D),at(D.expression,ir.parenthesizeExpressionForDisallowedComma))}function AT(D){Pn(D.name),DT(D.initializer,D.name.end,D,ir.parenthesizeExpressionForDisallowedComma)}function ns(D){if(be("/**"),D.comment){const me=W2(D.comment);if(me){const St=me.split(/\r\n?|\n/);for(const En of St)uu(),Mr(),Br("*"),Mr(),be(En)}}D.tags&&(D.tags.length===1&&D.tags[0].kind===345&&!D.comment?(Mr(),Pn(D.tags[0])):Kr(D,D.tags,33)),Mr(),be("*/")}function Q1(D){Mm(D.tagName),xT(D.typeExpression),Xm(D.comment)}function xC(D){Mm(D.tagName),Pn(D.name),Xm(D.comment)}function My(D){Mm(D.tagName),Mr(),D.importClause&&(Pn(D.importClause),Mr(),z(161,D.importClause.end,Bo,D),Mr()),at(D.moduleSpecifier),D.attributes&&If(D.attributes),Xm(D.comment)}function Py(D){Mr(),Br("{"),Pn(D.name),Br("}")}function X_(D){Mm(D.tagName),Mr(),Br("{"),Pn(D.class),Br("}"),Xm(D.comment)}function hl(D){Mm(D.tagName),xT(D.constraint),Mr(),Kr(D,D.typeParameters,528),Xm(D.comment)}function Jd(D){Mm(D.tagName),D.typeExpression&&(D.typeExpression.kind===310?xT(D.typeExpression):(Mr(),Br("{"),be("Object"),D.typeExpression.isArrayType&&(Br("["),Br("]")),Br("}"))),D.fullName&&(Mr(),Pn(D.fullName)),Xm(D.comment),D.typeExpression&&D.typeExpression.kind===323&&Du(D.typeExpression)}function up(D){Mm(D.tagName),D.name&&(Mr(),Pn(D.name)),Xm(D.comment),Y_(D.typeExpression)}function Kd(D){Xm(D.comment),Y_(D.typeExpression)}function IT(D){Mm(D.tagName),Xm(D.comment)}function Du(D){Kr(D,L.createNodeArray(D.jsDocPropertyTags),33)}function Y_(D){D.typeParameters&&Kr(D,L.createNodeArray(D.typeParameters),33),D.parameters&&Kr(D,L.createNodeArray(D.parameters),33),D.type&&(uu(),Mr(),Br("*"),Mr(),Pn(D.type))}function Uu(D){Mm(D.tagName),xT(D.typeExpression),Mr(),D.isBracketed&&Br("["),Pn(D.name),D.isBracketed&&Br("]"),Xm(D.comment)}function Mm(D){Br("@"),Pn(D)}function Xm(D){const me=W2(D);me&&(Mr(),be(me))}function xT(D){D&&(Mr(),Br("{"),Pn(D.type),Br("}"))}function RT(D){uu();const me=D.statements;if(me.length===0||!Xh(me[0])||zs(me[0])){_E(D,me,dE);return}dE(D)}function iL(D){Cv(!!D.hasNoDefaultLib,D.syntheticFileReferences||[],D.syntheticTypeReferences||[],D.syntheticLibReferences||[])}function RC(D){D.isDeclarationFile&&Cv(D.hasNoDefaultLib,D.referencedFiles,D.typeReferenceDirectives,D.libReferenceDirectives)}function Cv(D,me,St,En){if(D&&(Zb('/// <reference no-default-lib="true"/>'),uu()),k&&k.moduleName&&(Zb('/// <amd-module name="'.concat(k.moduleName,'" />')),uu()),k&&k.amdDependencies)for(const Ni of k.amdDependencies)Ni.name?Zb('/// <amd-dependency name="'.concat(Ni.name,'" path="').concat(Ni.path,'" />')):Zb('/// <amd-dependency path="'.concat(Ni.path,'" />')),uu();function vi(Ni,xo){for(const ki of xo){const Ka=ki.resolutionMode?'resolution-mode="'.concat(ki.resolutionMode===99?"import":"require",'" '):"",hc=ki.preserve?'preserve="true" ':"";Zb("/// <reference ".concat(Ni,'="').concat(ki.fileName,'" ').concat(Ka).concat(hc,"/>")),uu()}}vi("path",me),vi("types",St),vi("lib",En)}function dE(D){const me=D.statements;Qm(D),Xe(D.statements,dd),Zt(D);const St=lo(me,En=>!Xh(En));RC(D),Kr(D,me,1,void 0,St===-1?me.length:St),Oy(D)}function Ze(D){const me=Za(D);!(me&1024)&&D.pos!==D.expression.pos&&Zm(D.expression.pos),at(D.expression),!(me&2048)&&D.end!==D.expression.end&&jg(D.expression.end)}function Z1(D){Vr(D,D.elements,528,void 0)}function Fg(D,me,St){let En=!!me;for(let vi=0;vi<D.length;vi++){const Ni=D[vi];if(Xh(Ni))(St?!St.has(Ni.expression.text):!0)&&(En&&(En=!1,di(me)),uu(),Pn(Ni),St&&St.add(Ni.expression.text));else return vi}return D.length}function Ym(D){if(Qi(D))Fg(D.statements,D);else{const me=new Set;for(const St of D.sourceFiles)Fg(St.statements,St,me);di(void 0)}}function Nv(D){if(Qi(D)){const me=dF(D.text);if(me)return Zb(me),uu(),!0}else for(const me of D.sourceFiles)if(Nv(me))return!0}function Qb(D,me){if(!D)return;const St=be;be=me,Pn(D),be=St}function Cu(D,me,St){if(me!=null&&me.length){if(Gn(me,Ra))return Sh(D,me);if(Gn(me,wc))return St?uE(D,me):D.pos;d==null||d(me);let En,vi,Ni=0,xo=0,ki;for(;Ni<me.length;){for(;xo<me.length;){if(ki=me[xo],vi=wc(ki)?"decorators":"modifiers",En===void 0)En=vi;else if(vi!==En)break;xo++}const Ka={pos:-1,end:-1};Ni===0&&(Ka.pos=me.pos),xo===me.length-1&&(Ka.end=me.end),(En==="modifiers"||St)&&tA(Pn,D,me,En==="modifiers"?2359808:2146305,void 0,Ni,xo-Ni,!1,Ka),Ni=xo,En=vi,xo++}if(_==null||_(me),ki&&!dh(ki.end))return ki.end}return D.pos}function Sh(D,me){Kr(D,me,2359808);const St=rl(me);return St&&!dh(St.end)?St.end:D.pos}function Pm(D){D&&(Br(":"),Mr(),Pn(D))}function DT(D,me,St,En){D&&(Mr(),z(64,me,Sp,St),Mr(),at(D,En))}function Ua(D,me,St,En){St&&(me(D),En(St))}function If(D){D&&(Mr(),Pn(D))}function Mv(D,me){D&&(Mr(),at(D,me))}function eA(D){D&&(Pn(D),Mr())}function Ly(D,me){ia(me)||Za(D)&1||Re&&!Lv(D,me,0)?(Mr(),Pn(me)):(uu(),$_(),Cj(me)?ie(5,me):Pn(me),Eh())}function uE(D,me){Kr(D,me,2146305);const St=rl(me);return St&&!dh(St.end)?St.end:D.pos}function Zf(D,me){Kr(D,me,53776,Ri)}function zg(D,me){if(Yo(D)&&D.typeArguments)return Zf(D,D.typeArguments);Kr(D,me,53776|(Zs(D)?64:0))}function CT(D,me){Kr(D,me,2576)}function Pv(D,me){const St=cg(me);return St&&St.pos===D.pos&&Zs(D)&&!D.type&&!bt(D.modifiers)&&!bt(D.typeParameters)&&!bt(St.modifiers)&&!St.dotDotDotToken&&!St.questionToken&&!St.type&&!St.initializer&&Je(St.name)}function y_(D,me){Pv(D,me)?Kr(D,me,528):CT(D,me)}function pE(D,me){Kr(D,me,8848)}function NT(D){switch(D&60){case 0:break;case 16:Br(",");break;case 4:Mr(),Br("|");break;case 32:Mr(),Br("*"),Mr();break;case 8:Mr(),Br("&");break}}function Kr(D,me,St,En,vi,Ni){Td(Pn,D,me,St|(D&&Za(D)&2?65536:0),En,vi,Ni)}function Vr(D,me,St,En,vi,Ni){Td(at,D,me,St,En,vi,Ni)}function Td(D,me,St,En,vi,Ni=0,xo=St?St.length-Ni:0){if(St===void 0&&En&16384)return;const Ka=St===void 0||Ni>=St.length||xo===0;if(Ka&&En&32768){d==null||d(St),_==null||_(St);return}En&15360&&(Br(Kqe(En)),Ka&&St&&Zm(St.pos,!0)),d==null||d(St),Ka?En&1&&!(Re&&(!me||k&&f1(me,k)))?uu():En&256&&!(En&524288)&&Mr():tA(D,me,St,En,vi,Ni,xo,St.hasTrailingComma,St),_==null||_(St),En&15360&&(Ka&&St&&jg(St.end),Br(Xqe(En)))}function tA(D,me,St,En,vi,Ni,xo,ki,Ka){const hc=(En&262144)===0;let Xd=hc;const Hu=Lv(me,St[Ni],En);Hu?(uu(Hu),Xd=!1):En&256&&Mr(),En&128&&$_();const BT=Zqe(D,vi);let qu,s0=!1;for(let Wv=0;Wv<xo;Wv++){const eh=St[Ni+Wv];if(En&32)uu(),NT(En);else if(qu){En&60&&qu.end!==(me?me.end:-1)&&(Za(qu)&2048||jg(qu.end)),NT(En);const Fv=MT(qu,eh,En);if(Fv>0){if((En&131)===0&&($_(),s0=!0),Xd&&En&60&&!dh(eh.pos)){const yE=i_(eh);Zm(yE.pos,!!(En&512),!0)}uu(Fv),Xd=!1}else qu&&En&512&&Mr()}if(Xd){const Fv=i_(eh);Zm(Fv.pos)}else Xd=hc;$=eh.pos,BT(eh,D,vi,Wv),s0&&(Eh(),s0=!1),qu=eh}const Jx=qu?Za(qu):0,Lm=Vt||!!(Jx&2048),El=ki&&En&64&&En&16;El&&(qu&&!Lm?z(28,qu.end,Br,qu):Br(",")),qu&&(me?me.end:-1)!==qu.end&&En&60&&!Lm&&jg(El&&(Ka!=null&&Ka.end)?Ka.end:qu.end),En&128&&Eh();const hA=wx(me,St[Ni+xo-1],En,Ka);hA?uu(hA):En&2097408&&Mr()}function ky(D){ve.writeLiteral(D)}function fE(D){ve.writeStringLiteral(D)}function DC(D){ve.write(D)}function oL(D,me){ve.writeSymbol(D,me)}function Br(D){ve.writePunctuation(D)}function Nu(){ve.writeTrailingSemicolon(";")}function Bo(D){ve.writeKeyword(D)}function Sp(D){ve.writeOperator(D)}function nA(D){ve.writeParameter(D)}function Zb(D){ve.writeComment(D)}function Mr(){ve.writeSpace(" ")}function CC(D){ve.writeProperty(D)}function kx(D){ve.nonEscapingWrite?ve.nonEscapingWrite(D):ve.write(D)}function uu(D=1){for(let me=0;me<D;me++)ve.writeLine(me>0)}function $_(){ve.increaseIndent()}function Eh(){ve.decreaseIndent()}function e0(D,me,St,En){return Se?t0(D,St,me):fA(En,D,St,me,t0)}function rA(D,me){m&&m(D),me(Ta(D.kind)),y&&y(D)}function t0(D,me,St){const En=Ta(D);return me(En),St<0?St:St+En.length}function xf(D,me,St){if(Za(D)&1)Mr();else if(Re){const En=v_(D,me,St);En?uu(En):Mr()}else uu()}function $m(D){const me=D.split(/\r\n?|\n/),St=kte(me);for(const En of me){const vi=St?En.slice(St):En;vi.length&&(uu(),be(vi))}}function em(D,me){D?($_(),uu(D)):me&&Mr()}function pp(D,me){D&&Eh(),me&&Eh()}function Lv(D,me,St){if(St&2||Re){if(St&65536)return 1;if(me===void 0)return!D||k&&f1(D,k)?0:1;if(me.pos===$||me.kind===12)return 0;if(k&&D&&!dh(D.pos)&&!zs(me)&&(!me.parent||Tl(me.parent)===Tl(D)))return Re?PT(En=>cre(me.pos,D.pos,k,En)):M6(D,me,k)?0:1;if(wy(me,St))return 1}return St&1?1:0}function MT(D,me,St){if(St&2||Re){if(D===void 0||me===void 0||me.kind===12)return 0;if(k&&!zs(D)&&!zs(me))return Re&&pu(D,me)?PT(En=>xV(D,me,k,En)):!Re&&Vx(D,me)?Vk(D,me,k)?0:1:St&65536?1:0;if(wy(D,St)||wy(me,St))return 1}else if(OM(me))return 1;return St&1?1:0}function wx(D,me,St,En){if(St&2||Re){if(St&65536)return 1;if(me===void 0)return!D||k&&f1(D,k)?0:1;if(k&&D&&!dh(D.pos)&&!zs(me)&&(!me.parent||me.parent===D)){if(Re){const vi=En&&!dh(En.end)?En.end:me.end;return PT(Ni=>dre(vi,D.end,k,Ni))}return are(D,me,k)?0:1}if(wy(me,St))return 1}return St&1&&!(St&131072)?1:0}function PT(D){C.assert(!!Re);const me=D(!0);return me===0?D(!1):me}function n0(D,me){const St=Re&&Lv(me,D,0);return St&&em(St,!1),!!St}function Ox(D,me){const St=Re&&wx(me,D,0,void 0);St&&uu(St)}function wy(D,me){if(zs(D)){const St=OM(D);return St===void 0?(me&65536)!==0:St}return(me&65536)!==0}function v_(D,me,St){return Za(D)&262144?0:(D=LT(D),me=LT(me),St=LT(St),OM(St)?1:k&&!zs(D)&&!zs(me)&&!zs(St)?Re?PT(En=>xV(me,St,k,En)):Vk(me,St,k)?0:1:0)}function r0(D){return D.statements.length===0&&(!k||Vk(D,D,k))}function LT(D){for(;D.kind===218&&zs(D);)D=D.expression;return D}function kv(D,me){if(yl(D)||$E(D))return kT(D);if(Oa(D)&&D.textSourceNode)return kv(D.textSourceNode,me);const St=k,En=!!St&&!!D.parent&&!zs(D);if(mg(D)){if(!En||On(D)!==Tl(St))return Yr(D)}else if(fh(D)){if(!En||On(D)!==Tl(St))return kM(D)}else if(C.assertNode(D,YE),!En)return D.text;return vS(St,D,me)}function i0(D,me=k,St,En){if(D.kind===11&&D.textSourceNode){const Ni=D.textSourceNode;if(Je(Ni)||to(Ni)||ip(Ni)||fh(Ni)){const xo=ip(Ni)?Ni.text:kv(Ni);return En?'"'.concat(sV(xo),'"'):St||Za(D)&16777216?'"'.concat(B_(xo),'"'):'"'.concat(_6(xo),'"')}else return i0(Ni,On(Ni),St,En)}const vi=(St?1:0)|(En?2:0)|(e.terminateUnterminatedLiterals?4:0)|(e.target&&e.target>=8?8:0);return Jte(D,me,vi)}function Qm(D){J.push(he),he=0,ge.push(Ae),!(D&&Za(D)&1048576)&&(re.push(q),q=0,K.push(Q),Q=void 0,ue.push(de))}function Oy(D){he=J.pop(),Ae=ge.pop(),!(D&&Za(D)&1048576)&&(q=re.pop(),Q=K.pop(),de=ue.pop())}function Bg(D){(!de||de===rl(ue))&&(de=new Set),de.add(D)}function o0(D){(!Ae||Ae===rl(ge))&&(Ae=new Set),Ae.add(D)}function dd(D){if(D)switch(D.kind){case 242:Xe(D.statements,dd);break;case 257:case 255:case 247:case 248:dd(D.statement);break;case 246:dd(D.thenStatement),dd(D.elseStatement);break;case 249:case 251:case 250:dd(D.initializer),dd(D.statement);break;case 256:dd(D.caseBlock);break;case 270:Xe(D.clauses,dd);break;case 297:case 298:Xe(D.statements,dd);break;case 259:dd(D.tryBlock),dd(D.catchClause),dd(D.finallyBlock);break;case 300:dd(D.variableDeclaration),dd(D.block);break;case 244:dd(D.declarationList);break;case 262:Xe(D.declarations,dd);break;case 261:case 170:case 209:case 264:Gg(D.name);break;case 263:Gg(D.name),Za(D)&1048576&&(Xe(D.parameters,dd),dd(D.body));break;case 207:case 208:Xe(D.elements,dd);break;case 273:dd(D.importClause);break;case 274:Gg(D.name),dd(D.namedBindings);break;case 275:Gg(D.name);break;case 281:Gg(D.name);break;case 276:Xe(D.elements,dd);break;case 277:Gg(D.propertyName||D.name);break}}function mE(D){if(D)switch(D.kind){case 304:case 305:case 173:case 172:case 175:case 174:case 178:case 179:Gg(D.name);break}}function Gg(D){D&&(yl(D)||$E(D)?kT(D):na(D)&&dd(D))}function kT(D){const me=D.emitNode.autoGenerate;if((me.flags&7)===4)return iA(Dw(D),to(D),me.flags,me.prefix,me.suffix);{const St=me.id;return G[St]||(G[St]=tm(D))}}function iA(D,me,St,En,vi){const Ni=ls(D),xo=me?O:F;return xo[Ni]||(xo[Ni]=fp(D,me,St!=null?St:0,OD(En,kT),OD(vi)))}function Vg(D,me){return Wx(D)&&!NC(D,me)&&!j.has(D)}function NC(D,me){let St,En;if(me?(St=Ae,En=ge):(St=de,En=ue),St!=null&&St.has(D))return!0;for(let vi=En.length-1;vi>=0;vi--)if(St!==En[vi]&&(St=En[vi],St!=null&&St.has(D)))return!0;return!1}function Wx(D,me){return k?WF(k,D,r):!0}function Fx(D,me){for(let St=me;St&&xS(St,me);St=St.nextContainer)if(k_(St)&&St.locals){const En=St.locals.get(Pl(D));if(En&&En.flags&3257279)return!1}return!0}function aL(D){var me;switch(D){case"":return q;case"#":return he;default:return(me=Q==null?void 0:Q.get(D))!=null?me:0}}function zx(D,me){switch(D){case"":q=me;break;case"#":he=me;break;default:Q!=null||(Q=new Map),Q.set(D,me);break}}function wT(D,me,St,En,vi){En.length>0&&En.charCodeAt(0)===35&&(En=En.slice(1));const Ni=iT(St,En,"",vi);let xo=aL(Ni);if(D&&!(xo&D)){const Ka=iT(St,En,D===268435456?"_i":"_n",vi);if(Vg(Ka,St))return xo|=D,St?o0(Ka):me&&Bg(Ka),zx(Ni,xo),Ka}for(;;){const ki=xo&268435455;if(xo++,ki!==8&&ki!==13){const Ka=ki<26?"_"+String.fromCharCode(97+ki):"_"+(ki-26),hc=iT(St,En,Ka,vi);if(Vg(hc,St))return St?o0(hc):me&&Bg(hc),zx(Ni,xo),hc}}}function Wy(D,me=Vg,St,En,vi,Ni,xo){if(D.length>0&&D.charCodeAt(0)===35&&(D=D.slice(1)),Ni.length>0&&Ni.charCodeAt(0)===35&&(Ni=Ni.slice(1)),St){const Ka=iT(vi,Ni,D,xo);if(me(Ka,vi))return vi?o0(Ka):En?Bg(Ka):j.add(Ka),Ka}D.charCodeAt(D.length-1)!==95&&(D+="_");let ki=1;for(;;){const Ka=iT(vi,Ni,D+ki,xo);if(me(Ka,vi))return vi?o0(Ka):En?Bg(Ka):j.add(Ka),Ka;ki++}}function MC(D){return Wy(D,Wx,!0,!1,!1,"","")}function OT(D){const me=kv(D.name);return Fx(me,ii(D,k_))?me:Wy(me,Vg,!1,!1,!1,"","")}function oA(D){const me=vI(D),St=Oa(me)?Xte(me.text):"module";return Wy(St,Vg,!1,!1,!1,"","")}function mc(){return Wy("default",Vg,!1,!1,!1,"","")}function ud(){return Wy("class",Vg,!1,!1,!1,"","")}function Bx(D,me,St,En){return Je(D.name)?iA(D.name,me):wT(0,!1,me,St,En)}function fp(D,me,St,En,vi){switch(D.kind){case 80:case 81:return Wy(kv(D),Vg,!!(St&16),!!(St&8),me,En,vi);case 268:case 267:return C.assert(!En&&!vi&&!me),OT(D);case 273:case 279:return C.assert(!En&&!vi&&!me),oA(D);case 263:case 264:{C.assert(!En&&!vi&&!me);const Ni=D.name;return Ni&&!yl(Ni)?fp(Ni,!1,St,En,vi):mc()}case 278:return C.assert(!En&&!vi&&!me),mc();case 232:return C.assert(!En&&!vi&&!me),ud();case 175:case 178:case 179:return Bx(D,me,En,vi);case 168:return wT(0,!0,me,En,vi);default:return wT(0,!1,me,En,vi)}}function tm(D){const me=D.emitNode.autoGenerate,St=OD(me.prefix,kT),En=OD(me.suffix);switch(me.flags&7){case 1:return wT(0,!!(me.flags&8),to(D),St,En);case 2:return C.assertNode(D,Je),wT(268435456,!!(me.flags&8),!1,St,En);case 3:return Wy(Yr(D),me.flags&32?Wx:Vg,!!(me.flags&16),!!(me.flags&8),to(D),St,En)}return C.fail("Unsupported GeneratedIdentifierKind: ".concat(C.formatEnum(me.flags&7,h9,!0),"."))}function hE(D,me){const St=Lt(2,D,me),En=_e,vi=Ve,Ni=Ge;Ah(me),St(D,me),a0(me,En,vi,Ni)}function Ah(D){const me=Za(D),St=i_(D);wv(D,me,St.pos,St.end),me&4096&&(Vt=!0)}function a0(D,me,St,En){const vi=Za(D),Ni=i_(D);vi&4096&&(Vt=!1),Gx(D,vi,Ni.pos,Ni.end,me,St,En);const xo=vie(D);xo&&Gx(D,vi,xo.pos,xo.end,me,St,En)}function wv(D,me,St,En){gt(),Ot=!1;const vi=St<0||(me&1024)!==0||D.kind===12,Ni=En<0||(me&2048)!==0||D.kind===12;(St>0||En>0)&&St!==En&&(vi||Ep(St,D.kind!==354),(!vi||St>=0&&(me&1024)!==0)&&(_e=St),(!Ni||En>=0&&(me&2048)!==0)&&(Ve=En,D.kind===262&&(Ge=En))),Xe(vD(D),sL),tn()}function Gx(D,me,St,En,vi,Ni,xo){gt();const ki=En<0||(me&2048)!==0||D.kind===12;Xe(pw(D),Gl),(St>0||En>0)&&St!==En&&(_e=vi,Ve=Ni,Ge=xo,!ki&&D.kind!==354&&jx(En)),tn()}function sL(D){(D.hasLeadingNewline||D.kind===2)&&ve.writeLine(),PC(D),D.hasTrailingNewLine||D.kind===2?ve.writeLine():ve.writeSpace(" ")}function Gl(D){ve.isAtStartOfLine()||ve.writeSpace(" "),PC(D),D.hasTrailingNewLine&&ve.writeLine()}function PC(D){const me=aA(D),St=D.kind===3?oI(me):void 0;cD(me,St,ve,0,me.length,R)}function aA(D){return D.kind===3?"/*".concat(D.text,"*/"):"//".concat(D.text)}function _E(D,me,St){gt();const{pos:En,end:vi}=me,Ni=Za(D),xo=En<0||(Ni&1024)!==0,ki=Vt||vi<0||(Ni&2048)!==0;xo||Kp(me),tn(),Ni&4096&&!Vt?(Vt=!0,St(D),Vt=!1):St(D),gt(),ki||(Ep(me.end,!0),Ot&&!ve.isAtStartOfLine()&&ve.writeLine()),tn()}function Vx(D,me){return D=Tl(D),D.parent&&D.parent===Tl(me).parent}function pu(D,me){if(me.pos<D.end)return!1;D=Tl(D),me=Tl(me);const St=D.parent;if(!St||St!==me.parent)return!1;const En=qre(D),vi=En==null?void 0:En.indexOf(D);return vi!==void 0&&vi>-1&&En.indexOf(me)===vi+1}function Ep(D,me){Ot=!1,me?D===0&&(k!=null&&k.isDeclarationFile)?Hx(D,WT):Hx(D,lA):D===0&&Hx(D,sA)}function sA(D,me,St,En,vi){uA(D,me)&&lA(D,me,St,En,vi)}function WT(D,me,St,En,vi){uA(D,me)||lA(D,me,St,En,vi)}function Ap(D,me){return e.onlyPrintJsDocStyle?eU(D,me)||FF(D,me):!0}function lA(D,me,St,En,vi){!k||!Ap(k.text,D)||(Ot||(qne(Da(),ve,vi,D),Ot=!0),Xc(D),cD(k.text,Da(),ve,D,me,R),Xc(me),En?ve.writeLine():St===3&&ve.writeSpace(" "))}function jg(D){Vt||D===-1||Ep(D,!0)}function jx(D){dA(D,cA)}function cA(D,me,St,En){!k||!Ap(k.text,D)||(ve.isAtStartOfLine()||ve.writeSpace(" "),Xc(D),cD(k.text,Da(),ve,D,me,R),Xc(me),En&&ve.writeLine())}function Zm(D,me,St){Vt||(gt(),dA(D,me?cA:St?Ux:LC),tn())}function Ux(D,me,St){k&&(Xc(D),cD(k.text,Da(),ve,D,me,R),Xc(me),St===2&&ve.writeLine())}function LC(D,me,St,En){k&&(Xc(D),cD(k.text,Da(),ve,D,me,R),Xc(me),En?ve.writeLine():ve.writeSpace(" "))}function Hx(D,me){k&&(_e===-1||D!==_e)&&(qx(D)?Ov(me):R2(k.text,D,me,D))}function dA(D,me){k&&(Ve===-1||D!==Ve&&D!==Ge)&&D2(k.text,D,me)}function qx(D){return ot!==void 0&&Ga(ot).nodePos===D}function Ov(D){if(!k)return;const me=Ga(ot).detachedCommentEndPos;ot.length-1?ot.pop():ot=void 0,R2(k.text,me,D,me)}function Kp(D){const me=k&&Jne(k.text,Da(),ve,b_,D,R,Vt);me&&(ot?ot.push(me):ot=[me])}function b_(D,me,St,En,vi,Ni){!k||!Ap(k.text,En)||(Xc(En),cD(D,me,St,En,vi,Ni),Xc(vi))}function uA(D,me){return!!k&&vG(k.text,D,me)}function pA(D,me){const St=Lt(3,D,me);os(me),St(D,me),Fr(me)}function os(D){const me=Za(D),St=pv(D),En=St.source||ze;D.kind!==354&&(me&32)===0&&St.pos>=0&&FT(St.source||ze,Rf(En,St.pos)),me&128&&(Se=!0)}function Fr(D){const me=Za(D),St=pv(D);me&128&&(Se=!1),D.kind!==354&&(me&64)===0&&St.end>=0&&FT(St.source||ze,St.end)}function Rf(D,me){return D.skipTrivia?D.skipTrivia(me):wa(D.text,me)}function Xc(D){if(Se||dh(D)||mA(ze))return;const{line:me,character:St}=fa(ze,D);Ne.addMapping(ve.getLine(),ve.getColumn(),lt,me,St,void 0)}function FT(D,me){if(D!==ze){const St=ze,En=lt;gE(D),Xc(me),zT(St,En)}else Xc(me)}function fA(D,me,St,En,vi){if(Se||D&&r6(D))return vi(me,St,En);const Ni=D&&D.emitNode,xo=Ni&&Ni.flags||0,ki=Ni&&Ni.tokenSourceMapRanges&&Ni.tokenSourceMapRanges[me],Ka=ki&&ki.source||ze;return En=Rf(Ka,ki?ki.pos:En),(xo&256)===0&&En>=0&&FT(Ka,En),En=vi(me,St,En),ki&&(En=ki.end),(xo&512)===0&&En>=0&&FT(Ka,En),En}function gE(D){if(!Se){if(ze=D,D===le){lt=De;return}mA(D)||(lt=Ne.addSource(D.fileName),e.inlineSources&&Ne.setSourceContent(lt,D.text),le=D,De=lt)}}function zT(D,me){ze=D,lt=me}function mA(D){return xl(D.fileName,".json")}}function Jqe(){const e=[];return e[1024]=["{","}"],e[2048]=["(",")"],e[4096]=["<",">"],e[8192]=["[","]"],e}function Kqe(e){return RAe[e&15360][0]}function Xqe(e){return RAe[e&15360][1]}function Yqe(e,t,r,i){t(e)}function $qe(e,t,r,i){t(e,r.select(i))}function Qqe(e,t,r,i){t(e,r)}function Zqe(e,t){return e.length===1?Yqe:typeof t=="object"?$qe:Qqe}function R3(e,t,r){if(!e.getDirectories||!e.readDirectory)return;const i=new Map,o=Fd(r);return{useCaseSensitiveFileNames:r,fileExists:A,readFile:(J,he)=>e.readFile(J,he),directoryExists:e.directoryExists&&R,getDirectories:M,readDirectory:k,createDirectory:e.createDirectory&&N,writeFile:e.writeFile&&E,addOrDeleteFileOrDirectory:G,addOrDeleteFile:j,clearCache:Q,realpath:e.realpath&&F};function s(J){return Ws(J,t,o)}function l(J){return i.get(jc(J))}function u(J){const he=l(pi(J));return he&&(he.sortedAndCanonicalizedFiles||(he.sortedAndCanonicalizedFiles=he.files.map(o).sort(),he.sortedAndCanonicalizedDirectories=he.directories.map(o).sort()),he)}function d(J){return Ec(Sa(J))}function _(J,he){var re;if(!e.realpath||jc(s(e.realpath(J)))===he){const q={files:Gt(e.readDirectory(J,void 0,void 0,["*.*"]),d)||[],directories:e.getDirectories(J)||[]};return i.set(jc(he),q),q}if((re=e.directoryExists)!=null&&re.call(e,J))return i.set(he,!1),!1}function m(J,he){he=jc(he);const re=l(he);if(re)return re;try{return _(J,he)}catch(q){C.assert(!i.has(jc(he)));return}}function y(J,he){return rb(J,he,qs,Wd)>=0}function E(J,he,re){const q=s(J),ue=u(q);return ue&&K(ue,d(J),!0),e.writeFile(J,he,re)}function A(J){const he=s(J),re=u(he);return re&&y(re.sortedAndCanonicalizedFiles,o(d(J)))||e.fileExists(J)}function R(J){const he=s(J);return i.has(jc(he))||e.directoryExists(J)}function N(J){const he=s(J),re=u(he);if(re){const q=d(J),ue=o(q),de=re.sortedAndCanonicalizedDirectories;tb(de,ue,Wd)&&re.directories.push(q)}e.createDirectory(J)}function M(J){const he=s(J),re=m(J,he);return re?re.directories.slice():e.getDirectories(J)}function k(J,he,re,q,ue){const de=s(J),ge=m(J,de);let Ae;if(ge!==void 0)return Pre(J,he,re,q,r,t,ue,Re,F);return e.readDirectory(J,he,re,q,ue);function Re(ve){const je=s(ve);if(je===de)return ge||$(ve,je);const be=m(ve,je);return be!==void 0?be||$(ve,je):Fre}function $(ve,je){if(Ae&&je===de)return Ae;const be={files:Gt(e.readDirectory(ve,void 0,void 0,["*.*"]),d)||se,directories:e.getDirectories(ve)||se};return je===de&&(Ae=be),be}}function F(J){return e.realpath?e.realpath(J):J}function O(J){IN(pi(J),he=>i.delete(jc(he))?!0:void 0)}function G(J,he){if(l(he)!==void 0){Q();return}const q=u(he);if(!q){O(he);return}if(!e.directoryExists){Q();return}const ue=d(J),de={fileExists:e.fileExists(J),directoryExists:e.directoryExists(J)};return de.directoryExists||y(q.sortedAndCanonicalizedDirectories,o(ue))?Q():K(q,ue,de.fileExists),de}function j(J,he,re){if(re===1)return;const q=u(he);q?K(q,d(J),re===0):O(he)}function K(J,he,re){const q=J.sortedAndCanonicalizedFiles,ue=o(he);if(re)tb(q,ue,Wd)&&J.files.push(he);else{const de=rb(q,ue,qs,Wd);if(de>=0){q.splice(de,1);const ge=J.files.findIndex(Ae=>o(Ae)===ue);J.files.splice(ge,1)}}}function Q(){i.clear()}}var yse=(e=>(e[e.Update=0]="Update",e[e.RootNamesAndUpdate=1]="RootNamesAndUpdate",e[e.Full=2]="Full",e))(yse||{});function D3(e,t,r,i,o){var s;const l=xR(((s=t==null?void 0:t.configFile)==null?void 0:s.extendedSourceFiles)||se,o);r.forEach((u,d)=>{l.has(d)||(u.projects.delete(e),u.close())}),l.forEach((u,d)=>{const _=r.get(d);_?_.projects.add(e):r.set(d,{projects:new Set([e]),watcher:i(u,d),close:()=>{const m=r.get(d);!m||m.projects.size!==0||(m.watcher.close(),r.delete(d))}})})}function yH(e,t){t.forEach(r=>{r.projects.delete(e)&&r.close()})}function C3(e,t,r){e.delete(t)&&e.forEach(({extendedResult:i},o)=>{var s;(s=i.extendedSourceFiles)!=null&&s.some(l=>r(l)===t)&&C3(e,o,r)})}function vH(e,t,r){vM(t,e.getMissingFilePaths(),{createNewValue:r,onDeleteValue:jm})}function tO(e,t,r){t?vM(e,new Map(Object.entries(t)),{createNewValue:i,onDeleteValue:Xf,onExistingValue:o}):yp(e,Xf);function i(s,l){return{watcher:r(s,l),flags:l}}function o(s,l,u){s.flags!==l&&(s.watcher.close(),e.set(u,i(u,l)))}}function nO({watchedDirPath:e,fileOrDirectory:t,fileOrDirectoryPath:r,configFileName:i,options:o,program:s,extraFileExtensions:l,currentDirectory:u,useCaseSensitiveFileNames:d,writeLog:_,toPath:m,getScriptKind:y}){const E=V3(r);if(!E)return _("Project: ".concat(i," Detected ignored path: ").concat(t)),!0;if(r=E,r===e)return!1;if(PR(r)&&!(qV(t,o,l)||k()))return _("Project: ".concat(i," Detected file add/remove of non supported extension: ").concat(t)),!0;if(Voe(t,o.configFile.configFileSpecs,Eo(pi(i),u),d,u))return _("Project: ".concat(i," Detected excluded file: ").concat(t)),!0;if(!s||o.outFile||o.outDir)return!1;if(ad(r)){if(o.declarationDir)return!1}else if(!Ql(r,hD))return!1;const A=Su(r),R=Lo(s)?void 0:XH(s)?s.getProgramOrUndefined():s,N=!R&&!Lo(s)?s:void 0;if(M(A+".ts")||M(A+".tsx"))return _("Project: ".concat(i," Detected output file: ").concat(t)),!0;return!1;function M(F){return R?!!R.getSourceFileByPath(F):N?N.state.fileInfos.has(F):!!_n(s,O=>m(O)===F)}function k(){if(!y)return!1;switch(y(t)){case 3:case 4:case 7:case 5:return!0;case 1:case 2:return Nb(o);case 6:return LS(o);case 0:return!1}}}function vse(e,t){return e?e.isEmittedFile(t):!1}var bse=(e=>(e[e.None=0]="None",e[e.TriggerOnly=1]="TriggerOnly",e[e.Verbose=2]="Verbose",e))(bse||{});function bH(e,t,r,i){Dee(t===2?r:vs);const o={watchFile:(N,M,k,F)=>e.watchFile(N,M,k,F),watchDirectory:(N,M,k,F)=>e.watchDirectory(N,M,(k&1)!==0,F)},s=t!==0?{watchFile:A("watchFile"),watchDirectory:A("watchDirectory")}:void 0,l=t===2?{watchFile:y,watchDirectory:E}:s||o,u=t===2?m:EP;return{watchFile:d("watchFile"),watchDirectory:d("watchDirectory")};function d(N){return(M,k,F,O,G,j)=>{var K;return e3(M,N==="watchFile"?O==null?void 0:O.excludeFiles:O==null?void 0:O.excludeDirectories,_(),((K=e.getCurrentDirectory)==null?void 0:K.call(e))||"")?u(M,F,O,G,j):l[N].call(void 0,M,k,F,O,G,j)}}function _(){return typeof e.useCaseSensitiveFileNames=="boolean"?e.useCaseSensitiveFileNames:e.useCaseSensitiveFileNames()}function m(N,M,k,F,O){return r("ExcludeWatcher:: Added:: ".concat(R(N,M,k,F,O,i))),{close:()=>r("ExcludeWatcher:: Close:: ".concat(R(N,M,k,F,O,i)))}}function y(N,M,k,F,O,G){r("FileWatcher:: Added:: ".concat(R(N,k,F,O,G,i)));const j=s.watchFile(N,M,k,F,O,G);return{close:()=>{r("FileWatcher:: Close:: ".concat(R(N,k,F,O,G,i))),j.close()}}}function E(N,M,k,F,O,G){const j="DirectoryWatcher:: Added:: ".concat(R(N,k,F,O,G,i));r(j);const K=Os(),Q=s.watchDirectory(N,M,k,F,O,G),J=Os()-K;return r("Elapsed:: ".concat(J,"ms ").concat(j)),{close:()=>{const he="DirectoryWatcher:: Close:: ".concat(R(N,k,F,O,G,i));r(he);const re=Os();Q.close();const q=Os()-re;r("Elapsed:: ".concat(q,"ms ").concat(he))}}}function A(N){return(M,k,F,O,G,j)=>o[N].call(void 0,M,(...K)=>{const Q="".concat(N==="watchFile"?"FileWatcher":"DirectoryWatcher",":: Triggered with ").concat(K[0]," ").concat(K[1]!==void 0?K[1]:"",":: ").concat(R(M,F,O,G,j,i));r(Q);const J=Os();k.call(void 0,...K);const he=Os()-J;r("Elapsed:: ".concat(he,"ms ").concat(Q))},F,O,G,j)}function R(N,M,k,F,O,G){return"WatchInfo: ".concat(N," ").concat(M," ").concat(JSON.stringify(k)," ").concat(G?G(F,O):O===void 0?F:"".concat(F," ").concat(O))}}function rO(e){const t=e==null?void 0:e.fallbackPolling;return{watchFile:t!==void 0?t:1}}function Xf(e){e.watcher.close()}function TH(e,t,r="tsconfig.json"){return IN(e,i=>{const o=ei(i,r);return t(o)?o:void 0})}function SH(e,t){const r=pi(t),i=Pp(e)?e:ei(r,e);return Sa(i)}function Tse(e,t,r){let i;return Xe(e,s=>{const l=iF(s,t);if(l.pop(),!i){i=l;return}const u=Math.min(i.length,l.length);for(let d=0;d<u;d++)if(r(i[d])!==r(l[d])){if(d===0)return!0;i.length=d;break}l.length<i.length&&(i.length=l.length)})?"":i?P0(i):t}function Sse(e,t){return N3(e,t)}function EH(e,t){return(r,i,o)=>{let s;try{Nl("beforeIORead"),s=e(r),Nl("afterIORead"),Of("I/O Read","beforeIORead","afterIORead")}catch(l){o&&o(l.message),s=""}return s!==void 0?nx(r,s,i,t):void 0}}function AH(e,t,r){return(i,o,s,l)=>{try{Nl("beforeIOWrite"),fV(i,o,s,e,t,r),Nl("afterIOWrite"),Of("I/O Write","beforeIOWrite","afterIOWrite")}catch(u){l&&l(u.message)}}}function N3(e,t,r=Vc){const i=new Map,o=Fd(r.useCaseSensitiveFileNames);function s(m){return i.has(m)?!0:(_.directoryExists||r.directoryExists)(m)?(i.set(m,!0),!0):!1}function l(){return pi(Sa(r.getExecutingFilePath()))}const u=lv(e),d=r.realpath&&(m=>r.realpath(m)),_={getSourceFile:EH(m=>_.readFile(m),t),getDefaultLibLocation:l,getDefaultLibFileName:m=>ei(l(),N2(m)),writeFile:AH((m,y,E)=>r.writeFile(m,y,E),m=>(_.createDirectory||r.createDirectory)(m),m=>s(m)),getCurrentDirectory:Lu(()=>r.getCurrentDirectory()),useCaseSensitiveFileNames:()=>r.useCaseSensitiveFileNames,getCanonicalFileName:o,getNewLine:()=>u,fileExists:m=>r.fileExists(m),readFile:m=>r.readFile(m),trace:m=>r.write(m+u),directoryExists:m=>r.directoryExists(m),getEnvironmentVariable:m=>r.getEnvironmentVariable?r.getEnvironmentVariable(m):"",getDirectories:m=>r.getDirectories(m),realpath:d,readDirectory:(m,y,E,A,R)=>r.readDirectory(m,y,E,A,R),createDirectory:m=>r.createDirectory(m),createHash:la(r,r.createHash)};return _}function vP(e,t,r){const i=e.readFile,o=e.fileExists,s=e.directoryExists,l=e.createDirectory,u=e.writeFile,d=new Map,_=new Map,m=new Map,y=new Map,E=N=>{const M=t(N),k=d.get(M);return k!==void 0?k!==!1?k:void 0:A(M,N)},A=(N,M)=>{const k=i.call(e,M);return d.set(N,k!==void 0?k:!1),k};e.readFile=N=>{const M=t(N),k=d.get(M);return k!==void 0?k!==!1?k:void 0:!xl(N,".json")&&!pse(N)?i.call(e,N):A(M,N)};const R=r?(N,M,k,F)=>{const O=t(N),G=typeof M=="object"?M.impliedNodeFormat:void 0,j=y.get(G),K=j==null?void 0:j.get(O);if(K)return K;const Q=r(N,M,k,F);return Q&&(ad(N)||xl(N,".json"))&&y.set(G,(j||new Map).set(O,Q)),Q}:void 0;return e.fileExists=N=>{const M=t(N),k=_.get(M);if(k!==void 0)return k;const F=o.call(e,N);return _.set(M,!!F),F},u&&(e.writeFile=(N,M,...k)=>{const F=t(N);_.delete(F);const O=d.get(F);O!==void 0&&O!==M?(d.delete(F),y.forEach(G=>G.delete(F))):R&&y.forEach(G=>{const j=G.get(F);j&&j.text!==M&&G.delete(F)}),u.call(e,N,M,...k)}),s&&(e.directoryExists=N=>{const M=t(N),k=m.get(M);if(k!==void 0)return k;const F=s.call(e,N);return m.set(M,!!F),F},l&&(e.createDirectory=N=>{const M=t(N);m.delete(M),l.call(e,N)})),{originalReadFile:i,originalFileExists:o,originalDirectoryExists:s,originalCreateDirectory:l,originalWriteFile:u,getSourceFileWithCache:R,readFileWithCache:E}}function wAe(e,t,r){let i;return i=$r(i,e.getConfigFileParsingDiagnostics()),i=$r(i,e.getOptionsDiagnostics(r)),i=$r(i,e.getSyntacticDiagnostics(t,r)),i=$r(i,e.getGlobalDiagnostics(r)),i=$r(i,e.getSemanticDiagnostics(t,r)),vp(e.getCompilerOptions())&&(i=$r(i,e.getDeclarationDiagnostics(t,r))),WR(i||se)}function OAe(e,t){let r="";for(const i of e)r+=IH(i,t);return r}function IH(e,t){const r="".concat(UE(e)," TS").concat(e.code,": ").concat(u_(e.messageText,t.getNewLine())).concat(t.getNewLine());if(e.file){const{line:i,character:o}=fa(e.file,e.start),s=e.file.fileName,l=AN(s,t.getCurrentDirectory(),u=>t.getCanonicalFileName(u));return"".concat(l,"(").concat(i+1,",").concat(o+1,"): ")+r}return r}var Ese=(e=>(e.Grey="\x1B[90m",e.Red="\x1B[91m",e.Yellow="\x1B[93m",e.Blue="\x1B[94m",e.Cyan="\x1B[96m",e))(Ese||{}),Ase="\x1B[7m",Ise=" ",WAe="\x1B[0m",FAe="...",eJe=" ",zAe=" ";function BAe(e){switch(e){case 1:return"\x1B[91m";case 0:return"\x1B[93m";case 2:return C.fail("Should never get an Info diagnostic on the command line.");case 3:return"\x1B[94m"}}function $S(e,t){return t+e+WAe}function GAe(e,t,r,i,o,s){const{line:l,character:u}=fa(e,t),{line:d,character:_}=fa(e,t+r),m=fa(e,e.text.length).line,y=d-l>=4;let E=(d+1+"").length;y&&(E=Math.max(FAe.length,E));let A="";for(let R=l;R<=d;R++){A+=s.getNewLine(),y&&l+1<R&&R<d-1&&(A+=i+$S(FAe.padStart(E),Ase)+Ise+s.getNewLine(),R=d-1);const N=I2(e,R,0),M=R<m?I2(e,R+1,0):e.text.length;let k=e.text.slice(N,M);if(k=k.trimEnd(),k=k.replace(/\t/g," "),A+=i+$S((R+1+"").padStart(E),Ase)+Ise,A+=k+s.getNewLine(),A+=i+$S("".padStart(E),Ase)+Ise,A+=o,R===l){const F=R===d?_:void 0;A+=k.slice(0,u).replace(/\S/g," "),A+=k.slice(u,F).replace(/./g,"~")}else R===d?A+=k.slice(0,_).replace(/./g,"~"):A+=k.replace(/./g,"~");A+=WAe}return A}function xH(e,t,r,i=$S){const{line:o,character:s}=fa(e,t),l=r?AN(e.fileName,r.getCurrentDirectory(),d=>r.getCanonicalFileName(d)):e.fileName;let u="";return u+=i(l,"\x1B[96m"),u+=":",u+=i("".concat(o+1),"\x1B[93m"),u+=":",u+=i("".concat(s+1),"\x1B[93m"),u}function xse(e,t){let r="";for(const i of e){if(i.file){const{file:o,start:s}=i;r+=xH(o,s,t),r+=" - "}if(r+=$S(UE(i),BAe(i.category)),r+=$S(" TS".concat(i.code,": "),"\x1B[90m"),r+=u_(i.messageText,t.getNewLine()),i.file&&i.code!==f.File_appears_to_be_binary.code&&(r+=t.getNewLine(),r+=GAe(i.file,i.start,i.length,"",BAe(i.category),t)),i.relatedInformation){r+=t.getNewLine();for(const{file:o,start:s,length:l,messageText:u}of i.relatedInformation)o&&(r+=t.getNewLine(),r+=eJe+xH(o,s,t),r+=GAe(o,s,l,zAe,"\x1B[96m",t)),r+=t.getNewLine(),r+=zAe+u_(u,t.getNewLine())}r+=t.getNewLine()}return r}function u_(e,t,r=0){if(jo(e))return e;if(e===void 0)return"";let i="";if(r){i+=t;for(let o=0;o<r;o++)i+=" "}if(i+=e.messageText,r++,e.next)for(const o of e.next)i+=u_(o,t,r);return i}function Rse(e,t){return(jo(e)?t:e.resolutionMode)||t}function VAe(e,t,r){return M3(e,sO(e,t),r)}function RH(e){var t;return fc(e)?e.isTypeOnly:!!((t=e.importClause)!=null&&t.isTypeOnly)}function DH(e,t,r){return M3(e,t,r)}function M3(e,t,r){if((Sl(t.parent)||fc(t.parent)||d_(t.parent))&&RH(t.parent)){const o=JD(t.parent.attributes);if(o)return o}if(t.parent.parent&&o_(t.parent.parent)){const i=JD(t.parent.parent.attributes);if(i)return i}if(r&&WV(r))return jAe(e,t,r)}function jAe(e,t,r){var i;if(!r)return;const o=(i=Vm(t.parent))==null?void 0:i.parent;if(o&&Oc(o)||tp(t.parent,!1))return 1;if(ep(Vm(t.parent)))return JAe(e,r)?1:99;const s=SP(e,r);return s===1?1:Xk(s)||s===200?99:void 0}function JD(e,t){if(!e)return;if(et(e.elements)!==1){t==null||t(e,e.token===118?f.Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:f.Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require);return}const r=e.elements[0];if(ds(r.name)){if(r.name.text!=="resolution-mode"){t==null||t(r.name,e.token===118?f.resolution_mode_is_the_only_valid_key_for_type_import_attributes:f.resolution_mode_is_the_only_valid_key_for_type_import_assertions);return}if(ds(r.value)){if(r.value.text!=="import"&&r.value.text!=="require"){t==null||t(r.value,f.resolution_mode_should_be_either_require_or_import);return}return r.value.text==="import"?99:1}}}var UAe={resolvedModule:void 0,resolvedTypeReferenceDirective:void 0};function Dse(e){return e.text}var P3={getName:Dse,getMode:(e,t,r)=>DH(t,e,r)};function CH(e,t,r,i,o){return{nameAndMode:P3,resolve:(s,l)=>P1(s,e,r,i,o,t,l)}}function Cse(e){return jo(e)?e:e.fileName}var HAe={getName:Cse,getMode:(e,t,r)=>Rse(e,t&&O3(t,r))};function L3(e,t,r,i,o){return{nameAndMode:HAe,resolve:(s,l)=>$oe(s,e,r,i,t,o,l)}}function iO(e,t,r,i,o,s,l,u){if(e.length===0)return se;const d=[],_=new Map,m=u(t,r,i,s,l);for(const y of e){const E=m.nameAndMode.getName(y),A=m.nameAndMode.getMode(y,o,(r==null?void 0:r.commandLine.options)||i),R=iP(E,A);let N=_.get(R);N||_.set(R,N=m.resolve(E,A)),d.push(N)}return d}var bP="__inferred type names__.ts";function k3(e,t,r){const i=e.configFilePath?pi(e.configFilePath):t;return ei(i,"__lib_node_modules_lookup_".concat(r,"__.ts"))}function NH(e){const t=e.split(".");let r=t[1],i=2;for(;t[i]&&t[i]!=="d";)r+=(i===2?"/":"-")+t[i],i++;return"@typescript/lib-"+r}function uT(e){switch(e==null?void 0:e.kind){case 3:case 4:case 5:case 7:return!0;default:return!1}}function KD(e){return e.pos!==void 0}function TP(e,t){var r,i,o,s;const l=C.checkDefined(e.getSourceFileByPath(t.file)),{kind:u,index:d}=t;let _,m,y;switch(u){case 3:const E=sO(l,d);if(y=(i=(r=e.getResolvedModuleFromModuleSpecifier(E,l))==null?void 0:r.resolvedModule)==null?void 0:i.packageId,E.pos===-1)return{file:l,packageId:y,text:E.text};_=wa(l.text,E.pos),m=E.end;break;case 4:({pos:_,end:m}=l.referencedFiles[d]);break;case 5:({pos:_,end:m}=l.typeReferenceDirectives[d]),y=(s=(o=e.getResolvedTypeReferenceDirectiveFromTypeReferenceDirective(l.typeReferenceDirectives[d],l))==null?void 0:o.resolvedTypeReferenceDirective)==null?void 0:s.packageId;break;case 7:({pos:_,end:m}=l.libReferenceDirectives[d]);break;default:return C.assertNever(u)}return{file:l,pos:_,end:m,packageId:y}}function MH(e,t,r,i,o,s,l,u,d,_){if(!e||u!=null&&u()||!ef(e.getRootFileNames(),t))return!1;let m;if(!ef(e.getProjectReferences(),_,N)||e.getSourceFiles().some(A))return!1;const y=e.getMissingFilePaths();if(y&&Uc(y,o))return!1;const E=e.getCompilerOptions();if(!NV(E,r)||e.resolvedLibReferences&&Uc(e.resolvedLibReferences,(k,F)=>l(F)))return!1;if(E.configFile&&r.configFile)return E.configFile.text===r.configFile.text;return!0;function A(k){return!R(k)||s(k.path)}function R(k){return k.version===i(k.resolvedPath,k.fileName)}function N(k,F,O){return hG(k,F)&&M(e.getResolvedProjectReferences()[O],k)}function M(k,F){if(k){if(Vn(m,k))return!0;const G=dx(F),j=d(G);return!j||k.commandLine.options.configFile!==j.options.configFile||!ef(k.commandLine.fileNames,j.fileNames)?!1:((m||(m=[])).push(k),!Xe(k.references,(K,Q)=>!M(K,k.commandLine.projectReferences[Q])))}const O=dx(F);return!d(O)}}function QS(e){return e.options.configFile?[...e.options.configFile.parseDiagnostics,...e.errors]:e.errors}function oO(e,t,r,i){const o=w3(e,t,r,i);return typeof o=="object"?o.impliedNodeFormat:o}function w3(e,t,r,i){const o=iu(i),s=3<=o&&o<=99||Gb(e);return Ql(e,[".d.mts",".mts",".mjs"])?99:Ql(e,[".d.cts",".cts",".cjs"])?1:s&&Ql(e,[".d.ts",".ts",".tsx",".js",".jsx"])?l():void 0;function l(){const u=oP(t,r,i),d=[];u.failedLookupLocations=d,u.affectingLocations=d;const _=aP(pi(e),u);return{impliedNodeFormat:(_==null?void 0:_.contents.packageJsonContent.type)==="module"?99:1,packageJsonLocations:d,packageJsonScope:_}}}var qAe=new Set([f.Cannot_redeclare_block_scoped_variable_0.code,f.A_module_cannot_have_multiple_default_exports.code,f.Another_export_default_is_here.code,f.The_first_export_default_is_here.code,f.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module.code,f.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode.code,f.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here.code,f.constructor_is_a_reserved_word.code,f.delete_cannot_be_called_on_an_identifier_in_strict_mode.code,f.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,f.Invalid_use_of_0_Modules_are_automatically_in_strict_mode.code,f.Invalid_use_of_0_in_strict_mode.code,f.A_label_is_not_allowed_here.code,f.with_statements_are_not_allowed_in_strict_mode.code,f.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement.code,f.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement.code,f.A_class_declaration_without_the_default_modifier_must_have_a_name.code,f.A_class_member_cannot_have_the_0_keyword.code,f.A_comma_expression_is_not_allowed_in_a_computed_property_name.code,f.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement.code,f.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,f.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,f.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement.code,f.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration.code,f.A_definite_assignment_assertion_is_not_permitted_in_this_context.code,f.A_destructuring_declaration_must_have_an_initializer.code,f.A_get_accessor_cannot_have_parameters.code,f.A_rest_element_cannot_contain_a_binding_pattern.code,f.A_rest_element_cannot_have_a_property_name.code,f.A_rest_element_cannot_have_an_initializer.code,f.A_rest_element_must_be_last_in_a_destructuring_pattern.code,f.A_rest_parameter_cannot_have_an_initializer.code,f.A_rest_parameter_must_be_last_in_a_parameter_list.code,f.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma.code,f.A_return_statement_cannot_be_used_inside_a_class_static_block.code,f.A_set_accessor_cannot_have_rest_parameter.code,f.A_set_accessor_must_have_exactly_one_parameter.code,f.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module.code,f.An_export_declaration_cannot_have_modifiers.code,f.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module.code,f.An_import_declaration_cannot_have_modifiers.code,f.An_object_member_cannot_be_declared_optional.code,f.Argument_of_dynamic_import_cannot_be_spread_element.code,f.Cannot_assign_to_private_method_0_Private_methods_are_not_writable.code,f.Cannot_redeclare_identifier_0_in_catch_clause.code,f.Catch_clause_variable_cannot_have_an_initializer.code,f.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator.code,f.Classes_can_only_extend_a_single_class.code,f.Classes_may_not_have_a_field_named_constructor.code,f.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,f.Duplicate_label_0.code,f.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments.code,f.for_await_loops_cannot_be_used_inside_a_class_static_block.code,f.JSX_attributes_must_only_be_assigned_a_non_empty_expression.code,f.JSX_elements_cannot_have_multiple_attributes_with_the_same_name.code,f.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array.code,f.JSX_property_access_expressions_cannot_include_JSX_namespace_names.code,f.Jump_target_cannot_cross_function_boundary.code,f.Line_terminator_not_permitted_before_arrow.code,f.Modifiers_cannot_appear_here.code,f.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement.code,f.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement.code,f.Private_identifiers_are_not_allowed_outside_class_bodies.code,f.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,f.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier.code,f.Tagged_template_expressions_are_not_permitted_in_an_optional_chain.code,f.The_left_hand_side_of_a_for_of_statement_may_not_be_async.code,f.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer.code,f.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer.code,f.Trailing_comma_not_allowed.code,f.Variable_declaration_list_cannot_be_empty.code,f._0_and_1_operations_cannot_be_mixed_without_parentheses.code,f._0_expected.code,f._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2.code,f._0_list_cannot_be_empty.code,f._0_modifier_already_seen.code,f._0_modifier_cannot_appear_on_a_constructor_declaration.code,f._0_modifier_cannot_appear_on_a_module_or_namespace_element.code,f._0_modifier_cannot_appear_on_a_parameter.code,f._0_modifier_cannot_appear_on_class_elements_of_this_kind.code,f._0_modifier_cannot_be_used_here.code,f._0_modifier_must_precede_1_modifier.code,f._0_declarations_can_only_be_declared_inside_a_block.code,f._0_declarations_must_be_initialized.code,f.extends_clause_already_seen.code,f.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations.code,f.Class_constructor_may_not_be_a_generator.code,f.Class_constructor_may_not_be_an_accessor.code,f.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,f.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,f.Private_field_0_must_be_declared_in_an_enclosing_class.code,f.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value.code]);function tJe(e,t){return e?pI(e.getCompilerOptions(),t,lU):!1}function nJe(e,t,r,i,o,s){return{rootNames:e,options:t,host:r,oldProgram:i,configFileParsingDiagnostics:o,typeScriptVersion:s}}function aO(e,t,r,i,o){var s,l,u,d,_,m,y,E,A,R,N,M,k,F,O,G;let j=Lo(e)?nJe(e,t,r,i,o):e;const{rootNames:K,options:Q,configFileParsingDiagnostics:J,projectReferences:he,typeScriptVersion:re,host:q}=j;let{oldProgram:ue}=j;j=void 0,e=void 0;for(const $e of Noe)if(Ms(Q,$e.name)&&typeof Q[$e.name]=="string")throw new Error("".concat($e.name," is a string value; tsconfig JSON must be parsed with parseJsonSourceFileConfigFileContent or getParsedCommandLineOfConfigFile before passing to createProgram"));const de=Lu(()=>wt("ignoreDeprecations",f.Invalid_value_for_ignoreDeprecations));let ge,Ae,Re,$,ve,je,be,ee,Se;const Ne=Nse(Ao);let ze,lt,le,De,_e,Ve,Ge,Be,ot;const Ot=typeof Q.maxNodeModuleJsDepth=="number"?Q.maxNodeModuleJsDepth:0;let Vt=0;const mn=new Map,Hn=new Map;(s=Ar)==null||s.push(Ar.Phase.Program,"createProgram",{configFilePath:Q.configFilePath,rootDir:Q.rootDir},!0),Nl("beforeProgram");const gt=q||Sse(Q),tn=F3(gt);let ir=Q.noLib;const Ri=Lu(()=>gt.getDefaultLibFileName(Q)),_o=gt.getDefaultLibLocation?gt.getDefaultLibLocation():pi(Ri());let Ht=!1;const Qr=gt.getCurrentDirectory(),go=EM(Q),Ci=Qk(Q,go),Cr=new Map;let Ur,Qe,It,hn;const pr=gt.hasInvalidatedResolutions||ry;gt.resolveModuleNameLiterals?(hn=gt.resolveModuleNameLiterals.bind(gt),It=(l=gt.getModuleResolutionCache)==null?void 0:l.call(gt)):gt.resolveModuleNames?(hn=($e,ft,Qt,In,Yn,kr)=>gt.resolveModuleNames($e.map(Dse),ft,kr==null?void 0:kr.map(Dse),Qt,In,Yn).map(Kn=>Kn?Kn.extension!==void 0?{resolvedModule:Kn}:{resolvedModule:{...Kn,extension:IM(Kn.resolvedFileName)}}:UAe),It=(u=gt.getModuleResolutionCache)==null?void 0:u.call(gt)):(It=GD(Qr,Kc,Q),hn=($e,ft,Qt,In,Yn)=>iO($e,ft,Qt,In,Yn,gt,It,CH));let oi;if(gt.resolveTypeReferenceDirectiveReferences)oi=gt.resolveTypeReferenceDirectiveReferences.bind(gt);else if(gt.resolveTypeReferenceDirectives)oi=($e,ft,Qt,In,Yn)=>gt.resolveTypeReferenceDirectives($e.map(Cse),ft,Qt,In,Yn==null?void 0:Yn.impliedNodeFormat).map(kr=>({resolvedTypeReferenceDirective:kr}));else{const $e=a3(Qr,Kc,void 0,It==null?void 0:It.getPackageJsonInfoCache(),It==null?void 0:It.optionsToRedirectsKey);oi=(ft,Qt,In,Yn,kr)=>iO(ft,Qt,In,Yn,kr,gt,$e,L3)}const di=gt.hasInvalidatedLibResolutions||ry;let Ki;if(gt.resolveLibrary)Ki=gt.resolveLibrary.bind(gt);else{const $e=GD(Qr,Kc,Q,It==null?void 0:It.getPackageJsonInfoCache());Ki=(ft,Qt,In)=>s3(ft,Qt,In,gt,$e)}const Zo=new Map;let Da=new Map,Pn=fm(),qo;const at=new Map;let Bt=new Map;const ce=gt.useCaseSensitiveFileNames()?new Map:void 0;let _t,ie,We,it;const dt=!!((d=gt.useSourceOfProjectReferenceRedirect)!=null&&d.call(gt))&&!Q.disableSourceOfProjectReferenceRedirect,{onProgramCreateComplete:Lt,fileExists:He,directoryExists:Ct}=rJe({compilerHost:gt,getSymlinkCache:Ef,useSourceOfProjectReferenceRedirect:dt,toPath:zt,getResolvedProjectReferences:wo,getRedirectFromOutput:Jl,forEachResolvedProjectReference:wl}),Nt=gt.readFile.bind(gt);(_=Ar)==null||_.push(Ar.Phase.Program,"shouldProgramCreateNewSourceFiles",{hasOldProgram:!!ue});const Wt=tJe(ue,Q);(m=Ar)==null||m.pop();let rt;if((y=Ar)==null||y.push(Ar.Phase.Program,"tryReuseStructureFromOldProgram",{}),rt=tr(),(E=Ar)==null||E.pop(),rt!==2){if(ge=[],Ae=[],he&&(_t||(_t=he.map(g_)),K.length&&(_t==null||_t.forEach(($e,ft)=>{if(!$e)return;const Qt=$e.commandLine.options.outFile;if(dt){if(Qt||Tu($e.commandLine.options)===0)for(const In of $e.commandLine.fileNames)du(In,{kind:1,index:ft})}else if(Qt)du(dv(Qt,".d.ts"),{kind:2,index:ft});else if(Tu($e.commandLine.options)===0){const In=Lu(()=>O1($e.commandLine,!gt.useCaseSensitiveFileNames()));for(const Yn of $e.commandLine.fileNames)!ad(Yn)&&!xl(Yn,".json")&&du(gP(Yn,$e.commandLine,!gt.useCaseSensitiveFileNames(),In),{kind:2,index:ft})}}))),(A=Ar)==null||A.push(Ar.Phase.Program,"processRootFiles",{count:K.length}),Xe(K,($e,ft)=>Ca($e,!1,!1,{kind:0,index:ft})),(R=Ar)==null||R.pop(),ze!=null||(ze=K.length?i3(Q,gt):se),lt=BD(),ze.length){(N=Ar)==null||N.push(Ar.Phase.Program,"processTypeReferences",{count:ze.length});const $e=Q.configFilePath?pi(Q.configFilePath):Qr,ft=ei($e,bP),Qt=Ft(ze,ft);for(let In=0;In<ze.length;In++)lt.set(ze[In],void 0,Qt[In]),Yf(ze[In],void 0,Qt[In],{kind:8,typeReference:ze[In],packageId:(k=(M=Qt[In])==null?void 0:M.resolvedTypeReferenceDirective)==null?void 0:k.packageId});(F=Ar)==null||F.pop()}if(K.length&&!ir){const $e=Ri();!Q.lib&&$e?Ca($e,!0,!1,{kind:6}):Xe(Q.lib,(ft,Qt)=>{Ca(Lg(ft),!0,!1,{kind:6,index:Qt})})}Re=Cp(ge,vt).concat(Ae),ge=void 0,Ae=void 0,be=void 0}if(ue&>.onReleaseOldSourceFile){const $e=ue.getSourceFiles();for(const ft of $e){const Qt=Ma(ft.resolvedPath);(Wt||!Qt||Qt.impliedNodeFormat!==ft.impliedNodeFormat||ft.resolvedPath===ft.path&&Qt.resolvedPath!==ft.path)&>.onReleaseOldSourceFile(ft,ue.getCompilerOptions(),!!Ma(ft.path),Qt)}gt.getParsedCommandLine||ue.forEachResolvedProjectReference(ft=>{bd(ft.sourceFile.path)||gt.onReleaseOldSourceFile(ft.sourceFile,ue.getCompilerOptions(),!1,void 0)})}ue&>.onReleaseParsedCommandLine&&wM(ue.getProjectReferences(),ue.getResolvedProjectReferences(),($e,ft,Qt)=>{const In=(ft==null?void 0:ft.commandLine.projectReferences[Qt])||ue.getProjectReferences()[Qt],Yn=dx(In);ie!=null&&ie.has(zt(Yn))||gt.onReleaseParsedCommandLine(Yn,$e,ue.getCompilerOptions())}),ue=void 0,De=void 0,Ve=void 0,Be=void 0;const Zt={getRootFileNames:()=>K,getSourceFile:tl,getSourceFileByPath:Ma,getSourceFiles:()=>Re,getMissingFilePaths:()=>Bt,getModuleResolutionCache:()=>It,getFilesByNameMap:()=>at,getCompilerOptions:()=>Q,getSyntacticDiagnostics:Tf,getOptionsDiagnostics:Bn,getGlobalDiagnostics:Xi,getSemanticDiagnostics:Oo,getCachedSemanticDiagnostics:ga,getSuggestionDiagnostics:ut,getDeclarationDiagnostics:nn,getBindAndCheckDiagnostics:is,getProgramDiagnostics:Ja,getTypeChecker:ms,getClassifiableNames:An,getCommonSourceDirectory:Yt,emit:ro,getCurrentDirectory:()=>Qr,getNodeCount:()=>ms().getNodeCount(),getIdentifierCount:()=>ms().getIdentifierCount(),getSymbolCount:()=>ms().getSymbolCount(),getTypeCount:()=>ms().getTypeCount(),getInstantiationCount:()=>ms().getInstantiationCount(),getRelationCacheSizes:()=>ms().getRelationCacheSizes(),getFileProcessingDiagnostics:()=>Ne.getFileProcessingDiagnostics(),getAutomaticTypeDirectiveNames:()=>ze,getAutomaticTypeDirectiveResolutions:()=>lt,isSourceFileFromExternalLibrary:fs,isSourceFileDefaultLibrary:xs,getModeForUsageLocation:$f,getEmitSyntaxForUsageLocation:xy,getModeForResolutionAtIndex:Iv,getSourceFileFromReference:Iu,getLibFileFromReference:al,sourceFileToPackageName:Da,redirectTargetsMap:Pn,usesUriStyleNodeCoreModules:qo,resolvedModules:_e,resolvedTypeReferenceDirectiveNames:Ge,resolvedLibReferences:le,getProgramDiagnosticsContainer:()=>Ne,getResolvedModule:Rr,getResolvedModuleFromModuleSpecifier:Oe,getResolvedTypeReferenceDirective:At,getResolvedTypeReferenceDirectiveFromTypeReferenceDirective:ye,forEachResolvedModule:B,forEachResolvedTypeReferenceDirective:xe,getCurrentPackagesMap:()=>ot,typesPackageExists:$t,packageBundlesTypes:Pe,isEmittedFile:cd,getConfigFileParsingDiagnostics:bs,getProjectReferences:vo,getResolvedProjectReferences:wo,getRedirectFromSourceFile:sl,getResolvedProjectReferenceByPath:bd,forEachResolvedProjectReference:wl,isSourceOfProjectReferenceRedirect:of,getRedirectFromOutput:Jl,getCompilerOptionsForFile:Ru,getDefaultResolutionModeForFile:ju,getEmitModuleFormatOfFile:Cm,getImpliedNodeFormatForEmit:bh,shouldTransformImportCall:Af,emitBuildInfo:ea,fileExists:He,readFile:Nt,directoryExists:Ct,getSymlinkCache:Ef,realpath:(O=gt.realpath)==null?void 0:O.bind(gt),useCaseSensitiveFileNames:()=>gt.useCaseSensitiveFileNames(),getCanonicalFileName:Kc,getFileIncludeReasons:()=>Ne.getFileReasons(),structureIsReused:rt,writeFile:ti,getGlobalTypingsCacheLocation:la(gt,gt.getGlobalTypingsCacheLocation)};return Lt(),Ht||oe(),Nl("afterProgram"),Of("Program","beforeProgram","afterProgram"),(G=Ar)==null||G.pop(),Zt;function Rr($e,ft,Qt){var In;return(In=_e==null?void 0:_e.get($e.path))==null?void 0:In.get(ft,Qt)}function Oe($e,ft){return ft!=null||(ft=On($e)),C.assertIsDefined(ft,"`moduleSpecifier` must have a `SourceFile` ancestor. Use `program.getResolvedModule` instead to provide the containing file and resolution mode."),Rr(ft,$e.text,$f(ft,$e))}function At($e,ft,Qt){var In;return(In=Ge==null?void 0:Ge.get($e.path))==null?void 0:In.get(ft,Qt)}function ye($e,ft){return At(ft,$e.fileName,Ry($e,ft))}function B($e,ft){te(_e,$e,ft)}function xe($e,ft){te(Ge,$e,ft)}function te($e,ft,Qt){var In;Qt?(In=$e==null?void 0:$e.get(Qt.path))==null||In.forEach((Yn,kr,Kn)=>ft(Yn,kr,Kn,Qt.path)):$e==null||$e.forEach((Yn,kr)=>Yn.forEach((Kn,ur,wi)=>ft(Kn,ur,wi,kr)))}function xt(){return ot||(ot=new Map,B(({resolvedModule:$e})=>{$e!=null&&$e.packageId&&ot.set($e.packageId.name,$e.extension===".d.ts"||!!ot.get($e.packageId.name))}),ot)}function $t($e){return xt().has(d3($e))}function Pe($e){return!!xt().get($e)}function yt($e){var ft;(ft=$e.resolutionDiagnostics)!=null&&ft.length&&Ne.addFileProcessingDiagnostic({kind:2,diagnostics:$e.resolutionDiagnostics})}function jt($e,ft,Qt,In){if(gt.resolveModuleNameLiterals||!gt.resolveModuleNames)return yt(Qt);if(!It||td(ft))return;const Yn=Eo($e.originalFileName,Qr),kr=pi(Yn),Kn=fr($e),ur=It.getFromNonRelativeNameCache(ft,In,kr,Kn);ur&&yt(ur)}function or($e,ft,Qt){var In,Yn;const kr=Eo(ft.originalFileName,Qr),Kn=fr(ft);(In=Ar)==null||In.push(Ar.Phase.Program,"resolveModuleNamesWorker",{containingFileName:kr}),Nl("beforeResolveModule");const ur=hn($e,kr,Kn,Q,ft,Qt);return Nl("afterResolveModule"),Of("ResolveModule","beforeResolveModule","afterResolveModule"),(Yn=Ar)==null||Yn.pop(),ur}function $n($e,ft,Qt){var In,Yn;const kr=jo(ft)?void 0:ft,Kn=jo(ft)?ft:Eo(ft.originalFileName,Qr),ur=kr&&fr(kr);(In=Ar)==null||In.push(Ar.Phase.Program,"resolveTypeReferenceDirectiveNamesWorker",{containingFileName:Kn}),Nl("beforeResolveTypeReference");const wi=oi($e,Kn,ur,Q,kr,Qt);return Nl("afterResolveTypeReference"),Of("ResolveTypeReference","beforeResolveTypeReference","afterResolveTypeReference"),(Yn=Ar)==null||Yn.pop(),wi}function fr($e){var ft,Qt;const In=sl($e.originalFileName);if(In||!ad($e.originalFileName))return In==null?void 0:In.resolvedRef;const Yn=(ft=Jl($e.path))==null?void 0:ft.resolvedRef;if(Yn)return Yn;if(!gt.realpath||!Q.preserveSymlinks||!$e.originalFileName.includes(Mg))return;const kr=zt(gt.realpath($e.originalFileName));return kr===$e.path||(Qt=Jl(kr))==null?void 0:Qt.resolvedRef}function vt($e,ft){return Js(Rt($e),Rt(ft))}function Rt($e){if(hm(_o,$e.fileName,!1)){const ft=Ec($e.fileName);if(ft==="lib.d.ts"||ft==="lib.es6.d.ts")return 0;const Qt=CR(_N(ft,"lib."),".d.ts"),In=G4.indexOf(Qt);if(In!==-1)return In+1}return G4.length+2}function zt($e){return Ws($e,Qr,Kc)}function Yt(){let $e=Ne.getCommonSourceDirectory();if($e!==void 0)return $e;const ft=Fn(Re,Qt=>DS(Qt,Zt));return $e=yP(Q,()=>Hi(ft,Qt=>Qt.isDeclarationFile?void 0:Qt.fileName),Qr,Kc,Qt=>Sf(ft,Qt)),Ne.setCommonSourceDirectory($e),$e}function An(){var $e;if(!je){ms(),je=new Set;for(const ft of Re)($e=ft.classifiableNames)==null||$e.forEach(Qt=>je.add(Qt))}return je}function vn($e,ft){return bn({entries:$e,containingFile:ft,containingSourceFile:ft,redirectedReference:fr(ft),nameAndModeGetter:P3,resolutionWorker:or,getResolutionFromOldProgram:(Qt,In)=>ue==null?void 0:ue.getResolvedModule(ft,Qt,In),getResolved:fI,canReuseResolutionsInFile:()=>ft===(ue==null?void 0:ue.getSourceFile(ft.fileName))&&!pr(ft.path),resolveToOwnAmbientModule:!0})}function Ft($e,ft){const Qt=jo(ft)?void 0:ft;return bn({entries:$e,containingFile:ft,containingSourceFile:Qt,redirectedReference:Qt&&fr(Qt),nameAndModeGetter:HAe,resolutionWorker:$n,getResolutionFromOldProgram:(In,Yn)=>{var kr;return Qt?ue==null?void 0:ue.getResolvedTypeReferenceDirective(Qt,In,Yn):(kr=ue==null?void 0:ue.getAutomaticTypeDirectiveResolutions())==null?void 0:kr.get(In,Yn)},getResolved:kF,canReuseResolutionsInFile:()=>Qt?Qt===(ue==null?void 0:ue.getSourceFile(Qt.fileName))&&!pr(Qt.path):!pr(zt(ft))})}function bn({entries:$e,containingFile:ft,containingSourceFile:Qt,redirectedReference:In,nameAndModeGetter:Yn,resolutionWorker:kr,getResolutionFromOldProgram:Kn,getResolved:ur,canReuseResolutionsInFile:wi,resolveToOwnAmbientModule:No}){var cp;if(!$e.length)return se;if(rt===0&&(!No||!Qt.ambientModuleNames.length))return kr($e,ft,void 0);let gi,Io,Vi,ll;const lp=wi();for(let Qf=0;Qf<$e.length;Qf++){const dp=$e[Qf];if(lp){const wg=Yn.getName(dp),Og=Yn.getMode(dp,Qt,(cp=In==null?void 0:In.commandLine.options)!=null?cp:Q),xv=Kn(wg,Og),Th=xv&&ur(xv);if(Th){zb(Q,gt)&&Co(gt,kr===or?Th.packageId?f.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:f.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:Th.packageId?f.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:f.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2,wg,Qt?Eo(Qt.originalFileName,Qr):ft,Th.resolvedFileName,Th.packageId&&O0(Th.packageId)),(Vi!=null?Vi:Vi=new Array($e.length))[Qf]=xv,(ll!=null?ll:ll=[]).push(dp);continue}}if(No){const wg=Yn.getName(dp);if(Vn(Qt.ambientModuleNames,wg)){zb(Q,gt)&&Co(gt,f.Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1,wg,Eo(Qt.originalFileName,Qr)),(Vi!=null?Vi:Vi=new Array($e.length))[Qf]=UAe;continue}}(gi!=null?gi:gi=[]).push(dp),(Io!=null?Io:Io=[]).push(Qf)}if(!gi)return Vi;const Nm=kr(gi,ft,ll);return Vi?(Nm.forEach((Qf,dp)=>Vi[Io[dp]]=Qf),Vi):Nm}function Pr(){return!wM(ue.getProjectReferences(),ue.getResolvedProjectReferences(),($e,ft,Qt)=>{const In=(ft?ft.commandLine.projectReferences:he)[Qt],Yn=g_(In);return $e?!Yn||Yn.sourceFile!==$e.sourceFile||!ef($e.commandLine.fileNames,Yn.commandLine.fileNames):Yn!==void 0},($e,ft)=>{const Qt=ft?bd(ft.sourceFile.path).commandLine.projectReferences:he;return!ef($e,Qt,hG)})}function tr(){var $e;if(!ue)return 0;const ft=ue.getCompilerOptions();if(PF(ft,Q))return 0;const Qt=ue.getRootFileNames();if(!ef(Qt,K)||!Pr())return 0;he&&(_t=he.map(g_));const In=[],Yn=[];if(rt=2,Uc(ue.getMissingFilePaths(),gi=>gt.fileExists(gi)))return 0;const kr=ue.getSourceFiles();let Kn;(gi=>{gi[gi.Exists=0]="Exists",gi[gi.Modified=1]="Modified"})(Kn||(Kn={}));const ur=new Map;for(const gi of kr){const Io=bo(gi.fileName,It,gt,Q);let Vi=gt.getSourceFileByPath?gt.getSourceFileByPath(gi.fileName,gi.resolvedPath,Io,void 0,Wt):gt.getSourceFile(gi.fileName,Io,void 0,Wt);if(!Vi)return 0;Vi.packageJsonLocations=($e=Io.packageJsonLocations)!=null&&$e.length?Io.packageJsonLocations:void 0,Vi.packageJsonScope=Io.packageJsonScope,C.assert(!Vi.redirectInfo,"Host should not return a redirect source file from `getSourceFile`");let ll;if(gi.redirectInfo){if(Vi!==gi.redirectInfo.unredirected)return 0;ll=!1,Vi=gi}else if(ue.redirectTargetsMap.has(gi.path)){if(Vi!==gi)return 0;ll=!1}else ll=Vi!==gi;Vi.path=gi.path,Vi.originalFileName=gi.originalFileName,Vi.resolvedPath=gi.resolvedPath,Vi.fileName=gi.fileName;const lp=ue.sourceFileToPackageName.get(gi.path);if(lp!==void 0){const Nm=ur.get(lp),cp=ll?1:0;if(Nm!==void 0&&cp===1||Nm===1)return 0;ur.set(lp,cp)}ll?(gi.impliedNodeFormat!==Vi.impliedNodeFormat?rt=1:ef(gi.libReferenceDirectives,Vi.libReferenceDirectives,ml)?gi.hasNoDefaultLib!==Vi.hasNoDefaultLib?rt=1:ef(gi.referencedFiles,Vi.referencedFiles,ml)?(ol(Vi),ef(gi.imports,Vi.imports,Cc)&&ef(gi.moduleAugmentations,Vi.moduleAugmentations,Cc)?(gi.flags&12582912)!==(Vi.flags&12582912)?rt=1:ef(gi.typeReferenceDirectives,Vi.typeReferenceDirectives,ml)||(rt=1):rt=1):rt=1:rt=1,Yn.push(Vi)):pr(gi.path)&&(rt=1,Yn.push(Vi)),In.push(Vi)}if(rt!==2)return rt;for(const gi of Yn){const Io=KAe(gi),Vi=vn(Io,gi);(Ve!=null?Ve:Ve=new Map).set(gi.path,Vi);const ll=Ru(gi);gG(Io,Vi,dp=>ue.getResolvedModule(gi,dp.text,M3(gi,dp,ll)),Bte)&&(rt=1);const Nm=gi.typeReferenceDirectives,cp=Ft(Nm,gi);(Be!=null?Be:Be=new Map).set(gi.path,cp),gG(Nm,cp,dp=>ue.getResolvedTypeReferenceDirective(gi,Cse(dp),Ry(dp,gi)),Gte)&&(rt=1)}if(rt!==2)return rt;if(Fte(ft,Q)||ue.resolvedLibReferences&&Uc(ue.resolvedLibReferences,(gi,Io)=>kg(Io).actual!==gi.actual))return 1;if(gt.hasChangedAutomaticTypeDirectiveNames){if(gt.hasChangedAutomaticTypeDirectiveNames())return 1}else if(ze=i3(Q,gt),!ef(ue.getAutomaticTypeDirectiveNames(),ze))return 1;Bt=ue.getMissingFilePaths(),C.assert(In.length===ue.getSourceFiles().length);for(const gi of In)at.set(gi.path,gi);ue.getFilesByNameMap().forEach((gi,Io)=>{if(!gi){at.set(Io,gi);return}if(gi.path===Io){ue.isSourceFileFromExternalLibrary(gi)&&Hn.set(gi.path,!0);return}at.set(Io,at.get(gi.path))});const No=ft.configFile&&ft.configFile===Q.configFile||!ft.configFile&&!Q.configFile&&!pI(ft,Q,Jm);return Ne.reuseStateFromOldProgram(ue.getProgramDiagnosticsContainer(),No),Ht=No,Re=In,ze=ue.getAutomaticTypeDirectiveNames(),lt=ue.getAutomaticTypeDirectiveResolutions(),Da=ue.sourceFileToPackageName,Pn=ue.redirectTargetsMap,qo=ue.usesUriStyleNodeCoreModules,_e=ue.resolvedModules,Ge=ue.resolvedTypeReferenceDirectiveNames,le=ue.resolvedLibReferences,ot=ue.getCurrentPackagesMap(),2}function kt($e){return{getCanonicalFileName:Kc,getCommonSourceDirectory:Zt.getCommonSourceDirectory,getCompilerOptions:Zt.getCompilerOptions,getCurrentDirectory:()=>Qr,getSourceFile:Zt.getSourceFile,getSourceFileByPath:Zt.getSourceFileByPath,getSourceFiles:Zt.getSourceFiles,isSourceFileFromExternalLibrary:fs,getRedirectFromSourceFile:sl,isSourceOfProjectReferenceRedirect:of,getSymlinkCache:Ef,writeFile:$e||ti,isEmitBlocked:zo,shouldTransformImportCall:Af,getEmitModuleFormatOfFile:Cm,getDefaultResolutionModeForFile:ju,getModeForResolutionAtIndex:Iv,readFile:ft=>gt.readFile(ft),fileExists:ft=>{const Qt=zt(ft);return Ma(Qt)?!0:Bt.has(Qt)?!1:gt.fileExists(ft)},realpath:la(gt,gt.realpath),useCaseSensitiveFileNames:()=>gt.useCaseSensitiveFileNames(),getBuildInfo:()=>{var ft;return(ft=Zt.getBuildInfo)==null?void 0:ft.call(Zt)},getSourceFileFromReference:(ft,Qt)=>Zt.getSourceFileFromReference(ft,Qt),redirectTargetsMap:Pn,getFileIncludeReasons:Zt.getFileIncludeReasons,createHash:la(gt,gt.createHash),getModuleResolutionCache:()=>Zt.getModuleResolutionCache(),trace:la(gt,gt.trace),getGlobalTypingsCacheLocation:Zt.getGlobalTypingsCacheLocation}}function ti($e,ft,Qt,In,Yn,kr){gt.writeFile($e,ft,Qt,In,Yn,kr)}function ea($e){var ft,Qt;(ft=Ar)==null||ft.push(Ar.Phase.Emit,"emitBuildInfo",{},!0),Nl("beforeEmit");const In=hH(hse,kt($e),void 0,dse,!1,!0);return Nl("afterEmit"),Of("Emit","beforeEmit","afterEmit"),(Qt=Ar)==null||Qt.pop(),In}function wo(){return _t}function vo(){return he}function fs($e){return!!Hn.get($e.path)}function xs($e){if(!$e.isDeclarationFile)return!1;if($e.hasNoDefaultLib)return!0;if(Q.noLib)return!1;const ft=gt.useCaseSensitiveFileNames()?pS:sb;return Q.lib?bt(Q.lib,Qt=>{const In=le.get(Qt);return!!In&&ft($e.fileName,In.actual)}):ft($e.fileName,Ri())}function ms(){return ve||(ve=Sae(Zt))}function ro($e,ft,Qt,In,Yn,kr,Kn){var ur,wi;(ur=Ar)==null||ur.push(Ar.Phase.Emit,"emit",{path:$e==null?void 0:$e.path},!0);const No=ql(()=>bc(Zt,$e,ft,Qt,In,Yn,kr,Kn));return(wi=Ar)==null||wi.pop(),No}function zo($e){return Cr.has(zt($e))}function bc($e,ft,Qt,In,Yn,kr,Kn,ur){if(!Kn){const Io=LH($e,ft,Qt,In);if(Io)return Io}const wi=ms(),No=wi.getEmitResolver(Q.outFile?void 0:ft,In,mH(Yn,Kn));Nl("beforeEmit");const gi=wi.runWithCancellationToken(In,()=>hH(No,kt(Qt),ft,use(Q,kr,Yn),Yn,!1,Kn,ur));return Nl("afterEmit"),Of("Emit","beforeEmit","afterEmit"),gi}function tl($e){return Ma(zt($e))}function Ma($e){return at.get($e)||void 0}function tc($e,ft,Qt){return WR($e?ft($e,Qt):Wi(Zt.getSourceFiles(),In=>(Qt&&Qt.throwIfCancellationRequested(),ft(In,Qt))))}function Tf($e,ft){return tc($e,Ds,ft)}function Oo($e,ft,Qt){return tc($e,(In,Yn)=>lc(In,Yn,Qt),ft)}function ga($e){return ee==null?void 0:ee.get($e.path)}function is($e,ft){return vd($e,ft,void 0)}function Ja($e){var ft;if(_D($e,Q,Zt))return se;const Qt=Ne.getCombinedDiagnostics(Zt).getDiagnostics($e.fileName);return(ft=$e.commentDirectives)!=null&&ft.length?Y($e,$e.commentDirectives,Qt).diagnostics:Qt}function nn($e,ft){return tc($e,xr,ft)}function Ds($e){return wu($e)?($e.additionalSyntacticDiagnostics||($e.additionalSyntacticDiagnostics=fn($e)),co($e.additionalSyntacticDiagnostics,$e.parseDiagnostics)):$e.parseDiagnostics}function ql($e){try{return $e()}catch(ft){throw ft instanceof SN&&(ve=void 0),ft}}function lc($e,ft,Qt){return co(W3(vd($e,ft,Qt),Q),Ja($e))}function vd($e,ft,Qt){if(Qt)return Gs($e,ft,Qt);let In=ee==null?void 0:ee.get($e.path);return In||(ee!=null?ee:ee=new Map).set($e.path,In=Gs($e,ft)),In}function Gs($e,ft,Qt){return ql(()=>{if(_D($e,Q,Zt))return se;const In=ms();C.assert(!!$e.bindDiagnostics);const Yn=$e.scriptKind===1||$e.scriptKind===2,kr=jN($e,Q.checkJs),Kn=Yn&&xM($e,Q);let ur=$e.bindDiagnostics,wi=In.getDiagnostics($e,ft,Qt);return kr&&(ur=Fn(ur,No=>qAe.has(No.code)),wi=Fn(wi,No=>qAe.has(No.code))),Ie($e,!kr,!!Qt,ur,wi,Kn?$e.jsDocDiagnostics:void 0)})}function Ie($e,ft,Qt,...In){var Yn;const kr=Qo(In);if(!ft||!((Yn=$e.commentDirectives)!=null&&Yn.length))return kr;const{diagnostics:Kn,directives:ur}=Y($e,$e.commentDirectives,kr);if(Qt)return Kn;for(const wi of ur.getUnusedExpectations())Kn.push(ine($e,wi.range,f.Unused_ts_expect_error_directive));return Kn}function Y($e,ft,Qt){const In=Ute($e,ft);return{diagnostics:Qt.filter(kr=>Jt(kr,In)===-1),directives:In}}function ut($e,ft){return ql(()=>ms().getSuggestionDiagnostics($e,ft))}function Jt($e,ft){const{file:Qt,start:In}=$e;if(!Qt)return-1;const Yn=dg(Qt);let kr=wR(Yn,In).line-1;for(;kr>=0;){if(ft.markUsed(kr))return kr;const Kn=Qt.text.slice(Yn[kr],Yn[kr+1]).trim();if(Kn!==""&&!/^\s*\/\/.*$/.test(Kn))return-1;kr--}return-1}function fn($e){return ql(()=>{const ft=[];return Qt($e,$e),tx($e,Qt,In),ft;function Qt(ur,wi){switch(wi.kind){case 170:case 173:case 175:if(wi.questionToken===ur)return ft.push(Kn(ur,f.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),"skip";case 174:case 177:case 178:case 179:case 219:case 263:case 220:case 261:if(wi.type===ur)return ft.push(Kn(ur,f.Type_annotations_can_only_be_used_in_TypeScript_files)),"skip"}switch(ur.kind){case 274:if(ur.isTypeOnly)return ft.push(Kn(wi,f._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 279:if(ur.isTypeOnly)return ft.push(Kn(ur,f._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 277:case 282:if(ur.isTypeOnly)return ft.push(Kn(ur,f._0_declarations_can_only_be_used_in_TypeScript_files,Au(ur)?"import...type":"export...type")),"skip";break;case 272:return ft.push(Kn(ur,f.import_can_only_be_used_in_TypeScript_files)),"skip";case 278:if(ur.isExportEquals)return ft.push(Kn(ur,f.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 299:if(ur.token===119)return ft.push(Kn(ur,f.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 265:const gi=Ta(120);return C.assertIsDefined(gi),ft.push(Kn(ur,f._0_declarations_can_only_be_used_in_TypeScript_files,gi)),"skip";case 268:const Io=ur.flags&32?Ta(145):Ta(144);return C.assertIsDefined(Io),ft.push(Kn(ur,f._0_declarations_can_only_be_used_in_TypeScript_files,Io)),"skip";case 266:return ft.push(Kn(ur,f.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 177:case 175:case 263:return ur.body?void 0:(ft.push(Kn(ur,f.Signature_declarations_can_only_be_used_in_TypeScript_files)),"skip");case 267:const Vi=C.checkDefined(Ta(94));return ft.push(Kn(ur,f._0_declarations_can_only_be_used_in_TypeScript_files,Vi)),"skip";case 236:return ft.push(Kn(ur,f.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 235:return ft.push(Kn(ur.type,f.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 239:return ft.push(Kn(ur.type,f.Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 217:C.fail()}}function In(ur,wi){if(Yj(wi)){const No=_n(wi.modifiers,wc);No&&ft.push(Kn(No,f.Decorators_are_not_valid_here))}else if(qS(wi)&&wi.modifiers){const No=lo(wi.modifiers,wc);if(No>=0){if(no(wi)&&!Q.experimentalDecorators)ft.push(Kn(wi.modifiers[No],f.Decorators_are_not_valid_here));else if(xc(wi)){const gi=lo(wi.modifiers,jI);if(gi>=0){const Io=lo(wi.modifiers,v4);if(No>gi&&Io>=0&&No<Io)ft.push(Kn(wi.modifiers[No],f.Decorators_are_not_valid_here));else if(gi>=0&&No<gi){const Vi=lo(wi.modifiers,wc,gi);Vi>=0&&ft.push(_a(Kn(wi.modifiers[Vi],f.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),Kn(wi.modifiers[No],f.Decorator_used_before_export_here)))}}}}}switch(wi.kind){case 264:case 232:case 175:case 177:case 178:case 179:case 219:case 263:case 220:if(ur===wi.typeParameters)return ft.push(kr(ur,f.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 244:if(ur===wi.modifiers)return Yn(wi.modifiers,wi.kind===244),"skip";break;case 173:if(ur===wi.modifiers){for(const No of ur)Ra(No)&&No.kind!==126&&No.kind!==129&&ft.push(Kn(No,f.The_0_modifier_can_only_be_used_in_TypeScript_files,Ta(No.kind)));return"skip"}break;case 170:if(ur===wi.modifiers&&bt(ur,Ra))return ft.push(kr(ur,f.Parameter_modifiers_can_only_be_used_in_TypeScript_files)),"skip";break;case 214:case 215:case 234:case 286:case 287:case 216:if(ur===wi.typeArguments)return ft.push(kr(ur,f.Type_arguments_can_only_be_used_in_TypeScript_files)),"skip";break}}function Yn(ur,wi){for(const No of ur)switch(No.kind){case 87:if(wi)continue;case 125:case 123:case 124:case 148:case 138:case 128:case 164:case 103:case 147:ft.push(Kn(No,f.The_0_modifier_can_only_be_used_in_TypeScript_files,Ta(No.kind)));break;case 126:case 95:case 90:case 129:}}function kr(ur,wi,...No){const gi=ur.pos;return kc($e,gi,ur.end-gi,wi,...No)}function Kn(ur,wi,...No){return Ff($e,ur,wi,...No)}})}function dr($e,ft){let Qt=Se==null?void 0:Se.get($e.path);return Qt||(Se!=null?Se:Se=new Map).set($e.path,Qt=si($e,ft)),Qt}function si($e,ft){return ql(()=>{const Qt=ms().getEmitResolver($e,ft);return cse(kt(vs),Qt,$e)||se})}function xr($e,ft){return $e.isDeclarationFile?se:dr($e,ft)}function Bn(){return WR(co(Ne.getCombinedDiagnostics(Zt).getGlobalDiagnostics(),Zi()))}function Zi(){if(!Q.configFile)return se;let $e=Ne.getCombinedDiagnostics(Zt).getDiagnostics(Q.configFile.fileName);return wl(ft=>{$e=co($e,Ne.getCombinedDiagnostics(Zt).getDiagnostics(ft.sourceFile.fileName))}),$e}function Xi(){return K.length?WR(ms().getGlobalDiagnostics().slice()):se}function bs(){return J||se}function Ca($e,ft,Qt,In){qd(Sa($e),ft,Qt,void 0,In)}function ml($e,ft){return $e.fileName===ft.fileName}function Cc($e,ft){return $e.kind===80?ft.kind===80&&$e.escapedText===ft.escapedText:ft.kind===11&&$e.text===ft.text}function zc($e,ft){const Qt=L.createStringLiteral($e),In=L.createImportDeclaration(void 0,void 0,Qt);return _1(In,2),ps(Qt,In),ps(In,ft),Qt.flags&=-17,In.flags&=-17,Qt}function ol($e){if($e.imports)return;const ft=wu($e),Qt=Wc($e);let In,Yn,kr;if(ft||!$e.isDeclarationFile&&(Sm(Q)||Wc($e))){Q.importHelpers&&(In=[zc(vb,$e)]);const ur=j6(Yk(Q,$e),Q);ur&&(In||(In=[])).push(zc(ur,$e))}for(const ur of $e.statements)Kn(ur,!1);($e.flags&4194304||ft)&&c4($e,!0,!0,(ur,wi)=>{J0(ur,!1),In=jn(In,wi)}),$e.imports=In||se,$e.moduleAugmentations=Yn||se,$e.ambientModuleNames=kr||se;return;function Kn(ur,wi){if(ek(ur)){const No=vI(ur);No&&Oa(No)&&No.text&&(!wi||!td(No.text))&&(J0(ur,!1),In=jn(In,No),!qo&&Vt===0&&!$e.isDeclarationFile&&(fo(No.text,"node:")&&!l4.has(No.text)?qo=!0:qo===void 0&&nie.has(No.text)&&(qo=!1)))}else if(pc(ur)&&vu(ur)&&(wi||fi(ur,128)||$e.isDeclarationFile)){ur.name.parent=ur;const No=Bf(ur.name);if(Qt||wi&&!td(No))(Yn||(Yn=[])).push(ur.name);else if(!wi){$e.isDeclarationFile&&(kr||(kr=[])).push(No);const gi=ur.body;if(gi)for(const Io of gi.statements)Kn(Io,!0)}}}}function al($e){var ft;const Qt=lj($e),In=Qt&&((ft=le==null?void 0:le.get(Qt))==null?void 0:ft.actual);return In!==void 0?tl(In):void 0}function Iu($e,ft){return xu(SH(ft.fileName,$e.fileName),tl)}function xu($e,ft,Qt,In){if(PR($e)){const Yn=gt.getCanonicalFileName($e);if(!Q.allowNonTsExtensions&&!Xe(Qo(Ci),Kn=>xl(Yn,Kn))){Qt&&(Ig(Yn)?Qt(f.File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option,$e):Qt(f.File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1,$e,"'"+Qo(go).join("', '")+"'"));return}const kr=ft($e);if(Qt)if(kr)uT(In)&&Yn===gt.getCanonicalFileName(Ma(In.file).fileName)&&Qt(f.A_file_cannot_have_a_reference_to_itself);else{const Kn=sl($e);Kn!=null&&Kn.outputDts?Qt(f.Output_file_0_has_not_been_built_from_source_file_1,Kn.outputDts,$e):Qt(f.File_0_not_found,$e)}return kr}else{const Yn=Q.allowNonTsExtensions&&ft($e);if(Yn)return Yn;if(Qt&&Q.allowNonTsExtensions){Qt(f.File_0_not_found,$e);return}const kr=Xe(go[0],Kn=>ft($e+Kn));return Qt&&!kr&&Qt(f.Could_not_resolve_the_path_0_with_the_extensions_Colon_1,$e,"'"+Qo(go).join("', '")+"'"),kr}}function qd($e,ft,Qt,In,Yn){xu($e,kr=>Qn(kr,ft,Qt,Yn,In),(kr,...Kn)=>ar(void 0,Yn,kr,Kn),Yn)}function du($e,ft){return qd($e,!1,!1,void 0,ft)}function Fe($e,ft,Qt){!uT(Qt)&&bt(Ne.getFileReasons().get(ft.path),uT)?ar(ft,Qt,f.Already_included_file_name_0_differs_from_file_name_1_only_in_casing,[ft.fileName,$e]):ar(ft,Qt,f.File_name_0_differs_from_already_included_file_name_1_only_in_casing,[$e,ft.fileName])}function Xt($e,ft,Qt,In,Yn,kr,Kn){var ur;const wi=oT.createRedirectedSourceFile({redirectTarget:$e,unredirected:ft});return wi.fileName=Qt,wi.path=In,wi.resolvedPath=Yn,wi.originalFileName=kr,wi.packageJsonLocations=(ur=Kn.packageJsonLocations)!=null&&ur.length?Kn.packageJsonLocations:void 0,wi.packageJsonScope=Kn.packageJsonScope,Hn.set(In,Vt>0),wi}function Qn($e,ft,Qt,In,Yn){var kr,Kn;(kr=Ar)==null||kr.push(Ar.Phase.Program,"findSourceFile",{fileName:$e,isDefaultLib:ft||void 0,fileIncludeKind:_9[In.kind]});const ur=es($e,ft,Qt,In,Yn);return(Kn=Ar)==null||Kn.pop(),ur}function bo($e,ft,Qt,In){const Yn=w3(Eo($e,Qr),ft==null?void 0:ft.getPackageJsonInfoCache(),Qt,In),kr=Va(In),Kn=Hk(In);return typeof Yn=="object"?{...Yn,languageVersion:kr,setExternalModuleIndicator:Kn,jsDocParsingMode:Qt.jsDocParsingMode}:{languageVersion:kr,impliedNodeFormat:Yn,setExternalModuleIndicator:Kn,jsDocParsingMode:Qt.jsDocParsingMode}}function es($e,ft,Qt,In,Yn){var kr,Kn;const ur=zt($e);if(dt){let Vi=Jl(ur);if(!Vi&>.realpath&&Q.preserveSymlinks&&ad($e)&&$e.includes(Mg)){const ll=zt(gt.realpath($e));ll!==ur&&(Vi=Jl(ll))}if(Vi!=null&&Vi.source){const ll=Qn(Vi.source,ft,Qt,In,Yn);return ll&&ja(ll,ur,$e,void 0),ll}}const wi=$e;if(at.has(ur)){const Vi=at.get(ur),ll=ts(Vi||void 0,In,!0);if(Vi&&ll&&Q.forceConsistentCasingInFileNames!==!1){const lp=Vi.fileName;zt(lp)!==zt($e)&&($e=((kr=sl($e))==null?void 0:kr.outputDts)||$e);const cp=k9(lp,Qr),Qf=k9($e,Qr);cp!==Qf&&Fe($e,Vi,In)}return Vi&&Hn.get(Vi.path)&&Vt===0?(Hn.set(Vi.path,!1),Q.noResolve||(ld(Vi,ft),qp(Vi)),Q.noLib||sp(Vi),mn.set(Vi.path,!1),vh(Vi)):Vi&&mn.get(Vi.path)&&Vt<Ot&&(mn.set(Vi.path,!1),vh(Vi)),Vi||void 0}let No;if(!dt){const Vi=sl($e);if(Vi!=null&&Vi.outputDts){if(Vi.resolvedRef.commandLine.options.outFile)return;$e=Vi.outputDts,No=zt(Vi.outputDts)}}const gi=bo($e,It,gt,Q),Io=gt.getSourceFile($e,gi,Vi=>ar(void 0,In,f.Cannot_read_file_0_Colon_1,[$e,Vi]),Wt);if(Yn){const Vi=O0(Yn),ll=Zo.get(Vi);if(ll){const lp=Xt(ll,Io,$e,ur,zt($e),wi,gi);return Pn.add(ll.path,$e),ja(lp,ur,$e,No),ts(lp,In,!1),Da.set(ur,OF(Yn)),Ae.push(lp),lp}else Io&&(Zo.set(Vi,Io),Da.set(ur,OF(Yn)))}if(ja(Io,ur,$e,No),Io){if(Hn.set(ur,Vt>0),Io.fileName=$e,Io.path=ur,Io.resolvedPath=zt($e),Io.originalFileName=wi,Io.packageJsonLocations=(Kn=gi.packageJsonLocations)!=null&&Kn.length?gi.packageJsonLocations:void 0,Io.packageJsonScope=gi.packageJsonScope,ts(Io,In,!1),gt.useCaseSensitiveFileNames()){const Vi=ob(ur),ll=ce.get(Vi);ll?Fe($e,ll,In):ce.set(Vi,Io)}ir=ir||Io.hasNoDefaultLib&&!Qt,Q.noResolve||(ld(Io,ft),qp(Io)),Q.noLib||sp(Io),vh(Io),ft?ge.push(Io):Ae.push(Io),(be!=null?be:be=new Set).add(Io.path)}return Io}function ts($e,ft,Qt){return $e&&(!Qt||!uT(ft)||!(be!=null&&be.has(ft.file)))?(Ne.getFileReasons().add($e.path,ft),!0):!1}function ja($e,ft,Qt,In){In?(Nc(Qt,In,$e),Nc(Qt,ft,$e||!1)):Nc(Qt,ft,$e)}function Nc($e,ft,Qt){at.set(ft,Qt),Qt!==void 0?Bt.delete(ft):Bt.set(ft,$e)}function sl($e){return We==null?void 0:We.get(zt($e))}function wl($e){return cj(_t,$e)}function Jl($e){return it==null?void 0:it.get($e)}function of($e){return dt&&!!sl($e)}function bd($e){if(ie)return ie.get($e)||void 0}function ld($e,ft){Xe($e.referencedFiles,(Qt,In)=>{qd(SH(Qt.fileName,$e.fileName),ft,!1,void 0,{kind:4,file:$e.path,index:In})})}function qp($e){const ft=$e.typeReferenceDirectives;if(!ft.length)return;const Qt=(Be==null?void 0:Be.get($e.path))||Ft(ft,$e),In=BD();(Ge!=null?Ge:Ge=new Map).set($e.path,In);for(let Yn=0;Yn<ft.length;Yn++){const kr=$e.typeReferenceDirectives[Yn],Kn=Qt[Yn],ur=kr.fileName,wi=Ry(kr,$e);In.set(ur,wi,Kn),Yf(ur,wi,Kn,{kind:5,file:$e.path,index:Yn})}}function Ru($e){var ft;return((ft=fr($e))==null?void 0:ft.commandLine.options)||Q}function Yf($e,ft,Qt,In){var Yn,kr;(Yn=Ar)==null||Yn.push(Ar.Phase.Program,"processTypeReferenceDirective",{directive:$e,hasResolved:!!Qt.resolvedTypeReferenceDirective,refKind:In.kind,refPath:uT(In)?In.file:void 0}),J_($e,ft,Qt,In),(kr=Ar)==null||kr.pop()}function J_($e,ft,Qt,In){yt(Qt);const{resolvedTypeReferenceDirective:Yn}=Qt;Yn?(Yn.isExternalLibraryImport&&Vt++,qd(Yn.resolvedFileName,!1,!1,Yn.packageId,In),Yn.isExternalLibraryImport&&Vt--):ar(void 0,In,f.Cannot_find_type_definition_file_for_0,[$e])}function Lg($e){const ft=le==null?void 0:le.get($e);if(ft)return ft.actual;const Qt=kg($e);return(le!=null?le:le=new Map).set($e,Qt),Qt.actual}function kg($e){var ft,Qt,In,Yn,kr;const Kn=De==null?void 0:De.get($e);if(Kn)return Kn;if(Q.libReplacement===!1){const Io={resolution:{resolvedModule:void 0},actual:ei(_o,$e)};return(De!=null?De:De=new Map).set($e,Io),Io}if(rt!==0&&ue&&!di($e)){const Io=(ft=ue.resolvedLibReferences)==null?void 0:ft.get($e);if(Io){if(Io.resolution&&zb(Q,gt)){const Vi=NH($e),ll=k3(Q,Qr,$e);Co(gt,Io.resolution.resolvedModule?Io.resolution.resolvedModule.packageId?f.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:f.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:f.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved,Vi,Eo(ll,Qr),(Qt=Io.resolution.resolvedModule)==null?void 0:Qt.resolvedFileName,((In=Io.resolution.resolvedModule)==null?void 0:In.packageId)&&O0(Io.resolution.resolvedModule.packageId))}return(De!=null?De:De=new Map).set($e,Io),Io}}const ur=NH($e),wi=k3(Q,Qr,$e);(Yn=Ar)==null||Yn.push(Ar.Phase.Program,"resolveLibrary",{resolveFrom:wi}),Nl("beforeResolveLibrary");const No=Ki(ur,wi,Q,$e);Nl("afterResolveLibrary"),Of("ResolveLibrary","beforeResolveLibrary","afterResolveLibrary"),(kr=Ar)==null||kr.pop();const gi={resolution:No,actual:No.resolvedModule?No.resolvedModule.resolvedFileName:ei(_o,$e)};return(De!=null?De:De=new Map).set($e,gi),gi}function sp($e){Xe($e.libReferenceDirectives,(ft,Qt)=>{const In=lj(ft);In?Ca(Lg(In),!0,!0,{kind:7,file:$e.path,index:Qt}):Ne.addFileProcessingDiagnostic({kind:0,reason:{kind:7,file:$e.path,index:Qt}})})}function Kc($e){return gt.getCanonicalFileName($e)}function vh($e){if(ol($e),$e.imports.length||$e.moduleAugmentations.length){const ft=KAe($e),Qt=(Ve==null?void 0:Ve.get($e.path))||vn(ft,$e);C.assert(Qt.length===ft.length);const In=Ru($e),Yn=BD();(_e!=null?_e:_e=new Map).set($e.path,Yn);for(let kr=0;kr<ft.length;kr++){const Kn=Qt[kr].resolvedModule,ur=ft[kr].text,wi=M3($e,ft[kr],In);if(Yn.set(ur,wi,Qt[kr]),jt($e,ur,Qt[kr],wi),!Kn)continue;const No=Kn.isExternalLibraryImport,gi=!AM(Kn.extension)&&!sl(Kn.resolvedFileName),Io=No&&gi&&(!Kn.originalPath||Gb(Kn.resolvedFileName)),Vi=Kn.resolvedFileName;No&&Vt++;const ll=Io&&Vt>Ot,lp=Vi&&!kH(In,Kn,$e)&&!In.noResolve&&kr<$e.imports.length&&!ll&&!(gi&&!Nb(In))&&(Er($e.imports[kr])||!($e.imports[kr].flags&16777216));ll?mn.set($e.path,!0):lp&&Qn(Vi,!1,!1,{kind:3,file:$e.path,index:kr},Kn.packageId),No&&Vt--}}}function Sf($e,ft){let Qt=!0;const In=gt.getCanonicalFileName(Eo(ft,Qr));for(const Yn of $e)Yn.isDeclarationFile||gt.getCanonicalFileName(Eo(Yn.fileName,Qr)).indexOf(In)!==0&&(Ne.addLazyConfigDiagnostic(Yn,f.File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files,Yn.fileName,ft),Qt=!1);return Qt}function g_($e){ie||(ie=new Map);const ft=dx($e),Qt=zt(ft),In=ie.get(Qt);if(In!==void 0)return In||void 0;let Yn,kr;if(gt.getParsedCommandLine){if(Yn=gt.getParsedCommandLine(ft),!Yn){ja(void 0,Qt,ft,void 0),ie.set(Qt,!1);return}kr=C.checkDefined(Yn.options.configFile),C.assert(!kr.path||kr.path===Qt),ja(kr,Qt,ft,void 0)}else{const ur=Eo(pi(ft),Qr);if(kr=gt.getSourceFile(ft,100),ja(kr,Qt,ft,void 0),kr===void 0){ie.set(Qt,!1);return}Yn=Ww(kr,tn,ur,void 0,ft)}kr.fileName=ft,kr.path=Qt,kr.resolvedPath=Qt,kr.originalFileName=ft;const Kn={commandLine:Yn,sourceFile:kr};if(ie.set(Qt,Kn),Q.configFile!==kr){We!=null||(We=new Map),it!=null||(it=new Map);let ur;Yn.options.outFile&&(ur=dv(Yn.options.outFile,".d.ts"),it==null||it.set(zt(ur),{resolvedRef:Kn}));const wi=Lu(()=>O1(Kn.commandLine,!gt.useCaseSensitiveFileNames()));Yn.fileNames.forEach(No=>{const gi=zt(No);let Io;!ad(No)&&!xl(No,".json")&&(Yn.options.outFile?Io=ur:(Io=gP(No,Kn.commandLine,!gt.useCaseSensitiveFileNames(),wi),it.set(zt(Io),{resolvedRef:Kn,source:No}))),We.set(gi,{resolvedRef:Kn,outputDts:Io})})}return Yn.projectReferences&&(Kn.references=Yn.projectReferences.map(g_)),Kn}function oe(){Q.strictPropertyInitialization&&!Vd(Q,"strictNullChecks")&&Ue(f.Option_0_cannot_be_specified_without_specifying_option_1,"strictPropertyInitialization","strictNullChecks"),Q.exactOptionalPropertyTypes&&!Vd(Q,"strictNullChecks")&&Ue(f.Option_0_cannot_be_specified_without_specifying_option_1,"exactOptionalPropertyTypes","strictNullChecks"),(Q.isolatedModules||Q.verbatimModuleSyntax)&&Q.outFile&&Ue(f.Option_0_cannot_be_specified_with_option_1,"outFile",Q.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules"),Q.isolatedDeclarations&&(Nb(Q)&&Ue(f.Option_0_cannot_be_specified_with_option_1,"allowJs","isolatedDeclarations"),vp(Q)||Ue(f.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"isolatedDeclarations","declaration","composite")),Q.inlineSourceMap&&(Q.sourceMap&&Ue(f.Option_0_cannot_be_specified_with_option_1,"sourceMap","inlineSourceMap"),Q.mapRoot&&Ue(f.Option_0_cannot_be_specified_with_option_1,"mapRoot","inlineSourceMap")),Q.composite&&(Q.declaration===!1&&Ue(f.Composite_projects_may_not_disable_declaration_emit,"declaration"),Q.incremental===!1&&Ue(f.Composite_projects_may_not_disable_incremental_compilation,"declaration"));const $e=Q.outFile;if(!Q.tsBuildInfoFile&&Q.incremental&&!$e&&!Q.configFilePath&&Ne.addConfigDiagnostic(Dl(f.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified)),cn(),ri(),Q.composite){const Kn=new Set(K.map(zt));for(const ur of Re)DS(ur,Zt)&&!Kn.has(ur.path)&&Ne.addLazyConfigDiagnostic(ur,f.File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern,ur.fileName,Q.configFilePath||"")}if(Q.paths){for(const Kn in Q.paths)if(Ms(Q.paths,Kn))if(zV(Kn)||eo(!0,Kn,f.Pattern_0_can_have_at_most_one_Asterisk_character,Kn),Lo(Q.paths[Kn])){const ur=Q.paths[Kn].length;ur===0&&eo(!1,Kn,f.Substitutions_for_pattern_0_shouldn_t_be_an_empty_array,Kn);for(let wi=0;wi<ur;wi++){const No=Q.paths[Kn][wi],gi=typeof No;gi==="string"?(zV(No)||Si(Kn,wi,f.Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character,No,Kn),!Q.baseUrl&&!tf(No)&&!EN(No)&&Si(Kn,wi,f.Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash)):Si(Kn,wi,f.Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2,No,Kn,gi)}}else eo(!1,Kn,f.Substitutions_for_pattern_0_should_be_an_array,Kn)}!Q.sourceMap&&!Q.inlineSourceMap&&(Q.inlineSources&&Ue(f.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"inlineSources"),Q.sourceRoot&&Ue(f.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"sourceRoot")),Q.mapRoot&&!(Q.sourceMap||Q.declarationMap)&&Ue(f.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"mapRoot","sourceMap","declarationMap"),Q.declarationDir&&(vp(Q)||Ue(f.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationDir","declaration","composite"),$e&&Ue(f.Option_0_cannot_be_specified_with_option_1,"declarationDir","outFile")),Q.declarationMap&&!vp(Q)&&Ue(f.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationMap","declaration","composite"),Q.lib&&Q.noLib&&Ue(f.Option_0_cannot_be_specified_with_option_1,"lib","noLib");const ft=Va(Q),Qt=_n(Re,Kn=>Wc(Kn)&&!Kn.isDeclarationFile);if(Q.isolatedModules||Q.verbatimModuleSyntax)Q.module===0&&ft<2&&Q.isolatedModules&&Ue(f.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher,"isolatedModules","target"),Q.preserveConstEnums===!1&&Ue(f.Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled,Q.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules","preserveConstEnums");else if(Qt&&ft<2&&Q.module===0){const Kn=n1(Qt,typeof Qt.externalModuleIndicator=="boolean"?Qt:Qt.externalModuleIndicator);Ne.addConfigDiagnostic(kc(Qt,Kn.start,Kn.length,f.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none))}if($e&&!Q.emitDeclarationOnly){if(Q.module&&!(Q.module===2||Q.module===4))Ue(f.Only_amd_and_system_modules_are_supported_alongside_0,"outFile","module");else if(Q.module===void 0&&Qt){const Kn=n1(Qt,typeof Qt.externalModuleIndicator=="boolean"?Qt:Qt.externalModuleIndicator);Ne.addConfigDiagnostic(kc(Qt,Kn.start,Kn.length,f.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system,"outFile"))}}if(LS(Q)&&(iu(Q)===1?Ue(f.Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic,"resolveJsonModule"):z6(Q)||Ue(f.Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd,"resolveJsonModule","module")),Q.outDir||Q.rootDir||Q.sourceRoot||Q.mapRoot||vp(Q)&&Q.declarationDir){const Kn=Yt();Q.outDir&&Kn===""&&Re.some(ur=>Uh(ur.fileName)>1)&&Ue(f.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}Q.checkJs&&!Nb(Q)&&Ue(f.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs"),Q.emitDeclarationOnly&&(vp(Q)||Ue(f.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite")),Q.emitDecoratorMetadata&&!Q.experimentalDecorators&&Ue(f.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators"),Q.jsxFactory?(Q.reactNamespace&&Ue(f.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),(Q.jsx===4||Q.jsx===5)&&Ue(f.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",Pw.get(""+Q.jsx)),rx(Q.jsxFactory,ft)||wt("jsxFactory",f.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,Q.jsxFactory)):Q.reactNamespace&&!_p(Q.reactNamespace,ft)&&wt("reactNamespace",f.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,Q.reactNamespace),Q.jsxFragmentFactory&&(Q.jsxFactory||Ue(f.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),(Q.jsx===4||Q.jsx===5)&&Ue(f.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",Pw.get(""+Q.jsx)),rx(Q.jsxFragmentFactory,ft)||wt("jsxFragmentFactory",f.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,Q.jsxFragmentFactory)),Q.reactNamespace&&(Q.jsx===4||Q.jsx===5)&&Ue(f.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",Pw.get(""+Q.jsx)),Q.jsxImportSource&&Q.jsx===2&&Ue(f.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",Pw.get(""+Q.jsx));const In=Tu(Q);Q.verbatimModuleSyntax&&(In===2||In===3||In===4)&&Ue(f.Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System,"verbatimModuleSyntax"),Q.allowImportingTsExtensions&&!(Q.noEmit||Q.emitDeclarationOnly||Q.rewriteRelativeImportExtensions)&&wt("allowImportingTsExtensions",f.Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set);const Yn=iu(Q);if(Q.resolvePackageJsonExports&&!mD(Yn)&&Ue(f.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"resolvePackageJsonExports"),Q.resolvePackageJsonImports&&!mD(Yn)&&Ue(f.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"resolvePackageJsonImports"),Q.customConditions&&!mD(Yn)&&Ue(f.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"customConditions"),Yn===100&&!Xk(In)&&In!==200&&wt("moduleResolution",f.Option_0_can_only_be_used_when_module_is_set_to_preserve_or_to_es2015_or_later,"bundler"),MR[In]&&100<=In&&In<=199&&!(3<=Yn&&Yn<=99)){const Kn=MR[In],ur=NR[Kn]?Kn:"Node16";wt("moduleResolution",f.Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1,ur,Kn)}else if(NR[Yn]&&3<=Yn&&Yn<=99&&!(100<=In&&In<=199)){const Kn=NR[Yn];wt("module",f.Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1,Kn,Kn)}if(!Q.noEmit&&!Q.suppressOutputPathCheck){const Kn=kt(),ur=new Set;dH(Kn,wi=>{Q.emitDeclarationOnly||kr(wi.jsFilePath,ur),kr(wi.declarationFilePath,ur)})}function kr(Kn,ur){if(Kn){const wi=zt(Kn);if(at.has(wi)){let gi;Q.configFilePath||(gi=Ko(void 0,f.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)),gi=Ko(gi,f.Cannot_write_file_0_because_it_would_overwrite_input_file,Kn),Pa(Kn,O6(gi))}const No=gt.useCaseSensitiveFileNames()?wi:ob(wi);ur.has(No)?Pa(Kn,Dl(f.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,Kn)):ur.add(No)}}}function pt(){const $e=Q.ignoreDeprecations;if($e){if($e==="5.0")return new ih($e);de()}return ih.zero}function rn($e,ft,Qt,In){const Yn=new ih($e),kr=new ih(ft),Kn=new ih(re||fe),ur=pt(),wi=kr.compareTo(Kn)!==1,No=!wi&&ur.compareTo(Yn)===-1;(wi||No)&&In((gi,Io,Vi)=>{wi?Io===void 0?Qt(gi,Io,Vi,f.Option_0_has_been_removed_Please_remove_it_from_your_configuration,gi):Qt(gi,Io,Vi,f.Option_0_1_has_been_removed_Please_remove_it_from_your_configuration,gi,Io):Io===void 0?Qt(gi,Io,Vi,f.Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error,gi,ft,$e):Qt(gi,Io,Vi,f.Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error,gi,Io,ft,$e)})}function cn(){function $e(ft,Qt,In,Yn,...kr){if(In){const Kn=Ko(void 0,f.Use_0_instead,In),ur=Ko(Kn,Yn,...kr);To(!Qt,ft,void 0,ur)}else To(!Qt,ft,void 0,Yn,...kr)}rn("5.0","5.5",$e,ft=>{Q.target===0&&ft("target","ES3"),Q.noImplicitUseStrict&&ft("noImplicitUseStrict"),Q.keyofStringsOnly&&ft("keyofStringsOnly"),Q.suppressExcessPropertyErrors&&ft("suppressExcessPropertyErrors"),Q.suppressImplicitAnyIndexErrors&&ft("suppressImplicitAnyIndexErrors"),Q.noStrictGenericChecks&&ft("noStrictGenericChecks"),Q.charset&&ft("charset"),Q.out&&ft("out",void 0,"outFile"),Q.importsNotUsedAsValues&&ft("importsNotUsedAsValues",void 0,"verbatimModuleSyntax"),Q.preserveValueImports&&ft("preserveValueImports",void 0,"verbatimModuleSyntax")})}function wn($e,ft,Qt){function In(Yn,kr,Kn,ur,...wi){Nn(ft,Qt,ur,...wi)}rn("5.0","5.5",In,Yn=>{$e.prepend&&Yn("prepend")})}function ar($e,ft,Qt,In){Ne.addFileProcessingDiagnostic({kind:1,file:$e&&$e.path,fileProcessingReason:ft,diagnostic:Qt,args:In})}function ri(){const $e=Q.suppressOutputPathCheck?void 0:dT(Q);wM(he,_t,(ft,Qt,In)=>{const Yn=(Qt?Qt.commandLine.projectReferences:he)[In],kr=Qt&&Qt.sourceFile;if(wn(Yn,kr,In),!ft){Nn(kr,In,f.File_0_not_found,Yn.path);return}const Kn=ft.commandLine.options;(!Kn.composite||Kn.noEmit)&&(Qt?Qt.commandLine.fileNames:K).length&&(Kn.composite||Nn(kr,In,f.Referenced_project_0_must_have_setting_composite_Colon_true,Yn.path),Kn.noEmit&&Nn(kr,In,f.Referenced_project_0_may_not_disable_emit,Yn.path)),!Qt&&$e&&$e===dT(Kn)&&(Nn(kr,In,f.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,$e,Yn.path),Cr.set(zt($e),!0))})}function Si($e,ft,Qt,...In){let Yn=!0;z(kr=>{za(kr.initializer)&&$R(kr.initializer,$e,Kn=>{const ur=Kn.initializer;Dd(ur)&&ur.elements.length>ft&&(Ne.addConfigDiagnostic(Ff(Q.configFile,ur.elements[ft],Qt,...In)),Yn=!1)})}),Yn&&oa(Qt,...In)}function eo($e,ft,Qt,...In){let Yn=!0;z(kr=>{za(kr.initializer)&&bl(kr.initializer,$e,ft,void 0,Qt,...In)&&(Yn=!1)}),Yn&&oa(Qt,...In)}function z($e){return uj(Ao(),"paths",$e)}function Ue($e,ft,Qt,In){To(!0,ft,Qt,$e,ft,Qt,In)}function wt($e,ft,...Qt){To(!1,$e,void 0,ft,...Qt)}function Nn($e,ft,Qt,...In){const Yn=sk($e||Q.configFile,"references",kr=>Dd(kr.initializer)?kr.initializer:void 0);Yn&&Yn.elements.length>ft?Ne.addConfigDiagnostic(Ff($e||Q.configFile,Yn.elements[ft],Qt,...In)):Ne.addConfigDiagnostic(Dl(Qt,...In))}function To($e,ft,Qt,In,...Yn){const kr=Ao();(!kr||!bl(kr,$e,ft,Qt,In,...Yn))&&oa(In,...Yn)}function oa($e,...ft){const Qt=Uo();Qt?"messageText"in $e?Ne.addConfigDiagnostic(vg(Q.configFile,Qt.name,$e)):Ne.addConfigDiagnostic(Ff(Q.configFile,Qt.name,$e,...ft)):"messageText"in $e?Ne.addConfigDiagnostic(O6($e)):Ne.addConfigDiagnostic(Dl($e,...ft))}function Ao(){if(Ur===void 0){const $e=Uo();Ur=$e&&ii($e.initializer,za)||!1}return Ur||void 0}function Uo(){return Qe===void 0&&(Qe=$R(KN(Q.configFile),"compilerOptions",qs)||!1),Qe||void 0}function bl($e,ft,Qt,In,Yn,...kr){let Kn=!1;return $R($e,Qt,ur=>{"messageText"in Yn?Ne.addConfigDiagnostic(vg(Q.configFile,ft?ur.name:ur.initializer,Yn)):Ne.addConfigDiagnostic(Ff(Q.configFile,ft?ur.name:ur.initializer,Yn,...kr)),Kn=!0},In),Kn}function Pa($e,ft){Cr.set(zt($e),!0),Ne.addConfigDiagnostic(ft)}function cd($e){if(Q.noEmit)return!1;const ft=zt($e);if(Ma(ft))return!1;const Qt=Q.outFile;if(Qt)return Jp(ft,Qt)||Jp(ft,Su(Qt)+".d.ts");if(Q.declarationDir&&hm(Q.declarationDir,ft,Qr,!gt.useCaseSensitiveFileNames()))return!0;if(Q.outDir)return hm(Q.outDir,ft,Qr,!gt.useCaseSensitiveFileNames());if(Ql(ft,hD)||ad(ft)){const In=Su(ft);return!!Ma(In+".ts")||!!Ma(In+".tsx")}return!1}function Jp($e,ft){return iy($e,ft,Qr,!gt.useCaseSensitiveFileNames())===0}function Ef(){return gt.getSymlinkCache?gt.getSymlinkCache():($||($=BV(Qr,Kc)),Re&&!$.hasProcessedResolutions()&&$.setSymlinksFromResolutions(B,xe,lt),$)}function $f($e,ft){return M3($e,ft,Ru($e))}function xy($e,ft){return jAe($e,ft,Ru($e))}function Iv($e,ft){return $f($e,sO($e,ft))}function ju($e){return O3($e,Ru($e))}function bh($e){return W1($e,Ru($e))}function Cm($e){return SP($e,Ru($e))}function Af($e){return JAe($e,Ru($e))}function Ry($e,ft){return $e.resolutionMode||ju(ft)}}function JAe(e,t){const r=Tu(t);return 100<=r&&r<=199||r===200?!1:SP(e,t)<5}function SP(e,t){var r;return(r=W1(e,t))!=null?r:Tu(t)}function W1(e,t){var r,i;const o=Tu(t);if(100<=o&&o<=199)return e.impliedNodeFormat;if(e.impliedNodeFormat===1&&(((r=e.packageJsonScope)==null?void 0:r.contents.packageJsonContent.type)==="commonjs"||Ql(e.fileName,[".cjs",".cts"])))return 1;if(e.impliedNodeFormat===99&&(((i=e.packageJsonScope)==null?void 0:i.contents.packageJsonContent.type)==="module"||Ql(e.fileName,[".mjs",".mts"])))return 99}function O3(e,t){return WV(t)?W1(e,t):void 0}function rJe(e){let t;const r=e.compilerHost.fileExists,i=e.compilerHost.directoryExists,o=e.compilerHost.getDirectories,s=e.compilerHost.realpath;if(!e.useSourceOfProjectReferenceRedirect)return{onProgramCreateComplete:vs,fileExists:d};e.compilerHost.fileExists=d;let l;return i&&(l=e.compilerHost.directoryExists=A=>i.call(e.compilerHost,A)?(y(A),!0):e.getResolvedProjectReferences()?(t||(t=new Set,e.forEachResolvedProjectReference(R=>{const N=R.commandLine.options.outFile;if(N)t.add(pi(e.toPath(N)));else{const M=R.commandLine.options.declarationDir||R.commandLine.options.outDir;M&&t.add(e.toPath(M))}})),E(A,!1)):!1),o&&(e.compilerHost.getDirectories=A=>!e.getResolvedProjectReferences()||i&&i.call(e.compilerHost,A)?o.call(e.compilerHost,A):[]),s&&(e.compilerHost.realpath=A=>{var R;return((R=e.getSymlinkCache().getSymlinkedFiles())==null?void 0:R.get(e.toPath(A)))||s.call(e.compilerHost,A)}),{onProgramCreateComplete:u,fileExists:d,directoryExists:l};function u(){e.compilerHost.fileExists=r,e.compilerHost.directoryExists=i,e.compilerHost.getDirectories=o}function d(A){return r.call(e.compilerHost,A)?!0:!e.getResolvedProjectReferences()||!ad(A)?!1:E(A,!0)}function _(A){const R=e.getRedirectFromOutput(e.toPath(A));return R!==void 0?jo(R.source)?r.call(e.compilerHost,R.source):!0:void 0}function m(A){const R=e.toPath(A),N="".concat(R).concat($s);return gg(t,M=>R===M||fo(M,N)||fo(R,"".concat(M,"/")))}function y(A){var R;if(!e.getResolvedProjectReferences()||NM(A)||!s||!A.includes(Mg))return;const N=e.getSymlinkCache(),M=jc(e.toPath(A));if((R=N.getSymlinkedDirectories())!=null&&R.has(M))return;const k=Sa(s.call(e.compilerHost,A));let F;if(k===A||(F=jc(e.toPath(k)))===M){N.setSymlinkedDirectory(M,!1);return}N.setSymlinkedDirectory(A,{real:jc(k),realPath:F})}function E(A,R){var N;const M=R?_:m,k=M(A);if(k!==void 0)return k;const F=e.getSymlinkCache(),O=F.getSymlinkedDirectories();if(!O)return!1;const G=e.toPath(A);return G.includes(Mg)?R&&((N=F.getSymlinkedFiles())!=null&&N.has(G))?!0:qn(O.entries(),([j,K])=>{if(!K||!fo(G,j))return;const Q=M(G.replace(j,K.realPath));if(R&&Q){const J=Eo(A,e.compilerHost.getCurrentDirectory());F.setSymlinkedFile(G,"".concat(K.real).concat(J.replace(new RegExp(j,"i"),"")))}return Q})||!1:!1}}var PH={diagnostics:se,sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0};function LH(e,t,r,i){const o=e.getCompilerOptions();if(o.noEmit)return t?PH:e.emitBuildInfo(r,i);if(!o.noEmitOnError)return;let s=[...e.getOptionsDiagnostics(i),...e.getSyntacticDiagnostics(t,i),...e.getGlobalDiagnostics(i),...e.getSemanticDiagnostics(t,i)];if(s.length===0&&vp(e.getCompilerOptions())&&(s=e.getDeclarationDiagnostics(void 0,i)),!s.length)return;let l;if(!t){const u=e.emitBuildInfo(r,i);u.diagnostics&&(s=[...s,...u.diagnostics]),l=u.emittedFiles}return{diagnostics:s,sourceMaps:void 0,emittedFiles:l,emitSkipped:!0}}function W3(e,t){return Fn(e,r=>!r.skippedOn||!t[r.skippedOn])}function F3(e,t=e){return{fileExists:r=>t.fileExists(r),readDirectory(r,i,o,s,l){return C.assertIsDefined(t.readDirectory,"'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'"),t.readDirectory(r,i,o,s,l)},readFile:r=>t.readFile(r),directoryExists:la(t,t.directoryExists),getDirectories:la(t,t.getDirectories),realpath:la(t,t.realpath),useCaseSensitiveFileNames:e.useCaseSensitiveFileNames(),getCurrentDirectory:()=>e.getCurrentDirectory(),onUnRecoverableConfigFileDiagnostic:e.onUnRecoverableConfigFileDiagnostic||uS,trace:e.trace?r=>e.trace(r):void 0}}function dx(e){return cq(e.path)}function kH(e,{extension:t},{isDeclarationFile:r}){switch(t){case".ts":case".d.ts":case".mts":case".d.mts":case".cts":case".d.cts":return;case".tsx":return i();case".jsx":return i()||o();case".js":case".mjs":case".cjs":return o();case".json":return s();default:return l()}function i(){return e.jsx?void 0:f.Module_0_was_resolved_to_1_but_jsx_is_not_set}function o(){return Nb(e)||!Vd(e,"noImplicitAny")?void 0:f.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type}function s(){return LS(e)?void 0:f.Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used}function l(){return r||e.allowArbitraryExtensions?void 0:f.Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set}}function KAe({imports:e,moduleAugmentations:t}){const r=e.map(i=>i);for(const i of t)i.kind===11&&r.push(i);return r}function sO({imports:e,moduleAugmentations:t},r){if(r<e.length)return e[r];let i=e.length;for(const o of t)if(o.kind===11){if(r===i)return o;i++}C.fail("should never ask for module name at index higher than possible module name")}function Nse(e){let t,r=fm(),i,o,s,l,u,d;return{addConfigDiagnostic(A){C.assert(t===void 0,"Cannot modify program diagnostic state after requesting combined diagnostics"),(s!=null?s:s=dM()).add(A)},addLazyConfigDiagnostic(A,R,...N){C.assert(t===void 0,"Cannot modify program diagnostic state after requesting combined diagnostics"),(l!=null?l:l=[]).push({file:A,diagnostic:R,args:N})},addFileProcessingDiagnostic(A){C.assert(t===void 0,"Cannot modify program diagnostic state after requesting combined diagnostics"),(i!=null?i:i=[]).push(A)},setCommonSourceDirectory(A){o=A},reuseStateFromOldProgram(A,R){r=A.getFileReasons(),i=A.getFileProcessingDiagnostics(),R&&(o=A.getCommonSourceDirectory(),s=A.getConfigDiagnostics(),l=A.getLazyConfigDiagnostics())},getFileProcessingDiagnostics(){return i},getFileReasons(){return r},getCommonSourceDirectory(){return o},getConfigDiagnostics(){return s},getLazyConfigDiagnostics(){return l},getCombinedDiagnostics(A){return t||(t=dM(),s==null||s.getDiagnostics().forEach(R=>t.add(R)),i==null||i.forEach(R=>{switch(R.kind){case 1:return t.add(m(A,R.file&&A.getSourceFileByPath(R.file),R.fileProcessingReason,R.diagnostic,R.args||se));case 0:return t.add(_(A,R));case 2:return R.diagnostics.forEach(N=>t.add(N));default:C.assertNever(R)}}),l==null||l.forEach(({file:R,diagnostic:N,args:M})=>t.add(m(A,R,void 0,N,M))),u=void 0,d=void 0,t)}};function _(A,{reason:R}){const{file:N,pos:M,end:k}=TP(A,R),F=N.libReferenceDirectives[R.index],O=sj(F),G=CR(_N(O,"lib."),".d.ts"),j=fS(G,G4,qs);return kc(N,C.checkDefined(M),C.checkDefined(k)-M,j?f.Cannot_find_lib_definition_for_0_Did_you_mean_1:f.Cannot_find_lib_definition_for_0,O,j)}function m(A,R,N,M,k){let F,O,G,j,K,Q;const J=R&&r.get(R.path);let he=uT(N)?N:void 0,re=R&&(u==null?void 0:u.get(R.path));re?(re.fileIncludeReasonDetails?(F=new Set(J),J==null||J.forEach(ge)):J==null||J.forEach(de),K=re.redirectInfo):(J==null||J.forEach(de),K=R&&$H(R,A.getCompilerOptionsForFile(R))),N&&de(N);const q=(F==null?void 0:F.size)!==(J==null?void 0:J.length);he&&(F==null?void 0:F.size)===1&&(F=void 0),F&&re&&(re.details&&!q?Q=Ko(re.details,M,...k!=null?k:se):re.fileIncludeReasonDetails&&(q?Ae()?O=jn(re.fileIncludeReasonDetails.next.slice(0,J.length),O[0]):O=[...re.fileIncludeReasonDetails.next,O[0]]:Ae()?O=re.fileIncludeReasonDetails.next.slice(0,J.length):j=re.fileIncludeReasonDetails)),Q||(j||(j=F&&Ko(O,f.The_file_is_in_the_program_because_Colon)),Q=Ko(K?j?[j,...K]:K:j,M,...k||se)),R&&(re?(!re.fileIncludeReasonDetails||!q&&j)&&(re.fileIncludeReasonDetails=j):(u!=null?u:u=new Map).set(R.path,re={fileIncludeReasonDetails:j,redirectInfo:K}),!re.details&&!q&&(re.details=Q.next));const ue=he&&TP(A,he);return ue&&KD(ue)?jF(ue.file,ue.pos,ue.end-ue.pos,Q,G):O6(Q,G);function de(Re){F!=null&&F.has(Re)||((F!=null?F:F=new Set).add(Re),(O!=null?O:O=[]).push(eq(A,Re)),ge(Re))}function ge(Re){!he&&uT(Re)?he=Re:he!==Re&&(G=jn(G,y(A,Re)))}function Ae(){var Re;return((Re=re.fileIncludeReasonDetails.next)==null?void 0:Re.length)!==(J==null?void 0:J.length)}}function y(A,R){var M;let N=d==null?void 0:d.get(R);return N===void 0&&(d!=null?d:d=new Map).set(R,N=(M=E(A,R))!=null?M:!1),N||void 0}function E(A,R){if(uT(R)){const G=TP(A,R);let j;switch(R.kind){case 3:j=f.File_is_included_via_import_here;break;case 4:j=f.File_is_included_via_reference_here;break;case 5:j=f.File_is_included_via_type_library_reference_here;break;case 7:j=f.File_is_included_via_library_reference_here;break;default:C.assertNever(R)}return KD(G)?kc(G.file,G.pos,G.end-G.pos,j):void 0}const N=A.getCurrentDirectory(),M=A.getRootFileNames(),k=A.getCompilerOptions();if(!k.configFile)return;let F,O;switch(R.kind){case 0:if(!k.configFile.configFileSpecs)return;const G=Eo(M[R.index],N),j=QH(A,G);if(j){F=XF(k.configFile,"files",j),O=f.File_is_matched_by_files_list_specified_here;break}const K=ZH(A,G);if(!K||!jo(K))return;F=XF(k.configFile,"include",K),O=f.File_is_matched_by_include_pattern_specified_here;break;case 1:case 2:const Q=A.getResolvedProjectReferences(),J=A.getProjectReferences(),he=C.checkDefined(Q==null?void 0:Q[R.index]),re=wM(J,Q,(Ae,Re,$)=>Ae===he?{sourceFile:(Re==null?void 0:Re.sourceFile)||k.configFile,index:$}:void 0);if(!re)return;const{sourceFile:q,index:ue}=re,de=sk(q,"references",Ae=>Dd(Ae.initializer)?Ae.initializer:void 0);return de&&de.elements.length>ue?Ff(q,de.elements[ue],R.kind===2?f.File_is_output_from_referenced_project_specified_here:f.File_is_source_from_referenced_project_specified_here):void 0;case 8:if(!k.types)return;F=dj(e(),"types",R.typeReference),O=f.File_is_entry_point_of_type_library_specified_here;break;case 6:if(R.index!==void 0){F=dj(e(),"lib",k.lib[R.index]),O=f.File_is_library_specified_here;break}const ge=B6(Va(k));F=ge?iie(e(),"target",ge):void 0,O=f.File_is_default_library_for_target_specified_here;break;default:C.assertNever(R)}return F&&Ff(k.configFile,F,O)}}function Mse(e,t,r,i,o,s){const l=[],{emitSkipped:u,diagnostics:d}=e.emit(t,_,i,r,o,s);return{outputFiles:l,emitSkipped:u,diagnostics:d};function _(m,y,E){l.push({name:m,writeByteOrderMark:E,text:y})}}var Pse=(e=>(e[e.ComputedDts=0]="ComputedDts",e[e.StoredSignatureAtEmit=1]="StoredSignatureAtEmit",e[e.UsedVersion=2]="UsedVersion",e))(Pse||{}),_h;(e=>{function t(){function re(q,ue,de){const ge={getKeys:Ae=>ue.get(Ae),getValues:Ae=>q.get(Ae),keys:()=>q.keys(),size:()=>q.size,deleteKey:Ae=>{(de||(de=new Set)).add(Ae);const Re=q.get(Ae);return Re?(Re.forEach($=>i(ue,$,Ae)),q.delete(Ae),!0):!1},set:(Ae,Re)=>{de==null||de.delete(Ae);const $=q.get(Ae);return q.set(Ae,Re),$==null||$.forEach(ve=>{Re.has(ve)||i(ue,ve,Ae)}),Re.forEach(ve=>{$!=null&&$.has(ve)||r(ue,ve,Ae)}),ge}};return ge}return re(new Map,new Map,void 0)}e.createManyToManyPathMap=t;function r(re,q,ue){let de=re.get(q);de||(de=new Set,re.set(q,de)),de.add(ue)}function i(re,q,ue){const de=re.get(q);return de!=null&&de.delete(ue)?(de.size||re.delete(q),!0):!1}function o(re){return Hi(re.declarations,q=>{var ue;return(ue=On(q))==null?void 0:ue.resolvedPath})}function s(re,q){const ue=re.getSymbolAtLocation(q);return ue&&o(ue)}function l(re,q,ue,de){var ge;return Ws(((ge=re.getRedirectFromSourceFile(q))==null?void 0:ge.outputDts)||q,ue,de)}function u(re,q,ue){let de;if(q.imports&&q.imports.length>0){const $=re.getTypeChecker();for(const ve of q.imports){const je=s($,ve);je==null||je.forEach(Re)}}const ge=pi(q.resolvedPath);if(q.referencedFiles&&q.referencedFiles.length>0)for(const $ of q.referencedFiles){const ve=l(re,$.fileName,ge,ue);Re(ve)}if(re.forEachResolvedTypeReferenceDirective(({resolvedTypeReferenceDirective:$})=>{if(!$)return;const ve=$.resolvedFileName,je=l(re,ve,ge,ue);Re(je)},q),q.moduleAugmentations.length){const $=re.getTypeChecker();for(const ve of q.moduleAugmentations){if(!Oa(ve))continue;const je=$.getSymbolAtLocation(ve);je&&Ae(je)}}for(const $ of re.getTypeChecker().getAmbientModules())$.declarations&&$.declarations.length>1&&Ae($);return de;function Ae($){if($.declarations)for(const ve of $.declarations){const je=On(ve);je&&je!==q&&Re(je.resolvedPath)}}function Re($){(de||(de=new Set)).add($)}}function d(re,q){return q&&!q.referencedMap==!re}e.canReuseOldState=d;function _(re){return re.module!==0&&!re.outFile?t():void 0}e.createReferencedMap=_;function m(re,q,ue){var de,ge;const Ae=new Map,Re=re.getCompilerOptions(),$=_(Re),ve=d($,q);re.getTypeChecker();for(const je of re.getSourceFiles()){const be=C.checkDefined(je.version,"Program intended to be used with Builder should have source files with versions set"),ee=ve?(de=q.oldSignatures)==null?void 0:de.get(je.resolvedPath):void 0,Se=ee===void 0?ve?(ge=q.fileInfos.get(je.resolvedPath))==null?void 0:ge.signature:void 0:ee||void 0;if($){const Ne=u(re,je,re.getCanonicalFileName);Ne&&$.set(je.resolvedPath,Ne)}Ae.set(je.resolvedPath,{version:be,signature:Se,affectsGlobalScope:Re.outFile?void 0:K(je)||void 0,impliedFormat:je.impliedNodeFormat})}return{fileInfos:Ae,referencedMap:$,useFileVersionAsSignature:!ue&&!ve}}e.create=m;function y(re){re.allFilesExcludingDefaultLibraryFile=void 0,re.allFileNames=void 0}e.releaseCache=y;function E(re,q,ue,de,ge){var Ae;const Re=A(re,q,ue,de,ge);return(Ae=re.oldSignatures)==null||Ae.clear(),Re}e.getFilesAffectedBy=E;function A(re,q,ue,de,ge){const Ae=q.getSourceFileByPath(ue);return Ae?M(re,q,Ae,de,ge)?(re.referencedMap?he:J)(re,q,Ae,de,ge):[Ae]:se}e.getFilesAffectedByWithOldState=A;function R(re,q,ue){re.fileInfos.get(ue).signature=q,(re.hasCalledUpdateShapeSignature||(re.hasCalledUpdateShapeSignature=new Set)).add(ue)}e.updateSignatureOfFile=R;function N(re,q,ue,de,ge){re.emit(q,(Ae,Re,$,ve,je,be)=>{C.assert(ad(Ae),"File extension for signature expected to be dts: Got:: ".concat(Ae)),ge(WH(re,q,Re,de,be),je)},ue,2,void 0,!0)}e.computeDtsSignature=N;function M(re,q,ue,de,ge,Ae=re.useFileVersionAsSignature){var be;var Re;if((Re=re.hasCalledUpdateShapeSignature)!=null&&Re.has(ue.resolvedPath))return!1;const $=re.fileInfos.get(ue.resolvedPath),ve=$.signature;let je;return!ue.isDeclarationFile&&!Ae&&N(q,ue,de,ge,ee=>{var Se;je=ee,ge.storeSignatureInfo&&((Se=re.signatureInfo)!=null?Se:re.signatureInfo=new Map).set(ue.resolvedPath,0)}),je===void 0&&(je=ue.version,ge.storeSignatureInfo&&((be=re.signatureInfo)!=null?be:re.signatureInfo=new Map).set(ue.resolvedPath,2)),(re.oldSignatures||(re.oldSignatures=new Map)).set(ue.resolvedPath,ve||!1),(re.hasCalledUpdateShapeSignature||(re.hasCalledUpdateShapeSignature=new Set)).add(ue.resolvedPath),$.signature=je,je!==ve}e.updateShapeSignature=M;function k(re,q,ue){if(q.getCompilerOptions().outFile||!re.referencedMap||K(ue))return F(re,q);const ge=new Set,Ae=[ue.resolvedPath];for(;Ae.length;){const Re=Ae.pop();if(!ge.has(Re)){ge.add(Re);const $=re.referencedMap.getValues(Re);if($)for(const ve of $.keys())Ae.push(ve)}}return Mo(pm(ge.keys(),Re=>{var ve;var $;return(ve=($=q.getSourceFileByPath(Re))==null?void 0:$.fileName)!=null?ve:Re}))}e.getAllDependencies=k;function F(re,q){if(!re.allFileNames){const ue=q.getSourceFiles();re.allFileNames=ue===se?se:ue.map(de=>de.fileName)}return re.allFileNames}function O(re,q){const ue=re.referencedMap.getKeys(q);return ue?Mo(ue.keys()):[]}e.getReferencedByPaths=O;function G(re){for(const q of re.statements)if(!BF(q))return!1;return!0}function j(re){return bt(re.moduleAugmentations,q=>W_(q.parent))}function K(re){return j(re)||!wp(re)&&!zf(re)&&!G(re)}function Q(re,q,ue){if(re.allFilesExcludingDefaultLibraryFile)return re.allFilesExcludingDefaultLibraryFile;let de;ue&&ge(ue);for(const Ae of q.getSourceFiles())Ae!==ue&&ge(Ae);return re.allFilesExcludingDefaultLibraryFile=de||se,re.allFilesExcludingDefaultLibraryFile;function ge(Ae){q.isSourceFileDefaultLibrary(Ae)||(de||(de=[])).push(Ae)}}e.getAllFilesExcludingDefaultLibraryFile=Q;function J(re,q,ue){const de=q.getCompilerOptions();return de&&de.outFile?[ue]:Q(re,q,ue)}function he(re,q,ue,de,ge){if(K(ue))return Q(re,q,ue);const Ae=q.getCompilerOptions();if(Ae&&(Sm(Ae)||Ae.outFile))return[ue];const Re=new Map;Re.set(ue.resolvedPath,ue);const $=O(re,ue.resolvedPath);for(;$.length>0;){const ve=$.pop();if(!Re.has(ve)){const je=q.getSourceFileByPath(ve);Re.set(ve,je),je&&M(re,q,je,de,ge)&&$.push(...O(re,je.resolvedPath))}}return Mo(pm(Re.values(),ve=>ve))}})(_h||(_h={}));var Lse=(e=>(e[e.None=0]="None",e[e.Js=1]="Js",e[e.JsMap=2]="JsMap",e[e.JsInlineMap=4]="JsInlineMap",e[e.DtsErrors=8]="DtsErrors",e[e.DtsEmit=16]="DtsEmit",e[e.DtsMap=32]="DtsMap",e[e.Dts=24]="Dts",e[e.AllJs=7]="AllJs",e[e.AllDtsEmit=48]="AllDtsEmit",e[e.AllDts=56]="AllDts",e[e.All=63]="All",e))(Lse||{});function XD(e){return e.program!==void 0}function iJe(e){return C.assert(XD(e)),e}function Ub(e){let t=1;return e.sourceMap&&(t=t|2),e.inlineSourceMap&&(t=t|4),vp(e)&&(t=t|24),e.declarationMap&&(t=t|32),e.emitDeclarationOnly&&(t=t&56),t}function z3(e,t){const r=t&&(ib(t)?t:Ub(t)),i=ib(e)?e:Ub(e);if(r===i)return 0;if(!r||!i)return i;const o=r^i;let s=0;return o&7&&(s=i&7),o&8&&(s=s|i&8),o&48&&(s=s|i&48),s}function oJe(e,t){return e===t||e!==void 0&&t!==void 0&&e.size===t.size&&!gg(e,r=>!t.has(r))}function aJe(e,t){var r,i;const o=_h.create(e,t,!1);o.program=e;const s=e.getCompilerOptions();o.compilerOptions=s;const l=s.outFile;o.semanticDiagnosticsPerFile=new Map,l&&s.composite&&(t!=null&&t.outSignature)&&l===t.compilerOptions.outFile&&(o.outSignature=t.outSignature&&XAe(s,t.compilerOptions,t.outSignature)),o.changedFilesSet=new Set,o.latestChangedDtsFile=s.composite?t==null?void 0:t.latestChangedDtsFile:void 0,o.checkPending=o.compilerOptions.noCheck?!0:void 0;const u=_h.canReuseOldState(o.referencedMap,t),d=u?t.compilerOptions:void 0;let _=u&&!Ire(s,d);const m=s.composite&&(t==null?void 0:t.emitSignatures)&&!l&&!Rre(s,t.compilerOptions);let y=!0;u?((r=t.changedFilesSet)==null||r.forEach(k=>o.changedFilesSet.add(k)),!l&&((i=t.affectedFilesPendingEmit)!=null&&i.size)&&(o.affectedFilesPendingEmit=new Map(t.affectedFilesPendingEmit),o.seenAffectedFiles=new Set),o.programEmitPending=t.programEmitPending,l&&o.changedFilesSet.size&&(_=!1,y=!1),o.hasErrorsFromOldState=t.hasErrors):o.buildInfoEmitPending=kS(s);const E=o.referencedMap,A=u?t.referencedMap:void 0,R=_&&!s.skipLibCheck==!d.skipLibCheck,N=R&&!s.skipDefaultLibCheck==!d.skipDefaultLibCheck;if(o.fileInfos.forEach((k,F)=>{var K,Q,J;var O;let G,j;if(!u||!(G=t.fileInfos.get(F))||G.version!==k.version||G.impliedFormat!==k.impliedFormat||!oJe(j=E&&E.getValues(F),A&&A.getValues(F))||j&&gg(j,he=>!o.fileInfos.has(he)&&t.fileInfos.has(he)))M(F);else{const he=e.getSourceFileByPath(F),re=y?(O=t.emitDiagnosticsPerFile)==null?void 0:O.get(F):void 0;if(re&&((K=o.emitDiagnosticsPerFile)!=null?K:o.emitDiagnosticsPerFile=new Map).set(F,t.hasReusableDiagnostic?$Ae(re,F,e):YAe(re,e)),_){if(he.isDeclarationFile&&!R||he.hasNoDefaultLib&&!N)return;const q=t.semanticDiagnosticsPerFile.get(F);q&&(o.semanticDiagnosticsPerFile.set(F,t.hasReusableDiagnostic?$Ae(q,F,e):YAe(q,e)),((Q=o.semanticDiagnosticsFromOldState)!=null?Q:o.semanticDiagnosticsFromOldState=new Set).add(F))}}if(m){const he=t.emitSignatures.get(F);he&&((J=o.emitSignatures)!=null?J:o.emitSignatures=new Map).set(F,XAe(s,t.compilerOptions,he))}}),u&&Uc(t.fileInfos,(k,F)=>o.fileInfos.has(F)?!1:k.affectsGlobalScope?!0:(o.buildInfoEmitPending=!0,!!l)))_h.getAllFilesExcludingDefaultLibraryFile(o,e,void 0).forEach(k=>M(k.resolvedPath));else if(d){const k=xre(s,d)?Ub(s):z3(s,d);k!==0&&(l?o.changedFilesSet.size||(o.programEmitPending=o.programEmitPending?o.programEmitPending|k:k):(e.getSourceFiles().forEach(F=>{o.changedFilesSet.has(F.resolvedPath)||zH(o,F.resolvedPath,k)}),C.assert(!o.seenAffectedFiles||!o.seenAffectedFiles.size),o.seenAffectedFiles=o.seenAffectedFiles||new Set),o.buildInfoEmitPending=!0)}return u&&o.semanticDiagnosticsPerFile.size!==o.fileInfos.size&&t.checkPending!==o.checkPending&&(o.buildInfoEmitPending=!0),o;function M(k){o.changedFilesSet.add(k),l&&(_=!1,y=!1,o.semanticDiagnosticsFromOldState=void 0,o.semanticDiagnosticsPerFile.clear(),o.emitDiagnosticsPerFile=void 0),o.buildInfoEmitPending=!0,o.programEmitPending=void 0}}function XAe(e,t,r){return!!e.declarationMap==!!t.declarationMap?r:jo(r)?[r]:r[0]}function YAe(e,t){return e.length?Ui(e,r=>{if(jo(r.messageText))return r;const i=kse(r.messageText,r.file,t,o=>{var s;return(s=o.repopulateInfo)==null?void 0:s.call(o)});return i===r.messageText?r:{...r,messageText:i}}):e}function kse(e,t,r,i){const o=i(e);if(o===!0)return{..._G(t),next:wse(e.next,t,r,i)};if(o)return{...wF(t,r,o.moduleReference,o.mode,o.packageName||o.moduleReference),next:wse(e.next,t,r,i)};const s=wse(e.next,t,r,i);return s===e.next?e:{...e,next:s}}function wse(e,t,r,i){return Ui(e,o=>kse(o,t,r,i))}function $Ae(e,t,r){if(!e.length)return se;let i;return e.map(s=>{const l=QAe(s,t,r,o);l.reportsUnnecessary=s.reportsUnnecessary,l.reportsDeprecated=s.reportDeprecated,l.source=s.source,l.skippedOn=s.skippedOn;const{relatedInformation:u}=s;return l.relatedInformation=u?u.length?u.map(d=>QAe(d,t,r,o)):[]:void 0,l});function o(s){return i!=null||(i=pi(Eo(dT(r.getCompilerOptions()),r.getCurrentDirectory()))),Ws(s,i,r.getCanonicalFileName)}}function QAe(e,t,r,i){const{file:o}=e,s=o!==!1?r.getSourceFileByPath(o?i(o):t):void 0;return{...e,file:s,messageText:jo(e.messageText)?e.messageText:kse(e.messageText,s,r,l=>l.info)}}function sJe(e){_h.releaseCache(e),e.program=void 0}function Ose(e,t){C.assert(!t||!e.affectedFiles||e.affectedFiles[e.affectedFilesIndex-1]!==t||!e.semanticDiagnosticsPerFile.has(t.resolvedPath))}function ZAe(e,t,r){for(var i;;){const{affectedFiles:o}=e;if(o){const u=e.seenAffectedFiles;let d=e.affectedFilesIndex;for(;d<o.length;){const _=o[d];if(!u.has(_.resolvedPath))return e.affectedFilesIndex=d,zH(e,_.resolvedPath,Ub(e.compilerOptions)),dJe(e,_,t,r),_;d++}e.changedFilesSet.delete(e.currentChangedFilePath),e.currentChangedFilePath=void 0,(i=e.oldSignatures)==null||i.clear(),e.affectedFiles=void 0}const s=e.changedFilesSet.keys().next();if(s.done)return;if(e.program.getCompilerOptions().outFile)return e.program;e.affectedFiles=_h.getFilesAffectedByWithOldState(e,e.program,s.value,t,r),e.currentChangedFilePath=s.value,e.affectedFilesIndex=0,e.seenAffectedFiles||(e.seenAffectedFiles=new Set)}}function eIe(e,t,r){var i,o;if(!(!((i=e.affectedFilesPendingEmit)!=null&&i.size)&&!e.programEmitPending)&&(!t&&!r&&(e.affectedFilesPendingEmit=void 0,e.programEmitPending=void 0),(o=e.affectedFilesPendingEmit)==null||o.forEach((s,l)=>{const u=r?s&55:s&7;u?e.affectedFilesPendingEmit.set(l,u):e.affectedFilesPendingEmit.delete(l)}),e.programEmitPending)){const s=r?e.programEmitPending&55:e.programEmitPending&7;s?e.programEmitPending=s:e.programEmitPending=void 0}}function B3(e,t,r,i){let o=z3(e,t);return r&&(o=o&56),i&&(o=o&8),o}function wH(e){return e?8:56}function lJe(e,t,r){var i;if((i=e.affectedFilesPendingEmit)!=null&&i.size)return Uc(e.affectedFilesPendingEmit,(o,s)=>{var l;const u=e.program.getSourceFileByPath(s);if(!u||!DS(u,e.program)){e.affectedFilesPendingEmit.delete(s);return}const d=(l=e.seenEmittedFiles)==null?void 0:l.get(u.resolvedPath),_=B3(o,d,t,r);if(_)return{affectedFile:u,emitKind:_}})}function cJe(e,t){var r;if((r=e.emitDiagnosticsPerFile)!=null&&r.size)return Uc(e.emitDiagnosticsPerFile,(i,o)=>{var s;const l=e.program.getSourceFileByPath(o);if(!l||!DS(l,e.program)){e.emitDiagnosticsPerFile.delete(o);return}const u=((s=e.seenEmittedFiles)==null?void 0:s.get(l.resolvedPath))||0;if(!(u&wH(t)))return{affectedFile:l,diagnostics:i,seenKind:u}})}function tIe(e){if(!e.cleanedDiagnosticsOfLibFiles){e.cleanedDiagnosticsOfLibFiles=!0;const t=e.program.getCompilerOptions();Xe(e.program.getSourceFiles(),r=>e.program.isSourceFileDefaultLibrary(r)&&!Bre(r,t,e.program)&&Fse(e,r.resolvedPath))}}function dJe(e,t,r,i){if(Fse(e,t.resolvedPath),e.allFilesExcludingDefaultLibraryFile===e.affectedFiles){tIe(e),_h.updateShapeSignature(e,e.program,t,r,i);return}e.compilerOptions.assumeChangesOnlyAffectDirectDependencies||uJe(e,t,r,i)}function Wse(e,t,r,i,o){if(Fse(e,t),!e.changedFilesSet.has(t)){const s=e.program.getSourceFileByPath(t);s&&(_h.updateShapeSignature(e,e.program,s,i,o,!0),r?zH(e,t,Ub(e.compilerOptions)):vp(e.compilerOptions)&&zH(e,t,e.compilerOptions.declarationMap?56:24))}}function Fse(e,t){return e.semanticDiagnosticsFromOldState?(e.semanticDiagnosticsFromOldState.delete(t),e.semanticDiagnosticsPerFile.delete(t),!e.semanticDiagnosticsFromOldState.size):!0}function nIe(e,t){const r=C.checkDefined(e.oldSignatures).get(t)||void 0;return C.checkDefined(e.fileInfos.get(t)).signature!==r}function zse(e,t,r,i,o){var s;return(s=e.fileInfos.get(t))!=null&&s.affectsGlobalScope?(_h.getAllFilesExcludingDefaultLibraryFile(e,e.program,void 0).forEach(l=>Wse(e,l.resolvedPath,r,i,o)),tIe(e),!0):!1}function uJe(e,t,r,i){var o,s;if(!e.referencedMap||!e.changedFilesSet.has(t.resolvedPath)||!nIe(e,t.resolvedPath))return;if(Sm(e.compilerOptions)){const d=new Map;d.set(t.resolvedPath,!0);const _=_h.getReferencedByPaths(e,t.resolvedPath);for(;_.length>0;){const m=_.pop();if(!d.has(m)){if(d.set(m,!0),zse(e,m,!1,r,i))return;if(Wse(e,m,!1,r,i),nIe(e,m)){const y=e.program.getSourceFileByPath(m);_.push(..._h.getReferencedByPaths(e,y.resolvedPath))}}}}const l=new Set,u=!!((o=t.symbol)!=null&&o.exports)&&!!Uc(t.symbol.exports,d=>{if((d.flags&128)!==0)return!0;const _=Id(d,e.program.getTypeChecker());return _===d?!1:(_.flags&128)!==0&&bt(_.declarations,m=>On(m)===t)});(s=e.referencedMap.getKeys(t.resolvedPath))==null||s.forEach(d=>{if(zse(e,d,u,r,i))return!0;const _=e.referencedMap.getKeys(d);return _&&gg(_,m=>rIe(e,m,u,l,r,i))})}function rIe(e,t,r,i,o,s){var l;if(rh(i,t)){if(zse(e,t,r,o,s))return!0;Wse(e,t,r,o,s),(l=e.referencedMap.getKeys(t))==null||l.forEach(u=>rIe(e,u,r,i,o,s))}}function OH(e,t,r,i){return e.compilerOptions.noCheck?se:co(pJe(e,t,r,i),e.program.getProgramDiagnostics(t))}function pJe(e,t,r,i){i!=null||(i=e.semanticDiagnosticsPerFile);const o=t.resolvedPath,s=i.get(o);if(s)return W3(s,e.compilerOptions);const l=e.program.getBindAndCheckDiagnostics(t,r);return i.set(o,l),e.buildInfoEmitPending=!0,W3(l,e.compilerOptions)}function Bse(e){var t;return!!((t=e.options)!=null&&t.outFile)}function lO(e){return!!e.fileNames}function fJe(e){return!lO(e)&&!!e.root}function iIe(e){e.hasErrors===void 0&&(kS(e.compilerOptions)?e.hasErrors=!bt(e.program.getSourceFiles(),t=>{var r,i;const o=e.semanticDiagnosticsPerFile.get(t.resolvedPath);return o===void 0||!!o.length||!!((i=(r=e.emitDiagnosticsPerFile)==null?void 0:r.get(t.resolvedPath))!=null&&i.length)})&&(oIe(e)||bt(e.program.getSourceFiles(),t=>!!e.program.getProgramDiagnostics(t).length)):e.hasErrors=bt(e.program.getSourceFiles(),t=>{var r,i;const o=e.semanticDiagnosticsPerFile.get(t.resolvedPath);return!!(o!=null&&o.length)||!!((i=(r=e.emitDiagnosticsPerFile)==null?void 0:r.get(t.resolvedPath))!=null&&i.length)})||oIe(e))}function oIe(e){return!!e.program.getConfigFileParsingDiagnostics().length||!!e.program.getSyntacticDiagnostics().length||!!e.program.getOptionsDiagnostics().length||!!e.program.getGlobalDiagnostics().length}function aIe(e){var t;return iIe(e),(t=e.buildInfoEmitPending)!=null?t:e.buildInfoEmitPending=!!e.hasErrorsFromOldState!=!!e.hasErrors}function mJe(e){var t,r;const i=e.program.getCurrentDirectory(),o=pi(Eo(dT(e.compilerOptions),i)),s=e.latestChangedDtsFile?F(e.latestChangedDtsFile):void 0,l=[],u=new Map,d=new Set(e.program.getRootFileNames().map($=>Ws($,i,e.program.getCanonicalFileName)));if(iIe(e),!kS(e.compilerOptions))return{root:Mo(d,ve=>O(ve)),errors:e.hasErrors?!0:void 0,checkPending:e.checkPending,version:Me};const _=[];if(e.compilerOptions.outFile){const $=Mo(e.fileInfos.entries(),([je,be])=>{const ee=G(je);return K(je,ee),be.impliedFormat?{version:be.version,impliedFormat:be.impliedFormat,signature:void 0,affectsGlobalScope:void 0}:be.version});return{fileNames:l,fileInfos:$,root:_,resolvedRoot:Q(),options:J(e.compilerOptions),semanticDiagnosticsPerFile:e.changedFilesSet.size?void 0:re(),emitDiagnosticsPerFile:q(),changeFileSet:Re(),outSignature:e.outSignature,latestChangedDtsFile:s,pendingEmit:e.programEmitPending?e.programEmitPending===Ub(e.compilerOptions)?!1:e.programEmitPending:void 0,errors:e.hasErrors?!0:void 0,checkPending:e.checkPending,version:Me}}let m,y,E;const A=Mo(e.fileInfos.entries(),([$,ve])=>{var je,be;const ee=G($);K($,ee),C.assert(l[ee-1]===O($));const Se=(je=e.oldSignatures)==null?void 0:je.get($),Ne=Se!==void 0?Se||void 0:ve.signature;if(e.compilerOptions.composite){const ze=e.program.getSourceFileByPath($);if(!zf(ze)&&DS(ze,e.program)){const lt=(be=e.emitSignatures)==null?void 0:be.get($);lt!==Ne&&(E=jn(E,lt===void 0?ee:[ee,!jo(lt)&<[0]===Ne?se:lt]))}}return ve.version===Ne?ve.affectsGlobalScope||ve.impliedFormat?{version:ve.version,signature:void 0,affectsGlobalScope:ve.affectsGlobalScope,impliedFormat:ve.impliedFormat}:ve.version:Ne!==void 0?Se===void 0?ve:{version:ve.version,signature:Ne,affectsGlobalScope:ve.affectsGlobalScope,impliedFormat:ve.impliedFormat}:{version:ve.version,signature:!1,affectsGlobalScope:ve.affectsGlobalScope,impliedFormat:ve.impliedFormat}});let R;(t=e.referencedMap)!=null&&t.size()&&(R=Mo(e.referencedMap.keys()).sort(Wd).map($=>[G($),j(e.referencedMap.getValues($))]));const N=re();let M;if((r=e.affectedFilesPendingEmit)!=null&&r.size){const $=Ub(e.compilerOptions),ve=new Set;for(const je of Mo(e.affectedFilesPendingEmit.keys()).sort(Wd))if(rh(ve,je)){const be=e.program.getSourceFileByPath(je);if(!be||!DS(be,e.program))continue;const ee=G(je),Se=e.affectedFilesPendingEmit.get(je);M=jn(M,Se===$?ee:Se===24?[ee]:[ee,Se])}}return{fileNames:l,fileIdsList:m,fileInfos:A,root:_,resolvedRoot:Q(),options:J(e.compilerOptions),referencedMap:R,semanticDiagnosticsPerFile:N,emitDiagnosticsPerFile:q(),changeFileSet:Re(),affectedFilesPendingEmit:M,emitSignatures:E,latestChangedDtsFile:s,errors:e.hasErrors?!0:void 0,checkPending:e.checkPending,version:Me};function F($){return O(Eo($,i))}function O($){return HE(df(o,$,e.program.getCanonicalFileName))}function G($){let ve=u.get($);return ve===void 0&&(l.push(O($)),u.set($,ve=l.length)),ve}function j($){const ve=Mo($.keys(),G).sort(Js),je=ve.join();let be=y==null?void 0:y.get(je);return be===void 0&&(m=jn(m,ve),(y!=null?y:y=new Map).set(je,be=m.length)),be}function K($,ve){const je=e.program.getSourceFile($);if(!e.program.getFileIncludeReasons().get(je.path).some(Ne=>Ne.kind===0))return;if(!_.length)return _.push(ve);const be=_[_.length-1],ee=Lo(be);if(ee&&be[1]===ve-1)return be[1]=ve;if(ee||_.length===1||be!==ve-1)return _.push(ve);const Se=_[_.length-2];return!ib(Se)||Se!==be-1?_.push(ve):(_[_.length-2]=[Se,ve],_.length=_.length-1)}function Q(){let $;return d.forEach(ve=>{const je=e.program.getSourceFileByPath(ve);je&&ve!==je.resolvedPath&&($=jn($,[G(je.resolvedPath),G(ve)]))}),$}function J($){let ve;const{optionsNameMap:je}=FD();for(const be of Vh($).sort(Wd)){const ee=je.get(be.toLowerCase());ee!=null&&ee.affectsBuildInfo&&((ve||(ve={}))[be]=he(ee,$[be]))}return ve}function he($,ve){if($){if(C.assert($.type!=="listOrElement"),$.type==="list"){const je=ve;if($.element.isFilePath&&je.length)return je.map(F)}else if($.isFilePath)return F(ve)}return ve}function re(){let $;return e.fileInfos.forEach((ve,je)=>{const be=e.semanticDiagnosticsPerFile.get(je);be?be.length&&($=jn($,[G(je),ue(be,je)])):e.changedFilesSet.has(je)||($=jn($,G(je)))}),$}function q(){var $;let ve;if(!(($=e.emitDiagnosticsPerFile)!=null&&$.size))return ve;for(const je of Mo(e.emitDiagnosticsPerFile.keys()).sort(Wd)){const be=e.emitDiagnosticsPerFile.get(je);ve=jn(ve,[G(je),ue(be,je)])}return ve}function ue($,ve){return C.assert(!!$.length),$.map(je=>{const be=de(je,ve);be.reportsUnnecessary=je.reportsUnnecessary,be.reportDeprecated=je.reportsDeprecated,be.source=je.source,be.skippedOn=je.skippedOn;const{relatedInformation:ee}=je;return be.relatedInformation=ee?ee.length?ee.map(Se=>de(Se,ve)):[]:void 0,be})}function de($,ve){const{file:je}=$;return{...$,file:je?je.resolvedPath===ve?void 0:O(je.resolvedPath):!1,messageText:jo($.messageText)?$.messageText:ge($.messageText)}}function ge($){if($.repopulateInfo)return{info:$.repopulateInfo(),next:Ae($.next)};const ve=Ae($.next);return ve===$.next?$:{...$,next:ve}}function Ae($){return $&&(Xe($,(ve,je)=>{const be=ge(ve);if(ve===be)return;const ee=je>0?$.slice(0,je-1):[];ee.push(be);for(let Se=je+1;Se<$.length;Se++)ee.push(ge($[Se]));return ee})||$)}function Re(){let $;if(e.changedFilesSet.size)for(const ve of Mo(e.changedFilesSet.keys()).sort(Wd))$=jn($,G(ve));return $}}var Gse=(e=>(e[e.SemanticDiagnosticsBuilderProgram=0]="SemanticDiagnosticsBuilderProgram",e[e.EmitAndSemanticDiagnosticsBuilderProgram=1]="EmitAndSemanticDiagnosticsBuilderProgram",e))(Gse||{});function G3(e,t,r,i,o,s){let l,u,d;return e===void 0?(C.assert(t===void 0),l=r,d=i,C.assert(!!d),u=d.getProgram()):Lo(e)?(d=i,u=aO({rootNames:e,options:t,host:r,oldProgram:d&&d.getProgramOrUndefined(),configFileParsingDiagnostics:o,projectReferences:s}),l=r):(u=e,l=t,d=r,o=i),{host:l,newProgram:u,oldProgram:d,configFileParsingDiagnostics:o||se}}function sIe(e,t){return(t==null?void 0:t.sourceMapUrlPos)!==void 0?e.substring(0,t.sourceMapUrlPos):e}function WH(e,t,r,i,o){var _;var s;r=sIe(r,o);let l;return(s=o==null?void 0:o.diagnostics)!=null&&s.length&&(r+=o.diagnostics.map(m=>"".concat(d(m)).concat($W[m.category]).concat(m.code,": ").concat(u(m.messageText))).join("\n")),((_=i.createHash)!=null?_:E2)(r);function u(m){return jo(m)?m:m===void 0?"":m.next?m.messageText+m.next.map(u).join("\n"):m.messageText}function d(m){return m.file.resolvedPath===t.resolvedPath?"(".concat(m.start,",").concat(m.length,")"):(l===void 0&&(l=pi(t.resolvedPath)),"".concat(HE(df(l,m.file.resolvedPath,e.getCanonicalFileName)),"(").concat(m.start,",").concat(m.length,")"))}}function hJe(e,t,r){var i;return((i=t.createHash)!=null?i:E2)(sIe(e,r))}function FH(e,{newProgram:t,host:r,oldProgram:i,configFileParsingDiagnostics:o}){let s=i&&i.state;if(s&&t===s.program&&o===t.getConfigFileParsingDiagnostics())return t=void 0,s=void 0,i;const l=aJe(t,s);t.getBuildInfo=()=>mJe(iJe(l)),t=void 0,i=void 0,s=void 0;const u=GH(l,o);return u.state=l,u.hasChangedEmitSignature=()=>!!l.hasChangedEmitSignature,u.getAllDependencies=F=>_h.getAllDependencies(l,C.checkDefined(l.program),F),u.getSemanticDiagnostics=k,u.getDeclarationDiagnostics=N,u.emit=A,u.releaseProgram=()=>sJe(l),e===0?u.getSemanticDiagnosticsOfNextAffectedFile=M:e===1?(u.getSemanticDiagnosticsOfNextAffectedFile=M,u.emitNextAffectedFile=y,u.emitBuildInfo=d):ba(),u;function d(F,O){if(C.assert(XD(l)),aIe(l)){const G=l.program.emitBuildInfo(F||la(r,r.writeFile),O);return l.buildInfoEmitPending=!1,G}return PH}function _(F,O,G,j,K){var Re,$,ve,je;var Q,J,he,re;C.assert(XD(l));let q=ZAe(l,O,r);const ue=Ub(l.compilerOptions);let de=K?8:G?ue&56:ue;if(!q){if(l.compilerOptions.outFile){if(l.programEmitPending&&(de=B3(l.programEmitPending,l.seenProgramEmit,G,K),de&&(q=l.program)),!q&&((Q=l.emitDiagnosticsPerFile)!=null&&Q.size)){const be=l.seenProgramEmit||0;if(!(be&wH(K))){l.seenProgramEmit=wH(K)|be;const ee=[];return l.emitDiagnosticsPerFile.forEach(Se=>$r(ee,Se)),{result:{emitSkipped:!0,diagnostics:ee},affected:l.program}}}}else{const be=lJe(l,G,K);if(be)({affectedFile:q,emitKind:de}=be);else{const ee=cJe(l,K);if(ee)return((Re=l.seenEmittedFiles)!=null?Re:l.seenEmittedFiles=new Map).set(ee.affectedFile.resolvedPath,ee.seenKind|wH(K)),{result:{emitSkipped:!0,diagnostics:ee.diagnostics},affected:ee.affectedFile}}}if(!q){if(K||!aIe(l))return;const be=l.program,ee=be.emitBuildInfo(F||la(r,r.writeFile),O);return l.buildInfoEmitPending=!1,{result:ee,affected:be}}}let ge;de&7&&(ge=0),de&56&&(ge=ge===void 0?1:void 0);const Ae=K?{emitSkipped:!0,diagnostics:l.program.getDeclarationDiagnostics(q===l.program?void 0:q,O)}:l.program.emit(q===l.program?void 0:q,E(F,j),O,ge,j,void 0,!0);if(q!==l.program){const be=q;l.seenAffectedFiles.add(be.resolvedPath),l.affectedFilesIndex!==void 0&&l.affectedFilesIndex++,l.buildInfoEmitPending=!0;const ee=((J=l.seenEmittedFiles)==null?void 0:J.get(be.resolvedPath))||0;(($=l.seenEmittedFiles)!=null?$:l.seenEmittedFiles=new Map).set(be.resolvedPath,de|ee);const Se=((he=l.affectedFilesPendingEmit)==null?void 0:he.get(be.resolvedPath))||ue,Ne=z3(Se,de|ee);Ne?((ve=l.affectedFilesPendingEmit)!=null?ve:l.affectedFilesPendingEmit=new Map).set(be.resolvedPath,Ne):(re=l.affectedFilesPendingEmit)==null||re.delete(be.resolvedPath),Ae.diagnostics.length&&((je=l.emitDiagnosticsPerFile)!=null?je:l.emitDiagnosticsPerFile=new Map).set(be.resolvedPath,Ae.diagnostics)}else l.changedFilesSet.clear(),l.programEmitPending=l.changedFilesSet.size?z3(ue,de):l.programEmitPending?z3(l.programEmitPending,de):void 0,l.seenProgramEmit=de|(l.seenProgramEmit||0),m(Ae.diagnostics),l.buildInfoEmitPending=!0;return{result:Ae,affected:q}}function m(F){let O;F.forEach(G=>{if(!G.file)return;let j=O==null?void 0:O.get(G.file.resolvedPath);j||(O!=null?O:O=new Map).set(G.file.resolvedPath,j=[]),j.push(G)}),O&&(l.emitDiagnosticsPerFile=O)}function y(F,O,G,j){return _(F,O,G,j,!1)}function E(F,O){return C.assert(XD(l)),vp(l.compilerOptions)?(G,j,K,Q,J,he)=>{var ge,Ae,Re;var re,q,ue;if(ad(G))if(l.compilerOptions.outFile){if(l.compilerOptions.composite){const $=de(l.outSignature,void 0);if(!$)return he.skippedDtsWrite=!0;l.outSignature=$}}else{C.assert((J==null?void 0:J.length)===1);let $;if(!O){const ve=J[0],je=l.fileInfos.get(ve.resolvedPath);if(je.signature===ve.version){const be=WH(l.program,ve,j,r,he);(re=he==null?void 0:he.diagnostics)!=null&&re.length||($=be),be!==ve.version&&(r.storeSignatureInfo&&((ge=l.signatureInfo)!=null?ge:l.signatureInfo=new Map).set(ve.resolvedPath,1),l.affectedFiles&&((q=l.oldSignatures)==null?void 0:q.get(ve.resolvedPath))===void 0&&((Ae=l.oldSignatures)!=null?Ae:l.oldSignatures=new Map).set(ve.resolvedPath,je.signature||!1),je.signature=be)}}if(l.compilerOptions.composite){const ve=J[0].resolvedPath;if($=de((ue=l.emitSignatures)==null?void 0:ue.get(ve),$),!$)return he.skippedDtsWrite=!0;((Re=l.emitSignatures)!=null?Re:l.emitSignatures=new Map).set(ve,$)}}F?F(G,j,K,Q,J,he):r.writeFile?r.writeFile(G,j,K,Q,J,he):l.program.writeFile(G,j,K,Q,J,he);function de($,ve){const je=!$||jo($)?$:$[0];if(ve!=null||(ve=hJe(j,r,he)),ve===je){if($===je)return;he?he.differsOnlyInMap=!0:he={differsOnlyInMap:!0}}else l.hasChangedEmitSignature=!0,l.latestChangedDtsFile=G;return ve}}:F||la(r,r.writeFile)}function A(F,O,G,j,K){C.assert(XD(l)),e===1&&Ose(l,F);const Q=LH(u,F,O,G);if(Q)return Q;if(!F)if(e===1){let he=[],re=!1,q,ue=[],de;for(;de=y(O,G,j,K);)re=re||de.result.emitSkipped,q=$r(q,de.result.diagnostics),ue=$r(ue,de.result.emittedFiles),he=$r(he,de.result.sourceMaps);return{emitSkipped:re,diagnostics:q||se,emittedFiles:ue,sourceMaps:he}}else eIe(l,j,!1);const J=l.program.emit(F,E(O,K),G,j,K);return R(F,j,!1,J.diagnostics),J}function R(F,O,G,j){!F&&e!==1&&(eIe(l,O,G),m(j))}function N(F,O){var G;if(C.assert(XD(l)),e===1){Ose(l,F);let j,K;for(;j=_(void 0,O,void 0,void 0,!0);)F||(K=$r(K,j.result.diagnostics));return(F?(G=l.emitDiagnosticsPerFile)==null?void 0:G.get(F.resolvedPath):K)||se}else{const j=l.program.getDeclarationDiagnostics(F,O);return R(F,void 0,!0,j),j}}function M(F,O){for(C.assert(XD(l));;){const G=ZAe(l,F,r);let j;if(G)if(G!==l.program){const K=G;if((!O||!O(K))&&(j=OH(l,K,F)),l.seenAffectedFiles.add(K.resolvedPath),l.affectedFilesIndex++,l.buildInfoEmitPending=!0,!j)continue}else{let K;const Q=new Map;l.program.getSourceFiles().forEach(J=>K=$r(K,OH(l,J,F,Q))),l.semanticDiagnosticsPerFile=Q,j=K||se,l.changedFilesSet.clear(),l.programEmitPending=Ub(l.compilerOptions),l.compilerOptions.noCheck||(l.checkPending=void 0),l.buildInfoEmitPending=!0}else{l.checkPending&&!l.compilerOptions.noCheck&&(l.checkPending=void 0,l.buildInfoEmitPending=!0);return}return{result:j,affected:G}}}function k(F,O){if(C.assert(XD(l)),Ose(l,F),F)return OH(l,F,O);for(;;){const j=M(O);if(!j)break;if(j.affected===l.program)return j.result}let G;for(const j of l.program.getSourceFiles())G=$r(G,OH(l,j,O));return l.checkPending&&!l.compilerOptions.noCheck&&(l.checkPending=void 0,l.buildInfoEmitPending=!0),G||se}}function zH(e,t,r){var l;var i,o;const s=((i=e.affectedFilesPendingEmit)==null?void 0:i.get(t))||0;((l=e.affectedFilesPendingEmit)!=null?l:e.affectedFilesPendingEmit=new Map).set(t,s|r),(o=e.emitDiagnosticsPerFile)==null||o.delete(t)}function Vse(e){return jo(e)?{version:e,signature:e,affectsGlobalScope:void 0,impliedFormat:void 0}:jo(e.signature)?e:{version:e.version,signature:e.signature===!1?void 0:e.version,affectsGlobalScope:e.affectsGlobalScope,impliedFormat:e.impliedFormat}}function jse(e,t){return ib(e)?t:e[1]||24}function Use(e,t){return e||Ub(t||{})}function Hse(e,t,r){var K;var i,o,s,l;const u=pi(Eo(t,r.getCurrentDirectory())),d=Fd(r.useCaseSensitiveFileNames());let _;const m=(i=e.fileNames)==null?void 0:i.map(N);let y;const E=e.latestChangedDtsFile?M(e.latestChangedDtsFile):void 0,A=new Map,R=new Set(Gt(e.changeFileSet,k));if(Bse(e))e.fileInfos.forEach((Q,J)=>{const he=k(J+1);A.set(he,jo(Q)?{version:Q,signature:void 0,affectsGlobalScope:void 0,impliedFormat:void 0}:Q)}),_={fileInfos:A,compilerOptions:e.options?Y4(e.options,M):{},semanticDiagnosticsPerFile:G(e.semanticDiagnosticsPerFile),emitDiagnosticsPerFile:j(e.emitDiagnosticsPerFile),hasReusableDiagnostic:!0,changedFilesSet:R,latestChangedDtsFile:E,outSignature:e.outSignature,programEmitPending:e.pendingEmit===void 0?void 0:Use(e.pendingEmit,e.options),hasErrors:e.errors,checkPending:e.checkPending};else{y=(o=e.fileIdsList)==null?void 0:o.map(he=>new Set(he.map(k)));const Q=(s=e.options)!=null&&s.composite&&!e.options.outFile?new Map:void 0;e.fileInfos.forEach((he,re)=>{const q=k(re+1),ue=Vse(he);A.set(q,ue),Q&&ue.signature&&Q.set(q,ue.signature)}),(l=e.emitSignatures)==null||l.forEach(he=>{if(ib(he))Q.delete(k(he));else{const re=k(he[0]);Q.set(re,!jo(he[1])&&!he[1].length?[Q.get(re)]:he[1])}});const J=e.affectedFilesPendingEmit?Ub(e.options||{}):void 0;_={fileInfos:A,compilerOptions:e.options?Y4(e.options,M):{},referencedMap:O(e.referencedMap,(K=e.options)!=null?K:{}),semanticDiagnosticsPerFile:G(e.semanticDiagnosticsPerFile),emitDiagnosticsPerFile:j(e.emitDiagnosticsPerFile),hasReusableDiagnostic:!0,changedFilesSet:R,affectedFilesPendingEmit:e.affectedFilesPendingEmit&&xR(e.affectedFilesPendingEmit,he=>k(ib(he)?he:he[0]),he=>jse(he,J)),latestChangedDtsFile:E,emitSignatures:Q!=null&&Q.size?Q:void 0,hasErrors:e.errors,checkPending:e.checkPending}}return{state:_,getProgram:ba,getProgramOrUndefined:uS,releaseProgram:vs,getCompilerOptions:()=>_.compilerOptions,getSourceFile:ba,getSourceFiles:ba,getOptionsDiagnostics:ba,getGlobalDiagnostics:ba,getConfigFileParsingDiagnostics:ba,getSyntacticDiagnostics:ba,getDeclarationDiagnostics:ba,getSemanticDiagnostics:ba,emit:ba,getAllDependencies:ba,getCurrentDirectory:ba,emitNextAffectedFile:ba,getSemanticDiagnosticsOfNextAffectedFile:ba,emitBuildInfo:ba,close:vs,hasChangedEmitSignature:ry};function N(Q){return Ws(Q,u,d)}function M(Q){return Eo(Q,u)}function k(Q){return m[Q-1]}function F(Q){return y[Q-1]}function O(Q,J){const he=_h.createReferencedMap(J);return!he||!Q||Q.forEach(([re,q])=>he.set(k(re),F(q))),he}function G(Q){const J=new Map(pm(A.keys(),he=>R.has(he)?void 0:[he,se]));return Q==null||Q.forEach(he=>{ib(he)?J.delete(k(he)):J.set(k(he[0]),he[1])}),J}function j(Q){return Q&&xR(Q,J=>k(J[0]),J=>J[1])}}function BH(e,t,r){const i=pi(Eo(t,r.getCurrentDirectory())),o=Fd(r.useCaseSensitiveFileNames()),s=new Map;let l=0;const u=new Map,d=new Map(e.resolvedRoot);return e.fileInfos.forEach((m,y)=>{const E=Ws(e.fileNames[y],i,o),A=jo(m)?m:m.version;if(s.set(E,A),l<e.root.length){const R=e.root[l],N=y+1;Lo(R)?R[0]<=N&&N<=R[1]&&(_(N,E),R[1]===N&&l++):R===N&&(_(N,E),l++)}}),{fileInfos:s,roots:u};function _(m,y){const E=d.get(m);E?u.set(Ws(e.fileNames[E-1],i,o),y):u.set(y,void 0)}}function qse(e,t,r){if(!fJe(e))return;const i=pi(Eo(t,r.getCurrentDirectory())),o=Fd(r.useCaseSensitiveFileNames());return e.root.map(s=>Ws(s,i,o))}function GH(e,t){return{state:void 0,getProgram:r,getProgramOrUndefined:()=>e.program,releaseProgram:()=>e.program=void 0,getCompilerOptions:()=>e.compilerOptions,getSourceFile:i=>r().getSourceFile(i),getSourceFiles:()=>r().getSourceFiles(),getOptionsDiagnostics:i=>r().getOptionsDiagnostics(i),getGlobalDiagnostics:i=>r().getGlobalDiagnostics(i),getConfigFileParsingDiagnostics:()=>t,getSyntacticDiagnostics:(i,o)=>r().getSyntacticDiagnostics(i,o),getDeclarationDiagnostics:(i,o)=>r().getDeclarationDiagnostics(i,o),getSemanticDiagnostics:(i,o)=>r().getSemanticDiagnostics(i,o),emit:(i,o,s,l,u)=>r().emit(i,o,s,l,u),emitBuildInfo:(i,o)=>r().emitBuildInfo(i,o),getAllDependencies:ba,getCurrentDirectory:()=>r().getCurrentDirectory(),close:vs};function r(){return C.checkDefined(e.program)}}function lIe(e,t,r,i,o,s){return FH(0,G3(e,t,r,i,o,s))}function VH(e,t,r,i,o,s){return FH(1,G3(e,t,r,i,o,s))}function cIe(e,t,r,i,o,s){const{newProgram:l,configFileParsingDiagnostics:u}=G3(e,t,r,i,o,s);return GH({program:l,compilerOptions:l.getCompilerOptions()},u)}function V3(e){return il(e,"/node_modules/.staging")?CR(e,"/.staging"):bt(eF,t=>e.includes(t))?void 0:e}function Jse(e,t){if(t<=1)return 1;let r=1,i=e[0].search(/[a-z]:/i)===0;if(e[0]!==$s&&!i&&e[1].search(/[a-z]\$$/i)===0){if(t===2)return 2;r=2,i=!0}return i&&!e[r].match(/^users$/i)?r:e[r].match(/^workspaces$/i)?r+1:r+2}function jH(e,t){if(t===void 0&&(t=e.length),t<=2)return!1;const r=Jse(e,t);return t>r+1}function cO(e){return jH(zd(e))}function Kse(e){return uIe(pi(e))}function dIe(e,t){if(t.length<e.length)return!1;for(let r=0;r<e.length;r++)if(t[r]!==e[r])return!1;return!0}function uIe(e){return cO(e)}function Xse(e){return uIe(e)}function UH(e,t,r,i,o,s,l,u){const d=zd(t);e=Pp(e)?Sa(e):Eo(e,l());const _=zd(e),m=Jse(d,d.length);if(d.length<=m+1)return;const y=d.indexOf("node_modules");if(y!==-1&&y+1<=m+1)return;const E=d.lastIndexOf("node_modules");return s&&dIe(o,d)?d.length>o.length+1?Yse(_,d,Math.max(o.length+1,m+1),E):{dir:r,dirPath:i,nonRecursive:!0}:pIe(_,d,d.length-1,m,y,o,E,u)}function pIe(e,t,r,i,o,s,l,u){if(o!==-1)return Yse(e,t,o+1,l);let d=!0,_=r;if(!u){for(let m=0;m<r;m++)if(t[m]!==s[m]){d=!1,_=Math.max(m+1,i+1);break}}return Yse(e,t,_,l,d)}function Yse(e,t,r,i,o){let s;return i!==-1&&i+1>=r&&i+2<t.length&&(fo(t[i+1],"@")?i+3<t.length&&(s=i+3):s=i+2),{dir:P0(e,r),dirPath:P0(t,r),nonRecursive:o,packageDir:s!==void 0?P0(e,s):void 0,packageDirPath:s!==void 0?P0(t,s):void 0}}function $se(e,t,r,i,o,s,l,u){const d=zd(t);if(o&&dIe(i,d))return r;e=Pp(e)?Sa(e):Eo(e,s());const _=pIe(zd(e),d,d.length,Jse(d,d.length),d.indexOf("node_modules"),i,d.lastIndexOf("node_modules"),l);return _&&u(_.dirPath)?_.dirPath:void 0}function Qse(e,t){const r=Eo(e,t());return P9(r)?r:ev(r)}function j3(e){var t;return((t=e.getCompilerHost)==null?void 0:t.call(e))||e}function Zse(e,t,r,i,o){return{nameAndMode:P3,resolve:(s,l)=>_Je(i,o,s,e,r,t,l)}}function _Je(e,t,r,i,o,s,l){const u=j3(e),d=P1(r,i,o,u,t,s,l);if(!e.getGlobalTypingsCacheLocation)return d;const _=e.getGlobalTypingsCacheLocation();if(_!==void 0&&!td(r)&&!(d.resolvedModule&&Q6(d.resolvedModule.extension))){const{resolvedModule:m,failedLookupLocations:y,affectingLocations:E,resolutionDiagnostics:A}=dae(C.checkDefined(e.globalCacheResolutionModuleName)(r),e.projectName,o,u,_,t);if(m)return d.resolvedModule=m,d.failedLookupLocations=zD(d.failedLookupLocations,y),d.affectingLocations=zD(d.affectingLocations,E),d.resolutionDiagnostics=zD(d.resolutionDiagnostics,A),d}return d}function HH(e,t,r){let i,o,s;const l=new Set,u=new Set,d=new Set,_=new Map,m=new Map;let y=!1,E,A,R,N,M,k=!1;const F=Lu(()=>e.getCurrentDirectory()),O=e.getCachedDirectoryStructureHost(),G=new Map,j=GD(F(),e.getCanonicalFileName,e.getCompilationSettings()),K=new Map,Q=a3(F(),e.getCanonicalFileName,e.getCompilationSettings(),j.getPackageJsonInfoCache(),j.optionsToRedirectsKey),J=new Map,he=GD(F(),e.getCanonicalFileName,xU(e.getCompilationSettings()),j.getPackageJsonInfoCache()),re=new Map,q=new Map,ue=Qse(t,F),de=e.toPath(ue),ge=zd(de),Ae=jH(ge),Re=new Map,$=new Map,ve=new Map,je=new Map;return{rootDirForResolution:t,resolvedModuleNames:G,resolvedTypeReferenceDirectives:K,resolvedLibraries:J,resolvedFileToResolution:_,resolutionsWithFailedLookups:u,resolutionsWithOnlyAffectingLocations:d,directoryWatchesOfFailedLookups:re,fileWatchesOfAffectingLocations:q,packageDirWatchers:$,dirPathToSymlinkPackageRefCount:ve,watchFailedLookupLocationsOfExternalModuleResolutions:tn,getModuleResolutionCache:()=>j,startRecordingFilesWithChangedResolutions:Se,finishRecordingFilesWithChangedResolutions:Ne,startCachingPerDirectoryResolution:le,finishCachingPerDirectoryResolution:_e,resolveModuleNameLiterals:Vt,resolveTypeReferenceDirectiveReferences:Ot,resolveLibrary:mn,resolveSingleModuleNameWithoutWatching:Hn,removeResolutionsFromProjectReferenceRedirects:di,removeResolutionsOfFile:Ki,hasChangedAutomaticTypeDirectiveNames:()=>y,invalidateResolutionOfFile:Da,invalidateResolutionsOfFailedLookupLocations:Bt,setFilesWithInvalidatedNonRelativeUnresolvedImports:Pn,createHasInvalidatedResolutions:lt,isFileWithInvalidatedNonRelativeUnresolvedImports:ze,updateTypeRootsWatch:dt,closeTypeRootsWatch:We,clear:be,onChangesAffectModuleResolution:ee};function be(){yp(re,Xf),yp(q,Xf),Re.clear(),$.clear(),ve.clear(),l.clear(),We(),G.clear(),K.clear(),_.clear(),u.clear(),d.clear(),R=void 0,N=void 0,M=void 0,A=void 0,E=void 0,k=!1,j.clear(),Q.clear(),j.update(e.getCompilationSettings()),Q.update(e.getCompilationSettings()),he.clear(),m.clear(),J.clear(),y=!1}function ee(){k=!0,j.clearAllExceptPackageJsonInfoCache(),Q.clearAllExceptPackageJsonInfoCache(),j.update(e.getCompilationSettings()),Q.update(e.getCompilationSettings())}function Se(){i=[]}function Ne(){const He=i;return i=void 0,He}function ze(He){if(!s)return!1;const Ct=s.get(He);return!!Ct&&!!Ct.length}function lt(He,Ct){Bt();const Nt=o;return o=void 0,{hasInvalidatedResolutions:Wt=>He(Wt)||k||!!(Nt!=null&&Nt.has(Wt))||ze(Wt),hasInvalidatedLibResolutions:Wt=>{var rt;return Ct(Wt)||!!((rt=J==null?void 0:J.get(Wt))!=null&&rt.isInvalidated)}}}function le(){j.isReadonly=void 0,Q.isReadonly=void 0,he.isReadonly=void 0,j.getPackageJsonInfoCache().isReadonly=void 0,j.clearAllExceptPackageJsonInfoCache(),Q.clearAllExceptPackageJsonInfoCache(),he.clearAllExceptPackageJsonInfoCache(),go(),Re.clear()}function De(He){J.forEach((Ct,Nt)=>{var Wt;(Wt=He==null?void 0:He.resolvedLibReferences)!=null&&Wt.has(Nt)||(It(Ct,e.toPath(k3(e.getCompilationSettings(),F(),Nt)),fI),J.delete(Nt))})}function _e(He,Ct){s=void 0,k=!1,go(),He!==Ct&&(De(He),He==null||He.getSourceFiles().forEach(Nt=>{var Rr,Oe;var Wt;const rt=(Rr=(Wt=Nt.packageJsonLocations)==null?void 0:Wt.length)!=null?Rr:0,Zt=(Oe=m.get(Nt.resolvedPath))!=null?Oe:se;for(let At=Zt.length;At<rt;At++)Ht(Nt.packageJsonLocations[At],!1);if(Zt.length>rt)for(let At=rt;At<Zt.length;At++)q.get(Zt[At]).files--;rt?m.set(Nt.resolvedPath,Nt.packageJsonLocations):m.delete(Nt.resolvedPath)}),m.forEach((Nt,Wt)=>{const rt=He==null?void 0:He.getSourceFileByPath(Wt);(!rt||rt.resolvedPath!==Wt)&&(Nt.forEach(Zt=>q.get(Zt).files--),m.delete(Wt))})),re.forEach(Ge),q.forEach(Be),$.forEach(Ve),y=!1,j.isReadonly=!0,Q.isReadonly=!0,he.isReadonly=!0,j.getPackageJsonInfoCache().isReadonly=!0,Re.clear()}function Ve(He,Ct){He.dirPathToWatcher.size===0&&$.delete(Ct)}function Ge(He,Ct){He.refCount===0&&(re.delete(Ct),He.watcher.close())}function Be(He,Ct){var Nt;He.files===0&&He.resolutions===0&&!((Nt=He.symlinks)!=null&&Nt.size)&&(q.delete(Ct),He.watcher.close())}function ot({entries:He,containingFile:Ct,containingSourceFile:Nt,redirectedReference:Wt,options:rt,perFileCache:Zt,reusedNames:Rr,loader:Oe,getResolutionWithResolvedFileName:At,deferWatchingNonRelativeResolution:ye,shouldRetryResolution:B,logChanges:xe}){var te;const xt=e.toPath(Ct),$t=Zt.get(xt)||Zt.set(xt,BD()).get(xt),Pe=[],yt=xe&&ze(xt),jt=e.getCurrentProgram(),or=jt&&((te=jt.getRedirectFromSourceFile(Ct))==null?void 0:te.resolvedRef),$n=or?!Wt||Wt.sourceFile.path!==or.sourceFile.path:!!Wt,fr=BD();for(const Rt of He){const zt=Oe.nameAndMode.getName(Rt),Yt=Oe.nameAndMode.getMode(Rt,Nt,(Wt==null?void 0:Wt.commandLine.options)||rt);let An=$t.get(zt,Yt);if(!fr.has(zt,Yt)&&(k||$n||!An||An.isInvalidated||yt&&!td(zt)&&B(An))){const vn=An;An=Oe.resolve(zt,Yt),e.onDiscoveredSymlink&&gJe(An)&&e.onDiscoveredSymlink(),$t.set(zt,Yt,An),An!==vn&&(tn(zt,An,xt,At,ye),vn&&It(vn,xt,At)),xe&&i&&!vt(vn,An)&&(i.push(xt),xe=!1)}else{const vn=j3(e);if(zb(rt,vn)&&!fr.has(zt,Yt)){const Ft=At(An);Co(vn,Zt===G?Ft!=null&&Ft.resolvedFileName?Ft.packageId?f.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:f.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:f.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:Ft!=null&&Ft.resolvedFileName?Ft.packageId?f.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:f.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:f.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved,zt,Ct,Ft==null?void 0:Ft.resolvedFileName,(Ft==null?void 0:Ft.packageId)&&O0(Ft.packageId))}}C.assert(An!==void 0&&!An.isInvalidated),fr.set(zt,Yt,!0),Pe.push(An)}return Rr==null||Rr.forEach(Rt=>fr.set(Oe.nameAndMode.getName(Rt),Oe.nameAndMode.getMode(Rt,Nt,(Wt==null?void 0:Wt.commandLine.options)||rt),!0)),$t.size()!==fr.size()&&$t.forEach((Rt,zt,Yt)=>{fr.has(zt,Yt)||(It(Rt,xt,At),$t.delete(zt,Yt))}),Pe;function vt(Rt,zt){if(Rt===zt)return!0;if(!Rt||!zt)return!1;const Yt=At(Rt),An=At(zt);return Yt===An?!0:!Yt||!An?!1:Yt.resolvedFileName===An.resolvedFileName}}function Ot(He,Ct,Nt,Wt,rt,Zt){return ot({entries:He,containingFile:Ct,containingSourceFile:rt,redirectedReference:Nt,options:Wt,reusedNames:Zt,perFileCache:K,loader:L3(Ct,Nt,Wt,j3(e),Q),getResolutionWithResolvedFileName:kF,shouldRetryResolution:Rr=>Rr.resolvedTypeReferenceDirective===void 0,deferWatchingNonRelativeResolution:!1})}function Vt(He,Ct,Nt,Wt,rt,Zt){return ot({entries:He,containingFile:Ct,containingSourceFile:rt,redirectedReference:Nt,options:Wt,reusedNames:Zt,perFileCache:G,loader:Zse(Ct,Nt,Wt,e,j),getResolutionWithResolvedFileName:fI,shouldRetryResolution:Rr=>!Rr.resolvedModule||!AM(Rr.resolvedModule.extension),logChanges:r,deferWatchingNonRelativeResolution:!0})}function mn(He,Ct,Nt,Wt){const rt=j3(e);let Zt=J==null?void 0:J.get(Wt);if(!Zt||Zt.isInvalidated){const Rr=Zt;Zt=s3(He,Ct,Nt,rt,he);const Oe=e.toPath(Ct);tn(He,Zt,Oe,fI,!1),J.set(Wt,Zt),Rr&&It(Rr,Oe,fI)}else if(zb(Nt,rt)){const Rr=fI(Zt);Co(rt,Rr!=null&&Rr.resolvedFileName?Rr.packageId?f.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:f.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:f.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved,He,Ct,Rr==null?void 0:Rr.resolvedFileName,(Rr==null?void 0:Rr.packageId)&&O0(Rr.packageId))}return Zt}function Hn(He,Ct){var Nt,Wt;const rt=e.toPath(Ct),Zt=G.get(rt),Rr=Zt==null?void 0:Zt.get(He,void 0);if(Rr&&!Rr.isInvalidated)return Rr;const Oe=(Nt=e.beforeResolveSingleModuleNameWithoutWatching)==null?void 0:Nt.call(e,j),At=j3(e),ye=P1(He,Ct,e.getCompilationSettings(),At,j);return(Wt=e.afterResolveSingleModuleNameWithoutWatching)==null||Wt.call(e,j,He,Ct,ye,Oe),ye}function gt(He){return il(He,"/node_modules/@types")}function tn(He,Ct,Nt,Wt,rt){var Rr;if(((Rr=Ct.files)!=null?Rr:Ct.files=new Set).add(Nt),Ct.files.size!==1)return;!rt||td(He)?Ri(Ct):l.add(Ct);const Zt=Wt(Ct);if(Zt&&Zt.resolvedFileName){const Oe=e.toPath(Zt.resolvedFileName);let At=_.get(Oe);At||_.set(Oe,At=new Set),At.add(Ct)}}function ir(He,Ct){const Nt=e.toPath(He),Wt=UH(He,Nt,ue,de,ge,Ae,F,e.preferNonRecursiveWatch);if(Wt){const{dir:rt,dirPath:Zt,nonRecursive:Rr,packageDir:Oe,packageDirPath:At}=Wt;Zt===de?(C.assert(Rr),C.assert(!Oe),Ct=!0):Cr(rt,Zt,Oe,At,Rr)}return Ct}function Ri(He){var Ct;C.assert(!!((Ct=He.files)!=null&&Ct.size));const{failedLookupLocations:Nt,affectingLocations:Wt,alternateResult:rt}=He;if(!(Nt!=null&&Nt.length)&&!(Wt!=null&&Wt.length)&&!rt)return;(Nt!=null&&Nt.length||rt)&&u.add(He);let Zt=!1;if(Nt)for(const Rr of Nt)Zt=ir(Rr,Zt);rt&&(Zt=ir(rt,Zt)),Zt&&Cr(ue,de,void 0,void 0,!0),_o(He,!(Nt!=null&&Nt.length)&&!rt)}function _o(He,Ct){var Nt;C.assert(!!((Nt=He.files)!=null&&Nt.size));const{affectingLocations:Wt}=He;if(Wt!=null&&Wt.length){Ct&&d.add(He);for(const rt of Wt)Ht(rt,!0)}}function Ht(He,Ct){var At;const Nt=q.get(He);if(Nt){Ct?Nt.resolutions++:Nt.files++;return}let Wt=He,rt=!1,Zt;e.realpath&&(Wt=e.realpath(He),He!==Wt&&(rt=!0,Zt=q.get(Wt)));const Rr=Ct?1:0,Oe=Ct?0:1;if(!rt||!Zt){const ye={watcher:Xse(e.toPath(Wt))?e.watchAffectingFileLocation(Wt,(B,xe)=>{O==null||O.addOrDeleteFile(B,e.toPath(Wt),xe),Qr(Wt,j.getPackageJsonInfoCache().getInternalMap()),e.scheduleInvalidateResolutionsOfFailedLookupLocations()}):$D,resolutions:rt?0:Rr,files:rt?0:Oe,symlinks:void 0};q.set(Wt,ye),rt&&(Zt=ye)}if(rt){C.assert(!!Zt);const ye={watcher:{close:()=>{var B;const xe=q.get(Wt);(B=xe==null?void 0:xe.symlinks)!=null&&B.delete(He)&&!xe.symlinks.size&&!xe.resolutions&&!xe.files&&(q.delete(Wt),xe.watcher.close())}},resolutions:Rr,files:Oe,symlinks:void 0};q.set(He,ye),((At=Zt.symlinks)!=null?At:Zt.symlinks=new Set).add(He)}}function Qr(He,Ct){var Nt;const Wt=q.get(He);Wt!=null&&Wt.resolutions&&(A!=null?A:A=new Set).add(He),Wt!=null&&Wt.files&&(E!=null?E:E=new Set).add(He),(Nt=Wt==null?void 0:Wt.symlinks)==null||Nt.forEach(rt=>Qr(rt,Ct)),Ct==null||Ct.delete(e.toPath(He))}function go(){l.forEach(Ri),l.clear()}function Ci(He,Ct,Nt,Wt,rt){var ye;C.assert(!rt);let Zt=Re.get(Wt),Rr=$.get(Wt);if(Zt===void 0){const B=e.realpath(Nt);Zt=B!==Nt&&e.toPath(B)!==Wt,Re.set(Wt,Zt),Rr?Rr.isSymlink!==Zt&&(Rr.dirPathToWatcher.forEach(xe=>{hn(Rr.isSymlink?Wt:Ct),xe.watcher=At()}),Rr.isSymlink=Zt):$.set(Wt,Rr={dirPathToWatcher:new Map,isSymlink:Zt})}else C.assertIsDefined(Rr),C.assert(Zt===Rr.isSymlink);const Oe=Rr.dirPathToWatcher.get(Ct);Oe?Oe.refCount++:(Rr.dirPathToWatcher.set(Ct,{watcher:At(),refCount:1}),Zt&&ve.set(Ct,((ye=ve.get(Ct))!=null?ye:0)+1));function At(){return Zt?Ur(Nt,Wt,rt):Ur(He,Ct,rt)}}function Cr(He,Ct,Nt,Wt,rt){!Wt||!e.realpath?Ur(He,Ct,rt):Ci(He,Ct,Nt,Wt,rt)}function Ur(He,Ct,Nt){let Wt=re.get(Ct);return Wt?(C.assert(!!Nt==!!Wt.nonRecursive),Wt.refCount++):re.set(Ct,Wt={watcher:pr(He,Ct,Nt),refCount:1,nonRecursive:Nt}),Wt}function Qe(He,Ct){const Nt=e.toPath(He),Wt=UH(He,Nt,ue,de,ge,Ae,F,e.preferNonRecursiveWatch);if(Wt){const{dirPath:rt,packageDirPath:Zt}=Wt;if(rt===de)Ct=!0;else if(Zt&&e.realpath){const Rr=$.get(Zt),Oe=Rr.dirPathToWatcher.get(rt);if(Oe.refCount--,Oe.refCount===0&&(hn(Rr.isSymlink?Zt:rt),Rr.dirPathToWatcher.delete(rt),Rr.isSymlink)){const At=ve.get(rt)-1;At===0?ve.delete(rt):ve.set(rt,At)}}else hn(rt)}return Ct}function It(He,Ct,Nt){if(C.checkDefined(He.files).delete(Ct),He.files.size)return;He.files=void 0;const Wt=Nt(He);if(Wt&&Wt.resolvedFileName){const Oe=e.toPath(Wt.resolvedFileName),At=_.get(Oe);At!=null&&At.delete(He)&&!At.size&&_.delete(Oe)}const{failedLookupLocations:rt,affectingLocations:Zt,alternateResult:Rr}=He;if(u.delete(He)){let Oe=!1;if(rt)for(const At of rt)Oe=Qe(At,Oe);Rr&&(Oe=Qe(Rr,Oe)),Oe&&hn(de)}else Zt!=null&&Zt.length&&d.delete(He);if(Zt)for(const Oe of Zt){const At=q.get(Oe);At.resolutions--}}function hn(He){const Ct=re.get(He);Ct.refCount--}function pr(He,Ct,Nt){return e.watchDirectoryOfFailedLookupLocation(He,Wt=>{const rt=e.toPath(Wt);O&&O.addOrDeleteFileOrDirectory(Wt,rt),qo(rt,Ct===rt)},Nt?0:1)}function oi(He,Ct,Nt){const Wt=He.get(Ct);Wt&&(Wt.forEach(rt=>It(rt,Ct,Nt)),He.delete(Ct))}function di(He){if(!xl(He,".json"))return;const Ct=e.getCurrentProgram();if(!Ct)return;const Nt=Ct.getResolvedProjectReferenceByPath(He);Nt&&Nt.commandLine.fileNames.forEach(Wt=>Ki(e.toPath(Wt)))}function Ki(He){oi(G,He,fI),oi(K,He,kF)}function Zo(He,Ct){if(!He)return!1;let Nt=!1;return He.forEach(Wt=>{if(!(Wt.isInvalidated||!Ct(Wt))){Wt.isInvalidated=Nt=!0;for(const rt of C.checkDefined(Wt.files))(o!=null?o:o=new Set).add(rt),y=y||il(rt,bP)}}),Nt}function Da(He){Ki(He);const Ct=y;Zo(_.get(He),dS)&&y&&!Ct&&e.onChangedAutomaticTypeDirectiveNames()}function Pn(He){C.assert(s===He||s===void 0),s=He}function qo(He,Ct){if(Ct)(M||(M=new Set)).add(He);else{const Nt=V3(He);if(!Nt||(He=Nt,e.fileIsOpen(He)))return!1;const Wt=pi(He);if(gt(He)||aF(He)||gt(Wt)||aF(Wt))(R||(R=new Set)).add(He),(N||(N=new Set)).add(He);else{if(vse(e.getCurrentProgram(),He)||xl(He,".map"))return!1;(R||(R=new Set)).add(He),(N||(N=new Set)).add(He);const rt=Gw(He,!0);rt&&(N||(N=new Set)).add(rt)}}e.scheduleInvalidateResolutionsOfFailedLookupLocations()}function at(){const He=j.getPackageJsonInfoCache().getInternalMap();He&&(R||N||M)&&He.forEach((Ct,Nt)=>_t(Nt)?He.delete(Nt):void 0)}function Bt(){var He;if(k)return E=void 0,at(),(R||N||M||A)&&Zo(J,ce),R=void 0,N=void 0,M=void 0,A=void 0,!0;let Ct=!1;return E&&((He=e.getCurrentProgram())==null||He.getSourceFiles().forEach(Nt=>{bt(Nt.packageJsonLocations,Wt=>E.has(Wt))&&((o!=null?o:o=new Set).add(Nt.path),Ct=!0)}),E=void 0),!R&&!N&&!M&&!A||(Ct=Zo(u,ce)||Ct,at(),R=void 0,N=void 0,M=void 0,Ct=Zo(d,ie)||Ct,A=void 0),Ct}function ce(He){var Ct;return ie(He)?!0:!R&&!N&&!M?!1:((Ct=He.failedLookupLocations)==null?void 0:Ct.some(Nt=>_t(e.toPath(Nt))))||!!He.alternateResult&&_t(e.toPath(He.alternateResult))}function _t(He){return(R==null?void 0:R.has(He))||qn((N==null?void 0:N.keys())||[],Ct=>fo(He,Ct)?!0:void 0)||qn((M==null?void 0:M.keys())||[],Ct=>He.length>Ct.length&&fo(He,Ct)&&(P9(Ct)||He[Ct.length]===$s)?!0:void 0)}function ie(He){var Ct;return!!A&&((Ct=He.affectingLocations)==null?void 0:Ct.some(Nt=>A.has(Nt)))}function We(){yp(je,jm)}function it(He){return Lt(He)?e.watchTypeRootsDirectory(He,Ct=>{const Nt=e.toPath(Ct);O&&O.addOrDeleteFileOrDirectory(Ct,Nt),y=!0,e.onChangedAutomaticTypeDirectiveNames();const Wt=$se(He,e.toPath(He),de,ge,Ae,F,e.preferNonRecursiveWatch,rt=>re.has(rt)||ve.has(rt));Wt&&qo(Nt,Wt===Nt)},1):$D}function dt(){const He=e.getCompilationSettings();if(He.types){We();return}const Ct=rP(He,{getCurrentDirectory:F});Ct?vM(je,new Set(Ct),{createNewValue:it,onDeleteValue:jm}):We()}function Lt(He){return e.getCompilationSettings().typeRoots?!0:Kse(e.toPath(He))}}function gJe(e){var t,r;return!!((t=e.resolvedModule)!=null&&t.originalPath||(r=e.resolvedTypeReferenceDirective)!=null&&r.originalPath)}var fIe=Vc?{getCurrentDirectory:()=>Vc.getCurrentDirectory(),getNewLine:()=>Vc.newLine,getCanonicalFileName:Fd(Vc.useCaseSensitiveFileNames)}:void 0;function ux(e,t){const r=e===Vc&&fIe?fIe:{getCurrentDirectory:()=>e.getCurrentDirectory(),getNewLine:()=>e.newLine,getCanonicalFileName:Fd(e.useCaseSensitiveFileNames)};if(!t)return o=>e.write(IH(o,r));const i=new Array(1);return o=>{i[0]=o,e.write(xse(i,r)+r.getNewLine()),i[0]=void 0}}function mIe(e,t,r){return e.clearScreen&&!r.preserveWatchOutput&&!r.extendedDiagnostics&&!r.diagnostics&&Vn(hIe,t.code)?(e.clearScreen(),!0):!1}var hIe=[f.Starting_compilation_in_watch_mode.code,f.File_change_detected_Starting_incremental_compilation.code];function yJe(e,t){return Vn(hIe,e.code)?t+t:t}function dO(e){return e.now?e.now().toLocaleTimeString("en-US",{timeZone:"UTC"}).replace(" "," "):new Date().toLocaleTimeString()}function qH(e,t){return t?(r,i,o)=>{mIe(e,r,o);let s="[".concat($S(dO(e),"\x1B[90m"),"] ");s+="".concat(u_(r.messageText,e.newLine)).concat(i+i),e.write(s)}:(r,i,o)=>{let s="";mIe(e,r,o)||(s+=i),s+="".concat(dO(e)," - "),s+="".concat(u_(r.messageText,e.newLine)).concat(yJe(r,i)),e.write(s)}}function ele(e,t,r,i,o,s){const l=o;l.onUnRecoverableConfigFileDiagnostic=d=>yIe(o,s,d);const u=kw(e,t,l,r,i);return l.onUnRecoverableConfigFileDiagnostic=void 0,u}function U3(e){return po(e,t=>t.category===1)}function H3(e){return Fn(e,r=>r.category===1).map(r=>{if(r.file!==void 0)return"".concat(r.file.fileName)}).map(r=>{if(r===void 0)return;const i=_n(e,o=>o.file!==void 0&&o.file.fileName===r);if(i!==void 0){const{line:o}=fa(i.file,i.start);return{fileName:r,line:o+1}}})}function JH(e){return e===1?f.Found_1_error_Watching_for_file_changes:f.Found_0_errors_Watching_for_file_changes}function _Ie(e,t){const r=$S(":"+e.line,"\x1B[90m");return EN(e.fileName)&&EN(t)?df(t,e.fileName,!1)+r:e.fileName+r}function KH(e,t,r,i){if(e===0)return"";const o=t.filter(m=>m!==void 0),s=o.map(m=>"".concat(m.fileName,":").concat(m.line)).filter((m,y,E)=>E.indexOf(m)===y),l=o[0]&&_Ie(o[0],i.getCurrentDirectory());let u;e===1?u=t[0]!==void 0?[f.Found_1_error_in_0,l]:[f.Found_1_error]:u=s.length===0?[f.Found_0_errors,e]:s.length===1?[f.Found_0_errors_in_the_same_file_starting_at_Colon_1,e,l]:[f.Found_0_errors_in_1_files,e,s.length];const d=Dl(...u),_=s.length>1?vJe(o,i):"";return"".concat(r).concat(u_(d.messageText,r)).concat(r).concat(r).concat(_)}function vJe(e,t){const r=e.filter((y,E,A)=>E===A.findIndex(R=>(R==null?void 0:R.fileName)===(y==null?void 0:y.fileName)));if(r.length===0)return"";const i=y=>Math.log(y)*Math.LOG10E+1,o=r.map(y=>[y,po(e,E=>E.fileName===y.fileName)]),s=e9(o,0,y=>y[1]),l=f.Errors_Files.message,u=l.split(" ")[0].length,d=Math.max(u,i(s)),_=Math.max(i(s)-u,0);let m="";return m+=" ".repeat(_)+l+"\n",o.forEach(y=>{const[E,A]=y,R=Math.log(A)*Math.LOG10E+1|0,N=R<d?" ".repeat(d-R):"",M=_Ie(E,t.getCurrentDirectory());m+="".concat(N).concat(A," ").concat(M,"\n")}),m}function XH(e){return!!e.state}function bJe(e,t){const r=e.getCompilerOptions();r.explainFiles?YH(XH(e)?e.getProgram():e,t):(r.listFiles||r.listFilesOnly)&&Xe(e.getSourceFiles(),i=>{t(i.fileName)})}function YH(e,t){var r,i;const o=e.getFileIncludeReasons(),s=l=>AN(l,e.getCurrentDirectory(),e.getCanonicalFileName);for(const l of e.getSourceFiles())t("".concat(YD(l,s))),(r=o.get(l.path))==null||r.forEach(u=>t(" ".concat(eq(e,u,s).messageText))),(i=$H(l,e.getCompilerOptionsForFile(l),s))==null||i.forEach(u=>t(" ".concat(u.messageText)))}function $H(e,t,r){var i;let o;if(e.path!==e.resolvedPath&&(o!=null?o:o=[]).push(Ko(void 0,f.File_is_output_of_project_reference_source_0,YD(e.originalFileName,r))),e.redirectInfo&&(o!=null?o:o=[]).push(Ko(void 0,f.File_redirects_to_file_0,YD(e.redirectInfo.redirectTarget,r))),wp(e))switch(W1(e,t)){case 99:e.packageJsonScope&&(o!=null?o:o=[]).push(Ko(void 0,f.File_is_ECMAScript_module_because_0_has_field_type_with_value_module,YD(Ga(e.packageJsonLocations),r)));break;case 1:e.packageJsonScope?(o!=null?o:o=[]).push(Ko(void 0,e.packageJsonScope.contents.packageJsonContent.type?f.File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:f.File_is_CommonJS_module_because_0_does_not_have_field_type,YD(Ga(e.packageJsonLocations),r))):(i=e.packageJsonLocations)!=null&&i.length&&(o!=null?o:o=[]).push(Ko(void 0,f.File_is_CommonJS_module_because_package_json_was_not_found));break}return o}function QH(e,t){var r;const i=e.getCompilerOptions().configFile;if(!((r=i==null?void 0:i.configFileSpecs)!=null&&r.validatedFilesSpec))return;const o=e.getCanonicalFileName(t),s=pi(Eo(i.fileName,e.getCurrentDirectory())),l=lo(i.configFileSpecs.validatedFilesSpec,u=>e.getCanonicalFileName(Eo(u,s))===o);return l!==-1?i.configFileSpecs.validatedFilesSpecBeforeSubstitution[l]:void 0}function ZH(e,t){var r,i;const o=e.getCompilerOptions().configFile;if(!((r=o==null?void 0:o.configFileSpecs)!=null&&r.validatedIncludeSpecs))return;if(o.configFileSpecs.isDefaultIncludeSpec)return!0;const s=xl(t,".json"),l=pi(Eo(o.fileName,e.getCurrentDirectory())),u=e.useCaseSensitiveFileNames(),d=lo((i=o==null?void 0:o.configFileSpecs)==null?void 0:i.validatedIncludeSpecs,_=>{if(s&&!il(_,".json"))return!1;const m=jV(_,l,"files");return!!m&&cv("(?:".concat(m,")$"),u).test(t)});return d!==-1?o.configFileSpecs.validatedIncludeSpecsBeforeSubstitution[d]:void 0}function eq(e,t,r){var i,o;const s=e.getCompilerOptions();if(uT(t)){const l=TP(e,t),u=KD(l)?l.file.text.substring(l.pos,l.end):'"'.concat(l.text,'"');let d;switch(C.assert(KD(l)||t.kind===3,"Only synthetic references are imports"),t.kind){case 3:KD(l)?d=l.packageId?f.Imported_via_0_from_file_1_with_packageId_2:f.Imported_via_0_from_file_1:l.text===vb?d=l.packageId?f.Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:f.Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:d=l.packageId?f.Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:f.Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions;break;case 4:C.assert(!l.packageId),d=f.Referenced_via_0_from_file_1;break;case 5:d=l.packageId?f.Type_library_referenced_via_0_from_file_1_with_packageId_2:f.Type_library_referenced_via_0_from_file_1;break;case 7:C.assert(!l.packageId),d=f.Library_referenced_via_0_from_file_1;break;default:C.assertNever(t)}return Ko(void 0,d,u,YD(l.file,r),l.packageId&&O0(l.packageId))}switch(t.kind){case 0:if(!((i=s.configFile)!=null&&i.configFileSpecs))return Ko(void 0,f.Root_file_specified_for_compilation);const l=Eo(e.getRootFileNames()[t.index],e.getCurrentDirectory());if(QH(e,l))return Ko(void 0,f.Part_of_files_list_in_tsconfig_json);const d=ZH(e,l);return jo(d)?Ko(void 0,f.Matched_by_include_pattern_0_in_1,d,YD(s.configFile,r)):Ko(void 0,d?f.Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:f.Root_file_specified_for_compilation);case 1:case 2:const _=t.kind===2,m=C.checkDefined((o=e.getResolvedProjectReferences())==null?void 0:o[t.index]);return Ko(void 0,s.outFile?_?f.Output_from_referenced_project_0_included_because_1_specified:f.Source_from_referenced_project_0_included_because_1_specified:_?f.Output_from_referenced_project_0_included_because_module_is_specified_as_none:f.Source_from_referenced_project_0_included_because_module_is_specified_as_none,YD(m.sourceFile.fileName,r),s.outFile?"--outFile":"--out");case 8:{const y=s.types?t.packageId?[f.Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1,t.typeReference,O0(t.packageId)]:[f.Entry_point_of_type_library_0_specified_in_compilerOptions,t.typeReference]:t.packageId?[f.Entry_point_for_implicit_type_library_0_with_packageId_1,t.typeReference,O0(t.packageId)]:[f.Entry_point_for_implicit_type_library_0,t.typeReference];return Ko(void 0,...y)}case 6:{if(t.index!==void 0)return Ko(void 0,f.Library_0_specified_in_compilerOptions,s.lib[t.index]);const y=B6(Va(s)),E=y?[f.Default_library_for_target_0,y]:[f.Default_library];return Ko(void 0,...E)}default:C.assertNever(t)}}function YD(e,t){const r=jo(e)?e:e.fileName;return t?t(r):r}function q3(e,t,r,i,o,s,l,u){const d=e.getCompilerOptions(),_=e.getConfigFileParsingDiagnostics().slice(),m=_.length;$r(_,e.getSyntacticDiagnostics(void 0,s)),_.length===m&&($r(_,e.getOptionsDiagnostics(s)),d.listFilesOnly||($r(_,e.getGlobalDiagnostics(s)),_.length===m&&$r(_,e.getSemanticDiagnostics(void 0,s)),d.noEmit&&vp(d)&&_.length===m&&$r(_,e.getDeclarationDiagnostics(void 0,s))));const y=d.listFilesOnly?{emitSkipped:!0,diagnostics:se}:e.emit(void 0,o,s,l,u);$r(_,y.diagnostics);const E=WR(_);if(E.forEach(t),r){const A=e.getCurrentDirectory();Xe(y.emittedFiles,R=>{const N=Eo(R,A);r("TSFILE: ".concat(N))}),bJe(e,r)}return i&&i(U3(E),H3(E)),{emitResult:y,diagnostics:E}}function tq(e,t,r,i,o,s,l,u){const{emitResult:d,diagnostics:_}=q3(e,t,r,i,o,s,l,u);return d.emitSkipped&&_.length>0?1:_.length>0?2:0}var $D={close:vs},EP=()=>$D;function nq(e=Vc,t){return{onWatchStatusChange:t||qH(e),watchFile:la(e,e.watchFile)||EP,watchDirectory:la(e,e.watchDirectory)||EP,setTimeout:la(e,e.setTimeout)||vs,clearTimeout:la(e,e.clearTimeout)||vs,preferNonRecursiveWatch:e.preferNonRecursiveWatch}}var sd={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",TypingInstallerLocationFile:"File location for typing installer",TypingInstallerLocationDirectory:"Directory location for typing installer"};function rq(e,t){const r=e.trace?t.extendedDiagnostics?2:t.diagnostics?1:0:0,i=r!==0?s=>e.trace(s):vs,o=bH(e,r,i);return o.writeLog=i,o}function iq(e,t,r=e){const i=e.useCaseSensitiveFileNames(),o={getSourceFile:EH((s,l)=>l?e.readFile(s,l):o.readFile(s),void 0),getDefaultLibLocation:la(e,e.getDefaultLibLocation),getDefaultLibFileName:s=>e.getDefaultLibFileName(s),writeFile:AH((s,l,u)=>e.writeFile(s,l,u),s=>e.createDirectory(s),s=>e.directoryExists(s)),getCurrentDirectory:Lu(()=>e.getCurrentDirectory()),useCaseSensitiveFileNames:()=>i,getCanonicalFileName:Fd(i),getNewLine:()=>lv(t()),fileExists:s=>e.fileExists(s),readFile:s=>e.readFile(s),trace:la(e,e.trace),directoryExists:la(r,r.directoryExists),getDirectories:la(r,r.getDirectories),realpath:la(e,e.realpath),getEnvironmentVariable:la(e,e.getEnvironmentVariable)||(()=>""),createHash:la(e,e.createHash),readDirectory:la(e,e.readDirectory),storeSignatureInfo:e.storeSignatureInfo,jsDocParsingMode:e.jsDocParsingMode};return o}function J3(e,t){if(t.match(Iae)){let r=t.length,i=r;for(let o=r-1;o>=0;o--){const s=t.charCodeAt(o);switch(s){case 10:o&&t.charCodeAt(o-1)===13&&o--;case 13:break;default:if(s<127||!eu(s)){i=o;continue}break}const l=t.substring(i,r);if(l.match(JU)){t=t.substring(0,i);break}else if(!l.match(KU))break;r=i}}return(e.createHash||E2)(t)}function K3(e){const t=e.getSourceFile;e.getSourceFile=(...r)=>{const i=t.call(e,...r);return i&&(i.version=J3(e,i.text)),i}}function oq(e,t){const r=Lu(()=>pi(Sa(e.getExecutingFilePath())));return{useCaseSensitiveFileNames:()=>e.useCaseSensitiveFileNames,getNewLine:()=>e.newLine,getCurrentDirectory:Lu(()=>e.getCurrentDirectory()),getDefaultLibLocation:r,getDefaultLibFileName:i=>ei(r(),N2(i)),fileExists:i=>e.fileExists(i),readFile:(i,o)=>e.readFile(i,o),directoryExists:i=>e.directoryExists(i),getDirectories:i=>e.getDirectories(i),readDirectory:(i,o,s,l,u)=>e.readDirectory(i,o,s,l,u),realpath:la(e,e.realpath),getEnvironmentVariable:la(e,e.getEnvironmentVariable),trace:i=>e.write(i+e.newLine),createDirectory:i=>e.createDirectory(i),writeFile:(i,o,s)=>e.writeFile(i,o,s),createHash:la(e,e.createHash),createProgram:t||VH,storeSignatureInfo:e.storeSignatureInfo,now:la(e,e.now)}}function gIe(e=Vc,t,r,i){const o=l=>e.write(l+e.newLine),s=oq(e,t);return QB(s,nq(e,i)),s.afterProgramCreate=l=>{const u=l.getCompilerOptions(),d=lv(u);q3(l,r,o,_=>s.onWatchStatusChange(Dl(JH(_),_),d,u,_))},s}function yIe(e,t,r){t(r),e.exit(1)}function aq({configFileName:e,optionsToExtend:t,watchOptionsToExtend:r,extraFileExtensions:i,system:o,createProgram:s,reportDiagnostic:l,reportWatchStatus:u}){const d=l||ux(o),_=gIe(o,s,d,u);return _.onUnRecoverableConfigFileDiagnostic=m=>yIe(o,d,m),_.configFileName=e,_.optionsToExtend=t,_.watchOptionsToExtend=r,_.extraFileExtensions=i,_}function sq({rootFiles:e,options:t,watchOptions:r,projectReferences:i,system:o,createProgram:s,reportDiagnostic:l,reportWatchStatus:u}){const d=gIe(o,s,l||ux(o),u);return d.rootFiles=e,d.options=t,d.watchOptions=r,d.projectReferences=i,d}function tle(e){const t=e.system||Vc,r=e.host||(e.host=Y3(e.options,t)),i=nle(e),o=tq(i,e.reportDiagnostic||ux(t),s=>r.trace&&r.trace(s),e.reportErrorSummary||e.options.pretty?(s,l)=>t.write(KH(s,l,t.newLine,r)):void 0);return e.afterProgramEmitAndDiagnostics&&e.afterProgramEmitAndDiagnostics(i),o}function X3(e,t){const r=dT(e);if(!r)return;let i;if(t.getBuildInfo)i=t.getBuildInfo(r,e.configFilePath);else{const o=t.readFile(r);if(!o)return;i=_H(r,o)}if(!(!i||i.version!==Me||!lO(i)))return Hse(i,r,t)}function Y3(e,t=Vc){const r=N3(e,void 0,t);return r.createHash=la(t,t.createHash),r.storeSignatureInfo=t.storeSignatureInfo,K3(r),vP(r,i=>Ws(i,r.getCurrentDirectory(),r.getCanonicalFileName)),r}function nle({rootNames:e,options:t,configFileParsingDiagnostics:r,projectReferences:i,host:o,createProgram:s}){o=o||Y3(t),s=s||VH;const l=X3(t,o);return s(e,t,o,l,r,i)}function vIe(e,t,r,i,o,s,l,u){return Lo(e)?sq({rootFiles:e,options:t,watchOptions:u,projectReferences:l,system:r,createProgram:i,reportDiagnostic:o,reportWatchStatus:s}):aq({configFileName:e,optionsToExtend:t,watchOptionsToExtend:l,extraFileExtensions:u,system:r,createProgram:i,reportDiagnostic:o,reportWatchStatus:s})}function lq(e){let t,r,i,o,s=new Map([[void 0,void 0]]),l,u,d,_,m=e.extendedConfigCache,y=!1;const E=new Map;let A,R=!1;const N=e.useCaseSensitiveFileNames(),M=e.getCurrentDirectory(),{configFileName:k,optionsToExtend:F={},watchOptionsToExtend:O,extraFileExtensions:G,createProgram:j}=e;let{rootFiles:K,options:Q,watchOptions:J,projectReferences:he}=e,re,q,ue=!1,de=!1;const ge=k===void 0?void 0:R3(e,M,N),Ae=ge||e,Re=F3(e,Ae);let $=Hn();k&&e.configFileParsingResult&&(Pn(e.configFileParsingResult),$=Hn()),Ci(f.Starting_compilation_in_watch_mode),k&&!e.configFileParsingResult&&($=lv(F),C.assert(!K),Da(),$=Hn()),C.assert(Q),C.assert(K);const{watchFile:ve,watchDirectory:je,writeLog:be}=rq(e,Q),ee=Fd(N);be("Current directory: ".concat(M," CaseSensitiveFileNames: ").concat(N));let Se;k&&(Se=ve(k,pr,2e3,J,sd.ConfigFile));const Ne=iq(e,()=>Q,Ae);K3(Ne);const ze=Ne.getSourceFile;Ne.getSourceFile=(Nt,...Wt)=>_o(Nt,gt(Nt),...Wt),Ne.getSourceFileByPath=_o,Ne.getNewLine=()=>$,Ne.fileExists=Ri,Ne.onReleaseOldSourceFile=go,Ne.onReleaseParsedCommandLine=Bt,Ne.toPath=gt,Ne.getCompilationSettings=()=>Q,Ne.useSourceOfProjectReferenceRedirect=la(e,e.useSourceOfProjectReferenceRedirect),Ne.preferNonRecursiveWatch=e.preferNonRecursiveWatch,Ne.watchDirectoryOfFailedLookupLocation=(Nt,Wt,rt)=>je(Nt,Wt,rt,J,sd.FailedLookupLocations),Ne.watchAffectingFileLocation=(Nt,Wt)=>ve(Nt,Wt,2e3,J,sd.AffectingFileLocation),Ne.watchTypeRootsDirectory=(Nt,Wt,rt)=>je(Nt,Wt,rt,J,sd.TypeRoots),Ne.getCachedDirectoryStructureHost=()=>ge,Ne.scheduleInvalidateResolutionsOfFailedLookupLocations=Qe,Ne.onInvalidatedResolution=hn,Ne.onChangedAutomaticTypeDirectiveNames=hn,Ne.fileIsOpen=ry,Ne.getCurrentProgram=ot,Ne.writeLog=be,Ne.getParsedCommandLine=qo;const lt=HH(Ne,k?pi(Eo(k,M)):M,!1);Ne.resolveModuleNameLiterals=la(e,e.resolveModuleNameLiterals),Ne.resolveModuleNames=la(e,e.resolveModuleNames),!Ne.resolveModuleNameLiterals&&!Ne.resolveModuleNames&&(Ne.resolveModuleNameLiterals=lt.resolveModuleNameLiterals.bind(lt)),Ne.resolveTypeReferenceDirectiveReferences=la(e,e.resolveTypeReferenceDirectiveReferences),Ne.resolveTypeReferenceDirectives=la(e,e.resolveTypeReferenceDirectives),!Ne.resolveTypeReferenceDirectiveReferences&&!Ne.resolveTypeReferenceDirectives&&(Ne.resolveTypeReferenceDirectiveReferences=lt.resolveTypeReferenceDirectiveReferences.bind(lt)),Ne.resolveLibrary=e.resolveLibrary?e.resolveLibrary.bind(e):lt.resolveLibrary.bind(lt),Ne.getModuleResolutionCache=e.resolveModuleNameLiterals||e.resolveModuleNames?la(e,e.getModuleResolutionCache):()=>lt.getModuleResolutionCache();const De=!!e.resolveModuleNameLiterals||!!e.resolveTypeReferenceDirectiveReferences||!!e.resolveModuleNames||!!e.resolveTypeReferenceDirectives?la(e,e.hasInvalidatedResolutions)||dS:ry,_e=e.resolveLibrary?la(e,e.hasInvalidatedLibResolutions)||dS:ry;return t=X3(Q,Ne),Ot(),k?{getCurrentProgram:Be,getProgram:di,close:Ve,getResolutionCache:Ge}:{getCurrentProgram:Be,getProgram:di,updateRootFileNames:mn,close:Ve,getResolutionCache:Ge};function Ve(){Ur(),lt.clear(),yp(E,Nt=>{Nt&&Nt.fileWatcher&&(Nt.fileWatcher.close(),Nt.fileWatcher=void 0)}),Se&&(Se.close(),Se=void 0),m==null||m.clear(),m=void 0,_&&(yp(_,Xf),_=void 0),o&&(yp(o,Xf),o=void 0),i&&(yp(i,jm),i=void 0),d&&(yp(d,Nt=>{var Wt;(Wt=Nt.watcher)==null||Wt.close(),Nt.watcher=void 0,Nt.watchedDirectories&&yp(Nt.watchedDirectories,Xf),Nt.watchedDirectories=void 0}),d=void 0),t=void 0}function Ge(){return lt}function Be(){return t}function ot(){return t&&t.getProgramOrUndefined()}function Ot(){be("Synchronizing program"),C.assert(Q),C.assert(K),Ur();const Nt=Be();R&&($=Hn(),Nt&&PF(Nt.getCompilerOptions(),Q)&<.onChangesAffectModuleResolution());const{hasInvalidatedResolutions:Wt,hasInvalidatedLibResolutions:rt}=lt.createHasInvalidatedResolutions(De,_e),{originalReadFile:Zt,originalFileExists:Rr,originalDirectoryExists:Oe,originalCreateDirectory:At,originalWriteFile:ye,readFileWithCache:B}=vP(Ne,gt);return MH(ot(),K,Q,xe=>Qr(xe,B),xe=>Ne.fileExists(xe),Wt,rt,Cr,qo,he)?de&&(y&&Ci(f.File_change_detected_Starting_incremental_compilation),t=j(void 0,void 0,Ne,t,q,he),de=!1):(y&&Ci(f.File_change_detected_Starting_incremental_compilation),Vt(Wt,rt)),y=!1,e.afterProgramCreate&&Nt!==t&&e.afterProgramCreate(t),Ne.readFile=Zt,Ne.fileExists=Rr,Ne.directoryExists=Oe,Ne.createDirectory=At,Ne.writeFile=ye,s==null||s.forEach((xe,te)=>{if(!te)dt(),k&&He(gt(k),Q,J,sd.ExtendedConfigFile);else{const xt=d==null?void 0:d.get(te);xt&&Ct(xe,te,xt)}}),s=void 0,t}function Vt(Nt,Wt){be("CreatingProgramWith::"),be(" roots: ".concat(JSON.stringify(K))),be(" options: ".concat(JSON.stringify(Q))),he&&be(" projectReferences: ".concat(JSON.stringify(he)));const rt=R||!ot();R=!1,de=!1,lt.startCachingPerDirectoryResolution(),Ne.hasInvalidatedResolutions=Nt,Ne.hasInvalidatedLibResolutions=Wt,Ne.hasChangedAutomaticTypeDirectiveNames=Cr;const Zt=ot();if(t=j(K,Q,Ne,t,q,he),lt.finishCachingPerDirectoryResolution(t.getProgram(),Zt),vH(t.getProgram(),i||(i=new Map),We),rt&<.updateTypeRootsWatch(),A){for(const Rr of A)i.has(Rr)||E.delete(Rr);A=void 0}}function mn(Nt){C.assert(!k,"Cannot update root file names with config file watch mode"),K=Nt,hn()}function Hn(){return lv(Q||F)}function gt(Nt){return Ws(Nt,M,ee)}function tn(Nt){return typeof Nt=="boolean"}function ir(Nt){return typeof Nt.version=="boolean"}function Ri(Nt){const Wt=gt(Nt);return tn(E.get(Wt))?!1:Ae.fileExists(Nt)}function _o(Nt,Wt,rt,Zt,Rr){const Oe=E.get(Wt);if(tn(Oe))return;const At=typeof rt=="object"?rt.impliedNodeFormat:void 0;if(Oe===void 0||Rr||ir(Oe)||Oe.sourceFile.impliedNodeFormat!==At){const ye=ze(Nt,rt,Zt);if(Oe)ye?(Oe.sourceFile=ye,Oe.version=ye.version,Oe.fileWatcher||(Oe.fileWatcher=ce(Wt,Nt,_t,250,J,sd.SourceFile))):(Oe.fileWatcher&&Oe.fileWatcher.close(),E.set(Wt,!1));else if(ye){const B=ce(Wt,Nt,_t,250,J,sd.SourceFile);E.set(Wt,{sourceFile:ye,version:ye.version,fileWatcher:B})}else E.set(Wt,!1);return ye}return Oe.sourceFile}function Ht(Nt){const Wt=E.get(Nt);Wt!==void 0&&(tn(Wt)?E.set(Nt,{version:!1}):Wt.version=!1)}function Qr(Nt,Wt){const rt=E.get(Nt);if(!rt)return;if(rt.version)return rt.version;const Zt=Wt(Nt);return Zt!==void 0?J3(Ne,Zt):void 0}function go(Nt,Wt,rt){const Zt=E.get(Nt.resolvedPath);Zt!==void 0&&(tn(Zt)?(A||(A=[])).push(Nt.path):Zt.sourceFile===Nt&&(Zt.fileWatcher&&Zt.fileWatcher.close(),E.delete(Nt.resolvedPath),rt||lt.removeResolutionsOfFile(Nt.path)))}function Ci(Nt){e.onWatchStatusChange&&e.onWatchStatusChange(Dl(Nt),$,Q||F)}function Cr(){return lt.hasChangedAutomaticTypeDirectiveNames()}function Ur(){return u?(e.clearTimeout(u),u=void 0,!0):!1}function Qe(){if(!e.setTimeout||!e.clearTimeout)return lt.invalidateResolutionsOfFailedLookupLocations();const Nt=Ur();be("Scheduling invalidateFailedLookup".concat(Nt?", Cancelled earlier one":"")),u=e.setTimeout(It,250,"timerToInvalidateFailedLookupResolutions")}function It(){u=void 0,lt.invalidateResolutionsOfFailedLookupLocations()&&hn()}function hn(){!e.setTimeout||!e.clearTimeout||(l&&e.clearTimeout(l),be("Scheduling update"),l=e.setTimeout(oi,250,"timerToUpdateProgram"))}function pr(){C.assert(!!k),r=2,hn()}function oi(){l=void 0,y=!0,di()}function di(){switch(r){case 1:Ki();break;case 2:Zo();break;default:Ot();break}return Be()}function Ki(){be("Reloading new file names and options"),C.assert(Q),C.assert(k),r=0,K=tP(Q.configFile.configFileSpecs,Eo(pi(k),M),Q,Re,G),Z4(K,Eo(k,M),Q.configFile.configFileSpecs,q,ue)&&(de=!0),Ot()}function Zo(){C.assert(k),be("Reloading config file: ".concat(k)),r=0,ge&&ge.clearCache(),Da(),R=!0,(s!=null?s:s=new Map).set(void 0,void 0),Ot()}function Da(){C.assert(k),Pn(kw(k,F,Re,m||(m=new Map),O,G))}function Pn(Nt){K=Nt.fileNames,Q=Nt.options,J=Nt.watchOptions,he=Nt.projectReferences,re=Nt.wildcardDirectories,q=QS(Nt).slice(),ue=zw(Nt.raw),de=!0}function qo(Nt){const Wt=gt(Nt);let rt=d==null?void 0:d.get(Wt);if(rt){if(!rt.updateLevel)return rt.parsedCommandLine;if(rt.parsedCommandLine&&rt.updateLevel===1&&!e.getParsedCommandLine){be("Reloading new file names and options"),C.assert(Q);const Rr=tP(rt.parsedCommandLine.options.configFile.configFileSpecs,Eo(pi(Nt),M),Q,Re);return rt.parsedCommandLine={...rt.parsedCommandLine,fileNames:Rr},rt.updateLevel=void 0,rt.parsedCommandLine}}be("Loading config file: ".concat(Nt));const Zt=e.getParsedCommandLine?e.getParsedCommandLine(Nt):at(Nt);return rt?(rt.parsedCommandLine=Zt,rt.updateLevel=void 0):(d||(d=new Map)).set(Wt,rt={parsedCommandLine:Zt}),(s!=null?s:s=new Map).set(Wt,Nt),Zt}function at(Nt){const Wt=Re.onUnRecoverableConfigFileDiagnostic;Re.onUnRecoverableConfigFileDiagnostic=vs;const rt=kw(Nt,void 0,Re,m||(m=new Map),O);return Re.onUnRecoverableConfigFileDiagnostic=Wt,rt}function Bt(Nt){var Wt;const rt=gt(Nt),Zt=d==null?void 0:d.get(rt);Zt&&(d.delete(rt),Zt.watchedDirectories&&yp(Zt.watchedDirectories,Xf),(Wt=Zt.watcher)==null||Wt.close(),yH(rt,_))}function ce(Nt,Wt,rt,Zt,Rr,Oe){return ve(Wt,(At,ye)=>rt(At,ye,Nt),Zt,Rr,Oe)}function _t(Nt,Wt,rt){ie(Nt,rt,Wt),Wt===2&&E.has(rt)&<.invalidateResolutionOfFile(rt),Ht(rt),hn()}function ie(Nt,Wt,rt){ge&&ge.addOrDeleteFile(Nt,Wt,rt)}function We(Nt,Wt){return d!=null&&d.has(Nt)?$D:ce(Nt,Wt,it,500,J,sd.MissingFile)}function it(Nt,Wt,rt){ie(Nt,rt,Wt),Wt===0&&i.has(rt)&&(i.get(rt).close(),i.delete(rt),Ht(rt),hn())}function dt(){tO(o||(o=new Map),re,Lt)}function Lt(Nt,Wt){return je(Nt,rt=>{C.assert(k),C.assert(Q);const Zt=gt(rt);ge&&ge.addOrDeleteFileOrDirectory(rt,Zt),Ht(Zt),!nO({watchedDirPath:gt(Nt),fileOrDirectory:rt,fileOrDirectoryPath:Zt,configFileName:k,extraFileExtensions:G,options:Q,program:Be()||K,currentDirectory:M,useCaseSensitiveFileNames:N,writeLog:be,toPath:gt})&&r!==2&&(r=1,hn())},Wt,J,sd.WildcardDirectory)}function He(Nt,Wt,rt,Zt){D3(Nt,Wt,_||(_=new Map),(Rr,Oe)=>ve(Rr,(At,ye)=>{var B;ie(Rr,Oe,ye),m&&C3(m,Oe,gt);const xe=(B=_.get(Oe))==null?void 0:B.projects;xe!=null&&xe.size&&xe.forEach(te=>{if(k&>(k)===te)r=2;else{const xt=d==null?void 0:d.get(te);xt&&(xt.updateLevel=2),lt.removeResolutionsFromProjectReferenceRedirects(te)}hn()})},2e3,rt,Zt),gt)}function Ct(Nt,Wt,rt){var Zt,Rr,Oe,At;rt.watcher||(rt.watcher=ve(Nt,(ye,B)=>{ie(Nt,Wt,B);const xe=d==null?void 0:d.get(Wt);xe&&(xe.updateLevel=2),lt.removeResolutionsFromProjectReferenceRedirects(Wt),hn()},2e3,((Zt=rt.parsedCommandLine)==null?void 0:Zt.watchOptions)||J,sd.ConfigFileOfReferencedProject)),tO(rt.watchedDirectories||(rt.watchedDirectories=new Map),(Rr=rt.parsedCommandLine)==null?void 0:Rr.wildcardDirectories,(ye,B)=>{var xe;return je(ye,te=>{const xt=gt(te);ge&&ge.addOrDeleteFileOrDirectory(te,xt),Ht(xt);const $t=d==null?void 0:d.get(Wt);$t!=null&&$t.parsedCommandLine&&(nO({watchedDirPath:gt(ye),fileOrDirectory:te,fileOrDirectoryPath:xt,configFileName:Nt,options:$t.parsedCommandLine.options,program:$t.parsedCommandLine.fileNames,currentDirectory:M,useCaseSensitiveFileNames:N,writeLog:be,toPath:gt})||$t.updateLevel!==2&&($t.updateLevel=1,hn()))},B,((xe=rt.parsedCommandLine)==null?void 0:xe.watchOptions)||J,sd.WildcardDirectoryOfReferencedProject)}),He(Wt,(Oe=rt.parsedCommandLine)==null?void 0:Oe.options,((At=rt.parsedCommandLine)==null?void 0:At.watchOptions)||J,sd.ExtendedConfigOfReferencedProject)}}var rle=(e=>(e[e.Unbuildable=0]="Unbuildable",e[e.UpToDate=1]="UpToDate",e[e.UpToDateWithUpstreamTypes=2]="UpToDateWithUpstreamTypes",e[e.OutputMissing=3]="OutputMissing",e[e.ErrorReadingFile=4]="ErrorReadingFile",e[e.OutOfDateWithSelf=5]="OutOfDateWithSelf",e[e.OutOfDateWithUpstream=6]="OutOfDateWithUpstream",e[e.OutOfDateBuildInfoWithPendingEmit=7]="OutOfDateBuildInfoWithPendingEmit",e[e.OutOfDateBuildInfoWithErrors=8]="OutOfDateBuildInfoWithErrors",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))(rle||{});function cq(e){return xl(e,".json")?e:ei(e,"tsconfig.json")}var TJe=new Date(-864e13);function SJe(e,t,r){const i=e.get(t);let o;return i||(o=r(),e.set(t,o)),i||o}function ile(e,t){return SJe(e,t,()=>new Map)}function dq(e){return e.now?e.now():new Date}function px(e){return!!e&&!!e.buildOrder}function uO(e){return px(e)?e.buildOrder:e}function $3(e,t){return r=>{let i=t?"[".concat($S(dO(e),"\x1B[90m"),"] "):"".concat(dO(e)," - ");i+="".concat(u_(r.messageText,e.newLine)).concat(e.newLine+e.newLine),e.write(i)}}function bIe(e,t,r,i){const o=oq(e,t);return o.getModifiedTime=e.getModifiedTime?s=>e.getModifiedTime(s):uS,o.setModifiedTime=e.setModifiedTime?(s,l)=>e.setModifiedTime(s,l):vs,o.deleteFile=e.deleteFile?s=>e.deleteFile(s):vs,o.reportDiagnostic=r||ux(e),o.reportSolutionBuilderStatus=i||$3(e),o.now=la(e,e.now),o}function ole(e=Vc,t,r,i,o){const s=bIe(e,t,r,i);return s.reportErrorSummary=o,s}function ale(e=Vc,t,r,i,o){const s=bIe(e,t,r,i),l=nq(e,o);return QB(s,l),s}function EJe(e){const t={};return V4.forEach(r=>{Ms(e,r.name)&&(t[r.name]=e[r.name])}),t.tscBuild=!0,t}function sle(e,t,r){return GIe(!1,e,t,r)}function lle(e,t,r,i){return GIe(!0,e,t,r,i)}function AJe(e,t,r,i,o){const s=t,l=t,u=EJe(i),d=iq(s,()=>N.projectCompilerOptions);K3(d),d.getParsedCommandLine=M=>QD(N,M,q_(N,M)),d.resolveModuleNameLiterals=la(s,s.resolveModuleNameLiterals),d.resolveTypeReferenceDirectiveReferences=la(s,s.resolveTypeReferenceDirectiveReferences),d.resolveLibrary=la(s,s.resolveLibrary),d.resolveModuleNames=la(s,s.resolveModuleNames),d.resolveTypeReferenceDirectives=la(s,s.resolveTypeReferenceDirectives),d.getModuleResolutionCache=la(s,s.getModuleResolutionCache);let _,m;!d.resolveModuleNameLiterals&&!d.resolveModuleNames&&(_=GD(d.getCurrentDirectory(),d.getCanonicalFileName),d.resolveModuleNameLiterals=(M,k,F,O,G)=>iO(M,k,F,O,G,s,_,CH),d.getModuleResolutionCache=()=>_),!d.resolveTypeReferenceDirectiveReferences&&!d.resolveTypeReferenceDirectives&&(m=a3(d.getCurrentDirectory(),d.getCanonicalFileName,void 0,_==null?void 0:_.getPackageJsonInfoCache(),_==null?void 0:_.optionsToRedirectsKey),d.resolveTypeReferenceDirectiveReferences=(M,k,F,O,G)=>iO(M,k,F,O,G,s,m,L3));let y;d.resolveLibrary||(y=GD(d.getCurrentDirectory(),d.getCanonicalFileName,void 0,_==null?void 0:_.getPackageJsonInfoCache()),d.resolveLibrary=(M,k,F)=>s3(M,k,F,s,y)),d.getBuildInfo=(M,k)=>PIe(N,M,q_(N,k),void 0);const{watchFile:E,watchDirectory:A,writeLog:R}=rq(l,i),N={host:s,hostWithWatch:l,parseConfigFileHost:F3(s),write:la(s,s.trace),options:i,baseCompilerOptions:u,rootNames:r,baseWatchOptions:o,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:d,moduleResolutionCache:_,typeReferenceDirectiveResolutionCache:m,libraryResolutionCache:y,buildOrder:void 0,readFileWithCache:M=>s.readFile(M),projectCompilerOptions:u,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:E,watchDirectory:A,writeLog:R};return N}function Km(e,t){return Ws(t,e.compilerHost.getCurrentDirectory(),e.compilerHost.getCanonicalFileName)}function q_(e,t){const{resolvedConfigFilePaths:r}=e,i=r.get(t);if(i!==void 0)return i;const o=Km(e,t);return r.set(t,o),o}function TIe(e){return!!e.options}function IJe(e,t){const r=e.configFileCache.get(t);return r&&TIe(r)?r:void 0}function QD(e,t,r){const{configFileCache:i}=e,o=i.get(r);if(o)return TIe(o)?o:void 0;Nl("SolutionBuilder::beforeConfigFileParsing");let s;const{parseConfigFileHost:l,baseCompilerOptions:u,baseWatchOptions:d,extendedConfigCache:_,host:m}=e;let y;return m.getParsedCommandLine?(y=m.getParsedCommandLine(t),y||(s=Dl(f.File_0_not_found,t))):(l.onUnRecoverableConfigFileDiagnostic=E=>s=E,y=kw(t,u,l,_,d),l.onUnRecoverableConfigFileDiagnostic=vs),i.set(r,y||s),Nl("SolutionBuilder::afterConfigFileParsing"),Of("SolutionBuilder::Config file parsing","SolutionBuilder::beforeConfigFileParsing","SolutionBuilder::afterConfigFileParsing"),y}function pO(e,t){return cq(db(e.compilerHost.getCurrentDirectory(),t))}function SIe(e,t){const r=new Map,i=new Map,o=[];let s,l;for(const d of t)u(d);return l?{buildOrder:s||se,circularDiagnostics:l}:s||se;function u(d,_){const m=q_(e,d);if(i.has(m))return;if(r.has(m)){_||(l||(l=[])).push(Dl(f.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0,o.join("\r\n")));return}r.set(m,!0),o.push(d);const y=QD(e,d,m);if(y&&y.projectReferences)for(const E of y.projectReferences){const A=pO(e,E.path);u(A,_||E.circular)}o.pop(),i.set(m,!0),(s||(s=[])).push(d)}}function Q3(e){return e.buildOrder||xJe(e)}function xJe(e){const t=SIe(e,e.rootNames.map(o=>pO(e,o)));e.resolvedConfigFilePaths.clear();const r=new Set(uO(t).map(o=>q_(e,o))),i={onDeleteValue:vs};return Eg(e.configFileCache,r,i),Eg(e.projectStatus,r,i),Eg(e.builderPrograms,r,i),Eg(e.diagnostics,r,i),Eg(e.projectPendingBuild,r,i),Eg(e.projectErrorsReported,r,i),Eg(e.buildInfoCache,r,i),Eg(e.outputTimeStamps,r,i),Eg(e.lastCachedPackageJsonLookups,r,i),e.watch&&(Eg(e.allWatchedConfigFiles,r,{onDeleteValue:jm}),e.allWatchedExtendedConfigFiles.forEach(o=>{o.projects.forEach(s=>{r.has(s)||o.projects.delete(s)}),o.close()}),Eg(e.allWatchedWildcardDirectories,r,{onDeleteValue:o=>o.forEach(Xf)}),Eg(e.allWatchedInputFiles,r,{onDeleteValue:o=>o.forEach(jm)}),Eg(e.allWatchedPackageJsonFiles,r,{onDeleteValue:o=>o.forEach(jm)})),e.buildOrder=t}function EIe(e,t,r){const i=t&&pO(e,t),o=Q3(e);if(px(o))return o;if(i){const l=q_(e,i);if(lo(o,d=>q_(e,d)===l)===-1)return}const s=i?SIe(e,[i]):o;return C.assert(!px(s)),C.assert(!r||i!==void 0),C.assert(!r||s[s.length-1]===i),r?s.slice(0,s.length-1):s}function AIe(e){e.cache&&cle(e);const{compilerHost:t,host:r}=e,i=e.readFileWithCache,o=t.getSourceFile,{originalReadFile:s,originalFileExists:l,originalDirectoryExists:u,originalCreateDirectory:d,originalWriteFile:_,getSourceFileWithCache:m,readFileWithCache:y}=vP(r,E=>Km(e,E),(...E)=>o.call(t,...E));e.readFileWithCache=y,t.getSourceFile=m,e.cache={originalReadFile:s,originalFileExists:l,originalDirectoryExists:u,originalCreateDirectory:d,originalWriteFile:_,originalReadFileWithCache:i,originalGetSourceFile:o}}function cle(e){if(!e.cache)return;const{cache:t,host:r,compilerHost:i,extendedConfigCache:o,moduleResolutionCache:s,typeReferenceDirectiveResolutionCache:l,libraryResolutionCache:u}=e;r.readFile=t.originalReadFile,r.fileExists=t.originalFileExists,r.directoryExists=t.originalDirectoryExists,r.createDirectory=t.originalCreateDirectory,r.writeFile=t.originalWriteFile,i.getSourceFile=t.originalGetSourceFile,e.readFileWithCache=t.originalReadFileWithCache,o.clear(),s==null||s.clear(),l==null||l.clear(),u==null||u.clear(),e.cache=void 0}function IIe(e,t){e.projectStatus.delete(t),e.diagnostics.delete(t)}function xIe({projectPendingBuild:e},t,r){const i=e.get(t);(i===void 0||i<r)&&e.set(t,r)}function RIe(e,t){if(!e.allProjectBuildPending)return;e.allProjectBuildPending=!1,e.options.watch&&yle(e,f.Starting_compilation_in_watch_mode),AIe(e),uO(Q3(e)).forEach(i=>e.projectPendingBuild.set(q_(e,i),0)),t&&t.throwIfCancellationRequested()}var dle=(e=>(e[e.Build=0]="Build",e[e.UpdateOutputFileStamps=1]="UpdateOutputFileStamps",e))(dle||{});function DIe(e,t){return e.projectPendingBuild.delete(t),e.diagnostics.has(t)?1:0}function RJe(e,t,r,i,o){let s=!0;return{kind:1,project:t,projectPath:r,buildOrder:o,getCompilerOptions:()=>i.options,getCurrentDirectory:()=>e.compilerHost.getCurrentDirectory(),updateOutputFileStatmps:()=>{kIe(e,i,r),s=!1},done:()=>(s&&kIe(e,i,r),Nl("SolutionBuilder::Timestamps only updates"),DIe(e,r))}}function DJe(e,t,r,i,o,s,l){let u=0,d,_;return{kind:0,project:t,projectPath:r,buildOrder:l,getCompilerOptions:()=>o.options,getCurrentDirectory:()=>e.compilerHost.getCurrentDirectory(),getBuilderProgram:()=>y(qs),getProgram:()=>y(M=>M.getProgramOrUndefined()),getSourceFile:M=>y(k=>k.getSourceFile(M)),getSourceFiles:()=>E(M=>M.getSourceFiles()),getOptionsDiagnostics:M=>E(k=>k.getOptionsDiagnostics(M)),getGlobalDiagnostics:M=>E(k=>k.getGlobalDiagnostics(M)),getConfigFileParsingDiagnostics:()=>E(M=>M.getConfigFileParsingDiagnostics()),getSyntacticDiagnostics:(M,k)=>E(F=>F.getSyntacticDiagnostics(M,k)),getAllDependencies:M=>E(k=>k.getAllDependencies(M)),getSemanticDiagnostics:(M,k)=>E(F=>F.getSemanticDiagnostics(M,k)),getSemanticDiagnosticsOfNextAffectedFile:(M,k)=>y(F=>F.getSemanticDiagnosticsOfNextAffectedFile&&F.getSemanticDiagnosticsOfNextAffectedFile(M,k)),emit:(M,k,F,O,G)=>M||O?y(j=>{var K,Q;return j.emit(M,k,F,O,G||((Q=(K=e.host).getCustomTransformers)==null?void 0:Q.call(K,t)))}):(N(0,F),R(k,F,G)),done:m};function m(M,k,F){return N(3,M,k,F),Nl("SolutionBuilder::Projects built"),DIe(e,r)}function y(M){return N(0),d&&M(d)}function E(M){return y(M)||se}function A(){var M,k,F;if(C.assert(d===void 0),e.options.dry){jp(e,f.A_non_dry_build_would_build_project_0,t),_=1,u=2;return}if(e.options.verbose&&jp(e,f.Building_project_0,t),o.fileNames.length===0){fO(e,r,QS(o)),_=0,u=2;return}const{host:O,compilerHost:G}=e;if(e.projectCompilerOptions=o.options,(M=e.moduleResolutionCache)==null||M.update(o.options),(k=e.typeReferenceDirectiveResolutionCache)==null||k.update(o.options),d=O.createProgram(o.fileNames,o.options,G,CJe(e,r,o),QS(o),o.projectReferences),e.watch){const j=(F=e.moduleResolutionCache)==null?void 0:F.getPackageJsonInfoCache().getInternalMap();e.lastCachedPackageJsonLookups.set(r,j&&new Set(Mo(j.values(),K=>e.host.realpath&&(o3(K)||K.directoryExists)?e.host.realpath(ei(K.packageDirectory,"package.json")):ei(K.packageDirectory,"package.json")))),e.builderPrograms.set(r,d)}u++}function R(M,k,F){var Ae;var O,G,j;C.assertIsDefined(d),C.assert(u===1);const{host:K,compilerHost:Q}=e,J=new Map,he=d.getCompilerOptions(),re=kS(he);let q,ue;const{emitResult:de,diagnostics:ge}=q3(d,Re=>K.reportDiagnostic(Re),e.write,void 0,(Re,$,ve,je,be,ee)=>{var Se;const Ne=Km(e,Re);if(J.set(Km(e,Re),Re),ee!=null&&ee.buildInfo){ue||(ue=dq(e.host));const lt=(Se=d.hasChangedEmitSignature)==null?void 0:Se.call(d),le=fq(e,Re,r);le?(le.buildInfo=ee.buildInfo,le.modifiedTime=ue,lt&&(le.latestChangedDtsTime=ue)):e.buildInfoCache.set(r,{path:Km(e,Re),buildInfo:ee.buildInfo,modifiedTime:ue,latestChangedDtsTime:lt?ue:void 0})}const ze=ee!=null&&ee.differsOnlyInMap?nI(e.host,Re):void 0;(M||Q.writeFile)(Re,$,ve,je,be,ee),ee!=null&&ee.differsOnlyInMap?e.host.setModifiedTime(Re,ze):!re&&e.watch&&(q||(q=ple(e,r))).set(Ne,ue||(ue=dq(e.host)))},k,void 0,F||((G=(O=e.host).getCustomTransformers)==null?void 0:G.call(O,t)));return(!he.noEmitOnError||!ge.length)&&(J.size||s.type!==8)&&LIe(e,o,r,f.Updating_unchanged_output_timestamps_of_project_0,J),e.projectErrorsReported.set(r,!0),_=(j=d.hasChangedEmitSignature)!=null&&j.call(d)?0:2,ge.length?(e.diagnostics.set(r,ge),e.projectStatus.set(r,{type:0,reason:"it had errors"}),_|=4):(e.diagnostics.delete(r),e.projectStatus.set(r,{type:1,oldestOutputFileName:(Ae=jW(J.values()))!=null?Ae:fH(o,!K.useCaseSensitiveFileNames())})),NJe(e,d),u=2,de}function N(M,k,F,O){for(;u<=M&&u<3;){const G=u;switch(u){case 0:A();break;case 1:R(F,k,O);break;case 2:kJe(e,t,r,i,o,l,C.checkDefined(_)),u++;break}C.assert(u>G)}}}function CIe(e,t,r){if(!e.projectPendingBuild.size||px(t))return;const{options:i,projectPendingBuild:o}=e;for(let s=0;s<t.length;s++){const l=t[s],u=q_(e,l),d=e.projectPendingBuild.get(u);if(d===void 0)continue;r&&(r=!1,UIe(e,t));const _=QD(e,l,u);if(!_){VIe(e,u),o.delete(u);continue}d===2?(FIe(e,l,u,_),zIe(e,u,_),BIe(e,l,u,_),_le(e,l,u,_),gle(e,l,u,_)):d===1&&(_.fileNames=tP(_.options.configFile.configFileSpecs,pi(l),_.options,e.parseConfigFileHost),Z4(_.fileNames,l,_.options.configFile.configFileSpecs,_.errors,zw(_.raw)),_le(e,l,u,_),gle(e,l,u,_));const m=mle(e,_,u);if(!i.force){if(m.type===1){hq(e,l,m),fO(e,u,QS(_)),o.delete(u),i.dry&&jp(e,f.Project_0_is_up_to_date,l);continue}if(m.type===2||m.type===15)return fO(e,u,QS(_)),{kind:1,status:m,project:l,projectPath:u,projectIndex:s,config:_}}if(m.type===12){hq(e,l,m),fO(e,u,QS(_)),o.delete(u),i.verbose&&jp(e,m.upstreamProjectBlocked?f.Skipping_build_of_project_0_because_its_dependency_1_was_not_built:f.Skipping_build_of_project_0_because_its_dependency_1_has_errors,l,m.upstreamProjectName);continue}if(m.type===16){hq(e,l,m),fO(e,u,QS(_)),o.delete(u);continue}return{kind:0,status:m,project:l,projectPath:u,projectIndex:s,config:_}}}function NIe(e,t,r){return hq(e,t.project,t.status),t.kind!==1?DJe(e,t.project,t.projectPath,t.projectIndex,t.config,t.status,r):RJe(e,t.project,t.projectPath,t.config,r)}function ule(e,t,r){const i=CIe(e,t,r);return i&&NIe(e,i,t)}function CJe({options:e,builderPrograms:t,compilerHost:r},i,o){if(e.force)return;const s=t.get(i);return s||X3(o.options,r)}function NJe(e,t){t&&(e.host.afterProgramEmitAndDiagnostics&&e.host.afterProgramEmitAndDiagnostics(t),t.releaseProgram()),e.projectCompilerOptions=e.baseCompilerOptions}function uq(e){return!!e.watcher}function MIe(e,t){const r=Km(e,t),i=e.filesWatched.get(r);if(e.watch&&i){if(!uq(i))return i;if(i.modifiedTime)return i.modifiedTime}const o=nI(e.host,t);return e.watch&&(i?i.modifiedTime=o:e.filesWatched.set(r,o)),o}function pq(e,t,r,i,o,s,l){const u=Km(e,t),d=e.filesWatched.get(u);if(d&&uq(d))d.callbacks.push(r);else{const _=e.watchFile(t,(m,y,E)=>{const A=C.checkDefined(e.filesWatched.get(u));C.assert(uq(A)),A.modifiedTime=E,A.callbacks.forEach(R=>R(m,y,E))},i,o,s,l);e.filesWatched.set(u,{callbacks:[r],watcher:_,modifiedTime:d})}return{close:()=>{const _=C.checkDefined(e.filesWatched.get(u));C.assert(uq(_)),_.callbacks.length===1?(e.filesWatched.delete(u),Xf(_)):eI(_.callbacks,r)}}}function ple(e,t){if(!e.watch)return;let r=e.outputTimeStamps.get(t);return r||e.outputTimeStamps.set(t,r=new Map),r}function fq(e,t,r){const i=Km(e,t),o=e.buildInfoCache.get(r);return(o==null?void 0:o.path)===i?o:void 0}function PIe(e,t,r,i){const o=Km(e,t),s=e.buildInfoCache.get(r);if(s!==void 0&&s.path===o)return s.buildInfo||void 0;const l=e.readFileWithCache(t),u=l?_H(t,l):void 0;return e.buildInfoCache.set(r,{path:o,buildInfo:u||!1,modifiedTime:i||Mp}),u}function fle(e,t,r,i){const o=MIe(e,t);if(r<o)return{type:5,outOfDateOutputFileName:i,newerInputFileName:t}}function MJe(e,t,r){var i,o,s,l,u;if(bU(t))return{type:16};let d;const _=!!e.options.force;if(t.projectReferences){e.projectStatus.set(r,{type:13});for(const ge of t.projectReferences){const Ae=dx(ge),Re=q_(e,Ae),$=QD(e,Ae,Re),ve=mle(e,$,Re);if(!(ve.type===13||ve.type===16)){if(e.options.stopBuildOnErrors&&(ve.type===0||ve.type===12))return{type:12,upstreamProjectName:ge.path,upstreamProjectBlocked:ve.type===12};_||(d||(d=[])).push({ref:ge,refStatus:ve,resolvedRefPath:Re,resolvedConfig:$})}}}if(_)return{type:17};const{host:m}=e,y=dT(t.options),E=kS(t.options);let A=fq(e,y,r);const R=(A==null?void 0:A.modifiedTime)||nI(m,y);if(R===Mp)return A||e.buildInfoCache.set(r,{path:Km(e,y),buildInfo:!1,modifiedTime:R}),{type:3,missingOutputFileName:y};const N=PIe(e,y,r,R);if(!N)return{type:4,fileName:y};const M=E&&lO(N)?N:void 0;if((M||!E)&&N.version!==Me)return{type:14,version:N.version};if(!t.options.noCheck&&(N.errors||N.checkPending))return{type:8,buildInfoFile:y};if(M){if(!t.options.noCheck&&((i=M.changeFileSet)!=null&&i.length||(o=M.semanticDiagnosticsPerFile)!=null&&o.length||vp(t.options)&&((s=M.emitDiagnosticsPerFile)!=null&&s.length)))return{type:8,buildInfoFile:y};if(!t.options.noEmit&&((l=M.changeFileSet)!=null&&l.length||(u=M.affectedFilesPendingEmit)!=null&&u.length||M.pendingEmit!==void 0))return{type:7,buildInfoFile:y};if((!t.options.noEmit||t.options.noEmit&&vp(t.options))&&B3(t.options,M.options||{},void 0,!!t.options.noEmit))return{type:9,buildInfoFile:y}}let k=R,F=y,O,G=TJe,j=!1;const K=new Set;let Q;for(const ge of t.fileNames){const Ae=MIe(e,ge);if(Ae===Mp)return{type:0,reason:"".concat(ge," does not exist")};const Re=Km(e,ge);if(R<Ae){let $,ve;if(M){Q||(Q=BH(M,y,m));const je=Q.roots.get(Re);$=Q.fileInfos.get(je!=null?je:Re);const be=$?e.readFileWithCache(je!=null?je:ge):void 0;ve=be!==void 0?J3(m,be):void 0,$&&$===ve&&(j=!0)}if(!$||$!==ve)return{type:5,outOfDateOutputFileName:y,newerInputFileName:ge}}Ae>G&&(O=ge,G=Ae),K.add(Re)}let J;if(M?(Q||(Q=BH(M,y,m)),J=Uc(Q.roots,(ge,Ae)=>K.has(Ae)?void 0:Ae)):J=Xe(qse(N,y,m),ge=>K.has(ge)?void 0:ge),J)return{type:10,buildInfoFile:y,inputFile:J};if(!E){const ge=x3(t,!m.useCaseSensitiveFileNames()),Ae=ple(e,r);for(const Re of ge){if(Re===y)continue;const $=Km(e,Re);let ve=Ae==null?void 0:Ae.get($);if(ve||(ve=nI(e.host,Re),Ae==null||Ae.set($,ve)),ve===Mp)return{type:3,missingOutputFileName:Re};if(ve<G)return{type:5,outOfDateOutputFileName:Re,newerInputFileName:O};ve<k&&(k=ve,F=Re)}}let he=!1;if(d)for(const{ref:ge,refStatus:Ae,resolvedConfig:Re,resolvedRefPath:$}of d){if(Ae.newestInputFileTime&&Ae.newestInputFileTime<=k)continue;if(PJe(e,A!=null?A:A=e.buildInfoCache.get(r),$))return{type:6,outOfDateOutputFileName:y,newerProjectName:ge.path};const ve=LJe(e,Re.options,$);if(ve&&ve<=k){he=!0;continue}return C.assert(F!==void 0,"Should have an oldest output filename here"),{type:6,outOfDateOutputFileName:F,newerProjectName:ge.path}}const re=fle(e,t.options.configFilePath,k,F);if(re)return re;const q=Xe(t.options.configFile.extendedSourceFiles||se,ge=>fle(e,ge,k,F));if(q)return q;const ue=e.lastCachedPackageJsonLookups.get(r),de=ue&&gg(ue,ge=>fle(e,ge,k,F));return de||{type:he?2:j?15:1,newestInputFileTime:G,newestInputFileName:O,oldestOutputFileName:F}}function PJe(e,t,r){return e.buildInfoCache.get(r).path===t.path}function mle(e,t,r){if(t===void 0)return{type:0,reason:"config file deleted mid-build"};const i=e.projectStatus.get(r);if(i!==void 0)return i;Nl("SolutionBuilder::beforeUpToDateCheck");const o=MJe(e,t,r);return Nl("SolutionBuilder::afterUpToDateCheck"),Of("SolutionBuilder::Up-to-date check","SolutionBuilder::beforeUpToDateCheck","SolutionBuilder::afterUpToDateCheck"),e.projectStatus.set(r,o),o}function LIe(e,t,r,i,o){if(t.options.noEmit)return;let s;const l=dT(t.options),u=kS(t.options);if(l&&u){o!=null&&o.has(Km(e,l))||(e.options.verbose&&jp(e,i,t.options.configFilePath),e.host.setModifiedTime(l,s=dq(e.host)),fq(e,l,r).modifiedTime=s),e.outputTimeStamps.delete(r);return}const{host:d}=e,_=x3(t,!d.useCaseSensitiveFileNames()),m=ple(e,r),y=m?new Set:void 0;if(!o||_.length!==o.size){let E=!!e.options.verbose;for(const A of _){const R=Km(e,A);o!=null&&o.has(R)||(E&&(E=!1,jp(e,i,t.options.configFilePath)),d.setModifiedTime(A,s||(s=dq(e.host))),A===l?fq(e,l,r).modifiedTime=s:m&&(m.set(R,s),y.add(R)))}}m==null||m.forEach((E,A)=>{!(o!=null&&o.has(A))&&!y.has(A)&&m.delete(A)})}function LJe(e,t,r){if(!t.composite)return;const i=C.checkDefined(e.buildInfoCache.get(r));if(i.latestChangedDtsTime!==void 0)return i.latestChangedDtsTime||void 0;const o=i.buildInfo&&lO(i.buildInfo)&&i.buildInfo.latestChangedDtsFile?e.host.getModifiedTime(Eo(i.buildInfo.latestChangedDtsFile,pi(i.path))):void 0;return i.latestChangedDtsTime=o||!1,o}function kIe(e,t,r){if(e.options.dry)return jp(e,f.A_non_dry_build_would_update_timestamps_for_output_of_project_0,t.options.configFilePath);LIe(e,t,r,f.Updating_output_timestamps_of_project_0),e.projectStatus.set(r,{type:1,oldestOutputFileName:fH(t,!e.host.useCaseSensitiveFileNames())})}function kJe(e,t,r,i,o,s,l){if(!(e.options.stopBuildOnErrors&&l&4)&&o.options.composite)for(let u=i+1;u<s.length;u++){const d=s[u],_=q_(e,d);if(e.projectPendingBuild.has(_))continue;const m=QD(e,d,_);if(!(!m||!m.projectReferences))for(const y of m.projectReferences){const E=pO(e,y.path);if(q_(e,E)!==r)continue;const A=e.projectStatus.get(_);if(A)switch(A.type){case 1:if(l&2){A.type=2;break}case 15:case 2:l&2||e.projectStatus.set(_,{type:6,outOfDateOutputFileName:A.oldestOutputFileName,newerProjectName:t});break;case 12:q_(e,pO(e,A.upstreamProjectName))===r&&IIe(e,_);break}xIe(e,_,0);break}}}function wIe(e,t,r,i,o,s){Nl("SolutionBuilder::beforeBuild");const l=wJe(e,t,r,i,o,s);return Nl("SolutionBuilder::afterBuild"),Of("SolutionBuilder::Build","SolutionBuilder::beforeBuild","SolutionBuilder::afterBuild"),l}function wJe(e,t,r,i,o,s){const l=EIe(e,t,s);if(!l)return 3;RIe(e,r);let u=!0,d=0;for(;;){const _=ule(e,l,u);if(!_)break;u=!1,_.done(r,i,o==null?void 0:o(_.project)),e.diagnostics.has(_.projectPath)||d++}return cle(e),jIe(e,l),zJe(e,l),px(l)?4:l.some(_=>e.diagnostics.has(q_(e,_)))?d?2:1:0}function OIe(e,t,r){Nl("SolutionBuilder::beforeClean");const i=OJe(e,t,r);return Nl("SolutionBuilder::afterClean"),Of("SolutionBuilder::Clean","SolutionBuilder::beforeClean","SolutionBuilder::afterClean"),i}function OJe(e,t,r){const i=EIe(e,t,r);if(!i)return 3;if(px(i))return mq(e,i.circularDiagnostics),4;const{options:o,host:s}=e,l=o.dry?[]:void 0;for(const u of i){const d=q_(e,u),_=QD(e,u,d);if(_===void 0){VIe(e,d);continue}const m=x3(_,!s.useCaseSensitiveFileNames());if(!m.length)continue;const y=new Set(_.fileNames.map(E=>Km(e,E)));for(const E of m)y.has(Km(e,E))||s.fileExists(E)&&(l?l.push(E):(s.deleteFile(E),hle(e,d,0)))}return l&&jp(e,f.A_non_dry_build_would_delete_the_following_files_Colon_0,l.map(u=>"\r\n * ".concat(u)).join("")),0}function hle(e,t,r){e.host.getParsedCommandLine&&r===1&&(r=2),r===2&&(e.configFileCache.delete(t),e.buildOrder=void 0),e.needsSummary=!0,IIe(e,t),xIe(e,t,r),AIe(e)}function Z3(e,t,r){e.reportFileChangeDetected=!0,hle(e,t,r),WIe(e,250,!0)}function WIe(e,t,r){const{hostWithWatch:i}=e;!i.setTimeout||!i.clearTimeout||(e.timerToBuildInvalidatedProject&&i.clearTimeout(e.timerToBuildInvalidatedProject),e.timerToBuildInvalidatedProject=i.setTimeout(WJe,t,"timerToBuildInvalidatedProject",e,r))}function WJe(e,t,r){Nl("SolutionBuilder::beforeBuild");const i=FJe(t,r);Nl("SolutionBuilder::afterBuild"),Of("SolutionBuilder::Build","SolutionBuilder::beforeBuild","SolutionBuilder::afterBuild"),i&&jIe(t,i)}function FJe(e,t){e.timerToBuildInvalidatedProject=void 0,e.reportFileChangeDetected&&(e.reportFileChangeDetected=!1,e.projectErrorsReported.clear(),yle(e,f.File_change_detected_Starting_incremental_compilation));let r=0;const i=Q3(e),o=ule(e,i,!1);if(o)for(o.done(),r++;e.projectPendingBuild.size;){if(e.timerToBuildInvalidatedProject)return;const s=CIe(e,i,!1);if(!s)break;if(s.kind!==1&&(t||r===5)){WIe(e,100,!1);return}NIe(e,s,i).done(),s.kind!==1&&r++}return cle(e),i}function FIe(e,t,r,i){!e.watch||e.allWatchedConfigFiles.has(r)||e.allWatchedConfigFiles.set(r,pq(e,t,()=>Z3(e,r,2),2e3,i==null?void 0:i.watchOptions,sd.ConfigFile,t))}function zIe(e,t,r){D3(t,r==null?void 0:r.options,e.allWatchedExtendedConfigFiles,(i,o)=>pq(e,i,()=>{var s;return(s=e.allWatchedExtendedConfigFiles.get(o))==null?void 0:s.projects.forEach(l=>Z3(e,l,2))},2e3,r==null?void 0:r.watchOptions,sd.ExtendedConfigFile),i=>Km(e,i))}function BIe(e,t,r,i){e.watch&&tO(ile(e.allWatchedWildcardDirectories,r),i.wildcardDirectories,(o,s)=>e.watchDirectory(o,l=>{var u;nO({watchedDirPath:Km(e,o),fileOrDirectory:l,fileOrDirectoryPath:Km(e,l),configFileName:t,currentDirectory:e.compilerHost.getCurrentDirectory(),options:i.options,program:e.builderPrograms.get(r)||((u=IJe(e,r))==null?void 0:u.fileNames),useCaseSensitiveFileNames:e.parseConfigFileHost.useCaseSensitiveFileNames,writeLog:d=>e.writeLog(d),toPath:d=>Km(e,d)})||Z3(e,r,1)},s,i==null?void 0:i.watchOptions,sd.WildcardDirectory,t))}function _le(e,t,r,i){e.watch&&vM(ile(e.allWatchedInputFiles,r),new Set(i.fileNames),{createNewValue:o=>pq(e,o,()=>Z3(e,r,0),250,i==null?void 0:i.watchOptions,sd.SourceFile,t),onDeleteValue:jm})}function gle(e,t,r,i){!e.watch||!e.lastCachedPackageJsonLookups||vM(ile(e.allWatchedPackageJsonFiles,r),e.lastCachedPackageJsonLookups.get(r),{createNewValue:o=>pq(e,o,()=>Z3(e,r,0),2e3,i==null?void 0:i.watchOptions,sd.PackageJson,t),onDeleteValue:jm})}function zJe(e,t){if(e.watchAllProjectsPending){Nl("SolutionBuilder::beforeWatcherCreation"),e.watchAllProjectsPending=!1;for(const r of uO(t)){const i=q_(e,r),o=QD(e,r,i);FIe(e,r,i,o),zIe(e,i,o),o&&(BIe(e,r,i,o),_le(e,r,i,o),gle(e,r,i,o))}Nl("SolutionBuilder::afterWatcherCreation"),Of("SolutionBuilder::Watcher creation","SolutionBuilder::beforeWatcherCreation","SolutionBuilder::afterWatcherCreation")}}function BJe(e){yp(e.allWatchedConfigFiles,jm),yp(e.allWatchedExtendedConfigFiles,Xf),yp(e.allWatchedWildcardDirectories,t=>yp(t,Xf)),yp(e.allWatchedInputFiles,t=>yp(t,jm)),yp(e.allWatchedPackageJsonFiles,t=>yp(t,jm))}function GIe(e,t,r,i,o){const s=AJe(e,t,r,i,o);return{build:(l,u,d,_)=>wIe(s,l,u,d,_),clean:l=>OIe(s,l),buildReferences:(l,u,d,_)=>wIe(s,l,u,d,_,!0),cleanReferences:l=>OIe(s,l,!0),getNextInvalidatedProject:l=>(RIe(s,l),ule(s,Q3(s),!1)),getBuildOrder:()=>Q3(s),getUpToDateStatusOfProject:l=>{const u=pO(s,l),d=q_(s,u);return mle(s,QD(s,u,d),d)},invalidateProject:(l,u)=>hle(s,l,u||0),close:()=>BJe(s)}}function Cd(e,t){return AN(t,e.compilerHost.getCurrentDirectory(),e.compilerHost.getCanonicalFileName)}function jp(e,t,...r){e.host.reportSolutionBuilderStatus(Dl(t,...r))}function yle(e,t,...r){var i,o;(o=(i=e.hostWithWatch).onWatchStatusChange)==null||o.call(i,Dl(t,...r),e.host.getNewLine(),e.baseCompilerOptions)}function mq({host:e},t){t.forEach(r=>e.reportDiagnostic(r))}function fO(e,t,r){mq(e,r),e.projectErrorsReported.set(t,!0),r.length&&e.diagnostics.set(t,r)}function VIe(e,t){fO(e,t,[e.configFileCache.get(t)])}function jIe(e,t){if(!e.needsSummary)return;e.needsSummary=!1;const r=e.watch||!!e.host.reportErrorSummary,{diagnostics:i}=e;let o=0,s=[];px(t)?(UIe(e,t.buildOrder),mq(e,t.circularDiagnostics),r&&(o+=U3(t.circularDiagnostics)),r&&(s=[...s,...H3(t.circularDiagnostics)])):(t.forEach(l=>{const u=q_(e,l);e.projectErrorsReported.has(u)||mq(e,i.get(u)||se)}),r&&i.forEach(l=>o+=U3(l)),r&&i.forEach(l=>[...s,...H3(l)])),e.watch?yle(e,JH(o),o):e.host.reportErrorSummary&&e.host.reportErrorSummary(o,s)}function UIe(e,t){e.options.verbose&&jp(e,f.Projects_in_this_build_Colon_0,t.map(r=>"\r\n * "+Cd(e,r)).join(""))}function GJe(e,t,r){switch(r.type){case 5:return jp(e,f.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,Cd(e,t),Cd(e,r.outOfDateOutputFileName),Cd(e,r.newerInputFileName));case 6:return jp(e,f.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,Cd(e,t),Cd(e,r.outOfDateOutputFileName),Cd(e,r.newerProjectName));case 3:return jp(e,f.Project_0_is_out_of_date_because_output_file_1_does_not_exist,Cd(e,t),Cd(e,r.missingOutputFileName));case 4:return jp(e,f.Project_0_is_out_of_date_because_there_was_error_reading_file_1,Cd(e,t),Cd(e,r.fileName));case 7:return jp(e,f.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted,Cd(e,t),Cd(e,r.buildInfoFile));case 8:return jp(e,f.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_program_needs_to_report_errors,Cd(e,t),Cd(e,r.buildInfoFile));case 9:return jp(e,f.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions,Cd(e,t),Cd(e,r.buildInfoFile));case 10:return jp(e,f.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more,Cd(e,t),Cd(e,r.buildInfoFile),Cd(e,r.inputFile));case 1:if(r.newestInputFileTime!==void 0)return jp(e,f.Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2,Cd(e,t),Cd(e,r.newestInputFileName||""),Cd(e,r.oldestOutputFileName||""));break;case 2:return jp(e,f.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,Cd(e,t));case 15:return jp(e,f.Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files,Cd(e,t));case 11:return jp(e,f.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,Cd(e,t),Cd(e,r.upstreamProjectName));case 12:return jp(e,r.upstreamProjectBlocked?f.Project_0_can_t_be_built_because_its_dependency_1_was_not_built:f.Project_0_can_t_be_built_because_its_dependency_1_has_errors,Cd(e,t),Cd(e,r.upstreamProjectName));case 0:return jp(e,f.Project_0_is_out_of_date_because_1,Cd(e,t),r.reason);case 14:return jp(e,f.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,Cd(e,t),r.version,Me);case 17:return jp(e,f.Project_0_is_being_forcibly_rebuilt,Cd(e,t))}}function hq(e,t,r){e.options.verbose&&GJe(e,t,r)}var vle=(e=>(e[e.time=0]="time",e[e.count=1]="count",e[e.memory=2]="memory",e))(vle||{});function VJe(e){const t=jJe();return Xe(e.getSourceFiles(),r=>{const i=UJe(e,r),o=dg(r).length;t.set(i,t.get(i)+o)}),t}function jJe(){const e=new Map;return e.set("Library",0),e.set("Definitions",0),e.set("TypeScript",0),e.set("JavaScript",0),e.set("JSON",0),e.set("Other",0),e}function UJe(e,t){if(e.isSourceFileDefaultLibrary(t))return"Library";if(t.isDeclarationFile)return"Definitions";const r=t.path;return Ql(r,UV)?"TypeScript":Ql(r,hD)?"JavaScript":xl(r,".json")?"JSON":"Other"}function _q(e,t,r){return e7(e,r)?ux(e,!0):t}function HIe(e){return!!e.writeOutputIsTTY&&e.writeOutputIsTTY()&&!e.getEnvironmentVariable("NO_COLOR")}function e7(e,t){return!t||typeof t.pretty>"u"?HIe(e):t.pretty}function qIe(e){return e.options.all?Cp(Jm.concat(N1),(t,r)=>y2(t.name,r.name)):Fn(Jm.concat(N1),t=>!!t.showInSimplifiedHelpView)}function gq(e){e.write(op(f.Version_0,Me)+e.newLine)}function yq(e){if(!HIe(e))return{bold:m=>m,blue:m=>m,blueBackground:m=>m,brightWhite:m=>m};function r(m){return"\x1B[1m".concat(m,"\x1B[22m")}const i=e.getEnvironmentVariable("OS")&&e.getEnvironmentVariable("OS").toLowerCase().includes("windows"),o=e.getEnvironmentVariable("WT_SESSION"),s=e.getEnvironmentVariable("TERM_PROGRAM")&&e.getEnvironmentVariable("TERM_PROGRAM")==="vscode";function l(m){return i&&!o&&!s?_(m):"\x1B[94m".concat(m,"\x1B[39m")}const u=e.getEnvironmentVariable("COLORTERM")==="truecolor"||e.getEnvironmentVariable("TERM")==="xterm-256color";function d(m){return u?"\x1B[48;5;68m".concat(m,"\x1B[39;49m"):"\x1B[44m".concat(m,"\x1B[39;49m")}function _(m){return"\x1B[97m".concat(m,"\x1B[39m")}return{bold:r,blue:l,brightWhite:_,blueBackground:d}}function JIe(e){return"--".concat(e.name).concat(e.shortName?", -".concat(e.shortName):"")}function HJe(e,t,r,i){var N;var o;const s=[],l=yq(e),u=JIe(t),d=R(t),_=typeof t.defaultValueDescription=="object"?op(t.defaultValueDescription):y(t.defaultValueDescription,t.type==="list"||t.type==="listOrElement"?t.element.type:t.type),m=(N=(o=e.getWidthOfTerminal)==null?void 0:o.call(e))!=null?N:0;if(m>=80){let M="";t.description&&(M=op(t.description)),s.push(...A(u,M,r,i,m,!0),e.newLine),E(d,t)&&(d&&s.push(...A(d.valueType,d.possibleValues,r,i,m,!1),e.newLine),_&&s.push(...A(op(f.default_Colon),_,r,i,m,!1),e.newLine)),s.push(e.newLine)}else{if(s.push(l.blue(u),e.newLine),t.description){const M=op(t.description);s.push(M)}if(s.push(e.newLine),E(d,t)){if(d&&s.push("".concat(d.valueType," ").concat(d.possibleValues)),_){d&&s.push(e.newLine);const M=op(f.default_Colon);s.push("".concat(M," ").concat(_))}s.push(e.newLine)}s.push(e.newLine)}return s;function y(M,k){return M!==void 0&&typeof k=="object"?Mo(k.entries()).filter(([,F])=>F===M).map(([F])=>F).join("/"):String(M)}function E(M,k){const F=["string"],O=[void 0,"false","n/a"],G=k.defaultValueDescription;return!(k.category===f.Command_line_Options||Vn(F,M==null?void 0:M.possibleValues)&&Vn(O,G))}function A(M,k,F,O,G,j){const K=[];let Q=!0,J=k;const he=G-O;for(;J.length>0;){let re="";Q?(re=M.padStart(F),re=re.padEnd(O),re=j?l.blue(re):re):re="".padStart(O);const q=J.substr(0,he);J=J.slice(he),K.push("".concat(re).concat(q)),Q=!1}return K}function R(M){if(M.type==="object")return;return{valueType:k(M),possibleValues:F(M)};function k(O){switch(C.assert(O.type!=="listOrElement"),O.type){case"string":case"number":case"boolean":return op(f.type_Colon);case"list":return op(f.one_or_more_Colon);default:return op(f.one_of_Colon)}}function F(O){let G;switch(O.type){case"string":case"number":case"boolean":G=O.type;break;case"list":case"listOrElement":G=F(O.element);break;case"object":G="";break;default:const j={};return O.type.forEach((K,Q)=>{var J;(J=O.deprecatedKeys)!=null&&J.has(Q)||(j[K]||(j[K]=[])).push(Q)}),Object.entries(j).map(([,K])=>K.join("/")).join(", ")}return G}}}function KIe(e,t){let r=0;for(const l of t){const u=JIe(l).length;r=r>u?r:u}const i=r+2,o=i+2;let s=[];for(const l of t){const u=HJe(e,l,i,o);s=[...s,...u]}return s[s.length-2]!==e.newLine&&s.push(e.newLine),s}function mO(e,t,r,i,o,s){var d;let l=[];if(l.push(yq(e).bold(t)+e.newLine+e.newLine),o&&l.push(o+e.newLine+e.newLine),!i)return l=[...l,...KIe(e,r)],s&&l.push(s+e.newLine+e.newLine),l;const u=new Map;for(const _ of r){if(!_.category)continue;const m=op(_.category),y=(d=u.get(m))!=null?d:[];y.push(_),u.set(m,y)}return u.forEach((_,m)=>{l.push("### ".concat(m).concat(e.newLine).concat(e.newLine)),l=[...l,...KIe(e,_)]}),s&&l.push(s+e.newLine+e.newLine),l}function qJe(e,t){const r=yq(e);let i=[...vq(e,"".concat(op(f.tsc_Colon_The_TypeScript_Compiler)," - ").concat(op(f.Version_0,Me)))];i.push(r.bold(op(f.COMMON_COMMANDS))+e.newLine+e.newLine),l("tsc",f.Compiles_the_current_project_tsconfig_json_in_the_working_directory),l("tsc app.ts util.ts",f.Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options),l("tsc -b",f.Build_a_composite_project_in_the_working_directory),l("tsc --init",f.Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory),l("tsc -p ./path/to/tsconfig.json",f.Compiles_the_TypeScript_project_located_at_the_specified_path),l("tsc --help --all",f.An_expanded_version_of_this_information_showing_all_possible_compiler_options),l(["tsc --noEmit","tsc --target esnext"],f.Compiles_the_current_project_with_additional_settings);const o=t.filter(u=>u.isCommandLineOnly||u.category===f.Command_line_Options),s=t.filter(u=>!Vn(o,u));i=[...i,...mO(e,op(f.COMMAND_LINE_FLAGS),o,!1,void 0,void 0),...mO(e,op(f.COMMON_COMPILER_OPTIONS),s,!1,void 0,PI(f.You_can_learn_about_all_of_the_compiler_options_at_0,"https://aka.ms/tsc"))];for(const u of i)e.write(u);function l(u,d){const _=typeof u=="string"?[u]:u;for(const m of _)i.push(" "+r.blue(m)+e.newLine);i.push(" "+op(d)+e.newLine+e.newLine)}}function JJe(e,t,r,i){let o=[...vq(e,"".concat(op(f.tsc_Colon_The_TypeScript_Compiler)," - ").concat(op(f.Version_0,Me)))];o=[...o,...mO(e,op(f.ALL_COMPILER_OPTIONS),t,!0,void 0,PI(f.You_can_learn_about_all_of_the_compiler_options_at_0,"https://aka.ms/tsc"))],o=[...o,...mO(e,op(f.WATCH_OPTIONS),i,!1,op(f.Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon))],o=[...o,...mO(e,op(f.BUILD_OPTIONS),Fn(r,s=>s!==N1),!1,PI(f.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,"https://aka.ms/tsc-composite-builds"))];for(const s of o)e.write(s)}function XIe(e,t){let r=[...vq(e,"".concat(op(f.tsc_Colon_The_TypeScript_Compiler)," - ").concat(op(f.Version_0,Me)))];r=[...r,...mO(e,op(f.BUILD_OPTIONS),Fn(t,i=>i!==N1),!1,PI(f.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,"https://aka.ms/tsc-composite-builds"))];for(const i of r)e.write(i)}function vq(e,t){var _;var r;const i=yq(e),o=[],s=(_=(r=e.getWidthOfTerminal)==null?void 0:r.call(e))!=null?_:0,l=5,u=i.blueBackground("".padStart(l)),d=i.blueBackground(i.brightWhite("TS ".padStart(l)));if(s>=t.length+l){const y=(s>120?120:s)-l;o.push(t.padEnd(y)+u+e.newLine),o.push("".padStart(y)+d+e.newLine)}else o.push(t+e.newLine),o.push(e.newLine);return o}function YIe(e,t){t.options.all?JJe(e,qIe(t),cU,ix):qJe(e,qIe(t))}function $Ie(e,t,r){let i=ux(e),o;if(r.options.locale&&H9(r.options.locale,e,r.errors),r.errors.length>0)return r.errors.forEach(i),e.exit(1);if(r.options.init)return $Je(e,i,r.options),e.exit(0);if(r.options.version)return gq(e),e.exit(0);if(r.options.help||r.options.all)return YIe(e,r),e.exit(0);if(r.options.watch&&r.options.listFilesOnly)return i(Dl(f.Options_0_and_1_cannot_be_combined,"watch","listFilesOnly")),e.exit(1);if(r.options.project){if(r.fileNames.length!==0)return i(Dl(f.Option_project_cannot_be_mixed_with_source_files_on_a_command_line)),e.exit(1);const u=Sa(r.options.project);if(!u||e.directoryExists(u)){if(o=ei(u,"tsconfig.json"),!e.fileExists(o))return i(Dl(f.Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0,r.options.project)),e.exit(1)}else if(o=u,!e.fileExists(o))return i(Dl(f.The_specified_path_does_not_exist_Colon_0,r.options.project)),e.exit(1)}else if(r.fileNames.length===0){const u=Sa(e.getCurrentDirectory());o=TH(u,d=>e.fileExists(d))}if(r.fileNames.length===0&&!o)return r.options.showConfig?i(Dl(f.Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0,Sa(e.getCurrentDirectory()))):(gq(e),YIe(e,r)),e.exit(1);const s=e.getCurrentDirectory(),l=Y4(r.options,u=>Eo(u,s));if(o){const u=new Map,d=ele(o,l,u,r.watchOptions,e,i);if(l.showConfig)return d.errors.length!==0?(i=_q(e,i,d.options),d.errors.forEach(i),e.exit(1)):(e.write(JSON.stringify(_U(d,o,e),null,4)+e.newLine),e.exit(0));if(i=_q(e,i,d.options),CV(d.options))return Tle(e,i)?void 0:KJe(e,t,i,d,l,r.watchOptions,u);kS(d.options)?txe(e,t,i,d):exe(e,t,i,d)}else{if(l.showConfig)return e.write(JSON.stringify(_U(r,ei(s,"tsconfig.json"),e),null,4)+e.newLine),e.exit(0);if(i=_q(e,i,l),CV(l))return Tle(e,i)?void 0:XJe(e,t,i,r.fileNames,l,r.watchOptions);kS(l)?txe(e,t,i,{...r,options:l}):exe(e,t,i,{...r,options:l})}}function ble(e){if(e.length>0&&e[0].charCodeAt(0)===45){const t=e[0].slice(e[0].charCodeAt(1)===45?2:1).toLowerCase();return t===N1.name||t===N1.shortName}return!1}function QIe(e,t,r){if(ble(r)){const{buildOptions:o,watchOptions:s,projects:l,errors:u}=Ooe(r);if(o.generateCpuProfile&&e.enableCPUProfiler)e.enableCPUProfiler(o.generateCpuProfile,()=>ZIe(e,t,o,s,l,u));else return ZIe(e,t,o,s,l,u)}const i=koe(r,o=>e.readFile(o));if(i.options.generateCpuProfile&&e.enableCPUProfiler)e.enableCPUProfiler(i.options.generateCpuProfile,()=>$Ie(e,t,i));else return $Ie(e,t,i)}function Tle(e,t){return!e.watchFile||!e.watchDirectory?(t(Dl(f.The_current_host_does_not_support_the_0_option,"--watch")),e.exit(1),!0):!1}var t7=2;function ZIe(e,t,r,i,o,s){const l=_q(e,ux(e),r);if(r.locale&&H9(r.locale,e,s),s.length>0)return s.forEach(l),e.exit(1);if(r.help||o.length===0)return gq(e),XIe(e,Lw),e.exit(0);if(!e.getModifiedTime||!e.setModifiedTime||r.clean&&!e.deleteFile)return l(Dl(f.The_current_host_does_not_support_the_0_option,"--build")),e.exit(1);if(r.watch){if(Tle(e,l))return;const y=ale(e,void 0,l,$3(e,e7(e,r)),Ele(e,r));y.jsDocParsingMode=t7;const E=oxe(e,r);nxe(e,t,y,E);const A=y.onWatchStatusChange;let R=!1;y.onWatchStatusChange=(M,k,F,O)=>{A==null||A(M,k,F,O),R&&(M.code===f.Found_0_errors_Watching_for_file_changes.code||M.code===f.Found_1_error_Watching_for_file_changes.code)&&Ale(N,E)};const N=lle(y,o,r,i);return N.build(),Ale(N,E),R=!0,N}const u=ole(e,void 0,l,$3(e,e7(e,r)),Sle(e,r));u.jsDocParsingMode=t7;const d=oxe(e,r);nxe(e,t,u,d);const _=sle(u,o,r),m=r.clean?_.clean():_.build();return Ale(_,d),xZ(),e.exit(m)}function Sle(e,t){return e7(e,t)?(r,i)=>e.write(KH(r,i,e.newLine,e)):void 0}function exe(e,t,r,i){const{fileNames:o,options:s,projectReferences:l}=i,u=N3(s,void 0,e);u.jsDocParsingMode=t7;const d=u.getCurrentDirectory(),_=Fd(u.useCaseSensitiveFileNames());vP(u,A=>Ws(A,d,_)),Ile(e,s,!1);const m={rootNames:o,options:s,projectReferences:l,host:u,configFileParsingDiagnostics:QS(i)},y=aO(m),E=tq(y,r,A=>e.write(A+e.newLine),Sle(e,s));return Tq(e,y,void 0),t(y),e.exit(E)}function txe(e,t,r,i){const{options:o,fileNames:s,projectReferences:l}=i;Ile(e,o,!1);const u=Y3(o,e);u.jsDocParsingMode=t7;const d=tle({host:u,system:e,rootNames:s,options:o,configFileParsingDiagnostics:QS(i),projectReferences:l,reportDiagnostic:r,reportErrorSummary:Sle(e,o),afterProgramEmitAndDiagnostics:_=>{Tq(e,_.getProgram(),void 0),t(_)}});return e.exit(d)}function nxe(e,t,r,i){rxe(e,r,!0),r.afterProgramEmitAndDiagnostics=o=>{Tq(e,o.getProgram(),i),t(o)}}function rxe(e,t,r){const i=t.createProgram;t.createProgram=(o,s,l,u,d,_)=>(C.assert(o!==void 0||s===void 0&&!!u),s!==void 0&&Ile(e,s,r),i(o,s,l,u,d,_))}function ixe(e,t,r){r.jsDocParsingMode=t7,rxe(e,r,!1);const i=r.afterProgramCreate;r.afterProgramCreate=o=>{i(o),Tq(e,o.getProgram(),void 0),t(o)}}function Ele(e,t){return qH(e,e7(e,t))}function KJe(e,t,r,i,o,s,l){const u=aq({configFileName:i.options.configFilePath,optionsToExtend:o,watchOptionsToExtend:s,system:e,reportDiagnostic:r,reportWatchStatus:Ele(e,i.options)});return ixe(e,t,u),u.configFileParsingResult=i,u.extendedConfigCache=l,lq(u)}function XJe(e,t,r,i,o,s){const l=sq({rootFiles:i,options:o,watchOptions:s,system:e,reportDiagnostic:r,reportWatchStatus:Ele(e,o)});return ixe(e,t,l),lq(l)}function oxe(e,t){if(e===Vc&&t.extendedDiagnostics)return d9(),YJe()}function YJe(){let e;return{addAggregateStatistic:t,forEachAggregateStatistics:r,clear:i};function t(o){const s=e==null?void 0:e.get(o.name);s?s.type===2?s.value=Math.max(s.value,o.value):s.value+=o.value:(e!=null?e:e=new Map).set(o.name,o)}function r(o){e==null||e.forEach(o)}function i(){e=void 0}}function Ale(e,t){if(!t)return;if(!EZ()){Vc.write(f.Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found.message+"\n");return}const r=[];r.push({name:"Projects in scope",value:uO(e.getBuildOrder()).length,type:1}),i("SolutionBuilder::Projects built"),i("SolutionBuilder::Timestamps only updates"),i("SolutionBuilder::Bundles updated"),t.forEachAggregateStatistics(s=>{s.name="Aggregate ".concat(s.name),r.push(s)}),c9((s,l)=>{bq(s)&&r.push({name:"".concat(o(s)," time"),value:l,type:0})}),AZ(),d9(),t.clear(),lxe(Vc,r);function i(s){const l=B0e(s);l&&r.push({name:o(s),value:l,type:1})}function o(s){return s.replace("SolutionBuilder::","")}}function axe(e,t){return e===Vc&&(t.diagnostics||t.extendedDiagnostics)}function sxe(e,t){return e===Vc&&t.generateTrace}function Ile(e,t,r){axe(e,t)&&d9(e),sxe(e,t)&&IZ(r?"build":"project",t.generateTrace,t.configFilePath)}function bq(e){return fo(e,"SolutionBuilder::")}function Tq(e,t,r){var i;const o=t.getCompilerOptions();sxe(e,o)&&((i=Ar)==null||i.stopTracing());let s;if(axe(e,o)){s=[];const _=e.getMemoryUsage?e.getMemoryUsage():-1;u("Files",t.getSourceFiles().length);const m=VJe(t);if(o.extendedDiagnostics)for(const[M,k]of m.entries())u("Lines of "+M,k);else u("Lines",Ln(m.values(),(M,k)=>M+k,0));u("Identifiers",t.getIdentifierCount()),u("Symbols",t.getSymbolCount()),u("Types",t.getTypeCount()),u("Instantiations",t.getInstantiationCount()),_>=0&&l({name:"Memory used",value:_,type:2},!0);const y=EZ(),E=y?TN("Program"):0,A=y?TN("Bind"):0,R=y?TN("Check"):0,N=y?TN("Emit"):0;if(o.extendedDiagnostics){const M=t.getRelationCacheSizes();u("Assignability cache size",M.assignable),u("Identity cache size",M.identity),u("Subtype cache size",M.subtype),u("Strict subtype cache size",M.strictSubtype),y&&c9((k,F)=>{bq(k)||d("".concat(k," time"),F,!0)})}else y&&(d("I/O read",TN("I/O Read"),!0),d("I/O write",TN("I/O Write"),!0),d("Parse time",E,!0),d("Bind time",A,!0),d("Check time",R,!0),d("Emit time",N,!0));y&&d("Total time",E+A+R+N,!1),lxe(e,s),y?r?(c9(M=>{bq(M)||V0e(M)}),G0e(M=>{bq(M)||j0e(M)})):AZ():e.write(f.Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found.message+"\n")}function l(_,m){s.push(_),m&&(r==null||r.addAggregateStatistic(_))}function u(_,m){l({name:_,value:m,type:1},!0)}function d(_,m,y){l({name:_,value:m,type:0},y)}}function lxe(e,t){let r=0,i=0;for(const o of t){o.name.length>r&&(r=o.name.length);const s=cxe(o);s.length>i&&(i=s.length)}for(const o of t)e.write("".concat(o.name,":").padEnd(r+2)+cxe(o).toString().padStart(i)+e.newLine)}function cxe(e){switch(e.type){case 1:return""+e.value;case 0:return(e.value/1e3).toFixed(2)+"s";case 2:return Math.round(e.value/1e3)+"K";default:C.assertNever(e.type)}}function $Je(e,t,r){const i=e.getCurrentDirectory(),o=Sa(ei(i,"tsconfig.json"));if(e.fileExists(o))t(Dl(f.A_tsconfig_json_file_is_already_defined_at_Colon_0,o));else{e.writeFile(o,Boe(r,e.newLine));const s=[e.newLine,...vq(e,"Created a new tsconfig.json")];s.push("You can learn more at https://aka.ms/tsconfig"+e.newLine);for(const l of s)e.write(l)}}function p_(e,t=!0){return{type:e,reportFallback:t}}var dxe=p_(void 0,!1),uxe=p_(void 0,!1),AP=p_(void 0,!0);function xle(e,t){const r=Vd(e,"strictNullChecks");return{serializeTypeOfDeclaration:m,serializeReturnTypeForSignature:E,serializeTypeOfExpression:_,serializeTypeOfAccessor:d,tryReuseExistingTypeNode(_e,Ve){if(t.canReuseTypeNode(_e,Ve))return o(_e,Ve)}};function i(_e,Ve,Ge=Ve){return Ve===void 0?void 0:t.markNodeReuse(_e,Ve.flags&16?Ve:L.cloneNode(Ve),Ge!=null?Ge:Ve)}function o(_e,Ve){const{finalizeBoundary:Ge,startRecoveryScope:Be,hadError:ot,markError:Ot}=t.createRecoveryBoundary(_e),Vt=st(Ve,mn,xi);if(!Ge())return;return _e.approximateLength+=Ve.end-Ve.pos,Vt;function mn(Ht){if(ot())return Ht;const Qr=Be(),go=rie(Ht)?t.enterNewScope(_e,Ht):void 0,Ci=_o(Ht);return go==null||go(),ot()?xi(Ht)&&!qI(Ht)?(Qr(),t.serializeExistingTypeNode(_e,Ht)):Ht:Ci?t.markNodeReuse(_e,Ci,Ht):void 0}function Hn(Ht){const Qr=nM(Ht);switch(Qr.kind){case 184:return Ri(Qr);case 187:return ir(Qr);case 200:return gt(Qr);case 199:const go=Qr;if(go.operator===143)return tn(go)}return st(Ht,mn,xi)}function gt(Ht){const Qr=Hn(Ht.objectType);if(Qr!==void 0)return L.updateIndexedAccessTypeNode(Ht,Qr,st(Ht.indexType,mn,xi))}function tn(Ht){C.assertEqual(Ht.operator,143);const Qr=Hn(Ht.type);if(Qr!==void 0)return L.updateTypeOperatorNode(Ht,Qr)}function ir(Ht){const{introducesError:Qr,node:go}=t.trackExistingEntityName(_e,Ht.exprName);if(!Qr)return L.updateTypeQueryNode(Ht,go,Jn(Ht.typeArguments,mn,xi));const Ci=t.serializeTypeName(_e,Ht.exprName,!0);if(Ci)return t.markNodeReuse(_e,Ci,Ht.exprName)}function Ri(Ht){if(t.canReuseTypeNode(_e,Ht)){const{introducesError:Qr,node:go}=t.trackExistingEntityName(_e,Ht.typeName),Ci=Jn(Ht.typeArguments,mn,xi);if(Qr){const Cr=t.serializeTypeName(_e,Ht.typeName,!1,Ci);if(Cr)return t.markNodeReuse(_e,Cr,Ht.typeName)}else{const Cr=L.updateTypeReferenceNode(Ht,go,Ci);return t.markNodeReuse(_e,Cr,Ht)}}}function _o(Ht){var Qr;if(nT(Ht))return st(Ht.type,mn,xi);if(qie(Ht)||Ht.kind===320)return L.createKeywordTypeNode(133);if(Jie(Ht))return L.createKeywordTypeNode(159);if(CD(Ht))return L.createUnionTypeNode([st(Ht.type,mn,xi),L.createLiteralTypeNode(L.createNull())]);if(Pj(Ht))return L.createUnionTypeNode([st(Ht.type,mn,xi),L.createKeywordTypeNode(157)]);if(x4(Ht))return st(Ht.type,mn);if(R4(Ht))return L.createArrayTypeNode(st(Ht.type,mn,xi));if(R1(Ht))return L.createTypeLiteralNode(Gt(Ht.jsDocPropertyTags,It=>{const hn=st(Je(It.name)?It.name:It.name.right,mn,Je),pr=t.getJsDocPropertyOverride(_e,Ht,It);return L.createPropertySignature(void 0,hn,It.isBracketed||It.typeExpression&&Pj(It.typeExpression.type)?L.createToken(58):void 0,pr||It.typeExpression&&st(It.typeExpression.type,mn,xi)||L.createKeywordTypeNode(133))}));if(Bp(Ht)&&Je(Ht.typeName)&&Ht.typeName.escapedText==="")return jr(L.createKeywordTypeNode(133),Ht);if((hy(Ht)||Bp(Ht))&&o6(Ht))return L.createTypeLiteralNode([L.createIndexSignature(void 0,[L.createParameterDeclaration(void 0,void 0,"x",void 0,st(Ht.typeArguments[0],mn,xi))],st(Ht.typeArguments[1],mn,xi))]);if(ND(Ht))if(TI(Ht)){let It;return L.createConstructorTypeNode(void 0,Jn(Ht.typeParameters,mn,pl),Hi(Ht.parameters,(hn,pr)=>hn.name&&Je(hn.name)&&hn.name.escapedText==="new"?(It=hn.type,void 0):L.createParameterDeclaration(void 0,Cr(hn),t.markNodeReuse(_e,L.createIdentifier(Ur(hn,pr)),hn),L.cloneNode(hn.questionToken),st(hn.type,mn,xi),void 0)),st(It||Ht.type,mn,xi)||L.createKeywordTypeNode(133))}else return L.createFunctionTypeNode(Jn(Ht.typeParameters,mn,pl),Gt(Ht.parameters,(It,hn)=>L.createParameterDeclaration(void 0,Cr(It),t.markNodeReuse(_e,L.createIdentifier(Ur(It,hn)),It),L.cloneNode(It.questionToken),st(It.type,mn,xi),void 0)),st(Ht.type,mn,xi)||L.createKeywordTypeNode(133));if(jM(Ht))return t.canReuseTypeNode(_e,Ht)||Ot(),Ht;if(pl(Ht)){const{node:It}=t.trackExistingEntityName(_e,Ht.name);return L.updateTypeParameterDeclaration(Ht,Jn(Ht.modifiers,mn,Ra),It,st(Ht.constraint,mn,xi),st(Ht.default,mn,xi))}if(BS(Ht)){const It=gt(Ht);return It||(Ot(),Ht)}if(Bp(Ht)){const It=Ri(Ht);return It||(Ot(),Ht)}if(ly(Ht)){if(((Qr=Ht.attributes)==null?void 0:Qr.token)===132)return Ot(),Ht;if(!t.canReuseTypeNode(_e,Ht))return t.serializeExistingTypeNode(_e,Ht);const It=Qe(Ht,Ht.argument.literal),hn=It===Ht.argument.literal?i(_e,Ht.argument.literal):It;return L.updateImportTypeNode(Ht,hn===Ht.argument.literal?i(_e,Ht.argument):L.createLiteralTypeNode(hn),st(Ht.attributes,mn,I1),st(Ht.qualifier,mn,ku),Jn(Ht.typeArguments,mn,xi),Ht.isTypeOf)}if(nd(Ht)&&Ht.name.kind===168&&!t.hasLateBindableName(Ht)){if(!dy(Ht))return go(Ht,mn);if(t.shouldRemoveDeclaration(_e,Ht))return}if(Yo(Ht)&&!Ht.type||ko(Ht)&&!Ht.type&&!Ht.initializer||Eu(Ht)&&!Ht.type&&!Ht.initializer||no(Ht)&&!Ht.type&&!Ht.initializer){let It=go(Ht,mn);return It===Ht&&(It=t.markNodeReuse(_e,L.cloneNode(Ht),Ht)),It.type=L.createKeywordTypeNode(133),no(Ht)&&(It.modifiers=void 0),It}if(FS(Ht)){const It=ir(Ht);return It||(Ot(),Ht)}if(Ea(Ht)&&Ps(Ht.expression)){const{node:It,introducesError:hn}=t.trackExistingEntityName(_e,Ht.expression);if(hn){const pr=t.serializeTypeOfExpression(_e,Ht.expression);let oi;if(hv(pr))oi=pr.literal;else{const di=t.evaluateEntityNameExpression(Ht.expression),Ki=typeof di.value=="string"?L.createStringLiteral(di.value,void 0):typeof di.value=="number"?L.createNumericLiteral(di.value,0):void 0;if(!Ki)return o_(pr)&&t.trackComputedName(_e,Ht.expression),Ht;oi=Ki}return oi.kind===11&&_p(oi.text,Va(e))?L.createIdentifier(oi.text):oi.kind===9&&!oi.text.startsWith("-")?oi:L.updateComputedPropertyName(Ht,oi)}else return L.updateComputedPropertyName(Ht,It)}if(qI(Ht)){let It;if(Je(Ht.parameterName)){const{node:hn,introducesError:pr}=t.trackExistingEntityName(_e,Ht.parameterName);pr&&Ot(),It=hn}else It=L.cloneNode(Ht.parameterName);return L.updateTypePredicateNode(Ht,L.cloneNode(Ht.assertsModifier),It,st(Ht.type,mn,xi))}if(JI(Ht)||Fu(Ht)||T1(Ht)){const It=go(Ht,mn),hn=t.markNodeReuse(_e,It===Ht?L.cloneNode(Ht):It,Ht),pr=Za(hn);return Dr(hn,pr|(_e.flags&1024&&Fu(Ht)?0:1)),hn}if(Oa(Ht)&&_e.flags&268435456&&!Ht.singleQuote){const It=L.cloneNode(Ht);return It.singleQuote=!0,It}if(zS(Ht)){const It=st(Ht.checkType,mn,xi),hn=t.enterNewScope(_e,Ht),pr=st(Ht.extendsType,mn,xi),oi=st(Ht.trueType,mn,xi);hn();const di=st(Ht.falseType,mn,xi);return L.updateConditionalTypeNode(Ht,It,pr,oi,di)}if(X0(Ht)){if(Ht.operator===158&&Ht.type.kind===155){if(!t.canReuseTypeNode(_e,Ht))return Ot(),Ht}else if(Ht.operator===143){const It=tn(Ht);return It||(Ot(),Ht)}}return go(Ht,mn);function go(It,hn){const pr=!_e.enclosingFile||_e.enclosingFile!==On(It);return kn(It,hn,void 0,pr?Ci:void 0)}function Ci(It,hn,pr,oi,di){let Ki=Jn(It,hn,pr,oi,di);return Ki&&(Ki.pos!==-1||Ki.end!==-1)&&(Ki===It&&(Ki=L.createNodeArray(It.slice(),It.hasTrailingComma)),uh(Ki,-1,-1)),Ki}function Cr(It){return It.dotDotDotToken||(It.type&&R4(It.type)?L.createToken(26):void 0)}function Ur(It,hn){return It.name&&Je(It.name)&&It.name.escapedText==="this"?"this":Cr(It)?"args":"arg".concat(hn)}function Qe(It,hn){const pr=t.getModuleSpecifierOverride(_e,It,hn);return pr?jr(L.createStringLiteral(pr),hn):hn}}}function s(_e,Ve,Ge){if(!_e)return;let Be;return(!Ge||ze(_e))&&t.canReuseTypeNode(Ve,_e)&&(Be=o(Ve,_e),Be!==void 0&&(Be=Ne(Be,Ge,void 0,Ve))),Be}function l(_e,Ve,Ge,Be,ot,Ot=ot!==void 0){var mn;if(!_e||!t.canReuseTypeNodeAnnotation(Ve,Ge,_e,Be,ot)&&(!ot||!t.canReuseTypeNodeAnnotation(Ve,Ge,_e,Be,!1)))return;let Vt;return(!ot||ze(_e))&&(Vt=s(_e,Ve,ot)),Vt!==void 0||!Ot?Vt:(Ve.tracker.reportInferenceFallback(Ge),(mn=t.serializeExistingTypeNode(Ve,_e,ot))!=null?mn:L.createKeywordTypeNode(133))}function u(_e,Ve,Ge,Be){var Ot;if(!_e)return;const ot=s(_e,Ve,Ge);return ot!==void 0?ot:(Ve.tracker.reportInferenceFallback(_e),(Ot=t.serializeExistingTypeNode(Ve,_e,Ge))!=null?Ot:L.createKeywordTypeNode(133))}function d(_e,Ve,Ge){var Be;return(Be=N(_e,Ve,Ge))!=null?Be:Q(_e,t.getAllAccessorDeclarations(_e),Ge,Ve)}function _(_e,Ve,Ge,Be){const ot=re(_e,Ve,!1,Ge,Be);return ot.type!==void 0?ot.type:j(_e,Ve,ot.reportFallback)}function m(_e,Ve,Ge){switch(_e.kind){case 170:case 342:return k(_e,Ve,Ge);case 261:return M(_e,Ve,Ge);case 172:case 349:case 173:return O(_e,Ve,Ge);case 209:return G(_e,Ve,Ge);case 278:return _(_e.expression,Ge,void 0,!0);case 212:case 213:case 227:return F(_e,Ve,Ge);case 304:case 305:return y(_e,Ve,Ge);default:C.assertNever(_e,"Node needs to be an inferrable node, found ".concat(C.formatSyntaxKind(_e.kind)))}}function y(_e,Ve,Ge){const Be=Ac(_e);let ot;if(Be&&t.canReuseTypeNodeAnnotation(Ge,_e,Be,Ve)&&(ot=s(Be,Ge)),!ot&&_e.kind===304){const Ot=_e.initializer,Vt=HS(Ot)?LD(Ot):Ot.kind===235||Ot.kind===217?Ot.type:void 0;Vt&&!zm(Vt)&&t.canReuseTypeNodeAnnotation(Ge,_e,Vt,Ve)&&(ot=s(Vt,Ge))}return ot!=null?ot:G(_e,Ve,Ge,!1)}function E(_e,Ve,Ge){switch(_e.kind){case 178:return d(_e,Ve,Ge);case 175:case 263:case 181:case 174:case 180:case 177:case 179:case 182:case 185:case 186:case 219:case 220:case 318:case 324:return lt(_e,Ve,Ge);default:C.assertNever(_e,"Node needs to be an inferrable node, found ".concat(C.formatSyntaxKind(_e.kind)))}}function A(_e){if(_e)return _e.kind===178?Er(_e)&&tv(_e)||Wp(_e):hV(_e)}function R(_e,Ve){let Ge=A(_e);return!Ge&&_e!==Ve.firstAccessor&&(Ge=A(Ve.firstAccessor)),!Ge&&Ve.secondAccessor&&_e!==Ve.secondAccessor&&(Ge=A(Ve.secondAccessor)),Ge}function N(_e,Ve,Ge){const Be=t.getAllAccessorDeclarations(_e),ot=R(_e,Be);if(ot&&!qI(ot))return J(Ge,_e,()=>{var Ot;return(Ot=l(ot,Ge,_e,Ve))!=null?Ot:G(_e,Ve,Ge)});if(Be.getAccessor)return J(Ge,Be.getAccessor,()=>lt(Be.getAccessor,Ve,Ge))}function M(_e,Ve,Ge){var Be;const ot=Ac(_e);let Ot=AP;return ot?Ot=p_(l(ot,Ge,_e,Ve)):_e.initializer&&(((Be=Ve.declarations)==null?void 0:Be.length)===1||po(Ve.declarations,bi)===1)&&!t.isExpandoFunctionDeclaration(_e)&&!De(_e)&&(Ot=re(_e.initializer,Ge,void 0,void 0,sne(_e))),Ot.type!==void 0?Ot.type:G(_e,Ve,Ge,Ot.reportFallback)}function k(_e,Ve,Ge){const Be=_e.parent;if(Be.kind===179)return d(Be,void 0,Ge);const ot=Ac(_e),Ot=t.requiresAddingImplicitUndefined(_e,Ve,Ge.enclosingDeclaration);let Vt=AP;return ot?Vt=p_(l(ot,Ge,_e,Ve,Ot)):no(_e)&&_e.initializer&&Je(_e.name)&&!De(_e)&&(Vt=re(_e.initializer,Ge,void 0,Ot)),Vt.type!==void 0?Vt.type:G(_e,Ve,Ge,Vt.reportFallback)}function F(_e,Ve,Ge){const Be=Ac(_e);let ot;Be&&(ot=l(Be,Ge,_e,Ve));const Ot=Ge.suppressReportInferenceFallback;Ge.suppressReportInferenceFallback=!0;const Vt=ot!=null?ot:G(_e,Ve,Ge,!1);return Ge.suppressReportInferenceFallback=Ot,Vt}function O(_e,Ve,Ge){const Be=Ac(_e),ot=t.requiresAddingImplicitUndefined(_e,Ve,Ge.enclosingDeclaration);let Ot=AP;if(Be)Ot=p_(l(Be,Ge,_e,Ve,ot));else{const Vt=ko(_e)?_e.initializer:void 0;if(Vt&&!De(_e)){const mn=rk(_e);Ot=re(Vt,Ge,void 0,ot,mn)}}return Ot.type!==void 0?Ot.type:G(_e,Ve,Ge,Ot.reportFallback)}function G(_e,Ve,Ge,Be=!0){return Be&&Ge.tracker.reportInferenceFallback(_e),Ge.noInferenceFallback===!0?L.createKeywordTypeNode(133):t.serializeTypeOfDeclaration(Ge,_e,Ve)}function j(_e,Ve,Ge=!0,Be){var ot;return C.assert(!Be),Ge&&Ve.tracker.reportInferenceFallback(_e),Ve.noInferenceFallback===!0?L.createKeywordTypeNode(133):(ot=t.serializeTypeOfExpression(Ve,_e))!=null?ot:L.createKeywordTypeNode(133)}function K(_e,Ve,Ge,Be){var ot;return Be&&Ve.tracker.reportInferenceFallback(_e),Ve.noInferenceFallback===!0?L.createKeywordTypeNode(133):(ot=t.serializeReturnTypeForSignature(Ve,_e,Ge))!=null?ot:L.createKeywordTypeNode(133)}function Q(_e,Ve,Ge,Be,ot=!0){var Ot;if(_e.kind===178)return lt(_e,Be,Ge,ot);{ot&&Ge.tracker.reportInferenceFallback(_e);const Vt=Ve.getAccessor&<(Ve.getAccessor,Be,Ge,ot);return(Ot=Vt!=null?Vt:t.serializeTypeOfDeclaration(Ge,_e,Be))!=null?Ot:L.createKeywordTypeNode(133)}}function J(_e,Ve,Ge){const Be=t.enterNewScope(_e,Ve),ot=Ge();return Be(),ot}function he(_e,Ve,Ge,Be){return zm(Ve)?re(_e,Ge,!0,Be):p_(u(Ve,Ge,Be))}function re(_e,Ve,Ge=!1,Be=!1,ot=!1){switch(_e.kind){case 218:return HS(_e)?he(_e.expression,LD(_e),Ve,Be):re(_e.expression,Ve,Ge,Be);case 80:if(t.isUndefinedIdentifierExpression(_e))return p_(ee());break;case 106:return p_(r?Ne(L.createLiteralTypeNode(L.createNull()),Be,_e,Ve):L.createKeywordTypeNode(133));case 220:case 219:return C.type(_e),J(Ve,_e,()=>q(_e,Ve));case 217:case 235:const Ot=_e;return he(Ot.expression,Ot.type,Ve,Be);case 225:const Vt=_e;if(a4(Vt))return Se(Vt.operator===40?Vt.operand:Vt,Vt.operand.kind===10?163:150,Ve,Ge||ot,Be);break;case 210:return de(_e,Ve,Ge,Be);case 211:return Ae(_e,Ve,Ge,Be);case 232:return p_(j(_e,Ve,!0,Be));case 229:if(!Ge&&!ot)return p_(L.createKeywordTypeNode(154));break;default:let mn,Hn=_e;switch(_e.kind){case 9:mn=150;break;case 15:Hn=L.createStringLiteral(_e.text),mn=154;break;case 11:mn=154;break;case 10:mn=163;break;case 112:case 97:mn=136;break}if(mn)return Se(Hn,mn,Ve,Ge||ot,Be)}return AP}function q(_e,Ve){const Ge=lt(_e,void 0,Ve),Be=ve(_e.typeParameters,Ve),ot=_e.parameters.map(Ot=>$(Ot,Ve));return p_(L.createFunctionTypeNode(Be,ot,Ge))}function ue(_e,Ve,Ge){if(!Ge)return Ve.tracker.reportInferenceFallback(_e),!1;for(const Be of _e.elements)if(Be.kind===231)return Ve.tracker.reportInferenceFallback(Be),!1;return!0}function de(_e,Ve,Ge,Be){if(!ue(_e,Ve,Ge))return Be||rd(Vm(_e).parent)?uxe:p_(j(_e,Ve,!1,Be));const ot=Ve.noInferenceFallback;Ve.noInferenceFallback=!0;const Ot=[];for(const mn of _e.elements)if(C.assert(mn.kind!==231),mn.kind===233)Ot.push(ee());else{const Hn=re(mn,Ve,Ge),gt=Hn.type!==void 0?Hn.type:j(mn,Ve,Hn.reportFallback);Ot.push(gt)}const Vt=L.createTupleTypeNode(Ot);return Vt.emitNode={flags:1,autoGenerate:void 0,internalFlags:0},Ve.noInferenceFallback=ot,dxe}function ge(_e,Ve){let Ge=!0;for(const Be of _e.properties){if(Be.flags&262144){Ge=!1;break}if(Be.kind===305||Be.kind===306)Ve.tracker.reportInferenceFallback(Be),Ge=!1;else if(Be.name.flags&262144){Ge=!1;break}else if(Be.name.kind===81)Ge=!1;else if(Be.name.kind===168){const ot=Be.name.expression;!a4(ot,!1)&&!t.isDefinitelyReferenceToGlobalSymbolObject(ot)&&(Ve.tracker.reportInferenceFallback(Be.name),Ge=!1)}}return Ge}function Ae(_e,Ve,Ge,Be){if(!ge(_e,Ve))return Be||rd(Vm(_e).parent)?uxe:p_(j(_e,Ve,!1,Be));const ot=Ve.noInferenceFallback;Ve.noInferenceFallback=!0;const Ot=[],Vt=Ve.flags;Ve.flags|=4194304;for(const Hn of _e.properties){C.assert(!Ud(Hn)&&!Ng(Hn));const gt=Hn.name;let tn;switch(Hn.kind){case 175:tn=J(Ve,Hn,()=>je(Hn,gt,Ve,Ge));break;case 304:tn=Re(Hn,gt,Ve,Ge);break;case 179:case 178:tn=be(Hn,gt,Ve);break}tn&&(Ic(tn,Hn),Ot.push(tn))}Ve.flags=Vt;const mn=L.createTypeLiteralNode(Ot);return Ve.flags&1024||Dr(mn,1),Ve.noInferenceFallback=ot,dxe}function Re(_e,Ve,Ge,Be){const ot=Be?[L.createModifier(148)]:[],Ot=re(_e.initializer,Ge,Be),Vt=Ot.type!==void 0?Ot.type:G(_e,void 0,Ge,Ot.reportFallback);return L.createPropertySignature(ot,i(Ge,Ve),void 0,Vt)}function $(_e,Ve){return L.updateParameterDeclaration(_e,void 0,i(Ve,_e.dotDotDotToken),t.serializeNameOfParameter(Ve,_e),t.isOptionalParameter(_e)?L.createToken(58):void 0,k(_e,void 0,Ve),void 0)}function ve(_e,Ve){return _e==null?void 0:_e.map(Ge=>{var Be;const{node:ot}=t.trackExistingEntityName(Ve,Ge.name);return L.updateTypeParameterDeclaration(Ge,(Be=Ge.modifiers)==null?void 0:Be.map(Ot=>i(Ve,Ot)),ot,u(Ge.constraint,Ve),u(Ge.default,Ve))})}function je(_e,Ve,Ge,Be){const ot=lt(_e,void 0,Ge),Ot=ve(_e.typeParameters,Ge),Vt=_e.parameters.map(mn=>$(mn,Ge));return Be?L.createPropertySignature([L.createModifier(148)],i(Ge,Ve),i(Ge,_e.questionToken),L.createFunctionTypeNode(Ot,Vt,ot)):(Je(Ve)&&Ve.escapedText==="new"&&(Ve=L.createStringLiteral("new")),L.createMethodSignature([],i(Ge,Ve),i(Ge,_e.questionToken),Ot,Vt,ot))}function be(_e,Ve,Ge){const Be=t.getAllAccessorDeclarations(_e),ot=Be.getAccessor&&A(Be.getAccessor),Ot=Be.setAccessor&&A(Be.setAccessor);if(ot!==void 0&&Ot!==void 0)return J(Ge,_e,()=>{const Vt=_e.parameters.map(mn=>$(mn,Ge));return hg(_e)?L.updateGetAccessorDeclaration(_e,[],i(Ge,Ve),Vt,u(ot,Ge),void 0):L.updateSetAccessorDeclaration(_e,[],i(Ge,Ve),Vt,void 0)});if(Be.firstAccessor===_e){const Vt=ot?J(Ge,Be.getAccessor,()=>u(ot,Ge)):Ot?J(Ge,Be.setAccessor,()=>u(Ot,Ge)):void 0,mn=Vt!=null?Vt:Q(_e,Be,Ge,void 0);return L.createPropertySignature(Be.setAccessor===void 0?[L.createModifier(148)]:[],i(Ge,Ve),void 0,mn)}}function ee(){return r?L.createKeywordTypeNode(157):L.createKeywordTypeNode(133)}function Se(_e,Ve,Ge,Be,ot){let Ot;return Be?(_e.kind===225&&_e.operator===40&&(Ot=L.createLiteralTypeNode(i(Ge,_e.operand))),Ot=L.createLiteralTypeNode(i(Ge,_e))):Ot=L.createKeywordTypeNode(Ve),p_(Ne(Ot,ot,_e,Ge))}function Ne(_e,Ve,Ge,Be){const ot=Ge&&Vm(Ge).parent,Ot=ot&&rd(ot)&&OI(ot);return!r||!(Ve||Ot)?_e:(ze(_e)||Be.tracker.reportInferenceFallback(_e),mv(_e)?L.createUnionTypeNode([..._e.types,L.createKeywordTypeNode(157)]):L.createUnionTypeNode([_e,L.createKeywordTypeNode(157)]))}function ze(_e){return!r||np(_e.kind)||_e.kind===202||_e.kind===185||_e.kind===186||_e.kind===189||_e.kind===190||_e.kind===188||_e.kind===204||_e.kind===198?!0:_e.kind===197?ze(_e.type):_e.kind===193||_e.kind===194?_e.types.every(ze):!1}function lt(_e,Ve,Ge,Be=!0){let ot=AP;const Ot=TI(_e)?Ac(_e.parameters[0]):Wp(_e);return Ot?ot=p_(l(Ot,Ge,_e,Ve)):c1(_e)&&(ot=le(_e,Ge)),ot.type!==void 0?ot.type:K(_e,Ge,Ve,Be&&ot.reportFallback&&!Ot)}function le(_e,Ve){let Ge;if(_e&&!Wl(_e.body)){if(dc(_e)&3)return AP;const ot=_e.body;ot&&ia(ot)?Eb(ot,Ot=>{if(Ot.parent!==ot)return Ge=void 0,!0;if(!Ge)Ge=Ot.expression;else return Ge=void 0,!0}):Ge=ot}if(Ge)if(De(Ge)){const Be=HS(Ge)?LD(Ge):AD(Ge)||S4(Ge)?Ge.type:void 0;if(Be&&!zm(Be))return p_(s(Be,Ve))}else return re(Ge,Ve);return AP}function De(_e){return Rn(_e.parent,Ve=>ra(Ve)||!ks(Ve)&&!!Ac(Ve)||l_(Ve)||RD(Ve))}}var Hb={};x(Hb,{NameValidationResult:()=>yxe,discoverTypings:()=>eKe,isTypingUpToDate:()=>_xe,loadSafeList:()=>QJe,loadTypesMap:()=>ZJe,nonRelativeModuleNameForTypingCache:()=>gxe,renderPackageNameValidationFailure:()=>nKe,validatePackageName:()=>tKe});var n7="action::set",r7="action::invalidate",i7="action::packageInstalled",Sq="event::typesRegistry",Eq="event::beginInstallTypes",Aq="event::endInstallTypes",Rle="event::initializationFailed",hO="action::watchTypingLocations",Iq;(e=>{e.GlobalCacheLocation="--globalTypingsCacheLocation",e.LogFile="--logFile",e.EnableTelemetry="--enableTelemetry",e.TypingSafeListLocation="--typingSafeListLocation",e.TypesMapLocation="--typesMapLocation",e.NpmLocation="--npmLocation",e.ValidateDefaultNpmLocation="--validateDefaultNpmLocation"})(Iq||(Iq={}));function pxe(e){return Vc.args.includes(e)}function fxe(e){const t=Vc.args.indexOf(e);return t>=0&&t<Vc.args.length-1?Vc.args[t+1]:void 0}function mxe(){const e=new Date;return"".concat(e.getHours().toString().padStart(2,"0"),":").concat(e.getMinutes().toString().padStart(2,"0"),":").concat(e.getSeconds().toString().padStart(2,"0"),".").concat(e.getMilliseconds().toString().padStart(3,"0"))}var hxe="\n ";function IP(e){return hxe+e.replace(/\n/g,hxe)}function pT(e){return IP(JSON.stringify(e,void 0,2))}function _xe(e,t){return new ih(h2(t,"ts".concat(fe))||h2(t,"latest")).compareTo(e.version)<=0}function gxe(e){return yD.has(e)?"node":e}function QJe(e,t){const r=ww(t,i=>e.readFile(i));return new Map(Object.entries(r.config))}function ZJe(e,t){var r;const i=ww(t,o=>e.readFile(o));if((r=i.config)!=null&&r.simpleMap)return new Map(Object.entries(i.config.simpleMap))}function eKe(e,t,r,i,o,s,l,u,d,_){if(!l||!l.enable)return{cachedTypingPaths:[],newTypingNames:[],filesToWatch:[]};const m=new Map;r=Hi(r,G=>{const j=Sa(G);if(Ig(j))return j});const y=[];l.include&&k(l.include,"Explicitly included types");const E=l.exclude||[];if(!_.types){const G=new Set(r.map(pi));G.add(i),G.forEach(j=>{F(j,"bower.json","bower_components",y),F(j,"package.json","node_modules",y)})}if(l.disableFilenameBasedTypeAcquisition||O(r),u){const G=cS(u.map(gxe),pS,Wd);k(G,"Inferred typings from unresolved imports")}for(const G of E)m.delete(G)&&t&&t("Typing for ".concat(G," is in exclude list, will be ignored."));s.forEach((G,j)=>{const K=d.get(j);m.get(j)===!1&&K!==void 0&&_xe(G,K)&&m.set(j,G.typingLocation)});const A=[],R=[];m.forEach((G,j)=>{G?R.push(G):A.push(j)});const N={cachedTypingPaths:R,newTypingNames:A,filesToWatch:y};return t&&t("Finished typings discovery:".concat(pT(N))),N;function M(G){m.has(G)||m.set(G,!1)}function k(G,j){t&&t("".concat(j,": ").concat(JSON.stringify(G))),Xe(G,M)}function F(G,j,K,Q){const J=ei(G,j);let he,re;e.fileExists(J)&&(Q.push(J),he=ww(J,ge=>e.readFile(ge)).config,re=Wi([he.dependencies,he.devDependencies,he.optionalDependencies,he.peerDependencies],Vh),k(re,"Typing names in '".concat(J,"' dependencies")));const q=ei(G,K);if(Q.push(q),!e.directoryExists(q))return;const ue=[],de=re?re.map(ge=>ei(q,ge,j)):e.readDirectory(q,[".json"],void 0,void 0,3).filter(ge=>{if(Ec(ge)!==j)return!1;const Ae=zd(Sa(ge)),Re=Ae[Ae.length-3][0]==="@";return Re&&ob(Ae[Ae.length-4])===K||!Re&&ob(Ae[Ae.length-3])===K});t&&t("Searching for typing names in ".concat(q,"; all files: ").concat(JSON.stringify(de)));for(const ge of de){const Ae=Sa(ge),$=ww(Ae,je=>e.readFile(je)).config;if(!$.name)continue;const ve=$.types||$.typings;if(ve){const je=Eo(ve,pi(Ae));e.fileExists(je)?(t&&t(" Package '".concat($.name,"' provides its own types.")),m.set($.name,je)):t&&t(" Package '".concat($.name,"' provides its own types but they are missing."))}else ue.push($.name)}k(ue," Found package names")}function O(G){const j=Hi(G,Q=>{if(!Ig(Q))return;const J=Su(ob(Ec(Q))),he=r9(J);return o.get(he)});j.length&&k(j,"Inferred typings from file names"),bt(G,Q=>xl(Q,".jsx"))&&(t&&t("Inferred 'react' typings due to presence of '.jsx' extension"),M("react"))}}var yxe=(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))(yxe||{}),vxe=214;function tKe(e){return Dle(e,!0)}function Dle(e,t){if(!e)return 1;if(e.length>vxe)return 2;if(e.charCodeAt(0)===46)return 3;if(e.charCodeAt(0)===95)return 4;if(t){const r=/^@([^/]+)\/([^/]+)$/.exec(e);if(r){const i=Dle(r[1],!1);if(i!==0)return{name:r[1],isScopeName:!0,result:i};const o=Dle(r[2],!1);return o!==0?{name:r[2],isScopeName:!1,result:o}:0}}return encodeURIComponent(e)!==e?5:0}function nKe(e,t){return typeof e=="object"?bxe(t,e.result,e.name,e.isScopeName):bxe(t,e,t,!1)}function bxe(e,t,r,i){const o=i?"Scope":"Package";switch(t){case 1:return"'".concat(e,"':: ").concat(o," name '").concat(r,"' cannot be empty");case 2:return"'".concat(e,"':: ").concat(o," name '").concat(r,"' should be less than ").concat(vxe," characters");case 3:return"'".concat(e,"':: ").concat(o," name '").concat(r,"' cannot start with '.'");case 4:return"'".concat(e,"':: ").concat(o," name '").concat(r,"' cannot start with '_'");case 5:return"'".concat(e,"':: ").concat(o," name '").concat(r,"' contains non URI safe characters");case 0:return C.fail();default:C.assertNever(t)}}var o7;(e=>{class t{constructor(o){this.text=o}getText(o,s){return o===0&&s===this.text.length?this.text:this.text.substring(o,s)}getLength(){return this.text.length}getChangeRange(){}}function r(i){return new t(i)}e.fromString=r})(o7||(o7={}));var Cle=(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))(Cle||{}),Nle=(e=>(e[e.Off=0]="Off",e[e.On=1]="On",e[e.Auto=2]="Auto",e))(Nle||{}),Mle=(e=>(e[e.Semantic=0]="Semantic",e[e.PartialSemantic=1]="PartialSemantic",e[e.Syntactic=2]="Syntactic",e))(Mle||{}),xm={},Ple=(e=>(e.Original="original",e.TwentyTwenty="2020",e))(Ple||{}),xq=(e=>(e.All="All",e.SortAndCombine="SortAndCombine",e.RemoveUnused="RemoveUnused",e))(xq||{}),Rq=(e=>(e[e.Invoked=1]="Invoked",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions",e))(Rq||{}),Lle=(e=>(e.Type="Type",e.Parameter="Parameter",e.Enum="Enum",e))(Lle||{}),kle=(e=>(e.none="none",e.definition="definition",e.reference="reference",e.writtenReference="writtenReference",e))(kle||{}),wle=(e=>(e[e.None=0]="None",e[e.Block=1]="Block",e[e.Smart=2]="Smart",e))(wle||{}),Dq=(e=>(e.Ignore="ignore",e.Insert="insert",e.Remove="remove",e))(Dq||{});function a7(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,indentSwitchCase:!0}}var Txe=a7("\n"),s7=(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))(s7||{}),Ole=(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))(Ole||{}),Wle=(e=>(e.Comment="comment",e.Region="region",e.Code="code",e.Imports="imports",e))(Wle||{}),Fle=(e=>(e[e.JavaScript=0]="JavaScript",e[e.SourceMap=1]="SourceMap",e[e.Declaration=2]="Declaration",e))(Fle||{}),zle=(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))(zle||{}),Ble=(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))(Ble||{}),Gle=(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.variableUsingElement="using",e.variableAwaitUsingElement="await using",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))(Gle||{}),Vle=(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))(Vle||{}),jle=(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))(jle||{}),Cq=(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))(Cq||{}),yd=fg(99,!0),Ule=(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))(Ule||{});function l7(e){switch(e.kind){case 261:return Er(e)&&X9(e)?7:1;case 170:case 209:case 173:case 172:case 304:case 305:case 175:case 174:case 177:case 178:case 179:case 263:case 219:case 220:case 300:case 292:return 1;case 169:case 265:case 266:case 188:return 2;case 347:return e.name===void 0?3:2;case 307:case 264:return 3;case 268:return vu(e)||vy(e)===1?5:4;case 267:case 276:case 277:case 272:case 273:case 278:case 279:return 7;case 308:return 5}return 7}function F1(e){e=Vq(e);const t=e.parent;return e.kind===308?1:fl(t)||ou(t)||_y(t)||Au(t)||Hm(t)||Oc(t)&&e===t.name?7:c7(e)?rKe(e):z_(e)?l7(t):ku(e)&&Rn(e,Np(KM,dI,rT))?7:sKe(e)?2:iKe(e)?4:pl(t)?(C.assert(Am(t.parent)),2):hv(t)?3:1}function rKe(e){const t=e.kind===167?e:Wu(e.parent)&&e.parent.right===e?e.parent:void 0;return t&&t.parent.kind===272?7:4}function c7(e){if(!e.parent)return!1;for(;e.parent.kind===167;)e=e.parent;return i1(e.parent)&&e.parent.moduleReference===e}function iKe(e){return oKe(e)||aKe(e)}function oKe(e){let t=e,r=!0;if(t.parent.kind===167){for(;t.parent&&t.parent.kind===167;)t=t.parent;r=t.right===e}return t.parent.kind===184&&!r}function aKe(e){let t=e,r=!0;if(t.parent.kind===212){for(;t.parent&&t.parent.kind===212;)t=t.parent;r=t.name===e}if(!r&&t.parent.kind===234&&t.parent.parent.kind===299){const i=t.parent.parent.parent;return i.kind===264&&t.parent.parent.token===119||i.kind===265&&t.parent.parent.token===96}return!1}function sKe(e){switch(mM(e)&&(e=e.parent),e.kind){case 110:return!F_(e);case 198:return!0}switch(e.parent.kind){case 184:return!0;case 206:return!e.parent.isTypeOf;case 234:return Yh(e.parent)}return!1}function Nq(e,t=!1,r=!1){return _O(e,ra,Pq,t,r)}function xP(e,t=!1,r=!1){return _O(e,GS,Pq,t,r)}function Mq(e,t=!1,r=!1){return _O(e,qh,Pq,t,r)}function Hle(e,t=!1,r=!1){return _O(e,Y0,lKe,t,r)}function qle(e,t=!1,r=!1){return _O(e,wc,Pq,t,r)}function Jle(e,t=!1,r=!1){return _O(e,ru,cKe,t,r)}function Pq(e){return e.expression}function lKe(e){return e.tag}function cKe(e){return e.tagName}function _O(e,t,r,i,o){let s=i?dKe(e):d7(e);return o&&(s=Hl(s)),!!s&&!!s.parent&&t(s.parent)&&r(s.parent)===s}function d7(e){return ZD(e)?e.parent:e}function dKe(e){return ZD(e)||Oq(e)?e.parent:e}function u7(e,t){for(;e;){if(e.kind===257&&e.label.escapedText===t)return e.label;e=e.parent}}function gO(e,t){return Jr(e.expression)?e.expression.name.text===t:!1}function yO(e){var t;return Je(e)&&((t=ii(e.parent,wN))==null?void 0:t.label)===e}function Lq(e){var t;return Je(e)&&((t=ii(e.parent,Wb))==null?void 0:t.label)===e}function kq(e){return Lq(e)||yO(e)}function wq(e){var t;return((t=ii(e.parent,UR))==null?void 0:t.tagName)===e}function Kle(e){var t;return((t=ii(e.parent,Wu))==null?void 0:t.right)===e}function ZD(e){var t;return((t=ii(e.parent,Jr))==null?void 0:t.name)===e}function Oq(e){var t;return((t=ii(e.parent,Bs))==null?void 0:t.argumentExpression)===e}function Wq(e){var t;return((t=ii(e.parent,pc))==null?void 0:t.name)===e}function Fq(e){var t;return Je(e)&&((t=ii(e.parent,Yo))==null?void 0:t.name)===e}function p7(e){switch(e.parent.kind){case 173:case 172:case 304:case 307:case 175:case 174:case 178:case 179:case 268:return Fo(e.parent)===e;case 213:return e.parent.argumentExpression===e;case 168:return!0;case 202:return e.parent.parent.kind===200;default:return!1}}function Xle(e){return z0(e.parent.parent)&&YN(e.parent.parent)===e}function z1(e){for(vm(e)&&(e=e.parent.parent);;){if(e=e.parent,!e)return;switch(e.kind){case 308:case 175:case 174:case 263:case 219:case 178:case 179:case 264:case 265:case 267:case 268:return e}}}function ZS(e){switch(e.kind){case 308:return Wc(e)?"module":"script";case 268:return"module";case 264:case 232:return"class";case 265:return"interface";case 266:case 339:case 347:return"type";case 267:return"enum";case 261:return t(e);case 209:return t(Qh(e));case 220:case 263:case 219:return"function";case 178:return"getter";case 179:return"setter";case 175:case 174:return"method";case 304:const{initializer:r}=e;return Yo(r)?"method":"property";case 173:case 172:case 305:case 306:return"property";case 182:return"index";case 181:return"construct";case 180:return"call";case 177:case 176:return"constructor";case 169:return"type parameter";case 307:return"enum member";case 170:return fi(e,31)?"property":"parameter";case 272:case 277:case 282:case 275:case 281:return"alias";case 227:const i=ac(e),{right:o}=e;switch(i){case 7:case 8:case 9:case 0:return"";case 1:case 2:const l=ZS(o);return l===""?"const":l;case 3:return Ks(o)?"method":"property";case 4:return"property";case 5:return Ks(o)?"method":"property";case 6:return"local class";default:return""}case 80:return Hm(e.parent)?"alias":"";case 278:const s=ZS(e.expression);return s===""?"const":s;default:return""}function t(r){return XR(r)?"const":UF(r)?"let":"var"}}function eC(e){switch(e.kind){case 110:return!0;case 80:return mV(e)&&e.parent.kind===170;default:return!1}}var uKe=/^\/\/\/\s*</;function Rm(e,t){const r=dg(t),i=t.getLineAndCharacterOfPosition(e).line;return r[i]}function Yle(e,t){return vO(e,t.pos)&&vO(e,t.end)}function tC(e,t){return e.pos<=t&&t<=e.end}function vO(e,t){return e.pos<t&&t<e.end}function bO(e,t,r){return e.pos<=t&&e.end>=r}function RP(e,t,r){return m7(e.pos,e.end,t,r)}function f7(e,t,r,i){return m7(e.getStart(t),e.end,r,i)}function m7(e,t,r,i){const o=Math.max(e,r),s=Math.min(t,i);return o<s}function zq(e,t,r){return C.assert(e.pos<=t),t<e.end||!gh(e,r)}function gh(e,t){if(e===void 0||Wl(e))return!1;switch(e.kind){case 264:case 265:case 267:case 211:case 207:case 188:case 242:case 269:case 270:case 276:case 280:return Bq(e,20,t);case 300:return gh(e.block,t);case 215:if(!e.arguments)return!0;case 214:case 218:case 197:return Bq(e,22,t);case 185:case 186:return gh(e.type,t);case 177:case 178:case 179:case 263:case 219:case 175:case 174:case 181:case 180:case 220:return e.body?gh(e.body,t):e.type?gh(e.type,t):Gq(e,22,t);case 268:return!!e.body&&gh(e.body,t);case 246:return e.elseStatement?gh(e.elseStatement,t):gh(e.thenStatement,t);case 245:return gh(e.expression,t)||Gq(e,27,t);case 210:case 208:case 213:case 168:case 190:return Bq(e,24,t);case 182:return e.type?gh(e.type,t):Gq(e,24,t);case 297:case 298:return!1;case 249:case 250:case 251:case 248:return gh(e.statement,t);case 247:return Gq(e,117,t)?Bq(e,22,t):gh(e.statement,t);case 187:return gh(e.exprName,t);case 222:case 221:case 223:case 230:case 231:return gh(e.expression,t);case 216:return gh(e.template,t);case 229:const i=rl(e.templateSpans);return gh(i,t);case 240:return gm(e.literal);case 279:case 273:return gm(e.moduleSpecifier);case 225:return gh(e.operand,t);case 227:return gh(e.right,t);case 228:return gh(e.whenFalse,t);default:return!0}}function Bq(e,t,r){const i=e.getChildren(r);if(i.length){const o=Ga(i);if(o.kind===t)return!0;if(o.kind===27&&i.length!==1)return i[i.length-2].kind===t}return!1}function $le(e){const t=h7(e);if(!t)return;const r=t.getChildren();return{listItemIndex:qR(r,e),list:t}}function Gq(e,t,r){return!!Rs(e,t,r)}function Rs(e,t,r){return _n(e.getChildren(r),i=>i.kind===t)}function h7(e){const t=_n(e.parent.getChildren(),r=>PD(r)&&rp(r,e));return C.assert(!t||Vn(t.getChildren(),e)),t}function Sxe(e){return e.kind===90}function pKe(e){return e.kind===86}function fKe(e){return e.kind===100}function mKe(e){if(nd(e))return e.name;if(xc(e)){const t=e.modifiers&&_n(e.modifiers,Sxe);if(t)return t}if(uc(e)){const t=_n(e.getChildren(),pKe);if(t)return t}}function hKe(e){if(nd(e))return e.name;if(ec(e)){const t=_n(e.modifiers,Sxe);if(t)return t}if(Ks(e)){const t=_n(e.getChildren(),fKe);if(t)return t}}function _Ke(e){let t;return Rn(e,r=>(xi(r)&&(t=r),!Wu(r.parent)&&!xi(r.parent)&&!_S(r.parent))),t}function _7(e,t){if(e.flags&16777216)return;const r=P7(e,t);if(r)return r;const i=_Ke(e);return i&&t.getTypeAtLocation(i)}function gKe(e,t){if(!t)switch(e.kind){case 264:case 232:return mKe(e);case 263:case 219:return hKe(e);case 177:return e}if(nd(e))return e.name}function Exe(e,t){if(e.importClause){if(e.importClause.name&&e.importClause.namedBindings)return;if(e.importClause.name)return e.importClause.name;if(e.importClause.namedBindings){if(s_(e.importClause.namedBindings)){const r=cg(e.importClause.namedBindings.elements);return r?r.name:void 0}else if(Cg(e.importClause.namedBindings))return e.importClause.namedBindings.name}}if(!t)return e.moduleSpecifier}function Axe(e,t){if(e.exportClause){if(Kf(e.exportClause))return cg(e.exportClause.elements)?e.exportClause.elements[0].name:void 0;if(V_(e.exportClause))return e.exportClause.name}if(!t)return e.moduleSpecifier}function yKe(e){if(e.types.length===1)return e.types[0].expression}function Ixe(e,t){const{parent:r}=e;if(Ra(e)&&(t||e.kind!==90)?Im(r)&&Vn(r.modifiers,e):e.kind===86?xc(r)||uc(e):e.kind===100?ec(r)||Ks(e):e.kind===120?gd(r):e.kind===94?eT(r):e.kind===156?Em(r):e.kind===145||e.kind===144?pc(r):e.kind===102?Oc(r):e.kind===139?qf(r):e.kind===153&&bp(r)){const i=gKe(r,t);if(i)return i}if((e.kind===115||e.kind===87||e.kind===121)&&_d(r)&&r.declarations.length===1){const i=r.declarations[0];if(Je(i.name))return i.name}if(e.kind===156){if(Hm(r)&&r.isTypeOnly){const i=Exe(r.parent,t);if(i)return i}if(fc(r)&&r.isTypeOnly){const i=Axe(r,t);if(i)return i}}if(e.kind===130){if(Au(r)&&r.propertyName||ou(r)&&r.propertyName||Cg(r)||V_(r))return r.name;if(fc(r)&&r.exportClause&&V_(r.exportClause))return r.exportClause.name}if(e.kind===102&&Sl(r)){const i=Exe(r,t);if(i)return i}if(e.kind===95){if(fc(r)){const i=Axe(r,t);if(i)return i}if(fl(r))return Hl(r.expression)}if(e.kind===149&&_y(r))return r.expression;if(e.kind===161&&(Sl(r)||fc(r))&&r.moduleSpecifier)return r.moduleSpecifier;if((e.kind===96||e.kind===119)&&Gp(r)&&r.token===e.kind){const i=yKe(r);if(i)return i}if(e.kind===96){if(pl(r)&&r.constraint&&Bp(r.constraint))return r.constraint.typeName;if(zS(r)&&Bp(r.extendsType))return r.extendsType.typeName}if(e.kind===140&&v1(r))return r.typeParameter.name;if(e.kind===103&&pl(r)&&T1(r.parent))return r.name;if(e.kind===143&&X0(r)&&r.operator===143&&Bp(r.type))return r.type.typeName;if(e.kind===148&&X0(r)&&r.operator===148&&_w(r.type)&&Bp(r.type.elementType))return r.type.elementType.typeName;if(!t){if((e.kind===105&&GS(r)||e.kind===116&&XI(r)||e.kind===114&&ED(r)||e.kind===135&&Ob(r)||e.kind===127&&gw(r)||e.kind===91&&wie(r))&&r.expression)return Hl(r.expression);if((e.kind===103||e.kind===104)&&Nr(r)&&r.operatorToken===e)return Hl(r.right);if(e.kind===130&&AD(r)&&Bp(r.type))return r.type.typeName;if(e.kind===103&&A4(r)||e.kind===165&&yw(r))return Hl(r.expression)}return e}function Vq(e){return Ixe(e,!1)}function g7(e){return Ixe(e,!0)}function ap(e,t){return nC(e,t,r=>$h(r)||np(r.kind)||to(r))}function nC(e,t,r){return xxe(e,t,!1,r,!1)}function Fi(e,t){return xxe(e,t,!0,void 0,!1)}function xxe(e,t,r,i,o){let s=e,l;e:for(;;){const d=s.getChildren(e),_=$A(d,t,(m,y)=>y,(m,y)=>{const E=d[m].getEnd();if(E<t)return-1;const A=r?d[m].getFullStart():d[m].getStart(e,!0);return A>t?1:u(d[m],A,E)?d[m-1]&&u(d[m-1])?1:0:i&&A===t&&d[m-1]&&d[m-1].getEnd()===t&&u(d[m-1])?1:-1});if(l)return l;if(_>=0&&d[_]){s=d[_];continue e}return s}function u(d,_,m){if(m!=null||(m=d.getEnd()),m<t||(_!=null||(_=r?d.getFullStart():d.getStart(e,!0)),_>t))return!1;if(t<m||t===m&&(d.kind===1||o))return!0;if(i&&m===t){const y=Fc(t,e,d);if(y&&i(y))return l=y,!0}return!1}}function Qle(e,t){let r=Fi(e,t);for(;y7(r);){const i=eE(r,r.parent,e);if(!i)return;r=i}return r}function DP(e,t){const r=Fi(e,t);return aI(r)&&t>r.getStart(e)&&t<r.getEnd()?r:Fc(t,e)}function eE(e,t,r){return i(t);function i(o){return aI(o)&&o.pos===e.end?o:Wn(o.getChildren(r),s=>(s.pos<=e.pos&&s.end>e.end||s.pos===e.end)&&ice(s,r)?i(s):void 0)}}function Fc(e,t,r,i){const o=s(r||t);return C.assert(!(o&&y7(o))),o;function s(l){if(Rxe(l)&&l.kind!==1)return l;const u=l.getChildren(t),d=$A(u,e,(m,y)=>y,(m,y)=>e<u[m].end?!u[m-1]||e>=u[m-1].end?0:1:-1);if(d>=0&&u[d]){const m=u[d];if(e<m.end)if(m.getStart(t,!i)>=e||!ice(m,t)||y7(m)){const A=ece(u,d,t,l.kind);return A?!i&&DF(A)&&A.getChildren(t).length?s(A):Zle(A,t):void 0}else return s(m)}C.assert(r!==void 0||l.kind===308||l.kind===1||DF(l));const _=ece(u,u.length,t,l.kind);return _&&Zle(_,t)}}function Rxe(e){return aI(e)&&!y7(e)}function Zle(e,t){if(Rxe(e))return e;const r=e.getChildren(t);if(r.length===0)return e;const i=ece(r,r.length,t,e.kind);return i&&Zle(i,t)}function ece(e,t,r,i){for(let o=t-1;o>=0;o--){const s=e[o];if(y7(s))o===0&&(i===12||i===286)&&C.fail("`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(ice(e[o],r))return e[o]}}function fx(e,t,r=Fc(t,e)){if(r&&nG(r)){const i=r.getStart(e),o=r.getEnd();if(i<t&&t<o)return!0;if(t===o)return!!r.isUnterminated}return!1}function tce(e,t){const r=Fi(e,t);return r?!!(r.kind===12||r.kind===30&&r.parent.kind===12||r.kind===30&&r.parent.kind===295||r&&r.kind===20&&r.parent.kind===295||r.kind===30&&r.parent.kind===288):!1}function y7(e){return GI(e)&&e.containsOnlyTriviaWhiteSpaces}function jq(e,t){const r=Fi(e,t);return mb(r.kind)&&t>r.getStart(e)}function nce(e,t){const r=Fi(e,t);return!!(GI(r)||r.kind===19&&RD(r.parent)&&l_(r.parent.parent)||r.kind===30&&ru(r.parent)&&l_(r.parent.parent))}function v7(e,t){function r(i){for(;i;)if(i.kind>=286&&i.kind<=295||i.kind===12||i.kind===30||i.kind===32||i.kind===80||i.kind===20||i.kind===19||i.kind===44)i=i.parent;else if(i.kind===285){if(t>i.getStart(e))return!0;i=i.parent}else return!1;return!1}return r(Fi(e,t))}function b7(e,t,r){const i=Ta(e.kind),o=Ta(t),s=e.getFullStart(),l=r.text.lastIndexOf(o,s);if(l===-1)return;if(r.text.lastIndexOf(i,s-1)<l){const _=Fc(l+1,r);if(_&&_.kind===t)return _}const u=e.kind;let d=0;for(;;){const _=Fc(e.getFullStart(),r);if(!_)return;if(e=_,e.kind===t){if(d===0)return e;d--}else e.kind===u&&d++}}function vKe(e,t,r){return t?e.getNonNullableType():r?e.getNonOptionalType():e}function TO(e,t,r){const i=Hq(e,t);return i!==void 0&&(Yh(i.called)||Uq(i.called,i.nTypeArguments,r).length!==0||TO(i.called,t,r))}function Uq(e,t,r){let i=r.getTypeAtLocation(e);return tu(e.parent)&&(i=vKe(i,LN(e.parent),!0)),(GS(e.parent)?i.getConstructSignatures():i.getCallSignatures()).filter(s=>!!s.typeParameters&&s.typeParameters.length>=t)}function Hq(e,t){if(t.text.lastIndexOf("<",e?e.pos:t.text.length)===-1)return;let r=e,i=0,o=0;for(;r;){switch(r.kind){case 30:if(r=Fc(r.getFullStart(),t),r&&r.kind===29&&(r=Fc(r.getFullStart(),t)),!r||!Je(r))return;if(!i)return z_(r)?void 0:{called:r,nTypeArguments:o};i--;break;case 50:i=3;break;case 49:i=2;break;case 32:i++;break;case 20:if(r=b7(r,19,t),!r)return;break;case 22:if(r=b7(r,21,t),!r)return;break;case 24:if(r=b7(r,23,t),!r)return;break;case 28:o++;break;case 39:case 80:case 11:case 9:case 10:case 112:case 97:case 114:case 96:case 143:case 25:case 52:case 58:case 59:break;default:if(xi(r))break;return}r=Fc(r.getFullStart(),t)}}function yv(e,t,r){return Dc.getRangeOfEnclosingComment(e,t,void 0,r)}function rce(e,t){const r=Fi(e,t);return!!Rn(r,mh)}function ice(e,t){return e.kind===1?!!e.jsDoc:e.getWidth(t)!==0}function CP(e,t=0){const r=[],i=rd(e)?U9(e)&~t:0;return i&2&&r.push("private"),i&4&&r.push("protected"),i&1&&r.push("public"),(i&256||Zl(e))&&r.push("static"),i&64&&r.push("abstract"),i&32&&r.push("export"),i&65536&&r.push("deprecated"),e.flags&33554432&&r.push("declare"),e.kind===278&&r.push("export"),r.length>0?r.join(","):""}function oce(e){if(e.kind===184||e.kind===214)return e.typeArguments;if(Yo(e)||e.kind===264||e.kind===265)return e.typeParameters}function T7(e){return e===2||e===3}function qq(e){return!!(e===11||e===14||mb(e))}function Dxe(e,t,r){return!!(t.flags&4)&&e.isEmptyAnonymousObjectType(r)}function ace(e){if(!e.isIntersection())return!1;const{types:t,checker:r}=e;return t.length===2&&(Dxe(r,t[0],t[1])||Dxe(r,t[1],t[0]))}function SO(e,t,r){return mb(e.kind)&&e.getStart(r)<t&&t<e.end||!!e.isUnterminated&&t===e.end}function Jq(e){switch(e){case 125:case 123:case 124:return!0}return!1}function Kq(e){const t=oZ(e);return yU(t,e&&e.configFile),t}function vv(e){return!!((e.kind===210||e.kind===211)&&(e.parent.kind===227&&e.parent.left===e&&e.parent.operatorToken.kind===64||e.parent.kind===251&&e.parent.initializer===e||vv(e.parent.kind===304?e.parent.parent:e.parent)))}function sce(e,t){return Cxe(e,t,!0)}function lce(e,t){return Cxe(e,t,!1)}function Cxe(e,t,r){const i=yv(e,t,void 0);return!!i&&r===uKe.test(e.text.substring(i.pos,i.end))}function Xq(e,t){if(e)switch(e.kind){case 11:case 15:return Yq(e,t);default:return Vu(e)}}function Vu(e,t,r){return oc(e.getStart(t),(r||e).getEnd())}function Yq(e,t){let r=e.getEnd()-1;if(e.isUnterminated){if(e.getStart()===r)return;r=Math.min(t,e.getEnd())}return oc(e.getStart()+1,r)}function $q(e,t){return Gf(e.getStart(t),e.end)}function bv(e){return oc(e.pos,e.end)}function S7(e){return Gf(e.start,e.start+e.length)}function E7(e,t,r){return EO(Ad(e,t),r)}function EO(e,t){return{span:e,newText:t}}var Qq=[133,131,163,136,97,140,143,146,106,150,151,148,154,155,114,112,116,157,158,159];function NP(e){return Vn(Qq,e)}function Nxe(e){return e.kind===156}function A7(e){return Nxe(e)||Je(e)&&e.text==="type"}function rC(){const e=[];return t=>{const r=ls(t);return!e[r]&&(e[r]=!0)}}function mx(e){return e.getText(0,e.getLength())}function AO(e,t){let r="";for(let i=0;i<t;i++)r+=e;return r}function Zq(e){return e.isTypeParameter()&&e.getConstraint()||e}function IO(e){return e.kind===168?pf(e.expression)?e.expression.text:void 0:to(e)?Yr(e):Bf(e)}function cce(e){return e.getSourceFiles().some(t=>!t.isDeclarationFile&&!e.isSourceFileFromExternalLibrary(t)&&!!(t.externalModuleIndicator||t.commonJsModuleIndicator))}function dce(e){return e.getSourceFiles().some(t=>!t.isDeclarationFile&&!e.isSourceFileFromExternalLibrary(t)&&!!t.externalModuleIndicator)}function eJ(e){return!!e.module||Va(e)>=2||!!e.noEmit}function fT(e,t){return{fileExists:r=>e.fileExists(r),getCurrentDirectory:()=>t.getCurrentDirectory(),readFile:la(t,t.readFile),useCaseSensitiveFileNames:la(t,t.useCaseSensitiveFileNames)||e.useCaseSensitiveFileNames,getSymlinkCache:la(t,t.getSymlinkCache)||e.getSymlinkCache,getModuleSpecifierCache:la(t,t.getModuleSpecifierCache),getPackageJsonInfoCache:()=>{var r;return(r=e.getModuleResolutionCache())==null?void 0:r.getPackageJsonInfoCache()},getGlobalTypingsCacheLocation:la(t,t.getGlobalTypingsCacheLocation),redirectTargetsMap:e.redirectTargetsMap,getRedirectFromSourceFile:r=>e.getRedirectFromSourceFile(r),isSourceOfProjectReferenceRedirect:r=>e.isSourceOfProjectReferenceRedirect(r),getNearestAncestorDirectoryWithPackageJson:la(t,t.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:()=>e.getFileIncludeReasons(),getCommonSourceDirectory:()=>e.getCommonSourceDirectory(),getDefaultResolutionModeForFile:r=>e.getDefaultResolutionModeForFile(r),getModeForResolutionAtIndex:(r,i)=>e.getModeForResolutionAtIndex(r,i)}}function tJ(e,t){return{...fT(e,t),getCommonSourceDirectory:()=>e.getCommonSourceDirectory()}}function I7(e){return e===2||e>=3&&e<=99||e===100}function qb(e,t,r,i,o){return L.createImportDeclaration(void 0,e||t?L.createImportClause(o?156:void 0,e,t&&t.length?L.createNamedImports(t):void 0):void 0,typeof r=="string"?MP(r,i):r,void 0)}function MP(e,t){return L.createStringLiteral(e,t===0)}var uce=(e=>(e[e.Single=0]="Single",e[e.Double=1]="Double",e))(uce||{});function nJ(e,t){return a6(e,t)?1:0}function Up(e,t){if(t.quotePreference&&t.quotePreference!=="auto")return t.quotePreference==="single"?0:1;{const r=bg(e)&&e.imports&&_n(e.imports,i=>Oa(i)&&!zs(i.parent));return r?nJ(r,e):1}}function rJ(e){switch(e){case 0:return"'";case 1:return'"';default:return C.assertNever(e)}}function iJ(e){const t=x7(e);return t===void 0?void 0:Bi(t)}function x7(e){return e.escapedName!=="default"?e.escapedName:Wn(e.declarations,t=>{const r=Fo(t);return r&&r.kind===80?r.escapedText:void 0})}function R7(e){return ds(e)&&(_y(e.parent)||Sl(e.parent)||d_(e.parent)||tp(e.parent,!1)&&e.parent.arguments[0]===e||ep(e.parent)&&e.parent.arguments[0]===e)}function xO(e){return qa(e)&&mf(e.parent)&&Je(e.name)&&!e.propertyName}function D7(e,t){const r=e.getTypeAtLocation(t.parent);return r&&e.getPropertyOfType(r,t.name.text)}function RO(e,t,r){if(e)for(;e.parent;){if(Qi(e.parent)||!bKe(r,e.parent,t))return e;e=e.parent}}function bKe(e,t,r){return G9(e,t.getStart(r))&&t.getEnd()<=Ml(e)}function iC(e,t){return Im(e)?_n(e.modifiers,r=>r.kind===t):void 0}function oJ(e,t,r,i,o){var s;const u=(Lo(r)?r[0]:r).kind===244?mk:hI,d=Fn(t.statements,u),{comparer:_,isSorted:m}=bT.getOrganizeImportsStringComparerWithDetection(d,o),y=Lo(r)?Cp(r,(E,A)=>bT.compareImportsOrRequireStatements(E,A,_)):[r];if(!(d!=null&&d.length)){if(bg(t))e.insertNodesAtTopOfFile(t,y,i);else for(const E of y)e.insertStatementsInNewFile(t.fileName,[E],(s=Tl(E))==null?void 0:s.getSourceFile());return}if(C.assert(bg(t)),d&&m)for(const E of y){const A=bT.getImportDeclarationInsertionIndex(d,E,_);if(A===0){const R=d[0]===t.statements[0]?{leadingTriviaOption:Ir.LeadingTriviaOption.Exclude}:{};e.insertNodeBefore(t,d[0],E,!1,R)}else{const R=d[A-1];e.insertNodeAfter(t,R,E)}}else{const E=rl(d);E?e.insertNodesAfter(t,E,y):e.insertNodesAtTopOfFile(t,y,i)}}function aJ(e,t){return C.assert(e.isTypeOnly),va(e.getChildAt(0,t),Nxe)}function oC(e,t){return!!e&&!!t&&e.start===t.start&&e.length===t.length}function sJ(e,t,r){return(r?pS:sb)(e.fileName,t.fileName)&&oC(e.textSpan,t.textSpan)}function lJ(e){return(t,r)=>sJ(t,r,e)}function cJ(e,t){if(e){for(let r=0;r<e.length;r++)if(e.indexOf(e[r])===r){const i=t(e[r],r);if(i)return i}}}function pce(e,t,r){for(let i=t;i<r;i++)if(!ug(e.charCodeAt(i)))return!1;return!0}function PP(e,t,r){const i=t.tryGetSourcePosition(e);return i&&(!r||r(Sa(i.fileName))?i:void 0)}function C7(e,t,r){const{fileName:i,textSpan:o}=e,s=PP({fileName:i,pos:o.start},t,r);if(!s)return;const l=PP({fileName:i,pos:o.start+o.length},t,r),u=l?l.pos-s.pos:o.length;return{fileName:s.fileName,textSpan:{start:s.pos,length:u},originalFileName:e.fileName,originalTextSpan:e.textSpan,contextSpan:dJ(e,t,r),originalContextSpan:e.contextSpan}}function dJ(e,t,r){const i=e.contextSpan&&PP({fileName:e.fileName,pos:e.contextSpan.start},t,r),o=e.contextSpan&&PP({fileName:e.fileName,pos:e.contextSpan.start+e.contextSpan.length},t,r);return i&&o?{start:i.pos,length:o.pos-i.pos}:void 0}function uJ(e){const t=e.declarations?Sc(e.declarations):void 0;return!!Rn(t,r=>no(r)?!0:qa(r)||mf(r)||_v(r)?!1:"quit")}var fce=new Map;function TKe(e){return e=e||VN,fce.has(e)||fce.set(e,SKe(e)),fce.get(e)}function SKe(e){const t=e*10;let r,i,o,s;y();const l=E=>d(E,17);return{displayParts:()=>{const E=r.length&&r[r.length-1].text;return s>t&&E&&E!=="..."&&(ug(E.charCodeAt(E.length-1))||r.push(Tp(" ",16)),r.push(Tp("...",15))),r},writeKeyword:E=>d(E,5),writeOperator:E=>d(E,12),writePunctuation:E=>d(E,15),writeTrailingSemicolon:E=>d(E,15),writeSpace:E=>d(E,16),writeStringLiteral:E=>d(E,8),writeParameter:E=>d(E,13),writeProperty:E=>d(E,14),writeLiteral:E=>d(E,8),writeSymbol:_,writeLine:m,write:l,writeComment:l,getText:()=>"",getTextPos:()=>0,getColumn:()=>0,getLine:()=>0,isAtStartOfLine:()=>!1,hasTrailingWhitespace:()=>!1,hasTrailingComment:()=>!1,rawWrite:ba,getIndent:()=>o,increaseIndent:()=>{o++},decreaseIndent:()=>{o--},clear:y};function u(){if(!(s>t)&&i){const E=g6(o);E&&(s+=E.length,r.push(Tp(E,16))),i=!1}}function d(E,A){s>t||(u(),s+=E.length,r.push(Tp(E,A)))}function _(E,A){s>t||(u(),s+=E.length,r.push(EKe(E,A)))}function m(){s>t||(s+=1,r.push(aC()),i=!0)}function y(){r=[],i=!0,o=0,s=0}}function EKe(e,t){return Tp(e,r(t));function r(i){const o=i.flags;return o&3?uJ(i)?13:9:o&4||o&32768||o&65536?14:o&8?19:o&16?20:o&32?1:o&64?4:o&384?2:o&1536?11:o&8192?10:o&262144?18:o&524288||o&2097152?0:17}}function Tp(e,t){return{text:e,kind:s7[t]}}function Bl(){return Tp(" ",16)}function Hp(e){return Tp(Ta(e),5)}function lu(e){return Tp(Ta(e),15)}function LP(e){return Tp(Ta(e),12)}function mce(e){return Tp(e,13)}function hce(e){return Tp(e,14)}function pJ(e){const t=qE(e);return t===void 0?vf(e):Hp(t)}function vf(e){return Tp(e,17)}function _ce(e){return Tp(e,0)}function gce(e){return Tp(e,18)}function yce(e){return Tp(e,24)}function AKe(e,t){return{text:e,kind:s7[23],target:{fileName:On(t).fileName,textSpan:Vu(t)}}}function Mxe(e){return Tp(e,22)}function vce(e,t){var r;const i=Uie(e)?"link":Hie(e)?"linkcode":"linkplain",o=[Mxe("{@".concat(i," "))];if(!e.name)e.text&&o.push(yce(e.text));else{const s=t==null?void 0:t.getSymbolAtLocation(e.name),l=s&&t?hJ(s,t):void 0,u=xKe(e.text),d=Rl(e.name)+e.text.slice(0,u),_=IKe(e.text.slice(u)),m=(l==null?void 0:l.valueDeclaration)||((r=l==null?void 0:l.declarations)==null?void 0:r[0]);if(m)o.push(AKe(d,m)),_&&o.push(yce(_));else{const y=u===0||e.text.charCodeAt(u)===124&&d.charCodeAt(d.length-1)!==32?" ":"";o.push(yce(d+y+_))}}return o.push(Mxe("}")),o}function IKe(e){let t=0;if(e.charCodeAt(t++)===124){for(;t<e.length&&e.charCodeAt(t)===32;)t++;return e.slice(t)}return e}function xKe(e){let t=e.indexOf("://");if(t===0){for(;t<e.length&&e.charCodeAt(t)!==124;)t++;return t}if(e.indexOf("()")===0)return 2;if(e.charAt(0)==="<"){let r=0,i=0;for(;i<e.length;)if(e[i]==="<"&&r++,e[i]===">"&&r--,i++,!r)return i}return 0}var RKe="\n";function Ty(e,t){var r;return(t==null?void 0:t.newLineCharacter)||((r=e.getNewLine)==null?void 0:r.call(e))||RKe}function aC(){return Tp("\n",6)}function Jb(e,t){const r=TKe(t);try{return e(r),r.displayParts()}finally{r.clear()}}function DO(e,t,r,i=0,o,s,l){return Jb(u=>{e.writeType(t,r,i|1024|16384,u,o,s,l)},o)}function kP(e,t,r,i,o=0){return Jb(s=>{e.writeSymbol(t,r,i,o|8,s)})}function fJ(e,t,r,i=0,o,s,l){return i|=25632,Jb(u=>{e.writeSignature(t,r,i,void 0,u,o,s,l)},o)}function bce(e){return!!e.parent&&hb(e.parent)&&e.parent.propertyName===e}function mJ(e,t){return J6(e,t.getScriptKind&&t.getScriptKind(e))}function hJ(e,t){let r=e;for(;DKe(r)||_g(r)&&r.links.target;)_g(r)&&r.links.target?r=r.links.target:r=Id(r,t);return r}function DKe(e){return(e.flags&2097152)!==0}function Tce(e,t){return Aa(Id(e,t))}function Sce(e,t){for(;ug(e.charCodeAt(t));)t+=1;return t}function N7(e,t){for(;t>-1&&Hh(e.charCodeAt(t));)t-=1;return t+1}function B1(e,t){const r=e.getSourceFile(),i=r.text;CKe(e,i)?sC(e,t,r):NO(e,t,r),wP(e,t,r)}function CKe(e,t){const r=e.getFullStart(),i=e.getStart();for(let o=r;o<i;o++)if(t.charCodeAt(o)===10)return!0;return!1}function G1(e,t){let r=e;for(let i=1;!WF(t,r);i++)r="".concat(e,"_").concat(i);return r}function CO(e,t,r,i){let o=0,s=-1;for(const{fileName:l,textChanges:u}of e){C.assert(l===t);for(const d of u){const{span:_,newText:m}=d,y=NKe(m,B_(r));if(y!==-1&&(s=_.start+o+y,!i))return s;o+=m.length-_.length}}return C.assert(i),C.assert(s>=0),s}function sC(e,t,r,i,o){R2(r.text,e.pos,Ece(t,r,i,o,Lb))}function wP(e,t,r,i,o){D2(r.text,e.end,Ece(t,r,i,o,WM))}function NO(e,t,r,i,o){D2(r.text,e.pos,Ece(t,r,i,o,Lb))}function Ece(e,t,r,i,o){return(s,l,u,d)=>{u===3?(s+=2,l-=2):s+=2,o(e,r||u,t.text.slice(s,l),i!==void 0?i:d)}}function NKe(e,t){if(fo(e,t))return 0;let r=e.indexOf(" "+t);return r===-1&&(r=e.indexOf("."+t)),r===-1&&(r=e.indexOf('"'+t)),r===-1?-1:r+1}function M7(e){return Nr(e)&&e.operatorToken.kind===28||za(e)||(AD(e)||ID(e))&&za(e.expression)}function P7(e,t,r){const i=Vm(e.parent);switch(i.kind){case 215:return t.getContextualType(i,r);case 227:{const{left:o,operatorToken:s,right:l}=i;return L7(s.kind)?t.getTypeAtLocation(e===l?o:l):t.getContextualType(e,r)}case 297:return gJ(i,t);default:return t.getContextualType(e,r)}}function OP(e,t,r){const i=Up(e,t),o=JSON.stringify(r);return i===0?"'".concat(bm(o).replace(/'/g,()=>"\\'").replace(/\\"/g,'"'),"'"):o}function L7(e){switch(e){case 37:case 35:case 38:case 36:return!0;default:return!1}}function Ace(e){switch(e.kind){case 11:case 15:case 229:case 216:return!0;default:return!1}}function _J(e){return!!e.getStringIndexType()||!!e.getNumberIndexType()}function gJ(e,t){return t.getTypeAtLocation(e.parent.parent.expression)}var yJ="anonymous function";function WP(e,t,r,i){const o=r.getTypeChecker();let s=!0;const l=()=>s=!1,u=o.typeToTypeNode(e,t,1,8,{trackSymbol:(d,_,m)=>(s=s&&o.isSymbolAccessible(d,_,m,!1).accessibility===0,!s),reportInaccessibleThisError:l,reportPrivateInBaseOfClassExpression:l,reportInaccessibleUniqueSymbolError:l,moduleResolverHost:tJ(r,i)});return s?u:void 0}function Ice(e){return e===180||e===181||e===182||e===172||e===174}function Pxe(e){return e===263||e===177||e===175||e===178||e===179}function Lxe(e){return e===268}function xce(e){return e===244||e===245||e===247||e===252||e===253||e===254||e===258||e===260||e===173||e===266||e===273||e===272||e===279||e===271||e===278}var MKe=Np(Ice,Pxe,Lxe,xce);function PKe(e,t){const r=e.getLastToken(t);if(r&&r.kind===27)return!1;if(Ice(e.kind)){if(r&&r.kind===28)return!1}else if(Lxe(e.kind)){const u=Ga(e.getChildren(t));if(u&&a_(u))return!1}else if(Pxe(e.kind)){const u=Ga(e.getChildren(t));if(u&&SS(u))return!1}else if(!xce(e.kind))return!1;if(e.kind===247)return!0;const i=Rn(e,u=>!u.parent),o=eE(e,i,t);if(!o||o.kind===20)return!0;const s=t.getLineAndCharacterOfPosition(e.getEnd()).line,l=t.getLineAndCharacterOfPosition(o.getStart(t)).line;return s!==l}function k7(e,t,r){const i=Rn(t,o=>o.end!==e?"quit":MKe(o.kind));return!!i&&PKe(i,r)}function MO(e){let t=0,r=0;const i=5;return Xo(e,function o(s){if(xce(s.kind)){const l=s.getLastToken(e);(l==null?void 0:l.kind)===27?t++:r++}else if(Ice(s.kind)){const l=s.getLastToken(e);if((l==null?void 0:l.kind)===27)t++;else if(l&&l.kind!==28){const u=fa(e,l.getStart(e)).line,d=fa(e,Kh(e,l.end).start).line;u!==d&&r++}}return t+r>=i?!0:Xo(s,o)}),t===0&&r<=1?!0:t/r>1/i}function w7(e,t){return Rce(e,e.getDirectories,t)||[]}function vJ(e,t,r,i,o){return Rce(e,e.readDirectory,t,r,i,o)||se}function FP(e,t){return Rce(e,e.fileExists,t)}function O7(e,t){return W7(()=>ch(t,e))||!1}function W7(e){try{return e()}catch(t){return}}function Rce(e,t,...r){return W7(()=>t&&t.apply(e,r))}function bJ(e,t){const r=[];return j_(t,e,i=>{const o=ei(i,"package.json");FP(t,o)&&r.push(o)}),r}function Dce(e,t){let r;return j_(t,e,i=>{if(i==="node_modules"||(r=TH(i,o=>FP(t,o),"package.json"),r))return!0}),r}function LKe(e,t){if(!t.fileExists)return[];const r=[];return j_(t,pi(e),i=>{const o=ei(i,"package.json");if(t.fileExists(o)){const s=TJ(o,t);s&&r.push(s)}}),r}function TJ(e,t){if(!t.readFile)return;const r=["dependencies","devDependencies","optionalDependencies","peerDependencies"],i=t.readFile(e)||"",o=Gk(i),s={};if(o)for(const d of r){const _=o[d];if(!_)continue;const m=new Map;for(const y in _)m.set(y,_[y]);s[d]=m}const l=[[1,s.dependencies],[2,s.devDependencies],[8,s.optionalDependencies],[4,s.peerDependencies]];return{...s,parseable:!!o,fileName:e,get:u,has(d,_){return!!u(d,_)}};function u(d,_=15){for(const[m,y]of l)if(y&&_&m){const E=y.get(d);if(E!==void 0)return E}}}function lC(e,t,r){const i=(r.getPackageJsonsVisibleToFile&&r.getPackageJsonsVisibleToFile(e.fileName)||LKe(e.fileName,r)).filter(R=>R.parseable);let o,s,l;return{allowsImportingAmbientModule:d,getSourceFileInfo:_,allowsImportingSpecifier:m};function u(R){const N=A(R);for(const M of i)if(M.has(N)||M.has(d3(N)))return!0;return!1}function d(R,N){if(!i.length||!R.valueDeclaration)return!0;if(!s)s=new Map;else{const G=s.get(R);if(G!==void 0)return G}const M=bm(R.getName());if(y(M))return s.set(R,!0),!0;const k=R.valueDeclaration.getSourceFile(),F=E(k.fileName,N);if(typeof F>"u")return s.set(R,!0),!0;const O=u(F)||u(M);return s.set(R,O),O}function _(R,N){if(!i.length)return{importable:!0,packageName:void 0};if(!l)l=new Map;else{const O=l.get(R);if(O!==void 0)return O}const M=E(R.fileName,N);if(!M){const O={importable:!0,packageName:M};return l.set(R,O),O}const F={importable:u(M),packageName:M};return l.set(R,F),F}function m(R){return!i.length||y(R)||tf(R)||Pp(R)?!0:u(R)}function y(R){return!!(bg(e)&&wu(e)&&yD.has(R)&&(o===void 0&&(o=F7(e)),o))}function E(R,N){if(!R.includes("node_modules"))return;const M=by.getNodeModulesPackageName(r.getCompilationSettings(),e,R,N,t);if(M&&!tf(M)&&!Pp(M))return A(M)}function A(R){const N=zd(sP(R)).slice(1);return fo(N[0],"@")?"".concat(N[0],"/").concat(N[1]):N[0]}}function F7(e){return bt(e.imports,({text:t})=>yD.has(t))}function PO(e){return Vn(zd(e),"node_modules")}function kxe(e){return e.file!==void 0&&e.start!==void 0&&e.length!==void 0}function Cce(e,t){const r=Vu(e),i=$A(t,r,qs,UW);if(i>=0){const o=t[i];return C.assertEqual(o.file,e.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),va(o,kxe)}}function Nce(e,t){var r;let i=$A(t,e.start,l=>l.start,Js);for(i<0&&(i=~i);((r=t[i-1])==null?void 0:r.start)===e.start;)i--;const o=[],s=Ml(e);for(;;){const l=ii(t[i],kxe);if(!l||l.start>s)break;Vee(e,l)&&o.push(l),i++}return o}function hx({startPosition:e,endPosition:t}){return oc(e,t===void 0?e:t)}function SJ(e,t){const r=Fi(e,t.start);return Rn(r,o=>o.getStart(e)<t.start||o.getEnd()>Ml(t)?"quit":Et(o)&&oC(t,Vu(o,e)))}function EJ(e,t,r=qs){return e?Lo(e)?r(Gt(e,t)):t(e,0):void 0}function AJ(e){return Lo(e)?Qa(e):e}function z7(e,t,r){return e.escapedName==="export="||e.escapedName==="default"?IJ(e)||LO(kKe(e),t,!!r):e.name}function IJ(e){return Wn(e.declarations,t=>{var r,i,o;if(fl(t))return(r=ii(Hl(t.expression),Je))==null?void 0:r.text;if(ou(t)&&t.symbol.flags===2097152)return(i=ii(t.propertyName,Je))==null?void 0:i.text;const s=(o=ii(Fo(t),Je))==null?void 0:o.text;if(s)return s;if(e.parent&&!uI(e.parent))return e.parent.getName()})}function kKe(e){var t;return C.checkDefined(e.parent,"Symbol parent was undefined. Flags: ".concat(C.formatSymbolFlags(e.flags),". Declarations: ").concat((t=e.declarations)==null?void 0:t.map(r=>{const i=C.formatSyntaxKind(r.kind),o=Er(r),{expression:s}=r;return(o?"[JS]":"")+i+(s?" (expression: ".concat(C.formatSyntaxKind(s.kind),")"):"")}).join(", "),"."))}function LO(e,t,r){return kO(Su(bm(e.name)),t,r)}function kO(e,t,r){const i=Ec(CR(Su(e),"/index"));let o="",s=!0;const l=i.charCodeAt(0);L_(l,t)?(o+=String.fromCharCode(l),r&&(o=o.toUpperCase())):s=!1;for(let u=1;u<i.length;u++){const d=i.charCodeAt(u),_=oy(d,t);if(_){let m=String.fromCharCode(d);s||(m=m.toUpperCase()),o+=m}s=_}return EI(o)?"_".concat(o):o||"_"}function Mce(e,t,r){const i=t.length;if(i+r>e.length)return!1;for(let o=0;o<i;o++)if(t.charCodeAt(o)!==e.charCodeAt(o+r))return!1;return!0}function xJ(e){return e.charCodeAt(0)===95}function B7(e){return!!(U9(e)&65536)}function G7(e,t){let r;for(const i of e.imports)if(yD.has(i.text)&&!l4.has(i.text)){if(fo(i.text,"node:"))return!0;r=!1}return r!=null?r:t.usesUriStyleNodeCoreModules}function wO(e){return e==="\n"?1:0}function tE(e){return Lo(e)?Ag(Jo(e[0]),e.slice(1)):Jo(e)}function V7({options:e},t){const r=!e.semicolons||e.semicolons==="ignore",i=e.semicolons==="remove"||r&&!MO(t);return{...e,semicolons:i?"remove":"ignore"}}function RJ(e){return e===2||e===3}function cC(e,t){return e.isSourceFileFromExternalLibrary(t)||e.isSourceFileDefaultLibrary(t)}function j7(e,t){const r=new Set,i=new Set,o=new Set;for(const u of t)if(!JM(u)){const d=us(u.expression);if(YE(d))switch(d.kind){case 15:case 11:r.add(d.text);break;case 9:i.add(parseInt(d.text));break;case 10:const _=Gre(il(d.text,"n")?d.text.slice(0,-1):d.text);_&&o.add(wS(_));break}else{const _=e.getSymbolAtLocation(u.expression);if(_&&_.valueDeclaration&&gy(_.valueDeclaration)){const m=e.getConstantValue(_.valueDeclaration);m!==void 0&&s(m)}}}return{addValue:s,hasValue:l};function s(u){switch(typeof u){case"string":r.add(u);break;case"number":i.add(u)}}function l(u){switch(typeof u){case"string":return r.has(u);case"number":return i.has(u);case"object":return o.has(wS(u))}}}function DJ(e,t,r,i){var o;const s=typeof e=="string"?e:e.fileName;if(!Ig(s))return!1;const l=typeof e=="string"?t.getCompilerOptions():t.getCompilerOptionsForFile(e),u=Tu(l),d=typeof e=="string"?{fileName:e,impliedNodeFormat:oO(Ws(e,r.getCurrentDirectory(),uy(r)),(o=t.getPackageJsonInfoCache)==null?void 0:o.call(t),r,l)}:e,_=W1(d,l);if(_===99)return!1;if(_===1||l.verbatimModuleSyntax&&u===1)return!0;if(l.verbatimModuleSyntax&&Xk(u))return!1;if(typeof e=="object"){if(e.commonJsModuleIndicator)return!0;if(e.externalModuleIndicator)return!1}return i}function _x(e){switch(e.kind){case 242:case 308:case 269:case 297:return!0;default:return!1}}function U7(e,t,r,i){var o;const s=w3(e,(o=r.getPackageJsonInfoCache)==null?void 0:o.call(r),i,r.getCompilerOptions());let l,u;return typeof s=="object"&&(l=s.impliedNodeFormat,u=s.packageJsonScope),{path:Ws(e,r.getCurrentDirectory(),r.getCanonicalFileName),fileName:e,externalModuleIndicator:t===99?!0:void 0,commonJsModuleIndicator:t===1?!0:void 0,impliedNodeFormat:l,packageJsonScope:u,statements:se,imports:se}}var Pce=(e=>(e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.Namespace=2]="Namespace",e[e.CommonJS=3]="CommonJS",e))(Pce||{}),Lce=(e=>(e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.ExportEquals=2]="ExportEquals",e[e.UMD=3]="UMD",e[e.Module=4]="Module",e))(Lce||{});function CJ(e){let t=1;const r=fm(),i=new Map,o=new Map;let s;const l={isUsableByFile:A=>A===s,isEmpty:()=>!r.size,clear:()=>{r.clear(),i.clear(),s=void 0},add:(A,R,N,M,k,F,O,G)=>{A!==s&&(l.clear(),s=A);let j;if(k){const Re=n4(k.fileName);if(Re){const{topLevelNodeModulesIndex:$,topLevelPackageNameIndex:ve,packageRootIndex:je}=Re;if(j=jw(sP(k.fileName.substring(ve+1,je))),fo(A,k.path.substring(0,$))){const be=o.get(j),ee=k.fileName.substring(0,ve+1);if(be){const Se=be.indexOf(Mg);$>Se&&o.set(j,ee)}else o.set(j,ee)}}}const Q=F===1&&hM(R)||R,J=F===0||uI(Q)?Bi(N):OKe(Q,G,void 0),he=typeof J=="string"?J:J[0],re=typeof J=="string"?void 0:J[1],q=bm(M.name),ue=t++,de=Id(R,G),ge=R.flags&33554432?void 0:R,Ae=M.flags&33554432?void 0:M;(!ge||!Ae)&&i.set(ue,[R,M]),r.add(d(he,R,td(q)?void 0:q,G),{id:ue,symbolTableKey:N,symbolName:he,capitalizedSymbolName:re,moduleName:q,moduleFile:k,moduleFileName:k==null?void 0:k.fileName,packageName:j,exportKind:F,targetFlags:de.flags,isFromPackageJson:O,symbol:ge,moduleSymbol:Ae})},get:(A,R)=>{if(A!==s)return;const N=r.get(R);return N==null?void 0:N.map(u)},search:(A,R,N,M)=>{if(A===s)return Uc(r,(k,F)=>{const{symbolName:O,ambientModuleName:G}=_(F),j=R&&k[0].capitalizedSymbolName||O;if(N(j,k[0].targetFlags)){const Q=k.map(u).filter((J,he)=>E(J,k[he].packageName));if(Q.length){const J=M(Q,j,!!G,F);if(J!==void 0)return J}}})},releaseSymbols:()=>{i.clear()},onFileChanged:(A,R,N)=>m(A)&&m(R)?!1:s&&s!==R.path||N&&F7(A)!==F7(R)||!ef(A.moduleAugmentations,R.moduleAugmentations)||!y(A,R)?(l.clear(),!0):(s=R.path,!1)};return C.isDebugging&&Object.defineProperty(l,"__cache",{value:r}),l;function u(A){if(A.symbol&&A.moduleSymbol)return A;const{id:R,exportKind:N,targetFlags:M,isFromPackageJson:k,moduleFileName:F}=A,[O,G]=i.get(R)||se;if(O&&G)return{symbol:O,moduleSymbol:G,moduleFileName:F,exportKind:N,targetFlags:M,isFromPackageJson:k};const j=(k?e.getPackageJsonAutoImportProvider():e.getCurrentProgram()).getTypeChecker(),K=A.moduleSymbol||G||C.checkDefined(A.moduleFile?j.getMergedSymbol(A.moduleFile.symbol):j.tryFindAmbientModule(A.moduleName)),Q=A.symbol||O||C.checkDefined(N===2?j.resolveExternalModuleSymbol(K):j.tryGetMemberInModuleExportsAndProperties(Bi(A.symbolTableKey),K),"Could not find symbol '".concat(A.symbolName,"' by key '").concat(A.symbolTableKey,"' in module ").concat(K.name));return i.set(R,[Q,K]),{symbol:Q,moduleSymbol:K,moduleFileName:F,exportKind:N,targetFlags:M,isFromPackageJson:k}}function d(A,R,N,M){const k=N||"";return"".concat(A.length," ").concat(Aa(Id(R,M))," ").concat(A," ").concat(k)}function _(A){const R=A.indexOf(" "),N=A.indexOf(" ",R+1),M=parseInt(A.substring(0,R),10),k=A.substring(N+1),F=k.substring(0,M),O=k.substring(M+1);return{symbolName:F,ambientModuleName:O===""?void 0:O}}function m(A){return!A.commonJsModuleIndicator&&!A.externalModuleIndicator&&!A.moduleAugmentations&&!A.ambientModuleNames}function y(A,R){if(!ef(A.ambientModuleNames,R.ambientModuleNames))return!1;let N=-1,M=-1;for(const k of R.ambientModuleNames){const F=O=>AG(O)&&O.name.text===k;if(N=lo(A.statements,F,N+1),M=lo(R.statements,F,M+1),A.statements[N]!==R.statements[M])return!1}return!0}function E(A,R){if(!R||!A.moduleFileName)return!0;const N=e.getGlobalTypingsCacheLocation();if(N&&fo(A.moduleFileName,N))return!0;const M=o.get(R);return!M||fo(A.moduleFileName,M)}}function NJ(e,t,r,i,o,s,l,u){var d;if(!r){let A;const R=bm(i.name);return yD.has(R)&&(A=G7(t,e))!==void 0?A===fo(R,"node:"):!s||s.allowsImportingAmbientModule(i,l)||kce(t,R)}if(C.assertIsDefined(r),t===r)return!1;const _=u==null?void 0:u.get(t.path,r.path,o,{});if((_==null?void 0:_.isBlockedByPackageJsonDependencies)!==void 0)return!_.isBlockedByPackageJsonDependencies||!!_.packageName&&kce(t,_.packageName);const m=uy(l),y=(d=l.getGlobalTypingsCacheLocation)==null?void 0:d.call(l),E=!!by.forEachFileNameOfModule(t.fileName,r.fileName,l,!1,A=>{const R=e.getSourceFile(A);return(R===r||!R)&&wKe(t.fileName,A,m,y,l)});if(s){const A=E?s.getSourceFileInfo(r,l):void 0;return u==null||u.setBlockedByPackageJsonDependencies(t.path,r.path,o,{},A==null?void 0:A.packageName,!(A!=null&&A.importable)),!!(A!=null&&A.importable)||E&&!!(A!=null&&A.packageName)&&kce(t,A.packageName)}return E}function kce(e,t){return e.imports&&e.imports.some(r=>r.text===t||r.text.startsWith(t+"/"))}function wKe(e,t,r,i,o){const s=j_(o,t,u=>Ec(u)==="node_modules"?u:void 0),l=s&&pi(r(s));return l===void 0||fo(r(e),l)||!!i&&fo(r(i),l)}function MJ(e,t,r,i,o){var s,l;const u=u1(t),d=r.autoImportFileExcludePatterns&&wxe(r,u);Oxe(e.getTypeChecker(),e.getSourceFiles(),d,t,(m,y)=>o(m,y,e,!1));const _=i&&((s=t.getPackageJsonAutoImportProvider)==null?void 0:s.call(t));if(_){const m=Os(),y=e.getTypeChecker();Oxe(_.getTypeChecker(),_.getSourceFiles(),d,t,(E,A)=>{(A&&!e.getSourceFile(A.fileName)||!A&&!y.resolveName(E.name,void 0,1536,!1))&&o(E,A,_,!0)}),(l=t.log)==null||l.call(t,"forEachExternalModuleToImportFrom autoImportProvider: ".concat(Os()-m))}}function wxe(e,t){return Hi(e.autoImportFileExcludePatterns,r=>{const i=H6(r,"","exclude");return i?cv(i,t):void 0})}function Oxe(e,t,r,i,o){var s;const l=r&&Wxe(r,i);for(const u of e.getAmbientModules())!u.name.includes("*")&&!(r&&((s=u.declarations)!=null&&s.every(d=>l(d.getSourceFile()))))&&o(u,void 0);for(const u of t)wp(u)&&!(l!=null&&l(u))&&o(e.getMergedSymbol(u.symbol),u)}function Wxe(e,t){var r;const i=(r=t.getSymlinkCache)==null?void 0:r.call(t).getSymlinkedDirectoriesByRealpath();return({fileName:o,path:s})=>{var l;if(e.some(u=>u.test(o)))return!0;if(i!=null&&i.size&&Gb(o)){let u=pi(o);return(l=j_(t,pi(s),d=>{const _=i.get(jc(d));if(_)return _.some(m=>e.some(y=>y.test(o.replace(u,m))));u=pi(u)}))!=null?l:!1}return!1}}function wce(e,t){return t.autoImportFileExcludePatterns?Wxe(wxe(t,u1(e)),e):()=>!1}function OO(e,t,r,i,o){var s,l,u,d,_;const m=Os();(s=t.getPackageJsonAutoImportProvider)==null||s.call(t);const y=((l=t.getCachedExportInfoMap)==null?void 0:l.call(t))||CJ({getCurrentProgram:()=>r,getPackageJsonAutoImportProvider:()=>{var A;return(A=t.getPackageJsonAutoImportProvider)==null?void 0:A.call(t)},getGlobalTypingsCacheLocation:()=>{var A;return(A=t.getGlobalTypingsCacheLocation)==null?void 0:A.call(t)}});if(y.isUsableByFile(e.path))return(u=t.log)==null||u.call(t,"getExportInfoMap: cache hit"),y;(d=t.log)==null||d.call(t,"getExportInfoMap: cache miss or empty; calculating new results");let E=0;try{MJ(r,t,i,!0,(A,R,N,M)=>{++E%100===0&&(o==null||o.throwIfCancellationRequested());const k=new Set,F=N.getTypeChecker(),O=H7(A,F);O&&Fxe(O.symbol,F)&&y.add(e.path,O.symbol,O.exportKind===1?"default":"export=",A,R,O.exportKind,M,F),F.forEachExportAndPropertyOfModule(A,(G,j)=>{G!==(O==null?void 0:O.symbol)&&Fxe(G,F)&&Tm(k,j)&&y.add(e.path,G,j,A,R,0,M,F)})})}catch(A){throw y.clear(),A}return(_=t.log)==null||_.call(t,"getExportInfoMap: done in ".concat(Os()-m," ms")),y}function H7(e,t){const r=t.resolveExternalModuleSymbol(e);if(r!==e){const o=t.tryGetMemberInModuleExports("default",r);return o?{symbol:o,exportKind:1}:{symbol:r,exportKind:2}}const i=t.tryGetMemberInModuleExports("default",e);if(i)return{symbol:i,exportKind:1}}function Fxe(e,t){return!t.isUndefinedSymbol(e)&&!t.isUnknownSymbol(e)&&!lM(e)&&!One(e)}function OKe(e,t,r){let i;return q7(e,t,r,(o,s)=>(i=s?[o,s]:o,!0)),C.checkDefined(i)}function q7(e,t,r,i){let o,s=e;const l=new Set;for(;s;){const u=IJ(s);if(u){const d=i(u);if(d)return d}if(s.escapedName!=="default"&&s.escapedName!=="export="){const d=i(s.name);if(d)return d}if(o=jn(o,s),!Tm(l,s))break;s=s.flags&2097152?t.getImmediateAliasedSymbol(s):void 0}for(const u of o!=null?o:se)if(u.parent&&uI(u.parent)){const d=i(LO(u.parent,r,!1),LO(u.parent,r,!0));if(d)return d}}function zxe(){const e=fg(99,!1);function t(i,o,s){return BKe(r(i,o,s),i)}function r(i,o,s){let l=0,u=0;const d=[],{prefix:_,pushTemplate:m}=jKe(o);i=_+i;const y=_.length;m&&d.push(16),e.setText(i);let E=0;const A=[];let R=0;do{l=e.scan(),oD(l)||(N(),u=l);const M=e.getTokenEnd();if(zKe(e.getTokenStart(),M,y,qKe(l),A),M>=i.length){const k=FKe(e,l,rl(d));k!==void 0&&(E=k)}}while(l!==1);function N(){switch(l){case 44:case 69:!WKe[u]&&e.reScanSlashToken()===14&&(l=14);break;case 30:u===80&&R++;break;case 32:R>0&&R--;break;case 133:case 154:case 150:case 136:case 155:R>0&&!s&&(l=80);break;case 16:d.push(l);break;case 19:d.length>0&&d.push(l);break;case 20:if(d.length>0){const M=rl(d);M===16?(l=e.reScanTemplateToken(!1),l===18?d.pop():C.assertEqual(l,17,"Should have been a template middle.")):(C.assertEqual(M,19,"Should have been an open brace"),d.pop())}break;default:if(!np(l))break;(u===25||np(u)&&np(l)&&!VKe(u,l))&&(l=80)}}return{endOfLineState:E,spans:A}}return{getClassificationsForLine:t,getEncodedLexicalClassifications:r}}var WKe=iZ([80,11,9,10,14,110,46,47,22,24,20,112,97],e=>e,()=>!0);function FKe(e,t,r){switch(t){case 11:{if(!e.isUnterminated())return;const i=e.getTokenText(),o=i.length-1;let s=0;for(;i.charCodeAt(o-s)===92;)s++;return(s&1)===0?void 0:i.charCodeAt(0)===34?3:2}case 3:return e.isUnterminated()?1:void 0;default:if(mb(t)){if(!e.isUnterminated())return;switch(t){case 18:return 5;case 15:return 4;default:return C.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+t)}}return r===16?6:void 0}}function zKe(e,t,r,i,o){if(i===8)return;e===0&&r>0&&(e+=r);const s=t-e;s>0&&o.push(e-r,s,i)}function BKe(e,t){const r=[],i=e.spans;let o=0;for(let l=0;l<i.length;l+=3){const u=i[l],d=i[l+1],_=i[l+2];if(o>=0){const m=u-o;m>0&&r.push({length:m,classification:4})}r.push({length:d,classification:GKe(_)}),o=u+d}const s=t.length-o;return s>0&&r.push({length:s,classification:4}),{entries:r,finalLexState:e.endOfLineState}}function GKe(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 VKe(e,t){if(!Jq(e))return!0;switch(t){case 139:case 153:case 137:case 126:case 129:return!0;default:return!1}}function jKe(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 C.assertNever(e)}}function UKe(e){switch(e){case 42:case 44:case 45:case 40:case 41:case 48:case 49:case 50:case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:case 35:case 36:case 37:case 38:case 51:case 53:case 52:case 56:case 57:case 75:case 74:case 79:case 71:case 72:case 73:case 65:case 66:case 67:case 69:case 70:case 64:case 28:case 61:case 76:case 77:case 78:return!0;default:return!1}}function HKe(e){switch(e){case 40:case 41:case 55:case 54:case 46:case 47:return!0;default:return!1}}function qKe(e){if(np(e))return 3;if(UKe(e)||HKe(e))return 5;if(e>=19&&e<=79)return 10;switch(e){case 9:return 4;case 10:return 25;case 11:return 6;case 14:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 80:default:return mb(e)?6:2}}function Oce(e,t,r,i,o){return Vxe(PJ(e,t,r,i,o))}function Bxe(e,t){switch(t){case 268:case 264:case 265:case 263:case 232:case 219:case 220:e.throwIfCancellationRequested()}}function PJ(e,t,r,i,o){const s=[];return r.forEachChild(function u(d){if(!(!d||!P2(o,d.pos,d.getFullWidth()))){if(Bxe(t,d.kind),Je(d)&&!Wl(d)&&i.has(d.escapedText)){const _=e.getSymbolAtLocation(d),m=_&&Gxe(_,F1(d),e);m&&l(d.getStart(r),d.getEnd(),m)}d.forEachChild(u)}}),{spans:s,endOfLineState:0};function l(u,d,_){const m=d-u;C.assert(m>0,"Classification had non-positive length of ".concat(m)),s.push(u),s.push(m),s.push(_)}}function Gxe(e,t,r){const i=e.getFlags();if((i&2885600)!==0)return i&32?11:i&384?12:i&524288?16:i&1536?t&4||t&1&&JKe(e)?14:void 0:i&2097152?Gxe(r.getAliasedSymbol(e),t,r):t&2?i&64?13:i&262144?15:void 0:void 0}function JKe(e){return bt(e.declarations,t=>pc(t)&&vy(t)===1)}function KKe(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 Vxe(e){C.assert(e.spans.length%3===0);const t=e.spans,r=[];for(let i=0;i<t.length;i+=3)r.push({textSpan:Ad(t[i],t[i+1]),classificationType:KKe(t[i+2])});return r}function Wce(e,t,r){return Vxe(LJ(e,t,r))}function LJ(e,t,r){const i=r.start,o=r.length,s=fg(99,!1,t.languageVariant,t.text),l=fg(99,!1,t.languageVariant,t.text),u=[];return G(t),{spans:u,endOfLineState:0};function d(j,K,Q){u.push(j),u.push(K),u.push(Q)}function _(j){for(s.resetTokenState(j.pos);;){const K=s.getTokenEnd();if(!Oee(t.text,K))return K;const Q=s.scan(),J=s.getTokenEnd(),he=J-K;if(!oD(Q))return K;switch(Q){case 4:case 5:continue;case 2:case 3:m(j,Q,K,he),s.resetTokenState(J);continue;case 7:const re=t.text,q=re.charCodeAt(K);if(q===60||q===62){d(K,he,1);continue}C.assert(q===124||q===61),N(re,K,J);break;case 6:break;default:C.assertNever(Q)}}}function m(j,K,Q,J){if(K===3){const he=boe(t.text,Q,J);if(he&&he.jsDoc){ps(he.jsDoc,j),E(he.jsDoc);return}}else if(K===2&&A(Q,J))return;y(Q,J)}function y(j,K){d(j,K,1)}function E(j){var K,Q,J,he,re,q,ue,de;let ge=j.pos;if(j.tags)for(const Re of j.tags){Re.pos!==ge&&y(ge,Re.pos-ge),d(Re.pos,1,10),d(Re.tagName.pos,Re.tagName.end-Re.tagName.pos,18),ge=Re.tagName.end;let $=Re.tagName.end;switch(Re.kind){case 342:const ve=Re;Ae(ve),$=ve.isNameFirst&&((K=ve.typeExpression)==null?void 0:K.end)||ve.name.end;break;case 349:const je=Re;$=je.isNameFirst&&((Q=je.typeExpression)==null?void 0:Q.end)||je.name.end;break;case 346:R(Re),ge=Re.end,$=Re.typeParameters.end;break;case 347:const be=Re;$=((J=be.typeExpression)==null?void 0:J.kind)===310&&((he=be.fullName)==null?void 0:he.end)||((re=be.typeExpression)==null?void 0:re.end)||$;break;case 339:$=Re.typeExpression.end;break;case 345:G(Re.typeExpression),ge=Re.end,$=Re.typeExpression.end;break;case 344:case 341:$=Re.typeExpression.end;break;case 343:G(Re.typeExpression),ge=Re.end,$=((q=Re.typeExpression)==null?void 0:q.end)||$;break;case 348:$=((ue=Re.name)==null?void 0:ue.end)||$;break;case 329:case 330:$=Re.class.end;break;case 350:G(Re.typeExpression),ge=Re.end,$=((de=Re.typeExpression)==null?void 0:de.end)||$;break}typeof Re.comment=="object"?y(Re.comment.pos,Re.comment.end-Re.comment.pos):typeof Re.comment=="string"&&y($,Re.end-$)}ge!==j.end&&y(ge,j.end-ge);return;function Ae(Re){Re.isNameFirst&&(y(ge,Re.name.pos-ge),d(Re.name.pos,Re.name.end-Re.name.pos,17),ge=Re.name.end),Re.typeExpression&&(y(ge,Re.typeExpression.pos-ge),G(Re.typeExpression),ge=Re.typeExpression.end),Re.isNameFirst||(y(ge,Re.name.pos-ge),d(Re.name.pos,Re.name.end-Re.name.pos,17),ge=Re.name.end)}}function A(j,K){const Q=/^(\/\/\/\s*)(<)(?:(\S+)((?:[^/]|\/[^>])*)(\/>)?)?/m,J=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/g,he=t.text.substr(j,K),re=Q.exec(he);if(!re||!re[3]||!(re[3]in QW))return!1;let q=j;y(q,re[1].length),q+=re[1].length,d(q,re[2].length,10),q+=re[2].length,d(q,re[3].length,21),q+=re[3].length;const ue=re[4];let de=q;for(;;){const Ae=J.exec(ue);if(!Ae)break;const Re=q+Ae.index+Ae[1].length;Re>de&&(y(de,Re-de),de=Re),d(de,Ae[2].length,22),de+=Ae[2].length,Ae[3].length&&(y(de,Ae[3].length),de+=Ae[3].length),d(de,Ae[4].length,5),de+=Ae[4].length,Ae[5].length&&(y(de,Ae[5].length),de+=Ae[5].length),d(de,Ae[6].length,24),de+=Ae[6].length}q+=re[4].length,q>de&&y(de,q-de),re[5]&&(d(q,re[5].length,10),q+=re[5].length);const ge=j+K;return q<ge&&y(q,ge-q),!0}function R(j){for(const K of j.getChildren())G(K)}function N(j,K,Q){let J;for(J=K;J<Q&&!eu(j.charCodeAt(J));J++);for(d(K,J-K,1),l.resetTokenState(J);l.getTokenEnd()<Q;)M()}function M(){const j=l.getTokenEnd(),K=l.scan(),Q=l.getTokenEnd(),J=O(K);J&&d(j,Q-j,J)}function k(j){if(mh(j)||Wl(j))return!0;const K=F(j);if(!aI(j)&&j.kind!==12&&K===void 0)return!1;const Q=j.kind===12?j.pos:_(j),J=j.end-Q;if(C.assert(J>=0),J>0){const he=K||O(j.kind,j);he&&d(Q,J,he)}return!0}function F(j){switch(j.parent&&j.parent.kind){case 287:if(j.parent.tagName===j)return 19;break;case 288:if(j.parent.tagName===j)return 20;break;case 286:if(j.parent.tagName===j)return 21;break;case 292:if(j.parent.name===j)return 22;break}}function O(j,K){if(np(j))return 3;if((j===30||j===32)&&K&&oce(K.parent))return 10;if($G(j)){if(K){const Q=K.parent;if(j===64&&(Q.kind===261||Q.kind===173||Q.kind===170||Q.kind===292)||Q.kind===227||Q.kind===225||Q.kind===226||Q.kind===228)return 5}return 10}else{if(j===9)return 4;if(j===10)return 25;if(j===11)return K&&K.parent.kind===292?24:6;if(j===14)return 6;if(mb(j))return 6;if(j===12)return 23;if(j===80){if(K){switch(K.parent.kind){case 264:return K.parent.name===K?11:void 0;case 169:return K.parent.name===K?15:void 0;case 265:return K.parent.name===K?13:void 0;case 267:return K.parent.name===K?12:void 0;case 268:return K.parent.name===K?14:void 0;case 170:return K.parent.name===K?Rb(K)?3:17:void 0}if(zm(K.parent))return 3}return 2}}}function G(j){if(j&&L2(i,o,j.pos,j.getFullWidth())){Bxe(e,j.kind);for(const K of j.getChildren(t))k(K)||G(K)}}}var J7;(e=>{function t(q,ue,de,ge,Ae){const Re=ap(de,ge);if(Re.parent&&(ph(Re.parent)&&Re.parent.tagName===Re||VS(Re.parent))){const{openingElement:$,closingElement:ve}=Re.parent.parent,je=[$,ve].map(({tagName:be})=>r(be,de));return[{fileName:de.fileName,highlightSpans:je}]}return i(ge,Re,q,ue,Ae)||o(Re,de)}e.getDocumentHighlights=t;function r(q,ue){return{fileName:ue.fileName,textSpan:Vu(q,ue),kind:"none"}}function i(q,ue,de,ge,Ae){const Re=new Set(Ae.map(be=>be.fileName)),$=el.getReferenceEntriesForNode(q,ue,de,Ae,ge,void 0,Re);if(!$)return;const ve=_2($.map(el.toHighlightSpan),be=>be.fileName,be=>be.span),je=Fd(de.useCaseSensitiveFileNames());return Mo(pm(ve.entries(),([be,ee])=>{if(!Re.has(be)){if(!de.redirectTargetsMap.has(Ws(be,de.getCurrentDirectory(),je)))return;const Se=de.getSourceFile(be);be=_n(Ae,ze=>!!ze.redirectInfo&&ze.redirectInfo.redirectTarget===Se).fileName,C.assert(Re.has(be))}return{fileName:be,highlightSpans:ee}}))}function o(q,ue){const de=s(q,ue);return de&&[{fileName:ue.fileName,highlightSpans:de}]}function s(q,ue){switch(q.kind){case 101:case 93:return Q0(q.parent)?J(q.parent,ue):void 0;case 107:return ge(q.parent,rf,G);case 111:return ge(q.parent,Mj,O);case 113:case 85:case 98:const Re=q.kind===85?q.parent.parent:q.parent;return ge(Re,A1,F);case 109:return ge(q.parent,HM,k);case 84:case 90:return JM(q.parent)||DD(q.parent)?ge(q.parent.parent.parent,HM,k):void 0;case 83:case 88:return ge(q.parent,wN,M);case 99:case 117:case 92:return ge(q.parent,$=>yb($,!0),N);case 137:return de(kl,[137]);case 139:case 153:return de(gb,[139,153]);case 135:return ge(q.parent,Ob,j);case 134:return Ae(j(q));case 127:return Ae(K(q));case 103:case 147:return;default:return _b(q.kind)&&(rd(q.parent)||sc(q.parent))?Ae(E(q.kind,q.parent)):void 0}function de(Re,$){return ge(q.parent,Re,ve=>{var je;return Hi((je=ii(ve,ah))==null?void 0:je.symbol.declarations,be=>Re(be)?_n(be.getChildren(ue),ee=>Vn($,ee.kind)):void 0)})}function ge(Re,$,ve){return $(Re)?Ae(ve(Re,ue)):void 0}function Ae(Re){return Re&&Re.map($=>r($,ue))}}function l(q){return Mj(q)?[q]:A1(q)?co(q.catchClause?l(q.catchClause):q.tryBlock&&l(q.tryBlock),q.finallyBlock&&l(q.finallyBlock)):Yo(q)?void 0:_(q,l)}function u(q){let ue=q;for(;ue.parent;){const de=ue.parent;if(SS(de)||de.kind===308)return de;if(A1(de)&&de.tryBlock===ue&&de.catchClause)return ue;ue=de}}function d(q){return wN(q)?[q]:Yo(q)?void 0:_(q,d)}function _(q,ue){const de=[];return q.forEachChild(ge=>{const Ae=ue(ge);Ae!==void 0&&de.push(...ZA(Ae))}),de}function m(q,ue){const de=y(ue);return!!de&&de===q}function y(q){return Rn(q,ue=>{switch(ue.kind){case 256:if(q.kind===252)return!1;case 249:case 250:case 251:case 248:case 247:return!q.label||re(ue,q.label.escapedText);default:return Yo(ue)&&"quit"}})}function E(q,ue){return Hi(A(ue,xI(q)),de=>iC(de,q))}function A(q,ue){const de=q.parent;switch(de.kind){case 269:case 308:case 242:case 297:case 298:return ue&64&&xc(q)?[...q.members,q]:de.statements;case 177:case 175:case 263:return[...de.parameters,...hi(de.parent)?de.parent.members:[]];case 264:case 232:case 265:case 188:const ge=de.members;if(ue&15){const Ae=_n(de.members,kl);if(Ae)return[...ge,...Ae.parameters]}else if(ue&64)return[...ge,de];return ge;default:return}}function R(q,ue,...de){return ue&&Vn(de,ue.kind)?(q.push(ue),!0):!1}function N(q){const ue=[];if(R(ue,q.getFirstToken(),99,117,92)&&q.kind===247){const de=q.getChildren();for(let ge=de.length-1;ge>=0&&!R(ue,de[ge],117);ge--);}return Xe(d(q.statement),de=>{m(q,de)&&R(ue,de.getFirstToken(),83,88)}),ue}function M(q){const ue=y(q);if(ue)switch(ue.kind){case 249:case 250:case 251:case 247:case 248:return N(ue);case 256:return k(ue)}}function k(q){const ue=[];return R(ue,q.getFirstToken(),109),Xe(q.caseBlock.clauses,de=>{R(ue,de.getFirstToken(),84,90),Xe(d(de),ge=>{m(q,ge)&&R(ue,ge.getFirstToken(),83)})}),ue}function F(q,ue){const de=[];if(R(de,q.getFirstToken(),113),q.catchClause&&R(de,q.catchClause.getFirstToken(),85),q.finallyBlock){const ge=Rs(q,98,ue);R(de,ge,98)}return de}function O(q,ue){const de=u(q);if(!de)return;const ge=[];return Xe(l(de),Ae=>{ge.push(Rs(Ae,111,ue))}),SS(de)&&Eb(de,Ae=>{ge.push(Rs(Ae,107,ue))}),ge}function G(q,ue){const de=uf(q);if(!de)return;const ge=[];return Eb(va(de.body,ia),Ae=>{ge.push(Rs(Ae,107,ue))}),Xe(l(de.body),Ae=>{ge.push(Rs(Ae,111,ue))}),ge}function j(q){const ue=uf(q);if(!ue)return;const de=[];return ue.modifiers&&ue.modifiers.forEach(ge=>{R(de,ge,134)}),Xo(ue,ge=>{Q(ge,Ae=>{Ob(Ae)&&R(de,Ae.getFirstToken(),135)})}),de}function K(q){const ue=uf(q);if(!ue)return;const de=[];return Xo(ue,ge=>{Q(ge,Ae=>{gw(Ae)&&R(de,Ae.getFirstToken(),127)})}),de}function Q(q,ue){ue(q),!Yo(q)&&!hi(q)&&!gd(q)&&!pc(q)&&!Em(q)&&!xi(q)&&Xo(q,de=>Q(de,ue))}function J(q,ue){const de=he(q,ue),ge=[];for(let Ae=0;Ae<de.length;Ae++){if(de[Ae].kind===93&&Ae<de.length-1){const Re=de[Ae],$=de[Ae+1];let ve=!0;for(let je=$.getStart(ue)-1;je>=Re.end;je--)if(!Hh(ue.text.charCodeAt(je))){ve=!1;break}if(ve){ge.push({fileName:ue.fileName,textSpan:oc(Re.getStart(),$.end),kind:"reference"}),Ae++;continue}}ge.push(r(de[Ae],ue))}return ge}function he(q,ue){const de=[];for(;Q0(q.parent)&&q.parent.elseStatement===q;)q=q.parent;for(;;){const ge=q.getChildren(ue);R(de,ge[0],101);for(let Ae=ge.length-1;Ae>=0&&!R(de,ge[Ae],93);Ae--);if(!q.elseStatement||!Q0(q.elseStatement))break;q=q.elseStatement}return de}function re(q,ue){return!!Rn(q.parent,de=>Wb(de)?de.label.escapedText===ue:"quit")}})(J7||(J7={}));function WO(e){return!!e.sourceFile}function Fce(e,t,r){return kJ(e,t,r)}function kJ(e,t="",r,i){const o=new Map,s=Fd(!!e);function l(){const M=Mo(o.keys()).filter(k=>k&&k.charAt(0)==="_").map(k=>{const F=o.get(k),O=[];return F.forEach((G,j)=>{WO(G)?O.push({name:j,scriptKind:G.sourceFile.scriptKind,refCount:G.languageServiceRefCount}):G.forEach((K,Q)=>O.push({name:j,scriptKind:Q,refCount:K.languageServiceRefCount}))}),O.sort((G,j)=>j.refCount-G.refCount),{bucket:k,sourceFiles:O}});return JSON.stringify(M,void 0,2)}function u(M){return typeof M.getCompilationSettings=="function"?M.getCompilationSettings():M}function d(M,k,F,O,G,j){const K=Ws(M,t,s),Q=wJ(u(k));return _(M,K,k,Q,F,O,G,j)}function _(M,k,F,O,G,j,K,Q){return A(M,k,F,O,G,j,!0,K,Q)}function m(M,k,F,O,G,j){const K=Ws(M,t,s),Q=wJ(u(k));return y(M,K,k,Q,F,O,G,j)}function y(M,k,F,O,G,j,K,Q){return A(M,k,u(F),O,G,j,!1,K,Q)}function E(M,k){const F=WO(M)?M:M.get(C.checkDefined(k,"If there are more than one scriptKind's for same document the scriptKind should be provided"));return C.assert(k===void 0||!F||F.sourceFile.scriptKind===k,"Script kind should match provided ScriptKind:".concat(k," and sourceFile.scriptKind: ").concat(F==null?void 0:F.sourceFile.scriptKind,", !entry: ").concat(!F)),F}function A(M,k,F,O,G,j,K,Q,J){var he,re,q,ue;Q=J6(M,Q);const de=u(F),ge=F===de?void 0:F,Ae=Q===6?100:Va(de),Re=typeof J=="object"?J:{languageVersion:Ae,impliedNodeFormat:ge&&oO(k,(ue=(q=(re=(he=ge.getCompilerHost)==null?void 0:he.call(ge))==null?void 0:re.getModuleResolutionCache)==null?void 0:q.call(re))==null?void 0:ue.getPackageJsonInfoCache(),ge,de),setExternalModuleIndicator:Hk(de),jsDocParsingMode:r};Re.languageVersion=Ae,C.assertEqual(r,Re.jsDocParsingMode);const $=o.size,ve=zce(O,Re.impliedNodeFormat),je=XA(o,ve,()=>new Map);if(Ar){o.size>$&&Ar.instant(Ar.Phase.Session,"createdDocumentRegistryBucket",{configFilePath:de.configFilePath,key:ve});const Ne=!ad(k)&&Uc(o,(ze,lt)=>lt!==ve&&ze.has(k)&<);Ne&&Ar.instant(Ar.Phase.Session,"documentRegistryBucketOverlap",{path:k,key1:Ne,key2:ve})}const be=je.get(k);let ee=be&&E(be,Q);if(!ee&&i){const Ne=i.getDocument(ve,k);Ne&&Ne.scriptKind===Q&&Ne.text===mx(G)&&(C.assert(K),ee={sourceFile:Ne,languageServiceRefCount:0},Se())}if(ee)ee.sourceFile.version!==j&&(ee.sourceFile=mK(ee.sourceFile,G,j,G.getChangeRange(ee.sourceFile.scriptSnapshot)),i&&i.setDocument(ve,k,ee.sourceFile)),K&&ee.languageServiceRefCount++;else{const Ne=dz(M,G,Re,j,!1,Q);i&&i.setDocument(ve,k,Ne),ee={sourceFile:Ne,languageServiceRefCount:1},Se()}return C.assert(ee.languageServiceRefCount!==0),ee.sourceFile;function Se(){if(!be)je.set(k,ee);else if(WO(be)){const Ne=new Map;Ne.set(be.sourceFile.scriptKind,be),Ne.set(Q,ee),je.set(k,Ne)}else be.set(Q,ee)}}function R(M,k,F,O){const G=Ws(M,t,s),j=wJ(k);return N(G,j,F,O)}function N(M,k,F,O){const G=C.checkDefined(o.get(zce(k,O))),j=G.get(M),K=E(j,F);K.languageServiceRefCount--,C.assert(K.languageServiceRefCount>=0),K.languageServiceRefCount===0&&(WO(j)?G.delete(M):(j.delete(F),j.size===1&&G.set(M,qn(j.values(),qs))))}return{acquireDocument:d,acquireDocumentWithKey:_,updateDocument:m,updateDocumentWithKey:y,releaseDocument:R,releaseDocumentWithKey:N,getKeyForCompilationSettings:wJ,getDocumentRegistryBucketKeyWithMode:zce,reportStats:l,getBuckets:()=>o}}function wJ(e){return IU(e,lU)}function zce(e,t){return t?"".concat(e,"|").concat(t):e}function Bce(e,t,r,i,o,s,l){const u=u1(i),d=Fd(u),_=OJ(t,r,d,l),m=OJ(r,t,d,l);return Ir.ChangeTracker.with({host:i,formatContext:o,preferences:s},y=>{YKe(e,y,_,t,r,i.getCurrentDirectory(),u),$Ke(e,y,_,m,i,d)})}function OJ(e,t,r,i){const o=r(e);return l=>{const u=i&&i.tryGetSourcePosition({fileName:l,pos:0}),d=s(u?u.fileName:l);return u?d===void 0?void 0:XKe(u.fileName,d,l,r):d};function s(l){if(r(l)===o)return t;const u=GV(l,o,r);return u===void 0?void 0:t+"/"+u}}function XKe(e,t,r,i){const o=LR(e,t,i);return Gce(pi(r),o)}function YKe(e,t,r,i,o,s,l){const{configFile:u}=e.getCompilerOptions();if(!u)return;const d=pi(u.fileName),_=KN(u);if(!_)return;Vce(_,(A,R)=>{switch(R){case"files":case"include":case"exclude":{if(m(A)||R!=="include"||!Dd(A.initializer))return;const M=Hi(A.initializer.elements,F=>Oa(F)?F.text:void 0);if(M.length===0)return;const k=q6(d,[],M,l,s);cv(C.checkDefined(k.includeFilePattern),l).test(i)&&!cv(C.checkDefined(k.includeFilePattern),l).test(o)&&t.insertNodeAfter(u,Ga(A.initializer.elements),L.createStringLiteral(E(o)));return}case"compilerOptions":Vce(A.initializer,(N,M)=>{const k=uU(M);C.assert((k==null?void 0:k.type)!=="listOrElement"),k&&(k.isFilePath||k.type==="list"&&k.element.isFilePath)?m(N):M==="paths"&&Vce(N.initializer,F=>{if(Dd(F.initializer))for(const O of F.initializer.elements)y(O)})});return}});function m(A){const R=Dd(A.initializer)?A.initializer.elements:[A.initializer];let N=!1;for(const M of R)N=y(M)||N;return N}function y(A){if(!Oa(A))return!1;const R=Gce(d,A.text),N=r(R);return N!==void 0?(t.replaceRangeWithText(u,Uxe(A,u),E(N)),!0):!1}function E(A){return df(d,A,!l)}}function $Ke(e,t,r,i,o,s){const l=e.getSourceFiles();for(const u of l){const d=r(u.fileName),_=d!=null?d:u.fileName,m=pi(_),y=i(u.fileName),E=y||u.fileName,A=pi(E),R=d!==void 0||y!==void 0;eXe(u,t,N=>{if(!tf(N))return;const M=Gce(A,N),k=r(M);return k===void 0?void 0:HE(df(m,k,s))},N=>{const M=e.getTypeChecker().getSymbolAtLocation(N);if(M!=null&&M.declarations&&M.declarations.some(F=>vu(F)))return;const k=y!==void 0?jxe(N,P1(N.text,E,e.getCompilerOptions(),o),r,l):ZKe(M,N,u,e,o,r);return k!==void 0&&(k.updated||R&&tf(N.text))?by.updateModuleSpecifier(e.getCompilerOptions(),u,_,k.newFileName,fT(e,o),N.text):void 0})}}function QKe(e,t){return Sa(ei(e,t))}function Gce(e,t){return HE(QKe(e,t))}function ZKe(e,t,r,i,o,s){if(e){const l=_n(e.declarations,Qi).fileName,u=s(l);return u===void 0?{newFileName:l,updated:!1}:{newFileName:u,updated:!0}}else{const l=i.getModeForUsageLocation(r,t),u=o.resolveModuleNameLiterals||!o.resolveModuleNames?i.getResolvedModuleFromModuleSpecifier(t,r):o.getResolvedModuleWithFailedLookupLocationsFromCache&&o.getResolvedModuleWithFailedLookupLocationsFromCache(t.text,r.fileName,l);return jxe(t,u,s,i.getSourceFiles())}}function jxe(e,t,r,i){if(!t)return;if(t.resolvedModule){const d=u(t.resolvedModule.resolvedFileName);if(d)return d}const o=Xe(t.failedLookupLocations,s)||tf(e.text)&&Xe(t.failedLookupLocations,l);if(o)return o;return t.resolvedModule&&{newFileName:t.resolvedModule.resolvedFileName,updated:!1};function s(d){const _=r(d);return _&&_n(i,m=>m.fileName===_)?l(d):void 0}function l(d){return il(d,"/package.json")?void 0:u(d)}function u(d){const _=r(d);return _&&{newFileName:_,updated:!0}}}function eXe(e,t,r,i){for(const o of e.referencedFiles||se){const s=r(o.fileName);s!==void 0&&s!==e.text.slice(o.pos,o.end)&&t.replaceRangeWithText(e,o,s)}for(const o of e.imports){const s=i(o);s!==void 0&&s!==o.text&&t.replaceRangeWithText(e,Uxe(o,e),s)}}function Uxe(e,t){return Gf(e.getStart(t)+1,e.end-1)}function Vce(e,t){if(za(e))for(const r of e.properties)Rc(r)&&Oa(r.name)&&t(r,r.name.text)}var WJ=(e=>(e[e.exact=0]="exact",e[e.prefix=1]="prefix",e[e.substring=2]="substring",e[e.camelCase=3]="camelCase",e))(WJ||{});function zP(e,t){return{kind:e,isCaseSensitive:t}}function jce(e){const t=new Map,r=e.trim().split(".").map(i=>iXe(i.trim()));if(r.length===1&&r[0].totalTextChunk.text==="")return{getMatchForLastSegmentOfPattern:()=>zP(2,!0),getFullMatch:()=>zP(2,!0),patternContainsDots:!1};if(!r.some(i=>!i.subWordTextChunks.length))return{getFullMatch:(i,o)=>tXe(i,o,r,t),getMatchForLastSegmentOfPattern:i=>Uce(i,Ga(r),t),patternContainsDots:r.length>1}}function tXe(e,t,r,i){if(!Uce(t,Ga(r),i)||r.length-1>e.length)return;let s;for(let l=r.length-2,u=e.length-1;l>=0;l-=1,u-=1)s=Jxe(s,Uce(e[u],r[l],i));return s}function Hxe(e,t){let r=t.get(e);return r||t.set(e,r=Yce(e)),r}function qxe(e,t,r){const i=oXe(e,t.textLowerCase);if(i===0)return zP(t.text.length===e.length?0:1,fo(e,t.text));if(t.isLowerCase){if(i===-1)return;const o=Hxe(e,r);for(const s of o)if(Hce(e,s,t.text,!0))return zP(2,Hce(e,s,t.text,!1));if(t.text.length<e.length&&dC(e.charCodeAt(i)))return zP(2,!1)}else{if(e.indexOf(t.text)>0)return zP(2,!0);if(t.characterSpans.length>0){const o=Hxe(e,r),s=Kxe(e,o,t,!1)?!0:Kxe(e,o,t,!0)?!1:void 0;if(s!==void 0)return zP(3,s)}}}function Uce(e,t,r){if(FJ(t.totalTextChunk.text,s=>s!==32&&s!==42)){const s=qxe(e,t.totalTextChunk,r);if(s)return s}const i=t.subWordTextChunks;let o;for(const s of i)o=Jxe(o,qxe(e,s,r));return o}function Jxe(e,t){return t9([e,t],nXe)}function nXe(e,t){return e===void 0?1:t===void 0?-1:Js(e.kind,t.kind)||M0(!e.isCaseSensitive,!t.isCaseSensitive)}function Hce(e,t,r,i,o={start:0,length:r.length}){return o.length<=t.length&&Qxe(0,o.length,s=>rXe(r.charCodeAt(o.start+s),e.charCodeAt(t.start+s),i))}function rXe(e,t,r){return r?qce(e)===qce(t):e===t}function Kxe(e,t,r,i){const o=r.characterSpans;let s=0,l=0;for(;;){if(l===o.length)return!0;if(s===t.length)return!1;let u=t[s],d=!1;for(;l<o.length;l++){const _=o[l];if(d&&(!dC(r.text.charCodeAt(o[l-1].start))||!dC(r.text.charCodeAt(o[l].start)))||!Hce(e,u,r.text,i,_))break;d=!0,u=Ad(u.start+_.length,u.length-_.length)}s++}}function iXe(e){return{totalTextChunk:Kce(e),subWordTextChunks:sXe(e)}}function dC(e){if(e>=65&&e<=90)return!0;if(e<127||!lF(e,99))return!1;const t=String.fromCharCode(e);return t===t.toUpperCase()}function Xxe(e){if(e>=97&&e<=122)return!0;if(e<127||!lF(e,99))return!1;const t=String.fromCharCode(e);return t===t.toLowerCase()}function oXe(e,t){const r=e.length-t.length;for(let i=0;i<=r;i++)if(FJ(t,(o,s)=>qce(e.charCodeAt(s+i))===o))return i;return-1}function qce(e){return e>=65&&e<=90?97+(e-65):e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function Jce(e){return e>=48&&e<=57}function aXe(e){return dC(e)||Xxe(e)||Jce(e)||e===95||e===36}function sXe(e){const t=[];let r=0,i=0;for(let o=0;o<e.length;o++){const s=e.charCodeAt(o);aXe(s)?(i===0&&(r=o),i++):i>0&&(t.push(Kce(e.substr(r,i))),i=0)}return i>0&&t.push(Kce(e.substr(r,i))),t}function Kce(e){const t=e.toLowerCase();return{text:e,textLowerCase:t,isLowerCase:e===t,characterSpans:Xce(e)}}function Xce(e){return Yxe(e,!1)}function Yce(e){return Yxe(e,!0)}function Yxe(e,t){const r=[];let i=0;for(let o=1;o<e.length;o++){const s=Jce(e.charCodeAt(o-1)),l=Jce(e.charCodeAt(o)),u=cXe(e,t,o),d=t&&lXe(e,o,i);($ce(e.charCodeAt(o-1))||$ce(e.charCodeAt(o))||s!==l||u||d)&&($xe(e,i,o)||r.push(Ad(i,o-i)),i=o)}return $xe(e,i,e.length)||r.push(Ad(i,e.length-i)),r}function $ce(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 $xe(e,t,r){return FJ(e,i=>$ce(i)&&i!==95,t,r)}function lXe(e,t,r){return t!==r&&t+1<e.length&&dC(e.charCodeAt(t))&&Xxe(e.charCodeAt(t+1))&&FJ(e,dC,r,t)}function cXe(e,t,r){const i=dC(e.charCodeAt(r-1));return dC(e.charCodeAt(r))&&(!t||!i)}function Qxe(e,t,r){for(let i=e;i<t;i++)if(!r(i))return!1;return!0}function FJ(e,t,r=0,i=e.length){return Qxe(r,i,o=>t(e.charCodeAt(o),o))}function Zxe(e,t=!0,r=!1){const i={pragmas:void 0,checkJsDirective:void 0,referencedFiles:[],typeReferenceDirectives:[],libReferenceDirectives:[],amdDependencies:[],hasNoDefaultLib:void 0,moduleName:void 0},o=[];let s,l,u,d=0,_=!1;function m(){return l=u,u=yd.scan(),u===19?d++:u===20&&d--,u}function y(){const j=yd.getTokenValue(),K=yd.getTokenStart();return{fileName:j,pos:K,end:K+j.length}}function E(){s||(s=[]),s.push({ref:y(),depth:d})}function A(){o.push(y()),R()}function R(){d===0&&(_=!0)}function N(){let j=yd.getToken();return j===138?(j=m(),j===144&&(j=m(),j===11&&E()),!0):!1}function M(){if(l===25)return!1;let j=yd.getToken();if(j===102){if(j=m(),j===21){if(j=m(),j===11||j===15)return A(),!0}else{if(j===11)return A(),!0;if(j===156&&yd.lookAhead(()=>{const Q=yd.scan();return Q!==161&&(Q===42||Q===19||Q===80||np(Q))})&&(j=m()),j===80||np(j))if(j=m(),j===161){if(j=m(),j===11)return A(),!0}else if(j===64){if(F(!0))return!0}else if(j===28)j=m();else return!0;if(j===19){for(j=m();j!==20&&j!==1;)j=m();j===20&&(j=m(),j===161&&(j=m(),j===11&&A()))}else j===42&&(j=m(),j===130&&(j=m(),(j===80||np(j))&&(j=m(),j===161&&(j=m(),j===11&&A()))))}return!0}return!1}function k(){let j=yd.getToken();if(j===95){if(R(),j=m(),j===156&&yd.lookAhead(()=>{const Q=yd.scan();return Q===42||Q===19})&&(j=m()),j===19){for(j=m();j!==20&&j!==1;)j=m();j===20&&(j=m(),j===161&&(j=m(),j===11&&A()))}else if(j===42)j=m(),j===161&&(j=m(),j===11&&A());else if(j===102&&(j=m(),j===156&&yd.lookAhead(()=>{const Q=yd.scan();return Q===80||np(Q)})&&(j=m()),(j===80||np(j))&&(j=m(),j===64&&F(!0))))return!0;return!0}return!1}function F(j,K=!1){let Q=j?m():yd.getToken();return Q===149?(Q=m(),Q===21&&(Q=m(),(Q===11||K&&Q===15)&&A()),!0):!1}function O(){let j=yd.getToken();if(j===80&&yd.getTokenValue()==="define"){if(j=m(),j!==21)return!0;if(j=m(),j===11||j===15)if(j=m(),j===28)j=m();else return!0;if(j!==23)return!0;for(j=m();j!==24&&j!==1;)(j===11||j===15)&&A(),j=m();return!0}return!1}function G(){for(yd.setText(e),m();yd.getToken()!==1;){if(yd.getToken()===16){const j=[yd.getToken()];e:for(;et(j);){const K=yd.scan();switch(K){case 1:break e;case 102:M();break;case 16:j.push(K);break;case 19:et(j)&&j.push(K);break;case 20:et(j)&&(rl(j)===16?yd.reScanTemplateToken(!1)===18&&j.pop():j.pop());break}}m()}N()||M()||k()||r&&(F(!1,!0)||O())||m()}yd.setText(void 0)}if(t&&G(),rU(i,e),iU(i,vs),_){if(s)for(const j of s)o.push(j.ref);return{referencedFiles:i.referencedFiles,typeReferenceDirectives:i.typeReferenceDirectives,libReferenceDirectives:i.libReferenceDirectives,importedFiles:o,isLibFile:!!i.hasNoDefaultLib,ambientExternalModules:void 0}}else{let j;if(s)for(const K of s)K.depth===0?(j||(j=[]),j.push(K.ref.fileName)):o.push(K.ref);return{referencedFiles:i.referencedFiles,typeReferenceDirectives:i.typeReferenceDirectives,libReferenceDirectives:i.libReferenceDirectives,importedFiles:o,isLibFile:!!i.hasNoDefaultLib,ambientExternalModules:j}}}var dXe=/^data:(?:application\/json;charset=[uU][tT][fF]-8;base64,([A-Za-z0-9+/=]+)$)?/;function Qce(e){const t=Fd(e.useCaseSensitiveFileNames()),r=e.getCurrentDirectory(),i=new Map,o=new Map;return{tryGetSourcePosition:u,tryGetGeneratedPosition:d,toLineColumnOffset:E,clearCache:A,documentPositionMappers:o};function s(R){return Ws(R,r,t)}function l(R,N){const M=s(R),k=o.get(M);if(k)return k;let F;if(e.getDocumentPositionMapper)F=e.getDocumentPositionMapper(R,N);else if(e.readFile){const O=y(R);F=O&&zJ({getSourceFileLike:y,getCanonicalFileName:t,log:G=>e.log(G)},R,XU(O.text,dg(O)),G=>!e.fileExists||e.fileExists(G)?e.readFile(G):void 0)}return o.set(M,F||$U),F||$U}function u(R){if(!ad(R.fileName)||!_(R.fileName))return;const M=l(R.fileName).getSourcePosition(R);return!M||M===R?void 0:u(M)||M}function d(R){if(ad(R.fileName))return;const N=_(R.fileName);if(!N)return;const M=e.getProgram();if(M.isSourceOfProjectReferenceRedirect(N.fileName))return;const F=M.getCompilerOptions().outFile,O=F?Su(F)+".d.ts":y6(R.fileName,M.getCompilerOptions(),M);if(O===void 0)return;const G=l(O,R.fileName).getGeneratedPosition(R);return G===R?void 0:G}function _(R){const N=e.getProgram();if(!N)return;const M=s(R),k=N.getSourceFileByPath(M);return k&&k.resolvedPath===M?k:void 0}function m(R){const N=s(R),M=i.get(N);if(M!==void 0)return M||void 0;if(!e.readFile||e.fileExists&&!e.fileExists(R)){i.set(N,!1);return}const k=e.readFile(R),F=k?uXe(k):!1;return i.set(N,F),F||void 0}function y(R){return e.getSourceFileLike?e.getSourceFileLike(R):_(R)||m(R)}function E(R,N){return y(R).getLineAndCharacterOfPosition(N)}function A(){i.clear(),o.clear()}}function zJ(e,t,r,i){let o=xae(r);if(o){const u=dXe.exec(o);if(u){if(u[1]){const d=u[1];return eRe(e,ore(Vc,d),t)}o=void 0}}const s=[];o&&s.push(o),s.push(t+".map");const l=o&&Eo(o,pi(t));for(const u of s){const d=Eo(u,pi(t)),_=i(d,l);if(jo(_))return eRe(e,_,d);if(_!==void 0)return _||void 0}}function eRe(e,t,r){const i=Rae(t);if(!(!i||!i.sources||!i.file||!i.mappings)&&!(i.sourcesContent&&i.sourcesContent.some(jo)))return Cae(e,i,r)}function uXe(e,t){return{text:e,lineMap:t,getLineAndCharacterOfPosition(r){return wR(dg(this),r)}}}var Zce=new Map;function BJ(e,t,r){var i;t.getSemanticDiagnostics(e,r);const o=[],s=t.getTypeChecker();!(t.getImpliedNodeFormatForEmit(e)===1||Ql(e.fileName,[".cts",".cjs"]))&&e.commonJsModuleIndicator&&(dce(t)||eJ(t.getCompilerOptions()))&&pXe(e)&&o.push(Sr(_Xe(e.commonJsModuleIndicator),f.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module));const u=wu(e);if(Zce.clear(),d(e),LI(t.getCompilerOptions()))for(const _ of e.imports){const m=tM(_);if(Oc(m)&&fi(m,32))continue;const y=fXe(m);if(!y)continue;const E=(i=t.getResolvedModuleFromModuleSpecifier(_,e))==null?void 0:i.resolvedModule,A=E&&t.getSourceFile(E.resolvedFileName);A&&A.externalModuleIndicator&&A.externalModuleIndicator!==!0&&fl(A.externalModuleIndicator)&&A.externalModuleIndicator.isExportEquals&&o.push(Sr(y,f.Import_may_be_converted_to_a_default_import))}return $r(o,e.bindSuggestionDiagnostics),$r(o,t.getSuggestionDiagnostics(e,r)),o.sort((_,m)=>_.start-m.start),o;function d(_){if(u)yXe(_,s)&&o.push(Sr(bi(_.parent)?_.parent.name:_,f.This_constructor_function_may_be_converted_to_a_class_declaration));else{if(sc(_)&&_.parent===e&&_.declarationList.flags&2&&_.declarationList.declarations.length===1){const y=_.declarationList.declarations[0].initializer;y&&tp(y,!0)&&o.push(Sr(y,f.require_call_may_be_converted_to_an_import))}const m=cu.getJSDocTypedefNodes(_);for(const y of m)o.push(Sr(y,f.JSDoc_typedef_may_be_converted_to_TypeScript_type));cu.parameterShouldGetTypeFromJSDoc(_)&&o.push(Sr(_.name||_,f.JSDoc_types_may_be_moved_to_TypeScript_types))}jJ(_)&&mXe(_,s,o),_.forEachChild(d)}}function pXe(e){return e.statements.some(t=>{switch(t.kind){case 244:return t.declarationList.declarations.some(r=>!!r.initializer&&tp(tRe(r.initializer),!0));case 245:{const{expression:r}=t;if(!Nr(r))return tp(r,!0);const i=ac(r);return i===1||i===2}default:return!1}})}function tRe(e){return Jr(e)?tRe(e.expression):e}function fXe(e){switch(e.kind){case 273:const{importClause:t,moduleSpecifier:r}=e;return t&&!t.name&&t.namedBindings&&t.namedBindings.kind===275&&Oa(r)?t.namedBindings.name:void 0;case 272:return e.name;default:return}}function mXe(e,t,r){hXe(e,t)&&!Zce.has(oRe(e))&&r.push(Sr(!e.name&&bi(e.parent)&&Je(e.parent.name)?e.parent.name:e,f.This_may_be_converted_to_an_async_function))}function hXe(e,t){return!aM(e)&&e.body&&ia(e.body)&&gXe(e.body,t)&&GJ(e,t)}function GJ(e,t){const r=t.getSignatureFromDeclaration(e),i=r?t.getReturnTypeOfSignature(r):void 0;return!!i&&!!t.getPromisedTypeOfPromise(i)}function _Xe(e){return Nr(e)?e.left:e}function gXe(e,t){return!!Eb(e,r=>K7(r,t))}function K7(e,t){return rf(e)&&!!e.expression&&VJ(e.expression,t)}function VJ(e,t){if(!nRe(e)||!rRe(e)||!e.arguments.every(i=>iRe(i,t)))return!1;let r=e.expression.expression;for(;nRe(r)||Jr(r);)if(ra(r)){if(!rRe(r)||!r.arguments.every(i=>iRe(i,t)))return!1;r=r.expression.expression}else r=r.expression;return!0}function nRe(e){return ra(e)&&(gO(e,"then")||gO(e,"catch")||gO(e,"finally"))}function rRe(e){const t=e.expression.name.text,r=t==="then"?2:t==="catch"||t==="finally"?1:0;return e.arguments.length>r?!1:e.arguments.length<r?!0:r===1||bt(e.arguments,i=>i.kind===106||Je(i)&&i.text==="undefined")}function iRe(e,t){switch(e.kind){case 263:case 219:if(dc(e)&1)return!1;case 220:Zce.set(oRe(e),!0);case 106:return!0;case 80:case 212:{const i=t.getSymbolAtLocation(e);return i?t.isUndefinedSymbol(i)||bt(Id(i,t).declarations,o=>Yo(o)||rv(o)&&!!o.initializer&&Yo(o.initializer)):!1}default:return!1}}function oRe(e){return"".concat(e.pos.toString(),":").concat(e.end.toString())}function yXe(e,t){var r,i,o,s;if(Ks(e)){if(bi(e.parent)&&((r=e.symbol.members)!=null&&r.size))return!0;const l=t.getSymbolOfExpando(e,!1);return!!(l&&((i=l.exports)!=null&&i.size||(o=l.members)!=null&&o.size))}return ec(e)?!!((s=e.symbol.members)!=null&&s.size):!1}function jJ(e){switch(e.kind){case 263:case 175:case 219:case 220:return!0;default:return!1}}var vXe=new Set(["isolatedModules"]);function ede(e,t){return sRe(e,t,!1)}function aRe(e,t){return sRe(e,t,!0)}var bXe='/// <reference no-default-lib="true"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number {}\ninterface Object {}\ninterface RegExp {}\ninterface String {}\ninterface Array<T> { length: number; [n: number]: T; }\ninterface SymbolConstructor {\n (desc?: string | number): symbol;\n for(name: string): symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}',X7="lib.d.ts",Y7;function sRe(e,t,r){var N;Y7!=null||(Y7=nx(X7,bXe,{languageVersion:99}));const i=[],o=t.compilerOptions?UJ(t.compilerOptions,i):{},s=cz();for(const M in s)Ms(s,M)&&o[M]===void 0&&(o[M]=s[M]);for(const M of Coe)o.verbatimModuleSyntax&&vXe.has(M.name)||(o[M.name]=M.transpileOptionValue);o.suppressOutputPathCheck=!0,o.allowNonTsExtensions=!0,r?(o.declaration=!0,o.emitDeclarationOnly=!0,o.isolatedDeclarations=!0):(o.declaration=!1,o.declarationMap=!1);const l=lv(o),u={getSourceFile:M=>M===Sa(d)?_:M===Sa(X7)?Y7:void 0,writeFile:(M,k)=>{xl(M,".map")?(C.assertEqual(y,void 0,"Unexpected multiple source map outputs, file:",M),y=k):(C.assertEqual(m,void 0,"Unexpected multiple outputs, file:",M),m=k)},getDefaultLibFileName:()=>X7,useCaseSensitiveFileNames:()=>!1,getCanonicalFileName:M=>M,getCurrentDirectory:()=>"",getNewLine:()=>l,fileExists:M=>M===d||!!r&&M===X7,readFile:()=>"",directoryExists:()=>!0,getDirectories:()=>[]},d=t.fileName||(t.compilerOptions&&t.compilerOptions.jsx?"module.tsx":"module.ts"),_=nx(d,e,{languageVersion:Va(o),impliedNodeFormat:oO(Ws(d,"",u.getCanonicalFileName),void 0,u,o),setExternalModuleIndicator:Hk(o),jsDocParsingMode:(N=t.jsDocParsingMode)!=null?N:0});t.moduleName&&(_.moduleName=t.moduleName),t.renamedDependencies&&(_.renamedDependencies=new Map(Object.entries(t.renamedDependencies)));let m,y;const A=aO(r?[d,X7]:[d],o,u);t.reportDiagnostics&&($r(i,A.getSyntacticDiagnostics(_)),$r(i,A.getOptionsDiagnostics()));const R=A.emit(void 0,void 0,void 0,r,t.transformers,r);return $r(i,R.diagnostics),m===void 0?C.fail("Output generation failed"):{outputText:m,diagnostics:i,sourceMapText:y}}function lRe(e,t,r,i,o){const s=ede(e,{compilerOptions:t,fileName:r,reportDiagnostics:!!i,moduleName:o});return $r(i,s.diagnostics),s.outputText}var tde;function UJ(e,t){tde=tde||Fn(Jm,r=>typeof r.type=="object"&&!Uc(r.type,i=>typeof i!="number")),e=Kq(e);for(const r of tde){if(!Ms(e,r.name))continue;const i=e[r.name];jo(i)?e[r.name]=H4(r,i,t):Uc(r.type,o=>o===i)||t.push(Moe(r))}return e}var nde={};x(nde,{getNavigateToItems:()=>cRe});function cRe(e,t,r,i,o,s,l){const u=jce(i);if(!u)return se;const d=[],_=e.length===1?e[0]:void 0;for(const m of e)r.throwIfCancellationRequested(),!(s&&m.isDeclarationFile)&&(dRe(m,!!l,_)||m.getNamedDeclarations().forEach((y,E)=>{TXe(u,E,y,t,m.fileName,!!l,_,d)}));return d.sort(IXe),(o===void 0?d:d.slice(0,o)).map(xXe)}function dRe(e,t,r){return e!==r&&t&&(PO(e.path)||e.hasNoDefaultLib)}function TXe(e,t,r,i,o,s,l,u){const d=e.getMatchForLastSegmentOfPattern(t);if(d){for(const _ of r)if(SXe(_,i,s,l))if(e.patternContainsDots){const m=e.getFullMatch(AXe(_),t);m&&u.push({name:t,fileName:o,matchKind:m.kind,isCaseSensitive:m.isCaseSensitive,declaration:_})}else u.push({name:t,fileName:o,matchKind:d.kind,isCaseSensitive:d.isCaseSensitive,declaration:_})}}function SXe(e,t,r,i){var o;switch(e.kind){case 274:case 277:case 272:const s=t.getSymbolAtLocation(e.name),l=t.getAliasedSymbol(s);return s.escapedName!==l.escapedName&&!((o=l.declarations)!=null&&o.every(u=>dRe(u.getSourceFile(),r,i)));default:return!0}}function EXe(e,t){const r=Fo(e);return!!r&&(uRe(r,t)||r.kind===168&&rde(r.expression,t))}function rde(e,t){return uRe(e,t)||Jr(e)&&(t.push(e.name.text),!0)&&rde(e.expression,t)}function uRe(e,t){return $h(e)&&(t.push(Bf(e)),!0)}function AXe(e){const t=[],r=Fo(e);if(r&&r.kind===168&&!rde(r.expression,t))return se;t.shift();let i=z1(e);for(;i;){if(!EXe(i,t))return se;i=z1(i)}return t.reverse(),t}function IXe(e,t){return Js(e.matchKind,t.matchKind)||b2(e.name,t.name)}function xXe(e){const t=e.declaration,r=z1(t),i=r&&Fo(r);return{name:e.name,kind:ZS(t),kindModifiers:CP(t),matchKind:WJ[e.matchKind],isCaseSensitive:e.isCaseSensitive,fileName:e.fileName,textSpan:Vu(t),containerName:i?i.text:"",containerKind:i?ZS(r):""}}var ide={};x(ide,{getNavigationBarItems:()=>fRe,getNavigationTree:()=>mRe});var RXe=/\s+/g,ode=150,HJ,FO,$7=[],Tv,pRe=[],uC,ade=[];function fRe(e,t){HJ=t,FO=e;try{return Gt(PXe(gRe(e)),LXe)}finally{hRe()}}function mRe(e,t){HJ=t,FO=e;try{return xRe(gRe(e))}finally{hRe()}}function hRe(){FO=void 0,HJ=void 0,$7=[],Tv=void 0,ade=[]}function Q7(e){return BP(e.getText(FO))}function qJ(e){return e.node.kind}function _Re(e,t){e.children?e.children.push(t):e.children=[t]}function gRe(e){C.assert(!$7.length);const t={node:e,name:void 0,additionalNodes:void 0,parent:void 0,children:void 0,indent:0};Tv=t;for(const r of e.statements)gx(r);return mT(),C.assert(!Tv&&!$7.length),t}function nE(e,t){_Re(Tv,sde(e,t))}function sde(e,t){return{node:e,name:t||(rd(e)||Et(e)?Fo(e):void 0),additionalNodes:void 0,parent:Tv,children:void 0,indent:Tv.indent+1}}function yRe(e){uC||(uC=new Map),uC.set(e,!0)}function vRe(e){for(let t=0;t<e;t++)mT()}function bRe(e,t){const r=[];for(;!$h(t);){const i=yk(t),o=cy(t);t=t.expression,!(o==="prototype"||to(i))&&r.push(i)}r.push(t);for(let i=r.length-1;i>0;i--){const o=r[i];rE(e,o)}return[r.length-1,r[0]]}function rE(e,t){const r=sde(e,t);_Re(Tv,r),$7.push(Tv),pRe.push(uC),uC=void 0,Tv=r}function mT(){Tv.children&&(JJ(Tv.children,Tv),dde(Tv.children)),Tv=$7.pop(),uC=pRe.pop()}function hT(e,t,r){rE(e,r),gx(t),mT()}function TRe(e){e.initializer&&wXe(e.initializer)?(rE(e),Xo(e.initializer,gx),mT()):hT(e,e.initializer)}function lde(e){const t=Fo(e);if(t===void 0)return!1;if(Ea(t)){const r=t.expression;return Ps(r)||ip(r)||pf(r)}return!!t}function gx(e){if(HJ.throwIfCancellationRequested(),!(!e||aI(e)))switch(e.kind){case 177:const t=e;hT(t,t.body);for(const l of t.parameters)Lp(l,t)&&nE(l);break;case 175:case 178:case 179:case 174:lde(e)&&hT(e,e.body);break;case 173:lde(e)&&TRe(e);break;case 172:lde(e)&&nE(e);break;case 274:const r=e;r.name&&nE(r.name);const{namedBindings:i}=r;if(i)if(i.kind===275)nE(i);else for(const l of i.elements)nE(l);break;case 305:hT(e,e.name);break;case 306:const{expression:o}=e;Je(o)?nE(e,o):nE(e);break;case 209:case 304:case 261:{const l=e;na(l.name)?gx(l.name):TRe(l);break}case 263:const s=e.name;s&&Je(s)&&yRe(s.text),hT(e,e.body);break;case 220:case 219:hT(e,e.body);break;case 267:rE(e);for(const l of e.members)kXe(l)||nE(l);mT();break;case 264:case 232:case 265:rE(e);for(const l of e.members)gx(l);mT();break;case 268:hT(e,DRe(e).body);break;case 278:{const l=e.expression,u=za(l)||ra(l)?l:Zs(l)||Ks(l)?l.body:void 0;u?(rE(e),gx(u),mT()):nE(e);break}case 282:case 272:case 182:case 180:case 181:case 266:nE(e);break;case 214:case 227:{const l=ac(e);switch(l){case 1:case 2:hT(e,e.right);return;case 6:case 3:{const u=e,d=u.left,_=l===3?d.expression:d;let m=0,y;Je(_.expression)?(yRe(_.expression.text),y=_.expression):[m,y]=bRe(u,_.expression),l===6?za(u.right)&&u.right.properties.length>0&&(rE(u,y),Xo(u.right,gx),mT()):Ks(u.right)||Zs(u.right)?hT(e,u.right,y):(rE(u,y),hT(e,u.right,d.name),mT()),vRe(m);return}case 7:case 9:{const u=e,d=l===7?u.arguments[0]:u.arguments[0].expression,_=u.arguments[1],[m,y]=bRe(e,d);rE(e,y),rE(e,Tt(L.createIdentifier(_.text),_)),gx(e.arguments[2]),mT(),mT(),vRe(m);return}case 5:{const u=e,d=u.left,_=d.expression;if(Je(_)&&cy(d)!=="prototype"&&uC&&uC.has(_.text)){Ks(u.right)||Zs(u.right)?hT(e,u.right,_):AS(d)&&(rE(u,_),hT(u.left,u.right,yk(d)),mT());return}break}case 4:case 0:case 8:break;default:C.assertNever(l)}}default:nf(e)&&Xe(e.jsDoc,l=>{Xe(l.tags,u=>{vm(u)&&nE(u)})}),Xo(e,gx)}}function JJ(e,t){const r=new Map;ws(e,(i,o)=>{const s=i.name||Fo(i.node),l=s&&Q7(s);if(!l)return!0;const u=r.get(l);if(!u)return r.set(l,i),!0;if(u instanceof Array){for(const d of u)if(SRe(d,i,o,t))return!1;return u.push(i),!0}else{const d=u;return SRe(d,i,o,t)?!1:(r.set(l,[d,i]),!0)}})}var zO={5:!0,3:!0,7:!0,9:!0,0:!1,1:!1,2:!1,8:!1,6:!0,4:!1};function DXe(e,t,r,i){function o(u){return Ks(u)||ec(u)||bi(u)}const s=Nr(t.node)||ra(t.node)?ac(t.node):0,l=Nr(e.node)||ra(e.node)?ac(e.node):0;if(zO[s]&&zO[l]||o(e.node)&&zO[s]||o(t.node)&&zO[l]||xc(e.node)&&cde(e.node)&&zO[s]||xc(t.node)&&zO[l]||xc(e.node)&&cde(e.node)&&o(t.node)||xc(t.node)&&o(e.node)&&cde(e.node)){let u=e.additionalNodes&&rl(e.additionalNodes)||e.node;if(!xc(e.node)&&!xc(t.node)||o(e.node)||o(t.node)){const _=o(e.node)?e.node:o(t.node)?t.node:void 0;if(_!==void 0){const m=Tt(L.createConstructorDeclaration(void 0,[],void 0),_),y=sde(m);y.indent=e.indent+1,y.children=e.node===_?e.children:t.children,e.children=e.node===_?co([y],t.children||[t]):co(e.children||[{...e}],[y])}else(e.children||t.children)&&(e.children=co(e.children||[{...e}],t.children||[t]),e.children&&(JJ(e.children,e),dde(e.children)));u=e.node=Tt(L.createClassDeclaration(void 0,e.name||L.createIdentifier("__class__"),void 0,void 0,[]),e.node)}else e.children=co(e.children,t.children),e.children&&JJ(e.children,e);const d=t.node;return i.children[r-1].node.end===u.end?Tt(u,{pos:u.pos,end:d.end}):(e.additionalNodes||(e.additionalNodes=[]),e.additionalNodes.push(Tt(L.createClassDeclaration(void 0,e.name||L.createIdentifier("__class__"),void 0,void 0,[]),t.node))),!0}return s!==0}function SRe(e,t,r,i){return DXe(e,t,r,i)?!0:CXe(e.node,t.node,i)?(NXe(e,t),!0):!1}function CXe(e,t,r){if(e.kind!==t.kind||e.parent!==t.parent&&!(ERe(e,r)&&ERe(t,r)))return!1;switch(e.kind){case 173:case 175:case 178:case 179:return ha(e)===ha(t);case 268:return ARe(e,t)&&fde(e)===fde(t);default:return!0}}function cde(e){return!!(e.flags&16)}function ERe(e,t){if(e.parent===void 0)return!1;const r=a_(e.parent)?e.parent.parent:e.parent;return r===t.node||Vn(t.additionalNodes,r)}function ARe(e,t){return!e.body||!t.body?e.body===t.body:e.body.kind===t.body.kind&&(e.body.kind!==268||ARe(e.body,t.body))}function NXe(e,t){e.additionalNodes=e.additionalNodes||[],e.additionalNodes.push(t.node),t.additionalNodes&&e.additionalNodes.push(...t.additionalNodes),e.children=co(e.children,t.children),e.children&&(JJ(e.children,e),dde(e.children))}function dde(e){e.sort(MXe)}function MXe(e,t){return b2(IRe(e.node),IRe(t.node))||Js(qJ(e),qJ(t))}function IRe(e){if(e.kind===268)return RRe(e);const t=Fo(e);if(t&&yc(t)){const r=d1(t);return r&&Bi(r)}switch(e.kind){case 219:case 220:case 232:return NRe(e);default:return}}function ude(e,t){if(e.kind===268)return BP(RRe(e));if(t){const r=Je(t)?t.text:Bs(t)?"[".concat(Q7(t.argumentExpression),"]"):Q7(t);if(r.length>0)return BP(r)}switch(e.kind){case 308:const r=e;return Wc(r)?'"'.concat(B_(Ec(Su(Sa(r.fileName)))),'"'):"<global>";case 278:return fl(e)&&e.isExportEquals?"export=":"default";case 220:case 263:case 219:case 264:case 232:return av(e)&2048?"default":NRe(e);case 177:return"constructor";case 181:return"new()";case 180:return"()";case 182:return"[]";default:return"<unknown>"}}function PXe(e){const t=[];function r(o){if(i(o)&&(t.push(o),o.children))for(const s of o.children)r(s)}return r(e),t;function i(o){if(o.children)return!0;switch(qJ(o)){case 264:case 232:case 267:case 265:case 268:case 308:case 266:case 347:case 339:return!0;case 220:case 263:case 219:return s(o);default:return!1}function s(l){if(!l.node.body)return!1;switch(qJ(l.parent)){case 269:case 308:case 175:case 177:return!0;default:return!1}}}}function xRe(e){return{text:ude(e.node,e.name),kind:ZS(e.node),kindModifiers:CRe(e.node),spans:pde(e),nameSpan:e.name&&mde(e.name),childItems:Gt(e.children,xRe)}}function LXe(e){return{text:ude(e.node,e.name),kind:ZS(e.node),kindModifiers:CRe(e.node),spans:pde(e),childItems:Gt(e.children,t)||ade,indent:e.indent,bolded:!1,grayed:!1};function t(r){return{text:ude(r.node,r.name),kind:ZS(r.node),kindModifiers:CP(r.node),spans:pde(r),childItems:ade,indent:0,bolded:!1,grayed:!1}}}function pde(e){const t=[mde(e.node)];if(e.additionalNodes)for(const r of e.additionalNodes)t.push(mde(r));return t}function RRe(e){return vu(e)?Rl(e.name):fde(e)}function fde(e){const t=[Bf(e.name)];for(;e.body&&e.body.kind===268;)e=e.body,t.push(Bf(e.name));return t.join(".")}function DRe(e){return e.body&&pc(e.body)?DRe(e.body):e}function kXe(e){return!e.name||e.name.kind===168}function mde(e){return e.kind===308?bv(e):Vu(e,FO)}function CRe(e){return e.parent&&e.parent.kind===261&&(e=e.parent),CP(e)}function NRe(e){const{parent:t}=e;if(e.name&&X2(e.name)>0)return BP(Fs(e.name));if(bi(t))return BP(Fs(t.name));if(Nr(t)&&t.operatorToken.kind===64)return Q7(t.left).replace(RXe,"");if(Rc(t))return Q7(t.name);if(av(e)&2048)return"default";if(hi(e))return"<class>";if(ra(t)){let r=MRe(t.expression);if(r!==void 0){if(r=BP(r),r.length>ode)return"".concat(r," callback");const i=BP(Hi(t.arguments,o=>ds(o)||cI(o)?o.getText(FO):void 0).join(", "));return"".concat(r,"(").concat(i,") callback")}}return"<function>"}function MRe(e){if(Je(e))return e.text;if(Jr(e)){const t=MRe(e.expression),r=e.name.text;return t===void 0?r:"".concat(t,".").concat(r)}else return}function wXe(e){switch(e.kind){case 220:case 219:case 232:return!0;default:return!1}}function BP(e){return e=e.length>ode?e.substring(0,ode)+"...":e,e.replace(/\\?(?:\r?\n|[\r\u2028\u2029])/g,"")}var yx={};x(yx,{addExportsInOldFile:()=>Ide,addImportsForMovedSymbols:()=>xde,addNewFileToTsconfig:()=>Ade,addOrRemoveBracesToArrowFunction:()=>NYe,addTargetFileImports:()=>wde,containsJsx:()=>Cde,convertArrowFunctionOrFunctionExpression:()=>wYe,convertParamsToDestructuredObject:()=>qYe,convertStringOrTemplateLiteral:()=>d$e,convertToOptionalChainExpression:()=>b$e,createNewFileName:()=>Dde,doChangeNamedToNamespaceOrDefault:()=>WRe,extractSymbol:()=>CDe,generateGetAccessorAndSetAccessor:()=>rQe,getApplicableRefactors:()=>OXe,getEditsForRefactor:()=>WXe,getExistingLocals:()=>Lde,getIdentifierForNode:()=>kde,getNewStatementsAndRemoveFromOldFile:()=>Ede,getStatementsToMove:()=>BO,getUsageInfo:()=>Z7,inferFunctionReturnType:()=>iQe,isInImport:()=>nK,isRefactorErrorInfo:()=>Sy,refactorKindBeginsWith:()=>_T,registerRefactor:()=>Pg});var hde=new Map;function Pg(e,t){hde.set(e,t)}function OXe(e,t){return Mo(cf(hde.values(),r=>{var i;return e.cancellationToken&&e.cancellationToken.isCancellationRequested()||!((i=r.kinds)!=null&&i.some(o=>_T(o,e.kind)))?void 0:r.getAvailableActions(e,t)}))}function WXe(e,t,r,i){const o=hde.get(t);return o&&o.getEditsForAction(e,r,i)}var _de="Convert export",KJ={name:"Convert default export to named export",description:Jo(f.Convert_default_export_to_named_export),kind:"refactor.rewrite.export.named"},XJ={name:"Convert named export to default export",description:Jo(f.Convert_named_export_to_default_export),kind:"refactor.rewrite.export.default"};Pg(_de,{kinds:[KJ.kind,XJ.kind],getAvailableActions:function(t){const r=PRe(t,t.triggerReason==="invoked");if(!r)return se;if(!Sy(r)){const i=r.wasDefault?KJ:XJ;return[{name:_de,description:i.description,actions:[i]}]}return t.preferences.provideRefactorNotApplicableReason?[{name:_de,description:Jo(f.Convert_default_export_to_named_export),actions:[{...KJ,notApplicableReason:r.error},{...XJ,notApplicableReason:r.error}]}]:se},getEditsForAction:function(t,r){C.assert(r===KJ.name||r===XJ.name,"Unexpected action name");const i=PRe(t);return C.assert(i&&!Sy(i),"Expected applicable refactor info"),{edits:Ir.ChangeTracker.with(t,s=>FXe(t.file,t.program,i,s,t.cancellationToken)),renameFilename:void 0,renameLocation:void 0}}});function PRe(e,t=!0){const{file:r,program:i}=e,o=hx(e),s=Fi(r,o.start),l=s.parent&&av(s.parent)&32&&t?s.parent:RO(s,r,o);if(!l||!Qi(l.parent)&&!(a_(l.parent)&&vu(l.parent.parent)))return{error:Jo(f.Could_not_find_export_statement)};const u=i.getTypeChecker(),d=jXe(l.parent,u),_=av(l)||(fl(l)&&!l.isExportEquals?2080:0),m=!!(_&2048);if(!(_&32)||!m&&d.exports.has("default"))return{error:Jo(f.This_file_already_has_a_default_export)};const y=E=>Je(E)&&u.getSymbolAtLocation(E)?void 0:{error:Jo(f.Can_only_convert_named_export)};switch(l.kind){case 263:case 264:case 265:case 267:case 266:case 268:{const E=l;return E.name?y(E.name)||{exportNode:E,exportName:E.name,wasDefault:m,exportingModuleSymbol:d}:void 0}case 244:{const E=l;if(!(E.declarationList.flags&2)||E.declarationList.declarations.length!==1)return;const A=Qa(E.declarationList.declarations);return A.initializer?(C.assert(!m,"Can't have a default flag here"),y(A.name)||{exportNode:E,exportName:A.name,wasDefault:m,exportingModuleSymbol:d}):void 0}case 278:{const E=l;return E.isExportEquals?void 0:y(E.expression)||{exportNode:E,exportName:E.expression,wasDefault:m,exportingModuleSymbol:d}}default:return}}function FXe(e,t,r,i,o){zXe(e,r,i,t.getTypeChecker()),BXe(t,r,i,o)}function zXe(e,{wasDefault:t,exportNode:r,exportName:i},o,s){if(t)if(fl(r)&&!r.isExportEquals){const l=r.expression,u=LRe(l.text,l.text);o.replaceNode(e,r,L.createExportDeclaration(void 0,!1,L.createNamedExports([u])))}else o.delete(e,C.checkDefined(iC(r,90),"Should find a default keyword in modifier list"));else{const l=C.checkDefined(iC(r,95),"Should find an export keyword in modifier list");switch(r.kind){case 263:case 264:case 265:o.insertNodeAfter(e,l,L.createToken(90));break;case 244:const u=Qa(r.declarationList.declarations);if(!el.Core.isSymbolReferencedInFile(i,s,e)&&!u.type){o.replaceNode(e,r,L.createExportDefault(C.checkDefined(u.initializer,"Initializer was previously known to be present")));break}case 267:case 266:case 268:o.deleteModifier(e,l),o.insertNodeAfter(e,r,L.createExportDefault(L.createIdentifier(i.text)));break;default:C.fail("Unexpected exportNode kind ".concat(r.kind))}}}function BXe(e,{wasDefault:t,exportName:r,exportingModuleSymbol:i},o,s){const l=e.getTypeChecker(),u=C.checkDefined(l.getSymbolAtLocation(r),"Export name should resolve to a symbol");el.Core.eachExportReference(e.getSourceFiles(),l,s,u,i,r.text,t,d=>{if(r===d)return;const _=d.getSourceFile();t?GXe(_,d,o,r.text):VXe(_,d,o)})}function GXe(e,t,r,i){const{parent:o}=t;switch(o.kind){case 212:r.replaceNode(e,t,L.createIdentifier(i));break;case 277:case 282:{const l=o;r.replaceNode(e,l,gde(i,l.name.text));break}case 274:{const l=o;C.assert(l.name===t,"Import clause name should match provided ref");const u=gde(i,t.text),{namedBindings:d}=l;if(!d)r.replaceNode(e,t,L.createNamedImports([u]));else if(d.kind===275){r.deleteRange(e,{pos:t.getStart(e),end:d.getStart(e)});const _=Oa(l.parent.moduleSpecifier)?nJ(l.parent.moduleSpecifier,e):1,m=qb(void 0,[gde(i,t.text)],l.parent.moduleSpecifier,_);r.insertNodeAfter(e,l.parent,m)}else r.delete(e,t),r.insertNodeAtEndOfList(e,d.elements,u);break}case 206:const s=o;r.replaceNode(e,o,L.createImportTypeNode(s.argument,s.attributes,L.createIdentifier(i),s.typeArguments,s.isTypeOf));break;default:C.failBadSyntaxKind(o)}}function VXe(e,t,r){const i=t.parent;switch(i.kind){case 212:r.replaceNode(e,t,L.createIdentifier("default"));break;case 277:{const o=L.createIdentifier(i.name.text);i.parent.elements.length===1?r.replaceNode(e,i.parent,o):(r.delete(e,i),r.insertNodeBefore(e,i.parent,o));break}case 282:{r.replaceNode(e,i,LRe("default",i.name.text));break}default:C.assertNever(i,"Unexpected parent kind ".concat(i.kind))}}function gde(e,t){return L.createImportSpecifier(!1,e===t?void 0:L.createIdentifier(e),L.createIdentifier(t))}function LRe(e,t){return L.createExportSpecifier(!1,e===t?void 0:L.createIdentifier(e),L.createIdentifier(t))}function jXe(e,t){if(Qi(e))return e.symbol;const r=e.parent.symbol;return r.valueDeclaration&&TS(r.valueDeclaration)?t.getMergedSymbol(r):r}var yde="Convert import",YJ={0:{name:"Convert namespace import to named imports",description:Jo(f.Convert_namespace_import_to_named_imports),kind:"refactor.rewrite.import.named"},2:{name:"Convert named imports to namespace import",description:Jo(f.Convert_named_imports_to_namespace_import),kind:"refactor.rewrite.import.namespace"},1:{name:"Convert named imports to default import",description:Jo(f.Convert_named_imports_to_default_import),kind:"refactor.rewrite.import.default"}};Pg(yde,{kinds:QA(YJ).map(e=>e.kind),getAvailableActions:function(t){const r=kRe(t,t.triggerReason==="invoked");if(!r)return se;if(!Sy(r)){const i=YJ[r.convertTo];return[{name:yde,description:i.description,actions:[i]}]}return t.preferences.provideRefactorNotApplicableReason?QA(YJ).map(i=>({name:yde,description:i.description,actions:[{...i,notApplicableReason:r.error}]})):se},getEditsForAction:function(t,r){C.assert(bt(QA(YJ),s=>s.name===r),"Unexpected action name");const i=kRe(t);return C.assert(i&&!Sy(i),"Expected applicable refactor info"),{edits:Ir.ChangeTracker.with(t,s=>UXe(t.file,t.program,s,i)),renameFilename:void 0,renameLocation:void 0}}});function kRe(e,t=!0){const{file:r}=e,i=hx(e),o=Fi(r,i.start),s=t?Rn(o,Np(Sl,d_)):RO(o,r,i);if(s===void 0||!(Sl(s)||d_(s)))return{error:"Selection is not an import declaration."};const l=i.start+i.length,u=eE(s,s.parent,r);if(u&&l>u.getStart())return;const{importClause:d}=s;return d?d.namedBindings?d.namedBindings.kind===275?{convertTo:0,import:d.namedBindings}:wRe(e.program,d)?{convertTo:1,import:d.namedBindings}:{convertTo:2,import:d.namedBindings}:{error:Jo(f.Could_not_find_namespace_import_or_named_imports)}:{error:Jo(f.Could_not_find_import_clause)}}function wRe(e,t){return LI(e.getCompilerOptions())&&JXe(t.parent.moduleSpecifier,e.getTypeChecker())}function UXe(e,t,r,i){const o=t.getTypeChecker();i.convertTo===0?HXe(e,o,r,i.import,LI(t.getCompilerOptions())):WRe(e,t,r,i.import,i.convertTo===1)}function HXe(e,t,r,i,o){let s=!1;const l=[],u=new Map;el.Core.eachSymbolReferenceInFile(i.name,t,e,y=>{if(!U2(y.parent))s=!0;else{const E=ORe(y.parent).text;t.resolveName(E,y,-1,!0)&&u.set(E,!0),C.assert(qXe(y.parent)===y,"Parent expression should match id"),l.push(y.parent)}});const d=new Map;for(const y of l){const E=ORe(y).text;let A=d.get(E);A===void 0&&d.set(E,A=u.has(E)?G1(E,e):E),r.replaceNode(e,y,L.createIdentifier(A))}const _=[];d.forEach((y,E)=>{_.push(L.createImportSpecifier(!1,y===E?void 0:L.createIdentifier(E),L.createIdentifier(y)))});const m=i.parent.parent;if(s&&!o&&Sl(m))r.insertNodeAfter(e,m,FRe(m,void 0,_));else{const y=s?L.createIdentifier(i.name.text):void 0;r.replaceNode(e,i.parent,zRe(y,_))}}function ORe(e){return Jr(e)?e.name:e.right}function qXe(e){return Jr(e)?e.expression:e.left}function WRe(e,t,r,i,o=wRe(t,i.parent)){const s=t.getTypeChecker(),l=i.parent.parent,{moduleSpecifier:u}=l,d=new Set;i.elements.forEach(R=>{const N=s.getSymbolAtLocation(R.name);N&&d.add(N)});const _=u&&Oa(u)?kO(u.text,99):"module";function m(R){return!!el.Core.eachSymbolReferenceInFile(R.name,s,e,N=>{const M=s.resolveName(_,N,-1,!0);return M?d.has(M)?ou(N.parent):!0:!1})}const E=i.elements.some(m)?G1(_,e):_,A=new Set;for(const R of i.elements){const N=R.propertyName||R.name;el.Core.eachSymbolReferenceInFile(R.name,s,e,M=>{const k=N.kind===11?L.createElementAccessExpression(L.createIdentifier(E),L.cloneNode(N)):L.createPropertyAccessExpression(L.createIdentifier(E),L.cloneNode(N));Ud(M.parent)?r.replaceNode(e,M.parent,L.createPropertyAssignment(M.text,k)):ou(M.parent)?A.add(R):r.replaceNode(e,M,k)})}if(r.replaceNode(e,i,o?L.createIdentifier(E):L.createNamespaceImport(L.createIdentifier(E))),A.size&&Sl(l)){const R=Mo(A.values(),N=>L.createImportSpecifier(N.isTypeOnly,N.propertyName&&L.cloneNode(N.propertyName),L.cloneNode(N.name)));r.insertNodeAfter(e,i.parent.parent,FRe(l,void 0,R))}}function JXe(e,t){const r=t.resolveExternalModuleName(e);if(!r)return!1;const i=t.resolveExternalModuleSymbol(r);return r!==i}function FRe(e,t,r){return L.createImportDeclaration(void 0,zRe(t,r),e.moduleSpecifier,void 0)}function zRe(e,t){return L.createImportClause(void 0,e,t&&t.length?L.createNamedImports(t):void 0)}var vde="Extract type",$J={name:"Extract to type alias",description:Jo(f.Extract_to_type_alias),kind:"refactor.extract.type"},QJ={name:"Extract to interface",description:Jo(f.Extract_to_interface),kind:"refactor.extract.interface"},ZJ={name:"Extract to typedef",description:Jo(f.Extract_to_typedef),kind:"refactor.extract.typedef"};Pg(vde,{kinds:[$J.kind,QJ.kind,ZJ.kind],getAvailableActions:function(t){const{info:r,affectedTextRange:i}=BRe(t,t.triggerReason==="invoked");return r?Sy(r)?t.preferences.provideRefactorNotApplicableReason?[{name:vde,description:Jo(f.Extract_type),actions:[{...ZJ,notApplicableReason:r.error},{...$J,notApplicableReason:r.error},{...QJ,notApplicableReason:r.error}]}]:se:[{name:vde,description:Jo(f.Extract_type),actions:r.isJS?[ZJ]:jn([$J],r.typeElements&&QJ)}].map(s=>({...s,actions:s.actions.map(l=>({...l,range:i?{start:{line:fa(t.file,i.pos).line,offset:fa(t.file,i.pos).character},end:{line:fa(t.file,i.end).line,offset:fa(t.file,i.end).character}}:void 0}))})):se},getEditsForAction:function(t,r){const{file:i}=t,{info:o}=BRe(t);C.assert(o&&!Sy(o),"Expected to find a range to extract");const s=G1("NewType",i),l=Ir.ChangeTracker.with(t,_=>{switch(r){case $J.name:return C.assert(!o.isJS,"Invalid actionName/JS combo"),YXe(_,i,s,o);case ZJ.name:return C.assert(o.isJS,"Invalid actionName/JS combo"),QXe(_,t,i,s,o);case QJ.name:return C.assert(!o.isJS&&!!o.typeElements,"Invalid actionName/JS combo"),$Xe(_,i,s,o);default:C.fail("Unexpected action name")}}),u=i.fileName,d=CO(l,u,s,!1);return{edits:l,renameFilename:u,renameLocation:d}}});function BRe(e,t=!0){const{file:r,startPosition:i}=e,o=wu(r),s=S7(hx(e)),l=s.pos===s.end&&t,u=KXe(r,i,s,l);if(!u||!xi(u))return{info:{error:Jo(f.Selection_is_not_a_valid_type_node)},affectedTextRange:void 0};const d=e.program.getTypeChecker(),_=ZXe(u,o);if(_===void 0)return{info:{error:Jo(f.No_type_could_be_extracted_from_this_type_node)},affectedTextRange:void 0};const m=eYe(u,_);if(!xi(m))return{info:{error:Jo(f.Selection_is_not_a_valid_type_node)},affectedTextRange:void 0};const y=[];(mv(m.parent)||KI(m.parent))&&s.end>u.end&&$r(y,m.parent.types.filter(M=>f7(M,r,s.pos,s.end)));const E=y.length>1?y:m,{typeParameters:A,affectedTextRange:R}=XXe(d,E,_,r);if(!A)return{info:{error:Jo(f.No_type_could_be_extracted_from_this_type_node)},affectedTextRange:void 0};const N=eK(d,E);return{info:{isJS:o,selection:E,enclosingNode:_,typeParameters:A,typeElements:N},affectedTextRange:R}}function KXe(e,t,r,i){const o=[()=>Fi(e,t),()=>nC(e,t,()=>!0)];for(const s of o){const l=s(),u=f7(l,e,r.pos,r.end),d=Rn(l,_=>_.parent&&xi(_)&&!iE(r,_.parent,e)&&(i||u));if(d)return d}}function eK(e,t){if(t){if(Lo(t)){const r=[];for(const i of t){const o=eK(e,i);if(!o)return;$r(r,o)}return r}if(KI(t)){const r=[],i=new Set;for(const o of t.types){const s=eK(e,o);if(!s||!s.every(l=>l.name&&Tm(i,IO(l.name))))return;$r(r,s)}return r}else{if(b1(t))return eK(e,t.type);if(Fu(t))return t.members}}}function iE(e,t,r){return bO(e,wa(r.text,t.pos),t.end)}function XXe(e,t,r,i){const o=[],s=ZA(t),l={pos:s[0].getStart(i),end:s[s.length-1].end};for(const d of s)if(u(d))return{typeParameters:void 0,affectedTextRange:void 0};return{typeParameters:o,affectedTextRange:l};function u(d){if(Bp(d)){if(Je(d.typeName)){const _=d.typeName,m=e.resolveName(_.text,_,262144,!0);for(const y of(m==null?void 0:m.declarations)||se)if(pl(y)&&y.getSourceFile()===i){if(y.name.escapedText===_.escapedText&&iE(y,l,i))return!0;if(iE(r,y,i)&&!iE(l,y,i)){wf(o,y);break}}}}else if(v1(d)){const _=Rn(d,m=>zS(m)&&iE(m.extendsType,d,i));if(!_||!iE(l,_,i))return!0}else if(qI(d)||jM(d)){const _=Rn(d.parent,Yo);if(_&&_.type&&iE(_.type,d,i)&&!iE(l,_,i))return!0}else if(FS(d)){if(Je(d.exprName)){const _=e.resolveName(d.exprName.text,d.exprName,111551,!1);if(_!=null&&_.valueDeclaration&&iE(r,_.valueDeclaration,i)&&!iE(l,_.valueDeclaration,i))return!0}else if(Rb(d.exprName.left)&&!iE(l,d.parent,i))return!0}return i&&JI(d)&&fa(i,d.pos).line===fa(i,d.end).line&&Dr(d,1),Xo(d,u)}}function YXe(e,t,r,i){const{enclosingNode:o,typeParameters:s}=i,{firstTypeNode:l,lastTypeNode:u,newTypeNode:d}=bde(i),_=L.createTypeAliasDeclaration(void 0,r,s.map(m=>L.updateTypeParameterDeclaration(m,m.modifiers,m.name,m.constraint,void 0)),d);e.insertNodeBefore(t,o,bj(_),!0),e.replaceNodeRange(t,l,u,L.createTypeReferenceNode(r,s.map(m=>L.createTypeReferenceNode(m.name,void 0))),{leadingTriviaOption:Ir.LeadingTriviaOption.Exclude,trailingTriviaOption:Ir.TrailingTriviaOption.ExcludeWhitespace})}function $Xe(e,t,r,i){var o;const{enclosingNode:s,typeParameters:l,typeElements:u}=i,d=L.createInterfaceDeclaration(void 0,r,l,void 0,u);Tt(d,(o=u[0])==null?void 0:o.parent),e.insertNodeBefore(t,s,bj(d),!0);const{firstTypeNode:_,lastTypeNode:m}=bde(i);e.replaceNodeRange(t,_,m,L.createTypeReferenceNode(r,l.map(y=>L.createTypeReferenceNode(y.name,void 0))),{leadingTriviaOption:Ir.LeadingTriviaOption.Exclude,trailingTriviaOption:Ir.TrailingTriviaOption.ExcludeWhitespace})}function QXe(e,t,r,i,o){var s;ZA(o.selection).forEach(R=>{Dr(R,7168)});const{enclosingNode:l,typeParameters:u}=o,{firstTypeNode:d,lastTypeNode:_,newTypeNode:m}=bde(o),y=L.createJSDocTypedefTag(L.createIdentifier("typedef"),L.createJSDocTypeExpression(m),L.createIdentifier(i)),E=[];Xe(u,R=>{const N=zR(R),M=L.createTypeParameterDeclaration(void 0,R.name),k=L.createJSDocTemplateTag(L.createIdentifier("template"),N&&va(N,nT),[M]);E.push(k)});const A=L.createJSDocComment(void 0,L.createNodeArray(co(E,[y])));if(mh(l)){const R=l.getStart(r),N=Ty(t.host,(s=t.formatContext)==null?void 0:s.options);e.insertNodeAt(r,l.getStart(r),A,{suffix:N+N+r.text.slice(N7(r.text,R-1),R)})}else e.insertNodeBefore(r,l,A,!0);e.replaceNodeRange(r,d,_,L.createTypeReferenceNode(i,u.map(R=>L.createTypeReferenceNode(R.name,void 0))))}function bde(e){return Lo(e.selection)?{firstTypeNode:e.selection[0],lastTypeNode:e.selection[e.selection.length-1],newTypeNode:mv(e.selection[0].parent)?L.createUnionTypeNode(e.selection):L.createIntersectionTypeNode(e.selection)}:{firstTypeNode:e.selection,lastTypeNode:e.selection,newTypeNode:e.selection}}function ZXe(e,t){return Rn(e,Gi)||(t?Rn(e,mh):void 0)}function eYe(e,t){var r;return(r=Rn(e,i=>i===t?"quit":!!(mv(i.parent)||KI(i.parent))))!=null?r:e}var tK="Move to file",Tde=Jo(f.Move_to_file),Sde={name:"Move to file",description:Tde,kind:"refactor.move.file"};Pg(tK,{kinds:[Sde.kind],getAvailableActions:function(t,r){const i=t.file,o=BO(t);if(!r)return se;if(t.triggerReason==="implicit"&&t.endPosition!==void 0){const s=Rn(Fi(i,t.startPosition),_x),l=Rn(Fi(i,t.endPosition),_x);if(s&&!Qi(s)&&l&&!Qi(l))return se}if(t.preferences.allowTextChangesInNewFiles&&o){const s={start:{line:fa(i,o.all[0].getStart(i)).line,offset:fa(i,o.all[0].getStart(i)).character},end:{line:fa(i,Ga(o.all).end).line,offset:fa(i,Ga(o.all).end).character}};return[{name:tK,description:Tde,actions:[{...Sde,range:s}]}]}return t.preferences.provideRefactorNotApplicableReason?[{name:tK,description:Tde,actions:[{...Sde,notApplicableReason:Jo(f.Selection_is_not_a_valid_statement_or_statements)}]}]:se},getEditsForAction:function(t,r,i){C.assert(r===tK,"Wrong refactor invoked");const o=C.checkDefined(BO(t)),{host:s,program:l}=t;C.assert(i,"No interactive refactor arguments available");const u=i.targetFile;return Ig(u)||m1(u)?s.fileExists(u)&&l.getSourceFile(u)===void 0?GRe(Jo(f.Cannot_move_statements_to_the_selected_file)):{edits:Ir.ChangeTracker.with(t,_=>tYe(t,t.file,i.targetFile,t.program,o,_,t.host,t.preferences)),renameFilename:void 0,renameLocation:void 0}:GRe(Jo(f.Cannot_move_to_file_selected_file_is_invalid))}});function GRe(e){return{edits:[],renameFilename:void 0,renameLocation:void 0,notApplicableReason:e}}function tYe(e,t,r,i,o,s,l,u){const d=i.getTypeChecker(),_=!l.fileExists(r),m=_?U7(r,t.externalModuleIndicator?99:t.commonJsModuleIndicator?1:void 0,i,l):C.checkDefined(i.getSourceFile(r)),y=cu.createImportAdder(t,e.program,e.preferences,e.host),E=cu.createImportAdder(m,e.program,e.preferences,e.host);Ede(t,m,Z7(t,o.all,d,_?void 0:Lde(m,o.all,d)),s,o,i,l,u,E,y),_&&Ade(i,s,t.fileName,r,uy(l))}function Ede(e,t,r,i,o,s,l,u,d,_){const m=s.getTypeChecker(),y=a9(e.statements,Xh),E=!DJ(t.fileName,s,l,!!e.commonJsModuleIndicator),A=Up(e,u);xde(r.oldFileImportsFromTargetFile,t.fileName,_,s),rYe(e,o.all,r.unusedImportsFromOldFile,_),_.writeFixes(i,A),nYe(e,o.ranges,i),iYe(i,s,l,e,r.movedSymbols,t.fileName,A),Ide(e,r.targetFileImportsFromOldFile,i,E),wde(e,r.oldImportsNeededByTargetFile,r.targetFileImportsFromOldFile,m,s,d),!bg(t)&&y.length&&i.insertStatementsInNewFile(t.fileName,y,e),d.writeFixes(i,A);const R=dYe(e,o.all,Mo(r.oldFileImportsFromTargetFile.keys()),E);bg(t)&&t.statements.length>0?xYe(i,s,R,t,o):bg(t)?i.insertNodesAtEndOfFile(t,R,!1):i.insertStatementsInNewFile(t.fileName,d.hasFixes()?[4,...R]:R,e)}function Ade(e,t,r,i,o){const s=e.getCompilerOptions().configFile;if(!s)return;const l=Sa(ei(r,"..",i)),u=LR(s.fileName,l,o),d=s.statements[0]&&ii(s.statements[0].expression,za),_=d&&_n(d.properties,m=>Rc(m)&&Oa(m.name)&&m.name.text==="files");_&&Dd(_.initializer)&&t.insertNodeInListAfter(s,Ga(_.initializer.elements),L.createStringLiteral(u),_.initializer.elements)}function nYe(e,t,r){for(const{first:i,afterLast:o}of t)r.deleteNodeRangeExcludingEnd(e,i,o)}function rYe(e,t,r,i){for(const o of e.statements)Vn(t,o)||jRe(o,s=>{URe(s,l=>{r.has(l.symbol)&&i.removeExistingImport(l)})})}function Ide(e,t,r,i){const o=rC();t.forEach((s,l)=>{if(l.declarations)for(const u of l.declarations){if(!Pde(u))continue;const d=yYe(u);if(!d)continue;const _=KRe(u);o(_)&&vYe(e,_,d,r,i)}})}function iYe(e,t,r,i,o,s,l){const u=t.getTypeChecker();for(const d of t.getSourceFiles())if(d!==i)for(const _ of d.statements)jRe(_,m=>{if(u.getSymbolAtLocation(lYe(m))!==i.symbol)return;const y=M=>{const k=qa(M.parent)?D7(u,M.parent):Id(u.getSymbolAtLocation(M),u);return!!k&&o.has(k)};uYe(d,m,e,y);const E=db(pi(Eo(i.fileName,t.getCurrentDirectory())),s);if(DR(!t.useCaseSensitiveFileNames())(E,d.fileName)===0)return;const A=by.getModuleSpecifier(t.getCompilerOptions(),d,d.fileName,E,fT(t,r)),R=hYe(m,MP(A,l),y);R&&e.insertNodeAfter(d,_,R);const N=oYe(m);N&&aYe(e,d,u,o,A,N,m,l)})}function oYe(e){switch(e.kind){case 273:return e.importClause&&e.importClause.namedBindings&&e.importClause.namedBindings.kind===275?e.importClause.namedBindings.name:void 0;case 272:return e.name;case 261:return ii(e.name,Je);default:return C.assertNever(e,"Unexpected node kind ".concat(e.kind))}}function aYe(e,t,r,i,o,s,l,u){const d=kO(o,99);let _=!1;const m=[];if(el.Core.eachSymbolReferenceInFile(s,r,t,y=>{Jr(y.parent)&&(_=_||!!r.resolveName(d,y,-1,!0),i.has(r.getSymbolAtLocation(y.parent.name))&&m.push(y))}),m.length){const y=_?G1(d,t):d;for(const E of m)e.replaceNode(t,E,L.createIdentifier(y));e.insertNodeAfter(t,l,sYe(l,d,o,u))}}function sYe(e,t,r,i){const o=L.createIdentifier(t),s=MP(r,i);switch(e.kind){case 273:return L.createImportDeclaration(void 0,L.createImportClause(void 0,void 0,L.createNamespaceImport(o)),s,void 0);case 272:return L.createImportEqualsDeclaration(void 0,!1,o,L.createExternalModuleReference(s));case 261:return L.createVariableDeclaration(o,void 0,void 0,VRe(s));default:return C.assertNever(e,"Unexpected node kind ".concat(e.kind))}}function VRe(e){return L.createCallExpression(L.createIdentifier("require"),void 0,[e])}function lYe(e){return e.kind===273?e.moduleSpecifier:e.kind===272?e.moduleReference.expression:e.initializer.arguments[0]}function jRe(e,t){if(Sl(e))Oa(e.moduleSpecifier)&&t(e);else if(Oc(e))_y(e.moduleReference)&&ds(e.moduleReference.expression)&&t(e);else if(sc(e))for(const r of e.declarationList.declarations)r.initializer&&tp(r.initializer,!0)&&t(r)}function URe(e,t){var r,i,o,s,l;if(e.kind===273){if((r=e.importClause)!=null&&r.name&&t(e.importClause),((o=(i=e.importClause)==null?void 0:i.namedBindings)==null?void 0:o.kind)===275&&t(e.importClause.namedBindings),((l=(s=e.importClause)==null?void 0:s.namedBindings)==null?void 0:l.kind)===276)for(const u of e.importClause.namedBindings.elements)t(u)}else if(e.kind===272)t(e);else if(e.kind===261){if(e.name.kind===80)t(e);else if(e.name.kind===207)for(const u of e.name.elements)Je(u.name)&&t(u)}}function xde(e,t,r,i){for(const[o,s]of e){const l=z7(o,Va(i.getCompilerOptions())),u=o.name==="default"&&o.parent?1:0;r.addImportForNonExistentExport(l,t,u,o.flags,s)}}function cYe(e,t,r,i=2){return L.createVariableStatement(void 0,L.createVariableDeclarationList([L.createVariableDeclaration(e,void 0,t,r)],i))}function dYe(e,t,r,i){return Wi(t,o=>{if(qRe(o)&&!HRe(e,o,i)&&Mde(o,s=>{var l;return r.includes(C.checkDefined((l=ii(s,ah))==null?void 0:l.symbol))})){const s=pYe(ys(o),i);if(s)return s}return ys(o)})}function HRe(e,t,r,i){var o;return r?!od(t)&&fi(t,32)||!!(i&&e.symbol&&((o=e.symbol.exports)!=null&&o.has(i.escapedText))):!!e.symbol&&!!e.symbol.exports&&Rde(t).some(s=>e.symbol.exports.has(Pl(s)))}function uYe(e,t,r,i){if(t.kind===273&&t.importClause){const{name:o,namedBindings:s}=t.importClause;if((!o||i(o))&&(!s||s.kind===276&&s.elements.length!==0&&s.elements.every(l=>i(l.name))))return r.delete(e,t)}URe(t,o=>{o.name&&Je(o.name)&&i(o.name)&&r.delete(e,o)})}function qRe(e){return C.assert(Qi(e.parent),"Node parent should be a SourceFile"),$Re(e)||sc(e)}function pYe(e,t){return t?[fYe(e)]:mYe(e)}function fYe(e){const t=Im(e)?co([L.createModifier(95)],mS(e)):void 0;switch(e.kind){case 263:return L.updateFunctionDeclaration(e,t,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body);case 264:const r=qS(e)?pb(e):void 0;return L.updateClassDeclaration(e,co(r,t),e.name,e.typeParameters,e.heritageClauses,e.members);case 244:return L.updateVariableStatement(e,t,e.declarationList);case 268:return L.updateModuleDeclaration(e,t,e.name,e.body);case 267:return L.updateEnumDeclaration(e,t,e.name,e.members);case 266:return L.updateTypeAliasDeclaration(e,t,e.name,e.typeParameters,e.type);case 265:return L.updateInterfaceDeclaration(e,t,e.name,e.typeParameters,e.heritageClauses,e.members);case 272:return L.updateImportEqualsDeclaration(e,t,e.isTypeOnly,e.name,e.moduleReference);case 245:return C.fail();default:return C.assertNever(e,"Unexpected declaration kind ".concat(e.kind))}}function mYe(e){return[e,...Rde(e).map(JRe)]}function JRe(e){return L.createExpressionStatement(L.createBinaryExpression(L.createPropertyAccessExpression(L.createIdentifier("exports"),L.createIdentifier(e)),64,L.createIdentifier(e)))}function Rde(e){switch(e.kind){case 263:case 264:return[e.name.text];case 244:return Hi(e.declarationList.declarations,t=>Je(t.name)?t.name.text:void 0);case 268:case 267:case 266:case 265:case 272:return se;case 245:return C.fail("Can't export an ExpressionStatement");default:return C.assertNever(e,"Unexpected decl kind ".concat(e.kind))}}function hYe(e,t,r){switch(e.kind){case 273:{const i=e.importClause;if(!i)return;const o=i.name&&r(i.name)?i.name:void 0,s=i.namedBindings&&_Ye(i.namedBindings,r);return o||s?L.createImportDeclaration(void 0,L.createImportClause(i.phaseModifier,o,s),ys(t),void 0):void 0}case 272:return r(e.name)?e:void 0;case 261:{const i=gYe(e.name,r);return i?cYe(i,e.type,VRe(t),e.parent.flags):void 0}default:return C.assertNever(e,"Unexpected import kind ".concat(e.kind))}}function _Ye(e,t){if(e.kind===275)return t(e.name)?e:void 0;{const r=e.elements.filter(i=>t(i.name));return r.length?L.createNamedImports(r):void 0}}function gYe(e,t){switch(e.kind){case 80:return t(e)?e:void 0;case 208:return e;case 207:{const r=e.elements.filter(i=>i.propertyName||!Je(i.name)||t(i.name));return r.length?L.createObjectBindingPattern(r):void 0}}}function yYe(e){return od(e)?ii(e.expression.left.name,Je):ii(e.name,Je)}function KRe(e){switch(e.kind){case 261:return e.parent.parent;case 209:return KRe(va(e.parent.parent,t=>bi(t)||qa(t)));default:return e}}function vYe(e,t,r,i,o){if(!HRe(e,t,o,r))if(o)od(t)||i.insertExportModifier(e,t);else{const s=Rde(t);s.length!==0&&i.insertNodesAfter(e,t,s.map(JRe))}}function Dde(e,t,r,i){const o=t.getTypeChecker();if(i){const s=Z7(e,i.all,o),l=pi(e.fileName),u=IM(e.fileName);return ei(l,EYe(AYe(s.oldFileImportsFromTargetFile,s.movedSymbols),u,l,r))+u}return""}function bYe(e){const{file:t}=e,r=S7(hx(e)),{statements:i}=t;let o=lo(i,_=>_.end>r.pos);if(o===-1)return;const s=i[o],l=QRe(t,s);l&&(o=l.start);let u=lo(i,_=>_.end>=r.end,o);u!==-1&&r.end<=i[u].getStart()&&u--;const d=QRe(t,i[u]);return d&&(u=d.end),{toMove:i.slice(o,u===-1?i.length:u+1),afterLast:u===-1?void 0:i[u+1]}}function BO(e){const t=bYe(e);if(t===void 0)return;const r=[],i=[],{toMove:o,afterLast:s}=t;return jB(o,TYe,(l,u)=>{for(let d=l;d<u;d++)r.push(o[d]);i.push({first:o[l],afterLast:s})}),r.length===0?void 0:{all:r,ranges:i}}function Cde(e){return _n(e,t=>!!(t.transformFlags&2))}function TYe(e){return!SYe(e)&&!Xh(e)}function SYe(e){switch(e.kind){case 273:return!0;case 272:return!fi(e,32);case 244:return e.declarationList.declarations.every(t=>!!t.initializer&&tp(t.initializer,!0));default:return!1}}function Z7(e,t,r,i=new Set,o){var s;const l=new Set,u=new Map,d=new Map,_=E(Cde(t));_&&u.set(_,[!1,ii((s=_.declarations)==null?void 0:s[0],A=>Au(A)||Hm(A)||Cg(A)||Oc(A)||qa(A)||bi(A))]);for(const A of t)Mde(A,R=>{l.add(C.checkDefined(od(R)?r.getSymbolAtLocation(R.expression.left):R.symbol,"Need a symbol here"))});const m=new Set;for(const A of t)Nde(A,r,o,(R,N)=>{if(!bt(R.declarations))return;if(i.has(Id(R,r))){m.add(R);return}const M=_n(R.declarations,nK);if(M){const k=u.get(R);u.set(R,[(k===void 0||k)&&N,ii(M,F=>Au(F)||Hm(F)||Cg(F)||Oc(F)||qa(F)||bi(F))])}else!l.has(R)&&Gn(R.declarations,k=>Pde(k)&&IYe(k)===e)&&d.set(R,N)});for(const A of u.keys())m.add(A);const y=new Map;for(const A of e.statements)Vn(t,A)||(_&&A.transformFlags&2&&m.delete(_),Nde(A,r,o,(R,N)=>{l.has(R)&&y.set(R,N),m.delete(R)}));return{movedSymbols:l,targetFileImportsFromOldFile:d,oldFileImportsFromTargetFile:y,oldImportsNeededByTargetFile:u,unusedImportsFromOldFile:m};function E(A){if(A===void 0)return;const R=r.getJsxNamespace(A),N=r.resolveName(R,A,1920,!0);return N&&bt(N.declarations,nK)?N:void 0}}function EYe(e,t,r,i){let o=e;for(let s=1;;s++){const l=ei(r,o+t);if(!i.fileExists(l))return o;o="".concat(e,".").concat(s)}}function AYe(e,t){return gg(e,iJ)||gg(t,iJ)||"newFile"}function Nde(e,t,r,i){e.forEachChild(function o(s){if(Je(s)&&!z_(s)){if(r&&!rp(r,s))return;const l=t.getSymbolAtLocation(s);l&&i(l,q0(s))}else s.forEachChild(o)})}function Mde(e,t){switch(e.kind){case 263:case 264:case 268:case 267:case 266:case 265:case 272:return t(e);case 244:return Wn(e.declarationList.declarations,r=>YRe(r.name,t));case 245:{const{expression:r}=e;return Nr(r)&&ac(r)===1?t(e):void 0}}}function nK(e){switch(e.kind){case 272:case 277:case 274:case 275:return!0;case 261:return XRe(e);case 209:return bi(e.parent.parent)&&XRe(e.parent.parent);default:return!1}}function XRe(e){return Qi(e.parent.parent.parent)&&!!e.initializer&&tp(e.initializer,!0)}function Pde(e){return $Re(e)&&Qi(e.parent)||bi(e)&&Qi(e.parent.parent.parent)}function IYe(e){return bi(e)?e.parent.parent.parent:e.parent}function YRe(e,t){switch(e.kind){case 80:return t(va(e.parent,r=>bi(r)||qa(r)));case 208:case 207:return Wn(e.elements,r=>qc(r)?void 0:YRe(r.name,t));default:return C.assertNever(e,"Unexpected name kind ".concat(e.kind))}}function $Re(e){switch(e.kind){case 263:case 264:case 268:case 267:case 266:case 265:case 272:return!0;default:return!1}}function xYe(e,t,r,i,o){var s;const l=new Set,u=(s=i.symbol)==null?void 0:s.exports;if(u){const _=t.getTypeChecker(),m=new Map;for(const y of o.all)qRe(y)&&fi(y,32)&&Mde(y,E=>{var A;const R=ah(E)?(A=u.get(E.symbol.escapedName))==null?void 0:A.declarations:void 0,N=Wn(R,M=>fc(M)?M:ou(M)?ii(M.parent.parent,fc):void 0);N&&N.moduleSpecifier&&m.set(N,(m.get(N)||new Set).add(E))});for(const[y,E]of Mo(m))if(y.exportClause&&Kf(y.exportClause)&&et(y.exportClause.elements)){const A=y.exportClause.elements,R=Fn(A,N=>_n(Id(N.symbol,_).declarations,M=>Pde(M)&&E.has(M))===void 0);if(et(R)===0){e.deleteNode(i,y),l.add(y);continue}et(R)<et(A)&&e.replaceNode(i,y,L.updateExportDeclaration(y,y.modifiers,y.isTypeOnly,L.updateNamedExports(y.exportClause,L.createNodeArray(R,A.hasTrailingComma)),y.moduleSpecifier,y.attributes))}}const d=pa(i.statements,_=>fc(_)&&!!_.moduleSpecifier&&!l.has(_));d?e.insertNodesBefore(i,d,r,!0):e.insertNodesAfter(i,i.statements[i.statements.length-1],r)}function QRe(e,t){if(ks(t)){const r=t.symbol.declarations;if(r===void 0||et(r)<=1||!Vn(r,t))return;const i=r[0],o=r[et(r)-1],s=Hi(r,d=>On(d)===e&&Gi(d)?d:void 0),l=lo(e.statements,d=>d.end>=o.end),u=lo(e.statements,d=>d.end>=i.end);return{toMove:s,start:u,end:l}}}function Lde(e,t,r){const i=new Set;for(const o of e.imports){const s=tM(o);if(Sl(s)&&s.importClause&&s.importClause.namedBindings&&s_(s.importClause.namedBindings))for(const l of s.importClause.namedBindings.elements){const u=r.getSymbolAtLocation(l.propertyName||l.name);u&&i.add(Id(u,r))}if(fk(s.parent)&&mf(s.parent.name))for(const l of s.parent.name.elements){const u=r.getSymbolAtLocation(l.propertyName||l.name);u&&i.add(Id(u,r))}}for(const o of t)Nde(o,r,void 0,s=>{const l=Id(s,r);l.valueDeclaration&&On(l.valueDeclaration).path===e.path&&i.add(l)});return i}function Sy(e){return e.error!==void 0}function _T(e,t){return t?e.substr(0,t.length)===t:!0}function kde(e,t,r,i){return Jr(e)&&!hi(t)&&!r.resolveName(e.name.text,e,111551,!1)&&!to(e.name)&&!KE(e.name)?e.name.text:G1(hi(t)?"newProperty":"newLocal",i)}function wde(e,t,r,i,o,s){t.forEach(([l,u],d)=>{var _;const m=Id(d,i);i.isUnknownSymbol(m)?s.addVerbatimImport(C.checkDefined(u!=null?u:Rn((_=d.declarations)==null?void 0:_[0],Qte))):m.parent===void 0?(C.assert(u!==void 0,"expected module symbol to have a declaration"),s.addImportForModuleSymbol(d,l,u)):s.addImportFromExportedSymbol(m,l,u)}),xde(r,e.fileName,s,o)}var ez="Inline variable",Ode=Jo(f.Inline_variable),Wde={name:ez,description:Ode,kind:"refactor.inline.variable"};Pg(ez,{kinds:[Wde.kind],getAvailableActions(e){const{file:t,program:r,preferences:i,startPosition:o,triggerReason:s}=e,l=ZRe(t,o,s==="invoked",r);return l?yx.isRefactorErrorInfo(l)?i.provideRefactorNotApplicableReason?[{name:ez,description:Ode,actions:[{...Wde,notApplicableReason:l.error}]}]:se:[{name:ez,description:Ode,actions:[Wde]}]:se},getEditsForAction(e,t){C.assert(t===ez,"Unexpected refactor invoked");const{file:r,program:i,startPosition:o}=e,s=ZRe(r,o,!0,i);if(!s||yx.isRefactorErrorInfo(s))return;const{references:l,declaration:u,replacement:d}=s;return{edits:Ir.ChangeTracker.with(e,m=>{for(const y of l){const E=Oa(d)&&Je(y)&&Vm(y.parent);E&&xD(E)&&!Y0(E.parent.parent)?DYe(m,r,E,d):m.replaceNode(r,y,RYe(y,d))}m.delete(r,u)})}}});function ZRe(e,t,r,i){var o,s;const l=i.getTypeChecker(),u=ap(e,t),d=u.parent;if(Je(u)){if(jk(d)&&JN(d)&&Je(d.name)){if(((o=l.getMergedSymbol(d.symbol).declarations)==null?void 0:o.length)!==1)return{error:Jo(f.Variables_with_multiple_declarations_cannot_be_inlined)};if(eDe(d))return;const _=tDe(d,l,e);return _&&{references:_,declaration:d,replacement:d.initializer}}if(r){let _=l.resolveName(u.text,u,111551,!1);if(_=_&&l.getMergedSymbol(_),((s=_==null?void 0:_.declarations)==null?void 0:s.length)!==1)return{error:Jo(f.Variables_with_multiple_declarations_cannot_be_inlined)};const m=_.declarations[0];if(!jk(m)||!JN(m)||!Je(m.name)||eDe(m))return;const y=tDe(m,l,e);return y&&{references:y,declaration:m,replacement:m.initializer}}return{error:Jo(f.Could_not_find_variable_to_inline)}}}function eDe(e){const t=va(e.parent.parent,sc);return bt(t.modifiers,jI)}function tDe(e,t,r){const i=[],o=el.Core.eachSymbolReferenceInFile(e.name,t,r,s=>{if(el.isWriteAccessForReference(s)&&!Ud(s.parent)||ou(s.parent)||fl(s.parent)||FS(s.parent)||M2(e,s.pos))return!0;i.push(s)});return i.length===0||o?void 0:i}function RYe(e,t){t=ys(t);const{parent:r}=e;return Et(r)&&(cM(t)<cM(r)||M7(r))||Yo(t)&&(gS(r)||Jr(r))||Jr(r)&&(ip(t)||za(t))?L.createParenthesizedExpression(t):Je(e)&&Ud(r)?L.createPropertyAssignment(e,t):t}function DYe(e,t,r,i){const o=r.parent,s=o.templateSpans.indexOf(r),l=s===0?o.head:o.templateSpans[s-1];e.replaceRangeWithText(t,{pos:l.getEnd()-2,end:r.literal.getStart()+1},i.text.replace(/\\/g,"\\\\").replace(/`/g,"\\`"))}var tz="Move to a new file",Fde=Jo(f.Move_to_a_new_file),zde={name:tz,description:Fde,kind:"refactor.move.newFile"};Pg(tz,{kinds:[zde.kind],getAvailableActions:function(t){const r=BO(t),i=t.file;if(t.triggerReason==="implicit"&&t.endPosition!==void 0){const o=Rn(Fi(i,t.startPosition),_x),s=Rn(Fi(i,t.endPosition),_x);if(o&&!Qi(o)&&s&&!Qi(s))return se}if(t.preferences.allowTextChangesInNewFiles&&r){const o=t.file,s={start:{line:fa(o,r.all[0].getStart(o)).line,offset:fa(o,r.all[0].getStart(o)).character},end:{line:fa(o,Ga(r.all).end).line,offset:fa(o,Ga(r.all).end).character}};return[{name:tz,description:Fde,actions:[{...zde,range:s}]}]}return t.preferences.provideRefactorNotApplicableReason?[{name:tz,description:Fde,actions:[{...zde,notApplicableReason:Jo(f.Selection_is_not_a_valid_statement_or_statements)}]}]:se},getEditsForAction:function(t,r){C.assert(r===tz,"Wrong refactor invoked");const i=C.checkDefined(BO(t));return{edits:Ir.ChangeTracker.with(t,s=>CYe(t.file,t.program,i,s,t.host,t,t.preferences)),renameFilename:void 0,renameLocation:void 0}}});function CYe(e,t,r,i,o,s,l){const u=t.getTypeChecker(),d=Z7(e,r.all,u),_=Dde(e,t,o,r),m=U7(_,e.externalModuleIndicator?99:e.commonJsModuleIndicator?1:void 0,t,o),y=cu.createImportAdder(e,s.program,s.preferences,s.host),E=cu.createImportAdder(m,s.program,s.preferences,s.host);Ede(e,m,d,i,r,t,o,l,E,y),Ade(t,i,e.fileName,_,uy(o))}var NYe={},Bde="Convert overload list to single signature",nDe=Jo(f.Convert_overload_list_to_single_signature),rDe={name:Bde,description:nDe,kind:"refactor.rewrite.function.overloadList"};Pg(Bde,{kinds:[rDe.kind],getEditsForAction:PYe,getAvailableActions:MYe});function MYe(e){const{file:t,startPosition:r,program:i}=e;return oDe(t,r,i)?[{name:Bde,description:nDe,actions:[rDe]}]:se}function PYe(e){const{file:t,startPosition:r,program:i}=e,o=oDe(t,r,i);if(!o)return;const s=i.getTypeChecker(),l=o[o.length-1];let u=l;switch(l.kind){case 174:{u=L.updateMethodSignature(l,l.modifiers,l.name,l.questionToken,l.typeParameters,_(o),l.type);break}case 175:{u=L.updateMethodDeclaration(l,l.modifiers,l.asteriskToken,l.name,l.questionToken,l.typeParameters,_(o),l.type,l.body);break}case 180:{u=L.updateCallSignature(l,l.typeParameters,_(o),l.type);break}case 177:{u=L.updateConstructorDeclaration(l,l.modifiers,_(o),l.body);break}case 181:{u=L.updateConstructSignature(l,l.typeParameters,_(o),l.type);break}case 263:{u=L.updateFunctionDeclaration(l,l.modifiers,l.asteriskToken,l.name,l.typeParameters,_(o),l.type,l.body);break}default:return C.failBadSyntaxKind(l,"Unhandled signature kind in overload list conversion refactoring")}if(u===l)return;return{renameFilename:void 0,renameLocation:void 0,edits:Ir.ChangeTracker.with(e,E=>{E.replaceNodeRange(t,o[0],o[o.length-1],u)})};function _(E){const A=E[E.length-1];return ks(A)&&A.body&&(E=E.slice(0,E.length-1)),L.createNodeArray([L.createParameterDeclaration(void 0,L.createToken(26),"args",void 0,L.createUnionTypeNode(Gt(E,m)))])}function m(E){const A=Gt(E.parameters,y);return Dr(L.createTupleTypeNode(A),bt(A,R=>!!et(vD(R)))?0:1)}function y(E){C.assert(Je(E.name));const A=Tt(L.createNamedTupleMember(E.dotDotDotToken,E.name,E.questionToken,E.type||L.createKeywordTypeNode(133)),E),R=E.symbol&&E.symbol.getDocumentationComment(s);if(R){const N=jO(R);N.length&&K0(A,[{text:"*\n".concat(N.split("\n").map(M=>" * ".concat(M)).join("\n"),"\n "),kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}])}return A}}function iDe(e){switch(e.kind){case 174:case 175:case 180:case 177:case 181:case 263:return!0}return!1}function oDe(e,t,r){const i=Fi(e,t),o=Rn(i,iDe);if(!o||ks(o)&&o.body&&tC(o.body,t))return;const s=r.getTypeChecker(),l=o.symbol;if(!l)return;const u=l.declarations;if(et(u)<=1||!Gn(u,E=>On(E)===e)||!iDe(u[0]))return;const d=u[0].kind;if(!Gn(u,E=>E.kind===d))return;const _=u;if(bt(_,E=>!!E.typeParameters||bt(E.parameters,A=>!!A.modifiers||!Je(A.name))))return;const m=Hi(_,E=>s.getSignatureFromDeclaration(E));if(et(m)!==et(u))return;const y=s.getReturnTypeOfSignature(m[0]);if(Gn(m,E=>s.getReturnTypeOfSignature(E)===y))return _}var Gde="Add or remove braces in an arrow function",aDe=Jo(f.Add_or_remove_braces_in_an_arrow_function),rK={name:"Add braces to arrow function",description:Jo(f.Add_braces_to_arrow_function),kind:"refactor.rewrite.arrow.braces.add"},nz={name:"Remove braces from arrow function",description:Jo(f.Remove_braces_from_arrow_function),kind:"refactor.rewrite.arrow.braces.remove"};Pg(Gde,{kinds:[nz.kind],getEditsForAction:kYe,getAvailableActions:LYe});function LYe(e){const{file:t,startPosition:r,triggerReason:i}=e,o=sDe(t,r,i==="invoked");return o?Sy(o)?e.preferences.provideRefactorNotApplicableReason?[{name:Gde,description:aDe,actions:[{...rK,notApplicableReason:o.error},{...nz,notApplicableReason:o.error}]}]:se:[{name:Gde,description:aDe,actions:[o.addBraces?rK:nz]}]:se}function kYe(e,t){const{file:r,startPosition:i}=e,o=sDe(r,i);C.assert(o&&!Sy(o),"Expected applicable refactor info");const{expression:s,returnStatement:l,func:u}=o;let d;if(t===rK.name){const m=L.createReturnStatement(s);d=L.createBlock([m],!0),sC(s,m,r,3,!0)}else if(t===nz.name&&l){const m=s||L.createVoidZero();d=M7(m)?L.createParenthesizedExpression(m):m,NO(l,d,r,3,!1),sC(l,d,r,3,!1),wP(l,d,r,3,!1)}else C.fail("invalid action");return{renameFilename:void 0,renameLocation:void 0,edits:Ir.ChangeTracker.with(e,m=>{m.replaceNode(r,u.body,d)})}}function sDe(e,t,r=!0,i){const o=Fi(e,t),s=uf(o);if(!s)return{error:Jo(f.Could_not_find_a_containing_arrow_function)};if(!Zs(s))return{error:Jo(f.Containing_function_is_not_an_arrow_function)};if(!(!rp(s,o)||rp(s.body,o)&&!r)){if(_T(rK.kind,i)&&Et(s.body))return{func:s,addBraces:!0,expression:s.body};if(_T(nz.kind,i)&&ia(s.body)&&s.body.statements.length===1){const l=Qa(s.body.statements);if(rf(l)){const u=l.expression&&za(fD(l.expression,!1))?L.createParenthesizedExpression(l.expression):l.expression;return{func:s,addBraces:!1,expression:u,returnStatement:l}}}}}var wYe={},lDe="Convert arrow function or function expression",OYe=Jo(f.Convert_arrow_function_or_function_expression),rz={name:"Convert to anonymous function",description:Jo(f.Convert_to_anonymous_function),kind:"refactor.rewrite.function.anonymous"},iz={name:"Convert to named function",description:Jo(f.Convert_to_named_function),kind:"refactor.rewrite.function.named"},oz={name:"Convert to arrow function",description:Jo(f.Convert_to_arrow_function),kind:"refactor.rewrite.function.arrow"};Pg(lDe,{kinds:[rz.kind,iz.kind,oz.kind],getEditsForAction:FYe,getAvailableActions:WYe});function WYe(e){const{file:t,startPosition:r,program:i,kind:o}=e,s=dDe(t,r,i);if(!s)return se;const{selectedVariableDeclaration:l,func:u}=s,d=[],_=[];if(_T(iz.kind,o)){const m=l||Zs(u)&&bi(u.parent)?void 0:Jo(f.Could_not_convert_to_named_function);m?_.push({...iz,notApplicableReason:m}):d.push(iz)}if(_T(rz.kind,o)){const m=!l&&Zs(u)?void 0:Jo(f.Could_not_convert_to_anonymous_function);m?_.push({...rz,notApplicableReason:m}):d.push(rz)}if(_T(oz.kind,o)){const m=Ks(u)?void 0:Jo(f.Could_not_convert_to_arrow_function);m?_.push({...oz,notApplicableReason:m}):d.push(oz)}return[{name:lDe,description:OYe,actions:d.length===0&&e.preferences.provideRefactorNotApplicableReason?_:d}]}function FYe(e,t){const{file:r,startPosition:i,program:o}=e,s=dDe(r,i,o);if(!s)return;const{func:l}=s,u=[];switch(t){case rz.name:u.push(...VYe(e,l));break;case iz.name:const d=GYe(l);if(!d)return;u.push(...jYe(e,l,d));break;case oz.name:if(!Ks(l))return;u.push(...UYe(e,l));break;default:return C.fail("invalid action")}return{renameFilename:void 0,renameLocation:void 0,edits:u}}function cDe(e){let t=!1;return e.forEachChild(function r(i){if(eC(i)){t=!0;return}!hi(i)&&!ec(i)&&!Ks(i)&&Xo(i,r)}),t}function dDe(e,t,r){const i=Fi(e,t),o=r.getTypeChecker(),s=BYe(e,o,i.parent);if(s&&!cDe(s.body)&&!o.containsArgumentsReference(s))return{selectedVariableDeclaration:!0,func:s};const l=uf(i);if(l&&(Ks(l)||Zs(l))&&!rp(l.body,i)&&!cDe(l.body)&&!o.containsArgumentsReference(l))return Ks(l)&&pDe(e,o,l)?void 0:{selectedVariableDeclaration:!1,func:l}}function zYe(e){return bi(e)||_d(e)&&e.declarations.length===1}function BYe(e,t,r){if(!zYe(r))return;const o=(bi(r)?r:Qa(r.declarations)).initializer;if(o&&(Zs(o)||Ks(o)&&!pDe(e,t,o)))return o}function uDe(e){if(Et(e)){const t=L.createReturnStatement(e),r=e.getSourceFile();return Tt(t,e),zp(t),NO(e,t,r,void 0,!0),L.createBlock([t],!0)}else return e}function GYe(e){const t=e.parent;if(!bi(t)||!JN(t))return;const r=t.parent,i=r.parent;if(!(!_d(r)||!sc(i)||!Je(t.name)))return{variableDeclaration:t,variableDeclarationList:r,statement:i,name:t.name}}function VYe(e,t){const{file:r}=e,i=uDe(t.body),o=L.createFunctionExpression(t.modifiers,t.asteriskToken,void 0,t.typeParameters,t.parameters,t.type,i);return Ir.ChangeTracker.with(e,s=>s.replaceNode(r,t,o))}function jYe(e,t,r){const{file:i}=e,o=uDe(t.body),{variableDeclaration:s,variableDeclarationList:l,statement:u,name:d}=r;fj(u);const _=L0(s)&32|Gd(t),m=L.createModifiersFromModifierFlags(_),y=L.createFunctionDeclaration(et(m)?m:void 0,t.asteriskToken,d,t.typeParameters,t.parameters,t.type,o);return l.declarations.length===1?Ir.ChangeTracker.with(e,E=>E.replaceNode(i,u,y)):Ir.ChangeTracker.with(e,E=>{E.delete(i,s),E.insertNodeAfter(i,u,y)})}function UYe(e,t){const{file:r}=e,o=t.body.statements[0];let s;HYe(t.body,o)?(s=o.expression,zp(s),B1(o,s)):s=t.body;const l=L.createArrowFunction(t.modifiers,t.typeParameters,t.parameters,t.type,L.createToken(39),s);return Ir.ChangeTracker.with(e,u=>u.replaceNode(r,t,l))}function HYe(e,t){return e.statements.length===1&&rf(t)&&!!t.expression}function pDe(e,t,r){return!!r.name&&el.Core.isSymbolReferencedInFile(r.name,t,e)}var qYe={},iK="Convert parameters to destructured object",JYe=1,fDe=Jo(f.Convert_parameters_to_destructured_object),mDe={name:iK,description:fDe,kind:"refactor.rewrite.parameters.toDestructured"};Pg(iK,{kinds:[mDe.kind],getEditsForAction:XYe,getAvailableActions:KYe});function KYe(e){const{file:t,startPosition:r}=e;return wu(t)||!gDe(t,r,e.program.getTypeChecker())?se:[{name:iK,description:fDe,actions:[mDe]}]}function XYe(e,t){C.assert(t===iK,"Unexpected action name");const{file:r,startPosition:i,program:o,cancellationToken:s,host:l}=e,u=gDe(r,i,o.getTypeChecker());if(!u||!s)return;const d=$Ye(u,o,s);return d.valid?{renameFilename:void 0,renameLocation:void 0,edits:Ir.ChangeTracker.with(e,m=>YYe(r,o,l,m,u,d))}:{edits:[]}}function YYe(e,t,r,i,o,s){const l=s.signature,u=Gt(TDe(o,t,r),m=>ys(m));if(l){const m=Gt(TDe(l,t,r),y=>ys(y));_(l,m)}_(o,u);const d=mN(s.functionCalls,(m,y)=>Js(m.pos,y.pos));for(const m of d)if(m.arguments&&m.arguments.length){const y=ys(s$e(o,m.arguments),!0);i.replaceNodeRange(On(m),Qa(m.arguments),Ga(m.arguments),y,{leadingTriviaOption:Ir.LeadingTriviaOption.IncludeAll,trailingTriviaOption:Ir.TrailingTriviaOption.Include})}function _(m,y){i.replaceNodeRangeWithNodes(e,Qa(m.parameters),Ga(m.parameters),y,{joiner:", ",indentation:0,leadingTriviaOption:Ir.LeadingTriviaOption.IncludeAll,trailingTriviaOption:Ir.TrailingTriviaOption.Include})}}function $Ye(e,t,r){const i=c$e(e),o=kl(e)?l$e(e):[],s=cS([...i,...o],ab),l=t.getTypeChecker(),u=Wi(s,y=>el.getReferenceEntriesForNode(-1,y,t,t.getSourceFiles(),r)),d=_(u);return Gn(d.declarations,y=>Vn(s,y))||(d.valid=!1),d;function _(y){const E={accessExpressions:[],typeUsages:[]},A={functionCalls:[],declarations:[],classReferences:E,valid:!0},R=Gt(i,m),N=Gt(o,m),M=kl(e),k=Gt(i,F=>Vde(F,l));for(const F of y){if(F.kind===el.EntryKind.Span){A.valid=!1;continue}if(Vn(k,m(F.node))){if(t$e(F.node.parent)){A.signature=F.node.parent;continue}const G=_De(F);if(G){A.functionCalls.push(G);continue}}const O=Vde(F.node,l);if(O&&Vn(k,O)){const G=jde(F);if(G){A.declarations.push(G);continue}}if(Vn(R,m(F.node))||xP(F.node)){if(hDe(F))continue;const j=jde(F);if(j){A.declarations.push(j);continue}const K=_De(F);if(K){A.functionCalls.push(K);continue}}if(M&&Vn(N,m(F.node))){if(hDe(F))continue;const j=jde(F);if(j){A.declarations.push(j);continue}const K=QYe(F);if(K){E.accessExpressions.push(K);continue}if(xc(e.parent)){const Q=ZYe(F);if(Q){E.typeUsages.push(Q);continue}}}A.valid=!1}return A}function m(y){const E=l.getSymbolAtLocation(y);return E&&hJ(E,l)}}function Vde(e,t){const r=UO(e);if(r){const i=t.getContextualTypeForObjectLiteralElement(r),o=i==null?void 0:i.getSymbol();if(o&&!(Fl(o)&6))return o}}function hDe(e){const t=e.node;if(Au(t.parent)||Hm(t.parent)||Oc(t.parent)||Cg(t.parent)||ou(t.parent)||fl(t.parent))return t}function jde(e){if(rd(e.node.parent))return e.node}function _De(e){if(e.node.parent){const t=e.node,r=t.parent;switch(r.kind){case 214:case 215:const i=ii(r,qh);if(i&&i.expression===t)return i;break;case 212:const o=ii(r,Jr);if(o&&o.parent&&o.name===t){const l=ii(o.parent,qh);if(l&&l.expression===o)return l}break;case 213:const s=ii(r,Bs);if(s&&s.parent&&s.argumentExpression===t){const l=ii(s.parent,qh);if(l&&l.expression===s)return l}break}}}function QYe(e){if(e.node.parent){const t=e.node,r=t.parent;switch(r.kind){case 212:const i=ii(r,Jr);if(i&&i.expression===t)return i;break;case 213:const o=ii(r,Bs);if(o&&o.expression===t)return o;break}}}function ZYe(e){const t=e.node;if(F1(t)===2||R6(t.parent))return t}function gDe(e,t,r){const i=nC(e,t),o=hne(i);if(!e$e(i)&&o&&n$e(o,r)&&rp(o,i)&&!(o.body&&rp(o.body,i)))return o}function e$e(e){const t=Rn(e,jR);if(t){const r=Rn(t,i=>!jR(i));return!!r&&ks(r)}return!1}function t$e(e){return Um(e)&&(gd(e.parent)||Fu(e.parent))}function n$e(e,t){var r;if(!r$e(e.parameters,t))return!1;switch(e.kind){case 263:return yDe(e)&&az(e,t);case 175:if(za(e.parent)){const i=Vde(e.name,t);return((r=i==null?void 0:i.declarations)==null?void 0:r.length)===1&&az(e,t)}return az(e,t);case 177:return xc(e.parent)?yDe(e.parent)&&az(e,t):vDe(e.parent.parent)&&az(e,t);case 219:case 220:return vDe(e.parent)}return!1}function az(e,t){return!!e.body&&!t.isImplementationOfOverload(e)}function yDe(e){return e.name?!0:!!iC(e,90)}function r$e(e,t){return o$e(e)>=JYe&&Gn(e,r=>i$e(r,t))}function i$e(e,t){if(w_(e)){const r=t.getTypeAtLocation(e);if(!t.isArrayType(r)&&!t.isTupleType(r))return!1}return!e.modifiers&&Je(e.name)}function vDe(e){return bi(e)&&XR(e)&&Je(e.name)&&!e.type}function Ude(e){return e.length>0&&eC(e[0].name)}function o$e(e){return Ude(e)?e.length-1:e.length}function bDe(e){return Ude(e)&&(e=L.createNodeArray(e.slice(1),e.hasTrailingComma)),e}function a$e(e,t){return Je(t)&&Bf(t)===e?L.createShorthandPropertyAssignment(e):L.createPropertyAssignment(e,t)}function s$e(e,t){const r=bDe(e.parameters),i=w_(Ga(r)),o=i?t.slice(0,r.length-1):t,s=Gt(o,(u,d)=>{const _=oK(r[d]),m=a$e(_,u);return zp(m.name),Rc(m)&&zp(m.initializer),B1(u,m),m});if(i&&t.length>=r.length){const u=t.slice(r.length-1),d=L.createPropertyAssignment(oK(Ga(r)),L.createArrayLiteralExpression(u));s.push(d)}return L.createObjectLiteralExpression(s,!1)}function TDe(e,t,r){const i=t.getTypeChecker(),o=bDe(e.parameters),s=Gt(o,m),l=L.createObjectBindingPattern(s),u=y(o);let d;Gn(o,R)&&(d=L.createObjectLiteralExpression());const _=L.createParameterDeclaration(void 0,void 0,l,void 0,u,d);if(Ude(e.parameters)){const N=e.parameters[0],M=L.createParameterDeclaration(void 0,void 0,N.name,void 0,N.type);return zp(M.name),B1(N.name,M.name),N.type&&(zp(M.type),B1(N.type,M.type)),L.createNodeArray([M,_])}return L.createNodeArray([_]);function m(N){const M=L.createBindingElement(void 0,void 0,oK(N),w_(N)&&R(N)?L.createArrayLiteralExpression():N.initializer);return zp(M),N.initializer&&M.initializer&&B1(N.initializer,M.initializer),M}function y(N){const M=Gt(N,E);return r_(L.createTypeLiteralNode(M),1)}function E(N){let M=N.type;!M&&(N.initializer||w_(N))&&(M=A(N));const k=L.createPropertySignature(void 0,oK(N),R(N)?L.createToken(58):N.questionToken,M);return zp(k),B1(N.name,k.name),N.type&&k.type&&B1(N.type,k.type),k}function A(N){const M=i.getTypeAtLocation(N);return WP(M,N,t,r)}function R(N){if(w_(N)){const M=i.getTypeAtLocation(N);return!i.isTupleType(M)}return i.isOptionalParameter(N)}}function oK(e){return Bf(e.name)}function l$e(e){switch(e.parent.kind){case 264:const t=e.parent;return t.name?[t.name]:[C.checkDefined(iC(t,90),"Nameless class declaration should be a default export")];case 232:const i=e.parent,o=e.parent.parent,s=i.name;return s?[s,o.name]:[o.name]}}function c$e(e){switch(e.kind){case 263:return e.name?[e.name]:[C.checkDefined(iC(e,90),"Nameless function declaration should be a default export")];case 175:return[e.name];case 177:const r=C.checkDefined(Rs(e,137,e.getSourceFile()),"Constructor declaration should have constructor keyword");return e.parent.kind===232?[e.parent.parent.name,r]:[r];case 220:return[e.parent.name];case 219:return e.name?[e.name,e.parent.name]:[e.parent.name];default:return C.assertNever(e,"Unexpected function declaration kind ".concat(e.kind))}}var d$e={},Hde="Convert to template string",qde=Jo(f.Convert_to_template_string),Jde={name:Hde,description:qde,kind:"refactor.rewrite.string"};Pg(Hde,{kinds:[Jde.kind],getEditsForAction:p$e,getAvailableActions:u$e});function u$e(e){const{file:t,startPosition:r}=e,i=SDe(t,r),o=Kde(i),s=Oa(o),l={name:Hde,description:qde,actions:[]};return s&&e.triggerReason!=="invoked"?se:F_(o)&&(s||Nr(o)&&Xde(o).isValidConcatenation)?(l.actions.push(Jde),[l]):e.preferences.provideRefactorNotApplicableReason?(l.actions.push({...Jde,notApplicableReason:Jo(f.Can_only_convert_string_concatenations_and_string_literals)}),[l]):se}function SDe(e,t){const r=Fi(e,t),i=Kde(r);return!Xde(i).isValidConcatenation&&zu(i.parent)&&Nr(i.parent.parent)?i.parent.parent:r}function p$e(e,t){const{file:r,startPosition:i}=e,o=SDe(r,i);switch(t){case qde:return{edits:f$e(e,o)};default:return C.fail("invalid action")}}function f$e(e,t){const r=Kde(t),i=e.file,o=y$e(Xde(r),i),s=ub(i.text,r.end);if(s){const l=s[s.length-1],u={pos:s[0].pos,end:l.end};return Ir.ChangeTracker.with(e,d=>{d.deleteRange(i,u),d.replaceNode(i,r,o)})}else return Ir.ChangeTracker.with(e,l=>l.replaceNode(i,r,o))}function m$e(e){return!(e.operatorToken.kind===64||e.operatorToken.kind===65)}function Kde(e){return Rn(e.parent,r=>{switch(r.kind){case 212:case 213:return!1;case 229:case 227:return!(Nr(r.parent)&&m$e(r.parent));default:return"quit"}})||e}function Xde(e){const t=l=>{if(!Nr(l))return{nodes:[l],operators:[],validOperators:!0,hasString:Oa(l)||y1(l)};const{nodes:u,operators:d,hasString:_,validOperators:m}=t(l.left);if(!(_||Oa(l.right)||E4(l.right)))return{nodes:[l],operators:[],hasString:!1,validOperators:!0};const y=l.operatorToken.kind===40,E=m&&y;return u.push(l.right),d.push(l.operatorToken),{nodes:u,operators:d,hasString:!0,validOperators:E}},{nodes:r,operators:i,validOperators:o,hasString:s}=t(e);return{nodes:r,operators:i,isValidConcatenation:o&&s}}var h$e=(e,t)=>(r,i)=>{r<e.length&&wP(e[r],i,t,3,!1)},_$e=(e,t,r)=>(i,o)=>{for(;i.length>0;){const s=i.shift();wP(e[s],o,t,3,!1),r(s,o)}};function g$e(e){return e.replace(/\\.|[$`]/g,t=>t[0]==="\\"?t:"\\"+t)}function EDe(e){const t=VI(e)||Sj(e)?-2:-1;return Rl(e).slice(1,t)}function ADe(e,t){const r=[];let i="",o="";for(;e<t.length;){const s=t[e];if(ds(s))i+=s.text,o+=g$e(Rl(s).slice(1,-1)),r.push(e),e++;else if(E4(s)){i+=s.head.text,o+=EDe(s.head);break}else break}return[e,i,o,r]}function y$e({nodes:e,operators:t},r){const i=h$e(t,r),o=_$e(e,r,i),[s,l,u,d]=ADe(0,e);if(s===e.length){const y=L.createNoSubstitutionTemplateLiteral(l,u);return o(d,y),y}const _=[],m=L.createTemplateHead(l,u);o(d,m);for(let y=s;y<e.length;y++){const E=v$e(e[y]);i(y,E);const[A,R,N,M]=ADe(y+1,e);y=A-1;const k=y===e.length-1;if(E4(E)){const F=Gt(E.templateSpans,(O,G)=>{IDe(O);const j=G===E.templateSpans.length-1,K=O.literal.text+(j?R:""),Q=EDe(O.literal)+(j?N:"");return L.createTemplateSpan(O.expression,k&&j?L.createTemplateTail(K,Q):L.createTemplateMiddle(K,Q))});_.push(...F)}else{const F=k?L.createTemplateTail(R,N):L.createTemplateMiddle(R,N);o(M,F),_.push(L.createTemplateSpan(E,F))}}return L.createTemplateExpression(m,_)}function IDe(e){const t=e.getSourceFile();wP(e,e.expression,t,3,!1),NO(e.expression,e.expression,t,3,!1)}function v$e(e){return zu(e)&&(IDe(e),e=e.expression),e}var b$e={},aK="Convert to optional chain expression",Yde=Jo(f.Convert_to_optional_chain_expression),$de={name:aK,description:Yde,kind:"refactor.rewrite.expression.optionalChain"};Pg(aK,{kinds:[$de.kind],getEditsForAction:S$e,getAvailableActions:T$e});function T$e(e){const t=xDe(e,e.triggerReason==="invoked");return t?Sy(t)?e.preferences.provideRefactorNotApplicableReason?[{name:aK,description:Yde,actions:[{...$de,notApplicableReason:t.error}]}]:se:[{name:aK,description:Yde,actions:[$de]}]:se}function S$e(e,t){const r=xDe(e);return C.assert(r&&!Sy(r),"Expected applicable refactor info"),{edits:Ir.ChangeTracker.with(e,o=>N$e(e.file,e.program.getTypeChecker(),o,r)),renameFilename:void 0,renameLocation:void 0}}function sK(e){return Nr(e)||S1(e)}function E$e(e){return od(e)||rf(e)||sc(e)}function lK(e){return sK(e)||E$e(e)}function xDe(e,t=!0){const{file:r,program:i}=e,o=hx(e),s=o.length===0;if(s&&!t)return;const l=Fi(r,o.start),u=DP(r,o.start+o.length),d=oc(l.pos,u&&u.end>=l.pos?u.getEnd():l.getEnd()),_=s?D$e(l):R$e(l,d),m=_&&lK(_)?C$e(_):void 0;if(!m)return{error:Jo(f.Could_not_find_convertible_access_expression)};const y=i.getTypeChecker();return S1(m)?A$e(m,y):I$e(m)}function A$e(e,t){const r=e.condition,i=Zde(e.whenTrue);if(!i||t.isNullableType(t.getTypeAtLocation(i)))return{error:Jo(f.Could_not_find_convertible_access_expression)};if((Jr(r)||Je(r))&&Qde(r,i.expression))return{finalExpression:i,occurrences:[r],expression:e};if(Nr(r)){const o=RDe(i.expression,r);return o?{finalExpression:i,occurrences:o,expression:e}:{error:Jo(f.Could_not_find_matching_access_expressions)}}}function I$e(e){if(e.operatorToken.kind!==56)return{error:Jo(f.Can_only_convert_logical_AND_access_chains)};const t=Zde(e.right);if(!t)return{error:Jo(f.Could_not_find_convertible_access_expression)};const r=RDe(t.expression,e.left);return r?{finalExpression:t,occurrences:r,expression:e}:{error:Jo(f.Could_not_find_matching_access_expressions)}}function RDe(e,t){const r=[];for(;Nr(t)&&t.operatorToken.kind===56;){const o=Qde(us(e),us(t.right));if(!o)break;r.push(o),e=o,t=t.left}const i=Qde(e,t);return i&&r.push(i),r.length>0?r:void 0}function Qde(e,t){if(!(!Je(t)&&!Jr(t)&&!Bs(t)))return x$e(e,t)?t:void 0}function x$e(e,t){for(;(ra(e)||Jr(e)||Bs(e))&&GO(e)!==GO(t);)e=e.expression;for(;Jr(e)&&Jr(t)||Bs(e)&&Bs(t);){if(GO(e)!==GO(t))return!1;e=e.expression,t=t.expression}return Je(e)&&Je(t)&&e.getText()===t.getText()}function GO(e){if(Je(e)||pf(e))return e.getText();if(Jr(e))return GO(e.name);if(Bs(e))return GO(e.argumentExpression)}function R$e(e,t){for(;e.parent;){if(lK(e)&&t.length!==0&&e.end>=t.start+t.length)return e;e=e.parent}}function D$e(e){for(;e.parent;){if(lK(e)&&!lK(e.parent))return e;e=e.parent}}function C$e(e){if(sK(e))return e;if(sc(e)){const t=SI(e),r=t==null?void 0:t.initializer;return r&&sK(r)?r:void 0}return e.expression&&sK(e.expression)?e.expression:void 0}function Zde(e){if(e=us(e),Nr(e))return Zde(e.left);if((Jr(e)||Bs(e)||ra(e))&&!tu(e))return e}function DDe(e,t,r){if(Jr(t)||Bs(t)||ra(t)){const i=DDe(e,t.expression,r),o=r.length>0?r[r.length-1]:void 0,s=(o==null?void 0:o.getText())===t.expression.getText();if(s&&r.pop(),ra(t))return s?L.createCallChain(i,L.createToken(29),t.typeArguments,t.arguments):L.createCallChain(i,t.questionDotToken,t.typeArguments,t.arguments);if(Jr(t))return s?L.createPropertyAccessChain(i,L.createToken(29),t.name):L.createPropertyAccessChain(i,t.questionDotToken,t.name);if(Bs(t))return s?L.createElementAccessChain(i,L.createToken(29),t.argumentExpression):L.createElementAccessChain(i,t.questionDotToken,t.argumentExpression)}return t}function N$e(e,t,r,i,o){const{finalExpression:s,occurrences:l,expression:u}=i,d=l[l.length-1],_=DDe(t,s,l);_&&(Jr(_)||Bs(_)||ra(_))&&(Nr(u)?r.replaceNodeRange(e,d,s,_):S1(u)&&r.replaceNode(e,u,L.createBinaryExpression(_,L.createToken(61),u.whenFalse)))}var CDe={};x(CDe,{Messages:()=>Nd,RangeFacts:()=>PDe,getRangeToExtract:()=>eue,getRefactorActionsToExtractSymbol:()=>NDe,getRefactorEditsToExtractSymbol:()=>MDe});var GP="Extract Symbol",VP={name:"Extract Constant",description:Jo(f.Extract_constant),kind:"refactor.extract.constant"},jP={name:"Extract Function",description:Jo(f.Extract_function),kind:"refactor.extract.function"};Pg(GP,{kinds:[VP.kind,jP.kind],getEditsForAction:MDe,getAvailableActions:NDe});function NDe(e){const t=e.kind,r=eue(e.file,hx(e),e.triggerReason==="invoked"),i=r.targetRange;if(i===void 0){if(!r.errors||r.errors.length===0||!e.preferences.provideRefactorNotApplicableReason)return se;const N=[];return _T(jP.kind,t)&&N.push({name:GP,description:jP.description,actions:[{...jP,notApplicableReason:R(r.errors)}]}),_T(VP.kind,t)&&N.push({name:GP,description:VP.description,actions:[{...VP,notApplicableReason:R(r.errors)}]}),N}const{affectedTextRange:o,extractions:s}=O$e(i,e);if(s===void 0)return se;const l=[],u=new Map;let d;const _=[],m=new Map;let y,E=0;for(const{functionExtraction:N,constantExtraction:M}of s){if(_T(jP.kind,t)){const k=N.description;N.errors.length===0?u.has(k)||(u.set(k,!0),l.push({description:k,name:"function_scope_".concat(E),kind:jP.kind,range:{start:{line:fa(e.file,o.pos).line,offset:fa(e.file,o.pos).character},end:{line:fa(e.file,o.end).line,offset:fa(e.file,o.end).character}}})):d||(d={description:k,name:"function_scope_".concat(E),notApplicableReason:R(N.errors),kind:jP.kind})}if(_T(VP.kind,t)){const k=M.description;M.errors.length===0?m.has(k)||(m.set(k,!0),_.push({description:k,name:"constant_scope_".concat(E),kind:VP.kind,range:{start:{line:fa(e.file,o.pos).line,offset:fa(e.file,o.pos).character},end:{line:fa(e.file,o.end).line,offset:fa(e.file,o.end).character}}})):y||(y={description:k,name:"constant_scope_".concat(E),notApplicableReason:R(M.errors),kind:VP.kind})}E++}const A=[];return l.length?A.push({name:GP,description:Jo(f.Extract_function),actions:l}):e.preferences.provideRefactorNotApplicableReason&&d&&A.push({name:GP,description:Jo(f.Extract_function),actions:[d]}),_.length?A.push({name:GP,description:Jo(f.Extract_constant),actions:_}):e.preferences.provideRefactorNotApplicableReason&&y&&A.push({name:GP,description:Jo(f.Extract_constant),actions:[y]}),A.length?A:se;function R(N){let M=N[0].messageText;return typeof M!="string"&&(M=M.messageText),M}}function MDe(e,t){const i=eue(e.file,hx(e)).targetRange,o=/^function_scope_(\d+)$/.exec(t);if(o){const l=+o[1];return C.assert(isFinite(l),"Expected to parse a finite number from the function scope index"),k$e(i,e,l)}const s=/^constant_scope_(\d+)$/.exec(t);if(s){const l=+s[1];return C.assert(isFinite(l),"Expected to parse a finite number from the constant scope index"),w$e(i,e,l)}C.fail("Unrecognized action name")}var Nd;(e=>{function t(r){return{message:r,code:0,category:3,key:r}}e.cannotExtractRange=t("Cannot extract range."),e.cannotExtractImport=t("Cannot extract import statement."),e.cannotExtractSuper=t("Cannot extract super call."),e.cannotExtractJSDoc=t("Cannot extract JSDoc."),e.cannotExtractEmpty=t("Cannot extract empty range."),e.expressionExpected=t("expression expected."),e.uselessConstantType=t("No reason to extract constant of type."),e.statementOrExpressionExpected=t("Statement or expression expected."),e.cannotExtractRangeContainingConditionalBreakOrContinueStatements=t("Cannot extract range containing conditional break or continue statements."),e.cannotExtractRangeContainingConditionalReturnStatement=t("Cannot extract range containing conditional return statement."),e.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange=t("Cannot extract range containing labeled break or continue with target outside of the range."),e.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators=t("Cannot extract range containing writes to references located outside of the target range in generators."),e.typeWillNotBeVisibleInTheNewScope=t("Type will not visible in the new scope."),e.functionWillNotBeVisibleInTheNewScope=t("Function will not visible in the new scope."),e.cannotExtractIdentifier=t("Select more than a single identifier."),e.cannotExtractExportedEntity=t("Cannot extract exported declaration"),e.cannotWriteInExpression=t("Cannot write back side-effects when extracting an expression"),e.cannotExtractReadonlyPropertyInitializerOutsideConstructor=t("Cannot move initialization of read-only class property outside of the constructor"),e.cannotExtractAmbientBlock=t("Cannot extract code from ambient contexts"),e.cannotAccessVariablesFromNestedScopes=t("Cannot access variables from nested scopes"),e.cannotExtractToJSClass=t("Cannot extract constant to a class scope in JS"),e.cannotExtractToExpressionArrowFunction=t("Cannot extract constant to an arrow function without a block"),e.cannotExtractFunctionsContainingThisToMethod=t("Cannot extract functions containing this to method")})(Nd||(Nd={}));var PDe=(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))(PDe||{});function eue(e,t,r=!0){const{length:i}=t;if(i===0&&!r)return{errors:[kc(e,t.start,i,Nd.cannotExtractEmpty)]};const o=i===0&&r,s=Qle(e,t.start),l=DP(e,Ml(t)),u=s&&l&&r?M$e(s,l,e):t,d=o?nQe(s):RO(s,e,u),_=o?d:RO(l,e,u);let m=0,y;if(!d||!_)return{errors:[kc(e,t.start,i,Nd.cannotExtractRange)]};if(d.flags&16777216)return{errors:[kc(e,t.start,i,Nd.cannotExtractJSDoc)]};if(d.parent!==_.parent)return{errors:[kc(e,t.start,i,Nd.cannotExtractRange)]};if(d!==_){if(!_x(d.parent))return{errors:[kc(e,t.start,i,Nd.cannotExtractRange)]};const F=[];for(const O of d.parent.statements){if(O===d||F.length){const G=k(O);if(G)return{errors:G};F.push(O)}if(O===_)break}return F.length?{targetRange:{range:F,facts:m,thisNode:y}}:{errors:[kc(e,t.start,i,Nd.cannotExtractRange)]}}if(rf(d)&&!d.expression)return{errors:[kc(e,t.start,i,Nd.cannotExtractRange)]};const E=R(d),A=N(E)||k(E);if(A)return{errors:A};return{targetRange:{range:P$e(E),facts:m,thisNode:y}};function R(F){if(rf(F)){if(F.expression)return F.expression}else if(sc(F)||_d(F)){const O=sc(F)?F.declarationList.declarations:F.declarations;let G=0,j;for(const K of O)K.initializer&&(G++,j=K.initializer);if(G===1)return j}else if(bi(F)&&F.initializer)return F.initializer;return F}function N(F){if(Je(od(F)?F.expression:F))return[Sr(F,Nd.cannotExtractIdentifier)]}function M(F,O){let G=F;for(;G!==O;){if(G.kind===173){ha(G)&&(m|=32);break}else if(G.kind===170){uf(G).kind===177&&(m|=32);break}else G.kind===175&&ha(G)&&(m|=32);G=G.parent}}function k(F){let O;if((he=>{he[he.None=0]="None",he[he.Break=1]="Break",he[he.Continue=2]="Continue",he[he.Return=4]="Return"})(O||(O={})),C.assert(F.pos<=F.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (1)"),C.assert(!dh(F.pos),"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (2)"),!Gi(F)&&!(F_(F)&&LDe(F))&&!oue(F))return[Sr(F,Nd.statementOrExpressionExpected)];if(F.flags&33554432)return[Sr(F,Nd.cannotExtractAmbientBlock)];const G=hd(F);G&&M(F,G);let j,K=4,Q;if(J(F),m&8){const he=bu(F,!1,!1);(he.kind===263||he.kind===175&&he.parent.kind===211||he.kind===219)&&(m|=16)}return j;function J(he){if(j)return!0;if(rd(he)){const q=he.kind===261?he.parent.parent:he;if(fi(q,32))return(j||(j=[])).push(Sr(he,Nd.cannotExtractExportedEntity)),!0}switch(he.kind){case 273:return(j||(j=[])).push(Sr(he,Nd.cannotExtractImport)),!0;case 278:return(j||(j=[])).push(Sr(he,Nd.cannotExtractExportedEntity)),!0;case 108:if(he.parent.kind===214){const q=hd(he);if(q===void 0||q.pos<t.start||q.end>=t.start+t.length)return(j||(j=[])).push(Sr(he,Nd.cannotExtractSuper)),!0}else m|=8,y=he;break;case 220:Xo(he,function q(ue){if(eC(ue))m|=8,y=he;else{if(hi(ue)||Yo(ue)&&!Zs(ue))return!1;Xo(ue,q)}});case 264:case 263:Qi(he.parent)&&he.parent.externalModuleIndicator===void 0&&(j||(j=[])).push(Sr(he,Nd.functionWillNotBeVisibleInTheNewScope));case 232:case 219:case 175:case 177:case 178:case 179:return!1}const re=K;switch(he.kind){case 246:K&=-5;break;case 259:K=0;break;case 242:he.parent&&he.parent.kind===259&&he.parent.finallyBlock===he&&(K=4);break;case 298:case 297:K|=1;break;default:yb(he,!1)&&(K|=3);break}switch(he.kind){case 198:case 110:m|=8,y=he;break;case 257:{const q=he.label;(Q||(Q=[])).push(q.escapedText),Xo(he,J),Q.pop();break}case 253:case 252:{const q=he.label;q?Vn(Q,q.escapedText)||(j||(j=[])).push(Sr(he,Nd.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):K&(he.kind===253?1:2)||(j||(j=[])).push(Sr(he,Nd.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break}case 224:m|=4;break;case 230:m|=2;break;case 254:K&4?m|=1:(j||(j=[])).push(Sr(he,Nd.cannotExtractRangeContainingConditionalReturnStatement));break;default:Xo(he,J);break}K=re}}}function M$e(e,t,r){const i=e.getStart(r);let o=t.getEnd();return r.text.charCodeAt(o)===59&&o++,{start:i,length:o-i}}function P$e(e){if(Gi(e))return[e];if(F_(e))return od(e.parent)?[e.parent]:e;if(oue(e))return e}function tue(e){return Zs(e)?cG(e.body):ks(e)||Qi(e)||a_(e)||hi(e)}function L$e(e){let t=Sv(e.range)?Qa(e.range):e.range;if(e.facts&8&&!(e.facts&16)){const i=hd(t);if(i){const o=Rn(t,ks);return o?[o,i]:[i]}}const r=[];for(;;)if(t=t.parent,t.kind===170&&(t=Rn(t,i=>ks(i)).parent),tue(t)&&(r.push(t),t.kind===308))return r}function k$e(e,t,r){const{scopes:i,readsAndWrites:{target:o,usagesPerScope:s,functionErrorsPerScope:l,exposedVariableDeclarations:u}}=nue(e,t);return C.assert(!l[r].length,"The extraction went missing? How?"),t.cancellationToken.throwIfCancellationRequested(),V$e(o,i[r],s[r],u,e,t)}function w$e(e,t,r){const{scopes:i,readsAndWrites:{target:o,usagesPerScope:s,constantErrorsPerScope:l,exposedVariableDeclarations:u}}=nue(e,t);C.assert(!l[r].length,"The extraction went missing? How?"),C.assert(u.length===0,"Extract constant accepted a range containing a variable declaration?"),t.cancellationToken.throwIfCancellationRequested();const d=Et(o)?o:o.statements[0].expression;return j$e(d,i[r],s[r],e.facts,t)}function O$e(e,t){const{scopes:r,affectedTextRange:i,readsAndWrites:{functionErrorsPerScope:o,constantErrorsPerScope:s}}=nue(e,t),l=r.map((u,d)=>{const _=W$e(u),m=F$e(u),y=ks(u)?z$e(u):hi(u)?B$e(u):G$e(u);let E,A;return y===1?(E=Ag(Jo(f.Extract_to_0_in_1_scope),[_,"global"]),A=Ag(Jo(f.Extract_to_0_in_1_scope),[m,"global"])):y===0?(E=Ag(Jo(f.Extract_to_0_in_1_scope),[_,"module"]),A=Ag(Jo(f.Extract_to_0_in_1_scope),[m,"module"])):(E=Ag(Jo(f.Extract_to_0_in_1),[_,y]),A=Ag(Jo(f.Extract_to_0_in_1),[m,y])),d===0&&!hi(u)&&(A=Ag(Jo(f.Extract_to_0_in_enclosing_scope),[m])),{functionExtraction:{description:E,errors:o[d]},constantExtraction:{description:A,errors:s[d]}}});return{affectedTextRange:i,extractions:l}}function nue(e,t){const{file:r}=t,i=L$e(e),o=eQe(e,r),s=tQe(e,i,o,r,t.program.getTypeChecker(),t.cancellationToken);return{scopes:i,affectedTextRange:o,readsAndWrites:s}}function W$e(e){return ks(e)?"inner function":hi(e)?"method":"function"}function F$e(e){return hi(e)?"readonly field":"constant"}function z$e(e){switch(e.kind){case 177:return"constructor";case 219:case 263:return e.name?"function '".concat(e.name.text,"'"):yJ;case 220:return"arrow function";case 175:return"method '".concat(e.name.getText(),"'");case 178:return"'get ".concat(e.name.getText(),"'");case 179:return"'set ".concat(e.name.getText(),"'");default:C.assertNever(e,"Unexpected scope kind ".concat(e.kind))}}function B$e(e){return e.kind===264?e.name?"class '".concat(e.name.text,"'"):"anonymous class declaration":e.name?"class expression '".concat(e.name.text,"'"):"anonymous class expression"}function G$e(e){return e.kind===269?"namespace '".concat(e.parent.name.getText(),"'"):e.externalModuleIndicator?0:1}function V$e(e,t,{usages:r,typeParameterUsages:i,substitutions:o},s,l,u){const d=u.program.getTypeChecker(),_=Va(u.program.getCompilerOptions()),m=cu.createImportAdder(u.file,u.program,u.preferences,u.host),y=t.getSourceFile(),E=G1(hi(t)?"newMethod":"newFunction",y),A=Er(t),R=L.createIdentifier(E);let N;const M=[],k=[];let F;r.forEach((ee,Se)=>{let Ne;if(!A){let lt=d.getTypeOfSymbolAtLocation(ee.symbol,ee.node);lt=d.getBaseTypeOfLiteralType(lt),Ne=cu.typeToAutoImportableTypeNode(d,m,lt,t,_,1,8)}const ze=L.createParameterDeclaration(void 0,void 0,Se,void 0,Ne);M.push(ze),ee.usage===2&&(F||(F=[])).push(ee),k.push(L.createIdentifier(Se))});const O=Mo(i.values(),ee=>({type:ee,declaration:H$e(ee,u.startPosition)}));O.sort(q$e);const G=O.length===0?void 0:Hi(O,({declaration:ee})=>ee),j=G!==void 0?G.map(ee=>L.createTypeReferenceNode(ee.name,void 0)):void 0;if(Et(e)&&!A){const ee=d.getContextualType(e);N=d.typeToTypeNode(ee,t,1,8)}const{body:K,returnValueProperty:Q}=K$e(e,s,F,o,!!(l.facts&1));zp(K);let J;const he=!!(l.facts&16);if(hi(t)){const ee=A?[]:[L.createModifier(123)];l.facts&32&&ee.push(L.createModifier(126)),l.facts&4&&ee.push(L.createModifier(134)),J=L.createMethodDeclaration(ee.length?ee:void 0,l.facts&2?L.createToken(42):void 0,R,void 0,G,M,N,K)}else he&&M.unshift(L.createParameterDeclaration(void 0,void 0,"this",void 0,d.typeToTypeNode(d.getTypeAtLocation(l.thisNode),t,1,8),void 0)),J=L.createFunctionDeclaration(l.facts&4?[L.createToken(134)]:void 0,l.facts&2?L.createToken(42):void 0,R,G,M,N,K);const re=Ir.ChangeTracker.fromContext(u),q=(Sv(l.range)?Ga(l.range):l.range).end,ue=$$e(q,t);ue?re.insertNodeBefore(u.file,ue,J,!0):re.insertNodeAtEndOfScope(u.file,t,J),m.writeFixes(re);const de=[],ge=J$e(t,l,E);he&&k.unshift(L.createIdentifier("this"));let Ae=L.createCallExpression(he?L.createPropertyAccessExpression(ge,"call"):ge,j,k);if(l.facts&2&&(Ae=L.createYieldExpression(L.createToken(42),Ae)),l.facts&4&&(Ae=L.createAwaitExpression(Ae)),iue(e)&&(Ae=L.createJsxExpression(void 0,Ae)),s.length&&!F)if(C.assert(!Q,"Expected no returnValueProperty"),C.assert(!(l.facts&1),"Expected RangeFacts.HasReturn flag to be unset"),s.length===1){const ee=s[0];de.push(L.createVariableStatement(void 0,L.createVariableDeclarationList([L.createVariableDeclaration(ys(ee.name),void 0,ys(ee.type),Ae)],ee.parent.flags)))}else{const ee=[],Se=[];let Ne=s[0].parent.flags,ze=!1;for(const le of s){ee.push(L.createBindingElement(void 0,void 0,ys(le.name)));const De=d.typeToTypeNode(d.getBaseTypeOfLiteralType(d.getTypeAtLocation(le)),t,1,8);Se.push(L.createPropertySignature(void 0,le.symbol.name,void 0,De)),ze=ze||le.type!==void 0,Ne=Ne&le.parent.flags}const lt=ze?L.createTypeLiteralNode(Se):void 0;lt&&Dr(lt,1),de.push(L.createVariableStatement(void 0,L.createVariableDeclarationList([L.createVariableDeclaration(L.createObjectBindingPattern(ee),void 0,lt,Ae)],Ne)))}else if(s.length||F){if(s.length)for(const Se of s){let Ne=Se.parent.flags;Ne&2&&(Ne=Ne&-3|1),de.push(L.createVariableStatement(void 0,L.createVariableDeclarationList([L.createVariableDeclaration(Se.symbol.name,void 0,be(Se.type))],Ne)))}Q&&de.push(L.createVariableStatement(void 0,L.createVariableDeclarationList([L.createVariableDeclaration(Q,void 0,be(N))],1)));const ee=rue(s,F);Q&&ee.unshift(L.createShorthandPropertyAssignment(Q)),ee.length===1?(C.assert(!Q,"Shouldn't have returnValueProperty here"),de.push(L.createExpressionStatement(L.createAssignment(ee[0].name,Ae))),l.facts&1&&de.push(L.createReturnStatement())):(de.push(L.createExpressionStatement(L.createAssignment(L.createObjectLiteralExpression(ee),Ae))),Q&&de.push(L.createReturnStatement(L.createIdentifier(Q))))}else l.facts&1?de.push(L.createReturnStatement(Ae)):Sv(l.range)?de.push(L.createExpressionStatement(Ae)):de.push(Ae);Sv(l.range)?re.replaceNodeRangeWithNodes(u.file,Qa(l.range),Ga(l.range),de):re.replaceNodeWithNodes(u.file,l.range,de);const Re=re.getChanges(),ve=(Sv(l.range)?Qa(l.range):l.range).getSourceFile().fileName,je=CO(Re,ve,E,!1);return{renameFilename:ve,renameLocation:je,edits:Re};function be(ee){if(ee===void 0)return;const Se=ys(ee);let Ne=Se;for(;b1(Ne);)Ne=Ne.type;return mv(Ne)&&_n(Ne.types,ze=>ze.kind===157)?Se:L.createUnionTypeNode([Se,L.createKeywordTypeNode(157)])}}function j$e(e,t,{substitutions:r},i,o){const s=o.program.getTypeChecker(),l=t.getSourceFile(),u=kde(e,t,s,l),d=Er(t);let _=d||!s.isContextSensitive(e)?void 0:s.typeToTypeNode(s.getContextualType(e),t,1,8),m=X$e(us(e),r);({variableType:_,initializer:m}=N(_,m)),zp(m);const y=Ir.ChangeTracker.fromContext(o);if(hi(t)){C.assert(!d,"Cannot extract to a JS class");const M=[];M.push(L.createModifier(123)),i&32&&M.push(L.createModifier(126)),M.push(L.createModifier(148));const k=L.createPropertyDeclaration(M,u,void 0,_,m);let F=L.createPropertyAccessExpression(i&32?L.createIdentifier(t.name.getText()):L.createThis(),L.createIdentifier(u));iue(e)&&(F=L.createJsxExpression(void 0,F));const O=e.pos,G=Q$e(O,t);y.insertNodeBefore(o.file,G,k,!0),y.replaceNode(o.file,e,F)}else{const M=L.createVariableDeclaration(u,void 0,_,m),k=U$e(e,t);if(k){y.insertNodeBefore(o.file,k,M);const F=L.createIdentifier(u);y.replaceNode(o.file,e,F)}else if(e.parent.kind===245&&t===Rn(e,tue)){const F=L.createVariableStatement(void 0,L.createVariableDeclarationList([M],2));y.replaceNode(o.file,e.parent,F)}else{const F=L.createVariableStatement(void 0,L.createVariableDeclarationList([M],2)),O=Z$e(e,t);if(O.pos===0?y.insertNodeAtTopOfFile(o.file,F,!1):y.insertNodeBefore(o.file,O,F,!1),e.parent.kind===245)y.delete(o.file,e.parent);else{let G=L.createIdentifier(u);iue(e)&&(G=L.createJsxExpression(void 0,G)),y.replaceNode(o.file,e,G)}}}const E=y.getChanges(),A=e.getSourceFile().fileName,R=CO(E,A,u,!0);return{renameFilename:A,renameLocation:R,edits:E};function N(M,k){if(M===void 0)return{variableType:M,initializer:k};if(!Ks(k)&&!Zs(k)||k.typeParameters)return{variableType:M,initializer:k};const F=s.getTypeAtLocation(e),O=cg(s.getSignaturesOfType(F,0));if(!O)return{variableType:M,initializer:k};if(O.getTypeParameters())return{variableType:M,initializer:k};const G=[];let j=!1;for(const K of k.parameters)if(K.type)G.push(K);else{const Q=s.getTypeAtLocation(K);Q===s.getAnyType()&&(j=!0),G.push(L.updateParameterDeclaration(K,K.modifiers,K.dotDotDotToken,K.name,K.questionToken,K.type||s.typeToTypeNode(Q,t,1,8),K.initializer))}if(j)return{variableType:M,initializer:k};if(M=void 0,Zs(k))k=L.updateArrowFunction(k,Im(e)?mS(e):void 0,k.typeParameters,G,k.type||s.typeToTypeNode(O.getReturnType(),t,1,8),k.equalsGreaterThanToken,k.body);else{if(O&&O.thisParameter){const K=Sc(G);if(!K||Je(K.name)&&K.name.escapedText!=="this"){const Q=s.getTypeOfSymbolAtLocation(O.thisParameter,e);G.splice(0,0,L.createParameterDeclaration(void 0,void 0,"this",void 0,s.typeToTypeNode(Q,t,1,8)))}}k=L.updateFunctionExpression(k,Im(e)?mS(e):void 0,k.asteriskToken,k.name,k.typeParameters,G,k.type||s.typeToTypeNode(O.getReturnType(),t,1),k.body)}return{variableType:M,initializer:k}}}function U$e(e,t){let r;for(;e!==void 0&&e!==t;){if(bi(e)&&e.initializer===r&&_d(e.parent)&&e.parent.declarations.length>1)return e;r=e,e=e.parent}}function H$e(e,t){let r;const i=e.symbol;if(i&&i.declarations)for(const o of i.declarations)(r===void 0||o.pos<r.pos)&&o.pos<t&&(r=o);return r}function q$e({type:e,declaration:t},{type:r,declaration:i}){return dZ(t,i,"pos",Js)||Wd(e.symbol?e.symbol.getName():"",r.symbol?r.symbol.getName():"")||Js(e.id,r.id)}function J$e(e,t,r){const i=L.createIdentifier(r);if(hi(e)){const o=t.facts&32?L.createIdentifier(e.name.text):L.createThis();return L.createPropertyAccessExpression(o,i)}else return i}function K$e(e,t,r,i,o){const s=r!==void 0||t.length>0;if(ia(e)&&!s&&i.size===0)return{body:L.createBlock(e.statements,!0),returnValueProperty:void 0};let l,u=!1;const d=L.createNodeArray(ia(e)?e.statements.slice(0):[Gi(e)?e:L.createReturnStatement(us(e))]);if(s||i.size){const m=Jn(d,_,Gi).slice();if(s&&!o&&Gi(e)){const y=rue(t,r);y.length===1?m.push(L.createReturnStatement(y[0].name)):m.push(L.createReturnStatement(L.createObjectLiteralExpression(y)))}return{body:L.createBlock(m,!0),returnValueProperty:l}}else return{body:L.createBlock(d,!0),returnValueProperty:void 0};function _(m){if(!u&&rf(m)&&s){const y=rue(t,r);return m.expression&&(l||(l="__return"),y.unshift(L.createPropertyAssignment(l,st(m.expression,_,Et)))),y.length===1?L.createReturnStatement(y[0].name):L.createReturnStatement(L.createObjectLiteralExpression(y))}else{const y=u;u=u||ks(m)||hi(m);const E=i.get(ls(m).toString()),A=E?ys(E):kn(m,_,void 0);return u=y,A}}}function X$e(e,t){return t.size?r(e):e;function r(i){const o=t.get(ls(i).toString());return o?ys(o):kn(i,r,void 0)}}function Y$e(e){if(ks(e)){const t=e.body;if(ia(t))return t.statements}else{if(a_(e)||Qi(e))return e.statements;if(hi(e))return e.members}return se}function $$e(e,t){return _n(Y$e(t),r=>r.pos>=e&&ks(r)&&!kl(r))}function Q$e(e,t){const r=t.members;C.assert(r.length>0,"Found no members");let i,o=!0;for(const s of r){if(s.pos>e)return i||r[0];if(o&&!ko(s)){if(i!==void 0)return s;o=!1}i=s}return i===void 0?C.fail():i}function Z$e(e,t){C.assert(!hi(t));let r;for(let i=e;i!==t;i=i.parent)tue(i)&&(r=i);for(let i=(r||e).parent;;i=i.parent){if(_x(i)){let o;for(const s of i.statements){if(s.pos>e.pos)break;o=s}return!o&&DD(i)?(C.assert(HM(i.parent.parent),"Grandparent isn't a switch statement"),i.parent.parent):C.checkDefined(o,"prevStatement failed to get set")}C.assert(i!==t,"Didn't encounter a block-like before encountering scope")}}function rue(e,t){const r=Gt(e,o=>L.createShorthandPropertyAssignment(o.symbol.name)),i=Gt(t,o=>L.createShorthandPropertyAssignment(o.symbol.name));return r===void 0?i:i===void 0?r:r.concat(i)}function Sv(e){return Lo(e)}function eQe(e,t){return Sv(e.range)?{pos:Qa(e.range).getStart(t),end:Ga(e.range).getEnd()}:e.range}function tQe(e,t,r,i,o,s){const l=new Map,u=[],d=[],_=[],m=[],y=[],E=new Map,A=[];let R;const N=Sv(e.range)?e.range.length===1&&od(e.range[0])?e.range[0].expression:void 0:e.range;let M;if(N===void 0){const de=e.range,ge=Qa(de).getStart(),Ae=Ga(de).end;M=kc(i,ge,Ae-ge,Nd.expressionExpected)}else o.getTypeAtLocation(N).flags&147456&&(M=Sr(N,Nd.uselessConstantType));for(const de of t){u.push({usages:new Map,typeParameterUsages:new Map,substitutions:new Map}),d.push(new Map),_.push([]);const ge=[];M&&ge.push(M),hi(de)&&Er(de)&&ge.push(Sr(de,Nd.cannotExtractToJSClass)),Zs(de)&&!ia(de.body)&&ge.push(Sr(de,Nd.cannotExtractToExpressionArrowFunction)),m.push(ge)}const k=new Map,F=Sv(e.range)?L.createBlock(e.range):e.range,O=Sv(e.range)?Qa(e.range):e.range,G=j(O);if(Q(F),G&&!Sv(e.range)&&!c_(e.range)){const de=o.getContextualType(e.range);K(de)}if(l.size>0){const de=new Map;let ge=0;for(let Ae=O;Ae!==void 0&&ge<t.length;Ae=Ae.parent)if(Ae===t[ge]&&(de.forEach((Re,$)=>{u[ge].typeParameterUsages.set($,Re)}),ge++),NG(Ae))for(const Re of fb(Ae)){const $=o.getTypeAtLocation(Re);l.has($.id.toString())&&de.set($.id.toString(),$)}C.assert(ge===t.length,"Should have iterated all scopes")}if(y.length){const de=CG(t[0],t[0].parent)?t[0]:sh(t[0]);Xo(de,re)}for(let de=0;de<t.length;de++){const ge=u[de];if(de>0&&(ge.usages.size>0||ge.typeParameterUsages.size>0)){const $=Sv(e.range)?e.range[0]:e.range;m[de].push(Sr($,Nd.cannotAccessVariablesFromNestedScopes))}e.facts&16&&hi(t[de])&&_[de].push(Sr(e.thisNode,Nd.cannotExtractFunctionsContainingThisToMethod));let Ae=!1,Re;if(u[de].usages.forEach($=>{$.usage===2&&(Ae=!0,$.symbol.flags&106500&&$.symbol.valueDeclaration&&Fp($.symbol.valueDeclaration,8)&&(Re=$.symbol.valueDeclaration))}),C.assert(Sv(e.range)||A.length===0,"No variable declarations expected if something was extracted"),Ae&&!Sv(e.range)){const $=Sr(e.range,Nd.cannotWriteInExpression);_[de].push($),m[de].push($)}else if(Re&&de>0){const $=Sr(Re,Nd.cannotExtractReadonlyPropertyInitializerOutsideConstructor);_[de].push($),m[de].push($)}else if(R){const $=Sr(R,Nd.cannotExtractExportedEntity);_[de].push($),m[de].push($)}}return{target:F,usagesPerScope:u,functionErrorsPerScope:_,constantErrorsPerScope:m,exposedVariableDeclarations:A};function j(de){return!!Rn(de,ge=>NG(ge)&&fb(ge).length!==0)}function K(de){const ge=o.getSymbolWalker(()=>(s.throwIfCancellationRequested(),!0)),{visitedTypes:Ae}=ge.walkType(de);for(const Re of Ae)Re.isTypeParameter()&&l.set(Re.id.toString(),Re)}function Q(de,ge=1){if(G){const Ae=o.getTypeAtLocation(de);K(Ae)}if(rd(de)&&de.symbol&&y.push(de),id(de))Q(de.left,2),Q(de.right);else if(Ete(de))Q(de.operand,2);else if(Jr(de)||Bs(de))Xo(de,Q);else if(Je(de)){if(!de.parent||Wu(de.parent)&&de!==de.parent.left||Jr(de.parent)&&de!==de.parent.expression)return;J(de,ge,Yh(de))}else Xo(de,Q)}function J(de,ge,Ae){const Re=he(de,ge,Ae);if(Re)for(let $=0;$<t.length;$++){const ve=d[$].get(Re);ve&&u[$].substitutions.set(ls(de).toString(),ve)}}function he(de,ge,Ae){const Re=q(de);if(!Re)return;const $=Aa(Re).toString(),ve=k.get($);if(ve&&ve>=ge)return $;if(k.set($,ge),ve){for(const ee of u)ee.usages.get(de.text)&&ee.usages.set(de.text,{usage:ge,symbol:Re,node:de});return $}const je=Re.getDeclarations(),be=je&&_n(je,ee=>ee.getSourceFile()===i);if(be&&!bO(r,be.getStart(),be.end)){if(e.facts&2&&ge===2){const ee=Sr(de,Nd.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators);for(const Se of _)Se.push(ee);for(const Se of m)Se.push(ee)}for(let ee=0;ee<t.length;ee++){const Se=t[ee];if(o.resolveName(Re.name,Se,Re.flags,!1)!==Re&&!d[ee].has($)){const ze=ue(Re.exportSymbol||Re,Se,Ae);if(ze)d[ee].set($,ze);else if(Ae){if(!(Re.flags&262144)){const lt=Sr(de,Nd.typeWillNotBeVisibleInTheNewScope);_[ee].push(lt),m[ee].push(lt)}}else u[ee].usages.set(de.text,{usage:ge,symbol:Re,node:de})}}return $}}function re(de){if(de===e.range||Sv(e.range)&&e.range.includes(de))return;const ge=Je(de)?q(de):o.getSymbolAtLocation(de);if(ge){const Ae=_n(y,Re=>Re.symbol===ge);if(Ae)if(bi(Ae)){const Re=Ae.symbol.id.toString();E.has(Re)||(A.push(Ae),E.set(Re,!0))}else R=R||Ae}Xo(de,re)}function q(de){return de.parent&&Ud(de.parent)&&de.parent.name===de?o.getShorthandAssignmentValueSymbol(de.parent):o.getSymbolAtLocation(de)}function ue(de,ge,Ae){if(!de)return;const Re=de.getDeclarations();if(Re&&Re.some(ve=>ve.parent===ge))return L.createIdentifier(de.name);const $=ue(de.parent,ge,Ae);if($!==void 0)return Ae?L.createQualifiedName($,L.createIdentifier(de.name)):L.createPropertyAccessExpression($,de.name)}}function nQe(e){return Rn(e,t=>t.parent&&LDe(t)&&!Nr(t.parent))}function LDe(e){const{parent:t}=e;switch(t.kind){case 307:return!1}switch(e.kind){case 11:return t.kind!==273&&t.kind!==277;case 231:case 207:case 209:return!1;case 80:return t.kind!==209&&t.kind!==277&&t.kind!==282}return!0}function iue(e){return oue(e)||(l_(e)||x1(e)||tT(e))&&(l_(e.parent)||tT(e.parent))}function oue(e){return Oa(e)&&e.parent&&c_(e.parent)}var rQe={},cK="Generate 'get' and 'set' accessors",aue=Jo(f.Generate_get_and_set_accessors),sue={name:cK,description:aue,kind:"refactor.rewrite.property.generateAccessors"};Pg(cK,{kinds:[sue.kind],getEditsForAction:function(t,r){if(!t.endPosition)return;const i=cu.getAccessorConvertiblePropertyAtPosition(t.file,t.program,t.startPosition,t.endPosition);C.assert(i&&!Sy(i),"Expected applicable refactor info");const o=cu.generateAccessorFromProperty(t.file,t.program,t.startPosition,t.endPosition,t,r);if(!o)return;const s=t.file.fileName,l=i.renameAccessor?i.accessorName:i.fieldName,d=(Je(l)?0:-1)+CO(o,s,l.text,no(i.declaration));return{renameFilename:s,renameLocation:d,edits:o}},getAvailableActions(e){if(!e.endPosition)return se;const t=cu.getAccessorConvertiblePropertyAtPosition(e.file,e.program,e.startPosition,e.endPosition,e.triggerReason==="invoked");return t?Sy(t)?e.preferences.provideRefactorNotApplicableReason?[{name:cK,description:aue,actions:[{...sue,notApplicableReason:t.error}]}]:se:[{name:cK,description:aue,actions:[sue]}]:se}});var iQe={},dK="Infer function return type",lue=Jo(f.Infer_function_return_type),uK={name:dK,description:lue,kind:"refactor.rewrite.function.returnType"};Pg(dK,{kinds:[uK.kind],getEditsForAction:oQe,getAvailableActions:aQe});function oQe(e){const t=kDe(e);if(t&&!Sy(t))return{renameFilename:void 0,renameLocation:void 0,edits:Ir.ChangeTracker.with(e,i=>sQe(e.file,i,t.declaration,t.returnTypeNode))}}function aQe(e){const t=kDe(e);return t?Sy(t)?e.preferences.provideRefactorNotApplicableReason?[{name:dK,description:lue,actions:[{...uK,notApplicableReason:t.error}]}]:se:[{name:dK,description:lue,actions:[uK]}]:se}function sQe(e,t,r,i){const o=Rs(r,22,e),s=Zs(r)&&o===void 0,l=s?Qa(r.parameters):o;l&&(s&&(t.insertNodeBefore(e,l,L.createToken(21)),t.insertNodeAfter(e,l,L.createToken(22))),t.insertNodeAt(e,l.end,i,{prefix:": "}))}function kDe(e){if(Er(e.file)||!_T(uK.kind,e.kind))return;const t=ap(e.file,e.startPosition),r=Rn(t,l=>ia(l)||l.parent&&Zs(l.parent)&&(l.kind===39||l.parent.body===l)?"quit":lQe(l));if(!r||!r.body||r.type)return{error:Jo(f.Return_type_must_be_inferred_from_a_function)};const i=e.program.getTypeChecker();let o;if(i.isImplementationOfOverload(r)){const l=i.getTypeAtLocation(r).getCallSignatures();l.length>1&&(o=i.getUnionType(Hi(l,u=>u.getReturnType())))}if(!o){const l=i.getSignatureFromDeclaration(r);if(l){const u=i.getTypePredicateOfSignature(l);if(u&&u.type){const d=i.typePredicateToTypePredicateNode(u,r,1,8);if(d)return{declaration:r,returnTypeNode:d}}else o=i.getReturnTypeOfSignature(l)}}if(!o)return{error:Jo(f.Could_not_determine_function_return_type)};const s=i.typeToTypeNode(o,r,1,8);if(s)return{declaration:r,returnTypeNode:s}}function lQe(e){switch(e.kind){case 263:case 219:case 220:case 175:return!0;default:return!1}}var wDe=(e=>(e[e.typeOffset=8]="typeOffset",e[e.modifierMask=255]="modifierMask",e))(wDe||{}),ODe=(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))(ODe||{}),WDe=(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))(WDe||{});function FDe(e,t,r,i){const o=cue(e,t,r,i);C.assert(o.spans.length%3===0);const s=o.spans,l=[];for(let u=0;u<s.length;u+=3)l.push({textSpan:Ad(s[u],s[u+1]),classificationType:s[u+2]});return l}function cue(e,t,r,i){return{spans:cQe(e,r,i,t),endOfLineState:0}}function cQe(e,t,r,i){const o=[];return e&&t&&dQe(e,t,r,(l,u,d)=>{o.push(l.getStart(t),l.getWidth(t),(u+1<<8)+d)},i),o}function dQe(e,t,r,i,o){const s=e.getTypeChecker();let l=!1;function u(d){switch(d.kind){case 268:case 264:case 265:case 263:case 232:case 219:case 220:o.throwIfCancellationRequested()}if(!d||!P2(r,d.pos,d.getFullWidth())||d.getFullWidth()===0)return;const _=l;if((l_(d)||x1(d))&&(l=!0),RD(d)&&(l=!1),Je(d)&&!l&&!mQe(d)&&!MM(d.escapedText)){let m=s.getSymbolAtLocation(d);if(m){m.flags&2097152&&(m=s.getAliasedSymbol(m));let y=uQe(m,F1(d));if(y!==void 0){let E=0;d.parent&&(qa(d.parent)||GDe.get(d.parent.kind)===y)&&d.parent.name===d&&(E=1),y===6&&BDe(d)&&(y=9),y=pQe(s,d,y);const A=m.valueDeclaration;if(A){const R=L0(A),N=ay(A);R&256&&(E|=2),R&1024&&(E|=4),y!==0&&y!==2&&(R&8||N&2||m.getFlags()&8)&&(E|=8),(y===7||y===10)&&fQe(A,t)&&(E|=32),e.isSourceFileDefaultLibrary(A.getSourceFile())&&(E|=16)}else m.declarations&&m.declarations.some(R=>e.isSourceFileDefaultLibrary(R.getSourceFile()))&&(E|=16);i(d,y,E)}}}Xo(d,u),l=_}u(t)}function uQe(e,t){const r=e.getFlags();if(r&32)return 0;if(r&384)return 1;if(r&524288)return 5;if(r&64){if(t&2)return 2}else if(r&262144)return 4;let i=e.valueDeclaration||e.declarations&&e.declarations[0];return i&&qa(i)&&(i=zDe(i)),i&&GDe.get(i.kind)}function pQe(e,t,r){if(r===7||r===9||r===6){const i=e.getTypeAtLocation(t);if(i){const o=s=>s(i)||i.isUnion()&&i.types.some(s);if(r!==6&&o(s=>s.getConstructSignatures().length>0))return 0;if(o(s=>s.getCallSignatures().length>0)&&!o(s=>s.getProperties().length>0)||hQe(t))return r===9?11:10}}return r}function fQe(e,t){return qa(e)&&(e=zDe(e)),bi(e)?(!Qi(e.parent.parent.parent)||US(e.parent))&&e.getSourceFile()===t:ec(e)?!Qi(e.parent)&&e.getSourceFile()===t:!1}function zDe(e){for(;;)if(qa(e.parent.parent))e=e.parent.parent;else return e.parent.parent}function mQe(e){const t=e.parent;return t&&(Hm(t)||Au(t)||Cg(t))}function hQe(e){for(;BDe(e);)e=e.parent;return ra(e.parent)&&e.parent.expression===e}function BDe(e){return Wu(e.parent)&&e.parent.right===e||Jr(e.parent)&&e.parent.name===e}var GDe=new Map([[261,7],[170,6],[173,9],[268,3],[267,1],[307,8],[264,0],[175,11],[263,10],[219,10],[174,11],[178,9],[179,9],[172,9],[265,2],[266,5],[169,4],[304,9],[305,9]]),VDe="0.8";function jDe(e,t,r,i){const o=bF(e)?new due(e,t,r):e===80?new HDe(80,t,r):e===81?new qDe(81,t,r):new UDe(e,t,r);return o.parent=i,o.flags=i.flags&101441536,o}var due=class{constructor(e,t,r){this.pos=t,this.end=r,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}assertHasRealPosition(e){C.assert(!dh(this.pos)&&!dh(this.end),e||"Node must have a real position for this operation")}getSourceFile(){return On(this)}getStart(e,t){return this.assertHasRealPosition(),Tb(this,e,t)}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,t){return this.getChildren(t)[e]}getChildren(e=On(this)){var t;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"),(t=Bj(this,e))!=null?t:Yie(this,e,_Qe(this,e))}getFirstToken(e){this.assertHasRealPosition();const t=this.getChildren(e);if(!t.length)return;const r=_n(t,i=>i.kind<310||i.kind>352);return r.kind<167?r:r.getFirstToken(e)}getLastToken(e){this.assertHasRealPosition();const t=this.getChildren(e),r=rl(t);if(r)return r.kind<167?r:r.getLastToken(e)}forEachChild(e,t){return Xo(this,e,t)}};function _Qe(e,t){const r=[];if(DF(e))return e.forEachChild(l=>{r.push(l)}),r;yd.setText((t||e.getSourceFile()).text);let i=e.pos;const o=l=>{sz(r,i,l.pos,e),r.push(l),i=l.end},s=l=>{sz(r,i,l.pos,e),r.push(gQe(l,e)),i=l.end};return Xe(e.jsDoc,o),i=e.pos,e.forEachChild(o,s),sz(r,i,e.end,e),yd.setText(void 0),r}function sz(e,t,r,i){for(yd.resetTokenState(t);t<r;){const o=yd.scan(),s=yd.getTokenEnd();if(s<=r){if(o===80){if(Kre(i))continue;C.fail("Did not expect ".concat(C.formatSyntaxKind(i.kind)," to have an Identifier in its trivia"))}e.push(jDe(o,t,s,i))}if(t=s,o===1)break}}function gQe(e,t){const r=jDe(353,e.pos,e.end,t),i=[];let o=e.pos;for(const s of e)sz(i,o,s.pos,t),i.push(s),o=s.end;return sz(i,o,e.end,t),r._children=i,r}var uue=class{constructor(e,t,r){this.pos=t,this.end=r,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}getSourceFile(){return On(this)}getStart(e,t){return Tb(this,e,t)}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 this.kind===1&&this.jsDoc||se}getFirstToken(){}getLastToken(){}forEachChild(){}},yQe=class{constructor(e,t){this.flags=e,this.escapedName=t,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.lastAssignmentPos=void 0,this.links=void 0}getFlags(){return this.flags}get name(){return Ol(this)}getEscapedName(){return this.escapedName}getName(){return this.name}getDeclarations(){return this.declarations}getDocumentationComment(e){if(!this.documentationComment)if(this.documentationComment=se,!this.declarations&&_g(this)&&this.links.target&&_g(this.links.target)&&this.links.target.links.tupleLabelDeclaration){const t=this.links.target.links.tupleLabelDeclaration;this.documentationComment=lz([t],e)}else this.documentationComment=lz(this.declarations,e);return this.documentationComment}getContextualDocumentationComment(e,t){if(e){if(hg(e)&&(this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=se,this.contextualGetAccessorDocumentationComment=lz(Fn(this.declarations,hg),t)),et(this.contextualGetAccessorDocumentationComment)))return this.contextualGetAccessorDocumentationComment;if(Jh(e)&&(this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=se,this.contextualSetAccessorDocumentationComment=lz(Fn(this.declarations,Jh),t)),et(this.contextualSetAccessorDocumentationComment)))return this.contextualSetAccessorDocumentationComment}return this.getDocumentationComment(t)}getJsDocTags(e){return this.tags===void 0&&(this.tags=se,this.tags=pK(this.declarations,e)),this.tags}getContextualJsDocTags(e,t){if(e){if(hg(e)&&(this.contextualGetAccessorTags||(this.contextualGetAccessorTags=se,this.contextualGetAccessorTags=pK(Fn(this.declarations,hg),t)),et(this.contextualGetAccessorTags)))return this.contextualGetAccessorTags;if(Jh(e)&&(this.contextualSetAccessorTags||(this.contextualSetAccessorTags=se,this.contextualSetAccessorTags=pK(Fn(this.declarations,Jh),t)),et(this.contextualSetAccessorTags)))return this.contextualSetAccessorTags}return this.getJsDocTags(t)}},UDe=class extends uue{constructor(e,t,r){super(e,t,r)}},HDe=class extends uue{constructor(e,t,r){super(e,t,r)}get text(){return Yr(this)}},qDe=class extends uue{constructor(e,t,r){super(e,t,r)}get text(){return Yr(this)}},vQe=class{constructor(e,t){this.flags=t,this.checker=e}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!!(this.flags&1048576)}isIntersection(){return!!(this.flags&2097152)}isUnionOrIntersection(){return!!(this.flags&3145728)}isLiteral(){return!!(this.flags&2432)}isStringLiteral(){return!!(this.flags&128)}isNumberLiteral(){return!!(this.flags&256)}isTypeParameter(){return!!(this.flags&262144)}isClassOrInterface(){return!!(qr(this)&3)}isClass(){return!!(qr(this)&1)}isIndexType(){return!!(this.flags&4194304)}get typeArguments(){if(qr(this)&4)return this.checker.getTypeArguments(this)}},bQe=class{constructor(e,t){this.flags=t,this.checker=e}getDeclaration(){return this.declaration}getTypeParameters(){return this.typeParameters}getParameters(){return this.parameters}getReturnType(){return this.checker.getReturnTypeOfSignature(this)}getTypeParameterAtPosition(e){const t=this.checker.getParameterType(this,e);if(t.isIndexType()&&PM(t.type)){const r=t.type.getConstraint();if(r)return this.checker.getIndexType(r)}return t}getDocumentationComment(){return this.documentationComment||(this.documentationComment=lz(tI(this.declaration),this.checker))}getJsDocTags(){return this.jsDocTags||(this.jsDocTags=pK(tI(this.declaration),this.checker))}};function JDe(e){return w0(e).some(t=>t.tagName.text==="inheritDoc"||t.tagName.text==="inheritdoc")}function pK(e,t){if(!e)return se;let r=vT.getJsDocTagsFromDeclarations(e,t);if(t&&(r.length===0||e.some(JDe))){const i=new Set;for(const o of e){const s=KDe(t,o,l=>{var u;if(!i.has(l))return i.add(l),o.kind===178||o.kind===179?l.getContextualJsDocTags(o,t):((u=l.declarations)==null?void 0:u.length)===1?l.getJsDocTags(t):void 0});s&&(r=[...s,...r])}}return r}function lz(e,t){if(!e)return se;let r=vT.getJsDocCommentsFromDeclarations(e,t);if(t&&(r.length===0||e.some(JDe))){const i=new Set;for(const o of e){const s=KDe(t,o,l=>{if(!i.has(l))return i.add(l),o.kind===178||o.kind===179?l.getContextualDocumentationComment(o,t):l.getDocumentationComment(t)});s&&(r=r.length===0?s.slice():s.concat(aC(),r))}}return r}function KDe(e,t,r){var i;const o=((i=t.parent)==null?void 0:i.kind)===177?t.parent.parent:t.parent;if(!o)return;const s=Lc(t);return Wn(iM(o),l=>{const u=e.getTypeAtLocation(l),d=s&&u.symbol?e.getTypeOfSymbol(u.symbol):u,_=e.getPropertyOfType(d,t.symbol.name);return _?r(_):void 0})}var TQe=class extends due{constructor(e,t,r){super(e,t,r)}update(e,t){return tU(this,e,t)}getLineAndCharacterOfPosition(e){return fa(this,e)}getLineStarts(){return dg(this)}getPositionOfLineAndCharacter(e,t,r){return cF(dg(this),e,t,this.text,r)}getLineEndOfPosition(e){const{line:t}=this.getLineAndCharacterOfPosition(e),r=this.getLineStarts();let i;t+1>=r.length&&(i=this.getEnd()),i||(i=r[t+1]-1);const o=this.getFullText();return o[i]==="\n"&&o[i-1]==="\r"?i-1:i}getNamedDeclarations(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations}computeNamedDeclarations(){const e=fm();return this.forEachChild(o),e;function t(s){const l=i(s);l&&e.add(l,s)}function r(s){let l=e.get(s);return l||e.set(s,l=[]),l}function i(s){const l=pF(s);return l&&(Ea(l)&&Jr(l.expression)?l.expression.name.text:yc(l)?IO(l):void 0)}function o(s){switch(s.kind){case 263:case 219:case 175:case 174:const l=s,u=i(l);if(u){const m=r(u),y=rl(m);y&&l.parent===y.parent&&l.symbol===y.symbol?l.body&&!y.body&&(m[m.length-1]=l):m.push(l)}Xo(s,o);break;case 264:case 232:case 265:case 266:case 267:case 268:case 272:case 282:case 277:case 274:case 275:case 178:case 179:case 188:t(s),Xo(s,o);break;case 170:if(!fi(s,31))break;case 261:case 209:{const m=s;if(na(m.name)){Xo(m.name,o);break}m.initializer&&o(m.initializer)}case 307:case 173:case 172:t(s);break;case 279:const d=s;d.exportClause&&(Kf(d.exportClause)?Xe(d.exportClause.elements,o):o(d.exportClause.name));break;case 273:const _=s.importClause;_&&(_.name&&t(_.name),_.namedBindings&&(_.namedBindings.kind===275?t(_.namedBindings):Xe(_.namedBindings.elements,o)));break;case 227:ac(s)!==0&&t(s);default:Xo(s,o)}}}},SQe=class{constructor(e,t,r){this.fileName=e,this.text=t,this.skipTrivia=r||(i=>i)}getLineAndCharacterOfPosition(e){return fa(this,e)}};function EQe(){return{getNodeConstructor:()=>due,getTokenConstructor:()=>UDe,getIdentifierConstructor:()=>HDe,getPrivateIdentifierConstructor:()=>qDe,getSourceFileConstructor:()=>TQe,getSymbolConstructor:()=>yQe,getTypeConstructor:()=>vQe,getSignatureConstructor:()=>bQe,getSourceMapSourceConstructor:()=>SQe}}function VO(e){let t=!0;for(const i in e)if(Ms(e,i)&&!XDe(i)){t=!1;break}if(t)return e;const r={};for(const i in e)if(Ms(e,i)){const o=XDe(i)?i:i.charAt(0).toLowerCase()+i.substr(1);r[o]=e[i]}return r}function XDe(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function jO(e){return e?Gt(e,t=>t.text).join(""):""}function cz(){return{target:1,jsx:1}}function fK(){return cu.getSupportedErrorCodes()}var AQe=class{constructor(e){this.host=e}getCurrentSourceFile(e){var t,r,i,o,s,l,u,d;const _=this.host.getScriptSnapshot(e);if(!_)throw new Error("Could not find file: '"+e+"'.");const m=mJ(e,this.host),y=this.host.getScriptVersion(e);let E;if(this.currentFileName!==e){const A={languageVersion:99,impliedNodeFormat:oO(Ws(e,this.host.getCurrentDirectory(),((i=(r=(t=this.host).getCompilerHost)==null?void 0:r.call(t))==null?void 0:i.getCanonicalFileName)||uy(this.host)),(d=(u=(l=(s=(o=this.host).getCompilerHost)==null?void 0:s.call(o))==null?void 0:l.getModuleResolutionCache)==null?void 0:u.call(l))==null?void 0:d.getPackageJsonInfoCache(),this.host,this.host.getCompilationSettings()),setExternalModuleIndicator:Hk(this.host.getCompilationSettings()),jsDocParsingMode:0};E=dz(e,_,A,y,!0,m)}else if(this.currentFileVersion!==y){const A=_.getChangeRange(this.currentFileScriptSnapshot);E=mK(this.currentSourceFile,_,y,A)}return E&&(this.currentFileVersion=y,this.currentFileName=e,this.currentFileScriptSnapshot=_,this.currentSourceFile=E),this.currentSourceFile}};function YDe(e,t,r){e.version=r,e.scriptSnapshot=t}function dz(e,t,r,i,o,s){const l=nx(e,mx(t),r,o,s);return YDe(l,t,i),l}function mK(e,t,r,i,o){if(i&&r!==e.version){let l;const u=i.span.start!==0?e.text.substr(0,i.span.start):"",d=Ml(i.span)!==e.text.length?e.text.substr(Ml(i.span)):"";if(i.newLength===0)l=u&&d?u+d:u||d;else{const m=t.getText(i.span.start,i.span.start+i.newLength);l=u&&d?u+m+d:u?u+m:m+d}const _=tU(e,l,i,o);return YDe(_,t,r),_.nameTable=void 0,e!==_&&e.scriptSnapshot&&(e.scriptSnapshot.dispose&&e.scriptSnapshot.dispose(),e.scriptSnapshot=void 0),_}const s={languageVersion:e.languageVersion,impliedNodeFormat:e.impliedNodeFormat,setExternalModuleIndicator:e.setExternalModuleIndicator,jsDocParsingMode:e.jsDocParsingMode};return dz(e.fileName,t,s,r,!0,e.scriptKind)}var IQe={isCancellationRequested:ry,throwIfCancellationRequested:vs},xQe=class{constructor(e){this.cancellationToken=e}isCancellationRequested(){return this.cancellationToken.isCancellationRequested()}throwIfCancellationRequested(){var e;if(this.isCancellationRequested())throw(e=Ar)==null||e.instant(Ar.Phase.Session,"cancellationThrown",{kind:"CancellationTokenObject"}),new SN}},pue=class{constructor(e,t=20){this.hostCancellationToken=e,this.throttleWaitMilliseconds=t,this.lastCancellationCheckTime=0}isCancellationRequested(){const e=Os();return Math.abs(e-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds?(this.lastCancellationCheckTime=e,this.hostCancellationToken.isCancellationRequested()):!1}throwIfCancellationRequested(){var e;if(this.isCancellationRequested())throw(e=Ar)==null||e.instant(Ar.Phase.Session,"cancellationThrown",{kind:"ThrottledCancellationToken"}),new SN}},$De=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints","getSupportedCodeFixes","getPasteEdits"],RQe=[...$De,"getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors","preparePasteEditsForFile"];function fue(e,t=Fce(e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames(),e.getCurrentDirectory(),e.jsDocParsingMode),r){var i;let o;r===void 0?o=0:typeof r=="boolean"?o=r?2:0:o=r;const s=new AQe(e);let l,u,d=0;const _=e.getCancellationToken?new xQe(e.getCancellationToken()):IQe,m=e.getCurrentDirectory();gre((i=e.getLocalizedDiagnosticMessages)==null?void 0:i.bind(e));function y(vt){e.log&&e.log(vt)}const E=u1(e),A=Fd(E),R=Qce({useCaseSensitiveFileNames:()=>E,getCurrentDirectory:()=>m,getProgram:F,fileExists:la(e,e.fileExists),readFile:la(e,e.readFile),getDocumentPositionMapper:la(e,e.getDocumentPositionMapper),getSourceFileLike:la(e,e.getSourceFileLike),log:y});function N(vt){const Rt=l.getSourceFile(vt);if(!Rt){const zt=new Error("Could not find source file: '".concat(vt,"'."));throw zt.ProgramFiles=l.getSourceFiles().map(Yt=>Yt.fileName),zt}return Rt}function M(){e.updateFromProject&&!e.updateFromProjectInProgress?e.updateFromProject():k()}function k(){var vt,Rt,zt;if(C.assert(o!==2),e.getProjectVersion){const Oo=e.getProjectVersion();if(Oo){if(u===Oo&&!((vt=e.hasChangedAutomaticTypeDirectiveNames)!=null&&vt.call(e)))return;u=Oo}}const Yt=e.getTypeRootsVersion?e.getTypeRootsVersion():0;d!==Yt&&(y("TypeRoots version has changed; provide new program"),l=void 0,d=Yt);const An=e.getScriptFileNames().slice(),vn=e.getCompilationSettings()||cz(),Ft=e.hasInvalidatedResolutions||ry,bn=la(e,e.hasInvalidatedLibResolutions)||ry,Pr=la(e,e.hasChangedAutomaticTypeDirectiveNames),tr=(Rt=e.getProjectReferences)==null?void 0:Rt.call(e);let kt,ti={getSourceFile:tc,getSourceFileByPath:Tf,getCancellationToken:()=>_,getCanonicalFileName:A,useCaseSensitiveFileNames:()=>E,getNewLine:()=>lv(vn),getDefaultLibFileName:Oo=>e.getDefaultLibFileName(Oo),writeFile:vs,getCurrentDirectory:()=>m,fileExists:Oo=>e.fileExists(Oo),readFile:Oo=>e.readFile&&e.readFile(Oo),getSymlinkCache:la(e,e.getSymlinkCache),realpath:la(e,e.realpath),directoryExists:Oo=>ch(Oo,e),getDirectories:Oo=>e.getDirectories?e.getDirectories(Oo):[],readDirectory:(Oo,ga,is,Ja,nn)=>(C.checkDefined(e.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),e.readDirectory(Oo,ga,is,Ja,nn)),onReleaseOldSourceFile:Ma,onReleaseParsedCommandLine:bc,hasInvalidatedResolutions:Ft,hasInvalidatedLibResolutions:bn,hasChangedAutomaticTypeDirectiveNames:Pr,trace:la(e,e.trace),resolveModuleNames:la(e,e.resolveModuleNames),getModuleResolutionCache:la(e,e.getModuleResolutionCache),createHash:la(e,e.createHash),resolveTypeReferenceDirectives:la(e,e.resolveTypeReferenceDirectives),resolveModuleNameLiterals:la(e,e.resolveModuleNameLiterals),resolveTypeReferenceDirectiveReferences:la(e,e.resolveTypeReferenceDirectiveReferences),resolveLibrary:la(e,e.resolveLibrary),useSourceOfProjectReferenceRedirect:la(e,e.useSourceOfProjectReferenceRedirect),getParsedCommandLine:ro,jsDocParsingMode:e.jsDocParsingMode,getGlobalTypingsCacheLocation:la(e,e.getGlobalTypingsCacheLocation)};const ea=ti.getSourceFile,{getSourceFileWithCache:wo}=vP(ti,Oo=>Ws(Oo,m,A),(...Oo)=>ea.call(ti,...Oo));ti.getSourceFile=wo,(zt=e.setCompilerHost)==null||zt.call(e,ti);const vo={useCaseSensitiveFileNames:E,fileExists:Oo=>ti.fileExists(Oo),readFile:Oo=>ti.readFile(Oo),directoryExists:Oo=>ti.directoryExists(Oo),getDirectories:Oo=>ti.getDirectories(Oo),realpath:ti.realpath,readDirectory:(...Oo)=>ti.readDirectory(...Oo),trace:ti.trace,getCurrentDirectory:ti.getCurrentDirectory,onUnRecoverableConfigFileDiagnostic:vs},fs=t.getKeyForCompilationSettings(vn);let xs=new Set;if(MH(l,An,vn,(Oo,ga)=>e.getScriptVersion(ga),Oo=>ti.fileExists(Oo),Ft,bn,Pr,ro,tr)){ti=void 0,kt=void 0,xs=void 0;return}l=aO({rootNames:An,options:vn,host:ti,oldProgram:l,projectReferences:tr}),ti=void 0,kt=void 0,xs=void 0,R.clearCache(),l.getTypeChecker();return;function ro(Oo){const ga=Ws(Oo,m,A),is=kt==null?void 0:kt.get(ga);if(is!==void 0)return is||void 0;const Ja=e.getParsedCommandLine?e.getParsedCommandLine(Oo):zo(Oo);return(kt||(kt=new Map)).set(ga,Ja||!1),Ja}function zo(Oo){const ga=tc(Oo,100);if(ga)return ga.path=Ws(Oo,m,A),ga.resolvedPath=ga.path,ga.originalFileName=ga.fileName,Ww(ga,vo,Eo(pi(Oo),m),void 0,Eo(Oo,m))}function bc(Oo,ga,is){var Ja;e.getParsedCommandLine?(Ja=e.onReleaseParsedCommandLine)==null||Ja.call(e,Oo,ga,is):ga&&tl(ga.sourceFile,is)}function tl(Oo,ga){const is=t.getKeyForCompilationSettings(ga);t.releaseDocumentWithKey(Oo.resolvedPath,is,Oo.scriptKind,Oo.impliedNodeFormat)}function Ma(Oo,ga,is,Ja){var nn;tl(Oo,ga),(nn=e.onReleaseOldSourceFile)==null||nn.call(e,Oo,ga,is,Ja)}function tc(Oo,ga,is,Ja){return Tf(Oo,Ws(Oo,m,A),ga,is,Ja)}function Tf(Oo,ga,is,Ja,nn){C.assert(ti,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");const Ds=e.getScriptSnapshot(Oo);if(!Ds)return;const ql=mJ(Oo,e),lc=e.getScriptVersion(Oo);if(!nn){const vd=l&&l.getSourceFileByPath(ga);if(vd){if(ql===vd.scriptKind||xs.has(vd.resolvedPath))return t.updateDocumentWithKey(Oo,ga,e,fs,Ds,lc,ql,is);t.releaseDocumentWithKey(vd.resolvedPath,t.getKeyForCompilationSettings(l.getCompilerOptions()),vd.scriptKind,vd.impliedNodeFormat),xs.add(vd.resolvedPath)}}return t.acquireDocumentWithKey(Oo,ga,e,fs,Ds,lc,ql,is)}}function F(){if(o===2){C.assert(l===void 0);return}return M(),l}function O(){var vt;return(vt=e.getPackageJsonAutoImportProvider)==null?void 0:vt.call(e)}function G(vt,Rt){const zt=l.getTypeChecker(),Yt=An();if(!Yt)return!1;for(const Ft of vt)for(const bn of Ft.references){const Pr=vn(bn);if(C.assertIsDefined(Pr),Rt.has(bn)||el.isDeclarationOfSymbol(Pr,Yt)){Rt.add(bn),bn.isDefinition=!0;const tr=C7(bn,R,la(e,e.fileExists));tr&&Rt.add(tr)}else bn.isDefinition=!1}return!0;function An(){for(const Ft of vt)for(const bn of Ft.references){if(Rt.has(bn)){const tr=vn(bn);return C.assertIsDefined(tr),zt.getSymbolAtLocation(tr)}const Pr=C7(bn,R,la(e,e.fileExists));if(Pr&&Rt.has(Pr)){const tr=vn(Pr);if(tr)return zt.getSymbolAtLocation(tr)}}}function vn(Ft){const bn=l.getSourceFile(Ft.fileName);if(!bn)return;const Pr=ap(bn,Ft.textSpan.start);return el.Core.getAdjustedNode(Pr,{use:el.FindReferencesUse.References})}}function j(){if(l){const vt=t.getKeyForCompilationSettings(l.getCompilerOptions());Xe(l.getSourceFiles(),Rt=>t.releaseDocumentWithKey(Rt.resolvedPath,vt,Rt.scriptKind,Rt.impliedNodeFormat)),l=void 0}}function K(){j(),e=void 0}function Q(vt){return M(),l.getSyntacticDiagnostics(N(vt),_).slice()}function J(vt){M();const Rt=N(vt),zt=l.getSemanticDiagnostics(Rt,_);if(!vp(l.getCompilerOptions()))return zt.slice();const Yt=l.getDeclarationDiagnostics(Rt,_);return[...zt,...Yt]}function he(vt,Rt){M();const zt=N(vt),Yt=l.getCompilerOptions();if(_D(zt,Yt,l)||!RM(zt,Yt)||l.getCachedSemanticDiagnostics(zt))return;const An=re(zt,Rt);if(!An)return;const vn=j9(An.map(bn=>oc(bn.getFullStart(),bn.getEnd())));return{diagnostics:l.getSemanticDiagnostics(zt,_,An).slice(),spans:vn}}function re(vt,Rt){const zt=[],Yt=j9(Rt.map(An=>bv(An)));for(const An of Yt){const vn=q(vt,An);if(!vn)return;zt.push(...vn)}if(zt.length)return zt}function q(vt,Rt){if(V9(Rt,vt))return;const zt=DP(vt,Ml(Rt))||vt,Yt=Rn(zt,vn=>jee(vn,Rt)),An=[];if(ue(Rt,Yt,An),vt.end===Rt.start+Rt.length&&An.push(vt.endOfFileToken),!bt(An,Qi))return An}function ue(vt,Rt,zt){return de(Rt,vt)?V9(vt,Rt)?(ge(Rt,zt),!0):_x(Rt)?Ae(vt,Rt,zt):hi(Rt)?Re(vt,Rt,zt):(ge(Rt,zt),!0):!1}function de(vt,Rt){const zt=Rt.start+Rt.length;return vt.pos<zt&&vt.end>Rt.start}function ge(vt,Rt){for(;vt.parent&&!Qre(vt);)vt=vt.parent;Rt.push(vt)}function Ae(vt,Rt,zt){const Yt=[];return Rt.statements.filter(vn=>ue(vt,vn,Yt)).length===Rt.statements.length?(ge(Rt,zt),!0):(zt.push(...Yt),!1)}function Re(vt,Rt,zt){var Yt,An,vn;const Ft=tr=>Jee(tr,vt);if((Yt=Rt.modifiers)!=null&&Yt.some(Ft)||Rt.name&&Ft(Rt.name)||(An=Rt.typeParameters)!=null&&An.some(Ft)||(vn=Rt.heritageClauses)!=null&&vn.some(Ft))return ge(Rt,zt),!0;const bn=[];return Rt.members.filter(tr=>ue(vt,tr,bn)).length===Rt.members.length?(ge(Rt,zt),!0):(zt.push(...bn),!1)}function $(vt){return M(),BJ(N(vt),l,_)}function ve(){return M(),[...l.getOptionsDiagnostics(_),...l.getGlobalDiagnostics(_)]}function je(vt,Rt,zt=xm,Yt){const An={...zt,includeCompletionsForModuleExports:zt.includeCompletionsForModuleExports||zt.includeExternalModuleExports,includeCompletionsWithInsertText:zt.includeCompletionsWithInsertText||zt.includeInsertTextCompletions};return M(),Ax.getCompletionsAtPosition(e,l,y,N(vt),Rt,An,zt.triggerCharacter,zt.triggerKind,_,Yt&&Dc.getFormatContext(Yt,e),zt.includeSymbol)}function be(vt,Rt,zt,Yt,An,vn=xm,Ft){return M(),Ax.getCompletionEntryDetails(l,y,N(vt),Rt,{name:zt,source:An,data:Ft},e,Yt&&Dc.getFormatContext(Yt,e),vn,_)}function ee(vt,Rt,zt,Yt,An=xm){return M(),Ax.getCompletionEntrySymbol(l,y,N(vt),Rt,{name:zt,source:Yt},e,An)}function Se(vt,Rt,zt,Yt){M();const An=N(vt),vn=ap(An,Rt);if(vn===An)return;const Ft=l.getTypeChecker(),bn=lt(vn),Pr=MQe(bn,Ft);if(!Pr||Ft.isUnknownSymbol(Pr)){const vo=le(An,bn,Rt)?Ft.getTypeAtLocation(bn):void 0;return vo&&{kind:"",kindModifiers:"",textSpan:Vu(bn,An),displayParts:Ft.runWithCancellationToken(_,fs=>DO(fs,vo,z1(bn),void 0,Yt)),documentation:vo.symbol?vo.symbol.getDocumentationComment(Ft):void 0,tags:vo.symbol?vo.symbol.getJsDocTags(Ft):void 0}}const{symbolKind:tr,displayParts:kt,documentation:ti,tags:ea,canIncreaseVerbosityLevel:wo}=Ft.runWithCancellationToken(_,vo=>Ev.getSymbolDisplayPartsDocumentationAndSymbolKind(vo,Pr,An,z1(bn),bn,void 0,void 0,zt!=null?zt:Ote,Yt));return{kind:tr,kindModifiers:Ev.getSymbolModifiers(Ft,Pr),textSpan:Vu(bn,An),displayParts:kt,documentation:ti,tags:ea,canIncreaseVerbosityLevel:wo}}function Ne(vt,Rt){return M(),IX.preparePasteEdits(N(vt),Rt,l.getTypeChecker())}function ze(vt,Rt){return M(),xX.pasteEditsProvider(N(vt.targetFile),vt.pastedText,vt.pasteLocations,vt.copiedFrom?{file:N(vt.copiedFrom.file),range:vt.copiedFrom.range}:void 0,e,vt.preferences,Dc.getFormatContext(Rt,e),_)}function lt(vt){return GS(vt.parent)&&vt.pos===vt.parent.pos?vt.parent.expression:SD(vt.parent)&&vt.pos===vt.parent.pos||YR(vt.parent)&&vt.parent.name===vt||fh(vt.parent)?vt.parent:vt}function le(vt,Rt,zt){switch(Rt.kind){case 80:return Rt.flags&16777216&&!Er(Rt)&&(Rt.parent.kind===172&&Rt.parent.name===Rt||Rn(Rt,Yt=>Yt.kind===170))?!1:!kq(Rt)&&!wq(Rt)&&!zm(Rt.parent);case 212:case 167:return!yv(vt,zt);case 110:case 198:case 108:case 203:return!0;case 237:return YR(Rt);default:return!1}}function De(vt,Rt,zt,Yt){return M(),hC.getDefinitionAtPosition(l,N(vt),Rt,zt,Yt)}function _e(vt,Rt){return M(),hC.getDefinitionAndBoundSpan(l,N(vt),Rt)}function Ve(vt,Rt){return M(),hC.getTypeDefinitionAtPosition(l.getTypeChecker(),N(vt),Rt)}function Ge(vt,Rt){return M(),el.getImplementationsAtPosition(l,_,l.getSourceFiles(),N(vt),Rt)}function Be(vt,Rt,zt){const Yt=Sa(vt);C.assert(zt.some(Ft=>Sa(Ft)===Yt)),M();const An=Hi(zt,Ft=>l.getSourceFile(Ft)),vn=N(vt);return J7.getDocumentHighlights(l,_,vn,Rt,An)}function ot(vt,Rt,zt,Yt,An){M();const vn=N(vt),Ft=g7(ap(vn,Rt));if(Pz.nodeIsEligibleForRename(Ft))if(Je(Ft)&&(ph(Ft.parent)||VS(Ft.parent))&&sD(Ft.escapedText)){const{openingElement:bn,closingElement:Pr}=Ft.parent.parent;return[bn,Pr].map(tr=>{const kt=Vu(tr.tagName,vn);return{fileName:vn.fileName,textSpan:kt,...el.toContextSpan(kt,vn,tr.parent)}})}else{const bn=Up(vn,An!=null?An:xm),Pr=typeof An=="boolean"?An:An==null?void 0:An.providePrefixAndSuffixTextForRename;return Vt(Ft,Rt,{findInStrings:zt,findInComments:Yt,providePrefixAndSuffixTextForRename:Pr,use:el.FindReferencesUse.Rename},(tr,kt,ti)=>el.toRenameLocation(tr,kt,ti,Pr||!1,bn))}}function Ot(vt,Rt){return M(),Vt(ap(N(vt),Rt),Rt,{use:el.FindReferencesUse.References},el.toReferenceEntry)}function Vt(vt,Rt,zt,Yt){M();const An=zt&&zt.use===el.FindReferencesUse.Rename?l.getSourceFiles().filter(vn=>!l.isSourceFileDefaultLibrary(vn)):l.getSourceFiles();return el.findReferenceOrRenameEntries(l,_,An,vt,Rt,zt,Yt)}function mn(vt,Rt){return M(),el.findReferencedSymbols(l,_,l.getSourceFiles(),N(vt),Rt)}function Hn(vt){return M(),el.Core.getReferencesForFileName(vt,l,l.getSourceFiles()).map(el.toReferenceEntry)}function gt(vt,Rt,zt,Yt=!1,An=!1){M();const vn=zt?[N(zt)]:l.getSourceFiles();return cRe(vn,l.getTypeChecker(),_,vt,Rt,Yt,An)}function tn(vt,Rt,zt){M();const Yt=N(vt),An=e.getCustomTransformers&&e.getCustomTransformers();return Mse(l,Yt,!!Rt,_,An,zt)}function ir(vt,Rt,{triggerReason:zt}=xm){M();const Yt=N(vt);return o8.getSignatureHelpItems(l,Yt,Rt,zt,_)}function Ri(vt){return s.getCurrentSourceFile(vt)}function _o(vt,Rt,zt){const Yt=s.getCurrentSourceFile(vt),An=ap(Yt,Rt);if(An===Yt)return;switch(An.kind){case 212:case 167:case 11:case 97:case 112:case 106:case 108:case 110:case 198:case 80:break;default:return}let vn=An;for(;;)if(ZD(vn)||Kle(vn))vn=vn.parent;else if(Wq(vn))if(vn.parent.parent.kind===268&&vn.parent.parent.body===vn.parent)vn=vn.parent.parent.name;else break;else break;return oc(vn.getStart(),An.getEnd())}function Ht(vt,Rt){const zt=s.getCurrentSourceFile(vt);return _K.spanInSourceFileAtLocation(zt,Rt)}function Qr(vt){return fRe(s.getCurrentSourceFile(vt),_)}function go(vt){return mRe(s.getCurrentSourceFile(vt),_)}function Ci(vt,Rt,zt){return M(),(zt||"original")==="2020"?FDe(l,_,N(vt),Rt):Oce(l.getTypeChecker(),_,N(vt),l.getClassifiableNames(),Rt)}function Cr(vt,Rt,zt){return M(),(zt||"original")==="original"?PJ(l.getTypeChecker(),_,N(vt),l.getClassifiableNames(),Rt):cue(l,_,N(vt),Rt)}function Ur(vt,Rt){return Wce(_,s.getCurrentSourceFile(vt),Rt)}function Qe(vt,Rt){return LJ(_,s.getCurrentSourceFile(vt),Rt)}function It(vt){const Rt=s.getCurrentSourceFile(vt);return dX.collectElements(Rt,_)}const hn=new Map(Object.entries({19:20,21:22,23:24,32:30}));hn.forEach((vt,Rt)=>hn.set(vt.toString(),Number(Rt)));function pr(vt,Rt){const zt=s.getCurrentSourceFile(vt),Yt=nC(zt,Rt),An=Yt.getStart(zt)===Rt?hn.get(Yt.kind.toString()):void 0,vn=An&&Rs(Yt.parent,An,zt);return vn?[Vu(Yt,zt),Vu(vn,zt)].sort((Ft,bn)=>Ft.start-bn.start):se}function oi(vt,Rt,zt){let Yt=Os();const An=VO(zt),vn=s.getCurrentSourceFile(vt);y("getIndentationAtPosition: getCurrentSourceFile: "+(Os()-Yt)),Yt=Os();const Ft=Dc.SmartIndenter.getIndentation(Rt,vn,An);return y("getIndentationAtPosition: computeIndentation : "+(Os()-Yt)),Ft}function di(vt,Rt,zt,Yt){const An=s.getCurrentSourceFile(vt);return Dc.formatSelection(Rt,zt,An,Dc.getFormatContext(VO(Yt),e))}function Ki(vt,Rt){return Dc.formatDocument(s.getCurrentSourceFile(vt),Dc.getFormatContext(VO(Rt),e))}function Zo(vt,Rt,zt,Yt){const An=s.getCurrentSourceFile(vt),vn=Dc.getFormatContext(VO(Yt),e);if(!yv(An,Rt))switch(zt){case"{":return Dc.formatOnOpeningCurly(Rt,An,vn);case"}":return Dc.formatOnClosingCurly(Rt,An,vn);case";":return Dc.formatOnSemicolon(Rt,An,vn);case"\n":return Dc.formatOnEnter(Rt,An,vn)}return[]}function Da(vt,Rt,zt,Yt,An,vn=xm){M();const Ft=N(vt),bn=oc(Rt,zt),Pr=Dc.getFormatContext(An,e);return Wi(cS(Yt,ab,Js),tr=>(_.throwIfCancellationRequested(),cu.getFixes({errorCode:tr,sourceFile:Ft,span:bn,program:l,host:e,cancellationToken:_,formatContext:Pr,preferences:vn})))}function Pn(vt,Rt,zt,Yt=xm){M(),C.assert(vt.type==="file");const An=N(vt.fileName),vn=Dc.getFormatContext(zt,e);return cu.getAllFixes({fixId:Rt,sourceFile:An,program:l,host:e,cancellationToken:_,formatContext:vn,preferences:Yt})}function qo(vt,Rt,zt=xm){var Ft;M(),C.assert(vt.type==="file");const Yt=N(vt.fileName);if(mI(Yt))return se;const An=Dc.getFormatContext(Rt,e),vn=(Ft=vt.mode)!=null?Ft:vt.skipDestructiveCodeActions?"SortAndCombine":"All";return bT.organizeImports(Yt,An,e,l,zt,vn)}function at(vt,Rt,zt,Yt=xm){return Bce(F(),vt,Rt,e,Dc.getFormatContext(zt,e),Yt,R)}function Bt(vt,Rt){const zt=typeof vt=="string"?Rt:vt;return Lo(zt)?Promise.all(zt.map(Yt=>ce(Yt))):ce(zt)}function ce(vt){const Rt=zt=>Ws(zt,m,A);return C.assertEqual(vt.type,"install package"),e.installPackage?e.installPackage({fileName:Rt(vt.file),packageName:vt.packageName}):Promise.reject("Host does not implement `installPackage`")}function _t(vt,Rt,zt,Yt){const An=Yt?Dc.getFormatContext(Yt,e).options:void 0;return vT.getDocCommentTemplateAtPosition(Ty(e,An),s.getCurrentSourceFile(vt),Rt,zt)}function ie(vt,Rt,zt){if(zt===60)return!1;const Yt=s.getCurrentSourceFile(vt);if(fx(Yt,Rt))return!1;if(tce(Yt,Rt))return zt===123;if(jq(Yt,Rt))return!1;switch(zt){case 39:case 34:case 96:return!yv(Yt,Rt)}return!0}function We(vt,Rt){const zt=s.getCurrentSourceFile(vt),Yt=Fc(Rt,zt);if(!Yt)return;const An=Yt.kind===32&&ph(Yt.parent)?Yt.parent.parent:GI(Yt)&&l_(Yt.parent)?Yt.parent:void 0;if(An&&Wt(An))return{newText:"</".concat(An.openingElement.tagName.getText(zt),">")};const vn=Yt.kind===32&&qm(Yt.parent)?Yt.parent.parent:GI(Yt)&&tT(Yt.parent)?Yt.parent:void 0;if(vn&&rt(vn))return{newText:"</>"}}function it(vt,Rt){const zt=s.getCurrentSourceFile(vt),Yt=Fc(Rt,zt);if(!Yt||Yt.parent.kind===308)return;const An="[a-zA-Z0-9:\\-\\._$]*";if(tT(Yt.parent.parent)){const vn=Yt.parent.parent.openingFragment,Ft=Yt.parent.parent.closingFragment;if(mI(vn)||mI(Ft))return;const bn=vn.getStart(zt)+1,Pr=Ft.getStart(zt)+2;return Rt!==bn&&Rt!==Pr?void 0:{ranges:[{start:bn,length:0},{start:Pr,length:0}],wordPattern:An}}else{const vn=Rn(Yt.parent,wo=>!!(ph(wo)||VS(wo)));if(!vn)return;C.assert(ph(vn)||VS(vn),"tag should be opening or closing element");const Ft=vn.parent.openingElement,bn=vn.parent.closingElement,Pr=Ft.tagName.getStart(zt),tr=Ft.tagName.end,kt=bn.tagName.getStart(zt),ti=bn.tagName.end;return Pr===Ft.getStart(zt)||kt===bn.getStart(zt)||tr===Ft.getEnd()||ti===bn.getEnd()||!(Pr<=Rt&&Rt<=tr||kt<=Rt&&Rt<=ti)||Ft.tagName.getText(zt)!==bn.tagName.getText(zt)?void 0:{ranges:[{start:Pr,length:tr-Pr},{start:kt,length:ti-kt}],wordPattern:An}}}function dt(vt,Rt){return{lineStarts:vt.getLineStarts(),firstLine:vt.getLineAndCharacterOfPosition(Rt.pos).line,lastLine:vt.getLineAndCharacterOfPosition(Rt.end).line}}function Lt(vt,Rt,zt){const Yt=s.getCurrentSourceFile(vt),An=[],{lineStarts:vn,firstLine:Ft,lastLine:bn}=dt(Yt,Rt);let Pr=zt||!1,tr=Number.MAX_VALUE;const kt=new Map,ti=new RegExp(/\S/),ea=v7(Yt,vn[Ft]),wo=ea?"{/*":"//";for(let vo=Ft;vo<=bn;vo++){const fs=Yt.text.substring(vn[vo],Yt.getLineEndOfPosition(vn[vo])),xs=ti.exec(fs);xs&&(tr=Math.min(tr,xs.index),kt.set(vo.toString(),xs.index),fs.substr(xs.index,wo.length)!==wo&&(Pr=zt===void 0||zt))}for(let vo=Ft;vo<=bn;vo++){if(Ft!==bn&&vn[vo]===Rt.end)continue;const fs=kt.get(vo.toString());fs!==void 0&&(ea?An.push(...He(vt,{pos:vn[vo]+tr,end:Yt.getLineEndOfPosition(vn[vo])},Pr,ea)):Pr?An.push({newText:wo,span:{length:0,start:vn[vo]+tr}}):Yt.text.substr(vn[vo]+fs,wo.length)===wo&&An.push({newText:"",span:{length:wo.length,start:vn[vo]+fs}}))}return An}function He(vt,Rt,zt,Yt){var An;const vn=s.getCurrentSourceFile(vt),Ft=[],{text:bn}=vn;let Pr=!1,tr=zt||!1;const kt=[];let{pos:ti}=Rt;const ea=Yt!==void 0?Yt:v7(vn,ti),wo=ea?"{/*":"/*",vo=ea?"*/}":"*/",fs=ea?"\\{\\/\\*":"\\/\\*",xs=ea?"\\*\\/\\}":"\\*\\/";for(;ti<=Rt.end;){const ms=bn.substr(ti,wo.length)===wo?wo.length:0,ro=yv(vn,ti+ms);if(ro)ea&&(ro.pos--,ro.end++),kt.push(ro.pos),ro.kind===3&&kt.push(ro.end),Pr=!0,ti=ro.end+1;else{const zo=bn.substring(ti,Rt.end).search("(".concat(fs,")|(").concat(xs,")"));tr=zt!==void 0?zt:tr||!pce(bn,ti,zo===-1?Rt.end:ti+zo),ti=zo===-1?Rt.end+1:ti+zo+vo.length}}if(tr||!Pr){((An=yv(vn,Rt.pos))==null?void 0:An.kind)!==2&&tb(kt,Rt.pos,Js),tb(kt,Rt.end,Js);const ms=kt[0];bn.substr(ms,wo.length)!==wo&&Ft.push({newText:wo,span:{length:0,start:ms}});for(let ro=1;ro<kt.length-1;ro++)bn.substr(kt[ro]-vo.length,vo.length)!==vo&&Ft.push({newText:vo,span:{length:0,start:kt[ro]}}),bn.substr(kt[ro],wo.length)!==wo&&Ft.push({newText:wo,span:{length:0,start:kt[ro]}});Ft.length%2!==0&&Ft.push({newText:vo,span:{length:0,start:kt[kt.length-1]}})}else for(const ms of kt){const ro=ms-vo.length>0?ms-vo.length:0,zo=bn.substr(ro,vo.length)===vo?vo.length:0;Ft.push({newText:"",span:{length:wo.length,start:ms-zo}})}return Ft}function Ct(vt,Rt){const zt=s.getCurrentSourceFile(vt),{firstLine:Yt,lastLine:An}=dt(zt,Rt);return Yt===An&&Rt.pos!==Rt.end?He(vt,Rt,!0):Lt(vt,Rt,!0)}function Nt(vt,Rt){const zt=s.getCurrentSourceFile(vt),Yt=[],{pos:An}=Rt;let{end:vn}=Rt;An===vn&&(vn+=v7(zt,An)?2:1);for(let Ft=An;Ft<=vn;Ft++){const bn=yv(zt,Ft);if(bn){switch(bn.kind){case 2:Yt.push(...Lt(vt,{end:bn.end,pos:bn.pos+1},!1));break;case 3:Yt.push(...He(vt,{end:bn.end,pos:bn.pos+1},!1))}Ft=bn.end+1}}return Yt}function Wt({openingElement:vt,closingElement:Rt,parent:zt}){return!sT(vt.tagName,Rt.tagName)||l_(zt)&&sT(vt.tagName,zt.openingElement.tagName)&&Wt(zt)}function rt({closingFragment:vt,parent:Rt}){return!!(vt.flags&262144)||tT(Rt)&&rt(Rt)}function Zt(vt,Rt,zt){const Yt=s.getCurrentSourceFile(vt),An=Dc.getRangeOfEnclosingComment(Yt,Rt);return An&&(!zt||An.kind===3)?bv(An):void 0}function Rr(vt,Rt){M();const zt=N(vt);_.throwIfCancellationRequested();const Yt=zt.text,An=[];if(Rt.length>0&&!Pr(zt.fileName)){const tr=Ft();let kt;for(;kt=tr.exec(Yt);){_.throwIfCancellationRequested();const ti=3;C.assert(kt.length===Rt.length+ti);const ea=kt[1],wo=kt.index+ea.length;if(!yv(zt,wo))continue;let vo;for(let xs=0;xs<Rt.length;xs++)kt[xs+ti]&&(vo=Rt[xs]);if(vo===void 0)return C.fail();if(bn(Yt.charCodeAt(wo+vo.text.length)))continue;const fs=kt[2];An.push({descriptor:vo,message:fs,position:wo})}}return An;function vn(tr){return tr.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function Ft(){const tr=/(?:\/{2,}\s*)/.source,kt=/(?:\/\*+\s*)/.source,ea="("+/(?:^(?:\s|\*)*)/.source+"|"+tr+"|"+kt+")",wo="(?:"+Gt(Rt,ro=>"("+vn(ro.text)+")").join("|")+")",vo=/(?:$|\*\/)/.source,fs=/(?:.*?)/.source,xs="("+wo+fs+")",ms=ea+xs+vo;return new RegExp(ms,"gim")}function bn(tr){return tr>=97&&tr<=122||tr>=65&&tr<=90||tr>=48&&tr<=57}function Pr(tr){return tr.includes("/node_modules/")}}function Oe(vt,Rt,zt){return M(),Pz.getRenameInfo(l,N(vt),Rt,zt||{})}function At(vt,Rt,zt,Yt,An,vn){const[Ft,bn]=typeof Rt=="number"?[Rt,void 0]:[Rt.pos,Rt.end];return{file:vt,startPosition:Ft,endPosition:bn,program:F(),host:e,formatContext:Dc.getFormatContext(Yt,e),cancellationToken:_,preferences:zt,triggerReason:An,kind:vn}}function ye(vt,Rt,zt){return{file:vt,program:F(),host:e,span:Rt,preferences:zt,cancellationToken:_}}function B(vt,Rt){return fX.getSmartSelectionRange(Rt,s.getCurrentSourceFile(vt))}function xe(vt,Rt,zt=xm,Yt,An,vn){M();const Ft=N(vt);return yx.getApplicableRefactors(At(Ft,Rt,zt,xm,Yt,An),vn)}function te(vt,Rt,zt=xm){M();const Yt=N(vt),An=C.checkDefined(l.getSourceFiles()),vn=IM(vt),Ft=BO(At(Yt,Rt,zt,xm)),bn=Cde(Ft==null?void 0:Ft.all),Pr=Hi(An,tr=>{const kt=IM(tr.fileName);return!(l!=null&&l.isSourceFileFromExternalLibrary(Yt))&&!(Yt===N(tr.fileName)||vn===".ts"&&kt===".d.ts"||vn===".d.ts"&&fo(Ec(tr.fileName),"lib.")&&kt===".d.ts")&&(vn===kt||(vn===".tsx"&&kt===".ts"||vn===".jsx"&&kt===".js")&&!bn)?tr.fileName:void 0});return{newFileName:Dde(Yt,l,e,Ft),files:Pr}}function xt(vt,Rt,zt,Yt,An,vn=xm,Ft){M();const bn=N(vt);return yx.getEditsForRefactor(At(bn,zt,vn,Rt),Yt,An,Ft)}function $t(vt,Rt){return Rt===0?{line:0,character:0}:R.toLineColumnOffset(vt,Rt)}function Pe(vt,Rt){M();const zt=vx.resolveCallHierarchyDeclaration(l,ap(N(vt),Rt));return zt&&EJ(zt,Yt=>vx.createCallHierarchyItem(l,Yt))}function yt(vt,Rt){M();const zt=N(vt),Yt=AJ(vx.resolveCallHierarchyDeclaration(l,Rt===0?zt:ap(zt,Rt)));return Yt?vx.getIncomingCalls(l,Yt,_):[]}function jt(vt,Rt){M();const zt=N(vt),Yt=AJ(vx.resolveCallHierarchyDeclaration(l,Rt===0?zt:ap(zt,Rt)));return Yt?vx.getOutgoingCalls(l,Yt):[]}function or(vt,Rt,zt=xm){M();const Yt=N(vt);return sX.provideInlayHints(ye(Yt,Rt,zt))}function $n(vt,Rt,zt,Yt,An){return lX.mapCode(s.getCurrentSourceFile(vt),Rt,zt,e,Dc.getFormatContext(Yt,e),An)}const fr={dispose:K,cleanupSemanticCache:j,getSyntacticDiagnostics:Q,getSemanticDiagnostics:J,getRegionSemanticDiagnostics:he,getSuggestionDiagnostics:$,getCompilerOptionsDiagnostics:ve,getSyntacticClassifications:Ur,getSemanticClassifications:Ci,getEncodedSyntacticClassifications:Qe,getEncodedSemanticClassifications:Cr,getCompletionsAtPosition:je,getCompletionEntryDetails:be,getCompletionEntrySymbol:ee,getSignatureHelpItems:ir,getQuickInfoAtPosition:Se,getDefinitionAtPosition:De,getDefinitionAndBoundSpan:_e,getImplementationAtPosition:Ge,getTypeDefinitionAtPosition:Ve,getReferencesAtPosition:Ot,findReferences:mn,getFileReferences:Hn,getDocumentHighlights:Be,getNameOrDottedNameSpan:_o,getBreakpointStatementAtPosition:Ht,getNavigateToItems:gt,getRenameInfo:Oe,getSmartSelectionRange:B,findRenameLocations:ot,getNavigationBarItems:Qr,getNavigationTree:go,getOutliningSpans:It,getTodoComments:Rr,getBraceMatchingAtPosition:pr,getIndentationAtPosition:oi,getFormattingEditsForRange:di,getFormattingEditsForDocument:Ki,getFormattingEditsAfterKeystroke:Zo,getDocCommentTemplateAtPosition:_t,isValidBraceCompletionAtPosition:ie,getJsxClosingTagAtPosition:We,getLinkedEditingRangeAtPosition:it,getSpanOfEnclosingComment:Zt,getCodeFixesAtPosition:Da,getCombinedCodeFix:Pn,applyCodeActionCommand:Bt,organizeImports:qo,getEditsForFileRename:at,getEmitOutput:tn,getNonBoundSourceFile:Ri,getProgram:F,getCurrentProgram:()=>l,getAutoImportProvider:O,updateIsDefinitionOfReferencedSymbols:G,getApplicableRefactors:xe,getEditsForRefactor:xt,getMoveToRefactoringFileSuggestions:te,toLineColumnOffset:$t,getSourceMapper:()=>R,clearSourceMapperCache:()=>R.clearCache(),prepareCallHierarchy:Pe,provideCallHierarchyIncomingCalls:yt,provideCallHierarchyOutgoingCalls:jt,toggleLineComment:Lt,toggleMultilineComment:He,commentSelection:Ct,uncommentSelection:Nt,provideInlayHints:or,getSupportedCodeFixes:fK,preparePasteEditsForFile:Ne,getPasteEdits:ze,mapCode:$n};switch(o){case 0:break;case 1:$De.forEach(vt=>fr[vt]=()=>{throw new Error("LanguageService Operation: ".concat(vt," not allowed in LanguageServiceMode.PartialSemantic"))});break;case 2:RQe.forEach(vt=>fr[vt]=()=>{throw new Error("LanguageService Operation: ".concat(vt," not allowed in LanguageServiceMode.Syntactic"))});break;default:C.assertNever(o)}return fr}function hK(e){return e.nameTable||DQe(e),e.nameTable}function DQe(e){const t=e.nameTable=new Map;e.forEachChild(function r(i){if(Je(i)&&!wq(i)&&i.escapedText||pf(i)&&CQe(i)){const o=sM(i);t.set(o,t.get(o)===void 0?i.pos:-1)}else if(to(i)){const o=i.escapedText;t.set(o,t.get(o)===void 0?i.pos:-1)}if(Xo(i,r),nf(i))for(const o of i.jsDoc)Xo(o,r)})}function CQe(e){return z_(e)||e.parent.kind===284||PQe(e)||Rk(e)}function UO(e){const t=NQe(e);return t&&(za(t.parent)||jS(t.parent))?t:void 0}function NQe(e){switch(e.kind){case 11:case 15:case 9:if(e.parent.kind===168)return uG(e.parent.parent)?e.parent.parent:void 0;case 80:case 296:return uG(e.parent)&&(e.parent.parent.kind===211||e.parent.parent.kind===293)&&e.parent.name===e?e.parent:void 0}}function MQe(e,t){const r=UO(e);if(r){const i=t.getContextualType(r.parent),o=i&&uz(r,t,i,!1);if(o&&o.length===1)return Qa(o)}return t.getSymbolAtLocation(e)}function uz(e,t,r,i){const o=IO(e.name);if(!o)return se;if(!r.isUnion()){const u=r.getProperty(o);return u?[u]:se}const s=za(e.parent)||jS(e.parent)?Fn(r.types,u=>!t.isTypeInvalidDueToUnionDiscriminant(u,e.parent)):r.types,l=Hi(s,u=>u.getProperty(o));if(i&&(l.length===0||l.length===r.types.length)){const u=r.getProperty(o);if(u)return[u]}return!s.length&&!l.length?Hi(r.types,u=>u.getProperty(o)):cS(l,ab)}function PQe(e){return e&&e.parent&&e.parent.kind===213&&e.parent.argumentExpression===e}function mue(e){if(Vc)return ei(pi(Sa(Vc.getExecutingFilePath())),N2(e));throw new Error("getDefaultLibFilePath is only supported when consumed as a node module. ")}hre(EQe());function QDe(e,t,r){const i=[];r=UJ(r,i);const o=Lo(e)?e:[e],s=Qw(void 0,void 0,L,r,o,t,!0);return s.diagnostics=co(s.diagnostics,i),s}var _K={};x(_K,{spanInSourceFileAtLocation:()=>LQe});function LQe(e,t){if(e.isDeclarationFile)return;let r=Fi(e,t);const i=e.getLineAndCharacterOfPosition(t).line;if(e.getLineAndCharacterOfPosition(r.getStart(e)).line>i){const y=Fc(r.pos,e);if(!y||e.getLineAndCharacterOfPosition(y.getEnd()).line!==i)return;r=y}if(r.flags&33554432)return;return m(r);function o(y,E){const A=qS(y)?pa(y.modifiers,wc):void 0,R=A?wa(e.text,A.end):y.getStart(e);return oc(R,(E||y).getEnd())}function s(y,E){return o(y,eE(E,E.parent,e))}function l(y,E){return y&&i===e.getLineAndCharacterOfPosition(y.getStart(e)).line?m(y):m(E)}function u(y,E,A){if(y){const R=y.indexOf(E);if(R>=0){let N=R,M=R+1;for(;N>0&&A(y[N-1]);)N--;for(;M<y.length&&A(y[M]);)M++;return oc(wa(e.text,y[N].pos),y[M-1].end)}}return o(E)}function d(y){return m(Fc(y.pos,e))}function _(y){return m(eE(y,y.parent,e))}function m(y){if(y){const{parent:$}=y;switch(y.kind){case 244:return A(y.declarationList.declarations[0]);case 261:case 173:case 172:return A(y);case 170:return N(y);case 263:case 175:case 174:case 178:case 179:case 177:case 219:case 220:return k(y);case 242:if(SS(y))return F(y);case 269:return O(y);case 300:return O(y.block);case 245:return o(y.expression);case 254:return o(y.getChildAt(0),y.expression);case 248:return s(y,y.expression);case 247:return m(y.statement);case 260:return o(y.getChildAt(0));case 246:return s(y,y.expression);case 257:return m(y.statement);case 253:case 252:return o(y.getChildAt(0),y.label);case 249:return j(y);case 250:return s(y,y.expression);case 251:return G(y);case 256:return s(y,y.expression);case 297:case 298:return m(y.statements[0]);case 259:return O(y.tryBlock);case 258:return o(y,y.expression);case 278:return o(y,y.expression);case 272:return o(y,y.moduleReference);case 273:return o(y,y.moduleSpecifier);case 279:return o(y,y.moduleSpecifier);case 268:if(vy(y)!==1)return;case 264:case 267:case 307:case 209:return o(y);case 255:return m(y.statement);case 171:return u($.modifiers,y,wc);case 207:case 208:return K(y);case 265:case 266:return;case 27:case 1:return l(Fc(y.pos,e));case 28:return d(y);case 19:return J(y);case 20:return he(y);case 24:return re(y);case 21:return q(y);case 22:return ue(y);case 59:return de(y);case 32:case 30:return ge(y);case 117:return Ae(y);case 93:case 85:case 98:return _(y);case 165:return Re(y);default:if(vv(y))return Q(y);if((y.kind===80||y.kind===231||y.kind===304||y.kind===305)&&vv($))return o(y);if(y.kind===227){const{left:ve,operatorToken:je}=y;if(vv(ve))return Q(ve);if(je.kind===64&&vv(y.parent))return o(y);if(je.kind===28)return m(ve)}if(F_(y))switch($.kind){case 247:return d(y);case 171:return m(y.parent);case 249:case 251:return o(y);case 227:if(y.parent.operatorToken.kind===28)return o(y);break;case 220:if(y.parent.body===y)return o(y);break}switch(y.parent.kind){case 304:if(y.parent.name===y&&!vv(y.parent.parent))return m(y.parent.initializer);break;case 217:if(y.parent.type===y)return _(y.parent.type);break;case 261:case 170:{const{initializer:ve,type:je}=y.parent;if(ve===y||je===y||py(y.kind))return d(y);break}case 227:{const{left:ve}=y.parent;if(vv(ve)&&y!==ve)return d(y);break}default:if(Yo(y.parent)&&y.parent.type===y)return d(y)}return m(y.parent)}}function E($){return _d($.parent)&&$.parent.declarations[0]===$?o(Fc($.pos,e,$.parent),$):o($)}function A($){if($.parent.parent.kind===250)return m($.parent.parent);const ve=$.parent;if(na($.name))return K($.name);if(e1($)&&$.initializer||fi($,32)||ve.parent.kind===251)return E($);if(_d($.parent)&&$.parent.declarations[0]!==$)return m(Fc($.pos,e,$.parent))}function R($){return!!$.initializer||$.dotDotDotToken!==void 0||fi($,3)}function N($){if(na($.name))return K($.name);if(R($))return o($);{const ve=$.parent,je=ve.parameters.indexOf($);return C.assert(je!==-1),je!==0?N(ve.parameters[je-1]):m(ve.body)}}function M($){return fi($,32)||$.parent.kind===264&&$.kind!==177}function k($){if($.body)return M($)?o($):m($.body)}function F($){const ve=$.statements.length?$.statements[0]:$.getLastToken();return M($.parent)?l($.parent,ve):m(ve)}function O($){switch($.parent.kind){case 268:if(vy($.parent)!==1)return;case 248:case 246:case 250:return l($.parent,$.statements[0]);case 249:case 251:return l(Fc($.pos,e,$.parent),$.statements[0])}return m($.statements[0])}function G($){if($.initializer.kind===262){const ve=$.initializer;if(ve.declarations.length>0)return m(ve.declarations[0])}else return m($.initializer)}function j($){if($.initializer)return G($);if($.condition)return o($.condition);if($.incrementor)return o($.incrementor)}function K($){const ve=Xe($.elements,je=>je.kind!==233?je:void 0);return ve?m(ve):$.parent.kind===209?o($.parent):E($.parent)}function Q($){C.assert($.kind!==208&&$.kind!==207);const ve=$.kind===210?$.elements:$.properties,je=Xe(ve,be=>be.kind!==233?be:void 0);return je?m(je):o($.parent.kind===227?$.parent:$)}function J($){switch($.parent.kind){case 267:const ve=$.parent;return l(Fc($.pos,e,$.parent),ve.members.length?ve.members[0]:ve.getLastToken(e));case 264:const je=$.parent;return l(Fc($.pos,e,$.parent),je.members.length?je.members[0]:je.getLastToken(e));case 270:return l($.parent.parent,$.parent.clauses[0])}return m($.parent)}function he($){switch($.parent.kind){case 269:if(vy($.parent.parent)!==1)return;case 267:case 264:return o($);case 242:if(SS($.parent))return o($);case 300:return m(rl($.parent.statements));case 270:const ve=$.parent,je=rl(ve.clauses);return je?m(rl(je.statements)):void 0;case 207:const be=$.parent;return m(rl(be.elements)||be);default:if(vv($.parent)){const ee=$.parent;return o(rl(ee.properties)||ee)}return m($.parent)}}function re($){switch($.parent.kind){case 208:const ve=$.parent;return o(rl(ve.elements)||ve);default:if(vv($.parent)){const je=$.parent;return o(rl(je.elements)||je)}return m($.parent)}}function q($){return $.parent.kind===247||$.parent.kind===214||$.parent.kind===215?d($):$.parent.kind===218?_($):m($.parent)}function ue($){switch($.parent.kind){case 219:case 263:case 220:case 175:case 174:case 178:case 179:case 177:case 248:case 247:case 249:case 251:case 214:case 215:case 218:return d($);default:return m($.parent)}}function de($){return Yo($.parent)||$.parent.kind===304||$.parent.kind===170?d($):m($.parent)}function ge($){return $.parent.kind===217?_($):m($.parent)}function Ae($){return $.parent.kind===247?s($,$.parent.expression):m($.parent)}function Re($){return $.parent.kind===251?_($):m($.parent)}}}var vx={};x(vx,{createCallHierarchyItem:()=>hue,getIncomingCalls:()=>GQe,getOutgoingCalls:()=>$Qe,resolveCallHierarchyDeclaration:()=>aCe});function kQe(e){return(Ks(e)||uc(e))&&nd(e)}function ZDe(e){return ko(e)||bi(e)}function HO(e){return(Ks(e)||Zs(e)||uc(e))&&ZDe(e.parent)&&e===e.parent.initializer&&Je(e.parent.name)&&(!!(ay(e.parent)&2)||ko(e.parent))}function eCe(e){return Qi(e)||pc(e)||ec(e)||Ks(e)||xc(e)||uc(e)||Zl(e)||Ll(e)||Um(e)||qf(e)||bp(e)}function pC(e){return Qi(e)||pc(e)&&Je(e.name)||ec(e)||xc(e)||Zl(e)||Ll(e)||Um(e)||qf(e)||bp(e)||kQe(e)||HO(e)}function tCe(e){return Qi(e)?e:nd(e)?e.name:HO(e)?e.parent.name:C.checkDefined(e.modifiers&&_n(e.modifiers,nCe))}function nCe(e){return e.kind===90}function rCe(e,t){const r=tCe(t);return r&&e.getSymbolAtLocation(r)}function wQe(e,t){if(Qi(t))return{text:t.fileName,pos:0,end:0};if((ec(t)||xc(t))&&!nd(t)){const o=t.modifiers&&_n(t.modifiers,nCe);if(o)return{text:"default",pos:o.getStart(),end:o.getEnd()}}if(Zl(t)){const o=t.getSourceFile(),s=wa(o.text,t_(t).pos),l=s+6,u=e.getTypeChecker(),d=u.getSymbolAtLocation(t.parent),_=d?"".concat(u.symbolToString(d,t.parent)," "):"";return{text:"".concat(_,"static {}"),pos:s,end:l}}const r=HO(t)?t.parent.name:C.checkDefined(Fo(t),"Expected call hierarchy item to have a name");let i=Je(r)?Yr(r):pf(r)?r.text:Ea(r)&&pf(r.expression)?r.expression.text:void 0;if(i===void 0){const o=e.getTypeChecker(),s=o.getSymbolAtLocation(r);s&&(i=o.symbolToString(s,t))}if(i===void 0){const o=gH();i=HR(s=>o.writeNode(4,t,t.getSourceFile(),s))}return{text:i,pos:r.getStart(),end:r.getEnd()}}function OQe(e){var t,r,i,o;if(HO(e))return ko(e.parent)&&hi(e.parent.parent)?uc(e.parent.parent)?(t=fF(e.parent.parent))==null?void 0:t.getText():(r=e.parent.parent.name)==null?void 0:r.getText():a_(e.parent.parent.parent.parent)&&Je(e.parent.parent.parent.parent.parent.name)?e.parent.parent.parent.parent.parent.name.getText():void 0;switch(e.kind){case 178:case 179:case 175:return e.parent.kind===211?(i=fF(e.parent))==null?void 0:i.getText():(o=Fo(e.parent))==null?void 0:o.getText();case 263:case 264:case 268:if(a_(e.parent)&&Je(e.parent.parent.name))return e.parent.parent.name.getText()}}function iCe(e,t){if(t.body)return t;if(kl(t))return Sg(t.parent);if(ec(t)||Ll(t)){const r=rCe(e,t);return r&&r.valueDeclaration&&ks(r.valueDeclaration)&&r.valueDeclaration.body?r.valueDeclaration:void 0}return t}function oCe(e,t){const r=rCe(e,t);let i;if(r&&r.declarations){const o=VW(r.declarations),s=Gt(r.declarations,d=>({file:d.getSourceFile().fileName,pos:d.pos}));o.sort((d,_)=>Wd(s[d].file,s[_].file)||s[d].pos-s[_].pos);const l=Gt(o,d=>r.declarations[d]);let u;for(const d of l)pC(d)&&((!u||u.parent!==d.parent||u.end!==d.pos)&&(i=jn(i,d)),u=d)}return i}function gK(e,t){var r,i,o;return Zl(t)?t:ks(t)?(i=(r=iCe(e,t))!=null?r:oCe(e,t))!=null?i:t:(o=oCe(e,t))!=null?o:t}function aCe(e,t){const r=e.getTypeChecker();let i=!1;for(;;){if(pC(t))return gK(r,t);if(eCe(t)){const o=Rn(t,pC);return o&&gK(r,o)}if(z_(t)){if(pC(t.parent))return gK(r,t.parent);if(eCe(t.parent)){const o=Rn(t.parent,pC);return o&&gK(r,o)}return ZDe(t.parent)&&t.parent.initializer&&HO(t.parent.initializer)?t.parent.initializer:void 0}if(kl(t))return pC(t.parent)?t.parent:void 0;if(t.kind===126&&Zl(t.parent)){t=t.parent;continue}if(bi(t)&&t.initializer&&HO(t.initializer))return t.initializer;if(!i){let o=r.getSymbolAtLocation(t);if(o&&(o.flags&2097152&&(o=r.getAliasedSymbol(o)),o.valueDeclaration)){i=!0,t=o.valueDeclaration;continue}}return}}function hue(e,t){const r=t.getSourceFile(),i=wQe(e,t),o=OQe(t),s=ZS(t),l=CP(t),u=oc(wa(r.text,t.getFullStart(),!1,!0),t.getEnd()),d=oc(i.pos,i.end);return{file:r.fileName,kind:s,kindModifiers:l,name:i.text,containerName:o,span:u,selectionSpan:d}}function WQe(e){return e!==void 0}function FQe(e){if(e.kind===el.EntryKind.Node){const{node:t}=e;if(Mq(t,!0,!0)||Hle(t,!0,!0)||qle(t,!0,!0)||Jle(t,!0,!0)||ZD(t)||Oq(t)){const r=t.getSourceFile();return{declaration:Rn(t,pC)||r,range:$q(t,r)}}}}function sCe(e){return ls(e.declaration)}function zQe(e,t){return{from:e,fromSpans:t}}function BQe(e,t){return zQe(hue(e,t[0].declaration),Gt(t,r=>bv(r.range)))}function GQe(e,t,r){if(Qi(t)||pc(t)||Zl(t))return[];const i=tCe(t),o=Fn(el.findReferenceOrRenameEntries(e,r,e.getSourceFiles(),i,0,{use:el.FindReferencesUse.References},FQe),WQe);return o?RR(o,sCe,s=>BQe(e,s)):[]}function VQe(e,t){function r(o){const s=Y0(o)?o.tag:ru(o)?o.tagName:Qs(o)||Zl(o)?o:o.expression,l=aCe(e,s);if(l){const u=$q(s,o.getSourceFile());if(Lo(l))for(const d of l)t.push({declaration:d,range:u});else t.push({declaration:l,range:u})}}function i(o){if(o&&!(o.flags&33554432)){if(pC(o)){if(hi(o))for(const s of o.members)s.name&&Ea(s.name)&&i(s.name.expression);return}switch(o.kind){case 80:case 272:case 273:case 279:case 265:case 266:return;case 176:r(o);return;case 217:case 235:i(o.expression);return;case 261:case 170:i(o.name),i(o.initializer);return;case 214:r(o),i(o.expression),Xe(o.arguments,i);return;case 215:r(o),i(o.expression),Xe(o.arguments,i);return;case 216:r(o),i(o.tag),i(o.template);return;case 287:case 286:r(o),i(o.tagName),i(o.attributes);return;case 171:r(o),i(o.expression);return;case 212:case 213:r(o),Xo(o,i);break;case 239:i(o.expression);return}Yh(o)||Xo(o,i)}}return i}function jQe(e,t){Xe(e.statements,t)}function UQe(e,t){!fi(e,128)&&e.body&&a_(e.body)&&Xe(e.body.statements,t)}function HQe(e,t,r){const i=iCe(e,t);i&&(Xe(i.parameters,r),r(i.body))}function qQe(e,t){t(e.body)}function JQe(e,t){Xe(e.modifiers,t);const r=RS(e);r&&t(r.expression);for(const i of e.members)Im(i)&&Xe(i.modifiers,t),ko(i)?t(i.initializer):kl(i)&&i.body?(Xe(i.parameters,t),t(i.body)):Zl(i)&&t(i)}function KQe(e,t){const r=[],i=VQe(e,r);switch(t.kind){case 308:jQe(t,i);break;case 268:UQe(t,i);break;case 263:case 219:case 220:case 175:case 178:case 179:HQe(e.getTypeChecker(),t,i);break;case 264:case 232:JQe(t,i);break;case 176:qQe(t,i);break;default:C.assertNever(t)}return r}function XQe(e,t){return{to:e,fromSpans:t}}function YQe(e,t){return XQe(hue(e,t[0].declaration),Gt(t,r=>bv(r.range)))}function $Qe(e,t){return t.flags&33554432||Um(t)?[]:RR(KQe(e,t),sCe,r=>YQe(e,r))}var _ue={};x(_ue,{v2020:()=>lCe});var lCe={};x(lCe,{TokenEncodingConsts:()=>wDe,TokenModifier:()=>WDe,TokenType:()=>ODe,getEncodedSemanticClassifications:()=>cue,getSemanticClassifications:()=>FDe});var cu={};x(cu,{PreserveOptionalFlags:()=>SLe,addNewNodeForMemberSymbol:()=>ELe,codeFixAll:()=>Is,createCodeFixAction:()=>ca,createCodeFixActionMaybeFixAll:()=>vue,createCodeFixActionWithoutFixAll:()=>yh,createCombinedCodeActions:()=>bx,createFileTextChanges:()=>cCe,createImportAdder:()=>aE,createImportSpecifierResolver:()=>aet,createMissingMemberNodes:()=>zpe,createSignatureDeclarationFromCallExpression:()=>Bpe,createSignatureDeclarationFromSignature:()=>jK,createStubbedBody:()=>vz,eachDiagnostic:()=>Tx,findAncestorMatchingSpan:()=>Jpe,generateAccessorFromProperty:()=>MLe,getAccessorConvertiblePropertyAtPosition:()=>kLe,getAllFixes:()=>tZe,getFixes:()=>eZe,getImportCompletionAction:()=>set,getImportKind:()=>DK,getJSDocTypedefNodes:()=>iet,getNoopSymbolTrackerWithResolver:()=>mC,getPromoteTypeOnlyCompletionAction:()=>cet,getSupportedErrorCodes:()=>QQe,importFixName:()=>MNe,importSymbols:()=>V1,parameterShouldGetTypeFromJSDoc:()=>BCe,registerCodeFix:()=>Ia,setJsonCompilerOptionValue:()=>Hpe,setJsonCompilerOptionValues:()=>Upe,tryGetAutoImportableReferenceFromTypeNode:()=>sE,typeNodeToAutoImportableTypeNode:()=>Gpe,typePredicateToAutoImportableTypeNode:()=>xLe,typeToAutoImportableTypeNode:()=>UK,typeToMinimizedReferenceType:()=>ILe});var gue=fm(),yue=new Map;function yh(e,t,r){return bue(e,tE(r),t,void 0,void 0)}function ca(e,t,r,i,o,s){return bue(e,tE(r),t,i,tE(o),s)}function vue(e,t,r,i,o,s){return bue(e,tE(r),t,i,o&&tE(o),s)}function bue(e,t,r,i,o,s){return{fixName:e,description:t,changes:r,fixId:i,fixAllDescription:o,commands:s?[s]:void 0}}function Ia(e){for(const t of e.errorCodes)pz=void 0,gue.add(String(t),e);if(e.fixIds)for(const t of e.fixIds)C.assert(!yue.has(t)),yue.set(t,e)}var pz;function QQe(){return pz!=null?pz:pz=Mo(gue.keys())}function ZQe(e,t){const{errorCodes:r}=e;let i=0;for(const s of t)if(Vn(r,s.code)&&i++,i>1)break;const o=i<2;return({fixId:s,fixAllDescription:l,...u})=>o?u:{...u,fixId:s,fixAllDescription:l}}function eZe(e){const t=dCe(e),r=gue.get(String(e.errorCode));return Wi(r,i=>Gt(i.getCodeActions(e),ZQe(i,t)))}function tZe(e){return yue.get(va(e.fixId,jo)).getAllCodeActions(e)}function bx(e,t){return{changes:e,commands:t}}function cCe(e,t){return{fileName:e,textChanges:t}}function Is(e,t,r){const i=[],o=Ir.ChangeTracker.with(e,s=>Tx(e,t,l=>r(s,l,i)));return bx(o,i.length===0?void 0:i)}function Tx(e,t,r){for(const i of dCe(e))Vn(t,i.code)&&r(i)}function dCe({program:e,sourceFile:t,cancellationToken:r}){const i=[...e.getSemanticDiagnostics(t,r),...e.getSyntacticDiagnostics(t,r),...BJ(t,e,r)];return vp(e.getCompilerOptions())&&i.push(...e.getDeclarationDiagnostics(t,r)),i}var Tue="addConvertToUnknownForNonOverlappingTypes",uCe=[f.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];Ia({errorCodes:uCe,getCodeActions:function(t){const r=fCe(t.sourceFile,t.span.start);if(r===void 0)return;const i=Ir.ChangeTracker.with(t,o=>pCe(o,t.sourceFile,r));return[ca(Tue,i,f.Add_unknown_conversion_for_non_overlapping_types,Tue,f.Add_unknown_to_all_conversions_of_non_overlapping_types)]},fixIds:[Tue],getAllCodeActions:e=>Is(e,uCe,(t,r)=>{const i=fCe(r.file,r.start);i&&pCe(t,r.file,i)})});function pCe(e,t,r){const i=AD(r)?L.createAsExpression(r.expression,L.createKeywordTypeNode(159)):L.createTypeAssertion(L.createKeywordTypeNode(159),r.expression);e.replaceNode(t,r.expression,i)}function fCe(e,t){if(!Er(e))return Rn(Fi(e,t),r=>AD(r)||S4(r))}Ia({errorCodes:[f.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,f.await_using_statements_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,f.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(t){const{sourceFile:r}=t,i=Ir.ChangeTracker.with(t,o=>{const s=L.createExportDeclaration(void 0,!1,L.createNamedExports([]),void 0);o.insertNodeAtEndOfScope(r,r,s)});return[yh("addEmptyExportDeclaration",i,f.Add_export_to_make_this_file_into_a_module)]}});var Sue="addMissingAsync",mCe=[f.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,f.Type_0_is_not_assignable_to_type_1.code,f.Type_0_is_not_comparable_to_type_1.code];Ia({fixIds:[Sue],errorCodes:mCe,getCodeActions:function(t){const{sourceFile:r,errorCode:i,cancellationToken:o,program:s,span:l}=t,u=_n(s.getTypeChecker().getDiagnostics(r,o),rZe(l,i)),d=u&&u.relatedInformation&&_n(u.relatedInformation,y=>y.code===f.Did_you_mean_to_mark_this_function_as_async.code),_=_Ce(r,d);return _?[hCe(t,_,y=>Ir.ChangeTracker.with(t,y))]:void 0},getAllCodeActions:e=>{const{sourceFile:t}=e,r=new Set;return Is(e,mCe,(i,o)=>{const s=o.relatedInformation&&_n(o.relatedInformation,d=>d.code===f.Did_you_mean_to_mark_this_function_as_async.code),l=_Ce(t,s);return l?hCe(e,l,d=>(d(i),[]),r):void 0})}});function hCe(e,t,r,i){const o=r(s=>nZe(s,e.sourceFile,t,i));return ca(Sue,o,f.Add_async_modifier_to_containing_function,Sue,f.Add_all_missing_async_modifiers)}function nZe(e,t,r,i){if(i&&i.has(ls(r)))return;i==null||i.add(ls(r));const o=L.replaceModifiers(ys(r,!0),L.createNodeArray(L.createModifiersFromModifierFlags(av(r)|1024)));e.replaceNode(t,r,o)}function _Ce(e,t){if(!t)return;const r=Fi(e,t.start);return Rn(r,o=>o.getStart(e)<t.start||o.getEnd()>Ml(t)?"quit":(Zs(o)||Ll(o)||Ks(o)||ec(o))&&oC(t,Vu(o,e)))}function rZe(e,t){return({start:r,length:i,relatedInformation:o,code:s})=>ib(r)&&ib(i)&&oC({start:r,length:i},e)&&s===t&&!!o&&bt(o,l=>l.code===f.Did_you_mean_to_mark_this_function_as_async.code)}var Eue="addMissingAwait",gCe=f.Property_0_does_not_exist_on_type_1.code,yCe=[f.This_expression_is_not_callable.code,f.This_expression_is_not_constructable.code],Aue=[f.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,f.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,f.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,f.Operator_0_cannot_be_applied_to_type_1.code,f.Operator_0_cannot_be_applied_to_types_1_and_2.code,f.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap.code,f.This_condition_will_always_return_true_since_this_0_is_always_defined.code,f.Type_0_is_not_an_array_type.code,f.Type_0_is_not_an_array_type_or_a_string_type.code,f.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher.code,f.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,f.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,f.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,f.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,f.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,gCe,...yCe];Ia({fixIds:[Eue],errorCodes:Aue,getCodeActions:function(t){const{sourceFile:r,errorCode:i,span:o,cancellationToken:s,program:l}=t,u=vCe(r,i,o,s,l);if(!u)return;const d=t.program.getTypeChecker(),_=m=>Ir.ChangeTracker.with(t,m);return m2([bCe(t,u,i,d,_),TCe(t,u,i,d,_)])},getAllCodeActions:e=>{const{sourceFile:t,program:r,cancellationToken:i}=e,o=e.program.getTypeChecker(),s=new Set;return Is(e,Aue,(l,u)=>{const d=vCe(t,u.code,u,i,r);if(!d)return;const _=m=>(m(l),[]);return bCe(e,d,u.code,o,_,s)||TCe(e,d,u.code,o,_,s)})}});function vCe(e,t,r,i,o){const s=SJ(e,r);return s&&iZe(e,t,r,i,o)&&SCe(s)?s:void 0}function bCe(e,t,r,i,o,s){const{sourceFile:l,program:u,cancellationToken:d}=e,_=oZe(t,l,d,u,i);if(_){const m=o(y=>{Xe(_.initializers,({expression:E})=>Iue(y,r,l,i,E,s)),s&&_.needsSecondPassForFixAll&&Iue(y,r,l,i,t,s)});return yh("addMissingAwaitToInitializer",m,_.initializers.length===1?[f.Add_await_to_initializer_for_0,_.initializers[0].declarationSymbol.name]:f.Add_await_to_initializers)}}function TCe(e,t,r,i,o,s){const l=o(u=>Iue(u,r,e.sourceFile,i,t,s));return ca(Eue,l,f.Add_await,Eue,f.Fix_all_expressions_possibly_missing_await)}function iZe(e,t,r,i,o){const l=o.getTypeChecker().getDiagnostics(e,i);return bt(l,({start:u,length:d,relatedInformation:_,code:m})=>ib(u)&&ib(d)&&oC({start:u,length:d},r)&&m===t&&!!_&&bt(_,y=>y.code===f.Did_you_forget_to_use_await.code))}function oZe(e,t,r,i,o){const s=aZe(e,o);if(!s)return;let l=s.isCompleteFix,u;for(const d of s.identifiers){const _=o.getSymbolAtLocation(d);if(!_)continue;const m=ii(_.valueDeclaration,bi),y=m&&ii(m.name,Je),E=j0(m,244);if(!m||!E||m.type||!m.initializer||E.getSourceFile()!==t||fi(E,32)||!y||!SCe(m.initializer)){l=!1;continue}const A=i.getSemanticDiagnostics(t,r);if(el.Core.eachSymbolReferenceInFile(y,o,t,N=>d!==N&&!sZe(N,A,t,o))){l=!1;continue}(u||(u=[])).push({expression:m.initializer,declarationSymbol:_})}return u&&{initializers:u,needsSecondPassForFixAll:!l}}function aZe(e,t){if(Jr(e.parent)&&Je(e.parent.expression))return{identifiers:[e.parent.expression],isCompleteFix:!0};if(Je(e))return{identifiers:[e],isCompleteFix:!0};if(Nr(e)){let r,i=!0;for(const o of[e.left,e.right]){const s=t.getTypeAtLocation(o);if(t.getPromisedTypeOfPromise(s)){if(!Je(o)){i=!1;continue}(r||(r=[])).push(o)}}return r&&{identifiers:r,isCompleteFix:i}}}function sZe(e,t,r,i){const o=Jr(e.parent)?e.parent.name:Nr(e.parent)?e.parent:e,s=_n(t,l=>l.start===o.getStart(r)&&l.start+l.length===o.getEnd());return s&&Vn(Aue,s.code)||i.getTypeAtLocation(o).flags&1}function SCe(e){return e.flags&65536||!!Rn(e,t=>t.parent&&Zs(t.parent)&&t.parent.body===t||ia(t)&&(t.parent.kind===263||t.parent.kind===219||t.parent.kind===220||t.parent.kind===175))}function Iue(e,t,r,i,o,s){if(yw(o.parent)&&!o.parent.awaitModifier){const l=i.getTypeAtLocation(o),u=i.getAnyAsyncIterableType();if(u&&i.isTypeAssignableTo(l,u)){const d=o.parent;e.replaceNode(r,d,L.updateForOfStatement(d,L.createToken(135),d.initializer,d.expression,d.statement));return}}if(Nr(o))for(const l of[o.left,o.right]){if(s&&Je(l)){const _=i.getSymbolAtLocation(l);if(_&&s.has(Aa(_)))continue}const u=i.getTypeAtLocation(l),d=i.getPromisedTypeOfPromise(u)?L.createAwaitExpression(l):l;e.replaceNode(r,l,d)}else if(t===gCe&&Jr(o.parent)){if(s&&Je(o.parent.expression)){const l=i.getSymbolAtLocation(o.parent.expression);if(l&&s.has(Aa(l)))return}e.replaceNode(r,o.parent.expression,L.createParenthesizedExpression(L.createAwaitExpression(o.parent.expression))),ECe(e,o.parent.expression,r)}else if(Vn(yCe,t)&&qh(o.parent)){if(s&&Je(o)){const l=i.getSymbolAtLocation(o);if(l&&s.has(Aa(l)))return}e.replaceNode(r,o,L.createParenthesizedExpression(L.createAwaitExpression(o))),ECe(e,o,r)}else{if(s&&bi(o.parent)&&Je(o.parent.name)){const l=i.getSymbolAtLocation(o.parent.name);if(l&&!rh(s,Aa(l)))return}e.replaceNode(r,o,L.createAwaitExpression(o))}}function ECe(e,t,r){const i=Fc(t.pos,r);i&&k7(i.end,i.parent,r)&&e.insertText(r,t.getStart(r),";")}var xue="addMissingConst",ACe=[f.Cannot_find_name_0.code,f.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code];Ia({errorCodes:ACe,getCodeActions:function(t){const r=Ir.ChangeTracker.with(t,i=>ICe(i,t.sourceFile,t.span.start,t.program));if(r.length>0)return[ca(xue,r,f.Add_const_to_unresolved_variable,xue,f.Add_const_to_all_unresolved_variables)]},fixIds:[xue],getAllCodeActions:e=>{const t=new Set;return Is(e,ACe,(r,i)=>ICe(r,i.file,i.start,e.program,t))}});function ICe(e,t,r,i,o){const s=Fi(t,r),l=Rn(s,_=>ZE(_.parent)?_.parent.initializer===_:lZe(_)?!1:"quit");if(l)return yK(e,l,t,o);const u=s.parent;if(Nr(u)&&u.operatorToken.kind===64&&od(u.parent))return yK(e,s,t,o);if(Dd(u)){const _=i.getTypeChecker();return Gn(u.elements,m=>cZe(m,_))?yK(e,u,t,o):void 0}const d=Rn(s,_=>od(_.parent)?!0:dZe(_)?!1:"quit");if(d){const _=i.getTypeChecker();return xCe(d,_)?yK(e,d,t,o):void 0}}function yK(e,t,r,i){(!i||rh(i,t))&&e.insertModifierBefore(r,87,t)}function lZe(e){switch(e.kind){case 80:case 210:case 211:case 304:case 305:return!0;default:return!1}}function cZe(e,t){const r=Je(e)?e:id(e,!0)&&Je(e.left)?e.left:void 0;return!!r&&!t.getSymbolAtLocation(r)}function dZe(e){switch(e.kind){case 80:case 227:case 28:return!0;default:return!1}}function xCe(e,t){return Nr(e)?e.operatorToken.kind===28?Gn([e.left,e.right],r=>xCe(r,t)):e.operatorToken.kind===64&&Je(e.left)&&!t.getSymbolAtLocation(e.left):!1}var Rue="addMissingDeclareProperty",RCe=[f.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];Ia({errorCodes:RCe,getCodeActions:function(t){const r=Ir.ChangeTracker.with(t,i=>DCe(i,t.sourceFile,t.span.start));if(r.length>0)return[ca(Rue,r,f.Prefix_with_declare,Rue,f.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[Rue],getAllCodeActions:e=>{const t=new Set;return Is(e,RCe,(r,i)=>DCe(r,i.file,i.start,t))}});function DCe(e,t,r,i){const o=Fi(t,r);if(!Je(o))return;const s=o.parent;s.kind===173&&(!i||rh(i,s))&&e.insertModifierBefore(t,138,s)}var Due="addMissingInvocationForDecorator",CCe=[f._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code];Ia({errorCodes:CCe,getCodeActions:function(t){const r=Ir.ChangeTracker.with(t,i=>NCe(i,t.sourceFile,t.span.start));return[ca(Due,r,f.Call_decorator_expression,Due,f.Add_to_all_uncalled_decorators)]},fixIds:[Due],getAllCodeActions:e=>Is(e,CCe,(t,r)=>NCe(t,r.file,r.start))});function NCe(e,t,r){const i=Fi(t,r),o=Rn(i,wc);C.assert(!!o,"Expected position to be owned by a decorator.");const s=L.createCallExpression(o.expression,void 0,void 0);e.replaceNode(t,o.expression,s)}var Cue="addMissingResolutionModeImportAttribute",MCe=[f.Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute.code,f.Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute.code];Ia({errorCodes:MCe,getCodeActions:function(t){const r=Ir.ChangeTracker.with(t,i=>PCe(i,t.sourceFile,t.span.start,t.program,t.host,t.preferences));return[ca(Cue,r,f.Add_resolution_mode_import_attribute,Cue,f.Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it)]},fixIds:[Cue],getAllCodeActions:e=>Is(e,MCe,(t,r)=>PCe(t,r.file,r.start,e.program,e.host,e.preferences))});function PCe(e,t,r,i,o,s){var l,u,d;const _=Fi(t,r),m=Rn(_,Np(Sl,o_));C.assert(!!m,"Expected position to be owned by an ImportDeclaration or ImportType.");const y=Up(t,s)===0,E=yI(m),A=!E||((l=P1(E.text,t.fileName,i.getCompilerOptions(),o,i.getModuleResolutionCache(),void 0,99).resolvedModule)==null?void 0:l.resolvedFileName)===((d=(u=i.getResolvedModuleFromModuleSpecifier(E,t))==null?void 0:u.resolvedModule)==null?void 0:d.resolvedFileName),R=m.attributes?L.updateImportAttributes(m.attributes,L.createNodeArray([...m.attributes.elements,L.createImportAttribute(L.createStringLiteral("resolution-mode",y),L.createStringLiteral(A?"import":"require",y))],m.attributes.elements.hasTrailingComma),m.attributes.multiLine):L.createImportAttributes(L.createNodeArray([L.createImportAttribute(L.createStringLiteral("resolution-mode",y),L.createStringLiteral(A?"import":"require",y))]));m.kind===273?e.replaceNode(t,m,L.updateImportDeclaration(m,m.modifiers,m.importClause,m.moduleSpecifier,R)):e.replaceNode(t,m,L.updateImportTypeNode(m,m.argument,R,m.qualifier,m.typeArguments))}var Nue="addNameToNamelessParameter",LCe=[f.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];Ia({errorCodes:LCe,getCodeActions:function(t){const r=Ir.ChangeTracker.with(t,i=>kCe(i,t.sourceFile,t.span.start));return[ca(Nue,r,f.Add_parameter_name,Nue,f.Add_names_to_all_parameters_without_names)]},fixIds:[Nue],getAllCodeActions:e=>Is(e,LCe,(t,r)=>kCe(t,r.file,r.start))});function kCe(e,t,r){const i=Fi(t,r),o=i.parent;if(!no(o))return C.fail("Tried to add a parameter name to a non-parameter: "+C.formatSyntaxKind(i.kind));const s=o.parent.parameters.indexOf(o);C.assert(!o.type,"Tried to add a parameter name to a parameter that already had one."),C.assert(s>-1,"Parameter not found in parent parameter list.");let l=o.name.getEnd(),u=L.createTypeReferenceNode(o.name,void 0),d=wCe(t,o);for(;d;)u=L.createArrayTypeNode(u),l=d.getEnd(),d=wCe(t,d);const _=L.createParameterDeclaration(o.modifiers,o.dotDotDotToken,"arg"+s,o.questionToken,o.dotDotDotToken&&!_w(u)?L.createArrayTypeNode(u):u,o.initializer);e.replaceRange(t,Gf(o.getStart(t),l),_)}function wCe(e,t){const r=eE(t.name,t.parent,e);if(r&&r.kind===23&&_v(r.parent)&&no(r.parent.parent))return r.parent.parent}var OCe="addOptionalPropertyUndefined",uZe=[f.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target.code,f.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,f.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];Ia({errorCodes:uZe,getCodeActions(e){const t=e.program.getTypeChecker(),r=pZe(e.sourceFile,e.span,t);if(!r.length)return;const i=Ir.ChangeTracker.with(e,o=>mZe(o,r));return[yh(OCe,i,f.Add_undefined_to_optional_property_type)]},fixIds:[OCe]});function pZe(e,t,r){var i,o;const s=WCe(SJ(e,t),r);if(!s)return se;const{source:l,target:u}=s,d=fZe(l,u,r)?r.getTypeAtLocation(u.expression):r.getTypeAtLocation(u);return(o=(i=d.symbol)==null?void 0:i.declarations)!=null&&o.some(_=>On(_).fileName.match(/\.d\.ts$/))?se:r.getExactOptionalProperties(d)}function fZe(e,t,r){return Jr(t)&&!!r.getExactOptionalProperties(r.getTypeAtLocation(t.expression)).length&&r.getTypeAtLocation(e)===r.getUndefinedType()}function WCe(e,t){var r;if(e){if(Nr(e.parent)&&e.parent.operatorToken.kind===64)return{source:e.parent.right,target:e.parent.left};if(bi(e.parent)&&e.parent.initializer)return{source:e.parent.initializer,target:e.parent.name};if(ra(e.parent)){const i=t.getSymbolAtLocation(e.parent.expression);if(!(i!=null&&i.valueDeclaration)||!sI(i.valueDeclaration.kind)||!Et(e))return;const o=e.parent.arguments.indexOf(e);if(o===-1)return;const s=i.valueDeclaration.parameters[o].name;if(Je(s))return{source:e,target:s}}else if(Rc(e.parent)&&Je(e.parent.name)||Ud(e.parent)){const i=WCe(e.parent.parent,t);if(!i)return;const o=t.getPropertyOfType(t.getTypeAtLocation(i.target),e.parent.name.text),s=(r=o==null?void 0:o.declarations)==null?void 0:r[0];return s?{source:Rc(e.parent)?e.parent.initializer:e.parent.name,target:s}:void 0}}else return}function mZe(e,t){for(const r of t){const i=r.valueDeclaration;if(i&&(Eu(i)||ko(i))&&i.type){const o=L.createUnionTypeNode([...i.type.kind===193?i.type.types:[i.type],L.createTypeReferenceNode("undefined")]);e.replaceNode(i.getSourceFile(),i.type,o)}}}var Mue="annotateWithTypeFromJSDoc",FCe=[f.JSDoc_types_may_be_moved_to_TypeScript_types.code];Ia({errorCodes:FCe,getCodeActions(e){const t=zCe(e.sourceFile,e.span.start);if(!t)return;const r=Ir.ChangeTracker.with(e,i=>VCe(i,e.sourceFile,t));return[ca(Mue,r,f.Annotate_with_type_from_JSDoc,Mue,f.Annotate_everything_with_types_from_JSDoc)]},fixIds:[Mue],getAllCodeActions:e=>Is(e,FCe,(t,r)=>{const i=zCe(r.file,r.start);i&&VCe(t,r.file,i)})});function zCe(e,t){const r=Fi(e,t);return ii(no(r.parent)?r.parent.parent:r.parent,BCe)}function BCe(e){return hZe(e)&&GCe(e)}function GCe(e){return ks(e)?e.parameters.some(GCe)||!e.type&&!!O2(e):!e.type&&!!tv(e)}function VCe(e,t,r){if(ks(r)&&(O2(r)||r.parameters.some(i=>!!tv(i)))){if(!r.typeParameters){const o=A6(r);o.length&&e.insertTypeParameters(t,r,o)}const i=Zs(r)&&!Rs(r,21,t);i&&e.insertNodeBefore(t,Qa(r.parameters),L.createToken(21));for(const o of r.parameters)if(!o.type){const s=tv(o);s&&e.tryInsertTypeAnnotation(t,o,st(s,oE,xi))}if(i&&e.insertNodeAfter(t,Ga(r.parameters),L.createToken(22)),!r.type){const o=O2(r);o&&e.tryInsertTypeAnnotation(t,r,st(o,oE,xi))}}else{const i=C.checkDefined(tv(r),"A JSDocType for this declaration should exist");C.assert(!r.type,"The JSDocType decl should have a type"),e.tryInsertTypeAnnotation(t,r,st(i,oE,xi))}}function hZe(e){return ks(e)||e.kind===261||e.kind===172||e.kind===173}function oE(e){switch(e.kind){case 313:case 314:return L.createTypeReferenceNode("any",se);case 317:return gZe(e);case 316:return oE(e.type);case 315:return yZe(e);case 319:return vZe(e);case 318:return bZe(e);case 184:return SZe(e);case 323:return _Ze(e);default:const t=kn(e,oE,void 0);return Dr(t,1),t}}function _Ze(e){const t=L.createTypeLiteralNode(Gt(e.jsDocPropertyTags,r=>L.createPropertySignature(void 0,Je(r.name)?r.name:r.name.right,iw(r)?L.createToken(58):void 0,r.typeExpression&&st(r.typeExpression.type,oE,xi)||L.createKeywordTypeNode(133))));return Dr(t,1),t}function gZe(e){return L.createUnionTypeNode([st(e.type,oE,xi),L.createTypeReferenceNode("undefined",se)])}function yZe(e){return L.createUnionTypeNode([st(e.type,oE,xi),L.createTypeReferenceNode("null",se)])}function vZe(e){return L.createArrayTypeNode(st(e.type,oE,xi))}function bZe(e){var t;return L.createFunctionTypeNode(se,e.parameters.map(TZe),(t=e.type)!=null?t:L.createKeywordTypeNode(133))}function TZe(e){const t=e.parent.parameters.indexOf(e),r=e.type.kind===319&&t===e.parent.parameters.length-1,i=e.name||(r?"rest":"arg"+t),o=r?L.createToken(26):e.dotDotDotToken;return L.createParameterDeclaration(e.modifiers,o,i,e.questionToken,st(e.type,oE,xi),e.initializer)}function SZe(e){let t=e.typeName,r=e.typeArguments;if(Je(e.typeName)){if(o6(e))return EZe(e);let i=e.typeName.text;switch(e.typeName.text){case"String":case"Boolean":case"Object":case"Number":i=i.toLowerCase();break;case"array":case"date":case"promise":i=i[0].toUpperCase()+i.slice(1);break}t=L.createIdentifier(i),(i==="Array"||i==="Promise")&&!e.typeArguments?r=L.createNodeArray([L.createTypeReferenceNode("any",se)]):r=Jn(e.typeArguments,oE,xi)}return L.createTypeReferenceNode(t,r)}function EZe(e){const t=L.createParameterDeclaration(void 0,void 0,e.typeArguments[0].kind===150?"n":"s",void 0,L.createTypeReferenceNode(e.typeArguments[0].kind===150?"number":"string",[]),void 0),r=L.createTypeLiteralNode([L.createIndexSignature(void 0,[t],e.typeArguments[1])]);return Dr(r,1),r}var Pue="convertFunctionToEs6Class",jCe=[f.This_constructor_function_may_be_converted_to_a_class_declaration.code];Ia({errorCodes:jCe,getCodeActions(e){const t=Ir.ChangeTracker.with(e,r=>UCe(r,e.sourceFile,e.span.start,e.program.getTypeChecker(),e.preferences,e.program.getCompilerOptions()));return[ca(Pue,t,f.Convert_function_to_an_ES2015_class,Pue,f.Convert_all_constructor_functions_to_classes)]},fixIds:[Pue],getAllCodeActions:e=>Is(e,jCe,(t,r)=>UCe(t,r.file,r.start,e.program.getTypeChecker(),e.preferences,e.program.getCompilerOptions()))});function UCe(e,t,r,i,o,s){const l=i.getSymbolAtLocation(Fi(t,r));if(!l||!l.valueDeclaration||!(l.flags&19))return;const u=l.valueDeclaration;if(ec(u)||Ks(u))e.replaceNode(t,u,m(u));else if(bi(u)){const y=_(u);if(!y)return;const E=u.parent.parent;_d(u.parent)&&u.parent.declarations.length>1?(e.delete(t,u),e.insertNodeAfter(t,E,y)):e.replaceNode(t,E,y)}function d(y){const E=[];return y.exports&&y.exports.forEach(N=>{if(N.name==="prototype"&&N.declarations){const M=N.declarations[0];if(N.declarations.length===1&&Jr(M)&&Nr(M.parent)&&M.parent.operatorToken.kind===64&&za(M.parent.right)){const k=M.parent.right;R(k.symbol,void 0,E)}}else R(N,[L.createToken(126)],E)}),y.members&&y.members.forEach((N,M)=>{var k,F,O,G;if(M==="constructor"&&N.valueDeclaration){const j=(G=(O=(F=(k=y.exports)==null?void 0:k.get("prototype"))==null?void 0:F.declarations)==null?void 0:O[0])==null?void 0:G.parent;j&&Nr(j)&&za(j.right)&&bt(j.right.properties,bK)||e.delete(t,N.valueDeclaration.parent);return}R(N,void 0,E)}),E;function A(N,M){return Qs(N)?Jr(N)&&bK(N)?!0:Yo(M):Gn(N.properties,k=>!!(Ll(k)||F2(k)||Rc(k)&&Ks(k.initializer)&&k.name||bK(k)))}function R(N,M,k){if(!(N.flags&8192)&&!(N.flags&4096))return;const F=N.valueDeclaration,O=F.parent,G=O.right;if(!A(F,G)||bt(k,he=>{const re=Fo(he);return!!(re&&Je(re)&&Yr(re)===Ol(N))}))return;const j=O.parent&&O.parent.kind===245?O.parent:O;if(e.delete(t,j),!G){k.push(L.createPropertyDeclaration(M,N.name,void 0,void 0,void 0));return}if(Qs(F)&&(Ks(G)||Zs(G))){const he=Up(t,o),re=AZe(F,s,he);re&&K(k,G,re);return}else if(za(G)){Xe(G.properties,he=>{(Ll(he)||F2(he))&&k.push(he),Rc(he)&&Ks(he.initializer)&&K(k,he.initializer,he.name),bK(he)});return}else{if(wu(t)||!Jr(F))return;const he=L.createPropertyDeclaration(M,F.name,void 0,void 0,G);sC(O.parent,he,t),k.push(he);return}function K(he,re,q){return Ks(re)?Q(he,re,q):J(he,re,q)}function Q(he,re,q){const ue=co(M,vK(re,134)),de=L.createMethodDeclaration(ue,void 0,q,void 0,void 0,re.parameters,void 0,re.body);sC(O,de,t),he.push(de)}function J(he,re,q){const ue=re.body;let de;ue.kind===242?de=ue:de=L.createBlock([L.createReturnStatement(ue)]);const ge=co(M,vK(re,134)),Ae=L.createMethodDeclaration(ge,void 0,q,void 0,void 0,re.parameters,void 0,de);sC(O,Ae,t),he.push(Ae)}}}function _(y){const E=y.initializer;if(!E||!Ks(E)||!Je(y.name))return;const A=d(y.symbol);E.body&&A.unshift(L.createConstructorDeclaration(void 0,E.parameters,E.body));const R=vK(y.parent.parent,95);return L.createClassDeclaration(R,y.name,void 0,void 0,A)}function m(y){const E=d(l);y.body&&E.unshift(L.createConstructorDeclaration(void 0,y.parameters,y.body));const A=vK(y,95);return L.createClassDeclaration(A,y.name,void 0,void 0,E)}}function vK(e,t){return Im(e)?Fn(e.modifiers,r=>r.kind===t):void 0}function bK(e){return e.name?!!(Je(e.name)&&e.name.text==="constructor"):!1}function AZe(e,t,r){if(Jr(e))return e.name;const i=e.argumentExpression;if(ip(i))return i;if(ds(i))return _p(i.text,Va(t))?L.createIdentifier(i.text):y1(i)?L.createStringLiteral(i.text,r===0):i}var Lue="convertToAsyncFunction",HCe=[f.This_may_be_converted_to_an_async_function.code],TK=!0;Ia({errorCodes:HCe,getCodeActions(e){TK=!0;const t=Ir.ChangeTracker.with(e,r=>qCe(r,e.sourceFile,e.span.start,e.program.getTypeChecker()));return TK?[ca(Lue,t,f.Convert_to_async_function,Lue,f.Convert_all_to_async_functions)]:[]},fixIds:[Lue],getAllCodeActions:e=>Is(e,HCe,(t,r)=>qCe(t,r.file,r.start,e.program.getTypeChecker()))});function qCe(e,t,r,i){const o=Fi(t,r);let s;if(Je(o)&&bi(o.parent)&&o.parent.initializer&&ks(o.parent.initializer)?s=o.parent.initializer:s=ii(uf(Fi(t,r)),jJ),!s)return;const l=new Map,u=Er(s),d=xZe(s,i),_=RZe(s,i,l);if(!GJ(_,i))return;const m=_.body&&ia(_.body)?IZe(_.body,i):se,y={checker:i,synthNamesMap:l,setOfExpressionsToReturn:d,isInJSFile:u};if(!m.length)return;const E=wa(t.text,t_(s).pos);e.insertModifierAt(t,E,134,{suffix:" "});for(const A of m)if(Xo(A,function R(N){if(ra(N)){const M=fC(N,N,y,!1);if(Sx())return!0;e.replaceNodeWithNodes(t,A,M)}else if(!Yo(N)&&(Xo(N,R),Sx()))return!0}),Sx())return}function IZe(e,t){const r=[];return Eb(e,i=>{K7(i,t)&&r.push(i)}),r}function xZe(e,t){if(!e.body)return new Set;const r=new Set;return Xo(e.body,function i(o){qO(o,t,"then")?(r.add(ls(o)),Xe(o.arguments,i)):qO(o,t,"catch")||qO(o,t,"finally")?(r.add(ls(o)),Xo(o,i)):KCe(o,t)?r.add(ls(o)):Xo(o,i)}),r}function qO(e,t,r){if(!ra(e))return!1;const o=gO(e,r)&&t.getTypeAtLocation(e);return!!(o&&t.getPromisedTypeOfPromise(o))}function JCe(e,t){return(qr(e)&4)!==0&&e.target===t}function SK(e,t,r){if(e.expression.name.escapedText==="finally")return;const i=r.getTypeAtLocation(e.expression.expression);if(JCe(i,r.getPromiseType())||JCe(i,r.getPromiseLikeType()))if(e.expression.name.escapedText==="then"){if(t===nb(e.arguments,0))return nb(e.typeArguments,0);if(t===nb(e.arguments,1))return nb(e.typeArguments,1)}else return nb(e.typeArguments,0)}function KCe(e,t){return Et(e)?!!t.getPromisedTypeOfPromise(t.getTypeAtLocation(e)):!1}function RZe(e,t,r){const i=new Map,o=fm();return Xo(e,function s(l){if(!Je(l)){Xo(l,s);return}const u=t.getSymbolAtLocation(l);if(u){const d=t.getTypeAtLocation(l),_=eNe(d,t),m=Aa(u).toString();if(_&&!no(l.parent)&&!ks(l.parent)&&!r.has(m)){const y=Sc(_.parameters),E=(y==null?void 0:y.valueDeclaration)&&no(y.valueDeclaration)&&ii(y.valueDeclaration.name,Je)||L.createUniqueName("result",16),A=XCe(E,o);r.set(m,A),o.add(E.text,u)}else if(l.parent&&(no(l.parent)||bi(l.parent)||qa(l.parent))){const y=l.text,E=o.get(y);if(E&&E.some(A=>A!==u)){const A=XCe(l,o);i.set(m,A.identifier),r.set(m,A),o.add(y,u)}else{const A=ys(l);r.set(m,UP(A)),o.add(y,u)}}}}),sw(e,!0,s=>{if(qa(s)&&Je(s.name)&&mf(s.parent)){const l=t.getSymbolAtLocation(s.name),u=l&&i.get(String(Aa(l)));if(u&&u.text!==(s.name||s.propertyName).getText())return L.createBindingElement(s.dotDotDotToken,s.propertyName||s.name,u,s.initializer)}else if(Je(s)){const l=t.getSymbolAtLocation(s),u=l&&i.get(String(Aa(l)));if(u)return L.createIdentifier(u.text)}})}function XCe(e,t){const r=(t.get(e.text)||se).length,i=r===0?e:L.createIdentifier(e.text+"_"+r);return UP(i)}function Sx(){return!TK}function gT(){return TK=!1,se}function fC(e,t,r,i,o){if(qO(t,r.checker,"then"))return NZe(t,nb(t.arguments,0),nb(t.arguments,1),r,i,o);if(qO(t,r.checker,"catch"))return QCe(t,nb(t.arguments,0),r,i,o);if(qO(t,r.checker,"finally"))return CZe(t,nb(t.arguments,0),r,i,o);if(Jr(t))return fC(e,t.expression,r,i,o);const s=r.checker.getTypeAtLocation(t);return s&&r.checker.getPromisedTypeOfPromise(s)?(C.assertNode(Tl(t).parent,Jr),MZe(e,t,r,i,o)):gT()}function EK({checker:e},t){if(t.kind===106)return!0;if(Je(t)&&!yl(t)&&Yr(t)==="undefined"){const r=e.getSymbolAtLocation(t);return!r||e.isUndefinedSymbol(r)}return!1}function DZe(e){const t=L.createUniqueName(e.identifier.text,16);return UP(t)}function YCe(e,t,r){let i;return r&&!KO(e,t)&&(JO(r)?(i=r,t.synthNamesMap.forEach((o,s)=>{if(o.identifier.text===r.identifier.text){const l=DZe(r);t.synthNamesMap.set(s,l)}})):i=UP(L.createUniqueName("result",16),r.types),Wue(i)),i}function $Ce(e,t,r,i,o){const s=[];let l;if(i&&!KO(e,t)){l=ys(Wue(i));const u=i.types,d=t.checker.getUnionType(u,2),_=t.isInJSFile?void 0:t.checker.typeToTypeNode(d,void 0,void 0),m=[L.createVariableDeclaration(l,void 0,_)],y=L.createVariableStatement(void 0,L.createVariableDeclarationList(m,1));s.push(y)}return s.push(r),o&&l&&kZe(o)&&s.push(L.createVariableStatement(void 0,L.createVariableDeclarationList([L.createVariableDeclaration(ys(iNe(o)),void 0,void 0,l)],2))),s}function CZe(e,t,r,i,o){if(!t||EK(r,t))return fC(e,e.expression.expression,r,i,o);const s=YCe(e,r,o),l=fC(e,e.expression.expression,r,!0,s);if(Sx())return gT();const u=wue(t,i,void 0,void 0,e,r);if(Sx())return gT();const d=L.createBlock(l),_=L.createBlock(u),m=L.createTryStatement(d,void 0,_);return $Ce(e,r,m,s,o)}function QCe(e,t,r,i,o){if(!t||EK(r,t))return fC(e,e.expression.expression,r,i,o);const s=nNe(t,r),l=YCe(e,r,o),u=fC(e,e.expression.expression,r,!0,l);if(Sx())return gT();const d=wue(t,i,l,s,e,r);if(Sx())return gT();const _=L.createBlock(u),m=L.createCatchClause(s&&ys(fz(s)),L.createBlock(d)),y=L.createTryStatement(_,m,void 0);return $Ce(e,r,y,l,o)}function NZe(e,t,r,i,o,s){if(!t||EK(i,t))return QCe(e,r,i,o,s);if(r&&!EK(i,r))return gT();const l=nNe(t,i),u=fC(e.expression.expression,e.expression.expression,i,!0,l);if(Sx())return gT();const d=wue(t,o,s,l,e,i);return Sx()?gT():co(u,d)}function MZe(e,t,r,i,o){if(KO(e,r)){let s=ys(t);return i&&(s=L.createAwaitExpression(s)),[L.createReturnStatement(s)]}return AK(o,L.createAwaitExpression(t),void 0)}function AK(e,t,r){return!e||rNe(e)?[L.createExpressionStatement(t)]:JO(e)&&e.hasBeenDeclared?[L.createExpressionStatement(L.createAssignment(ys(Oue(e)),t))]:[L.createVariableStatement(void 0,L.createVariableDeclarationList([L.createVariableDeclaration(ys(fz(e)),void 0,r,t)],2))]}function kue(e,t){if(t&&e){const r=L.createUniqueName("result",16);return[...AK(UP(r),e,t),L.createReturnStatement(r)]}return[L.createReturnStatement(e)]}function wue(e,t,r,i,o,s){var l;switch(e.kind){case 106:break;case 212:case 80:if(!i)break;const u=L.createCallExpression(ys(e),void 0,JO(i)?[Oue(i)]:[]);if(KO(o,s))return kue(u,SK(o,e,s.checker));const d=s.checker.getTypeAtLocation(e),_=s.checker.getSignaturesOfType(d,0);if(!_.length)return gT();const m=_[0].getReturnType(),y=AK(r,L.createAwaitExpression(u),SK(o,e,s.checker));return r&&r.types.push(s.checker.getAwaitedType(m)||m),y;case 219:case 220:{const E=e.body,A=(l=eNe(s.checker.getTypeAtLocation(e),s.checker))==null?void 0:l.getReturnType();if(ia(E)){let R=[],N=!1;for(const M of E.statements)if(rf(M))if(N=!0,K7(M,s.checker))R=R.concat(tNe(s,M,t,r));else{const k=A&&M.expression?ZCe(s.checker,A,M.expression):M.expression;R.push(...kue(k,SK(o,e,s.checker)))}else{if(t&&Eb(M,dS))return gT();R.push(M)}return KO(o,s)?R.map(M=>ys(M)):PZe(R,r,s,N)}else{const R=VJ(E,s.checker)?tNe(s,L.createReturnStatement(E),t,r):se;if(R.length>0)return R;if(A){const N=ZCe(s.checker,A,E);if(KO(o,s))return kue(N,SK(o,e,s.checker));{const M=AK(r,N,void 0);return r&&r.types.push(s.checker.getAwaitedType(A)||A),M}}else return gT()}}default:return gT()}return se}function ZCe(e,t,r){const i=ys(r);return e.getPromisedTypeOfPromise(t)?L.createAwaitExpression(i):i}function eNe(e,t){const r=t.getSignaturesOfType(e,0);return rl(r)}function PZe(e,t,r,i){const o=[];for(const s of e)if(rf(s)){if(s.expression){const l=KCe(s.expression,r.checker)?L.createAwaitExpression(s.expression):s.expression;t===void 0?o.push(L.createExpressionStatement(l)):JO(t)&&t.hasBeenDeclared?o.push(L.createExpressionStatement(L.createAssignment(Oue(t),l))):o.push(L.createVariableStatement(void 0,L.createVariableDeclarationList([L.createVariableDeclaration(fz(t),void 0,void 0,l)],2)))}}else o.push(ys(s));return!i&&t!==void 0&&o.push(L.createVariableStatement(void 0,L.createVariableDeclarationList([L.createVariableDeclaration(fz(t),void 0,void 0,L.createIdentifier("undefined"))],2))),o}function tNe(e,t,r,i){let o=[];return Xo(t,function s(l){if(ra(l)){const u=fC(l,l,e,r,i);if(o=o.concat(u),o.length>0)return}else Yo(l)||Xo(l,s)}),o}function nNe(e,t){const r=[];let i;if(ks(e)){if(e.parameters.length>0){const d=e.parameters[0].name;i=o(d)}}else Je(e)?i=s(e):Jr(e)&&Je(e.name)&&(i=s(e.name));if(!i||"identifier"in i&&i.identifier.text==="undefined")return;return i;function o(d){if(Je(d))return s(d);const _=Wi(d.elements,m=>qc(m)?[]:[o(m.name)]);return LZe(d,_)}function s(d){const _=u(d),m=l(_);return m&&t.synthNamesMap.get(Aa(m).toString())||UP(d,r)}function l(d){var m;var _;return(m=(_=ii(d,ah))==null?void 0:_.symbol)!=null?m:t.checker.getSymbolAtLocation(d)}function u(d){return d.original?d.original:d}}function rNe(e){return e?JO(e)?!e.identifier.text:Gn(e.elements,rNe):!0}function UP(e,t=[]){return{kind:0,identifier:e,types:t,hasBeenDeclared:!1,hasBeenReferenced:!1}}function LZe(e,t=se,r=[]){return{kind:1,bindingPattern:e,elements:t,types:r}}function Oue(e){return e.hasBeenReferenced=!0,e.identifier}function fz(e){return JO(e)?Wue(e):iNe(e)}function iNe(e){for(const t of e.elements)fz(t);return e.bindingPattern}function Wue(e){return e.hasBeenDeclared=!0,e.identifier}function JO(e){return e.kind===0}function kZe(e){return e.kind===1}function KO(e,t){return!!e.original&&t.setOfExpressionsToReturn.has(ls(e.original))}Ia({errorCodes:[f.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module.code],getCodeActions(e){const{sourceFile:t,program:r,preferences:i}=e,o=Ir.ChangeTracker.with(e,s=>{if(OZe(t,r.getTypeChecker(),s,Va(r.getCompilerOptions()),Up(t,i)))for(const u of r.getSourceFiles())wZe(u,t,r,s,Up(u,i))});return[yh("convertToEsModule",o,f.Convert_to_ES_module)]}});function wZe(e,t,r,i,o){var s;for(const l of e.imports){const u=(s=r.getResolvedModuleFromModuleSpecifier(l,e))==null?void 0:s.resolvedModule;if(!u||u.resolvedFileName!==t.fileName)continue;const d=tM(l);switch(d.kind){case 272:i.replaceNode(e,d,qb(d.name,void 0,l,o));break;case 214:tp(d,!1)&&i.replaceNode(e,d,L.createPropertyAccessExpression(ys(d),"default"));break}}}function OZe(e,t,r,i,o){const s={original:XZe(e),additional:new Set},l=WZe(e,t,s);FZe(e,l,r);let u=!1,d;for(const _ of Fn(e.statements,sc)){const m=aNe(e,_,r,t,s,i,o);m&&LF(m,d!=null?d:d=new Map)}for(const _ of Fn(e.statements,m=>!sc(m))){const m=zZe(e,_,t,r,s,i,l,d,o);u=u||m}return d==null||d.forEach((_,m)=>{r.replaceNode(e,m,_)}),u}function WZe(e,t,r){const i=new Map;return oNe(e,o=>{const{text:s}=o.name;!i.has(s)&&(ZG(o.name)||t.resolveName(s,o,111551,!0))&&i.set(s,IK("_".concat(s),r))}),i}function FZe(e,t,r){oNe(e,(i,o)=>{if(o)return;const{text:s}=i.name;r.replaceNode(e,i,L.createIdentifier(t.get(s)||s))})}function oNe(e,t){e.forEachChild(function r(i){if(Jr(i)&&JS(e,i.expression)&&Je(i.name)){const{parent:o}=i;t(i,Nr(o)&&o.left===i&&o.operatorToken.kind===64)}i.forEachChild(r)})}function zZe(e,t,r,i,o,s,l,u,d){switch(t.kind){case 244:return aNe(e,t,i,r,o,s,d),!1;case 245:{const{expression:_}=t;switch(_.kind){case 214:return tp(_,!0)&&i.replaceNode(e,t,qb(void 0,void 0,_.arguments[0],d)),!1;case 227:{const{operatorToken:m}=_;return m.kind===64&&GZe(e,r,_,i,l,u)}}}default:return!1}}function aNe(e,t,r,i,o,s,l){const{declarationList:u}=t;let d=!1;const _=Gt(u.declarations,m=>{const{name:y,initializer:E}=m;if(E){if(JS(e,E))return d=!0,HP([]);if(tp(E,!0))return d=!0,JZe(y,E.arguments[0],i,o,s,l);if(Jr(E)&&tp(E.expression,!0))return d=!0,BZe(y,E.name.text,E.expression.arguments[0],o,l)}return HP([L.createVariableStatement(void 0,L.createVariableDeclarationList([m],u.flags))])});if(d){r.replaceNodeWithNodes(e,t,Wi(_,y=>y.newImports));let m;return Xe(_,y=>{y.useSitesToUnqualify&&LF(y.useSitesToUnqualify,m!=null?m:m=new Map)}),m}}function BZe(e,t,r,i,o){switch(e.kind){case 207:case 208:{const s=IK(t,i);return HP([dNe(s,t,r,o),xK(void 0,e,L.createIdentifier(s))])}case 80:return HP([dNe(e.text,t,r,o)]);default:return C.assertNever(e,"Convert to ES module got invalid syntax form ".concat(e.kind))}}function GZe(e,t,r,i,o,s){const{left:l,right:u}=r;if(!Jr(l))return!1;if(JS(e,l))if(JS(e,u))i.delete(e,r.parent);else{const d=za(u)?VZe(u,s):tp(u,!0)?UZe(u.arguments[0],t):void 0;return d?(i.replaceNodeWithNodes(e,r.parent,d[0]),d[1]):(i.replaceRangeWithText(e,Gf(l.getStart(e),u.pos),"export default"),!0)}else JS(e,l.expression)&&jZe(e,r,i,o);return!1}function VZe(e,t){const r=C0(e.properties,i=>{switch(i.kind){case 178:case 179:case 305:case 306:return;case 304:return Je(i.name)?qZe(i.name.text,i.initializer,t):void 0;case 175:return Je(i.name)?cNe(i.name.text,[L.createToken(95)],i,t):void 0;default:C.assertNever(i,"Convert to ES6 got invalid prop kind ".concat(i.kind))}});return r&&[r,!1]}function jZe(e,t,r,i){const{text:o}=t.left.name,s=i.get(o);if(s!==void 0){const l=[xK(void 0,s,t.right),Bue([L.createExportSpecifier(!1,s,o)])];r.replaceNodeWithNodes(e,t.parent,l)}else HZe(t,e,r)}function UZe(e,t){const r=e.text,i=t.getSymbolAtLocation(e),o=i?i.exports:mt;return o.has("export=")?[[Fue(r)],!0]:o.has("default")?o.size>1?[[sNe(r),Fue(r)],!0]:[[Fue(r)],!0]:[[sNe(r)],!1]}function sNe(e){return Bue(void 0,e)}function Fue(e){return Bue([L.createExportSpecifier(!1,void 0,"default")],e)}function HZe({left:e,right:t,parent:r},i,o){const s=e.name.text;if((Ks(t)||Zs(t)||uc(t))&&(!t.name||t.name.text===s)){o.replaceRange(i,{pos:e.getStart(i),end:t.getStart(i)},L.createToken(95),{suffix:" "}),t.name||o.insertName(i,t,s);const l=Rs(r,27,i);l&&o.delete(i,l)}else o.replaceNodeRangeWithNodes(i,e.expression,Rs(e,25,i),[L.createToken(95),L.createToken(87)],{joiner:" ",suffix:" "})}function qZe(e,t,r){const i=[L.createToken(95)];switch(t.kind){case 219:{const{name:s}=t;if(s&&s.text!==e)return o()}case 220:return cNe(e,i,t,r);case 232:return $Ze(e,i,t,r);default:return o()}function o(){return xK(i,L.createIdentifier(e),zue(t,r))}}function zue(e,t){if(!t||!bt(Mo(t.keys()),i=>rp(e,i)))return e;return Lo(e)?pj(e,!0,r):sw(e,!0,r);function r(i){if(i.kind===212){const o=t.get(i);return t.delete(i),o}}}function JZe(e,t,r,i,o,s){switch(e.kind){case 207:{const l=C0(e.elements,u=>u.dotDotDotToken||u.initializer||u.propertyName&&!Je(u.propertyName)||!Je(u.name)?void 0:uNe(u.propertyName&&u.propertyName.text,u.name.text));if(l)return HP([qb(void 0,l,t,s)])}case 208:{const l=IK(kO(t.text,o),i);return HP([qb(L.createIdentifier(l),void 0,t,s),xK(void 0,ys(e),L.createIdentifier(l))])}case 80:return KZe(e,t,r,i,s);default:return C.assertNever(e,"Convert to ES module got invalid name kind ".concat(e.kind))}}function KZe(e,t,r,i,o){const s=r.getSymbolAtLocation(e),l=new Map;let u=!1,d;for(const m of i.original.get(e.text)){if(r.getSymbolAtLocation(m)!==s||m===e)continue;const{parent:y}=m;if(Jr(y)){const{name:{text:E}}=y;if(E==="default"){u=!0;const A=m.getText();(d!=null?d:d=new Map).set(y,L.createIdentifier(A))}else{C.assert(y.expression===m,"Didn't expect expression === use");let A=l.get(E);A===void 0&&(A=IK(E,i),l.set(E,A)),(d!=null?d:d=new Map).set(y,L.createIdentifier(A))}}else u=!0}const _=l.size===0?void 0:Mo(ta(l.entries(),([m,y])=>L.createImportSpecifier(!1,m===y?void 0:L.createIdentifier(m),L.createIdentifier(y))));return _||(u=!0),HP([qb(u?ys(e):void 0,_,t,o)],d)}function IK(e,t){for(;t.original.has(e)||t.additional.has(e);)e="_".concat(e);return t.additional.add(e),e}function XZe(e){const t=fm();return lNe(e,r=>t.add(r.text,r)),t}function lNe(e,t){Je(e)&&YZe(e)&&t(e),e.forEachChild(r=>lNe(r,t))}function YZe(e){const{parent:t}=e;switch(t.kind){case 212:return t.name!==e;case 209:return t.propertyName!==e;case 277:return t.propertyName!==e;default:return!0}}function cNe(e,t,r,i){return L.createFunctionDeclaration(co(t,WS(r.modifiers)),ys(r.asteriskToken),e,WS(r.typeParameters),WS(r.parameters),ys(r.type),L.converters.convertToFunctionBlock(zue(r.body,i)))}function $Ze(e,t,r,i){return L.createClassDeclaration(co(t,WS(r.modifiers)),e,WS(r.typeParameters),WS(r.heritageClauses),zue(r.members,i))}function dNe(e,t,r,i){return t==="default"?qb(L.createIdentifier(e),void 0,r,i):qb(void 0,[uNe(t,e)],r,i)}function uNe(e,t){return L.createImportSpecifier(!1,e!==void 0&&e!==t?L.createIdentifier(e):void 0,L.createIdentifier(t))}function xK(e,t,r){return L.createVariableStatement(e,L.createVariableDeclarationList([L.createVariableDeclaration(t,void 0,void 0,r)],2))}function Bue(e,t){return L.createExportDeclaration(void 0,!1,e&&L.createNamedExports(e),t===void 0?void 0:L.createStringLiteral(t))}function HP(e,t){return{newImports:e,useSitesToUnqualify:t}}var Gue="correctQualifiedNameToIndexedAccessType",pNe=[f.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];Ia({errorCodes:pNe,getCodeActions(e){const t=fNe(e.sourceFile,e.span.start);if(!t)return;const r=Ir.ChangeTracker.with(e,o=>mNe(o,e.sourceFile,t)),i="".concat(t.left.text,'["').concat(t.right.text,'"]');return[ca(Gue,r,[f.Rewrite_as_the_indexed_access_type_0,i],Gue,f.Rewrite_all_as_indexed_access_types)]},fixIds:[Gue],getAllCodeActions:e=>Is(e,pNe,(t,r)=>{const i=fNe(r.file,r.start);i&&mNe(t,r.file,i)})});function fNe(e,t){const r=Rn(Fi(e,t),Wu);return C.assert(!!r,"Expected position to be owned by a qualified name."),Je(r.left)?r:void 0}function mNe(e,t,r){const i=r.right.text,o=L.createIndexedAccessTypeNode(L.createTypeReferenceNode(r.left,void 0),L.createLiteralTypeNode(L.createStringLiteral(i)));e.replaceNode(t,r,o)}var Vue=[f.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type.code],jue="convertToTypeOnlyExport";Ia({errorCodes:Vue,getCodeActions:function(t){const r=Ir.ChangeTracker.with(t,i=>_Ne(i,hNe(t.span,t.sourceFile),t));if(r.length)return[ca(jue,r,f.Convert_to_type_only_export,jue,f.Convert_all_re_exported_types_to_type_only_exports)]},fixIds:[jue],getAllCodeActions:function(t){const r=new Set;return Is(t,Vue,(i,o)=>{const s=hNe(o,t.sourceFile);s&&Tm(r,ls(s.parent.parent))&&_Ne(i,s,t)})}});function hNe(e,t){return ii(Fi(t,e.start).parent,ou)}function _Ne(e,t,r){if(!t)return;const i=t.parent,o=i.parent,s=QZe(t,r);if(s.length===i.elements.length)e.insertModifierBefore(r.sourceFile,156,i);else{const l=L.updateExportDeclaration(o,o.modifiers,!1,L.updateNamedExports(i,Fn(i.elements,d=>!Vn(s,d))),o.moduleSpecifier,void 0),u=L.createExportDeclaration(void 0,!0,L.createNamedExports(s),o.moduleSpecifier,void 0);e.replaceNode(r.sourceFile,o,l,{leadingTriviaOption:Ir.LeadingTriviaOption.IncludeAll,trailingTriviaOption:Ir.TrailingTriviaOption.Exclude}),e.insertNodeAfter(r.sourceFile,o,u)}}function QZe(e,t){const r=e.parent;if(r.elements.length===1)return r.elements;const i=Nce(Vu(r),t.program.getSemanticDiagnostics(t.sourceFile,t.cancellationToken));return Fn(r.elements,o=>{var s;return o===e||((s=Cce(o,i))==null?void 0:s.code)===Vue[0]})}var gNe=[f._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled.code,f._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled.code],RK="convertToTypeOnlyImport";Ia({errorCodes:gNe,getCodeActions:function(t){var o;var r;const i=yNe(t.sourceFile,t.span.start);if(i){const s=Ir.ChangeTracker.with(t,d=>mz(d,t.sourceFile,i)),l=i.kind===277&&Sl(i.parent.parent.parent)&&vNe(i,t.sourceFile,t.program)?Ir.ChangeTracker.with(t,d=>mz(d,t.sourceFile,i.parent.parent.parent)):void 0,u=ca(RK,s,i.kind===277?[f.Use_type_0,(o=(r=i.propertyName)==null?void 0:r.text)!=null?o:i.name.text]:f.Use_import_type,RK,f.Fix_all_with_type_only_imports);return bt(l)?[yh(RK,l,f.Use_import_type),u]:[u]}},fixIds:[RK],getAllCodeActions:function(t){const r=new Set;return Is(t,gNe,(i,o)=>{const s=yNe(o.file,o.start);(s==null?void 0:s.kind)===273&&!r.has(s)?(mz(i,o.file,s),r.add(s)):(s==null?void 0:s.kind)===277&&Sl(s.parent.parent.parent)&&!r.has(s.parent.parent.parent)&&vNe(s,o.file,t.program)?(mz(i,o.file,s.parent.parent.parent),r.add(s.parent.parent.parent)):(s==null?void 0:s.kind)===277&&mz(i,o.file,s)})}});function yNe(e,t){const{parent:r}=Fi(e,t);return Au(r)||Sl(r)&&r.importClause?r:void 0}function vNe(e,t,r){if(e.parent.parent.name)return!1;const i=e.parent.elements.filter(s=>!s.isTypeOnly);if(i.length===1)return!0;const o=r.getTypeChecker();for(const s of i)if(el.Core.eachSymbolReferenceInFile(s.name,o,t,u=>{const d=o.getSymbolAtLocation(u);return!!d&&o.symbolIsValue(d)||!q0(u)}))return!1;return!0}function mz(e,t,r){var i;if(Au(r))e.replaceNode(t,r,L.updateImportSpecifier(r,!0,r.propertyName,r.name));else{const o=r.importClause;if(o.name&&o.namedBindings)e.replaceNodeWithNodes(t,r,[L.createImportDeclaration(WS(r.modifiers,!0),L.createImportClause(156,ys(o.name,!0),void 0),ys(r.moduleSpecifier,!0),ys(r.attributes,!0)),L.createImportDeclaration(WS(r.modifiers,!0),L.createImportClause(156,void 0,ys(o.namedBindings,!0)),ys(r.moduleSpecifier,!0),ys(r.attributes,!0))]);else{const s=((i=o.namedBindings)==null?void 0:i.kind)===276?L.updateNamedImports(o.namedBindings,Ui(o.namedBindings.elements,u=>L.updateImportSpecifier(u,!1,u.propertyName,u.name))):o.namedBindings,l=L.updateImportDeclaration(r,r.modifiers,L.updateImportClause(o,156,o.name,s),r.moduleSpecifier,r.attributes);e.replaceNode(t,r,l)}}}var Uue="convertTypedefToType",bNe=[f.JSDoc_typedef_may_be_converted_to_TypeScript_type.code];Ia({fixIds:[Uue],errorCodes:bNe,getCodeActions(e){const t=Ty(e.host,e.formatContext.options),r=Fi(e.sourceFile,e.span.start);if(!r)return;const i=Ir.ChangeTracker.with(e,o=>TNe(o,r,e.sourceFile,t));if(i.length>0)return[ca(Uue,i,f.Convert_typedef_to_TypeScript_type,Uue,f.Convert_all_typedef_to_TypeScript_types)]},getAllCodeActions:e=>Is(e,bNe,(t,r)=>{const i=Ty(e.host,e.formatContext.options),o=Fi(r.file,r.start);o&&TNe(t,o,r.file,i,!0)})});function TNe(e,t,r,i,o=!1){if(!D1(t))return;const s=eet(t);if(!s)return;const l=t.parent,{leftSibling:u,rightSibling:d}=ZZe(t);let _=l.getStart(),m="";!u&&l.comment&&(_=SNe(l,l.getStart(),t.getStart()),m="".concat(i," */").concat(i)),u&&(o&&D1(u)?(_=t.getStart(),m=""):(_=SNe(l,u.getStart(),t.getStart()),m="".concat(i," */").concat(i)));let y=l.getEnd(),E="";d&&(o&&D1(d)?(y=d.getStart(),E="".concat(i).concat(i)):(y=d.getStart(),E="".concat(i,"/**").concat(i," * "))),e.replaceRange(r,{pos:_,end:y},s,{prefix:m,suffix:E})}function ZZe(e){const t=e.parent,r=t.getChildCount()-1,i=t.getChildren().findIndex(l=>l.getStart()===e.getStart()&&l.getEnd()===e.getEnd()),o=i>0?t.getChildAt(i-1):void 0,s=i<r?t.getChildAt(i+1):void 0;return{leftSibling:o,rightSibling:s}}function SNe(e,t,r){const i=e.getText().substring(t-e.getStart(),r-e.getStart());for(let o=i.length;o>0;o--)if(!/[*/\s]/.test(i.substring(o-1,o)))return t+o;return r}function eet(e){var t;const{typeExpression:r}=e;if(!r)return;const i=(t=e.name)==null?void 0:t.getText();if(i){if(r.kind===323)return tet(i,r);if(r.kind===310)return net(i,r)}}function tet(e,t){const r=ENe(t);if(bt(r))return L.createInterfaceDeclaration(void 0,e,void 0,void 0,r)}function net(e,t){const r=ys(t.type);if(r)return L.createTypeAliasDeclaration(void 0,L.createIdentifier(e),void 0,r)}function ENe(e){const t=e.jsDocPropertyTags;return bt(t)?Hi(t,i=>{var o;const s=ret(i),l=(o=i.typeExpression)==null?void 0:o.type,u=i.isBracketed;let d;if(l&&R1(l)){const _=ENe(l);d=L.createTypeLiteralNode(_)}else l&&(d=ys(l));if(d&&s){const _=u?L.createToken(58):void 0;return L.createPropertySignature(void 0,s,_,d)}}):void 0}function ret(e){return e.name.kind===80?e.name.text:e.name.right.text}function iet(e){return nf(e)?Wi(e.jsDoc,t=>{var r;return(r=t.tags)==null?void 0:r.filter(i=>D1(i))}):[]}var Hue="convertLiteralTypeToMappedType",ANe=[f._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0.code];Ia({errorCodes:ANe,getCodeActions:function(t){const{sourceFile:r,span:i}=t,o=INe(r,i.start);if(!o)return;const{name:s,constraint:l}=o,u=Ir.ChangeTracker.with(t,d=>xNe(d,r,o));return[ca(Hue,u,[f.Convert_0_to_1_in_0,l,s],Hue,f.Convert_all_type_literals_to_mapped_type)]},fixIds:[Hue],getAllCodeActions:e=>Is(e,ANe,(t,r)=>{const i=INe(r.file,r.start);i&&xNe(t,r.file,i)})});function INe(e,t){const r=Fi(e,t);if(Je(r)){const i=va(r.parent.parent,Eu),o=r.getText(e);return{container:va(i.parent,Fu),typeNode:i.type,constraint:o,name:o==="K"?"P":"K"}}}function xNe(e,t,{container:r,typeNode:i,constraint:o,name:s}){e.replaceNode(t,r,L.createMappedTypeNode(void 0,L.createTypeParameterDeclaration(void 0,s,L.createTypeReferenceNode(o)),void 0,void 0,i,void 0))}var RNe=[f.Class_0_incorrectly_implements_interface_1.code,f.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code],que="fixClassIncorrectlyImplementsInterface";Ia({errorCodes:RNe,getCodeActions(e){const{sourceFile:t,span:r}=e,i=DNe(t,r.start);return Hi(iD(i),o=>{const s=Ir.ChangeTracker.with(e,l=>NNe(e,o,t,i,l,e.preferences));return s.length===0?void 0:ca(que,s,[f.Implement_interface_0,o.getText(t)],que,f.Implement_all_unimplemented_interfaces)})},fixIds:[que],getAllCodeActions(e){const t=new Set;return Is(e,RNe,(r,i)=>{const o=DNe(i.file,i.start);if(Tm(t,ls(o)))for(const s of iD(o))NNe(e,s,i.file,o,r,e.preferences)})}});function DNe(e,t){return C.checkDefined(hd(Fi(e,t)),"There should be a containing class")}function CNe(e){return!e.valueDeclaration||!(Gd(e.valueDeclaration)&2)}function NNe(e,t,r,i,o,s){const l=e.program.getTypeChecker(),u=oet(i,l),d=l.getTypeAtLocation(t),m=l.getPropertiesOfType(d).filter(qW(CNe,M=>!u.has(M.escapedName))),y=l.getTypeAtLocation(i),E=_n(i.members,M=>kl(M));y.getNumberIndexType()||R(d,1),y.getStringIndexType()||R(d,0);const A=aE(r,e.program,s,e.host);zpe(i,m,r,e,s,A,M=>N(r,i,M)),A.writeFixes(o);function R(M,k){const F=l.getIndexInfoOfType(M,k);F&&N(r,i,l.indexInfoToIndexSignatureDeclaration(F,i,void 0,void 0,mC(e)))}function N(M,k,F){E?o.insertNodeAfter(M,E,F):o.insertMemberAtStart(M,k,F)}}function oet(e,t){const r=lh(e);if(!r)return ma();const i=t.getTypeAtLocation(r),o=t.getPropertiesOfType(i);return ma(o.filter(CNe))}var MNe="import",PNe="fixMissingImport",LNe=[f.Cannot_find_name_0.code,f.Cannot_find_name_0_Did_you_mean_1.code,f.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,f.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,f.Cannot_find_namespace_0.code,f._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code,f._0_only_refers_to_a_type_but_is_being_used_as_a_value_here.code,f.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code,f._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code,f.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery.code,f.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later.code,f.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom.code,f.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.code,f.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function.code,f.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.code,f.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.code,f.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode.code,f.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.code,f.Cannot_find_namespace_0_Did_you_mean_1.code,f.Cannot_extend_an_interface_0_Did_you_mean_implements.code,f.This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found.code];Ia({errorCodes:LNe,getCodeActions(e){const{errorCode:t,preferences:r,sourceFile:i,span:o,program:s}=e,l=zNe(e,t,o.start,!0);if(l)return l.map(({fix:u,symbolName:d,errorIdentifierText:_})=>Xue(e,i,d,u,d!==_,s,r))},fixIds:[PNe],getAllCodeActions:e=>{const{sourceFile:t,program:r,preferences:i,host:o,cancellationToken:s}=e,l=kNe(t,r,!0,i,o,s);return Tx(e,LNe,u=>l.addImportFromDiagnostic(u,e)),bx(Ir.ChangeTracker.with(e,l.writeFixes))}});function aE(e,t,r,i,o){return kNe(e,t,!1,r,i,o)}function kNe(e,t,r,i,o,s){const l=t.getCompilerOptions(),u=[],d=[],_=new Map,m=new Set,y=new Set,E=new Map;return{addImportFromDiagnostic:N,addImportFromExportedSymbol:M,addImportForModuleSymbol:k,writeFixes:j,hasFixes:Q,addImportForUnresolvedIdentifier:R,addImportForNonExistentExport:F,removeExistingImport:O,addVerbatimImport:A};function A(J){y.add(J)}function R(J,he,re){const q=get(J,he,re);!q||!q.length||G(Qa(q))}function N(J,he){const re=zNe(he,J.code,J.start,r);!re||!re.length||G(Qa(re))}function M(J,he,re){var be;var q,ue;const de=C.checkDefined(J.parent,"Expected exported symbol to have module symbol as parent"),ge=z7(J,Va(l)),Ae=t.getTypeChecker(),Re=Ae.getMergedSymbol(Id(J,Ae)),$=ONe(e,Re,ge,de,!1,t,o,i,s);if(!$){C.assert((q=i.autoImportFileExcludePatterns)==null?void 0:q.length);return}const ve=XO(e,t);let je=Jue(e,$,t,void 0,!!he,ve,o,i);if(je){const ee=(be=(ue=ii(re==null?void 0:re.name,Je))==null?void 0:ue.text)!=null?be:ge;let Se,Ne;re&&BR(re)&&(je.kind===3||je.kind===2)&&je.addAsTypeOnly===1&&(Se=2),J.name!==ee&&(Ne=J.name),je={...je,...Se===void 0?{}:{addAsTypeOnly:Se},...Ne===void 0?{}:{propertyName:Ne}},G({fix:je,symbolName:ee!=null?ee:ge})}}function k(J,he,re){var q,ue,de;const ge=t.getTypeChecker(),Ae=ge.getAliasedSymbol(J);C.assert(Ae.flags&1536,"Expected symbol to be a module");const Re=fT(t,o),$=by.getModuleSpecifiersWithCacheInfo(Ae,ge,l,e,Re,i,void 0,!0),ve=XO(e,t);let je=_z(he,!0,void 0,J.flags,t.getTypeChecker(),l);je=je===1&&BR(re)?2:1;const be=Sl(re)?l1(re)?1:2:Au(re)?0:Hm(re)&&re.name?1:2,ee=[{symbol:J,moduleSymbol:Ae,moduleFileName:(de=(ue=(q=Ae.declarations)==null?void 0:q[0])==null?void 0:ue.getSourceFile())==null?void 0:de.fileName,exportKind:4,targetFlags:J.flags,isFromPackageJson:!1}],Se=Jue(e,ee,t,void 0,!!he,ve,o,i);let Ne;Se&&be!==2&&Se.kind!==0&&Se.kind!==1?Ne={...Se,addAsTypeOnly:je,importKind:be}:Ne={kind:3,moduleSpecifierKind:Se!==void 0?Se.moduleSpecifierKind:$.kind,moduleSpecifier:Se!==void 0?Se.moduleSpecifier:Qa($.moduleSpecifiers),importKind:be,addAsTypeOnly:je,useRequire:ve},G({fix:Ne,symbolName:J.name})}function F(J,he,re,q,ue){const de=t.getSourceFile(he),ge=XO(e,t);if(de&&de.symbol){const{fixes:Ae}=hz([{exportKind:re,isFromPackageJson:!1,moduleFileName:he,moduleSymbol:de.symbol,targetFlags:q}],void 0,ue,ge,t,e,o,i);Ae.length&&G({fix:Ae[0],symbolName:J})}else{const Ae=U7(he,99,t,o),Re=by.getLocalModuleSpecifierBetweenFileNames(e,he,l,fT(t,o),i),$=DK(Ae,re,t),ve=_z(ue,!0,void 0,q,t.getTypeChecker(),l);G({fix:{kind:3,moduleSpecifierKind:"relative",moduleSpecifier:Re,importKind:$,addAsTypeOnly:ve,useRequire:ge},symbolName:J})}}function O(J){J.kind===274&&C.assertIsDefined(J.name,"ImportClause should have a name if it's being removed"),m.add(J)}function G(J){var he,re,q;const{fix:ue,symbolName:de}=J;switch(ue.kind){case 0:u.push(ue);break;case 1:d.push(ue);break;case 2:{const{importClauseOrBindingPattern:$,importKind:ve,addAsTypeOnly:je,propertyName:be}=ue;let ee=_.get($);if(ee||_.set($,ee={importClauseOrBindingPattern:$,defaultImport:void 0,namedImports:new Map}),ve===0){const Se=(he=ee==null?void 0:ee.namedImports.get(de))==null?void 0:he.addAsTypeOnly;ee.namedImports.set(de,{addAsTypeOnly:ge(Se,je),propertyName:be})}else C.assert(ee.defaultImport===void 0||ee.defaultImport.name===de,"(Add to Existing) Default import should be missing or match symbolName"),ee.defaultImport={name:de,addAsTypeOnly:ge((re=ee.defaultImport)==null?void 0:re.addAsTypeOnly,je)};break}case 3:{const{moduleSpecifier:$,importKind:ve,useRequire:je,addAsTypeOnly:be,propertyName:ee}=ue,Se=Ae($,ve,je,be);switch(C.assert(Se.useRequire===je,"(Add new) Tried to add an `import` and a `require` for the same module"),ve){case 1:C.assert(Se.defaultImport===void 0||Se.defaultImport.name===de,"(Add new) Default import should be missing or match symbolName"),Se.defaultImport={name:de,addAsTypeOnly:ge((q=Se.defaultImport)==null?void 0:q.addAsTypeOnly,be)};break;case 0:const Ne=(Se.namedImports||(Se.namedImports=new Map)).get(de);Se.namedImports.set(de,[ge(Ne,be),ee]);break;case 3:if(l.verbatimModuleSyntax){const ze=(Se.namedImports||(Se.namedImports=new Map)).get(de);Se.namedImports.set(de,[ge(ze,be),ee])}else C.assert(Se.namespaceLikeImport===void 0||Se.namespaceLikeImport.name===de,"Namespacelike import shoudl be missing or match symbolName"),Se.namespaceLikeImport={importKind:ve,name:de,addAsTypeOnly:be};break;case 2:C.assert(Se.namespaceLikeImport===void 0||Se.namespaceLikeImport.name===de,"Namespacelike import shoudl be missing or match symbolName"),Se.namespaceLikeImport={importKind:ve,name:de,addAsTypeOnly:be};break}break}case 4:break;default:C.assertNever(ue,"fix wasn't never - got kind ".concat(ue.kind))}function ge($,ve){return Math.max($!=null?$:0,ve)}function Ae($,ve,je,be){const ee=Re($,!0),Se=Re($,!1),Ne=E.get(ee),ze=E.get(Se),lt={defaultImport:void 0,namedImports:void 0,namespaceLikeImport:void 0,useRequire:je};return ve===1&&be===2?Ne||(E.set(ee,lt),lt):be===1&&(Ne||ze)?Ne||ze:ze||(E.set(Se,lt),lt)}function Re($,ve){return"".concat(ve?1:0,"|").concat($)}}function j(J,he){var re,q;let ue;e.imports!==void 0&&e.imports.length===0&&he!==void 0?ue=he:ue=Up(e,i);for(const Ae of u)Yue(J,e,Ae);for(const Ae of d)KNe(J,e,Ae,ue);let de;if(m.size){C.assert(bg(e),"Cannot remove imports from a future source file");const Ae=new Set(Hi([...m],be=>Rn(be,Sl))),Re=new Set(Hi([...m],be=>Rn(be,fk))),$=[...Ae].filter(be=>{var ee,Se,Ne;return!_.has(be.importClause)&&(!((ee=be.importClause)!=null&&ee.name)||m.has(be.importClause))&&(!ii((Se=be.importClause)==null?void 0:Se.namedBindings,Cg)||m.has(be.importClause.namedBindings))&&(!ii((Ne=be.importClause)==null?void 0:Ne.namedBindings,s_)||Gn(be.importClause.namedBindings.elements,ze=>m.has(ze)))}),ve=[...Re].filter(be=>(be.name.kind!==207||!_.has(be.name))&&(be.name.kind!==207||Gn(be.name.elements,ee=>m.has(ee)))),je=[...Ae].filter(be=>{var ee,Se;return((ee=be.importClause)==null?void 0:ee.namedBindings)&&$.indexOf(be)===-1&&!((Se=_.get(be.importClause))!=null&&Se.namedImports)&&(be.importClause.namedBindings.kind===275||Gn(be.importClause.namedBindings.elements,Ne=>m.has(Ne)))});for(const be of[...$,...ve])J.delete(e,be);for(const be of je)J.replaceNode(e,be.importClause,L.updateImportClause(be.importClause,be.importClause.phaseModifier,be.importClause.name,void 0));for(const be of m){const ee=Rn(be,Sl);ee&&$.indexOf(ee)===-1&&je.indexOf(ee)===-1?be.kind===274?J.delete(e,be.name):(C.assert(be.kind===277,"NamespaceImport should have been handled earlier"),(re=_.get(ee.importClause))!=null&&re.namedImports?(de!=null?de:de=new Set).add(be):J.delete(e,be)):be.kind===209?(q=_.get(be.parent))!=null&&q.namedImports?(de!=null?de:de=new Set).add(be):J.delete(e,be):be.kind===272&&J.delete(e,be)}}_.forEach(({importClauseOrBindingPattern:Ae,defaultImport:Re,namedImports:$})=>{JNe(J,e,Ae,Re,Mo($.entries(),([ve,{addAsTypeOnly:je,propertyName:be}])=>({addAsTypeOnly:je,propertyName:be,name:ve})),de,i)});let ge;E.forEach(({useRequire:Ae,defaultImport:Re,namedImports:$,namespaceLikeImport:ve},je)=>{const be=je.slice(2),Se=(Ae?$Ne:YNe)(be,ue,Re,$&&Mo($.entries(),([Ne,[ze,lt]])=>({addAsTypeOnly:ze,propertyName:lt,name:Ne})),ve,l,i);ge=YA(ge,Se)}),ge=YA(ge,K()),ge&&oJ(J,e,ge,!0,i)}function K(){if(!y.size)return;const J=new Set(Hi([...y],re=>Rn(re,Sl))),he=new Set(Hi([...y],re=>Rn(re,mk)));return[...Hi([...y],re=>re.kind===272?ys(re,!0):void 0),...[...J].map(re=>{var q;return y.has(re)?ys(re,!0):ys(L.updateImportDeclaration(re,re.modifiers,re.importClause&&L.updateImportClause(re.importClause,re.importClause.phaseModifier,y.has(re.importClause)?re.importClause.name:void 0,y.has(re.importClause.namedBindings)?re.importClause.namedBindings:(q=ii(re.importClause.namedBindings,s_))!=null&&q.elements.some(ue=>y.has(ue))?L.updateNamedImports(re.importClause.namedBindings,re.importClause.namedBindings.elements.filter(ue=>y.has(ue))):void 0),re.moduleSpecifier,re.attributes),!0)}),...[...he].map(re=>y.has(re)?ys(re,!0):ys(L.updateVariableStatement(re,re.modifiers,L.updateVariableDeclarationList(re.declarationList,Hi(re.declarationList.declarations,q=>y.has(q)?q:L.updateVariableDeclaration(q,q.name.kind===207?L.updateObjectBindingPattern(q.name,q.name.elements.filter(ue=>y.has(ue))):q.name,q.exclamationToken,q.type,q.initializer)))),!0))]}function Q(){return u.length>0||d.length>0||_.size>0||E.size>0||y.size>0||m.size>0}}function aet(e,t,r,i){const o=lC(e,i,r),s=WNe(e,t);return{getModuleSpecifierForBestExportInfo:l};function l(u,d,_,m){const{fixes:y,computedWithoutCacheCount:E}=hz(u,d,_,!1,t,e,r,i,s,m),A=GNe(y,e,t,o,r,i);return A&&{...A,computedWithoutCacheCount:E}}}function set(e,t,r,i,o,s,l,u,d,_,m,y){let E;r?(E=OO(i,l,u,m,y).get(i.path,r),C.assertIsDefined(E,"Some exportInfo should match the specified exportMapKey")):(E=L9(bm(t.name))?[det(e,o,t,u,l)]:ONe(i,e,o,t,s,u,l,m,y),C.assertIsDefined(E,"Some exportInfo should match the specified symbol / moduleSymbol"));const A=XO(i,u),R=q0(Fi(i,_)),N=C.checkDefined(Jue(i,E,u,_,R,A,l,m));return{moduleSpecifier:N.moduleSpecifier,codeAction:wNe(Xue({host:l,formatContext:d,preferences:m},i,o,N,!1,u,m))}}function cet(e,t,r,i,o,s){const l=r.getCompilerOptions(),u=KB(Kue(e,r.getTypeChecker(),t,l)),d=HNe(e,t,u,r),_=u!==t.text;return d&&wNe(Xue({host:i,formatContext:o,preferences:s},e,u,d,_,r,s))}function Jue(e,t,r,i,o,s,l,u){const d=lC(e,u,l);return GNe(hz(t,i,o,s,r,e,l,u).fixes,e,r,d,l,u)}function wNe({description:e,changes:t,commands:r}){return{description:e,changes:t,commands:r}}function ONe(e,t,r,i,o,s,l,u,d){const _=FNe(s,l),m=u.autoImportFileExcludePatterns&&wce(l,u),y=s.getTypeChecker().getMergedSymbol(i),E=m&&y.declarations&&ul(y,308),A=E&&m(E);return OO(e,l,s,u,d).search(e.path,o,R=>R===r,R=>{const N=_(R[0].isFromPackageJson);if(N.getMergedSymbol(Id(R[0].symbol,N))===t&&(A||R.some(M=>N.getMergedSymbol(M.moduleSymbol)===i||M.symbol.parent===i)))return R})}function det(e,t,r,i,o){var s,l;const u=_(i.getTypeChecker(),!1);if(u)return u;const d=(l=(s=o.getPackageJsonAutoImportProvider)==null?void 0:s.call(o))==null?void 0:l.getTypeChecker();return C.checkDefined(d&&_(d,!0),"Could not find symbol in specified module for code actions");function _(m,y){const E=H7(r,m);if(E&&Id(E.symbol,m)===e)return{symbol:E.symbol,moduleSymbol:r,moduleFileName:void 0,exportKind:E.exportKind,targetFlags:Id(e,m).flags,isFromPackageJson:y};const A=m.tryGetMemberInModuleExportsAndProperties(t,r);if(A&&Id(A,m)===e)return{symbol:A,moduleSymbol:r,moduleFileName:void 0,exportKind:0,targetFlags:Id(e,m).flags,isFromPackageJson:y}}}function hz(e,t,r,i,o,s,l,u,d=bg(s)?WNe(s,o):void 0,_){const m=o.getTypeChecker(),y=d?Wi(e,d.getImportsForExportInfo):se,E=t!==void 0&&uet(y,t),A=fet(y,r,m,o.getCompilerOptions());if(A)return{computedWithoutCacheCount:0,fixes:[...E?[E]:se,A]};const{fixes:R,computedWithoutCacheCount:N=0}=het(e,y,o,s,t,r,i,l,u,_);return{computedWithoutCacheCount:N,fixes:[...E?[E]:se,...R]}}function uet(e,t){return Wn(e,({declaration:r,importKind:i})=>{var o;if(i!==0)return;const s=pet(r),l=s&&((o=yI(r))==null?void 0:o.text);if(l)return{kind:0,namespacePrefix:s,usagePosition:t,moduleSpecifierKind:void 0,moduleSpecifier:l}})}function pet(e){var t,r,i;switch(e.kind){case 261:return(t=ii(e.name,Je))==null?void 0:t.text;case 272:return e.name.text;case 352:case 273:return(i=ii((r=e.importClause)==null?void 0:r.namedBindings,Cg))==null?void 0:i.name.text;default:return C.assertNever(e)}}function _z(e,t,r,i,o,s){return e?r&&s.verbatimModuleSyntax&&(!(i&111551)||o.getTypeOnlyAliasDeclaration(r))?2:1:4}function fet(e,t,r,i){let o;for(const l of e){const u=s(l);if(!u)continue;const d=BR(u.importClauseOrBindingPattern);if(u.addAsTypeOnly!==4&&d||u.addAsTypeOnly===4&&!d)return u;o!=null||(o=u)}return o;function s({declaration:l,importKind:u,symbol:d,targetFlags:_}){if(u===3||u===2||l.kind===272)return;if(l.kind===261)return(u===0||u===1)&&l.name.kind===207?{kind:2,importClauseOrBindingPattern:l.name,importKind:u,moduleSpecifierKind:void 0,moduleSpecifier:l.initializer.arguments[0].text,addAsTypeOnly:4}:void 0;const{importClause:m}=l;if(!m||!ds(l.moduleSpecifier))return;const{name:y,namedBindings:E}=m;if(m.isTypeOnly&&!(u===0&&E))return;const A=_z(t,!1,d,_,r,i);if(!(u===1&&(y||A===2&&E))&&!(u===0&&(E==null?void 0:E.kind)===275))return{kind:2,importClauseOrBindingPattern:m,importKind:u,moduleSpecifierKind:void 0,moduleSpecifier:l.moduleSpecifier.text,addAsTypeOnly:A}}}function WNe(e,t){const r=t.getTypeChecker();let i;for(const o of e.imports){const s=tM(o);if(fk(s.parent)){const l=r.resolveExternalModuleName(o);l&&(i||(i=fm())).add(Aa(l),s.parent)}else if(s.kind===273||s.kind===272||s.kind===352){const l=r.getSymbolAtLocation(o);l&&(i||(i=fm())).add(Aa(l),s)}}return{getImportsForExportInfo:({moduleSymbol:o,exportKind:s,targetFlags:l,symbol:u})=>{const d=i==null?void 0:i.get(Aa(o));if(!d||wu(e)&&!(l&111551)&&!Gn(d,d_))return se;const _=DK(e,s,t);return d.map(m=>({declaration:m,importKind:_,symbol:u,targetFlags:l}))}}}function XO(e,t){if(!Ig(e.fileName))return!1;if(e.commonJsModuleIndicator&&!e.externalModuleIndicator)return!0;if(e.externalModuleIndicator&&!e.commonJsModuleIndicator)return!1;const r=t.getCompilerOptions();if(r.configFile)return Tu(r)<5;if(Que(e,t)===1)return!0;if(Que(e,t)===99)return!1;for(const i of t.getSourceFiles())if(!(i===e||!wu(i)||t.isSourceFileFromExternalLibrary(i))){if(i.commonJsModuleIndicator&&!i.externalModuleIndicator)return!0;if(i.externalModuleIndicator&&!i.commonJsModuleIndicator)return!1}return!0}function FNe(e,t){return jh(r=>r?t.getPackageJsonAutoImportProvider().getTypeChecker():e.getTypeChecker())}function met(e,t,r,i,o,s,l,u,d){const _=Ig(t.fileName),m=e.getCompilerOptions(),y=fT(e,l),E=FNe(e,l),A=iu(m),R=I7(A),N=d?F=>by.tryGetModuleSpecifiersFromCache(F.moduleSymbol,t,y,u):(F,O)=>by.getModuleSpecifiersWithCacheInfo(F.moduleSymbol,O,m,t,y,u,void 0,!0);let M=0;const k=Wi(s,(F,O)=>{var re;const G=E(F.isFromPackageJson),{computedWithoutCache:j,moduleSpecifiers:K,kind:Q}=(re=N(F,G))!=null?re:{},J=!!(F.targetFlags&111551),he=_z(i,!0,F.symbol,F.targetFlags,G,m);return M+=j?1:0,Hi(K,q=>{if(R&&Gb(q))return;if(!J&&_&&r!==void 0)return{kind:1,moduleSpecifierKind:Q,moduleSpecifier:q,usagePosition:r,exportInfo:F,isReExport:O>0};const ue=DK(t,F.exportKind,e);let de;if(r!==void 0&&ue===3&&F.exportKind===0){const ge=G.resolveExternalModuleSymbol(F.moduleSymbol);let Ae;ge!==F.moduleSymbol&&(Ae=q7(ge,G,Va(m),qs)),Ae||(Ae=LO(F.moduleSymbol,Va(m),!1)),de={namespacePrefix:Ae,usagePosition:r}}return{kind:3,moduleSpecifierKind:Q,moduleSpecifier:q,importKind:ue,useRequire:o,addAsTypeOnly:he,exportInfo:F,isReExport:O>0,qualification:de}})});return{computedWithoutCacheCount:M,fixes:k}}function het(e,t,r,i,o,s,l,u,d,_){const m=Wn(t,y=>_et(y,s,l,r.getTypeChecker(),r.getCompilerOptions()));return m?{fixes:[m]}:met(r,i,o,s,l,e,u,d,_)}function _et({declaration:e,importKind:t,symbol:r,targetFlags:i},o,s,l,u){var d;const _=(d=yI(e))==null?void 0:d.text;if(_){const m=s?4:_z(o,!0,r,i,l,u);return{kind:3,moduleSpecifierKind:void 0,moduleSpecifier:_,importKind:t,addAsTypeOnly:m,useRequire:s}}}function zNe(e,t,r,i){const o=Fi(e.sourceFile,r);let s;if(t===f._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code)s=Tet(e,o);else if(Je(o))if(t===f._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code){const u=KB(Kue(e.sourceFile,e.program.getTypeChecker(),o,e.program.getCompilerOptions())),d=HNe(e.sourceFile,o,u,e.program);return d&&[{fix:d,symbolName:u,errorIdentifierText:o.text}]}else s=UNe(e,o,i);else return;const l=lC(e.sourceFile,e.preferences,e.host);return s&&BNe(s,e.sourceFile,e.program,l,e.host,e.preferences)}function BNe(e,t,r,i,o,s){const l=u=>Ws(u,o.getCurrentDirectory(),uy(o));return Cp(e,(u,d)=>M0(!!u.isJsxNamespaceFix,!!d.isJsxNamespaceFix)||Js(u.fix.kind,d.fix.kind)||VNe(u.fix,d.fix,t,r,s,i.allowsImportingSpecifier,l))}function get(e,t,r){const i=UNe(e,t,r),o=lC(e.sourceFile,e.preferences,e.host);return i&&BNe(i,e.sourceFile,e.program,o,e.host,e.preferences)}function GNe(e,t,r,i,o,s){if(bt(e))return e[0].kind===0||e[0].kind===2?e[0]:e.reduce((l,u)=>VNe(u,l,t,r,s,i.allowsImportingSpecifier,d=>Ws(d,o.getCurrentDirectory(),uy(o)))===-1?u:l)}function VNe(e,t,r,i,o,s,l){return e.kind!==0&&t.kind!==0?M0(t.moduleSpecifierKind!=="node_modules"||s(t.moduleSpecifier),e.moduleSpecifierKind!=="node_modules"||s(e.moduleSpecifier))||yet(e,t,o)||bet(e.moduleSpecifier,t.moduleSpecifier,r,i)||M0(jNe(e,r.path,l),jNe(t,r.path,l))||Zk(e.moduleSpecifier,t.moduleSpecifier):0}function yet(e,t,r){return r.importModuleSpecifierPreference==="non-relative"||r.importModuleSpecifierPreference==="project-relative"?M0(e.moduleSpecifierKind==="relative",t.moduleSpecifierKind==="relative"):0}function jNe(e,t,r){var i;if(e.isReExport&&((i=e.exportInfo)!=null&&i.moduleFileName)&&vet(e.exportInfo.moduleFileName)){const o=r(pi(e.exportInfo.moduleFileName));return fo(t,o)}return!1}function vet(e){return Ec(e,[".js",".jsx",".d.ts",".ts",".tsx"],!0)==="index"}function bet(e,t,r,i){return fo(e,"node:")&&!fo(t,"node:")?G7(r,i)?-1:1:fo(t,"node:")&&!fo(e,"node:")?G7(r,i)?1:-1:0}function Tet({sourceFile:e,program:t,host:r,preferences:i},o){const s=t.getTypeChecker(),l=Eet(o,s);if(!l)return;const u=s.getAliasedSymbol(l),d=l.name,_=[{symbol:l,moduleSymbol:u,moduleFileName:void 0,exportKind:3,targetFlags:u.flags,isFromPackageJson:!1}],m=XO(e,t);return hz(_,void 0,!1,m,t,e,r,i).fixes.map(E=>{var A;return{fix:E,symbolName:d,errorIdentifierText:(A=ii(o,Je))==null?void 0:A.text}})}function Eet(e,t){const r=Je(e)?t.getSymbolAtLocation(e):void 0;if(L6(r))return r;const{parent:i}=e;if(ru(i)&&i.tagName===e||qm(i)){const o=t.resolveName(t.getJsxNamespace(i),ru(i)?e:i,111551,!1);if(L6(o))return o}}function DK(e,t,r,i){if(r.getCompilerOptions().verbatimModuleSyntax&&Net(e,r)===1)return 3;switch(t){case 0:return 0;case 1:return 1;case 2:return Ret(e,r.getCompilerOptions(),!!i);case 3:return Aet(e,r,!!i);case 4:return 2;default:return C.assertNever(t)}}function Aet(e,t,r){if(LI(t.getCompilerOptions()))return 1;const i=Tu(t.getCompilerOptions());switch(i){case 2:case 1:case 3:return Ig(e.fileName)&&(e.externalModuleIndicator||r)?2:3;case 4:case 5:case 6:case 7:case 99:case 0:case 200:return 2;case 100:case 101:case 102:case 199:return Que(e,t)===99?2:3;default:return C.assertNever(i,"Unexpected moduleKind ".concat(i))}}function UNe({sourceFile:e,program:t,cancellationToken:r,host:i,preferences:o},s,l){const u=t.getTypeChecker(),d=t.getCompilerOptions();return Wi(Kue(e,u,s,d),_=>{if(_==="default")return;const m=q0(s),y=XO(e,t),E=xet(_,ZR(s),F1(s),r,e,t,l,i,o);return Mo(cf(E.values(),A=>hz(A,s.getStart(e),m,y,t,e,i,o).fixes),A=>({fix:A,symbolName:_,errorIdentifierText:s.text,isJsxNamespaceFix:_!==s.text}))})}function HNe(e,t,r,i){const o=i.getTypeChecker(),s=o.resolveName(r,t,111551,!0);if(!s)return;const l=o.getTypeOnlyAliasDeclaration(s);if(!(!l||On(l)!==e))return{kind:4,typeOnlyAliasDeclaration:l}}function Kue(e,t,r,i){const o=r.parent;if((ru(o)||VS(o))&&o.tagName===r&&RJ(i.jsx)){const s=t.getJsxNamespace(e);if(Iet(s,r,t))return!sD(r.text)&&!t.resolveName(r.text,r,111551,!1)?[r.text,s]:[s]}return[r.text]}function Iet(e,t,r){if(sD(t.text))return!0;const i=r.resolveName(e,t,111551,!0);return!i||bt(i.declarations,nv)&&!(i.flags&111551)}function xet(e,t,r,i,o,s,l,u,d){var _;const m=fm(),y=lC(o,d,u),E=(_=u.getModuleSpecifierCache)==null?void 0:_.call(u),A=jh(N=>fT(N?u.getPackageJsonAutoImportProvider():s,u));function R(N,M,k,F,O,G){const j=A(G);if(NJ(O,o,M,N,d,y,j,E)){const K=O.getTypeChecker();m.add(Tce(k,K).toString(),{symbol:k,moduleSymbol:N,moduleFileName:M==null?void 0:M.fileName,exportKind:F,targetFlags:Id(k,K).flags,isFromPackageJson:G})}}return MJ(s,u,d,l,(N,M,k,F)=>{const O=k.getTypeChecker();i.throwIfCancellationRequested();const G=k.getCompilerOptions(),j=H7(N,O);j&&ZNe(O.getSymbolFlags(j.symbol),r)&&q7(j.symbol,O,Va(G),(Q,J)=>(t&&J!=null?J:Q)===e)&&R(N,M,j.symbol,j.exportKind,k,F);const K=O.tryGetMemberInModuleExportsAndProperties(e,N);K&&ZNe(O.getSymbolFlags(K),r)&&R(N,M,K,0,k,F)}),m}function Ret(e,t,r){var s;const i=LI(t),o=Ig(e.fileName);if(!o&&Tu(t)>=5)return i?1:2;if(o)return e.externalModuleIndicator||r?i?1:2:3;for(const l of(s=e.statements)!=null?s:se)if(Oc(l)&&!Wl(l.moduleReference))return 3;return i?1:3}function Xue(e,t,r,i,o,s,l){let u;const d=Ir.ChangeTracker.with(e,_=>{u=Det(_,t,r,i,o,s,l)});return ca(MNe,d,u,PNe,f.Add_all_missing_imports)}function Det(e,t,r,i,o,s,l){const u=Up(t,l);switch(i.kind){case 0:return Yue(e,t,i),[f.Change_0_to_1,r,"".concat(i.namespacePrefix,".").concat(r)];case 1:return KNe(e,t,i,u),[f.Change_0_to_1,r,XNe(i.moduleSpecifier,u)+r];case 2:{const{importClauseOrBindingPattern:d,importKind:_,addAsTypeOnly:m,moduleSpecifier:y}=i;JNe(e,t,d,_===1?{name:r,addAsTypeOnly:m}:void 0,_===0?[{name:r,addAsTypeOnly:m}]:se,void 0,l);const E=bm(y);return o?[f.Import_0_from_1,r,E]:[f.Update_import_from_0,E]}case 3:{const{importKind:d,moduleSpecifier:_,addAsTypeOnly:m,useRequire:y,qualification:E}=i,A=y?$Ne:YNe,R=d===1?{name:r,addAsTypeOnly:m}:void 0,N=d===0?[{name:r,addAsTypeOnly:m}]:void 0,M=d===2||d===3?{importKind:d,name:(E==null?void 0:E.namespacePrefix)||r,addAsTypeOnly:m}:void 0;return oJ(e,t,A(_,u,R,N,M,s.getCompilerOptions(),l),!0,l),E&&Yue(e,t,E),o?[f.Import_0_from_1,r,_]:[f.Add_import_from_0,_]}case 4:{const{typeOnlyAliasDeclaration:d}=i,_=Cet(e,d,s,t,l);return _.kind===277?[f.Remove_type_from_import_of_0_from_1,r,qNe(_.parent.parent)]:[f.Remove_type_from_import_declaration_from_0,qNe(_)]}default:return C.assertNever(i,"Unexpected fix kind ".concat(i.kind))}}function qNe(e){var t,r;return e.kind===272?((r=ii((t=ii(e.moduleReference,_y))==null?void 0:t.expression,ds))==null?void 0:r.text)||e.moduleReference.getText():va(e.parent.moduleSpecifier,Oa).text}function Cet(e,t,r,i,o){var d;const s=r.getCompilerOptions(),l=s.verbatimModuleSyntax;switch(t.kind){case 277:if(t.isTypeOnly){if(t.parent.elements.length>1){const _=L.updateImportSpecifier(t,!1,t.propertyName,t.name),{specifierComparer:m}=bT.getNamedImportSpecifierComparerWithDetection(t.parent.parent.parent,o,i),y=bT.getImportSpecifierInsertionIndex(t.parent.elements,_,m);if(y!==t.parent.elements.indexOf(t))return e.delete(i,t),e.insertImportSpecifierAtIndex(i,_,t.parent,y),t}return e.deleteRange(i,{pos:Tb(t.getFirstToken()),end:Tb((d=t.propertyName)!=null?d:t.name)}),t}else return C.assert(t.parent.parent.isTypeOnly),u(t.parent.parent),t.parent.parent;case 274:return u(t),t;case 275:return u(t.parent),t.parent;case 272:return e.deleteRange(i,t.getChildAt(1)),t;default:C.failBadSyntaxKind(t)}function u(_){var m;if(e.delete(i,aJ(_,i)),!s.allowImportingTsExtensions){const y=yI(_.parent),E=y&&((m=r.getResolvedModuleFromModuleSpecifier(y,i))==null?void 0:m.resolvedModule);if(E!=null&&E.resolvedUsingTsExtension){const A=A2(y.text,eO(y.text,s));e.replaceNode(i,y,L.createStringLiteral(A))}}if(l){const y=ii(_.namedBindings,s_);if(y&&y.elements.length>1){bT.getNamedImportSpecifierComparerWithDetection(_.parent,o,i).isSorted!==!1&&t.kind===277&&y.elements.indexOf(t)!==0&&(e.delete(i,t),e.insertImportSpecifierAtIndex(i,t,y,0));for(const A of y.elements)A!==t&&!A.isTypeOnly&&e.insertModifierBefore(i,156,A)}}}}function JNe(e,t,r,i,o,s,l){var u;if(r.kind===207){if(s&&r.elements.some(y=>s.has(y))){e.replaceNode(t,r,L.createObjectBindingPattern([...r.elements.filter(y=>!s.has(y)),...i?[L.createBindingElement(void 0,"default",i.name)]:se,...o.map(y=>L.createBindingElement(void 0,y.propertyName,y.name))]));return}i&&m(r,i.name,"default");for(const y of o)m(r,y.name,y.propertyName);return}const d=r.isTypeOnly&&bt([i,...o],y=>(y==null?void 0:y.addAsTypeOnly)===4),_=r.namedBindings&&((u=ii(r.namedBindings,s_))==null?void 0:u.elements);if(i&&(C.assert(!r.name,"Cannot add a default import to an import clause that already has one"),e.insertNodeAt(t,r.getStart(t),L.createIdentifier(i.name),{suffix:", "})),o.length){const{specifierComparer:y,isSorted:E}=bT.getNamedImportSpecifierComparerWithDetection(r.parent,l,t),A=Cp(o.map(R=>L.createImportSpecifier((!r.isTypeOnly||d)&&CK(R,l),R.propertyName===void 0?void 0:L.createIdentifier(R.propertyName),L.createIdentifier(R.name))),y);if(s)e.replaceNode(t,r.namedBindings,L.updateNamedImports(r.namedBindings,Cp([..._.filter(R=>!s.has(R)),...A],y)));else if(_!=null&&_.length&&E!==!1){const R=d&&_?L.updateNamedImports(r.namedBindings,Ui(_,N=>L.updateImportSpecifier(N,!0,N.propertyName,N.name))).elements:_;for(const N of A){const M=bT.getImportSpecifierInsertionIndex(R,N,y);e.insertImportSpecifierAtIndex(t,N,r.namedBindings,M)}}else if(_!=null&&_.length)for(const R of A)e.insertNodeInListAfter(t,Ga(_),R,_);else if(A.length){const R=L.createNamedImports(A);r.namedBindings?e.replaceNode(t,r.namedBindings,R):e.insertNodeAfter(t,C.checkDefined(r.name,"Import clause must have either named imports or a default import"),R)}}if(d&&(e.delete(t,aJ(r,t)),_))for(const y of _)e.insertModifierBefore(t,156,y);function m(y,E,A){const R=L.createBindingElement(void 0,A,E);y.elements.length?e.insertNodeInListAfter(t,Ga(y.elements),R):e.replaceNode(t,y,L.createObjectBindingPattern([R]))}}function Yue(e,t,{namespacePrefix:r,usagePosition:i}){e.insertText(t,i,r+".")}function KNe(e,t,{moduleSpecifier:r,usagePosition:i},o){e.insertText(t,i,XNe(r,o))}function XNe(e,t){const r=rJ(t);return"import(".concat(r).concat(e).concat(r,").")}function $ue({addAsTypeOnly:e}){return e===2}function CK(e,t){return $ue(e)||!!t.preferTypeOnlyAutoImports&&e.addAsTypeOnly!==4}function YNe(e,t,r,i,o,s,l){const u=MP(e,t);let d;if(r!==void 0||i!=null&&i.length){const _=(!r||$ue(r))&&Gn(i,$ue)||(s.verbatimModuleSyntax||l.preferTypeOnlyAutoImports)&&(r==null?void 0:r.addAsTypeOnly)!==4&&!bt(i,m=>m.addAsTypeOnly===4);d=YA(d,qb(r&&L.createIdentifier(r.name),i==null?void 0:i.map(m=>L.createImportSpecifier(!_&&CK(m,l),m.propertyName===void 0?void 0:L.createIdentifier(m.propertyName),L.createIdentifier(m.name))),e,t,_))}if(o){const _=o.importKind===3?L.createImportEqualsDeclaration(void 0,CK(o,l),L.createIdentifier(o.name),L.createExternalModuleReference(u)):L.createImportDeclaration(void 0,L.createImportClause(CK(o,l)?156:void 0,void 0,L.createNamespaceImport(L.createIdentifier(o.name))),u,void 0);d=YA(d,_)}return C.checkDefined(d)}function $Ne(e,t,r,i,o){const s=MP(e,t);let l;if(r||i!=null&&i.length){const u=(i==null?void 0:i.map(({name:_,propertyName:m})=>L.createBindingElement(void 0,m,_)))||[];r&&u.unshift(L.createBindingElement(void 0,"default",r.name));const d=QNe(L.createObjectBindingPattern(u),s);l=YA(l,d)}if(o){const u=QNe(o.name,s);l=YA(l,u)}return C.checkDefined(l)}function QNe(e,t){return L.createVariableStatement(void 0,L.createVariableDeclarationList([L.createVariableDeclaration(typeof e=="string"?L.createIdentifier(e):e,void 0,void 0,L.createCallExpression(L.createIdentifier("require"),void 0,[t]))],2))}function ZNe(e,t){return t===7?!0:t&1?!!(e&111551):t&2?!!(e&788968):t&4?!!(e&1920):!1}function Que(e,t){return bg(e)?t.getImpliedNodeFormatForEmit(e):W1(e,t.getCompilerOptions())}function Net(e,t){return bg(e)?t.getEmitModuleFormatOfFile(e):SP(e,t.getCompilerOptions())}var Zue="addMissingConstraint",eMe=[f.Type_0_is_not_comparable_to_type_1.code,f.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,f.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,f.Type_0_is_not_assignable_to_type_1.code,f.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,f.Property_0_is_incompatible_with_index_signature.code,f.Property_0_in_type_1_is_not_assignable_to_type_2.code,f.Type_0_does_not_satisfy_the_constraint_1.code];Ia({errorCodes:eMe,getCodeActions(e){const{sourceFile:t,span:r,program:i,preferences:o,host:s}=e,l=tMe(i,t,r);if(l===void 0)return;const u=Ir.ChangeTracker.with(e,d=>nMe(d,i,o,s,t,l));return[ca(Zue,u,f.Add_extends_constraint,Zue,f.Add_extends_constraint_to_all_type_parameters)]},fixIds:[Zue],getAllCodeActions:e=>{const{program:t,preferences:r,host:i}=e,o=new Set;return bx(Ir.ChangeTracker.with(e,s=>{Tx(e,eMe,l=>{const u=tMe(t,l.file,Ad(l.start,l.length));if(u&&Tm(o,ls(u.declaration)))return nMe(s,t,r,i,l.file,u)})}))}});function tMe(e,t,r){const i=_n(e.getSemanticDiagnostics(t),l=>l.start===r.start&&l.length===r.length);if(i===void 0||i.relatedInformation===void 0)return;const o=_n(i.relatedInformation,l=>l.code===f.This_type_parameter_might_need_an_extends_0_constraint.code);if(o===void 0||o.file===void 0||o.start===void 0||o.length===void 0)return;let s=Jpe(o.file,Ad(o.start,o.length));if(s!==void 0&&(Je(s)&&pl(s.parent)&&(s=s.parent),pl(s))){if(T1(s.parent))return;const l=Fi(t,r.start),u=e.getTypeChecker();return{constraint:Pet(u,l)||Met(o.messageText),declaration:s,token:l}}}function nMe(e,t,r,i,o,s){const{declaration:l,constraint:u}=s,d=t.getTypeChecker();if(jo(u))e.insertText(o,l.name.end," extends ".concat(u));else{const _=Va(t.getCompilerOptions()),m=mC({program:t,host:i}),y=aE(o,t,r,i),E=UK(d,y,u,void 0,_,void 0,void 0,m);E&&(e.replaceNode(o,l,L.updateTypeParameterDeclaration(l,void 0,l.name,E,l.default)),y.writeFixes(e))}}function Met(e){const[,t]=u_(e,"\n",0).match(/`extends (.*)`/)||[];return t}function Pet(e,t){return xi(t.parent)?e.getTypeArgumentConstraint(t.parent):(Et(t)?e.getContextualType(t):void 0)||e.getTypeAtLocation(t)}var rMe="fixOverrideModifier",YO="fixAddOverrideModifier",gz="fixRemoveOverrideModifier",iMe=[f.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code,f.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code,f.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code,f.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code,f.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code,f.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,f.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code,f.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,f.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code],oMe={[f.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:f.Add_override_modifier,fixId:YO,fixAllDescriptions:f.Add_all_missing_override_modifiers},[f.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:f.Add_override_modifier,fixId:YO,fixAllDescriptions:f.Add_all_missing_override_modifiers},[f.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code]:{descriptions:f.Remove_override_modifier,fixId:gz,fixAllDescriptions:f.Remove_all_unnecessary_override_modifiers},[f.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code]:{descriptions:f.Remove_override_modifier,fixId:gz,fixAllDescriptions:f.Remove_override_modifier},[f.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code]:{descriptions:f.Add_override_modifier,fixId:YO,fixAllDescriptions:f.Add_all_missing_override_modifiers},[f.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:f.Add_override_modifier,fixId:YO,fixAllDescriptions:f.Add_all_missing_override_modifiers},[f.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code]:{descriptions:f.Add_override_modifier,fixId:YO,fixAllDescriptions:f.Remove_all_unnecessary_override_modifiers},[f.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code]:{descriptions:f.Remove_override_modifier,fixId:gz,fixAllDescriptions:f.Remove_all_unnecessary_override_modifiers},[f.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code]:{descriptions:f.Remove_override_modifier,fixId:gz,fixAllDescriptions:f.Remove_all_unnecessary_override_modifiers}};Ia({errorCodes:iMe,getCodeActions:function(t){const{errorCode:r,span:i}=t,o=oMe[r];if(!o)return se;const{descriptions:s,fixId:l,fixAllDescriptions:u}=o,d=Ir.ChangeTracker.with(t,_=>aMe(_,t,r,i.start));return[vue(rMe,d,s,l,u)]},fixIds:[rMe,YO,gz],getAllCodeActions:e=>Is(e,iMe,(t,r)=>{const{code:i,start:o}=r,s=oMe[i];!s||s.fixId!==e.fixId||aMe(t,e,i,o)})});function aMe(e,t,r,i){switch(r){case f.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code:case f.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:case f.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code:case f.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code:case f.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:return Let(e,t.sourceFile,i);case f.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code:case f.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code:case f.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code:case f.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code:return ket(e,t.sourceFile,i);default:C.fail("Unexpected error code: "+r)}}function Let(e,t,r){const i=lMe(t,r);if(wu(t)){e.addJSDocTags(t,i,[L.createJSDocOverrideTag(L.createIdentifier("override"))]);return}const o=i.modifiers||se,s=_n(o,UI),l=_n(o,Mie),u=_n(o,y=>Jq(y.kind)),d=pa(o,wc),_=l?l.end:s?s.end:u?u.end:d?wa(t.text,d.end):i.getStart(t),m=u||s||l?{prefix:" "}:{suffix:" "};e.insertModifierAt(t,_,164,m)}function ket(e,t,r){const i=lMe(t,r);if(wu(t)){e.filterJSDocTags(t,i,JW(D4));return}const o=_n(i.modifiers,Pie);C.assertIsDefined(o),e.deleteModifier(t,o)}function sMe(e){switch(e.kind){case 177:case 173:case 175:case 178:case 179:return!0;case 170:return Lp(e,e.parent);default:return!1}}function lMe(e,t){const r=Fi(e,t),i=Rn(r,o=>hi(o)?"quit":sMe(o));return C.assert(i&&sMe(i)),i}var epe="fixNoPropertyAccessFromIndexSignature",cMe=[f.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0.code];Ia({errorCodes:cMe,fixIds:[epe],getCodeActions(e){const{sourceFile:t,span:r,preferences:i}=e,o=uMe(t,r.start),s=Ir.ChangeTracker.with(e,l=>dMe(l,e.sourceFile,o,i));return[ca(epe,s,[f.Use_element_access_for_0,o.name.text],epe,f.Use_element_access_for_all_undeclared_properties)]},getAllCodeActions:e=>Is(e,cMe,(t,r)=>dMe(t,r.file,uMe(r.file,r.start),e.preferences))});function dMe(e,t,r,i){const o=Up(t,i),s=L.createStringLiteral(r.name.text,o===0);e.replaceNode(t,r,gF(r)?L.createElementAccessChain(r.expression,r.questionDotToken,s):L.createElementAccessExpression(r.expression,s))}function uMe(e,t){return va(Fi(e,t).parent,Jr)}var tpe="fixImplicitThis",pMe=[f.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code];Ia({errorCodes:pMe,getCodeActions:function(t){const{sourceFile:r,program:i,span:o}=t;let s;const l=Ir.ChangeTracker.with(t,u=>{s=fMe(u,r,o.start,i.getTypeChecker())});return s?[ca(tpe,l,s,tpe,f.Fix_all_implicit_this_errors)]:se},fixIds:[tpe],getAllCodeActions:e=>Is(e,pMe,(t,r)=>{fMe(t,r.file,r.start,e.program.getTypeChecker())})});function fMe(e,t,r,i){const o=Fi(t,r);if(!eC(o))return;const s=bu(o,!1,!1);if(!(!ec(s)&&!Ks(s))&&!Qi(bu(s,!1,!1))){const l=C.checkDefined(Rs(s,100,t)),{name:u}=s,d=C.checkDefined(s.body);return Ks(s)?u&&el.Core.isSymbolReferencedInFile(u,i,t,d)?void 0:(e.delete(t,l),u&&e.delete(t,u),e.insertText(t,d.pos," =>"),[f.Convert_function_expression_0_to_arrow_function,u?u.text:yJ]):(e.replaceNode(t,l,L.createToken(87)),e.insertText(t,u.end," = "),e.insertText(t,d.pos," =>"),[f.Convert_function_declaration_0_to_arrow_function,u.text])}}var npe="fixImportNonExportedMember",mMe=[f.Module_0_declares_1_locally_but_it_is_not_exported.code];Ia({errorCodes:mMe,fixIds:[npe],getCodeActions(e){const{sourceFile:t,span:r,program:i}=e,o=hMe(t,r.start,i);if(o===void 0)return;const s=Ir.ChangeTracker.with(e,l=>wet(l,i,o));return[ca(npe,s,[f.Export_0_from_module_1,o.exportName.node.text,o.moduleSpecifier],npe,f.Export_all_referenced_locals)]},getAllCodeActions(e){const{program:t}=e;return bx(Ir.ChangeTracker.with(e,r=>{const i=new Map;Tx(e,mMe,o=>{const s=hMe(o.file,o.start,t);if(s===void 0)return;const{exportName:l,node:u,moduleSourceFile:d}=s;if(NK(d,l.isTypeOnly)===void 0&&rw(u))r.insertExportModifier(d,u);else{const _=i.get(d)||{typeOnlyExports:[],exports:[]};l.isTypeOnly?_.typeOnlyExports.push(l):_.exports.push(l),i.set(d,_)}}),i.forEach((o,s)=>{const l=NK(s,!0);l&&l.isTypeOnly?(rpe(r,t,s,o.typeOnlyExports,l),rpe(r,t,s,o.exports,NK(s,!1))):rpe(r,t,s,[...o.exports,...o.typeOnlyExports],l)})}))}});function hMe(e,t,r){var i,o;const s=Fi(e,t);if(Je(s)){const l=Rn(s,Sl);if(l===void 0)return;const u=Oa(l.moduleSpecifier)?l.moduleSpecifier:void 0;if(u===void 0)return;const d=(i=r.getResolvedModuleFromModuleSpecifier(u,e))==null?void 0:i.resolvedModule;if(d===void 0)return;const _=r.getSourceFile(d.resolvedFileName);if(_===void 0||cC(r,_))return;const m=_.symbol,y=(o=ii(m.valueDeclaration,k_))==null?void 0:o.locals;if(y===void 0)return;const E=y.get(s.escapedText);if(E===void 0)return;const A=Oet(E);return A===void 0?void 0:{exportName:{node:s,isTypeOnly:wI(A)},node:A,moduleSourceFile:_,moduleSpecifier:u.text}}}function wet(e,t,{exportName:r,node:i,moduleSourceFile:o}){const s=NK(o,r.isTypeOnly);s?_Me(e,t,o,s,[r]):rw(i)?e.insertExportModifier(o,i):gMe(e,t,o,[r])}function rpe(e,t,r,i,o){et(i)&&(o?_Me(e,t,r,o,i):gMe(e,t,r,i))}function NK(e,t){const r=i=>fc(i)&&(t&&i.isTypeOnly||!i.isTypeOnly);return pa(e.statements,r)}function _Me(e,t,r,i,o){const s=i.exportClause&&Kf(i.exportClause)?i.exportClause.elements:L.createNodeArray([]),l=!i.isTypeOnly&&!!(Sm(t.getCompilerOptions())||_n(s,u=>u.isTypeOnly));e.replaceNode(r,i,L.updateExportDeclaration(i,i.modifiers,i.isTypeOnly,L.createNamedExports(L.createNodeArray([...s,...yMe(o,l)],s.hasTrailingComma)),i.moduleSpecifier,i.attributes))}function gMe(e,t,r,i){e.insertNodeAtEndOfScope(r,r,L.createExportDeclaration(void 0,!1,L.createNamedExports(yMe(i,Sm(t.getCompilerOptions()))),void 0,void 0))}function yMe(e,t){return L.createNodeArray(Gt(e,r=>L.createExportSpecifier(t&&r.isTypeOnly,void 0,r.node)))}function Oet(e){if(e.valueDeclaration===void 0)return Sc(e.declarations);const t=e.valueDeclaration,r=bi(t)?ii(t.parent.parent,sc):void 0;return r&&et(r.declarationList.declarations)===1?r:t}var ipe="fixIncorrectNamedTupleSyntax",Wet=[f.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,f.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code];Ia({errorCodes:Wet,getCodeActions:function(t){const{sourceFile:r,span:i}=t,o=Fet(r,i.start),s=Ir.ChangeTracker.with(t,l=>zet(l,r,o));return[ca(ipe,s,f.Move_labeled_tuple_element_modifiers_to_labels,ipe,f.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[ipe]});function Fet(e,t){const r=Fi(e,t);return Rn(r,i=>i.kind===203)}function zet(e,t,r){if(!r)return;let i=r.type,o=!1,s=!1;for(;i.kind===191||i.kind===192||i.kind===197;)i.kind===191?o=!0:i.kind===192&&(s=!0),i=i.type;const l=L.updateNamedTupleMember(r,r.dotDotDotToken||(s?L.createToken(26):void 0),r.name,r.questionToken||(o?L.createToken(58):void 0),i);l!==r&&e.replaceNode(t,r,l)}var vMe="fixSpelling",bMe=[f.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,f.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,f.Cannot_find_name_0_Did_you_mean_1.code,f.Could_not_find_name_0_Did_you_mean_1.code,f.Cannot_find_namespace_0_Did_you_mean_1.code,f.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,f.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,f._0_has_no_exported_member_named_1_Did_you_mean_2.code,f.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,f.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,f.No_overload_matches_this_call.code,f.Type_0_is_not_assignable_to_type_1.code];Ia({errorCodes:bMe,getCodeActions(e){const{sourceFile:t,errorCode:r}=e,i=TMe(t,e.span.start,e,r);if(!i)return;const{node:o,suggestedSymbol:s}=i,l=Va(e.host.getCompilationSettings()),u=Ir.ChangeTracker.with(e,d=>SMe(d,t,o,s,l));return[ca("spelling",u,[f.Change_spelling_to_0,Ol(s)],vMe,f.Fix_all_detected_spelling_errors)]},fixIds:[vMe],getAllCodeActions:e=>Is(e,bMe,(t,r)=>{const i=TMe(r.file,r.start,e,r.code),o=Va(e.host.getCompilationSettings());i&&SMe(t,e.sourceFile,i.node,i.suggestedSymbol,o)})});function TMe(e,t,r,i){const o=Fi(e,t),s=o.parent;if((i===f.No_overload_matches_this_call.code||i===f.Type_0_is_not_assignable_to_type_1.code)&&!c_(s))return;const l=r.program.getTypeChecker();let u;if(Jr(s)&&s.name===o){C.assert(mg(o),"Expected an identifier for spelling (property access)");let d=l.getTypeAtLocation(s.expression);s.flags&64&&(d=l.getNonNullableType(d)),u=l.getSuggestedSymbolForNonexistentProperty(o,d)}else if(Nr(s)&&s.operatorToken.kind===103&&s.left===o&&to(o)){const d=l.getTypeAtLocation(s.right);u=l.getSuggestedSymbolForNonexistentProperty(o,d)}else if(Wu(s)&&s.right===o){const d=l.getSymbolAtLocation(s.left);d&&d.flags&1536&&(u=l.getSuggestedSymbolForNonexistentModule(s.right,d))}else if(Au(s)&&s.name===o){C.assertNode(o,Je,"Expected an identifier for spelling (import)");const d=Rn(o,Sl),_=Get(r,d,e);_&&_.symbol&&(u=l.getSuggestedSymbolForNonexistentModule(o,_.symbol))}else if(c_(s)&&s.name===o){C.assertNode(o,Je,"Expected an identifier for JSX attribute");const d=Rn(o,ru),_=l.getContextualTypeForArgumentAtIndex(d,0);u=l.getSuggestedSymbolForNonexistentJSXAttribute(o,_)}else if(I6(s)&&vc(s)&&s.name===o){const d=Rn(o,hi),_=d?lh(d):void 0,m=_?l.getTypeAtLocation(_):void 0;m&&(u=l.getSuggestedSymbolForNonexistentClassMember(Rl(o),m))}else{const d=F1(o),_=Rl(o);C.assert(_!==void 0,"name should be defined"),u=l.getSuggestedSymbolForNonexistentSymbol(o,_,Bet(d))}return u===void 0?void 0:{node:o,suggestedSymbol:u}}function SMe(e,t,r,i,o){const s=Ol(i);if(!_p(s,o)&&Jr(r.parent)){const l=i.valueDeclaration;l&&nd(l)&&to(l.name)?e.replaceNode(t,r,L.createIdentifier(s)):e.replaceNode(t,r.parent,L.createElementAccessExpression(r.parent.expression,L.createStringLiteral(s)))}else e.replaceNode(t,r,L.createIdentifier(s))}function Bet(e){let t=0;return e&4&&(t|=1920),e&2&&(t|=788968),e&1&&(t|=111551),t}function Get(e,t,r){var i;if(!t||!ds(t.moduleSpecifier))return;const o=(i=e.program.getResolvedModuleFromModuleSpecifier(t.moduleSpecifier,r))==null?void 0:i.resolvedModule;if(o)return e.program.getSourceFile(o.resolvedFileName)}var ope="returnValueCorrect",ape="fixAddReturnStatement",spe="fixRemoveBracesFromArrowFunctionBody",lpe="fixWrapTheBlockWithParen",EMe=[f.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value.code,f.Type_0_is_not_assignable_to_type_1.code,f.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code];Ia({errorCodes:EMe,fixIds:[ape,spe,lpe],getCodeActions:function(t){const{program:r,sourceFile:i,span:{start:o},errorCode:s}=t,l=IMe(r.getTypeChecker(),i,o,s);if(l)return l.kind===0?jn([jet(t,l.expression,l.statement)],Zs(l.declaration)?Uet(t,l.declaration,l.expression,l.commentSource):void 0):[Het(t,l.declaration,l.expression)]},getAllCodeActions:e=>Is(e,EMe,(t,r)=>{const i=IMe(e.program.getTypeChecker(),r.file,r.start,r.code);if(i)switch(e.fixId){case ape:xMe(t,r.file,i.expression,i.statement);break;case spe:if(!Zs(i.declaration))return;RMe(t,r.file,i.declaration,i.expression,i.commentSource);break;case lpe:if(!Zs(i.declaration))return;DMe(t,r.file,i.declaration,i.expression);break;default:C.fail(JSON.stringify(e.fixId))}})});function AMe(e,t,r){const i=e.createSymbol(4,t.escapedText);i.links.type=e.getTypeAtLocation(r);const o=ma([i]);return e.createAnonymousType(void 0,o,[],[],[])}function cpe(e,t,r,i){if(!t.body||!ia(t.body)||et(t.body.statements)!==1)return;const o=Qa(t.body.statements);if(od(o)&&dpe(e,t,e.getTypeAtLocation(o.expression),r,i))return{declaration:t,kind:0,expression:o.expression,statement:o,commentSource:o.expression};if(Wb(o)&&od(o.statement)){const s=L.createObjectLiteralExpression([L.createPropertyAssignment(o.label,o.statement.expression)]),l=AMe(e,o.label,o.statement.expression);if(dpe(e,t,l,r,i))return Zs(t)?{declaration:t,kind:1,expression:s,statement:o,commentSource:o.statement.expression}:{declaration:t,kind:0,expression:s,statement:o,commentSource:o.statement.expression}}else if(ia(o)&&et(o.statements)===1){const s=Qa(o.statements);if(Wb(s)&&od(s.statement)){const l=L.createObjectLiteralExpression([L.createPropertyAssignment(s.label,s.statement.expression)]),u=AMe(e,s.label,s.statement.expression);if(dpe(e,t,u,r,i))return{declaration:t,kind:0,expression:l,statement:o,commentSource:s}}}}function dpe(e,t,r,i,o){if(o){const s=e.getSignatureFromDeclaration(t);if(s){fi(t,1024)&&(r=e.createPromiseType(r));const l=e.createSignature(t,s.typeParameters,s.thisParameter,s.parameters,r,void 0,s.minArgumentCount,s.flags);r=e.createAnonymousType(void 0,ma(),[l],[],[])}else r=e.getAnyType()}return e.isTypeAssignableTo(r,i)}function IMe(e,t,r,i){const o=Fi(t,r);if(!o.parent)return;const s=Rn(o.parent,ks);switch(i){case f.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value.code:return!s||!s.body||!s.type||!rp(s.type,o)?void 0:cpe(e,s,e.getTypeFromTypeNode(s.type),!1);case f.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!s||!ra(s.parent)||!s.body)return;const l=s.parent.arguments.indexOf(s);if(l===-1)return;const u=e.getContextualTypeForArgumentAtIndex(s.parent,l);return u?cpe(e,s,u,!0):void 0;case f.Type_0_is_not_assignable_to_type_1.code:if(!z_(o)||!qN(o.parent)&&!c_(o.parent))return;const d=Vet(o.parent);return!d||!ks(d)||!d.body?void 0:cpe(e,d,e.getTypeAtLocation(o.parent),!0)}}function Vet(e){switch(e.kind){case 261:case 170:case 209:case 173:case 304:return e.initializer;case 292:return e.initializer&&(RD(e.initializer)?e.initializer.expression:void 0);case 305:case 172:case 307:case 349:case 342:return}}function xMe(e,t,r,i){zp(r);const o=MO(t);e.replaceNode(t,i,L.createReturnStatement(r),{leadingTriviaOption:Ir.LeadingTriviaOption.Exclude,trailingTriviaOption:Ir.TrailingTriviaOption.Exclude,suffix:o?";":void 0})}function RMe(e,t,r,i,o,s){const l=M7(i)?L.createParenthesizedExpression(i):i;zp(o),B1(o,l),e.replaceNode(t,r.body,l)}function DMe(e,t,r,i){e.replaceNode(t,r.body,L.createParenthesizedExpression(i))}function jet(e,t,r){const i=Ir.ChangeTracker.with(e,o=>xMe(o,e.sourceFile,t,r));return ca(ope,i,f.Add_a_return_statement,ape,f.Add_all_missing_return_statement)}function Uet(e,t,r,i){const o=Ir.ChangeTracker.with(e,s=>RMe(s,e.sourceFile,t,r,i));return ca(ope,o,f.Remove_braces_from_arrow_function_body,spe,f.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}function Het(e,t,r){const i=Ir.ChangeTracker.with(e,o=>DMe(o,e.sourceFile,t,r));return ca(ope,i,f.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,lpe,f.Wrap_all_object_literal_with_parentheses)}var yT="fixMissingMember",MK="fixMissingProperties",PK="fixMissingAttributes",LK="fixMissingFunctionDeclaration",CMe=[f.Property_0_does_not_exist_on_type_1.code,f.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,f.Property_0_is_missing_in_type_1_but_required_in_type_2.code,f.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,f.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,f.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,f.Cannot_find_name_0.code,f.Type_0_does_not_satisfy_the_expected_type_1.code];Ia({errorCodes:CMe,getCodeActions(e){const t=e.program.getTypeChecker(),r=NMe(e.sourceFile,e.span.start,e.errorCode,t,e.program);if(r){if(r.kind===3){const i=Ir.ChangeTracker.with(e,o=>BMe(o,e,r));return[ca(MK,i,f.Add_missing_properties,MK,f.Add_all_missing_properties)]}if(r.kind===4){const i=Ir.ChangeTracker.with(e,o=>zMe(o,e,r));return[ca(PK,i,f.Add_missing_attributes,PK,f.Add_all_missing_attributes)]}if(r.kind===2||r.kind===5){const i=Ir.ChangeTracker.with(e,o=>FMe(o,e,r));return[ca(LK,i,[f.Add_missing_function_declaration_0,r.token.text],LK,f.Add_all_missing_function_declarations)]}if(r.kind===1){const i=Ir.ChangeTracker.with(e,o=>WMe(o,e.program.getTypeChecker(),r));return[ca(yT,i,[f.Add_missing_enum_member_0,r.token.text],yT,f.Add_all_missing_members)]}return co(Yet(e,r),qet(e,r))}},fixIds:[yT,LK,MK,PK],getAllCodeActions:e=>{const{program:t,fixId:r}=e,i=t.getTypeChecker(),o=new Set,s=new Map;return bx(Ir.ChangeTracker.with(e,l=>{Tx(e,CMe,u=>{const d=NMe(u.file,u.start,u.code,i,e.program);if(d===void 0)return;const _=ls(d.parentDeclaration)+"#"+(d.kind===3?d.identifier||ls(d.token):d.token.text);if(Tm(o,_)){if(r===LK&&(d.kind===2||d.kind===5))FMe(l,e,d);else if(r===MK&&d.kind===3)BMe(l,e,d);else if(r===PK&&d.kind===4)zMe(l,e,d);else if(d.kind===1&&WMe(l,i,d),d.kind===0){const{parentDeclaration:m,token:y}=d,E=XA(s,m,()=>[]);E.some(A=>A.token.text===y.text)||E.push(d)}}}),s.forEach((u,d)=>{const _=Fu(d)?void 0:ttt(d,i);for(const m of u){if(_!=null&&_.some(k=>{const F=s.get(k);return!!F&&F.some(({token:O})=>O.text===m.token.text)}))continue;const{parentDeclaration:y,declSourceFile:E,modifierFlags:A,token:R,call:N,isJSFile:M}=m;if(N&&!to(R))OMe(e,l,N,R,A&256,y,E);else if(M&&!gd(y)&&!Fu(y))MMe(l,E,y,R,!!(A&256));else{const k=LMe(i,y,R);kMe(l,E,y,R.text,k,A&256)}}})}))}});function NMe(e,t,r,i,o){var s,l;const u=Fi(e,t),d=u.parent;if(r===f.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code){if(!(u.kind===19&&za(d)&&ra(d.parent)))return;const R=lo(d.parent.arguments,F=>F===d);if(R<0)return;const N=i.getResolvedSignature(d.parent);if(!(N&&N.declaration&&N.parameters[R]))return;const M=N.parameters[R].valueDeclaration;if(!(M&&no(M)&&Je(M.name)))return;const k=Mo(i.getUnmatchedProperties(i.getTypeAtLocation(d),i.getParameterType(N,R).getNonNullableType(),!1,!1));return et(k)?{kind:3,token:M.name,identifier:M.name.text,properties:k,parentDeclaration:d}:void 0}if(u.kind===19||ID(d)||rf(d)){const R=(ID(d)||rf(d))&&d.expression?d.expression:d;if(za(R)){const N=ID(d)?i.getTypeFromTypeNode(d.type):i.getContextualType(R)||i.getTypeAtLocation(R),M=Mo(i.getUnmatchedProperties(i.getTypeAtLocation(d),N.getNonNullableType(),!1,!1));return et(M)?{kind:3,token:d,identifier:void 0,properties:M,parentDeclaration:R,indentation:rf(R.parent)||gw(R.parent)?0:void 0}:void 0}}if(!mg(u))return;if(Je(u)&&rv(d)&&d.initializer&&za(d.initializer)){const R=(s=i.getContextualType(u)||i.getTypeAtLocation(u))==null?void 0:s.getNonNullableType(),N=Mo(i.getUnmatchedProperties(i.getTypeAtLocation(d.initializer),R,!1,!1));return et(N)?{kind:3,token:u,identifier:u.text,properties:N,parentDeclaration:d.initializer}:void 0}if(Je(u)&&ru(u.parent)){const R=Va(o.getCompilerOptions()),N=Qet(i,R,u.parent);return et(N)?{kind:4,token:u,attributes:N,parentDeclaration:u.parent}:void 0}if(Je(u)){const R=(l=i.getContextualType(u))==null?void 0:l.getNonNullableType();if(R&&qr(R)&16){const N=Sc(i.getSignaturesOfType(R,0));return N===void 0?void 0:{kind:5,token:u,signature:N,sourceFile:e,parentDeclaration:GMe(u)}}if(ra(d)&&d.expression===u)return{kind:2,token:u,call:d,sourceFile:e,modifierFlags:0,parentDeclaration:GMe(u)}}if(!Jr(d))return;const _=Zq(i.getTypeAtLocation(d.expression)),m=_.symbol;if(!m||!m.declarations)return;if(Je(u)&&ra(d.parent)){const R=_n(m.declarations,pc),N=R==null?void 0:R.getSourceFile();if(R&&N&&!cC(o,N))return{kind:2,token:u,call:d.parent,sourceFile:N,modifierFlags:32,parentDeclaration:R};const M=_n(m.declarations,Qi);if(e.commonJsModuleIndicator)return;if(M&&!cC(o,M))return{kind:2,token:u,call:d.parent,sourceFile:M,modifierFlags:32,parentDeclaration:M}}const y=_n(m.declarations,hi);if(!y&&to(u))return;const E=y||_n(m.declarations,R=>gd(R)||Fu(R));if(E&&!cC(o,E.getSourceFile())){const R=!Fu(E)&&(_.target||_)!==i.getDeclaredTypeOfSymbol(m);if(R&&(to(u)||gd(E)))return;const N=E.getSourceFile(),M=Fu(E)?0:(R?256:0)|(xJ(u.text)?2:0),k=wu(N),F=ii(d.parent,ra);return{kind:0,token:u,call:F,modifierFlags:M,parentDeclaration:E,declSourceFile:N,isJSFile:k}}const A=_n(m.declarations,eT);if(A&&!(_.flags&1056)&&!to(u)&&!cC(o,A.getSourceFile()))return{kind:1,token:u,parentDeclaration:A}}function qet(e,t){return t.isJSFile?tI(Jet(e,t)):Ket(e,t)}function Jet(e,{parentDeclaration:t,declSourceFile:r,modifierFlags:i,token:o}){if(gd(t)||Fu(t))return;const s=Ir.ChangeTracker.with(e,u=>MMe(u,r,t,o,!!(i&256)));if(s.length===0)return;const l=i&256?f.Initialize_static_property_0:to(o)?f.Declare_a_private_field_named_0:f.Initialize_property_0_in_the_constructor;return ca(yT,s,[l,o.text],yT,f.Add_all_missing_members)}function MMe(e,t,r,i,o){const s=i.text;if(o){if(r.kind===232)return;const l=r.name.getText(),u=PMe(L.createIdentifier(l),s);e.insertNodeAfter(t,r,u)}else if(to(i)){const l=L.createPropertyDeclaration(void 0,s,void 0,void 0,void 0),u=wMe(r);u?e.insertNodeAfter(t,u,l):e.insertMemberAtStart(t,r,l)}else{const l=Sg(r);if(!l)return;const u=PMe(L.createThis(),s);e.insertNodeAtConstructorEnd(t,l,u)}}function PMe(e,t){return L.createExpressionStatement(L.createAssignment(L.createPropertyAccessExpression(e,t),Ex()))}function Ket(e,{parentDeclaration:t,declSourceFile:r,modifierFlags:i,token:o}){const s=o.text,l=i&256,u=LMe(e.program.getTypeChecker(),t,o),d=m=>Ir.ChangeTracker.with(e,y=>kMe(y,r,t,s,u,m)),_=[ca(yT,d(i&256),[l?f.Declare_static_property_0:f.Declare_property_0,s],yT,f.Add_all_missing_members)];return l||to(o)||(i&2&&_.unshift(yh(yT,d(2),[f.Declare_private_property_0,s])),_.push(Xet(e,r,t,o.text,u))),_}function LMe(e,t,r){let i;if(r.parent.parent.kind===227){const o=r.parent.parent,s=r.parent===o.left?o.right:o.left,l=e.getWidenedType(e.getBaseTypeOfLiteralType(e.getTypeAtLocation(s)));i=e.typeToTypeNode(l,t,1,8)}else{const o=e.getContextualType(r.parent);i=o?e.typeToTypeNode(o,void 0,1,8):void 0}return i||L.createKeywordTypeNode(133)}function kMe(e,t,r,i,o,s){const l=s?L.createNodeArray(L.createModifiersFromModifierFlags(s)):void 0,u=hi(r)?L.createPropertyDeclaration(l,i,void 0,o,void 0):L.createPropertySignature(void 0,i,void 0,o),d=wMe(r);d?e.insertNodeAfter(t,d,u):e.insertMemberAtStart(t,r,u)}function wMe(e){let t;for(const r of e.members){if(!ko(r))break;t=r}return t}function Xet(e,t,r,i,o){const s=L.createKeywordTypeNode(154),l=L.createParameterDeclaration(void 0,void 0,"x",void 0,s,void 0),u=L.createIndexSignature(void 0,[l],o),d=Ir.ChangeTracker.with(e,_=>_.insertMemberAtStart(t,r,u));return yh(yT,d,[f.Add_index_signature_for_property_0,i])}function Yet(e,t){const{parentDeclaration:r,declSourceFile:i,modifierFlags:o,token:s,call:l}=t;if(l===void 0)return;const u=s.text,d=m=>Ir.ChangeTracker.with(e,y=>OMe(e,y,l,s,m,r,i)),_=[ca(yT,d(o&256),[o&256?f.Declare_static_method_0:f.Declare_method_0,u],yT,f.Add_all_missing_members)];return o&2&&_.unshift(yh(yT,d(2),[f.Declare_private_method_0,u])),_}function OMe(e,t,r,i,o,s,l){const u=aE(l,e.program,e.preferences,e.host),d=hi(s)?175:174,_=Bpe(d,e,u,r,i,o,s),m=Zet(s,r);m?t.insertNodeAfter(l,m,_):t.insertMemberAtStart(l,s,_),u.writeFixes(t)}function WMe(e,t,{token:r,parentDeclaration:i}){const o=bt(i.members,d=>{const _=t.getTypeAtLocation(d);return!!(_&&_.flags&402653316)}),s=i.getSourceFile(),l=L.createEnumMember(r,o?L.createStringLiteral(r.text):void 0),u=rl(i.members);u?e.insertNodeInListAfter(s,u,l,i.members):e.insertMemberAtStart(s,i,l)}function FMe(e,t,r){const i=Up(t.sourceFile,t.preferences),o=aE(t.sourceFile,t.program,t.preferences,t.host),s=r.kind===2?Bpe(263,t,o,r.call,Yr(r.token),r.modifierFlags,r.parentDeclaration):jK(263,t,i,r.signature,vz(f.Function_not_implemented.message,i),r.token,void 0,void 0,void 0,o);s===void 0&&C.fail("fixMissingFunctionDeclaration codefix got unexpected error."),rf(r.parentDeclaration)?e.insertNodeBefore(r.sourceFile,r.parentDeclaration,s,!0):e.insertNodeAtEndOfScope(r.sourceFile,r.parentDeclaration,s),o.writeFixes(e)}function zMe(e,t,r){const i=aE(t.sourceFile,t.program,t.preferences,t.host),o=Up(t.sourceFile,t.preferences),s=t.program.getTypeChecker(),l=r.parentDeclaration.attributes,u=bt(l.properties,QI),d=Gt(r.attributes,y=>{const E=kK(t,s,i,o,s.getTypeOfSymbol(y),r.parentDeclaration),A=L.createIdentifier(y.name),R=L.createJsxAttribute(A,L.createJsxExpression(void 0,E));return ps(A,R),R}),_=L.createJsxAttributes(u?[...d,...l.properties]:[...l.properties,...d]),m={prefix:l.pos===l.end?" ":void 0};e.replaceNode(t.sourceFile,l,_,m),i.writeFixes(e)}function BMe(e,t,r){const i=aE(t.sourceFile,t.program,t.preferences,t.host),o=Up(t.sourceFile,t.preferences),s=Va(t.program.getCompilerOptions()),l=t.program.getTypeChecker(),u=Gt(r.properties,_=>{const m=kK(t,l,i,o,l.getTypeOfSymbol(_),r.parentDeclaration);return L.createPropertyAssignment(ett(_,s,o,l),m)}),d={leadingTriviaOption:Ir.LeadingTriviaOption.Exclude,trailingTriviaOption:Ir.TrailingTriviaOption.Exclude,indentation:r.indentation};e.replaceNode(t.sourceFile,r.parentDeclaration,L.createObjectLiteralExpression([...r.parentDeclaration.properties,...u],!0),d),i.writeFixes(e)}function kK(e,t,r,i,o,s){if(o.flags&3)return Ex();if(o.flags&134217732)return L.createStringLiteral("",i===0);if(o.flags&8)return L.createNumericLiteral(0);if(o.flags&64)return L.createBigIntLiteral("0n");if(o.flags&16)return L.createFalse();if(o.flags&1056){const l=o.symbol.exports?jW(o.symbol.exports.values()):o.symbol,u=o.symbol.parent&&o.symbol.parent.flags&256?o.symbol.parent:o.symbol,d=t.symbolToExpression(u,111551,void 0,64);return l===void 0||d===void 0?L.createNumericLiteral(0):L.createPropertyAccessExpression(d,t.symbolToString(l))}if(o.flags&256)return L.createNumericLiteral(o.value);if(o.flags&2048)return L.createBigIntLiteral(o.value);if(o.flags&128)return L.createStringLiteral(o.value,i===0);if(o.flags&512)return o===t.getFalseType()||o===t.getFalseType(!0)?L.createFalse():L.createTrue();if(o.flags&65536)return L.createNull();if(o.flags&1048576){const l=Wn(o.types,u=>kK(e,t,r,i,u,s));return l!=null?l:Ex()}if(t.isArrayLikeType(o))return L.createArrayLiteralExpression();if($et(o)){const l=Gt(t.getPropertiesOfType(o),u=>{const d=kK(e,t,r,i,t.getTypeOfSymbol(u),s);return L.createPropertyAssignment(u.name,d)});return L.createObjectLiteralExpression(l,!0)}if(qr(o)&16){if(_n(o.symbol.declarations||se,Np(G_,Um,Ll))===void 0)return Ex();const u=t.getSignaturesOfType(o,0);if(u===void 0)return Ex();const d=jK(219,e,i,u[0],vz(f.Function_not_implemented.message,i),void 0,void 0,void 0,s,r);return d!=null?d:Ex()}if(qr(o)&1){const l=my(o.symbol);if(l===void 0||PS(l))return Ex();const u=Sg(l);return u&&et(u.parameters)?Ex():L.createNewExpression(L.createIdentifier(o.symbol.name),void 0,void 0)}return Ex()}function Ex(){return L.createIdentifier("undefined")}function $et(e){return e.flags&524288&&(qr(e)&128||e.symbol&&ii(cg(e.symbol.declarations),Fu))}function Qet(e,t,r){const i=e.getContextualType(r.attributes);if(i===void 0)return se;const o=i.getProperties();if(!et(o))return se;const s=new Set;for(const l of r.attributes.properties)if(c_(l)&&s.add(LM(l.name)),QI(l)){const u=e.getTypeAtLocation(l.expression);for(const d of u.getProperties())s.add(d.escapedName)}return Fn(o,l=>_p(l.name,t,1)&&!(l.flags&16777216||Fl(l)&48||s.has(l.escapedName)))}function Zet(e,t){if(Fu(e))return;const r=Rn(t,i=>Ll(i)||kl(i));return r&&r.parent===e?r:void 0}function ett(e,t,r,i){if(_g(e)){const o=i.symbolToNode(e,111551,void 0,void 0,1);if(o&&Ea(o))return o}return nw(e.name,t,r===0,!1,!1)}function GMe(e){if(Rn(e,RD)){const t=Rn(e.parent,rf);if(t)return t}return On(e)}function ttt(e,t){const r=[];for(;e;){const i=RS(e),o=i&&t.getSymbolAtLocation(i.expression);if(!o)break;const s=o.flags&2097152?t.getAliasedSymbol(o):o,l=s.declarations&&_n(s.declarations,hi);if(!l)break;r.push(l),e=l}return r}var upe="addMissingNewOperator",VMe=[f.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new.code];Ia({errorCodes:VMe,getCodeActions(e){const{sourceFile:t,span:r}=e,i=Ir.ChangeTracker.with(e,o=>jMe(o,t,r));return[ca(upe,i,f.Add_missing_new_operator_to_call,upe,f.Add_missing_new_operator_to_all_calls)]},fixIds:[upe],getAllCodeActions:e=>Is(e,VMe,(t,r)=>jMe(t,e.sourceFile,r))});function jMe(e,t,r){const i=va(ntt(t,r),ra),o=L.createNewExpression(i.expression,i.typeArguments,i.arguments);e.replaceNode(t,i,o)}function ntt(e,t){let r=Fi(e,t.start);const i=Ml(t);for(;r.end<i;)r=r.parent;return r}var wK="addMissingParam",OK="addOptionalParam",UMe=[f.Expected_0_arguments_but_got_1.code];Ia({errorCodes:UMe,fixIds:[wK,OK],getCodeActions(e){const t=HMe(e.sourceFile,e.program,e.span.start);if(t===void 0)return;const{name:r,declarations:i,newParameters:o,newOptionalParameters:s}=t,l=[];return et(o)&&jn(l,ca(wK,Ir.ChangeTracker.with(e,u=>WK(u,e.program,e.preferences,e.host,i,o)),[et(o)>1?f.Add_missing_parameters_to_0:f.Add_missing_parameter_to_0,r],wK,f.Add_all_missing_parameters)),et(s)&&jn(l,ca(OK,Ir.ChangeTracker.with(e,u=>WK(u,e.program,e.preferences,e.host,i,s)),[et(s)>1?f.Add_optional_parameters_to_0:f.Add_optional_parameter_to_0,r],OK,f.Add_all_optional_parameters)),l},getAllCodeActions:e=>Is(e,UMe,(t,r)=>{const i=HMe(e.sourceFile,e.program,r.start);if(i){const{declarations:o,newParameters:s,newOptionalParameters:l}=i;e.fixId===wK&&WK(t,e.program,e.preferences,e.host,o,s),e.fixId===OK&&WK(t,e.program,e.preferences,e.host,o,l)}})});function HMe(e,t,r){const i=Fi(e,r),o=Rn(i,ra);if(o===void 0||et(o.arguments)===0)return;const s=t.getTypeChecker(),l=s.getTypeAtLocation(o.expression),u=Fn(l.symbol.declarations,qMe);if(u===void 0)return;const d=rl(u);if(d===void 0||d.body===void 0||cC(t,d.getSourceFile()))return;const _=rtt(d);if(_===void 0)return;const m=[],y=[],E=et(d.parameters),A=et(o.arguments);if(E>A)return;const R=[d,...ott(d,u)];for(let N=0,M=0,k=0;N<A;N++){const F=o.arguments[N],O=Qs(F)?LV(F):F,G=s.getWidenedType(s.getBaseTypeOfLiteralType(s.getTypeAtLocation(F))),j=M<E?d.parameters[M]:void 0;if(j&&s.isTypeAssignableTo(G,s.getTypeAtLocation(j))){M++;continue}const K=O&&Je(O)?O.text:"p".concat(k++),Q=itt(s,G,d);jn(m,{pos:N,declaration:KMe(K,Q,void 0)}),!stt(R,M)&&jn(y,{pos:N,declaration:KMe(K,Q,L.createToken(58))})}return{newParameters:m,newOptionalParameters:y,name:Fs(_),declarations:R}}function rtt(e){const t=Fo(e);if(t)return t;if(bi(e.parent)&&Je(e.parent.name)||ko(e.parent)||no(e.parent))return e.parent.name}function itt(e,t,r){var i;return(i=e.typeToTypeNode(e.getWidenedType(t),r,1,8))!=null?i:L.createKeywordTypeNode(159)}function WK(e,t,r,i,o,s){const l=Va(t.getCompilerOptions());Xe(o,u=>{const d=On(u),_=aE(d,t,r,i);et(u.parameters)?e.replaceNodeRangeWithNodes(d,Qa(u.parameters),Ga(u.parameters),JMe(_,l,u,s),{joiner:", ",indentation:0,leadingTriviaOption:Ir.LeadingTriviaOption.IncludeAll,trailingTriviaOption:Ir.TrailingTriviaOption.Include}):Xe(JMe(_,l,u,s),(m,y)=>{et(u.parameters)===0&&y===0?e.insertNodeAt(d,u.parameters.end,m):e.insertNodeAtEndOfList(d,u.parameters,m)}),_.writeFixes(e)})}function qMe(e){switch(e.kind){case 263:case 219:case 175:case 220:return!0;default:return!1}}function JMe(e,t,r,i){const o=Gt(r.parameters,s=>L.createParameterDeclaration(s.modifiers,s.dotDotDotToken,s.name,s.questionToken,s.type,s.initializer));for(const{pos:s,declaration:l}of i){const u=s>0?o[s-1]:void 0;o.splice(s,0,L.updateParameterDeclaration(l,l.modifiers,l.dotDotDotToken,l.name,u&&u.questionToken?L.createToken(58):l.questionToken,ltt(e,l.type,t),l.initializer))}return o}function ott(e,t){const r=[];for(const i of t)if(att(i)){if(et(i.parameters)===et(e.parameters)){r.push(i);continue}if(et(i.parameters)>et(e.parameters))return[]}return r}function att(e){return qMe(e)&&e.body===void 0}function KMe(e,t,r){return L.createParameterDeclaration(void 0,void 0,e,r,t,void 0)}function stt(e,t){return et(e)&&bt(e,r=>t<et(r.parameters)&&!!r.parameters[t]&&r.parameters[t].questionToken===void 0)}function ltt(e,t,r){const i=sE(t,r);return i?(V1(e,i.symbols),i.typeNode):t}var ctt="fixCannotFindModule",ppe="installTypesPackage",XMe=f.Cannot_find_module_0_or_its_corresponding_type_declarations.code,YMe=f.This_JSX_tag_requires_the_module_path_0_to_exist_but_none_could_be_found_Make_sure_you_have_types_for_the_appropriate_package_installed.code,$Me=[XMe,f.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code,YMe];Ia({errorCodes:$Me,getCodeActions:function(t){const{host:r,sourceFile:i,span:{start:o},errorCode:s}=t,l=s===YMe?Yk(t.program.getCompilerOptions(),i):ZMe(i,o);if(l===void 0)return;const u=ePe(l,r,s);return u===void 0?[]:[ca(ctt,[],[f.Install_0,u],ppe,f.Install_all_missing_types_packages,QMe(i.fileName,u))]},fixIds:[ppe],getAllCodeActions:e=>Is(e,$Me,(t,r,i)=>{const o=ZMe(r.file,r.start);if(o!==void 0)switch(e.fixId){case ppe:{const s=ePe(o,e.host,r.code);s&&i.push(QMe(r.file.fileName,s));break}default:C.fail("Bad fixId: ".concat(e.fixId))}})});function QMe(e,t){return{type:"install package",file:e,packageName:t}}function ZMe(e,t){const r=ii(Fi(e,t),Oa);if(!r)return;const i=r.text,{packageName:o}=l3(i);return td(o)?void 0:o}function ePe(e,t,r){var i;return r===XMe?yD.has(e)?"@types/node":void 0:(i=t.isKnownTypesPackageName)!=null&&i.call(t,e)?d3(e):void 0}var tPe=[f.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2.code,f.Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2.code,f.Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more.code,f.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1.code,f.Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1.code,f.Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and_2_more.code],fpe="fixClassDoesntImplementInheritedAbstractMember";Ia({errorCodes:tPe,getCodeActions:function(t){const{sourceFile:r,span:i}=t,o=Ir.ChangeTracker.with(t,s=>rPe(nPe(r,i.start),r,t,s,t.preferences));return o.length===0?void 0:[ca(fpe,o,f.Implement_inherited_abstract_class,fpe,f.Implement_all_inherited_abstract_classes)]},fixIds:[fpe],getAllCodeActions:function(t){const r=new Set;return Is(t,tPe,(i,o)=>{const s=nPe(o.file,o.start);Tm(r,ls(s))&&rPe(s,t.sourceFile,t,i,t.preferences)})}});function nPe(e,t){const r=Fi(e,t);return va(r.parent,hi)}function rPe(e,t,r,i,o){const s=lh(e),l=r.program.getTypeChecker(),u=l.getTypeAtLocation(s),d=l.getPropertiesOfType(u).filter(dtt),_=aE(t,r.program,o,r.host);zpe(e,d,t,r,o,_,m=>i.insertMemberAtStart(t,e,m)),_.writeFixes(i)}function dtt(e){const t=av(Qa(e.getDeclarations()));return!(t&2)&&!!(t&64)}var mpe="classSuperMustPrecedeThisAccess",iPe=[f.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code];Ia({errorCodes:iPe,getCodeActions(e){const{sourceFile:t,span:r}=e,i=aPe(t,r.start);if(!i)return;const{constructor:o,superCall:s}=i,l=Ir.ChangeTracker.with(e,u=>oPe(u,t,o,s));return[ca(mpe,l,f.Make_super_call_the_first_statement_in_the_constructor,mpe,f.Make_all_super_calls_the_first_statement_in_their_constructor)]},fixIds:[mpe],getAllCodeActions(e){const{sourceFile:t}=e,r=new Set;return Is(e,iPe,(i,o)=>{const s=aPe(o.file,o.start);if(!s)return;const{constructor:l,superCall:u}=s;Tm(r,ls(l.parent))&&oPe(i,t,l,u)})}});function oPe(e,t,r,i){e.insertNodeAtConstructorStart(t,r,i),e.delete(t,i)}function aPe(e,t){const r=Fi(e,t);if(r.kind!==110)return;const i=uf(r),o=sPe(i.body);return o&&!o.expression.arguments.some(s=>Jr(s)&&s.expression===r)?{constructor:i,superCall:o}:void 0}function sPe(e){return od(e)&&r1(e.expression)?e:Yo(e)?void 0:Xo(e,sPe)}var hpe="constructorForDerivedNeedSuperCall",lPe=[f.Constructors_for_derived_classes_must_contain_a_super_call.code];Ia({errorCodes:lPe,getCodeActions(e){const{sourceFile:t,span:r}=e,i=cPe(t,r.start),o=Ir.ChangeTracker.with(e,s=>dPe(s,t,i));return[ca(hpe,o,f.Add_missing_super_call,hpe,f.Add_all_missing_super_calls)]},fixIds:[hpe],getAllCodeActions:e=>Is(e,lPe,(t,r)=>dPe(t,e.sourceFile,cPe(r.file,r.start)))});function cPe(e,t){const r=Fi(e,t);return C.assert(kl(r.parent),"token should be at the constructor declaration"),r.parent}function dPe(e,t,r){const i=L.createExpressionStatement(L.createCallExpression(L.createSuper(),void 0,se));e.insertNodeAtConstructorStart(t,r,i)}var uPe="fixEnableJsxFlag",pPe=[f.Cannot_use_JSX_unless_the_jsx_flag_is_provided.code];Ia({errorCodes:pPe,getCodeActions:function(t){const{configFile:r}=t.program.getCompilerOptions();if(r===void 0)return;const i=Ir.ChangeTracker.with(t,o=>fPe(o,r));return[yh(uPe,i,f.Enable_the_jsx_flag_in_your_configuration_file)]},fixIds:[uPe],getAllCodeActions:e=>Is(e,pPe,t=>{const{configFile:r}=e.program.getCompilerOptions();r!==void 0&&fPe(t,r)})});function fPe(e,t){Hpe(e,t,"jsx",L.createStringLiteral("react"))}var _pe="fixNaNEquality",mPe=[f.This_condition_will_always_return_0.code];Ia({errorCodes:mPe,getCodeActions(e){const{sourceFile:t,span:r,program:i}=e,o=hPe(i,t,r);if(o===void 0)return;const{suggestion:s,expression:l,arg:u}=o,d=Ir.ChangeTracker.with(e,_=>_Pe(_,t,u,l));return[ca(_pe,d,[f.Use_0,s],_pe,f.Use_Number_isNaN_in_all_conditions)]},fixIds:[_pe],getAllCodeActions:e=>Is(e,mPe,(t,r)=>{const i=hPe(e.program,r.file,Ad(r.start,r.length));i&&_Pe(t,r.file,i.arg,i.expression)})});function hPe(e,t,r){const i=_n(e.getSemanticDiagnostics(t),l=>l.start===r.start&&l.length===r.length);if(i===void 0||i.relatedInformation===void 0)return;const o=_n(i.relatedInformation,l=>l.code===f.Did_you_mean_0.code);if(o===void 0||o.file===void 0||o.start===void 0||o.length===void 0)return;const s=Jpe(o.file,Ad(o.start,o.length));if(s!==void 0&&Et(s)&&Nr(s.parent))return{suggestion:utt(o.messageText),expression:s.parent,arg:s}}function _Pe(e,t,r,i){const o=L.createCallExpression(L.createPropertyAccessExpression(L.createIdentifier("Number"),L.createIdentifier("isNaN")),void 0,[r]),s=i.operatorToken.kind;e.replaceNode(t,i,s===38||s===36?L.createPrefixUnaryExpression(54,o):o)}function utt(e){const[,t]=u_(e,"\n",0).match(/'(.*)'/)||[];return t}Ia({errorCodes:[f.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher.code,f.Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher.code,f.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_node18_node20_nodenext_or_preserve_and_the_target_option_is_set_to_es2017_or_higher.code],getCodeActions:function(t){const r=t.program.getCompilerOptions(),{configFile:i}=r;if(i===void 0)return;const o=[],s=Tu(r);if(s>=5&&s<99){const _=Ir.ChangeTracker.with(t,m=>{Hpe(m,i,"module",L.createStringLiteral("esnext"))});o.push(yh("fixModuleOption",_,[f.Set_the_module_option_in_your_configuration_file_to_0,"esnext"]))}const u=Va(r);if(u<4||u>99){const _=Ir.ChangeTracker.with(t,m=>{if(!KN(i))return;const E=[["target",L.createStringLiteral("es2017")]];s===1&&E.push(["module",L.createStringLiteral("commonjs")]),Upe(m,i,E)});o.push(yh("fixTargetOption",_,[f.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return o.length?o:void 0}});var gpe="fixPropertyAssignment",gPe=[f.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];Ia({errorCodes:gPe,fixIds:[gpe],getCodeActions(e){const{sourceFile:t,span:r}=e,i=vPe(t,r.start),o=Ir.ChangeTracker.with(e,s=>yPe(s,e.sourceFile,i));return[ca(gpe,o,[f.Change_0_to_1,"=",":"],gpe,[f.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:e=>Is(e,gPe,(t,r)=>yPe(t,r.file,vPe(r.file,r.start)))});function yPe(e,t,r){e.replaceNode(t,r,L.createPropertyAssignment(r.name,r.objectAssignmentInitializer))}function vPe(e,t){return va(Fi(e,t).parent,Ud)}var ype="extendsInterfaceBecomesImplements",bPe=[f.Cannot_extend_an_interface_0_Did_you_mean_implements.code];Ia({errorCodes:bPe,getCodeActions(e){const{sourceFile:t}=e,r=TPe(t,e.span.start);if(!r)return;const{extendsToken:i,heritageClauses:o}=r,s=Ir.ChangeTracker.with(e,l=>SPe(l,t,i,o));return[ca(ype,s,f.Change_extends_to_implements,ype,f.Change_all_extended_interfaces_to_implements)]},fixIds:[ype],getAllCodeActions:e=>Is(e,bPe,(t,r)=>{const i=TPe(r.file,r.start);i&&SPe(t,r.file,i.extendsToken,i.heritageClauses)})});function TPe(e,t){const r=Fi(e,t),i=hd(r).heritageClauses,o=i[0].getFirstToken();return o.kind===96?{extendsToken:o,heritageClauses:i}:void 0}function SPe(e,t,r,i){if(e.replaceNode(t,r,L.createToken(119)),i.length===2&&i[0].token===96&&i[1].token===119){const o=i[1].getFirstToken(),s=o.getFullStart();e.replaceRange(t,{pos:s,end:s},L.createToken(28));const l=t.text;let u=o.end;for(;u<l.length&&Hh(l.charCodeAt(u));)u++;e.deleteRange(t,{pos:o.getStart(),end:u})}}var vpe="forgottenThisPropertyAccess",EPe=f.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,APe=[f.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,f.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,EPe];Ia({errorCodes:APe,getCodeActions(e){const{sourceFile:t}=e,r=IPe(t,e.span.start,e.errorCode);if(!r)return;const i=Ir.ChangeTracker.with(e,o=>xPe(o,t,r));return[ca(vpe,i,[f.Add_0_to_unresolved_variable,r.className||"this"],vpe,f.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)]},fixIds:[vpe],getAllCodeActions:e=>Is(e,APe,(t,r)=>{const i=IPe(r.file,r.start,r.code);i&&xPe(t,e.sourceFile,i)})});function IPe(e,t,r){const i=Fi(e,t);if(Je(i)||to(i))return{node:i,className:r===EPe?hd(i).name.text:void 0}}function xPe(e,t,{node:r,className:i}){zp(r),e.replaceNode(t,r,L.createPropertyAccessExpression(i?L.createIdentifier(i):L.createThis(),r))}var bpe="fixInvalidJsxCharacters_expression",FK="fixInvalidJsxCharacters_htmlEntity",RPe=[f.Unexpected_token_Did_you_mean_or_gt.code,f.Unexpected_token_Did_you_mean_or_rbrace.code];Ia({errorCodes:RPe,fixIds:[bpe,FK],getCodeActions(e){const{sourceFile:t,preferences:r,span:i}=e,o=Ir.ChangeTracker.with(e,l=>Tpe(l,r,t,i.start,!1)),s=Ir.ChangeTracker.with(e,l=>Tpe(l,r,t,i.start,!0));return[ca(bpe,o,f.Wrap_invalid_character_in_an_expression_container,bpe,f.Wrap_all_invalid_characters_in_an_expression_container),ca(FK,s,f.Convert_invalid_character_to_its_html_entity_code,FK,f.Convert_all_invalid_characters_to_HTML_entity_code)]},getAllCodeActions(e){return Is(e,RPe,(t,r)=>Tpe(t,e.preferences,r.file,r.start,e.fixId===FK))}});var DPe={">":">","}":"}"};function ptt(e){return Ms(DPe,e)}function Tpe(e,t,r,i,o){const s=r.getText()[i];if(!ptt(s))return;const l=o?DPe[s]:"{".concat(OP(r,t,s),"}");e.replaceRangeWithText(r,{pos:i,end:i+1},l)}var zK="deleteUnmatchedParameter",CPe="renameUnmatchedParameter",NPe=[f.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name.code];Ia({fixIds:[zK,CPe],errorCodes:NPe,getCodeActions:function(t){const{sourceFile:r,span:i}=t,o=[],s=MPe(r,i.start);if(s)return jn(o,ftt(t,s)),jn(o,mtt(t,s)),o},getAllCodeActions:function(t){const r=new Map;return bx(Ir.ChangeTracker.with(t,i=>{Tx(t,NPe,({file:o,start:s})=>{const l=MPe(o,s);l&&r.set(l.signature,jn(r.get(l.signature),l.jsDocParameterTag))}),r.forEach((o,s)=>{if(t.fixId===zK){const l=new Set(o);i.filterJSDocTags(s.getSourceFile(),s,u=>!l.has(u))}})}))}});function ftt(e,{name:t,jsDocHost:r,jsDocParameterTag:i}){const o=Ir.ChangeTracker.with(e,s=>s.filterJSDocTags(e.sourceFile,r,l=>l!==i));return ca(zK,o,[f.Delete_unused_param_tag_0,t.getText(e.sourceFile)],zK,f.Delete_all_unused_param_tags)}function mtt(e,{name:t,jsDocHost:r,signature:i,jsDocParameterTag:o}){if(!et(i.parameters))return;const s=e.sourceFile,l=w0(i),u=new Set;for(const y of l)hf(y)&&Je(y.name)&&u.add(y.name.escapedText);const d=Wn(i.parameters,y=>Je(y.name)&&!u.has(y.name.escapedText)?y.name.getText(s):void 0);if(d===void 0)return;const _=L.updateJSDocParameterTag(o,o.tagName,L.createIdentifier(d),o.isBracketed,o.typeExpression,o.isNameFirst,o.comment),m=Ir.ChangeTracker.with(e,y=>y.replaceJSDocComment(s,r,Gt(l,E=>E===o?_:E)));return yh(CPe,m,[f.Rename_param_tag_name_0_to_1,t.getText(s),d])}function MPe(e,t){const r=Fi(e,t);if(r.parent&&hf(r.parent)&&Je(r.parent.name)){const i=r.parent,o=IS(i),s=G0(i);if(o&&s)return{jsDocHost:o,signature:s,name:r.parent.name,jsDocParameterTag:i}}}var Spe="fixUnreferenceableDecoratorMetadata",htt=[f.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled.code];Ia({errorCodes:htt,getCodeActions:e=>{const t=_tt(e.sourceFile,e.program,e.span.start);if(!t)return;const r=Ir.ChangeTracker.with(e,s=>t.kind===277&&ytt(s,e.sourceFile,t,e.program)),i=Ir.ChangeTracker.with(e,s=>gtt(s,e.sourceFile,t,e.program));let o;return r.length&&(o=jn(o,yh(Spe,r,f.Convert_named_imports_to_namespace_import))),i.length&&(o=jn(o,yh(Spe,i,f.Use_import_type))),o},fixIds:[Spe]});function _tt(e,t,r){const i=ii(Fi(e,r),Je);if(!i||i.parent.kind!==184)return;const s=t.getTypeChecker().getSymbolAtLocation(i);return _n((s==null?void 0:s.declarations)||se,Np(Hm,Au,Oc))}function gtt(e,t,r,i){if(r.kind===272){e.insertModifierBefore(t,156,r.name);return}const o=r.kind===274?r:r.parent.parent;if(o.name&&o.namedBindings)return;const s=i.getTypeChecker();Rne(o,u=>{if(Id(u.symbol,s).flags&111551)return!0})||e.insertModifierBefore(t,156,o)}function ytt(e,t,r,i){yx.doChangeNamedToNamespaceOrDefault(t,i,e,r.parent)}var yz="unusedIdentifier",Epe="unusedIdentifier_prefix",Ape="unusedIdentifier_delete",BK="unusedIdentifier_deleteImports",Ipe="unusedIdentifier_infer",PPe=[f._0_is_declared_but_its_value_is_never_read.code,f._0_is_declared_but_never_used.code,f.Property_0_is_declared_but_its_value_is_never_read.code,f.All_imports_in_import_declaration_are_unused.code,f.All_destructured_elements_are_unused.code,f.All_variables_are_unused.code,f.All_type_parameters_are_unused.code];Ia({errorCodes:PPe,getCodeActions(e){const{errorCode:t,sourceFile:r,program:i,cancellationToken:o}=e,s=i.getTypeChecker(),l=i.getSourceFiles(),u=Fi(r,e.span.start);if(Am(u))return[qP(Ir.ChangeTracker.with(e,y=>y.delete(r,u)),f.Remove_template_tag)];if(u.kind===30){const y=Ir.ChangeTracker.with(e,E=>kPe(E,r,u));return[qP(y,f.Remove_type_parameters)]}const d=wPe(u);if(d){const y=Ir.ChangeTracker.with(e,E=>E.delete(r,d));return[ca(yz,y,[f.Remove_import_from_0,pre(d)],BK,f.Delete_all_unused_imports)]}else if(xpe(u)){const y=Ir.ChangeTracker.with(e,E=>GK(r,u,E,s,l,i,o,!1));if(y.length)return[ca(yz,y,[f.Remove_unused_declaration_for_Colon_0,u.getText(r)],BK,f.Delete_all_unused_imports)]}if(mf(u.parent)||_v(u.parent)){if(no(u.parent.parent)){const y=u.parent.elements,E=[y.length>1?f.Remove_unused_declarations_for_Colon_0:f.Remove_unused_declaration_for_Colon_0,Gt(y,A=>A.getText(r)).join(", ")];return[qP(Ir.ChangeTracker.with(e,A=>vtt(A,r,u.parent)),E)]}return[qP(Ir.ChangeTracker.with(e,y=>btt(e,y,r,u.parent)),f.Remove_unused_destructuring_declaration)]}if(OPe(r,u))return[qP(Ir.ChangeTracker.with(e,y=>WPe(y,r,u.parent)),f.Remove_variable_statement)];if(Je(u)&&ec(u.parent))return[qP(Ir.ChangeTracker.with(e,y=>GPe(y,r,u.parent)),[f.Remove_unused_declaration_for_Colon_0,u.getText(r)])];const _=[];if(u.kind===140){const y=Ir.ChangeTracker.with(e,A=>LPe(A,r,u)),E=va(u.parent,v1).typeParameter.name.text;_.push(ca(yz,y,[f.Replace_infer_0_with_unknown,E],Ipe,f.Replace_all_unused_infer_with_unknown))}else{const y=Ir.ChangeTracker.with(e,E=>GK(r,u,E,s,l,i,o,!1));if(y.length){const E=Ea(u.parent)?u.parent:u;_.push(qP(y,[f.Remove_unused_declaration_for_Colon_0,E.getText(r)]))}}const m=Ir.ChangeTracker.with(e,y=>FPe(y,t,r,u));return m.length&&_.push(ca(yz,m,[f.Prefix_0_with_an_underscore,u.getText(r)],Epe,f.Prefix_all_unused_declarations_with_where_possible)),_},fixIds:[Epe,Ape,BK,Ipe],getAllCodeActions:e=>{const{sourceFile:t,program:r,cancellationToken:i}=e,o=r.getTypeChecker(),s=r.getSourceFiles();return Is(e,PPe,(l,u)=>{const d=Fi(t,u.start);switch(e.fixId){case Epe:FPe(l,u.code,t,d);break;case BK:{const _=wPe(d);_?l.delete(t,_):xpe(d)&&GK(t,d,l,o,s,r,i,!0);break}case Ape:{if(d.kind===140||xpe(d))break;if(Am(d))l.delete(t,d);else if(d.kind===30)kPe(l,t,d);else if(mf(d.parent)){if(d.parent.parent.initializer)break;(!no(d.parent.parent)||zPe(d.parent.parent,o,s))&&l.delete(t,d.parent.parent)}else{if(_v(d.parent.parent)&&d.parent.parent.parent.initializer)break;OPe(t,d)?WPe(l,t,d.parent):Je(d)&&ec(d.parent)?GPe(l,t,d.parent):GK(t,d,l,o,s,r,i,!0)}break}case Ipe:d.kind===140&&LPe(l,t,d);break;default:C.fail(JSON.stringify(e.fixId))}})}});function LPe(e,t,r){e.replaceNode(t,r.parent,L.createKeywordTypeNode(159))}function qP(e,t){return ca(yz,e,t,Ape,f.Delete_all_unused_declarations)}function kPe(e,t,r){e.delete(t,C.checkDefined(va(r.parent,MG).typeParameters,"The type parameter to delete should exist"))}function xpe(e){return e.kind===102||e.kind===80&&(e.parent.kind===277||e.parent.kind===274)}function wPe(e){return e.kind===102?ii(e.parent,Sl):void 0}function OPe(e,t){return _d(t.parent)&&Qa(t.parent.getChildren(e))===t}function WPe(e,t,r){e.delete(t,r.parent.kind===244?r.parent:r)}function vtt(e,t,r){Xe(r.elements,i=>e.delete(t,i))}function btt(e,t,r,{parent:i}){if(bi(i)&&i.initializer&&gS(i.initializer))if(_d(i.parent)&&et(i.parent.declarations)>1){const o=i.parent.parent,s=o.getStart(r),l=o.end;t.delete(r,i),t.insertNodeAt(r,l,i.initializer,{prefix:Ty(e.host,e.formatContext.options)+r.text.slice(N7(r.text,s-1),s),suffix:MO(r)?";":""})}else t.replaceNode(r,i.parent,i.initializer);else t.delete(r,i)}function FPe(e,t,r,i){t!==f.Property_0_is_declared_but_its_value_is_never_read.code&&(i.kind===140&&(i=va(i.parent,v1).typeParameter.name),Je(i)&&Ttt(i)&&(e.replaceNode(r,i,L.createIdentifier("_".concat(i.text))),no(i.parent)&&FR(i.parent).forEach(o=>{Je(o.name)&&e.replaceNode(r,o.name,L.createIdentifier("_".concat(o.name.text)))})))}function Ttt(e){switch(e.parent.kind){case 170:case 169:return!0;case 261:switch(e.parent.parent.parent.kind){case 251:case 250:return!0}}return!1}function GK(e,t,r,i,o,s,l,u){Stt(t,r,e,i,o,s,l,u),Je(t)&&el.Core.eachSymbolReferenceInFile(t,i,e,d=>{Jr(d.parent)&&d.parent.name===d&&(d=d.parent),!u&&xtt(d)&&r.delete(e,d.parent.parent)})}function Stt(e,t,r,i,o,s,l,u){const{parent:d}=e;if(no(d))Ett(t,r,d,i,o,s,l,u);else if(!(u&&Je(e)&&el.Core.isSymbolReferencedInFile(e,i,r))){const _=Hm(d)?e:Ea(d)?d.parent:d;C.assert(_!==r,"should not delete whole source file"),t.delete(r,_)}}function Ett(e,t,r,i,o,s,l,u=!1){if(Att(i,t,r,o,s,l,u))if(r.modifiers&&r.modifiers.length>0&&(!Je(r.name)||el.Core.isSymbolReferencedInFile(r.name,i,t)))for(const d of r.modifiers)Ra(d)&&e.deleteModifier(t,d);else!r.initializer&&zPe(r,i,o)&&e.delete(t,r)}function zPe(e,t,r){const i=e.parent.parameters.indexOf(e);return!el.Core.someSignatureUsage(e.parent,r,t,(o,s)=>!s||s.arguments.length>i)}function Att(e,t,r,i,o,s,l){const{parent:u}=r;switch(u.kind){case 175:case 177:const d=u.parameters.indexOf(r),_=Ll(u)?u.name:u,m=el.Core.getReferencedSymbolsForNode(u.pos,_,o,i,s);if(m){for(const y of m)for(const E of y.references)if(E.kind===el.EntryKind.Node){const A=BM(E.node)&&ra(E.node.parent)&&E.node.parent.arguments.length>d,R=Jr(E.node.parent)&&BM(E.node.parent.expression)&&ra(E.node.parent.parent)&&E.node.parent.parent.arguments.length>d,N=(Ll(E.node.parent)||Um(E.node.parent))&&E.node.parent!==r.parent&&E.node.parent.parameters.length>d;if(A||R||N)return!1}}return!0;case 263:return u.name&&Itt(e,t,u.name)?BPe(u,r,l):!0;case 219:case 220:return BPe(u,r,l);case 179:return!1;case 178:return!0;default:return C.failBadSyntaxKind(u)}}function Itt(e,t,r){return!!el.Core.eachSymbolReferenceInFile(r,e,t,i=>Je(i)&&ra(i.parent)&&i.parent.arguments.includes(i))}function BPe(e,t,r){const i=e.parameters,o=i.indexOf(t);return C.assert(o!==-1,"The parameter should already be in the list"),r?i.slice(o+1).every(s=>Je(s.name)&&!s.symbol.isReferenced):o===i.length-1}function xtt(e){return(Nr(e.parent)&&e.parent.left===e||(Dj(e.parent)||$0(e.parent))&&e.parent.operand===e)&&od(e.parent.parent)}function GPe(e,t,r){const i=r.symbol.declarations;if(i)for(const o of i)e.delete(t,o)}var Rpe="fixUnreachableCode",VPe=[f.Unreachable_code_detected.code];Ia({errorCodes:VPe,getCodeActions(e){if(e.program.getSyntacticDiagnostics(e.sourceFile,e.cancellationToken).length)return;const r=Ir.ChangeTracker.with(e,i=>jPe(i,e.sourceFile,e.span.start,e.span.length,e.errorCode));return[ca(Rpe,r,f.Remove_unreachable_code,Rpe,f.Remove_all_unreachable_code)]},fixIds:[Rpe],getAllCodeActions:e=>Is(e,VPe,(t,r)=>jPe(t,r.file,r.start,r.length,r.code))});function jPe(e,t,r,i,o){const s=Fi(t,r),l=Rn(s,Gi);if(l.getStart(t)!==s.getStart(t)){const d=JSON.stringify({statementKind:C.formatSyntaxKind(l.kind),tokenKind:C.formatSyntaxKind(s.kind),errorCode:o,start:r,length:i});C.fail("Token and statement should start at the same point. "+d)}const u=(ia(l.parent)?l.parent:l).parent;if(!ia(l.parent)||l===Qa(l.parent.statements))switch(u.kind){case 246:if(u.elseStatement){if(ia(l.parent))break;e.replaceNode(t,l,L.createBlock(se));return}case 248:case 249:e.delete(t,u);return}if(ia(l.parent)){const d=r+i,_=C.checkDefined(Rtt(KV(l.parent.statements,l),m=>m.pos<d),"Some statement should be last");e.deleteNodeRange(t,l,_)}else e.delete(t,l)}function Rtt(e,t){let r;for(const i of e){if(!t(i))break;r=i}return r}var Dpe="fixUnusedLabel",UPe=[f.Unused_label.code];Ia({errorCodes:UPe,getCodeActions(e){const t=Ir.ChangeTracker.with(e,r=>HPe(r,e.sourceFile,e.span.start));return[ca(Dpe,t,f.Remove_unused_label,Dpe,f.Remove_all_unused_labels)]},fixIds:[Dpe],getAllCodeActions:e=>Is(e,UPe,(t,r)=>HPe(t,r.file,r.start))});function HPe(e,t,r){const i=Fi(t,r),o=va(i.parent,Wb),s=i.getStart(t),l=o.statement.getStart(t),u=Vf(s,l,t)?l:wa(t.text,Rs(o,59,t).end,!0);e.deleteRange(t,{pos:s,end:u})}var qPe="fixJSDocTypes_plain",Cpe="fixJSDocTypes_nullable",JPe=[f.JSDoc_types_can_only_be_used_inside_documentation_comments.code,f._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code,f._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code];Ia({errorCodes:JPe,getCodeActions(e){const{sourceFile:t}=e,r=e.program.getTypeChecker(),i=XPe(t,e.span.start,r);if(!i)return;const{typeNode:o,type:s}=i,l=o.getText(t),u=[d(s,qPe,f.Change_all_jsdoc_style_types_to_TypeScript)];return o.kind===315&&u.push(d(s,Cpe,f.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types)),u;function d(_,m,y){const E=Ir.ChangeTracker.with(e,A=>KPe(A,t,o,_,r));return ca("jdocTypes",E,[f.Change_0_to_1,l,r.typeToString(_)],m,y)}},fixIds:[qPe,Cpe],getAllCodeActions(e){const{fixId:t,program:r,sourceFile:i}=e,o=r.getTypeChecker();return Is(e,JPe,(s,l)=>{const u=XPe(l.file,l.start,o);if(!u)return;const{typeNode:d,type:_}=u,m=d.kind===315&&t===Cpe?o.getNullableType(_,32768):_;KPe(s,i,d,m,o)})}});function KPe(e,t,r,i,o){e.replaceNode(t,r,o.typeToTypeNode(i,r,void 0))}function XPe(e,t,r){const i=Rn(Fi(e,t),Dtt),o=i&&i.type;return o&&{typeNode:o,type:Ctt(r,o)}}function Dtt(e){switch(e.kind){case 235:case 180:case 181:case 263:case 178:case 182:case 201:case 175:case 174:case 170:case 173:case 172:case 179:case 266:case 217:case 261:return!0;default:return!1}}function Ctt(e,t){if(CD(t)){const r=e.getTypeFromTypeNode(t.type);return r===e.getNeverType()||r===e.getVoidType()?r:e.getUnionType(jn([r,e.getUndefinedType()],t.postfix?void 0:e.getNullType()))}return e.getTypeFromTypeNode(t)}var Npe="fixMissingCallParentheses",YPe=[f.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead.code];Ia({errorCodes:YPe,fixIds:[Npe],getCodeActions(e){const{sourceFile:t,span:r}=e,i=QPe(t,r.start);if(!i)return;const o=Ir.ChangeTracker.with(e,s=>$Pe(s,e.sourceFile,i));return[ca(Npe,o,f.Add_missing_call_parentheses,Npe,f.Add_all_missing_call_parentheses)]},getAllCodeActions:e=>Is(e,YPe,(t,r)=>{const i=QPe(r.file,r.start);i&&$Pe(t,r.file,i)})});function $Pe(e,t,r){e.replaceNodeWithText(t,r,"".concat(r.text,"()"))}function QPe(e,t){const r=Fi(e,t);if(Jr(r.parent)){let i=r.parent;for(;Jr(i.parent);)i=i.parent;return i.name}if(Je(r))return r}var ZPe="fixMissingTypeAnnotationOnExports",Mpe="add-annotation",Ppe="add-type-assertion",Ntt="extract-expression",eLe=[f.Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations.code,f.Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations.code,f.At_least_one_accessor_must_have_an_explicit_type_annotation_with_isolatedDeclarations.code,f.Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations.code,f.Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations.code,f.Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations.code,f.Expression_type_can_t_be_inferred_with_isolatedDeclarations.code,f.Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations.code,f.Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations.code,f.Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedDeclarations.code,f.Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDeclarations.code,f.Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations.code,f.Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations.code,f.Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations.code,f.Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations.code,f.Default_exports_can_t_be_inferred_with_isolatedDeclarations.code,f.Only_const_arrays_can_be_inferred_with_isolatedDeclarations.code,f.Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations_Add_an_explicit_declaration_for_the_properties_assigned_to_this_function.code,f.Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_its_type_This_is_not_supported_with_isolatedDeclarations.code,f.Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations.code,f.Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit.code],Mtt=new Set([178,175,173,263,219,220,261,170,278,264,207,208]),tLe=531469,nLe=1;Ia({errorCodes:eLe,fixIds:[ZPe],getCodeActions(e){const t=[];return JP(Mpe,t,e,0,r=>r.addTypeAnnotation(e.span)),JP(Mpe,t,e,1,r=>r.addTypeAnnotation(e.span)),JP(Mpe,t,e,2,r=>r.addTypeAnnotation(e.span)),JP(Ppe,t,e,0,r=>r.addInlineAssertion(e.span)),JP(Ppe,t,e,1,r=>r.addInlineAssertion(e.span)),JP(Ppe,t,e,2,r=>r.addInlineAssertion(e.span)),JP(Ntt,t,e,0,r=>r.extractAsVariable(e.span)),t},getAllCodeActions:e=>{const t=rLe(e,0,r=>{Tx(e,eLe,i=>{r.addTypeAnnotation(i)})});return bx(t.textChanges)}});function JP(e,t,r,i,o){const s=rLe(r,i,o);s.result&&s.textChanges.length&&t.push(ca(e,s.textChanges,s.result,ZPe,f.Add_all_missing_type_annotations))}function rLe(e,t,r){const i={typeNode:void 0,mutatedTarget:!1},o=Ir.ChangeTracker.fromContext(e),s=e.sourceFile,l=e.program,u=l.getTypeChecker(),d=Va(l.getCompilerOptions()),_=aE(e.sourceFile,e.program,e.preferences,e.host),m=new Set,y=new Set,E=jb({preserveSourceNewlines:!1}),A=r({addTypeAnnotation:R,addInlineAssertion:O,extractAsVariable:G});return _.writeFixes(o),{result:A,textChanges:o.getChanges()};function R(De){e.cancellationToken.throwIfCancellationRequested();const _e=Fi(s,De.start),Ve=j(_e);if(Ve)return ec(Ve)?N(Ve):K(Ve);const Ge=lt(_e);if(Ge)return K(Ge)}function N(De){var _e;if(y!=null&&y.has(De))return;y==null||y.add(De);const Ve=u.getTypeAtLocation(De),Ge=u.getPropertiesOfType(Ve);if(!De.name||Ge.length===0)return;const Be=[];for(const Vt of Ge)_p(Vt.name,Va(l.getCompilerOptions()))&&(Vt.valueDeclaration&&bi(Vt.valueDeclaration)||Be.push(L.createVariableStatement([L.createModifier(95)],L.createVariableDeclarationList([L.createVariableDeclaration(Vt.name,void 0,ee(u.getTypeOfSymbol(Vt),De),void 0)]))));if(Be.length===0)return;const ot=[];(_e=De.modifiers)!=null&&_e.some(Vt=>Vt.kind===95)&&ot.push(L.createModifier(95)),ot.push(L.createModifier(138));const Ot=L.createModuleDeclaration(ot,De.name,L.createModuleBlock(Be),101441696);return o.insertNodeAfter(s,De,Ot),[f.Annotate_types_of_properties_expando_function_in_a_namespace]}function M(De){return!Ps(De)&&!ra(De)&&!za(De)&&!Dd(De)}function k(De,_e){return M(De)&&(De=L.createParenthesizedExpression(De)),L.createAsExpression(De,_e)}function F(De,_e){return M(De)&&(De=L.createParenthesizedExpression(De)),L.createAsExpression(L.createSatisfiesExpression(De,ys(_e)),_e)}function O(De){e.cancellationToken.throwIfCancellationRequested();const _e=Fi(s,De.start);if(j(_e))return;const Ge=le(_e,De);if(!Ge||c1(Ge)||c1(Ge.parent))return;const Be=Et(Ge),ot=Ud(Ge);if(!ot&&rd(Ge)||Rn(Ge,na)||Rn(Ge,gy)||Be&&(Rn(Ge,Gp)||Rn(Ge,xi))||Jf(Ge))return;const Ot=Rn(Ge,bi),Vt=Ot&&u.getTypeAtLocation(Ot);if(Vt&&Vt.flags&8192||!(Be||ot))return;const{typeNode:mn,mutatedTarget:Hn}=ge(Ge,Vt);if(!(!mn||Hn))return ot?o.insertNodeAt(s,Ge.end,k(ys(Ge.name),mn),{prefix:": "}):Be?o.replaceNode(s,Ge,F(ys(Ge),mn)):C.assertNever(Ge),[f.Add_satisfies_and_an_inline_type_assertion_with_0,ze(mn)]}function G(De){e.cancellationToken.throwIfCancellationRequested();const _e=Fi(s,De.start),Ve=le(_e,De);if(!Ve||c1(Ve)||c1(Ve.parent)||!Et(Ve))return;if(Dd(Ve))return o.replaceNode(s,Ve,k(Ve,L.createTypeReferenceNode("const"))),[f.Mark_array_literal_as_const];const Be=Rn(Ve,Rc);if(Be){if(Be===Ve.parent&&Ps(Ve))return;const ot=L.createUniqueName(kde(Ve,s,u,s),16);let Ot=Ve,Vt=Ve;if(Jf(Ot)&&(Ot=Vm(Ot.parent),je(Ot.parent)?Vt=Ot=Ot.parent:Vt=k(Ot,L.createTypeReferenceNode("const"))),Ps(Ot))return;const mn=L.createVariableStatement(void 0,L.createVariableDeclarationList([L.createVariableDeclaration(ot,void 0,void 0,Vt)],2)),Hn=Rn(Ve,Gi);return o.insertNodeBefore(s,Hn,mn),o.replaceNode(s,Ot,L.createAsExpression(L.cloneNode(ot),L.createTypeQueryNode(L.cloneNode(ot)))),[f.Extract_to_variable_and_replace_with_0_as_typeof_0,ze(ot)]}}function j(De){const _e=Rn(De,Ve=>Gi(Ve)?"quit":FI(Ve));if(_e&&FI(_e)){let Ve=_e;if(Nr(Ve)&&(Ve=Ve.left,!FI(Ve)))return;const Ge=u.getTypeAtLocation(Ve.expression);if(!Ge)return;const Be=u.getPropertiesOfType(Ge);if(bt(Be,ot=>ot.valueDeclaration===_e||ot.valueDeclaration===_e.parent)){const ot=Ge.symbol.valueDeclaration;if(ot){if(Mb(ot)&&bi(ot.parent))return ot.parent;if(ec(ot))return ot}}}}function K(De){if(!(m!=null&&m.has(De)))switch(m==null||m.add(De),De.kind){case 170:case 173:case 261:return Ne(De);case 220:case 219:case 263:case 175:case 178:return Q(De,s);case 278:return J(De);case 264:return he(De);case 207:case 208:return re(De);default:throw new Error("Cannot find a fix for the given node ".concat(De.kind))}}function Q(De,_e){if(De.type)return;const{typeNode:Ve}=ge(De);if(Ve)return o.tryInsertTypeAnnotation(_e,De,Ve),[f.Add_return_type_0,ze(Ve)]}function J(De){if(De.isExportEquals)return;const{typeNode:_e}=ge(De.expression);if(!_e)return;const Ve=L.createUniqueName("_default");return o.replaceNodeWithNodes(s,De,[L.createVariableStatement(void 0,L.createVariableDeclarationList([L.createVariableDeclaration(Ve,void 0,_e,De.expression)],2)),L.updateExportAssignment(De,De==null?void 0:De.modifiers,Ve)]),[f.Extract_default_export_to_variable]}function he(De){var gt;var _e,Ve;const Ge=(_e=De.heritageClauses)==null?void 0:_e.find(tn=>tn.token===96),Be=Ge==null?void 0:Ge.types[0];if(!Be)return;const{typeNode:ot}=ge(Be.expression);if(!ot)return;const Ot=L.createUniqueName(De.name?De.name.text+"Base":"Anonymous",16),Vt=L.createVariableStatement(void 0,L.createVariableDeclarationList([L.createVariableDeclaration(Ot,void 0,ot,Be.expression)],2));o.insertNodeBefore(s,De,Vt);const mn=ub(s.text,Be.end),Hn=(gt=(Ve=mn==null?void 0:mn[mn.length-1])==null?void 0:Ve.end)!=null?gt:Be.end;return o.replaceRange(s,{pos:Be.getFullStart(),end:Hn},Ot,{prefix:" "}),[f.Extract_base_class_to_variable]}function re(De){var _e;const Ve=De.parent,Ge=De.parent.parent.parent;if(!Ve.initializer)return;let Be;const ot=[];if(Je(Ve.initializer))Be={expression:{kind:3,identifier:Ve.initializer}};else{const mn=L.createUniqueName("dest",16);Be={expression:{kind:3,identifier:mn}},ot.push(L.createVariableStatement(void 0,L.createVariableDeclarationList([L.createVariableDeclaration(mn,void 0,void 0,Ve.initializer)],2)))}const Ot=[];_v(De)?q(De,Ot,Be):ue(De,Ot,Be);const Vt=new Map;for(const mn of Ot){if(mn.element.propertyName&&Ea(mn.element.propertyName)){const gt=mn.element.propertyName.expression,tn=L.getGeneratedNameForNode(gt),ir=L.createVariableDeclaration(tn,void 0,void 0,gt),Ri=L.createVariableDeclarationList([ir],2),_o=L.createVariableStatement(void 0,Ri);ot.push(_o),Vt.set(gt,tn)}const Hn=mn.element.name;if(_v(Hn))q(Hn,Ot,mn);else if(mf(Hn))ue(Hn,Ot,mn);else{const{typeNode:gt}=ge(Hn);let tn=de(mn,Vt);if(mn.element.initializer){const Ri=(_e=mn.element)==null?void 0:_e.propertyName,_o=L.createUniqueName(Ri&&Je(Ri)?Ri.text:"temp",16);ot.push(L.createVariableStatement(void 0,L.createVariableDeclarationList([L.createVariableDeclaration(_o,void 0,void 0,tn)],2))),tn=L.createConditionalExpression(L.createBinaryExpression(_o,L.createToken(37),L.createIdentifier("undefined")),L.createToken(58),mn.element.initializer,L.createToken(59),tn)}const ir=fi(Ge,32)?[L.createToken(95)]:void 0;ot.push(L.createVariableStatement(ir,L.createVariableDeclarationList([L.createVariableDeclaration(Hn,void 0,gt,tn)],2)))}}return Ge.declarationList.declarations.length>1&&ot.push(L.updateVariableStatement(Ge,Ge.modifiers,L.updateVariableDeclarationList(Ge.declarationList,Ge.declarationList.declarations.filter(mn=>mn!==De.parent)))),o.replaceNodeWithNodes(s,Ge,ot),[f.Extract_binding_expressions_to_variable]}function q(De,_e,Ve){for(let Ge=0;Ge<De.elements.length;++Ge){const Be=De.elements[Ge];qc(Be)||_e.push({element:Be,parent:Ve,expression:{kind:2,arrayIndex:Ge}})}}function ue(De,_e,Ve){for(const Ge of De.elements){let Be;if(Ge.propertyName)if(Ea(Ge.propertyName)){_e.push({element:Ge,parent:Ve,expression:{kind:1,computed:Ge.propertyName.expression}});continue}else Be=Ge.propertyName.text;else Be=Ge.name.text;_e.push({element:Ge,parent:Ve,expression:{kind:0,text:Be}})}}function de(De,_e){const Ve=[De];for(;De.parent;)De=De.parent,Ve.push(De);let Ge=Ve[Ve.length-1].expression.identifier;for(let Be=Ve.length-2;Be>=0;--Be){const ot=Ve[Be].expression;ot.kind===0?Ge=L.createPropertyAccessChain(Ge,void 0,L.createIdentifier(ot.text)):ot.kind===1?Ge=L.createElementAccessExpression(Ge,_e.get(ot.computed)):ot.kind===2&&(Ge=L.createElementAccessExpression(Ge,ot.arrayIndex))}return Ge}function ge(De,_e){var ot,Ot;if(t===1)return be(De);let Ve;if(c1(De)){const Vt=u.getSignatureFromDeclaration(De);if(Vt){const mn=u.getTypePredicateOfSignature(Vt);if(mn)return mn.type?{typeNode:Se(mn,(ot=Rn(De,rd))!=null?ot:s,Be(mn.type)),mutatedTarget:!1}:i;Ve=u.getReturnTypeOfSignature(Vt)}}else Ve=u.getTypeAtLocation(De);if(!Ve)return i;if(t===2){_e&&(Ve=_e);const Vt=u.getWidenedLiteralType(Ve);if(u.isTypeAssignableTo(Vt,Ve))return i;Ve=Vt}const Ge=(Ot=Rn(De,rd))!=null?Ot:s;return no(De)&&u.requiresAddingImplicitUndefined(De,Ge)&&(Ve=u.getUnionType([u.getUndefinedType(),Ve],0)),{typeNode:ee(Ve,Ge,Be(Ve)),mutatedTarget:!1};function Be(Vt){return(bi(De)||ko(De)&&fi(De,264))&&Vt.flags&8192?1048576:0}}function Ae(De){return L.createTypeQueryNode(ys(De))}function Re(De,_e="temp"){const Ve=!!Rn(De,je);return Ve?ve(De,_e,Ve,Ge=>Ge.elements,Jf,L.createSpreadElement,Ge=>L.createArrayLiteralExpression(Ge,!0),Ge=>L.createTupleTypeNode(Ge.map(L.createRestTypeNode))):i}function $(De,_e="temp"){const Ve=!!Rn(De,je);return ve(De,_e,Ve,Ge=>Ge.properties,Ng,L.createSpreadAssignment,Ge=>L.createObjectLiteralExpression(Ge,!0),L.createIntersectionTypeNode)}function ve(De,_e,Ve,Ge,Be,ot,Ot,Vt){const mn=[],Hn=[];let gt;const tn=Rn(De,Gi);for(const _o of Ge(De))Be(_o)?(Ri(),Ps(_o.expression)?(mn.push(Ae(_o.expression)),Hn.push(_o)):ir(_o.expression)):(gt!=null?gt:gt=[]).push(_o);if(Hn.length===0)return i;return Ri(),o.replaceNode(s,De,Ot(Hn)),{typeNode:Vt(mn),mutatedTarget:!0};function ir(_o){const Ht=L.createUniqueName(_e+"_Part"+(Hn.length+1),16),Qr=Ve?L.createAsExpression(_o,L.createTypeReferenceNode("const")):_o,go=L.createVariableStatement(void 0,L.createVariableDeclarationList([L.createVariableDeclaration(Ht,void 0,void 0,Qr)],2));o.insertNodeBefore(s,tn,go),mn.push(Ae(Ht)),Hn.push(ot(Ht))}function Ri(){gt&&(ir(Ot(gt)),gt=void 0)}}function je(De){return yS(De)&&zm(De.type)}function be(De){if(no(De))return i;if(Ud(De))return{typeNode:Ae(De.name),mutatedTarget:!1};if(Ps(De))return{typeNode:Ae(De),mutatedTarget:!1};if(je(De))return be(De.expression);if(Dd(De)){const _e=Rn(De,bi),Ve=_e&&Je(_e.name)?_e.name.text:void 0;return Re(De,Ve)}if(za(De)){const _e=Rn(De,bi),Ve=_e&&Je(_e.name)?_e.name.text:void 0;return $(De,Ve)}if(bi(De)&&De.initializer)return be(De.initializer);if(S1(De)){const{typeNode:_e,mutatedTarget:Ve}=be(De.whenTrue);if(!_e)return i;const{typeNode:Ge,mutatedTarget:Be}=be(De.whenFalse);return Ge?{typeNode:L.createUnionTypeNode([_e,Ge]),mutatedTarget:Ve||Be}:i}return i}function ee(De,_e,Ve=0){let Ge=!1;const Be=ILe(u,De,_e,tLe|Ve,nLe,{moduleResolverHost:l,trackSymbol(){return!0},reportTruncationError(){Ge=!0}});if(!Be)return;const ot=Gpe(Be,_,d);return Ge?L.createKeywordTypeNode(133):ot}function Se(De,_e,Ve=0){let Ge=!1;const Be=xLe(u,_,De,_e,d,tLe|Ve,nLe,{moduleResolverHost:l,trackSymbol(){return!0},reportTruncationError(){Ge=!0}});return Ge?L.createKeywordTypeNode(133):Be}function Ne(De){const{typeNode:_e}=ge(De);if(_e)return De.type?o.replaceNode(On(De),De.type,_e):o.tryInsertTypeAnnotation(On(De),De,_e),[f.Add_annotation_of_type_0,ze(_e)]}function ze(De){Dr(De,1);const _e=E.printNode(4,De,s);return _e.length>VN?_e.substring(0,VN-3)+"...":(Dr(De,0),_e)}function lt(De){return Rn(De,_e=>Mtt.has(_e.kind)&&(!mf(_e)&&!_v(_e)||bi(_e.parent)))}function le(De,_e){for(;De&&De.end<_e.start+_e.length;)De=De.parent;for(;De.parent.pos===De.pos&&De.parent.end===De.end;)De=De.parent;return Je(De)&&rv(De.parent)&&De.parent.initializer?De.parent.initializer:De}}var Lpe="fixAwaitInSyncFunction",iLe=[f.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,f.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,f.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,f.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function.code];Ia({errorCodes:iLe,getCodeActions(e){const{sourceFile:t,span:r}=e,i=oLe(t,r.start);if(!i)return;const o=Ir.ChangeTracker.with(e,s=>aLe(s,t,i));return[ca(Lpe,o,f.Add_async_modifier_to_containing_function,Lpe,f.Add_all_missing_async_modifiers)]},fixIds:[Lpe],getAllCodeActions:function(t){const r=new Set;return Is(t,iLe,(i,o)=>{const s=oLe(o.file,o.start);!s||!Tm(r,ls(s.insertBefore))||aLe(i,t.sourceFile,s)})}});function Ptt(e){if(e.type)return e.type;if(bi(e.parent)&&e.parent.type&&G_(e.parent.type))return e.parent.type.type}function oLe(e,t){const r=Fi(e,t),i=uf(r);if(!i)return;let o;switch(i.kind){case 175:o=i.name;break;case 263:case 219:o=Rs(i,100,e);break;case 220:const s=i.typeParameters?30:21;o=Rs(i,s,e)||Qa(i.parameters);break;default:return}return o&&{insertBefore:o,returnType:Ptt(i)}}function aLe(e,t,{insertBefore:r,returnType:i}){if(i){const o=dk(i);(!o||o.kind!==80||o.text!=="Promise")&&e.replaceNode(t,i,L.createTypeReferenceNode("Promise",L.createNodeArray([i])))}e.insertModifierBefore(t,134,r)}var sLe=[f._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code,f._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code],kpe="fixPropertyOverrideAccessor";Ia({errorCodes:sLe,getCodeActions(e){const t=lLe(e.sourceFile,e.span.start,e.span.length,e.errorCode,e);if(t)return[ca(kpe,t,f.Generate_get_and_set_accessors,kpe,f.Generate_get_and_set_accessors_for_all_overriding_properties)]},fixIds:[kpe],getAllCodeActions:e=>Is(e,sLe,(t,r)=>{const i=lLe(r.file,r.start,r.length,r.code,e);if(i)for(const o of i)t.pushRaw(e.sourceFile,o)})});function lLe(e,t,r,i,o){let s,l;if(i===f._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code)s=t,l=t+r;else if(i===f._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code){const u=o.program.getTypeChecker(),d=Fi(e,t).parent;if(Ea(d))return;C.assert(gb(d),"error span of fixPropertyOverrideAccessor should only be on an accessor");const _=d.parent;C.assert(hi(_),"erroneous accessors should only be inside classes");const m=lh(_);if(!m)return;const y=us(m.expression),E=uc(y)?y.symbol:u.getSymbolAtLocation(y);if(!E)return;const A=u.getDeclaredTypeOfSymbol(E),R=u.getPropertyOfType(A,Bi(_I(d.name)));if(!R||!R.valueDeclaration)return;s=R.valueDeclaration.pos,l=R.valueDeclaration.end,e=On(R.valueDeclaration)}else C.fail("fixPropertyOverrideAccessor codefix got unexpected error code "+i);return MLe(e,o.program,s,l,o,f.Generate_get_and_set_accessors.message)}var wpe="inferFromUsage",cLe=[f.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code,f.Variable_0_implicitly_has_an_1_type.code,f.Parameter_0_implicitly_has_an_1_type.code,f.Rest_parameter_0_implicitly_has_an_any_type.code,f.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code,f._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code,f.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code,f.Member_0_implicitly_has_an_1_type.code,f.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code,f.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,f.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,f.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code,f.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code,f._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code,f.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code,f.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,f.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code];Ia({errorCodes:cLe,getCodeActions(e){const{sourceFile:t,program:r,span:{start:i},errorCode:o,cancellationToken:s,host:l,preferences:u}=e,d=Fi(t,i);let _;const m=Ir.ChangeTracker.with(e,E=>{_=dLe(E,t,d,o,r,s,dS,l,u)}),y=_&&Fo(_);return!y||m.length===0?void 0:[ca(wpe,m,[Ltt(o,d),Rl(y)],wpe,f.Infer_all_types_from_usage)]},fixIds:[wpe],getAllCodeActions(e){const{sourceFile:t,program:r,cancellationToken:i,host:o,preferences:s}=e,l=rC();return Is(e,cLe,(u,d)=>{dLe(u,t,Fi(d.file,d.start),d.code,r,i,l,o,s)})}});function Ltt(e,t){switch(e){case f.Parameter_0_implicitly_has_an_1_type.code:case f.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return bp(uf(t))?f.Infer_type_of_0_from_usage:f.Infer_parameter_types_from_usage;case f.Rest_parameter_0_implicitly_has_an_any_type.code:case f.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return f.Infer_parameter_types_from_usage;case f.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:return f.Infer_this_type_of_0_from_usage;default:return f.Infer_type_of_0_from_usage}}function ktt(e){switch(e){case f.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code:return f.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code;case f.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return f.Variable_0_implicitly_has_an_1_type.code;case f.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return f.Parameter_0_implicitly_has_an_1_type.code;case f.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return f.Rest_parameter_0_implicitly_has_an_any_type.code;case f.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code:return f.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code;case f._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code:return f._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code;case f.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code:return f.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code;case f.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return f.Member_0_implicitly_has_an_1_type.code}return e}function dLe(e,t,r,i,o,s,l,u,d){if(!FN(r.kind)&&r.kind!==80&&r.kind!==26&&r.kind!==110)return;const{parent:_}=r,m=aE(t,o,d,u);switch(i=ktt(i),i){case f.Member_0_implicitly_has_an_1_type.code:case f.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code:if(bi(_)&&l(_)||ko(_)||Eu(_))return uLe(e,m,t,_,o,u,s),m.writeFixes(e),_;if(Jr(_)){const A=$O(_.name,o,s),R=WP(A,_,o,u);if(R){const N=L.createJSDocTypeTag(void 0,L.createJSDocTypeExpression(R),void 0);e.addJSDocTags(t,va(_.parent.parent,od),[N])}return m.writeFixes(e),_}return;case f.Variable_0_implicitly_has_an_1_type.code:{const A=o.getTypeChecker().getSymbolAtLocation(r);return A&&A.valueDeclaration&&bi(A.valueDeclaration)&&l(A.valueDeclaration)?(uLe(e,m,On(A.valueDeclaration),A.valueDeclaration,o,u,s),m.writeFixes(e),A.valueDeclaration):void 0}}const y=uf(r);if(y===void 0)return;let E;switch(i){case f.Parameter_0_implicitly_has_an_1_type.code:if(bp(y)){pLe(e,m,t,y,o,u,s),E=y;break}case f.Rest_parameter_0_implicitly_has_an_any_type.code:if(l(y)){const A=va(_,no);wtt(e,m,t,A,y,o,u,s),E=A}break;case f.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code:case f._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code:qf(y)&&Je(y.name)&&(VK(e,m,t,y,$O(y.name,o,s),o,u),E=y);break;case f.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code:bp(y)&&(pLe(e,m,t,y,o,u,s),E=y);break;case f.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:Ir.isThisTypeAnnotatable(y)&&l(y)&&(Ott(e,t,y,o,u,s),E=y);break;default:return C.fail(String(i))}return m.writeFixes(e),E}function uLe(e,t,r,i,o,s,l){Je(i.name)&&VK(e,t,r,i,$O(i.name,o,l),o,s)}function wtt(e,t,r,i,o,s,l,u){if(!Je(i.name))return;const d=ztt(o,r,s,u);if(C.assert(o.parameters.length===d.length,"Parameter count and inference count should match"),Er(o))fLe(e,r,d,s,l);else{const _=Zs(o)&&!Rs(o,21,r);_&&e.insertNodeBefore(r,Qa(o.parameters),L.createToken(21));for(const{declaration:m,type:y}of d)m&&!m.type&&!m.initializer&&VK(e,t,r,m,y,s,l);_&&e.insertNodeAfter(r,Ga(o.parameters),L.createToken(22))}}function Ott(e,t,r,i,o,s){const l=mLe(r,t,i,s);if(!l||!l.length)return;const u=Wpe(i,l,s).thisParameter(),d=WP(u,r,i,o);d&&(Er(r)?Wtt(e,t,r,d):e.tryInsertThisTypeAnnotation(t,r,d))}function Wtt(e,t,r,i){e.addJSDocTags(t,r,[L.createJSDocThisTag(void 0,L.createJSDocTypeExpression(i))])}function pLe(e,t,r,i,o,s,l){const u=Sc(i.parameters);if(u&&Je(i.name)&&Je(u.name)){let d=$O(i.name,o,l);d===o.getTypeChecker().getAnyType()&&(d=$O(u.name,o,l)),Er(i)?fLe(e,r,[{declaration:u,type:d}],o,s):VK(e,t,r,u,d,o,s)}}function VK(e,t,r,i,o,s,l){const u=WP(o,i,s,l);if(u)if(Er(r)&&i.kind!==172){const d=bi(i)?ii(i.parent.parent,sc):i;if(!d)return;const _=L.createJSDocTypeExpression(u),m=qf(i)?L.createJSDocReturnTag(void 0,_,void 0):L.createJSDocTypeTag(void 0,_,void 0);e.addJSDocTags(r,d,[m])}else Ftt(u,i,r,e,t,Va(s.getCompilerOptions()))||e.tryInsertTypeAnnotation(r,i,u)}function Ftt(e,t,r,i,o,s){const l=sE(e,s);return l&&i.tryInsertTypeAnnotation(r,t,l.typeNode)?(Xe(l.symbols,u=>o.addImportFromExportedSymbol(u,!0)),!0):!1}function fLe(e,t,r,i,o){const s=r.length&&r[0].declaration.parent;if(!s)return;const l=Hi(r,u=>{const d=u.declaration;if(d.initializer||tv(d)||!Je(d.name))return;const _=u.type&&WP(u.type,d,i,o);if(_){const m=L.cloneNode(d.name);return Dr(m,7168),{name:L.cloneNode(d.name),param:d,isOptional:!!u.isOptional,typeNode:_}}});if(l.length)if(Zs(s)||Ks(s)){const u=Zs(s)&&!Rs(s,21,t);u&&e.insertNodeBefore(t,Qa(s.parameters),L.createToken(21)),Xe(l,({typeNode:d,param:_})=>{const m=L.createJSDocTypeTag(void 0,L.createJSDocTypeExpression(d)),y=L.createJSDocComment(void 0,[m]);e.insertNodeAt(t,_.getStart(t),y,{suffix:" "})}),u&&e.insertNodeAfter(t,Ga(s.parameters),L.createToken(22))}else{const u=Gt(l,({name:d,typeNode:_,isOptional:m})=>L.createJSDocParameterTag(void 0,d,!!m,L.createJSDocTypeExpression(_),!1,void 0));e.addJSDocTags(t,s,u)}}function Ope(e,t,r){return Hi(el.getReferenceEntriesForNode(-1,e,t,t.getSourceFiles(),r),i=>i.kind!==el.EntryKind.Span?ii(i.node,Je):void 0)}function $O(e,t,r){const i=Ope(e,t,r);return Wpe(t,i,r).single()}function ztt(e,t,r,i){const o=mLe(e,t,r,i);return o&&Wpe(r,o,i).parameters(e)||e.parameters.map(s=>({declaration:s,type:Je(s.name)?$O(s.name,r,i):r.getTypeChecker().getAnyType()}))}function mLe(e,t,r,i){let o;switch(e.kind){case 177:o=Rs(e,137,t);break;case 220:case 219:const s=e.parent;o=(bi(s)||ko(s))&&Je(s.name)?s.name:e.name;break;case 263:case 175:case 174:o=e.name;break}if(o)return Ope(o,r,i)}function Wpe(e,t,r){const i=e.getTypeChecker(),o={string:()=>i.getStringType(),number:()=>i.getNumberType(),Array:Se=>i.createArrayType(Se),Promise:Se=>i.createPromiseType(Se)},s=[i.getStringType(),i.getNumberType(),i.createArrayType(i.getAnyType()),i.createPromiseType(i.getAnyType())];return{single:d,parameters:_,thisParameter:m};function l(){return{isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0}}function u(Se){const Ne=new Map;for(const lt of Se)lt.properties&<.properties.forEach((le,De)=>{Ne.has(De)||Ne.set(De,[]),Ne.get(De).push(le)});const ze=new Map;return Ne.forEach((lt,le)=>{ze.set(le,u(lt))}),{isNumber:Se.some(lt=>lt.isNumber),isString:Se.some(lt=>lt.isString),isNumberOrString:Se.some(lt=>lt.isNumberOrString),candidateTypes:Wi(Se,lt=>lt.candidateTypes),properties:ze,calls:Wi(Se,lt=>lt.calls),constructs:Wi(Se,lt=>lt.constructs),numberIndex:Xe(Se,lt=>lt.numberIndex),stringIndex:Xe(Se,lt=>lt.stringIndex),candidateThisTypes:Wi(Se,lt=>lt.candidateThisTypes),inferredTypes:void 0}}function d(){return he(y(t))}function _(Se){if(t.length===0||!Se.parameters)return;const Ne=l();for(const lt of t)r.throwIfCancellationRequested(),E(lt,Ne);const ze=[...Ne.constructs||[],...Ne.calls||[]];return Se.parameters.map((lt,le)=>{const De=[],_e=w_(lt);let Ve=!1;for(const Be of ze)if(Be.argumentTypes.length<=le)Ve=Er(Se),De.push(i.getUndefinedType());else if(_e)for(let ot=le;ot<Be.argumentTypes.length;ot++)De.push(i.getBaseTypeOfLiteralType(Be.argumentTypes[ot]));else De.push(i.getBaseTypeOfLiteralType(Be.argumentTypes[le]));if(Je(lt.name)){const Be=y(Ope(lt.name,e,r));De.push(..._e?Hi(Be,i.getElementTypeOfArrayType):Be)}const Ge=he(De);return{type:_e?i.createArrayType(Ge):Ge,isOptional:Ve&&!_e,declaration:lt}})}function m(){const Se=l();for(const Ne of t)r.throwIfCancellationRequested(),E(Ne,Se);return he(Se.candidateThisTypes||se)}function y(Se){const Ne=l();for(const ze of Se)r.throwIfCancellationRequested(),E(ze,Ne);return q(Ne)}function E(Se,Ne){for(;mM(Se);)Se=Se.parent;switch(Se.parent.kind){case 245:R(Se,Ne);break;case 226:Ne.isNumber=!0;break;case 225:N(Se.parent,Ne);break;case 227:M(Se,Se.parent,Ne);break;case 297:case 298:k(Se.parent,Ne);break;case 214:case 215:Se.parent.expression===Se?F(Se.parent,Ne):A(Se,Ne);break;case 212:O(Se.parent,Ne);break;case 213:G(Se.parent,Se,Ne);break;case 304:case 305:j(Se.parent,Ne);break;case 173:K(Se.parent,Ne);break;case 261:{const{name:ze,initializer:lt}=Se.parent;if(Se===ze){lt&&be(Ne,i.getTypeAtLocation(lt));break}}default:return A(Se,Ne)}}function A(Se,Ne){F_(Se)&&be(Ne,i.getContextualType(Se))}function R(Se,Ne){be(Ne,ra(Se)?i.getVoidType():i.getAnyType())}function N(Se,Ne){switch(Se.operator){case 46:case 47:case 41:case 55:Ne.isNumber=!0;break;case 40:Ne.isNumberOrString=!0;break}}function M(Se,Ne,ze){switch(Ne.operatorToken.kind){case 43:case 42:case 44:case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 66:case 68:case 67:case 69:case 70:case 74:case 75:case 79:case 71:case 73:case 72:case 41:case 30:case 33:case 32:case 34:const lt=i.getTypeAtLocation(Ne.left===Se?Ne.right:Ne.left);lt.flags&1056?be(ze,lt):ze.isNumber=!0;break;case 65:case 40:const le=i.getTypeAtLocation(Ne.left===Se?Ne.right:Ne.left);le.flags&1056?be(ze,le):le.flags&296?ze.isNumber=!0:le.flags&402653316?ze.isString=!0:le.flags&1||(ze.isNumberOrString=!0);break;case 64:case 35:case 37:case 38:case 36:case 77:case 78:case 76:be(ze,i.getTypeAtLocation(Ne.left===Se?Ne.right:Ne.left));break;case 103:Se===Ne.left&&(ze.isString=!0);break;case 57:case 61:Se===Ne.left&&(Se.parent.parent.kind===261||id(Se.parent.parent,!0))&&be(ze,i.getTypeAtLocation(Ne.right));break}}function k(Se,Ne){be(Ne,i.getTypeAtLocation(Se.parent.parent.expression))}function F(Se,Ne){const ze={argumentTypes:[],return_:l()};if(Se.arguments)for(const lt of Se.arguments)ze.argumentTypes.push(i.getTypeAtLocation(lt));E(Se,ze.return_),Se.kind===214?(Ne.calls||(Ne.calls=[])).push(ze):(Ne.constructs||(Ne.constructs=[])).push(ze)}function O(Se,Ne){const ze=Pl(Se.name.text);Ne.properties||(Ne.properties=new Map);const lt=Ne.properties.get(ze)||l();E(Se,lt),Ne.properties.set(ze,lt)}function G(Se,Ne,ze){if(Ne===Se.argumentExpression){ze.isNumberOrString=!0;return}else{const lt=i.getTypeAtLocation(Se.argumentExpression),le=l();E(Se,le),lt.flags&296?ze.numberIndex=le:ze.stringIndex=le}}function j(Se,Ne){const ze=bi(Se.parent.parent)?Se.parent.parent:Se.parent;ee(Ne,i.getTypeAtLocation(ze))}function K(Se,Ne){ee(Ne,i.getTypeAtLocation(Se.parent))}function Q(Se,Ne){const ze=[];for(const lt of Se)for(const{high:le,low:De}of Ne)le(lt)&&(C.assert(!De(lt),"Priority can't have both low and high"),ze.push(De));return Se.filter(lt=>ze.every(le=>!le(lt)))}function J(Se){return he(q(Se))}function he(Se){if(!Se.length)return i.getAnyType();const Ne=i.getUnionType([i.getStringType(),i.getNumberType()]);let lt=Q(Se,[{high:De=>De===i.getStringType()||De===i.getNumberType(),low:De=>De===Ne},{high:De=>!(De.flags&16385),low:De=>!!(De.flags&16385)},{high:De=>!(De.flags&114689)&&!(qr(De)&16),low:De=>!!(qr(De)&16)}]);const le=lt.filter(De=>qr(De)&16);return le.length&&(lt=lt.filter(De=>!(qr(De)&16)),lt.push(re(le))),i.getWidenedType(i.getUnionType(lt.map(i.getBaseTypeOfLiteralType),2))}function re(Se){if(Se.length===1)return Se[0];const Ne=[],ze=[],lt=[],le=[];let De=!1,_e=!1;const Ve=fm();for(const ot of Se){for(const mn of i.getPropertiesOfType(ot))Ve.add(mn.escapedName,mn.valueDeclaration?i.getTypeOfSymbolAtLocation(mn,mn.valueDeclaration):i.getAnyType());Ne.push(...i.getSignaturesOfType(ot,0)),ze.push(...i.getSignaturesOfType(ot,1));const Ot=i.getIndexInfoOfType(ot,0);Ot&&(lt.push(Ot.type),De=De||Ot.isReadonly);const Vt=i.getIndexInfoOfType(ot,1);Vt&&(le.push(Vt.type),_e=_e||Vt.isReadonly)}const Ge=ZQ(Ve,(ot,Ot)=>{const Vt=Ot.length<Se.length?16777216:0,mn=i.createSymbol(4|Vt,ot);return mn.links.type=i.getUnionType(Ot),[ot,mn]}),Be=[];return lt.length&&Be.push(i.createIndexInfo(i.getStringType(),i.getUnionType(lt),De)),le.length&&Be.push(i.createIndexInfo(i.getNumberType(),i.getUnionType(le),_e)),i.createAnonymousType(Se[0].symbol,Ge,Ne,ze,Be)}function q(Se){var Ne,ze,lt;const le=[];Se.isNumber&&le.push(i.getNumberType()),Se.isString&&le.push(i.getStringType()),Se.isNumberOrString&&le.push(i.getUnionType([i.getStringType(),i.getNumberType()])),Se.numberIndex&&le.push(i.createArrayType(J(Se.numberIndex))),((Ne=Se.properties)!=null&&Ne.size||(ze=Se.constructs)!=null&&ze.length||Se.stringIndex)&&le.push(ue(Se));const De=(Se.candidateTypes||[]).map(Ve=>i.getBaseTypeOfLiteralType(Ve)),_e=(lt=Se.calls)!=null&<.length?ue(Se):void 0;return _e&&De?le.push(i.getUnionType([_e,...De],2)):(_e&&le.push(_e),et(De)&&le.push(...De)),le.push(...de(Se)),le}function ue(Se){const Ne=new Map;Se.properties&&Se.properties.forEach((De,_e)=>{const Ve=i.createSymbol(4,_e);Ve.links.type=J(De),Ne.set(_e,Ve)});const ze=Se.calls?[je(Se.calls)]:[],lt=Se.constructs?[je(Se.constructs)]:[],le=Se.stringIndex?[i.createIndexInfo(i.getStringType(),J(Se.stringIndex),!1)]:[];return i.createAnonymousType(void 0,Ne,ze,lt,le)}function de(Se){if(!Se.properties||!Se.properties.size)return[];const Ne=s.filter(ze=>ge(ze,Se));return 0<Ne.length&&Ne.length<3?Ne.map(ze=>Ae(ze,Se)):[]}function ge(Se,Ne){return Ne.properties?!Uc(Ne.properties,(ze,lt)=>{const le=i.getTypeOfPropertyOfType(Se,lt);return le?ze.calls?!i.getSignaturesOfType(le,0).length||!i.isTypeAssignableTo(le,ve(ze.calls)):!i.isTypeAssignableTo(le,J(ze)):!0}):!1}function Ae(Se,Ne){if(!(qr(Se)&4)||!Ne.properties)return Se;const ze=Se.target,lt=cg(ze.typeParameters);if(!lt)return Se;const le=[];return Ne.properties.forEach((De,_e)=>{const Ve=i.getTypeOfPropertyOfType(ze,_e);C.assert(!!Ve,"generic should have all the properties of its reference."),le.push(...Re(Ve,J(De),lt))}),o[Se.symbol.escapedName](he(le))}function Re(Se,Ne,ze){if(Se===ze)return[Ne];if(Se.flags&3145728)return Wi(Se.types,De=>Re(De,Ne,ze));if(qr(Se)&4&&qr(Ne)&4){const De=i.getTypeArguments(Se),_e=i.getTypeArguments(Ne),Ve=[];if(De&&_e)for(let Ge=0;Ge<De.length;Ge++)_e[Ge]&&Ve.push(...Re(De[Ge],_e[Ge],ze));return Ve}const lt=i.getSignaturesOfType(Se,0),le=i.getSignaturesOfType(Ne,0);return lt.length===1&&le.length===1?$(lt[0],le[0],ze):[]}function $(Se,Ne,ze){var lt;const le=[];for(let Ve=0;Ve<Se.parameters.length;Ve++){const Ge=Se.parameters[Ve],Be=Ne.parameters[Ve],ot=Se.declaration&&w_(Se.declaration.parameters[Ve]);if(!Be)break;let Ot=Ge.valueDeclaration?i.getTypeOfSymbolAtLocation(Ge,Ge.valueDeclaration):i.getAnyType();const Vt=ot&&i.getElementTypeOfArrayType(Ot);Vt&&(Ot=Vt);const mn=((lt=ii(Be,_g))==null?void 0:lt.links.type)||(Be.valueDeclaration?i.getTypeOfSymbolAtLocation(Be,Be.valueDeclaration):i.getAnyType());le.push(...Re(Ot,mn,ze))}const De=i.getReturnTypeOfSignature(Se),_e=i.getReturnTypeOfSignature(Ne);return le.push(...Re(De,_e,ze)),le}function ve(Se){return i.createAnonymousType(void 0,ma(),[je(Se)],se,se)}function je(Se){const Ne=[],ze=Math.max(...Se.map(le=>le.argumentTypes.length));for(let le=0;le<ze;le++){const De=i.createSymbol(1,Pl("arg".concat(le)));De.links.type=he(Se.map(_e=>_e.argumentTypes[le]||i.getUndefinedType())),Se.some(_e=>_e.argumentTypes[le]===void 0)&&(De.flags|=16777216),Ne.push(De)}const lt=J(u(Se.map(le=>le.return_)));return i.createSignature(void 0,void 0,void 0,Ne,lt,void 0,ze,0)}function be(Se,Ne){Ne&&!(Ne.flags&1)&&!(Ne.flags&131072)&&(Se.candidateTypes||(Se.candidateTypes=[])).push(Ne)}function ee(Se,Ne){Ne&&!(Ne.flags&1)&&!(Ne.flags&131072)&&(Se.candidateThisTypes||(Se.candidateThisTypes=[])).push(Ne)}}var Fpe="fixReturnTypeInAsyncFunction",hLe=[f.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0.code];Ia({errorCodes:hLe,fixIds:[Fpe],getCodeActions:function(t){const{sourceFile:r,program:i,span:o}=t,s=i.getTypeChecker(),l=_Le(r,i.getTypeChecker(),o.start);if(!l)return;const{returnTypeNode:u,returnType:d,promisedTypeNode:_,promisedType:m}=l,y=Ir.ChangeTracker.with(t,E=>gLe(E,r,u,_));return[ca(Fpe,y,[f.Replace_0_with_Promise_1,s.typeToString(d),s.typeToString(m)],Fpe,f.Fix_all_incorrect_return_type_of_an_async_functions)]},getAllCodeActions:e=>Is(e,hLe,(t,r)=>{const i=_Le(r.file,e.program.getTypeChecker(),r.start);i&&gLe(t,r.file,i.returnTypeNode,i.promisedTypeNode)})});function _Le(e,t,r){if(Er(e))return;const i=Fi(e,r),o=Rn(i,ks),s=o==null?void 0:o.type;if(!s)return;const l=t.getTypeFromTypeNode(s),u=t.getAwaitedType(l)||t.getVoidType(),d=t.typeToTypeNode(u,s,void 0);if(d)return{returnTypeNode:s,returnType:l,promisedTypeNode:d,promisedType:u}}function gLe(e,t,r,i){e.replaceNode(t,r,L.createTypeReferenceNode("Promise",[i]))}var yLe="disableJsDiagnostics",vLe="disableJsDiagnostics",bLe=Hi(Object.keys(f),e=>{const t=f[e];return t.category===1?t.code:void 0});Ia({errorCodes:bLe,getCodeActions:function(t){const{sourceFile:r,program:i,span:o,host:s,formatContext:l}=t;if(!Er(r)||!xM(r,i.getCompilerOptions()))return;const u=r.checkJsDirective?"":Ty(s,l.options),d=[yh(yLe,[cCe(r.fileName,[EO(r.checkJsDirective?oc(r.checkJsDirective.pos,r.checkJsDirective.end):Ad(0,0),"// @ts-nocheck".concat(u))])],f.Disable_checking_for_this_file)];return Ir.isValidLocationToAddComment(r,o.start)&&d.unshift(ca(yLe,Ir.ChangeTracker.with(t,_=>TLe(_,r,o.start)),f.Ignore_this_error_message,vLe,f.Add_ts_ignore_to_all_error_messages)),d},fixIds:[vLe],getAllCodeActions:e=>{const t=new Set;return Is(e,bLe,(r,i)=>{Ir.isValidLocationToAddComment(i.file,i.start)&&TLe(r,i.file,i.start,t)})}});function TLe(e,t,r,i){const{line:o}=fa(t,r);(!i||rh(i,o))&&e.insertCommentBeforeLine(t,o,r," @ts-ignore")}function zpe(e,t,r,i,o,s,l){const u=e.symbol.members;for(const d of t)u.has(d.escapedName)||ELe(d,e,r,i,o,s,l,void 0)}function mC(e){return{trackSymbol:()=>!1,moduleResolverHost:tJ(e.program,e.host)}}var SLe=(e=>(e[e.Method=1]="Method",e[e.Property=2]="Property",e[e.All=3]="All",e))(SLe||{});function ELe(e,t,r,i,o,s,l,u,d=3,_=!1){var Ae;const m=e.getDeclarations(),y=Sc(m),E=i.program.getTypeChecker(),A=Va(i.program.getCompilerOptions()),R=(Ae=y==null?void 0:y.kind)!=null?Ae:172,N=ge(e,y),M=y?Gd(y):0;let k=M&256;k|=M&1?1:M&4?4:0,y&&Qu(y)&&(k|=512);const F=he(),O=E.getWidenedType(E.getTypeOfSymbolAtLocation(e,t)),G=!!(e.flags&16777216),j=!!(t.flags&33554432)||_,K=Up(r,o),Q=1|(K===0?268435456:0);switch(R){case 172:case 173:let Re=E.typeToTypeNode(O,t,Q,8,mC(i));if(s){const ve=sE(Re,A);ve&&(Re=ve.typeNode,V1(s,ve.symbols))}l(L.createPropertyDeclaration(F,y?q(N):e.getName(),G&&d&2?L.createToken(58):void 0,Re,void 0));break;case 178:case 179:{C.assertIsDefined(m);let ve=E.typeToTypeNode(O,t,Q,void 0,mC(i));const je=MS(m,y),be=je.secondAccessor?[je.firstAccessor,je.secondAccessor]:[je.firstAccessor];if(s){const ee=sE(ve,A);ee&&(ve=ee.typeNode,V1(s,ee.symbols))}for(const ee of be)if(qf(ee))l(L.createGetAccessorDeclaration(F,q(N),se,de(ve),ue(u,K,j)));else{C.assertNode(ee,bp,"The counterpart to a getter should be a setter");const Se=pM(ee),Ne=Se&&Je(Se.name)?Yr(Se.name):void 0;l(L.createSetAccessorDeclaration(F,q(N),Vpe(1,[Ne],[de(ve)],1,!1),ue(u,K,j)))}break}case 174:case 175:C.assertIsDefined(m);const $=O.isUnion()?Wi(O.types,ve=>ve.getCallSignatures()):O.getCallSignatures();if(!bt($))break;if(m.length===1){C.assert($.length===1,"One declaration implies one signature");const ve=$[0];J(K,ve,F,q(N),ue(u,K,j));break}for(const ve of $)ve.declaration&&ve.declaration.flags&33554432||J(K,ve,F,q(N));if(!j)if(m.length>$.length){const ve=E.getSignatureFromDeclaration(m[m.length-1]);J(K,ve,F,q(N),ue(u,K))}else C.assert(m.length===$.length,"Declarations and signatures should match count"),l(Utt(E,i,t,$,q(N),G&&!!(d&1),F,K,u));break}function J(Re,$,ve,je,be){const ee=jK(175,i,Re,$,be,je,ve,G&&!!(d&1),t,s);ee&&l(ee)}function he(){let Re;return k&&(Re=YA(Re,L.createModifiersFromModifierFlags(k))),re()&&(Re=jn(Re,L.createToken(164))),Re&&L.createNodeArray(Re)}function re(){return!!(i.program.getCompilerOptions().noImplicitOverride&&y&&PS(y))}function q(Re){return Je(Re)&&Re.escapedText==="constructor"?L.createComputedPropertyName(L.createStringLiteral(Yr(Re),K===0)):ys(Re,!1)}function ue(Re,$,ve){return ve?void 0:ys(Re,!1)||jpe($)}function de(Re){return ys(Re,!1)}function ge(Re,$){if(Fl(Re)&262144){const ve=Re.links.nameType;if(ve&&Uf(ve))return L.createIdentifier(Bi(Hf(ve)))}return ys(Fo($),!1)}}function jK(e,t,r,i,o,s,l,u,d,_){const m=t.program,y=m.getTypeChecker(),E=Va(m.getCompilerOptions()),A=Er(d),R=524545|(r===0?268435456:0),N=y.signatureToSignatureDeclaration(i,e,d,R,8,mC(t));if(!N)return;let M=A?void 0:N.typeParameters,k=N.parameters,F=A?void 0:ys(N.type);if(_){if(M){const K=Ui(M,Q=>{let J=Q.constraint,he=Q.default;if(J){const re=sE(J,E);re&&(J=re.typeNode,V1(_,re.symbols))}if(he){const re=sE(he,E);re&&(he=re.typeNode,V1(_,re.symbols))}return L.updateTypeParameterDeclaration(Q,Q.modifiers,Q.name,J,he)});M!==K&&(M=Tt(L.createNodeArray(K,M.hasTrailingComma),M))}const j=Ui(k,K=>{let Q=A?void 0:K.type;if(Q){const J=sE(Q,E);J&&(Q=J.typeNode,V1(_,J.symbols))}return L.updateParameterDeclaration(K,K.modifiers,K.dotDotDotToken,K.name,A?void 0:K.questionToken,Q,K.initializer)});if(k!==j&&(k=Tt(L.createNodeArray(j,k.hasTrailingComma),k)),F){const K=sE(F,E);K&&(F=K.typeNode,V1(_,K.symbols))}}const O=u?L.createToken(58):void 0,G=N.asteriskToken;if(Ks(N))return L.updateFunctionExpression(N,l,N.asteriskToken,ii(s,Je),M,k,F,o!=null?o:N.body);if(Zs(N))return L.updateArrowFunction(N,l,M,k,F,N.equalsGreaterThanToken,o!=null?o:N.body);if(Ll(N))return L.updateMethodDeclaration(N,l,G,s!=null?s:L.createIdentifier(""),O,M,k,F,o);if(ec(N))return L.updateFunctionDeclaration(N,l,N.asteriskToken,ii(s,Je),M,k,F,o!=null?o:N.body)}function Bpe(e,t,r,i,o,s,l){const u=Up(t.sourceFile,t.preferences),d=Va(t.program.getCompilerOptions()),_=mC(t),m=t.program.getTypeChecker(),y=Er(l),{typeArguments:E,arguments:A,parent:R}=i,N=y?void 0:m.getContextualType(i),M=Gt(A,he=>Je(he)?he.text:Jr(he)&&Je(he.name)?he.name.text:void 0),k=y?[]:Gt(A,he=>m.getTypeAtLocation(he)),{argumentTypeNodes:F,argumentTypeParameters:O}=Vtt(m,r,k,l,d,1,8,_),G=s?L.createNodeArray(L.createModifiersFromModifierFlags(s)):void 0,j=gw(R)?L.createToken(42):void 0,K=y?void 0:Btt(m,O,E),Q=Vpe(A.length,M,F,void 0,y),J=y||N===void 0?void 0:m.typeToTypeNode(N,l,void 0,void 0,_);switch(e){case 175:return L.createMethodDeclaration(G,j,o,void 0,K,Q,J,jpe(u));case 174:return L.createMethodSignature(G,o,void 0,K,Q,J===void 0?L.createKeywordTypeNode(159):J);case 263:return C.assert(typeof o=="string"||Je(o),"Unexpected name"),L.createFunctionDeclaration(G,j,o,K,Q,J,vz(f.Function_not_implemented.message,u));default:C.fail("Unexpected kind")}}function Btt(e,t,r){const i=new Set(t.map(s=>s[0])),o=new Map(t);if(r){const s=r.filter(u=>!t.some(d=>{var _;return e.getTypeAtLocation(u)===((_=d[1])==null?void 0:_.argumentType)})),l=i.size+s.length;for(let u=0;i.size<l;u+=1)i.add(ALe(u))}return Mo(i.values(),s=>{var l;return L.createTypeParameterDeclaration(void 0,s,(l=o.get(s))==null?void 0:l.constraint)})}function ALe(e){return 84+e<=90?String.fromCharCode(84+e):"T".concat(e)}function UK(e,t,r,i,o,s,l,u){const d=e.typeToTypeNode(r,i,s,l,u);if(d)return Gpe(d,t,o)}function Gpe(e,t,r){const i=sE(e,r);return i&&(V1(t,i.symbols),e=i.typeNode),ys(e)}function Gtt(e,t){var r;C.assert(t.typeArguments);const i=t.typeArguments,o=t.target;for(let s=0;s<i.length;s++){if(((r=o.localTypeParameters)==null?void 0:r[s].constraint)===void 0)continue;const l=i.slice(0,s);if(e.fillMissingTypeArguments(l,o.typeParameters,s,!1).every((d,_)=>d===i[_]))return s}return i.length}function ILe(e,t,r,i,o,s){let l=e.typeToTypeNode(t,r,i,o,s);if(l){if(Bp(l)){const u=t;if(u.typeArguments&&l.typeArguments){const d=Gtt(e,u);if(d<l.typeArguments.length){const _=L.createNodeArray(l.typeArguments.slice(0,d));l=L.updateTypeReferenceNode(l,l.typeName,_)}}}return l}}function xLe(e,t,r,i,o,s,l,u){let d=e.typePredicateToTypePredicateNode(r,i,s,l,u);if(d!=null&&d.type&&o_(d.type)){const _=sE(d.type,o);_&&(V1(t,_.symbols),d=L.updateTypePredicateNode(d,d.assertsModifier,d.parameterName,_.typeNode))}return ys(d)}function RLe(e){return e.isUnionOrIntersection()?e.types.some(RLe):e.flags&262144}function Vtt(e,t,r,i,o,s,l,u){const d=[],_=new Map;for(let m=0;m<r.length;m+=1){const y=r[m];if(y.isUnionOrIntersection()&&y.types.some(RLe)){const M=ALe(m);d.push(L.createTypeReferenceNode(M)),_.set(M,void 0);continue}const E=e.getBaseTypeOfLiteralType(y),A=UK(e,t,E,i,o,s,l,u);if(!A)continue;d.push(A);const R=DLe(y),N=y.isTypeParameter()&&y.constraint&&!jtt(y.constraint)?UK(e,t,y.constraint,i,o,s,l,u):void 0;R&&_.set(R,{argumentType:y,constraint:N})}return{argumentTypeNodes:d,argumentTypeParameters:Mo(_.entries())}}function jtt(e){return e.flags&524288&&e.objectFlags===16}function DLe(e){var t;if(e.flags&3145728)for(const r of e.types){const i=DLe(r);if(i)return i}return e.flags&262144?(t=e.getSymbol())==null?void 0:t.getName():void 0}function Vpe(e,t,r,i,o){const s=[],l=new Map;for(let u=0;u<e;u++){const d=(t==null?void 0:t[u])||"arg".concat(u),_=l.get(d);l.set(d,(_||0)+1);const m=L.createParameterDeclaration(void 0,void 0,d+(_||""),i!==void 0&&u>=i?L.createToken(58):void 0,o?void 0:(r==null?void 0:r[u])||L.createKeywordTypeNode(159),void 0);s.push(m)}return s}function Utt(e,t,r,i,o,s,l,u,d){let _=i[0],m=i[0].minArgumentCount,y=!1;for(const N of i)m=Math.min(N.minArgumentCount,m),su(N)&&(y=!0),N.parameters.length>=_.parameters.length&&(!su(N)||su(_))&&(_=N);const E=_.parameters.length-(su(_)?1:0),A=_.parameters.map(N=>N.name),R=Vpe(E,A,void 0,m,!1);if(y){const N=L.createParameterDeclaration(void 0,L.createToken(26),A[E]||"rest",E>=m?L.createToken(58):void 0,L.createArrayTypeNode(L.createKeywordTypeNode(159)),void 0);R.push(N)}return qtt(l,o,s,void 0,R,Htt(i,e,t,r),u,d)}function Htt(e,t,r,i){if(et(e)){const o=t.getUnionType(Gt(e,t.getReturnTypeOfSignature));return t.typeToTypeNode(o,i,1,8,mC(r))}}function qtt(e,t,r,i,o,s,l,u){return L.createMethodDeclaration(e,void 0,t,r?L.createToken(58):void 0,i,o,s,u||jpe(l))}function jpe(e){return vz(f.Method_not_implemented.message,e)}function vz(e,t){return L.createBlock([L.createThrowStatement(L.createNewExpression(L.createIdentifier("Error"),void 0,[L.createStringLiteral(e,t===0)]))],!0)}function Upe(e,t,r){const i=KN(t);if(!i)return;const o=CLe(i,"compilerOptions");if(o===void 0){e.insertNodeAtObjectStart(t,i,qpe("compilerOptions",L.createObjectLiteralExpression(r.map(([l,u])=>qpe(l,u)),!0)));return}const s=o.initializer;if(za(s))for(const[l,u]of r){const d=CLe(s,l);d===void 0?e.insertNodeAtObjectStart(t,s,qpe(l,u)):e.replaceNode(t,d.initializer,u)}}function Hpe(e,t,r,i){Upe(e,t,[[r,i]])}function qpe(e,t){return L.createPropertyAssignment(L.createStringLiteral(e),t)}function CLe(e,t){return _n(e.properties,r=>Rc(r)&&!!r.name&&Oa(r.name)&&r.name.text===t)}function sE(e,t){let r;const i=st(e,o,xi);if(r&&i)return{typeNode:i,symbols:r};function o(s){if(ly(s)&&s.qualifier){const l=Ou(s.qualifier);if(!l.symbol)return kn(s,o,void 0);const u=z7(l.symbol,t),d=u!==l.text?NLe(s.qualifier,L.createIdentifier(u)):s.qualifier;r=jn(r,l.symbol);const _=Jn(s.typeArguments,o,xi);return L.createTypeReferenceNode(d,_)}return kn(s,o,void 0)}}function NLe(e,t){return e.kind===80?t:L.createQualifiedName(NLe(e.left,t),e.right)}function V1(e,t){t.forEach(r=>e.addImportFromExportedSymbol(r,!0))}function Jpe(e,t){const r=Ml(t);let i=Fi(e,t.start);for(;i.end<r;)i=i.parent;return i}function MLe(e,t,r,i,o,s){const l=kLe(e,t,r,i);if(!l||yx.isRefactorErrorInfo(l))return;const u=Ir.ChangeTracker.fromContext(o),{isStatic:d,isReadonly:_,fieldName:m,accessorName:y,originalName:E,type:A,container:R,declaration:N}=l;zp(m),zp(y),zp(N),zp(R);let M,k;if(hi(R)){const O=Gd(N);if(wu(e)){const G=L.createModifiersFromModifierFlags(O);M=G,k=G}else M=L.createModifiersFromModifierFlags(Xtt(O)),k=L.createModifiersFromModifierFlags(Ytt(O));qS(N)&&(k=co(pb(N),k))}tnt(u,e,N,A,m,k);const F=$tt(m,y,A,M,d,R);if(zp(F),wLe(u,e,F,N,R),_){const O=Sg(R);O&&nnt(u,e,O,m.text,E)}else{const O=Qtt(m,y,A,M,d,R);zp(O),wLe(u,e,O,N,R)}return u.getChanges()}function Jtt(e){return Je(e)||Oa(e)}function Ktt(e){return Lp(e,e.parent)||ko(e)||Rc(e)}function PLe(e,t){return Je(t)?L.createIdentifier(e):L.createStringLiteral(e)}function LLe(e,t,r){const i=t?r.name:L.createThis();return Je(e)?L.createPropertyAccessExpression(i,e):L.createElementAccessExpression(i,L.createStringLiteralFromNode(e))}function Xtt(e){return e&=-9,e&=-3,e&4||(e|=1),e}function Ytt(e){return e&=-2,e&=-5,e|=2,e}function kLe(e,t,r,i,o=!0){const s=Fi(e,r),l=r===i&&o,u=Rn(s.parent,Ktt),d=271;if(!u||!(f7(u.name,e,r,i)||l))return{error:Jo(f.Could_not_find_property_for_which_to_generate_accessor)};if(!Jtt(u.name))return{error:Jo(f.Name_is_not_valid)};if((Gd(u)&98303|d)!==d)return{error:Jo(f.Can_only_convert_property_with_modifier)};const _=u.name.text,m=xJ(_),y=PLe(m?_:G1("_".concat(_),e),u.name),E=PLe(m?G1(_.substring(1),e):_,u.name);return{isStatic:Lc(u),isReadonly:p1(u),type:rnt(u,t),container:u.kind===170?u.parent.parent:u.parent,originalName:u.name.text,declaration:u,fieldName:y,accessorName:E,renameAccessor:m}}function $tt(e,t,r,i,o,s){return L.createGetAccessorDeclaration(i,t,[],r,L.createBlock([L.createReturnStatement(LLe(e,o,s))],!0))}function Qtt(e,t,r,i,o,s){return L.createSetAccessorDeclaration(i,t,[L.createParameterDeclaration(void 0,void 0,L.createIdentifier("value"),void 0,r)],L.createBlock([L.createExpressionStatement(L.createAssignment(LLe(e,o,s),L.createIdentifier("value")))],!0))}function Ztt(e,t,r,i,o,s){const l=L.updatePropertyDeclaration(r,s,o,r.questionToken||r.exclamationToken,i,r.initializer);e.replaceNode(t,r,l)}function ent(e,t,r,i){let o=L.updatePropertyAssignment(r,i,r.initializer);(o.modifiers||o.questionToken||o.exclamationToken)&&(o===r&&(o=L.cloneNode(o)),o.modifiers=void 0,o.questionToken=void 0,o.exclamationToken=void 0),e.replacePropertyAssignment(t,r,o)}function tnt(e,t,r,i,o,s){ko(r)?Ztt(e,t,r,i,o,s):Rc(r)?ent(e,t,r,o):e.replaceNode(t,r,L.updateParameterDeclaration(r,s,r.dotDotDotToken,va(o,Je),r.questionToken,r.type,r.initializer))}function wLe(e,t,r,i,o){Lp(i,i.parent)?e.insertMemberAtStart(t,o,r):Rc(i)?e.insertNodeAfterComma(t,i,r):e.insertNodeAfter(t,i,r)}function nnt(e,t,r,i,o){r.body&&r.body.forEachChild(function s(l){Bs(l)&&l.expression.kind===110&&Oa(l.argumentExpression)&&l.argumentExpression.text===o&&DI(l)&&e.replaceNode(t,l.argumentExpression,L.createStringLiteral(i)),Jr(l)&&l.expression.kind===110&&l.name.text===o&&DI(l)&&e.replaceNode(t,l.name,L.createIdentifier(i)),!Yo(l)&&!hi(l)&&l.forEachChild(s)})}function rnt(e,t){const r=Hne(e);if(ko(e)&&r&&e.questionToken){const i=t.getTypeChecker(),o=i.getTypeFromTypeNode(r);if(!i.isTypeAssignableTo(i.getUndefinedType(),o)){const s=mv(r)?r.types:[r];return L.createUnionTypeNode([...s,L.createKeywordTypeNode(157)])}}return r}var OLe="invalidImportSyntax";function int(e,t){const r=On(t),i=tD(t),o=e.program.getCompilerOptions(),s=[];return s.push(WLe(e,r,t,qb(i.name,void 0,t.moduleSpecifier,Up(r,e.preferences)))),Tu(o)===1&&s.push(WLe(e,r,t,L.createImportEqualsDeclaration(void 0,!1,i.name,L.createExternalModuleReference(t.moduleSpecifier)))),s}function WLe(e,t,r,i){const o=Ir.ChangeTracker.with(e,s=>s.replaceNode(t,r,i));return yh(OLe,o,[f.Replace_import_with_0,o[0].textChanges[0].newText])}Ia({errorCodes:[f.This_expression_is_not_callable.code,f.This_expression_is_not_constructable.code],getCodeActions:ont});function ont(e){const t=e.sourceFile,r=f.This_expression_is_not_callable.code===e.errorCode?214:215,i=Rn(Fi(t,e.span.start),s=>s.kind===r);if(!i)return[];const o=i.expression;return FLe(e,o)}Ia({errorCodes:[f.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,f.Type_0_does_not_satisfy_the_constraint_1.code,f.Type_0_is_not_assignable_to_type_1.code,f.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,f.Type_predicate_0_is_not_assignable_to_1.code,f.Property_0_of_type_1_is_not_assignable_to_2_index_type_3.code,f._0_index_type_1_is_not_assignable_to_2_index_type_3.code,f.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2.code,f.Property_0_in_type_1_is_not_assignable_to_type_2.code,f.Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property.code,f.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1.code],getCodeActions:ant});function ant(e){const t=e.sourceFile,r=Rn(Fi(t,e.span.start),i=>i.getStart()===e.span.start&&i.getEnd()===e.span.start+e.span.length);return r?FLe(e,r):[]}function FLe(e,t){const r=e.program.getTypeChecker().getTypeAtLocation(t);if(!(r.symbol&&_g(r.symbol)&&r.symbol.links.originatingImport))return[];const i=[],o=r.symbol.links.originatingImport;if(ep(o)||$r(i,int(e,o)),Et(t)&&!(nd(t.parent)&&t.parent.name===t)){const s=e.sourceFile,l=Ir.ChangeTracker.with(e,u=>u.replaceNode(s,t,L.createPropertyAccessExpression(t,"default"),{}));i.push(yh(OLe,l,f.Use_synthetic_default_member))}return i}var Kpe="strictClassInitialization",Xpe="addMissingPropertyDefiniteAssignmentAssertions",Ype="addMissingPropertyUndefinedType",$pe="addMissingPropertyInitializer",zLe=[f.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code];Ia({errorCodes:zLe,getCodeActions:function(t){const r=BLe(t.sourceFile,t.span.start);if(!r)return;const i=[];return jn(i,lnt(t,r)),jn(i,snt(t,r)),jn(i,cnt(t,r)),i},fixIds:[Xpe,Ype,$pe],getAllCodeActions:e=>Is(e,zLe,(t,r)=>{const i=BLe(r.file,r.start);if(i)switch(e.fixId){case Xpe:GLe(t,r.file,i.prop);break;case Ype:VLe(t,r.file,i);break;case $pe:const o=e.program.getTypeChecker(),s=ULe(o,i.prop);if(!s)return;jLe(t,r.file,i.prop,s);break;default:C.fail(JSON.stringify(e.fixId))}})});function BLe(e,t){const r=Fi(e,t);if(Je(r)&&ko(r.parent)){const i=Ac(r.parent);if(i)return{type:i,prop:r.parent,isJs:Er(r.parent)}}}function snt(e,t){if(t.isJs)return;const r=Ir.ChangeTracker.with(e,i=>GLe(i,e.sourceFile,t.prop));return ca(Kpe,r,[f.Add_definite_assignment_assertion_to_property_0,t.prop.getText()],Xpe,f.Add_definite_assignment_assertions_to_all_uninitialized_properties)}function GLe(e,t,r){zp(r);const i=L.updatePropertyDeclaration(r,r.modifiers,r.name,L.createToken(54),r.type,r.initializer);e.replaceNode(t,r,i)}function lnt(e,t){const r=Ir.ChangeTracker.with(e,i=>VLe(i,e.sourceFile,t));return ca(Kpe,r,[f.Add_undefined_type_to_property_0,t.prop.name.getText()],Ype,f.Add_undefined_type_to_all_uninitialized_properties)}function VLe(e,t,r){const i=L.createKeywordTypeNode(157),o=mv(r.type)?r.type.types.concat(i):[r.type,i],s=L.createUnionTypeNode(o);r.isJs?e.addJSDocTags(t,r.prop,[L.createJSDocTypeTag(void 0,L.createJSDocTypeExpression(s))]):e.replaceNode(t,r.type,s)}function cnt(e,t){if(t.isJs)return;const r=e.program.getTypeChecker(),i=ULe(r,t.prop);if(!i)return;const o=Ir.ChangeTracker.with(e,s=>jLe(s,e.sourceFile,t.prop,i));return ca(Kpe,o,[f.Add_initializer_to_property_0,t.prop.name.getText()],$pe,f.Add_initializers_to_all_uninitialized_properties)}function jLe(e,t,r,i){zp(r);const o=L.updatePropertyDeclaration(r,r.modifiers,r.name,r.questionToken,r.type,i);e.replaceNode(t,r,o)}function ULe(e,t){return HLe(e,e.getTypeFromTypeNode(t.type))}function HLe(e,t){if(t.flags&512)return t===e.getFalseType()||t===e.getFalseType(!0)?L.createFalse():L.createTrue();if(t.isStringLiteral())return L.createStringLiteral(t.value);if(t.isNumberLiteral())return L.createNumericLiteral(t.value);if(t.flags&2048)return L.createBigIntLiteral(t.value);if(t.isUnion())return Wn(t.types,r=>HLe(e,r));if(t.isClass()){const r=my(t.symbol);if(!r||fi(r,64))return;const i=Sg(r);return i&&i.parameters.length?void 0:L.createNewExpression(L.createIdentifier(t.symbol.name),void 0,void 0)}else if(e.isArrayLikeType(t))return L.createArrayLiteralExpression()}var Qpe="requireInTs",qLe=[f.require_call_may_be_converted_to_an_import.code];Ia({errorCodes:qLe,getCodeActions(e){const t=KLe(e.sourceFile,e.program,e.span.start,e.preferences);if(!t)return;const r=Ir.ChangeTracker.with(e,i=>JLe(i,e.sourceFile,t));return[ca(Qpe,r,f.Convert_require_to_import,Qpe,f.Convert_all_require_to_import)]},fixIds:[Qpe],getAllCodeActions:e=>Is(e,qLe,(t,r)=>{const i=KLe(r.file,e.program,r.start,e.preferences);i&&JLe(t,e.sourceFile,i)})});function JLe(e,t,r){const{allowSyntheticDefaults:i,defaultImportName:o,namedImports:s,statement:l,moduleSpecifier:u}=r;e.replaceNode(t,l,o&&!i?L.createImportEqualsDeclaration(void 0,!1,o,L.createExternalModuleReference(u)):L.createImportDeclaration(void 0,L.createImportClause(void 0,o,s),u,void 0))}function KLe(e,t,r,i){const{parent:o}=Fi(e,r);tp(o,!0)||C.failBadSyntaxKind(o);const s=va(o.parent,bi),l=Up(e,i),u=ii(s.name,Je),d=mf(s.name)?dnt(s.name):void 0;if(u||d){const _=Qa(o.arguments);return{allowSyntheticDefaults:LI(t.getCompilerOptions()),defaultImportName:u,namedImports:d,statement:va(s.parent.parent,sc),moduleSpecifier:y1(_)?L.createStringLiteral(_.text,l===0):_}}}function dnt(e){const t=[];for(const r of e.elements){if(!Je(r.name)||r.initializer)return;t.push(L.createImportSpecifier(!1,ii(r.propertyName,Je),r.name))}if(t.length)return L.createNamedImports(t)}var Zpe="useDefaultImport",XLe=[f.Import_may_be_converted_to_a_default_import.code];Ia({errorCodes:XLe,getCodeActions(e){const{sourceFile:t,span:{start:r}}=e,i=YLe(t,r);if(!i)return;const o=Ir.ChangeTracker.with(e,s=>$Le(s,t,i,e.preferences));return[ca(Zpe,o,f.Convert_to_default_import,Zpe,f.Convert_all_to_default_imports)]},fixIds:[Zpe],getAllCodeActions:e=>Is(e,XLe,(t,r)=>{const i=YLe(r.file,r.start);i&&$Le(t,r.file,i,e.preferences)})});function YLe(e,t){const r=Fi(e,t);if(!Je(r))return;const{parent:i}=r;if(Oc(i)&&_y(i.moduleReference))return{importNode:i,name:r,moduleSpecifier:i.moduleReference.expression};if(Cg(i)&&Sl(i.parent.parent)){const o=i.parent.parent;return{importNode:o,name:r,moduleSpecifier:o.moduleSpecifier}}}function $Le(e,t,r,i){e.replaceNode(t,r.importNode,qb(r.name,void 0,r.moduleSpecifier,Up(t,i)))}var efe="useBigintLiteral",QLe=[f.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers.code];Ia({errorCodes:QLe,getCodeActions:function(t){const r=Ir.ChangeTracker.with(t,i=>ZLe(i,t.sourceFile,t.span));if(r.length>0)return[ca(efe,r,f.Convert_to_a_bigint_numeric_literal,efe,f.Convert_all_to_bigint_numeric_literals)]},fixIds:[efe],getAllCodeActions:e=>Is(e,QLe,(t,r)=>ZLe(t,r.file,r))});function ZLe(e,t,r){const i=ii(Fi(t,r.start),ip);if(!i)return;const o=i.getText(t)+"n";e.replaceNode(t,i,L.createBigIntLiteral(o))}var unt="fixAddModuleReferTypeMissingTypeof",tfe=unt,e2e=[f.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code];Ia({errorCodes:e2e,getCodeActions:function(t){const{sourceFile:r,span:i}=t,o=t2e(r,i.start),s=Ir.ChangeTracker.with(t,l=>n2e(l,r,o));return[ca(tfe,s,f.Add_missing_typeof,tfe,f.Add_missing_typeof)]},fixIds:[tfe],getAllCodeActions:e=>Is(e,e2e,(t,r)=>n2e(t,e.sourceFile,t2e(r.file,r.start)))});function t2e(e,t){const r=Fi(e,t);return C.assert(r.kind===102,"This token should be an ImportKeyword"),C.assert(r.parent.kind===206,"Token parent should be an ImportType"),r.parent}function n2e(e,t,r){const i=L.updateImportTypeNode(r,r.argument,r.attributes,r.qualifier,r.typeArguments,!0);e.replaceNode(t,r,i)}var nfe="wrapJsxInFragment",r2e=[f.JSX_expressions_must_have_one_parent_element.code];Ia({errorCodes:r2e,getCodeActions:function(t){const{sourceFile:r,span:i}=t,o=i2e(r,i.start);if(!o)return;const s=Ir.ChangeTracker.with(t,l=>o2e(l,r,o));return[ca(nfe,s,f.Wrap_in_JSX_fragment,nfe,f.Wrap_all_unparented_JSX_in_JSX_fragment)]},fixIds:[nfe],getAllCodeActions:e=>Is(e,r2e,(t,r)=>{const i=i2e(e.sourceFile,r.start);i&&o2e(t,e.sourceFile,i)})});function i2e(e,t){let o=Fi(e,t).parent.parent;if(!(!Nr(o)&&(o=o.parent,!Nr(o)))&&Wl(o.operatorToken))return o}function o2e(e,t,r){const i=pnt(r);i&&e.replaceNode(t,r,L.createJsxFragment(L.createJsxOpeningFragment(),i,L.createJsxJsxClosingFragment()))}function pnt(e){const t=[];let r=e;for(;;)if(Nr(r)&&Wl(r.operatorToken)&&r.operatorToken.kind===28){if(t.push(r.left),K2(r.right))return t.push(r.right),t;if(Nr(r.right)){r=r.right;continue}else return}else return}var rfe="wrapDecoratorInParentheses",a2e=[f.Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator.code];Ia({errorCodes:a2e,getCodeActions:function(t){const r=Ir.ChangeTracker.with(t,i=>s2e(i,t.sourceFile,t.span.start));return[ca(rfe,r,f.Wrap_in_parentheses,rfe,f.Wrap_all_invalid_decorator_expressions_in_parentheses)]},fixIds:[rfe],getAllCodeActions:e=>Is(e,a2e,(t,r)=>s2e(t,r.file,r.start))});function s2e(e,t,r){const i=Fi(t,r),o=Rn(i,wc);C.assert(!!o,"Expected position to be owned by a decorator.");const s=L.createParenthesizedExpression(o.expression);e.replaceNode(t,o.expression,s)}var ife="fixConvertToMappedObjectType",l2e=[f.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code];Ia({errorCodes:l2e,getCodeActions:function(t){const{sourceFile:r,span:i}=t,o=c2e(r,i.start);if(!o)return;const s=Ir.ChangeTracker.with(t,u=>d2e(u,r,o)),l=Yr(o.container.name);return[ca(ife,s,[f.Convert_0_to_mapped_object_type,l],ife,[f.Convert_0_to_mapped_object_type,l])]},fixIds:[ife],getAllCodeActions:e=>Is(e,l2e,(t,r)=>{const i=c2e(r.file,r.start);i&&d2e(t,r.file,i)})});function c2e(e,t){const r=Fi(e,t),i=ii(r.parent.parent,wb);if(!i)return;const o=gd(i.parent)?i.parent:ii(i.parent.parent,Em);if(o)return{indexSignature:i,container:o}}function fnt(e,t){return L.createTypeAliasDeclaration(e.modifiers,e.name,e.typeParameters,t)}function d2e(e,t,{indexSignature:r,container:i}){const s=(gd(i)?i.members:i.type.members).filter(m=>!wb(m)),l=Qa(r.parameters),u=L.createTypeParameterDeclaration(void 0,va(l.name,Je),l.type),d=L.createMappedTypeNode(p1(r)?L.createModifier(148):void 0,u,void 0,r.questionToken,r.type,void 0),_=L.createIntersectionTypeNode([...iM(i),d,...s.length?[L.createTypeLiteralNode(s)]:se]);e.replaceNode(t,i,fnt(i,_))}var u2e="removeAccidentalCallParentheses",mnt=[f.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code];Ia({errorCodes:mnt,getCodeActions(e){const t=Rn(Fi(e.sourceFile,e.span.start),ra);if(!t)return;const r=Ir.ChangeTracker.with(e,i=>{i.deleteRange(e.sourceFile,{pos:t.expression.end,end:t.end})});return[yh(u2e,r,f.Remove_parentheses)]},fixIds:[u2e]});var ofe="removeUnnecessaryAwait",p2e=[f.await_has_no_effect_on_the_type_of_this_expression.code];Ia({errorCodes:p2e,getCodeActions:function(t){const r=Ir.ChangeTracker.with(t,i=>f2e(i,t.sourceFile,t.span));if(r.length>0)return[ca(ofe,r,f.Remove_unnecessary_await,ofe,f.Remove_all_unnecessary_uses_of_await)]},fixIds:[ofe],getAllCodeActions:e=>Is(e,p2e,(t,r)=>f2e(t,r.file,r))});function f2e(e,t,r){const i=ii(Fi(t,r.start),u=>u.kind===135),o=i&&ii(i.parent,Ob);if(!o)return;let s=o;if(zu(o.parent)){const u=fD(o.expression,!1);if(Je(u)){const d=Fc(o.parent.pos,t);d&&d.kind!==105&&(s=o.parent)}}e.replaceNode(t,s,o.expression)}var m2e=[f.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],afe="splitTypeOnlyImport";Ia({errorCodes:m2e,fixIds:[afe],getCodeActions:function(t){const r=Ir.ChangeTracker.with(t,i=>_2e(i,h2e(t.sourceFile,t.span),t));if(r.length)return[ca(afe,r,f.Split_into_two_separate_import_declarations,afe,f.Split_all_invalid_type_only_imports)]},getAllCodeActions:e=>Is(e,m2e,(t,r)=>{_2e(t,h2e(e.sourceFile,r),e)})});function h2e(e,t){return Rn(Fi(e,t.start),Sl)}function _2e(e,t,r){if(!t)return;const i=C.checkDefined(t.importClause);e.replaceNode(r.sourceFile,t,L.updateImportDeclaration(t,t.modifiers,L.updateImportClause(i,i.phaseModifier,i.name,void 0),t.moduleSpecifier,t.attributes)),e.insertNodeAfter(r.sourceFile,t,L.createImportDeclaration(void 0,L.updateImportClause(i,i.phaseModifier,void 0,i.namedBindings),t.moduleSpecifier,t.attributes))}var sfe="fixConvertConstToLet",g2e=[f.Cannot_assign_to_0_because_it_is_a_constant.code];Ia({errorCodes:g2e,getCodeActions:function(t){const{sourceFile:r,span:i,program:o}=t,s=y2e(r,i.start,o);if(s===void 0)return;const l=Ir.ChangeTracker.with(t,u=>v2e(u,r,s.token));return[vue(sfe,l,f.Convert_const_to_let,sfe,f.Convert_all_const_to_let)]},getAllCodeActions:e=>{const{program:t}=e,r=new Set;return bx(Ir.ChangeTracker.with(e,i=>{Tx(e,g2e,o=>{const s=y2e(o.file,o.start,t);if(s&&Tm(r,Aa(s.symbol)))return v2e(i,o.file,s.token)})}))},fixIds:[sfe]});function y2e(e,t,r){var i;const s=r.getTypeChecker().getSymbolAtLocation(Fi(e,t));if(s===void 0)return;const l=ii((i=s==null?void 0:s.valueDeclaration)==null?void 0:i.parent,_d);if(l===void 0)return;const u=Rs(l,87,e);if(u!==void 0)return{symbol:s,token:u}}function v2e(e,t,r){e.replaceNode(t,r,L.createToken(121))}var lfe="fixExpectedComma",hnt=f._0_expected.code,b2e=[hnt];Ia({errorCodes:b2e,getCodeActions(e){const{sourceFile:t}=e,r=T2e(t,e.span.start,e.errorCode);if(!r)return;const i=Ir.ChangeTracker.with(e,o=>S2e(o,t,r));return[ca(lfe,i,[f.Change_0_to_1,";",","],lfe,[f.Change_0_to_1,";",","])]},fixIds:[lfe],getAllCodeActions:e=>Is(e,b2e,(t,r)=>{const i=T2e(r.file,r.start,r.code);i&&S2e(t,e.sourceFile,i)})});function T2e(e,t,r){const i=Fi(e,t);return i.kind===27&&i.parent&&(za(i.parent)||Dd(i.parent))?{node:i}:void 0}function S2e(e,t,{node:r}){const i=L.createToken(28);e.replaceNode(t,r,i)}var _nt="addVoidToPromise",E2e="addVoidToPromise",A2e=[f.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments.code,f.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code];Ia({errorCodes:A2e,fixIds:[E2e],getCodeActions(e){const t=Ir.ChangeTracker.with(e,r=>I2e(r,e.sourceFile,e.span,e.program));if(t.length>0)return[ca(_nt,t,f.Add_void_to_Promise_resolved_without_a_value,E2e,f.Add_void_to_all_Promises_resolved_without_a_value)]},getAllCodeActions(e){return Is(e,A2e,(t,r)=>I2e(t,r.file,r,e.program,new Set))}});function I2e(e,t,r,i,o){const s=Fi(t,r.start);if(!Je(s)||!ra(s.parent)||s.parent.expression!==s||s.parent.arguments.length!==0)return;const l=i.getTypeChecker(),u=l.getSymbolAtLocation(s),d=u==null?void 0:u.valueDeclaration;if(!d||!no(d)||!GS(d.parent.parent)||o!=null&&o.has(d))return;o==null||o.add(d);const _=gnt(d.parent.parent);if(bt(_)){const m=_[0],y=!mv(m)&&!b1(m)&&b1(L.createUnionTypeNode([m,L.createKeywordTypeNode(116)]).types[0]);y&&e.insertText(t,m.pos,"("),e.insertText(t,m.end,y?") | void":" | void")}else{const m=l.getResolvedSignature(s.parent),y=m==null?void 0:m.parameters[0],E=y&&l.getTypeOfSymbolAtLocation(y,d.parent.parent);Er(d)?(!E||E.flags&3)&&(e.insertText(t,d.parent.parent.end,")"),e.insertText(t,wa(t.text,d.parent.parent.pos),"/** @type {Promise<void>} */(")):(!E||E.flags&2)&&e.insertText(t,d.parent.parent.expression.end,"<void>")}}function gnt(e){var t;if(Er(e)){if(zu(e.parent)){const r=(t=k0(e.parent))==null?void 0:t.typeExpression.type;if(r&&Bp(r)&&Je(r.typeName)&&Yr(r.typeName)==="Promise")return r.typeArguments}}else return e.typeArguments}var Ax={};x(Ax,{CompletionKind:()=>V2e,CompletionSource:()=>R2e,SortText:()=>Hd,StringCompletions:()=>nX,SymbolOriginInfoKind:()=>D2e,createCompletionDetails:()=>Sz,createCompletionDetailsForSymbol:()=>gfe,getCompletionEntriesFromSymbols:()=>hfe,getCompletionEntryDetails:()=>Knt,getCompletionEntrySymbol:()=>Ynt,getCompletionsAtPosition:()=>Int,getDefaultCommitCharacters:()=>j1,getPropertiesForObjectExpression:()=>ZK,moduleSpecifierResolutionCacheAttemptLimit:()=>x2e,moduleSpecifierResolutionLimit:()=>cfe});var cfe=100,x2e=1e3,Hd={LocalDeclarationPriority:"10",LocationPriority:"11",OptionalMember:"12",MemberDeclaredBySpreadAssignment:"13",SuggestedClassMembers:"14",GlobalsOrKeywords:"15",AutoImportSuggestions:"16",ClassMemberSnippets:"17",JavascriptIdentifiers:"18",Deprecated(e){return"z"+e},ObjectLiteralProperty(e,t){return"".concat(e,"\0").concat(t,"\0")},SortBelow(e){return e+"1"}},f_=[".",",",";"],HK=[".",";"],R2e=(e=>(e.ThisProperty="ThisProperty/",e.ClassMemberSnippet="ClassMemberSnippet/",e.TypeOnlyAlias="TypeOnlyAlias/",e.ObjectLiteralMethodSnippet="ObjectLiteralMethodSnippet/",e.SwitchCases="SwitchCases/",e.ObjectLiteralMemberWithComma="ObjectLiteralMemberWithComma/",e))(R2e||{}),D2e=(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))(D2e||{});function ynt(e){return!!(e.kind&1)}function vnt(e){return!!(e.kind&2)}function bz(e){return!!(e&&e.kind&4)}function KP(e){return!!(e&&e.kind===32)}function bnt(e){return bz(e)||KP(e)||dfe(e)}function Tnt(e){return(bz(e)||KP(e))&&!!e.isFromPackageJson}function Snt(e){return!!(e.kind&8)}function Ent(e){return!!(e.kind&16)}function C2e(e){return!!(e&&e.kind&64)}function N2e(e){return!!(e&&e.kind&128)}function Ant(e){return!!(e&&e.kind&256)}function dfe(e){return!!(e&&e.kind&512)}function M2e(e,t,r,i,o,s,l,u,d){var _,m,y,E;const A=Os(),R=l||qk(i.getCompilerOptions())||((_=s.autoImportSpecifierExcludeRegexes)==null?void 0:_.length);let N=!1,M=0,k=0,F=0,O=0;const G=d({tryResolve:K,skippedAny:()=>N,resolvedAny:()=>k>0,resolvedBeyondLimit:()=>k>cfe}),j=O?" (".concat((F/O*100).toFixed(1),"% hit rate)"):"";return(m=t.log)==null||m.call(t,"".concat(e,": resolved ").concat(k," module specifiers, plus ").concat(M," ambient and ").concat(F," from cache").concat(j)),(y=t.log)==null||y.call(t,"".concat(e,": response is ").concat(N?"incomplete":"complete")),(E=t.log)==null||E.call(t,"".concat(e,": ").concat(Os()-A)),G;function K(Q,J){if(J){const ue=r.getModuleSpecifierForBestExportInfo(Q,o,u);return ue&&M++,ue||"failed"}const he=R||s.allowIncompleteCompletions&&k<cfe,re=!he&&s.allowIncompleteCompletions&&O<x2e,q=he||re?r.getModuleSpecifierForBestExportInfo(Q,o,u,re):void 0;return(!he&&!re||re&&!q)&&(N=!0),k+=(q==null?void 0:q.computedWithoutCacheCount)||0,F+=Q.length-((q==null?void 0:q.computedWithoutCacheCount)||0),re&&O++,q||(R?"failed":"skipped")}}function j1(e){return e?[]:f_}function Int(e,t,r,i,o,s,l,u,d,_,m=!1){var y;const{previousToken:E}=XK(o,i);if(l&&!fx(i,o,E)&&!srt(i,l,E,o))return;if(l===" ")return s.includeCompletionsForImportStatements&&s.includeCompletionsWithInsertText?{isGlobalCompletion:!0,isMemberCompletion:!1,isNewIdentifierLocation:!0,isIncomplete:!0,entries:[],defaultCommitCharacters:j1(!0)}:void 0;const A=t.getCompilerOptions(),R=t.getTypeChecker(),N=s.allowIncompleteCompletions?(y=e.getIncompleteCompletionsCache)==null?void 0:y.call(e):void 0;if(N&&u===3&&E&&Je(E)){const F=xnt(N,i,E,t,e,s,d,o);if(F)return F}else N==null||N.clear();const M=nX.getStringLiteralCompletions(i,o,E,A,e,t,r,s,m);if(M)return M;if(E&&wN(E.parent)&&(E.kind===83||E.kind===88||E.kind===80))return qnt(E.parent);const k=j2e(t,r,i,A,o,s,void 0,e,_,d);if(k)switch(k.kind){case 0:const F=Mnt(i,e,t,A,r,k,s,_,o,m);return F!=null&&F.isIncomplete&&(N==null||N.set(F)),F;case 1:return ufe([...vT.getJSDocTagNameCompletions(),...L2e(i,o,R,A,s,!0)]);case 2:return ufe([...vT.getJSDocTagCompletions(),...L2e(i,o,R,A,s,!1)]);case 3:return ufe(vT.getJSDocParameterNameCompletions(k.tag));case 4:return Cnt(k.keywordCompletions,k.isNewIdentifierLocation);default:return C.assertNever(k)}}function Tz(e,t){var r,i;let o=b2(e.sortText,t.sortText);return o===0&&(o=b2(e.name,t.name)),o===0&&((r=e.data)!=null&&r.moduleSpecifier)&&((i=t.data)!=null&&i.moduleSpecifier)&&(o=Zk(e.data.moduleSpecifier,t.data.moduleSpecifier)),o===0?-1:o}function P2e(e){return!!(e!=null&&e.moduleSpecifier)}function xnt(e,t,r,i,o,s,l,u){const d=e.get();if(!d)return;const _=ap(t,u),m=r.text.toLowerCase(),y=OO(t,o,i,s,l),E=M2e("continuePreviousIncompleteResponse",o,cu.createImportSpecifierResolver(t,i,o,s),i,r.getStart(),s,!1,q0(r),A=>{const R=Hi(d.entries,N=>{var M;if(!N.hasAction||!N.source||!N.data||P2e(N.data))return N;if(!ike(N.name,m))return;const{origin:k}=C.checkDefined(U2e(N.name,N.data,i,o)),F=y.get(t.path,N.data.exportMapKey),O=F&&A.tryResolve(F,!td(bm(k.moduleSymbol.name)));if(O==="skipped")return N;if(!O||O==="failed"){(M=o.log)==null||M.call(o,"Unexpected failure resolving auto import for '".concat(N.name,"' from '").concat(N.source,"'"));return}const G={...k,kind:32,moduleSpecifier:O.moduleSpecifier};return N.data=B2e(G),N.source=mfe(G),N.sourceDisplay=[vf(G.moduleSpecifier)],N});return A.skippedAny()||(d.isIncomplete=void 0),R});return d.entries=E,d.flags=(d.flags||0)|4,d.optionalReplacementSpan=O2e(_),d}function ufe(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:e,defaultCommitCharacters:j1(!1)}}function L2e(e,t,r,i,o,s){const l=Fi(e,t);if(!UR(l)&&!mh(l))return[];const u=mh(l)?l:l.parent;if(!mh(u))return[];const d=u.parent;if(!Yo(d))return[];const _=wu(e),m=o.includeCompletionsWithSnippetText||void 0,y=po(u.tags,E=>hf(E)&&E.getEnd()<=t);return Hi(d.parameters,E=>{if(!FR(E).length){if(Je(E.name)){const A={tabstop:1},R=E.name.text;let N=QO(R,E.initializer,E.dotDotDotToken,_,!1,!1,r,i,o),M=m?QO(R,E.initializer,E.dotDotDotToken,_,!1,!0,r,i,o,A):void 0;return s&&(N=N.slice(1),M&&(M=M.slice(1))),{name:N,kind:"parameter",sortText:Hd.LocationPriority,insertText:m?M:void 0,isSnippet:m}}else if(E.parent.parameters.indexOf(E)===y){const A="param".concat(y),R=k2e(A,E.name,E.initializer,E.dotDotDotToken,_,!1,r,i,o),N=m?k2e(A,E.name,E.initializer,E.dotDotDotToken,_,!0,r,i,o):void 0;let M=R.join(lv(i)+"* "),k=N==null?void 0:N.join(lv(i)+"* ");return s&&(M=M.slice(1),k&&(k=k.slice(1))),{name:M,kind:"parameter",sortText:Hd.LocationPriority,insertText:m?k:void 0,isSnippet:m}}}})}function k2e(e,t,r,i,o,s,l,u,d){if(!o)return[QO(e,r,i,o,!1,s,l,u,d,{tabstop:1})];return _(e,t,r,i,{tabstop:1});function _(y,E,A,R,N){if(mf(E)&&!R){const k={tabstop:N.tabstop},F=QO(y,A,R,o,!0,s,l,u,d,k);let O=[];for(const G of E.elements){const j=m(y,G,k);if(j)O.push(...j);else{O=void 0;break}}if(O)return N.tabstop=k.tabstop,[F,...O]}return[QO(y,A,R,o,!1,s,l,u,d,N)]}function m(y,E,A){if(!E.propertyName&&Je(E.name)||Je(E.name)){const R=E.propertyName?HN(E.propertyName):E.name.text;if(!R)return;const N="".concat(y,".").concat(R);return[QO(N,E.initializer,E.dotDotDotToken,o,!1,s,l,u,d,A)]}else if(E.propertyName){const R=HN(E.propertyName);return R&&_("".concat(y,".").concat(R),E.name,E.initializer,E.dotDotDotToken,A)}}}function QO(e,t,r,i,o,s,l,u,d,_){if(s&&C.assertIsDefined(_),t&&(e=Rnt(e,t)),s&&(e=OS(e)),i){let m="*";if(o)C.assert(!r,"Cannot annotate a rest parameter with type 'Object'."),m="Object";else{if(t){const A=l.getTypeAtLocation(t.parent);if(!(A.flags&16385)){const R=t.getSourceFile(),M=Up(R,d)===0?268435456:0,k=l.typeToTypeNode(A,Rn(t,Yo),M);if(k){const F=s?KK({removeComments:!0,module:u.module,moduleResolution:u.moduleResolution,target:u.target}):jb({removeComments:!0,module:u.module,moduleResolution:u.moduleResolution,target:u.target});Dr(k,1),m=F.printNode(4,k,R)}}}s&&m==="*"&&(m="${".concat(_.tabstop++,":").concat(m,"}"))}const y=!o&&r?"...":"",E=s?"${".concat(_.tabstop++,"}"):"";return"@param {".concat(y).concat(m,"} ").concat(e," ").concat(E)}else{const m=s?"${".concat(_.tabstop++,"}"):"";return"@param ".concat(e," ").concat(m)}}function Rnt(e,t){const r=t.getText().trim();return r.includes("\n")||r.length>80?"[".concat(e,"]"):"[".concat(e,"=").concat(r,"]")}function Dnt(e){return{name:Ta(e),kind:"keyword",kindModifiers:"",sortText:Hd.GlobalsOrKeywords}}function Cnt(e,t){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:t,entries:e.slice(),defaultCommitCharacters:j1(t)}}function w2e(e,t,r){return{kind:4,keywordCompletions:q2e(e,t),isNewIdentifierLocation:r}}function Nnt(e){switch(e){case 156:return 8;default:C.fail("Unknown mapping from SyntaxKind to KeywordCompletionFilters")}}function O2e(e){return(e==null?void 0:e.kind)===80?Vu(e):void 0}function Mnt(e,t,r,i,o,s,l,u,d,_){const{symbols:m,contextToken:y,completionKind:E,isInSnippetScope:A,isNewIdentifierLocation:R,location:N,propertyAccessToConvert:M,keywordFilters:k,symbolToOriginInfoMap:F,recommendedCompletion:O,isJsxInitializer:G,isTypeOnlyLocation:j,isJsxIdentifierExpected:K,isRightOfOpenTag:Q,isRightOfDotOrQuestionDot:J,importStatementCompletion:he,insideJsDocTagTypeExpression:re,symbolToSortTextMap:q,hasUnresolvedAutoImports:ue,defaultCommitCharacters:de}=s;let ge=s.literals;const Ae=r.getTypeChecker();if(Uk(e.scriptKind)===1){const ee=Lnt(N,e);if(ee)return ee}const Re=Rn(y,DD);if(Re&&(Lie(y)||xS(y,Re.expression))){const ee=j7(Ae,Re.parent.clauses);ge=ge.filter(Se=>!ee.hasValue(Se)),m.forEach((Se,Ne)=>{if(Se.valueDeclaration&&gy(Se.valueDeclaration)){const ze=Ae.getConstantValue(Se.valueDeclaration);ze!==void 0&&ee.hasValue(ze)&&(F[Ne]={kind:256})}})}const $=UB(),ve=W2e(e,i);if(ve&&!R&&(!m||m.length===0)&&k===0)return;const je=hfe(m,$,void 0,y,N,d,e,t,r,Va(i),o,E,l,i,u,j,M,K,G,he,O,F,q,K,Q,_);if(k!==0)for(const ee of q2e(k,!re&&wu(e)))(j&&NP(qE(ee.name))||!j&&_rt(ee.name)||!je.has(ee.name))&&(je.add(ee.name),tb($,ee,Tz,void 0,!0));for(const ee of nrt(y,d))je.has(ee.name)||(je.add(ee.name),tb($,ee,Tz,void 0,!0));for(const ee of ge){const Se=wnt(e,l,ee);je.add(Se.name),tb($,Se,Tz,void 0,!0)}ve||knt(e,N.pos,je,Va(i),$);let be;if(l.includeCompletionsWithInsertText&&y&&!Q&&!J&&(be=Rn(y,qM))){const ee=F2e(be,e,l,i,t,r,u);ee&&$.push(ee.entry)}return{flags:s.flags,isGlobalCompletion:A,isIncomplete:l.allowIncompleteCompletions&&ue?!0:void 0,isMemberCompletion:Pnt(E),isNewIdentifierLocation:R,optionalReplacementSpan:O2e(N),entries:$,defaultCommitCharacters:de!=null?de:j1(R)}}function W2e(e,t){return!wu(e)||!!xM(e,t)}function F2e(e,t,r,i,o,s,l){const u=e.clauses,d=s.getTypeChecker(),_=d.getTypeAtLocation(e.parent.expression);if(_&&_.isUnion()&&Gn(_.types,m=>m.isLiteral())){const m=j7(d,u),y=Va(i),E=Up(t,r),A=cu.createImportAdder(t,s,r,o),R=[];for(const j of _.types)if(j.flags&1024){C.assert(j.symbol,"An enum member type should have a symbol"),C.assert(j.symbol.parent,"An enum member type should have a parent symbol (the enum symbol)");const K=j.symbol.valueDeclaration&&d.getConstantValue(j.symbol.valueDeclaration);if(K!==void 0){if(m.hasValue(K))continue;m.addValue(K)}const Q=cu.typeToAutoImportableTypeNode(d,A,j,e,y);if(!Q)return;const J=qK(Q,y,E);if(!J)return;R.push(J)}else if(!m.hasValue(j.value))switch(typeof j.value){case"object":R.push(j.value.negative?L.createPrefixUnaryExpression(41,L.createBigIntLiteral({negative:!1,base10Value:j.value.base10Value})):L.createBigIntLiteral(j.value));break;case"number":R.push(j.value<0?L.createPrefixUnaryExpression(41,L.createNumericLiteral(-j.value)):L.createNumericLiteral(j.value));break;case"string":R.push(L.createStringLiteral(j.value,E===0));break}if(R.length===0)return;const N=Gt(R,j=>L.createCaseClause(j,[])),M=Ty(o,l==null?void 0:l.options),k=KK({removeComments:!0,module:i.module,moduleResolution:i.moduleResolution,target:i.target,newLine:wO(M)}),F=l?j=>k.printAndFormatNode(4,j,t,l):j=>k.printNode(4,j,t),O=Gt(N,(j,K)=>r.includeCompletionsWithSnippetText?"".concat(F(j),"$").concat(K+1):"".concat(F(j))).join(M),G=k.printNode(4,N[0],t);return{entry:{name:"".concat(G," ..."),kind:"",sortText:Hd.GlobalsOrKeywords,insertText:O,hasAction:A.hasFixes()||void 0,source:"SwitchCases/",isSnippet:r.includeCompletionsWithSnippetText?!0:void 0},importAdder:A}}}function qK(e,t,r){switch(e.kind){case 184:const i=e.typeName;return JK(i,t,r);case 200:const o=qK(e.objectType,t,r),s=qK(e.indexType,t,r);return o&&s&&L.createElementAccessExpression(o,s);case 202:const l=e.literal;switch(l.kind){case 11:return L.createStringLiteral(l.text,r===0);case 9:return L.createNumericLiteral(l.text,l.numericLiteralFlags)}return;case 197:const u=qK(e.type,t,r);return u&&(Je(u)?u:L.createParenthesizedExpression(u));case 187:return JK(e.exprName,t,r);case 206:C.fail("We should not get an import type after calling 'codefix.typeToAutoImportableTypeNode'.")}}function JK(e,t,r){if(Je(e))return e;const i=Bi(e.right.escapedText);return ej(i,t)?L.createPropertyAccessExpression(JK(e.left,t,r),i):L.createElementAccessExpression(JK(e.left,t,r),L.createStringLiteral(i,r===0))}function Pnt(e){switch(e){case 0:case 3:case 2:return!0;default:return!1}}function Lnt(e,t){const r=Rn(e,i=>{switch(i.kind){case 288:return!0;case 44:case 32:case 80:case 212:return!1;default:return"quit"}});if(r){const i=!!Rs(r,32,t),l=r.parent.openingElement.tagName.getText(t)+(i?"":">"),u=Vu(r.tagName),d={name:l,kind:"class",kindModifiers:void 0,sortText:Hd.LocationPriority};return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:u,entries:[d],defaultCommitCharacters:j1(!1)}}}function knt(e,t,r,i,o){hK(e).forEach((s,l)=>{if(s===t)return;const u=Bi(l);!r.has(u)&&_p(u,i)&&(r.add(u),tb(o,{name:u,kind:"warning",kindModifiers:"",sortText:Hd.JavascriptIdentifiers,isFromUncheckedFile:!0,commitCharacters:[]},Tz))})}function pfe(e,t,r){return typeof r=="object"?wS(r)+"n":jo(r)?OP(e,t,r):JSON.stringify(r)}function wnt(e,t,r){return{name:pfe(e,t,r),kind:"string",kindModifiers:"",sortText:Hd.LocationPriority,commitCharacters:[]}}function Ont(e,t,r,i,o,s,l,u,d,_,m,y,E,A,R,N,M,k,F,O,G,j,K,Q){var J,he;let re,q,ue=Xq(r,s),de,ge,Ae=mfe(y),Re,$,ve;const je=d.getTypeChecker(),be=y&&Ent(y),ee=y&&vnt(y)||m;if(y&&ynt(y))re=m?"this".concat(be?"?.":"","[").concat(ffe(l,F,_),"]"):"this".concat(be?"?.":".").concat(_);else if((ee||be)&&A){re=ee?m?"[".concat(ffe(l,F,_),"]"):"[".concat(_,"]"):_,(be||A.questionDotToken)&&(re="?.".concat(re));const lt=Rs(A,25,l)||Rs(A,29,l);if(!lt)return;const le=fo(_,A.name.text)?A.name.end:lt.end;ue=oc(lt.getStart(l),le)}if(R&&(re===void 0&&(re=_),re="{".concat(re,"}"),typeof R!="boolean"&&(ue=Vu(R,l))),y&&Snt(y)&&A){re===void 0&&(re=_);const lt=Fc(A.pos,l);let le="";lt&&k7(lt.end,lt.parent,l)&&(le=";"),le+="(await ".concat(A.expression.getText(),")"),re=m?"".concat(le).concat(re):"".concat(le).concat(be?"?.":".").concat(re);const _e=ii(A.parent,Ob)?A.parent:A.expression;ue=oc(_e.getStart(l),A.end)}if(KP(y)&&(Re=[vf(y.moduleSpecifier)],N&&({insertText:re,replacementSpan:ue}=Unt(_,N,y,M,l,d,F),ge=F.includeCompletionsWithSnippetText?!0:void 0)),(y==null?void 0:y.kind)===64&&($=!0),O===0&&i&&((J=Fc(i.pos,l,i))==null?void 0:J.kind)!==28&&(Ll(i.parent.parent)||qf(i.parent.parent)||bp(i.parent.parent)||Ng(i.parent)||((he=Rn(i.parent,Rc))==null?void 0:he.getLastToken(l))===i||Ud(i.parent)&&fa(l,i.getEnd()).line!==fa(l,s).line)&&(Ae="ObjectLiteralMemberWithComma/",$=!0),F.includeCompletionsWithClassMemberSnippets&&F.includeCompletionsWithInsertText&&O===3&&Fnt(e,o,l)){let lt;const le=z2e(u,d,k,F,_,e,o,s,i,G);if(le)({insertText:re,filterText:q,isSnippet:ge,importAdder:lt}=le),(lt!=null&<.hasFixes()||le.eraseRange)&&($=!0,Ae="ClassMemberSnippet/");else return}if(y&&N2e(y)&&({insertText:re,isSnippet:ge,labelDetails:ve}=y,F.useLabelDetailsInCompletionEntries||(_=_+ve.detail,ve=void 0),Ae="ObjectLiteralMethodSnippet/",t=Hd.SortBelow(t)),j&&!K&&F.includeCompletionsWithSnippetText&&F.jsxAttributeCompletionStyle&&F.jsxAttributeCompletionStyle!=="none"&&!(c_(o.parent)&&o.parent.initializer)){let lt=F.jsxAttributeCompletionStyle==="braces";const le=je.getTypeOfSymbolAtLocation(e,o);F.jsxAttributeCompletionStyle==="auto"&&!(le.flags&528)&&!(le.flags&1048576&&_n(le.types,De=>!!(De.flags&528)))&&(le.flags&402653316||le.flags&1048576&&Gn(le.types,De=>!!(De.flags&402686084||ace(De)))?(re="".concat(OS(_),"=").concat(OP(l,F,"$1")),ge=!0):lt=!0),lt&&(re="".concat(OS(_),"={$1}"),ge=!0)}if(re!==void 0&&!F.includeCompletionsWithInsertText)return;(bz(y)||KP(y))&&(de=B2e(y),$=!N);const Se=Rn(o,k6);if(Se){const lt=Va(u.getCompilationSettings());if(!_p(_,lt))re=ffe(l,F,_),Se.kind===276&&(yd.setText(l.text),yd.resetTokenState(s),yd.scan()===130&&yd.scan()===80||(re+=" as "+Wnt(_,lt)));else if(Se.kind===276){const le=qE(_);le&&(le===135||QG(le))&&(re="".concat(_," as ").concat(_,"_"))}}const Ne=Ev.getSymbolKind(je,e,o),ze=Ne==="warning"||Ne==="string"?[]:void 0;return{name:_,kind:Ne,kindModifiers:Ev.getSymbolModifiers(je,e),sortText:t,source:Ae,hasAction:$?!0:void 0,isRecommended:Hnt(e,E,je)||void 0,insertText:re,filterText:q,replacementSpan:ue,sourceDisplay:Re,labelDetails:ve,isSnippet:ge,isPackageJsonImport:Tnt(y)||void 0,isImportStatementCompletion:!!N||void 0,data:de,commitCharacters:ze,...Q?{symbol:e}:void 0}}function Wnt(e,t){let r=!1,i="",o;for(let s=0;s<e.length;s+=o!==void 0&&o>=65536?2:1)o=e.codePointAt(s),o!==void 0&&(s===0?L_(o,t):oy(o,t))?(r&&(i+="_"),i+=String.fromCodePoint(o),r=!1):r=!0;return r&&(i+="_"),i||"_"}function Fnt(e,t,r){return Er(t)?!1:!!(e.flags&106500)&&(hi(t)||t.parent&&t.parent.parent&&vc(t.parent)&&t===t.parent.name&&t.parent.getLastToken(r)===t.parent.name&&hi(t.parent.parent)||t.parent&&PD(t)&&hi(t.parent))}function z2e(e,t,r,i,o,s,l,u,d,_){const m=Rn(l,hi);if(!m)return;let y,E=o;const A=o,R=t.getTypeChecker(),N=l.getSourceFile(),M=KK({removeComments:!0,module:r.module,moduleResolution:r.moduleResolution,target:r.target,omitTrailingSemicolon:!1,newLine:wO(Ty(e,_==null?void 0:_.options))}),k=cu.createImportAdder(N,t,i,e);let F;if(i.includeCompletionsWithSnippetText){y=!0;const he=L.createEmptyStatement();F=L.createBlock([he],!0),vj(he,{kind:0,order:0})}else F=L.createBlock([],!0);let O=0;const{modifiers:G,range:j,decorators:K}=znt(d,N,u),Q=G&64&&m.modifierFlagsCache&64;let J=[];if(cu.addNewNodeForMemberSymbol(s,m,N,{program:t,host:e},i,k,he=>{let re=0;Q&&(re|=64),vc(he)&&R.getMemberOverrideModifierStatus(m,he,s)===1&&(re|=16),J.length||(O=he.modifierFlagsCache|re),he=L.replaceModifiers(he,O),J.push(he)},F,cu.PreserveOptionalFlags.Property,!!Q),J.length){const he=s.flags&8192;let re=O|16|1;he?re|=1024:re|=136;const q=G&re;if(G&~re)return;if(O&4&&q&1&&(O&=-5),q!==0&&!(q&1)&&(O&=-2),O|=q,J=J.map(de=>L.replaceModifiers(de,O)),K!=null&&K.length){const de=J[J.length-1];qS(de)&&(J[J.length-1]=L.replaceDecoratorsAndModifiers(de,K.concat(mS(de)||[])))}const ue=131073;_?E=M.printAndFormatSnippetList(ue,L.createNodeArray(J),N,_):E=M.printSnippetList(ue,L.createNodeArray(J),N)}return{insertText:E,filterText:A,isSnippet:y,importAdder:k,eraseRange:j}}function znt(e,t,r){if(!e||fa(t,r).line>fa(t,e.getEnd()).line)return{modifiers:0};let i=0,o,s;const l={pos:r,end:r};if(ko(e.parent)&&(s=Bnt(e))){e.parent.modifiers&&(i|=e_(e.parent.modifiers)&98303,o=e.parent.modifiers.filter(wc)||[],l.pos=Math.min(...e.parent.modifiers.map(d=>d.getStart(t))));const u=xI(s);i&u||(i|=u,l.pos=Math.min(l.pos,e.getStart(t))),e.parent.name!==e&&(l.end=e.parent.name.getStart(t))}return{modifiers:i,decorators:o,range:l.pos<l.end?l:void 0}}function Bnt(e){if(Ra(e))return e.kind;if(Je(e)){const t=KE(e);if(t&&_b(t))return t}}function Gnt(e,t,r,i,o,s,l,u){const d=l.includeCompletionsWithSnippetText||void 0;let _=t;const m=r.getSourceFile(),y=Vnt(e,r,m,i,o,l);if(!y)return;const E=KK({removeComments:!0,module:s.module,moduleResolution:s.moduleResolution,target:s.target,omitTrailingSemicolon:!1,newLine:wO(Ty(o,u==null?void 0:u.options))});u?_=E.printAndFormatSnippetList(80,L.createNodeArray([y],!0),m,u):_=E.printSnippetList(80,L.createNodeArray([y],!0),m);const A=jb({removeComments:!0,module:s.module,moduleResolution:s.moduleResolution,target:s.target,omitTrailingSemicolon:!0}),R=L.createMethodSignature(void 0,"",y.questionToken,y.typeParameters,y.parameters,y.type),N={detail:A.printNode(4,R,m)};return{isSnippet:d,insertText:_,labelDetails:N}}function Vnt(e,t,r,i,o,s){const l=e.getDeclarations();if(!(l&&l.length))return;const u=i.getTypeChecker(),d=l[0],_=ys(Fo(d),!1),m=u.getWidenedType(u.getTypeOfSymbolAtLocation(e,t)),E=33554432|(Up(r,s)===0?268435456:0);switch(d.kind){case 172:case 173:case 174:case 175:{let A=m.flags&1048576&&m.types.length<10?u.getUnionType(m.types,2):m;if(A.flags&1048576){const F=Fn(A.types,O=>u.getSignaturesOfType(O,0).length>0);if(F.length===1)A=F[0];else return}if(u.getSignaturesOfType(A,0).length!==1)return;const N=u.typeToTypeNode(A,t,E,void 0,cu.getNoopSymbolTrackerWithResolver({program:i,host:o}));if(!N||!G_(N))return;let M;if(s.includeCompletionsWithSnippetText){const F=L.createEmptyStatement();M=L.createBlock([F],!0),vj(F,{kind:0,order:0})}else M=L.createBlock([],!0);const k=N.parameters.map(F=>L.createParameterDeclaration(void 0,F.dotDotDotToken,F.name,void 0,void 0,F.initializer));return L.createMethodDeclaration(void 0,void 0,_,void 0,void 0,k,void 0,M)}default:return}}function KK(e){let t;const r=Ir.createWriter(lv(e)),i=jb(e,r),o={...r,write:E=>s(E,()=>r.write(E)),nonEscapingWrite:r.write,writeLiteral:E=>s(E,()=>r.writeLiteral(E)),writeStringLiteral:E=>s(E,()=>r.writeStringLiteral(E)),writeSymbol:(E,A)=>s(E,()=>r.writeSymbol(E,A)),writeParameter:E=>s(E,()=>r.writeParameter(E)),writeComment:E=>s(E,()=>r.writeComment(E)),writeProperty:E=>s(E,()=>r.writeProperty(E))};return{printSnippetList:l,printAndFormatSnippetList:d,printNode:_,printAndFormatNode:y};function s(E,A){const R=OS(E);if(R!==E){const N=r.getTextPos();A();const M=r.getTextPos();t=jn(t||(t=[]),{newText:R,span:{start:N,length:M-N}})}else A()}function l(E,A,R){const N=u(E,A,R);return t?Ir.applyChanges(N,t):N}function u(E,A,R){return t=void 0,o.clear(),i.writeList(E,A,R,o),o.getText()}function d(E,A,R,N){const M={text:u(E,A,R),getLineAndCharacterOfPosition(G){return fa(this,G)}},k=V7(N,R),F=Wi(A,G=>{const j=Ir.assignPositionsToNode(G);return Dc.formatNodeGivenIndentation(j,M,R.languageVariant,0,0,{...N,options:k})}),O=t?Cp(co(F,t),(G,j)=>UW(G.span,j.span)):F;return Ir.applyChanges(M.text,O)}function _(E,A,R){const N=m(E,A,R);return t?Ir.applyChanges(N,t):N}function m(E,A,R){return t=void 0,o.clear(),i.writeNode(E,A,R,o),o.getText()}function y(E,A,R,N){const M={text:m(E,A,R),getLineAndCharacterOfPosition(j){return fa(this,j)}},k=V7(N,R),F=Ir.assignPositionsToNode(A),O=Dc.formatNodeGivenIndentation(F,M,R.languageVariant,0,0,{...N,options:k}),G=t?Cp(co(O,t),(j,K)=>UW(j.span,K.span)):O;return Ir.applyChanges(M.text,G)}}function B2e(e){const t=e.fileName?void 0:bm(e.moduleSymbol.name),r=e.isFromPackageJson?!0:void 0;return KP(e)?{exportName:e.exportName,exportMapKey:e.exportMapKey,moduleSpecifier:e.moduleSpecifier,ambientModuleName:t,fileName:e.fileName,isPackageJsonImport:r}:{exportName:e.exportName,exportMapKey:e.exportMapKey,fileName:e.fileName,ambientModuleName:e.fileName?void 0:bm(e.moduleSymbol.name),isPackageJsonImport:e.isFromPackageJson?!0:void 0}}function jnt(e,t,r){const i=e.exportName==="default",o=!!e.isPackageJsonImport;return P2e(e)?{kind:32,exportName:e.exportName,exportMapKey:e.exportMapKey,moduleSpecifier:e.moduleSpecifier,symbolName:t,fileName:e.fileName,moduleSymbol:r,isDefaultExport:i,isFromPackageJson:o}:{kind:4,exportName:e.exportName,exportMapKey:e.exportMapKey,symbolName:t,fileName:e.fileName,moduleSymbol:r,isDefaultExport:i,isFromPackageJson:o}}function Unt(e,t,r,i,o,s,l){const u=t.replacementSpan,d=OS(OP(o,l,r.moduleSpecifier)),_=r.isDefaultExport?1:r.exportName==="export="?2:0,m=l.includeCompletionsWithSnippetText?"$1":"",y=cu.getImportKind(o,_,s,!0),E=t.couldBeTypeOnlyImportSpecifier,A=t.isTopLevelTypeOnly?" ".concat(Ta(156)," "):" ",R=E?"".concat(Ta(156)," "):"",N=i?";":"";switch(y){case 3:return{replacementSpan:u,insertText:"import".concat(A).concat(OS(e)).concat(m," = require(").concat(d,")").concat(N)};case 1:return{replacementSpan:u,insertText:"import".concat(A).concat(OS(e)).concat(m," from ").concat(d).concat(N)};case 2:return{replacementSpan:u,insertText:"import".concat(A,"* as ").concat(OS(e)," from ").concat(d).concat(N)};case 0:return{replacementSpan:u,insertText:"import".concat(A,"{ ").concat(R).concat(OS(e)).concat(m," } from ").concat(d).concat(N)}}}function ffe(e,t,r){return/^\d+$/.test(r)?r:OP(e,t,r)}function Hnt(e,t,r){return e===t||!!(e.flags&1048576)&&r.getExportSymbolOfSymbol(e)===t}function mfe(e){if(bz(e))return bm(e.moduleSymbol.name);if(KP(e))return e.moduleSpecifier;if((e==null?void 0:e.kind)===1)return"ThisProperty/";if((e==null?void 0:e.kind)===64)return"TypeOnlyAlias/"}function hfe(e,t,r,i,o,s,l,u,d,_,m,y,E,A,R,N,M,k,F,O,G,j,K,Q,J,he=!1){var $;const re=Os(),q=prt(i,o),ue=MO(l),de=d.getTypeChecker(),ge=new Map;for(let ve=0;ve<e.length;ve++){const je=e[ve],be=j==null?void 0:j[ve],ee=YK(je,_,be,y,!!k);if(!ee||ge.get(ee.name)&&(!be||!N2e(be))||y===1&&K&&!Ae(je,K)||!N&&Er(l)&&Re(je))continue;const{name:Se,needsConvertPropertyAccess:Ne}=ee,ze=($=K==null?void 0:K[Aa(je)])!=null?$:Hd.LocationPriority,lt=mrt(je,de)?Hd.Deprecated(ze):ze,le=Ont(je,lt,r,i,o,s,l,u,d,Se,Ne,be,G,M,F,O,ue,A,E,y,R,Q,J,he);if(!le)continue;const De=(!be||C2e(be))&&!(je.parent===void 0&&!bt(je.declarations,_e=>_e.getSourceFile()===o.getSourceFile()));ge.set(Se,De),tb(t,le,Tz,void 0,!0)}return m("getCompletionsAtPosition: getCompletionEntriesFromSymbols: "+(Os()-re)),{has:ve=>ge.has(ve),add:ve=>ge.set(ve,!0)};function Ae(ve,je){var ze;var be;let ee=ve.flags;if(o.parent&&fl(o.parent))return!0;if(q&&ii(q,bi)&&(ve.valueDeclaration===q||na(q.name)&&q.name.elements.some(lt=>lt===ve.valueDeclaration)))return!1;const Se=(ze=ve.valueDeclaration)!=null?ze:(be=ve.declarations)==null?void 0:be[0];if(q&&Se){if(no(q)&&no(Se)){const lt=q.parent.parameters;if(Se.pos>=q.pos&&Se.pos<lt.end)return!1}else if(pl(q)&&pl(Se)){if(q===Se&&(i==null?void 0:i.kind)===96)return!1;if(frt(i)&&!v1(q.parent)){const lt=q.parent.typeParameters;if(lt&&Se.pos>=q.pos&&Se.pos<lt.end)return!1}}}const Ne=Id(ve,de);return l.externalModuleIndicator&&!A.allowUmdGlobalAccess&&je[Aa(ve)]===Hd.GlobalsOrKeywords&&(je[Aa(Ne)]===Hd.AutoImportSuggestions||je[Aa(Ne)]===Hd.LocationPriority)?!1:(ee|=uD(Ne),c7(o)?!!(ee&1920):N?bfe(ve,de):!!(ee&111551))}function Re(ve){var je;const be=uD(Id(ve,de));return!(be&111551)&&(!Er((je=ve.declarations)==null?void 0:je[0])||!!(be&788968))}}function qnt(e){const t=Jnt(e);if(t.length)return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:t,defaultCommitCharacters:j1(!1)}}function Jnt(e){const t=[],r=new Map;let i=e;for(;i&&!Yo(i);){if(Wb(i)){const o=i.label.text;r.has(o)||(r.set(o,!0),t.push({name:o,kindModifiers:"",kind:"label",sortText:Hd.LocationPriority}))}i=i.parent}return t}function G2e(e,t,r,i,o,s,l){if(o.source==="SwitchCases/")return{type:"cases"};if(o.data){const O=U2e(o.name,o.data,e,s);if(O){const{contextToken:G,previousToken:j}=XK(i,r);return{type:"symbol",symbol:O.symbol,location:ap(r,i),previousToken:j,contextToken:G,isJsxInitializer:!1,isTypeOnlyLocation:!1,origin:O.origin}}}const u=e.getCompilerOptions(),d=j2e(e,t,r,u,i,{includeCompletionsForModuleExports:!0,includeCompletionsWithInsertText:!0},o,s,void 0);if(!d)return{type:"none"};if(d.kind!==0)return{type:"request",request:d};const{symbols:_,literals:m,location:y,completionKind:E,symbolToOriginInfoMap:A,contextToken:R,previousToken:N,isJsxInitializer:M,isTypeOnlyLocation:k}=d,F=_n(m,O=>pfe(r,l,O)===o.name);return F!==void 0?{type:"literal",literal:F}:Wn(_,(O,G)=>{const j=A[G],K=YK(O,Va(u),j,E,d.isJsxIdentifierExpected);return K&&K.name===o.name&&(o.source==="ClassMemberSnippet/"&&O.flags&106500||o.source==="ObjectLiteralMethodSnippet/"&&O.flags&8196||mfe(j)===o.source||o.source==="ObjectLiteralMemberWithComma/")?{type:"symbol",symbol:O,location:y,origin:j,contextToken:R,previousToken:N,isJsxInitializer:M,isTypeOnlyLocation:k}:void 0})||{type:"none"}}function Knt(e,t,r,i,o,s,l,u,d){const _=e.getTypeChecker(),m=e.getCompilerOptions(),{name:y,source:E,data:A}=o,{previousToken:R,contextToken:N}=XK(i,r);if(fx(r,i,R))return nX.getStringLiteralCompletionDetails(y,r,i,R,e,s,d,u);const M=G2e(e,t,r,i,o,s,u);switch(M.type){case"request":{const{request:k}=M;switch(k.kind){case 1:return vT.getJSDocTagNameCompletionDetails(y);case 2:return vT.getJSDocTagCompletionDetails(y);case 3:return vT.getJSDocParameterNameCompletionDetails(y);case 4:return bt(k.keywordCompletions,F=>F.name===y)?_fe(y,"keyword",5):void 0;default:return C.assertNever(k)}}case"symbol":{const{symbol:k,location:F,contextToken:O,origin:G,previousToken:j}=M,{codeActions:K,sourceDisplay:Q}=Xnt(y,F,O,G,k,e,s,m,r,i,j,l,u,A,E,d),J=dfe(G)?G.symbolName:k.name;return gfe(k,J,_,r,F,d,K,Q)}case"literal":{const{literal:k}=M;return _fe(pfe(r,u,k),"string",typeof k=="string"?8:7)}case"cases":{const k=F2e(N.parent,r,u,e.getCompilerOptions(),s,e,void 0);if(k!=null&&k.importAdder.hasFixes()){const{entry:F,importAdder:O}=k,G=Ir.ChangeTracker.with({host:s,formatContext:l,preferences:u},O.writeFixes);return{name:F.name,kind:"",kindModifiers:"",displayParts:[],sourceDisplay:void 0,codeActions:[{changes:G,description:tE([f.Includes_imports_of_types_referenced_by_0,y])}]}}return{name:y,kind:"",kindModifiers:"",displayParts:[],sourceDisplay:void 0}}case"none":return H2e().some(k=>k.name===y)?_fe(y,"keyword",5):void 0;default:C.assertNever(M)}}function _fe(e,t,r){return Sz(e,"",t,[Tp(e,r)])}function gfe(e,t,r,i,o,s,l,u){const{displayParts:d,documentation:_,symbolKind:m,tags:y}=r.runWithCancellationToken(s,E=>Ev.getSymbolDisplayPartsDocumentationAndSymbolKind(E,e,i,o,o,7));return Sz(t,Ev.getSymbolModifiers(r,e),m,d,_,y,l,u)}function Sz(e,t,r,i,o,s,l,u){return{name:e,kindModifiers:t,kind:r,displayParts:i,documentation:o,tags:s,codeActions:l,source:u,sourceDisplay:u}}function Xnt(e,t,r,i,o,s,l,u,d,_,m,y,E,A,R,N){if(A!=null&&A.moduleSpecifier&&m&&Z2e(r||m,d).replacementSpan)return{codeActions:void 0,sourceDisplay:[vf(A.moduleSpecifier)]};if(R==="ClassMemberSnippet/"){const{importAdder:K,eraseRange:Q}=z2e(l,s,u,E,e,o,t,_,r,y);if(K!=null&&K.hasFixes()||Q)return{sourceDisplay:void 0,codeActions:[{changes:Ir.ChangeTracker.with({host:l,formatContext:y,preferences:E},he=>{K&&K.writeFixes(he),Q&&he.deleteRange(d,Q)}),description:K!=null&&K.hasFixes()?tE([f.Includes_imports_of_types_referenced_by_0,e]):tE([f.Update_modifiers_of_0,e])}]}}if(C2e(i)){const K=cu.getPromoteTypeOnlyCompletionAction(d,i.declaration.name,s,l,y,E);return C.assertIsDefined(K,"Expected to have a code action for promoting type-only alias"),{codeActions:[K],sourceDisplay:void 0}}if(R==="ObjectLiteralMemberWithComma/"&&r){const K=Ir.ChangeTracker.with({host:l,formatContext:y,preferences:E},Q=>Q.insertText(d,r.end,","));if(K)return{sourceDisplay:void 0,codeActions:[{changes:K,description:tE([f.Add_missing_comma_for_object_member_completion_0,e])}]}}if(!i||!(bz(i)||KP(i)))return{codeActions:void 0,sourceDisplay:void 0};const M=i.isFromPackageJson?l.getPackageJsonAutoImportProvider().getTypeChecker():s.getTypeChecker(),{moduleSymbol:k}=i,F=M.getMergedSymbol(Id(o.exportSymbol||o,M)),O=(r==null?void 0:r.kind)===30&&ru(r.parent),{moduleSpecifier:G,codeAction:j}=cu.getImportCompletionAction(F,k,A==null?void 0:A.exportMapKey,d,e,O,l,s,y,m&&Je(m)?m.getStart(d):_,E,N);return C.assert(!(A!=null&&A.moduleSpecifier)||G===A.moduleSpecifier),{sourceDisplay:[vf(G)],codeActions:[j]}}function Ynt(e,t,r,i,o,s,l){const u=G2e(e,t,r,i,o,s,l);return u.type==="symbol"?u.symbol:void 0}var V2e=(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))(V2e||{});function $nt(e,t,r){return Wn(t&&(t.isUnion()?t.types:[t]),i=>{const o=i&&i.symbol;return o&&o.flags&424&&!ure(o)?yfe(o,e,r):void 0})}function Qnt(e,t,r,i){const{parent:o}=e;switch(e.kind){case 80:return P7(e,i);case 64:switch(o.kind){case 261:return i.getContextualType(o.initializer);case 227:return i.getTypeAtLocation(o.left);case 292:return i.getContextualTypeForJsxAttribute(o);default:return}case 105:return i.getContextualType(o);case 84:const s=ii(o,DD);return s?gJ(s,i):void 0;case 19:return RD(o)&&!l_(o.parent)&&!tT(o.parent)?i.getContextualTypeForJsxAttribute(o.parent):void 0;default:const l=o8.getArgumentInfoForCompletions(e,t,r,i);return l?i.getContextualTypeForArgumentAtIndex(l.invocation,l.argumentIndex):L7(e.kind)&&Nr(o)&&L7(o.operatorToken.kind)?i.getTypeAtLocation(o.left):i.getContextualType(e,4)||i.getContextualType(e)}}function yfe(e,t,r){const i=r.getAccessibleSymbolChain(e,t,-1,!1);return i?Qa(i):e.parent&&(Znt(e.parent)?e:yfe(e.parent,t,r))}function Znt(e){var t;return!!((t=e.declarations)!=null&&t.some(r=>r.kind===308))}function j2e(e,t,r,i,o,s,l,u,d,_){const m=e.getTypeChecker(),y=W2e(r,i);let E=Os(),A=Fi(r,o);t("getCompletionData: Get current token: "+(Os()-E)),E=Os();const R=yv(r,o,A);t("getCompletionData: Is inside comment: "+(Os()-E));let N=!1,M=!1,k=!1;if(R){if(rce(r,o)){if(r.text.charCodeAt(o-1)===64)return{kind:1};{const yt=Rm(o,r);if(!/[^*|\s(/)]/.test(r.text.substring(yt,o)))return{kind:2}}}const Pe=rrt(A,o);if(Pe){if(Pe.tagName.pos<=o&&o<=Pe.tagName.end)return{kind:1};if(d_(Pe))M=!0;else{const yt=mn(Pe);if(yt&&(A=Fi(r,o),(!A||!z_(A)&&(A.parent.kind!==349||A.parent.name!==A))&&(N=$t(yt))),!N&&hf(Pe)&&(Wl(Pe.name)||Pe.name.pos<=o&&o<=Pe.name.end))return{kind:3,tag:Pe}}}if(!N&&!M){t("Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.");return}}E=Os();const F=!N&&!M&&wu(r),O=XK(o,r),G=O.previousToken;let j=O.contextToken;t("getCompletionData: Get previous token: "+(Os()-E));let K=A,Q,J=!1,he=!1,re=!1,q=!1,ue=!1,de=!1,ge,Ae=ap(r,o),Re=0,$=!1,ve=0,je;if(j){const Pe=Z2e(j,r);if(Pe.keywordCompletion){if(Pe.isKeywordOnlyCompletion)return{kind:4,keywordCompletions:[Dnt(Pe.keywordCompletion)],isNewIdentifierLocation:Pe.isNewIdentifierLocation};Re=Nnt(Pe.keywordCompletion)}if(Pe.replacementSpan&&s.includeCompletionsForImportStatements&&s.includeCompletionsWithInsertText&&(ve|=2,ge=Pe,$=Pe.isNewIdentifierLocation),!Pe.replacementSpan&&Zo(j))return t("Returning an empty list because completion was requested in an invalid position."),Re?w2e(Re,F,Pn().isNewIdentifierLocation):void 0;let yt=j.parent;if(j.kind===25||j.kind===29)switch(J=j.kind===25,he=j.kind===29,yt.kind){case 212:Q=yt,K=Q.expression;const jt=pD(Q);if(Wl(jt)||(ra(K)||Yo(K))&&K.end===j.pos&&K.getChildCount(r)&&Ga(K.getChildren(r)).kind!==22)return;break;case 167:K=yt.left;break;case 268:K=yt.name;break;case 206:K=yt;break;case 237:K=yt.getFirstToken(r),C.assert(K.kind===102||K.kind===105);break;default:return}else if(!ge){if(yt&&yt.kind===212&&(j=yt,yt=yt.parent),A.parent===Ae)switch(A.kind){case 32:(A.parent.kind===285||A.parent.kind===287)&&(Ae=A);break;case 44:A.parent.kind===286&&(Ae=A);break}switch(yt.kind){case 288:j.kind===44&&(q=!0,Ae=j);break;case 227:if(!Q2e(yt))break;case 286:case 285:case 287:de=!0,j.kind===30&&(re=!0,Ae=j);break;case 295:case 294:(G.kind===20||G.kind===80&&G.parent.kind===292)&&(de=!0);break;case 292:if(yt.initializer===G&&G.end<o){de=!0;break}switch(G.kind){case 64:ue=!0;break;case 80:de=!0,yt!==G.parent&&!yt.initializer&&Rs(yt,64,r)&&(ue=G)}break}}}const be=Os();let ee=5,Se=!1,Ne=[],ze;const lt=[],le=[],De=new Set,_e=Ur(),Ve=jh(Pe=>fT(Pe?u.getPackageJsonAutoImportProvider():e,u));if(J||he)Hn();else if(re)Ne=m.getJsxIntrinsicTagNamesAt(Ae),C.assertEachIsDefined(Ne,"getJsxIntrinsicTagNames() should all be defined"),Ri(),ee=1,Re=0;else if(q){const Pe=j.parent.parent.openingElement.tagName,yt=m.getSymbolAtLocation(Pe);yt&&(Ne=[yt]),ee=1,Re=0}else if(!Ri())return Re?w2e(Re,F,$):void 0;t("getCompletionData: Semantic work: "+(Os()-be));const Ge=G&&Qnt(G,o,r,m),ot=!ii(G,ds)&&!de?Hi(Ge&&(Ge.isUnion()?Ge.types:[Ge]),Pe=>Pe.isLiteral()&&!(Pe.flags&1024)?Pe.value:void 0):[],Ot=G&&Ge&&$nt(G,Ge,m);return{kind:0,symbols:Ne,completionKind:ee,isInSnippetScope:k,propertyAccessToConvert:Q,isNewIdentifierLocation:$,location:Ae,keywordFilters:Re,literals:ot,symbolToOriginInfoMap:lt,recommendedCompletion:Ot,previousToken:G,contextToken:j,isJsxInitializer:ue,insideJsDocTagTypeExpression:N,symbolToSortTextMap:le,isTypeOnlyLocation:_e,isJsxIdentifierExpected:de,isRightOfOpenTag:re,isRightOfDotOrQuestionDot:J||he,importStatementCompletion:ge,hasUnresolvedAutoImports:Se,flags:ve,defaultCommitCharacters:je};function Vt(Pe){switch(Pe.kind){case 342:case 349:case 343:case 345:case 347:case 350:case 351:return!0;case 346:return!!Pe.constraint;default:return!1}}function mn(Pe){if(Vt(Pe)){const yt=Am(Pe)?Pe.constraint:Pe.typeExpression;return yt&&yt.kind===310?yt:void 0}if(ZI(Pe)||N4(Pe))return Pe.class}function Hn(){ee=2;const Pe=ly(K),yt=Pe&&!K.isTypeOf||Yh(K.parent)||TO(j,r,m),jt=c7(K);if(ku(K)||Pe||Jr(K)){const or=pc(K.parent);or&&($=!0,je=[]);let $n=m.getSymbolAtLocation(K);if($n&&($n=Id($n,m),$n.flags&1920)){const fr=m.getExportsOfModule($n);C.assertEachIsDefined(fr,"getExportsOfModule() should all be defined");const vt=Yt=>m.isValidPropertyAccess(Pe?K:K.parent,Yt.name),Rt=Yt=>bfe(Yt,m),zt=or?Yt=>{var An;return!!(Yt.flags&1920)&&!((An=Yt.declarations)!=null&&An.every(vn=>vn.parent===K.parent))}:jt?(Yt=>Rt(Yt)||vt(Yt)):yt||N?Rt:vt;for(const Yt of fr)zt(Yt)&&Ne.push(Yt);if(!yt&&!N&&$n.declarations&&$n.declarations.some(Yt=>Yt.kind!==308&&Yt.kind!==268&&Yt.kind!==267)){let Yt=m.getTypeOfSymbolAtLocation($n,K).getNonOptionalType(),An=!1;if(Yt.isNullableType()){const vn=J&&!he&&s.includeAutomaticOptionalChainCompletions!==!1;(vn||he)&&(Yt=Yt.getNonNullableType(),vn&&(An=!0))}gt(Yt,!!(K.flags&65536),An)}return}}if(!yt||AI(K)){m.tryGetThisTypeAt(K,!1);let or=m.getTypeAtLocation(K).getNonOptionalType();if(yt)gt(or.getNonNullableType(),!1,!1);else{let $n=!1;if(or.isNullableType()){const fr=J&&!he&&s.includeAutomaticOptionalChainCompletions!==!1;(fr||he)&&(or=or.getNonNullableType(),fr&&($n=!0))}gt(or,!!(K.flags&65536),$n)}}}function gt(Pe,yt,jt){Pe.getStringIndexType()&&($=!0,je=[]),he&&bt(Pe.getCallSignatures())&&($=!0,je!=null||(je=f_));const or=K.kind===206?K:K.parent;if(y)for(const $n of Pe.getApparentProperties())m.isValidPropertyAccessForCompletions(or,Pe,$n)&&tn($n,!1,jt);else Ne.push(...Fn(eX(Pe,m),$n=>m.isValidPropertyAccessForCompletions(or,Pe,$n)));if(yt&&s.includeCompletionsWithInsertText){const $n=m.getPromisedTypeOfPromise(Pe);if($n)for(const fr of $n.getApparentProperties())m.isValidPropertyAccessForCompletions(or,$n,fr)&&tn(fr,!0,jt)}}function tn(Pe,yt,jt){var or;const $n=Wn(Pe.declarations,zt=>ii(Fo(zt),Ea));if($n){const zt=ir($n.expression),Yt=zt&&m.getSymbolAtLocation(zt),An=Yt&&yfe(Yt,j,m),vn=An&&Aa(An);if(vn&&Tm(De,vn)){const Ft=Ne.length;Ne.push(An),le[Aa(An)]=Hd.GlobalsOrKeywords;const bn=An.parent;if(!bn||!uI(bn)||m.tryGetMemberInModuleExportsAndProperties(An.name,bn)!==An)lt[Ft]={kind:Rt(2)};else{const Pr=td(bm(bn.name))?(or=Y2(bn))==null?void 0:or.fileName:void 0,{moduleSpecifier:tr}=(ze||(ze=cu.createImportSpecifierResolver(r,e,u,s))).getModuleSpecifierForBestExportInfo([{exportKind:0,moduleFileName:Pr,isFromPackageJson:!1,moduleSymbol:bn,symbol:An,targetFlags:Id(An,m).flags}],o,q0(Ae))||{};if(tr){const kt={kind:Rt(6),moduleSymbol:bn,isDefaultExport:!1,symbolName:An.name,exportName:An.name,fileName:Pr,moduleSpecifier:tr};lt[Ft]=kt}}}else if(s.includeCompletionsWithInsertText){if(vn&&De.has(vn))return;vt(Pe),fr(Pe),Ne.push(Pe)}}else vt(Pe),fr(Pe),Ne.push(Pe);function fr(zt){crt(zt)&&(le[Aa(zt)]=Hd.LocalDeclarationPriority)}function vt(zt){s.includeCompletionsWithInsertText&&(yt&&Tm(De,Aa(zt))?lt[Ne.length]={kind:Rt(8)}:jt&&(lt[Ne.length]={kind:16}))}function Rt(zt){return jt?zt|16:zt}}function ir(Pe){return Je(Pe)?Pe:Jr(Pe)?ir(Pe.expression):void 0}function Ri(){return(at()||Bt()||Qr()||ce()||_t()||ie()||_o()||We()||Ht()||(go(),1))===1}function _o(){return dt(j)?(ee=5,$=!0,Re=4,1):0}function Ht(){const Pe=He(j),yt=Pe&&m.getContextualType(Pe.attributes);if(!yt)return 0;const jt=Pe&&m.getContextualType(Pe.attributes,4);return Ne=co(Ne,xt(ZK(yt,jt,Pe.attributes,m),Pe.attributes.properties)),ye(),ee=3,$=!1,1}function Qr(){return ge?($=!0,hn(),1):0}function go(){Re=Lt(j)?5:1,ee=1,{isNewIdentifierLocation:$,defaultCommitCharacters:je}=Pn(),G!==j&&C.assert(!!G,"Expected 'contextToken' to be defined when different from 'previousToken'.");const Pe=G!==j?G.getStart():o,yt=Ki(j,Pe,r)||r;k=Cr(yt);const jt=(_e?0:111551)|788968|1920|2097152,or=G&&!q0(G);Ne=co(Ne,m.getSymbolsInScope(yt,jt)),C.assertEachIsDefined(Ne,"getSymbolsInScope() should all be defined");for(let $n=0;$n<Ne.length;$n++){const fr=Ne[$n];if(!m.isArgumentsSymbol(fr)&&!bt(fr.declarations,vt=>vt.getSourceFile()===r)&&(le[Aa(fr)]=Hd.GlobalsOrKeywords),or&&!(fr.flags&111551)){const vt=fr.declarations&&_n(fr.declarations,BR);if(vt){const Rt={kind:64,declaration:vt};lt[$n]=Rt}}}if(s.includeCompletionsWithInsertText&&yt.kind!==308){const $n=m.tryGetThisTypeAt(yt,!1,hi(yt.parent)?yt:void 0);if($n&&!lrt($n,r,m))for(const fr of eX($n,m))lt[Ne.length]={kind:1},Ne.push(fr),le[Aa(fr)]=Hd.SuggestedClassMembers}hn(),_e&&(Re=j&&yS(j.parent)?6:7)}function Ci(){var Pe;return ge?!0:s.includeCompletionsForModuleExports?r.externalModuleIndicator||r.commonJsModuleIndicator||eJ(e.getCompilerOptions())?!0:((Pe=e.getSymlinkCache)==null?void 0:Pe.call(e).hasAnySymlinks())||!!e.getCompilerOptions().paths||cce(e):!1}function Cr(Pe){switch(Pe.kind){case 308:case 229:case 295:case 242:return!0;default:return Gi(Pe)}}function Ur(){return N||M||!!ge&&nv(Ae.parent)||!Qe(j)&&(TO(j,r,m)||Yh(Ae)||It(j))}function Qe(Pe){return Pe&&(Pe.kind===114&&(Pe.parent.kind===187||ED(Pe.parent))||Pe.kind===131&&Pe.parent.kind===183)}function It(Pe){if(Pe){const yt=Pe.parent.kind;switch(Pe.kind){case 59:return yt===173||yt===172||yt===170||yt===261||sI(yt);case 64:return yt===266||yt===169;case 130:return yt===235;case 30:return yt===184||yt===217;case 96:return yt===169;case 152:return yt===239}}return!1}function hn(){var Pe,yt;if(!Ci()||(C.assert(!(l!=null&&l.data),"Should not run 'collectAutoImports' when faster path is available via `data`"),l&&!l.source))return;ve|=1;const or=G===j&&ge?"":G&&Je(G)?G.text.toLowerCase():"",$n=(Pe=u.getModuleSpecifierCache)==null?void 0:Pe.call(u),fr=OO(r,u,e,s,_),vt=(yt=u.getPackageJsonAutoImportProvider)==null?void 0:yt.call(u),Rt=l?void 0:lC(r,s,u);M2e("collectAutoImports",u,ze||(ze=cu.createImportSpecifierResolver(r,e,u,s)),e,o,s,!!ge,q0(Ae),Yt=>{fr.search(r.path,re,(An,vn)=>{if(!_p(An,Va(u.getCompilationSettings()))||!l&&EI(An)||!_e&&!ge&&!(vn&111551)||_e&&!(vn&790504))return!1;const Ft=An.charCodeAt(0);return re&&(Ft<65||Ft>90)?!1:l?!0:ike(An,or)},(An,vn,Ft,bn)=>{if(l&&!bt(An,wo=>l.source===bm(wo.moduleSymbol.name))||(An=Fn(An,zt),!An.length))return;const Pr=Yt.tryResolve(An,Ft)||{};if(Pr==="failed")return;let tr=An[0],kt;Pr!=="skipped"&&({exportInfo:tr=An[0],moduleSpecifier:kt}=Pr);const ti=tr.exportKind===1,ea=ti&&hM(C.checkDefined(tr.symbol))||C.checkDefined(tr.symbol);pr(ea,{kind:kt?32:4,moduleSpecifier:kt,symbolName:vn,exportMapKey:bn,exportName:tr.exportKind===2?"export=":C.checkDefined(tr.symbol).name,fileName:tr.moduleFileName,isDefaultExport:ti,moduleSymbol:tr.moduleSymbol,isFromPackageJson:tr.isFromPackageJson})}),Se=Yt.skippedAny(),ve|=Yt.resolvedAny()?8:0,ve|=Yt.resolvedBeyondLimit()?16:0});function zt(Yt){return NJ(Yt.isFromPackageJson?vt:e,r,ii(Yt.moduleSymbol.valueDeclaration,Qi),Yt.moduleSymbol,s,Rt,Ve(Yt.isFromPackageJson),$n)}}function pr(Pe,yt){const jt=Aa(Pe);le[jt]!==Hd.GlobalsOrKeywords&&(lt[Ne.length]=yt,le[jt]=ge?Hd.LocationPriority:Hd.AutoImportSuggestions,Ne.push(Pe))}function oi(Pe,yt){Er(Ae)||Pe.forEach(jt=>{if(!di(jt))return;const or=YK(jt,Va(i),void 0,0,!1);if(!or)return;const{name:$n}=or,fr=Gnt(jt,$n,yt,e,u,i,s,d);if(!fr)return;const vt={kind:128,...fr};ve|=32,lt[Ne.length]=vt,Ne.push(jt)})}function di(Pe){return!!(Pe.flags&8196)}function Ki(Pe,yt,jt){let or=Pe;for(;or&&!zq(or,yt,jt);)or=or.parent;return or}function Zo(Pe){const yt=Os(),jt=qo(Pe)||Nt(Pe)||Zt(Pe)||Da(Pe)||bD(Pe);return t("getCompletionsAtPosition: isCompletionListBlocker: "+(Os()-yt)),jt}function Da(Pe){if(Pe.kind===12)return!0;if(Pe.kind===32&&Pe.parent){if(Ae===Pe.parent&&(Ae.kind===287||Ae.kind===286))return!1;if(Pe.parent.kind===287)return Ae.parent.kind!==287;if(Pe.parent.kind===288||Pe.parent.kind===286)return!!Pe.parent.parent&&Pe.parent.parent.kind===285}return!1}function Pn(){if(j){const Pe=j.parent.kind,yt=QK(j);switch(yt){case 28:switch(Pe){case 214:case 215:{const jt=j.parent.expression;return fa(r,jt.end).line!==fa(r,o).line?{defaultCommitCharacters:HK,isNewIdentifierLocation:!0}:{defaultCommitCharacters:f_,isNewIdentifierLocation:!0}}case 227:return{defaultCommitCharacters:HK,isNewIdentifierLocation:!0};case 177:case 185:case 211:return{defaultCommitCharacters:[],isNewIdentifierLocation:!0};case 210:return{defaultCommitCharacters:f_,isNewIdentifierLocation:!0};default:return{defaultCommitCharacters:f_,isNewIdentifierLocation:!1}}case 21:switch(Pe){case 214:case 215:{const jt=j.parent.expression;return fa(r,jt.end).line!==fa(r,o).line?{defaultCommitCharacters:HK,isNewIdentifierLocation:!0}:{defaultCommitCharacters:f_,isNewIdentifierLocation:!0}}case 218:return{defaultCommitCharacters:HK,isNewIdentifierLocation:!0};case 177:case 197:return{defaultCommitCharacters:[],isNewIdentifierLocation:!0};default:return{defaultCommitCharacters:f_,isNewIdentifierLocation:!1}}case 23:switch(Pe){case 210:case 182:case 190:case 168:return{defaultCommitCharacters:f_,isNewIdentifierLocation:!0};default:return{defaultCommitCharacters:f_,isNewIdentifierLocation:!1}}case 144:case 145:case 102:return{defaultCommitCharacters:[],isNewIdentifierLocation:!0};case 25:switch(Pe){case 268:return{defaultCommitCharacters:[],isNewIdentifierLocation:!0};default:return{defaultCommitCharacters:f_,isNewIdentifierLocation:!1}}case 19:switch(Pe){case 264:case 211:return{defaultCommitCharacters:[],isNewIdentifierLocation:!0};default:return{defaultCommitCharacters:f_,isNewIdentifierLocation:!1}}case 64:switch(Pe){case 261:case 227:return{defaultCommitCharacters:f_,isNewIdentifierLocation:!0};default:return{defaultCommitCharacters:f_,isNewIdentifierLocation:!1}}case 16:return{defaultCommitCharacters:f_,isNewIdentifierLocation:Pe===229};case 17:return{defaultCommitCharacters:f_,isNewIdentifierLocation:Pe===240};case 134:return Pe===175||Pe===305?{defaultCommitCharacters:[],isNewIdentifierLocation:!0}:{defaultCommitCharacters:f_,isNewIdentifierLocation:!1};case 42:return Pe===175?{defaultCommitCharacters:[],isNewIdentifierLocation:!0}:{defaultCommitCharacters:f_,isNewIdentifierLocation:!1}}if(Ez(yt))return{defaultCommitCharacters:[],isNewIdentifierLocation:!0}}return{defaultCommitCharacters:f_,isNewIdentifierLocation:!1}}function qo(Pe){return(Tj(Pe)||nG(Pe))&&(vO(Pe,o)||o===Pe.end&&(!!Pe.isUnterminated||Tj(Pe)))}function at(){const Pe=art(j);if(!Pe)return 0;const jt=(KI(Pe.parent)?Pe.parent:void 0)||Pe,or=$2e(jt,m);if(!or)return 0;const $n=m.getTypeFromTypeNode(jt),fr=eX(or,m),vt=eX($n,m),Rt=new Set;return vt.forEach(zt=>Rt.add(zt.escapedName)),Ne=co(Ne,Fn(fr,zt=>!Rt.has(zt.escapedName))),ee=0,$=!0,1}function Bt(){if((j==null?void 0:j.kind)===26)return 0;const Pe=Ne.length,yt=ert(j,o,r);if(!yt)return 0;ee=0;let jt,or;if(yt.kind===211){const $n=drt(yt,m);if($n===void 0)return yt.flags&67108864?2:0;const fr=m.getContextualType(yt,4),vt=(fr||$n).getStringIndexType(),Rt=(fr||$n).getNumberIndexType();if($=!!vt||!!Rt,jt=ZK($n,fr,yt,m),or=yt.properties,jt.length===0&&!Rt)return 0}else{C.assert(yt.kind===207),$=!1;const $n=Qh(yt.parent);if(!qN($n))return C.fail("Root declaration is not variable-like.");let fr=rv($n)||!!Ac($n)||$n.parent.parent.kind===251;if(!fr&&$n.kind===170&&(Et($n.parent)?fr=!!m.getContextualType($n.parent):($n.parent.kind===175||$n.parent.kind===179)&&(fr=Et($n.parent.parent)&&!!m.getContextualType($n.parent.parent))),fr){const vt=m.getTypeAtLocation(yt);if(!vt)return 2;jt=m.getPropertiesOfType(vt).filter(Rt=>m.isPropertyAccessible(yt,!1,!1,vt,Rt)),or=yt.elements}}if(jt&&jt.length>0){const $n=Oe(jt,C.checkDefined(or));Ne=co(Ne,$n),ye(),yt.kind===211&&s.includeCompletionsWithObjectLiteralMethodSnippets&&s.includeCompletionsWithInsertText&&(xe(Pe),oi($n,yt))}return 1}function ce(){if(!j)return 0;const Pe=j.kind===19||j.kind===28?ii(j.parent,k6):A7(j)?ii(j.parent.parent,k6):void 0;if(!Pe)return 0;A7(j)||(Re=8);const{moduleSpecifier:yt}=Pe.kind===276?Pe.parent.parent:Pe.parent;if(!yt)return $=!0,Pe.kind===276?2:0;const jt=m.getSymbolAtLocation(yt);if(!jt)return $=!0,2;ee=3,$=!1;const or=m.getExportsAndPropertiesOfModule(jt),$n=new Set(Pe.elements.filter(vt=>!$t(vt)).map(vt=>bS(vt.propertyName||vt.name))),fr=or.filter(vt=>vt.escapedName!=="default"&&!$n.has(vt.escapedName));return Ne=co(Ne,fr),fr.length||(Re=0),1}function _t(){if(j===void 0)return 0;const Pe=j.kind===19||j.kind===28?ii(j.parent,I1):j.kind===59?ii(j.parent.parent,I1):void 0;if(Pe===void 0)return 0;const yt=new Set(Pe.elements.map(o4));return Ne=Fn(m.getTypeAtLocation(Pe).getApparentProperties(),jt=>!yt.has(jt.escapedName)),1}function ie(){var Pe;const yt=j&&(j.kind===19||j.kind===28)?ii(j.parent,Kf):void 0;if(!yt)return 0;const jt=Rn(yt,Np(Qi,pc));return ee=5,$=!1,(Pe=jt.locals)==null||Pe.forEach((or,$n)=>{var fr,vt;Ne.push(or),(vt=(fr=jt.symbol)==null?void 0:fr.exports)!=null&&vt.has($n)&&(le[Aa(or)]=Hd.OptionalMember)}),1}function We(){const Pe=ort(r,j,Ae,o);if(!Pe)return 0;if(ee=3,$=!0,Re=j.kind===42?0:hi(Pe)?2:3,!hi(Pe))return 1;const yt=j.kind===27?j.parent.parent:j.parent;let jt=vc(yt)?Gd(yt):0;if(j.kind===80&&!$t(j))switch(j.getText()){case"private":jt=jt|2;break;case"static":jt=jt|256;break;case"override":jt=jt|16;break}if(Zl(yt)&&(jt|=256),!(jt&2)){const or=hi(Pe)&&jt&16?tI(lh(Pe)):iM(Pe),$n=Wi(or,fr=>{const vt=m.getTypeAtLocation(fr);return jt&256?(vt==null?void 0:vt.symbol)&&m.getPropertiesOfType(m.getTypeOfSymbolAtLocation(vt.symbol,Pe)):vt&&m.getPropertiesOfType(vt)});Ne=co(Ne,te($n,Pe.members,jt)),Xe(Ne,(fr,vt)=>{const Rt=fr==null?void 0:fr.valueDeclaration;if(Rt&&vc(Rt)&&Rt.name&&Ea(Rt.name)){const zt={kind:512,symbolName:m.symbolToString(fr)};lt[vt]=zt}})}return 1}function it(Pe){return!!Pe.parent&&no(Pe.parent)&&kl(Pe.parent.parent)&&(FN(Pe.kind)||z_(Pe))}function dt(Pe){if(Pe){const yt=Pe.parent;switch(Pe.kind){case 21:case 28:return kl(Pe.parent)?Pe.parent:void 0;default:if(it(Pe))return yt.parent}}}function Lt(Pe){if(Pe){let yt;const jt=Rn(Pe.parent,or=>hi(or)?"quit":ks(or)&&yt===or.body?!0:(yt=or,!1));return jt&&jt}}function He(Pe){if(Pe){const yt=Pe.parent;switch(Pe.kind){case 32:case 31:case 44:case 80:case 212:case 293:case 292:case 294:if(yt&&(yt.kind===286||yt.kind===287)){if(Pe.kind===32){const jt=Fc(Pe.pos,r,void 0);if(!yt.typeArguments||jt&&jt.kind===44)break}return yt}else if(yt.kind===292)return yt.parent.parent;break;case 11:if(yt&&(yt.kind===292||yt.kind===294))return yt.parent.parent;break;case 20:if(yt&&yt.kind===295&&yt.parent&&yt.parent.kind===292)return yt.parent.parent.parent;if(yt&&yt.kind===294)return yt.parent.parent;break}}}function Ct(Pe,yt){return r.getLineEndOfPosition(Pe.getEnd())<yt}function Nt(Pe){const yt=Pe.parent,jt=yt.kind;switch(Pe.kind){case 28:return jt===261||Rr(Pe)||jt===244||jt===267||rt(jt)||jt===265||jt===208||jt===266||hi(yt)&&!!yt.typeParameters&&yt.typeParameters.end>=Pe.pos;case 25:return jt===208;case 59:return jt===209;case 23:return jt===208;case 21:return jt===300||rt(jt);case 19:return jt===267;case 30:return jt===264||jt===232||jt===265||jt===266||sI(jt);case 126:return jt===173&&!hi(yt.parent);case 26:return jt===170||!!yt.parent&&yt.parent.kind===208;case 125:case 123:case 124:return jt===170&&!kl(yt.parent);case 130:return jt===277||jt===282||jt===275;case 139:case 153:return!tX(Pe);case 80:{if((jt===277||jt===282)&&Pe===yt.name&&Pe.text==="type"||Rn(Pe.parent,bi)&&Ct(Pe,o))return!1;break}case 86:case 94:case 120:case 100:case 115:case 102:case 121:case 87:case 140:return!0;case 156:return jt!==277;case 42:return Yo(Pe.parent)&&!Ll(Pe.parent)}if(Ez(QK(Pe))&&tX(Pe)||it(Pe)&&(!Je(Pe)||FN(QK(Pe))||$t(Pe)))return!1;switch(QK(Pe)){case 128:case 86:case 87:case 138:case 94:case 100:case 120:case 121:case 123:case 124:case 125:case 126:case 115:return!0;case 134:return ko(Pe.parent)}if(Rn(Pe.parent,hi)&&Pe===G&&Wt(Pe,o))return!1;const $n=j0(Pe.parent,173);if($n&&Pe!==G&&hi(G.parent.parent)&&o<=G.end){if(Wt(Pe,G.end))return!1;if(Pe.kind!==64&&(qw($n)||CF($n)))return!0}return z_(Pe)&&!Ud(Pe.parent)&&!c_(Pe.parent)&&!((hi(Pe.parent)||gd(Pe.parent)||pl(Pe.parent))&&(Pe!==G||o>G.end))}function Wt(Pe,yt){return Pe.kind!==64&&(Pe.kind===27||!Vf(Pe.end,yt,r))}function rt(Pe){return sI(Pe)&&Pe!==177}function Zt(Pe){if(Pe.kind===9){const yt=Pe.getFullText();return yt.charAt(yt.length-1)==="."}return!1}function Rr(Pe){return Pe.parent.kind===262&&!TO(Pe,r,m)}function Oe(Pe,yt){if(yt.length===0)return Pe;const jt=new Set,or=new Set;for(const fr of yt){if(fr.kind!==304&&fr.kind!==305&&fr.kind!==209&&fr.kind!==175&&fr.kind!==178&&fr.kind!==179&&fr.kind!==306||$t(fr))continue;let vt;if(Ng(fr))At(fr,jt);else if(qa(fr)&&fr.propertyName)fr.propertyName.kind===80&&(vt=fr.propertyName.escapedText);else{const Rt=Fo(fr);vt=Rt&&$h(Rt)?sM(Rt):void 0}vt!==void 0&&or.add(vt)}const $n=Pe.filter(fr=>!or.has(fr.escapedName));return B(jt,$n),$n}function At(Pe,yt){const jt=Pe.expression,or=m.getSymbolAtLocation(jt),$n=or&&m.getTypeOfSymbolAtLocation(or,jt),fr=$n&&$n.properties;fr&&fr.forEach(vt=>{yt.add(vt.name)})}function ye(){Ne.forEach(Pe=>{var yt;if(Pe.flags&16777216){const jt=Aa(Pe);le[jt]=(yt=le[jt])!=null?yt:Hd.OptionalMember}})}function B(Pe,yt){if(Pe.size!==0)for(const jt of yt)Pe.has(jt.name)&&(le[Aa(jt)]=Hd.MemberDeclaredBySpreadAssignment)}function xe(Pe){var yt;for(let jt=Pe;jt<Ne.length;jt++){const or=Ne[jt],$n=Aa(or),fr=lt==null?void 0:lt[jt],vt=Va(i),Rt=YK(or,vt,fr,0,!1);if(Rt){const zt=(yt=le[$n])!=null?yt:Hd.LocationPriority,{name:Yt}=Rt;le[$n]=Hd.ObjectLiteralProperty(zt,Yt)}}}function te(Pe,yt,jt){const or=new Set;for(const $n of yt){if($n.kind!==173&&$n.kind!==175&&$n.kind!==178&&$n.kind!==179||$t($n)||Fp($n,2)||ha($n)!==!!(jt&256))continue;const fr=d1($n.name);fr&&or.add(fr)}return Pe.filter($n=>!or.has($n.escapedName)&&!!$n.declarations&&!(jf($n)&2)&&!($n.valueDeclaration&&nu($n.valueDeclaration)))}function xt(Pe,yt){const jt=new Set,or=new Set;for(const fr of yt)$t(fr)||(fr.kind===292?jt.add(LM(fr.name)):QI(fr)&&At(fr,or));const $n=Pe.filter(fr=>!jt.has(fr.escapedName));return B(or,$n),$n}function $t(Pe){return Pe.getStart(r)<=o&&o<=Pe.getEnd()}}function ert(e,t,r){var i;if(e){const{parent:o}=e;switch(e.kind){case 19:case 28:if(za(o)||mf(o))return o;break;case 42:return Ll(o)?ii(o.parent,za):void 0;case 134:return ii(o.parent,za);case 80:if(e.text==="async"&&Ud(e.parent))return e.parent.parent;{if(za(e.parent.parent)&&(Ng(e.parent)||Ud(e.parent)&&fa(r,e.getEnd()).line!==fa(r,t).line))return e.parent.parent;const l=Rn(o,Rc);if((l==null?void 0:l.getLastToken(r))===e&&za(l.parent))return l.parent}break;default:if((i=o.parent)!=null&&i.parent&&(Ll(o.parent)||qf(o.parent)||bp(o.parent))&&za(o.parent.parent))return o.parent.parent;if(Ng(o)&&za(o.parent))return o.parent;const s=Rn(o,Rc);if(e.kind!==59&&(s==null?void 0:s.getLastToken(r))===e&&za(s.parent))return s.parent}}}function XK(e,t){const r=Fc(e,t);return r&&e<=r.end&&(mg(r)||np(r.kind))?{contextToken:Fc(r.getFullStart(),t,void 0),previousToken:r}:{contextToken:r,previousToken:r}}function U2e(e,t,r,i){const o=t.isPackageJsonImport?i.getPackageJsonAutoImportProvider():r,s=o.getTypeChecker(),l=t.ambientModuleName?s.tryFindAmbientModule(t.ambientModuleName):t.fileName?s.getMergedSymbol(C.checkDefined(o.getSourceFile(t.fileName)).symbol):void 0;if(!l)return;let u=t.exportName==="export="?s.resolveExternalModuleSymbol(l):s.tryGetMemberInModuleExportsAndProperties(t.exportName,l);return u?(u=t.exportName==="default"&&hM(u)||u,{symbol:u,origin:jnt(t,e,l)}):void 0}function YK(e,t,r,i,o){if(Ant(r))return;const s=bnt(r)?r.symbolName:e.name;if(s===void 0||e.flags&1536&&hk(s.charCodeAt(0))||lM(e))return;const l={name:s,needsConvertPropertyAccess:!1};if(_p(s,t,o?1:0)||e.valueDeclaration&&nu(e.valueDeclaration))return l;if(e.flags&2097152)return{name:s,needsConvertPropertyAccess:!0};switch(i){case 3:return dfe(r)?{name:r.symbolName,needsConvertPropertyAccess:!1}:void 0;case 0:return{name:JSON.stringify(s),needsConvertPropertyAccess:!1};case 2:case 1:return s.charCodeAt(0)===32?void 0:{name:s,needsConvertPropertyAccess:!0};case 5:case 4:return l;default:C.assertNever(i)}}var $K=[],H2e=Lu(()=>{const e=[];for(let t=83;t<=166;t++)e.push({name:Ta(t),kind:"keyword",kindModifiers:"",sortText:Hd.GlobalsOrKeywords});return e});function q2e(e,t){if(!t)return J2e(e);const r=e+8+1;return $K[r]||($K[r]=J2e(e).filter(i=>!trt(qE(i.name))))}function J2e(e){return $K[e]||($K[e]=H2e().filter(t=>{const r=qE(t.name);switch(e){case 0:return!1;case 1:return X2e(r)||r===138||r===144||r===156||r===145||r===128||NP(r)&&r!==157;case 5:return X2e(r);case 2:return Ez(r);case 3:return K2e(r);case 4:return FN(r);case 6:return NP(r)||r===87;case 7:return NP(r);case 8:return r===156;default:return C.assertNever(e)}}))}function trt(e){switch(e){case 128:case 133:case 163:case 136:case 138:case 94:case 162:case 119:case 140:case 120:case 142:case 143:case 144:case 145:case 146:case 150:case 151:case 164:case 123:case 124:case 125:case 148:case 154:case 155:case 156:case 158:case 159:return!0;default:return!1}}function K2e(e){return e===148}function Ez(e){switch(e){case 128:case 129:case 137:case 139:case 153:case 134:case 138:case 164:return!0;default:return rG(e)}}function X2e(e){return e===134||e===135||e===160||e===130||e===152||e===156||!p6(e)&&!Ez(e)}function QK(e){var t;return Je(e)?(t=KE(e))!=null?t:0:e.kind}function nrt(e,t){const r=[];if(e){const i=e.getSourceFile(),o=e.parent,s=i.getLineAndCharacterOfPosition(e.end).line,l=i.getLineAndCharacterOfPosition(t).line;(Sl(o)||fc(o)&&o.moduleSpecifier)&&e===o.moduleSpecifier&&s===l&&r.push({name:Ta(132),kind:"keyword",kindModifiers:"",sortText:Hd.GlobalsOrKeywords})}return r}function rrt(e,t){return Rn(e,r=>UR(r)&&tC(r,t)?!0:mh(r)?"quit":!1)}function ZK(e,t,r,i){const o=t&&t!==e,s=i.getUnionType(Fn(e.flags&1048576?e.types:[e],_=>!i.getPromisedTypeOfPromise(_))),l=o&&!(t.flags&3)?i.getUnionType([s,t]):s,u=irt(l,r,i);return l.isClass()&&Y2e(u)?[]:o?Fn(u,d):u;function d(_){return et(_.declarations)?bt(_.declarations,m=>m.parent!==r):!0}}function irt(e,t,r){return e.isUnion()?r.getAllPossiblePropertiesOfTypes(Fn(e.types,i=>!(i.flags&402784252||r.isArrayLikeType(i)||r.isTypeInvalidDueToUnionDiscriminant(i,t)||r.typeHasCallOrConstructSignatures(i)||i.isClass()&&Y2e(i.getApparentProperties())))):e.getApparentProperties()}function Y2e(e){return bt(e,t=>!!(jf(t)&6))}function eX(e,t){return e.isUnion()?C.checkEachDefined(t.getAllPossiblePropertiesOfTypes(e.types),"getAllPossiblePropertiesOfTypes() should all be defined"):C.checkEachDefined(e.getApparentProperties(),"getApparentProperties() should all be defined")}function ort(e,t,r,i){var o;switch(r.kind){case 353:return ii(r.parent,CI);case 1:const s=ii(rl(va(r.parent,Qi).statements),CI);if(s&&!Rs(s,20,e))return s;break;case 81:if(ii(r.parent,ko))return Rn(r,hi);break;case 80:{if(KE(r)||ko(r.parent)&&r.parent.initializer===r)return;if(tX(r))return Rn(r,CI)}}if(t){if(r.kind===137||Je(t)&&ko(t.parent)&&hi(r))return Rn(t,hi);switch(t.kind){case 64:return;case 27:case 20:return tX(r)&&r.parent.name===r?r.parent.parent:ii(r,CI);case 19:case 28:return ii(t.parent,CI);default:if(CI(r)){if(fa(e,t.getEnd()).line!==fa(e,i).line)return r;const s=hi(t.parent.parent)?Ez:K2e;return s(t.kind)||t.kind===42||Je(t)&&s((o=KE(t))!=null?o:0)?t.parent.parent:void 0}return}}}function art(e){if(!e)return;const t=e.parent;switch(e.kind){case 19:if(Fu(t))return t;break;case 27:case 28:case 80:if(t.kind===172&&Fu(t.parent))return t.parent;break}}function $2e(e,t){if(!e)return;if(xi(e)&&NF(e.parent))return t.getTypeArgumentConstraint(e);const r=$2e(e.parent,t);if(r)switch(e.kind){case 172:return t.getTypeOfPropertyOfContextualType(r,e.symbol.escapedName);case 194:case 188:case 193:return r}}function tX(e){return e.parent&&SF(e.parent)&&CI(e.parent.parent)}function srt(e,t,r,i){switch(t){case".":case"@":return!0;case'"':case"'":case"`":return!!r&&Ace(r)&&i===r.getStart(e)+1;case"#":return!!r&&to(r)&&!!hd(r);case"<":return!!r&&r.kind===30&&(!Nr(r.parent)||Q2e(r.parent));case"/":return!!r&&(ds(r)?!!Tk(r):r.kind===44&&VS(r.parent));case" ":return!!r&&GM(r)&&r.parent.kind===308;default:return C.assertNever(t)}}function Q2e({left:e}){return Wl(e)}function lrt(e,t,r){const i=r.resolveName("self",void 0,111551,!1);if(i&&r.getTypeOfSymbolAtLocation(i,t)===e)return!0;const o=r.resolveName("global",void 0,111551,!1);if(o&&r.getTypeOfSymbolAtLocation(o,t)===e)return!0;const s=r.resolveName("globalThis",void 0,111551,!1);return!!(s&&r.getTypeOfSymbolAtLocation(s,t)===e)}function crt(e){return!!(e.valueDeclaration&&Gd(e.valueDeclaration)&256&&hi(e.valueDeclaration.parent))}function drt(e,t){const r=t.getContextualType(e);if(r)return r;const i=Vm(e.parent);if(Nr(i)&&i.operatorToken.kind===64&&e===i.left)return t.getTypeAtLocation(i);if(Et(i))return t.getContextualType(i)}function Z2e(e,t){var r,i,o;let s,l=!1;const u=d();return{isKeywordOnlyCompletion:l,keywordCompletion:s,isNewIdentifierLocation:!!(u||s===156),isTopLevelTypeOnly:!!((i=(r=ii(u,Sl))==null?void 0:r.importClause)!=null&&i.isTypeOnly)||!!((o=ii(u,Oc))!=null&&o.isTypeOnly),couldBeTypeOnlyImportSpecifier:!!u&&tke(u,e),replacementSpan:urt(u)};function d(){const _=e.parent;if(Oc(_)){const m=_.getLastToken(t);if(Je(e)&&m!==e){s=161,l=!0;return}return s=e.kind===156?void 0:156,vfe(_.moduleReference)?_:void 0}if(tke(_,e)&&nke(_.parent))return _;if(s_(_)||Cg(_)){if(!_.parent.isTypeOnly&&(e.kind===19||e.kind===102||e.kind===28)&&(s=156),nke(_))if(e.kind===20||e.kind===80)l=!0,s=161;else return _.parent.parent;return}if(fc(_)&&e.kind===42||Kf(_)&&e.kind===20){l=!0,s=161;return}if(GM(e)&&Qi(_))return s=156,e;if(GM(e)&&Sl(_))return s=156,vfe(_.moduleSpecifier)?_:void 0}}function urt(e){var l,u;var t;if(!e)return;const r=(l=Rn(e,Np(Sl,Oc,d_)))!=null?l:e,i=r.getSourceFile();if(f1(r,i))return Vu(r,i);C.assert(r.kind!==102&&r.kind!==277);const o=r.kind===273||r.kind===352?(u=eke((t=r.importClause)==null?void 0:t.namedBindings))!=null?u:r.moduleSpecifier:r.moduleReference,s={pos:r.getFirstToken().getStart(),end:o.pos};if(f1(s,i))return bv(s)}function eke(e){var t;return _n((t=ii(e,s_))==null?void 0:t.elements,r=>{var i;return!r.propertyName&&EI(r.name.text)&&((i=Fc(r.name.pos,e.getSourceFile(),e))==null?void 0:i.kind)!==28})}function tke(e,t){return Au(e)&&(e.isTypeOnly||t===e.name&&A7(t))}function nke(e){if(!vfe(e.parent.parent.moduleSpecifier)||e.parent.name)return!1;if(s_(e)){const t=eke(e);return(t?e.elements.indexOf(t):e.elements.length)<2}return!0}function vfe(e){var t;return Wl(e)?!0:!((t=ii(_y(e)?e.expression:e,ds))!=null&&t.text)}function prt(e,t){if(!e)return;let r=Rn(e,i=>SS(i)||rke(i)||na(i)?"quit":(no(i)||pl(i))&&!wb(i.parent));return r||(r=Rn(t,i=>SS(i)||rke(i)||na(i)?"quit":bi(i))),r}function frt(e){if(!e)return!1;let t=e,r=e.parent;for(;r;){if(pl(r))return r.default===t||t.kind===64;t=r,r=r.parent}return!1}function rke(e){return e.parent&&Zs(e.parent)&&(e.parent.body===e||e.kind===39)}function bfe(e,t,r=new Set){return i(e)||i(Id(e.exportSymbol||e,t));function i(o){return!!(o.flags&788968)||t.isUnknownSymbol(o)||!!(o.flags&1536)&&Tm(r,o)&&t.getExportsOfModule(o).some(s=>bfe(s,t,r))}}function mrt(e,t){const r=Id(e,t).declarations;return!!et(r)&&Gn(r,B7)}function ike(e,t){if(t.length===0)return!0;let r=!1,i,o=0;const s=e.length;for(let l=0;l<s;l++){const u=e.charCodeAt(l),d=t.charCodeAt(o);if((u===d||u===hrt(d))&&(r||(r=i===void 0||97<=i&&i<=122&&65<=u&&u<=90||i===95&&u!==95),r&&o++,o===t.length))return!0;i=u}return!1}function hrt(e){return 97<=e&&e<=122?e-32:e}function _rt(e){return e==="abstract"||e==="async"||e==="await"||e==="declare"||e==="module"||e==="namespace"||e==="type"||e==="satisfies"||e==="as"}var nX={};x(nX,{getStringLiteralCompletionDetails:()=>vrt,getStringLiteralCompletions:()=>grt});var oke={directory:0,script:1,"external module name":2};function Tfe(){const e=new Map;function t(r){const i=e.get(r.name);(!i||oke[i.kind]<oke[r.kind])&&e.set(r.name,r)}return{add:t,has:e.has.bind(e),values:e.values.bind(e)}}function grt(e,t,r,i,o,s,l,u,d){if(sce(e,t)){const _=Lrt(e,t,s,o,fT(s,o));return _&&ake(_)}if(fx(e,t,r)){if(!r||!ds(r))return;const _=lke(e,r,t,s,o,u);return yrt(_,r,e,o,s,l,i,u,t,d)}}function yrt(e,t,r,i,o,s,l,u,d,_){if(e===void 0)return;const m=Yq(t,d);switch(e.kind){case 0:return ake(e.paths);case 1:{const y=UB();return hfe(e.symbols,y,t,t,r,d,r,i,o,99,s,4,u,l,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,_),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:e.hasIndexSignature,optionalReplacementSpan:m,entries:y,defaultCommitCharacters:j1(e.hasIndexSignature)}}case 2:{const y=t.kind===15?96:fo(Rl(t),"'")?39:34,E=e.types.map(A=>({name:B_(A.value,y),kindModifiers:"",kind:"string",sortText:Hd.LocationPriority,replacementSpan:Xq(t,d),commitCharacters:[]}));return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:e.isNewIdentifier,optionalReplacementSpan:m,entries:E,defaultCommitCharacters:j1(e.isNewIdentifier)}}default:return C.assertNever(e)}}function vrt(e,t,r,i,o,s,l,u){if(!i||!ds(i))return;const d=lke(t,i,r,o,s,u);return d&&brt(e,i,d,t,o.getTypeChecker(),l)}function brt(e,t,r,i,o,s){switch(r.kind){case 0:{const l=_n(r.paths,u=>u.name===e);return l&&Sz(e,ske(l.extension),l.kind,[vf(e)])}case 1:{const l=_n(r.symbols,u=>u.name===e);return l&&gfe(l,l.name,o,i,t,s)}case 2:return _n(r.types,l=>l.value===e)?Sz(e,"","string",[vf(e)]):void 0;default:return C.assertNever(r)}}function ake(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:e.map(({name:o,kind:s,span:l,extension:u})=>({name:o,kind:s,kindModifiers:ske(u),sortText:Hd.LocationPriority,replacementSpan:l})),defaultCommitCharacters:j1(!0)}}function ske(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 C.fail("Extension .tsbuildinfo is unsupported.");case void 0:return"";default:return C.assertNever(e)}}function lke(e,t,r,i,o,s){const l=i.getTypeChecker(),u=Sfe(t.parent);switch(u.kind){case 202:{const G=Sfe(u.parent);return G.kind===206?{kind:0,paths:uke(e,t,i,o,s)}:d(G)}case 304:return za(u.parent)&&u.name===t?Ert(l,u.parent):_()||_(0);case 213:{const{expression:G,argumentExpression:j}=u;return t===us(j)?cke(l.getTypeAtLocation(G)):void 0}case 214:case 215:case 292:if(!zrt(t)&&!ep(u)){const G=o8.getArgumentInfoForCompletions(u.kind===292?u.parent:t,r,e,l);return G&&Srt(G.invocation,t,G,l)||_(0)}case 273:case 279:case 284:case 352:return{kind:0,paths:uke(e,t,i,o,s)};case 297:const m=j7(l,u.parent.clauses),y=_();return y?{kind:2,types:y.types.filter(G=>!m.hasValue(G.value)),isNewIdentifier:!1}:void 0;case 277:case 282:const A=u;if(A.propertyName&&t!==A.propertyName)return;const R=A.parent,{moduleSpecifier:N}=R.kind===276?R.parent.parent:R.parent;if(!N)return;const M=l.getSymbolAtLocation(N);if(!M)return;const k=l.getExportsAndPropertiesOfModule(M),F=new Set(R.elements.map(G=>bS(G.propertyName||G.name)));return{kind:1,symbols:k.filter(G=>G.escapedName!=="default"&&!F.has(G.escapedName)),hasIndexSignature:!1};case 227:if(u.operatorToken.kind===103){const G=l.getTypeAtLocation(u.right);return{kind:1,symbols:(G.isUnion()?l.getAllPossiblePropertiesOfTypes(G.types):G.getApparentProperties()).filter(K=>!K.valueDeclaration||!nu(K.valueDeclaration)),hasIndexSignature:!1}}return _(0);default:return _()||_(0)}function d(m){switch(m.kind){case 234:case 184:{const A=Rn(u,R=>R.parent===m);return A?{kind:2,types:rX(l.getTypeArgumentConstraint(A)),isNewIdentifier:!1}:void 0}case 200:const{indexType:y,objectType:E}=m;return tC(y,r)?cke(l.getTypeFromTypeNode(E)):void 0;case 193:{const A=d(Sfe(m.parent));if(!A)return;const R=Trt(m,u);return A.kind===1?{kind:1,symbols:A.symbols.filter(N=>!Vn(R,N.name)),hasIndexSignature:A.hasIndexSignature}:{kind:2,types:A.types.filter(N=>!Vn(R,N.value)),isNewIdentifier:!1}}default:return}}function _(m=4){const y=rX(P7(t,l,m));if(y.length)return{kind:2,types:y,isNewIdentifier:!1}}}function Sfe(e){switch(e.kind){case 197:return xk(e);case 218:return Vm(e);default:return e}}function Trt(e,t){return Hi(e.types,r=>r!==t&&hv(r)&&Oa(r.literal)?r.literal.text:void 0)}function Srt(e,t,r,i){let o=!1;const s=new Set,l=ru(e)?C.checkDefined(Rn(t.parent,c_)):t,u=i.getCandidateSignaturesForStringLiteralCompletions(e,l),d=Wi(u,_=>{if(!su(_)&&r.argumentCount>_.parameters.length)return;let m=_.getTypeParameterAtPosition(r.argumentIndex);if(ru(e)){const y=i.getTypeOfPropertyOfType(m,ow(l.name));y&&(m=y)}return o=o||!!(m.flags&4),rX(m,s)});return et(d)?{kind:2,types:d,isNewIdentifier:o}:void 0}function cke(e){return e&&{kind:1,symbols:Fn(e.getApparentProperties(),t=>!(t.valueDeclaration&&nu(t.valueDeclaration))),hasIndexSignature:_J(e)}}function Ert(e,t){const r=e.getContextualType(t);if(!r)return;const i=e.getContextualType(t,4);return{kind:1,symbols:ZK(r,i,t,e),hasIndexSignature:_J(r)}}function rX(e,t=new Set){return e?(e=Zq(e),e.isUnion()?Wi(e.types,r=>rX(r,t)):e.isStringLiteral()&&!(e.flags&1024)&&Tm(t,e.value)?[e]:se):se}function XP(e,t,r){return{name:e,kind:t,extension:r}}function Efe(e){return XP(e,"directory",void 0)}function dke(e,t,r){const i=wrt(e,t),o=e.length===0?void 0:Ad(t,e.length);return r.map(({name:s,kind:l,extension:u})=>s.includes($s)||s.includes(nF)?{name:s,kind:l,extension:u,span:o}:{name:s,kind:l,extension:u,span:i})}function uke(e,t,r,i,o){return dke(t.text,t.getStart(e)+1,Art(e,t,r,i,o))}function Art(e,t,r,i,o){const s=Bd(t.text),l=ds(t)?r.getModeForUsageLocation(e,t):void 0,u=e.path,d=pi(u),_=r.getCompilerOptions(),m=r.getTypeChecker(),y=fT(r,i),E=Afe(_,1,e,m,o,l);return Ort(s)||!_.baseUrl&&!_.paths&&(Pp(s)||Nee(s))?Irt(s,d,r,i,y,u,E):Crt(s,d,l,r,i,y,E)}function Afe(e,t,r,i,o,s){return{extensionsToSearch:Qo(xrt(e,i)),referenceKind:t,importingSourceFile:r,endingPreference:o==null?void 0:o.importModuleSpecifierEnding,resolutionMode:s}}function Irt(e,t,r,i,o,s,l){const u=r.getCompilerOptions();return u.rootDirs?Drt(u.rootDirs,e,t,l,r,i,o,s):Mo(ZO(e,t,l,r,i,o,!0,s).values())}function xrt(e,t){const r=t?Hi(t.getAmbientModules(),s=>{const l=s.name.slice(1,-1);if(!(!l.startsWith("*.")||l.includes("/")))return l.slice(1)}):[],i=[...EM(e),r],o=iu(e);return I7(o)?Qk(e,i):i}function Rrt(e,t,r,i){e=e.map(s=>jc(Sa(Pp(s)?s:ei(t,s))));const o=Wn(e,s=>hm(s,r,t,i)?r.substr(s.length):void 0);return cS([...e.map(s=>ei(s,o)),r].map(s=>ev(s)),pS,Wd)}function Drt(e,t,r,i,o,s,l,u){const _=o.getCompilerOptions().project||s.getCurrentDirectory(),m=!(s.useCaseSensitiveFileNames&&s.useCaseSensitiveFileNames()),y=Rrt(e,_,r,m);return cS(Wi(y,E=>Mo(ZO(t,E,i,o,s,l,!0,u).values())),(E,A)=>E.name===A.name&&E.kind===A.kind&&E.extension===A.extension)}function ZO(e,t,r,i,o,s,l,u,d=Tfe()){var _;e===void 0&&(e=""),e=Bd(e),cb(e)||(e=pi(e)),e===""&&(e="."+$s),e=jc(e);const m=db(t,e),y=cb(m)?m:pi(m);if(!l){const N=Dce(y,o);if(N){const k=dD(N,o).typesVersions;if(typeof k=="object"){const F=(_=r3(k))==null?void 0:_.paths;if(F){const O=pi(N),G=m.slice(jc(O).length);if(fke(d,G,O,r,i,o,s,F))return d}}}}const E=!(o.useCaseSensitiveFileNames&&o.useCaseSensitiveFileNames());if(!O7(o,y))return d;const A=vJ(o,y,r.extensionsToSearch,void 0,["./*"]);if(A)for(let N of A){if(N=Sa(N),u&&iy(N,u,t,E)===0)continue;const{name:M,extension:k}=pke(Ec(N),i,r,!1);d.add(XP(M,"script",k))}const R=w7(o,y);if(R)for(const N of R){const M=Ec(Sa(N));M!=="@types"&&d.add(Efe(M))}return d}function pke(e,t,r,i){const o=by.tryGetRealFileNameForNonJsDeclarationFileName(e);if(o)return{name:o,extension:xg(o)};if(r.referenceKind===0)return{name:e,extension:xg(e)};let s=by.getModuleSpecifierPreferences({importModuleSpecifierEnding:r.endingPreference},t,t.getCompilerOptions(),r.importingSourceFile).getAllowedEndingsInPreferredOrder(r.resolutionMode);if(i&&(s=s.filter(u=>u!==0&&u!==1)),s[0]===3){if(Ql(e,$k))return{name:e,extension:xg(e)};const u=by.tryGetJSExtensionForFile(e,t.getCompilerOptions());return u?{name:dv(e,u),extension:u}:{name:e,extension:xg(e)}}if(!i&&(s[0]===0||s[0]===1)&&Ql(e,[".js",".jsx",".ts",".tsx",".d.ts"]))return{name:Su(e),extension:xg(e)};const l=by.tryGetJSExtensionForFile(e,t.getCompilerOptions());return l?{name:dv(e,l),extension:l}:{name:e,extension:xg(e)}}function fke(e,t,r,i,o,s,l,u){const d=m=>u[m],_=(m,y)=>{const E=kI(m),A=kI(y),R=typeof E=="object"?E.prefix.length:m.length,N=typeof A=="object"?A.prefix.length:y.length;return Js(N,R)};return mke(e,!1,!1,t,r,i,o,s,l,Vh(u),d,_)}function mke(e,t,r,i,o,s,l,u,d,_,m,y){let E=[],A;for(const R of _){if(R===".")continue;const N=R.replace(/^\.\//,"")+((t||r)&&il(R,"/")?"*":""),M=m(R);if(M){const k=kI(N);if(!k)continue;const F=typeof k=="object"&&HW(k,i);F&&(A===void 0||y(N,A)===-1)&&(A=N,E=E.filter(G=>!G.matchedPattern)),(typeof k=="string"||A===void 0||y(N,A)!==1)&&E.push({matchedPattern:F,results:Nrt(N,M,i,o,s,t,r,l,u,d).map(({name:G,kind:j,extension:K})=>XP(G,j,K))})}}return E.forEach(R=>R.results.forEach(N=>e.add(N))),A!==void 0}function Crt(e,t,r,i,o,s,l){const u=i.getTypeChecker(),d=i.getCompilerOptions(),{baseUrl:_,paths:m}=d,y=Tfe(),E=iu(d);if(_){const N=Sa(ei(o.getCurrentDirectory(),_));ZO(e,N,l,i,o,s,!1,void 0,y)}if(m){const N=b6(d,o);fke(y,e,N,l,i,o,s,m)}const A=_ke(e);for(const N of Prt(e,A,u))y.add(XP(N,"external module name",void 0));if(vke(i,o,s,t,A,l,y),I7(E)){let N=!1;if(A===void 0)for(const M of krt(o,t)){const k=XP(M,"external module name",void 0);y.has(k.name)||(N=!0,y.add(k))}if(!N){const M=qk(d),k=Jk(d);let F=!1;const O=j=>{if(k&&!F){const K=ei(j,"package.json");if(F=FP(o,K)){const Q=dD(K,o);R(Q.imports,e,j,!1,!0)}}};let G=j=>{const K=ei(j,"node_modules");O7(o,K)&&ZO(e,K,l,i,o,s,!1,void 0,y),O(j)};if(A&&M){const j=G;G=K=>{const Q=zd(e);Q.shift();let J=Q.shift();if(!J)return j(K);if(fo(J,"@")){const q=Q.shift();if(!q)return j(K);J=ei(J,q)}if(k&&fo(J,"#"))return O(K);const he=ei(K,"node_modules",J),re=ei(he,"package.json");if(FP(o,re)){const q=dD(re,o),ue=Q.join("/")+(Q.length&&cb(e)?"/":"");R(q.exports,ue,he,!0,!1);return}return j(K)}}j_(o,t,G)}}return Mo(y.values());function R(N,M,k,F,O){if(typeof N!="object"||N===null)return;const G=Vh(N),j=Bb(d,r);mke(y,F,O,M,k,l,i,o,s,G,K=>{const Q=hke(N[K],j);if(Q!==void 0)return tI(il(K,"/")&&il(Q,"/")?Q+"*":Q)},LU)}}function hke(e,t){if(typeof e=="string")return e;if(e&&typeof e=="object"&&!Lo(e)){for(const r in e)if(r==="default"||t.includes(r)||Vw(t,r)){const i=e[r];return hke(i,t)}}}function _ke(e){return Ife(e)?cb(e)?e:pi(e):void 0}function Nrt(e,t,r,i,o,s,l,u,d,_){const m=kI(e);if(!m)return se;if(typeof m=="string")return E(e,"script");const y=o9(r,m.prefix);if(y===void 0)return il(e,"/*")?E(m.prefix,"directory"):Wi(t,R=>{var N;return(N=gke("",i,R,o,s,l,u,d,_))==null?void 0:N.map(({name:M,...k})=>({name:m.prefix+M+m.suffix,...k}))});return Wi(t,A=>gke(y,i,A,o,s,l,u,d,_));function E(A,R){return fo(A,r)?[{name:ev(A),kind:R,extension:void 0}]:se}}function gke(e,t,r,i,o,s,l,u,d){if(!u.readDirectory)return;const _=kI(r);if(_===void 0||jo(_))return;const m=db(_.prefix),y=cb(_.prefix)?m:pi(m),E=cb(_.prefix)?"":Ec(m),A=Ife(e),R=A?cb(e)?e:pi(e):void 0,N=()=>d.getCommonSourceDirectory(),M=!u1(d),k=l.getCompilerOptions().outDir,F=l.getCompilerOptions().declarationDir,O=A?ei(y,E+R):y,G=Sa(ei(t,O)),j=s&&k&&pV(G,M,k,N),K=s&&F&&pV(G,M,F,N),Q=Sa(_.suffix),J=Q&&v6("_"+Q),he=Q?uV("_"+Q):void 0,re=[J&&dv(Q,J),...he?he.map($=>dv(Q,$)):[],Q].filter(jo),q=Q?re.map($=>"**/*"+$):["./*"],ue=(o||s)&&il(r,"/*");let de=ge(G);return j&&(de=co(de,ge(j))),K&&(de=co(de,ge(K))),Q||(de=co(de,Ae(G)),j&&(de=co(de,Ae(j))),K&&(de=co(de,Ae(K)))),de;function ge($){const ve=A?$:jc($)+E;return Hi(vJ(u,$,i.extensionsToSearch,void 0,q),je=>{const be=Re(je,ve);if(be){if(Ife(be))return Efe(zd(yke(be))[1]);const{name:ee,extension:Se}=pke(be,l,i,ue);return XP(ee,"script",Se)}})}function Ae($){return Hi(w7(u,$),ve=>ve==="node_modules"?void 0:Efe(ve))}function Re($,ve){return Wn(re,je=>{const be=Mrt(Sa($),ve,je);return be===void 0?void 0:yke(be)})}}function Mrt(e,t,r){return fo(e,t)&&il(e,r)?e.slice(t.length,e.length-r.length):void 0}function yke(e){return e[0]===$s?e.slice(1):e}function Prt(e,t,r){const o=r.getAmbientModules().map(s=>bm(s.name)).filter(s=>fo(s,e)&&!s.includes("*"));if(t!==void 0){const s=jc(t);return o.map(l=>_N(l,s))}return o}function Lrt(e,t,r,i,o){const s=r.getCompilerOptions(),l=Fi(e,t),u=pg(e.text,l.pos),d=u&&_n(u,M=>t>=M.pos&&t<=M.end);if(!d)return;const _=e.text.slice(d.pos,t),m=Wrt.exec(_);if(!m)return;const[,y,E,A]=m,R=pi(e.path),N=E==="path"?ZO(A,R,Afe(s,0,e),r,i,o,!0,e.path):E==="types"?vke(r,i,o,R,_ke(A),Afe(s,1,e)):C.fail();return dke(A,d.pos+y.length,Mo(N.values()))}function vke(e,t,r,i,o,s,l=Tfe()){const u=e.getCompilerOptions(),d=new Map,_=W7(()=>rP(u,t))||se;for(const y of _)m(y);for(const y of bJ(i,t)){const E=ei(pi(y),"node_modules/@types");m(E)}return l;function m(y){if(O7(t,y))for(const E of w7(t,y)){const A=jw(E);if(!(u.types&&!Vn(u.types,A)))if(o===void 0)d.has(A)||(l.add(XP(A,"external module name",void 0)),d.set(A,!0));else{const R=ei(y,E),N=GV(o,A,uy(t));N!==void 0&&ZO(N,R,s,e,t,r,!1,void 0,l)}}}}function krt(e,t){if(!e.readFile||!e.fileExists)return se;const r=[];for(const i of bJ(t,e)){const o=dD(i,e);for(const s of Frt){const l=o[s];if(l)for(const u in l)Ms(l,u)&&!fo(u,"@types/")&&r.push(u)}}return r}function wrt(e,t){const r=Math.max(e.lastIndexOf($s),e.lastIndexOf(nF)),i=r!==-1?r+1:0,o=e.length-i;return o===0||_p(e.substr(i,o),99)?void 0:Ad(t+i,o)}function Ort(e){if(e&&e.length>=2&&e.charCodeAt(0)===46){const t=e.length>=3&&e.charCodeAt(1)===46?2:1,r=e.charCodeAt(t);return r===47||r===92}return!1}var Wrt=/^(\/\/\/\s*<reference\s+(path|types)\s*=\s*(?:'|"))([^\x03"]*)$/,Frt=["dependencies","devDependencies","peerDependencies","optionalDependencies"];function Ife(e){return e.includes($s)}function zrt(e){return ra(e.parent)&&Sc(e.parent.arguments)===e&&Je(e.parent.expression)&&e.parent.expression.escapedText==="require"}var el={};x(el,{Core:()=>Ix,DefinitionKind:()=>xke,EntryKind:()=>Rke,ExportKind:()=>bke,FindReferencesUse:()=>Dke,ImportExport:()=>Tke,createImportTracker:()=>xfe,findModuleReferences:()=>Ske,findReferenceOrRenameEntries:()=>Zrt,findReferencedSymbols:()=>Yrt,getContextNode:()=>U1,getExportInfo:()=>Rfe,getImplementationsAtPosition:()=>Qrt,getImportOrExportSymbol:()=>Ike,getReferenceEntriesForNode:()=>Nke,isContextWithStartAndEndNode:()=>Cfe,isDeclarationOfSymbol:()=>wke,isWriteAccessForReference:()=>Mfe,toContextSpan:()=>Nfe,toHighlightSpan:()=>ait,toReferenceEntry:()=>Lke,toRenameLocation:()=>tit});function xfe(e,t,r,i){const o=jrt(e,r,i);return(s,l,u)=>{const{directImports:d,indirectUsers:_}=Brt(e,t,o,l,r,i);return{indirectUsers:_,...Grt(d,s,l.exportKind,r,u)}}}var bke=(e=>(e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.ExportEquals=2]="ExportEquals",e))(bke||{}),Tke=(e=>(e[e.Import=0]="Import",e[e.Export=1]="Export",e))(Tke||{});function Brt(e,t,r,{exportingModuleSymbol:i,exportKind:o},s,l){const u=rC(),d=rC(),_=[],m=!!i.globalExports,y=m?void 0:[];return A(i),{directImports:_,indirectUsers:E()};function E(){if(m)return e;if(i.declarations)for(const O of i.declarations)TS(O)&&t.has(O.getSourceFile().fileName)&&k(O);return y.map(On)}function A(O){const G=F(O);if(G){for(const j of G)if(u(j))switch(l&&l.throwIfCancellationRequested(),j.kind){case 214:if(ep(j)){R(j);break}if(!m){const Q=j.parent;if(o===2&&Q.kind===261){const{name:J}=Q;if(J.kind===80){_.push(J);break}}}break;case 80:break;case 272:M(j,j.name,fi(j,32),!1);break;case 273:case 352:_.push(j);const K=j.importClause&&j.importClause.namedBindings;K&&K.kind===275?M(j,K.name,!1,!0):!m&&l1(j)&&k(Az(j));break;case 279:j.exportClause?j.exportClause.kind===281?k(Az(j),!0):_.push(j):A(Krt(j,s));break;case 206:!m&&j.isTypeOf&&!j.qualifier&&N(j)&&k(j.getSourceFile(),!0),_.push(j);break;default:C.failBadSyntaxKind(j,"Unexpected import kind.")}}}function R(O){const G=Rn(O,iX)||O.getSourceFile();k(G,!!N(O,!0))}function N(O,G=!1){return Rn(O,j=>G&&iX(j)?"quit":Im(j)&&bt(j.modifiers,jI))}function M(O,G,j,K){if(o===2)K||_.push(O);else if(!m){const Q=Az(O);C.assert(Q.kind===308||Q.kind===268),j||Vrt(Q,G,s)?k(Q,!0):k(Q)}}function k(O,G=!1){if(C.assert(!m),!d(O)||(y.push(O),!G))return;const K=s.getMergedSymbol(O.symbol);if(!K)return;C.assert(!!(K.flags&1536));const Q=F(K);if(Q)for(const J of Q)o_(J)||k(Az(J),!0)}function F(O){return r.get(Aa(O).toString())}}function Grt(e,t,r,i,o){const s=[],l=[];function u(E,A){s.push([E,A])}if(e)for(const E of e)d(E);return{importSearches:s,singleReferences:l};function d(E){if(E.kind===272){Dfe(E)&&_(E.name);return}if(E.kind===80){_(E);return}if(E.kind===206){if(E.qualifier){const N=Ou(E.qualifier);N.escapedText===Ol(t)&&l.push(N)}else r===2&&l.push(E.argument.literal);return}if(E.moduleSpecifier.kind!==11)return;if(E.kind===279){E.exportClause&&Kf(E.exportClause)&&m(E.exportClause);return}const{name:A,namedBindings:R}=E.importClause||{name:void 0,namedBindings:void 0};if(R)switch(R.kind){case 275:_(R.name);break;case 276:(r===0||r===1)&&m(R);break;default:C.assertNever(R)}if(A&&(r===1||r===2)&&(!o||A.escapedText===x7(t))){const N=i.getSymbolAtLocation(A);u(A,N)}}function _(E){r===2&&(!o||y(E.escapedText))&&u(E,i.getSymbolAtLocation(E))}function m(E){if(E)for(const A of E.elements){const{name:R,propertyName:N}=A;if(y(bS(N||R)))if(N)l.push(N),(!o||bS(R)===t.escapedName)&&u(R,i.getSymbolAtLocation(R));else{const M=A.kind===282&&A.propertyName?i.getExportSpecifierLocalTargetSymbol(A):i.getSymbolAtLocation(R);u(R,M)}}}function y(E){return E===t.escapedName||r!==0&&E==="default"}}function Vrt(e,t,r){const i=r.getSymbolAtLocation(t);return!!Eke(e,o=>{if(!fc(o))return;const{exportClause:s,moduleSpecifier:l}=o;return!l&&s&&Kf(s)&&s.elements.some(u=>r.getExportSpecifierLocalTargetSymbol(u)===i)})}function Ske(e,t,r){var i;const o=[],s=e.getTypeChecker();for(const l of t){const u=r.valueDeclaration;if((u==null?void 0:u.kind)===308){for(const d of l.referencedFiles)e.getSourceFileFromReference(l,d)===u&&o.push({kind:"reference",referencingFile:l,ref:d});for(const d of l.typeReferenceDirectives){const _=(i=e.getResolvedTypeReferenceDirectiveFromTypeReferenceDirective(d,l))==null?void 0:i.resolvedTypeReferenceDirective;_!==void 0&&_.resolvedFileName===u.fileName&&o.push({kind:"reference",referencingFile:l,ref:d})}}Ake(l,(d,_)=>{s.getSymbolAtLocation(_)===r&&o.push(zs(d)?{kind:"implicit",literal:_,referencingFile:l}:{kind:"import",literal:_})})}return o}function jrt(e,t,r){const i=new Map;for(const o of e)r&&r.throwIfCancellationRequested(),Ake(o,(s,l)=>{const u=t.getSymbolAtLocation(l);if(u){const d=Aa(u).toString();let _=i.get(d);_||i.set(d,_=[]),_.push(s)}});return i}function Eke(e,t){return Xe(e.kind===308?e.statements:e.body.statements,r=>t(r)||iX(r)&&Xe(r.body&&r.body.statements,t))}function Ake(e,t){if(e.externalModuleIndicator||e.imports!==void 0)for(const r of e.imports)t(tM(r),r);else Eke(e,r=>{switch(r.kind){case 279:case 273:{const i=r;i.moduleSpecifier&&Oa(i.moduleSpecifier)&&t(i,i.moduleSpecifier);break}case 272:{const i=r;Dfe(i)&&t(i,i.moduleReference.expression);break}}})}function Ike(e,t,r,i){return i?o():o()||s();function o(){var d;const{parent:_}=e,m=_.parent;if(t.exportSymbol)return _.kind===212?(d=t.declarations)!=null&&d.some(A=>A===_)&&Nr(m)?E(m,!1):void 0:l(t.exportSymbol,u(_));{const A=Hrt(_,e);if(A&&fi(A,32))return Oc(A)&&A.moduleReference===e?i?void 0:{kind:0,symbol:r.getSymbolAtLocation(A.name)}:l(t,u(A));if(V_(_))return l(t,0);if(fl(_))return y(_);if(fl(m))return y(m);if(Nr(_))return E(_,!0);if(Nr(m))return E(m,!0);if(D1(_)||Lj(_))return l(t,0)}function y(A){if(!A.symbol.parent)return;const R=A.isExportEquals?2:1;return{kind:1,symbol:t,exportInfo:{exportingModuleSymbol:A.symbol.parent,exportKind:R}}}function E(A,R){let N;switch(ac(A)){case 1:N=0;break;case 2:N=2;break;default:return}const M=R?r.getSymbolAtLocation(LV(va(A.left,Qs))):t;return M&&l(M,N)}}function s(){if(!qrt(e))return;let _=r.getImmediateAliasedSymbol(t);if(!_||(_=Jrt(_,r),_.escapedName==="export="&&(_=Urt(_,r),_===void 0)))return;const m=x7(_);if(m===void 0||m==="default"||m===t.escapedName)return{kind:0,symbol:_}}function l(d,_){const m=Rfe(d,_,r);return m&&{kind:1,symbol:d,exportInfo:m}}function u(d){return fi(d,2048)?1:0}}function Urt(e,t){var r,i;if(e.flags&2097152)return t.getImmediateAliasedSymbol(e);const o=C.checkDefined(e.valueDeclaration);if(fl(o))return(r=ii(o.expression,ah))==null?void 0:r.symbol;if(Nr(o))return(i=ii(o.right,ah))==null?void 0:i.symbol;if(Qi(o))return o.symbol}function Hrt(e,t){const r=bi(e)?e:qa(e)?JE(e):void 0;return r?e.name!==t||US(r.parent)?void 0:sc(r.parent.parent)?r.parent.parent:void 0:e}function qrt(e){const{parent:t}=e;switch(t.kind){case 272:return t.name===e&&Dfe(t);case 277:return!t.propertyName;case 274:case 275:return C.assert(t.name===e),!0;case 209:return Er(e)&&ES(t.parent.parent);default:return!1}}function Rfe(e,t,r){const i=e.parent;if(!i)return;const o=r.getMergedSymbol(i);return uI(o)?{exportingModuleSymbol:o,exportKind:t}:void 0}function Jrt(e,t){if(e.declarations)for(const r of e.declarations){if(ou(r)&&!r.propertyName&&!r.parent.parent.moduleSpecifier)return t.getExportSpecifierLocalTargetSymbol(r)||e;if(Jr(r)&&Tg(r.expression)&&!to(r.name))return t.getSymbolAtLocation(r);if(Ud(r)&&Nr(r.parent.parent)&&ac(r.parent.parent)===2)return t.getExportSpecifierLocalTargetSymbol(r.name)}return e}function Krt(e,t){return t.getMergedSymbol(Az(e).symbol)}function Az(e){if(e.kind===214||e.kind===352)return e.getSourceFile();const{parent:t}=e;return t.kind===308?t:(C.assert(t.kind===269),va(t.parent,iX))}function iX(e){return e.kind===268&&e.name.kind===11}function Dfe(e){return e.moduleReference.kind===284&&e.moduleReference.expression.kind===11}var xke=(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))(xke||{}),Rke=(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))(Rke||{});function Ey(e,t=1){return{kind:t,node:e.name||e,context:Xrt(e)}}function Cfe(e){return e&&e.kind===void 0}function Xrt(e){if(rd(e))return U1(e);if(e.parent){if(!rd(e.parent)&&!fl(e.parent)){if(Er(e)){const r=Nr(e.parent)?e.parent:Qs(e.parent)&&Nr(e.parent.parent)&&e.parent.parent.left===e.parent?e.parent.parent:void 0;if(r&&ac(r)!==0)return U1(r)}if(ph(e.parent)||VS(e.parent))return e.parent.parent;if(x1(e.parent)||Wb(e.parent)||wN(e.parent))return e.parent;if(ds(e)){const r=Tk(e);if(r){const i=Rn(r,o=>rd(o)||Gi(o)||UR(o));return rd(i)?U1(i):i}}const t=Rn(e,Ea);return t?U1(t.parent):void 0}if(e.parent.name===e||kl(e.parent)||fl(e.parent)||(hb(e.parent)||qa(e.parent))&&e.parent.propertyName===e||e.kind===90&&fi(e.parent,2080))return U1(e.parent)}}function U1(e){if(e)switch(e.kind){case 261:return!_d(e.parent)||e.parent.declarations.length!==1?e:sc(e.parent.parent)?e.parent.parent:ZE(e.parent.parent)?U1(e.parent.parent):e.parent;case 209:return U1(e.parent.parent);case 277:return e.parent.parent.parent;case 282:case 275:return e.parent.parent;case 274:case 281:return e.parent;case 227:return od(e.parent)?e.parent:e;case 251:case 250:return{start:e.initializer,end:e.expression};case 304:case 305:return vv(e.parent)?U1(Rn(e.parent,t=>Nr(t)||ZE(t))):e;case 256:return{start:_n(e.getChildren(e.getSourceFile()),t=>t.kind===109),end:e.caseBlock};default:return e}}function Nfe(e,t,r){if(!r)return;const i=Cfe(r)?xz(r.start,t,r.end):xz(r,t);return i.start!==e.start||i.length!==e.length?{contextSpan:i}:void 0}var Dke=(e=>(e[e.Other=0]="Other",e[e.References=1]="References",e[e.Rename=2]="Rename",e))(Dke||{});function Yrt(e,t,r,i,o){const s=ap(i,o),l={use:1},u=Ix.getReferencedSymbolsForNode(o,s,e,r,t,l),d=e.getTypeChecker(),_=Ix.getAdjustedNode(s,l),m=$rt(_)?d.getSymbolAtLocation(_):void 0;return!u||!u.length?void 0:Hi(u,({definition:y,references:E})=>y&&{definition:d.runWithCancellationToken(t,A=>eit(y,A,s)),references:E.map(A=>nit(A,m))})}function $rt(e){return e.kind===90||!!rM(e)||Rk(e)||e.kind===137&&kl(e.parent)}function Qrt(e,t,r,i,o){const s=ap(i,o);let l;const u=Cke(e,t,r,s,o);if(s.parent.kind===212||s.parent.kind===209||s.parent.kind===213||s.kind===108)l=u&&[...u];else if(u){const _=g2(u),m=new Set;for(;!_.isEmpty();){const y=_.dequeue();if(!Tm(m,ls(y.node)))continue;l=jn(l,y);const E=Cke(e,t,r,y.node,y.node.pos);E&&_.enqueue(...E)}}const d=e.getTypeChecker();return Gt(l,_=>iit(_,d))}function Cke(e,t,r,i,o){if(i.kind===308)return;const s=e.getTypeChecker();if(i.parent.kind===305){const l=[];return Ix.getReferenceEntriesForShorthandPropertyAssignment(i,s,u=>l.push(Ey(u))),l}else if(i.kind===108||gp(i.parent)){const l=s.getSymbolAtLocation(i);return l.valueDeclaration&&[Ey(l.valueDeclaration)]}else return Nke(o,i,e,r,t,{implementations:!0,use:1})}function Zrt(e,t,r,i,o,s,l){return Gt(Mke(Ix.getReferencedSymbolsForNode(o,i,e,r,t,s)),u=>l(u,i,e.getTypeChecker()))}function Nke(e,t,r,i,o,s={},l=new Set(i.map(u=>u.fileName))){return Mke(Ix.getReferencedSymbolsForNode(e,t,r,i,o,s,l))}function Mke(e){return e&&Wi(e,t=>t.references)}function eit(e,t,r){const i=(()=>{switch(e.type){case 0:{const{symbol:m}=e,{displayParts:y,kind:E}=Pke(m,t,r),A=y.map(M=>M.text).join(""),R=m.declarations&&Sc(m.declarations),N=R?Fo(R)||R:r;return{...Iz(N),name:A,kind:E,displayParts:y,context:U1(R)}}case 1:{const{node:m}=e;return{...Iz(m),name:m.text,kind:"label",displayParts:[Tp(m.text,17)]}}case 2:{const{node:m}=e,y=Ta(m.kind);return{...Iz(m),name:y,kind:"keyword",displayParts:[{text:y,kind:"keyword"}]}}case 3:{const{node:m}=e,y=t.getSymbolAtLocation(m),E=y&&Ev.getSymbolDisplayPartsDocumentationAndSymbolKind(t,y,m.getSourceFile(),z1(m),m).displayParts||[vf("this")];return{...Iz(m),name:"this",kind:"var",displayParts:E}}case 4:{const{node:m}=e;return{...Iz(m),name:m.text,kind:"var",displayParts:[Tp(Rl(m),8)]}}case 5:return{textSpan:bv(e.reference),sourceFile:e.file,name:e.reference.fileName,kind:"string",displayParts:[Tp('"'.concat(e.reference.fileName,'"'),8)]};default:return C.assertNever(e)}})(),{sourceFile:o,textSpan:s,name:l,kind:u,displayParts:d,context:_}=i;return{containerKind:"",containerName:"",fileName:o.fileName,kind:u,name:l,textSpan:s,displayParts:d,...Nfe(s,o,_)}}function Iz(e){const t=e.getSourceFile();return{sourceFile:t,textSpan:xz(Ea(e)?e.expression:e,t)}}function Pke(e,t,r){const i=Ix.getIntersectingMeaningFromDeclarations(r,e),o=e.declarations&&Sc(e.declarations)||r,{displayParts:s,symbolKind:l}=Ev.getSymbolDisplayPartsDocumentationAndSymbolKind(t,e,o.getSourceFile(),o,o,i);return{displayParts:s,kind:l}}function tit(e,t,r,i,o){return{...oX(e),...i&&rit(e,t,r,o)}}function nit(e,t){const r=Lke(e);return t?{...r,isDefinition:e.kind!==0&&wke(e.node,t)}:r}function Lke(e){const t=oX(e);if(e.kind===0)return{...t,isWriteAccess:!1};const{kind:r,node:i}=e;return{...t,isWriteAccess:Mfe(i),isInString:r===2?!0:void 0}}function oX(e){if(e.kind===0)return{textSpan:e.textSpan,fileName:e.fileName};{const t=e.node.getSourceFile(),r=xz(e.node,t);return{textSpan:r,fileName:t.fileName,...Nfe(r,t,e.context)}}}function rit(e,t,r,i){if(e.kind!==0&&(Je(t)||ds(t))){const{node:o,kind:s}=e,l=o.parent,u=t.text,d=Ud(l);if(d||xO(l)&&l.name===o&&l.dotDotDotToken===void 0){const _={prefixText:u+": "},m={suffixText:": "+u};if(s===3)return _;if(s===4)return m;if(d){const y=l.parent;return za(y)&&Nr(y.parent)&&Tg(y.parent.left)?_:m}else return _}else if(Au(l)&&!l.propertyName){const _=ou(t.parent)?r.getExportSpecifierLocalTargetSymbol(t.parent):r.getSymbolAtLocation(t);return Vn(_.declarations,l)?{prefixText:u+" as "}:xm}else if(ou(l)&&!l.propertyName)return t===e.node||r.getSymbolAtLocation(t)===r.getSymbolAtLocation(e.node)?{prefixText:u+" as "}:{suffixText:" as "+u}}if(e.kind!==0&&ip(e.node)&&Qs(e.node.parent)){const o=rJ(i);return{prefixText:o,suffixText:o}}return xm}function iit(e,t){const r=oX(e);if(e.kind!==0){const{node:i}=e;return{...r,...oit(i,t)}}else return{...r,kind:"",displayParts:[]}}function oit(e,t){const r=t.getSymbolAtLocation(rd(e)&&e.name?e.name:e);return r?Pke(r,t,e):e.kind===211?{kind:"interface",displayParts:[lu(21),vf("object literal"),lu(22)]}:e.kind===232?{kind:"local class",displayParts:[lu(21),vf("anonymous local class"),lu(22)]}:{kind:ZS(e),displayParts:[]}}function ait(e){const t=oX(e);if(e.kind===0)return{fileName:t.fileName,span:{textSpan:t.textSpan,kind:"reference"}};const r=Mfe(e.node),i={textSpan:t.textSpan,kind:r?"writtenReference":"reference",isInString:e.kind===2?!0:void 0,...t.contextSpan&&{contextSpan:t.contextSpan}};return{fileName:t.fileName,span:i}}function xz(e,t,r){let i=e.getStart(t),o=(r||e).getEnd();return ds(e)&&o-i>2&&(C.assert(r===void 0),i+=1,o-=1),(r==null?void 0:r.kind)===270&&(o=r.getFullStart()),oc(i,o)}function kke(e){return e.kind===0?e.textSpan:xz(e.node,e.node.getSourceFile())}function Mfe(e){const t=rM(e);return!!t&&sit(t)||e.kind===90||DI(e)}function wke(e,t){var r;if(!t)return!1;const i=rM(e)||(e.kind===90?e.parent:Rk(e)||e.kind===137&&kl(e.parent)?e.parent.parent:void 0),o=i&&Nr(i)?i.left:void 0;return!!(i&&((r=t.declarations)!=null&&r.some(s=>s===i||s===o)))}function sit(e){if(e.flags&33554432)return!0;switch(e.kind){case 227:case 209:case 264:case 232:case 90:case 267:case 307:case 282:case 274:case 272:case 277:case 265:case 339:case 347:case 292:case 268:case 271:case 275:case 281:case 170:case 305:case 266:case 169:return!0;case 304:return!vv(e.parent);case 263:case 219:case 177:case 175:case 178:case 179:return!!e.body;case 261:case 173:return!!e.initializer||US(e.parent);case 174:case 172:case 349:case 342:return!1;default:return C.failBadSyntaxKind(e)}}var Ix;(e=>{function t(at,Bt,ce,_t,ie,We={},it=new Set(_t.map(dt=>dt.fileName))){var dt,Lt;if(Bt=r(Bt,We),Qi(Bt)){const Rr=hC.getReferenceAtPosition(Bt,at,ce);if(!(Rr!=null&&Rr.file))return;const Oe=ce.getTypeChecker().getMergedSymbol(Rr.file.symbol);if(Oe)return _(ce,Oe,!1,_t,it);const At=ce.getFileIncludeReasons();return At?[{definition:{type:5,reference:Rr.reference,file:Bt},references:o(Rr.file,At,ce)||se}]:void 0}if(!We.implementations){const Rr=y(Bt,_t,ie);if(Rr)return Rr}const He=ce.getTypeChecker(),Ct=He.getSymbolAtLocation(kl(Bt)&&Bt.parent.name||Bt);if(!Ct){if(!We.implementations&&ds(Bt)){if(R7(Bt)){const Rr=ce.getFileIncludeReasons(),Oe=(Lt=(dt=ce.getResolvedModuleFromModuleSpecifier(Bt))==null?void 0:dt.resolvedModule)==null?void 0:Lt.resolvedFileName,At=Oe?ce.getSourceFile(Oe):void 0;if(At)return[{definition:{type:4,node:Bt},references:o(At,Rr,ce)||se}]}return Ci(Bt,_t,He,ie)}return}if(Ct.escapedName==="export=")return _(ce,Ct.parent,!1,_t,it);const Nt=l(Ct,ce,_t,ie,We,it);if(Nt&&!(Ct.flags&33554432))return Nt;const Wt=s(Bt,Ct,He),rt=Wt&&l(Wt,ce,_t,ie,We,it),Zt=E(Ct,Bt,_t,it,He,ie,We);return u(ce,Nt,Zt,rt)}e.getReferencedSymbolsForNode=t;function r(at,Bt){return Bt.use===1?at=Vq(at):Bt.use===2&&(at=g7(at)),at}e.getAdjustedNode=r;function i(at,Bt,ce,_t=new Set(ce.map(ie=>ie.fileName))){var ie,We;const it=(ie=Bt.getSourceFile(at))==null?void 0:ie.symbol;if(it)return((We=_(Bt,it,!1,ce,_t)[0])==null?void 0:We.references)||se;const dt=Bt.getFileIncludeReasons(),Lt=Bt.getSourceFile(at);return Lt&&dt&&o(Lt,dt,Bt)||se}e.getReferencesForFileName=i;function o(at,Bt,ce){let _t;const ie=Bt.get(at.path)||se;for(const We of ie)if(uT(We)){const it=ce.getSourceFileByPath(We.file),dt=TP(ce,We);KD(dt)&&(_t=jn(_t,{kind:0,fileName:it.fileName,textSpan:bv(dt)}))}return _t}function s(at,Bt,ce){if(at.parent&&vw(at.parent)){const _t=ce.getAliasedSymbol(Bt),ie=ce.getMergedSymbol(_t);if(_t!==ie)return ie}}function l(at,Bt,ce,_t,ie,We){const it=at.flags&1536&&at.declarations&&_n(at.declarations,Qi);if(!it)return;const dt=at.exports.get("export="),Lt=_(Bt,at,!!dt,ce,We);if(!dt||!We.has(it.fileName))return Lt;const He=Bt.getTypeChecker();return at=Id(dt,He),u(Bt,Lt,E(at,void 0,ce,We,He,_t,ie))}function u(at,...Bt){let ce;for(const _t of Bt)if(!(!_t||!_t.length)){if(!ce){ce=_t;continue}for(const ie of _t){if(!ie.definition||ie.definition.type!==0){ce.push(ie);continue}const We=ie.definition.symbol,it=lo(ce,Lt=>!!Lt.definition&&Lt.definition.type===0&&Lt.definition.symbol===We);if(it===-1){ce.push(ie);continue}const dt=ce[it];ce[it]={definition:dt.definition,references:dt.references.concat(ie.references).sort((Lt,He)=>{const Ct=d(at,Lt),Nt=d(at,He);if(Ct!==Nt)return Js(Ct,Nt);const Wt=kke(Lt),rt=kke(He);return Wt.start!==rt.start?Js(Wt.start,rt.start):Js(Wt.length,rt.length)})}}}return ce}function d(at,Bt){const ce=Bt.kind===0?at.getSourceFile(Bt.fileName):Bt.node.getSourceFile();return at.getSourceFiles().indexOf(ce)}function _(at,Bt,ce,_t,ie){C.assert(!!Bt.valueDeclaration);const We=Hi(Ske(at,_t,Bt),dt=>{if(dt.kind==="import"){const Lt=dt.literal.parent;if(hv(Lt)){const He=va(Lt.parent,o_);if(ce&&!He.qualifier)return}return Ey(dt.literal)}else if(dt.kind==="implicit"){const Lt=dt.literal.text!==vb&&tx(dt.referencingFile,He=>He.transformFlags&2?l_(He)||x1(He)||tT(He)?He:void 0:"skip")||dt.referencingFile.statements[0]||dt.referencingFile;return Ey(Lt)}else return{kind:0,fileName:dt.referencingFile.fileName,textSpan:bv(dt.ref)}});if(Bt.declarations)for(const dt of Bt.declarations)switch(dt.kind){case 308:break;case 268:ie.has(dt.getSourceFile().fileName)&&We.push(Ey(dt.name));break;default:C.assert(!!(Bt.flags&33554432),"Expected a module symbol to be declared by a SourceFile or ModuleDeclaration.")}const it=Bt.exports.get("export=");if(it!=null&&it.declarations)for(const dt of it.declarations){const Lt=dt.getSourceFile();if(ie.has(Lt.fileName)){const He=Nr(dt)&&Jr(dt.left)?dt.left.expression:fl(dt)?C.checkDefined(Rs(dt,95,Lt)):Fo(dt)||dt;We.push(Ey(He))}}return We.length?[{definition:{type:0,symbol:Bt},references:We}]:se}function m(at){return at.kind===148&&X0(at.parent)&&at.parent.operator===148}function y(at,Bt,ce){if(NP(at.kind))return at.kind===116&&XI(at.parent)||at.kind===148&&!m(at)?void 0:je(Bt,at.kind,ce,at.kind===148?m:void 0);if(YR(at.parent)&&at.parent.name===at)return ve(Bt,ce);if(UI(at)&&Zl(at.parent))return[{definition:{type:2,node:at},references:[Ey(at)]}];if(yO(at)){const _t=u7(at.parent,at.text);return _t&&Re(_t.parent,_t)}else if(Lq(at))return Re(at.parent,at);if(eC(at))return go(at,Bt,ce);if(at.kind===108)return Ht(at)}function E(at,Bt,ce,_t,ie,We,it){const dt=Bt&&N(at,Bt,ie,!qo(it))||at,Lt=Bt&&it.use!==2?oi(Bt,dt):7,He=[],Ct=new F(ce,_t,Bt?R(Bt):0,ie,We,Lt,it,He),Nt=!qo(it)||!dt.declarations?void 0:_n(dt.declarations,ou);if(Nt)lt(Nt.name,dt,Nt,Ct.createSearch(Bt,at,void 0),Ct,!0,!0);else if(Bt&&Bt.kind===90&&dt.escapedName==="default"&&dt.parent)Ge(Bt,dt,Ct),O(Bt,dt,{exportingModuleSymbol:dt.parent,exportKind:1},Ct);else{const Wt=Ct.createSearch(Bt,dt,void 0,{allSearchSymbols:Bt?Ur(dt,Bt,ie,it.use===2,!!it.providePrefixAndSuffixTextForRename,!!it.implementations):[dt]});A(dt,Ct,Wt)}return He}function A(at,Bt,ce){const _t=he(at);if(_t)ee(_t,_t.getSourceFile(),ce,Bt,!(Qi(_t)&&!Vn(Bt.sourceFiles,_t)));else for(const ie of Bt.sourceFiles)Bt.cancellationToken.throwIfCancellationRequested(),Q(ie,ce,Bt)}function R(at){switch(at.kind){case 177:case 137:return 1;case 80:if(hi(at.parent))return C.assert(at.parent.name===at),2;default:return 0}}function N(at,Bt,ce,_t){const{parent:ie}=Bt;return ou(ie)&&_t?le(Bt,at,ie,ce):Wn(at.declarations,We=>{if(!We.parent){if(at.flags&33554432)return;C.fail("Unexpected symbol at ".concat(C.formatSyntaxKind(Bt.kind),": ").concat(C.formatSymbol(at)))}return Fu(We.parent)&&mv(We.parent.parent)?ce.getPropertyOfType(ce.getTypeFromTypeNode(We.parent.parent),at.name):void 0})}let M;(at=>{at[at.None=0]="None",at[at.Constructor=1]="Constructor",at[at.Class=2]="Class"})(M||(M={}));function k(at){if(!(at.flags&33555968))return;const Bt=at.declarations&&_n(at.declarations,ce=>!Qi(ce)&&!pc(ce));return Bt&&Bt.symbol}class F{constructor(Bt,ce,_t,ie,We,it,dt,Lt){this.sourceFiles=Bt,this.sourceFilesSet=ce,this.specialSearchKind=_t,this.checker=ie,this.cancellationToken=We,this.searchMeaning=it,this.options=dt,this.result=Lt,this.inheritsFromCache=new Map,this.markSeenContainingTypeReference=rC(),this.markSeenReExportRHS=rC(),this.symbolIdToReferences=[],this.sourceFileToSeenSymbols=[]}includesSourceFile(Bt){return this.sourceFilesSet.has(Bt.fileName)}getImportSearches(Bt,ce){return this.importTracker||(this.importTracker=xfe(this.sourceFiles,this.sourceFilesSet,this.checker,this.cancellationToken)),this.importTracker(Bt,ce,this.options.use===2)}createSearch(Bt,ce,_t,ie={}){const{text:We=bm(Ol(hM(ce)||k(ce)||ce)),allSearchSymbols:it=[ce]}=ie,dt=Pl(We),Lt=this.options.implementations&&Bt?Pn(Bt,ce,this.checker):void 0;return{symbol:ce,comingFrom:_t,text:We,escapedText:dt,parents:Lt,allSearchSymbols:it,includes:He=>Vn(it,He)}}referenceAdder(Bt){const ce=Aa(Bt);let _t=this.symbolIdToReferences[ce];return _t||(_t=this.symbolIdToReferences[ce]=[],this.result.push({definition:{type:0,symbol:Bt},references:_t})),(ie,We)=>_t.push(Ey(ie,We))}addStringOrCommentReference(Bt,ce){this.result.push({definition:void 0,references:[{kind:0,fileName:Bt,textSpan:ce}]})}markSearchedSymbols(Bt,ce){const _t=ls(Bt),ie=this.sourceFileToSeenSymbols[_t]||(this.sourceFileToSeenSymbols[_t]=new Set);let We=!1;for(const it of ce)We=rh(ie,Aa(it))||We;return We}}function O(at,Bt,ce,_t){const{importSearches:ie,singleReferences:We,indirectUsers:it}=_t.getImportSearches(Bt,ce);if(We.length){const dt=_t.referenceAdder(Bt);for(const Lt of We)j(Lt,_t)&&dt(Lt)}for(const[dt,Lt]of ie)be(dt.getSourceFile(),_t.createSearch(dt,Lt,1),_t);if(it.length){let dt;switch(ce.exportKind){case 0:dt=_t.createSearch(at,Bt,1);break;case 1:dt=_t.options.use===2?void 0:_t.createSearch(at,Bt,1,{text:"default"});break}if(dt)for(const Lt of it)Q(Lt,dt,_t)}}function G(at,Bt,ce,_t,ie,We,it,dt){const Lt=xfe(at,new Set(at.map(Wt=>Wt.fileName)),Bt,ce),{importSearches:He,indirectUsers:Ct,singleReferences:Nt}=Lt(_t,{exportKind:it?1:0,exportingModuleSymbol:ie},!1);for(const[Wt]of He)dt(Wt);for(const Wt of Nt)Je(Wt)&&o_(Wt.parent)&&dt(Wt);for(const Wt of Ct)for(const rt of ge(Wt,it?"default":We)){const Zt=Bt.getSymbolAtLocation(rt),Rr=bt(Zt==null?void 0:Zt.declarations,Oe=>!!ii(Oe,fl));Je(rt)&&!hb(rt.parent)&&(Zt===_t||Rr)&&dt(rt)}}e.eachExportReference=G;function j(at,Bt){return Se(at,Bt)?Bt.options.use!==2?!0:!Je(at)&&!hb(at.parent)?!1:!(hb(at.parent)&&O_(at)):!1}function K(at,Bt){if(at.declarations)for(const ce of at.declarations){const _t=ce.getSourceFile();be(_t,Bt.createSearch(ce,at,0),Bt,Bt.includesSourceFile(_t))}}function Q(at,Bt,ce){hK(at).get(Bt.escapedText)!==void 0&&be(at,Bt,ce)}function J(at,Bt){return vv(at.parent.parent)?Bt.getPropertySymbolOfDestructuringAssignment(at):void 0}function he(at){const{declarations:Bt,flags:ce,parent:_t,valueDeclaration:ie}=at;if(ie&&(ie.kind===219||ie.kind===232))return ie;if(!Bt)return;if(ce&8196){const dt=_n(Bt,Lt=>Fp(Lt,2)||nu(Lt));return dt?j0(dt,264):void 0}if(Bt.some(xO))return;const We=_t&&!(at.flags&262144);if(We&&!(uI(_t)&&!_t.globalExports))return;let it;for(const dt of Bt){const Lt=z1(dt);if(it&&it!==Lt||!Lt||Lt.kind===308&&!wp(Lt))return;if(it=Lt,Ks(it)){let He;for(;He=HG(it);)it=He}}return We?it.getSourceFile():it}function re(at,Bt,ce,_t=ce){return q(at,Bt,ce,()=>!0,_t)||!1}e.isSymbolReferencedInFile=re;function q(at,Bt,ce,_t,ie=ce){const We=Lp(at.parent,at.parent.parent)?Qa(Bt.getSymbolsOfParameterPropertyDeclaration(at.parent,at.text)):Bt.getSymbolAtLocation(at);if(We)for(const it of ge(ce,We.name,ie)){if(!Je(it)||it===at||it.escapedText!==at.escapedText)continue;const dt=Bt.getSymbolAtLocation(it);if(dt===We||Bt.getShorthandAssignmentValueSymbol(it.parent)===We||ou(it.parent)&&le(it,dt,it.parent,Bt)===We){const Lt=_t(it);if(Lt)return Lt}}}e.eachSymbolReferenceInFile=q;function ue(at,Bt){return Fn(ge(Bt,at),ie=>!!rM(ie)).reduce((ie,We)=>{const it=_t(We);return!bt(ie.declarationNames)||it===ie.depth?(ie.declarationNames.push(We),ie.depth=it):it<ie.depth&&(ie.declarationNames=[We],ie.depth=it),ie},{depth:1/0,declarationNames:[]}).declarationNames;function _t(ie){let We=0;for(;ie;)ie=z1(ie),We++;return We}}e.getTopMostDeclarationNamesInFile=ue;function de(at,Bt,ce,_t){if(!at.name||!Je(at.name))return!1;const ie=C.checkDefined(ce.getSymbolAtLocation(at.name));for(const We of Bt)for(const it of ge(We,ie.name)){if(!Je(it)||it===at.name||it.escapedText!==at.name.escapedText)continue;const dt=d7(it),Lt=ra(dt.parent)&&dt.parent.expression===dt?dt.parent:void 0,He=ce.getSymbolAtLocation(it);if(He&&ce.getRootSymbols(He).some(Ct=>Ct===ie)&&_t(it,Lt))return!0}return!1}e.someSignatureUsage=de;function ge(at,Bt,ce=at){return Hi(Ae(at,Bt,ce),_t=>{const ie=ap(at,_t);return ie===at?void 0:ie})}function Ae(at,Bt,ce=at){const _t=[];if(!Bt||!Bt.length)return _t;const ie=at.text,We=ie.length,it=Bt.length;let dt=ie.indexOf(Bt,ce.pos);for(;dt>=0&&!(dt>ce.end);){const Lt=dt+it;(dt===0||!oy(ie.charCodeAt(dt-1),99))&&(Lt===We||!oy(ie.charCodeAt(Lt),99))&&_t.push(dt),dt=ie.indexOf(Bt,dt+it+1)}return _t}function Re(at,Bt){const ce=at.getSourceFile(),_t=Bt.text,ie=Hi(ge(ce,_t,at),We=>We===Bt||yO(We)&&u7(We,_t)===Bt?Ey(We):void 0);return[{definition:{type:1,node:Bt},references:ie}]}function $(at,Bt){switch(at.kind){case 81:if(rT(at.parent))return!0;case 80:return at.text.length===Bt.length;case 15:case 11:{const ce=at;return ce.text.length===Bt.length&&(p7(ce)||Wq(at)||Xle(at)||ra(at.parent)&&a1(at.parent)&&at.parent.arguments[1]===at||hb(at.parent))}case 9:return p7(at)&&at.text.length===Bt.length;case 90:return Bt.length===7;default:return!1}}function ve(at,Bt){const ce=Wi(at,_t=>(Bt.throwIfCancellationRequested(),Hi(ge(_t,"meta",_t),ie=>{const We=ie.parent;if(YR(We))return Ey(We)})));return ce.length?[{definition:{type:2,node:ce[0].node},references:ce}]:void 0}function je(at,Bt,ce,_t){const ie=Wi(at,We=>(ce.throwIfCancellationRequested(),Hi(ge(We,Ta(Bt),We),it=>{if(it.kind===Bt&&(!_t||_t(it)))return Ey(it)})));return ie.length?[{definition:{type:2,node:ie[0].node},references:ie}]:void 0}function be(at,Bt,ce,_t=!0){return ce.cancellationToken.throwIfCancellationRequested(),ee(at,at,Bt,ce,_t)}function ee(at,Bt,ce,_t,ie){if(_t.markSearchedSymbols(Bt,ce.allSearchSymbols))for(const We of Ae(Bt,ce.text,at))Ne(Bt,We,ce,_t,ie)}function Se(at,Bt){return!!(F1(at)&Bt.searchMeaning)}function Ne(at,Bt,ce,_t,ie){const We=ap(at,Bt);if(!$(We,ce.text)){!_t.options.implementations&&(_t.options.findInStrings&&fx(at,Bt)||_t.options.findInComments&&lce(at,Bt))&&_t.addStringOrCommentReference(at.fileName,Ad(Bt,ce.text.length));return}if(!Se(We,_t))return;let it=_t.checker.getSymbolAtLocation(We);if(!it)return;const dt=We.parent;if(Au(dt)&&dt.propertyName===We)return;if(ou(dt)){C.assert(We.kind===80||We.kind===11),lt(We,it,dt,ce,_t,ie);return}if(ON(dt)&&dt.isNameFirst&&dt.typeExpression&&R1(dt.typeExpression.type)&&dt.typeExpression.type.jsDocPropertyTags&&et(dt.typeExpression.type.jsDocPropertyTags)){ze(dt.typeExpression.type.jsDocPropertyTags,We,ce,_t);return}const Lt=pr(ce,it,We,_t);if(!Lt){Ve(it,ce,_t);return}switch(_t.specialSearchKind){case 0:ie&&Ge(We,Lt,_t);break;case 1:Be(We,at,ce,_t);break;case 2:ot(We,ce,_t);break;default:C.assertNever(_t.specialSearchKind)}Er(We)&&qa(We.parent)&&ES(We.parent.parent.parent)&&(it=We.parent.symbol,!it)||_e(We,it,ce,_t)}function ze(at,Bt,ce,_t){const ie=_t.referenceAdder(ce.symbol);Ge(Bt,ce.symbol,_t),Xe(at,We=>{Wu(We.name)&&ie(We.name.left)})}function lt(at,Bt,ce,_t,ie,We,it){C.assert(!it||!!ie.options.providePrefixAndSuffixTextForRename,"If alwaysGetReferences is true, then prefix/suffix text must be enabled");const{parent:dt,propertyName:Lt,name:He}=ce,Ct=dt.parent,Nt=le(at,Bt,ce,ie.checker);if(!it&&!_t.includes(Nt))return;if(Lt?at===Lt?(Ct.moduleSpecifier||Wt(),We&&ie.options.use!==2&&ie.markSeenReExportRHS(He)&&Ge(He,C.checkDefined(ce.symbol),ie)):ie.markSeenReExportRHS(at)&&Wt():ie.options.use===2&&O_(He)||Wt(),!qo(ie.options)||it){const Zt=O_(at)||O_(ce.name)?1:0,Rr=C.checkDefined(ce.symbol),Oe=Rfe(Rr,Zt,ie.checker);Oe&&O(at,Rr,Oe,ie)}if(_t.comingFrom!==1&&Ct.moduleSpecifier&&!Lt&&!qo(ie.options)){const rt=ie.checker.getExportSpecifierLocalTargetSymbol(ce);rt&&K(rt,ie)}function Wt(){We&&Ge(at,Nt,ie)}}function le(at,Bt,ce,_t){return De(at,ce)&&_t.getExportSpecifierLocalTargetSymbol(ce)||Bt}function De(at,Bt){const{parent:ce,propertyName:_t,name:ie}=Bt;return C.assert(_t===at||ie===at),_t?_t===at:!ce.parent.moduleSpecifier}function _e(at,Bt,ce,_t){const ie=Ike(at,Bt,_t.checker,ce.comingFrom===1);if(!ie)return;const{symbol:We}=ie;ie.kind===0?qo(_t.options)||K(We,_t):O(at,We,ie.exportInfo,_t)}function Ve({flags:at,valueDeclaration:Bt},ce,_t){const ie=_t.checker.getShorthandAssignmentValueSymbol(Bt),We=Bt&&Fo(Bt);!(at&33554432)&&We&&ce.includes(ie)&&Ge(We,ie,_t)}function Ge(at,Bt,ce){const{kind:_t,symbol:ie}="kind"in Bt?Bt:{kind:void 0,symbol:Bt};if(ce.options.use===2&&at.kind===90)return;const We=ce.referenceAdder(ie);ce.options.implementations?tn(at,We,ce):We(at,_t)}function Be(at,Bt,ce,_t){xP(at)&&Ge(at,ce.symbol,_t);const ie=()=>_t.referenceAdder(ce.symbol);if(hi(at.parent))C.assert(at.kind===90||at.parent.name===at),Ot(ce.symbol,Bt,ie());else{const We=Da(at);We&&(mn(We,ie()),gt(We,_t))}}function ot(at,Bt,ce){Ge(at,Bt.symbol,ce);const _t=at.parent;if(ce.options.use===2||!hi(_t))return;C.assert(_t.name===at);const ie=ce.referenceAdder(Bt.symbol);for(const We of _t.members)lI(We)&&ha(We)&&We.body&&We.body.forEachChild(function it(dt){dt.kind===110?ie(dt):!Yo(dt)&&!hi(dt)&&dt.forEachChild(it)})}function Ot(at,Bt,ce){const _t=Vt(at);if(_t&&_t.declarations)for(const ie of _t.declarations){const We=Rs(ie,137,Bt);C.assert(ie.kind===177&&!!We),ce(We)}at.exports&&at.exports.forEach(ie=>{const We=ie.valueDeclaration;if(We&&We.kind===175){const it=We.body;it&&Zo(it,110,dt=>{xP(dt)&&ce(dt)})}})}function Vt(at){return at.members&&at.members.get("__constructor")}function mn(at,Bt){const ce=Vt(at.symbol);if(ce&&ce.declarations)for(const _t of ce.declarations){C.assert(_t.kind===177);const ie=_t.body;ie&&Zo(ie,108,We=>{Nq(We)&&Bt(We)})}}function Hn(at){return!!Vt(at.symbol)}function gt(at,Bt){if(Hn(at))return;const ce=at.symbol,_t=Bt.createSearch(void 0,ce,void 0);A(ce,Bt,_t)}function tn(at,Bt,ce){if(z_(at)&&di(at.parent)){Bt(at);return}if(at.kind!==80)return;at.parent.kind===305&&Ki(at,ce.checker,Bt);const _t=ir(at);if(_t){Bt(_t);return}const ie=Rn(at,dt=>!Wu(dt.parent)&&!xi(dt.parent)&&!_S(dt.parent)),We=ie.parent;if(CF(We)&&We.type===ie&&ce.markSeenContainingTypeReference(We))if(rv(We))it(We.initializer);else if(Yo(We)&&We.body){const dt=We.body;dt.kind===242?Eb(dt,Lt=>{Lt.expression&&it(Lt.expression)}):it(dt)}else(yS(We)||ID(We))&&it(We.expression);function it(dt){Ri(dt)&&Bt(dt)}}function ir(at){return Je(at)||Jr(at)?ir(at.parent):hy(at)?ii(at.parent.parent,Np(hi,gd)):void 0}function Ri(at){switch(at.kind){case 218:return Ri(at.expression);case 220:case 219:case 211:case 232:case 210:return!0;default:return!1}}function _o(at,Bt,ce,_t){if(at===Bt)return!0;const ie=Aa(at)+","+Aa(Bt),We=ce.get(ie);if(We!==void 0)return We;ce.set(ie,!1);const it=!!at.declarations&&at.declarations.some(dt=>iM(dt).some(Lt=>{const He=_t.getTypeAtLocation(Lt);return!!He&&!!He.symbol&&_o(He.symbol,Bt,ce,_t)}));return ce.set(ie,it),it}function Ht(at){let Bt=lk(at,!1);if(!Bt)return;let ce=256;switch(Bt.kind){case 173:case 172:case 175:case 174:case 177:case 178:case 179:ce&=av(Bt),Bt=Bt.parent;break;default:return}const _t=Bt.getSourceFile(),ie=Hi(ge(_t,"super",Bt),We=>{if(We.kind!==108)return;const it=lk(We,!1);return it&&ha(it)===!!ce&&it.parent.symbol===Bt.symbol?Ey(We):void 0});return[{definition:{type:0,symbol:Bt.symbol},references:ie}]}function Qr(at){return at.kind===80&&at.parent.kind===170&&at.parent.name===at}function go(at,Bt,ce){let _t=bu(at,!1,!1),ie=256;switch(_t.kind){case 175:case 174:if(ym(_t)){ie&=av(_t),_t=_t.parent;break}case 173:case 172:case 177:case 178:case 179:ie&=av(_t),_t=_t.parent;break;case 308:if(Wc(_t)||Qr(at))return;case 263:case 219:break;default:return}const We=Wi(_t.kind===308?Bt:[_t.getSourceFile()],dt=>(ce.throwIfCancellationRequested(),ge(dt,"this",Qi(_t)?dt:_t).filter(Lt=>{if(!eC(Lt))return!1;const He=bu(Lt,!1,!1);if(!ah(He))return!1;switch(_t.kind){case 219:case 263:return _t.symbol===He.symbol;case 175:case 174:return ym(_t)&&_t.symbol===He.symbol;case 232:case 264:case 211:return He.parent&&ah(He.parent)&&_t.symbol===He.parent.symbol&&ha(He)===!!ie;case 308:return He.kind===308&&!Wc(He)&&!Qr(Lt)}}))).map(dt=>Ey(dt));return[{definition:{type:3,node:Wn(We,dt=>no(dt.node.parent)?dt.node:void 0)||at},references:We}]}function Ci(at,Bt,ce,_t){const ie=_7(at,ce),We=Wi(Bt,it=>(_t.throwIfCancellationRequested(),Hi(ge(it,at.text),dt=>{if(ds(dt)&&dt.text===at.text)if(ie){const Lt=_7(dt,ce);if(ie!==ce.getStringType()&&(ie===Lt||Cr(dt,ce)))return Ey(dt,2)}else return y1(dt)&&!f1(dt,it)?void 0:Ey(dt,2)})));return[{definition:{type:4,node:at},references:We}]}function Cr(at,Bt){if(Eu(at.parent))return Bt.getPropertyOfType(Bt.getTypeAtLocation(at.parent.parent),at.text)}function Ur(at,Bt,ce,_t,ie,We){const it=[];return Qe(at,Bt,ce,_t,!(_t&&ie),(dt,Lt,He)=>{He&&hn(at)!==hn(He)&&(He=void 0),it.push(He||Lt||dt)},()=>!We),it}function Qe(at,Bt,ce,_t,ie,We,it){const dt=UO(Bt);if(dt){const Zt=ce.getShorthandAssignmentValueSymbol(Bt.parent);if(Zt&&_t)return We(Zt,void 0,void 0,3);const Rr=ce.getContextualType(dt.parent),Oe=Rr&&Wn(uz(dt,ce,Rr,!0),xe=>Wt(xe,4));if(Oe)return Oe;const At=J(Bt,ce),ye=At&&We(At,void 0,void 0,4);if(ye)return ye;const B=Zt&&We(Zt,void 0,void 0,3);if(B)return B}const Lt=s(Bt,at,ce);if(Lt){const Zt=We(Lt,void 0,void 0,1);if(Zt)return Zt}const He=Wt(at);if(He)return He;if(at.valueDeclaration&&Lp(at.valueDeclaration,at.valueDeclaration.parent)){const Zt=ce.getSymbolsOfParameterPropertyDeclaration(va(at.valueDeclaration,no),at.name);return C.assert(Zt.length===2&&!!(Zt[0].flags&1)&&!!(Zt[1].flags&4)),Wt(at.flags&1?Zt[1]:Zt[0])}const Ct=ul(at,282);if(!_t||Ct&&!Ct.propertyName){const Zt=Ct&&ce.getExportSpecifierLocalTargetSymbol(Ct);if(Zt){const Rr=We(Zt,void 0,void 0,1);if(Rr)return Rr}}if(!_t){let Zt;return ie?Zt=xO(Bt.parent)?D7(ce,Bt.parent):void 0:Zt=rt(at,ce),Zt&&Wt(Zt,4)}if(C.assert(_t),ie){const Zt=rt(at,ce);return Zt&&Wt(Zt,4)}function Wt(Zt,Rr){return Wn(ce.getRootSymbols(Zt),Oe=>We(Zt,Oe,void 0,Rr)||(Oe.parent&&Oe.parent.flags&96&&it(Oe)?It(Oe.parent,Oe.name,ce,At=>We(Zt,Oe,At,Rr)):void 0))}function rt(Zt,Rr){const Oe=ul(Zt,209);if(Oe&&xO(Oe))return D7(Rr,Oe)}}function It(at,Bt,ce,_t){const ie=new Set;return We(at);function We(it){if(!(!(it.flags&96)||!Tm(ie,it)))return Wn(it.declarations,dt=>Wn(iM(dt),Lt=>{const He=ce.getTypeAtLocation(Lt),Ct=He.symbol&&ce.getPropertyOfType(He,Bt);return Ct&&Wn(ce.getRootSymbols(Ct),_t)||He.symbol&&We(He.symbol)}))}}function hn(at){return at.valueDeclaration?!!(Gd(at.valueDeclaration)&256):!1}function pr(at,Bt,ce,_t){const{checker:ie}=_t;return Qe(Bt,ce,ie,!1,_t.options.use!==2||!!_t.options.providePrefixAndSuffixTextForRename,(We,it,dt,Lt)=>(dt&&hn(Bt)!==hn(dt)&&(dt=void 0),at.includes(dt||it||We)?{symbol:it&&!(Fl(We)&6)?it:We,kind:Lt}:void 0),We=>!(at.parents&&!at.parents.some(it=>_o(We.parent,it,_t.inheritsFromCache,ie))))}function oi(at,Bt){let ce=F1(at);const{declarations:_t}=Bt;if(_t){let ie;do{ie=ce;for(const We of _t){const it=l7(We);it&ce&&(ce|=it)}}while(ce!==ie)}return ce}e.getIntersectingMeaningFromDeclarations=oi;function di(at){return at.flags&33554432?!(gd(at)||Em(at)):qN(at)?rv(at):ks(at)?!!at.body:hi(at)||q2(at)}function Ki(at,Bt,ce){const _t=Bt.getSymbolAtLocation(at),ie=Bt.getShorthandAssignmentValueSymbol(_t.valueDeclaration);if(ie)for(const We of ie.getDeclarations())l7(We)&1&&ce(We)}e.getReferenceEntriesForShorthandPropertyAssignment=Ki;function Zo(at,Bt,ce){Xo(at,_t=>{_t.kind===Bt&&ce(_t),Zo(_t,Bt,ce)})}function Da(at){return bV(d7(at).parent)}function Pn(at,Bt,ce){const _t=ZD(at)?at.parent:void 0,ie=_t&&ce.getTypeAtLocation(_t.expression),We=Hi(ie&&(ie.isUnionOrIntersection()?ie.types:ie.symbol===Bt.parent?void 0:[ie]),it=>it.symbol&&it.symbol.flags&96?it.symbol:void 0);return We.length===0?void 0:We}function qo(at){return at.use===2&&at.providePrefixAndSuffixTextForRename}})(Ix||(Ix={}));var hC={};x(hC,{createDefinitionInfo:()=>t8,getDefinitionAndBoundSpan:()=>mit,getDefinitionAtPosition:()=>Oke,getReferenceAtPosition:()=>Fke,getTypeDefinitionAtPosition:()=>pit});function Oke(e,t,r,i,o){var s;const l=Fke(t,r,e),u=l&&[vit(l.reference.fileName,l.fileName,l.unverified)]||se;if(l!=null&&l.file)return u;const d=ap(t,r);if(d===t)return;const{parent:_}=d,m=e.getTypeChecker();if(d.kind===164||Je(d)&&D4(_)&&_.tagName===d){const k=cit(m,d);if(k!==void 0||d.kind!==164)return k||se}if(yO(d)){const k=u7(d.parent,d.text);return k?[Pfe(m,k,"label",d.text,void 0)]:void 0}switch(d.kind){case 90:if(!JM(d.parent))break;case 84:const k=Rn(d.parent,HM);if(k)return[yit(k,t)];break}let y;switch(d.kind){case 107:case 135:case 127:y=ks;const k=Rn(d,y);return k?[kfe(m,k)]:void 0}if(UI(d)&&Zl(d.parent)){const k=d.parent.parent,{symbol:F,failedAliasResolution:O}=aX(k,m,o),G=Fn(k.members,Zl),j=F?m.symbolToString(F,k):"",K=d.getSourceFile();return Gt(G,Q=>{let{pos:J}=t_(Q);return J=wa(K.text,J),Pfe(m,Q,"constructor","static {}",j,!1,O,{start:J,length:6})})}let{symbol:E,failedAliasResolution:A}=aX(d,m,o),R=d;if(i&&A){const k=Xe([d,...(E==null?void 0:E.declarations)||se],O=>Rn(O,$te)),F=k&&yI(k);F&&({symbol:E,failedAliasResolution:A}=aX(F,m,o),R=F)}if(!E&&R7(R)){const k=(s=e.getResolvedModuleFromModuleSpecifier(R,t))==null?void 0:s.resolvedModule;if(k)return[{name:R.text,fileName:k.resolvedFileName,containerName:void 0,containerKind:void 0,kind:"script",textSpan:Ad(0,0),failedAliasResolution:A,isAmbient:ad(k.resolvedFileName),unverified:R!==d}]}if(Ra(d)&&(vc(_)||nd(_))&&(E=_.symbol),!E)return co(u,hit(d,m));if(i&&Gn(E.declarations,k=>k.getSourceFile().fileName===t.fileName))return;const N=Tit(m,d);if(N&&!(ru(d.parent)&&Sit(N))){const k=kfe(m,N,A);let F=G=>G!==N;if(m.getRootSymbols(E).some(G=>lit(G,N))){if(!kl(N))return[k];F=G=>G!==N&&(xc(G)||uc(G))}const O=YP(m,E,d,A,F)||se;return d.kind===108?[k,...O]:[...O,k]}if(d.parent.kind===305){const k=m.getShorthandAssignmentValueSymbol(E.valueDeclaration),F=k!=null&&k.declarations?k.declarations.map(O=>t8(O,m,k,d,!1,A)):se;return co(F,Wke(m,d))}if(yc(d)&&qa(_)&&mf(_.parent)&&d===(_.propertyName||_.name)){const k=IO(d),F=m.getTypeAtLocation(_.parent);return k===void 0?se:Wi(F.isUnion()?F.types:[F],O=>{const G=O.getProperty(k);return G&&YP(m,G,d)})}const M=Wke(m,d);return co(u,M.length?M:YP(m,E,d,A))}function lit(e,t){var r;return e===t.symbol||e===t.symbol.parent||id(t.parent)||!gS(t.parent)&&e===((r=ii(t.parent,ah))==null?void 0:r.symbol)}function Wke(e,t){const r=UO(t);if(r){const i=r&&e.getContextualType(r.parent);if(i)return Wi(uz(r,e,i,!1),o=>YP(e,o,t))}return se}function cit(e,t){const r=Rn(t,vc);if(!(r&&r.name))return;const i=Rn(r,hi);if(!i)return;const o=lh(i);if(!o)return;const s=us(o.expression),l=uc(s)?s.symbol:e.getSymbolAtLocation(s);if(!l)return;const u=Lc(r)?e.getTypeOfSymbol(l):e.getDeclaredTypeOfSymbol(l);let d;if(Ea(r.name)){const _=e.getSymbolAtLocation(r.name);if(!_)return;lM(_)?d=_n(e.getPropertiesOfType(u),m=>m.escapedName===_.escapedName):d=e.getPropertyOfType(u,Bi(_.escapedName))}else d=e.getPropertyOfType(u,Bi(_I(r.name)));if(d)return YP(e,d,t)}function Fke(e,t,r){var i,o;const s=n8(e.referencedFiles,t);if(s){const d=r.getSourceFileFromReference(e,s);return d&&{reference:s,fileName:d.fileName,file:d,unverified:!1}}const l=n8(e.typeReferenceDirectives,t);if(l){const d=(i=r.getResolvedTypeReferenceDirectiveFromTypeReferenceDirective(l,e))==null?void 0:i.resolvedTypeReferenceDirective,_=d&&r.getSourceFile(d.resolvedFileName);return _&&{reference:l,fileName:_.fileName,file:_,unverified:!1}}const u=n8(e.libReferenceDirectives,t);if(u){const d=r.getLibFileFromReference(u);return d&&{reference:u,fileName:d.fileName,file:d,unverified:!1}}if(e.imports.length||e.moduleAugmentations.length){const d=nC(e,t);let _;if(R7(d)&&td(d.text)&&(_=r.getResolvedModuleFromModuleSpecifier(d,e))){const m=(o=_.resolvedModule)==null?void 0:o.resolvedFileName,y=m||db(pi(e.fileName),d.text);return{file:r.getSourceFile(y),fileName:y,reference:{pos:d.getStart(),end:d.getEnd(),fileName:d.text},unverified:!m}}}}var zke=new Set(["Array","ArrayLike","ReadonlyArray","Promise","PromiseLike","Iterable","IterableIterator","AsyncIterable","Set","WeakSet","ReadonlySet","Map","WeakMap","ReadonlyMap","Partial","Required","Readonly","Pick","Omit"]);function dit(e,t){const r=t.symbol.name;if(!zke.has(r))return!1;const i=e.resolveName(r,void 0,788968,!1);return!!i&&i===t.target.symbol}function Bke(e,t){if(!t.aliasSymbol)return!1;const r=t.aliasSymbol.name;if(!zke.has(r))return!1;const i=e.resolveName(r,void 0,788968,!1);return!!i&&i===t.aliasSymbol}function uit(e,t,r,i){var o,s;if(qr(t)&4&&dit(e,t))return e8(e.getTypeArguments(t)[0],e,r,i);if(Bke(e,t)&&t.aliasTypeArguments)return e8(t.aliasTypeArguments[0],e,r,i);if(qr(t)&32&&t.target&&Bke(e,t.target)){const l=(s=(o=t.aliasSymbol)==null?void 0:o.declarations)==null?void 0:s[0];if(l&&Em(l)&&Bp(l.type)&&l.type.typeArguments)return e8(e.getTypeAtLocation(l.type.typeArguments[0]),e,r,i)}return[]}function pit(e,t,r){const i=ap(t,r);if(i===t)return;if(YR(i.parent)&&i.parent.name===i)return e8(e.getTypeAtLocation(i.parent),e,i.parent,!1);let{symbol:o,failedAliasResolution:s}=aX(i,e,!1);if(Ra(i)&&(vc(i.parent)||nd(i.parent))&&(o=i.parent.symbol,s=!1),!o)return;const l=e.getTypeOfSymbolAtLocation(o,i),u=fit(o,l,e),d=u&&e8(u,e,i,s),[_,m]=d&&d.length!==0?[u,d]:[l,e8(l,e,i,s)];return m.length?[...uit(e,_,i,s),...m]:!(o.flags&111551)&&o.flags&788968?YP(e,Id(o,e),i,s):void 0}function e8(e,t,r,i){return Wi(e.isUnion()&&!(e.flags&32)?e.types:[e],o=>o.symbol&&YP(t,o.symbol,r,i))}function fit(e,t,r){if(t.symbol===e||e.valueDeclaration&&t.symbol&&bi(e.valueDeclaration)&&e.valueDeclaration.initializer===t.symbol.valueDeclaration){const i=t.getCallSignatures();if(i.length===1)return r.getReturnTypeOfSignature(Qa(i))}}function mit(e,t,r){const i=Oke(e,t,r);if(!i||i.length===0)return;const o=n8(t.referencedFiles,r)||n8(t.typeReferenceDirectives,r)||n8(t.libReferenceDirectives,r);if(o)return{definitions:i,textSpan:bv(o)};const s=ap(t,r),l=Ad(s.getStart(),s.getWidth());return{definitions:i,textSpan:l}}function hit(e,t){return Hi(t.getIndexInfosAtLocation(e),r=>r.declaration&&kfe(t,r.declaration))}function aX(e,t,r){const i=t.getSymbolAtLocation(e);let o=!1;if(i!=null&&i.declarations&&i.flags&2097152&&!r&&_it(e,i.declarations[0])){const s=t.getAliasedSymbol(i);if(s.declarations)return{symbol:s};o=!0}return{symbol:i,failedAliasResolution:o}}function _it(e,t){return e.kind!==80&&(e.kind!==11||!hb(e.parent))?!1:e.parent===t?!0:t.kind!==275}function git(e){if(!QN(e))return!1;const t=Rn(e,r=>id(r)?!0:QN(r)?!1:"quit");return!!t&&ac(t)===5}function YP(e,t,r,i,o){const s=o!==void 0?Fn(t.declarations,o):t.declarations,l=!o&&(_()||m());if(l)return l;const u=Fn(s,E=>!git(E)),d=bt(u)?u:s;return Gt(d,E=>t8(E,e,t,r,!1,i));function _(){if(t.flags&32&&!(t.flags&19)&&(xP(r)||r.kind===137)){const E=_n(s,hi);return E&&y(E.members,!0)}}function m(){return Mq(r)||Fq(r)?y(s,!1):void 0}function y(E,A){if(!E)return;const R=E.filter(A?kl:Yo),N=R.filter(M=>!!M.body);return R.length?N.length!==0?N.map(M=>t8(M,e,t,r)):[t8(Ga(R),e,t,r,!1,i)]:void 0}}function t8(e,t,r,i,o,s){const l=t.symbolToString(r),u=Ev.getSymbolKind(t,r,i),d=r.parent?t.symbolToString(r.parent,i):"";return Pfe(t,e,u,l,d,o,s)}function Pfe(e,t,r,i,o,s,l,u){const d=t.getSourceFile();if(!u){const _=Fo(t)||t;u=Vu(_,d)}return{fileName:d.fileName,textSpan:u,kind:r,name:i,containerKind:void 0,containerName:o,...el.toContextSpan(u,d,el.getContextNode(t)),isLocal:!Lfe(e,t),isAmbient:!!(t.flags&33554432),unverified:s,failedAliasResolution:l}}function yit(e,t){const r=el.getContextNode(e),i=Vu(Cfe(r)?r.start:r,t);return{fileName:t.fileName,textSpan:i,kind:"keyword",name:"switch",containerKind:void 0,containerName:"",...el.toContextSpan(i,t,r),isLocal:!0,isAmbient:!1,unverified:!1,failedAliasResolution:void 0}}function Lfe(e,t){if(e.isDeclarationVisible(t))return!0;if(!t.parent)return!1;if(rv(t.parent)&&t.parent.initializer===t)return Lfe(e,t.parent);switch(t.kind){case 173:case 178:case 179:case 175:if(Fp(t,2))return!1;case 177:case 304:case 305:case 211:case 232:case 220:case 219:return Lfe(e,t.parent);default:return!1}}function kfe(e,t,r){return t8(t,e,t.symbol,t,!1,r)}function n8(e,t){return _n(e,r=>M2(r,t))}function vit(e,t,r){return{fileName:t,textSpan:oc(0,0),kind:"script",name:e,containerName:void 0,containerKind:void 0,unverified:r}}function bit(e){const t=Rn(e,i=>!ZD(i)),r=t==null?void 0:t.parent;return r&&gS(r)&&e6(r)===t?r:void 0}function Tit(e,t){const r=bit(t),i=r&&e.getResolvedSignature(r);return ii(i&&i.declaration,o=>Yo(o)&&!G_(o))}function Sit(e){switch(e.kind){case 177:case 186:case 180:case 181:return!0;default:return!1}}var sX={};x(sX,{provideInlayHints:()=>xit});var Eit=e=>new RegExp("^\\s?/\\*\\*?\\s?".concat(e,"\\s?\\*\\/\\s?$"));function Ait(e){return e.includeInlayParameterNameHints==="literals"||e.includeInlayParameterNameHints==="all"}function Iit(e){return e.includeInlayParameterNameHints==="literals"}function wfe(e){return e.interactiveInlayHints===!0}function xit(e){const{file:t,program:r,span:i,cancellationToken:o,preferences:s}=e,l=t.text,u=r.getCompilerOptions(),d=Up(t,s),_=r.getTypeChecker(),m=[];return y(t),m;function y(be){if(!(!be||be.getFullWidth()===0)){switch(be.kind){case 268:case 264:case 265:case 263:case 232:case 219:case 175:case 220:o.throwIfCancellationRequested()}if(P2(i,be.pos,be.getFullWidth())&&!(xi(be)&&!hy(be)))return s.includeInlayVariableTypeHints&&bi(be)||s.includeInlayPropertyDeclarationTypeHints&&ko(be)?F(be):s.includeInlayEnumMemberValueHints&&gy(be)?M(be):Ait(s)&&(ra(be)||GS(be))?O(be):(s.includeInlayFunctionParameterTypeHints&&ks(be)&&t4(be)&&he(be),s.includeInlayFunctionLikeReturnTypeHints&&E(be)&&Q(be)),Xo(be,y)}}function E(be){return Zs(be)||Ks(be)||ec(be)||Ll(be)||qf(be)}function A(be,ee,Se,Ne){let ze="".concat(Ne?"...":"").concat(be),lt;wfe(s)?(lt=[je(ze,ee),{text:":"}],ze=""):ze+=":",m.push({text:ze,position:Se,kind:"Parameter",whitespaceAfter:!0,displayParts:lt})}function R(be,ee){m.push({text:typeof be=="string"?": ".concat(be):"",displayParts:typeof be=="string"?void 0:[{text:": "},...be],position:ee,kind:"Type",whitespaceBefore:!0})}function N(be,ee){m.push({text:"= ".concat(be),position:ee,kind:"Enum",whitespaceBefore:!0})}function M(be){if(be.initializer)return;const ee=_.getConstantValue(be);ee!==void 0&&N(ee.toString(),be.end)}function k(be){return be.symbol&&be.symbol.flags&1536}function F(be){if(be.initializer===void 0&&!(ko(be)&&!(_.getTypeAtLocation(be).flags&1))||na(be.name)||bi(be)&&!ve(be)||Ac(be))return;const Se=_.getTypeAtLocation(be);if(k(Se))return;const Ne=ge(Se);if(Ne){const ze=typeof Ne=="string"?Ne:Ne.map(le=>le.text).join("");if(s.includeInlayVariableTypeHintsWhenTypeMatchesName===!1&&sb(be.name.getText(),ze))return;R(Ne,be.name.end)}}function O(be){const ee=be.arguments;if(!ee||!ee.length)return;const Se=_.getResolvedSignature(be);if(Se===void 0)return;let Ne=0;for(const ze of ee){const lt=us(ze);if(Iit(s)&&!K(lt)){Ne++;continue}let le=0;if(Jf(lt)){const _e=_.getTypeAtLocation(lt.expression);if(_.isTupleType(_e)){const{elementFlags:Ve,fixedLength:Ge}=_e.target;if(Ge===0)continue;const Be=lo(Ve,Ot=>!(Ot&1));(Be<0?Ge:Be)>0&&(le=Be<0?Ge:Be)}}const De=_.getParameterIdentifierInfoAtPosition(Se,Ne);if(Ne=Ne+(le||1),De){const{parameter:_e,parameterName:Ve,isRestParameter:Ge}=De;if(!(s.includeInlayParameterNameHintsWhenArgumentMatchesName||!G(lt,Ve))&&!Ge)continue;const ot=Bi(Ve);if(j(lt,ot))continue;A(ot,_e,ze.getStart(),Ge)}}}function G(be,ee){return Je(be)?be.text===ee:Jr(be)?be.name.text===ee:!1}function j(be,ee){if(!_p(ee,Va(u),Uk(t.scriptKind)))return!1;const Se=pg(l,be.pos);if(!(Se!=null&&Se.length))return!1;const Ne=Eit(ee);return bt(Se,ze=>Ne.test(l.substring(ze.pos,ze.end)))}function K(be){switch(be.kind){case 225:{const ee=be.operand;return YE(ee)||Je(ee)&&MM(ee.escapedText)}case 112:case 97:case 106:case 15:case 229:return!0;case 80:{const ee=be.escapedText;return $(ee)||MM(ee)}}return YE(be)}function Q(be){if(Zs(be)&&!Rs(be,21,t)||Wp(be)||!be.body)return;const Se=_.getSignatureFromDeclaration(be);if(!Se)return;const Ne=_.getTypePredicateOfSignature(Se);if(Ne!=null&&Ne.type){const le=Ae(Ne);if(le){R(le,J(be));return}}const ze=_.getReturnTypeOfSignature(Se);if(k(ze))return;const lt=ge(ze);lt&&R(lt,J(be))}function J(be){const ee=Rs(be,22,t);return ee?ee.end:be.parameters.end}function he(be){const ee=_.getSignatureFromDeclaration(be);if(!ee)return;let Se=0;for(const Ne of be.parameters)ve(Ne)&&re(Ne,xb(Ne)?ee.thisParameter:ee.parameters[Se]),!xb(Ne)&&Se++}function re(be,ee){if(Ac(be)||ee===void 0)return;const Ne=q(ee);Ne!==void 0&&R(Ne,be.questionToken?be.questionToken.end:be.name.end)}function q(be){const ee=be.valueDeclaration;if(!ee||!no(ee))return;const Se=_.getTypeOfSymbolAtLocation(be,ee);if(!k(Se))return ge(Se)}function ue(be){const Se=YS();return HR(Ne=>{const ze=_.typeToTypeNode(be,void 0,71286784);C.assertIsDefined(ze,"should always get typenode"),Se.writeNode(4,ze,t,Ne)})}function de(be){const Se=YS();return HR(Ne=>{const ze=_.typePredicateToTypePredicateNode(be,void 0,71286784);C.assertIsDefined(ze,"should always get typePredicateNode"),Se.writeNode(4,ze,t,Ne)})}function ge(be){if(!wfe(s))return ue(be);const Se=_.typeToTypeNode(be,void 0,71286784);return C.assertIsDefined(Se,"should always get typeNode"),Re(Se)}function Ae(be){if(!wfe(s))return de(be);const Se=_.typePredicateToTypePredicateNode(be,void 0,71286784);return C.assertIsDefined(Se,"should always get typenode"),Re(Se)}function Re(be){const ee=[];return Se(be),ee;function Se(le){var De,_e;if(!le)return;const Ve=Ta(le.kind);if(Ve){ee.push({text:Ve});return}if(YE(le)){ee.push({text:lt(le)});return}switch(le.kind){case 80:C.assertNode(le,Je);const Ge=Yr(le),Be=le.symbol&&le.symbol.declarations&&le.symbol.declarations.length&&Fo(le.symbol.declarations[0]);Be?ee.push(je(Ge,Be)):ee.push({text:Ge});break;case 167:C.assertNode(le,Wu),Se(le.left),ee.push({text:"."}),Se(le.right);break;case 183:C.assertNode(le,qI),le.assertsModifier&&ee.push({text:"asserts "}),Se(le.parameterName),le.type&&(ee.push({text:" is "}),Se(le.type));break;case 184:C.assertNode(le,Bp),Se(le.typeName),le.typeArguments&&(ee.push({text:"<"}),ze(le.typeArguments,", "),ee.push({text:">"}));break;case 169:C.assertNode(le,pl),le.modifiers&&ze(le.modifiers," "),Se(le.name),le.constraint&&(ee.push({text:" extends "}),Se(le.constraint)),le.default&&(ee.push({text:" = "}),Se(le.default));break;case 170:C.assertNode(le,no),le.modifiers&&ze(le.modifiers," "),le.dotDotDotToken&&ee.push({text:"..."}),Se(le.name),le.questionToken&&ee.push({text:"?"}),le.type&&(ee.push({text:": "}),Se(le.type));break;case 186:C.assertNode(le,TD),ee.push({text:"new "}),Ne(le),ee.push({text:" => "}),Se(le.type);break;case 187:C.assertNode(le,FS),ee.push({text:"typeof "}),Se(le.exprName),le.typeArguments&&(ee.push({text:"<"}),ze(le.typeArguments,", "),ee.push({text:">"}));break;case 188:C.assertNode(le,Fu),ee.push({text:"{"}),le.members.length&&(ee.push({text:" "}),ze(le.members,"; "),ee.push({text:" "})),ee.push({text:"}"});break;case 189:C.assertNode(le,_w),Se(le.elementType),ee.push({text:"[]"});break;case 190:C.assertNode(le,JI),ee.push({text:"["}),ze(le.elements,", "),ee.push({text:"]"});break;case 203:C.assertNode(le,SD),le.dotDotDotToken&&ee.push({text:"..."}),Se(le.name),le.questionToken&&ee.push({text:"?"}),ee.push({text:": "}),Se(le.type);break;case 191:C.assertNode(le,b4),Se(le.type),ee.push({text:"?"});break;case 192:C.assertNode(le,T4),ee.push({text:"..."}),Se(le.type);break;case 193:C.assertNode(le,mv),ze(le.types," | ");break;case 194:C.assertNode(le,KI),ze(le.types," & ");break;case 195:C.assertNode(le,zS),Se(le.checkType),ee.push({text:" extends "}),Se(le.extendsType),ee.push({text:" ? "}),Se(le.trueType),ee.push({text:" : "}),Se(le.falseType);break;case 196:C.assertNode(le,v1),ee.push({text:"infer "}),Se(le.typeParameter);break;case 197:C.assertNode(le,b1),ee.push({text:"("}),Se(le.type),ee.push({text:")"});break;case 199:C.assertNode(le,X0),ee.push({text:"".concat(Ta(le.operator)," ")}),Se(le.type);break;case 200:C.assertNode(le,BS),Se(le.objectType),ee.push({text:"["}),Se(le.indexType),ee.push({text:"]"});break;case 201:C.assertNode(le,T1),ee.push({text:"{ "}),le.readonlyToken&&(le.readonlyToken.kind===40?ee.push({text:"+"}):le.readonlyToken.kind===41&&ee.push({text:"-"}),ee.push({text:"readonly "})),ee.push({text:"["}),Se(le.typeParameter),le.nameType&&(ee.push({text:" as "}),Se(le.nameType)),ee.push({text:"]"}),le.questionToken&&(le.questionToken.kind===40?ee.push({text:"+"}):le.questionToken.kind===41&&ee.push({text:"-"}),ee.push({text:"?"})),ee.push({text:": "}),le.type&&Se(le.type),ee.push({text:"; }"});break;case 202:C.assertNode(le,hv),Se(le.literal);break;case 185:C.assertNode(le,G_),Ne(le),ee.push({text:" => "}),Se(le.type);break;case 206:C.assertNode(le,o_),le.isTypeOf&&ee.push({text:"typeof "}),ee.push({text:"import("}),Se(le.argument),le.assertions&&(ee.push({text:", { assert: "}),ze(le.assertions.assertClause.elements,", "),ee.push({text:" }"})),ee.push({text:")"}),le.qualifier&&(ee.push({text:"."}),Se(le.qualifier)),le.typeArguments&&(ee.push({text:"<"}),ze(le.typeArguments,", "),ee.push({text:">"}));break;case 172:C.assertNode(le,Eu),(De=le.modifiers)!=null&&De.length&&(ze(le.modifiers," "),ee.push({text:" "})),Se(le.name),le.questionToken&&ee.push({text:"?"}),le.type&&(ee.push({text:": "}),Se(le.type));break;case 182:C.assertNode(le,wb),ee.push({text:"["}),ze(le.parameters,", "),ee.push({text:"]"}),le.type&&(ee.push({text:": "}),Se(le.type));break;case 174:C.assertNode(le,Um),(_e=le.modifiers)!=null&&_e.length&&(ze(le.modifiers," "),ee.push({text:" "})),Se(le.name),le.questionToken&&ee.push({text:"?"}),Ne(le),le.type&&(ee.push({text:": "}),Se(le.type));break;case 180:C.assertNode(le,HI),Ne(le),le.type&&(ee.push({text:": "}),Se(le.type));break;case 181:C.assertNode(le,VM),ee.push({text:"new "}),Ne(le),le.type&&(ee.push({text:": "}),Se(le.type));break;case 208:C.assertNode(le,_v),ee.push({text:"["}),ze(le.elements,", "),ee.push({text:"]"});break;case 207:C.assertNode(le,mf),ee.push({text:"{"}),le.elements.length&&(ee.push({text:" "}),ze(le.elements,", "),ee.push({text:" "})),ee.push({text:"}"});break;case 209:C.assertNode(le,qa),Se(le.name);break;case 225:C.assertNode(le,$0),ee.push({text:Ta(le.operator)}),Se(le.operand);break;case 204:C.assertNode(le,kie),Se(le.head),le.templateSpans.forEach(Se);break;case 16:C.assertNode(le,VI),ee.push({text:lt(le)});break;case 205:C.assertNode(le,Rj),Se(le.type),Se(le.literal);break;case 17:C.assertNode(le,Sj),ee.push({text:lt(le)});break;case 18:C.assertNode(le,_4),ee.push({text:lt(le)});break;case 198:C.assertNode(le,jM),ee.push({text:"this"});break;case 168:C.assertNode(le,Ea),ee.push({text:"["}),Se(le.expression),ee.push({text:"]"});break;default:C.failBadSyntaxKind(le)}}function Ne(le){le.typeParameters&&(ee.push({text:"<"}),ze(le.typeParameters,", "),ee.push({text:">"})),ee.push({text:"("}),ze(le.parameters,", "),ee.push({text:")"})}function ze(le,De){le.forEach((_e,Ve)=>{Ve>0&&ee.push({text:De}),Se(_e)})}function lt(le){var De;switch(le.kind){case 11:return d===0?"'".concat(B_(le.text,39),"'"):'"'.concat(B_(le.text,34),'"');case 16:case 17:case 18:{const _e=(De=le.rawText)!=null?De:oV(B_(le.text,96));switch(le.kind){case 16:return"`"+_e+"${";case 17:return"}"+_e+"${";case 18:return"}"+_e+"`"}}}return le.text}}function $(be){return be==="undefined"}function ve(be){if((U0(be)||bi(be)&&XR(be))&&be.initializer){const ee=us(be.initializer);return!(K(ee)||GS(ee)||za(ee)||yS(ee))}return!0}function je(be,ee){const Se=ee.getSourceFile();return{text:be,span:Vu(ee,Se),file:Se.fileName}}}var vT={};x(vT,{getDocCommentTemplateAtPosition:()=>Wit,getJSDocParameterNameCompletionDetails:()=>Oit,getJSDocParameterNameCompletions:()=>wit,getJSDocTagCompletionDetails:()=>Jke,getJSDocTagCompletions:()=>kit,getJSDocTagNameCompletionDetails:()=>Lit,getJSDocTagNameCompletions:()=>Pit,getJsDocCommentsFromDeclarations:()=>Rit,getJsDocTagsFromDeclarations:()=>Nit});var Gke=["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","import","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"],Vke,jke;function Rit(e,t){const r=[];return cJ(e,i=>{for(const o of Cit(i)){const s=mh(o)&&o.tags&&_n(o.tags,u=>u.kind===328&&(u.tagName.escapedText==="inheritDoc"||u.tagName.escapedText==="inheritdoc"));if(o.comment===void 0&&!s||mh(o)&&i.kind!==347&&i.kind!==339&&o.tags&&o.tags.some(u=>u.kind===347||u.kind===339)&&!o.tags.some(u=>u.kind===342||u.kind===343))continue;let l=o.comment?_C(o.comment,t):[];s&&s.comment&&(l=l.concat(_C(s.comment,t))),Vn(r,l,Dit)||r.push(l)}}),Qo(ho(r,[aC()]))}function Dit(e,t){return ef(e,t,(r,i)=>r.kind===i.kind&&r.text===i.text)}function Cit(e){switch(e.kind){case 342:case 349:return[e];case 339:case 347:return[e,e.parent];case 324:if(MD(e.parent))return[e.parent.parent];default:return UG(e)}}function Nit(e,t){const r=[];return cJ(e,i=>{const o=w0(i);if(!(o.some(s=>s.kind===347||s.kind===339)&&!o.some(s=>s.kind===342||s.kind===343)))for(const s of o)r.push({name:s.tagName.text,text:qke(s,t)}),r.push(...Uke(Hke(s),t))}),r}function Uke(e,t){return Wi(e,r=>co([{name:r.tagName.text,text:qke(r,t)}],Uke(Hke(r),t)))}function Hke(e){return ON(e)&&e.isNameFirst&&e.typeExpression&&R1(e.typeExpression.type)?e.typeExpression.type.jsDocPropertyTags:void 0}function _C(e,t){return typeof e=="string"?[vf(e)]:Wi(e,r=>r.kind===322?[vf(r.text)]:vce(r,t))}function qke(e,t){const{comment:r,kind:i}=e,o=Mit(i);switch(i){case 350:const u=e.typeExpression;return u?s(u):r===void 0?void 0:_C(r,t);case 330:return s(e.class);case 329:return s(e.class);case 346:const d=e,_=[];if(d.constraint&&_.push(vf(d.constraint.getText())),et(d.typeParameters)){et(_)&&_.push(Bl());const y=d.typeParameters[d.typeParameters.length-1];Xe(d.typeParameters,E=>{_.push(o(E.getText())),y!==E&&_.push(lu(28),Bl())})}return r&&_.push(Bl(),..._C(r,t)),_;case 345:case 351:return s(e.typeExpression);case 347:case 339:case 349:case 342:case 348:const{name:m}=e;return m?s(m):r===void 0?void 0:_C(r,t);default:return r===void 0?void 0:_C(r,t)}function s(u){return l(u.getText())}function l(u){return r?u.match(/^https?$/)?[vf(u),..._C(r,t)]:[o(u),Bl(),..._C(r,t)]:[vf(u)]}}function Mit(e){switch(e){case 342:return mce;case 349:return hce;case 346:return gce;case 347:case 339:return _ce;default:return vf}}function Pit(){return Vke||(Vke=Gt(Gke,e=>({name:e,kind:"keyword",kindModifiers:"",sortText:Ax.SortText.LocationPriority})))}var Lit=Jke;function kit(){return jke||(jke=Gt(Gke,e=>({name:"@".concat(e),kind:"keyword",kindModifiers:"",sortText:Ax.SortText.LocationPriority})))}function Jke(e){return{name:e,kind:"",kindModifiers:"",displayParts:[vf(e)],documentation:se,tags:void 0,codeActions:void 0}}function wit(e){if(!Je(e.name))return se;const t=e.name.text,r=e.parent,i=r.parent;return Yo(i)?Hi(i.parameters,o=>{if(!Je(o.name))return;const s=o.name.text;if(!(r.tags.some(l=>l!==e&&hf(l)&&Je(l.name)&&l.name.escapedText===s)||t!==void 0&&!fo(s,t)))return{name:s,kind:"parameter",kindModifiers:"",sortText:Ax.SortText.LocationPriority}}):[]}function Oit(e){return{name:e,kind:"parameter",kindModifiers:"",displayParts:[vf(e)],documentation:se,tags:void 0,codeActions:void 0}}function Wit(e,t,r,i){const o=Fi(t,r),s=Rn(o,mh);if(s&&(s.comment!==void 0||et(s.tags)))return;const l=o.getStart(t);if(!s&&l<r)return;const u=Git(o,i);if(!u)return;const{commentOwner:d,parameters:_,hasReturn:m}=u,y=nf(d)&&d.jsDoc?d.jsDoc:void 0,E=rl(y);if(d.getStart(t)<r||E&&s&&E!==s)return;const A=Fit(t,r),R=Ig(t.fileName),N=(_?zit(_||[],R,A,e):"")+(m?Bit(A,e):""),M="/**",k=" */",F=et(w0(d))>0;if(N&&!F){const O=M+e+A+" * ",G=l===r?e+A:"";return{newText:O+e+N+A+k+G,caretOffset:O.length}}return{newText:M+k,caretOffset:3}}function Fit(e,t){const{text:r}=e,i=Rm(t,e);let o=i;for(;o<=t&&Hh(r.charCodeAt(o));o++);return r.slice(i,o)}function zit(e,t,r,i){return e.map(({name:o,dotDotDotToken:s},l)=>{const u=o.kind===80?o.text:"param"+l,d=t?s?"{...any} ":"{any} ":"";return"".concat(r," * @param ").concat(d).concat(u).concat(i)}).join("")}function Bit(e,t){return"".concat(e," * @returns").concat(t)}function Git(e,t){return zte(e,r=>Ofe(r,t))}function Ofe(e,t){switch(e.kind){case 263:case 219:case 175:case 177:case 174:case 220:const r=e;return{commentOwner:e,parameters:r.parameters,hasReturn:Rz(r,t)};case 304:return Ofe(e.initializer,t);case 264:case 265:case 267:case 307:case 266:return{commentOwner:e};case 172:{const o=e;return o.type&&G_(o.type)?{commentOwner:e,parameters:o.type.parameters,hasReturn:Rz(o.type,t)}:{commentOwner:e}}case 244:{const s=e.declarationList.declarations,l=s.length===1&&s[0].initializer?Vit(s[0].initializer):void 0;return l?{commentOwner:e,parameters:l.parameters,hasReturn:Rz(l,t)}:{commentOwner:e}}case 308:return"quit";case 268:return e.parent.kind===268?void 0:{commentOwner:e};case 245:return Ofe(e.expression,t);case 227:{const o=e;return ac(o)===0?"quit":Yo(o.right)?{commentOwner:e,parameters:o.right.parameters,hasReturn:Rz(o.right,t)}:{commentOwner:e}}case 173:const i=e.initializer;if(i&&(Ks(i)||Zs(i)))return{commentOwner:e,parameters:i.parameters,hasReturn:Rz(i,t)}}}function Rz(e,t){return!!(t!=null&&t.generateReturnInDocTemplate)&&(G_(e)||Zs(e)&&Et(e.body)||ks(e)&&e.body&&ia(e.body)&&!!Eb(e.body,r=>r))}function Vit(e){for(;e.kind===218;)e=e.expression;switch(e.kind){case 219:case 220:return e;case 232:return _n(e.members,kl)}}var lX={};x(lX,{mapCode:()=>jit});function jit(e,t,r,i,o,s){return Ir.ChangeTracker.with({host:i,formatContext:o,preferences:s},l=>{const u=t.map(_=>Uit(e,_)),d=r&&Qo(r);for(const _ of u)Hit(e,l,_,d)})}function Uit(e,t){const r=[{parse:()=>nx("__mapcode_content_nodes.ts",t,e.languageVersion,!0,e.scriptKind),body:s=>s.statements},{parse:()=>nx("__mapcode_class_content_nodes.ts","class __class {\n".concat(t,"\n}"),e.languageVersion,!0,e.scriptKind),body:s=>s.statements[0].members}],i=[];for(const{parse:s,body:l}of r){const u=s(),d=l(u);if(d.length&&u.parseDiagnostics.length===0)return d;d.length&&i.push({sourceFile:u,body:d})}i.sort((s,l)=>s.sourceFile.parseDiagnostics.length-l.sourceFile.parseDiagnostics.length);const{body:o}=i[0];return o}function Hit(e,t,r,i){vc(r[0])||_S(r[0])?qit(e,t,r,i):Jit(e,t,r,i)}function qit(e,t,r,i){let o;if(!i||!i.length?o=_n(e.statements,Np(hi,gd)):o=Xe(i,l=>Rn(Fi(e,l.start),Np(hi,gd))),!o)return;const s=o.members.find(l=>r.some(u=>Dz(u,l)));if(s){const l=pa(o.members,u=>r.some(d=>Dz(d,u)));Xe(r,cX),t.replaceNodeRangeWithNodes(e,s,l,r);return}Xe(r,cX),t.insertNodesAfter(e,o.members[o.members.length-1],r)}function Jit(e,t,r,i){if(!(i!=null&&i.length)){t.insertNodesAtEndOfFile(e,r,!1);return}for(const s of i){const l=Rn(Fi(e,s.start),u=>Np(ia,Qi)(u)&&bt(u.statements,d=>r.some(_=>Dz(_,d))));if(l){const u=l.statements.find(d=>r.some(_=>Dz(_,d)));if(u){const d=pa(l.statements,_=>r.some(m=>Dz(m,_)));Xe(r,cX),t.replaceNodeRangeWithNodes(e,u,d,r);return}}}let o=e.statements;for(const s of i){const l=Rn(Fi(e,s.start),ia);if(l){o=l.statements;break}}Xe(r,cX),t.insertNodesAfter(e,o[o.length-1],r)}function Dz(e,t){var r,i,o,s,l,u;return e.kind!==t.kind?!1:e.kind===177?e.kind===t.kind:nd(e)&&nd(t)?e.name.getText()===t.name.getText():Q0(e)&&Q0(t)||Nj(e)&&Nj(t)?e.expression.getText()===t.expression.getText():Z0(e)&&Z0(t)?((r=e.initializer)==null?void 0:r.getText())===((i=t.initializer)==null?void 0:i.getText())&&((o=e.incrementor)==null?void 0:o.getText())===((s=t.incrementor)==null?void 0:s.getText())&&((l=e.condition)==null?void 0:l.getText())===((u=t.condition)==null?void 0:u.getText()):ZE(e)&&ZE(t)?e.expression.getText()===t.expression.getText()&&e.initializer.getText()===t.initializer.getText():Wb(e)&&Wb(t)?e.label.getText()===t.label.getText():e.getText()===t.getText()}function cX(e){Kke(e),e.parent=void 0}function Kke(e){e.pos=-1,e.end=-1,e.forEachChild(Kke)}var bT={};x(bT,{compareImportsOrRequireStatements:()=>Ufe,compareModuleSpecifiers:()=>pot,getImportDeclarationInsertionIndex:()=>lot,getImportSpecifierInsertionIndex:()=>cot,getNamedImportSpecifierComparerWithDetection:()=>sot,getOrganizeImportsStringComparerWithDetection:()=>aot,organizeImports:()=>Kit,testCoalesceExports:()=>uot,testCoalesceImports:()=>dot});function Kit(e,t,r,i,o,s){var O,G;const l=Ir.ChangeTracker.fromContext({host:r,formatContext:t,preferences:o}),u=s==="SortAndCombine"||s==="All",d=u,_=s==="RemoveUnused"||s==="All",m=e.statements.filter(Sl),y=Ffe(e,m),{comparersToTest:E,typeOrdersToTest:A}=Wfe(o),R=E[0],N={moduleSpecifierComparer:typeof o.organizeImportsIgnoreCase=="boolean"?R:void 0,namedImportComparer:typeof o.organizeImportsIgnoreCase=="boolean"?R:void 0,typeOrder:o.organizeImportsTypeOrder};if(typeof o.organizeImportsIgnoreCase!="boolean"&&({comparer:N.moduleSpecifierComparer}=$ke(y,E)),!N.typeOrder||typeof o.organizeImportsIgnoreCase!="boolean"){const j=Vfe(m,E,A);if(j){const{namedImportComparer:K,typeOrder:Q}=j;N.namedImportComparer=(O=N.namedImportComparer)!=null?O:K,N.typeOrder=(G=N.typeOrder)!=null?G:Q}}y.forEach(j=>k(j,N)),s!=="RemoveUnused"&&Yit(e).forEach(j=>F(j,N.namedImportComparer));for(const j of e.statements.filter(vu)){if(!j.body)continue;if(Ffe(e,j.body.statements.filter(Sl)).forEach(Q=>k(Q,N)),s!=="RemoveUnused"){const Q=j.body.statements.filter(fc);F(Q,N.namedImportComparer)}}return l.getChanges();function M(j,K){if(et(j)===0)return;Dr(j[0],1024);const Q=d?RR(j,re=>Cz(re.moduleSpecifier)):[j],J=u?Cp(Q,(re,q)=>{var ue;return Bfe(re[0].moduleSpecifier,q[0].moduleSpecifier,(ue=N.moduleSpecifierComparer)!=null?ue:R)}):Q,he=Wi(J,re=>Cz(re[0].moduleSpecifier)||re[0].moduleSpecifier===void 0?K(re):re);if(he.length===0)l.deleteNodes(e,j,{leadingTriviaOption:Ir.LeadingTriviaOption.Exclude,trailingTriviaOption:Ir.TrailingTriviaOption.Include},!0);else{const re={leadingTriviaOption:Ir.LeadingTriviaOption.Exclude,trailingTriviaOption:Ir.TrailingTriviaOption.Include,suffix:Ty(r,t.options)};l.replaceNodeWithNodes(e,j[0],he,re);const q=l.nodeHasTrailingComment(e,j[0],re);l.deleteNodes(e,j.slice(1),{trailingTriviaOption:Ir.TrailingTriviaOption.Include},q)}}function k(j,K){var ue,de,ge;const Q=(ue=K.moduleSpecifierComparer)!=null?ue:R,J=(de=K.namedImportComparer)!=null?de:R,he=(ge=K.typeOrder)!=null?ge:"last",re=i8({organizeImportsTypeOrder:he},J);M(j,Ae=>(_&&(Ae=$it(Ae,e,i)),d&&(Ae=Xke(Ae,Q,re,e)),u&&(Ae=Cp(Ae,(Re,$)=>Ufe(Re,$,Q))),Ae))}function F(j,K){const Q=i8(o,K);M(j,J=>Yke(J,Q))}}function Wfe(e){return{comparersToTest:typeof e.organizeImportsIgnoreCase=="boolean"?[jfe(e,e.organizeImportsIgnoreCase)]:[jfe(e,!0),jfe(e,!1)],typeOrdersToTest:e.organizeImportsTypeOrder?[e.organizeImportsTypeOrder]:["last","inline","first"]}}function Ffe(e,t){const r=fg(e.languageVersion,!1,e.languageVariant),i=[];let o=0;for(const s of t)i[o]&&Xit(e,s,r)&&o++,i[o]||(i[o]=[]),i[o].push(s);return i}function Xit(e,t,r){const i=t.getFullStart(),o=t.getStart();r.setText(e.text,i,o-i);let s=0;for(;r.getTokenStart()<o;)if(r.scan()===4&&(s++,s>=2))return!0;return!1}function Yit(e){const t=[],r=e.statements,i=et(r);let o=0,s=0;for(;o<i;)if(fc(r[o])){t[s]===void 0&&(t[s]=[]);const l=r[o];if(l.moduleSpecifier)t[s].push(l),o++;else{for(;o<i&&fc(r[o]);)t[s].push(r[o++]);s++}}else o++;return Wi(t,l=>Ffe(e,l))}function $it(e,t,r){const i=r.getTypeChecker(),o=r.getCompilerOptions(),s=i.getJsxNamespace(t),l=i.getJsxFragmentFactory(t),u=!!(t.transformFlags&2),d=[];for(const m of e){const{importClause:y,moduleSpecifier:E}=m;if(!y){d.push(m);continue}let{name:A,namedBindings:R}=y;if(A&&!_(A)&&(A=void 0),R)if(Cg(R))_(R.name)||(R=void 0);else{const N=R.elements.filter(M=>_(M.name));N.length<R.elements.length&&(R=N.length?L.updateNamedImports(R,N):void 0)}A||R?d.push(r8(m,A,R)):eot(t,E)&&(t.isDeclarationFile?d.push(L.createImportDeclaration(m.modifiers,void 0,E,void 0)):d.push(m))}return d;function _(m){return u&&(m.text===s||l&&m.text===l)&&RJ(o.jsx)||el.Core.isSymbolReferencedInFile(m,i,t)}}function Cz(e){return e!==void 0&&ds(e)?e.text:void 0}function Qit(e){let t;const r={defaultImports:[],namespaceImports:[],namedImports:[]},i={defaultImports:[],namespaceImports:[],namedImports:[]};for(const o of e){if(o.importClause===void 0){t=t||o;continue}const s=o.importClause.isTypeOnly?r:i,{name:l,namedBindings:u}=o.importClause;l&&s.defaultImports.push(o),u&&(Cg(u)?s.namespaceImports.push(o):s.namedImports.push(o))}return{importWithoutClause:t,typeOnlyImports:r,regularImports:i}}function Xke(e,t,r,i){if(e.length===0)return e;const o=YB(e,l=>{if(l.attributes){let u=l.attributes.token+" ";for(const d of Cp(l.attributes.elements,(_,m)=>Wd(_.name.text,m.name.text)))u+=d.name.text+":",u+=ds(d.value)?'"'.concat(d.value.text,'"'):d.value.getText()+" ";return u}return""}),s=[];for(const l in o){const u=o[l],{importWithoutClause:d,typeOnlyImports:_,regularImports:m}=Qit(u);d&&s.push(d);for(const y of[m,_]){const E=y===_,{defaultImports:A,namespaceImports:R,namedImports:N}=y;if(!E&&A.length===1&&R.length===1&&N.length===0){const J=A[0];s.push(r8(J,J.importClause.name,R[0].importClause.namedBindings));continue}const M=Cp(R,(J,he)=>t(J.importClause.namedBindings.name.text,he.importClause.namedBindings.name.text));for(const J of M)s.push(r8(J,void 0,J.importClause.namedBindings));const k=Sc(A),F=Sc(N),O=k!=null?k:F;if(!O)continue;let G;const j=[];if(A.length===1)G=A[0].importClause.name;else for(const J of A)j.push(L.createImportSpecifier(!1,L.createIdentifier("default"),J.importClause.name));j.push(...tot(N));const K=L.createNodeArray(Cp(j,r),F==null?void 0:F.importClause.namedBindings.elements.hasTrailingComma),Q=K.length===0?G?void 0:L.createNamedImports(se):F?L.updateNamedImports(F.importClause.namedBindings,K):L.createNamedImports(K);i&&Q&&(F!=null&&F.importClause.namedBindings)&&!f1(F.importClause.namedBindings,i)&&Dr(Q,2),E&&G&&Q?(s.push(r8(O,G,void 0)),s.push(r8(F!=null?F:O,void 0,Q))):s.push(r8(O,G,Q))}}return s}function Yke(e,t){if(e.length===0)return e;const{exportWithoutClause:r,namedExports:i,typeOnlyExports:o}=l(e),s=[];r&&s.push(r);for(const u of[i,o]){if(u.length===0)continue;const d=[];d.push(...Wi(u,y=>y.exportClause&&Kf(y.exportClause)?y.exportClause.elements:se));const _=Cp(d,t),m=u[0];s.push(L.updateExportDeclaration(m,m.modifiers,m.isTypeOnly,m.exportClause&&(Kf(m.exportClause)?L.updateNamedExports(m.exportClause,_):L.updateNamespaceExport(m.exportClause,m.exportClause.name)),m.moduleSpecifier,m.attributes))}return s;function l(u){let d;const _=[],m=[];for(const y of u)y.exportClause===void 0?d=d||y:y.isTypeOnly?m.push(y):_.push(y);return{exportWithoutClause:d,namedExports:_,typeOnlyExports:m}}}function r8(e,t,r){return L.updateImportDeclaration(e,e.modifiers,L.updateImportClause(e.importClause,e.importClause.phaseModifier,t,r),e.moduleSpecifier,e.attributes)}function zfe(e,t,r,i){switch(i==null?void 0:i.organizeImportsTypeOrder){case"first":return M0(t.isTypeOnly,e.isTypeOnly)||r(e.name.text,t.name.text);case"inline":return r(e.name.text,t.name.text);default:return M0(e.isTypeOnly,t.isTypeOnly)||r(e.name.text,t.name.text)}}function Bfe(e,t,r){const i=e===void 0?void 0:Cz(e),o=t===void 0?void 0:Cz(t);return M0(i===void 0,o===void 0)||M0(td(i),td(o))||r(i,o)}function Zit(e){return e.map(t=>Cz(Gfe(t))||"")}function Gfe(e){var t;switch(e.kind){case 272:return(t=ii(e.moduleReference,_y))==null?void 0:t.expression;case 273:return e.moduleSpecifier;case 244:return e.declarationList.declarations[0].initializer.arguments[0]}}function eot(e,t){const r=Oa(t)&&t.text;return jo(r)&&bt(e.moduleAugmentations,i=>Oa(i)&&i.text===r)}function tot(e){return Wi(e,t=>Gt(not(t),r=>r.name&&r.propertyName&&bS(r.name)===bS(r.propertyName)?L.updateImportSpecifier(r,r.isTypeOnly,void 0,r.name):r))}function not(e){var t;return(t=e.importClause)!=null&&t.namedBindings&&s_(e.importClause.namedBindings)?e.importClause.namedBindings.elements:void 0}function $ke(e,t){const r=[];return e.forEach(i=>{r.push(Zit(i))}),Zke(r,t)}function Vfe(e,t,r){var d;let i=!1;const o=e.filter(_=>{var m,y;const E=(y=ii((m=_.importClause)==null?void 0:m.namedBindings,s_))==null?void 0:y.elements;return E!=null&&E.length?(!i&&E.some(A=>A.isTypeOnly)&&E.some(A=>!A.isTypeOnly)&&(i=!0),!0):!1});if(o.length===0)return;const s=o.map(_=>{var m,y;return(y=ii((m=_.importClause)==null?void 0:m.namedBindings,s_))==null?void 0:y.elements}).filter(_=>_!==void 0);if(!i||r.length===0){const _=Zke(s.map(m=>m.map(y=>y.name.text)),t);return{namedImportComparer:_.comparer,typeOrder:r.length===1?r[0]:void 0,isSorted:_.isSorted}}const l={first:1/0,last:1/0,inline:1/0},u={first:t[0],last:t[0],inline:t[0]};for(const _ of t){const m={first:0,last:0,inline:0};for(const y of s)for(const E of r)m[E]=((d=m[E])!=null?d:0)+Qke(y,(A,R)=>zfe(A,R,_,{organizeImportsTypeOrder:E}));for(const y of r){const E=y;m[E]<l[E]&&(l[E]=m[E],u[E]=_)}}e:for(const _ of r){const m=_;for(const y of r)if(l[y]<l[m])continue e;return{namedImportComparer:u[m],typeOrder:m,isSorted:l[m]===0}}return{namedImportComparer:u.last,typeOrder:"last",isSorted:l.last===0}}function Qke(e,t){let r=0;for(let i=0;i<e.length-1;i++)t(e[i],e[i+1])>0&&r++;return r}function Zke(e,t){let r,i=1/0;for(const o of t){let s=0;for(const l of e){if(l.length<=1)continue;const u=Qke(l,o);s+=u}s<i&&(i=s,r=o)}return{comparer:r!=null?r:t[0],isSorted:i===0}}function rot(e,t){return Js(ewe(e),ewe(t))}function ewe(e){var t;switch(e.kind){case 273:return e.importClause?e.importClause.isTypeOnly?1:((t=e.importClause.namedBindings)==null?void 0:t.kind)===275?2:e.importClause.name?3:4:0;case 272:return 5;case 244:return 6}}function Nz(e){return e?sZ:Wd}function iot(e,t){var d,_,m;const r=oot(t),i=(d=t.organizeImportsCaseFirst)!=null?d:!1,o=(_=t.organizeImportsNumericCollation)!=null?_:!1,s=(m=t.organizeImportsAccentCollation)!=null?m:!0,l=e?s?"accent":"base":s?"variant":"case";return new Intl.Collator(r,{usage:"sort",caseFirst:i||"false",sensitivity:l,numeric:o}).compare}function oot(e){let t=e.organizeImportsLocale;t==="auto"&&(t=lZ()),t===void 0&&(t="en");const r=Intl.Collator.supportedLocalesOf(t);return r.length?r[0]:"en"}function jfe(e,t){var i;return((i=e.organizeImportsCollation)!=null?i:"ordinal")==="unicode"?iot(t,e):Nz(t)}function aot(e,t){return $ke([e],Wfe(t).comparersToTest)}function i8(e,t){const r=t!=null?t:Nz(!!e.organizeImportsIgnoreCase);return(i,o)=>zfe(i,o,r,e)}function sot(e,t,r){const{comparersToTest:i,typeOrdersToTest:o}=Wfe(t),s=Vfe([e],i,o);let l=i8(t,i[0]),u;if(typeof t.organizeImportsIgnoreCase!="boolean"||!t.organizeImportsTypeOrder){if(s){const{namedImportComparer:d,typeOrder:_,isSorted:m}=s;u=m,l=i8({organizeImportsTypeOrder:_},d)}else if(r){const d=Vfe(r.statements.filter(Sl),i,o);if(d){const{namedImportComparer:_,typeOrder:m,isSorted:y}=d;u=y,l=i8({organizeImportsTypeOrder:m},_)}}}return{specifierComparer:l,isSorted:u}}function lot(e,t,r){const i=rb(e,t,qs,(o,s)=>Ufe(o,s,r));return i<0?~i:i}function cot(e,t,r){const i=rb(e,t,qs,r);return i<0?~i:i}function Ufe(e,t,r){return Bfe(Gfe(e),Gfe(t),r)||rot(e,t)}function dot(e,t,r,i){const o=Nz(t),s=i8({organizeImportsTypeOrder:i==null?void 0:i.organizeImportsTypeOrder},o);return Xke(e,o,s,r)}function uot(e,t,r){return Yke(e,(o,s)=>{var l;return zfe(o,s,Nz(t),{organizeImportsTypeOrder:(l=r==null?void 0:r.organizeImportsTypeOrder)!=null?l:"last"})})}function pot(e,t,r){const i=Nz(!!r);return Bfe(e,t,i)}var dX={};x(dX,{collectElements:()=>fot});function fot(e,t){const r=[];return mot(e,t,r),hot(e,r),r.sort((i,o)=>i.textSpan.start-o.textSpan.start),r}function mot(e,t,r){let i=40,o=0;const s=e.statements,l=s.length;for(;o<l;){for(;o<l&&!hI(s[o]);)u(s[o]),o++;if(o===l)break;const d=o;for(;o<l&&hI(s[o]);)u(s[o]),o++;const _=o-1;_!==d&&r.push(Mz(Rs(s[d],102,e).getStart(e),s[_].getEnd(),"imports"))}u(e.endOfFileToken);function u(d){var _;if(i===0)return;t.throwIfCancellationRequested(),(rd(d)||sc(d)||rf(d)||qh(d)||d.kind===1)&&nwe(d,e,t,r),Yo(d)&&Nr(d.parent)&&Jr(d.parent.left)&&nwe(d.parent.left,e,t,r),(ia(d)||a_(d))&&Hfe(d.statements.end,e,t,r),(hi(d)||gd(d))&&Hfe(d.members.end,e,t,r);const m=got(d,e);m&&r.push(m),i--,ra(d)?(i++,u(d.expression),i--,d.arguments.forEach(u),(_=d.typeArguments)==null||_.forEach(u)):Q0(d)&&d.elseStatement&&Q0(d.elseStatement)?(u(d.expression),u(d.thenStatement),i++,u(d.elseStatement),i--):d.forEachChild(u),i++}}function hot(e,t){const r=[],i=e.getLineStarts();for(const o of i){const s=e.getLineEndOfPosition(o),l=e.text.substring(o,s),u=twe(l);if(!(!u||yv(e,o)))if(u.isStart){const d=oc(e.text.indexOf("//",o),s);r.push(xx(d,"region",d,!1,u.name||"#region"))}else{const d=r.pop();d&&(d.textSpan.length=s-d.textSpan.start,d.hintSpan.length=s-d.textSpan.start,t.push(d))}}}var _ot=/^#(end)?region(.*)\r?$/;function twe(e){if(e=e.trimStart(),!fo(e,"//"))return null;e=e.slice(2).trim();const t=_ot.exec(e);if(t)return{isStart:!t[1],name:t[2].trim()}}function Hfe(e,t,r,i){const o=pg(t.text,e);if(!o)return;let s=-1,l=-1,u=0;const d=t.getFullText();for(const{kind:m,pos:y,end:E}of o)switch(r.throwIfCancellationRequested(),m){case 2:const A=d.slice(y,E);if(twe(A)){_(),u=0;break}u===0&&(s=y),l=E,u++;break;case 3:_(),i.push(Mz(y,E,"comment")),u=0;break;default:C.assertNever(m)}_();function _(){u>1&&i.push(Mz(s,l,"comment"))}}function nwe(e,t,r,i){GI(e)||Hfe(e.pos,t,r,i)}function Mz(e,t,r){return xx(oc(e,t),r)}function got(e,t){switch(e.kind){case 242:if(Yo(e.parent))return yot(e.parent,e,t);switch(e.parent.kind){case 247:case 250:case 251:case 249:case 246:case 248:case 255:case 300:return m(e.parent);case 259:const A=e.parent;if(A.tryBlock===e)return m(e.parent);if(A.finallyBlock===e){const R=Rs(A,98,t);if(R)return m(R)}default:return xx(Vu(e,t),"code")}case 269:return m(e.parent);case 264:case 232:case 265:case 267:case 270:case 188:case 207:return m(e);case 190:return m(e,!1,!JI(e.parent),23);case 297:case 298:return y(e.statements);case 211:return _(e);case 210:return _(e,23);case 285:return s(e);case 289:return l(e);case 286:case 287:return u(e.attributes);case 229:case 15:return d(e);case 208:return m(e,!1,!qa(e.parent),23);case 220:return o(e);case 214:return i(e);case 218:return E(e);case 276:case 280:case 301:return r(e)}function r(A){if(!A.elements.length)return;const R=Rs(A,19,t),N=Rs(A,20,t);if(!(!R||!N||Vf(R.pos,N.pos,t)))return uX(R,N,A,t,!1,!1)}function i(A){if(!A.arguments.length)return;const R=Rs(A,21,t),N=Rs(A,22,t);if(!(!R||!N||Vf(R.pos,N.pos,t)))return uX(R,N,A,t,!1,!0)}function o(A){if(ia(A.body)||zu(A.body)||Vf(A.body.getFullStart(),A.body.getEnd(),t))return;const R=oc(A.body.getFullStart(),A.body.getEnd());return xx(R,"code",Vu(A))}function s(A){const R=oc(A.openingElement.getStart(t),A.closingElement.getEnd()),N=A.openingElement.tagName.getText(t),M="<"+N+">...</"+N+">";return xx(R,"code",R,!1,M)}function l(A){const R=oc(A.openingFragment.getStart(t),A.closingFragment.getEnd());return xx(R,"code",R,!1,"<>...</>")}function u(A){if(A.properties.length!==0)return Mz(A.getStart(t),A.getEnd(),"code")}function d(A){if(!(A.kind===15&&A.text.length===0))return Mz(A.getStart(t),A.getEnd(),"code")}function _(A,R=19){return m(A,!1,!Dd(A.parent)&&!ra(A.parent),R)}function m(A,R=!1,N=!0,M=19,k=M===19?20:24){const F=Rs(e,M,t),O=Rs(e,k,t);return F&&O&&uX(F,O,A,t,R,N)}function y(A){return A.length?xx(bv(A),"code"):void 0}function E(A){if(Vf(A.getStart(),A.getEnd(),t))return;const R=oc(A.getStart(),A.getEnd());return xx(R,"code",Vu(A))}}function yot(e,t,r){const i=vot(e,t,r),o=Rs(t,20,r);return i&&o&&uX(i,o,e,r,e.kind!==220)}function uX(e,t,r,i,o=!1,s=!0){const l=oc(s?e.getFullStart():e.getStart(i),t.getEnd());return xx(l,"code",Vu(r,i),o)}function xx(e,t,r=e,i=!1,o="..."){return{textSpan:e,kind:t,hintSpan:r,bannerText:o,autoCollapse:i}}function vot(e,t,r){if(lre(e.parameters,r)){const i=Rs(e,21,r);if(i)return i}return Rs(t,19,r)}var Pz={};x(Pz,{getRenameInfo:()=>bot,nodeIsEligibleForRename:()=>iwe});function bot(e,t,r,i){const o=g7(ap(t,r));if(iwe(o)){const s=Tot(o,e.getTypeChecker(),t,e,i);if(s)return s}return pX(f.You_cannot_rename_this_element)}function Tot(e,t,r,i,o){const s=t.getSymbolAtLocation(e);if(!s){if(ds(e)){const E=_7(e,t);if(E&&(E.flags&128||E.flags&1048576&&Gn(E.types,A=>!!(A.flags&128))))return qfe(e.text,e.text,"string","",e,r)}else if(kq(e)){const E=Rl(e);return qfe(E,E,"label","",e,r)}return}const{declarations:l}=s;if(!l||l.length===0)return;if(l.some(E=>Sot(i,E)))return pX(f.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);if(Je(e)&&e.escapedText==="default"&&s.parent&&s.parent.flags&1536)return;if(ds(e)&&Tk(e))return o.allowRenameOfImportPath?Aot(e,r,s):void 0;const u=Eot(r,s,t,o);if(u)return pX(u);const d=Ev.getSymbolKind(t,s,e),_=bce(e)||pf(e)&&e.parent.kind===168?bm(Bf(e)):void 0,m=_||t.symbolToString(s),y=_||t.getFullyQualifiedName(s);return qfe(m,y,d,Ev.getSymbolModifiers(t,s),e,r)}function Sot(e,t){const r=t.getSourceFile();return e.isSourceFileDefaultLibrary(r)&&xl(r.fileName,".d.ts")}function Eot(e,t,r,i){if(!i.providePrefixAndSuffixTextForRename&&t.flags&2097152){const l=t.declarations&&_n(t.declarations,u=>Au(u));l&&!l.propertyName&&(t=r.getAliasedSymbol(t))}const{declarations:o}=t;if(!o)return;const s=rwe(e.path);if(s===void 0)return bt(o,l=>PO(l.getSourceFile().path))?f.You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:void 0;for(const l of o){const u=rwe(l.getSourceFile().path);if(u){const d=Math.min(s.length,u.length);for(let _=0;_<=d;_++)if(Wd(s[_],u[_])!==0)return f.You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder}}}function rwe(e){const t=zd(e),r=t.lastIndexOf("node_modules");if(r!==-1)return t.slice(0,r+2)}function Aot(e,t,r){if(!td(e.text))return pX(f.You_cannot_rename_a_module_via_a_global_import);const i=r.declarations&&_n(r.declarations,Qi);if(!i)return;const o=il(e.text,"/index")||il(e.text,"/index.js")?void 0:uZ(Su(i.fileName),"/index"),s=o===void 0?i.fileName:o,l=o===void 0?"module":"directory",u=e.text.lastIndexOf("/")+1,d=Ad(e.getStart(t)+1+u,e.text.length-u);return{canRename:!0,fileToRename:s,kind:l,displayName:s,fullDisplayName:e.text,kindModifiers:"",triggerSpan:d}}function qfe(e,t,r,i,o,s){return{canRename:!0,fileToRename:void 0,kind:r,displayName:e,fullDisplayName:t,kindModifiers:i,triggerSpan:Iot(o,s)}}function pX(e){return{canRename:!1,localizedErrorMessage:Jo(e)}}function Iot(e,t){let r=e.getStart(t),i=e.getWidth(t);return ds(e)&&(r+=1,i-=2),Ad(r,i)}function iwe(e){switch(e.kind){case 80:case 81:case 11:case 15:case 110:return!0;case 9:return p7(e);default:return!1}}var o8={};x(o8,{getArgumentInfoForCompletions:()=>Not,getSignatureHelpItems:()=>xot});function xot(e,t,r,i,o){const s=e.getTypeChecker(),l=DP(t,r);if(!l)return;const u=!!i&&i.kind==="characterTyped";if(u&&(fx(t,r,l)||yv(t,r)))return;const d=!!i&&i.kind==="invoked",_=jot(l,r,t,s,d);if(!_)return;o.throwIfCancellationRequested();const m=Rot(_,s,t,l,u);return o.throwIfCancellationRequested(),m?s.runWithCancellationToken(o,y=>m.kind===0?pwe(m.candidates,m.resolvedSignature,_,t,y):Hot(m.symbol,_,t,y)):wu(t)?Cot(_,e,o):void 0}function Rot({invocation:e,argumentCount:t},r,i,o,s){switch(e.kind){case 0:{if(s&&!Dot(o,e.node,i))return;const l=[],u=r.getResolvedSignatureForSignatureHelp(e.node,l,t);return l.length===0?void 0:{kind:0,candidates:l,resolvedSignature:u}}case 1:{const{called:l}=e;if(s&&!owe(o,i,Je(l)?l.parent:l))return;const u=Uq(l,t,r);if(u.length!==0)return{kind:0,candidates:u,resolvedSignature:Qa(u)};const d=r.getSymbolAtLocation(l);return d&&{kind:1,symbol:d}}case 2:return{kind:0,candidates:[e.signature],resolvedSignature:e.signature};default:return C.assertNever(e)}}function Dot(e,t,r){if(!qh(t))return!1;const i=t.getChildren(r);switch(e.kind){case 21:return Vn(i,e);case 28:{const o=h7(e);return!!o&&Vn(i,o)}case 30:return owe(e,r,t.expression);default:return!1}}function Cot(e,t,r){if(e.invocation.kind===2)return;const i=dwe(e.invocation),o=Jr(i)?i.name.text:void 0,s=t.getTypeChecker();return o===void 0?void 0:Wn(t.getSourceFiles(),l=>Wn(l.getNamedDeclarations().get(o),u=>{const d=u.symbol&&s.getTypeOfSymbolAtLocation(u.symbol,u),_=d&&d.getCallSignatures();if(_&&_.length)return s.runWithCancellationToken(r,m=>pwe(_,_[0],e,l,m,!0))}))}function owe(e,t,r){const i=e.getFullStart();let o=e.parent;for(;o;){const s=Fc(i,t,o,!0);if(s)return rp(r,s);o=o.parent}return C.fail("Could not find preceding token")}function Not(e,t,r,i){const o=swe(e,t,r,i);return!o||o.isTypeParameterList||o.invocation.kind!==0?void 0:{invocation:o.invocation.node,argumentCount:o.argumentCount,argumentIndex:o.argumentIndex}}function awe(e,t,r,i){const o=Mot(e,r,i);if(!o)return;const{list:s,argumentIndex:l}=o,u=zot(i,s),d=Got(s,r);return{list:s,argumentIndex:l,argumentCount:u,argumentsSpan:d}}function Mot(e,t,r){if(e.kind===30||e.kind===21)return{list:Uot(e.parent,e,t),argumentIndex:0};{const i=h7(e);return i&&{list:i,argumentIndex:Fot(r,i,e)}}}function swe(e,t,r,i){const{parent:o}=e;if(qh(o)){const s=o,l=awe(e,t,r,i);if(!l)return;const{list:u,argumentIndex:d,argumentCount:_,argumentsSpan:m}=l;return{isTypeParameterList:!!o.typeArguments&&o.typeArguments.pos===u.pos,invocation:{kind:0,node:s},argumentsSpan:m,argumentIndex:d,argumentCount:_}}else{if(y1(e)&&Y0(o))return SO(e,t,r)?Kfe(o,0,r):void 0;if(VI(e)&&o.parent.kind===216){const s=o,l=s.parent;C.assert(s.kind===229);const u=SO(e,t,r)?0:1;return Kfe(l,u,r)}else if(xD(o)&&Y0(o.parent.parent)){const s=o,l=o.parent.parent;if(_4(e)&&!SO(e,t,r))return;const u=s.parent.templateSpans.indexOf(s),d=Bot(u,e,t,r);return Kfe(l,d,r)}else if(ru(o)){const s=o.attributes.pos,l=wa(r.text,o.attributes.end,!1);return{isTypeParameterList:!1,invocation:{kind:0,node:o},argumentsSpan:Ad(s,l-s),argumentIndex:0,argumentCount:1}}else{const s=Hq(e,r);if(s){const{called:l,nTypeArguments:u}=s,d={kind:1,called:l},_=oc(l.getStart(r),e.end);return{isTypeParameterList:!0,invocation:d,argumentsSpan:_,argumentIndex:u,argumentCount:u+1}}return}}}function Pot(e,t,r,i){return Lot(e,t,r,i)||swe(e,t,r,i)}function lwe(e){return Nr(e.parent)?lwe(e.parent):e}function Jfe(e){return Nr(e.left)?Jfe(e.left)+1:2}function Lot(e,t,r,i){const o=kot(e);if(o===void 0)return;const s=wot(o,r,t,i);if(s===void 0)return;const{contextualType:l,argumentIndex:u,argumentCount:d,argumentsSpan:_}=s,m=l.getNonNullableType(),y=m.symbol;if(y===void 0)return;const E=rl(m.getCallSignatures());return E===void 0?void 0:{isTypeParameterList:!1,invocation:{kind:2,signature:E,node:e,symbol:Oot(y)},argumentsSpan:_,argumentIndex:u,argumentCount:d}}function kot(e){switch(e.kind){case 21:case 28:return e;default:return Rn(e.parent,t=>no(t)?!0:qa(t)||mf(t)||_v(t)?!1:"quit")}}function wot(e,t,r,i){const{parent:o}=e;switch(o.kind){case 218:case 175:case 219:case 220:const s=awe(e,r,t,i);if(!s)return;const{argumentIndex:l,argumentCount:u,argumentsSpan:d}=s,_=Ll(o)?i.getContextualTypeForObjectLiteralElement(o):i.getContextualType(o);return _&&{contextualType:_,argumentIndex:l,argumentCount:u,argumentsSpan:d};case 227:{const m=lwe(o),y=i.getContextualType(m),E=e.kind===21?0:Jfe(o)-1,A=Jfe(m);return y&&{contextualType:y,argumentIndex:E,argumentCount:A,argumentsSpan:Vu(o)}}default:return}}function Oot(e){return e.name==="__type"&&Wn(e.declarations,t=>{var r;return G_(t)?(r=ii(t.parent,ah))==null?void 0:r.symbol:void 0})||e}function Wot(e,t){const r=t.getTypeAtLocation(e.expression);if(t.isTupleType(r)){const{elementFlags:i,fixedLength:o}=r.target;if(o===0)return 0;const s=lo(i,l=>!(l&1));return s<0?o:s}return 0}function Fot(e,t,r){return cwe(e,t,r)}function zot(e,t){return cwe(e,t,void 0)}function cwe(e,t,r){const i=t.getChildren();let o=0,s=!1;for(const l of i){if(r&&l===r)return!s&&l.kind===28&&o++,o;if(Jf(l)){o+=Wot(l,e),s=!0;continue}if(l.kind!==28){o++,s=!0;continue}if(s){s=!1;continue}o++}return r?o:i.length&&Ga(i).kind===28?o+1:o}function Bot(e,t,r,i){return C.assert(r>=t.getStart(),"Assumed 'position' could not occur before node."),hte(t)?SO(t,r,i)?0:e+2:e+1}function Kfe(e,t,r){const i=y1(e.template)?1:e.template.templateSpans.length+1;return t!==0&&C.assertLessThan(t,i),{isTypeParameterList:!1,invocation:{kind:0,node:e},argumentsSpan:Vot(e,r),argumentIndex:t,argumentCount:i}}function Got(e,t){const r=e.getFullStart(),i=wa(t.text,e.getEnd(),!1);return Ad(r,i-r)}function Vot(e,t){const r=e.template,i=r.getStart();let o=r.getEnd();return r.kind===229&&Ga(r.templateSpans).literal.getFullWidth()===0&&(o=wa(t.text,o,!1)),Ad(i,o-i)}function jot(e,t,r,i,o){for(let s=e;!Qi(s)&&(o||!ia(s));s=s.parent){C.assert(rp(s.parent,s),"Not a subspan",()=>"Child: ".concat(C.formatSyntaxKind(s.kind),", parent: ").concat(C.formatSyntaxKind(s.parent.kind)));const l=Pot(s,t,r,i);if(l)return l}}function Uot(e,t,r){const i=e.getChildren(r),o=i.indexOf(t);return C.assert(o>=0&&i.length>o+1),i[o+1]}function dwe(e){return e.kind===0?e6(e.node):e.called}function uwe(e){return e.kind===0?e.node:e.kind===1?e.called:e.node}var Lz=70246400;function pwe(e,t,{isTypeParameterList:r,argumentCount:i,argumentsSpan:o,invocation:s,argumentIndex:l},u,d,_){var m;const y=uwe(s),E=s.kind===2?s.symbol:d.getSymbolAtLocation(dwe(s))||_&&((m=t.declaration)==null?void 0:m.symbol),A=E?kP(d,E,_?u:void 0,void 0):se,R=Gt(e,O=>Jot(O,A,r,d,y,u));let N=0,M=0;for(let O=0;O<R.length;O++){const G=R[O];if(e[O]===t&&(N=M,G.length>1)){let j=0;for(const K of G){if(K.isVariadic||K.parameters.length>=i){N=M+j;break}j++}}M+=G.length}C.assert(N!==-1);const k={items:Ul(R,qs),applicableSpan:o,selectedItemIndex:N,argumentIndex:l,argumentCount:i},F=k.items[N];if(F.isVariadic){const O=lo(F.parameters,G=>!!G.isRest);-1<O&&O<F.parameters.length-1?k.argumentIndex=F.parameters.length:k.argumentIndex=Math.min(k.argumentIndex,F.parameters.length-1)}return k}function Hot(e,{argumentCount:t,argumentsSpan:r,invocation:i,argumentIndex:o},s,l){const u=l.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(e);return u?{items:[qot(e,u,l,uwe(i),s)],applicableSpan:r,selectedItemIndex:0,argumentIndex:o,argumentCount:t}:void 0}function qot(e,t,r,i,o){const s=kP(r,e),l=YS(),u=t.map(y=>mwe(y,r,i,o,l)),d=e.getDocumentationComment(r),_=e.getJsDocTags(r);return{isVariadic:!1,prefixDisplayParts:[...s,lu(30)],suffixDisplayParts:[lu(32)],separatorDisplayParts:fwe,parameters:u,documentation:d,tags:_}}var fwe=[lu(28),Bl()];function Jot(e,t,r,i,o,s){const l=(r?Xot:Yot)(e,i,o,s);return Gt(l,({isVariadic:u,parameters:d,prefix:_,suffix:m})=>{const y=[...t,..._],E=[...m,...Kot(e,o,i)],A=e.getDocumentationComment(i),R=e.getJsDocTags();return{isVariadic:u,prefixDisplayParts:y,suffixDisplayParts:E,separatorDisplayParts:fwe,parameters:d,documentation:A,tags:R}})}function Kot(e,t,r){return Jb(i=>{i.writePunctuation(":"),i.writeSpace(" ");const o=r.getTypePredicateOfSignature(e);o?r.writeTypePredicate(o,t,void 0,i):r.writeType(r.getReturnTypeOfSignature(e),t,void 0,i)})}function Xot(e,t,r,i){const o=(e.target||e).typeParameters,s=YS(),l=(o||se).map(d=>mwe(d,t,r,i,s)),u=e.thisParameter?[t.symbolToParameterDeclaration(e.thisParameter,r,Lz)]:[];return t.getExpandedParameters(e).map(d=>{const _=L.createNodeArray([...u,...Gt(d,y=>t.symbolToParameterDeclaration(y,r,Lz))]),m=Jb(y=>{s.writeList(2576,_,i,y)});return{isVariadic:!1,parameters:l,prefix:[lu(30)],suffix:[lu(32),...m]}})}function Yot(e,t,r,i){const o=YS(),s=Jb(d=>{if(e.typeParameters&&e.typeParameters.length){const _=L.createNodeArray(e.typeParameters.map(m=>t.typeParameterToDeclaration(m,r,Lz)));o.writeList(53776,_,i,d)}}),l=t.getExpandedParameters(e),u=t.hasEffectiveRestParameter(e)?l.length===1?d=>!0:d=>{var _;return!!(d.length&&((_=ii(d[d.length-1],_g))==null?void 0:_.links.checkFlags)&32768)}:d=>!1;return l.map(d=>({isVariadic:u(d),parameters:d.map(_=>$ot(_,t,r,i,o)),prefix:[...s,lu(21)],suffix:[lu(22)]}))}function $ot(e,t,r,i,o){const s=Jb(d=>{const _=t.symbolToParameterDeclaration(e,r,Lz);o.writeNode(4,_,i,d)}),l=t.isOptionalParameter(e.valueDeclaration),u=_g(e)&&!!(e.links.checkFlags&32768);return{name:e.name,documentation:e.getDocumentationComment(t),displayParts:s,isOptional:l,isRest:u}}function mwe(e,t,r,i,o){const s=Jb(l=>{const u=t.typeParameterToDeclaration(e,r,Lz);o.writeNode(4,u,i,l)});return{name:e.symbol.name,documentation:e.symbol.getDocumentationComment(t),displayParts:s,isOptional:!1,isRest:!1}}var fX={};x(fX,{getSmartSelectionRange:()=>Qot});function Qot(e,t){var r,i;let o={textSpan:oc(t.getFullStart(),t.getEnd())},s=t;e:for(;;){const d=tat(s);if(!d.length)break;for(let _=0;_<d.length;_++){const m=d[_-1],y=d[_],E=d[_+1];if(Tb(y,t,!0)>e)break e;const A=cg(ub(t.text,y.end));if(A&&A.kind===2&&u(A.pos,A.end),Zot(t,e,y)){if(cG(y)&&ks(s)&&!Vf(y.getStart(t),y.getEnd(),t)&&l(y.getStart(t),y.getEnd()),ia(y)||xD(y)||VI(y)||_4(y)||m&&VI(m)||_d(y)&&sc(s)||PD(y)&&_d(s)||bi(y)&&PD(s)&&d.length===1||nT(y)||gv(y)||R1(y)){s=y;break}if(xD(s)&&E&&TF(E)){const k=y.getFullStart()-2,F=E.getStart()+1;l(k,F)}const R=PD(y)&&nat(m)&&rat(E)&&!Vf(m.getStart(),E.getStart(),t);let N=R?m.getEnd():y.getStart();const M=R?E.getStart():iat(t,y);if(nf(y)&&((r=y.jsDoc)!=null&&r.length)&&l(Qa(y.jsDoc).getStart(),M),PD(y)){const k=y.getChildren()[0];k&&nf(k)&&((i=k.jsDoc)!=null&&i.length)&&k.getStart()!==y.pos&&(N=Math.min(N,Qa(k.jsDoc).getStart()))}l(N,M),(Oa(y)||cI(y))&&l(N+1,M-1),s=y;break}if(_===d.length-1)break e}}return o;function l(d,_){if(d!==_){const m=oc(d,_);(!o||!oC(m,o.textSpan)&&qee(m,e))&&(o={textSpan:m,...o&&{parent:o}})}}function u(d,_){l(d,_);let m=d;for(;t.text.charCodeAt(m)===47;)m++;l(m,_)}}function Zot(e,t,r){return C.assert(r.pos<=t),t<r.end?!0:r.getEnd()===t?ap(e,t).pos<r.end:!1}var eat=Np(Sl,Oc);function tat(e){var t;if(Qi(e))return a8(e.getChildAt(0).getChildren(),eat);if(T1(e)){const[r,...i]=e.getChildren(),o=C.checkDefined(i.pop());C.assertEqual(r.kind,19),C.assertEqual(o.kind,20);const s=a8(i,u=>u===e.readonlyToken||u.kind===148||u===e.questionToken||u.kind===58),l=a8(s,({kind:u})=>u===23||u===169||u===24);return[r,s8(mX(l,({kind:u})=>u===59)),o]}if(Eu(e)){const r=a8(e.getChildren(),l=>l===e.name||Vn(e.modifiers,l)),i=((t=r[0])==null?void 0:t.kind)===321?r[0]:void 0,o=i?r.slice(1):r,s=mX(o,({kind:l})=>l===59);return i?[i,s8(s)]:s}if(no(e)){const r=a8(e.getChildren(),o=>o===e.dotDotDotToken||o===e.name),i=a8(r,o=>o===r[0]||o===e.questionToken);return mX(i,({kind:o})=>o===64)}return qa(e)?mX(e.getChildren(),({kind:r})=>r===64):e.getChildren()}function a8(e,t){const r=[];let i;for(const o of e)t(o)?(i=i||[],i.push(o)):(i&&(r.push(s8(i)),i=void 0),r.push(o));return i&&r.push(s8(i)),r}function mX(e,t,r=!0){if(e.length<2)return e;const i=lo(e,t);if(i===-1)return e;const o=e.slice(0,i),s=e[i],l=Ga(e),u=r&&l.kind===27,d=e.slice(i+1,u?e.length-1:void 0),_=m2([o.length?s8(o):void 0,s,d.length?s8(d):void 0]);return u?_.concat(l):_}function s8(e){return C.assertGreaterThanOrEqual(e.length,1),uh(oT.createSyntaxList(e),e[0].pos,Ga(e).end)}function nat(e){const t=e&&e.kind;return t===19||t===23||t===21||t===287}function rat(e){const t=e&&e.kind;return t===20||t===24||t===22||t===288}function iat(e,t){switch(t.kind){case 342:case 339:case 349:case 347:case 344:return e.getLineEndOfPosition(t.getStart());default:return t.getEnd()}}var Ev={};x(Ev,{getSymbolDisplayPartsDocumentationAndSymbolKind:()=>aat,getSymbolKind:()=>_we,getSymbolModifiers:()=>oat});var hwe=70246400;function _we(e,t,r){const i=gwe(e,t,r);if(i!=="")return i;const o=uD(t);return o&32?ul(t,232)?"local class":"class":o&384?"enum":o&524288?"type":o&64?"interface":o&262144?"type parameter":o&8?"enum member":o&2097152?"alias":o&1536?"module":i}function gwe(e,t,r){const i=e.getRootSymbols(t);if(i.length===1&&Qa(i).flags&8192&&e.getTypeOfSymbolAtLocation(t,r).getNonNullableType().getCallSignatures().length!==0)return"method";if(e.isUndefinedSymbol(t))return"var";if(e.isArgumentsSymbol(t))return"local var";if(r.kind===110&&Et(r)||NS(r))return"parameter";const o=uD(t);if(o&3)return uJ(t)?"parameter":t.valueDeclaration&&XR(t.valueDeclaration)?"const":t.valueDeclaration&&ok(t.valueDeclaration)?"using":t.valueDeclaration&&ik(t.valueDeclaration)?"await using":Xe(t.declarations,UF)?"let":bwe(t)?"local var":"var";if(o&16)return bwe(t)?"local function":"function";if(o&32768)return"getter";if(o&65536)return"setter";if(o&8192)return"method";if(o&16384)return"constructor";if(o&131072)return"index";if(o&4){if(o&33554432&&t.links.checkFlags&6){const s=Xe(e.getRootSymbols(t),l=>{if(l.getFlags()&98311)return"property"});return s||(e.getTypeOfSymbolAtLocation(t,r).getCallSignatures().length?"method":"property")}return"property"}return""}function ywe(e){if(e.declarations&&e.declarations.length){const[t,...r]=e.declarations,i=et(r)&&B7(t)&&bt(r,s=>!B7(s))?65536:0,o=CP(t,i);if(o)return o.split(",")}return[]}function oat(e,t){if(!t)return"";const r=new Set(ywe(t));if(t.flags&2097152){const i=e.getAliasedSymbol(t);i!==t&&Xe(ywe(i),o=>{r.add(o)})}return t.flags&16777216&&r.add("optional"),r.size>0?Mo(r.values()).join(","):""}function vwe(e,t,r,i,o,s,l,u,d,_){var m;const y=[];let E=[],A=[];const R=uD(t);let N=l&1?gwe(e,t,o):"",M=!1;const k=o.kind===110&&t6(o)||NS(o);let F,O,G=!1;const j={canIncreaseExpansionDepth:!1,truncated:!1};let K=!1;if(o.kind===110&&!k)return{displayParts:[Hp(110)],documentation:[],symbolKind:"primitive type",tags:void 0};if(N!==""||R&32||R&2097152){if(N==="getter"||N==="setter"){const Se=_n(t.declarations,Ne=>Ne.name===o&&Ne.kind!==212);if(Se)switch(Se.kind){case 178:N="getter";break;case 179:N="setter";break;case 173:N="accessor";break;default:C.assertNever(Se)}else N="property"}let be;if(s!=null||(s=k?e.getTypeAtLocation(o):e.getTypeOfSymbolAtLocation(t,o)),o.parent&&o.parent.kind===212){const Se=o.parent.name;(Se===o||Se&&Se.getFullWidth()===0)&&(o=o.parent)}let ee;if(qh(o)?ee=o:(Nq(o)||xP(o)||o.parent&&(ru(o.parent)||Y0(o.parent))&&Yo(t.valueDeclaration))&&(ee=o.parent),ee){be=e.getResolvedSignature(ee);const Se=ee.kind===215||ra(ee)&&ee.expression.kind===108,Ne=Se?s.getConstructSignatures():s.getCallSignatures();if(be&&!Vn(Ne,be.target)&&!Vn(Ne,be)&&(be=Ne.length?Ne[0]:void 0),be){switch(Se&&R&32?(N="constructor",Re(s.symbol,N)):R&2097152?(N="alias",$(N),y.push(Bl()),Se&&(be.flags&4&&(y.push(Hp(128)),y.push(Bl())),y.push(Hp(105)),y.push(Bl())),Ae(t)):Re(t,N),N){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":y.push(lu(59)),y.push(Bl()),!(qr(s)&16)&&s.symbol&&($r(y,kP(e,s.symbol,i,void 0,5)),y.push(aC())),Se&&(be.flags&4&&(y.push(Hp(128)),y.push(Bl())),y.push(Hp(105)),y.push(Bl())),ve(be,Ne,262144);break;default:ve(be,Ne)}M=!0,G=Ne.length>1}}else if(Fq(o)&&!(R&98304)||o.kind===137&&o.parent.kind===177){const Se=o.parent;if(t.declarations&&_n(t.declarations,ze=>ze===(o.kind===137?Se.parent:Se))){const ze=Se.kind===177?s.getNonNullableType().getConstructSignatures():s.getNonNullableType().getCallSignatures();e.isImplementationOfOverload(Se)?be=ze[0]:be=e.getSignatureFromDeclaration(Se),Se.kind===177?(N="constructor",Re(s.symbol,N)):Re(Se.kind===180&&!(s.symbol.flags&2048||s.symbol.flags&4096)?s.symbol:t,N),be&&ve(be,ze),M=!0,G=ze.length>1}}}if(R&32&&!M&&!k){re();const be=ul(t,232);be&&($("local class"),y.push(Bl())),ge(t,l)||(be||(y.push(Hp(86)),y.push(Bl())),Ae(t),je(t,r))}if(R&64&&l&2&&(he(),ge(t,l)||(y.push(Hp(120)),y.push(Bl()),Ae(t),je(t,r))),R&524288&&l&2&&(he(),y.push(Hp(156)),y.push(Bl()),Ae(t),je(t,r),y.push(Bl()),y.push(LP(64)),y.push(Bl()),$r(y,DO(e,o.parent&&zm(o.parent)?e.getTypeAtLocation(o.parent):e.getDeclaredTypeOfSymbol(t),i,8388608,d,_,j))),R&384&&(he(),ge(t,l)||(bt(t.declarations,be=>eT(be)&&W0(be))&&(y.push(Hp(87)),y.push(Bl())),y.push(Hp(94)),y.push(Bl()),Ae(t,void 0))),R&1536&&!k&&(he(),!ge(t,l))){const be=ul(t,268),ee=be&&be.name&&be.name.kind===80;y.push(Hp(ee?145:144)),y.push(Bl()),Ae(t)}if(R&262144&&l&2)if(he(),y.push(lu(21)),y.push(vf("type parameter")),y.push(lu(22)),y.push(Bl()),Ae(t),t.parent)q(),Ae(t.parent,i),je(t.parent,i);else{const be=ul(t,169);if(be===void 0)return C.fail();const ee=be.parent;if(ee)if(Yo(ee)){q();const Se=e.getSignatureFromDeclaration(ee);ee.kind===181?(y.push(Hp(105)),y.push(Bl())):ee.kind!==180&&ee.name&&Ae(ee.symbol),$r(y,fJ(e,Se,r,32))}else Em(ee)&&(q(),y.push(Hp(156)),y.push(Bl()),Ae(ee.symbol),je(ee.symbol,r))}if(R&8){N="enum member",Re(t,"enum member");const be=(m=t.declarations)==null?void 0:m[0];if((be==null?void 0:be.kind)===307){const ee=e.getConstantValue(be);ee!==void 0&&(y.push(Bl()),y.push(LP(64)),y.push(Bl()),y.push(Tp(Kte(ee),typeof ee=="number"?7:8)))}}if(t.flags&2097152){if(he(),!M||E.length===0&&A.length===0){const be=e.getAliasedSymbol(t);if(be!==t&&be.declarations&&be.declarations.length>0){const ee=be.declarations[0],Se=Fo(ee);if(Se&&!M){const Ne=BF(ee)&&fi(ee,128),ze=t.name!=="default"&&!Ne,lt=vwe(e,be,On(ee),i,Se,s,l,ze?t:be,d,_);y.push(...lt.displayParts),y.push(aC()),F=lt.documentation,O=lt.tags,j&<.canIncreaseVerbosityLevel&&(j.canIncreaseExpansionDepth=!0)}else F=be.getContextualDocumentationComment(ee,e),O=be.getJsDocTags(e)}}if(t.declarations)switch(t.declarations[0].kind){case 271:y.push(Hp(95)),y.push(Bl()),y.push(Hp(145));break;case 278:y.push(Hp(95)),y.push(Bl()),y.push(Hp(t.declarations[0].isExportEquals?64:90));break;case 282:y.push(Hp(95));break;default:y.push(Hp(102))}y.push(Bl()),Ae(t),Xe(t.declarations,be=>{if(be.kind===272){const ee=be;if(z0(ee))y.push(Bl()),y.push(LP(64)),y.push(Bl()),y.push(Hp(149)),y.push(lu(21)),y.push(Tp(Rl(YN(ee)),8)),y.push(lu(22));else{const Se=e.getSymbolAtLocation(ee.moduleReference);Se&&(y.push(Bl()),y.push(LP(64)),y.push(Bl()),Ae(Se,i))}return!0}})}if(!M)if(N!==""){if(s){if(k?(he(),y.push(Hp(110))):Re(t,N),N==="property"||N==="accessor"||N==="getter"||N==="setter"||N==="JSX attribute"||R&3||N==="local var"||N==="index"||N==="using"||N==="await using"||k){if(y.push(lu(59)),y.push(Bl()),s.symbol&&s.symbol.flags&262144&&N!=="index"){const be=Jb(ee=>{const Se=e.typeParameterToDeclaration(s,i,hwe,void 0,void 0,d,_,j);J().writeNode(4,Se,On(Ho(i)),ee)},d);$r(y,be)}else $r(y,DO(e,s,i,void 0,d,_,j));if(_g(t)&&t.links.target&&_g(t.links.target)&&t.links.target.links.tupleLabelDeclaration){const be=t.links.target.links.tupleLabelDeclaration;C.assertNode(be.name,Je),y.push(Bl()),y.push(lu(21)),y.push(vf(Yr(be.name))),y.push(lu(22))}}else if(R&16||R&8192||R&16384||R&131072||R&98304||N==="method"){const be=s.getNonNullableType().getCallSignatures();be.length&&(ve(be[0],be),G=be.length>1)}}}else N=_we(e,t,o);if(E.length===0&&!G&&(E=t.getContextualDocumentationComment(i,e)),E.length===0&&R&4&&t.parent&&t.declarations&&Xe(t.parent.declarations,be=>be.kind===308))for(const be of t.declarations){if(!be.parent||be.parent.kind!==227)continue;const ee=e.getSymbolAtLocation(be.parent.right);if(ee&&(E=ee.getDocumentationComment(e),A=ee.getJsDocTags(e),E.length>0))break}if(E.length===0&&Je(o)&&t.valueDeclaration&&qa(t.valueDeclaration)){const be=t.valueDeclaration,ee=be.parent,Se=be.propertyName||be.name;if(Je(Se)&&mf(ee)){const Ne=Bf(Se),ze=e.getTypeAtLocation(ee);E=Wn(ze.isUnion()?ze.types:[ze],lt=>{const le=lt.getProperty(Ne);return le?le.getDocumentationComment(e):void 0})||se}}A.length===0&&!G&&!$N(o)&&(A=t.getContextualJsDocTags(i,e)),E.length===0&&F&&(E=F),A.length===0&&O&&(A=O);const Q=!j.truncated&&j.canIncreaseExpansionDepth;return{displayParts:y,documentation:E,symbolKind:N,tags:A.length===0?void 0:A,canIncreaseVerbosityLevel:_!==void 0?Q:void 0};function J(){return YS()}function he(){y.length&&y.push(aC()),re()}function re(){u&&($("alias"),y.push(Bl()))}function q(){y.push(Bl()),y.push(Hp(103)),y.push(Bl())}function ue(be,ee){if(_===void 0)return!1;const Se=be.flags&96?e.getDeclaredTypeOfSymbol(be):e.getTypeOfSymbolAtLocation(be,o);return!Se||e.isLibType(Se)?!1:0<_?!0:(ee&&(ee.canIncreaseExpansionDepth=!0),!1)}function de(be){let ee=0;return be&1&&(ee|=111551),be&2&&(ee|=788968),be&4&&(ee|=1920),ee}function ge(be,ee){if(K)return!0;if(ue(be,j)){const Se=de(ee),Ne=Jb(ze=>{const lt=e.getEmitResolver().symbolToDeclarations(be,Se,17408,d,_!==void 0?_-1:void 0,j),le=J(),De=be.valueDeclaration&&On(be.valueDeclaration);lt.forEach((_e,Ve)=>{Ve>0&&ze.writeLine(),le.writeNode(4,_e,De,ze)})},d);return $r(y,Ne),K=!0,!0}return!1}function Ae(be,ee){let Se;u&&be===t&&(be=u),N==="index"&&(Se=e.getIndexInfosOfIndexSymbol(be));let Ne=[];be.flags&131072&&Se?(be.parent&&(Ne=kP(e,be.parent)),Ne.push(lu(23)),Se.forEach((ze,lt)=>{Ne.push(...DO(e,ze.keyType)),lt!==Se.length-1&&(Ne.push(Bl()),Ne.push(lu(52)),Ne.push(Bl()))}),Ne.push(lu(24))):Ne=kP(e,be,ee||r,void 0,7),$r(y,Ne),t.flags&16777216&&y.push(lu(58))}function Re(be,ee){he(),ee&&($(ee),be&&!bt(be.declarations,Se=>Zs(Se)||(Ks(Se)||uc(Se))&&!Se.name)&&(y.push(Bl()),Ae(be)))}function $(be){switch(be){case"var":case"function":case"let":case"const":case"constructor":case"using":case"await using":y.push(pJ(be));return;default:y.push(lu(21)),y.push(pJ(be)),y.push(lu(22));return}}function ve(be,ee,Se=0){$r(y,fJ(e,be,i,Se|32,d,_,j)),ee.length>1&&(y.push(Bl()),y.push(lu(21)),y.push(LP(40)),y.push(Tp((ee.length-1).toString(),7)),y.push(Bl()),y.push(vf(ee.length===2?"overload":"overloads")),y.push(lu(22))),E=be.getDocumentationComment(e),A=be.getJsDocTags(),ee.length>1&&E.length===0&&A.length===0&&(E=ee[0].getDocumentationComment(e),A=ee[0].getJsDocTags().filter(Ne=>Ne.name!=="deprecated"))}function je(be,ee){const Se=Jb(Ne=>{const ze=e.symbolToTypeParameterDeclarations(be,ee,hwe);J().writeList(53776,ze,On(Ho(ee)),Ne)});$r(y,Se)}}function aat(e,t,r,i,o,s=F1(o),l,u,d){return vwe(e,t,r,i,o,void 0,s,l,u,d)}function bwe(e){return e.parent?!1:Xe(e.declarations,t=>{if(t.kind===219)return!0;if(t.kind!==261&&t.kind!==263)return!1;for(let r=t.parent;!SS(r);r=r.parent)if(r.kind===308||r.kind===269)return!1;return!0})}var Ir={};x(Ir,{ChangeTracker:()=>cat,LeadingTriviaOption:()=>Ewe,TrailingTriviaOption:()=>Awe,applyChanges:()=>Zfe,assignPositionsToNode:()=>yX,createWriter:()=>xwe,deleteNode:()=>Ay,getAdjustedEndPosition:()=>Rx,isThisTypeAnnotatable:()=>lat,isValidLocationToAddComment:()=>Rwe});function Twe(e){const t=e.__pos;return C.assert(typeof t=="number"),t}function Xfe(e,t){C.assert(typeof t=="number"),e.__pos=t}function Swe(e){const t=e.__end;return C.assert(typeof t=="number"),t}function Yfe(e,t){C.assert(typeof t=="number"),e.__end=t}var Ewe=(e=>(e[e.Exclude=0]="Exclude",e[e.IncludeAll=1]="IncludeAll",e[e.JSDoc=2]="JSDoc",e[e.StartLine=3]="StartLine",e))(Ewe||{}),Awe=(e=>(e[e.Exclude=0]="Exclude",e[e.ExcludeWhitespace=1]="ExcludeWhitespace",e[e.Include=2]="Include",e))(Awe||{});function Iwe(e,t){return wa(e,t,!1,!0)}function sat(e,t){let r=t;for(;r<e.length;){const i=e.charCodeAt(r);if(Hh(i)){r++;continue}return i===47}return!1}var l8={leadingTriviaOption:0,trailingTriviaOption:0};function c8(e,t,r,i){return{pos:H1(e,t,i),end:Rx(e,r,i)}}function H1(e,t,r,i=!1){var o,s;const{leadingTriviaOption:l}=r;if(l===0)return t.getStart(e);if(l===3){const A=t.getStart(e),R=Rm(A,e);return tC(t,R)?R:A}if(l===2){const A=kG(t,e.text);if(A!=null&&A.length)return Rm(A[0].pos,e)}const u=t.getFullStart(),d=t.getStart(e);if(u===d)return d;const _=Rm(u,e);if(Rm(d,e)===_)return l===1?u:d;if(i){const A=((o=pg(e.text,u))==null?void 0:o[0])||((s=ub(e.text,u))==null?void 0:s[0]);if(A)return wa(e.text,A.end,!0,!0)}const y=u>0?1:0;let E=bb(uM(e,_)+y,e);return E=Iwe(e.text,E),bb(uM(e,E),e)}function $fe(e,t,r){const{end:i}=t,{trailingTriviaOption:o}=r;if(o===2){const s=ub(e.text,i);if(s){const l=uM(e,t.end);for(const u of s){if(u.kind===2||uM(e,u.pos)>l)break;if(uM(e,u.end)>l)return wa(e.text,u.end,!0,!0)}}}}function Rx(e,t,r){var i;const{end:o}=t,{trailingTriviaOption:s}=r;if(s===0)return o;if(s===1){const d=co(ub(e.text,o),pg(e.text,o)),_=(i=d==null?void 0:d[d.length-1])==null?void 0:i.end;return _||o}const l=$fe(e,t,r);if(l)return l;const u=wa(e.text,o,!0);return u!==o&&(s===2||eu(e.text.charCodeAt(u-1)))?u:o}function hX(e,t){return!!t&&!!e.parent&&(t.kind===28||t.kind===27&&e.parent.kind===211)}function lat(e){return Ks(e)||ec(e)}var cat=class tve{constructor(t,r){this.newLineCharacter=t,this.formatContext=r,this.changes=[],this.classesWithNodesInsertedAtStart=new Map,this.deletedNodes=[]}static fromContext(t){return new tve(Ty(t.host,t.formatContext.options),t.formatContext)}static with(t,r){const i=tve.fromContext(t);return r(i),i.getChanges()}pushRaw(t,r){C.assertEqual(t.fileName,r.fileName);for(const i of r.textChanges)this.changes.push({kind:3,sourceFile:t,text:i.newText,range:S7(i.span)})}deleteRange(t,r){this.changes.push({kind:0,sourceFile:t,range:r})}delete(t,r){this.deletedNodes.push({sourceFile:t,node:r})}deleteNode(t,r,i={leadingTriviaOption:1}){this.deleteRange(t,c8(t,r,r,i))}deleteNodes(t,r,i={leadingTriviaOption:1},o){for(const s of r){const l=H1(t,s,i,o),u=Rx(t,s,i);this.deleteRange(t,{pos:l,end:u}),o=!!$fe(t,s,i)}}deleteModifier(t,r){this.deleteRange(t,{pos:r.getStart(t),end:wa(t.text,r.end,!0)})}deleteNodeRange(t,r,i,o={leadingTriviaOption:1}){const s=H1(t,r,o),l=Rx(t,i,o);this.deleteRange(t,{pos:s,end:l})}deleteNodeRangeExcludingEnd(t,r,i,o={leadingTriviaOption:1}){const s=H1(t,r,o),l=i===void 0?t.text.length:H1(t,i,o);this.deleteRange(t,{pos:s,end:l})}replaceRange(t,r,i,o={}){this.changes.push({kind:1,sourceFile:t,range:r,options:o,node:i})}replaceNode(t,r,i,o=l8){this.replaceRange(t,c8(t,r,r,o),i,o)}replaceNodeRange(t,r,i,o,s=l8){this.replaceRange(t,c8(t,r,i,s),o,s)}replaceRangeWithNodes(t,r,i,o={}){this.changes.push({kind:2,sourceFile:t,range:r,options:o,nodes:i})}replaceNodeWithNodes(t,r,i,o=l8){this.replaceRangeWithNodes(t,c8(t,r,r,o),i,o)}replaceNodeWithText(t,r,i){this.replaceRangeWithText(t,c8(t,r,r,l8),i)}replaceNodeRangeWithNodes(t,r,i,o,s=l8){this.replaceRangeWithNodes(t,c8(t,r,i,s),o,s)}nodeHasTrailingComment(t,r,i=l8){return!!$fe(t,r,i)}nextCommaToken(t,r){const i=eE(r,r.parent,t);return i&&i.kind===28?i:void 0}replacePropertyAssignment(t,r,i){const o=this.nextCommaToken(t,r)?"":","+this.newLineCharacter;this.replaceNode(t,r,i,{suffix:o})}insertNodeAt(t,r,i,o={}){this.replaceRange(t,Gf(r),i,o)}insertNodesAt(t,r,i,o={}){this.replaceRangeWithNodes(t,Gf(r),i,o)}insertNodeAtTopOfFile(t,r,i){this.insertAtTopOfFile(t,r,i)}insertNodesAtTopOfFile(t,r,i){this.insertAtTopOfFile(t,r,i)}insertAtTopOfFile(t,r,i){const o=gat(t),s={prefix:o===0?void 0:this.newLineCharacter,suffix:(eu(t.text.charCodeAt(o))?"":this.newLineCharacter)+(i?this.newLineCharacter:"")};Lo(r)?this.insertNodesAt(t,o,r,s):this.insertNodeAt(t,o,r,s)}insertNodesAtEndOfFile(t,r,i){this.insertAtEndOfFile(t,r,i)}insertAtEndOfFile(t,r,i){const o=t.end+1,s={prefix:this.newLineCharacter,suffix:this.newLineCharacter+(i?this.newLineCharacter:"")};this.insertNodesAt(t,o,r,s)}insertStatementsInNewFile(t,r,i){this.newFileChanges||(this.newFileChanges=fm()),this.newFileChanges.add(t,{oldFile:i,statements:r})}insertFirstParameter(t,r,i){const o=Sc(r);o?this.insertNodeBefore(t,o,i):this.insertNodeAt(t,r.pos,i)}insertNodeBefore(t,r,i,o=!1,s={}){this.insertNodeAt(t,H1(t,r,s),i,this.getOptionsForInsertNodeBefore(r,i,o))}insertNodesBefore(t,r,i,o=!1,s={}){this.insertNodesAt(t,H1(t,r,s),i,this.getOptionsForInsertNodeBefore(r,Qa(i),o))}insertModifierAt(t,r,i,o={}){this.insertNodeAt(t,r,L.createToken(i),o)}insertModifierBefore(t,r,i){return this.insertModifierAt(t,i.getStart(t),r,{suffix:" "})}insertCommentBeforeLine(t,r,i,o){const s=bb(r,t),l=Sce(t.text,s),u=Rwe(t,l),d=nC(t,u?l:i),_=t.text.slice(s,l),m="".concat(u?"":this.newLineCharacter,"//").concat(o).concat(this.newLineCharacter).concat(_);this.insertText(t,d.getStart(t),m)}insertJsdocCommentBefore(t,r,i){const o=r.getStart(t);if(r.jsDoc)for(const u of r.jsDoc)this.deleteRange(t,{pos:Rm(u.getStart(t),t),end:Rx(t,u,{})});const s=N7(t.text,o-1),l=t.text.slice(s,o);this.insertNodeAt(t,o,i,{suffix:this.newLineCharacter+l})}createJSDocText(t,r){const i=Wi(r.jsDoc,s=>jo(s.comment)?L.createJSDocText(s.comment):s.comment),o=cg(r.jsDoc);return o&&Vf(o.pos,o.end,t)&&et(i)===0?void 0:L.createNodeArray(ho(i,L.createJSDocText("\n")))}replaceJSDocComment(t,r,i){this.insertJsdocCommentBefore(t,dat(r),L.createJSDocComment(this.createJSDocText(t,r),L.createNodeArray(i)))}addJSDocTags(t,r,i){const o=Ul(r.jsDoc,l=>l.tags),s=i.filter(l=>!o.some((u,d)=>{const _=uat(u,l);return _&&(o[d]=_),!!_}));this.replaceJSDocComment(t,r,[...o,...s])}filterJSDocTags(t,r,i){this.replaceJSDocComment(t,r,Fn(Ul(r.jsDoc,o=>o.tags),i))}replaceRangeWithText(t,r,i){this.changes.push({kind:3,sourceFile:t,range:r,text:i})}insertText(t,r,i){this.replaceRangeWithText(t,Gf(r),i)}tryInsertTypeAnnotation(t,r,i){var s;let o;if(Yo(r)){if(o=Rs(r,22,t),!o){if(!Zs(r))return!1;o=Qa(r.parameters)}}else o=(s=r.kind===261?r.exclamationToken:r.questionToken)!=null?s:r.name;return this.insertNodeAt(t,o.end,i,{prefix:": "}),!0}tryInsertThisTypeAnnotation(t,r,i){const o=Rs(r,21,t).getStart(t)+1,s=r.parameters.length?", ":"";this.insertNodeAt(t,o,i,{prefix:"this: ",suffix:s})}insertTypeParameters(t,r,i){const o=(Rs(r,21,t)||Qa(r.parameters)).getStart(t);this.insertNodesAt(t,o,i,{prefix:"<",suffix:">",joiner:", "})}getOptionsForInsertNodeBefore(t,r,i){return Gi(t)||vc(t)?{suffix:i?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:bi(t)?{suffix:", "}:no(t)?no(r)?{suffix:", "}:{}:Oa(t)&&Sl(t.parent)||s_(t)?{suffix:", "}:Au(t)?{suffix:","+(i?this.newLineCharacter:" ")}:C.failBadSyntaxKind(t)}insertNodeAtConstructorStart(t,r,i){const o=Sc(r.body.statements);!o||!r.body.multiLine?this.replaceConstructorBody(t,r,[i,...r.body.statements]):this.insertNodeBefore(t,o,i)}insertNodeAtConstructorStartAfterSuperCall(t,r,i){const o=_n(r.body.statements,s=>od(s)&&r1(s.expression));!o||!r.body.multiLine?this.replaceConstructorBody(t,r,[...r.body.statements,i]):this.insertNodeAfter(t,o,i)}insertNodeAtConstructorEnd(t,r,i){const o=rl(r.body.statements);!o||!r.body.multiLine?this.replaceConstructorBody(t,r,[...r.body.statements,i]):this.insertNodeAfter(t,o,i)}replaceConstructorBody(t,r,i){this.replaceNode(t,r.body,L.createBlock(i,!0))}insertNodeAtEndOfScope(t,r,i){const o=H1(t,r.getLastToken(),{});this.insertNodeAt(t,o,i,{prefix:eu(t.text.charCodeAt(r.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})}insertMemberAtStart(t,r,i){this.insertNodeAtStartWorker(t,r,i)}insertNodeAtObjectStart(t,r,i){this.insertNodeAtStartWorker(t,r,i)}insertNodeAtStartWorker(t,r,i){var s;const o=(s=this.guessIndentationFromExistingMembers(t,r))!=null?s:this.computeIndentationForNewMember(t,r);this.insertNodeAt(t,_X(r).pos,i,this.getInsertNodeAtStartInsertOptions(t,r,o))}guessIndentationFromExistingMembers(t,r){let i,o=r;for(const s of _X(r)){if(M6(o,s,t))return;const l=s.getStart(t),u=Dc.SmartIndenter.findFirstNonWhitespaceColumn(Rm(l,t),l,t,this.formatContext.options);if(i===void 0)i=u;else if(u!==i)return;o=s}return i}computeIndentationForNewMember(t,r){var o;const i=r.getStart(t);return Dc.SmartIndenter.findFirstNonWhitespaceColumn(Rm(i,t),i,t,this.formatContext.options)+((o=this.formatContext.options.indentSize)!=null?o:4)}getInsertNodeAtStartInsertOptions(t,r,i){const s=_X(r).length===0,l=!this.classesWithNodesInsertedAtStart.has(ls(r));l&&this.classesWithNodesInsertedAtStart.set(ls(r),{node:r,sourceFile:t});const u=za(r)&&(!zf(t)||!s),d=za(r)&&zf(t)&&s&&!l;return{indentation:i,prefix:(d?",":"")+this.newLineCharacter,suffix:u?",":gd(r)&&s?";":""}}insertNodeAfterComma(t,r,i){const o=this.insertNodeAfterWorker(t,this.nextCommaToken(t,r)||r,i);this.insertNodeAt(t,o,i,this.getInsertNodeAfterOptions(t,r))}insertNodeAfter(t,r,i){const o=this.insertNodeAfterWorker(t,r,i);this.insertNodeAt(t,o,i,this.getInsertNodeAfterOptions(t,r))}insertNodeAtEndOfList(t,r,i){this.insertNodeAt(t,r.end,i,{prefix:", "})}insertNodesAfter(t,r,i){const o=this.insertNodeAfterWorker(t,r,Qa(i));this.insertNodesAt(t,o,i,this.getInsertNodeAfterOptions(t,r))}insertNodeAfterWorker(t,r,i){return yat(r,i)&&t.text.charCodeAt(r.end-1)!==59&&this.replaceRange(t,Gf(r.end),L.createToken(27)),Rx(t,r,{})}getInsertNodeAfterOptions(t,r){const i=this.getInsertNodeAfterOptionsWorker(r);return{...i,prefix:r.end===t.end&&Gi(r)?i.prefix?"\n".concat(i.prefix):"\n":i.prefix}}getInsertNodeAfterOptionsWorker(t){switch(t.kind){case 264:case 268:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 261:case 11:case 80:return{prefix:", "};case 304:return{suffix:","+this.newLineCharacter};case 95:return{prefix:" "};case 170:return{};default:return C.assert(Gi(t)||SF(t)),{suffix:this.newLineCharacter}}}insertName(t,r,i){if(C.assert(!r.name),r.kind===220){const o=Rs(r,39,t),s=Rs(r,21,t);s?(this.insertNodesAt(t,s.getStart(t),[L.createToken(100),L.createIdentifier(i)],{joiner:" "}),Ay(this,t,o)):(this.insertText(t,Qa(r.parameters).getStart(t),"function ".concat(i,"(")),this.replaceRange(t,o,L.createToken(22))),r.body.kind!==242&&(this.insertNodesAt(t,r.body.getStart(t),[L.createToken(19),L.createToken(107)],{joiner:" ",suffix:" "}),this.insertNodesAt(t,r.body.end,[L.createToken(27),L.createToken(20)],{joiner:" "}))}else{const o=Rs(r,r.kind===219?100:86,t).end;this.insertNodeAt(t,o,L.createIdentifier(i),{prefix:" "})}}insertExportModifier(t,r){this.insertText(t,r.getStart(t),"export ")}insertImportSpecifierAtIndex(t,r,i,o){const s=i.elements[o-1];s?this.insertNodeInListAfter(t,s,r):this.insertNodeBefore(t,i.elements[0],r,!Vf(i.elements[0].getStart(),i.parent.parent.getStart(),t))}insertNodeInListAfter(t,r,i,o=Dc.SmartIndenter.getContainingList(r,t)){if(!o){C.fail("node is not a list element");return}const s=qR(o,r);if(s<0)return;const l=r.getEnd();if(s!==o.length-1){const u=Fi(t,r.end);if(u&&hX(r,u)){const d=o[s+1],_=Iwe(t.text,d.getFullStart()),m="".concat(Ta(u.kind)).concat(t.text.substring(u.end,_));this.insertNodesAt(t,_,[i],{suffix:m})}}else{const u=r.getStart(t),d=Rm(u,t);let _,m=!1;if(o.length===1)_=28;else{const y=Fc(r.pos,t);_=hX(r,y)?y.kind:28,m=Rm(o[s-1].getStart(t),t)!==d}if((sat(t.text,r.end)||!Vf(o.pos,o.end,t))&&(m=!0),m){this.replaceRange(t,Gf(l),L.createToken(_));const y=Dc.SmartIndenter.findFirstNonWhitespaceColumn(d,u,t,this.formatContext.options);let E=wa(t.text,l,!0,!1);for(;E!==l&&eu(t.text.charCodeAt(E-1));)E--;this.replaceRange(t,Gf(E),i,{indentation:y,prefix:this.newLineCharacter})}else this.replaceRange(t,Gf(l),i,{prefix:"".concat(Ta(_)," ")})}}parenthesizeExpression(t,r){this.replaceRange(t,XV(r),L.createParenthesizedExpression(r))}finishClassesWithNodesInsertedAtStart(){this.classesWithNodesInsertedAtStart.forEach(({node:t,sourceFile:r})=>{const[i,o]=fat(t,r);if(i!==void 0&&o!==void 0){const s=_X(t).length===0,l=Vf(i,o,r);s&&l&&i!==o-1&&this.deleteRange(r,Gf(i,o-1)),l&&this.insertText(r,o-1,this.newLineCharacter)}})}finishDeleteDeclarations(){const t=new Set;for(const{sourceFile:r,node:i}of this.deletedNodes)this.deletedNodes.some(o=>o.sourceFile===r&&Yle(o.node,i))||(Lo(i)?this.deleteRange(r,YV(r,i)):eme.deleteDeclaration(this,t,r,i));t.forEach(r=>{const i=r.getSourceFile(),o=Dc.SmartIndenter.getContainingList(r,i);if(r!==Ga(o))return;const s=Ys(o,l=>!t.has(l),o.length-2);s!==-1&&this.deleteRange(i,{pos:o[s].end,end:Qfe(i,o[s+1])})})}getChanges(t){this.finishDeleteDeclarations(),this.finishClassesWithNodesInsertedAtStart();const r=gX.getTextChangesFromChanges(this.changes,this.newLineCharacter,this.formatContext,t);return this.newFileChanges&&this.newFileChanges.forEach((i,o)=>{r.push(gX.newFileChanges(o,i,this.newLineCharacter,this.formatContext))}),r}createNewFile(t,r,i){this.insertStatementsInNewFile(r,i,t)}};function dat(e){if(e.kind!==220)return e;const t=e.parent.kind===173?e.parent:e.parent.parent;return t.jsDoc=e.jsDoc,t}function uat(e,t){if(e.kind===t.kind)switch(e.kind){case 342:{const r=e,i=t;return Je(r.name)&&Je(i.name)&&r.name.escapedText===i.name.escapedText?L.createJSDocParameterTag(void 0,i.name,!1,i.typeExpression,i.isNameFirst,r.comment):void 0}case 343:return L.createJSDocReturnTag(void 0,t.typeExpression,e.comment);case 345:return L.createJSDocTypeTag(void 0,t.typeExpression,e.comment)}}function Qfe(e,t){return wa(e.text,H1(e,t,{leadingTriviaOption:1}),!1,!0)}function pat(e,t,r,i){const o=Qfe(e,i);if(r===void 0||Vf(Rx(e,t,{}),o,e))return o;const s=Fc(i.getStart(e),e);if(hX(t,s)){const l=Fc(t.getStart(e),e);if(hX(r,l)){const u=wa(e.text,s.getEnd(),!0,!0);if(Vf(l.getStart(e),s.getStart(e),e))return eu(e.text.charCodeAt(u-1))?u-1:u;if(eu(e.text.charCodeAt(u)))return u}}return o}function fat(e,t){const r=Rs(e,19,t),i=Rs(e,20,t);return[r==null?void 0:r.end,i==null?void 0:i.end]}function _X(e){return za(e)?e.properties:e.members}var gX;(e=>{function t(u,d,_,m){return Hi(RR(u,y=>y.sourceFile.path),y=>{const E=y[0].sourceFile,A=Cp(y,(N,M)=>N.range.pos-M.range.pos||N.range.end-M.range.end);for(let N=0;N<A.length-1;N++)C.assert(A[N].range.end<=A[N+1].range.pos,"Changes overlap",()=>"".concat(JSON.stringify(A[N].range)," and ").concat(JSON.stringify(A[N+1].range)));const R=Hi(A,N=>{var O,G;const M=bv(N.range),k=N.kind===1?(O=On(Tl(N.node)))!=null?O:N.sourceFile:N.kind===2&&(G=On(Tl(N.nodes[0])))!=null?G:N.sourceFile,F=o(N,k,E,d,_,m);if(!(M.length===F.length&&Mce(k.text,F,M.start)))return EO(M,F)});return R.length>0?{fileName:E.fileName,textChanges:R}:void 0})}e.getTextChangesFromChanges=t;function r(u,d,_,m){const y=i(K6(u),d,_,m);return{fileName:u,textChanges:[EO(Ad(0,0),y)],isNewFile:!0}}e.newFileChanges=r;function i(u,d,_,m){const y=Wi(d,R=>R.statements.map(N=>N===4?"":l(N,R.oldFile,_).text)).join(_),E=nx("any file name",y,{languageVersion:99,jsDocParsingMode:1},!0,u),A=Dc.formatDocument(E,m);return Zfe(y,A)+_}e.newFileChangesWorker=i;function o(u,d,_,m,y,E){var A;if(u.kind===0)return"";if(u.kind===3)return u.text;const{options:R={},range:{pos:N}}=u,M=O=>s(O,d,_,N,R,m,y,E),k=u.kind===2?u.nodes.map(O=>CR(M(O),m)).join(((A=u.options)==null?void 0:A.joiner)||m):M(u.node),F=R.indentation!==void 0||Rm(N,d)===N?k:k.replace(/^\s+/,"");return(R.prefix||"")+F+(!R.suffix||il(F,R.suffix)?"":R.suffix)}function s(u,d,_,m,{indentation:y,prefix:E,delta:A},R,N,M){const{node:k,text:F}=l(u,d,R);M&&M(k,F);const O=V7(N,d),G=y!==void 0?y:Dc.SmartIndenter.getIndentation(m,_,O,E===R||Rm(m,d)===m);A===void 0&&(A=Dc.SmartIndenter.shouldIndentChildNode(O,u)&&O.indentSize||0);const j={text:F,getLineAndCharacterOfPosition(Q){return fa(this,Q)}},K=Dc.formatNodeGivenIndentation(k,j,d.languageVariant,G,A,{...N,options:O});return Zfe(F,K)}function l(u,d,_){const m=xwe(_),y=wO(_);return jb({newLine:y,neverAsciiEscape:!0,preserveSourceNewlines:!0,terminateUnterminatedLiterals:!0},m).writeNode(4,u,d,m),{text:m.getText(),node:yX(u)}}e.getNonformattedText=l})(gX||(gX={}));function Zfe(e,t){for(let r=t.length-1;r>=0;r--){const{span:i,newText:o}=t[r];e="".concat(e.substring(0,i.start)).concat(o).concat(e.substring(Ml(i)))}return e}function mat(e){return wa(e,0)===e.length}var hat={...Zw,factory:lw(Zw.factory.flags|1,Zw.factory.baseFactory)};function yX(e){const t=kn(e,yX,hat,_at,yX),r=zs(t)?t:Object.create(t);return uh(r,Twe(e),Swe(e)),r}function _at(e,t,r,i,o){const s=Jn(e,t,r,i,o);if(!s)return s;C.assert(e);const l=s===e?L.createNodeArray(s.slice(0)):s;return uh(l,Twe(e),Swe(e)),l}function xwe(e){let t=0;const r=wk(e),i=$=>{$&&Xfe($,t)},o=$=>{$&&Yfe($,t)},s=$=>{$&&Xfe($,t)},l=$=>{$&&Yfe($,t)},u=$=>{$&&Xfe($,t)},d=$=>{$&&Yfe($,t)};function _($,ve){if(ve||!mat($)){t=r.getTextPos();let je=0;for(;ug($.charCodeAt($.length-je-1));)je++;t-=je}}function m($){r.write($),_($,!1)}function y($){r.writeComment($)}function E($){r.writeKeyword($),_($,!1)}function A($){r.writeOperator($),_($,!1)}function R($){r.writePunctuation($),_($,!1)}function N($){r.writeTrailingSemicolon($),_($,!1)}function M($){r.writeParameter($),_($,!1)}function k($){r.writeProperty($),_($,!1)}function F($){r.writeSpace($),_($,!1)}function O($){r.writeStringLiteral($),_($,!1)}function G($,ve){r.writeSymbol($,ve),_($,!1)}function j($){r.writeLine($)}function K(){r.increaseIndent()}function Q(){r.decreaseIndent()}function J(){return r.getText()}function he($){r.rawWrite($),_($,!1)}function re($){r.writeLiteral($),_($,!0)}function q(){return r.getTextPos()}function ue(){return r.getLine()}function de(){return r.getColumn()}function ge(){return r.getIndent()}function Ae(){return r.isAtStartOfLine()}function Re(){r.clear(),t=0}return{onBeforeEmitNode:i,onAfterEmitNode:o,onBeforeEmitNodeArray:s,onAfterEmitNodeArray:l,onBeforeEmitToken:u,onAfterEmitToken:d,write:m,writeComment:y,writeKeyword:E,writeOperator:A,writePunctuation:R,writeTrailingSemicolon:N,writeParameter:M,writeProperty:k,writeSpace:F,writeStringLiteral:O,writeSymbol:G,writeLine:j,increaseIndent:K,decreaseIndent:Q,getText:J,rawWrite:he,writeLiteral:re,getTextPos:q,getLine:ue,getColumn:de,getIndent:ge,isAtStartOfLine:Ae,hasTrailingComment:()=>r.hasTrailingComment(),hasTrailingWhitespace:()=>r.hasTrailingWhitespace(),clear:Re}}function gat(e){let t;for(const _ of e.statements)if(Xh(_))t=_;else break;let r=0;const i=e.text;if(t)return r=t.end,d(),r;const o=dF(i);o!==void 0&&(r=o.length,d());const s=pg(i,r);if(!s)return r;let l,u;for(const _ of s){if(_.kind===3){if(FF(i,_.pos)){l={range:_,pinnedOrTripleSlash:!0};continue}}else if(vG(i,_.pos,_.end)){l={range:_,pinnedOrTripleSlash:!0};continue}if(l){if(l.pinnedOrTripleSlash)break;const m=e.getLineAndCharacterOfPosition(_.pos).line,y=e.getLineAndCharacterOfPosition(l.range.end).line;if(m>=y+2)break}if(e.statements.length){u===void 0&&(u=e.getLineAndCharacterOfPosition(e.statements[0].getStart()).line);const m=e.getLineAndCharacterOfPosition(_.end).line;if(u<m+2)break}l={range:_,pinnedOrTripleSlash:!1}}return l&&(r=l.range.end,d()),r;function d(){if(r<i.length){const _=i.charCodeAt(r);eu(_)&&(r++,r<i.length&&_===13&&i.charCodeAt(r)===10&&r++)}}}function Rwe(e,t){return!yv(e,t)&&!fx(e,t)&&!jq(e,t)&&!nce(e,t)}function yat(e,t){return(Eu(e)||ko(e))&&SF(t)&&t.name.kind===168||J2(e)&&J2(t)}var eme;(e=>{function t(s,l,u,d){switch(d.kind){case 170:{const A=d.parent;Zs(A)&&A.parameters.length===1&&!Rs(A,21,u)?s.replaceNodeWithText(u,d,"()"):d8(s,l,u,d);break}case 273:case 272:const _=u.imports.length&&d===Qa(u.imports).parent||d===_n(u.statements,hI);Ay(s,u,d,{leadingTriviaOption:_?0:nf(d)?2:3});break;case 209:const m=d.parent;m.kind===208&&d!==Ga(m.elements)?Ay(s,u,d):d8(s,l,u,d);break;case 261:o(s,l,u,d);break;case 169:d8(s,l,u,d);break;case 277:const E=d.parent;E.elements.length===1?i(s,u,E):d8(s,l,u,d);break;case 275:i(s,u,d);break;case 27:Ay(s,u,d,{trailingTriviaOption:0});break;case 100:Ay(s,u,d,{leadingTriviaOption:0});break;case 264:case 263:Ay(s,u,d,{leadingTriviaOption:nf(d)?2:3});break;default:d.parent?Hm(d.parent)&&d.parent.name===d?r(s,u,d.parent):ra(d.parent)&&Vn(d.parent.arguments,d)?d8(s,l,u,d):Ay(s,u,d):Ay(s,u,d)}}e.deleteDeclaration=t;function r(s,l,u){if(!u.namedBindings)Ay(s,l,u.parent);else{const d=u.name.getStart(l),_=Fi(l,u.name.end);if(_&&_.kind===28){const m=wa(l.text,_.end,!1,!0);s.deleteRange(l,{pos:d,end:m})}else Ay(s,l,u.name)}}function i(s,l,u){if(u.parent.name){const d=C.checkDefined(Fi(l,u.pos-1));s.deleteRange(l,{pos:d.getStart(l),end:u.end})}else{const d=j0(u,273);Ay(s,l,d)}}function o(s,l,u,d){const{parent:_}=d;if(_.kind===300){s.deleteNodeRange(u,Rs(_,21,u),Rs(_,22,u));return}if(_.declarations.length!==1){d8(s,l,u,d);return}const m=_.parent;switch(m.kind){case 251:case 250:s.replaceNode(u,d,L.createObjectLiteralExpression());break;case 249:Ay(s,u,_);break;case 244:Ay(s,u,m,{leadingTriviaOption:nf(m)?2:3});break;default:C.assertNever(m)}}})(eme||(eme={}));function Ay(e,t,r,i={leadingTriviaOption:1}){const o=H1(t,r,i),s=Rx(t,r,i);e.deleteRange(t,{pos:o,end:s})}function d8(e,t,r,i){const o=C.checkDefined(Dc.SmartIndenter.getContainingList(i,r)),s=qR(o,i);if(C.assert(s!==-1),o.length===1){Ay(e,r,i);return}C.assert(!t.has(i),"Deleting a node twice"),t.add(i),e.deleteRange(r,{pos:Qfe(r,i),end:s===o.length-1?Rx(r,i,{}):pat(r,i,o[s-1],o[s+1])})}var Dc={};x(Dc,{FormattingContext:()=>Cwe,FormattingRequestKind:()=>Dwe,RuleAction:()=>Nwe,RuleFlags:()=>Mwe,SmartIndenter:()=>h_,anyContext:()=>vX,createTextRangeWithKind:()=>EX,formatDocument:()=>cst,formatNodeGivenIndentation:()=>_st,formatOnClosingCurly:()=>lst,formatOnEnter:()=>ost,formatOnOpeningCurly:()=>sst,formatOnSemicolon:()=>ast,formatSelection:()=>dst,getAllRules:()=>Pwe,getFormatContext:()=>$at,getFormattingScanner:()=>tme,getIndentationString:()=>hme,getRangeOfEnclosingComment:()=>rOe});var Dwe=(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))(Dwe||{}),Cwe=class{constructor(e,t,r){this.sourceFile=e,this.formattingRequestKind=t,this.options=r}updateContext(e,t,r,i,o){this.currentTokenSpan=C.checkDefined(e),this.currentTokenParent=C.checkDefined(t),this.nextTokenSpan=C.checkDefined(r),this.nextTokenParent=C.checkDefined(i),this.contextNode=C.checkDefined(o),this.contextNodeAllOnSameLine=void 0,this.nextNodeAllOnSameLine=void 0,this.tokensAreOnSameLine=void 0,this.contextNodeBlockIsOnOneLine=void 0,this.nextNodeBlockIsOnOneLine=void 0}ContextNodeAllOnSameLine(){return this.contextNodeAllOnSameLine===void 0&&(this.contextNodeAllOnSameLine=this.NodeIsOnOneLine(this.contextNode)),this.contextNodeAllOnSameLine}NextNodeAllOnSameLine(){return this.nextNodeAllOnSameLine===void 0&&(this.nextNodeAllOnSameLine=this.NodeIsOnOneLine(this.nextTokenParent)),this.nextNodeAllOnSameLine}TokensAreOnSameLine(){if(this.tokensAreOnSameLine===void 0){const e=this.sourceFile.getLineAndCharacterOfPosition(this.currentTokenSpan.pos).line,t=this.sourceFile.getLineAndCharacterOfPosition(this.nextTokenSpan.pos).line;this.tokensAreOnSameLine=e===t}return this.tokensAreOnSameLine}ContextNodeBlockIsOnOneLine(){return this.contextNodeBlockIsOnOneLine===void 0&&(this.contextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.contextNode)),this.contextNodeBlockIsOnOneLine}NextNodeBlockIsOnOneLine(){return this.nextNodeBlockIsOnOneLine===void 0&&(this.nextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.nextTokenParent)),this.nextNodeBlockIsOnOneLine}NodeIsOnOneLine(e){const t=this.sourceFile.getLineAndCharacterOfPosition(e.getStart(this.sourceFile)).line,r=this.sourceFile.getLineAndCharacterOfPosition(e.getEnd()).line;return t===r}BlockIsOnOneLine(e){const t=Rs(e,19,this.sourceFile),r=Rs(e,20,this.sourceFile);if(t&&r){const i=this.sourceFile.getLineAndCharacterOfPosition(t.getEnd()).line,o=this.sourceFile.getLineAndCharacterOfPosition(r.getStart(this.sourceFile)).line;return i===o}return!1}},vat=fg(99,!1,0),bat=fg(99,!1,1);function tme(e,t,r,i,o){const s=t===1?bat:vat;s.setText(e),s.resetTokenState(r);let l=!0,u,d,_,m,y;const E=o({advance:A,readTokenInfo:j,readEOFTokenRange:Q,isOnToken:J,isOnEOF:he,getCurrentLeadingTrivia:()=>u,lastTrailingTriviaWasNewLine:()=>l,skipToEndOf:q,skipToStartOf:ue,getTokenFullStart:()=>{var de;return(de=y==null?void 0:y.token.pos)!=null?de:s.getTokenStart()},getStartPos:()=>{var de;return(de=y==null?void 0:y.token.pos)!=null?de:s.getTokenStart()}});return y=void 0,s.setText(void 0),E;function A(){y=void 0,s.getTokenFullStart()!==r?l=!!d&&Ga(d).kind===4:s.scan(),u=void 0,d=void 0;let ge=s.getTokenFullStart();for(;ge<i;){const Ae=s.getToken();if(!oD(Ae))break;s.scan();const Re={pos:ge,end:s.getTokenFullStart(),kind:Ae};ge=s.getTokenFullStart(),u=jn(u,Re)}_=s.getTokenFullStart()}function R(de){switch(de.kind){case 34:case 72:case 73:case 50:case 49:return!0}return!1}function N(de){if(de.parent)switch(de.parent.kind){case 292:case 287:case 288:case 286:return np(de.kind)||de.kind===80}return!1}function M(de){return GI(de)||l_(de)&&(y==null?void 0:y.token.kind)===12}function k(de){return de.kind===14}function F(de){return de.kind===17||de.kind===18}function O(de){return de.parent&&c_(de.parent)&&de.parent.initializer===de}function G(de){return de===44||de===69}function j(de){C.assert(J());const ge=R(de)?1:k(de)?2:F(de)?3:N(de)?4:M(de)?5:O(de)?6:0;if(y&&ge===m)return re(y,de);s.getTokenFullStart()!==_&&(C.assert(y!==void 0),s.resetTokenState(_),s.scan());let Ae=K(de,ge);const Re=EX(s.getTokenFullStart(),s.getTokenEnd(),Ae);for(d&&(d=void 0);s.getTokenFullStart()<i&&(Ae=s.scan(),!!oD(Ae));){const $=EX(s.getTokenFullStart(),s.getTokenEnd(),Ae);if(d||(d=[]),d.push($),Ae===4){s.scan();break}}return y={leadingTrivia:u,trailingTrivia:d,token:Re},re(y,de)}function K(de,ge){const Ae=s.getToken();switch(m=0,ge){case 1:if(Ae===32){m=1;const Re=s.reScanGreaterToken();return C.assert(de.kind===Re),Re}break;case 2:if(G(Ae)){m=2;const Re=s.reScanSlashToken();return C.assert(de.kind===Re),Re}break;case 3:if(Ae===20)return m=3,s.reScanTemplateToken(!1);break;case 4:return m=4,s.scanJsxIdentifier();case 5:return m=5,s.reScanJsxToken(!1);case 6:return m=6,s.reScanJsxAttributeValue();case 0:break;default:C.assertNever(ge)}return Ae}function Q(){return C.assert(he()),EX(s.getTokenFullStart(),s.getTokenEnd(),1)}function J(){const de=y?y.token.kind:s.getToken();return de!==1&&!oD(de)}function he(){return(y?y.token.kind:s.getToken())===1}function re(de,ge){return aI(ge)&&de.token.kind!==ge.kind&&(de.token.kind=ge.kind),de}function q(de){s.resetTokenState(de.end),_=s.getTokenFullStart(),m=void 0,y=void 0,l=!1,u=void 0,d=void 0}function ue(de){s.resetTokenState(de.pos),_=s.getTokenFullStart(),m=void 0,y=void 0,l=!1,u=void 0,d=void 0}}var vX=se,Nwe=(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))(Nwe||{}),Mwe=(e=>(e[e.None=0]="None",e[e.CanDeleteNewLines=1]="CanDeleteNewLines",e))(Mwe||{});function Pwe(){const e=[];for(let K=0;K<=166;K++)K!==1&&e.push(K);function t(...K){return{tokens:e.filter(Q=>!K.some(J=>J===Q)),isSpecific:!1}}const r={tokens:e,isSpecific:!1},i=$P([...e,3]),o=$P([...e,1]),s=kwe(83,166),l=kwe(30,79),u=[103,104,165,130,142,152],d=[46,47,55,54],_=[9,10,80,21,23,19,110,105],m=[80,21,110,105],y=[80,22,24,105],E=[80,21,110,105],A=[80,22,24,105],R=[2,3],N=[80,...Qq],M=i,k=$P([80,32,3,86,95,102]),F=$P([22,3,92,113,98,93,85]),O=[ci("IgnoreBeforeComment",r,R,vX,1),ci("IgnoreAfterLineComment",2,r,vX,1),ci("NotSpaceBeforeColon",r,59,[io,kz,Wwe],16),ci("SpaceAfterColon",59,r,[io,kz,Wat],4),ci("NoSpaceBeforeQuestionMark",r,58,[io,kz,Wwe],16),ci("SpaceAfterQuestionMarkInConditionalOperator",58,r,[io,Aat],4),ci("NoSpaceAfterQuestionMark",58,r,[io,Eat],16),ci("NoSpaceBeforeDot",r,[25,29],[io,Yat],16),ci("NoSpaceAfterDot",[25,29],r,[io],16),ci("NoSpaceBetweenImportParenInImportType",102,21,[io,wat],16),ci("NoSpaceAfterUnaryPrefixOperator",d,_,[io,kz],16),ci("NoSpaceAfterUnaryPreincrementOperator",46,m,[io],16),ci("NoSpaceAfterUnaryPredecrementOperator",47,E,[io],16),ci("NoSpaceBeforeUnaryPostincrementOperator",y,46,[io,Zwe],16),ci("NoSpaceBeforeUnaryPostdecrementOperator",A,47,[io,Zwe],16),ci("SpaceAfterPostincrementWhenFollowedByAdd",46,40,[io,Kb],4),ci("SpaceAfterAddWhenFollowedByUnaryPlus",40,40,[io,Kb],4),ci("SpaceAfterAddWhenFollowedByPreincrement",40,46,[io,Kb],4),ci("SpaceAfterPostdecrementWhenFollowedBySubtract",47,41,[io,Kb],4),ci("SpaceAfterSubtractWhenFollowedByUnaryMinus",41,41,[io,Kb],4),ci("SpaceAfterSubtractWhenFollowedByPredecrement",41,47,[io,Kb],4),ci("NoSpaceAfterCloseBrace",20,[28,27],[io],16),ci("NewLineBeforeCloseBraceInBlockContext",i,20,[zwe],8),ci("SpaceAfterCloseBrace",20,t(22),[io,Rat],4),ci("SpaceBetweenCloseBraceAndElse",20,93,[io],4),ci("SpaceBetweenCloseBraceAndWhile",20,117,[io],4),ci("NoSpaceBetweenEmptyBraceBrackets",19,20,[io,Hwe],16),ci("SpaceAfterConditionalClosingParen",22,23,[wz],4),ci("NoSpaceBetweenFunctionKeywordAndStar",100,42,[Vwe],16),ci("SpaceAfterStarInGeneratorDeclaration",42,80,[Vwe],4),ci("SpaceAfterFunctionInFuncDecl",100,r,[q1],4),ci("NewLineAfterOpenBraceInBlockContext",19,r,[zwe],8),ci("SpaceAfterGetSetInMember",[139,153],80,[q1],4),ci("NoSpaceBetweenYieldKeywordAndStar",127,42,[io,Qwe],16),ci("SpaceBetweenYieldOrYieldStarAndOperand",[127,42],r,[io,Qwe],4),ci("NoSpaceBetweenReturnAndSemicolon",107,27,[io],16),ci("SpaceAfterCertainKeywords",[115,111,105,91,107,114,135],r,[io],4),ci("SpaceAfterLetConstInVariableDeclaration",[121,87],r,[io,Bat],4),ci("NoSpaceBeforeOpenParenInFuncCall",r,21,[io,Nat,Mat],16),ci("SpaceBeforeBinaryKeywordOperator",r,u,[io,Kb],4),ci("SpaceAfterBinaryKeywordOperator",u,r,[io,Kb],4),ci("SpaceAfterVoidOperator",116,r,[io,Hat],4),ci("SpaceBetweenAsyncAndOpenParen",134,21,[kat,io],4),ci("SpaceBetweenAsyncAndFunctionKeyword",134,[100,80],[io],4),ci("NoSpaceBetweenTagAndTemplateString",[80,22],[15,16],[io],16),ci("SpaceBeforeJsxAttribute",r,80,[Oat,io],4),ci("SpaceBeforeSlashInJsxOpeningElement",r,44,[Xwe,io],4),ci("NoSpaceBeforeGreaterThanTokenInJsxOpeningElement",44,32,[Xwe,io],16),ci("NoSpaceBeforeEqualInJsxAttribute",r,64,[Jwe,io],16),ci("NoSpaceAfterEqualInJsxAttribute",64,r,[Jwe,io],16),ci("NoSpaceBeforeJsxNamespaceColon",80,59,[Kwe],16),ci("NoSpaceAfterJsxNamespaceColon",59,80,[Kwe],16),ci("NoSpaceAfterModuleImport",[144,149],21,[io],16),ci("SpaceAfterCertainTypeScriptKeywords",[128,129,86,138,90,94,95,96,139,119,102,120,144,145,123,125,124,148,153,126,156,161,143,140],r,[io],4),ci("SpaceBeforeCertainTypeScriptKeywords",r,[96,119,161],[io],4),ci("SpaceAfterModuleName",11,19,[Gat],4),ci("SpaceBeforeArrow",r,39,[io],4),ci("SpaceAfterArrow",39,r,[io],4),ci("NoSpaceAfterEllipsis",26,80,[io],16),ci("NoSpaceAfterOptionalParameters",58,[22,28],[io,kz],16),ci("NoSpaceBetweenEmptyInterfaceBraceBrackets",19,20,[io,Vat],16),ci("NoSpaceBeforeOpenAngularBracket",N,30,[io,Oz],16),ci("NoSpaceBetweenCloseParenAndAngularBracket",22,30,[io,Oz],16),ci("NoSpaceAfterOpenAngularBracket",30,r,[io,Oz],16),ci("NoSpaceBeforeCloseAngularBracket",r,32,[io,Oz],16),ci("NoSpaceAfterCloseAngularBracket",32,[21,23,32,28],[io,Oz,xat,Uat],16),ci("SpaceBeforeAt",[22,80],60,[io],4),ci("NoSpaceAfterAt",60,r,[io],16),ci("SpaceAfterDecorator",r,[128,80,95,90,86,126,125,123,124,139,153,23,42],[zat],4),ci("NoSpaceBeforeNonNullAssertionOperator",r,54,[io,qat],16),ci("NoSpaceAfterNewKeywordOnConstructorSignature",105,21,[io,jat],16),ci("SpaceLessThanAndNonJSXTypeAnnotation",30,30,[io],4)],G=[ci("SpaceAfterConstructor",137,21,[bf("insertSpaceAfterConstructor"),io],4),ci("NoSpaceAfterConstructor",137,21,[m_("insertSpaceAfterConstructor"),io],16),ci("SpaceAfterComma",28,r,[bf("insertSpaceAfterCommaDelimiter"),io,lme,Pat,Lat],4),ci("NoSpaceAfterComma",28,r,[m_("insertSpaceAfterCommaDelimiter"),io,lme],16),ci("SpaceAfterAnonymousFunctionKeyword",[100,42],21,[bf("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),q1],4),ci("NoSpaceAfterAnonymousFunctionKeyword",[100,42],21,[m_("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),q1],16),ci("SpaceAfterKeywordInControl",s,21,[bf("insertSpaceAfterKeywordsInControlFlowStatements"),wz],4),ci("NoSpaceAfterKeywordInControl",s,21,[m_("insertSpaceAfterKeywordsInControlFlowStatements"),wz],16),ci("SpaceAfterOpenParen",21,r,[bf("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),io],4),ci("SpaceBeforeCloseParen",r,22,[bf("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),io],4),ci("SpaceBetweenOpenParens",21,21,[bf("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),io],4),ci("NoSpaceBetweenParens",21,22,[io],16),ci("NoSpaceAfterOpenParen",21,r,[m_("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),io],16),ci("NoSpaceBeforeCloseParen",r,22,[m_("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),io],16),ci("SpaceAfterOpenBracket",23,r,[bf("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),io],4),ci("SpaceBeforeCloseBracket",r,24,[bf("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),io],4),ci("NoSpaceBetweenBrackets",23,24,[io],16),ci("NoSpaceAfterOpenBracket",23,r,[m_("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),io],16),ci("NoSpaceBeforeCloseBracket",r,24,[m_("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),io],16),ci("SpaceAfterOpenBrace",19,r,[Owe("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),Fwe],4),ci("SpaceBeforeCloseBrace",r,20,[Owe("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),Fwe],4),ci("NoSpaceBetweenEmptyBraceBrackets",19,20,[io,Hwe],16),ci("NoSpaceAfterOpenBrace",19,r,[nme("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),io],16),ci("NoSpaceBeforeCloseBrace",r,20,[nme("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),io],16),ci("SpaceBetweenEmptyBraceBrackets",19,20,[bf("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces")],4),ci("NoSpaceBetweenEmptyBraceBrackets",19,20,[nme("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces"),io],16),ci("SpaceAfterTemplateHeadAndMiddle",[16,17],r,[bf("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),qwe],4,1),ci("SpaceBeforeTemplateMiddleAndTail",r,[17,18],[bf("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),io],4),ci("NoSpaceAfterTemplateHeadAndMiddle",[16,17],r,[m_("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),qwe],16,1),ci("NoSpaceBeforeTemplateMiddleAndTail",r,[17,18],[m_("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),io],16),ci("SpaceAfterOpenBraceInJsxExpression",19,r,[bf("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),io,TX],4),ci("SpaceBeforeCloseBraceInJsxExpression",r,20,[bf("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),io,TX],4),ci("NoSpaceAfterOpenBraceInJsxExpression",19,r,[m_("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),io,TX],16),ci("NoSpaceBeforeCloseBraceInJsxExpression",r,20,[m_("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),io,TX],16),ci("SpaceAfterSemicolonInFor",27,r,[bf("insertSpaceAfterSemicolonInForStatements"),io,ime],4),ci("NoSpaceAfterSemicolonInFor",27,r,[m_("insertSpaceAfterSemicolonInForStatements"),io,ime],16),ci("SpaceBeforeBinaryOperator",r,l,[bf("insertSpaceBeforeAndAfterBinaryOperators"),io,Kb],4),ci("SpaceAfterBinaryOperator",l,r,[bf("insertSpaceBeforeAndAfterBinaryOperators"),io,Kb],4),ci("NoSpaceBeforeBinaryOperator",r,l,[m_("insertSpaceBeforeAndAfterBinaryOperators"),io,Kb],16),ci("NoSpaceAfterBinaryOperator",l,r,[m_("insertSpaceBeforeAndAfterBinaryOperators"),io,Kb],16),ci("SpaceBeforeOpenParenInFuncDecl",r,21,[bf("insertSpaceBeforeFunctionParenthesis"),io,q1],4),ci("NoSpaceBeforeOpenParenInFuncDecl",r,21,[m_("insertSpaceBeforeFunctionParenthesis"),io,q1],16),ci("NewLineBeforeOpenBraceInControl",F,19,[bf("placeOpenBraceOnNewLineForControlBlocks"),wz,sme],8,1),ci("NewLineBeforeOpenBraceInFunction",M,19,[bf("placeOpenBraceOnNewLineForFunctions"),q1,sme],8,1),ci("NewLineBeforeOpenBraceInTypeScriptDeclWithBlock",k,19,[bf("placeOpenBraceOnNewLineForFunctions"),jwe,sme],8,1),ci("SpaceAfterTypeAssertion",32,r,[bf("insertSpaceAfterTypeAssertion"),io,dme],4),ci("NoSpaceAfterTypeAssertion",32,r,[m_("insertSpaceAfterTypeAssertion"),io,dme],16),ci("SpaceBeforeTypeAnnotation",r,[58,59],[bf("insertSpaceBeforeTypeAnnotation"),io,ome],4),ci("NoSpaceBeforeTypeAnnotation",r,[58,59],[m_("insertSpaceBeforeTypeAnnotation"),io,ome],16),ci("NoOptionalSemicolon",27,o,[wwe("semicolons","remove"),Kat],32),ci("OptionalSemicolon",r,o,[wwe("semicolons","insert"),Xat],64)],j=[ci("NoSpaceBeforeSemicolon",r,27,[io],16),ci("SpaceBeforeOpenBraceInControl",F,19,[rme("placeOpenBraceOnNewLineForControlBlocks"),wz,cme,ame],4,1),ci("SpaceBeforeOpenBraceInFunction",M,19,[rme("placeOpenBraceOnNewLineForFunctions"),q1,bX,cme,ame],4,1),ci("SpaceBeforeOpenBraceInTypeScriptDeclWithBlock",k,19,[rme("placeOpenBraceOnNewLineForFunctions"),jwe,cme,ame],4,1),ci("NoSpaceBeforeComma",r,28,[io],16),ci("NoSpaceBeforeOpenBracket",t(134,84),23,[io],16),ci("NoSpaceAfterCloseBracket",24,r,[io,Fat],16),ci("SpaceAfterSemicolon",27,r,[io],4),ci("SpaceBetweenForAndAwaitKeyword",99,135,[io],4),ci("SpaceBetweenDotDotDotAndTypeName",26,N,[io],16),ci("SpaceBetweenStatements",[22,92,93,84],r,[io,lme,Tat],4),ci("SpaceAfterTryCatchFinally",[113,85,98],19,[io],4)];return[...O,...G,...j]}function ci(e,t,r,i,o,s=0){return{leftTokenRange:Lwe(t),rightTokenRange:Lwe(r),rule:{debugName:e,context:i,action:o,flags:s}}}function $P(e){return{tokens:e,isSpecific:!0}}function Lwe(e){return typeof e=="number"?$P([e]):Lo(e)?$P(e):e}function kwe(e,t,r=[]){const i=[];for(let o=e;o<=t;o++)Vn(r,o)||i.push(o);return $P(i)}function wwe(e,t){return r=>r.options&&r.options[e]===t}function bf(e){return t=>t.options&&Ms(t.options,e)&&!!t.options[e]}function nme(e){return t=>t.options&&Ms(t.options,e)&&!t.options[e]}function m_(e){return t=>!t.options||!Ms(t.options,e)||!t.options[e]}function rme(e){return t=>!t.options||!Ms(t.options,e)||!t.options[e]||t.TokensAreOnSameLine()}function Owe(e){return t=>!t.options||!Ms(t.options,e)||!!t.options[e]}function ime(e){return e.contextNode.kind===249}function Tat(e){return!ime(e)}function Kb(e){switch(e.contextNode.kind){case 227:return e.contextNode.operatorToken.kind!==28;case 228:case 195:case 235:case 282:case 277:case 183:case 193:case 194:case 239:return!0;case 209:case 266:case 272:case 278:case 261:case 170:case 307:case 173:case 172:return e.currentTokenSpan.kind===64||e.nextTokenSpan.kind===64;case 250:case 169:return e.currentTokenSpan.kind===103||e.nextTokenSpan.kind===103||e.currentTokenSpan.kind===64||e.nextTokenSpan.kind===64;case 251:return e.currentTokenSpan.kind===165||e.nextTokenSpan.kind===165}return!1}function kz(e){return!Kb(e)}function Wwe(e){return!ome(e)}function ome(e){const t=e.contextNode.kind;return t===173||t===172||t===170||t===261||sI(t)}function Sat(e){return ko(e.contextNode)&&e.contextNode.questionToken}function Eat(e){return!Sat(e)}function Aat(e){return e.contextNode.kind===228||e.contextNode.kind===195}function ame(e){return e.TokensAreOnSameLine()||bX(e)}function Fwe(e){return e.contextNode.kind===207||e.contextNode.kind===201||Iat(e)}function sme(e){return bX(e)&&!(e.NextNodeAllOnSameLine()||e.NextNodeBlockIsOnOneLine())}function zwe(e){return Bwe(e)&&!(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function Iat(e){return Bwe(e)&&(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function Bwe(e){return Gwe(e.contextNode)}function bX(e){return Gwe(e.nextTokenParent)}function Gwe(e){if(Uwe(e))return!0;switch(e.kind){case 242:case 270:case 211:case 269:return!0}return!1}function q1(e){switch(e.contextNode.kind){case 263:case 175:case 174:case 178:case 179:case 180:case 219:case 177:case 220:case 265:return!0}return!1}function xat(e){return!q1(e)}function Vwe(e){return e.contextNode.kind===263||e.contextNode.kind===219}function jwe(e){return Uwe(e.contextNode)}function Uwe(e){switch(e.kind){case 264:case 232:case 265:case 267:case 188:case 268:case 279:case 280:case 273:case 276:return!0}return!1}function Rat(e){switch(e.currentTokenParent.kind){case 264:case 268:case 267:case 300:case 269:case 256:return!0;case 242:{const t=e.currentTokenParent.parent;if(!t||t.kind!==220&&t.kind!==219)return!0}}return!1}function wz(e){switch(e.contextNode.kind){case 246:case 256:case 249:case 250:case 251:case 248:case 259:case 247:case 255:case 300:return!0;default:return!1}}function Hwe(e){return e.contextNode.kind===211}function Dat(e){return e.contextNode.kind===214}function Cat(e){return e.contextNode.kind===215}function Nat(e){return Dat(e)||Cat(e)}function Mat(e){return e.currentTokenSpan.kind!==28}function Pat(e){return e.nextTokenSpan.kind!==24}function Lat(e){return e.nextTokenSpan.kind!==22}function kat(e){return e.contextNode.kind===220}function wat(e){return e.contextNode.kind===206}function io(e){return e.TokensAreOnSameLine()&&e.contextNode.kind!==12}function qwe(e){return e.contextNode.kind!==12}function lme(e){return e.contextNode.kind!==285&&e.contextNode.kind!==289}function TX(e){return e.contextNode.kind===295||e.contextNode.kind===294}function Oat(e){return e.nextTokenParent.kind===292||e.nextTokenParent.kind===296&&e.nextTokenParent.parent.kind===292}function Jwe(e){return e.contextNode.kind===292}function Wat(e){return e.nextTokenParent.kind!==296}function Kwe(e){return e.nextTokenParent.kind===296}function Xwe(e){return e.contextNode.kind===286}function Fat(e){return!q1(e)&&!bX(e)}function zat(e){return e.TokensAreOnSameLine()&&ff(e.contextNode)&&Ywe(e.currentTokenParent)&&!Ywe(e.nextTokenParent)}function Ywe(e){for(;e&&Et(e);)e=e.parent;return e&&e.kind===171}function Bat(e){return e.currentTokenParent.kind===262&&e.currentTokenParent.getStart(e.sourceFile)===e.currentTokenSpan.pos}function cme(e){return e.formattingRequestKind!==2}function Gat(e){return e.contextNode.kind===268}function Vat(e){return e.contextNode.kind===188}function jat(e){return e.contextNode.kind===181}function $we(e,t){if(e.kind!==30&&e.kind!==32)return!1;switch(t.kind){case 184:case 217:case 266:case 264:case 232:case 265:case 263:case 219:case 220:case 175:case 174:case 180:case 181:case 214:case 215:case 234:return!0;default:return!1}}function Oz(e){return $we(e.currentTokenSpan,e.currentTokenParent)||$we(e.nextTokenSpan,e.nextTokenParent)}function dme(e){return e.contextNode.kind===217}function Uat(e){return!dme(e)}function Hat(e){return e.currentTokenSpan.kind===116&&e.currentTokenParent.kind===223}function Qwe(e){return e.contextNode.kind===230&&e.contextNode.expression!==void 0}function qat(e){return e.contextNode.kind===236}function Zwe(e){return!Jat(e)}function Jat(e){switch(e.contextNode.kind){case 246:case 249:case 250:case 251:case 247:case 248:return!0;default:return!1}}function Kat(e){let t=e.nextTokenSpan.kind,r=e.nextTokenSpan.pos;if(oD(t)){const s=e.nextTokenParent===e.currentTokenParent?eE(e.currentTokenParent,Rn(e.currentTokenParent,l=>!l.parent),e.sourceFile):e.nextTokenParent.getFirstToken(e.sourceFile);if(!s)return!0;t=s.kind,r=s.getStart(e.sourceFile)}const i=e.sourceFile.getLineAndCharacterOfPosition(e.currentTokenSpan.pos).line,o=e.sourceFile.getLineAndCharacterOfPosition(r).line;return i===o?t===20||t===1:t===27&&e.currentTokenSpan.kind===27?!0:t===241||t===27?!1:e.contextNode.kind===265||e.contextNode.kind===266?!Eu(e.currentTokenParent)||!!e.currentTokenParent.type||t!==21:ko(e.currentTokenParent)?!e.currentTokenParent.initializer:e.currentTokenParent.kind!==249&&e.currentTokenParent.kind!==243&&e.currentTokenParent.kind!==241&&t!==23&&t!==21&&t!==40&&t!==41&&t!==44&&t!==14&&t!==28&&t!==229&&t!==16&&t!==15&&t!==25}function Xat(e){return k7(e.currentTokenSpan.end,e.currentTokenParent,e.sourceFile)}function Yat(e){return!Jr(e.contextNode)||!ip(e.contextNode.expression)||e.contextNode.expression.getText().includes(".")}function $at(e,t){return{options:e,getRules:Qat(),host:t}}var ume;function Qat(){return ume===void 0&&(ume=est(Pwe())),ume}function Zat(e){let t=0;return e&1&&(t|=28),e&2&&(t|=96),e&28&&(t|=28),e&96&&(t|=96),t}function est(e){const t=tst(e);return r=>{const i=t[eOe(r.currentTokenSpan.kind,r.nextTokenSpan.kind)];if(i){const o=[];let s=0;for(const l of i){const u=~Zat(s);l.action&u&&Gn(l.context,d=>d(r))&&(o.push(l),s|=l.action)}if(o.length)return o}}}function tst(e){const t=new Array(pme*pme),r=new Array(t.length);for(const i of e){const o=i.leftTokenRange.isSpecific&&i.rightTokenRange.isSpecific;for(const s of i.leftTokenRange.tokens)for(const l of i.rightTokenRange.tokens){const u=eOe(s,l);let d=t[u];d===void 0&&(d=t[u]=[]),nst(d,i.rule,o,r,u)}}return t}function eOe(e,t){return C.assert(e<=166&&t<=166,"Must compute formatting context from tokens"),e*pme+t}var QP=5,SX=31,pme=167,u8=(e=>(e[e.StopRulesSpecific=0]="StopRulesSpecific",e[e.StopRulesAny=QP*1]="StopRulesAny",e[e.ContextRulesSpecific=QP*2]="ContextRulesSpecific",e[e.ContextRulesAny=QP*3]="ContextRulesAny",e[e.NoContextRulesSpecific=QP*4]="NoContextRulesSpecific",e[e.NoContextRulesAny=QP*5]="NoContextRulesAny",e))(u8||{});function nst(e,t,r,i,o){const s=t.action&3?r?0:u8.StopRulesAny:t.context!==vX?r?u8.ContextRulesSpecific:u8.ContextRulesAny:r?u8.NoContextRulesSpecific:u8.NoContextRulesAny,l=i[o]||0;e.splice(rst(l,s),0,t),i[o]=ist(l,s)}function rst(e,t){let r=0;for(let i=0;i<=t;i+=QP)r+=e&SX,e>>=QP;return r}function ist(e,t){const r=(e>>t&SX)+1;return C.assert((r&SX)===r,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),e&~(SX<<t)|r<<t}function EX(e,t,r){const i={pos:e,end:t,kind:r};return C.isDebugging&&Object.defineProperty(i,"__debugKind",{get:()=>C.formatSyntaxKind(r)}),i}function ost(e,t,r){const i=t.getLineAndCharacterOfPosition(e).line;if(i===0)return[];let o=$2(i,t);for(;Hh(t.text.charCodeAt(o));)o--;eu(t.text.charCodeAt(o))&&o--;const s={pos:bb(i-1,t),end:o+1};return Wz(s,t,r,2)}function ast(e,t,r){const i=fme(e,27,t);return tOe(mme(i),t,r,3)}function sst(e,t,r){const i=fme(e,19,t);if(!i)return[];const o=i.parent,s=mme(o),l={pos:Rm(s.getStart(t),t),end:e};return Wz(l,t,r,4)}function lst(e,t,r){const i=fme(e,20,t);return tOe(mme(i),t,r,5)}function cst(e,t){const r={pos:0,end:e.text.length};return Wz(r,e,t,0)}function dst(e,t,r,i){const o={pos:Rm(e,r),end:t};return Wz(o,r,i,1)}function fme(e,t,r){const i=Fc(e,r);return i&&i.kind===t&&e===i.getEnd()?i:void 0}function mme(e){let t=e;for(;t&&t.parent&&t.parent.end===e.end&&!ust(t.parent,t);)t=t.parent;return t}function ust(e,t){switch(e.kind){case 264:case 265:return rp(e.members,t);case 268:const r=e.body;return!!r&&r.kind===269&&rp(r.statements,t);case 308:case 242:case 269:return rp(e.statements,t);case 300:return rp(e.block.statements,t)}return!1}function pst(e,t){return r(t);function r(i){const o=Xo(i,s=>RV(s.getStart(t),s.end,e)&&s);if(o){const s=r(o);if(s)return s}return i}}function fst(e,t){if(!e.length)return o;const r=e.filter(s=>RP(t,s.start,s.start+s.length)).sort((s,l)=>s.start-l.start);if(!r.length)return o;let i=0;return s=>{for(;;){if(i>=r.length)return!1;const l=r[i];if(s.end<=l.start)return!1;if(m7(s.pos,s.end,l.start,l.start+l.length))return!0;i++}};function o(){return!1}}function mst(e,t,r){const i=e.getStart(r);if(i===t.pos&&e.end===t.end)return i;const o=Fc(t.pos,r);return!o||o.end>=t.pos?e.pos:o.end}function hst(e,t,r){let i=-1,o;for(;e;){const s=r.getLineAndCharacterOfPosition(e.getStart(r)).line;if(i!==-1&&s!==i)break;if(h_.shouldIndentChildNode(t,e,o,r))return t.indentSize;i=s,o=e,e=e.parent}return 0}function _st(e,t,r,i,o,s){const l={pos:e.pos,end:e.end};return tme(t.text,r,l.pos,l.end,u=>nOe(l,e,i,o,u,s,1,d=>!1,t))}function tOe(e,t,r,i){if(!e)return[];const o={pos:Rm(e.getStart(t),t),end:e.end};return Wz(o,t,r,i)}function Wz(e,t,r,i){const o=pst(e,t);return tme(t.text,t.languageVariant,mst(o,e,t),e.end,s=>nOe(e,o,h_.getIndentationForNode(o,e,t,r.options),hst(o,r.options,t),s,r,i,fst(t.parseDiagnostics,e),t))}function nOe(e,t,r,i,o,{options:s,getRules:l,host:u},d,_,m){var y;const E=new Cwe(m,d,s);let A,R,N,M,k,F=-1;const O=[];if(o.advance(),o.isOnToken()){const le=m.getLineAndCharacterOfPosition(t.getStart(m)).line;let De=le;ff(t)&&(De=m.getLineAndCharacterOfPosition(bG(t,m)).line),he(t,t,le,De,r,i)}const G=o.getCurrentLeadingTrivia();if(G){const le=h_.nodeWillIndentChild(s,t,void 0,m,!1)?r+s.indentSize:r;re(G,le,!0,De=>{ue(De,m.getLineAndCharacterOfPosition(De.pos),t,t,void 0),ge(De.pos,le,!1)}),s.trimTrailingWhitespace!==!1&&be(G)}if(R&&o.getTokenFullStart()>=e.end){const le=o.isOnEOF()?o.readEOFTokenRange():o.isOnToken()?o.readTokenInfo(t).token:void 0;if(le&&le.pos===A){const De=((y=Fc(le.end,m,t))==null?void 0:y.parent)||N;de(le,m.getLineAndCharacterOfPosition(le.pos).line,De,R,M,N,De,void 0)}}return O;function j(le,De,_e,Ve,Ge){if(RP(Ve,le,De)||bO(Ve,le,De)){if(Ge!==-1)return Ge}else{const Be=m.getLineAndCharacterOfPosition(le).line,ot=Rm(le,m),Ot=h_.findFirstNonWhitespaceColumn(ot,le,m,s);if(Be!==_e||le===Ot){const Vt=h_.getBaseIndentation(s);return Vt>Ot?Vt:Ot}}return-1}function K(le,De,_e,Ve,Ge,Be){const ot=h_.shouldIndentChildNode(s,le)?s.indentSize:0;return Be===De?{indentation:De===k?F:Ge.getIndentation(),delta:Math.min(s.indentSize,Ge.getDelta(le)+ot)}:_e===-1?le.kind===21&&De===k?{indentation:F,delta:Ge.getDelta(le)}:h_.childStartsOnTheSameLineWithElseInIfStatement(Ve,le,De,m)||h_.childIsUnindentedBranchOfConditionalExpression(Ve,le,De,m)||h_.argumentStartsOnSameLineAsPreviousArgument(Ve,le,De,m)?{indentation:Ge.getIndentation(),delta:ot}:{indentation:Ge.getIndentation()+Ge.getDelta(le),delta:ot}:{indentation:_e,delta:ot}}function Q(le){if(Im(le)){const De=_n(le.modifiers,Ra,lo(le.modifiers,wc));if(De)return De.kind}switch(le.kind){case 264:return 86;case 265:return 120;case 263:return 100;case 267:return 267;case 178:return 139;case 179:return 153;case 175:if(le.asteriskToken)return 42;case 173:case 170:const De=Fo(le);if(De)return De.kind}}function J(le,De,_e,Ve){return{getIndentationForComment:(ot,Ot,Vt)=>{switch(ot){case 20:case 24:case 22:return _e+Be(Vt)}return Ot!==-1?Ot:_e},getIndentationForToken:(ot,Ot,Vt,mn)=>!mn&&Ge(ot,Ot,Vt)?_e+Be(Vt):_e,getIndentation:()=>_e,getDelta:Be,recomputeIndentation:(ot,Ot)=>{h_.shouldIndentChildNode(s,Ot,le,m)&&(_e+=ot?s.indentSize:-s.indentSize,Ve=h_.shouldIndentChildNode(s,le)?s.indentSize:0)}};function Ge(ot,Ot,Vt){switch(Ot){case 19:case 20:case 22:case 93:case 117:case 60:return!1;case 44:case 32:switch(Vt.kind){case 287:case 288:case 286:return!1}break;case 23:case 24:if(Vt.kind!==201)return!1;break}return De!==ot&&!(ff(le)&&Ot===Q(le))}function Be(ot){return h_.nodeWillIndentChild(s,le,ot,m,!0)?Ve:0}}function he(le,De,_e,Ve,Ge,Be){if(!RP(e,le.getStart(m),le.getEnd()))return;const ot=J(le,_e,Ge,Be);let Ot=De;for(Xo(le,gt=>{Vt(gt,-1,le,ot,_e,Ve,!1)},gt=>{mn(gt,le,_e,ot)});o.isOnToken()&&o.getTokenFullStart()<e.end;){const gt=o.readTokenInfo(le);if(gt.token.end>Math.min(le.end,e.end))break;Hn(gt,le,ot,le)}function Vt(gt,tn,ir,Ri,_o,Ht,Qr,go){if(C.assert(!zs(gt)),Wl(gt)||jte(ir,gt))return tn;const Ci=gt.getStart(m),Cr=m.getLineAndCharacterOfPosition(Ci).line;let Ur=Cr;ff(gt)&&(Ur=m.getLineAndCharacterOfPosition(bG(gt,m)).line);let Qe=-1;if(Qr&&rp(e,ir)&&(Qe=j(Ci,gt.end,_o,e,tn),Qe!==-1&&(tn=Qe)),!RP(e,gt.pos,gt.end))return gt.end<e.pos&&o.skipToEndOf(gt),tn;if(gt.getFullWidth()===0)return tn;for(;o.isOnToken()&&o.getTokenFullStart()<e.end;){const pr=o.readTokenInfo(le);if(pr.token.end>e.end)return tn;if(pr.token.end>Ci){pr.token.pos>Ci&&o.skipToStartOf(gt);break}Hn(pr,le,Ri,le)}if(!o.isOnToken()||o.getTokenFullStart()>=e.end)return tn;if(aI(gt)){const pr=o.readTokenInfo(gt);if(gt.kind!==12)return C.assert(pr.token.end===gt.end,"Token end is child end"),Hn(pr,le,Ri,gt),tn}const It=gt.kind===171?Cr:Ht,hn=K(gt,Cr,Qe,le,Ri,It);return he(gt,Ot,Cr,Ur,hn.indentation,hn.delta),Ot=le,go&&ir.kind===210&&tn===-1&&(tn=hn.indentation),tn}function mn(gt,tn,ir,Ri){C.assert(hS(gt)),C.assert(!zs(gt));const _o=gst(tn,gt);let Ht=Ri,Qr=ir;if(!RP(e,gt.pos,gt.end)){gt.end<e.pos&&o.skipToEndOf(gt);return}if(_o!==0)for(;o.isOnToken()&&o.getTokenFullStart()<e.end;){const Cr=o.readTokenInfo(tn);if(Cr.token.end>gt.pos)break;if(Cr.token.kind===_o){Qr=m.getLineAndCharacterOfPosition(Cr.token.pos).line,Hn(Cr,tn,Ri,tn);let Ur;if(F!==-1)Ur=F;else{const Qe=Rm(Cr.token.pos,m);Ur=h_.findFirstNonWhitespaceColumn(Qe,Cr.token.pos,m,s)}Ht=J(tn,ir,Ur,s.indentSize)}else Hn(Cr,tn,Ri,tn)}let go=-1;for(let Cr=0;Cr<gt.length;Cr++){const Ur=gt[Cr];go=Vt(Ur,go,le,Ht,Qr,Qr,!0,Cr===0)}const Ci=yst(_o);if(Ci!==0&&o.isOnToken()&&o.getTokenFullStart()<e.end){let Cr=o.readTokenInfo(tn);Cr.token.kind===28&&(Hn(Cr,tn,Ht,tn),Cr=o.isOnToken()?o.readTokenInfo(tn):void 0),Cr&&Cr.token.kind===Ci&&rp(tn,Cr.token)&&Hn(Cr,tn,Ht,tn,!0)}}function Hn(gt,tn,ir,Ri,_o){C.assert(rp(tn,gt.token));const Ht=o.lastTrailingTriviaWasNewLine();let Qr=!1;gt.leadingTrivia&&q(gt.leadingTrivia,tn,Ot,ir);let go=0;const Ci=rp(e,gt.token),Cr=m.getLineAndCharacterOfPosition(gt.token.pos);if(Ci){const Ur=_(gt.token),Qe=R;if(go=ue(gt.token,Cr,tn,Ot,ir),!Ur)if(go===0){const It=Qe&&m.getLineAndCharacterOfPosition(Qe.end).line;Qr=Ht&&Cr.line!==It}else Qr=go===1}if(gt.trailingTrivia&&(A=Ga(gt.trailingTrivia).end,q(gt.trailingTrivia,tn,Ot,ir)),Qr){const Ur=Ci&&!_(gt.token)?ir.getIndentationForToken(Cr.line,gt.token.kind,Ri,!!_o):-1;let Qe=!0;if(gt.leadingTrivia){const It=ir.getIndentationForComment(gt.token.kind,Ur,Ri);Qe=re(gt.leadingTrivia,It,Qe,hn=>ge(hn.pos,It,!1))}Ur!==-1&&Qe&&(ge(gt.token.pos,Ur,go===1),k=Cr.line,F=Ur)}o.advance(),Ot=tn}}function re(le,De,_e,Ve){for(const Ge of le){const Be=rp(e,Ge);switch(Ge.kind){case 3:Be&&$(Ge,De,!_e),_e=!1;break;case 2:_e&&Be&&Ve(Ge),_e=!1;break;case 4:_e=!0;break}}return _e}function q(le,De,_e,Ve){for(const Ge of le)if(T7(Ge.kind)&&rp(e,Ge)){const Be=m.getLineAndCharacterOfPosition(Ge.pos);ue(Ge,Be,De,_e,Ve)}}function ue(le,De,_e,Ve,Ge){const Be=_(le);let ot=0;if(!Be)if(R)ot=de(le,De.line,_e,R,M,N,Ve,Ge);else{const Ot=m.getLineAndCharacterOfPosition(e.pos);ve(Ot.line,De.line)}return R=le,A=le.end,N=_e,M=De.line,ot}function de(le,De,_e,Ve,Ge,Be,ot,Ot){E.updateContext(Ve,Be,le,_e,ot);const Vt=l(E);let mn=E.options.trimTrailingWhitespace!==!1,Hn=0;return Vt?Mn(Vt,gt=>{if(Hn=lt(gt,Ve,Ge,le,De),Ot)switch(Hn){case 2:_e.getStart(m)===le.pos&&Ot.recomputeIndentation(!1,ot);break;case 1:_e.getStart(m)===le.pos&&Ot.recomputeIndentation(!0,ot);break;default:C.assert(Hn===0)}mn=mn&&!(gt.action&16)&>.flags!==1}):mn=mn&&le.kind!==1,De!==Ge&&mn&&ve(Ge,De,Ve),Hn}function ge(le,De,_e){const Ve=hme(De,s);if(_e)Ne(le,0,Ve);else{const Ge=m.getLineAndCharacterOfPosition(le),Be=bb(Ge.line,m);(De!==Ae(Be,Ge.character)||Re(Ve,Be))&&Ne(Be,Ge.character,Ve)}}function Ae(le,De){let _e=0;for(let Ve=0;Ve<De;Ve++)m.text.charCodeAt(le+Ve)===9?_e+=s.tabSize-_e%s.tabSize:_e++;return _e}function Re(le,De){return le!==m.text.substr(De,le.length)}function $(le,De,_e,Ve=!0){let Ge=m.getLineAndCharacterOfPosition(le.pos).line;const Be=m.getLineAndCharacterOfPosition(le.end).line;if(Ge===Be){_e||ge(le.pos,De,!1);return}const ot=[];let Ot=le.pos;for(let tn=Ge;tn<Be;tn++){const ir=$2(tn,m);ot.push({pos:Ot,end:ir}),Ot=bb(tn+1,m)}if(Ve&&ot.push({pos:Ot,end:le.end}),ot.length===0)return;const Vt=bb(Ge,m),mn=h_.findFirstNonWhitespaceCharacterAndColumn(Vt,ot[0].pos,m,s);let Hn=0;_e&&(Hn=1,Ge++);const gt=De-mn.column;for(let tn=Hn;tn<ot.length;tn++,Ge++){const ir=bb(Ge,m),Ri=tn===0?mn:h_.findFirstNonWhitespaceCharacterAndColumn(ot[tn].pos,ot[tn].end,m,s),_o=Ri.column+gt;if(_o>0){const Ht=hme(_o,s);Ne(ir,Ri.character,Ht)}else Se(ir,Ri.character)}}function ve(le,De,_e){for(let Ve=le;Ve<De;Ve++){const Ge=bb(Ve,m),Be=$2(Ve,m);if(_e&&(T7(_e.kind)||qq(_e.kind))&&_e.pos<=Be&&_e.end>Be)continue;const ot=je(Ge,Be);ot!==-1&&(C.assert(ot===Ge||!Hh(m.text.charCodeAt(ot-1))),Se(ot,Be+1-ot))}}function je(le,De){let _e=De;for(;_e>=le&&Hh(m.text.charCodeAt(_e));)_e--;return _e!==De?_e+1:-1}function be(le){let De=R?R.end:e.pos;for(const _e of le)T7(_e.kind)&&(De<_e.pos&&ee(De,_e.pos-1,R),De=_e.end+1);De<e.end&&ee(De,e.end,R)}function ee(le,De,_e){const Ve=m.getLineAndCharacterOfPosition(le).line,Ge=m.getLineAndCharacterOfPosition(De).line;ve(Ve,Ge+1,_e)}function Se(le,De){De&&O.push(E7(le,De,""))}function Ne(le,De,_e){(De||_e)&&O.push(E7(le,De,_e))}function ze(le,De){O.push(E7(le,0,De))}function lt(le,De,_e,Ve,Ge){const Be=Ge!==_e;switch(le.action){case 1:return 0;case 16:if(De.end!==Ve.pos)return Se(De.end,Ve.pos-De.end),Be?2:0;break;case 32:Se(De.pos,De.end-De.pos);break;case 8:if(le.flags!==1&&_e!==Ge)return 0;if(Ge-_e!==1)return Ne(De.end,Ve.pos-De.end,Ty(u,s)),Be?0:1;break;case 4:if(le.flags!==1&&_e!==Ge)return 0;if(Ve.pos-De.end!==1||m.text.charCodeAt(De.end)!==32)return Ne(De.end,Ve.pos-De.end," "),Be?2:0;break;case 64:ze(De.end,";")}return 0}}function rOe(e,t,r,i=Fi(e,t)){const o=Rn(i,mh);if(o&&(i=o.parent),i.getStart(e)<=t&&t<i.getEnd())return;r=r===null?void 0:r===void 0?Fc(t,e):r;const l=r&&ub(e.text,r.end),u=LG(i,e),d=co(l,u);return d&&_n(d,_=>vO(_,t)||t===_.end&&(_.kind===2||t===e.getFullWidth()))}function gst(e,t){switch(e.kind){case 177:case 263:case 219:case 175:case 174:case 220:case 180:case 181:case 185:case 186:case 178:case 179:if(e.typeParameters===t)return 30;if(e.parameters===t)return 21;break;case 214:case 215:if(e.typeArguments===t)return 30;if(e.arguments===t)return 21;break;case 264:case 232:case 265:case 266:if(e.typeParameters===t)return 30;break;case 184:case 216:case 187:case 234:case 206:if(e.typeArguments===t)return 30;break;case 188:return 19}return 0}function yst(e){switch(e){case 21:return 22;case 30:return 32;case 19:return 20}return 0}var AX,p8,f8;function hme(e,t){if((!AX||AX.tabSize!==t.tabSize||AX.indentSize!==t.indentSize)&&(AX={tabSize:t.tabSize,indentSize:t.indentSize},p8=f8=void 0),t.convertTabsToSpaces){let i;const o=Math.floor(e/t.indentSize),s=e%t.indentSize;return f8||(f8=[]),f8[o]===void 0?(i=AO(" ",t.indentSize*o),f8[o]=i):i=f8[o],s?i+AO(" ",s):i}else{const i=Math.floor(e/t.tabSize),o=e-i*t.tabSize;let s;return p8||(p8=[]),p8[i]===void 0?p8[i]=s=AO(" ",i):s=p8[i],o?s+AO(" ",o):s}}var h_;(e=>{let t;($=>{$[$.Unknown=-1]="Unknown"})(t||(t={}));function r($,ve,je,be=!1){if($>ve.text.length)return u(je);if(je.indentStyle===0)return 0;const ee=Fc($,ve,void 0,!0),Se=rOe(ve,$,ee||null);if(Se&&Se.kind===3)return i(ve,$,je,Se);if(!ee)return u(je);if(qq(ee.kind)&&ee.getStart(ve)<=$&&$<ee.end)return 0;const ze=ve.getLineAndCharacterOfPosition($).line,lt=Fi(ve,$),le=lt.kind===19&<.parent.kind===211;if(je.indentStyle===1||le)return o(ve,$,je);if(ee.kind===28&&ee.parent.kind!==227){const _e=m(ee,ve,je);if(_e!==-1)return _e}const De=G($,ee.parent,ve);if(De&&!rp(De,ee)){const Ve=[219,220].includes(lt.parent.kind)?0:je.indentSize;return Q(De,ve,je)+Ve}return s(ve,$,ee,ze,be,je)}e.getIndentation=r;function i($,ve,je,be){const ee=fa($,ve).line-1,Se=fa($,be.pos).line;if(C.assert(Se>=0),ee<=Se)return ue(bb(Se,$),ve,$,je);const Ne=bb(ee,$),{column:ze,character:lt}=q(Ne,ve,$,je);return ze===0?ze:$.text.charCodeAt(Ne+lt)===42?ze-1:ze}function o($,ve,je){let be=ve;for(;be>0;){const Se=$.text.charCodeAt(be);if(!ug(Se))break;be--}const ee=Rm(be,$);return ue(ee,be,$,je)}function s($,ve,je,be,ee,Se){let Ne,ze=je;for(;ze;){if(zq(ze,ve,$)&&Ae(Se,ze,Ne,$,!0)){const le=R(ze,$),De=A(je,ze,be,$),_e=De!==0?ee&&De===2?Se.indentSize:0:be!==le.line?Se.indentSize:0;return d(ze,le,void 0,_e,$,!0,Se)}const lt=J(ze,$,Se,!0);if(lt!==-1)return lt;Ne=ze,ze=ze.parent}return u(Se)}function l($,ve,je,be){const ee=je.getLineAndCharacterOfPosition($.getStart(je));return d($,ee,ve,0,je,!1,be)}e.getIndentationForNode=l;function u($){return $.baseIndentSize||0}e.getBaseIndentation=u;function d($,ve,je,be,ee,Se,Ne){var ze;let lt=$.parent;for(;lt;){let le=!0;if(je){const Ge=$.getStart(ee);le=Ge<je.pos||Ge>je.end}const De=_(lt,$,ee),_e=De.line===ve.line||M(lt,$,ve.line,ee);if(le){const Ge=(ze=O($,ee))==null?void 0:ze[0],Be=!!Ge&&R(Ge,ee).line>De.line;let ot=J($,ee,Ne,Be);if(ot!==-1||(ot=y($,lt,ve,_e,ee,Ne),ot!==-1))return ot+be}Ae(Ne,lt,$,ee,Se)&&!_e&&(be+=Ne.indentSize);const Ve=N(lt,$,ve.line,ee);$=lt,lt=$.parent,ve=Ve?ee.getLineAndCharacterOfPosition($.getStart(ee)):De}return be+u(Ne)}function _($,ve,je){const be=O(ve,je),ee=be?be.pos:$.getStart(je);return je.getLineAndCharacterOfPosition(ee)}function m($,ve,je){const be=$le($);return be&&be.listItemIndex>0?he(be.list.getChildren(),be.listItemIndex-1,ve,je):-1}function y($,ve,je,be,ee,Se){return(rd($)||J2($))&&(ve.kind===308||!be)?re(je,ee,Se):-1}let E;($=>{$[$.Unknown=0]="Unknown",$[$.OpenBrace=1]="OpenBrace",$[$.CloseBrace=2]="CloseBrace"})(E||(E={}));function A($,ve,je,be){const ee=eE($,ve,be);if(!ee)return 0;if(ee.kind===19)return 1;if(ee.kind===20){const Se=R(ee,be).line;return je===Se?2:0}return 0}function R($,ve){return ve.getLineAndCharacterOfPosition($.getStart(ve))}function N($,ve,je,be){if(!(ra($)&&Vn($.arguments,ve)))return!1;const ee=$.expression.getEnd();return fa(be,ee).line===je}e.isArgumentAndStartLineOverlapsExpressionBeingCalled=N;function M($,ve,je,be){if($.kind===246&&$.elseStatement===ve){const ee=Rs($,93,be);return C.assert(ee!==void 0),R(ee,be).line===je}return!1}e.childStartsOnTheSameLineWithElseInIfStatement=M;function k($,ve,je,be){if(S1($)&&(ve===$.whenTrue||ve===$.whenFalse)){const ee=fa(be,$.condition.end).line;if(ve===$.whenTrue)return je===ee;{const Se=R($.whenTrue,be).line,Ne=fa(be,$.whenTrue.end).line;return ee===Se&&Ne===je}}return!1}e.childIsUnindentedBranchOfConditionalExpression=k;function F($,ve,je,be){if(qh($)){if(!$.arguments)return!1;const ee=_n($.arguments,lt=>lt.pos===ve.pos);if(!ee)return!1;const Se=$.arguments.indexOf(ee);if(Se===0)return!1;const Ne=$.arguments[Se-1],ze=fa(be,Ne.getEnd()).line;if(je===ze)return!0}return!1}e.argumentStartsOnSameLineAsPreviousArgument=F;function O($,ve){return $.parent&&j($.getStart(ve),$.getEnd(),$.parent,ve)}e.getContainingList=O;function G($,ve,je){return ve&&j($,$,ve,je)}function j($,ve,je,be){switch(je.kind){case 184:return ee(je.typeArguments);case 211:return ee(je.properties);case 210:return ee(je.elements);case 188:return ee(je.members);case 263:case 219:case 220:case 175:case 174:case 180:case 177:case 186:case 181:return ee(je.typeParameters)||ee(je.parameters);case 178:return ee(je.parameters);case 264:case 232:case 265:case 266:case 346:return ee(je.typeParameters);case 215:case 214:return ee(je.typeArguments)||ee(je.arguments);case 262:return ee(je.declarations);case 276:case 280:return ee(je.elements);case 207:case 208:return ee(je.elements)}function ee(Se){return Se&&bO(K(je,Se,be),$,ve)?Se:void 0}}function K($,ve,je){const be=$.getChildren(je);for(let ee=1;ee<be.length-1;ee++)if(be[ee].pos===ve.pos&&be[ee].end===ve.end)return{pos:be[ee-1].end,end:be[ee+1].getStart(je)};return ve}function Q($,ve,je){return $?re(ve.getLineAndCharacterOfPosition($.pos),ve,je):-1}function J($,ve,je,be){if($.parent&&$.parent.kind===262)return-1;const ee=O($,ve);if(ee){const Se=ee.indexOf($);if(Se!==-1){const Ne=he(ee,Se,ve,je);if(Ne!==-1)return Ne}return Q(ee,ve,je)+(be?je.indentSize:0)}return-1}function he($,ve,je,be){C.assert(ve>=0&&ve<$.length);const ee=$[ve];let Se=R(ee,je);for(let Ne=ve-1;Ne>=0;Ne--){if($[Ne].kind===28)continue;if(je.getLineAndCharacterOfPosition($[Ne].end).line!==Se.line)return re(Se,je,be);Se=R($[Ne],je)}return-1}function re($,ve,je){const be=ve.getPositionOfLineAndCharacter($.line,0);return ue(be,be+$.character,ve,je)}function q($,ve,je,be){let ee=0,Se=0;for(let Ne=$;Ne<ve;Ne++){const ze=je.text.charCodeAt(Ne);if(!Hh(ze))break;ze===9?Se+=be.tabSize+Se%be.tabSize:Se++,ee++}return{column:Se,character:ee}}e.findFirstNonWhitespaceCharacterAndColumn=q;function ue($,ve,je,be){return q($,ve,je,be).column}e.findFirstNonWhitespaceColumn=ue;function de($,ve,je,be,ee){var Ne;const Se=je?je.kind:0;switch(ve.kind){case 245:case 264:case 232:case 265:case 267:case 266:case 210:case 242:case 269:case 211:case 188:case 201:case 190:case 218:case 212:case 214:case 215:case 244:case 278:case 254:case 228:case 208:case 207:case 287:case 290:case 286:case 295:case 174:case 180:case 181:case 170:case 185:case 186:case 197:case 216:case 224:case 280:case 276:case 282:case 277:case 173:case 297:case 298:return!0;case 270:return(Ne=$.indentSwitchCase)!=null?Ne:!0;case 261:case 304:case 227:if(!$.indentMultiLineObjectLiteralBeginningOnBlankLine&&be&&Se===211)return Re(be,je);if(ve.kind===227&&be&&je&&Se===285){const ze=be.getLineAndCharacterOfPosition(wa(be.text,ve.pos)).line,lt=be.getLineAndCharacterOfPosition(wa(be.text,je.pos)).line;return ze!==lt}if(ve.kind!==227)return!0;break;case 247:case 248:case 250:case 251:case 249:case 246:case 263:case 219:case 175:case 177:case 178:case 179:return Se!==242;case 220:return be&&Se===218?Re(be,je):Se!==242;case 279:return Se!==280;case 273:return Se!==274||!!je.namedBindings&&je.namedBindings.kind!==276;case 285:return Se!==288;case 289:return Se!==291;case 194:case 193:case 239:if(Se===188||Se===190||Se===201)return!1;break;case 259:if(Se===242)return!1;break}return ee}e.nodeWillIndentChild=de;function ge($,ve){switch($){case 254:case 258:case 252:case 253:return ve.kind!==242;default:return!1}}function Ae($,ve,je,be,ee=!1){return de($,ve,je,be,!1)&&!(ee&&je&&ge(je.kind,ve))}e.shouldIndentChildNode=Ae;function Re($,ve){const je=wa($.text,ve.pos),be=$.getLineAndCharacterOfPosition(je).line,ee=$.getLineAndCharacterOfPosition(ve.end).line;return be===ee}})(h_||(h_={}));var IX={};x(IX,{preparePasteEdits:()=>vst});function vst(e,t,r){let i=!1;return t.forEach(o=>{const s=Rn(Fi(e,o.pos),l=>rp(l,o));s&&Xo(s,function l(u){var d;if(!i){if(Je(u)&&tC(o,u.getStart(e))){const _=r.resolveName(u.text,u,-1,!1);if(_&&_.declarations){for(const m of _.declarations)if(nK(m)||u.text&&e.symbol&&((d=e.symbol.exports)!=null&&d.has(u.escapedText))){i=!0;return}}}u.forEachChild(l)}})}),i}var xX={};x(xX,{pasteEditsProvider:()=>Tst});var bst="providePostPasteEdits";function Tst(e,t,r,i,o,s,l,u){return{edits:Ir.ChangeTracker.with({host:o,formatContext:l,preferences:s},_=>Sst(e,t,r,i,o,s,l,u,_)),fixId:bst}}function Sst(e,t,r,i,o,s,l,u,d){let _;t.length!==r.length&&(_=t.length===1?t[0]:t.join(Ty(l.host,l.options)));const m=[];let y=e.text;for(let A=r.length-1;A>=0;A--){const{pos:R,end:N}=r[A];y=_?y.slice(0,R)+_+y.slice(N):y.slice(0,R)+t[A]+y.slice(N)}let E;C.checkDefined(o.runWithTemporaryFileUpdate).call(o,e.fileName,y,(A,R,N)=>{if(E=cu.createImportAdder(N,A,s,o),i!=null&&i.range){C.assert(i.range.length===t.length),i.range.forEach(G=>{const j=i.file.statements,K=lo(j,J=>J.end>G.pos);if(K===-1)return;let Q=lo(j,J=>J.end>=G.end,K);Q!==-1&&G.end<=j[Q].getStart()&&Q--,m.push(...j.slice(K,Q===-1?j.length:Q+1))}),C.assertIsDefined(R,"no original program found");const M=R.getTypeChecker(),k=Est(i),F=Z7(i.file,m,M,Lde(N,m,M),k),O=!DJ(e.fileName,R,o,!!i.file.commonJsModuleIndicator);Ide(i.file,F.targetFileImportsFromOldFile,d,O),wde(i.file,F.oldImportsNeededByTargetFile,F.targetFileImportsFromOldFile,M,A,E)}else{const M={sourceFile:N,program:R,cancellationToken:u,host:o,preferences:s,formatContext:l};let k=0;r.forEach((F,O)=>{const G=F.end-F.pos,j=_!=null?_:t[O],K=F.pos+k,Q=K+j.length,J={pos:K,end:Q};k+=j.length-G;const he=Rn(Fi(M.sourceFile,J.pos),re=>rp(re,J));he&&Xo(he,function re(q){if(Je(q)&&tC(J,q.getStart(N))&&!(A!=null&&A.getTypeChecker().resolveName(q.text,q,-1,!1)))return E.addImportForUnresolvedIdentifier(M,q,!0);q.forEachChild(re)})})}E.writeFixes(d,Up(i?i.file:e,s))}),E.hasFixes()&&r.forEach((A,R)=>{d.replaceRangeWithText(e,{pos:A.pos,end:A.end},_!=null?_:t[R])})}function Est({file:e,range:t}){var l;const r=t[0].pos,i=t[t.length-1].end,o=Fi(e,r),s=(l=DP(e,r))!=null?l:Fi(e,i);return{pos:Je(o)&&r<=o.getStart(e)?o.getFullStart():r,end:Je(s)&&i===s.getEnd()?Ir.getAdjustedEndPosition(e,s,{}):i}}var iOe={};x(iOe,{ANONYMOUS:()=>yJ,AccessFlags:()=>YZ,AssertionLevel:()=>aZ,AssignmentDeclarationKind:()=>oee,AssignmentKind:()=>Cne,Associativity:()=>Wne,BreakpointResolver:()=>_K,BuilderFileEmit:()=>Lse,BuilderProgramKind:()=>Gse,BuilderState:()=>_h,CallHierarchy:()=>vx,CharacterCodes:()=>_ee,CheckFlags:()=>qZ,CheckMode:()=>GU,ClassificationType:()=>Cq,ClassificationTypeNames:()=>jle,CommentDirectiveType:()=>MZ,Comparison:()=>qe,CompletionInfoFlags:()=>Ole,CompletionTriggerKind:()=>Rq,Completions:()=>Ax,ContainerFlags:()=>fae,ContextFlags:()=>FZ,Debug:()=>C,DiagnosticCategory:()=>$W,Diagnostics:()=>f,DocumentHighlights:()=>J7,ElementFlags:()=>XZ,EmitFlags:()=>x9,EmitHint:()=>bee,EmitOnly:()=>LZ,EndOfLineState:()=>zle,ExitStatus:()=>kZ,ExportKind:()=>Lce,Extension:()=>gee,ExternalEmitHelpers:()=>vee,FileIncludeKind:()=>_9,FilePreprocessingDiagnosticsKind:()=>PZ,FileSystemEntryKind:()=>Cee,FileWatcherEventKind:()=>xee,FindAllReferences:()=>el,FlattenLevel:()=>wae,FlowFlags:()=>YW,ForegroundColorEscapeSequences:()=>Ese,FunctionFlags:()=>wne,GeneratedIdentifierFlags:()=>h9,GetLiteralTextFlags:()=>qte,GoToDefinition:()=>hC,HighlightSpanKind:()=>kle,IdentifierNameMap:()=>HD,ImportKind:()=>Pce,ImportsNotUsedAsValues:()=>uee,IndentStyle:()=>wle,IndexFlags:()=>$Z,IndexKind:()=>eee,InferenceFlags:()=>ree,InferencePriority:()=>nee,InlayHintKind:()=>Lle,InlayHints:()=>sX,InternalEmitFlags:()=>yee,InternalNodeBuilderFlags:()=>BZ,InternalSymbolName:()=>JZ,IntersectionFlags:()=>WZ,InvalidatedProjectKind:()=>dle,JSDocParsingMode:()=>Iee,JsDoc:()=>vT,JsTyping:()=>Hb,JsxEmit:()=>dee,JsxFlags:()=>RZ,JsxReferenceKind:()=>QZ,LanguageFeatureMinimumTarget:()=>ed,LanguageServiceMode:()=>Mle,LanguageVariant:()=>mee,LexicalEnvironmentFlags:()=>See,ListFormat:()=>Eee,LogLevel:()=>_Z,MapCode:()=>lX,MemberOverrideStatus:()=>wZ,ModifierFlags:()=>f9,ModuleDetectionKind:()=>aee,ModuleInstanceState:()=>uae,ModuleKind:()=>MR,ModuleResolutionKind:()=>NR,ModuleSpecifierEnding:()=>kre,NavigateTo:()=>nde,NavigationBar:()=>ide,NewLineKind:()=>pee,NodeBuilderFlags:()=>zZ,NodeCheckFlags:()=>v9,NodeFactoryFlags:()=>pie,NodeFlags:()=>p9,NodeResolutionFeatures:()=>tae,ObjectFlags:()=>T9,OperationCanceledException:()=>SN,OperatorPrecedence:()=>Fne,OrganizeImports:()=>bT,OrganizeImportsMode:()=>xq,OuterExpressionKinds:()=>Tee,OutliningElementsCollector:()=>dX,OutliningSpanKind:()=>Wle,OutputFileType:()=>Fle,PackageJsonAutoImportPreference:()=>Nle,PackageJsonDependencyGroup:()=>Cle,PatternMatchKind:()=>WJ,PollingInterval:()=>R9,PollingWatchKind:()=>cee,PragmaKindFlags:()=>Aee,PredicateSemantics:()=>DZ,PreparePasteEdits:()=>IX,PrivateIdentifierKind:()=>Sie,ProcessLevel:()=>zae,ProgramUpdateLevel:()=>yse,QuotePreference:()=>uce,RegularExpressionFlags:()=>CZ,RelationComparisonResult:()=>m9,Rename:()=>Pz,ScriptElementKind:()=>Gle,ScriptElementKindModifier:()=>Vle,ScriptKind:()=>E9,ScriptSnapshot:()=>o7,ScriptTarget:()=>fee,SemanticClassificationFormat:()=>Ple,SemanticMeaning:()=>Ule,SemicolonPreference:()=>Dq,SignatureCheckMode:()=>VU,SignatureFlags:()=>S9,SignatureHelp:()=>o8,SignatureInfo:()=>Pse,SignatureKind:()=>ZZ,SmartSelectionRange:()=>fX,SnippetKind:()=>I9,StatisticType:()=>vle,StructureIsReused:()=>g9,SymbolAccessibility:()=>jZ,SymbolDisplay:()=>Ev,SymbolDisplayPartKind:()=>s7,SymbolFlags:()=>y9,SymbolFormatFlags:()=>VZ,SyntaxKind:()=>u9,Ternary:()=>iee,ThrottledCancellationToken:()=>pue,TokenClass:()=>Ble,TokenFlags:()=>NZ,TransformFlags:()=>A9,TypeFacts:()=>BU,TypeFlags:()=>b9,TypeFormatFlags:()=>GZ,TypeMapKind:()=>tee,TypePredicateKind:()=>UZ,TypeReferenceSerializationKind:()=>HZ,UnionReduction:()=>OZ,UpToDateStatusType:()=>rle,VarianceFlags:()=>KZ,Version:()=>ih,VersionRange:()=>XW,WatchDirectoryFlags:()=>hee,WatchDirectoryKind:()=>lee,WatchFileKind:()=>see,WatchLogLevel:()=>bse,WatchType:()=>sd,accessPrivateIdentifier:()=>kae,addEmitFlags:()=>r_,addEmitHelper:()=>BI,addEmitHelpers:()=>Dg,addInternalEmitFlags:()=>_1,addNodeFactoryPatcher:()=>bSe,addObjectAllocatorPatcher:()=>iSe,addRange:()=>$r,addRelatedInfo:()=>_a,addSyntheticLeadingComment:()=>Lb,addSyntheticTrailingComment:()=>WM,addToSeen:()=>Tm,advancedAsyncSuperHelper:()=>h4,affectsDeclarationPathOptionDeclarations:()=>Roe,affectsEmitOptionDeclarations:()=>xoe,allKeysStartWithDot:()=>c3,altDirectorySeparator:()=>nF,and:()=>qW,append:()=>jn,appendIfUnique:()=>ny,arrayFrom:()=>Mo,arrayIsEqualTo:()=>ef,arrayIsHomogeneous:()=>jre,arrayOf:()=>nZ,arrayReverseIterator:()=>HB,arrayToMap:()=>xR,arrayToMultiMap:()=>_2,arrayToNumericMap:()=>iZ,assertType:()=>P0e,assign:()=>VE,asyncSuperHelper:()=>m4,attachFileToDiagnostics:()=>MI,base64decode:()=>ore,base64encode:()=>ire,binarySearch:()=>rb,binarySearchKey:()=>$A,bindSourceFile:()=>mae,breakIntoCharacterSpans:()=>Xce,breakIntoWordSpans:()=>Yce,buildLinkParts:()=>vce,buildOpts:()=>Lw,buildOverload:()=>aOe,bundlerModuleNameResolver:()=>nae,canBeConvertedToAsync:()=>jJ,canHaveDecorators:()=>qS,canHaveExportModifier:()=>rw,canHaveFlowNode:()=>nD,canHaveIllegalDecorators:()=>Yj,canHaveIllegalModifiers:()=>soe,canHaveIllegalType:()=>qSe,canHaveIllegalTypeParameters:()=>aoe,canHaveJSDoc:()=>Ak,canHaveLocals:()=>k_,canHaveModifiers:()=>Im,canHaveModuleSpecifier:()=>xne,canHaveSymbol:()=>ah,canIncludeBindAndCheckDiagnostics:()=>RM,canJsonReportNoInputFiles:()=>zw,canProduceDiagnostics:()=>Kw,canUsePropertyAccess:()=>ej,canWatchAffectingLocation:()=>Xse,canWatchAtTypes:()=>Kse,canWatchDirectoryOrFile:()=>jH,canWatchDirectoryOrFilePath:()=>cO,cartesianProduct:()=>mZ,cast:()=>va,chainBundle:()=>hh,chainDiagnosticMessages:()=>Ko,changeAnyExtension:()=>A2,changeCompilerHostLikeToUseCache:()=>vP,changeExtension:()=>dv,changeFullExtension:()=>oF,changesAffectModuleResolution:()=>PF,changesAffectingProgramStructure:()=>Fte,characterCodeToRegularExpressionFlag:()=>F9,childIsDecorated:()=>XN,classElementOrClassElementParameterIsDecorated:()=>WG,classHasClassThisAssignment:()=>rH,classHasDeclaredOrExplicitlyAssignedName:()=>iH,classHasExplicitlyAssignedName:()=>E3,classOrConstructorParameterIsDecorated:()=>ov,classicNameResolver:()=>cae,classifier:()=>_ue,cleanExtendedConfigCache:()=>C3,clear:()=>ai,clearMap:()=>yp,clearSharedExtendedConfigFileWatcher:()=>yH,climbPastPropertyAccess:()=>d7,clone:()=>oZ,cloneCompilerOptions:()=>Kq,closeFileWatcher:()=>jm,closeFileWatcherOf:()=>Xf,codefix:()=>cu,collapseTextChangeRangesAcrossMultipleVersions:()=>Yee,collectExternalModuleInfo:()=>ZU,combine:()=>YA,combinePaths:()=>ei,commandLineOptionOfCustomType:()=>Noe,commentPragmas:()=>QW,commonOptionsWithBuild:()=>V4,compact:()=>m2,compareBooleans:()=>M0,compareDataObjects:()=>NV,compareDiagnostics:()=>bM,compareEmitHelpers:()=>Aie,compareNumberOfDirectorySeparators:()=>Zk,comparePaths:()=>iy,comparePathsCaseInsensitive:()=>iTe,comparePathsCaseSensitive:()=>rTe,comparePatternKeys:()=>LU,compareProperties:()=>dZ,compareStringsCaseInsensitive:()=>y2,compareStringsCaseInsensitiveEslintCompatible:()=>sZ,compareStringsCaseSensitive:()=>Wd,compareStringsCaseSensitiveUI:()=>b2,compareTextSpans:()=>UW,compareValues:()=>Js,compilerOptionsAffectDeclarationPath:()=>Rre,compilerOptionsAffectEmit:()=>xre,compilerOptionsAffectSemanticDiagnostics:()=>Ire,compilerOptionsDidYouMeanDiagnostics:()=>q4,compilerOptionsIndicateEsModules:()=>eJ,computeCommonSourceDirectoryOfFilenames:()=>Tse,computeLineAndCharacterOfPosition:()=>wR,computeLineOfPosition:()=>xN,computeLineStarts:()=>oI,computePositionOfLineAndCharacter:()=>cF,computeSignatureWithDiagnostics:()=>WH,computeSuggestionDiagnostics:()=>BJ,computedOptions:()=>TM,concatenate:()=>co,concatenateDiagnosticMessageChains:()=>yre,consumesNodeCoreModules:()=>F7,contains:()=>Vn,containsIgnoredPath:()=>NM,containsObjectRestOrSpread:()=>Cw,containsParseError:()=>mI,containsPath:()=>hm,convertCompilerOptionsForTelemetry:()=>Hoe,convertCompilerOptionsFromJson:()=>t1e,convertJsonOption:()=>M1,convertToBase64:()=>rre,convertToJson:()=>Ow,convertToObject:()=>zoe,convertToOptionsWithAbsolutePaths:()=>Y4,convertToRelativePath:()=>AN,convertToTSConfig:()=>_U,convertTypeAcquisitionFromJson:()=>n1e,copyComments:()=>B1,copyEntries:()=>LF,copyLeadingComments:()=>sC,copyProperties:()=>QB,copyTrailingAsLeadingComments:()=>NO,copyTrailingComments:()=>wP,couldStartTrivia:()=>Oee,countWhere:()=>po,createAbstractBuilder:()=>cIe,createAccessorPropertyBackingField:()=>Zj,createAccessorPropertyGetRedirector:()=>hoe,createAccessorPropertySetRedirector:()=>_oe,createBaseNodeFactory:()=>sie,createBinaryExpressionTrampoline:()=>W4,createBuilderProgram:()=>FH,createBuilderProgramUsingIncrementalBuildInfo:()=>Hse,createBuilderStatusReporter:()=>$3,createCacheableExportInfoMap:()=>CJ,createCachedDirectoryStructureHost:()=>R3,createClassifier:()=>zxe,createCommentDirectivesMap:()=>Ute,createCompilerDiagnostic:()=>Dl,createCompilerDiagnosticForInvalidCustomType:()=>Moe,createCompilerDiagnosticFromMessageChain:()=>O6,createCompilerHost:()=>Sse,createCompilerHostFromProgramHost:()=>iq,createCompilerHostWorker:()=>N3,createDetachedDiagnostic:()=>NI,createDiagnosticCollection:()=>dM,createDiagnosticForFileFromMessageChain:()=>PG,createDiagnosticForNode:()=>Sr,createDiagnosticForNodeArray:()=>KR,createDiagnosticForNodeArrayFromMessageChain:()=>nk,createDiagnosticForNodeFromMessageChain:()=>vg,createDiagnosticForNodeInSourceFile:()=>Ff,createDiagnosticForRange:()=>ine,createDiagnosticMessageChainFromDiagnostic:()=>rne,createDiagnosticReporter:()=>ux,createDocumentPositionMapper:()=>Cae,createDocumentRegistry:()=>Fce,createDocumentRegistryInternal:()=>kJ,createEmitAndSemanticDiagnosticsBuilderProgram:()=>VH,createEmitHelperFactory:()=>Eie,createEmptyExports:()=>Tw,createEvaluator:()=>Zre,createExpressionForJsxElement:()=>eoe,createExpressionForJsxFragment:()=>toe,createExpressionForObjectLiteralElementLike:()=>noe,createExpressionForPropertyName:()=>Uj,createExpressionFromEntityName:()=>Sw,createExternalHelpersImportDeclarationIfNeeded:()=>Jj,createFileDiagnostic:()=>kc,createFileDiagnosticFromMessageChain:()=>jF,createFlowNode:()=>U_,createForOfBindingStatement:()=>jj,createFutureSourceFile:()=>U7,createGetCanonicalFileName:()=>Fd,createGetIsolatedDeclarationErrors:()=>lse,createGetSourceFile:()=>EH,createGetSymbolAccessibilityDiagnosticForNode:()=>cT,createGetSymbolAccessibilityDiagnosticForNodeName:()=>sse,createGetSymbolWalker:()=>hae,createIncrementalCompilerHost:()=>Y3,createIncrementalProgram:()=>nle,createJsxFactoryExpression:()=>Vj,createLanguageService:()=>fue,createLanguageServiceSourceFile:()=>dz,createMemberAccessForPropertyName:()=>C1,createModeAwareCache:()=>BD,createModeAwareCacheKey:()=>iP,createModeMismatchDetails:()=>_G,createModuleNotFoundChain:()=>wF,createModuleResolutionCache:()=>GD,createModuleResolutionLoader:()=>CH,createModuleResolutionLoaderUsingGlobalCache:()=>Zse,createModuleSpecifierResolutionHost:()=>fT,createMultiMap:()=>fm,createNameResolver:()=>oj,createNodeConverters:()=>die,createNodeFactory:()=>lw,createOptionNameMap:()=>U4,createOverload:()=>DX,createPackageJsonImportFilter:()=>lC,createPackageJsonInfo:()=>TJ,createParenthesizerRules:()=>lie,createPatternMatcher:()=>jce,createPrinter:()=>jb,createPrinterWithDefaults:()=>_se,createPrinterWithRemoveComments:()=>YS,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>gse,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>gH,createProgram:()=>aO,createProgramDiagnostics:()=>Nse,createProgramHost:()=>oq,createPropertyNameNodeForIdentifierOrLiteral:()=>nw,createQueue:()=>g2,createRange:()=>Gf,createRedirectedBuilderProgram:()=>GH,createResolutionCache:()=>HH,createRuntimeTypeSerializer:()=>Uae,createScanner:()=>fg,createSemanticDiagnosticsBuilderProgram:()=>lIe,createSet:()=>ZB,createSolutionBuilder:()=>sle,createSolutionBuilderHost:()=>ole,createSolutionBuilderWithWatch:()=>lle,createSolutionBuilderWithWatchHost:()=>ale,createSortedArray:()=>UB,createSourceFile:()=>nx,createSourceMapGenerator:()=>Aae,createSourceMapSource:()=>ASe,createSuperAccessVariableStatement:()=>I3,createSymbolTable:()=>ma,createSymlinkCache:()=>BV,createSyntacticTypeNodeBuilder:()=>xle,createSystemWatchFunctions:()=>Y0e,createTextChange:()=>EO,createTextChangeFromStartLength:()=>E7,createTextChangeRange:()=>k2,createTextRangeFromNode:()=>$q,createTextRangeFromSpan:()=>S7,createTextSpan:()=>Ad,createTextSpanFromBounds:()=>oc,createTextSpanFromNode:()=>Vu,createTextSpanFromRange:()=>bv,createTextSpanFromStringLiteralLikeContent:()=>Yq,createTextWriter:()=>wk,createTokenRange:()=>IV,createTypeChecker:()=>Sae,createTypeReferenceDirectiveResolutionCache:()=>a3,createTypeReferenceResolutionLoader:()=>L3,createWatchCompilerHost:()=>vIe,createWatchCompilerHostOfConfigFile:()=>aq,createWatchCompilerHostOfFilesAndCompilerOptions:()=>sq,createWatchFactory:()=>rq,createWatchHost:()=>nq,createWatchProgram:()=>lq,createWatchStatusReporter:()=>qH,createWriteFileMeasuringIO:()=>AH,declarationNameToString:()=>Fs,decodeMappings:()=>YU,decodedTextSpanIntersectsWith:()=>L2,deduplicate:()=>cS,defaultHoverMaximumTruncationLength:()=>Ote,defaultInitCompilerOptions:()=>TEe,defaultMaximumTruncationLength:()=>VN,diagnosticCategoryName:()=>UE,diagnosticToString:()=>tE,diagnosticsEqualityComparer:()=>W6,directoryProbablyExists:()=>ch,directorySeparator:()=>$s,displayPart:()=>Tp,displayPartsToString:()=>jO,disposeEmitNodes:()=>_j,documentSpansEqual:()=>sJ,dumpTracingLegend:()=>xZ,elementAt:()=>nb,elideNodes:()=>moe,emitDetachedComments:()=>Jne,emitFiles:()=>hH,emitFilesAndReportErrors:()=>q3,emitFilesAndReportErrorsAndGetExitStatus:()=>tq,emitModuleKindIsNonNodeESM:()=>Xk,emitNewLineBeforeLeadingCommentOfPosition:()=>qne,emitResolverSkipsTypeChecking:()=>mH,emitSkippedWithNoDiagnostics:()=>PH,emptyArray:()=>se,emptyFileSystemEntries:()=>Fre,emptyMap:()=>mt,emptyOptions:()=>xm,endsWith:()=>il,ensurePathIsNonModuleName:()=>HE,ensureScriptKind:()=>J6,ensureTrailingDirectorySeparator:()=>jc,entityNameToString:()=>kp,enumerateInsertsAndDeletes:()=>KW,equalOwnProperties:()=>rZ,equateStringsCaseInsensitive:()=>sb,equateStringsCaseSensitive:()=>pS,equateValues:()=>ab,escapeJsxAttributeString:()=>sV,escapeLeadingUnderscores:()=>Pl,escapeNonAsciiString:()=>_6,escapeSnippetText:()=>OS,escapeString:()=>B_,escapeTemplateSubstitution:()=>oV,evaluatorResult:()=>Hc,every:()=>Gn,exclusivelyPrefixedNodeCoreModules:()=>l4,executeCommandLine:()=>QIe,expandPreOrPostfixIncrementOrDecrementExpression:()=>P4,explainFiles:()=>YH,explainIfFileIsRedirectAndImpliedFormat:()=>$H,exportAssignmentIsAlias:()=>Dk,expressionResultIsUnused:()=>Hre,extend:()=>$B,extensionFromPath:()=>IM,extensionIsTS:()=>Q6,extensionsNotSupportingExtensionlessResolution:()=>$6,externalHelpersModuleNameText:()=>vb,factory:()=>L,fileExtensionIs:()=>xl,fileExtensionIsOneOf:()=>Ql,fileIncludeReasonToDiagnostics:()=>eq,fileShouldUseJavaScriptRequire:()=>DJ,filter:()=>Fn,filterMutate:()=>ws,filterSemanticDiagnostics:()=>W3,find:()=>_n,findAncestor:()=>Rn,findBestPatternMatch:()=>i9,findChildOfKind:()=>Rs,findComputedPropertyNameCacheAssignment:()=>F4,findConfigFile:()=>TH,findConstructorDeclaration:()=>aw,findContainingList:()=>h7,findDiagnosticForNode:()=>Cce,findFirstNonJsxWhitespaceToken:()=>Qle,findIndex:()=>lo,findLast:()=>pa,findLastIndex:()=>Ys,findListItemInfo:()=>$le,findModifier:()=>iC,findNextToken:()=>eE,findPackageJson:()=>Dce,findPackageJsons:()=>bJ,findPrecedingMatchingToken:()=>b7,findPrecedingToken:()=>Fc,findSuperStatementIndexPath:()=>v3,findTokenOnLeftOfPosition:()=>DP,findUseStrictPrologue:()=>qj,first:()=>Qa,firstDefined:()=>Wn,firstDefinedIterator:()=>qn,firstIterator:()=>JB,firstOrOnly:()=>AJ,firstOrUndefined:()=>Sc,firstOrUndefinedIterator:()=>jW,fixupCompilerOptions:()=>UJ,flatMap:()=>Wi,flatMapIterator:()=>cf,flatMapToMutable:()=>Ul,flatten:()=>Qo,flattenCommaList:()=>goe,flattenDestructuringAssignment:()=>w1,flattenDestructuringBinding:()=>XS,flattenDiagnosticMessageText:()=>u_,forEach:()=>Xe,forEachAncestor:()=>zte,forEachAncestorDirectory:()=>IN,forEachAncestorDirectoryStoppingAtGlobalCache:()=>j_,forEachChild:()=>Xo,forEachChildRecursively:()=>tx,forEachDynamicImportOrRequireCall:()=>c4,forEachEmittedFile:()=>dH,forEachEnclosingBlockScopeContainer:()=>ene,forEachEntry:()=>Uc,forEachExternalModuleToImportFrom:()=>MJ,forEachImportClauseDeclaration:()=>Rne,forEachKey:()=>gg,forEachLeadingCommentRange:()=>R2,forEachNameInAccessChainWalkingLeft:()=>fre,forEachNameOfDefaultExport:()=>q7,forEachOptionsSyntaxByName:()=>uj,forEachProjectReference:()=>wM,forEachPropertyAssignment:()=>$R,forEachResolvedProjectReference:()=>cj,forEachReturnStatement:()=>Eb,forEachRight:()=>Mn,forEachTrailingCommentRange:()=>D2,forEachTsConfigPropArray:()=>sk,forEachUnique:()=>cJ,forEachYieldExpression:()=>lne,formatColorAndReset:()=>$S,formatDiagnostic:()=>IH,formatDiagnostics:()=>OAe,formatDiagnosticsWithColorAndContext:()=>xse,formatGeneratedName:()=>iT,formatGeneratedNamePart:()=>OD,formatLocation:()=>xH,formatMessage:()=>PI,formatStringFromArgs:()=>Ag,formatting:()=>Dc,generateDjb2Hash:()=>E2,generateTSConfig:()=>Boe,getAdjustedReferenceLocation:()=>Vq,getAdjustedRenameLocation:()=>g7,getAliasDeclarationFromName:()=>XG,getAllAccessorDeclarations:()=>MS,getAllDecoratorsOfClass:()=>tH,getAllDecoratorsOfClassElement:()=>T3,getAllJSDocTags:()=>_F,getAllJSDocTagsOfKind:()=>RTe,getAllKeys:()=>D0e,getAllProjectOutputs:()=>x3,getAllSuperTypeNodes:()=>iM,getAllowImportingTsExtensions:()=>bre,getAllowJSCompilerOption:()=>Nb,getAllowSyntheticDefaultImports:()=>LI,getAncestor:()=>j0,getAnyExtensionFromPath:()=>rI,getAreDeclarationMapsEnabled:()=>F6,getAssignedExpandoInitializer:()=>gI,getAssignedName:()=>fF,getAssignmentDeclarationKind:()=>ac,getAssignmentDeclarationPropertyAccessKind:()=>vk,getAssignmentTargetKind:()=>Ab,getAutomaticTypeDirectiveNames:()=>i3,getBaseFileName:()=>Ec,getBinaryOperatorPrecedence:()=>Pk,getBuildInfo:()=>_H,getBuildInfoFileVersionMap:()=>BH,getBuildInfoText:()=>mse,getBuildOrderFromAnyBuildOrder:()=>uO,getBuilderCreationParameters:()=>G3,getBuilderFileEmit:()=>Ub,getCanonicalDiagnostic:()=>one,getCheckFlags:()=>Fl,getClassExtendsHeritageElement:()=>RS,getClassLikeDeclarationOfSymbol:()=>my,getCombinedLocalAndExportSymbolFlags:()=>uD,getCombinedModifierFlags:()=>L0,getCombinedNodeFlags:()=>ay,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>U9,getCommentRange:()=>i_,getCommonSourceDirectory:()=>yP,getCommonSourceDirectoryOfConfig:()=>O1,getCompilerOptionValue:()=>G6,getConditions:()=>Bb,getConfigFileParsingDiagnostics:()=>QS,getConstantValue:()=>hie,getContainerFlags:()=>wU,getContainerNode:()=>z1,getContainingClass:()=>hd,getContainingClassExcludingClassDecorators:()=>$F,getContainingClassStaticBlock:()=>_ne,getContainingFunction:()=>uf,getContainingFunctionDeclaration:()=>hne,getContainingFunctionOrClassStaticBlock:()=>YF,getContainingNodeArray:()=>qre,getContainingObjectLiteralElement:()=>UO,getContextualTypeFromParent:()=>P7,getContextualTypeFromParentOrAncestorTypeNode:()=>_7,getDeclarationDiagnostics:()=>cse,getDeclarationEmitExtensionForPath:()=>v6,getDeclarationEmitOutputFilePath:()=>Vne,getDeclarationEmitOutputFilePathWorker:()=>y6,getDeclarationFileExtension:()=>B4,getDeclarationFromName:()=>rM,getDeclarationModifierFlagsFromSymbol:()=>jf,getDeclarationOfKind:()=>ul,getDeclarationsOfKind:()=>Wte,getDeclaredExpandoInitializer:()=>ZN,getDecorators:()=>pb,getDefaultCompilerOptions:()=>cz,getDefaultFormatCodeSettings:()=>a7,getDefaultLibFileName:()=>N2,getDefaultLibFilePath:()=>mue,getDefaultLikeExportInfo:()=>H7,getDefaultLikeExportNameFromDeclaration:()=>IJ,getDefaultResolutionModeForFileWorker:()=>O3,getDiagnosticText:()=>op,getDiagnosticsWithinSpan:()=>Nce,getDirectoryPath:()=>pi,getDirectoryToWatchFailedLookupLocation:()=>UH,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>$se,getDocumentPositionMapper:()=>zJ,getDocumentSpansEqualityComparer:()=>lJ,getESModuleInterop:()=>n_,getEditsForFileRename:()=>Bce,getEffectiveBaseTypeNode:()=>lh,getEffectiveConstraintOfTypeParameter:()=>zR,getEffectiveContainerForJSDocTemplateTag:()=>c6,getEffectiveImplementsTypeNodes:()=>iD,getEffectiveInitializer:()=>_k,getEffectiveJSDocHost:()=>V0,getEffectiveModifierFlags:()=>Gd,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>$ne,getEffectiveModifierFlagsNoCache:()=>Qne,getEffectiveReturnTypeNode:()=>Wp,getEffectiveSetAccessorTypeAnnotationNode:()=>hV,getEffectiveTypeAnnotationNode:()=>Ac,getEffectiveTypeParameterDeclarations:()=>fb,getEffectiveTypeRoots:()=>rP,getElementOrPropertyAccessArgumentExpressionOrName:()=>l6,getElementOrPropertyAccessName:()=>cy,getElementsOfBindingOrAssignmentPattern:()=>wD,getEmitDeclarations:()=>vp,getEmitFlags:()=>Za,getEmitHelpers:()=>gj,getEmitModuleDetectionKind:()=>Tre,getEmitModuleFormatOfFileWorker:()=>SP,getEmitModuleKind:()=>Tu,getEmitModuleResolutionKind:()=>iu,getEmitScriptTarget:()=>Va,getEmitStandardClassFields:()=>FV,getEnclosingBlockScopeContainer:()=>sh,getEnclosingContainer:()=>VF,getEncodedSemanticClassifications:()=>PJ,getEncodedSyntacticClassifications:()=>LJ,getEndLinePosition:()=>$2,getEntityNameFromTypeNode:()=>dk,getEntrypointsFromPackageJsonInfo:()=>NU,getErrorCountForSummary:()=>U3,getErrorSpanForNode:()=>n1,getErrorSummaryText:()=>KH,getEscapedTextOfIdentifierOrLiteral:()=>sM,getEscapedTextOfJsxAttributeName:()=>LM,getEscapedTextOfJsxNamespacedName:()=>WI,getExpandoInitializer:()=>B0,getExportAssignmentExpression:()=>YG,getExportInfoMap:()=>OO,getExportNeedsImportStarHelper:()=>Nae,getExpressionAssociativity:()=>rV,getExpressionPrecedence:()=>cM,getExternalHelpersModuleName:()=>Aw,getExternalModuleImportEqualsDeclarationExpression:()=>YN,getExternalModuleName:()=>vI,getExternalModuleNameFromDeclaration:()=>Bne,getExternalModuleNameFromPath:()=>dV,getExternalModuleNameLiteral:()=>ex,getExternalModuleRequireArgument:()=>zG,getFallbackOptions:()=>rO,getFileEmitOutput:()=>Mse,getFileMatcherPatterns:()=>q6,getFileNamesFromConfigSpecs:()=>tP,getFileWatcherEventKind:()=>N9,getFilesInErrorForSummary:()=>H3,getFirstConstructorWithBody:()=>Sg,getFirstIdentifier:()=>Ou,getFirstNonSpaceCharacterPosition:()=>Sce,getFirstProjectOutput:()=>fH,getFixableErrorSpanExpression:()=>SJ,getFormatCodeSettingsForWriting:()=>V7,getFullWidth:()=>X2,getFunctionFlags:()=>dc,getHeritageClause:()=>Ck,getHostSignatureFromJSDoc:()=>G0,getIdentifierAutoGenerate:()=>RSe,getIdentifierGeneratedImportReference:()=>Tie,getIdentifierTypeArguments:()=>g1,getImmediatelyInvokedFunctionExpression:()=>F0,getImpliedNodeFormatForEmitWorker:()=>W1,getImpliedNodeFormatForFile:()=>oO,getImpliedNodeFormatForFileWorker:()=>w3,getImportNeedsImportDefaultHelper:()=>QU,getImportNeedsImportStarHelper:()=>g3,getIndentString:()=>g6,getInferredLibraryNameResolveFrom:()=>k3,getInitializedVariables:()=>gM,getInitializerOfBinaryExpression:()=>jG,getInitializerOfBindingOrAssignmentElement:()=>xw,getInterfaceBaseTypeNodes:()=>oM,getInternalEmitFlags:()=>Gm,getInvokedExpression:()=>e6,getIsFileExcluded:()=>wce,getIsolatedModules:()=>Sm,getJSDocAugmentsTag:()=>ate,getJSDocClassTag:()=>J9,getJSDocCommentRanges:()=>kG,getJSDocCommentsAndTags:()=>UG,getJSDocDeprecatedTag:()=>K9,getJSDocDeprecatedTagNoCache:()=>fte,getJSDocEnumTag:()=>X9,getJSDocHost:()=>IS,getJSDocImplementsTags:()=>ste,getJSDocOverloadTags:()=>qG,getJSDocOverrideTagNoCache:()=>pte,getJSDocParameterTags:()=>FR,getJSDocParameterTagsNoCache:()=>nte,getJSDocPrivateTag:()=>ETe,getJSDocPrivateTagNoCache:()=>cte,getJSDocProtectedTag:()=>ATe,getJSDocProtectedTagNoCache:()=>dte,getJSDocPublicTag:()=>STe,getJSDocPublicTagNoCache:()=>lte,getJSDocReadonlyTag:()=>ITe,getJSDocReadonlyTagNoCache:()=>ute,getJSDocReturnTag:()=>mte,getJSDocReturnType:()=>O2,getJSDocRoot:()=>rD,getJSDocSatisfiesExpressionType:()=>nj,getJSDocSatisfiesTag:()=>Y9,getJSDocTags:()=>w0,getJSDocTemplateTag:()=>xTe,getJSDocThisTag:()=>mF,getJSDocType:()=>tv,getJSDocTypeAliasName:()=>Xj,getJSDocTypeAssertionType:()=>LD,getJSDocTypeParameterDeclarations:()=>A6,getJSDocTypeParameterTags:()=>rte,getJSDocTypeParameterTagsNoCache:()=>ite,getJSDocTypeTag:()=>k0,getJSXImplicitImportBase:()=>Yk,getJSXRuntimeImport:()=>j6,getJSXTransformEnabled:()=>V6,getKeyForCompilerOptions:()=>IU,getLanguageVariant:()=>Uk,getLastChild:()=>MV,getLeadingCommentRanges:()=>pg,getLeadingCommentRangesOfNode:()=>LG,getLeftmostAccessExpression:()=>pD,getLeftmostExpression:()=>fD,getLibFileNameFromLibReference:()=>lj,getLibNameFromLibReference:()=>sj,getLibraryNameFromLibFileName:()=>NH,getLineAndCharacterOfPosition:()=>fa,getLineInfo:()=>XU,getLineOfLocalPosition:()=>uM,getLineStartPositionForPosition:()=>Rm,getLineStarts:()=>dg,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>dre,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>cre,getLinesBetweenPositions:()=>RN,getLinesBetweenRangeEndAndRangeStart:()=>xV,getLinesBetweenRangeEndPositions:()=>nSe,getLiteralText:()=>Jte,getLocalNameForExternalImport:()=>kD,getLocalSymbolForExportDefault:()=>hM,getLocaleSpecificMessage:()=>Jo,getLocaleTimeString:()=>dO,getMappedContextSpan:()=>dJ,getMappedDocumentSpan:()=>C7,getMappedLocation:()=>PP,getMatchedFileSpec:()=>QH,getMatchedIncludeSpec:()=>ZH,getMeaningFromDeclaration:()=>l7,getMeaningFromLocation:()=>F1,getMembersOfDeclaration:()=>cne,getModeForFileReference:()=>Rse,getModeForResolutionAtIndex:()=>VAe,getModeForUsageLocation:()=>DH,getModifiedTime:()=>nI,getModifiers:()=>mS,getModuleInstanceState:()=>vy,getModuleNameStringLiteralAt:()=>sO,getModuleSpecifierEndingPreference:()=>wre,getModuleSpecifierResolverHost:()=>tJ,getNameForExportedSymbol:()=>z7,getNameFromImportAttribute:()=>o4,getNameFromIndexInfo:()=>tne,getNameFromPropertyName:()=>IO,getNameOfAccessExpression:()=>LV,getNameOfCompilerOptionValue:()=>X4,getNameOfDeclaration:()=>Fo,getNameOfExpando:()=>BG,getNameOfJSDocTypedef:()=>tte,getNameOfScriptTarget:()=>B6,getNameOrArgument:()=>yk,getNameTable:()=>hK,getNamespaceDeclarationNode:()=>tD,getNewLineCharacter:()=>lv,getNewLineKind:()=>wO,getNewLineOrDefaultFromHost:()=>Ty,getNewTargetContainer:()=>yne,getNextJSDocCommentLocation:()=>HG,getNodeChildren:()=>Bj,getNodeForGeneratedName:()=>Dw,getNodeId:()=>ls,getNodeKind:()=>ZS,getNodeModifiers:()=>CP,getNodeModulePathParts:()=>n4,getNonAssignedNameOfDeclaration:()=>pF,getNonAssignmentOperatorForCompoundAssignment:()=>uP,getNonAugmentationDeclaration:()=>xG,getNonDecoratorTokenPosOfNode:()=>bG,getNonIncrementalBuildInfoRoots:()=>qse,getNonModifierTokenPosOfNode:()=>Hte,getNormalizedAbsolutePath:()=>Eo,getNormalizedAbsolutePathWithoutRoot:()=>k9,getNormalizedPathComponents:()=>iF,getObjectFlags:()=>qr,getOperatorAssociativity:()=>iV,getOperatorPrecedence:()=>Mk,getOptionFromName:()=>uU,getOptionsForLibraryResolution:()=>xU,getOptionsNameMap:()=>FD,getOptionsSyntaxByArrayElementValue:()=>dj,getOptionsSyntaxByValue:()=>iie,getOrCreateEmitNode:()=>jd,getOrUpdate:()=>XA,getOriginalNode:()=>Tl,getOriginalNodeId:()=>Gu,getOutputDeclarationFileName:()=>gP,getOutputDeclarationFileNameWorker:()=>uH,getOutputExtension:()=>eO,getOutputFileNames:()=>kAe,getOutputJSFileNameWorker:()=>pH,getOutputPathsFor:()=>_P,getOwnEmitOutputFilePath:()=>Gne,getOwnKeys:()=>Vh,getOwnValues:()=>QA,getPackageJsonTypesVersionsPaths:()=>r3,getPackageNameFromTypesPackageName:()=>sP,getPackageScopeForPath:()=>aP,getParameterSymbolFromJSDoc:()=>Ik,getParentNodeInSpan:()=>RO,getParseTreeNode:()=>Ho,getParsedCommandLineOfConfigFile:()=>kw,getPathComponents:()=>zd,getPathFromPathComponents:()=>P0,getPathUpdater:()=>OJ,getPathsBasePath:()=>b6,getPatternFromSpec:()=>jV,getPendingEmitKindWithSeen:()=>B3,getPositionOfLineAndCharacter:()=>I2,getPossibleGenericSignatures:()=>Uq,getPossibleOriginalInputExtensionForExtension:()=>uV,getPossibleOriginalInputPathWithoutChangingExt:()=>pV,getPossibleTypeArgumentsInfo:()=>Hq,getPreEmitDiagnostics:()=>wAe,getPrecedingNonSpaceCharacterPosition:()=>N7,getPrivateIdentifier:()=>nH,getProperties:()=>eH,getProperty:()=>h2,getPropertyAssignmentAliasLikeExpression:()=>kne,getPropertyNameForPropertyNameNode:()=>d1,getPropertyNameFromType:()=>Hf,getPropertyNameOfBindingOrAssignmentElement:()=>Kj,getPropertySymbolFromBindingElement:()=>D7,getPropertySymbolsFromContextualType:()=>uz,getQuoteFromPreference:()=>rJ,getQuotePreference:()=>Up,getRangesWhere:()=>jB,getRefactorContextSpan:()=>hx,getReferencedFileLocation:()=>TP,getRegexFromPattern:()=>cv,getRegularExpressionForWildcard:()=>SM,getRegularExpressionsForWildcards:()=>U6,getRelativePathFromDirectory:()=>df,getRelativePathFromFile:()=>LR,getRelativePathToDirectoryOrUrl:()=>kR,getRenameLocation:()=>CO,getReplacementSpanForContextToken:()=>Xq,getResolutionDiagnostic:()=>kH,getResolutionModeOverride:()=>JD,getResolveJsonModule:()=>LS,getResolvePackageJsonExports:()=>qk,getResolvePackageJsonImports:()=>Jk,getResolvedExternalModuleName:()=>cV,getResolvedModuleFromResolution:()=>fI,getResolvedTypeReferenceDirectiveFromResolution:()=>kF,getRestIndicatorOfBindingOrAssignmentElement:()=>w4,getRestParameterElementType:()=>wG,getRightMostAssignedExpression:()=>gk,getRootDeclaration:()=>Qh,getRootDirectoryOfResolutionCache:()=>Qse,getRootLength:()=>Uh,getScriptKind:()=>mJ,getScriptKindFromFileName:()=>K6,getScriptTargetFeatures:()=>TG,getSelectedEffectiveModifierFlags:()=>II,getSelectedSyntacticModifierFlags:()=>Xne,getSemanticClassifications:()=>Oce,getSemanticJsxChildren:()=>aD,getSetAccessorTypeAnnotationNode:()=>Une,getSetAccessorValueParameter:()=>pM,getSetExternalModuleIndicator:()=>Hk,getShebang:()=>dF,getSingleVariableOfVariableStatement:()=>SI,getSnapshotText:()=>mx,getSnippetElement:()=>yj,getSourceFileOfModule:()=>Y2,getSourceFileOfNode:()=>On,getSourceFilePathInNewDir:()=>S6,getSourceFileVersionAsHashFromText:()=>J3,getSourceFilesToEmit:()=>T6,getSourceMapRange:()=>pv,getSourceMapper:()=>Qce,getSourceTextOfNodeFromSourceFile:()=>vS,getSpanOfTokenAtPosition:()=>Kh,getSpellingSuggestion:()=>fS,getStartPositionOfLine:()=>bb,getStartPositionOfRange:()=>_M,getStartsOnNewLine:()=>OM,getStaticPropertiesAndClassStaticBlock:()=>b3,getStrictOptionValue:()=>Vd,getStringComparer:()=>DR,getSubPatternFromSpec:()=>H6,getSuperCallFromStatement:()=>y3,getSuperContainer:()=>lk,getSupportedCodeFixes:()=>fK,getSupportedExtensions:()=>EM,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>Qk,getSwitchedType:()=>gJ,getSymbolId:()=>Aa,getSymbolNameForPrivateIdentifier:()=>Nk,getSymbolTarget:()=>hJ,getSyntacticClassifications:()=>Wce,getSyntacticModifierFlags:()=>av,getSyntacticModifierFlagsNoCache:()=>yV,getSynthesizedDeepClone:()=>ys,getSynthesizedDeepCloneWithReplacements:()=>sw,getSynthesizedDeepClones:()=>WS,getSynthesizedDeepClonesWithReplacements:()=>pj,getSyntheticLeadingComments:()=>vD,getSyntheticTrailingComments:()=>pw,getTargetLabel:()=>u7,getTargetOfBindingOrAssignmentElement:()=>Fb,getTemporaryModuleResolutionState:()=>oP,getTextOfConstantValue:()=>Kte,getTextOfIdentifierOrLiteral:()=>Bf,getTextOfJSDocComment:()=>W2,getTextOfJsxAttributeName:()=>ow,getTextOfJsxNamespacedName:()=>kM,getTextOfNode:()=>Rl,getTextOfNodeFromSourceText:()=>UN,getTextOfPropertyName:()=>_I,getThisContainer:()=>bu,getThisParameter:()=>CS,getTokenAtPosition:()=>Fi,getTokenPosOfNode:()=>Tb,getTokenSourceMapRange:()=>ISe,getTouchingPropertyName:()=>ap,getTouchingToken:()=>nC,getTrailingCommentRanges:()=>ub,getTrailingSemicolonDeferringWriter:()=>lV,getTransformers:()=>use,getTsBuildInfoEmitOutputFilePath:()=>dT,getTsConfigObjectLiteralExpression:()=>KN,getTsConfigPropArrayElementValue:()=>XF,getTypeAnnotationNode:()=>Hne,getTypeArgumentOrTypeParameterList:()=>oce,getTypeKeywordOfTypeOnlyImport:()=>aJ,getTypeNode:()=>vie,getTypeNodeIfAccessible:()=>WP,getTypeParameterFromJsDoc:()=>Dne,getTypeParameterOwner:()=>yTe,getTypesPackageName:()=>d3,getUILocale:()=>lZ,getUniqueName:()=>G1,getUniqueSymbolId:()=>Tce,getUseDefineForClassFields:()=>Kk,getWatchErrorSummaryDiagnosticMessage:()=>JH,getWatchFactory:()=>bH,group:()=>RR,groupBy:()=>YB,guessIndentation:()=>kte,handleNoEmitOptions:()=>LH,handleWatchOptionsConfigDirTemplateSubstitution:()=>$4,hasAbstractModifier:()=>PS,hasAccessorModifier:()=>Zh,hasAmbientModifier:()=>gV,hasChangesInResolutions:()=>gG,hasContextSensitiveParameters:()=>t4,hasDecorators:()=>ff,hasDocComment:()=>rce,hasDynamicName:()=>dy,hasEffectiveModifier:()=>Fp,hasEffectiveModifiers:()=>_V,hasEffectiveReadonlyModifier:()=>p1,hasExtension:()=>PR,hasImplementationTSFileExtension:()=>Lre,hasIndexSignature:()=>_J,hasInferredType:()=>s4,hasInitializer:()=>rv,hasInvalidEscape:()=>aV,hasJSDocNodes:()=>nf,hasJSDocParameterTags:()=>ote,hasJSFileExtension:()=>Ig,hasJsonModuleEmitEnabled:()=>z6,hasOnlyExpressionInitializer:()=>e1,hasOverrideModifier:()=>I6,hasPossibleExternalModuleReference:()=>Zte,hasProperty:()=>Ms,hasPropertyAccessExpressionWithName:()=>gO,hasQuestionToken:()=>bI,hasRecordedExternalHelpers:()=>ooe,hasResolutionModeOverride:()=>$re,hasRestParameter:()=>pG,hasScopeMarker:()=>Ite,hasStaticModifier:()=>Lc,hasSyntacticModifier:()=>fi,hasSyntacticModifiers:()=>Kne,hasTSFileExtension:()=>m1,hasTabstop:()=>Kre,hasTrailingDirectorySeparator:()=>cb,hasType:()=>CF,hasTypeArguments:()=>qTe,hasZeroOrOneAsteriskCharacter:()=>zV,hostGetCanonicalFileName:()=>uy,hostUsesCaseSensitiveFileNames:()=>u1,idText:()=>Yr,identifierIsThisKeyword:()=>mV,identifierToKeywordKind:()=>KE,identity:()=>qs,identitySourceMapConsumer:()=>$U,ignoreSourceNewlines:()=>bj,ignoredPaths:()=>eF,importFromModuleSpecifier:()=>tM,importSyntaxAffectsModuleResolution:()=>WV,indexOfAnyCharCode:()=>zi,indexOfNode:()=>qR,indicesOf:()=>VW,inferredTypesContainingFile:()=>bP,injectClassNamedEvaluationHelperBlockIfMissing:()=>A3,injectClassThisAssignmentIfMissing:()=>Fae,insertImports:()=>oJ,insertSorted:()=>tb,insertStatementAfterCustomPrologue:()=>t1,insertStatementAfterStandardPrologue:()=>zTe,insertStatementsAfterCustomPrologue:()=>yG,insertStatementsAfterStandardPrologue:()=>yg,intersperse:()=>ho,intrinsicTagNameToString:()=>rj,introducesArgumentsExoticObject:()=>pne,inverseJsxOptionMap:()=>Pw,isAbstractConstructorSymbol:()=>ure,isAbstractModifier:()=>Mie,isAccessExpression:()=>Qs,isAccessibilityModifier:()=>Jq,isAccessor:()=>gb,isAccessorModifier:()=>xj,isAliasableExpression:()=>d6,isAmbientModule:()=>vu,isAmbientPropertyDeclaration:()=>DG,isAnyDirectorySeparator:()=>M9,isAnyImportOrBareOrAccessedRequire:()=>$te,isAnyImportOrReExport:()=>ek,isAnyImportOrRequireStatement:()=>Qte,isAnyImportSyntax:()=>hI,isAnySupportedFileExtension:()=>_Se,isApplicableVersionedTypesKey:()=>Vw,isArgumentExpressionOfElementAccess:()=>Oq,isArray:()=>Lo,isArrayBindingElement:()=>EF,isArrayBindingOrAssignmentElement:()=>j2,isArrayBindingOrAssignmentPattern:()=>aG,isArrayBindingPattern:()=>_v,isArrayLiteralExpression:()=>Dd,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>vv,isArrayTypeNode:()=>_w,isArrowFunction:()=>Zs,isAsExpression:()=>AD,isAssertClause:()=>zie,isAssertEntry:()=>OSe,isAssertionExpression:()=>yS,isAssertsKeyword:()=>Cie,isAssignmentDeclaration:()=>QN,isAssignmentExpression:()=>id,isAssignmentOperator:()=>py,isAssignmentPattern:()=>BN,isAssignmentTarget:()=>Ib,isAsteriskToken:()=>mw,isAsyncFunction:()=>aM,isAsyncModifier:()=>zM,isAutoAccessorPropertyDeclaration:()=>Qu,isAwaitExpression:()=>Ob,isAwaitKeyword:()=>Ij,isBigIntLiteral:()=>bD,isBinaryExpression:()=>Nr,isBinaryLogicalOperator:()=>Ok,isBinaryOperatorToken:()=>foe,isBindableObjectDefinePropertyCall:()=>a1,isBindableStaticAccessExpression:()=>AS,isBindableStaticElementAccessExpression:()=>s6,isBindableStaticNameExpression:()=>s1,isBindingElement:()=>qa,isBindingElementOfBareOrAccessedRequire:()=>Tne,isBindingName:()=>QE,isBindingOrAssignmentElement:()=>Tte,isBindingOrAssignmentPattern:()=>G2,isBindingPattern:()=>na,isBlock:()=>ia,isBlockLike:()=>_x,isBlockOrCatchScoped:()=>SG,isBlockScope:()=>CG,isBlockScopedContainerTopLevel:()=>Yte,isBooleanLiteral:()=>zN,isBreakOrContinueStatement:()=>wN,isBreakStatement:()=>LSe,isBuildCommand:()=>ble,isBuildInfoFile:()=>pse,isBuilderProgram:()=>XH,isBundle:()=>jie,isCallChain:()=>XE,isCallExpression:()=>ra,isCallExpressionTarget:()=>Nq,isCallLikeExpression:()=>gS,isCallLikeOrFunctionLikeExpression:()=>sG,isCallOrNewExpression:()=>qh,isCallOrNewExpressionTarget:()=>Mq,isCallSignatureDeclaration:()=>HI,isCallToHelper:()=>FM,isCaseBlock:()=>qM,isCaseClause:()=>DD,isCaseKeyword:()=>Lie,isCaseOrDefaultClause:()=>RF,isCatchClause:()=>US,isCatchClauseVariableDeclaration:()=>Jre,isCatchClauseVariableDeclarationOrBindingElement:()=>EG,isCheckJsEnabledForFile:()=>xM,isCircularBuildOrder:()=>px,isClassDeclaration:()=>xc,isClassElement:()=>vc,isClassExpression:()=>uc,isClassInstanceProperty:()=>vte,isClassLike:()=>hi,isClassMemberModifier:()=>rG,isClassNamedEvaluationHelperBlock:()=>cx,isClassOrTypeElement:()=>SF,isClassStaticBlockDeclaration:()=>Zl,isClassThisAssignmentBlock:()=>fP,isColonToken:()=>Rie,isCommaExpression:()=>Ew,isCommaListExpression:()=>UM,isCommaSequence:()=>$M,isCommaToken:()=>xie,isComment:()=>T7,isCommonJsExportPropertyAssignment:()=>JF,isCommonJsExportedExpression:()=>dne,isCompoundAssignment:()=>dP,isComputedNonLiteralName:()=>tk,isComputedPropertyName:()=>Ea,isConciseBody:()=>IF,isConditionalExpression:()=>S1,isConditionalTypeNode:()=>zS,isConstAssertion:()=>ij,isConstTypeReference:()=>zm,isConstructSignatureDeclaration:()=>VM,isConstructorDeclaration:()=>kl,isConstructorTypeNode:()=>TD,isContextualKeyword:()=>p6,isContinueStatement:()=>PSe,isCustomPrologue:()=>ak,isDebuggerStatement:()=>kSe,isDeclaration:()=>rd,isDeclarationBindingElement:()=>B2,isDeclarationFileName:()=>ad,isDeclarationName:()=>z_,isDeclarationNameOfEnumOrNamespace:()=>DV,isDeclarationReadonly:()=>rk,isDeclarationStatement:()=>Cte,isDeclarationWithTypeParameterChildren:()=>MG,isDeclarationWithTypeParameters:()=>NG,isDecorator:()=>wc,isDecoratorTarget:()=>qle,isDefaultClause:()=>JM,isDefaultImport:()=>l1,isDefaultModifier:()=>v4,isDefaultedExpandoInitializer:()=>Sne,isDeleteExpression:()=>wie,isDeleteTarget:()=>KG,isDeprecatedDeclaration:()=>B7,isDestructuringAssignment:()=>sv,isDiskPathRoot:()=>P9,isDoStatement:()=>MSe,isDocumentRegistryEntry:()=>WO,isDotDotDotToken:()=>g4,isDottedName:()=>Fk,isDynamicName:()=>m6,isEffectiveExternalModule:()=>JR,isEffectiveStrictModeSourceFile:()=>RG,isElementAccessChain:()=>$9,isElementAccessExpression:()=>Bs,isEmittedFileOfProgram:()=>vse,isEmptyArrayLiteral:()=>nre,isEmptyBindingElement:()=>Qee,isEmptyBindingPattern:()=>$ee,isEmptyObjectLiteral:()=>EV,isEmptyStatement:()=>Cj,isEmptyStringLiteral:()=>FG,isEntityName:()=>ku,isEntityNameExpression:()=>Ps,isEnumConst:()=>W0,isEnumDeclaration:()=>eT,isEnumMember:()=>gy,isEqualityOperatorKind:()=>L7,isEqualsGreaterThanToken:()=>Die,isExclamationToken:()=>hw,isExcludedFile:()=>Voe,isExclusivelyTypeOnlyImportOrExport:()=>RH,isExpandoPropertyDeclaration:()=>FI,isExportAssignment:()=>fl,isExportDeclaration:()=>fc,isExportModifier:()=>jI,isExportName:()=>L4,isExportNamespaceAsDefaultDeclaration:()=>zF,isExportOrDefaultModifier:()=>Rw,isExportSpecifier:()=>ou,isExportsIdentifier:()=>o1,isExportsOrModuleExportsOrAlias:()=>JS,isExpression:()=>Et,isExpressionNode:()=>F_,isExpressionOfExternalModuleImportEqualsDeclaration:()=>Xle,isExpressionOfOptionalChainRoot:()=>yF,isExpressionStatement:()=>od,isExpressionWithTypeArguments:()=>hy,isExpressionWithTypeArgumentsInClassExtendsClause:()=>R6,isExternalModule:()=>Wc,isExternalModuleAugmentation:()=>TS,isExternalModuleImportEqualsDeclaration:()=>z0,isExternalModuleIndicator:()=>H2,isExternalModuleNameRelative:()=>td,isExternalModuleReference:()=>_y,isExternalModuleSymbol:()=>uI,isExternalOrCommonJsModule:()=>wp,isFileLevelReservedGeneratedIdentifier:()=>z2,isFileLevelUniqueName:()=>WF,isFileProbablyExternalModule:()=>Nw,isFirstDeclarationOfSymbolParameter:()=>uJ,isFixablePromiseHandler:()=>VJ,isForInOrOfStatement:()=>ZE,isForInStatement:()=>A4,isForInitializer:()=>Wf,isForOfStatement:()=>yw,isForStatement:()=>Z0,isFullSourceFile:()=>bg,isFunctionBlock:()=>SS,isFunctionBody:()=>cG,isFunctionDeclaration:()=>ec,isFunctionExpression:()=>Ks,isFunctionExpressionOrArrowFunction:()=>Mb,isFunctionLike:()=>Yo,isFunctionLikeDeclaration:()=>ks,isFunctionLikeKind:()=>sI,isFunctionLikeOrClassStaticBlockDeclaration:()=>VR,isFunctionOrConstructorTypeNode:()=>bte,isFunctionOrModuleBlock:()=>iG,isFunctionSymbol:()=>Ine,isFunctionTypeNode:()=>G_,isGeneratedIdentifier:()=>yl,isGeneratedPrivateIdentifier:()=>$E,isGetAccessor:()=>hg,isGetAccessorDeclaration:()=>qf,isGetOrSetAccessorDeclaration:()=>F2,isGlobalScopeAugmentation:()=>W_,isGlobalSourceFile:()=>iv,isGrammarError:()=>jte,isHeritageClause:()=>Gp,isHoistedFunction:()=>HF,isHoistedVariableStatement:()=>qF,isIdentifier:()=>Je,isIdentifierANonContextualKeyword:()=>ZG,isIdentifierName:()=>Lne,isIdentifierOrThisTypeNode:()=>coe,isIdentifierPart:()=>oy,isIdentifierStart:()=>L_,isIdentifierText:()=>_p,isIdentifierTypePredicate:()=>fne,isIdentifierTypeReference:()=>Vre,isIfStatement:()=>Q0,isIgnoredFileFromWildCardWatching:()=>nO,isImplicitGlob:()=>VV,isImportAttribute:()=>Bie,isImportAttributeName:()=>yte,isImportAttributes:()=>I1,isImportCall:()=>ep,isImportClause:()=>Hm,isImportDeclaration:()=>Sl,isImportEqualsDeclaration:()=>Oc,isImportKeyword:()=>GM,isImportMeta:()=>YR,isImportOrExportSpecifier:()=>hb,isImportOrExportSpecifierName:()=>bce,isImportSpecifier:()=>Au,isImportTypeAssertionContainer:()=>wSe,isImportTypeNode:()=>o_,isImportable:()=>NJ,isInComment:()=>yv,isInCompoundLikeAssignment:()=>JG,isInExpressionContext:()=>t6,isInJSDoc:()=>$N,isInJSFile:()=>Er,isInJSXText:()=>nce,isInJsonFile:()=>r6,isInNonReferenceComment:()=>lce,isInReferenceComment:()=>sce,isInRightSideOfInternalImportEqualsDeclaration:()=>c7,isInString:()=>fx,isInTemplateString:()=>jq,isInTopLevelContext:()=>QF,isInTypeQuery:()=>AI,isIncrementalBuildInfo:()=>lO,isIncrementalBundleEmitBuildInfo:()=>Bse,isIncrementalCompilation:()=>kS,isIndexSignatureDeclaration:()=>wb,isIndexedAccessTypeNode:()=>BS,isInferTypeNode:()=>v1,isInfinityOrNaNString:()=>MM,isInitializedProperty:()=>qw,isInitializedVariable:()=>jk,isInsideJsxElement:()=>v7,isInsideJsxElementOrAttribute:()=>tce,isInsideNodeModules:()=>PO,isInsideTemplateLiteral:()=>SO,isInstanceOfExpression:()=>D6,isInstantiatedModule:()=>UU,isInterfaceDeclaration:()=>gd,isInternalDeclaration:()=>wte,isInternalModuleImportEqualsDeclaration:()=>i1,isInternalName:()=>Hj,isIntersectionTypeNode:()=>KI,isIntrinsicJsxName:()=>sD,isIterationStatement:()=>yb,isJSDoc:()=>mh,isJSDocAllType:()=>qie,isJSDocAugmentsTag:()=>ZI,isJSDocAuthorTag:()=>BSe,isJSDocCallbackTag:()=>Lj,isJSDocClassTag:()=>Kie,isJSDocCommentContainingNode:()=>DF,isJSDocConstructSignature:()=>TI,isJSDocDeprecatedTag:()=>Fj,isJSDocEnumTag:()=>bw,isJSDocFunctionType:()=>ND,isJSDocImplementsTag:()=>N4,isJSDocImportTag:()=>d_,isJSDocIndexSignature:()=>o6,isJSDocLikeText:()=>eU,isJSDocLink:()=>Uie,isJSDocLinkCode:()=>Hie,isJSDocLinkLike:()=>dI,isJSDocLinkPlain:()=>FSe,isJSDocMemberName:()=>rT,isJSDocNameReference:()=>KM,isJSDocNamepathType:()=>zSe,isJSDocNamespaceBody:()=>PTe,isJSDocNode:()=>jR,isJSDocNonNullableType:()=>x4,isJSDocNullableType:()=>CD,isJSDocOptionalParameter:()=>r4,isJSDocOptionalType:()=>Pj,isJSDocOverloadTag:()=>MD,isJSDocOverrideTag:()=>D4,isJSDocParameterTag:()=>hf,isJSDocPrivateTag:()=>wj,isJSDocPropertyLikeTag:()=>ON,isJSDocPropertyTag:()=>Xie,isJSDocProtectedTag:()=>Oj,isJSDocPublicTag:()=>kj,isJSDocReadonlyTag:()=>Wj,isJSDocReturnTag:()=>C4,isJSDocSatisfiesExpression:()=>tj,isJSDocSatisfiesTag:()=>M4,isJSDocSeeTag:()=>GSe,isJSDocSignature:()=>gv,isJSDocTag:()=>UR,isJSDocTemplateTag:()=>Am,isJSDocThisTag:()=>zj,isJSDocThrowsTag:()=>jSe,isJSDocTypeAlias:()=>vm,isJSDocTypeAssertion:()=>HS,isJSDocTypeExpression:()=>nT,isJSDocTypeLiteral:()=>R1,isJSDocTypeTag:()=>XM,isJSDocTypedefTag:()=>D1,isJSDocUnknownTag:()=>VSe,isJSDocUnknownType:()=>Jie,isJSDocVariadicType:()=>R4,isJSXTagName:()=>ZR,isJsonEqual:()=>Z6,isJsonSourceFile:()=>zf,isJsxAttribute:()=>c_,isJsxAttributeLike:()=>xF,isJsxAttributeName:()=>Yre,isJsxAttributes:()=>jS,isJsxCallLike:()=>Lte,isJsxChild:()=>K2,isJsxClosingElement:()=>VS,isJsxClosingFragment:()=>Vie,isJsxElement:()=>l_,isJsxExpression:()=>RD,isJsxFragment:()=>tT,isJsxNamespacedName:()=>fh,isJsxOpeningElement:()=>ph,isJsxOpeningFragment:()=>qm,isJsxOpeningLikeElement:()=>ru,isJsxOpeningLikeElementTagName:()=>Jle,isJsxSelfClosingElement:()=>x1,isJsxSpreadAttribute:()=>QI,isJsxTagNameExpression:()=>GN,isJsxText:()=>GI,isJumpStatementTarget:()=>yO,isKeyword:()=>np,isKeywordOrPunctuation:()=>u6,isKnownSymbol:()=>lM,isLabelName:()=>kq,isLabelOfLabeledStatement:()=>Lq,isLabeledStatement:()=>Wb,isLateVisibilityPaintedStatement:()=>GF,isLeftHandSideExpression:()=>Zu,isLet:()=>UF,isLineBreak:()=>eu,isLiteralComputedPropertyDeclarationName:()=>Rk,isLiteralExpression:()=>YE,isLiteralExpressionOfObject:()=>tG,isLiteralImportTypeNode:()=>ly,isLiteralKind:()=>WN,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>p7,isLiteralTypeLiteral:()=>Ate,isLiteralTypeNode:()=>hv,isLocalName:()=>yy,isLogicalOperator:()=>Zne,isLogicalOrCoalescingAssignmentExpression:()=>vV,isLogicalOrCoalescingAssignmentOperator:()=>fM,isLogicalOrCoalescingBinaryExpression:()=>Wk,isLogicalOrCoalescingBinaryOperator:()=>x6,isMappedTypeNode:()=>T1,isMemberName:()=>mg,isMetaProperty:()=>E1,isMethodDeclaration:()=>Ll,isMethodOrAccessor:()=>lI,isMethodSignature:()=>Um,isMinusToken:()=>Aj,isMissingDeclaration:()=>WSe,isMissingPackageJsonInfo:()=>Zoe,isModifier:()=>Ra,isModifierKind:()=>_b,isModifierLike:()=>vl,isModuleAugmentationExternal:()=>IG,isModuleBlock:()=>a_,isModuleBody:()=>xte,isModuleDeclaration:()=>pc,isModuleExportName:()=>I4,isModuleExportsAccessExpression:()=>Tg,isModuleIdentifier:()=>GG,isModuleName:()=>poe,isModuleOrEnumDeclaration:()=>q2,isModuleReference:()=>Mte,isModuleSpecifierLike:()=>R7,isModuleWithStringLiteralName:()=>BF,isNameOfFunctionDeclaration:()=>Fq,isNameOfModuleDeclaration:()=>Wq,isNamedDeclaration:()=>nd,isNamedEvaluation:()=>Op,isNamedEvaluationSource:()=>eV,isNamedExportBindings:()=>Z9,isNamedExports:()=>Kf,isNamedImportBindings:()=>dG,isNamedImports:()=>s_,isNamedImportsOrExports:()=>k6,isNamedTupleMember:()=>SD,isNamespaceBody:()=>MTe,isNamespaceExport:()=>V_,isNamespaceExportDeclaration:()=>vw,isNamespaceImport:()=>Cg,isNamespaceReexportDeclaration:()=>bne,isNewExpression:()=>GS,isNewExpressionTarget:()=>xP,isNewScopeNode:()=>rie,isNoSubstitutionTemplateLiteral:()=>y1,isNodeArray:()=>hS,isNodeArrayMultiLine:()=>lre,isNodeDescendantOf:()=>xS,isNodeKind:()=>bF,isNodeLikeSystem:()=>s9,isNodeModulesDirectory:()=>aF,isNodeWithPossibleHoistedDeclaration:()=>Mne,isNonContextualKeyword:()=>QG,isNonGlobalAmbientModule:()=>AG,isNonNullAccess:()=>Xre,isNonNullChain:()=>vF,isNonNullExpression:()=>YI,isNonStaticMethodOrAccessorWithPrivateName:()=>Mae,isNotEmittedStatement:()=>Gie,isNullishCoalesce:()=>Q9,isNumber:()=>ib,isNumericLiteral:()=>ip,isNumericLiteralName:()=>Rg,isObjectBindingElementWithoutPropertyName:()=>xO,isObjectBindingOrAssignmentElement:()=>V2,isObjectBindingOrAssignmentPattern:()=>oG,isObjectBindingPattern:()=>mf,isObjectLiteralElement:()=>uG,isObjectLiteralElementLike:()=>sy,isObjectLiteralExpression:()=>za,isObjectLiteralMethod:()=>ym,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>KF,isObjectTypeDeclaration:()=>CI,isOmittedExpression:()=>qc,isOptionalChain:()=>tu,isOptionalChainRoot:()=>LN,isOptionalDeclaration:()=>OI,isOptionalJSDocPropertyLikeTag:()=>iw,isOptionalTypeNode:()=>b4,isOuterExpression:()=>k4,isOutermostOptionalChain:()=>kN,isOverrideModifier:()=>Pie,isPackageJsonInfo:()=>o3,isPackedArrayLiteral:()=>ZV,isParameter:()=>no,isParameterPropertyDeclaration:()=>Lp,isParameterPropertyModifier:()=>FN,isParenthesizedExpression:()=>zu,isParenthesizedTypeNode:()=>b1,isParseTreeNode:()=>PN,isPartOfParameterDeclaration:()=>U0,isPartOfTypeNode:()=>Yh,isPartOfTypeOnlyImportOrExportDeclaration:()=>gte,isPartOfTypeQuery:()=>n6,isPartiallyEmittedExpression:()=>Oie,isPatternMatch:()=>HW,isPinnedComment:()=>FF,isPlainJsFile:()=>jN,isPlusToken:()=>Ej,isPossiblyTypeArgumentPosition:()=>TO,isPostfixUnaryExpression:()=>Dj,isPrefixUnaryExpression:()=>$0,isPrimitiveLiteralValue:()=>a4,isPrivateIdentifier:()=>to,isPrivateIdentifierClassElementDeclaration:()=>nu,isPrivateIdentifierPropertyAccessExpression:()=>GR,isPrivateIdentifierSymbol:()=>One,isProgramUptoDate:()=>MH,isPrologueDirective:()=>Xh,isPropertyAccessChain:()=>gF,isPropertyAccessEntityNameExpression:()=>zk,isPropertyAccessExpression:()=>Jr,isPropertyAccessOrQualifiedName:()=>U2,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>Ste,isPropertyAssignment:()=>Rc,isPropertyDeclaration:()=>ko,isPropertyName:()=>yc,isPropertyNameLiteral:()=>$h,isPropertySignature:()=>Eu,isPrototypeAccess:()=>Db,isPrototypePropertyAssignment:()=>bk,isPunctuation:()=>$G,isPushOrUnshiftIdentifier:()=>tV,isQualifiedName:()=>Wu,isQuestionDotToken:()=>y4,isQuestionOrExclamationToken:()=>loe,isQuestionOrPlusOrMinusToken:()=>uoe,isQuestionToken:()=>kb,isReadonlyKeyword:()=>Nie,isReadonlyKeywordOrPlusOrMinusToken:()=>doe,isRecognizedTripleSlashComment:()=>vG,isReferenceFileLocation:()=>KD,isReferencedFile:()=>uT,isRegularExpressionLiteral:()=>Tj,isRequireCall:()=>tp,isRequireVariableStatement:()=>mk,isRestParameter:()=>w_,isRestTypeNode:()=>T4,isReturnStatement:()=>rf,isReturnStatementWithFixablePromiseHandler:()=>K7,isRightSideOfAccessExpression:()=>SV,isRightSideOfInstanceofExpression:()=>tre,isRightSideOfPropertyAccess:()=>ZD,isRightSideOfQualifiedName:()=>Kle,isRightSideOfQualifiedNameOrPropertyAccess:()=>mM,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>ere,isRootedDiskPath:()=>Pp,isSameEntityName:()=>eD,isSatisfiesExpression:()=>ID,isSemicolonClassElement:()=>Wie,isSetAccessor:()=>Jh,isSetAccessorDeclaration:()=>bp,isShiftOperatorOrHigher:()=>$j,isShorthandAmbientModuleSymbol:()=>Z2,isShorthandPropertyAssignment:()=>Ud,isSideEffectImport:()=>aj,isSignedNumericLiteral:()=>f6,isSimpleCopiableExpression:()=>KS,isSimpleInlineableExpression:()=>H_,isSimpleParameterList:()=>Jw,isSingleOrDoubleQuote:()=>hk,isSolutionConfig:()=>bU,isSourceElement:()=>Qre,isSourceFile:()=>Qi,isSourceFileFromLibrary:()=>cC,isSourceFileJS:()=>wu,isSourceFileNotJson:()=>i6,isSourceMapping:()=>Dae,isSpecialPropertyDeclaration:()=>Ane,isSpreadAssignment:()=>Ng,isSpreadElement:()=>Jf,isStatement:()=>Gi,isStatementButNotDeclaration:()=>J2,isStatementOrBlock:()=>Nte,isStatementWithLocals:()=>Vte,isStatic:()=>ha,isStaticModifier:()=>UI,isString:()=>jo,isStringANonContextualKeyword:()=>EI,isStringAndEmptyAnonymousObjectIntersection:()=>ace,isStringDoubleQuoted:()=>a6,isStringLiteral:()=>Oa,isStringLiteralLike:()=>ds,isStringLiteralOrJsxExpression:()=>Pte,isStringLiteralOrTemplate:()=>Ace,isStringOrNumericLiteralLike:()=>pf,isStringOrRegularExpressionOrTemplateLiteral:()=>qq,isStringTextContainingNode:()=>nG,isSuperCall:()=>r1,isSuperKeyword:()=>BM,isSuperProperty:()=>gp,isSupportedSourceFileName:()=>qV,isSwitchStatement:()=>HM,isSyntaxList:()=>PD,isSyntheticExpression:()=>NSe,isSyntheticReference:()=>$I,isTagName:()=>wq,isTaggedTemplateExpression:()=>Y0,isTaggedTemplateTag:()=>Hle,isTemplateExpression:()=>E4,isTemplateHead:()=>VI,isTemplateLiteral:()=>cI,isTemplateLiteralKind:()=>mb,isTemplateLiteralToken:()=>hte,isTemplateLiteralTypeNode:()=>kie,isTemplateLiteralTypeSpan:()=>Rj,isTemplateMiddle:()=>Sj,isTemplateMiddleOrTemplateTail:()=>TF,isTemplateSpan:()=>xD,isTemplateTail:()=>_4,isTextWhiteSpaceLike:()=>pce,isThis:()=>eC,isThisContainerOrFunctionBlock:()=>gne,isThisIdentifier:()=>Rb,isThisInTypeQuery:()=>NS,isThisInitializedDeclaration:()=>ZF,isThisInitializedObjectBindingExpression:()=>vne,isThisProperty:()=>ck,isThisTypeNode:()=>jM,isThisTypeParameter:()=>PM,isThisTypePredicate:()=>mne,isThrowStatement:()=>Mj,isToken:()=>aI,isTokenKind:()=>eG,isTraceEnabled:()=>zb,isTransientSymbol:()=>_g,isTrivia:()=>oD,isTryStatement:()=>A1,isTupleTypeNode:()=>JI,isTypeAlias:()=>Ek,isTypeAliasDeclaration:()=>Em,isTypeAssertionExpression:()=>S4,isTypeDeclaration:()=>wI,isTypeElement:()=>_S,isTypeKeyword:()=>NP,isTypeKeywordTokenOrIdentifier:()=>A7,isTypeLiteralNode:()=>Fu,isTypeNode:()=>xi,isTypeNodeKind:()=>PV,isTypeOfExpression:()=>ED,isTypeOnlyExportDeclaration:()=>_te,isTypeOnlyImportDeclaration:()=>BR,isTypeOnlyImportOrExportDeclaration:()=>nv,isTypeOperatorNode:()=>X0,isTypeParameterDeclaration:()=>pl,isTypePredicateNode:()=>qI,isTypeQueryNode:()=>FS,isTypeReferenceNode:()=>Bp,isTypeReferenceType:()=>NF,isTypeUsableAsPropertyName:()=>Uf,isUMDExportSymbol:()=>L6,isUnaryExpression:()=>lG,isUnaryExpressionWithWrite:()=>Ete,isUnicodeIdentifierStart:()=>lF,isUnionTypeNode:()=>mv,isUrl:()=>Nee,isValidBigIntString:()=>e4,isValidESSymbolDeclaration:()=>une,isValidTypeOnlyAliasUseSite:()=>q0,isValueSignatureDeclaration:()=>c1,isVarAwaitUsing:()=>ik,isVarConst:()=>XR,isVarConstLike:()=>sne,isVarUsing:()=>ok,isVariableDeclaration:()=>bi,isVariableDeclarationInVariableStatement:()=>JN,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>ES,isVariableDeclarationInitializedToRequire:()=>fk,isVariableDeclarationList:()=>_d,isVariableLike:()=>qN,isVariableStatement:()=>sc,isVoidExpression:()=>XI,isWatchSet:()=>CV,isWhileStatement:()=>Nj,isWhiteSpaceLike:()=>ug,isWhiteSpaceSingleLine:()=>Hh,isWithStatement:()=>Fie,isWriteAccess:()=>DI,isWriteOnlyAccess:()=>P6,isYieldExpression:()=>gw,jsxModeNeedsExplicitImport:()=>RJ,keywordPart:()=>Hp,last:()=>Ga,lastOrUndefined:()=>rl,length:()=>et,libMap:()=>oU,libs:()=>G4,lineBreakPart:()=>aC,loadModuleFromGlobalCache:()=>dae,loadWithModeAwareCache:()=>iO,makeIdentifierFromModuleName:()=>Xte,makeImport:()=>qb,makeStringLiteral:()=>MP,mangleScopedPackageName:()=>jD,map:()=>Gt,mapAllOrFail:()=>C0,mapDefined:()=>Hi,mapDefinedIterator:()=>pm,mapEntries:()=>ZQ,mapIterator:()=>ta,mapOneOrMany:()=>EJ,mapToDisplayParts:()=>Jb,matchFiles:()=>Pre,matchPatternOrExact:()=>JV,matchedText:()=>fZ,matchesExclude:()=>e3,matchesExcludeWorker:()=>t3,maxBy:()=>e9,maybeBind:()=>la,maybeSetLocalizedDiagnosticMessages:()=>gre,memoize:()=>Lu,memoizeOne:()=>jh,min:()=>t9,minAndMax:()=>zre,missingFileModifiedTime:()=>Mp,modifierToFlag:()=>xI,modifiersToFlags:()=>e_,moduleExportNameIsDefault:()=>O_,moduleExportNameTextEscaped:()=>bS,moduleExportNameTextUnescaped:()=>Sb,moduleOptionDeclaration:()=>Aoe,moduleResolutionIsEqualTo:()=>Bte,moduleResolutionNameAndModeGetter:()=>P3,moduleResolutionOptionDeclarations:()=>sU,moduleResolutionSupportsPackageJsonExportsAndImports:()=>mD,moduleResolutionUsesNodeModules:()=>I7,moduleSpecifierToValidIdentifier:()=>kO,moduleSpecifiers:()=>by,moduleSupportsImportAttributes:()=>Are,moduleSymbolToValidIdentifier:()=>LO,moveEmitHelpers:()=>gie,moveRangeEnd:()=>N6,moveRangePastDecorators:()=>fy,moveRangePastModifiers:()=>t_,moveRangePos:()=>H0,moveSyntheticComments:()=>mie,mutateMap:()=>vM,mutateMapSkippingNewValues:()=>Eg,needsParentheses:()=>M7,needsScopeMarker:()=>AF,newCaseClauseTracker:()=>j7,newPrivateEnvironment:()=>Lae,noEmitNotification:()=>$w,noEmitSubstitution:()=>hP,noTransformers:()=>dse,noTruncationMaximumTruncationLength:()=>mG,nodeCanBeDecorated:()=>uk,nodeCoreModules:()=>yD,nodeHasName:()=>w2,nodeIsDecorated:()=>QR,nodeIsMissing:()=>Wl,nodeIsPresent:()=>gm,nodeIsSynthesized:()=>zs,nodeModuleNameResolver:()=>rae,nodeModulesPathPart:()=>Mg,nodeNextJsonConfigResolver:()=>iae,nodeOrChildIsDecorated:()=>pk,nodeOverlapsWithStartEnd:()=>f7,nodePosToString:()=>wTe,nodeSeenTracker:()=>rC,nodeStartsNewLexicalEnvironment:()=>nV,noop:()=>vs,noopFileWatcher:()=>$D,normalizePath:()=>Sa,normalizeSlashes:()=>Bd,normalizeSpans:()=>j9,not:()=>JW,notImplemented:()=>ba,notImplementedResolver:()=>hse,nullNodeConverters:()=>uie,nullParenthesizerRules:()=>cie,nullTransformationContext:()=>Zw,objectAllocator:()=>xd,operatorPart:()=>LP,optionDeclarations:()=>Jm,optionMapToObject:()=>K4,optionsAffectingProgramStructure:()=>Doe,optionsForBuild:()=>cU,optionsForWatch:()=>ix,optionsHaveChanges:()=>pI,or:()=>Np,orderedRemoveItem:()=>hN,orderedRemoveItemAt:()=>lb,packageIdToPackageName:()=>OF,packageIdToString:()=>O0,parameterIsThisKeyword:()=>xb,parameterNamePart:()=>mce,parseBaseNodeFactory:()=>yoe,parseBigInt:()=>Gre,parseBuildCommand:()=>Ooe,parseCommandLine:()=>koe,parseCommandLineWorker:()=>dU,parseConfigFileTextToJson:()=>pU,parseConfigFileWithSystem:()=>ele,parseConfigHostFromCompilerHostLike:()=>F3,parseCustomTypeOption:()=>H4,parseIsolatedEntityName:()=>rx,parseIsolatedJSDocComment:()=>boe,parseJSDocTypeExpressionForTests:()=>fEe,parseJsonConfigFileContent:()=>jEe,parseJsonSourceFileConfigFileContent:()=>Ww,parseJsonText:()=>Mw,parseListTypeOption:()=>Poe,parseNodeFactory:()=>oT,parseNodeModuleFromPath:()=>Gw,parsePackageName:()=>l3,parsePseudoBigInt:()=>DM,parseValidBigInt:()=>$V,pasteEdits:()=>xX,patchWriteFileEnsuringDirectory:()=>$0e,pathContainsNodeModules:()=>Gb,pathIsAbsolute:()=>EN,pathIsBareSpecifier:()=>L9,pathIsRelative:()=>tf,patternText:()=>pZ,performIncrementalCompilation:()=>tle,performance:()=>TZ,positionBelongsToNode:()=>zq,positionIsASICandidate:()=>k7,positionIsSynthesized:()=>dh,positionsAreOnSameLine:()=>Vf,preProcessFile:()=>Zxe,probablyUsesSemicolons:()=>MO,processCommentPragmas:()=>rU,processPragmasIntoFields:()=>iU,processTaggedTemplateExpression:()=>oH,programContainsEsModules:()=>dce,programContainsModules:()=>cce,projectReferenceIsEqualTo:()=>hG,propertyNamePart:()=>hce,pseudoBigIntToString:()=>wS,punctuationPart:()=>lu,pushIfUnique:()=>wf,quote:()=>OP,quotePreferenceFromString:()=>nJ,rangeContainsPosition:()=>tC,rangeContainsPositionExclusive:()=>vO,rangeContainsRange:()=>rp,rangeContainsRangeExclusive:()=>Yle,rangeContainsStartEnd:()=>bO,rangeEndIsOnSameLineAsRangeStart:()=>Vk,rangeEndPositionsAreOnSameLine:()=>are,rangeEquals:()=>qB,rangeIsOnSingleLine:()=>f1,rangeOfNode:()=>XV,rangeOfTypeParameters:()=>YV,rangeOverlapsWithStartEnd:()=>RP,rangeStartIsOnSameLineAsRangeEnd:()=>sre,rangeStartPositionsAreOnSameLine:()=>M6,readBuilderProgram:()=>X3,readConfigFile:()=>ww,readJson:()=>dD,readJsonConfigFile:()=>Woe,readJsonOrUndefined:()=>AV,reduceEachLeadingCommentRange:()=>Fee,reduceEachTrailingCommentRange:()=>zee,reduceLeft:()=>yu,reduceLeftIterator:()=>Ln,reducePathComponents:()=>iI,refactor:()=>yx,regExpEscape:()=>dSe,regularExpressionFlagToCharacterCode:()=>cTe,relativeComplement:()=>eZ,removeAllComments:()=>dw,removeEmitHelper:()=>xSe,removeExtension:()=>ew,removeFileExtension:()=>Su,removeIgnoredPath:()=>V3,removeMinAndVersionNumbers:()=>r9,removePrefix:()=>_N,removeSuffix:()=>CR,removeTrailingDirectorySeparator:()=>ev,repeatString:()=>AO,replaceElement:()=>XB,replaceFirstStar:()=>h1,resolutionExtensionIsTSOrJson:()=>AM,resolveConfigFileProjectName:()=>cq,resolveJSModule:()=>T1e,resolveLibrary:()=>s3,resolveModuleName:()=>P1,resolveModuleNameFromCache:()=>v1e,resolvePackageNameToPackageJson:()=>AU,resolvePath:()=>db,resolveProjectReferencePath:()=>dx,resolveTripleslashReference:()=>SH,resolveTypeReferenceDirective:()=>$oe,resolvingEmptyArray:()=>fG,returnFalse:()=>ry,returnNoopFileWatcher:()=>EP,returnTrue:()=>dS,returnUndefined:()=>uS,returnsPromise:()=>GJ,rewriteModuleSpecifier:()=>sx,sameFlatMap:()=>Fm,sameMap:()=>Ui,sameMapping:()=>dAe,scanTokenAtPosition:()=>ane,scanner:()=>yd,semanticDiagnosticsOptionDeclarations:()=>Ioe,serializeCompilerOptions:()=>gU,server:()=>sOe,servicesVersion:()=>VDe,setCommentRange:()=>Ic,setConfigFileInOptions:()=>yU,setConstantValue:()=>_ie,setEmitFlags:()=>Dr,setGetSourceFileAsHashVersioned:()=>K3,setIdentifierAutoGenerate:()=>fw,setIdentifierGeneratedImportReference:()=>bie,setIdentifierTypeArguments:()=>fv,setInternalEmitFlags:()=>uw,setLocalizedDiagnosticMessages:()=>_re,setNodeChildren:()=>Yie,setNodeFlags:()=>Ure,setObjectAllocator:()=>hre,setOriginalNode:()=>jr,setParent:()=>ps,setParentRecursive:()=>J0,setPrivateIdentifier:()=>k1,setSnippetElement:()=>vj,setSourceMapRange:()=>Ha,setStackTraceLimit:()=>U0e,setStartsOnNewLine:()=>p4,setSyntheticLeadingComments:()=>K0,setSyntheticTrailingComments:()=>zI,setSys:()=>Q0e,setSysLog:()=>Dee,setTextRange:()=>Tt,setTextRangeEnd:()=>gD,setTextRangePos:()=>CM,setTextRangePosEnd:()=>uh,setTextRangePosWidth:()=>QV,setTokenSourceMapRange:()=>fie,setTypeNode:()=>yie,setUILocale:()=>cZ,setValueDeclaration:()=>eM,shouldAllowImportingTsExtension:()=>UD,shouldPreserveConstEnums:()=>Cb,shouldRewriteModuleSpecifier:()=>Sk,shouldUseUriStyleNodeCoreModules:()=>G7,showModuleSpecifier:()=>pre,signatureHasRestParameter:()=>su,signatureToDisplayParts:()=>fJ,single:()=>KB,singleElementArray:()=>tI,singleIterator:()=>GW,singleOrMany:()=>M_,singleOrUndefined:()=>cg,skipAlias:()=>Id,skipConstraint:()=>Zq,skipOuterExpressions:()=>Hl,skipParentheses:()=>us,skipPartiallyEmittedExpressions:()=>Bm,skipTrivia:()=>wa,skipTypeChecking:()=>_D,skipTypeCheckingIgnoringNoCheck:()=>Bre,skipTypeParentheses:()=>nM,skipWhile:()=>hZ,sliceAfter:()=>KV,some:()=>bt,sortAndDeduplicate:()=>mN,sortAndDeduplicateDiagnostics:()=>WR,sourceFileAffectingCompilerOptions:()=>lU,sourceFileMayBeEmitted:()=>DS,sourceMapCommentRegExp:()=>JU,sourceMapCommentRegExpDontCareLineStart:()=>Iae,spacePart:()=>Bl,spanMap:()=>f2,startEndContainsRange:()=>RV,startEndOverlapsWithStartEnd:()=>m7,startOnNewLine:()=>au,startTracing:()=>IZ,startsWith:()=>fo,startsWithDirectory:()=>O9,startsWithUnderscore:()=>xJ,startsWithUseStrict:()=>roe,stringContainsAt:()=>Mce,stringToToken:()=>qE,stripQuotes:()=>bm,supportedDeclarationExtensions:()=>Y6,supportedJSExtensionsFlat:()=>hD,supportedLocaleDirectories:()=>ete,supportedTSExtensionsFlat:()=>UV,supportedTSImplementationExtensions:()=>$k,suppressLeadingAndTrailingTrivia:()=>zp,suppressLeadingTrivia:()=>fj,suppressTrailingTrivia:()=>oie,symbolEscapedNameNoDefault:()=>x7,symbolName:()=>Ol,symbolNameNoDefault:()=>iJ,symbolToDisplayParts:()=>kP,sys:()=>Vc,sysLog:()=>tF,tagNamesAreEquivalent:()=>sT,takeWhile:()=>a9,targetOptionDeclaration:()=>aU,targetToLibMap:()=>Bee,testFormatSettings:()=>Txe,textChangeRangeIsUnchanged:()=>Xee,textChangeRangeNewSpan:()=>MN,textChanges:()=>Ir,textOrKeywordPart:()=>pJ,textPart:()=>vf,textRangeContainsPositionInclusive:()=>M2,textRangeContainsTextSpan:()=>jee,textRangeIntersectsWithTextSpan:()=>Jee,textSpanContainsPosition:()=>G9,textSpanContainsTextRange:()=>V9,textSpanContainsTextSpan:()=>Vee,textSpanEnd:()=>Ml,textSpanIntersection:()=>Kee,textSpanIntersectsWith:()=>P2,textSpanIntersectsWithPosition:()=>qee,textSpanIntersectsWithTextSpan:()=>Hee,textSpanIsEmpty:()=>Gee,textSpanOverlap:()=>Uee,textSpanOverlapsWith:()=>gTe,textSpansEqual:()=>oC,textToKeywordObj:()=>sF,timestamp:()=>Os,toArray:()=>ZA,toBuilderFileEmit:()=>jse,toBuilderStateFileInfoForMultiEmit:()=>Vse,toEditorSettings:()=>VO,toFileNameLowerCase:()=>ob,toPath:()=>Ws,toProgramEmitPending:()=>Use,toSorted:()=>Cp,tokenIsIdentifierOrKeyword:()=>$u,tokenIsIdentifierOrKeywordOrGreaterThan:()=>Pee,tokenToString:()=>Ta,trace:()=>Co,tracing:()=>Ar,tracingEnabled:()=>S2,transferSourceFileChildren:()=>$ie,transform:()=>QDe,transformClassFields:()=>jae,transformDeclarations:()=>cH,transformECMAScriptModule:()=>lH,transformES2015:()=>rse,transformES2016:()=>nse,transformES2017:()=>Jae,transformES2018:()=>Kae,transformES2019:()=>Xae,transformES2020:()=>Yae,transformES2021:()=>$ae,transformESDecorators:()=>qae,transformESNext:()=>Qae,transformGenerators:()=>ise,transformImpliedNodeFormatDependentModule:()=>ase,transformJsx:()=>tse,transformLegacyDecorators:()=>Hae,transformModule:()=>sH,transformNamedEvaluation:()=>Vp,transformNodes:()=>Qw,transformSystemModule:()=>ose,transformTypeScript:()=>Vae,transpile:()=>lRe,transpileDeclaration:()=>aRe,transpileModule:()=>ede,transpileOptionValueCompilerOptions:()=>Coe,tryAddToSet:()=>rh,tryAndIgnoreErrors:()=>W7,tryCast:()=>ii,tryDirectoryExists:()=>O7,tryExtractTSExtension:()=>C6,tryFileExists:()=>FP,tryGetClassExtendingExpressionWithTypeArguments:()=>bV,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>TV,tryGetDirectories:()=>w7,tryGetExtensionFromPath:()=>xg,tryGetImportFromModuleSpecifier:()=>Tk,tryGetJSDocSatisfiesTypeNode:()=>i4,tryGetModuleNameFromFile:()=>Iw,tryGetModuleSpecifierFromDeclaration:()=>yI,tryGetNativePerformanceHooks:()=>bZ,tryGetPropertyAccessOrIdentifierToString:()=>Bk,tryGetPropertyNameOfBindingOrAssignmentElement:()=>O4,tryGetSourceMappingURL:()=>xae,tryGetTextOfPropertyName:()=>HN,tryParseJson:()=>Gk,tryParsePattern:()=>kI,tryParsePatterns:()=>tw,tryParseRawSourceMap:()=>Rae,tryReadDirectory:()=>vJ,tryReadFile:()=>eP,tryRemoveDirectoryPrefix:()=>GV,tryRemoveExtension:()=>Wre,tryRemovePrefix:()=>o9,tryRemoveSuffix:()=>uZ,tscBuildOption:()=>N1,typeAcquisitionDeclarations:()=>j4,typeAliasNamePart:()=>_ce,typeDirectiveIsEqualTo:()=>Gte,typeKeywords:()=>Qq,typeParameterNamePart:()=>gce,typeToDisplayParts:()=>DO,unchangedPollThresholds:()=>ZW,unchangedTextChangeRange:()=>uF,unescapeLeadingUnderscores:()=>Bi,unmangleScopedPackageName:()=>jw,unorderedRemoveItem:()=>eI,unprefixedNodeCoreModules:()=>nie,unreachableCodeIsError:()=>Sre,unsetNodeChildren:()=>Gj,unusedLabelIsError:()=>Ere,unwrapInnermostStatementOfLabel:()=>OG,unwrapParenthesizedExpression:()=>eie,updateErrorForNoInputFiles:()=>Z4,updateLanguageServiceSourceFile:()=>mK,updateMissingFilePathsWatch:()=>vH,updateResolutionField:()=>zD,updateSharedExtendedConfigFileWatcher:()=>D3,updateSourceFile:()=>tU,updateWatchingWildcardDirectories:()=>tO,usingSingleLineStringWriter:()=>HR,utf16EncodeAsString:()=>NN,validateLocaleAndSetLanguage:()=>H9,version:()=>Me,versionMajorMinor:()=>fe,visitArray:()=>lP,visitCommaListElements:()=>_3,visitEachChild:()=>kn,visitFunctionBody:()=>yf,visitIterationBody:()=>Bu,visitLexicalEnvironment:()=>qU,visitNode:()=>st,visitNodes:()=>Jn,visitParameterList:()=>zl,walkUpBindingElementsAndPatterns:()=>JE,walkUpOuterExpressions:()=>ioe,walkUpParenthesizedExpressions:()=>Vm,walkUpParenthesizedTypes:()=>xk,walkUpParenthesizedTypesAndGetParentAndChild:()=>Pne,whitespaceOrMapCommentRegExp:()=>KU,writeCommentRange:()=>cD,writeFile:()=>E6,writeFileEnsuringDirectories:()=>fV,zipWith:()=>Ji});var RX;function Ast(){return RX!=null?RX:RX=new ih(Me)}function oOe(e,t,r,i,o){let s=t?"DeprecationError: ":"DeprecationWarning: ";return s+="'".concat(e,"' "),s+=i?"has been deprecated since v".concat(i):"is deprecated",s+=t?" and can no longer be used.":r?" and will no longer be usable after v".concat(r,"."):".",s+=o?" ".concat(Ag(o,[e])):"",s}function Ist(e,t,r,i){const o=oOe(e,!0,t,r,i);return()=>{throw new TypeError(o)}}function xst(e,t,r,i){let o=!1;return()=>{o||(C.log.warn(oOe(e,!1,t,r,i)),o=!0)}}function Rst(e,t={}){var d,_;const r=typeof t.typeScriptVersion=="string"?new ih(t.typeScriptVersion):(d=t.typeScriptVersion)!=null?d:Ast(),i=typeof t.errorAfter=="string"?new ih(t.errorAfter):t.errorAfter,o=typeof t.warnAfter=="string"?new ih(t.warnAfter):t.warnAfter,s=typeof t.since=="string"?new ih(t.since):(_=t.since)!=null?_:o,l=t.error||i&&r.compareTo(i)>=0,u=!o||r.compareTo(o)>=0;return l?Ist(e,i,s,t.message):u?xst(e,i,s,t.message):vs}function Dst(e,t){return function(){return e(),t.apply(this,arguments)}}function Cst(e,t){var i;const r=Rst((i=t==null?void 0:t.name)!=null?i:C.getFunctionName(e),t);return Dst(r,e)}function DX(e,t,r,i){if(Object.defineProperty(s,"name",{...Object.getOwnPropertyDescriptor(s,"name"),value:e}),i)for(const l of Object.keys(i)){const u=+l;!isNaN(u)&&Ms(t,"".concat(u))&&(t[u]=Cst(t[u],{...i[u],name:e}))}const o=Nst(t,r);return s;function s(...l){const u=o(l),d=u!==void 0?t[u]:void 0;if(typeof d=="function")return d(...l);throw new TypeError("Invalid arguments")}}function Nst(e,t){return r=>{for(let i=0;Ms(e,"".concat(i))&&Ms(t,"".concat(i));i++){const o=t[i];if(o(r))return i}}}function aOe(e){return{overload:t=>({bind:r=>({finish:()=>DX(e,t,r),deprecate:i=>({finish:()=>DX(e,t,r,i)})})})}}var sOe={};x(sOe,{ActionInvalidate:()=>r7,ActionPackageInstalled:()=>i7,ActionSet:()=>n7,ActionWatchTypingLocations:()=>hO,Arguments:()=>Iq,AutoImportProviderProject:()=>Bme,AuxiliaryProject:()=>Fme,CharRangeSection:()=>phe,CloseFileWatcherEvent:()=>GX,CommandNames:()=>zOe,ConfigFileDiagEvent:()=>OX,ConfiguredProject:()=>Gme,ConfiguredProjectLoadKind:()=>Jme,CreateDirectoryWatcherEvent:()=>BX,CreateFileWatcherEvent:()=>zX,Errors:()=>Iy,EventBeginInstallTypes:()=>Eq,EventEndInstallTypes:()=>Aq,EventInitializationFailed:()=>Rle,EventTypesRegistry:()=>Sq,ExternalProject:()=>NX,GcTimer:()=>xme,InferredProject:()=>Wme,LargeFileReferencedEvent:()=>wX,LineIndex:()=>b8,LineLeaf:()=>Gz,LineNode:()=>SC,LogLevel:()=>gme,Msg:()=>yme,OpenFileInfoTelemetryEvent:()=>Vme,Project:()=>Dx,ProjectInfoTelemetryEvent:()=>FX,ProjectKind:()=>eL,ProjectLanguageServiceStateEvent:()=>WX,ProjectLoadingFinishEvent:()=>kX,ProjectLoadingStartEvent:()=>LX,ProjectService:()=>nhe,ProjectsUpdatedInBackgroundEvent:()=>Fz,ScriptInfo:()=>Nme,ScriptVersionCache:()=>ZX,Session:()=>JOe,TextStorage:()=>Cme,ThrottledOperations:()=>Ime,TypingsInstallerAdapter:()=>ZOe,allFilesAreJsOrDts:()=>kme,allRootFilesAreJsOrDts:()=>Lme,asNormalizedPath:()=>uOe,convertCompilerOptions:()=>zz,convertFormatOptions:()=>vC,convertScriptKindName:()=>jX,convertTypeAcquisition:()=>Ume,convertUserPreferences:()=>Hme,convertWatchOptions:()=>y8,countEachFileTypes:()=>m8,createInstallTypingsRequest:()=>vme,createModuleSpecifierCache:()=>ohe,createNormalizedPathMap:()=>pOe,createPackageJsonCache:()=>ahe,createSortedArray:()=>Ame,emptyArray:()=>Jc,findArgument:()=>fxe,formatDiagnosticToProtocol:()=>v8,formatMessage:()=>she,getBaseConfigFileName:()=>CX,getDetailWatchInfo:()=>JX,getLocationInNewDocument:()=>uhe,hasArgument:()=>pxe,hasNoTypeScriptSource:()=>wme,indent:()=>IP,isBackgroundProject:()=>_8,isConfigFile:()=>rhe,isConfiguredProject:()=>Av,isDynamicFileName:()=>ZP,isExternalProject:()=>h8,isInferredProject:()=>yC,isInferredProjectName:()=>bme,isProjectDeferredClose:()=>g8,makeAutoImportProviderProjectName:()=>Sme,makeAuxiliaryProjectName:()=>Eme,makeInferredProjectName:()=>Tme,maxFileSize:()=>PX,maxProgramSizeForNonTsFiles:()=>MX,normalizedPathToPath:()=>gC,nowString:()=>mxe,nullCancellationToken:()=>OOe,nullTypingsInstaller:()=>Bz,protocol:()=>Rme,scriptInfoIsContainedByBackgroundProject:()=>Mme,scriptInfoIsContainedByDeferredClosedProject:()=>Pme,stringifyIndented:()=>pT,toEvent:()=>lhe,toNormalizedPath:()=>Ls,tryConvertScriptKindName:()=>VX,typingsInstaller:()=>_me,updateProjectIfDirty:()=>Dm});var _me={};x(_me,{TypingsInstaller:()=>Lst,getNpmCommandForInstallation:()=>cOe,installNpmPackages:()=>Pst,typingsName:()=>dOe});var Mst={isEnabled:()=>!1,writeLine:vs};function lOe(e,t,r,i){try{const o=P1(t,ei(e,"index.d.ts"),{moduleResolution:2},r);return o.resolvedModule&&o.resolvedModule.resolvedFileName}catch(o){i.isEnabled()&&i.writeLine("Failed to resolve ".concat(t," in folder '").concat(e,"': ").concat(o.message));return}}function Pst(e,t,r,i){let o=!1;for(let s=r.length;s>0;){const l=cOe(e,t,r,s);s=l.remaining,o=i(l.command)||o}return o}function cOe(e,t,r,i){const o=r.length-i;let s,l=i;for(;s="".concat(e," install --ignore-scripts ").concat((l===r.length?r:r.slice(o,o+l)).join(" "),' --save-dev --user-agent="typesInstaller/').concat(t,'"'),!(s.length<8e3);)l=l-Math.floor(l/2);return{command:s,remaining:i-l}}var Lst=class{constructor(e,t,r,i,o,s=Mst){this.installTypingHost=e,this.globalCachePath=t,this.safeListPath=r,this.typesMapLocation=i,this.throttleLimit=o,this.log=s,this.packageNameToTypingLocation=new Map,this.missingTypingsSet=new Set,this.knownCachesSet=new Set,this.projectWatchers=new Map,this.pendingRunRequests=[],this.installRunCount=1,this.inFlightRequestCount=0,this.latestDistTag="latest",this.log.isEnabled()&&this.log.writeLine("Global cache location '".concat(t,"', safe file path '").concat(r,"', types map path ").concat(i)),this.processCacheLocation(this.globalCachePath)}handleRequest(e){switch(e.kind){case"discover":this.install(e);break;case"closeProject":this.closeProject(e);break;case"typesRegistry":{const t={};this.typesRegistry.forEach((i,o)=>{t[o]=i});const r={kind:Sq,typesRegistry:t};this.sendResponse(r);break}case"installPackage":{this.installPackage(e);break}default:C.assertNever(e)}}closeProject(e){this.closeWatchers(e.projectName)}closeWatchers(e){if(this.log.isEnabled()&&this.log.writeLine("Closing file watchers for project '".concat(e,"'")),!this.projectWatchers.get(e)){this.log.isEnabled()&&this.log.writeLine("No watchers are registered for project '".concat(e,"'"));return}this.projectWatchers.delete(e),this.sendResponse({kind:hO,projectName:e,files:[]}),this.log.isEnabled()&&this.log.writeLine("Closing file watchers for project '".concat(e,"' - done."))}install(e){this.log.isEnabled()&&this.log.writeLine("Got install request".concat(pT(e))),e.cachePath&&(this.log.isEnabled()&&this.log.writeLine("Request specifies cache path '".concat(e.cachePath,"', loading cached information...")),this.processCacheLocation(e.cachePath)),this.safeList===void 0&&this.initializeSafeList();const t=Hb.discoverTypings(this.installTypingHost,this.log.isEnabled()?r=>this.log.writeLine(r):void 0,e.fileNames,e.projectRootPath,this.safeList,this.packageNameToTypingLocation,e.typeAcquisition,e.unresolvedImports,this.typesRegistry,e.compilerOptions);this.watchFiles(e.projectName,t.filesToWatch),t.newTypingNames.length?this.installTypings(e,e.cachePath||this.globalCachePath,t.cachedTypingPaths,t.newTypingNames):(this.sendResponse(this.createSetTypings(e,t.cachedTypingPaths)),this.log.isEnabled()&&this.log.writeLine("No new typings were requested as a result of typings discovery"))}installPackage(e){const{fileName:t,packageName:r,projectName:i,projectRootPath:o,id:s}=e,l=IN(pi(t),u=>{if(this.installTypingHost.fileExists(ei(u,"package.json")))return u})||o;if(l)this.installWorker(-1,[r],l,u=>{const d=u?"Package ".concat(r," installed."):"There was an error installing ".concat(r,"."),_={kind:i7,projectName:i,id:s,success:u,message:d};this.sendResponse(_)});else{const u={kind:i7,projectName:i,id:s,success:!1,message:"Could not determine a project root path."};this.sendResponse(u)}}initializeSafeList(){if(this.typesMapLocation){const e=Hb.loadTypesMap(this.installTypingHost,this.typesMapLocation);if(e){this.log.writeLine("Loaded safelist from types map file '".concat(this.typesMapLocation,"'")),this.safeList=e;return}this.log.writeLine("Failed to load safelist from types map file '".concat(this.typesMapLocation,"'"))}this.safeList=Hb.loadSafeList(this.installTypingHost,this.safeListPath)}processCacheLocation(e){if(this.log.isEnabled()&&this.log.writeLine("Processing cache location '".concat(e,"'")),this.knownCachesSet.has(e)){this.log.isEnabled()&&this.log.writeLine("Cache location was already processed...");return}const t=ei(e,"package.json"),r=ei(e,"package-lock.json");if(this.log.isEnabled()&&this.log.writeLine("Trying to find '".concat(t,"'...")),this.installTypingHost.fileExists(t)&&this.installTypingHost.fileExists(r)){const i=JSON.parse(this.installTypingHost.readFile(t)),o=JSON.parse(this.installTypingHost.readFile(r));if(this.log.isEnabled()&&(this.log.writeLine("Loaded content of '".concat(t,"':").concat(pT(i))),this.log.writeLine("Loaded content of '".concat(r,"':").concat(pT(o)))),i.devDependencies&&(o.packages||o.dependencies))for(const s in i.devDependencies){if(o.packages&&!Ms(o.packages,"node_modules/".concat(s))||o.dependencies&&!Ms(o.dependencies,s))continue;const l=Ec(s);if(!l)continue;const u=lOe(e,l,this.installTypingHost,this.log);if(!u){this.missingTypingsSet.add(l);continue}const d=this.packageNameToTypingLocation.get(l);if(d){if(d.typingLocation===u)continue;this.log.isEnabled()&&this.log.writeLine("New typing for package ".concat(l," from '").concat(u,"' conflicts with existing typing file '").concat(d,"'"))}this.log.isEnabled()&&this.log.writeLine("Adding entry into typings cache: '".concat(l,"' => '").concat(u,"'"));const _=o.packages&&h2(o.packages,"node_modules/".concat(s))||h2(o.dependencies,s),m=_&&_.version;if(!m)continue;const y={typingLocation:u,version:new ih(m)};this.packageNameToTypingLocation.set(l,y)}}this.log.isEnabled()&&this.log.writeLine("Finished processing cache location '".concat(e,"'")),this.knownCachesSet.add(e)}filterTypings(e){return Hi(e,t=>{const r=jD(t);if(this.missingTypingsSet.has(r)){this.log.isEnabled()&&this.log.writeLine("'".concat(t,"':: '").concat(r,"' is in missingTypingsSet - skipping..."));return}const i=Hb.validatePackageName(t);if(i!==Hb.NameValidationResult.Ok){this.missingTypingsSet.add(r),this.log.isEnabled()&&this.log.writeLine(Hb.renderPackageNameValidationFailure(i,t));return}if(!this.typesRegistry.has(r)){this.log.isEnabled()&&this.log.writeLine("'".concat(t,"':: Entry for package '").concat(r,"' does not exist in local types registry - skipping..."));return}if(this.packageNameToTypingLocation.get(r)&&Hb.isTypingUpToDate(this.packageNameToTypingLocation.get(r),this.typesRegistry.get(r))){this.log.isEnabled()&&this.log.writeLine("'".concat(t,"':: '").concat(r,"' already has an up-to-date typing - skipping..."));return}return r})}ensurePackageDirectoryExists(e){const t=ei(e,"package.json");this.log.isEnabled()&&this.log.writeLine("Npm config file: ".concat(t)),this.installTypingHost.fileExists(t)||(this.log.isEnabled()&&this.log.writeLine("Npm config file: '".concat(t,"' is missing, creating new one...")),this.ensureDirectoryExists(e,this.installTypingHost),this.installTypingHost.writeFile(t,'{ "private": true }'))}installTypings(e,t,r,i){this.log.isEnabled()&&this.log.writeLine("Installing typings ".concat(JSON.stringify(i)));const o=this.filterTypings(i);if(o.length===0){this.log.isEnabled()&&this.log.writeLine("All typings are known to be missing or invalid - no need to install more typings"),this.sendResponse(this.createSetTypings(e,r));return}this.ensurePackageDirectoryExists(t);const s=this.installRunCount;this.installRunCount++,this.sendResponse({kind:Eq,eventId:s,typingsInstallerVersion:Me,projectName:e.projectName});const l=o.map(dOe);this.installTypingsAsync(s,l,t,u=>{try{if(!u){this.log.isEnabled()&&this.log.writeLine("install request failed, marking packages as missing to prevent repeated requests: ".concat(JSON.stringify(o)));for(const _ of o)this.missingTypingsSet.add(_);return}this.log.isEnabled()&&this.log.writeLine("Installed typings ".concat(JSON.stringify(l)));const d=[];for(const _ of o){const m=lOe(t,_,this.installTypingHost,this.log);if(!m){this.missingTypingsSet.add(_);continue}const y=this.typesRegistry.get(_),E=new ih(y["ts".concat(fe)]||y[this.latestDistTag]),A={typingLocation:m,version:E};this.packageNameToTypingLocation.set(_,A),d.push(m)}this.log.isEnabled()&&this.log.writeLine("Installed typing files ".concat(JSON.stringify(d))),this.sendResponse(this.createSetTypings(e,r.concat(d)))}finally{const d={kind:Aq,eventId:s,projectName:e.projectName,packagesToInstall:l,installSuccess:u,typingsInstallerVersion:Me};this.sendResponse(d)}})}ensureDirectoryExists(e,t){const r=pi(e);t.directoryExists(r)||this.ensureDirectoryExists(r,t),t.directoryExists(e)||t.createDirectory(e)}watchFiles(e,t){if(!t.length){this.closeWatchers(e);return}const r=this.projectWatchers.get(e),i=new Set(t);!r||gg(i,o=>!r.has(o))||gg(r,o=>!i.has(o))?(this.projectWatchers.set(e,i),this.sendResponse({kind:hO,projectName:e,files:t})):this.sendResponse({kind:hO,projectName:e,files:void 0})}createSetTypings(e,t){return{projectName:e.projectName,typeAcquisition:e.typeAcquisition,compilerOptions:e.compilerOptions,typings:t,unresolvedImports:e.unresolvedImports,kind:n7}}installTypingsAsync(e,t,r,i){this.pendingRunRequests.unshift({requestId:e,packageNames:t,cwd:r,onRequestCompleted:i}),this.executeWithThrottling()}executeWithThrottling(){for(;this.inFlightRequestCount<this.throttleLimit&&this.pendingRunRequests.length;){this.inFlightRequestCount++;const e=this.pendingRunRequests.pop();this.installWorker(e.requestId,e.packageNames,e.cwd,t=>{this.inFlightRequestCount--,e.onRequestCompleted(t),this.executeWithThrottling()})}}};function dOe(e){return"@types/".concat(e,"@ts").concat(fe)}var gme=(e=>(e[e.terse=0]="terse",e[e.normal=1]="normal",e[e.requestTime=2]="requestTime",e[e.verbose=3]="verbose",e))(gme||{}),Jc=Ame(),yme=(e=>(e.Err="Err",e.Info="Info",e.Perf="Perf",e))(yme||{});function vme(e,t,r,i){return{projectName:e.getProjectName(),fileNames:e.getFileNames(!0,!0).concat(e.getExcludedFiles()),compilerOptions:e.getCompilationSettings(),typeAcquisition:t,unresolvedImports:r,projectRootPath:e.getCurrentDirectory(),cachePath:i,kind:"discover"}}var Iy;(e=>{function t(){throw new Error("No Project.")}e.ThrowNoProject=t;function r(){throw new Error("The project's language service is disabled.")}e.ThrowProjectLanguageServiceDisabled=r;function i(o,s){throw new Error("Project '".concat(s.getProjectName(),"' does not contain document '").concat(o,"'"))}e.ThrowProjectDoesNotContainDocument=i})(Iy||(Iy={}));function Ls(e){return Sa(e)}function gC(e,t,r){const i=Pp(e)?e:Eo(e,t);return r(i)}function uOe(e){return e}function pOe(){const e=new Map;return{get(t){return e.get(t)},set(t,r){e.set(t,r)},contains(t){return e.has(t)},remove(t){e.delete(t)}}}function bme(e){return/dev\/null\/inferredProject\d+\*/.test(e)}function Tme(e){return"/dev/null/inferredProject".concat(e,"*")}function Sme(e){return"/dev/null/autoImportProviderProject".concat(e,"*")}function Eme(e){return"/dev/null/auxiliaryProject".concat(e,"*")}function Ame(){return[]}var Ime=class $7e{constructor(t,r){this.host=t,this.pendingTimeouts=new Map,this.logger=r.hasLevel(3)?r:void 0}schedule(t,r,i){const o=this.pendingTimeouts.get(t);o&&this.host.clearTimeout(o),this.pendingTimeouts.set(t,this.host.setTimeout($7e.run,r,t,this,i)),this.logger&&this.logger.info("Scheduled: ".concat(t).concat(o?", Cancelled earlier one":""))}cancel(t){const r=this.pendingTimeouts.get(t);return r?(this.host.clearTimeout(r),this.pendingTimeouts.delete(t)):!1}static run(t,r,i){r.pendingTimeouts.delete(t),r.logger&&r.logger.info("Running: ".concat(t)),i()}},xme=class Q7e{constructor(t,r,i){this.host=t,this.delay=r,this.logger=i}scheduleCollect(){!this.host.gc||this.timerId!==void 0||(this.timerId=this.host.setTimeout(Q7e.run,this.delay,this))}static run(t){t.timerId=void 0;const r=t.logger.hasLevel(2),i=r&&t.host.getMemoryUsage();if(t.host.gc(),r){const o=t.host.getMemoryUsage();t.logger.perftrc("GC::before ".concat(i,", after ").concat(o))}}};function CX(e){const t=Ec(e);return t==="tsconfig.json"||t==="jsconfig.json"?t:void 0}var Rme={};x(Rme,{ClassificationType:()=>Cq,CommandTypes:()=>Dme,CompletionTriggerKind:()=>Rq,IndentStyle:()=>_Oe,JsxEmit:()=>gOe,ModuleKind:()=>yOe,ModuleResolutionKind:()=>vOe,NewLineKind:()=>bOe,OrganizeImportsMode:()=>xq,PollingWatchKind:()=>hOe,ScriptTarget:()=>TOe,SemicolonPreference:()=>Dq,WatchDirectoryKind:()=>mOe,WatchFileKind:()=>fOe});var Dme=(e=>(e.JsxClosingTag="jsxClosingTag",e.LinkedEditingRange="linkedEditingRange",e.Brace="brace",e.BraceFull="brace-full",e.BraceCompletion="braceCompletion",e.GetSpanOfEnclosingComment="getSpanOfEnclosingComment",e.Change="change",e.Close="close",e.Completions="completions",e.CompletionInfo="completionInfo",e.CompletionsFull="completions-full",e.CompletionDetails="completionEntryDetails",e.CompletionDetailsFull="completionEntryDetails-full",e.CompileOnSaveAffectedFileList="compileOnSaveAffectedFileList",e.CompileOnSaveEmitFile="compileOnSaveEmitFile",e.Configure="configure",e.Definition="definition",e.DefinitionFull="definition-full",e.DefinitionAndBoundSpan="definitionAndBoundSpan",e.DefinitionAndBoundSpanFull="definitionAndBoundSpan-full",e.Implementation="implementation",e.ImplementationFull="implementation-full",e.EmitOutput="emit-output",e.Exit="exit",e.FileReferences="fileReferences",e.FileReferencesFull="fileReferences-full",e.Format="format",e.Formatonkey="formatonkey",e.FormatFull="format-full",e.FormatonkeyFull="formatonkey-full",e.FormatRangeFull="formatRange-full",e.Geterr="geterr",e.GeterrForProject="geterrForProject",e.SemanticDiagnosticsSync="semanticDiagnosticsSync",e.SyntacticDiagnosticsSync="syntacticDiagnosticsSync",e.SuggestionDiagnosticsSync="suggestionDiagnosticsSync",e.NavBar="navbar",e.NavBarFull="navbar-full",e.Navto="navto",e.NavtoFull="navto-full",e.NavTree="navtree",e.NavTreeFull="navtree-full",e.DocumentHighlights="documentHighlights",e.DocumentHighlightsFull="documentHighlights-full",e.Open="open",e.Quickinfo="quickinfo",e.QuickinfoFull="quickinfo-full",e.References="references",e.ReferencesFull="references-full",e.Reload="reload",e.Rename="rename",e.RenameInfoFull="rename-full",e.RenameLocationsFull="renameLocations-full",e.Saveto="saveto",e.SignatureHelp="signatureHelp",e.SignatureHelpFull="signatureHelp-full",e.FindSourceDefinition="findSourceDefinition",e.Status="status",e.TypeDefinition="typeDefinition",e.ProjectInfo="projectInfo",e.ReloadProjects="reloadProjects",e.Unknown="unknown",e.OpenExternalProject="openExternalProject",e.OpenExternalProjects="openExternalProjects",e.CloseExternalProject="closeExternalProject",e.SynchronizeProjectList="synchronizeProjectList",e.ApplyChangedToOpenFiles="applyChangedToOpenFiles",e.UpdateOpen="updateOpen",e.EncodedSyntacticClassificationsFull="encodedSyntacticClassifications-full",e.EncodedSemanticClassificationsFull="encodedSemanticClassifications-full",e.Cleanup="cleanup",e.GetOutliningSpans="getOutliningSpans",e.GetOutliningSpansFull="outliningSpans",e.TodoComments="todoComments",e.Indentation="indentation",e.DocCommentTemplate="docCommentTemplate",e.CompilerOptionsDiagnosticsFull="compilerOptionsDiagnostics-full",e.NameOrDottedNameSpan="nameOrDottedNameSpan",e.BreakpointStatement="breakpointStatement",e.CompilerOptionsForInferredProjects="compilerOptionsForInferredProjects",e.GetCodeFixes="getCodeFixes",e.GetCodeFixesFull="getCodeFixes-full",e.GetCombinedCodeFix="getCombinedCodeFix",e.GetCombinedCodeFixFull="getCombinedCodeFix-full",e.ApplyCodeActionCommand="applyCodeActionCommand",e.GetSupportedCodeFixes="getSupportedCodeFixes",e.GetApplicableRefactors="getApplicableRefactors",e.GetEditsForRefactor="getEditsForRefactor",e.GetMoveToRefactoringFileSuggestions="getMoveToRefactoringFileSuggestions",e.PreparePasteEdits="preparePasteEdits",e.GetPasteEdits="getPasteEdits",e.GetEditsForRefactorFull="getEditsForRefactor-full",e.OrganizeImports="organizeImports",e.OrganizeImportsFull="organizeImports-full",e.GetEditsForFileRename="getEditsForFileRename",e.GetEditsForFileRenameFull="getEditsForFileRename-full",e.ConfigurePlugin="configurePlugin",e.SelectionRange="selectionRange",e.SelectionRangeFull="selectionRange-full",e.ToggleLineComment="toggleLineComment",e.ToggleLineCommentFull="toggleLineComment-full",e.ToggleMultilineComment="toggleMultilineComment",e.ToggleMultilineCommentFull="toggleMultilineComment-full",e.CommentSelection="commentSelection",e.CommentSelectionFull="commentSelection-full",e.UncommentSelection="uncommentSelection",e.UncommentSelectionFull="uncommentSelection-full",e.PrepareCallHierarchy="prepareCallHierarchy",e.ProvideCallHierarchyIncomingCalls="provideCallHierarchyIncomingCalls",e.ProvideCallHierarchyOutgoingCalls="provideCallHierarchyOutgoingCalls",e.ProvideInlayHints="provideInlayHints",e.WatchChange="watchChange",e.MapCode="mapCode",e.CopilotRelated="copilotRelated",e))(Dme||{}),fOe=(e=>(e.FixedPollingInterval="FixedPollingInterval",e.PriorityPollingInterval="PriorityPollingInterval",e.DynamicPriorityPolling="DynamicPriorityPolling",e.FixedChunkSizePolling="FixedChunkSizePolling",e.UseFsEvents="UseFsEvents",e.UseFsEventsOnParentDirectory="UseFsEventsOnParentDirectory",e))(fOe||{}),mOe=(e=>(e.UseFsEvents="UseFsEvents",e.FixedPollingInterval="FixedPollingInterval",e.DynamicPriorityPolling="DynamicPriorityPolling",e.FixedChunkSizePolling="FixedChunkSizePolling",e))(mOe||{}),hOe=(e=>(e.FixedInterval="FixedInterval",e.PriorityInterval="PriorityInterval",e.DynamicPriority="DynamicPriority",e.FixedChunkSize="FixedChunkSize",e))(hOe||{}),_Oe=(e=>(e.None="None",e.Block="Block",e.Smart="Smart",e))(_Oe||{}),gOe=(e=>(e.None="none",e.Preserve="preserve",e.ReactNative="react-native",e.React="react",e.ReactJSX="react-jsx",e.ReactJSXDev="react-jsxdev",e))(gOe||{}),yOe=(e=>(e.None="none",e.CommonJS="commonjs",e.AMD="amd",e.UMD="umd",e.System="system",e.ES6="es6",e.ES2015="es2015",e.ES2020="es2020",e.ES2022="es2022",e.ESNext="esnext",e.Node16="node16",e.Node18="node18",e.Node20="node20",e.NodeNext="nodenext",e.Preserve="preserve",e))(yOe||{}),vOe=(e=>(e.Classic="classic",e.Node="node",e.NodeJs="node",e.Node10="node10",e.Node16="node16",e.NodeNext="nodenext",e.Bundler="bundler",e))(vOe||{}),bOe=(e=>(e.Crlf="Crlf",e.Lf="Lf",e))(bOe||{}),TOe=(e=>(e.ES3="es3",e.ES5="es5",e.ES6="es6",e.ES2015="es2015",e.ES2016="es2016",e.ES2017="es2017",e.ES2018="es2018",e.ES2019="es2019",e.ES2020="es2020",e.ES2021="es2021",e.ES2022="es2022",e.ES2023="es2023",e.ES2024="es2024",e.ESNext="esnext",e.JSON="json",e.Latest="esnext",e))(TOe||{}),Cme=class{constructor(e,t,r){this.host=e,this.info=t,this.isOpen=!1,this.ownFileText=!1,this.pendingReloadFromDisk=!1,this.version=r||0}getVersion(){return this.svc?"SVC-".concat(this.version,"-").concat(this.svc.getSnapshotVersion()):"Text-".concat(this.version)}hasScriptVersionCache_TestOnly(){return this.svc!==void 0}resetSourceMapInfo(){this.info.sourceFileLike=void 0,this.info.closeSourceMapFileWatcher(),this.info.sourceMapFilePath=void 0,this.info.declarationInfoPath=void 0,this.info.sourceInfos=void 0,this.info.documentPositionMapper=void 0}useText(e){this.svc=void 0,this.text=e,this.textSnapshot=void 0,this.lineMap=void 0,this.fileSize=void 0,this.resetSourceMapInfo(),this.version++}edit(e,t,r){this.switchToScriptVersionCache().edit(e,t-e,r),this.ownFileText=!1,this.text=void 0,this.textSnapshot=void 0,this.lineMap=void 0,this.fileSize=void 0,this.resetSourceMapInfo()}reload(e){return C.assert(e!==void 0),this.pendingReloadFromDisk=!1,!this.text&&this.svc&&(this.text=mx(this.svc.getSnapshot())),this.text!==e?(this.useText(e),this.ownFileText=!1,!0):!1}reloadWithFileText(e){const{text:t,fileSize:r}=e||!this.info.isDynamicOrHasMixedContent()?this.getFileTextAndSize(e):{text:"",fileSize:void 0},i=this.reload(t);return this.fileSize=r,this.ownFileText=!e||e===this.info.fileName,this.ownFileText&&this.info.mTime===Mp.getTime()&&(this.info.mTime=(this.host.getModifiedTime(this.info.fileName)||Mp).getTime()),i}scheduleReloadIfNeeded(){return!this.pendingReloadFromDisk&&!this.ownFileText?this.pendingReloadFromDisk=!0:!1}delayReloadFromFileIntoText(){this.pendingReloadFromDisk=!0}getTelemetryFileSize(){return this.fileSize?this.fileSize:this.text?this.text.length:this.svc?this.svc.getSnapshot().getLength():this.getSnapshot().getLength()}getSnapshot(){var t;var e;return((e=this.tryUseScriptVersionCache())==null?void 0:e.getSnapshot())||((t=this.textSnapshot)!=null?t:this.textSnapshot=o7.fromString(C.checkDefined(this.text)))}getAbsolutePositionAndLineText(e){const t=this.tryUseScriptVersionCache();if(t)return t.getAbsolutePositionAndLineText(e);const r=this.getLineMap();return e<=r.length?{absolutePosition:r[e-1],lineText:this.text.substring(r[e-1],r[e])}:{absolutePosition:this.text.length,lineText:void 0}}lineToTextSpan(e){const t=this.tryUseScriptVersionCache();if(t)return t.lineToTextSpan(e);const r=this.getLineMap(),i=r[e],o=e+1<r.length?r[e+1]:this.text.length;return oc(i,o)}lineOffsetToPosition(e,t,r){const i=this.tryUseScriptVersionCache();return i?i.lineOffsetToPosition(e,t):cF(this.getLineMap(),e-1,t-1,this.text,r)}positionToLineOffset(e){const t=this.tryUseScriptVersionCache();if(t)return t.positionToLineOffset(e);const{line:r,character:i}=wR(this.getLineMap(),e);return{line:r+1,offset:i+1}}getFileTextAndSize(e){let t;const r=e||this.info.fileName,i=()=>t===void 0?t=this.host.readFile(r)||"":t;if(!m1(this.info.fileName)){const o=this.host.getFileSize?this.host.getFileSize(r):i().length;if(o>PX)return C.assert(!!this.info.containingProjects.length),this.info.containingProjects[0].projectService.logger.info("Skipped loading contents of large file ".concat(r," for info ").concat(this.info.fileName,": fileSize: ").concat(o)),this.info.containingProjects[0].projectService.sendLargeFileReferencedEvent(r,o),{text:"",fileSize:o}}return{text:i()}}switchToScriptVersionCache(){return(!this.svc||this.pendingReloadFromDisk)&&(this.svc=ZX.fromString(this.getOrLoadText()),this.textSnapshot=void 0,this.version++),this.svc}tryUseScriptVersionCache(){return(!this.svc||this.pendingReloadFromDisk)&&this.getOrLoadText(),this.isOpen?(!this.svc&&!this.textSnapshot&&(this.svc=ZX.fromString(C.checkDefined(this.text)),this.textSnapshot=void 0),this.svc):this.svc}getOrLoadText(){return(this.text===void 0||this.pendingReloadFromDisk)&&(C.assert(!this.svc||this.pendingReloadFromDisk,"ScriptVersionCache should not be set when reloading from disk"),this.reloadWithFileText()),this.text}getLineMap(){return C.assert(!this.svc,"ScriptVersionCache should not be set"),this.lineMap||(this.lineMap=oI(C.checkDefined(this.text)))}getLineInfo(){const e=this.tryUseScriptVersionCache();if(e)return{getLineCount:()=>e.getLineCount(),getLineText:r=>e.getAbsolutePositionAndLineText(r+1).lineText};const t=this.getLineMap();return XU(this.text,t)}};function ZP(e){return e[0]==="^"||(e.includes("walkThroughSnippet:/")||e.includes("untitled:/"))&&Ec(e)[0]==="^"||e.includes(":^")&&!e.includes($s)}var Nme=class{constructor(e,t,r,i,o,s){this.host=e,this.fileName=t,this.scriptKind=r,this.hasMixedContent=i,this.path=o,this.containingProjects=[],this.isDynamic=ZP(t),this.textStorage=new Cme(e,this,s),(i||this.isDynamic)&&(this.realpath=this.path),this.scriptKind=r||K6(t)}isDynamicOrHasMixedContent(){return this.hasMixedContent||this.isDynamic}isScriptOpen(){return this.textStorage.isOpen}open(e){this.textStorage.isOpen=!0,e!==void 0&&this.textStorage.reload(e)&&this.markContainingProjectsAsDirty()}close(e=!0){this.textStorage.isOpen=!1,e&&this.textStorage.scheduleReloadIfNeeded()&&this.markContainingProjectsAsDirty()}getSnapshot(){return this.textStorage.getSnapshot()}ensureRealPath(){if(this.realpath===void 0&&(this.realpath=this.path,this.host.realpath)){C.assert(!!this.containingProjects.length);const e=this.containingProjects[0],t=this.host.realpath(this.path);t&&(this.realpath=e.toPath(t),this.realpath!==this.path&&e.projectService.realpathToScriptInfos.add(this.realpath,this))}}getRealpathIfDifferent(){return this.realpath&&this.realpath!==this.path?this.realpath:void 0}isSymlink(){return this.realpath&&this.realpath!==this.path}getFormatCodeSettings(){return this.formatSettings}getPreferences(){return this.preferences}attachToProject(e){const t=!this.isAttached(e);return t&&(this.containingProjects.push(e),e.getCompilerOptions().preserveSymlinks||this.ensureRealPath(),e.onFileAddedOrRemoved(this.isSymlink())),t}isAttached(e){switch(this.containingProjects.length){case 0:return!1;case 1:return this.containingProjects[0]===e;case 2:return this.containingProjects[0]===e||this.containingProjects[1]===e;default:return Vn(this.containingProjects,e)}}detachFromProject(e){switch(this.containingProjects.length){case 0:return;case 1:this.containingProjects[0]===e&&(e.onFileAddedOrRemoved(this.isSymlink()),this.containingProjects.pop());break;case 2:this.containingProjects[0]===e?(e.onFileAddedOrRemoved(this.isSymlink()),this.containingProjects[0]=this.containingProjects.pop()):this.containingProjects[1]===e&&(e.onFileAddedOrRemoved(this.isSymlink()),this.containingProjects.pop());break;default:hN(this.containingProjects,e)&&e.onFileAddedOrRemoved(this.isSymlink());break}}detachAllProjects(){for(const e of this.containingProjects){Av(e)&&e.getCachedDirectoryStructureHost().addOrDeleteFile(this.fileName,this.path,2);const t=e.getRootFilesMap().get(this.path);e.removeFile(this,!1,!1),e.onFileAddedOrRemoved(this.isSymlink()),t&&!yC(e)&&e.addMissingFileRoot(t.fileName)}ai(this.containingProjects)}getDefaultProject(){var e;switch(this.containingProjects.length){case 0:return Iy.ThrowNoProject();case 1:return g8(this.containingProjects[0])||_8(this.containingProjects[0])?Iy.ThrowNoProject():this.containingProjects[0];default:let t,r,i,o;for(let s=0;s<this.containingProjects.length;s++){const l=this.containingProjects[s];if(Av(l)){if(l.deferredClose)continue;if(!l.isSourceOfProjectReferenceRedirect(this.fileName)){if(o===void 0&&s!==this.containingProjects.length-1&&(o=l.projectService.findDefaultConfiguredProject(this)||!1),o===l)return l;i||(i=l)}t||(t=l)}else{if(h8(l))return l;!r&&yC(l)&&(r=l)}}return(e=o||i||t||r)!=null?e:Iy.ThrowNoProject()}}registerFileUpdate(){for(const e of this.containingProjects)e.registerFileUpdate(this.path)}setOptions(e,t){e&&(this.formatSettings?this.formatSettings={...this.formatSettings,...e}:(this.formatSettings=a7(this.host.newLine),VE(this.formatSettings,e))),t&&(this.preferences||(this.preferences=xm),this.preferences={...this.preferences,...t})}getLatestVersion(){return this.textStorage.getSnapshot(),this.textStorage.getVersion()}saveTo(e){this.host.writeFile(e,mx(this.textStorage.getSnapshot()))}delayReloadNonMixedContentFile(){C.assert(!this.isDynamicOrHasMixedContent()),this.textStorage.delayReloadFromFileIntoText(),this.markContainingProjectsAsDirty()}reloadFromFile(e){return this.textStorage.reloadWithFileText(e)?(this.markContainingProjectsAsDirty(),!0):!1}editContent(e,t,r){this.textStorage.edit(e,t,r),this.markContainingProjectsAsDirty()}markContainingProjectsAsDirty(){for(const e of this.containingProjects)e.markFileAsDirty(this.path)}isOrphan(){return this.deferredDelete||!Xe(this.containingProjects,e=>!e.isOrphan())}lineToTextSpan(e){return this.textStorage.lineToTextSpan(e)}lineOffsetToPosition(e,t,r){return this.textStorage.lineOffsetToPosition(e,t,r)}positionToLineOffset(e){kst(e);const t=this.textStorage.positionToLineOffset(e);return wst(t),t}isJavaScript(){return this.scriptKind===1||this.scriptKind===2}closeSourceMapFileWatcher(){this.sourceMapFilePath&&!jo(this.sourceMapFilePath)&&(Xf(this.sourceMapFilePath),this.sourceMapFilePath=void 0)}};function kst(e){C.assert(typeof e=="number","Expected position ".concat(e," to be a number.")),C.assert(e>=0,"Expected position to be non-negative.")}function wst(e){C.assert(typeof e.line=="number","Expected line ".concat(e.line," to be a number.")),C.assert(typeof e.offset=="number","Expected offset ".concat(e.offset," to be a number.")),C.assert(e.line>0,"Expected line to be non-".concat(e.line===0?"zero":"negative")),C.assert(e.offset>0,"Expected offset to be non-".concat(e.offset===0?"zero":"negative"))}function Mme(e){return bt(e.containingProjects,_8)}function Pme(e){return bt(e.containingProjects,g8)}var eL=(e=>(e[e.Inferred=0]="Inferred",e[e.Configured=1]="Configured",e[e.External=2]="External",e[e.AutoImportProvider=3]="AutoImportProvider",e[e.Auxiliary=4]="Auxiliary",e))(eL||{});function m8(e,t=!1){const r={js:0,jsSize:0,jsx:0,jsxSize:0,ts:0,tsSize:0,tsx:0,tsxSize:0,dts:0,dtsSize:0,deferred:0,deferredSize:0};for(const i of e){const o=t?i.textStorage.getTelemetryFileSize():0;switch(i.scriptKind){case 1:r.js+=1,r.jsSize+=o;break;case 2:r.jsx+=1,r.jsxSize+=o;break;case 3:ad(i.fileName)?(r.dts+=1,r.dtsSize+=o):(r.ts+=1,r.tsSize+=o);break;case 4:r.tsx+=1,r.tsxSize+=o;break;case 7:r.deferred+=1,r.deferredSize+=o;break}}return r}function Ost(e){const t=m8(e.getScriptInfos());return t.js>0&&t.ts===0&&t.tsx===0}function Lme(e){const t=m8(e.getRootScriptInfos());return t.ts===0&&t.tsx===0}function kme(e){const t=m8(e.getScriptInfos());return t.ts===0&&t.tsx===0}function wme(e){return!e.some(t=>xl(t,".ts")&&!ad(t)||xl(t,".tsx"))}function Ome(e){return e.generatedFilePath!==void 0}function SOe(e,t){if(e===t||(e||Jc).length===0&&(t||Jc).length===0)return!0;const r=new Map;let i=0;for(const o of e)r.get(o)!==!0&&(r.set(o,!0),i++);for(const o of t){const s=r.get(o);if(s===void 0)return!1;s===!0&&(r.set(o,!1),i--)}return i===0}function Wst(e,t){return e.enable!==t.enable||!SOe(e.include,t.include)||!SOe(e.exclude,t.exclude)}function Fst(e,t){return Nb(e)!==Nb(t)}function zst(e,t){return e===t?!1:!ef(e,t)}var Dx=class Z7e{constructor(t,r,i,o,s,l,u,d,_,m){switch(this.projectKind=r,this.projectService=i,this.compilerOptions=l,this.compileOnSaveEnabled=u,this.watchOptions=d,this.rootFilesMap=new Map,this.plugins=[],this.cachedUnresolvedImportsPerFile=new Map,this.hasAddedorRemovedFiles=!1,this.hasAddedOrRemovedSymlinks=!1,this.lastReportedVersion=0,this.projectProgramVersion=0,this.projectStateVersion=0,this.initialLoadPending=!1,this.dirty=!1,this.typingFiles=Jc,this.moduleSpecifierCache=ohe(this),this.createHash=la(this.projectService.host,this.projectService.host.createHash),this.globalCacheResolutionModuleName=Hb.nonRelativeModuleNameForTypingCache,this.updateFromProjectInProgress=!1,i.logger.info("Creating ".concat(eL[r],"Project: ").concat(t,", currentDirectory: ").concat(m)),this.projectName=t,this.directoryStructureHost=_,this.currentDirectory=this.projectService.getNormalizedAbsolutePath(m),this.getCanonicalFileName=this.projectService.toCanonicalFileName,this.jsDocParsingMode=this.projectService.jsDocParsingMode,this.cancellationToken=new pue(this.projectService.cancellationToken,this.projectService.throttleWaitMilliseconds),this.compilerOptions?(o||Nb(this.compilerOptions)||this.projectService.hasDeferredExtension())&&(this.compilerOptions.allowNonTsExtensions=!0):(this.compilerOptions=cz(),this.compilerOptions.allowNonTsExtensions=!0,this.compilerOptions.allowJs=!0),i.serverMode){case 0:this.languageServiceEnabled=!0;break;case 1:this.languageServiceEnabled=!0,this.compilerOptions.noResolve=!0,this.compilerOptions.types=[];break;case 2:this.languageServiceEnabled=!1,this.compilerOptions.noResolve=!0,this.compilerOptions.types=[];break;default:C.assertNever(i.serverMode)}this.setInternalCompilerOptionsForEmittingJsFiles();const y=this.projectService.host;this.projectService.logger.loggingEnabled()?this.trace=E=>this.writeLog(E):y.trace&&(this.trace=E=>y.trace(E)),this.realpath=la(y,y.realpath),this.preferNonRecursiveWatch=this.projectService.canUseWatchEvents||y.preferNonRecursiveWatch,this.resolutionCache=HH(this,this.currentDirectory,!0),this.languageService=fue(this,this.projectService.documentRegistry,this.projectService.serverMode),s&&this.disableLanguageService(s),this.markAsDirty(),_8(this)||(this.projectService.pendingEnsureProjectForOpenFiles=!0),this.projectService.onProjectCreation(this)}getRedirectFromSourceFile(t){}isNonTsProject(){return Dm(this),kme(this)}isJsOnlyProject(){return Dm(this),Ost(this)}static resolveModule(t,r,i,o){return Z7e.importServicePluginSync({name:t},[r],i,o).resolvedModule}static importServicePluginSync(t,r,i,o){C.assertIsDefined(i.require);let s,l;for(const u of r){const d=Bd(i.resolvePath(ei(u,"node_modules")));o("Loading ".concat(t.name," from ").concat(u," (resolved to ").concat(d,")"));const _=i.require(d,t.name);if(!_.error){l=_.module;break}const m=_.error.stack||_.error.message||JSON.stringify(_.error);(s!=null?s:s=[]).push("Failed to load module '".concat(t.name,"' from ").concat(d,": ").concat(m))}return{pluginConfigEntry:t,resolvedModule:l,errorLogs:s}}static async importServicePluginAsync(t,r,i,o){C.assertIsDefined(i.importPlugin);let s,l;for(const u of r){const d=ei(u,"node_modules");o("Dynamically importing ".concat(t.name," from ").concat(u," (resolved to ").concat(d,")"));let _;try{_=await i.importPlugin(d,t.name)}catch(y){_={module:void 0,error:y}}if(!_.error){l=_.module;break}const m=_.error.stack||_.error.message||JSON.stringify(_.error);(s!=null?s:s=[]).push("Failed to dynamically import module '".concat(t.name,"' from ").concat(d,": ").concat(m))}return{pluginConfigEntry:t,resolvedModule:l,errorLogs:s}}isKnownTypesPackageName(t){return this.projectService.typingsInstaller.isKnownTypesPackageName(t)}installPackage(t){return this.projectService.typingsInstaller.installPackage({...t,projectName:this.projectName,projectRootPath:this.toPath(this.currentDirectory)})}getGlobalTypingsCacheLocation(){return this.getTypeAcquisition().enable?this.projectService.typingsInstaller.globalTypingsCacheLocation:void 0}getSymlinkCache(){return this.symlinks||(this.symlinks=BV(this.getCurrentDirectory(),this.getCanonicalFileName)),this.program&&!this.symlinks.hasProcessedResolutions()&&this.symlinks.setSymlinksFromResolutions(this.program.forEachResolvedModule,this.program.forEachResolvedTypeReferenceDirective,this.program.getAutomaticTypeDirectiveResolutions()),this.symlinks}getCompilationSettings(){return this.compilerOptions}getCompilerOptions(){return this.getCompilationSettings()}getNewLine(){return this.projectService.host.newLine}getProjectVersion(){return this.projectStateVersion.toString()}getProjectReferences(){}getScriptFileNames(){if(!this.rootFilesMap.size)return se;let t;return this.rootFilesMap.forEach(r=>{(this.languageServiceEnabled||r.info&&r.info.isScriptOpen())&&(t||(t=[])).push(r.fileName)}),$r(t,this.typingFiles)||se}getOrCreateScriptInfoAndAttachToProject(t){const r=this.projectService.getOrCreateScriptInfoNotOpenedByClient(t,this.currentDirectory,this.directoryStructureHost,!1);if(r){const i=this.rootFilesMap.get(r.path);i&&i.info!==r&&(i.info=r),r.attachToProject(this)}return r}getScriptKind(t){const r=this.projectService.getScriptInfoForPath(this.toPath(t));return r&&r.scriptKind}getScriptVersion(t){const r=this.projectService.getOrCreateScriptInfoNotOpenedByClient(t,this.currentDirectory,this.directoryStructureHost,!1);return r&&r.getLatestVersion()}getScriptSnapshot(t){const r=this.getOrCreateScriptInfoAndAttachToProject(t);if(r)return r.getSnapshot()}getCancellationToken(){return this.cancellationToken}getCurrentDirectory(){return this.currentDirectory}getDefaultLibFileName(){const t=pi(Sa(this.projectService.getExecutingFilePath()));return ei(t,N2(this.compilerOptions))}useCaseSensitiveFileNames(){return this.projectService.host.useCaseSensitiveFileNames}readDirectory(t,r,i,o,s){return this.directoryStructureHost.readDirectory(t,r,i,o,s)}readFile(t){return this.projectService.host.readFile(t)}writeFile(t,r){return this.projectService.host.writeFile(t,r)}fileExists(t){const r=this.toPath(t);return!!this.projectService.getScriptInfoForPath(r)||!this.isWatchedMissingFile(r)&&this.directoryStructureHost.fileExists(t)}resolveModuleNameLiterals(t,r,i,o,s,l){return this.resolutionCache.resolveModuleNameLiterals(t,r,i,o,s,l)}getModuleResolutionCache(){return this.resolutionCache.getModuleResolutionCache()}resolveTypeReferenceDirectiveReferences(t,r,i,o,s,l){return this.resolutionCache.resolveTypeReferenceDirectiveReferences(t,r,i,o,s,l)}resolveLibrary(t,r,i,o){return this.resolutionCache.resolveLibrary(t,r,i,o)}directoryExists(t){return this.directoryStructureHost.directoryExists(t)}getDirectories(t){return this.directoryStructureHost.getDirectories(t)}getCachedDirectoryStructureHost(){}toPath(t){return Ws(t,this.currentDirectory,this.projectService.toCanonicalFileName)}watchDirectoryOfFailedLookupLocation(t,r,i){return this.projectService.watchFactory.watchDirectory(t,r,i,this.projectService.getWatchOptions(this),sd.FailedLookupLocations,this)}watchAffectingFileLocation(t,r){return this.projectService.watchFactory.watchFile(t,r,2e3,this.projectService.getWatchOptions(this),sd.AffectingFileLocation,this)}clearInvalidateResolutionOfFailedLookupTimer(){return this.projectService.throttledOperations.cancel("".concat(this.getProjectName(),"FailedLookupInvalidation"))}scheduleInvalidateResolutionsOfFailedLookupLocations(){this.projectService.throttledOperations.schedule("".concat(this.getProjectName(),"FailedLookupInvalidation"),1e3,()=>{this.resolutionCache.invalidateResolutionsOfFailedLookupLocations()&&this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this)})}invalidateResolutionsOfFailedLookupLocations(){this.clearInvalidateResolutionOfFailedLookupTimer()&&this.resolutionCache.invalidateResolutionsOfFailedLookupLocations()&&(this.markAsDirty(),this.projectService.delayEnsureProjectForOpenFiles())}onInvalidatedResolution(){this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this)}watchTypeRootsDirectory(t,r,i){return this.projectService.watchFactory.watchDirectory(t,r,i,this.projectService.getWatchOptions(this),sd.TypeRoots,this)}hasChangedAutomaticTypeDirectiveNames(){return this.resolutionCache.hasChangedAutomaticTypeDirectiveNames()}onChangedAutomaticTypeDirectiveNames(){this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this)}fileIsOpen(t){return this.projectService.openFiles.has(t)}writeLog(t){this.projectService.logger.info(t)}log(t){this.writeLog(t)}error(t){this.projectService.logger.msg(t,"Err")}setInternalCompilerOptionsForEmittingJsFiles(){(this.projectKind===0||this.projectKind===2)&&(this.compilerOptions.noEmitForJsFiles=!0)}getGlobalProjectErrors(){return Fn(this.projectErrors,t=>!t.file)||Jc}getAllProjectErrors(){return this.projectErrors||Jc}setProjectErrors(t){this.projectErrors=t}getLanguageService(t=!0){return t&&Dm(this),this.languageService}getSourceMapper(){return this.getLanguageService().getSourceMapper()}clearSourceMapperCache(){this.languageService.clearSourceMapperCache()}getDocumentPositionMapper(t,r){return this.projectService.getDocumentPositionMapper(this,t,r)}getSourceFileLike(t){return this.projectService.getSourceFileLike(t,this)}shouldEmitFile(t){return t&&!t.isDynamicOrHasMixedContent()&&!this.program.isSourceOfProjectReferenceRedirect(t.path)}getCompileOnSaveAffectedFileList(t){return this.languageServiceEnabled?(Dm(this),this.builderState=_h.create(this.program,this.builderState,!0),Hi(_h.getFilesAffectedBy(this.builderState,this.program,t.path,this.cancellationToken,this.projectService.host),r=>this.shouldEmitFile(this.projectService.getScriptInfoForPath(r.path))?r.fileName:void 0)):[]}emitFile(t,r){if(!this.languageServiceEnabled||!this.shouldEmitFile(t))return{emitSkipped:!0,diagnostics:Jc};const{emitSkipped:i,diagnostics:o,outputFiles:s}=this.getLanguageService().getEmitOutput(t.fileName);if(!i){for(const l of s){const u=Eo(l.name,this.currentDirectory);r(u,l.text,l.writeByteOrderMark)}if(this.builderState&&vp(this.compilerOptions)){const l=s.filter(u=>ad(u.name));if(l.length===1){const u=this.program.getSourceFile(t.fileName),d=this.projectService.host.createHash?this.projectService.host.createHash(l[0].text):E2(l[0].text);_h.updateSignatureOfFile(this.builderState,d,u.resolvedPath)}}}return{emitSkipped:i,diagnostics:o}}enableLanguageService(){this.languageServiceEnabled||this.projectService.serverMode===2||(this.languageServiceEnabled=!0,this.lastFileExceededProgramSize=void 0,this.projectService.onUpdateLanguageServiceStateForProject(this,!0))}cleanupProgram(){if(this.program){for(const t of this.program.getSourceFiles())this.detachScriptInfoIfNotRoot(t.fileName);this.program.forEachResolvedProjectReference(t=>this.detachScriptInfoFromProject(t.sourceFile.fileName)),this.program=void 0}}disableLanguageService(t){this.languageServiceEnabled&&(C.assert(this.projectService.serverMode!==2),this.languageService.cleanupSemanticCache(),this.languageServiceEnabled=!1,this.cleanupProgram(),this.lastFileExceededProgramSize=t,this.builderState=void 0,this.autoImportProviderHost&&this.autoImportProviderHost.close(),this.autoImportProviderHost=void 0,this.resolutionCache.closeTypeRootsWatch(),this.clearGeneratedFileWatch(),this.projectService.verifyDocumentRegistry(),this.projectService.onUpdateLanguageServiceStateForProject(this,!1))}getProjectName(){return this.projectName}removeLocalTypingsFromTypeAcquisition(t){return!t.enable||!t.include?t:{...t,include:this.removeExistingTypings(t.include)}}getExternalFiles(t){return Cp(Wi(this.plugins,r=>{if(typeof r.module.getExternalFiles=="function")try{return r.module.getExternalFiles(this,t||0)}catch(i){this.projectService.logger.info("A plugin threw an exception in getExternalFiles: ".concat(i)),i.stack&&this.projectService.logger.info(i.stack)}}))}getSourceFile(t){if(this.program)return this.program.getSourceFileByPath(t)}getSourceFileOrConfigFile(t){const r=this.program.getCompilerOptions();return t===r.configFilePath?r.configFile:this.getSourceFile(t)}close(){var t;this.typingsCache&&this.projectService.typingsInstaller.onProjectClosed(this),this.typingsCache=void 0,this.closeWatchingTypingLocations(),this.cleanupProgram(),Xe(this.externalFiles,r=>this.detachScriptInfoIfNotRoot(r)),this.rootFilesMap.forEach(r=>{var i;return(i=r.info)==null?void 0:i.detachFromProject(this)}),this.projectService.pendingEnsureProjectForOpenFiles=!0,this.rootFilesMap=void 0,this.externalFiles=void 0,this.program=void 0,this.builderState=void 0,this.resolutionCache.clear(),this.resolutionCache=void 0,this.cachedUnresolvedImportsPerFile=void 0,(t=this.packageJsonWatches)==null||t.forEach(r=>{r.projects.delete(this),r.close()}),this.packageJsonWatches=void 0,this.moduleSpecifierCache.clear(),this.moduleSpecifierCache=void 0,this.directoryStructureHost=void 0,this.exportMapCache=void 0,this.projectErrors=void 0,this.plugins.length=0,this.missingFilesMap&&(yp(this.missingFilesMap,jm),this.missingFilesMap=void 0),this.clearGeneratedFileWatch(),this.clearInvalidateResolutionOfFailedLookupTimer(),this.autoImportProviderHost&&this.autoImportProviderHost.close(),this.autoImportProviderHost=void 0,this.noDtsResolutionProject&&this.noDtsResolutionProject.close(),this.noDtsResolutionProject=void 0,this.languageService.dispose(),this.languageService=void 0}detachScriptInfoIfNotRoot(t){const r=this.projectService.getScriptInfo(t);r&&!this.isRoot(r)&&r.detachFromProject(this)}isClosed(){return this.rootFilesMap===void 0}hasRoots(){var t;return!!((t=this.rootFilesMap)!=null&&t.size)}isOrphan(){return!1}getRootFiles(){return this.rootFilesMap&&Mo(pm(this.rootFilesMap.values(),t=>{var r;return(r=t.info)==null?void 0:r.fileName}))}getRootFilesMap(){return this.rootFilesMap}getRootScriptInfos(){return Mo(pm(this.rootFilesMap.values(),t=>t.info))}getScriptInfos(){return this.languageServiceEnabled?Gt(this.program.getSourceFiles(),t=>{const r=this.projectService.getScriptInfoForPath(t.resolvedPath);return C.assert(!!r,"getScriptInfo",()=>"scriptInfo for a file '".concat(t.fileName,"' Path: '").concat(t.path,"' / '").concat(t.resolvedPath,"' is missing.")),r}):this.getRootScriptInfos()}getExcludedFiles(){return Jc}getFileNames(t,r){if(!this.program)return[];if(!this.languageServiceEnabled){let o=this.getRootFiles();if(this.compilerOptions){const s=mue(this.compilerOptions);s&&(o||(o=[])).push(s)}return o}const i=[];for(const o of this.program.getSourceFiles())t&&this.program.isSourceFileFromExternalLibrary(o)||i.push(o.fileName);if(!r){const o=this.program.getCompilerOptions().configFile;if(o&&(i.push(o.fileName),o.extendedSourceFiles))for(const s of o.extendedSourceFiles)i.push(s)}return i}getFileNamesWithRedirectInfo(t){return this.getFileNames().map(r=>({fileName:r,isSourceOfProjectReferenceRedirect:t&&this.isSourceOfProjectReferenceRedirect(r)}))}hasConfigFile(t){if(this.program&&this.languageServiceEnabled){const r=this.program.getCompilerOptions().configFile;if(r){if(t===r.fileName)return!0;if(r.extendedSourceFiles){for(const i of r.extendedSourceFiles)if(t===i)return!0}}}return!1}containsScriptInfo(t){if(this.isRoot(t))return!0;if(!this.program)return!1;const r=this.program.getSourceFileByPath(t.path);return!!r&&r.resolvedPath===t.path}containsFile(t,r){const i=this.projectService.getScriptInfoForNormalizedPath(t);return i&&(i.isScriptOpen()||!r)?this.containsScriptInfo(i):!1}isRoot(t){var r,i;return((i=(r=this.rootFilesMap)==null?void 0:r.get(t.path))==null?void 0:i.info)===t}addRoot(t,r){C.assert(!this.isRoot(t)),this.rootFilesMap.set(t.path,{fileName:r||t.fileName,info:t}),t.attachToProject(this),this.markAsDirty()}addMissingFileRoot(t){const r=this.projectService.toPath(t);this.rootFilesMap.set(r,{fileName:t}),this.markAsDirty()}removeFile(t,r,i){this.isRoot(t)&&this.removeRoot(t),r?this.resolutionCache.removeResolutionsOfFile(t.path):this.resolutionCache.invalidateResolutionOfFile(t.path),this.cachedUnresolvedImportsPerFile.delete(t.path),i&&t.detachFromProject(this),this.markAsDirty()}registerFileUpdate(t){(this.updatedFileNames||(this.updatedFileNames=new Set)).add(t)}markFileAsDirty(t){this.markAsDirty(),this.exportMapCache&&!this.exportMapCache.isEmpty()&&(this.changedFilesForExportMapCache||(this.changedFilesForExportMapCache=new Set)).add(t)}markAsDirty(){this.dirty||(this.projectStateVersion++,this.dirty=!0)}markAutoImportProviderAsDirty(){var t;this.autoImportProviderHost||(this.autoImportProviderHost=void 0),(t=this.autoImportProviderHost)==null||t.markAsDirty()}onAutoImportProviderSettingsChanged(){this.markAutoImportProviderAsDirty()}onPackageJsonChange(){this.moduleSpecifierCache.clear(),this.markAutoImportProviderAsDirty()}onFileAddedOrRemoved(t){this.hasAddedorRemovedFiles=!0,t&&(this.hasAddedOrRemovedSymlinks=!0)}onDiscoveredSymlink(){this.hasAddedOrRemovedSymlinks=!0}onReleaseOldSourceFile(t,r,i,o){(!o||t.resolvedPath===t.path&&o.resolvedPath!==t.path)&&this.detachScriptInfoFromProject(t.fileName,i)}updateFromProject(){Dm(this)}updateGraph(){var t,r;(t=Ar)==null||t.push(Ar.Phase.Session,"updateGraph",{name:this.projectName,kind:eL[this.projectKind]}),this.resolutionCache.startRecordingFilesWithChangedResolutions();const i=this.updateGraphWorker(),o=this.hasAddedorRemovedFiles;this.hasAddedorRemovedFiles=!1,this.hasAddedOrRemovedSymlinks=!1;const s=this.resolutionCache.finishRecordingFilesWithChangedResolutions()||Jc;for(const u of s)this.cachedUnresolvedImportsPerFile.delete(u);this.languageServiceEnabled&&this.projectService.serverMode===0&&!this.isOrphan()?((i||s.length)&&(this.lastCachedUnresolvedImportsList=Bst(this.program,this.cachedUnresolvedImportsPerFile)),this.enqueueInstallTypingsForProject(o)):this.lastCachedUnresolvedImportsList=void 0;const l=this.projectProgramVersion===0&&i;return i&&this.projectProgramVersion++,o&&this.markAutoImportProviderAsDirty(),l&&this.getPackageJsonAutoImportProvider(),(r=Ar)==null||r.pop(),!i}enqueueInstallTypingsForProject(t){const r=this.getTypeAcquisition();if(!r||!r.enable||this.projectService.typingsInstaller===Bz)return;const i=this.typingsCache;(t||!i||Wst(r,i.typeAcquisition)||Fst(this.getCompilationSettings(),i.compilerOptions)||zst(this.lastCachedUnresolvedImportsList,i.unresolvedImports))&&(this.typingsCache={compilerOptions:this.getCompilationSettings(),typeAcquisition:r,unresolvedImports:this.lastCachedUnresolvedImportsList},this.projectService.typingsInstaller.enqueueInstallTypingsRequest(this,r,this.lastCachedUnresolvedImportsList))}updateTypingFiles(t,r,i,o){this.typingsCache={compilerOptions:t,typeAcquisition:r,unresolvedImports:i};const s=!r||!r.enable?Jc:Cp(o);KW(s,this.typingFiles,DR(!this.useCaseSensitiveFileNames()),vs,l=>this.detachScriptInfoFromProject(l))&&(this.typingFiles=s,this.resolutionCache.setFilesWithInvalidatedNonRelativeUnresolvedImports(this.cachedUnresolvedImportsPerFile),this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this))}closeWatchingTypingLocations(){this.typingWatchers&&yp(this.typingWatchers,jm),this.typingWatchers=void 0}onTypingInstallerWatchInvoke(){this.typingWatchers.isInvoked=!0,this.projectService.updateTypingsForProject({projectName:this.getProjectName(),kind:r7})}watchTypingLocations(t){if(!t){this.typingWatchers.isInvoked=!1;return}if(!t.length){this.closeWatchingTypingLocations();return}const r=new Map(this.typingWatchers);this.typingWatchers||(this.typingWatchers=new Map),this.typingWatchers.isInvoked=!1;const i=(o,s)=>{const l=this.toPath(o);if(r.delete(l),!this.typingWatchers.has(l)){const u=s==="FileWatcher"?sd.TypingInstallerLocationFile:sd.TypingInstallerLocationDirectory;this.typingWatchers.set(l,cO(l)?s==="FileWatcher"?this.projectService.watchFactory.watchFile(o,()=>this.typingWatchers.isInvoked?this.writeLog("TypingWatchers already invoked"):this.onTypingInstallerWatchInvoke(),2e3,this.projectService.getWatchOptions(this),u,this):this.projectService.watchFactory.watchDirectory(o,d=>{if(this.typingWatchers.isInvoked)return this.writeLog("TypingWatchers already invoked");if(!xl(d,".json"))return this.writeLog("Ignoring files that are not *.json");if(iy(d,ei(this.projectService.typingsInstaller.globalTypingsCacheLocation,"package.json"),!this.useCaseSensitiveFileNames()))return this.writeLog("Ignoring package.json change at global typings location");this.onTypingInstallerWatchInvoke()},1,this.projectService.getWatchOptions(this),u,this):(this.writeLog("Skipping watcher creation at ".concat(o,":: ").concat(JX(u,this))),$D))}};for(const o of t){const s=Ec(o);if(s==="package.json"||s==="bower.json"){i(o,"FileWatcher");continue}if(hm(this.currentDirectory,o,this.currentDirectory,!this.useCaseSensitiveFileNames())){const l=o.indexOf($s,this.currentDirectory.length+1);i(l!==-1?o.substr(0,l):o,"DirectoryWatcher");continue}if(hm(this.projectService.typingsInstaller.globalTypingsCacheLocation,o,this.currentDirectory,!this.useCaseSensitiveFileNames())){i(this.projectService.typingsInstaller.globalTypingsCacheLocation,"DirectoryWatcher");continue}i(o,"DirectoryWatcher")}r.forEach((o,s)=>{o.close(),this.typingWatchers.delete(s)})}getCurrentProgram(){return this.program}removeExistingTypings(t){if(!t.length)return t;const r=i3(this.getCompilerOptions(),this);return Fn(t,i=>!r.includes(i))}updateGraphWorker(){var t,r;const i=this.languageService.getCurrentProgram();C.assert(i===this.program),C.assert(!this.isClosed(),"Called update graph worker of closed project"),this.writeLog("Starting updateGraphWorker: Project: ".concat(this.getProjectName()));const o=Os(),{hasInvalidatedResolutions:s,hasInvalidatedLibResolutions:l}=this.resolutionCache.createHasInvalidatedResolutions(ry,ry);this.hasInvalidatedResolutions=s,this.hasInvalidatedLibResolutions=l,this.resolutionCache.startCachingPerDirectoryResolution(),this.dirty=!1,this.updateFromProjectInProgress=!0,this.program=this.languageService.getProgram(),this.updateFromProjectInProgress=!1,(t=Ar)==null||t.push(Ar.Phase.Session,"finishCachingPerDirectoryResolution"),this.resolutionCache.finishCachingPerDirectoryResolution(this.program,i),(r=Ar)==null||r.pop(),C.assert(i===void 0||this.program!==void 0);let u=!1;if(this.program&&(!i||this.program!==i&&this.program.structureIsReused!==2)){if(u=!0,this.rootFilesMap.forEach((m,y)=>{var E;const A=this.program.getSourceFileByPath(y),R=m.info;!A||((E=m.info)==null?void 0:E.path)===A.resolvedPath||(m.info=this.projectService.getScriptInfo(A.fileName),C.assert(m.info.isAttached(this)),R==null||R.detachFromProject(this))}),vH(this.program,this.missingFilesMap||(this.missingFilesMap=new Map),(m,y)=>this.addMissingFileWatcher(m,y)),this.generatedFilesMap){const m=this.compilerOptions.outFile;Ome(this.generatedFilesMap)?(!m||!this.isValidGeneratedFileWatcher(Su(m)+".d.ts",this.generatedFilesMap))&&this.clearGeneratedFileWatch():m?this.clearGeneratedFileWatch():this.generatedFilesMap.forEach((y,E)=>{const A=this.program.getSourceFileByPath(E);(!A||A.resolvedPath!==E||!this.isValidGeneratedFileWatcher(y6(A.fileName,this.compilerOptions,this.program),y))&&(Xf(y),this.generatedFilesMap.delete(E))})}this.languageServiceEnabled&&this.projectService.serverMode===0&&this.resolutionCache.updateTypeRootsWatch()}this.projectService.verifyProgram(this),this.exportMapCache&&!this.exportMapCache.isEmpty()&&(this.exportMapCache.releaseSymbols(),this.hasAddedorRemovedFiles||i&&!this.program.structureIsReused?this.exportMapCache.clear():this.changedFilesForExportMapCache&&i&&this.program&&gg(this.changedFilesForExportMapCache,m=>{const y=i.getSourceFileByPath(m),E=this.program.getSourceFileByPath(m);return!y||!E?(this.exportMapCache.clear(),!0):this.exportMapCache.onFileChanged(y,E,!!this.getTypeAcquisition().enable)})),this.changedFilesForExportMapCache&&this.changedFilesForExportMapCache.clear(),(this.hasAddedOrRemovedSymlinks||this.program&&!this.program.structureIsReused&&this.getCompilerOptions().preserveSymlinks)&&(this.symlinks=void 0,this.moduleSpecifierCache.clear());const d=this.externalFiles||Jc;this.externalFiles=this.getExternalFiles(),KW(this.externalFiles,d,DR(!this.useCaseSensitiveFileNames()),m=>{const y=this.projectService.getOrCreateScriptInfoNotOpenedByClient(m,this.currentDirectory,this.directoryStructureHost,!1);y==null||y.attachToProject(this)},m=>this.detachScriptInfoFromProject(m));const _=Os()-o;return this.sendPerformanceEvent("UpdateGraph",_),this.writeLog("Finishing updateGraphWorker: Project: ".concat(this.getProjectName()," projectStateVersion: ").concat(this.projectStateVersion," projectProgramVersion: ").concat(this.projectProgramVersion," structureChanged: ").concat(u).concat(this.program?" structureIsReused:: ".concat(g9[this.program.structureIsReused]):""," Elapsed: ").concat(_,"ms")),this.projectService.logger.isTestLogger?this.program!==i?this.print(!0,this.hasAddedorRemovedFiles,!0):this.writeLog("Same program as before"):this.hasAddedorRemovedFiles?this.print(!0,!0,!1):this.program!==i&&this.writeLog("Different program with same set of files"),this.projectService.verifyDocumentRegistry(),u}sendPerformanceEvent(t,r){this.projectService.sendPerformanceEvent(t,r)}detachScriptInfoFromProject(t,r){const i=this.projectService.getScriptInfo(t);i&&(i.detachFromProject(this),r||this.resolutionCache.removeResolutionsOfFile(i.path))}addMissingFileWatcher(t,r){var i;if(Av(this)){const s=this.projectService.configFileExistenceInfoCache.get(t);if((i=s==null?void 0:s.config)!=null&&i.projects.has(this.canonicalConfigFilePath))return $D}const o=this.projectService.watchFactory.watchFile(Eo(r,this.currentDirectory),(s,l)=>{Av(this)&&this.getCachedDirectoryStructureHost().addOrDeleteFile(s,t,l),l===0&&this.missingFilesMap.has(t)&&(this.missingFilesMap.delete(t),o.close(),this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this))},500,this.projectService.getWatchOptions(this),sd.MissingFile,this);return o}isWatchedMissingFile(t){return!!this.missingFilesMap&&this.missingFilesMap.has(t)}addGeneratedFileWatch(t,r){if(this.compilerOptions.outFile)this.generatedFilesMap||(this.generatedFilesMap=this.createGeneratedFileWatcher(t));else{const i=this.toPath(r);if(this.generatedFilesMap){if(Ome(this.generatedFilesMap)){C.fail("".concat(this.projectName," Expected to not have --out watcher for generated file with options: ").concat(JSON.stringify(this.compilerOptions)));return}if(this.generatedFilesMap.has(i))return}else this.generatedFilesMap=new Map;this.generatedFilesMap.set(i,this.createGeneratedFileWatcher(t))}}createGeneratedFileWatcher(t){return{generatedFilePath:this.toPath(t),watcher:this.projectService.watchFactory.watchFile(t,()=>{this.clearSourceMapperCache(),this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this)},2e3,this.projectService.getWatchOptions(this),sd.MissingGeneratedFile,this)}}isValidGeneratedFileWatcher(t,r){return this.toPath(t)===r.generatedFilePath}clearGeneratedFileWatch(){this.generatedFilesMap&&(Ome(this.generatedFilesMap)?Xf(this.generatedFilesMap):yp(this.generatedFilesMap,Xf),this.generatedFilesMap=void 0)}getScriptInfoForNormalizedPath(t){const r=this.projectService.getScriptInfoForPath(this.toPath(t));return r&&!r.isAttached(this)?Iy.ThrowProjectDoesNotContainDocument(t,this):r}getScriptInfo(t){return this.projectService.getScriptInfo(t)}filesToString(t){return this.filesToStringWorker(t,!0,!1)}filesToStringWorker(t,r,i){if(this.initialLoadPending)return" Files (0) InitialLoadPending\n";if(!this.program)return" Files (0) NoProgram\n";const o=this.program.getSourceFiles();let s=" Files (".concat(o.length,")\n");if(t){for(const l of o)s+=" ".concat(l.fileName).concat(i?" ".concat(l.version," ").concat(JSON.stringify(l.text)):"","\n");r&&(s+="\n\n",YH(this.program,l=>s+=" ".concat(l,"\n")))}return s}print(t,r,i){var o;this.writeLog("Project '".concat(this.projectName,"' (").concat(eL[this.projectKind],")")),this.writeLog(this.filesToStringWorker(t&&this.projectService.logger.hasLevel(3),r&&this.projectService.logger.hasLevel(3),i&&this.projectService.logger.hasLevel(3))),this.writeLog("-----------------------------------------------"),this.autoImportProviderHost&&this.autoImportProviderHost.print(!1,!1,!1),(o=this.noDtsResolutionProject)==null||o.print(!1,!1,!1)}setCompilerOptions(t){var r;if(t){t.allowNonTsExtensions=!0;const i=this.compilerOptions;this.compilerOptions=t,this.setInternalCompilerOptionsForEmittingJsFiles(),(r=this.noDtsResolutionProject)==null||r.setCompilerOptions(this.getCompilerOptionsForNoDtsResolutionProject()),PF(i,t)&&(this.cachedUnresolvedImportsPerFile.clear(),this.lastCachedUnresolvedImportsList=void 0,this.resolutionCache.onChangesAffectModuleResolution(),this.moduleSpecifierCache.clear()),this.markAsDirty()}}setWatchOptions(t){this.watchOptions=t}getWatchOptions(){return this.watchOptions}setTypeAcquisition(t){t&&(this.typeAcquisition=this.removeLocalTypingsFromTypeAcquisition(t))}getTypeAcquisition(){return this.typeAcquisition||{}}getChangesSinceVersion(t,r){var i,o;const s=r?d=>Mo(d.entries(),([_,m])=>({fileName:_,isSourceOfProjectReferenceRedirect:m})):d=>Mo(d.keys());this.initialLoadPending||Dm(this);const l={projectName:this.getProjectName(),version:this.projectProgramVersion,isInferred:yC(this),options:this.getCompilationSettings(),languageServiceDisabled:!this.languageServiceEnabled,lastFileExceededProgramSize:this.lastFileExceededProgramSize},u=this.updatedFileNames;if(this.updatedFileNames=void 0,this.lastReportedFileNames&&t===this.lastReportedVersion){if(this.projectProgramVersion===this.lastReportedVersion&&!u)return{info:l,projectErrors:this.getGlobalProjectErrors()};const d=this.lastReportedFileNames,_=((i=this.externalFiles)==null?void 0:i.map(N=>({fileName:Ls(N),isSourceOfProjectReferenceRedirect:!1})))||Jc,m=xR(this.getFileNamesWithRedirectInfo(!!r).concat(_),N=>N.fileName,N=>N.isSourceOfProjectReferenceRedirect),y=new Map,E=new Map,A=u?Mo(u.keys()):[],R=[];return Uc(m,(N,M)=>{d.has(M)?r&&N!==d.get(M)&&R.push({fileName:M,isSourceOfProjectReferenceRedirect:N}):y.set(M,N)}),Uc(d,(N,M)=>{m.has(M)||E.set(M,N)}),this.lastReportedFileNames=m,this.lastReportedVersion=this.projectProgramVersion,{info:l,changes:{added:s(y),removed:s(E),updated:r?A.map(N=>({fileName:N,isSourceOfProjectReferenceRedirect:this.isSourceOfProjectReferenceRedirect(N)})):A,updatedRedirects:r?R:void 0},projectErrors:this.getGlobalProjectErrors()}}else{const d=this.getFileNamesWithRedirectInfo(!!r),_=((o=this.externalFiles)==null?void 0:o.map(y=>({fileName:Ls(y),isSourceOfProjectReferenceRedirect:!1})))||Jc,m=d.concat(_);return this.lastReportedFileNames=xR(m,y=>y.fileName,y=>y.isSourceOfProjectReferenceRedirect),this.lastReportedVersion=this.projectProgramVersion,{info:l,files:r?m:m.map(y=>y.fileName),projectErrors:this.getGlobalProjectErrors()}}}removeRoot(t){this.rootFilesMap.delete(t.path)}isSourceOfProjectReferenceRedirect(t){return!!this.program&&this.program.isSourceOfProjectReferenceRedirect(t)}getGlobalPluginSearchPaths(){return[...this.projectService.pluginProbeLocations,ei(this.projectService.getExecutingFilePath(),"../../..")]}enableGlobalPlugins(t){if(!this.projectService.globalPlugins.length)return;const r=this.projectService.host;if(!r.require&&!r.importPlugin){this.projectService.logger.info("Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded");return}const i=this.getGlobalPluginSearchPaths();for(const o of this.projectService.globalPlugins)o&&(t.plugins&&t.plugins.some(s=>s.name===o)||(this.projectService.logger.info("Loading global plugin ".concat(o)),this.enablePlugin({name:o,global:!0},i)))}enablePlugin(t,r){this.projectService.requestEnablePlugin(this,t,r)}enableProxy(t,r){try{if(typeof t!="function"){this.projectService.logger.info("Skipped loading plugin ".concat(r.name," because it did not expose a proper factory function"));return}const i={config:r,project:this,languageService:this.languageService,languageServiceHost:this,serverHost:this.projectService.host,session:this.projectService.session},o=t({typescript:iOe}),s=o.create(i);for(const l of Object.keys(this.languageService))l in s||(this.projectService.logger.info("Plugin activation warning: Missing proxied method ".concat(l," in created LS. Patching.")),s[l]=this.languageService[l]);this.projectService.logger.info("Plugin validation succeeded"),this.languageService=s,this.plugins.push({name:r.name,module:o})}catch(i){this.projectService.logger.info("Plugin activation failed: ".concat(i))}}onPluginConfigurationChanged(t,r){this.plugins.filter(i=>i.name===t).forEach(i=>{i.module.onConfigurationChanged&&i.module.onConfigurationChanged(r)})}refreshDiagnostics(){this.projectService.sendProjectsUpdatedInBackgroundEvent()}getPackageJsonsVisibleToFile(t,r){return this.projectService.serverMode!==0?Jc:this.projectService.getPackageJsonsVisibleToFile(t,this,r)}getNearestAncestorDirectoryWithPackageJson(t){return this.projectService.getNearestAncestorDirectoryWithPackageJson(t,this)}getPackageJsonsForAutoImport(t){return this.getPackageJsonsVisibleToFile(ei(this.currentDirectory,bP),t)}getPackageJsonCache(){return this.projectService.packageJsonCache}getCachedExportInfoMap(){return this.exportMapCache||(this.exportMapCache=CJ(this))}clearCachedExportInfoMap(){var t;(t=this.exportMapCache)==null||t.clear()}getModuleSpecifierCache(){return this.moduleSpecifierCache}includePackageJsonAutoImports(){return this.projectService.includePackageJsonAutoImports()===0||!this.languageServiceEnabled||PO(this.currentDirectory)||!this.isDefaultProjectForOpenFiles()?0:this.projectService.includePackageJsonAutoImports()}getHostForAutoImportProvider(){var t,r;return this.program?{fileExists:this.program.fileExists,directoryExists:this.program.directoryExists,realpath:this.program.realpath||((t=this.projectService.host.realpath)==null?void 0:t.bind(this.projectService.host)),getCurrentDirectory:this.getCurrentDirectory.bind(this),readFile:this.projectService.host.readFile.bind(this.projectService.host),getDirectories:this.projectService.host.getDirectories.bind(this.projectService.host),trace:(r=this.projectService.host.trace)==null?void 0:r.bind(this.projectService.host),useCaseSensitiveFileNames:this.program.useCaseSensitiveFileNames(),readDirectory:this.projectService.host.readDirectory.bind(this.projectService.host)}:this.projectService.host}getPackageJsonAutoImportProvider(){var s;var t,r,i;if(this.autoImportProviderHost===!1)return;if(this.projectService.serverMode!==0){this.autoImportProviderHost=!1;return}if(this.autoImportProviderHost){if(Dm(this.autoImportProviderHost),this.autoImportProviderHost.isEmpty()){this.autoImportProviderHost.close(),this.autoImportProviderHost=void 0;return}return this.autoImportProviderHost.getCurrentProgram()}const o=this.includePackageJsonAutoImports();if(o){(t=Ar)==null||t.push(Ar.Phase.Session,"getPackageJsonAutoImportProvider");const l=Os();if(this.autoImportProviderHost=(s=Bme.create(o,this,this.getHostForAutoImportProvider()))!=null?s:!1,this.autoImportProviderHost)return Dm(this.autoImportProviderHost),this.sendPerformanceEvent("CreatePackageJsonAutoImportProvider",Os()-l),(r=Ar)==null||r.pop(),this.autoImportProviderHost.getCurrentProgram();(i=Ar)==null||i.pop()}}isDefaultProjectForOpenFiles(){return!!Uc(this.projectService.openFiles,(t,r)=>this.projectService.tryGetDefaultProjectForFile(this.projectService.getScriptInfoForPath(r))===this)}watchNodeModulesForPackageJsonChanges(t){return this.projectService.watchPackageJsonsInNodeModules(t,this)}getIncompleteCompletionsCache(){return this.projectService.getIncompleteCompletionsCache()}getNoDtsResolutionProject(t){var r;return C.assert(this.projectService.serverMode===0),(r=this.noDtsResolutionProject)!=null||(this.noDtsResolutionProject=new Fme(this)),this.noDtsResolutionProject.rootFile!==t&&(this.projectService.setFileNamesOfAutoImportProviderOrAuxillaryProject(this.noDtsResolutionProject,[t]),this.noDtsResolutionProject.rootFile=t),this.noDtsResolutionProject}runWithTemporaryFileUpdate(t,r,i){var o,s,l,u;const d=this.program,_=C.checkDefined((o=this.program)==null?void 0:o.getSourceFile(t),"Expected file to be part of program"),m=C.checkDefined(_.getFullText());(s=this.getScriptInfo(t))==null||s.editContent(0,m.length,r),this.updateGraph();try{i(this.program,d,(l=this.program)==null?void 0:l.getSourceFile(t))}finally{(u=this.getScriptInfo(t))==null||u.editContent(0,r.length,m)}}getCompilerOptionsForNoDtsResolutionProject(){return{...this.getCompilerOptions(),noDtsResolution:!0,allowJs:!0,maxNodeModuleJsDepth:3,diagnostics:!1,skipLibCheck:!0,sourceMap:!1,types:se,lib:se,noLib:!0}}};function Bst(e,t){var r,i;const o=e.getSourceFiles();(r=Ar)==null||r.push(Ar.Phase.Session,"getUnresolvedImports",{count:o.length});const s=e.getTypeChecker().getAmbientModules().map(u=>bm(u.getName())),l=mN(Wi(o,u=>Gst(e,u,s,t)));return(i=Ar)==null||i.pop(),l}function Gst(e,t,r,i){return XA(i,t.path,()=>{let o;return e.forEachResolvedModule(({resolvedModule:s},l)=>{(!s||!AM(s.extension))&&!td(l)&&!r.some(u=>u===l)&&(o=jn(o,l3(l).packageName))},t),o||Jc})}var Wme=class extends Dx{constructor(e,t,r,i,o,s){super(e.newInferredProjectName(),0,e,!1,void 0,t,!1,r,e.host,o),this._isJsInferredProject=!1,this.typeAcquisition=s,this.projectRootPath=i&&e.toCanonicalFileName(i),!i&&!e.useSingleInferredProject&&(this.canonicalCurrentDirectory=e.toCanonicalFileName(this.currentDirectory)),this.enableGlobalPlugins(this.getCompilerOptions())}toggleJsInferredProject(e){e!==this._isJsInferredProject&&(this._isJsInferredProject=e,this.setCompilerOptions())}setCompilerOptions(e){if(!e&&!this.getCompilationSettings())return;const t=Kq(e||this.getCompilationSettings());this._isJsInferredProject&&typeof t.maxNodeModuleJsDepth!="number"?t.maxNodeModuleJsDepth=2:this._isJsInferredProject||(t.maxNodeModuleJsDepth=void 0),t.allowJs=!0,super.setCompilerOptions(t)}addRoot(e){C.assert(e.isScriptOpen()),this.projectService.startWatchingConfigFilesForInferredProjectRoot(e),!this._isJsInferredProject&&e.isJavaScript()?this.toggleJsInferredProject(!0):this.isOrphan()&&this._isJsInferredProject&&!e.isJavaScript()&&this.toggleJsInferredProject(!1),super.addRoot(e)}removeRoot(e){this.projectService.stopWatchingConfigFilesForScriptInfo(e),super.removeRoot(e),!this.isOrphan()&&this._isJsInferredProject&&e.isJavaScript()&&Gn(this.getRootScriptInfos(),t=>!t.isJavaScript())&&this.toggleJsInferredProject(!1)}isOrphan(){return!this.hasRoots()}isProjectWithSingleRoot(){return!this.projectRootPath&&!this.projectService.useSingleInferredProject||this.getRootScriptInfos().length===1}close(){Xe(this.getRootScriptInfos(),e=>this.projectService.stopWatchingConfigFilesForScriptInfo(e)),super.close()}getTypeAcquisition(){return this.typeAcquisition||{enable:Lme(this),include:se,exclude:se}}},Fme=class extends Dx{constructor(e){super(e.projectService.newAuxiliaryProjectName(),4,e.projectService,!1,void 0,e.getCompilerOptionsForNoDtsResolutionProject(),!1,void 0,e.projectService.host,e.currentDirectory)}isOrphan(){return!0}scheduleInvalidateResolutionsOfFailedLookupLocations(){}},zme=class nve extends Dx{constructor(t,r,i){super(t.projectService.newAutoImportProviderProjectName(),3,t.projectService,!1,void 0,i,!1,t.getWatchOptions(),t.projectService.host,t.currentDirectory),this.hostProject=t,this.rootFileNames=r,this.useSourceOfProjectReferenceRedirect=la(this.hostProject,this.hostProject.useSourceOfProjectReferenceRedirect),this.getParsedCommandLine=la(this.hostProject,this.hostProject.getParsedCommandLine)}static getRootFileNames(t,r,i,o){var s,l;if(!t)return se;const u=r.getCurrentProgram();if(!u)return se;const d=Os();let _,m;const y=ei(r.currentDirectory,bP),E=r.getPackageJsonsForAutoImport(ei(r.currentDirectory,y));for(const G of E)(s=G.dependencies)==null||s.forEach((j,K)=>k(K)),(l=G.peerDependencies)==null||l.forEach((j,K)=>k(K));let A=0;if(_){const G=r.getSymlinkCache();for(const j of Mo(_.keys())){if(t===2&&A>=this.maxDependencies)return r.log("AutoImportProviderProject: attempted to add more than ".concat(this.maxDependencies," dependencies. Aborting.")),se;const K=AU(j,r.currentDirectory,o,i,u.getModuleResolutionCache());if(K){const J=F(K,u,G);if(J){A+=M(J);continue}}if(!Xe([r.currentDirectory,r.getGlobalTypingsCacheLocation()],J=>{if(J){const he=AU("@types/".concat(j),J,o,i,u.getModuleResolutionCache());if(he){const re=F(he,u,G);return A+=M(re),!0}}})&&K&&o.allowJs&&o.maxNodeModuleJsDepth){const J=F(K,u,G,!0);A+=M(J)}}}const R=u.getResolvedProjectReferences();let N=0;return R!=null&&R.length&&r.projectService.getHostPreferences().includeCompletionsForModuleExports&&R.forEach(G=>{if(G!=null&&G.commandLine.options.outFile)N+=M(O([dv(G.commandLine.options.outFile,".d.ts")]));else if(G){const j=Lu(()=>O1(G.commandLine,!r.useCaseSensitiveFileNames()));N+=M(O(Hi(G.commandLine.fileNames,K=>!ad(K)&&!xl(K,".json")&&!u.getSourceFile(K)?gP(K,G.commandLine,!r.useCaseSensitiveFileNames(),j):void 0)))}}),m!=null&&m.size&&r.log("AutoImportProviderProject: found ".concat(m.size," root files in ").concat(A," dependencies ").concat(N," referenced projects in ").concat(Os()-d," ms")),m?Mo(m.values()):se;function M(G){return G!=null&&G.length?(m!=null||(m=new Set),G.forEach(j=>m.add(j)),1):0}function k(G){fo(G,"@types/")||(_||(_=new Set)).add(G)}function F(G,j,K,Q){var J;const he=NU(G,o,i,j.getModuleResolutionCache(),Q);if(he){const re=(J=i.realpath)==null?void 0:J.call(i,G.packageDirectory),q=re?r.toPath(re):void 0,ue=q&&q!==r.toPath(G.packageDirectory);return ue&&K.setSymlinkedDirectory(G.packageDirectory,{real:jc(re),realPath:jc(q)}),O(he,ue?de=>de.replace(G.packageDirectory,re):void 0)}}function O(G,j){return Hi(G,K=>{const Q=j?j(K):K;if(!u.getSourceFile(Q)&&!(j&&u.getSourceFile(K)))return Q})}}static create(t,r,i){if(t===0)return;const o={...r.getCompilerOptions(),...this.compilerOptionsOverrides},s=this.getRootFileNames(t,r,i,o);if(s.length)return new nve(r,s,o)}isEmpty(){return!bt(this.rootFileNames)}isOrphan(){return!0}updateGraph(){let t=this.rootFileNames;t||(t=nve.getRootFileNames(this.hostProject.includePackageJsonAutoImports(),this.hostProject,this.hostProject.getHostForAutoImportProvider(),this.getCompilationSettings())),this.projectService.setFileNamesOfAutoImportProviderOrAuxillaryProject(this,t),this.rootFileNames=t;const r=this.getCurrentProgram(),i=super.updateGraph();return r&&r!==this.getCurrentProgram()&&this.hostProject.clearCachedExportInfoMap(),i}scheduleInvalidateResolutionsOfFailedLookupLocations(){}hasRoots(){var t;return!!((t=this.rootFileNames)!=null&&t.length)}markAsDirty(){this.rootFileNames=void 0,super.markAsDirty()}getScriptFileNames(){return this.rootFileNames||se}getLanguageService(){throw new Error("AutoImportProviderProject language service should never be used. To get the program, use `project.getCurrentProgram()`.")}onAutoImportProviderSettingsChanged(){throw new Error("AutoImportProviderProject is an auto import provider; use `markAsDirty()` instead.")}onPackageJsonChange(){throw new Error("package.json changes should be notified on an AutoImportProvider's host project")}getHostForAutoImportProvider(){throw new Error("AutoImportProviderProject cannot provide its own host; use `hostProject.getModuleResolutionHostForAutomImportProvider()` instead.")}getProjectReferences(){return this.hostProject.getProjectReferences()}includePackageJsonAutoImports(){return 0}getSymlinkCache(){return this.hostProject.getSymlinkCache()}getModuleResolutionCache(){var t;return(t=this.hostProject.getCurrentProgram())==null?void 0:t.getModuleResolutionCache()}};zme.maxDependencies=10,zme.compilerOptionsOverrides={diagnostics:!1,skipLibCheck:!0,sourceMap:!1,types:se,lib:se,noLib:!0};var Bme=zme,Gme=class extends Dx{constructor(e,t,r,i,o){super(e,1,r,!1,void 0,{},!1,void 0,i,pi(e)),this.canonicalConfigFilePath=t,this.openFileWatchTriggered=new Map,this.initialLoadPending=!0,this.sendLoadingProjectFinish=!1,this.pendingUpdateLevel=2,this.pendingUpdateReason=o}setCompilerHost(e){this.compilerHost=e}getCompilerHost(){return this.compilerHost}useSourceOfProjectReferenceRedirect(){return this.languageServiceEnabled}getParsedCommandLine(e){const t=Ls(e),r=this.projectService.toCanonicalFileName(t);let i=this.projectService.configFileExistenceInfoCache.get(r);return i||this.projectService.configFileExistenceInfoCache.set(r,i={exists:this.projectService.host.fileExists(t)}),this.projectService.ensureParsedConfigUptoDate(t,r,i,this),this.languageServiceEnabled&&this.projectService.serverMode===0&&this.projectService.watchWildcards(t,i,this),i.exists?i.config.parsedCommandLine:void 0}onReleaseParsedCommandLine(e){this.releaseParsedConfig(this.projectService.toCanonicalFileName(Ls(e)))}releaseParsedConfig(e){this.projectService.stopWatchingWildCards(e,this),this.projectService.releaseParsedConfig(e,this)}updateGraph(){if(this.deferredClose)return!1;const e=this.dirty;this.initialLoadPending=!1;const t=this.pendingUpdateLevel;this.pendingUpdateLevel=0;let r;switch(t){case 1:this.openFileWatchTriggered.clear(),r=this.projectService.reloadFileNamesOfConfiguredProject(this);break;case 2:this.openFileWatchTriggered.clear();const i=C.checkDefined(this.pendingUpdateReason);this.projectService.reloadConfiguredProject(this,i),r=!0;break;default:r=super.updateGraph()}return this.compilerHost=void 0,this.projectService.sendProjectLoadingFinishEvent(this),this.projectService.sendProjectTelemetry(this),t===2||r&&(!e||!this.triggerFileForConfigFileDiag||this.getCurrentProgram().structureIsReused===2)?this.triggerFileForConfigFileDiag=void 0:this.triggerFileForConfigFileDiag||this.projectService.sendConfigFileDiagEvent(this,void 0,!1),r}getCachedDirectoryStructureHost(){return this.directoryStructureHost}getConfigFilePath(){return this.getProjectName()}getProjectReferences(){return this.projectReferences}updateReferences(e){this.projectReferences=e,this.potentialProjectReferences=void 0}setPotentialProjectReference(e){C.assert(this.initialLoadPending),(this.potentialProjectReferences||(this.potentialProjectReferences=new Set)).add(e)}getRedirectFromSourceFile(e){const t=this.getCurrentProgram();return t&&t.getRedirectFromSourceFile(e)}forEachResolvedProjectReference(e){var t;return(t=this.getCurrentProgram())==null?void 0:t.forEachResolvedProjectReference(e)}enablePluginsWithOptions(e){var t;if(this.plugins.length=0,!((t=e.plugins)!=null&&t.length)&&!this.projectService.globalPlugins.length)return;const r=this.projectService.host;if(!r.require&&!r.importPlugin){this.projectService.logger.info("Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded");return}const i=this.getGlobalPluginSearchPaths();if(this.projectService.allowLocalPluginLoads){const o=pi(this.canonicalConfigFilePath);this.projectService.logger.info("Local plugin loading enabled; adding ".concat(o," to search paths")),i.unshift(o)}if(e.plugins)for(const o of e.plugins)this.enablePlugin(o,i);return this.enableGlobalPlugins(e)}getGlobalProjectErrors(){return Fn(this.projectErrors,e=>!e.file)||Jc}getAllProjectErrors(){return this.projectErrors||Jc}setProjectErrors(e){this.projectErrors=e}close(){this.projectService.configFileExistenceInfoCache.forEach((e,t)=>this.releaseParsedConfig(t)),this.projectErrors=void 0,this.openFileWatchTriggered.clear(),this.compilerHost=void 0,super.close()}markAsDirty(){this.deferredClose||super.markAsDirty()}isOrphan(){return!!this.deferredClose}getEffectiveTypeRoots(){return rP(this.getCompilationSettings(),this)||[]}updateErrorOnNoInputFiles(e){this.parsedCommandLine=e,Z4(e.fileNames,this.getConfigFilePath(),this.getCompilerOptions().configFile.configFileSpecs,this.projectErrors,zw(e.raw))}},NX=class extends Dx{constructor(e,t,r,i,o,s,l){super(e,2,t,!0,i,r,o,l,t.host,pi(s||Bd(e))),this.externalProjectName=e,this.compileOnSaveEnabled=o,this.excludedFiles=[],this.enableGlobalPlugins(this.getCompilerOptions())}updateGraph(){const e=super.updateGraph();return this.projectService.sendProjectTelemetry(this),e}getExcludedFiles(){return this.excludedFiles}};function yC(e){return e.projectKind===0}function Av(e){return e.projectKind===1}function h8(e){return e.projectKind===2}function _8(e){return e.projectKind===3||e.projectKind===4}function g8(e){return Av(e)&&!!e.deferredClose}var MX=20*1024*1024,PX=4*1024*1024,Fz="projectsUpdatedInBackground",LX="projectLoadingStart",kX="projectLoadingFinish",wX="largeFileReferenced",OX="configFileDiag",WX="projectLanguageServiceState",FX="projectInfo",Vme="openFileInfo",zX="createFileWatcher",BX="createDirectoryWatcher",GX="closeFileWatcher",EOe="*ensureProjectForOpenFiles*";function AOe(e){const t=new Map;for(const r of e)if(typeof r.type=="object"){const i=r.type;i.forEach(o=>{C.assert(typeof o=="number")}),t.set(r.name,i)}return t}var Vst=AOe(Jm),jst=AOe(ix),Ust=new Map(Object.entries({none:0,block:1,smart:2})),jme={jquery:{match:/jquery(-[\d.]+)?(\.intellisense)?(\.min)?\.js$/i,types:["jquery"]},WinJS:{match:/^(.*\/winjs-[.\d]+)\/js\/base\.js$/i,exclude:[["^",1,"/.*"]],types:["winjs"]},Kendo:{match:/^(.*\/kendo(-ui)?)\/kendo\.all(\.min)?\.js$/i,exclude:[["^",1,"/.*"]],types:["kendo-ui"]},"Office Nuget":{match:/^(.*\/office\/1)\/excel-\d+\.debug\.js$/i,exclude:[["^",1,"/.*"]],types:["office"]},References:{match:/^(.*\/_references\.js)$/i,exclude:[["^",1,"$"]]}};function vC(e){return jo(e.indentStyle)&&(e.indentStyle=Ust.get(e.indentStyle.toLowerCase()),C.assert(e.indentStyle!==void 0)),e}function zz(e){return Vst.forEach((t,r)=>{const i=e[r];jo(i)&&(e[r]=t.get(i.toLowerCase()))}),e}function y8(e,t){let r,i;return ix.forEach(o=>{const s=e[o.name];if(s===void 0)return;const l=jst.get(o.name);(r||(r={}))[o.name]=l?jo(s)?l.get(s.toLowerCase()):s:M1(o,s,t||"",i||(i=[]))}),r&&{watchOptions:r,errors:i}}function Ume(e){let t;return j4.forEach(r=>{const i=e[r.name];i!==void 0&&((t||(t={}))[r.name]=i)}),t}function VX(e){return jo(e)?jX(e):e}function jX(e){switch(e){case"JS":return 1;case"JSX":return 2;case"TS":return 3;case"TSX":return 4;default:return 0}}function Hme(e){const{lazyConfiguredProjectsFromExternalProject:t,...r}=e;return r}var UX={getFileName:e=>e,getScriptKind:(e,t)=>{let r;if(t){const i=rI(e);i&&bt(t,o=>o.extension===i?(r=o.scriptKind,!0):!1)}return r},hasMixedContent:(e,t)=>bt(t,r=>r.isMixedContent&&xl(e,r.extension))},HX={getFileName:e=>e.fileName,getScriptKind:e=>VX(e.scriptKind),hasMixedContent:e=>!!e.hasMixedContent};function IOe(e,t){for(const r of t)if(r.getProjectName()===e)return r}var Bz={isKnownTypesPackageName:ry,installPackage:ba,enqueueInstallTypingsRequest:vs,attach:vs,onProjectClosed:vs,globalTypingsCacheLocation:void 0},qme={close:vs};function xOe(e,t){if(!t)return;const r=t.get(e.path);if(r!==void 0)return qX(e)?r&&!jo(r)?r.get(e.fileName):void 0:jo(r)||!r?r:r.get(!1)}function ROe(e){return!!e.containingProjects}function qX(e){return!!e.configFileInfo}var Jme=(e=>(e[e.FindOptimized=0]="FindOptimized",e[e.Find=1]="Find",e[e.CreateReplayOptimized=2]="CreateReplayOptimized",e[e.CreateReplay=3]="CreateReplay",e[e.CreateOptimized=4]="CreateOptimized",e[e.Create=5]="Create",e[e.ReloadOptimized=6]="ReloadOptimized",e[e.Reload=7]="Reload",e))(Jme||{});function DOe(e){return e-1}function COe(e,t,r,i,o,s,l,u,d){for(var _;;){if(t.parsedCommandLine&&(u&&!t.parsedCommandLine.options.composite||t.parsedCommandLine.options.disableSolutionSearching))return;const m=t.projectService.getConfigFileNameForFile({fileName:t.getConfigFilePath(),path:e.path,configFileInfo:!0,isForDefaultProject:!u},i<=3);if(!m)return;const y=t.projectService.findCreateOrReloadConfiguredProject(m,i,o,s,u?void 0:e.fileName,l,u,d);if(!y)return;!y.project.parsedCommandLine&&((_=t.parsedCommandLine)!=null&&_.options.composite)&&y.project.setPotentialProjectReference(t.canonicalConfigFilePath);const E=r(y);if(E)return E;t=y.project}}function NOe(e,t,r,i,o,s,l,u){const d=t.options.disableReferencedProjectLoad?0:i;let _;return Xe(t.projectReferences,m=>{var F;var y;const E=Ls(dx(m)),A=e.projectService.toCanonicalFileName(E),R=u==null?void 0:u.get(A);if(R!==void 0&&R>=d)return;const N=e.projectService.configFileExistenceInfoCache.get(A);let M=d===0?N!=null&&N.exists||(y=e.resolvedChildConfigs)!=null&&y.has(A)?N.config.parsedCommandLine:void 0:e.getParsedCommandLine(E);if(M&&d!==i&&d>2&&(M=e.getParsedCommandLine(E)),!M)return;const k=e.projectService.findConfiguredProjectByProjectName(E,s);if(!(d===2&&!N&&!k)){switch(d){case 6:k&&k.projectService.reloadConfiguredProjectOptimized(k,o,l);case 4:((F=e.resolvedChildConfigs)!=null?F:e.resolvedChildConfigs=new Set).add(A);case 2:case 0:if(k||d!==0){const O=r(N!=null?N:e.projectService.configFileExistenceInfoCache.get(A),k,E,o,e,A);if(O)return O}break;default:C.assertNever(d)}(u!=null?u:u=new Map).set(A,d),(_!=null?_:_=[]).push(M)}})||Xe(_,m=>m.projectReferences&&NOe(e,m,r,d,o,s,l,u))}function Kme(e,t,r,i,o){let s=!1,l;switch(t){case 2:case 3:Qme(e)&&(l=e.projectService.configFileExistenceInfoCache.get(e.canonicalConfigFilePath));break;case 4:if(l=$me(e),l)break;case 5:s=qst(e,r);break;case 6:if(e.projectService.reloadConfiguredProjectOptimized(e,i,o),l=$me(e),l)break;case 7:s=e.projectService.reloadConfiguredProjectClearingSemanticCache(e,i,o);break;case 0:case 1:break;default:C.assertNever(t)}return{project:e,sentConfigFileDiag:s,configFileExistenceInfo:l,reason:i}}function MOe(e,t){var r;return e.initialLoadPending?(r=e.potentialProjectReferences&&gg(e.potentialProjectReferences,t))!=null?r:e.resolvedChildConfigs&&gg(e.resolvedChildConfigs,t):void 0}function Hst(e,t,r,i){return e.getCurrentProgram()?e.forEachResolvedProjectReference(t):e.initialLoadPending?MOe(e,i):Xe(e.getProjectReferences(),r)}function Xme(e,t,r){const i=r&&e.projectService.configuredProjects.get(r);return i&&t(i)}function POe(e,t){return Hst(e,r=>Xme(e,t,r.sourceFile.path),r=>Xme(e,t,e.toPath(dx(r))),r=>Xme(e,t,r))}function JX(e,t){return"".concat(jo(t)?"Config: ".concat(t," "):t?"Project: ".concat(t.getProjectName()," "):"","WatchType: ").concat(e)}function Yme(e){return!e.isScriptOpen()&&e.mTime!==void 0}function Dm(e){return e.invalidateResolutionsOfFailedLookupLocations(),e.dirty&&!e.updateGraph()}function LOe(e,t,r){if(!r&&(e.invalidateResolutionsOfFailedLookupLocations(),!e.dirty))return!1;e.triggerFileForConfigFileDiag=t;const i=e.pendingUpdateLevel;if(e.updateGraph(),!e.triggerFileForConfigFileDiag&&!r)return i===2;const o=e.projectService.sendConfigFileDiagEvent(e,t,r);return e.triggerFileForConfigFileDiag=void 0,o}function qst(e,t){if(t){if(LOe(e,t,!1))return!0}else Dm(e);return!1}function $me(e){const t=Ls(e.getConfigFilePath()),r=e.projectService.ensureParsedConfigUptoDate(t,e.canonicalConfigFilePath,e.projectService.configFileExistenceInfoCache.get(e.canonicalConfigFilePath),e),i=r.config.parsedCommandLine;if(e.parsedCommandLine=i,e.resolvedChildConfigs=void 0,e.updateReferences(i.projectReferences),Qme(e))return r}function Qme(e){return!!e.parsedCommandLine&&(!!e.parsedCommandLine.options.composite||!!bU(e.parsedCommandLine))}function Jst(e){return Qme(e)?e.projectService.configFileExistenceInfoCache.get(e.canonicalConfigFilePath):void 0}function Kst(e){return"Creating possible configured project for ".concat(e.fileName," to open")}function KX(e){return"User requested reload projects: ".concat(e)}function Zme(e){Av(e)&&(e.projectOptions=!0)}function ehe(e){let t=1;return()=>e(t++)}function the(){return{idToCallbacks:new Map,pathToId:new Map}}function kOe(e,t){return!!t&&!!e.eventHandler&&!!e.session}function Xst(e,t){if(!kOe(e,t))return;const r=the(),i=the(),o=the();let s=1;return e.session.addProtocolHandler("watchChange",A=>(_(A.arguments),{responseRequired:!1})),{watchFile:l,watchDirectory:u,getCurrentDirectory:()=>e.host.getCurrentDirectory(),useCaseSensitiveFileNames:e.host.useCaseSensitiveFileNames};function l(A,R){return d(r,A,R,N=>({eventName:zX,data:{id:N,path:A}}))}function u(A,R,N){return d(N?o:i,A,R,M=>({eventName:BX,data:{id:M,path:A,recursive:!!N,ignoreUpdate:A.endsWith("/node_modules")?void 0:!0}}))}function d({pathToId:A,idToCallbacks:R},N,M,k){const F=e.toPath(N);let O=A.get(F);O||A.set(F,O=s++);let G=R.get(O);return G||(R.set(O,G=new Set),e.eventHandler(k(O))),G.add(M),{close(){const j=R.get(O);j!=null&&j.delete(M)&&(j.size||(R.delete(O),A.delete(F),e.eventHandler({eventName:GX,data:{id:O}})))}}}function _(A){Lo(A)?A.forEach(m):m(A)}function m({id:A,created:R,deleted:N,updated:M}){y(A,R,0),y(A,N,2),y(A,M,1)}function y(A,R,N){R!=null&&R.length&&(E(r,A,R,(M,k)=>M(k,N)),E(i,A,R,(M,k)=>M(k)),E(o,A,R,(M,k)=>M(k)))}function E(A,R,N,M){var k;(k=A.idToCallbacks.get(R))==null||k.forEach(F=>{N.forEach(O=>M(F,Bd(O)))})}}var wOe=class rve{constructor(t){this.filenameToScriptInfo=new Map,this.nodeModulesWatchers=new Map,this.filenameToScriptInfoVersion=new Map,this.allJsFilesForOpenFileTelemetry=new Set,this.externalProjectToConfiguredProjectMap=new Map,this.externalProjects=[],this.inferredProjects=[],this.configuredProjects=new Map,this.newInferredProjectName=ehe(Tme),this.newAutoImportProviderProjectName=ehe(Sme),this.newAuxiliaryProjectName=ehe(Eme),this.openFiles=new Map,this.configFileForOpenFiles=new Map,this.rootOfInferredProjects=new Set,this.openFilesWithNonRootedDiskPath=new Map,this.compilerOptionsForInferredProjectsPerProjectRoot=new Map,this.watchOptionsForInferredProjectsPerProjectRoot=new Map,this.typeAcquisitionForInferredProjectsPerProjectRoot=new Map,this.projectToSizeMap=new Map,this.configFileExistenceInfoCache=new Map,this.safelist=jme,this.legacySafelist=new Map,this.pendingProjectUpdates=new Map,this.pendingEnsureProjectForOpenFiles=!1,this.seenProjects=new Map,this.sharedExtendedConfigFileWatchers=new Map,this.extendedConfigCache=new Map,this.baseline=vs,this.verifyDocumentRegistry=vs,this.verifyProgram=vs,this.onProjectCreation=vs;var r;this.host=t.host,this.logger=t.logger,this.cancellationToken=t.cancellationToken,this.useSingleInferredProject=t.useSingleInferredProject,this.useInferredProjectPerProjectRoot=t.useInferredProjectPerProjectRoot,this.typingsInstaller=t.typingsInstaller||Bz,this.throttleWaitMilliseconds=t.throttleWaitMilliseconds,this.eventHandler=t.eventHandler,this.suppressDiagnosticEvents=t.suppressDiagnosticEvents,this.globalPlugins=t.globalPlugins||Jc,this.pluginProbeLocations=t.pluginProbeLocations||Jc,this.allowLocalPluginLoads=!!t.allowLocalPluginLoads,this.typesMapLocation=t.typesMapLocation===void 0?ei(pi(this.getExecutingFilePath()),"typesMap.json"):t.typesMapLocation,this.session=t.session,this.jsDocParsingMode=t.jsDocParsingMode,t.serverMode!==void 0?this.serverMode=t.serverMode:this.serverMode=0,this.host.realpath&&(this.realpathToScriptInfos=fm()),this.currentDirectory=Ls(this.host.getCurrentDirectory()),this.toCanonicalFileName=Fd(this.host.useCaseSensitiveFileNames),this.globalCacheLocationDirectoryPath=this.typingsInstaller.globalTypingsCacheLocation?jc(this.toPath(this.typingsInstaller.globalTypingsCacheLocation)):void 0,this.throttledOperations=new Ime(this.host,this.logger),this.logger.info("currentDirectory:: ".concat(this.host.getCurrentDirectory()," useCaseSensitiveFileNames:: ").concat(this.host.useCaseSensitiveFileNames)),this.logger.info("libs Location:: ".concat(pi(this.host.getExecutingFilePath()))),this.logger.info("globalTypingsCacheLocation:: ".concat(this.typingsInstaller.globalTypingsCacheLocation)),this.typesMapLocation?this.loadTypesMap():this.logger.info("No types map provided; using the default"),this.typingsInstaller.attach(this),this.hostConfiguration={formatCodeOptions:a7(this.host.newLine),preferences:xm,hostInfo:"Unknown host",extraFileExtensions:[]},this.documentRegistry=kJ(this.host.useCaseSensitiveFileNames,this.currentDirectory,this.jsDocParsingMode,this);const i=this.logger.hasLevel(3)?2:this.logger.loggingEnabled()?1:0,o=i!==0?s=>this.logger.info(s):vs;this.packageJsonCache=ahe(this),this.watchFactory=this.serverMode!==0?{watchFile:EP,watchDirectory:EP}:bH(Xst(this,t.canUseWatchEvents)||this.host,i,o,JX),this.canUseWatchEvents=kOe(this,t.canUseWatchEvents),(r=t.incrementalVerifier)==null||r.call(t,this)}toPath(t){return Ws(t,this.currentDirectory,this.toCanonicalFileName)}getExecutingFilePath(){return this.getNormalizedAbsolutePath(this.host.getExecutingFilePath())}getNormalizedAbsolutePath(t){return Eo(t,this.host.getCurrentDirectory())}setDocument(t,r,i){const o=C.checkDefined(this.getScriptInfoForPath(r));o.cacheSourceFile={key:t,sourceFile:i}}getDocument(t,r){const i=this.getScriptInfoForPath(r);return i&&i.cacheSourceFile&&i.cacheSourceFile.key===t?i.cacheSourceFile.sourceFile:void 0}ensureInferredProjectsUpToDate_TestOnly(){this.ensureProjectStructuresUptoDate()}getCompilerOptionsForInferredProjects(){return this.compilerOptionsForInferredProjects}onUpdateLanguageServiceStateForProject(t,r){if(!this.eventHandler)return;const i={eventName:WX,data:{project:t,languageServiceEnabled:r}};this.eventHandler(i)}loadTypesMap(){try{const t=this.host.readFile(this.typesMapLocation);if(t===void 0){this.logger.info('Provided types map file "'.concat(this.typesMapLocation,"\" doesn't exist"));return}const r=JSON.parse(t);for(const i of Object.keys(r.typesMap))r.typesMap[i].match=new RegExp(r.typesMap[i].match,"i");this.safelist=r.typesMap;for(const i in r.simpleMap)Ms(r.simpleMap,i)&&this.legacySafelist.set(i,r.simpleMap[i].toLowerCase())}catch(t){this.logger.info("Error loading types map: ".concat(t)),this.safelist=jme,this.legacySafelist.clear()}}updateTypingsForProject(t){const r=this.findProject(t.projectName);if(r)switch(t.kind){case n7:r.updateTypingFiles(t.compilerOptions,t.typeAcquisition,t.unresolvedImports,t.typings);return;case r7:r.enqueueInstallTypingsForProject(!0);return}}watchTypingLocations(t){var r;(r=this.findProject(t.projectName))==null||r.watchTypingLocations(t.files)}delayEnsureProjectForOpenFiles(){this.openFiles.size&&(this.pendingEnsureProjectForOpenFiles=!0,this.throttledOperations.schedule(EOe,2500,()=>{this.pendingProjectUpdates.size!==0?this.delayEnsureProjectForOpenFiles():this.pendingEnsureProjectForOpenFiles&&(this.ensureProjectForOpenFiles(),this.sendProjectsUpdatedInBackgroundEvent())}))}delayUpdateProjectGraph(t){if(g8(t)||(t.markAsDirty(),_8(t)))return;const r=t.getProjectName();this.pendingProjectUpdates.set(r,t),this.throttledOperations.schedule(r,250,()=>{this.pendingProjectUpdates.delete(r)&&Dm(t)})}hasPendingProjectUpdate(t){return this.pendingProjectUpdates.has(t.getProjectName())}sendProjectsUpdatedInBackgroundEvent(){if(!this.eventHandler)return;const t={eventName:Fz,data:{openFiles:Mo(this.openFiles.keys(),r=>this.getScriptInfoForPath(r).fileName)}};this.eventHandler(t)}sendLargeFileReferencedEvent(t,r){if(!this.eventHandler)return;const i={eventName:wX,data:{file:t,fileSize:r,maxFileSize:PX}};this.eventHandler(i)}sendProjectLoadingStartEvent(t,r){if(!this.eventHandler)return;t.sendLoadingProjectFinish=!0;const i={eventName:LX,data:{project:t,reason:r}};this.eventHandler(i)}sendProjectLoadingFinishEvent(t){if(!this.eventHandler||!t.sendLoadingProjectFinish)return;t.sendLoadingProjectFinish=!1;const r={eventName:kX,data:{project:t}};this.eventHandler(r)}sendPerformanceEvent(t,r){this.performanceEventHandler&&this.performanceEventHandler({kind:t,durationMs:r})}delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(t){this.delayUpdateProjectGraph(t),this.delayEnsureProjectForOpenFiles()}delayUpdateProjectGraphs(t,r){if(t.length){for(const i of t)r&&i.clearSourceMapperCache(),this.delayUpdateProjectGraph(i);this.delayEnsureProjectForOpenFiles()}}setCompilerOptionsForInferredProjects(t,r){C.assert(r===void 0||this.useInferredProjectPerProjectRoot,"Setting compiler options per project root path is only supported when useInferredProjectPerProjectRoot is enabled");const i=zz(t),o=y8(t,r),s=Ume(t);i.allowNonTsExtensions=!0;const l=r&&this.toCanonicalFileName(r);l?(this.compilerOptionsForInferredProjectsPerProjectRoot.set(l,i),this.watchOptionsForInferredProjectsPerProjectRoot.set(l,o||!1),this.typeAcquisitionForInferredProjectsPerProjectRoot.set(l,s)):(this.compilerOptionsForInferredProjects=i,this.watchOptionsForInferredProjects=o,this.typeAcquisitionForInferredProjects=s);for(const u of this.inferredProjects)(l?u.projectRootPath===l:!u.projectRootPath||!this.compilerOptionsForInferredProjectsPerProjectRoot.has(u.projectRootPath))&&(u.setCompilerOptions(i),u.setTypeAcquisition(s),u.setWatchOptions(o==null?void 0:o.watchOptions),u.setProjectErrors(o==null?void 0:o.errors),u.compileOnSaveEnabled=i.compileOnSave,u.markAsDirty(),this.delayUpdateProjectGraph(u));this.delayEnsureProjectForOpenFiles()}findProject(t){if(t!==void 0)return bme(t)?IOe(t,this.inferredProjects):this.findExternalProjectByProjectName(t)||this.findConfiguredProjectByProjectName(Ls(t))}forEachProject(t){this.externalProjects.forEach(t),this.configuredProjects.forEach(t),this.inferredProjects.forEach(t)}forEachEnabledProject(t){this.forEachProject(r=>{!r.isOrphan()&&r.languageServiceEnabled&&t(r)})}getDefaultProjectForFile(t,r){return r?this.ensureDefaultProjectForFile(t):this.tryGetDefaultProjectForFile(t)}tryGetDefaultProjectForFile(t){const r=jo(t)?this.getScriptInfoForNormalizedPath(t):t;return r&&!r.isOrphan()?r.getDefaultProject():void 0}tryGetDefaultProjectForEnsuringConfiguredProjectForFile(t){var r;const i=jo(t)?this.getScriptInfoForNormalizedPath(t):t;if(i)return(r=this.pendingOpenFileProjectUpdates)!=null&&r.delete(i.path)&&(this.tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo(i,5),i.isOrphan()&&this.assignOrphanScriptInfoToInferredProject(i,this.openFiles.get(i.path))),this.tryGetDefaultProjectForFile(i)}ensureDefaultProjectForFile(t){return this.tryGetDefaultProjectForEnsuringConfiguredProjectForFile(t)||this.doEnsureDefaultProjectForFile(t)}doEnsureDefaultProjectForFile(t){this.ensureProjectStructuresUptoDate();const r=jo(t)?this.getScriptInfoForNormalizedPath(t):t;return r?r.getDefaultProject():(this.logErrorForScriptInfoNotFound(jo(t)?t:t.fileName),Iy.ThrowNoProject())}getScriptInfoEnsuringProjectsUptoDate(t){return this.ensureProjectStructuresUptoDate(),this.getScriptInfo(t)}ensureProjectStructuresUptoDate(){let t=this.pendingEnsureProjectForOpenFiles;this.pendingProjectUpdates.clear();const r=i=>{t=Dm(i)||t};this.externalProjects.forEach(r),this.configuredProjects.forEach(r),this.inferredProjects.forEach(r),t&&this.ensureProjectForOpenFiles()}getFormatCodeOptions(t){const r=this.getScriptInfoForNormalizedPath(t);return r&&r.getFormatCodeSettings()||this.hostConfiguration.formatCodeOptions}getPreferences(t){const r=this.getScriptInfoForNormalizedPath(t);return{...this.hostConfiguration.preferences,...r&&r.getPreferences()}}getHostFormatCodeOptions(){return this.hostConfiguration.formatCodeOptions}getHostPreferences(){return this.hostConfiguration.preferences}onSourceFileChanged(t,r){C.assert(!t.isScriptOpen()),r===2?this.handleDeletedFile(t,!0):(t.deferredDelete&&(t.deferredDelete=void 0),t.delayReloadNonMixedContentFile(),this.delayUpdateProjectGraphs(t.containingProjects,!1),this.handleSourceMapProjects(t))}handleSourceMapProjects(t){if(t.sourceMapFilePath)if(jo(t.sourceMapFilePath)){const r=this.getScriptInfoForPath(t.sourceMapFilePath);this.delayUpdateSourceInfoProjects(r==null?void 0:r.sourceInfos)}else this.delayUpdateSourceInfoProjects(t.sourceMapFilePath.sourceInfos);this.delayUpdateSourceInfoProjects(t.sourceInfos),t.declarationInfoPath&&this.delayUpdateProjectsOfScriptInfoPath(t.declarationInfoPath)}delayUpdateSourceInfoProjects(t){t&&t.forEach((r,i)=>this.delayUpdateProjectsOfScriptInfoPath(i))}delayUpdateProjectsOfScriptInfoPath(t){const r=this.getScriptInfoForPath(t);r&&this.delayUpdateProjectGraphs(r.containingProjects,!0)}handleDeletedFile(t,r){C.assert(!t.isScriptOpen()),this.delayUpdateProjectGraphs(t.containingProjects,!1),this.handleSourceMapProjects(t),t.detachAllProjects(),r?(t.delayReloadNonMixedContentFile(),t.deferredDelete=!0):this.deleteScriptInfo(t)}watchWildcardDirectory(t,r,i,o){let s=this.watchFactory.watchDirectory(t,u=>this.onWildCardDirectoryWatcherInvoke(t,i,o,l,u),r,this.getWatchOptionsFromProjectWatchOptions(o.parsedCommandLine.watchOptions,pi(i)),sd.WildcardDirectory,i);const l={packageJsonWatches:void 0,close(){var u;s&&(s.close(),s=void 0,(u=l.packageJsonWatches)==null||u.forEach(d=>{d.projects.delete(l),d.close()}),l.packageJsonWatches=void 0)}};return l}onWildCardDirectoryWatcherInvoke(t,r,i,o,s){const l=this.toPath(s),u=i.cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(s,l);if(Ec(l)==="package.json"&&!PO(l)&&(u&&u.fileExists||!u&&this.host.fileExists(s))){const _=this.getNormalizedAbsolutePath(s);this.logger.info("Config: ".concat(r," Detected new package.json: ").concat(_)),this.packageJsonCache.addOrUpdate(_,l),this.watchPackageJsonFile(_,l,o)}u!=null&&u.fileExists||this.sendSourceFileChange(l);const d=this.findConfiguredProjectByProjectName(r);nO({watchedDirPath:this.toPath(t),fileOrDirectory:s,fileOrDirectoryPath:l,configFileName:r,extraFileExtensions:this.hostConfiguration.extraFileExtensions,currentDirectory:this.currentDirectory,options:i.parsedCommandLine.options,program:(d==null?void 0:d.getCurrentProgram())||i.parsedCommandLine.fileNames,useCaseSensitiveFileNames:this.host.useCaseSensitiveFileNames,writeLog:_=>this.logger.info(_),toPath:_=>this.toPath(_),getScriptKind:d?_=>d.getScriptKind(_):void 0})||(i.updateLevel!==2&&(i.updateLevel=1),i.projects.forEach((_,m)=>{var y;if(!_)return;const E=this.getConfiguredProjectByCanonicalConfigFilePath(m);if(!E)return;if(d!==E&&this.getHostPreferences().includeCompletionsForModuleExports){const R=this.toPath(r);_n((y=E.getCurrentProgram())==null?void 0:y.getResolvedProjectReferences(),N=>(N==null?void 0:N.sourceFile.path)===R)&&E.markAutoImportProviderAsDirty()}const A=d===E?1:0;if(!(E.pendingUpdateLevel>A))if(this.openFiles.has(l))if(C.checkDefined(this.getScriptInfoForPath(l)).isAttached(E)){const N=Math.max(A,E.openFileWatchTriggered.get(l)||0);E.openFileWatchTriggered.set(l,N)}else E.pendingUpdateLevel=A,this.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(E);else E.pendingUpdateLevel=A,this.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(E)}))}delayUpdateProjectsFromParsedConfigOnConfigFileChange(t,r){const i=this.configFileExistenceInfoCache.get(t);if(!(i!=null&&i.config))return!1;let o=!1;return i.config.updateLevel=2,i.config.cachedDirectoryStructureHost.clearCache(),i.config.projects.forEach((s,l)=>{var u,d,_;const m=this.getConfiguredProjectByCanonicalConfigFilePath(l);if(m)if(o=!0,l===t){if(m.initialLoadPending)return;m.pendingUpdateLevel=2,m.pendingUpdateReason=r,this.delayUpdateProjectGraph(m),m.markAutoImportProviderAsDirty()}else{if(m.initialLoadPending){(d=(u=this.configFileExistenceInfoCache.get(l))==null?void 0:u.openFilesImpactedByConfigFile)==null||d.forEach(E=>{var R;var A;(A=this.pendingOpenFileProjectUpdates)!=null&&A.has(E)||((R=this.pendingOpenFileProjectUpdates)!=null?R:this.pendingOpenFileProjectUpdates=new Map).set(E,this.configFileForOpenFiles.get(E))});return}const y=this.toPath(t);m.resolutionCache.removeResolutionsFromProjectReferenceRedirects(y),this.delayUpdateProjectGraph(m),this.getHostPreferences().includeCompletionsForModuleExports&&_n((_=m.getCurrentProgram())==null?void 0:_.getResolvedProjectReferences(),E=>(E==null?void 0:E.sourceFile.path)===y)&&m.markAutoImportProviderAsDirty()}}),o}onConfigFileChanged(t,r,i){const o=this.configFileExistenceInfoCache.get(r),s=this.getConfiguredProjectByCanonicalConfigFilePath(r),l=s==null?void 0:s.deferredClose;i===2?(o.exists=!1,s&&(s.deferredClose=!0)):(o.exists=!0,l&&(s.deferredClose=void 0,s.markAsDirty())),this.delayUpdateProjectsFromParsedConfigOnConfigFileChange(r,"Change in config file detected"),this.openFiles.forEach((u,d)=>{var R;var _,m;const y=this.configFileForOpenFiles.get(d);if(!((_=o.openFilesImpactedByConfigFile)!=null&&_.has(d)))return;this.configFileForOpenFiles.delete(d);const E=this.getScriptInfoForPath(d);this.getConfigFileNameForFile(E,!1)&&((m=this.pendingOpenFileProjectUpdates)!=null&&m.has(d)||((R=this.pendingOpenFileProjectUpdates)!=null?R:this.pendingOpenFileProjectUpdates=new Map).set(d,y))}),this.delayEnsureProjectForOpenFiles()}removeProject(t){switch(this.logger.info("`remove Project::"),t.print(!0,!0,!1),t.close(),C.shouldAssert(1)&&this.filenameToScriptInfo.forEach(r=>C.assert(!r.isAttached(t),"Found script Info still attached to project",()=>"".concat(t.projectName,": ScriptInfos still attached: ").concat(JSON.stringify(Mo(pm(this.filenameToScriptInfo.values(),i=>i.isAttached(t)?{fileName:i.fileName,projects:i.containingProjects.map(o=>o.projectName),hasMixedContent:i.hasMixedContent}:void 0)),void 0," ")))),this.pendingProjectUpdates.delete(t.getProjectName()),t.projectKind){case 2:eI(this.externalProjects,t),this.projectToSizeMap.delete(t.getProjectName());break;case 1:this.configuredProjects.delete(t.canonicalConfigFilePath),this.projectToSizeMap.delete(t.canonicalConfigFilePath);break;case 0:eI(this.inferredProjects,t);break}}assignOrphanScriptInfoToInferredProject(t,r){C.assert(t.isOrphan());const i=this.getOrCreateInferredProjectForProjectRootPathIfEnabled(t,r)||this.getOrCreateSingleInferredProjectIfEnabled()||this.getOrCreateSingleInferredWithoutProjectRoot(t.isDynamic?r||this.currentDirectory:pi(Pp(t.fileName)?t.fileName:Eo(t.fileName,r?this.getNormalizedAbsolutePath(r):this.currentDirectory)));if(i.addRoot(t),t.containingProjects[0]!==i&&(hN(t.containingProjects,i),t.containingProjects.unshift(i)),i.updateGraph(),!this.useSingleInferredProject&&!i.projectRootPath)for(const o of this.inferredProjects){if(o===i||o.isOrphan())continue;const s=o.getRootScriptInfos();C.assert(s.length===1||!!o.projectRootPath),s.length===1&&Xe(s[0].containingProjects,l=>l!==s[0].containingProjects[0]&&!l.isOrphan())&&o.removeFile(s[0],!0,!0)}return i}assignOrphanScriptInfosToInferredProject(){this.openFiles.forEach((t,r)=>{const i=this.getScriptInfoForPath(r);i.isOrphan()&&this.assignOrphanScriptInfoToInferredProject(i,t)})}closeOpenFile(t,r){var i;const o=t.isDynamic?!1:this.host.fileExists(t.fileName);t.close(o),this.stopWatchingConfigFilesForScriptInfo(t);const s=this.toCanonicalFileName(t.fileName);this.openFilesWithNonRootedDiskPath.get(s)===t&&this.openFilesWithNonRootedDiskPath.delete(s);let l=!1;for(const u of t.containingProjects){if(Av(u)){t.hasMixedContent&&t.registerFileUpdate();const d=u.openFileWatchTriggered.get(t.path);d!==void 0&&(u.openFileWatchTriggered.delete(t.path),u.pendingUpdateLevel<d&&(u.pendingUpdateLevel=d,u.markFileAsDirty(t.path)))}else yC(u)&&u.isRoot(t)&&(u.isProjectWithSingleRoot()&&(l=!0),u.removeFile(t,o,!0));u.languageServiceEnabled||u.markAsDirty()}return this.openFiles.delete(t.path),this.configFileForOpenFiles.delete(t.path),(i=this.pendingOpenFileProjectUpdates)==null||i.delete(t.path),C.assert(!this.rootOfInferredProjects.has(t)),!r&&l&&this.assignOrphanScriptInfosToInferredProject(),o?this.watchClosedScriptInfo(t):this.handleDeletedFile(t,!1),l}deleteScriptInfo(t){C.assert(!t.isScriptOpen()),this.filenameToScriptInfo.delete(t.path),this.filenameToScriptInfoVersion.set(t.path,t.textStorage.version),this.stopWatchingScriptInfo(t);const r=t.getRealpathIfDifferent();r&&this.realpathToScriptInfos.remove(r,t),t.closeSourceMapFileWatcher()}configFileExists(t,r,i){var u;const o=this.configFileExistenceInfoCache.get(r);let s;if(this.openFiles.has(i.path)&&(!qX(i)||i.isForDefaultProject)&&(o?((u=o.openFilesImpactedByConfigFile)!=null?u:o.openFilesImpactedByConfigFile=new Set).add(i.path):(s=new Set).add(i.path)),o)return o.exists;const l=this.host.fileExists(t);return this.configFileExistenceInfoCache.set(r,{exists:l,openFilesImpactedByConfigFile:s}),l}createConfigFileWatcherForParsedConfig(t,r,i){var o,s;const l=this.configFileExistenceInfoCache.get(r);(!l.watcher||l.watcher===qme)&&(l.watcher=this.watchFactory.watchFile(t,(u,d)=>this.onConfigFileChanged(t,r,d),2e3,this.getWatchOptionsFromProjectWatchOptions((s=(o=l==null?void 0:l.config)==null?void 0:o.parsedCommandLine)==null?void 0:s.watchOptions,pi(t)),sd.ConfigFile,i)),this.ensureConfigFileWatcherForProject(l,i)}ensureConfigFileWatcherForProject(t,r){const i=t.config.projects;i.set(r.canonicalConfigFilePath,i.get(r.canonicalConfigFilePath)||!1)}releaseParsedConfig(t,r){var i,o,s;const l=this.configFileExistenceInfoCache.get(t);(i=l.config)!=null&&i.projects.delete(r.canonicalConfigFilePath)&&((o=l.config)!=null&&o.projects.size||(l.config=void 0,yH(t,this.sharedExtendedConfigFileWatchers),C.checkDefined(l.watcher),(s=l.openFilesImpactedByConfigFile)!=null&&s.size?l.inferredProjectRoots?cO(pi(t))||(l.watcher.close(),l.watcher=qme):(l.watcher.close(),l.watcher=void 0):(l.watcher.close(),this.configFileExistenceInfoCache.delete(t))))}stopWatchingConfigFilesForScriptInfo(t){if(this.serverMode!==0)return;const r=this.rootOfInferredProjects.delete(t),i=t.isScriptOpen();i&&!r||this.forEachConfigFileLocation(t,o=>{var s,l,u;const d=this.configFileExistenceInfoCache.get(o);if(d){if(i){if(!((s=d==null?void 0:d.openFilesImpactedByConfigFile)!=null&&s.has(t.path)))return}else if(!((l=d.openFilesImpactedByConfigFile)!=null&&l.delete(t.path)))return;r&&(d.inferredProjectRoots--,d.watcher&&!d.config&&!d.inferredProjectRoots&&(d.watcher.close(),d.watcher=void 0)),!((u=d.openFilesImpactedByConfigFile)!=null&&u.size)&&!d.config&&(C.assert(!d.watcher),this.configFileExistenceInfoCache.delete(o))}})}startWatchingConfigFilesForInferredProjectRoot(t){this.serverMode===0&&(C.assert(t.isScriptOpen()),this.rootOfInferredProjects.add(t),this.forEachConfigFileLocation(t,(r,i)=>{var s,l;let o=this.configFileExistenceInfoCache.get(r);o?o.inferredProjectRoots=((s=o.inferredProjectRoots)!=null?s:0)+1:(o={exists:this.host.fileExists(i),inferredProjectRoots:1},this.configFileExistenceInfoCache.set(r,o)),((l=o.openFilesImpactedByConfigFile)!=null?l:o.openFilesImpactedByConfigFile=new Set).add(t.path),o.watcher||(o.watcher=cO(pi(r))?this.watchFactory.watchFile(i,(u,d)=>this.onConfigFileChanged(i,r,d),2e3,this.hostConfiguration.watchOptions,sd.ConfigFileForInferredRoot):qme)}))}forEachConfigFileLocation(t,r){if(this.serverMode!==0)return;C.assert(!ROe(t)||this.openFiles.has(t.path));const i=this.openFiles.get(t.path);if(C.checkDefined(this.getScriptInfo(t.path)).isDynamic)return;let s=pi(t.fileName);const l=()=>hm(i,s,this.currentDirectory,!this.host.useCaseSensitiveFileNames),u=!i||!l();let d=!0,_=!0;qX(t)&&(il(t.fileName,"tsconfig.json")?d=!1:d=_=!1);do{const m=gC(s,this.currentDirectory,this.toCanonicalFileName);if(d){const E=ei(s,"tsconfig.json");if(r(ei(m,"tsconfig.json"),E))return E}if(_){const E=ei(s,"jsconfig.json");if(r(ei(m,"jsconfig.json"),E))return E}if(aF(m))break;const y=pi(s);if(y===s)break;s=y,d=_=!0}while(u||l())}findDefaultConfiguredProject(t){var r;return(r=this.findDefaultConfiguredProjectWorker(t,1))==null?void 0:r.defaultProject}findDefaultConfiguredProjectWorker(t,r){return t.isScriptOpen()?this.tryFindDefaultConfiguredProjectForOpenScriptInfo(t,r):void 0}getConfigFileNameForFileFromCache(t,r){if(r){const i=xOe(t,this.pendingOpenFileProjectUpdates);if(i!==void 0)return i}return xOe(t,this.configFileForOpenFiles)}setConfigFileNameForFileInCache(t,r){if(!this.openFiles.has(t.path))return;const i=r||!1;if(!qX(t))this.configFileForOpenFiles.set(t.path,i);else{let o=this.configFileForOpenFiles.get(t.path);(!o||jo(o))&&this.configFileForOpenFiles.set(t.path,o=new Map().set(!1,o)),o.set(t.fileName,i)}}getConfigFileNameForFile(t,r){const i=this.getConfigFileNameForFileFromCache(t,r);if(i!==void 0)return i||void 0;if(r)return;const o=this.forEachConfigFileLocation(t,(s,l)=>this.configFileExists(l,s,t));return this.logger.info("getConfigFileNameForFile:: File: ".concat(t.fileName," ProjectRootPath: ").concat(this.openFiles.get(t.path),":: Result: ").concat(o)),this.setConfigFileNameForFileInCache(t,o),o}printProjects(){this.logger.hasLevel(1)&&(this.logger.startGroup(),this.externalProjects.forEach(ihe),this.configuredProjects.forEach(ihe),this.inferredProjects.forEach(ihe),this.logger.info("Open files: "),this.openFiles.forEach((t,r)=>{const i=this.getScriptInfoForPath(r);this.logger.info(" FileName: ".concat(i.fileName," ProjectRootPath: ").concat(t)),this.logger.info(" Projects: ".concat(i.containingProjects.map(o=>o.getProjectName())))}),this.logger.endGroup())}findConfiguredProjectByProjectName(t,r){const i=this.toCanonicalFileName(t),o=this.getConfiguredProjectByCanonicalConfigFilePath(i);return r?o:o!=null&&o.deferredClose?void 0:o}getConfiguredProjectByCanonicalConfigFilePath(t){return this.configuredProjects.get(t)}findExternalProjectByProjectName(t){return IOe(t,this.externalProjects)}getFilenameForExceededTotalSizeLimitForNonTsFiles(t,r,i,o){if(r&&r.disableSizeLimit||!this.host.getFileSize)return;let s=MX;this.projectToSizeMap.set(t,0),this.projectToSizeMap.forEach(u=>s-=u||0);let l=0;for(const u of i){const d=o.getFileName(u);if(!m1(d)&&(l+=this.host.getFileSize(d),l>MX||l>s)){const _=i.map(m=>o.getFileName(m)).filter(m=>!m1(m)).map(m=>({name:m,size:this.host.getFileSize(m)})).sort((m,y)=>y.size-m.size).slice(0,5);return this.logger.info("Non TS file size exceeded limit (".concat(l,"). Largest files: ").concat(_.map(m=>"".concat(m.name,":").concat(m.size)).join(", "))),d}}this.projectToSizeMap.set(t,l)}createExternalProject(t,r,i,o,s){const l=zz(i),u=y8(i,pi(Bd(t))),d=new NX(t,this,l,this.getFilenameForExceededTotalSizeLimitForNonTsFiles(t,l,r,HX),i.compileOnSave===void 0?!0:i.compileOnSave,void 0,u==null?void 0:u.watchOptions);return d.setProjectErrors(u==null?void 0:u.errors),d.excludedFiles=s,this.addFilesToNonInferredProject(d,r,HX,o),this.externalProjects.push(d),d}sendProjectTelemetry(t){if(this.seenProjects.has(t.projectName)){Zme(t);return}if(this.seenProjects.set(t.projectName,!0),!this.eventHandler||!this.host.createSHA256Hash){Zme(t);return}const r=Av(t)?t.projectOptions:void 0;Zme(t);const i={projectId:this.host.createSHA256Hash(t.projectName),fileStats:m8(t.getScriptInfos(),!0),compilerOptions:Hoe(t.getCompilationSettings()),typeAcquisition:s(t.getTypeAcquisition()),extends:r&&r.configHasExtendsProperty,files:r&&r.configHasFilesProperty,include:r&&r.configHasIncludeProperty,exclude:r&&r.configHasExcludeProperty,compileOnSave:t.compileOnSaveEnabled,configFileName:o(),projectType:t instanceof NX?"external":"configured",languageServiceEnabled:t.languageServiceEnabled,version:Me};this.eventHandler({eventName:FX,data:i});function o(){return Av(t)&&CX(t.getConfigFilePath())||"other"}function s({enable:l,include:u,exclude:d}){return{enable:l,include:u!==void 0&&u.length!==0,exclude:d!==void 0&&d.length!==0}}}addFilesToNonInferredProject(t,r,i,o){this.updateNonInferredProjectFiles(t,r,i),t.setTypeAcquisition(o),t.markAsDirty()}createConfiguredProject(t,r){var i;(i=Ar)==null||i.instant(Ar.Phase.Session,"createConfiguredProject",{configFilePath:t});const o=this.toCanonicalFileName(t);let s=this.configFileExistenceInfoCache.get(o);s?s.exists=!0:this.configFileExistenceInfoCache.set(o,s={exists:!0}),s.config||(s.config={cachedDirectoryStructureHost:R3(this.host,this.host.getCurrentDirectory(),this.host.useCaseSensitiveFileNames),projects:new Map,updateLevel:2});const l=new Gme(t,o,this,s.config.cachedDirectoryStructureHost,r);return C.assert(!this.configuredProjects.has(o)),this.configuredProjects.set(o,l),this.createConfigFileWatcherForParsedConfig(t,o,l),l}loadConfiguredProject(t,r){var i,o;(i=Ar)==null||i.push(Ar.Phase.Session,"loadConfiguredProject",{configFilePath:t.canonicalConfigFilePath}),this.sendProjectLoadingStartEvent(t,r);const s=Ls(t.getConfigFilePath()),l=this.ensureParsedConfigUptoDate(s,t.canonicalConfigFilePath,this.configFileExistenceInfoCache.get(t.canonicalConfigFilePath),t),u=l.config.parsedCommandLine;C.assert(!!u.fileNames);const d=u.options;t.projectOptions||(t.projectOptions={configHasExtendsProperty:u.raw.extends!==void 0,configHasFilesProperty:u.raw.files!==void 0,configHasIncludeProperty:u.raw.include!==void 0,configHasExcludeProperty:u.raw.exclude!==void 0}),t.parsedCommandLine=u,t.setProjectErrors(u.options.configFile.parseDiagnostics),t.updateReferences(u.projectReferences);const _=this.getFilenameForExceededTotalSizeLimitForNonTsFiles(t.canonicalConfigFilePath,d,u.fileNames,UX);_?(t.disableLanguageService(_),this.configFileExistenceInfoCache.forEach((y,E)=>this.stopWatchingWildCards(E,t))):(t.setCompilerOptions(d),t.setWatchOptions(u.watchOptions),t.enableLanguageService(),this.watchWildcards(s,l,t)),t.enablePluginsWithOptions(d);const m=u.fileNames.concat(t.getExternalFiles(2));this.updateRootAndOptionsOfNonInferredProject(t,m,UX,d,u.typeAcquisition,u.compileOnSave,u.watchOptions),(o=Ar)==null||o.pop()}ensureParsedConfigUptoDate(t,r,i,o){var s,l,u;if(i.config&&(i.config.updateLevel===1&&this.reloadFileNamesOfParsedConfig(t,i.config),!i.config.updateLevel))return this.ensureConfigFileWatcherForProject(i,o),i;if(!i.exists&&i.config)return i.config.updateLevel=void 0,this.ensureConfigFileWatcherForProject(i,o),i;const d=((s=i.config)==null?void 0:s.cachedDirectoryStructureHost)||R3(this.host,this.host.getCurrentDirectory(),this.host.useCaseSensitiveFileNames),_=eP(t,N=>this.host.readFile(N)),m=Mw(t,jo(_)?_:""),y=m.parseDiagnostics;jo(_)||y.push(_);const E=pi(t),A=Ww(m,d,E,void 0,t,void 0,this.hostConfiguration.extraFileExtensions,this.extendedConfigCache);A.errors.length&&y.push(...A.errors),this.logger.info("Config: ".concat(t," : ").concat(JSON.stringify({rootNames:A.fileNames,options:A.options,watchOptions:A.watchOptions,projectReferences:A.projectReferences},void 0," ")));const R=(l=i.config)==null?void 0:l.parsedCommandLine;return i.config?(i.config.parsedCommandLine=A,i.config.watchedDirectoriesStale=!0,i.config.updateLevel=void 0):i.config={parsedCommandLine:A,cachedDirectoryStructureHost:d,projects:new Map},!R&&!Z6(this.getWatchOptionsFromProjectWatchOptions(void 0,E),this.getWatchOptionsFromProjectWatchOptions(A.watchOptions,E))&&((u=i.watcher)==null||u.close(),i.watcher=void 0),this.createConfigFileWatcherForParsedConfig(t,r,o),D3(r,A.options,this.sharedExtendedConfigFileWatchers,(N,M)=>this.watchFactory.watchFile(N,()=>{var k;C3(this.extendedConfigCache,M,O=>this.toPath(O));let F=!1;(k=this.sharedExtendedConfigFileWatchers.get(M))==null||k.projects.forEach(O=>{F=this.delayUpdateProjectsFromParsedConfigOnConfigFileChange(O,"Change in extended config file ".concat(N," detected"))||F}),F&&this.delayEnsureProjectForOpenFiles()},2e3,this.hostConfiguration.watchOptions,sd.ExtendedConfigFile,t),N=>this.toPath(N)),i}watchWildcards(t,{exists:r,config:i},o){if(i.projects.set(o.canonicalConfigFilePath,!0),r){if(i.watchedDirectories&&!i.watchedDirectoriesStale)return;i.watchedDirectoriesStale=!1,tO(i.watchedDirectories||(i.watchedDirectories=new Map),i.parsedCommandLine.wildcardDirectories,(s,l)=>this.watchWildcardDirectory(s,l,t,i))}else{if(i.watchedDirectoriesStale=!1,!i.watchedDirectories)return;yp(i.watchedDirectories,Xf),i.watchedDirectories=void 0}}stopWatchingWildCards(t,r){const i=this.configFileExistenceInfoCache.get(t);!i.config||!i.config.projects.get(r.canonicalConfigFilePath)||(i.config.projects.set(r.canonicalConfigFilePath,!1),!Uc(i.config.projects,qs)&&(i.config.watchedDirectories&&(yp(i.config.watchedDirectories,Xf),i.config.watchedDirectories=void 0),i.config.watchedDirectoriesStale=void 0))}updateNonInferredProjectFiles(t,r,i){var o;const s=t.getRootFilesMap(),l=new Map;for(const u of r){const d=i.getFileName(u),_=Ls(d),m=ZP(_);let y;if(!m&&!t.fileExists(d)){y=gC(_,this.currentDirectory,this.toCanonicalFileName);const E=s.get(y);E?(((o=E.info)==null?void 0:o.path)===y&&(t.removeFile(E.info,!1,!0),E.info=void 0),E.fileName=_):s.set(y,{fileName:_})}else{const E=i.getScriptKind(u,this.hostConfiguration.extraFileExtensions),A=i.hasMixedContent(u,this.hostConfiguration.extraFileExtensions),R=C.checkDefined(this.getOrCreateScriptInfoNotOpenedByClientForNormalizedPath(_,t.currentDirectory,E,A,t.directoryStructureHost,!1));y=R.path;const N=s.get(y);!N||N.info!==R?(t.addRoot(R,_),R.isScriptOpen()&&this.removeRootOfInferredProjectIfNowPartOfOtherProject(R)):N.fileName=_}l.set(y,!0)}s.size>l.size&&s.forEach((u,d)=>{l.has(d)||(u.info?t.removeFile(u.info,t.fileExists(u.info.fileName),!0):s.delete(d))})}updateRootAndOptionsOfNonInferredProject(t,r,i,o,s,l,u){t.setCompilerOptions(o),t.setWatchOptions(u),l!==void 0&&(t.compileOnSaveEnabled=l),this.addFilesToNonInferredProject(t,r,i,s)}reloadFileNamesOfConfiguredProject(t){const r=this.reloadFileNamesOfParsedConfig(t.getConfigFilePath(),this.configFileExistenceInfoCache.get(t.canonicalConfigFilePath).config);return t.updateErrorOnNoInputFiles(r),this.updateNonInferredProjectFiles(t,r.fileNames.concat(t.getExternalFiles(1)),UX),t.markAsDirty(),t.updateGraph()}reloadFileNamesOfParsedConfig(t,r){if(r.updateLevel===void 0)return r.parsedCommandLine;C.assert(r.updateLevel===1);const i=r.parsedCommandLine.options.configFile.configFileSpecs,o=tP(i,pi(t),r.parsedCommandLine.options,r.cachedDirectoryStructureHost,this.hostConfiguration.extraFileExtensions);return r.parsedCommandLine={...r.parsedCommandLine,fileNames:o},r.updateLevel=void 0,r.parsedCommandLine}setFileNamesOfAutoImportProviderOrAuxillaryProject(t,r){this.updateNonInferredProjectFiles(t,r,UX)}reloadConfiguredProjectOptimized(t,r,i){i.has(t)||(i.set(t,6),t.initialLoadPending||this.setProjectForReload(t,2,r))}reloadConfiguredProjectClearingSemanticCache(t,r,i){return i.get(t)===7?!1:(i.set(t,7),this.clearSemanticCache(t),this.reloadConfiguredProject(t,KX(r)),!0)}setProjectForReload(t,r,i){r===2&&this.clearSemanticCache(t),t.pendingUpdateReason=i&&KX(i),t.pendingUpdateLevel=r}reloadConfiguredProject(t,r){var i;t.initialLoadPending=!1,this.setProjectForReload(t,0),this.loadConfiguredProject(t,r),LOe(t,(i=t.triggerFileForConfigFileDiag)!=null?i:t.getConfigFilePath(),!0)}clearSemanticCache(t){t.originalConfiguredProjects=void 0,t.resolutionCache.clear(),t.getLanguageService(!1).cleanupSemanticCache(),t.cleanupProgram(),t.markAsDirty()}sendConfigFileDiagEvent(t,r,i){var s;if(!this.eventHandler||this.suppressDiagnosticEvents)return!1;const o=t.getLanguageService().getCompilerOptionsDiagnostics();return o.push(...t.getAllProjectErrors()),!i&&o.length===((s=t.configDiagDiagnosticsReported)!=null?s:0)?!1:(t.configDiagDiagnosticsReported=o.length,this.eventHandler({eventName:OX,data:{configFileName:t.getConfigFilePath(),diagnostics:o,triggerFile:r!=null?r:t.getConfigFilePath()}}),!0)}getOrCreateInferredProjectForProjectRootPathIfEnabled(t,r){if(!this.useInferredProjectPerProjectRoot||t.isDynamic&&r===void 0)return;if(r){const o=this.toCanonicalFileName(r);for(const s of this.inferredProjects)if(s.projectRootPath===o)return s;return this.createInferredProject(r,!1,r)}let i;for(const o of this.inferredProjects)o.projectRootPath&&hm(o.projectRootPath,t.path,this.host.getCurrentDirectory(),!this.host.useCaseSensitiveFileNames)&&(i&&i.projectRootPath.length>o.projectRootPath.length||(i=o));return i}getOrCreateSingleInferredProjectIfEnabled(){if(this.useSingleInferredProject)return this.inferredProjects.length>0&&this.inferredProjects[0].projectRootPath===void 0?this.inferredProjects[0]:this.createInferredProject(this.currentDirectory,!0,void 0)}getOrCreateSingleInferredWithoutProjectRoot(t){C.assert(!this.useSingleInferredProject);const r=this.toCanonicalFileName(this.getNormalizedAbsolutePath(t));for(const i of this.inferredProjects)if(!i.projectRootPath&&i.isOrphan()&&i.canonicalCurrentDirectory===r)return i;return this.createInferredProject(t,!1,void 0)}createInferredProject(t,r,i){const o=i&&this.compilerOptionsForInferredProjectsPerProjectRoot.get(i)||this.compilerOptionsForInferredProjects;let s,l;i&&(s=this.watchOptionsForInferredProjectsPerProjectRoot.get(i),l=this.typeAcquisitionForInferredProjectsPerProjectRoot.get(i)),s===void 0&&(s=this.watchOptionsForInferredProjects),l===void 0&&(l=this.typeAcquisitionForInferredProjects),s=s||void 0;const u=new Wme(this,o,s==null?void 0:s.watchOptions,i,t,l);return u.setProjectErrors(s==null?void 0:s.errors),r?this.inferredProjects.unshift(u):this.inferredProjects.push(u),u}getOrCreateScriptInfoNotOpenedByClient(t,r,i,o){return this.getOrCreateScriptInfoNotOpenedByClientForNormalizedPath(Ls(t),r,void 0,void 0,i,o)}getScriptInfo(t){return this.getScriptInfoForNormalizedPath(Ls(t))}getScriptInfoOrConfig(t){const r=Ls(t),i=this.getScriptInfoForNormalizedPath(r);if(i)return i;const o=this.configuredProjects.get(this.toPath(t));return o&&o.getCompilerOptions().configFile}logErrorForScriptInfoNotFound(t){const r=Mo(pm(this.filenameToScriptInfo.entries(),i=>i[1].deferredDelete?void 0:i),([i,o])=>({path:i,fileName:o.fileName}));this.logger.msg("Could not find file ".concat(JSON.stringify(t),".\nAll files are: ").concat(JSON.stringify(r)),"Err")}getSymlinkedProjects(t){let r;if(this.realpathToScriptInfos){const o=t.getRealpathIfDifferent();o&&Xe(this.realpathToScriptInfos.get(o),i),Xe(this.realpathToScriptInfos.get(t.path),i)}return r;function i(o){if(o!==t)for(const s of o.containingProjects)s.languageServiceEnabled&&!s.isOrphan()&&!s.getCompilerOptions().preserveSymlinks&&!t.isAttached(s)&&(r?Uc(r,(l,u)=>u===o.path?!1:Vn(l,s))||r.add(o.path,s):(r=fm(),r.add(o.path,s)))}}watchClosedScriptInfo(t){if(C.assert(!t.fileWatcher),!t.isDynamicOrHasMixedContent()&&(!this.globalCacheLocationDirectoryPath||!fo(t.path,this.globalCacheLocationDirectoryPath))){const r=t.fileName.indexOf("/node_modules/");!this.host.getModifiedTime||r===-1?t.fileWatcher=this.watchFactory.watchFile(t.fileName,(i,o)=>this.onSourceFileChanged(t,o),500,this.hostConfiguration.watchOptions,sd.ClosedScriptInfo):(t.mTime=this.getModifiedTime(t),t.fileWatcher=this.watchClosedScriptInfoInNodeModules(t.fileName.substring(0,r)))}}createNodeModulesWatcher(t,r){let i=this.watchFactory.watchDirectory(t,s=>{var l;const u=V3(this.toPath(s));if(!u)return;const d=Ec(u);if((l=o.affectedModuleSpecifierCacheProjects)!=null&&l.size&&(d==="package.json"||d==="node_modules")&&o.affectedModuleSpecifierCacheProjects.forEach(_=>{var m;(m=_.getModuleSpecifierCache())==null||m.clear()}),o.refreshScriptInfoRefCount)if(r===u)this.refreshScriptInfosInDirectory(r);else{const _=this.filenameToScriptInfo.get(u);_?Yme(_)&&this.refreshScriptInfo(_):PR(u)||this.refreshScriptInfosInDirectory(u)}},1,this.hostConfiguration.watchOptions,sd.NodeModules);const o={refreshScriptInfoRefCount:0,affectedModuleSpecifierCacheProjects:void 0,close:()=>{var s;i&&!o.refreshScriptInfoRefCount&&!((s=o.affectedModuleSpecifierCacheProjects)!=null&&s.size)&&(i.close(),i=void 0,this.nodeModulesWatchers.delete(r))}};return this.nodeModulesWatchers.set(r,o),o}watchPackageJsonsInNodeModules(t,r){var i;const o=this.toPath(t),s=this.nodeModulesWatchers.get(o)||this.createNodeModulesWatcher(t,o);return C.assert(!((i=s.affectedModuleSpecifierCacheProjects)!=null&&i.has(r))),(s.affectedModuleSpecifierCacheProjects||(s.affectedModuleSpecifierCacheProjects=new Set)).add(r),{close:()=>{var l;(l=s.affectedModuleSpecifierCacheProjects)==null||l.delete(r),s.close()}}}watchClosedScriptInfoInNodeModules(t){const r=t+"/node_modules",i=this.toPath(r),o=this.nodeModulesWatchers.get(i)||this.createNodeModulesWatcher(r,i);return o.refreshScriptInfoRefCount++,{close:()=>{o.refreshScriptInfoRefCount--,o.close()}}}getModifiedTime(t){return(this.host.getModifiedTime(t.fileName)||Mp).getTime()}refreshScriptInfo(t){const r=this.getModifiedTime(t);if(r!==t.mTime){const i=N9(t.mTime,r);t.mTime=r,this.onSourceFileChanged(t,i)}}refreshScriptInfosInDirectory(t){t=t+$s,this.filenameToScriptInfo.forEach(r=>{Yme(r)&&fo(r.path,t)&&this.refreshScriptInfo(r)})}stopWatchingScriptInfo(t){t.fileWatcher&&(t.fileWatcher.close(),t.fileWatcher=void 0)}getOrCreateScriptInfoNotOpenedByClientForNormalizedPath(t,r,i,o,s,l){if(Pp(t)||ZP(t))return this.getOrCreateScriptInfoWorker(t,r,!1,void 0,i,!!o,s,l);const u=this.openFilesWithNonRootedDiskPath.get(this.toCanonicalFileName(t));if(u)return u}getOrCreateScriptInfoForNormalizedPath(t,r,i,o,s,l){return this.getOrCreateScriptInfoWorker(t,this.currentDirectory,r,i,o,!!s,l,!1)}getOrCreateScriptInfoWorker(t,r,i,o,s,l,u,d){C.assert(o===void 0||i,"ScriptInfo needs to be opened by client to be able to set its user defined content");const _=gC(t,r,this.toCanonicalFileName);let m=this.filenameToScriptInfo.get(_);if(m){if(m.deferredDelete){if(C.assert(!m.isDynamic),!i&&!(u||this.host).fileExists(t))return d?m:void 0;m.deferredDelete=void 0}}else{const y=ZP(t);if(C.assert(Pp(t)||y||i,"",()=>"".concat(JSON.stringify({fileName:t,currentDirectory:r,hostCurrentDirectory:this.currentDirectory,openKeys:Mo(this.openFilesWithNonRootedDiskPath.keys())}),"\nScript info with non-dynamic relative file name can only be open script info or in context of host currentDirectory")),C.assert(!Pp(t)||this.currentDirectory===r||!this.openFilesWithNonRootedDiskPath.has(this.toCanonicalFileName(t)),"",()=>"".concat(JSON.stringify({fileName:t,currentDirectory:r,hostCurrentDirectory:this.currentDirectory,openKeys:Mo(this.openFilesWithNonRootedDiskPath.keys())}),"\nOpen script files with non rooted disk path opened with current directory context cannot have same canonical names")),C.assert(!y||this.currentDirectory===r||this.useInferredProjectPerProjectRoot,"",()=>"".concat(JSON.stringify({fileName:t,currentDirectory:r,hostCurrentDirectory:this.currentDirectory,openKeys:Mo(this.openFilesWithNonRootedDiskPath.keys())}),"\nDynamic files must always be opened with service's current directory or service should support inferred project per projectRootPath.")),!i&&!y&&!(u||this.host).fileExists(t))return;m=new Nme(this.host,t,s,l,_,this.filenameToScriptInfoVersion.get(_)),this.filenameToScriptInfo.set(m.path,m),this.filenameToScriptInfoVersion.delete(m.path),i?!Pp(t)&&(!y||this.currentDirectory!==r)&&this.openFilesWithNonRootedDiskPath.set(this.toCanonicalFileName(t),m):this.watchClosedScriptInfo(m)}return i&&(this.stopWatchingScriptInfo(m),m.open(o),l&&m.registerFileUpdate()),m}getScriptInfoForNormalizedPath(t){return!Pp(t)&&this.openFilesWithNonRootedDiskPath.get(this.toCanonicalFileName(t))||this.getScriptInfoForPath(gC(t,this.currentDirectory,this.toCanonicalFileName))}getScriptInfoForPath(t){const r=this.filenameToScriptInfo.get(t);return!r||!r.deferredDelete?r:void 0}getDocumentPositionMapper(t,r,i){const o=this.getOrCreateScriptInfoNotOpenedByClient(r,t.currentDirectory,this.host,!1);if(!o){i&&t.addGeneratedFileWatch(r,i);return}if(o.getSnapshot(),jo(o.sourceMapFilePath)){const _=this.getScriptInfoForPath(o.sourceMapFilePath);if(_&&(_.getSnapshot(),_.documentPositionMapper!==void 0))return _.sourceInfos=this.addSourceInfoToSourceMap(i,t,_.sourceInfos),_.documentPositionMapper?_.documentPositionMapper:void 0;o.sourceMapFilePath=void 0}else if(o.sourceMapFilePath){o.sourceMapFilePath.sourceInfos=this.addSourceInfoToSourceMap(i,t,o.sourceMapFilePath.sourceInfos);return}else if(o.sourceMapFilePath!==void 0)return;let s,l=(_,m)=>{const y=this.getOrCreateScriptInfoNotOpenedByClient(_,t.currentDirectory,this.host,!0);if(s=y||m,!y||y.deferredDelete)return;const E=y.getSnapshot();return y.documentPositionMapper!==void 0?y.documentPositionMapper:mx(E)};const u=t.projectName,d=zJ({getCanonicalFileName:this.toCanonicalFileName,log:_=>this.logger.info(_),getSourceFileLike:_=>this.getSourceFileLike(_,u,o)},o.fileName,o.textStorage.getLineInfo(),l);return l=void 0,s?jo(s)?o.sourceMapFilePath={watcher:this.addMissingSourceMapFile(t.currentDirectory===this.currentDirectory?s:Eo(s,t.currentDirectory),o.path),sourceInfos:this.addSourceInfoToSourceMap(i,t)}:(o.sourceMapFilePath=s.path,s.declarationInfoPath=o.path,s.deferredDelete||(s.documentPositionMapper=d||!1),s.sourceInfos=this.addSourceInfoToSourceMap(i,t,s.sourceInfos)):o.sourceMapFilePath=!1,d}addSourceInfoToSourceMap(t,r,i){if(t){const o=this.getOrCreateScriptInfoNotOpenedByClient(t,r.currentDirectory,r.directoryStructureHost,!1);(i||(i=new Set)).add(o.path)}return i}addMissingSourceMapFile(t,r){return this.watchFactory.watchFile(t,()=>{const o=this.getScriptInfoForPath(r);o&&o.sourceMapFilePath&&!jo(o.sourceMapFilePath)&&(this.delayUpdateProjectGraphs(o.containingProjects,!0),this.delayUpdateSourceInfoProjects(o.sourceMapFilePath.sourceInfos),o.closeSourceMapFileWatcher())},2e3,this.hostConfiguration.watchOptions,sd.MissingSourceMapFile)}getSourceFileLike(t,r,i){var l;const o=r.projectName?r:this.findProject(r);if(o){const u=o.toPath(t),d=o.getSourceFile(u);if(d&&d.resolvedPath===u)return d}const s=this.getOrCreateScriptInfoNotOpenedByClient(t,(o||this).currentDirectory,o?o.directoryStructureHost:this.host,!1);if(s){if(i&&jo(i.sourceMapFilePath)&&s!==i){const u=this.getScriptInfoForPath(i.sourceMapFilePath);u&&((l=u.sourceInfos)!=null?l:u.sourceInfos=new Set).add(s.path)}return s.cacheSourceFile?s.cacheSourceFile.sourceFile:(s.sourceFileLike||(s.sourceFileLike={get text(){return C.fail("shouldnt need text"),""},getLineAndCharacterOfPosition:u=>{const d=s.positionToLineOffset(u);return{line:d.line-1,character:d.offset-1}},getPositionOfLineAndCharacter:(u,d,_)=>s.lineOffsetToPosition(u+1,d+1,_)}),s.sourceFileLike)}}setPerformanceEventHandler(t){this.performanceEventHandler=t}setHostConfiguration(t){var r;if(t.file){const i=this.getScriptInfoForNormalizedPath(Ls(t.file));i&&(i.setOptions(vC(t.formatOptions),t.preferences),this.logger.info("Host configuration update for file ".concat(t.file)))}else{if(t.hostInfo!==void 0&&(this.hostConfiguration.hostInfo=t.hostInfo,this.logger.info("Host information ".concat(t.hostInfo))),t.formatOptions&&(this.hostConfiguration.formatCodeOptions={...this.hostConfiguration.formatCodeOptions,...vC(t.formatOptions)},this.logger.info("Format host information updated")),t.preferences){const{lazyConfiguredProjectsFromExternalProject:i,includePackageJsonAutoImports:o,includeCompletionsForModuleExports:s}=this.hostConfiguration.preferences;this.hostConfiguration.preferences={...this.hostConfiguration.preferences,...t.preferences},i&&!this.hostConfiguration.preferences.lazyConfiguredProjectsFromExternalProject&&this.externalProjectToConfiguredProjectMap.forEach(l=>l.forEach(u=>{!u.deferredClose&&!u.isClosed()&&u.pendingUpdateLevel===2&&!this.hasPendingProjectUpdate(u)&&u.updateGraph()})),(o!==t.preferences.includePackageJsonAutoImports||!!s!=!!t.preferences.includeCompletionsForModuleExports)&&this.forEachProject(l=>{l.onAutoImportProviderSettingsChanged()})}if(t.extraFileExtensions&&(this.hostConfiguration.extraFileExtensions=t.extraFileExtensions,this.reloadProjects(),this.logger.info("Host file extension mappings updated")),t.watchOptions){const i=(r=y8(t.watchOptions))==null?void 0:r.watchOptions,o=$4(i,this.currentDirectory);this.hostConfiguration.watchOptions=o,this.hostConfiguration.beforeSubstitution=o===i?void 0:i,this.logger.info("Host watch options changed to ".concat(JSON.stringify(this.hostConfiguration.watchOptions),", it will be take effect for next watches."))}}}getWatchOptions(t){return this.getWatchOptionsFromProjectWatchOptions(t.getWatchOptions(),t.getCurrentDirectory())}getWatchOptionsFromProjectWatchOptions(t,r){const i=this.hostConfiguration.beforeSubstitution?$4(this.hostConfiguration.beforeSubstitution,r):this.hostConfiguration.watchOptions;return t&&i?{...i,...t}:t||i}closeLog(){this.logger.close()}sendSourceFileChange(t){this.filenameToScriptInfo.forEach(r=>{if(this.openFiles.has(r.path)||!r.fileWatcher)return;const i=Lu(()=>this.host.fileExists(r.fileName)?r.deferredDelete?0:1:2);if(t){if(Yme(r)||!r.path.startsWith(t)||i()===2&&r.deferredDelete)return;this.logger.info("Invoking sourceFileChange on ".concat(r.fileName,":: ").concat(i()))}this.onSourceFileChanged(r,i())})}reloadProjects(){this.logger.info("reload projects."),this.sendSourceFileChange(void 0),this.pendingProjectUpdates.forEach((i,o)=>{this.throttledOperations.cancel(o),this.pendingProjectUpdates.delete(o)}),this.throttledOperations.cancel(EOe),this.pendingOpenFileProjectUpdates=void 0,this.pendingEnsureProjectForOpenFiles=!1,this.configFileExistenceInfoCache.forEach(i=>{i.config&&(i.config.updateLevel=2,i.config.cachedDirectoryStructureHost.clearCache())}),this.configFileForOpenFiles.clear(),this.externalProjects.forEach(i=>{this.clearSemanticCache(i),i.updateGraph()});const t=new Map,r=new Set;this.externalProjectToConfiguredProjectMap.forEach((i,o)=>{const s="Reloading configured project in external project: ".concat(o);i.forEach(l=>{this.getHostPreferences().lazyConfiguredProjectsFromExternalProject?this.reloadConfiguredProjectOptimized(l,s,t):this.reloadConfiguredProjectClearingSemanticCache(l,s,t)})}),this.openFiles.forEach((i,o)=>{const s=this.getScriptInfoForPath(o);_n(s.containingProjects,h8)||this.tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo(s,7,t,r)}),r.forEach(i=>t.set(i,7)),this.inferredProjects.forEach(i=>this.clearSemanticCache(i)),this.ensureProjectForOpenFiles(),this.cleanupProjectsAndScriptInfos(t,new Set(this.openFiles.keys()),new Set(this.externalProjectToConfiguredProjectMap.keys())),this.logger.info("After reloading projects.."),this.printProjects()}removeRootOfInferredProjectIfNowPartOfOtherProject(t){C.assert(t.containingProjects.length>0);const r=t.containingProjects[0];!r.isOrphan()&&yC(r)&&r.isRoot(t)&&Xe(t.containingProjects,i=>i!==r&&!i.isOrphan())&&r.removeFile(t,!0,!0)}ensureProjectForOpenFiles(){this.logger.info("Before ensureProjectForOpenFiles:"),this.printProjects();const t=this.pendingOpenFileProjectUpdates;this.pendingOpenFileProjectUpdates=void 0,t==null||t.forEach((r,i)=>this.tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo(this.getScriptInfoForPath(i),5)),this.openFiles.forEach((r,i)=>{const o=this.getScriptInfoForPath(i);o.isOrphan()?this.assignOrphanScriptInfoToInferredProject(o,r):this.removeRootOfInferredProjectIfNowPartOfOtherProject(o)}),this.pendingEnsureProjectForOpenFiles=!1,this.inferredProjects.forEach(Dm),this.logger.info("After ensureProjectForOpenFiles:"),this.printProjects()}openClientFile(t,r,i,o){return this.openClientFileWithNormalizedPath(Ls(t),r,i,!1,o?Ls(o):void 0)}getOriginalLocationEnsuringConfiguredProject(t,r){const i=t.isSourceOfProjectReferenceRedirect(r.fileName),o=i?r:t.getSourceMapper().tryGetSourcePosition(r);if(!o)return;const{fileName:s}=o,l=this.getScriptInfo(s);if(!l&&!this.host.fileExists(s))return;const u={fileName:Ls(s),path:this.toPath(s)},d=this.getConfigFileNameForFile(u,!1);if(!d)return;let _=this.findConfiguredProjectByProjectName(d);if(!_){if(t.getCompilerOptions().disableReferencedProjectLoad)return i?r:l!=null&&l.containingProjects.length?o:r;_=this.createConfiguredProject(d,"Creating project for original file: ".concat(u.fileName).concat(r!==o?" for location: "+r.fileName:""))}const m=this.tryFindDefaultConfiguredProjectForOpenScriptInfoOrClosedFileInfo(u,5,Kme(_,4),A=>"Creating project referenced in solution ".concat(A.projectName," to find possible configured project for original file: ").concat(u.fileName).concat(r!==o?" for location: "+r.fileName:""));if(!m.defaultProject)return;if(m.defaultProject===t)return o;E(m.defaultProject);const y=this.getScriptInfo(s);if(!y||!y.containingProjects.length)return;return y.containingProjects.forEach(A=>{Av(A)&&E(A)}),o;function E(A){var R;((R=t.originalConfiguredProjects)!=null?R:t.originalConfiguredProjects=new Set).add(A.canonicalConfigFilePath)}}fileExists(t){return!!this.getScriptInfoForNormalizedPath(t)||this.host.fileExists(t)}findExternalProjectContainingOpenScriptInfo(t){return _n(this.externalProjects,r=>(Dm(r),r.containsScriptInfo(t)))}getOrCreateOpenScriptInfo(t,r,i,o,s){const l=this.getOrCreateScriptInfoWorker(t,s?this.getNormalizedAbsolutePath(s):this.currentDirectory,!0,r,i,!!o,void 0,!0);return this.openFiles.set(l.path,s),l}assignProjectToOpenedScriptInfo(t){let r,i;const o=this.findExternalProjectContainingOpenScriptInfo(t);let s,l;if(!o&&this.serverMode===0){const u=this.tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo(t,5);u&&(s=u.seenProjects,l=u.sentConfigDiag,u.defaultProject&&(r=u.defaultProject.getConfigFilePath(),i=u.defaultProject.getAllProjectErrors()))}return t.containingProjects.forEach(Dm),t.isOrphan()&&(s==null||s.forEach((u,d)=>{u!==4&&!l.has(d)&&this.sendConfigFileDiagEvent(d,t.fileName,!0)}),C.assert(this.openFiles.has(t.path)),this.assignOrphanScriptInfoToInferredProject(t,this.openFiles.get(t.path))),C.assert(!t.isOrphan()),{configFileName:r,configFileErrors:i,retainProjects:s}}findCreateOrReloadConfiguredProject(t,r,i,o,s,l,u,d,_){let m=_!=null?_:this.findConfiguredProjectByProjectName(t,o),y=!1,E;switch(r){case 0:case 1:case 3:if(!m)return;break;case 2:if(!m)return;E=Jst(m);break;case 4:case 5:m!=null||(m=this.createConfiguredProject(t,i)),u||({sentConfigFileDiag:y,configFileExistenceInfo:E}=Kme(m,r,s));break;case 6:if(m!=null||(m=this.createConfiguredProject(t,KX(i))),m.projectService.reloadConfiguredProjectOptimized(m,i,l),E=$me(m),E)break;case 7:m!=null||(m=this.createConfiguredProject(t,KX(i))),y=!d&&this.reloadConfiguredProjectClearingSemanticCache(m,i,l),d&&!d.has(m)&&!l.has(m)&&(this.setProjectForReload(m,2,i),d.add(m));break;default:C.assertNever(r)}return{project:m,sentConfigFileDiag:y,configFileExistenceInfo:E,reason:i}}tryFindDefaultConfiguredProjectForOpenScriptInfo(t,r,i,o){const s=this.getConfigFileNameForFile(t,r<=3);if(!s)return;const l=DOe(r),u=this.findCreateOrReloadConfiguredProject(s,l,Kst(t),i,t.fileName,o);return u&&this.tryFindDefaultConfiguredProjectForOpenScriptInfoOrClosedFileInfo(t,r,u,d=>"Creating project referenced in solution ".concat(d.projectName," to find possible configured project for ").concat(t.fileName," to open"),i,o)}isMatchedByConfig(t,r,i){if(r.fileNames.some(d=>this.toPath(d)===i.path))return!0;if(qV(i.fileName,r.options,this.hostConfiguration.extraFileExtensions))return!1;const{validatedFilesSpec:o,validatedIncludeSpecs:s,validatedExcludeSpecs:l}=r.options.configFile.configFileSpecs,u=Ls(Eo(pi(t),this.currentDirectory));return o!=null&&o.some(d=>this.toPath(Eo(d,u))===i.path)?!0:!(s!=null&&s.length)||t3(i.fileName,l,this.host.useCaseSensitiveFileNames,this.currentDirectory,u)?!1:s==null?void 0:s.some(d=>{const _=jV(d,u,"files");return!!_&&cv("(".concat(_,")$"),this.host.useCaseSensitiveFileNames).test(i.fileName)})}tryFindDefaultConfiguredProjectForOpenScriptInfoOrClosedFileInfo(t,r,i,o,s,l){const u=ROe(t),d=DOe(r),_=new Map;let m;const y=new Set;let E,A,R,N;return M(i),{defaultProject:E!=null?E:A,tsconfigProject:R!=null?R:N,sentConfigDiag:y,seenProjects:_,seenConfigs:m};function M(K){var Q,J;return(J=(Q=O(K,K.project))!=null?Q:G(K.project))!=null?J:j(K.project)}function k(K,Q,J,he,re,q){if(Q){if(_.has(Q))return;_.set(Q,d)}else{if(m!=null&&m.has(q))return;(m!=null?m:m=new Set).add(q)}if(!re.projectService.isMatchedByConfig(J,K.config.parsedCommandLine,t)){re.languageServiceEnabled&&re.projectService.watchWildcards(J,K,re);return}const ue=Q?Kme(Q,r,t.fileName,he,l):re.projectService.findCreateOrReloadConfiguredProject(J,r,he,s,t.fileName,l);if(!ue){C.assert(r===3);return}return _.set(ue.project,d),ue.sentConfigFileDiag&&y.add(ue.project),F(ue.project,re)}function F(K,Q){if(_.get(K)===r)return;_.set(K,r);const J=u?t:K.projectService.getScriptInfo(t.fileName),he=J&&K.containsScriptInfo(J);if(he&&!K.isSourceOfProjectReferenceRedirect(J.path))return R=Q,E=K;!A&&u&&he&&(N=Q,A=K)}function O(K,Q){return K.sentConfigFileDiag&&y.add(K.project),K.configFileExistenceInfo?k(K.configFileExistenceInfo,K.project,Ls(K.project.getConfigFilePath()),K.reason,K.project,K.project.canonicalConfigFilePath):F(K.project,Q)}function G(K){return K.parsedCommandLine&&NOe(K,K.parsedCommandLine,k,d,o(K),s,l)}function j(K){return u?COe(t,K,M,d,"Creating possible configured project for ".concat(t.fileName," to open"),s,l,!1):void 0}}tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo(t,r,i,o){const s=r===1,l=this.tryFindDefaultConfiguredProjectForOpenScriptInfo(t,r,s,i);if(!l)return;const{defaultProject:u,tsconfigProject:d,seenProjects:_}=l;return u&&COe(t,d,m=>{_.set(m.project,r)},r,"Creating project possibly referencing default composite project ".concat(u.getProjectName()," of open file ").concat(t.fileName),s,i,!0,o),l}loadAncestorProjectTree(t){t!=null||(t=new Set(pm(this.configuredProjects.entries(),([o,s])=>s.initialLoadPending?void 0:o)));const r=new Set,i=Mo(this.configuredProjects.values());for(const o of i)MOe(o,s=>t.has(s))&&Dm(o),this.ensureProjectChildren(o,t,r)}ensureProjectChildren(t,r,i){var l;var o;if(!rh(i,t.canonicalConfigFilePath)||t.getCompilerOptions().disableReferencedProjectLoad)return;const s=(o=t.getCurrentProgram())==null?void 0:o.getResolvedProjectReferences();if(s)for(const u of s){if(!u)continue;const d=cj(u.references,y=>r.has(y.sourceFile.path)?y:void 0);if(!d)continue;const _=Ls(u.sourceFile.fileName),m=(l=this.findConfiguredProjectByProjectName(_))!=null?l:this.createConfiguredProject(_,"Creating project referenced by : ".concat(t.projectName," as it references project ").concat(d.sourceFile.fileName));Dm(m),this.ensureProjectChildren(m,r,i)}}cleanupConfiguredProjects(t,r,i){this.getOrphanConfiguredProjects(t,i,r).forEach(o=>this.removeProject(o))}cleanupProjectsAndScriptInfos(t,r,i){this.cleanupConfiguredProjects(t,i,r);for(const o of this.inferredProjects.slice())o.isOrphan()&&this.removeProject(o);this.removeOrphanScriptInfos()}tryInvokeWildCardDirectories(t){this.configFileExistenceInfoCache.forEach((r,i)=>{var o,s;!((o=r.config)!=null&&o.parsedCommandLine)||Vn(r.config.parsedCommandLine.fileNames,t.fileName,this.host.useCaseSensitiveFileNames?pS:sb)||(s=r.config.watchedDirectories)==null||s.forEach((l,u)=>{hm(u,t.fileName,!this.host.useCaseSensitiveFileNames)&&(this.logger.info("Invoking ".concat(i,":: wildcard for open scriptInfo:: ").concat(t.fileName)),this.onWildCardDirectoryWatcherInvoke(u,i,r.config,l.watcher,t.fileName))})})}openClientFileWithNormalizedPath(t,r,i,o,s){const l=this.getScriptInfoForPath(gC(t,s?this.getNormalizedAbsolutePath(s):this.currentDirectory,this.toCanonicalFileName)),u=this.getOrCreateOpenScriptInfo(t,r,i,o,s);!l&&u&&!u.isDynamic&&this.tryInvokeWildCardDirectories(u);const{retainProjects:d,..._}=this.assignProjectToOpenedScriptInfo(u);return this.cleanupProjectsAndScriptInfos(d,new Set([u.path]),void 0),this.telemetryOnOpenFile(u),this.printProjects(),_}getOrphanConfiguredProjects(t,r,i){const o=new Set(this.configuredProjects.values()),s=_=>{_.originalConfiguredProjects&&(Av(_)||!_.isOrphan())&&_.originalConfiguredProjects.forEach((m,y)=>{const E=this.getConfiguredProjectByCanonicalConfigFilePath(y);return E&&d(E)})};if(t==null||t.forEach((_,m)=>d(m)),!o.size||(this.inferredProjects.forEach(s),this.externalProjects.forEach(s),this.externalProjectToConfiguredProjectMap.forEach((_,m)=>{i!=null&&i.has(m)||_.forEach(d)}),!o.size)||(Uc(this.openFiles,(_,m)=>{if(r!=null&&r.has(m))return;const y=this.getScriptInfoForPath(m);if(_n(y.containingProjects,h8))return;const E=this.tryFindDefaultConfiguredProjectAndLoadAncestorsForOpenScriptInfo(y,1);if(E!=null&&E.defaultProject&&(E==null||E.seenProjects.forEach((A,R)=>d(R)),!o.size))return o}),!o.size))return o;return Uc(this.configuredProjects,_=>{if(o.has(_)&&(u(_)||POe(_,l))&&(d(_),!o.size))return o}),o;function l(_){return!o.has(_)||u(_)}function u(_){var m,y;return(_.deferredClose||_.projectService.hasPendingProjectUpdate(_))&&!!((y=(m=_.projectService.configFileExistenceInfoCache.get(_.canonicalConfigFilePath))==null?void 0:m.openFilesImpactedByConfigFile)!=null&&y.size)}function d(_){o.delete(_)&&(s(_),POe(_,d))}}removeOrphanScriptInfos(){const t=new Map(this.filenameToScriptInfo);this.filenameToScriptInfo.forEach(r=>{if(!r.deferredDelete){if(!r.isScriptOpen()&&r.isOrphan()&&!Pme(r)&&!Mme(r)){if(!r.sourceMapFilePath)return;let i;if(jo(r.sourceMapFilePath)){const o=this.filenameToScriptInfo.get(r.sourceMapFilePath);i=o==null?void 0:o.sourceInfos}else i=r.sourceMapFilePath.sourceInfos;if(!i||!gg(i,o=>{const s=this.getScriptInfoForPath(o);return!!s&&(s.isScriptOpen()||!s.isOrphan())}))return}if(t.delete(r.path),r.sourceMapFilePath){let i;if(jo(r.sourceMapFilePath)){const o=this.filenameToScriptInfo.get(r.sourceMapFilePath);o!=null&&o.deferredDelete?r.sourceMapFilePath={watcher:this.addMissingSourceMapFile(o.fileName,r.path),sourceInfos:o.sourceInfos}:t.delete(r.sourceMapFilePath),i=o==null?void 0:o.sourceInfos}else i=r.sourceMapFilePath.sourceInfos;i&&i.forEach((o,s)=>t.delete(s))}}}),t.forEach(r=>this.deleteScriptInfo(r))}telemetryOnOpenFile(t){if(this.serverMode!==0||!this.eventHandler||!t.isJavaScript()||!Tm(this.allJsFilesForOpenFileTelemetry,t.path))return;const r=this.ensureDefaultProjectForFile(t);if(!r.languageServiceEnabled)return;const i=r.getSourceFile(t.path),o=!!i&&!!i.checkJsDirective;this.eventHandler({eventName:Vme,data:{info:{checkJs:o}}})}closeClientFile(t,r){const i=this.getScriptInfoForNormalizedPath(Ls(t)),o=i?this.closeOpenFile(i,r):!1;return r||this.printProjects(),o}collectChanges(t,r,i,o){for(const s of r){const l=_n(t,u=>u.projectName===s.getProjectName());o.push(s.getChangesSinceVersion(l&&l.version,i))}}synchronizeProjectList(t,r){const i=[];return this.collectChanges(t,this.externalProjects,r,i),this.collectChanges(t,pm(this.configuredProjects.values(),o=>o.deferredClose?void 0:o),r,i),this.collectChanges(t,this.inferredProjects,r,i),i}applyChangesInOpenFiles(t,r,i){let o,s,l=!1;if(t)for(const d of t){(o!=null?o:o=[]).push(this.getScriptInfoForPath(gC(Ls(d.fileName),d.projectRootPath?this.getNormalizedAbsolutePath(d.projectRootPath):this.currentDirectory,this.toCanonicalFileName)));const _=this.getOrCreateOpenScriptInfo(Ls(d.fileName),d.content,VX(d.scriptKind),d.hasMixedContent,d.projectRootPath?Ls(d.projectRootPath):void 0);(s||(s=[])).push(_)}if(r)for(const d of r){const _=this.getScriptInfo(d.fileName);C.assert(!!_),this.applyChangesToFile(_,d.changes)}if(i)for(const d of i)l=this.closeClientFile(d,!0)||l;let u;Xe(o,(d,_)=>!d&&s[_]&&!s[_].isDynamic?this.tryInvokeWildCardDirectories(s[_]):void 0),s==null||s.forEach(d=>{var _;return(_=this.assignProjectToOpenedScriptInfo(d).retainProjects)==null?void 0:_.forEach((m,y)=>(u!=null?u:u=new Map).set(y,m))}),l&&this.assignOrphanScriptInfosToInferredProject(),s?(this.cleanupProjectsAndScriptInfos(u,new Set(s.map(d=>d.path)),void 0),s.forEach(d=>this.telemetryOnOpenFile(d)),this.printProjects()):et(i)&&this.printProjects()}applyChangesToFile(t,r){for(const i of r)t.editContent(i.span.start,i.span.start+i.span.length,i.newText)}closeExternalProject(t,r){const i=Ls(t);if(this.externalProjectToConfiguredProjectMap.get(i))this.externalProjectToConfiguredProjectMap.delete(i);else{const s=this.findExternalProjectByProjectName(t);s&&this.removeProject(s)}r&&(this.cleanupConfiguredProjects(),this.printProjects())}openExternalProjects(t){const r=new Set(this.externalProjects.map(i=>i.getProjectName()));this.externalProjectToConfiguredProjectMap.forEach((i,o)=>r.add(o));for(const i of t)this.openExternalProject(i,!1),r.delete(i.projectFileName);r.forEach(i=>this.closeExternalProject(i,!1)),this.cleanupConfiguredProjects(),this.printProjects()}static escapeFilenameForRegex(t){return t.replace(this.filenameEscapeRegexp,"\\$&")}resetSafeList(){this.safelist=jme}applySafeList(t){var o;const r=t.typeAcquisition;C.assert(!!r,"proj.typeAcquisition should be set by now");const i=this.applySafeListWorker(t,t.rootFiles,r);return(o=i==null?void 0:i.excludedFiles)!=null?o:[]}applySafeListWorker(t,r,i){if(i.enable===!1||i.disableFilenameBasedTypeAcquisition)return;const o=i.include||(i.include=[]),s=[],l=r.map(y=>Bd(y.fileName));for(const y of Object.keys(this.safelist)){const E=this.safelist[y];for(const A of l)if(E.match.test(A)){if(this.logger.info("Excluding files based on rule ".concat(y," matching file '").concat(A,"'")),E.types)for(const R of E.types)o.includes(R)||o.push(R);if(E.exclude)for(const R of E.exclude){const N=A.replace(E.match,(...M)=>R.map(k=>typeof k=="number"?jo(M[k])?rve.escapeFilenameForRegex(M[k]):(this.logger.info("Incorrect RegExp specification in safelist rule ".concat(y," - not enough groups")),"\\*"):k).join(""));s.includes(N)||s.push(N)}else{const R=rve.escapeFilenameForRegex(A);s.includes(R)||s.push(R)}}}const u=s.map(y=>new RegExp(y,"i"));let d,_;for(let y=0;y<r.length;y++)if(u.some(E=>E.test(l[y])))m(y);else{if(i.enable){const E=Ec(ob(l[y]));if(xl(E,"js")){const A=Su(E),R=r9(A),N=this.legacySafelist.get(R);if(N!==void 0){this.logger.info("Excluded '".concat(l[y],"' because it matched ").concat(R," from the legacy safelist")),m(y),o.includes(N)||o.push(N);continue}}}/^.+[.-]min\.js$/.test(l[y])?m(y):d==null||d.push(r[y])}return _?{rootFiles:d,excludedFiles:_}:void 0;function m(y){_||(C.assert(!d),d=r.slice(0,y),_=[]),_.push(l[y])}}openExternalProject(t,r){var l,u;const i=this.findExternalProjectByProjectName(t.projectFileName);let o,s=[];for(const d of t.rootFiles){const _=Ls(d.fileName);if(CX(_)){if(this.serverMode===0&&this.host.fileExists(_)){let m=this.findConfiguredProjectByProjectName(_);m||(m=this.createConfiguredProject(_,"Creating configured project in external project: ".concat(t.projectFileName)),this.getHostPreferences().lazyConfiguredProjectsFromExternalProject||m.updateGraph()),(o!=null?o:o=new Set).add(m),C.assert(!m.isClosed())}}else s.push(d)}if(o)this.externalProjectToConfiguredProjectMap.set(t.projectFileName,o),i&&this.removeProject(i);else{this.externalProjectToConfiguredProjectMap.delete(t.projectFileName);const d=t.typeAcquisition||{};d.include=d.include||[],d.exclude=d.exclude||[],d.enable===void 0&&(d.enable=wme(s.map(y=>y.fileName)));const _=this.applySafeListWorker(t,s,d),m=(l=_==null?void 0:_.excludedFiles)!=null?l:[];if(s=(u=_==null?void 0:_.rootFiles)!=null?u:s,i){i.excludedFiles=m;const y=zz(t.options),E=y8(t.options,i.getCurrentDirectory()),A=this.getFilenameForExceededTotalSizeLimitForNonTsFiles(t.projectFileName,y,s,HX);A?i.disableLanguageService(A):i.enableLanguageService(),i.setProjectErrors(E==null?void 0:E.errors),this.updateRootAndOptionsOfNonInferredProject(i,s,HX,y,d,t.options.compileOnSave,E==null?void 0:E.watchOptions),i.updateGraph()}else this.createExternalProject(t.projectFileName,s,t.options,d,m).updateGraph()}r&&(this.cleanupConfiguredProjects(o,new Set([t.projectFileName])),this.printProjects())}hasDeferredExtension(){for(const t of this.hostConfiguration.extraFileExtensions)if(t.scriptKind===7)return!0;return!1}requestEnablePlugin(t,r,i){var o;if(!this.host.importPlugin&&!this.host.require){this.logger.info("Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded");return}if(this.logger.info("Enabling plugin ".concat(r.name," from candidate paths: ").concat(i.join(","))),!r.name||td(r.name)||/[\\/]\.\.?(?:$|[\\/])/.test(r.name)){this.logger.info("Skipped loading plugin ".concat(r.name||JSON.stringify(r)," because only package name is allowed plugin name"));return}if(this.host.importPlugin){const s=Dx.importServicePluginAsync(r,i,this.host,u=>this.logger.info(u));(o=this.pendingPluginEnablements)!=null||(this.pendingPluginEnablements=new Map);let l=this.pendingPluginEnablements.get(t);l||this.pendingPluginEnablements.set(t,l=[]),l.push(s);return}this.endEnablePlugin(t,Dx.importServicePluginSync(r,i,this.host,s=>this.logger.info(s)))}endEnablePlugin(t,{pluginConfigEntry:r,resolvedModule:i,errorLogs:o}){var s;if(i){const l=(s=this.currentPluginConfigOverrides)==null?void 0:s.get(r.name);if(l){const u=r.name;r=l,r.name=u}t.enableProxy(i,r)}else Xe(o,l=>this.logger.info(l)),this.logger.info("Couldn't find ".concat(r.name))}hasNewPluginEnablementRequests(){return!!this.pendingPluginEnablements}hasPendingPluginEnablements(){return!!this.currentPluginEnablementPromise}async waitForPendingPlugins(){for(;this.currentPluginEnablementPromise;)await this.currentPluginEnablementPromise}enableRequestedPlugins(){this.pendingPluginEnablements&&this.enableRequestedPluginsAsync()}async enableRequestedPluginsAsync(){if(this.currentPluginEnablementPromise&&await this.waitForPendingPlugins(),!this.pendingPluginEnablements)return;const t=Mo(this.pendingPluginEnablements.entries());this.pendingPluginEnablements=void 0,this.currentPluginEnablementPromise=this.enableRequestedPluginsWorker(t),await this.currentPluginEnablementPromise}async enableRequestedPluginsWorker(t){C.assert(this.currentPluginEnablementPromise===void 0);let r=!1;await Promise.all(Gt(t,async([i,o])=>{const s=await Promise.all(o);if(i.isClosed()||g8(i)){this.logger.info("Cancelling plugin enabling for ".concat(i.getProjectName()," as it is ").concat(i.isClosed()?"closed":"deferred close"));return}r=!0;for(const l of s)this.endEnablePlugin(i,l);this.delayUpdateProjectGraph(i)})),this.currentPluginEnablementPromise=void 0,r&&this.sendProjectsUpdatedInBackgroundEvent()}configurePlugin(t){this.forEachEnabledProject(r=>r.onPluginConfigurationChanged(t.pluginName,t.configuration)),this.currentPluginConfigOverrides=this.currentPluginConfigOverrides||new Map,this.currentPluginConfigOverrides.set(t.pluginName,t.configuration)}getPackageJsonsVisibleToFile(t,r,i){const o=this.packageJsonCache,s=i&&this.toPath(i),l=[],u=d=>{switch(o.directoryHasPackageJson(d)){case 3:return o.searchDirectoryAndAncestors(d,r),u(d);case-1:const _=ei(d,"package.json");this.watchPackageJsonFile(_,this.toPath(_),r);const m=o.getInDirectory(d);m&&l.push(m)}if(s&&s===d)return!0};return j_(r,pi(t),u),l}getNearestAncestorDirectoryWithPackageJson(t,r){return j_(r,t,i=>{switch(this.packageJsonCache.directoryHasPackageJson(i)){case-1:return i;case 0:return;case 3:return this.host.fileExists(ei(i,"package.json"))?i:void 0}})}watchPackageJsonFile(t,r,i){var s,l;C.assert(i!==void 0);let o=((s=this.packageJsonFilesMap)!=null?s:this.packageJsonFilesMap=new Map).get(r);if(!o){let u=this.watchFactory.watchFile(t,(d,_)=>{switch(_){case 0:case 1:this.packageJsonCache.addOrUpdate(d,r),this.onPackageJsonChange(o);break;case 2:this.packageJsonCache.delete(r),this.onPackageJsonChange(o),o.projects.clear(),o.close()}},250,this.hostConfiguration.watchOptions,sd.PackageJson);o={projects:new Set,close:()=>{var d;o.projects.size||!u||(u.close(),u=void 0,(d=this.packageJsonFilesMap)==null||d.delete(r),this.packageJsonCache.invalidate(r))}},this.packageJsonFilesMap.set(r,o)}o.projects.add(i),((l=i.packageJsonWatches)!=null?l:i.packageJsonWatches=new Set).add(o)}onPackageJsonChange(t){t.projects.forEach(r=>{var i;return(i=r.onPackageJsonChange)==null?void 0:i.call(r)})}includePackageJsonAutoImports(){switch(this.hostConfiguration.preferences.includePackageJsonAutoImports){case"on":return 1;case"off":return 0;default:return 2}}getIncompleteCompletionsCache(){return this.incompleteCompletionsCache||(this.incompleteCompletionsCache=Yst())}};wOe.filenameEscapeRegexp=/[-/\\^$*+?.()|[\]{}]/g;var nhe=wOe;function Yst(){let e;return{get(){return e},set(t){e=t},clear(){e=void 0}}}function rhe(e){return e.kind!==void 0}function ihe(e){e.print(!1,!1,!1)}function ohe(e){let t,r,i;const o={get(d,_,m,y){if(!(!r||i!==l(d,m,y)))return r.get(_)},set(d,_,m,y,E,A,R){if(s(d,m,y).set(_,u(E,A,R,void 0,!1)),R){for(const N of A)if(N.isInNodeModules){const M=N.path.substring(0,N.path.indexOf(Mg)+Mg.length-1),k=e.toPath(M);t!=null&&t.has(k)||(t||(t=new Map)).set(k,e.watchNodeModulesForPackageJsonChanges(M))}}},setModulePaths(d,_,m,y,E){const A=s(d,m,y),R=A.get(_);R?R.modulePaths=E:A.set(_,u(void 0,E,void 0,void 0,void 0))},setBlockedByPackageJsonDependencies(d,_,m,y,E,A){const R=s(d,m,y),N=R.get(_);N?(N.isBlockedByPackageJsonDependencies=A,N.packageName=E):R.set(_,u(void 0,void 0,void 0,E,A))},clear(){t==null||t.forEach(jm),r==null||r.clear(),t==null||t.clear(),i=void 0},count(){return r?r.size:0}};return C.isDebugging&&Object.defineProperty(o,"__cache",{get:()=>r}),o;function s(d,_,m){const y=l(d,_,m);return r&&i!==y&&o.clear(),i=y,r||(r=new Map)}function l(d,_,m){return"".concat(d,",").concat(_.importModuleSpecifierEnding,",").concat(_.importModuleSpecifierPreference,",").concat(m.overrideImportMode)}function u(d,_,m,y,E){return{kind:d,modulePaths:_,moduleSpecifiers:m,packageName:y,isBlockedByPackageJsonDependencies:E}}}function ahe(e){const t=new Map,r=new Map;return{addOrUpdate:i,invalidate:o,delete:l=>{t.delete(l),r.set(pi(l),!0)},getInDirectory:l=>t.get(e.toPath(ei(l,"package.json")))||void 0,directoryHasPackageJson:l=>s(e.toPath(l)),searchDirectoryAndAncestors:(l,u)=>{j_(u,l,d=>{const _=e.toPath(d);if(s(_)!==3)return!0;const m=ei(d,"package.json");FP(e,m)?i(m,ei(_,"package.json")):r.set(_,!0)})}};function i(l,u){const d=C.checkDefined(TJ(l,e.host));t.set(u,d),r.delete(pi(u))}function o(l){t.delete(l),r.delete(pi(l))}function s(l){return t.has(ei(l,"package.json"))?-1:r.has(l)?0:3}}var OOe={isCancellationRequested:()=>!1,setRequest:()=>{},resetRequest:()=>{}};function $st(e){const t=e[0],r=e[1];return(1e9*t+r)/1e6}function WOe(e,t){if((yC(e)||h8(e))&&e.isJsOnlyProject()){const r=e.getScriptInfoForNormalizedPath(t);return r&&!r.isJavaScript()}return!1}function Qst(e){return vp(e)||!!e.emitDecoratorMetadata}function FOe(e,t,r){const i=t.getScriptInfoForNormalizedPath(e);return{start:i.positionToLineOffset(r.start),end:i.positionToLineOffset(r.start+r.length),text:u_(r.messageText,"\n"),code:r.code,category:UE(r),reportsUnnecessary:r.reportsUnnecessary,reportsDeprecated:r.reportsDeprecated,source:r.source,relatedInformation:Gt(r.relatedInformation,XX)}}function XX(e){return e.file?{span:{start:bC(fa(e.file,e.start)),end:bC(fa(e.file,e.start+e.length)),file:e.file.fileName},message:u_(e.messageText,"\n"),category:UE(e),code:e.code}:{message:u_(e.messageText,"\n"),category:UE(e),code:e.code}}function bC(e){return{line:e.line+1,offset:e.character+1}}function v8(e,t){const r=e.file&&bC(fa(e.file,e.start)),i=e.file&&bC(fa(e.file,e.start+e.length)),o=u_(e.messageText,"\n"),{code:s,source:l}=e,u=UE(e),d={start:r,end:i,text:o,code:s,category:u,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated,source:l,relatedInformation:Gt(e.relatedInformation,XX)};return t?{...d,fileName:e.file&&e.file.fileName}:d}function Zst(e,t){return e.every(r=>Ml(r.span)<t)}var zOe=Dme;function she(e,t,r,i){const o=t.hasLevel(3),s=JSON.stringify(e);o&&t.info("".concat(e.type,":").concat(pT(e)));const l=r(s,"utf8");return"Content-Length: ".concat(1+l,"\r\n\r\n").concat(s).concat(i)}var elt=class{constructor(e){this.operationHost=e}startNew(e){this.complete(),this.requestId=this.operationHost.getCurrentRequestId(),this.executeAction(e)}complete(){this.requestId!==void 0&&(this.operationHost.sendRequestCompletedEvent(this.requestId,this.performanceData),this.requestId=void 0),this.setTimerHandle(void 0),this.setImmediateId(void 0),this.performanceData=void 0}immediate(e,t){const r=this.requestId;C.assert(r===this.operationHost.getCurrentRequestId(),"immediate: incorrect request id"),this.setImmediateId(this.operationHost.getServerHost().setImmediate(()=>{this.immediateId=void 0,this.operationHost.executeWithRequestId(r,()=>this.executeAction(t),this.performanceData)},e))}delay(e,t,r){const i=this.requestId;C.assert(i===this.operationHost.getCurrentRequestId(),"delay: incorrect request id"),this.setTimerHandle(this.operationHost.getServerHost().setTimeout(()=>{this.timerHandle=void 0,this.operationHost.executeWithRequestId(i,()=>this.executeAction(r),this.performanceData)},t,e))}executeAction(e){var t,r,i,o,s,l;let u=!1;try{this.operationHost.isCancellationRequested()?(u=!0,(t=Ar)==null||t.instant(Ar.Phase.Session,"stepCanceled",{seq:this.requestId,early:!0})):((r=Ar)==null||r.push(Ar.Phase.Session,"stepAction",{seq:this.requestId}),e(this),(i=Ar)==null||i.pop())}catch(d){(o=Ar)==null||o.popAll(),u=!0,d instanceof SN?(s=Ar)==null||s.instant(Ar.Phase.Session,"stepCanceled",{seq:this.requestId}):((l=Ar)==null||l.instant(Ar.Phase.Session,"stepError",{seq:this.requestId,message:d.message}),this.operationHost.logError(d,"delayed processing of request ".concat(this.requestId)))}this.performanceData=this.operationHost.getPerformanceData(),(u||!this.hasPendingWork())&&this.complete()}setTimerHandle(e){this.timerHandle!==void 0&&this.operationHost.getServerHost().clearTimeout(this.timerHandle),this.timerHandle=e}setImmediateId(e){this.immediateId!==void 0&&this.operationHost.getServerHost().clearImmediate(this.immediateId),this.immediateId=e}hasPendingWork(){return!!this.timerHandle||!!this.immediateId}};function lhe(e,t){return{seq:0,type:"event",event:e,body:t}}function tlt(e,t,r,i){const o=Ul(Lo(r)?r:r.projects,s=>i(s,e));return!Lo(r)&&r.symLinkedProjects&&r.symLinkedProjects.forEach((s,l)=>{const u=t(l);o.push(...Wi(s,d=>i(d,u)))}),cS(o,ab)}function YX(e){return ZB(({textSpan:t})=>t.start+100003*t.length,lJ(e))}function nlt(e,t,r,i,o,s,l){const u=che(e,t,r,BOe(t,r,!0),jOe,(m,y)=>m.getLanguageService().findRenameLocations(y.fileName,y.pos,i,o,s),(m,y)=>y(tL(m)));if(Lo(u))return u;const d=[],_=YX(l);return u.forEach((m,y)=>{for(const E of m)!_.has(E)&&!$X(tL(E),y)&&(d.push(E),_.add(E))}),d}function BOe(e,t,r){const i=e.getLanguageService().getDefinitionAtPosition(t.fileName,t.pos,!1,r),o=i&&Sc(i);return o&&!o.isLocal?{fileName:o.fileName,pos:o.textSpan.start}:void 0}function rlt(e,t,r,i,o){var s,l;const u=che(e,t,r,BOe(t,r,!1),jOe,(y,E)=>(o.info("Finding references to ".concat(E.fileName," position ").concat(E.pos," in project ").concat(y.getProjectName())),y.getLanguageService().findReferences(E.fileName,E.pos)),(y,E)=>{E(tL(y.definition));for(const A of y.references)E(tL(A))});if(Lo(u))return u;const d=u.get(t);if(((l=(s=d==null?void 0:d[0])==null?void 0:s.references[0])==null?void 0:l.isDefinition)===void 0)u.forEach(y=>{for(const E of y)for(const A of E.references)delete A.isDefinition});else{const y=YX(i);for(const A of d)for(const R of A.references)if(R.isDefinition){y.add(R);break}const E=new Set;for(;;){let A=!1;if(u.forEach((R,N)=>{if(E.has(N))return;N.getLanguageService().updateIsDefinitionOfReferencedSymbols(R,y)&&(E.add(N),A=!0)}),!A)break}u.forEach((A,R)=>{if(!E.has(R))for(const N of A)for(const M of N.references)M.isDefinition=!1})}const _=[],m=YX(i);return u.forEach((y,E)=>{for(const A of y){const R=$X(tL(A.definition),E),N=R===void 0?A.definition:{...A.definition,textSpan:Ad(R.pos,A.definition.textSpan.length),fileName:R.fileName,contextSpan:olt(A.definition,E)};let M=_n(_,k=>sJ(k.definition,N,i));M||(M={definition:N,references:[]},_.push(M));for(const k of A.references)!m.has(k)&&!$X(tL(k),E)&&(m.add(k),M.references.push(k))}}),_.filter(y=>y.references.length!==0)}function GOe(e,t,r){for(const i of Lo(e)?e:e.projects)r(i,t);!Lo(e)&&e.symLinkedProjects&&e.symLinkedProjects.forEach((i,o)=>{for(const s of i)r(s,o)})}function che(e,t,r,i,o,s,l){const u=new Map,d=g2();d.enqueue({project:t,location:r}),GOe(e,r.fileName,(N,M)=>{const k={fileName:M,pos:r.pos};d.enqueue({project:N,location:k})});const _=t.projectService,m=t.getCancellationToken(),y=Lu(()=>t.isSourceOfProjectReferenceRedirect(i.fileName)?i:t.getLanguageService().getSourceMapper().tryGetGeneratedPosition(i)),E=Lu(()=>t.isSourceOfProjectReferenceRedirect(i.fileName)?i:t.getLanguageService().getSourceMapper().tryGetSourcePosition(i)),A=new Set;e:for(;!d.isEmpty();){for(;!d.isEmpty();){if(m.isCancellationRequested())break e;const{project:N,location:M}=d.dequeue();if(u.has(N)||UOe(N,M)||(Dm(N),!N.containsFile(Ls(M.fileName))))continue;const k=R(N,M);u.set(N,k!=null?k:Jc),A.add(ilt(N))}i&&(_.loadAncestorProjectTree(A),_.forEachEnabledProject(N=>{if(m.isCancellationRequested()||u.has(N))return;const M=o(i,N,y,E);M&&d.enqueue({project:N,location:M})}))}if(u.size===1)return JB(u.values());return u;function R(N,M){const k=s(N,M);if(!k||!l)return k;for(const F of k)l(F,O=>{const G=_.getOriginalLocationEnsuringConfiguredProject(N,O);if(!G)return;const j=_.getScriptInfo(G.fileName);for(const Q of j.containingProjects)!Q.isOrphan()&&!u.has(Q)&&d.enqueue({project:Q,location:G});const K=_.getSymlinkedProjects(j);K&&K.forEach((Q,J)=>{for(const he of Q)!he.isOrphan()&&!u.has(he)&&d.enqueue({project:he,location:{fileName:J,pos:G.pos}})})});return k}}function VOe(e,t){if(t.containsFile(Ls(e.fileName))&&!UOe(t,e))return e}function jOe(e,t,r,i){const o=VOe(e,t);if(o)return o;const s=r();if(s&&t.containsFile(Ls(s.fileName)))return s;const l=i();return l&&t.containsFile(Ls(l.fileName))?l:void 0}function UOe(e,t){if(!t)return!1;const r=e.getLanguageService().getProgram();if(!r)return!1;const i=r.getSourceFile(t.fileName);return!!i&&i.resolvedPath!==i.path&&i.resolvedPath!==e.toPath(t.fileName)}function ilt(e){return Av(e)?e.canonicalConfigFilePath:e.getProjectName()}function tL({fileName:e,textSpan:t}){return{fileName:e,pos:t.start}}function $X(e,t){return PP(e,t.getSourceMapper(),r=>t.projectService.fileExists(r))}function HOe(e,t){return C7(e,t.getSourceMapper(),r=>t.projectService.fileExists(r))}function olt(e,t){return dJ(e,t.getSourceMapper(),r=>t.projectService.fileExists(r))}var qOe=["openExternalProject","openExternalProjects","closeExternalProject","synchronizeProjectList","emit-output","compileOnSaveAffectedFileList","compileOnSaveEmitFile","compilerOptionsDiagnostics-full","encodedSemanticClassifications-full","semanticDiagnosticsSync","suggestionDiagnosticsSync","geterrForProject","reload","reloadProjects","getCodeFixes","getCodeFixes-full","getCombinedCodeFix","getCombinedCodeFix-full","applyCodeActionCommand","getSupportedCodeFixes","getApplicableRefactors","getMoveToRefactoringFileSuggestions","getEditsForRefactor","getEditsForRefactor-full","organizeImports","organizeImports-full","getEditsForFileRename","getEditsForFileRename-full","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","getPasteEdits","copilotRelated"],alt=[...qOe,"definition","definition-full","definitionAndBoundSpan","definitionAndBoundSpan-full","typeDefinition","implementation","implementation-full","references","references-full","rename","renameLocations-full","rename-full","quickinfo","quickinfo-full","completionInfo","completions","completions-full","completionEntryDetails","completionEntryDetails-full","signatureHelp","signatureHelp-full","navto","navto-full","documentHighlights","documentHighlights-full","preparePasteEdits"],JOe=class sQ{constructor(t){this.changeSeq=0,this.regionDiagLineCountThreshold=500,this.handlers=new Map(Object.entries({status:()=>{const s={version:Me};return this.requiredResponse(s)},openExternalProject:s=>(this.projectService.openExternalProject(s.arguments,!0),this.requiredResponse(!0)),openExternalProjects:s=>(this.projectService.openExternalProjects(s.arguments.projects),this.requiredResponse(!0)),closeExternalProject:s=>(this.projectService.closeExternalProject(s.arguments.projectFileName,!0),this.requiredResponse(!0)),synchronizeProjectList:s=>{const l=this.projectService.synchronizeProjectList(s.arguments.knownProjects,s.arguments.includeProjectReferenceRedirectInfo);if(!l.some(d=>d.projectErrors&&d.projectErrors.length!==0))return this.requiredResponse(l);const u=Gt(l,d=>!d.projectErrors||d.projectErrors.length===0?d:{info:d.info,changes:d.changes,files:d.files,projectErrors:this.convertToDiagnosticsWithLinePosition(d.projectErrors,void 0)});return this.requiredResponse(u)},updateOpen:s=>(this.changeSeq++,this.projectService.applyChangesInOpenFiles(s.arguments.openFiles&&ta(s.arguments.openFiles,l=>({fileName:l.file,content:l.fileContent,scriptKind:l.scriptKindName,projectRootPath:l.projectRootPath})),s.arguments.changedFiles&&ta(s.arguments.changedFiles,l=>({fileName:l.fileName,changes:pm(HB(l.textChanges),u=>{const d=C.checkDefined(this.projectService.getScriptInfo(l.fileName)),_=d.lineOffsetToPosition(u.start.line,u.start.offset),m=d.lineOffsetToPosition(u.end.line,u.end.offset);return _>=0?{span:{start:_,length:m-_},newText:u.newText}:void 0})})),s.arguments.closedFiles),this.requiredResponse(!0)),applyChangedToOpenFiles:s=>(this.changeSeq++,this.projectService.applyChangesInOpenFiles(s.arguments.openFiles,s.arguments.changedFiles&&ta(s.arguments.changedFiles,l=>({fileName:l.fileName,changes:HB(l.changes)})),s.arguments.closedFiles),this.requiredResponse(!0)),exit:()=>(this.exit(),this.notRequired(void 0)),definition:s=>this.requiredResponse(this.getDefinition(s.arguments,!0)),"definition-full":s=>this.requiredResponse(this.getDefinition(s.arguments,!1)),definitionAndBoundSpan:s=>this.requiredResponse(this.getDefinitionAndBoundSpan(s.arguments,!0)),"definitionAndBoundSpan-full":s=>this.requiredResponse(this.getDefinitionAndBoundSpan(s.arguments,!1)),findSourceDefinition:s=>this.requiredResponse(this.findSourceDefinition(s.arguments)),"emit-output":s=>this.requiredResponse(this.getEmitOutput(s.arguments)),typeDefinition:s=>this.requiredResponse(this.getTypeDefinition(s.arguments)),implementation:s=>this.requiredResponse(this.getImplementation(s.arguments,!0)),"implementation-full":s=>this.requiredResponse(this.getImplementation(s.arguments,!1)),references:s=>this.requiredResponse(this.getReferences(s.arguments,!0)),"references-full":s=>this.requiredResponse(this.getReferences(s.arguments,!1)),rename:s=>this.requiredResponse(this.getRenameLocations(s.arguments,!0)),"renameLocations-full":s=>this.requiredResponse(this.getRenameLocations(s.arguments,!1)),"rename-full":s=>this.requiredResponse(this.getRenameInfo(s.arguments)),open:s=>(this.openClientFile(Ls(s.arguments.file),s.arguments.fileContent,jX(s.arguments.scriptKindName),s.arguments.projectRootPath?Ls(s.arguments.projectRootPath):void 0),this.notRequired(s)),quickinfo:s=>this.requiredResponse(this.getQuickInfoWorker(s.arguments,!0)),"quickinfo-full":s=>this.requiredResponse(this.getQuickInfoWorker(s.arguments,!1)),getOutliningSpans:s=>this.requiredResponse(this.getOutliningSpans(s.arguments,!0)),outliningSpans:s=>this.requiredResponse(this.getOutliningSpans(s.arguments,!1)),todoComments:s=>this.requiredResponse(this.getTodoComments(s.arguments)),indentation:s=>this.requiredResponse(this.getIndentation(s.arguments)),nameOrDottedNameSpan:s=>this.requiredResponse(this.getNameOrDottedNameSpan(s.arguments)),breakpointStatement:s=>this.requiredResponse(this.getBreakpointStatement(s.arguments)),braceCompletion:s=>this.requiredResponse(this.isValidBraceCompletion(s.arguments)),docCommentTemplate:s=>this.requiredResponse(this.getDocCommentTemplate(s.arguments)),getSpanOfEnclosingComment:s=>this.requiredResponse(this.getSpanOfEnclosingComment(s.arguments)),fileReferences:s=>this.requiredResponse(this.getFileReferences(s.arguments,!0)),"fileReferences-full":s=>this.requiredResponse(this.getFileReferences(s.arguments,!1)),format:s=>this.requiredResponse(this.getFormattingEditsForRange(s.arguments)),formatonkey:s=>this.requiredResponse(this.getFormattingEditsAfterKeystroke(s.arguments)),"format-full":s=>this.requiredResponse(this.getFormattingEditsForDocumentFull(s.arguments)),"formatonkey-full":s=>this.requiredResponse(this.getFormattingEditsAfterKeystrokeFull(s.arguments)),"formatRange-full":s=>this.requiredResponse(this.getFormattingEditsForRangeFull(s.arguments)),completionInfo:s=>this.requiredResponse(this.getCompletions(s.arguments,"completionInfo")),completions:s=>this.requiredResponse(this.getCompletions(s.arguments,"completions")),"completions-full":s=>this.requiredResponse(this.getCompletions(s.arguments,"completions-full")),completionEntryDetails:s=>this.requiredResponse(this.getCompletionEntryDetails(s.arguments,!1)),"completionEntryDetails-full":s=>this.requiredResponse(this.getCompletionEntryDetails(s.arguments,!0)),compileOnSaveAffectedFileList:s=>this.requiredResponse(this.getCompileOnSaveAffectedFileList(s.arguments)),compileOnSaveEmitFile:s=>this.requiredResponse(this.emitFile(s.arguments)),signatureHelp:s=>this.requiredResponse(this.getSignatureHelpItems(s.arguments,!0)),"signatureHelp-full":s=>this.requiredResponse(this.getSignatureHelpItems(s.arguments,!1)),"compilerOptionsDiagnostics-full":s=>this.requiredResponse(this.getCompilerOptionsDiagnostics(s.arguments)),"encodedSyntacticClassifications-full":s=>this.requiredResponse(this.getEncodedSyntacticClassifications(s.arguments)),"encodedSemanticClassifications-full":s=>this.requiredResponse(this.getEncodedSemanticClassifications(s.arguments)),cleanup:()=>(this.cleanup(),this.requiredResponse(!0)),semanticDiagnosticsSync:s=>this.requiredResponse(this.getSemanticDiagnosticsSync(s.arguments)),syntacticDiagnosticsSync:s=>this.requiredResponse(this.getSyntacticDiagnosticsSync(s.arguments)),suggestionDiagnosticsSync:s=>this.requiredResponse(this.getSuggestionDiagnosticsSync(s.arguments)),geterr:s=>(this.errorCheck.startNew(l=>this.getDiagnostics(l,s.arguments.delay,s.arguments.files)),this.notRequired(void 0)),geterrForProject:s=>(this.errorCheck.startNew(l=>this.getDiagnosticsForProject(l,s.arguments.delay,s.arguments.file)),this.notRequired(void 0)),change:s=>(this.change(s.arguments),this.notRequired(s)),configure:s=>(this.projectService.setHostConfiguration(s.arguments),this.notRequired(s)),reload:s=>(this.reload(s.arguments),this.requiredResponse({reloadFinished:!0})),saveto:s=>{const l=s.arguments;return this.saveToTmp(l.file,l.tmpfile),this.notRequired(s)},close:s=>{const l=s.arguments;return this.closeClientFile(l.file),this.notRequired(s)},navto:s=>this.requiredResponse(this.getNavigateToItems(s.arguments,!0)),"navto-full":s=>this.requiredResponse(this.getNavigateToItems(s.arguments,!1)),brace:s=>this.requiredResponse(this.getBraceMatching(s.arguments,!0)),"brace-full":s=>this.requiredResponse(this.getBraceMatching(s.arguments,!1)),navbar:s=>this.requiredResponse(this.getNavigationBarItems(s.arguments,!0)),"navbar-full":s=>this.requiredResponse(this.getNavigationBarItems(s.arguments,!1)),navtree:s=>this.requiredResponse(this.getNavigationTree(s.arguments,!0)),"navtree-full":s=>this.requiredResponse(this.getNavigationTree(s.arguments,!1)),documentHighlights:s=>this.requiredResponse(this.getDocumentHighlights(s.arguments,!0)),"documentHighlights-full":s=>this.requiredResponse(this.getDocumentHighlights(s.arguments,!1)),compilerOptionsForInferredProjects:s=>(this.setCompilerOptionsForInferredProjects(s.arguments),this.requiredResponse(!0)),projectInfo:s=>this.requiredResponse(this.getProjectInfo(s.arguments)),reloadProjects:s=>(this.projectService.reloadProjects(),this.notRequired(s)),jsxClosingTag:s=>this.requiredResponse(this.getJsxClosingTag(s.arguments)),linkedEditingRange:s=>this.requiredResponse(this.getLinkedEditingRange(s.arguments)),getCodeFixes:s=>this.requiredResponse(this.getCodeFixes(s.arguments,!0)),"getCodeFixes-full":s=>this.requiredResponse(this.getCodeFixes(s.arguments,!1)),getCombinedCodeFix:s=>this.requiredResponse(this.getCombinedCodeFix(s.arguments,!0)),"getCombinedCodeFix-full":s=>this.requiredResponse(this.getCombinedCodeFix(s.arguments,!1)),applyCodeActionCommand:s=>this.requiredResponse(this.applyCodeActionCommand(s.arguments)),getSupportedCodeFixes:s=>this.requiredResponse(this.getSupportedCodeFixes(s.arguments)),getApplicableRefactors:s=>this.requiredResponse(this.getApplicableRefactors(s.arguments)),getEditsForRefactor:s=>this.requiredResponse(this.getEditsForRefactor(s.arguments,!0)),getMoveToRefactoringFileSuggestions:s=>this.requiredResponse(this.getMoveToRefactoringFileSuggestions(s.arguments)),preparePasteEdits:s=>this.requiredResponse(this.preparePasteEdits(s.arguments)),getPasteEdits:s=>this.requiredResponse(this.getPasteEdits(s.arguments)),"getEditsForRefactor-full":s=>this.requiredResponse(this.getEditsForRefactor(s.arguments,!1)),organizeImports:s=>this.requiredResponse(this.organizeImports(s.arguments,!0)),"organizeImports-full":s=>this.requiredResponse(this.organizeImports(s.arguments,!1)),getEditsForFileRename:s=>this.requiredResponse(this.getEditsForFileRename(s.arguments,!0)),"getEditsForFileRename-full":s=>this.requiredResponse(this.getEditsForFileRename(s.arguments,!1)),configurePlugin:s=>(this.configurePlugin(s.arguments),this.notRequired(s)),selectionRange:s=>this.requiredResponse(this.getSmartSelectionRange(s.arguments,!0)),"selectionRange-full":s=>this.requiredResponse(this.getSmartSelectionRange(s.arguments,!1)),prepareCallHierarchy:s=>this.requiredResponse(this.prepareCallHierarchy(s.arguments)),provideCallHierarchyIncomingCalls:s=>this.requiredResponse(this.provideCallHierarchyIncomingCalls(s.arguments)),provideCallHierarchyOutgoingCalls:s=>this.requiredResponse(this.provideCallHierarchyOutgoingCalls(s.arguments)),toggleLineComment:s=>this.requiredResponse(this.toggleLineComment(s.arguments,!0)),"toggleLineComment-full":s=>this.requiredResponse(this.toggleLineComment(s.arguments,!1)),toggleMultilineComment:s=>this.requiredResponse(this.toggleMultilineComment(s.arguments,!0)),"toggleMultilineComment-full":s=>this.requiredResponse(this.toggleMultilineComment(s.arguments,!1)),commentSelection:s=>this.requiredResponse(this.commentSelection(s.arguments,!0)),"commentSelection-full":s=>this.requiredResponse(this.commentSelection(s.arguments,!1)),uncommentSelection:s=>this.requiredResponse(this.uncommentSelection(s.arguments,!0)),"uncommentSelection-full":s=>this.requiredResponse(this.uncommentSelection(s.arguments,!1)),provideInlayHints:s=>this.requiredResponse(this.provideInlayHints(s.arguments)),mapCode:s=>this.requiredResponse(this.mapCode(s.arguments)),copilotRelated:()=>this.requiredResponse(this.getCopilotRelatedInfo())})),this.host=t.host,this.cancellationToken=t.cancellationToken,this.typingsInstaller=t.typingsInstaller||Bz,this.byteLength=t.byteLength,this.hrtime=t.hrtime,this.logger=t.logger,this.canUseEvents=t.canUseEvents,this.suppressDiagnosticEvents=t.suppressDiagnosticEvents,this.noGetErrOnBackgroundUpdate=t.noGetErrOnBackgroundUpdate;const{throttleWaitMilliseconds:r}=t;this.eventHandler=this.canUseEvents?t.eventHandler||(s=>this.defaultEventHandler(s)):void 0;const i={executeWithRequestId:(s,l,u)=>this.executeWithRequestId(s,l,u),getCurrentRequestId:()=>this.currentRequestId,getPerformanceData:()=>this.performanceData,getServerHost:()=>this.host,logError:(s,l)=>this.logError(s,l),sendRequestCompletedEvent:(s,l)=>this.sendRequestCompletedEvent(s,l),isCancellationRequested:()=>this.cancellationToken.isCancellationRequested()};this.errorCheck=new elt(i);const o={host:this.host,logger:this.logger,cancellationToken:this.cancellationToken,useSingleInferredProject:t.useSingleInferredProject,useInferredProjectPerProjectRoot:t.useInferredProjectPerProjectRoot,typingsInstaller:this.typingsInstaller,throttleWaitMilliseconds:r,eventHandler:this.eventHandler,suppressDiagnosticEvents:this.suppressDiagnosticEvents,globalPlugins:t.globalPlugins,pluginProbeLocations:t.pluginProbeLocations,allowLocalPluginLoads:t.allowLocalPluginLoads,typesMapLocation:t.typesMapLocation,serverMode:t.serverMode,session:this,canUseWatchEvents:t.canUseWatchEvents,incrementalVerifier:t.incrementalVerifier};switch(this.projectService=new nhe(o),this.projectService.setPerformanceEventHandler(this.performanceEventHandler.bind(this)),this.gcTimer=new xme(this.host,7e3,this.logger),this.projectService.serverMode){case 0:break;case 1:qOe.forEach(s=>this.handlers.set(s,l=>{throw new Error("Request: ".concat(l.command," not allowed in LanguageServiceMode.PartialSemantic"))}));break;case 2:alt.forEach(s=>this.handlers.set(s,l=>{throw new Error("Request: ".concat(l.command," not allowed in LanguageServiceMode.Syntactic"))}));break;default:C.assertNever(this.projectService.serverMode)}}sendRequestCompletedEvent(t,r){this.event({request_seq:t,performanceData:r&&KOe(r)},"requestCompleted")}addPerformanceData(t,r){var i;this.performanceData||(this.performanceData={}),this.performanceData[t]=((i=this.performanceData[t])!=null?i:0)+r}addDiagnosticsPerformanceData(t,r,i){var u;var o,s;this.performanceData||(this.performanceData={});let l=(o=this.performanceData.diagnosticsDuration)==null?void 0:o.get(t);l||((u=(s=this.performanceData).diagnosticsDuration)!=null?u:s.diagnosticsDuration=new Map).set(t,l={}),l[r]=i}performanceEventHandler(t){switch(t.kind){case"UpdateGraph":this.addPerformanceData("updateGraphDurationMs",t.durationMs);break;case"CreatePackageJsonAutoImportProvider":this.addPerformanceData("createAutoImportProviderProgramDurationMs",t.durationMs);break}}defaultEventHandler(t){switch(t.eventName){case Fz:this.projectsUpdatedInBackgroundEvent(t.data.openFiles);break;case LX:this.event({projectName:t.data.project.getProjectName(),reason:t.data.reason},t.eventName);break;case kX:this.event({projectName:t.data.project.getProjectName()},t.eventName);break;case wX:case zX:case BX:case GX:this.event(t.data,t.eventName);break;case OX:this.event({triggerFile:t.data.triggerFile,configFile:t.data.configFileName,diagnostics:Gt(t.data.diagnostics,r=>v8(r,!0))},t.eventName);break;case WX:{this.event({projectName:t.data.project.getProjectName(),languageServiceEnabled:t.data.languageServiceEnabled},t.eventName);break}case FX:{this.event({telemetryEventName:t.eventName,payload:t.data},"telemetry");break}}}projectsUpdatedInBackgroundEvent(t){this.projectService.logger.info("got projects updated in background ".concat(t)),t.length&&(!this.suppressDiagnosticEvents&&!this.noGetErrOnBackgroundUpdate&&(this.projectService.logger.info("Queueing diagnostics update for ".concat(t)),this.errorCheck.startNew(r=>this.updateErrorCheck(r,t,100,!0))),this.event({openFiles:t},Fz))}logError(t,r){this.logErrorWorker(t,r)}logErrorWorker(t,r,i){let o="Exception on executing command "+r;if(t.message&&(o+=":\n"+IP(t.message),t.stack&&(o+="\n"+IP(t.stack))),this.logger.hasLevel(3)){if(i)try{const{file:s,project:l}=this.getFileAndProject(i),u=l.getScriptInfoForNormalizedPath(s);if(u){const d=mx(u.getSnapshot());o+="\n\nFile text of ".concat(i.file,":").concat(IP(d),"\n")}}catch(s){}if(t.ProgramFiles){o+="\n\nProgram files: ".concat(JSON.stringify(t.ProgramFiles),"\n"),o+="\n\nProjects::\n";let s=0;const l=u=>{o+="\nProject '".concat(u.projectName,"' (").concat(eL[u.projectKind],") ").concat(s,"\n"),o+=u.filesToString(!0),o+="\n-----------------------------------------------\n",s++};this.projectService.externalProjects.forEach(l),this.projectService.configuredProjects.forEach(l),this.projectService.inferredProjects.forEach(l)}}this.logger.msg(o,"Err")}send(t){if(t.type==="event"&&!this.canUseEvents){this.logger.hasLevel(3)&&this.logger.info("Session does not support events: ignored event: ".concat(pT(t)));return}this.writeMessage(t)}writeMessage(t){const r=she(t,this.logger,this.byteLength,this.host.newLine);this.host.write(r)}event(t,r){this.send(lhe(r,t))}doOutput(t,r,i,o,s,l){const u={seq:0,type:"response",command:r,request_seq:i,success:o,performanceData:s&&KOe(s)};if(o){let d;if(Lo(t))u.body=t,d=t.metadata,delete t.metadata;else if(typeof t=="object")if(t.metadata){const{metadata:_,...m}=t;u.body=m,d=_}else u.body=t;else u.body=t;d&&(u.metadata=d)}else C.assert(t===void 0);l&&(u.message=l),this.send(u)}semanticCheck(t,r){var i,o;const s=Os();(i=Ar)==null||i.push(Ar.Phase.Session,"semanticCheck",{file:t,configFilePath:r.canonicalConfigFilePath});const l=WOe(r,t)?Jc:r.getLanguageService().getSemanticDiagnostics(t).filter(u=>!!u.file);this.sendDiagnosticsEvent(t,r,l,"semanticDiag",s),(o=Ar)==null||o.pop()}syntacticCheck(t,r){var i,o;const s=Os();(i=Ar)==null||i.push(Ar.Phase.Session,"syntacticCheck",{file:t,configFilePath:r.canonicalConfigFilePath}),this.sendDiagnosticsEvent(t,r,r.getLanguageService().getSyntacticDiagnostics(t),"syntaxDiag",s),(o=Ar)==null||o.pop()}suggestionCheck(t,r){var i,o;const s=Os();(i=Ar)==null||i.push(Ar.Phase.Session,"suggestionCheck",{file:t,configFilePath:r.canonicalConfigFilePath}),this.sendDiagnosticsEvent(t,r,r.getLanguageService().getSuggestionDiagnostics(t),"suggestionDiag",s),(o=Ar)==null||o.pop()}regionSemanticCheck(t,r,i){var o,s,l;const u=Os();(o=Ar)==null||o.push(Ar.Phase.Session,"regionSemanticCheck",{file:t,configFilePath:r.canonicalConfigFilePath});let d;if(!this.shouldDoRegionCheck(t)||!(d=r.getLanguageService().getRegionSemanticDiagnostics(t,i))){(s=Ar)==null||s.pop();return}this.sendDiagnosticsEvent(t,r,d.diagnostics,"regionSemanticDiag",u,d.spans),(l=Ar)==null||l.pop()}shouldDoRegionCheck(t){var r;const i=(r=this.projectService.getScriptInfoForNormalizedPath(t))==null?void 0:r.textStorage.getLineInfo().getLineCount();return!!(i&&i>=this.regionDiagLineCountThreshold)}sendDiagnosticsEvent(t,r,i,o,s,l){try{const u=C.checkDefined(r.getScriptInfo(t)),d=Os()-s,_={file:t,diagnostics:i.map(m=>FOe(t,r,m)),spans:l==null?void 0:l.map(m=>__(m,u))};this.event(_,o),this.addDiagnosticsPerformanceData(t,o,d)}catch(u){this.logError(u,o)}}updateErrorCheck(t,r,i,o=!0){if(r.length===0)return;C.assert(!this.suppressDiagnosticEvents);const s=this.changeSeq,l=Math.min(i,200);let u=0;const d=()=>{if(u++,r.length>u)return t.delay("checkOne",l,m)},_=(y,E)=>{if(this.semanticCheck(y,E),this.changeSeq===s){if(this.getPreferences(y).disableSuggestions)return d();t.immediate("suggestionCheck",()=>{this.suggestionCheck(y,E),d()})}},m=()=>{if(this.changeSeq!==s)return;let y,E=r[u];if(jo(E)?E=this.toPendingErrorCheck(E):"ranges"in E&&(y=E.ranges,E=this.toPendingErrorCheck(E.file)),!E)return d();const{fileName:A,project:R}=E;if(Dm(R),!!R.containsFile(A,o)&&(this.syntacticCheck(A,R),this.changeSeq===s)){if(R.projectService.serverMode!==0)return d();if(y)return t.immediate("regionSemanticCheck",()=>{const N=this.projectService.getScriptInfoForNormalizedPath(A);N&&this.regionSemanticCheck(A,R,y.map(M=>this.getRange({file:A,...M},N))),this.changeSeq===s&&t.immediate("semanticCheck",()=>_(A,R))});t.immediate("semanticCheck",()=>_(A,R))}};r.length>u&&this.changeSeq===s&&t.delay("checkOne",i,m)}cleanProjects(t,r){if(r){this.logger.info("cleaning ".concat(t));for(const i of r)i.getLanguageService(!1).cleanupSemanticCache(),i.cleanupProgram()}}cleanup(){this.cleanProjects("inferred projects",this.projectService.inferredProjects),this.cleanProjects("configured projects",Mo(this.projectService.configuredProjects.values())),this.cleanProjects("external projects",this.projectService.externalProjects),this.host.gc&&(this.logger.info("host.gc()"),this.host.gc())}getEncodedSyntacticClassifications(t){const{file:r,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t);return i.getEncodedSyntacticClassifications(r,t)}getEncodedSemanticClassifications(t){const{file:r,project:i}=this.getFileAndProject(t),o=t.format==="2020"?"2020":"original";return i.getLanguageService().getEncodedSemanticClassifications(r,t,o)}getProject(t){return t===void 0?void 0:this.projectService.findProject(t)}getConfigFileAndProject(t){const r=this.getProject(t.projectFileName),i=Ls(t.file);return{configFile:r&&r.hasConfigFile(i)?i:void 0,project:r}}getConfigFileDiagnostics(t,r,i){const o=r.getAllProjectErrors(),s=r.getLanguageService().getCompilerOptionsDiagnostics(),l=Fn(co(o,s),u=>!!u.file&&u.file.fileName===t);return i?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(l):Gt(l,u=>v8(u,!1))}convertToDiagnosticsWithLinePositionFromDiagnosticFile(t){return t.map(r=>({message:u_(r.messageText,this.host.newLine),start:r.start,length:r.length,category:UE(r),code:r.code,source:r.source,startLocation:r.file&&bC(fa(r.file,r.start)),endLocation:r.file&&bC(fa(r.file,r.start+r.length)),reportsUnnecessary:r.reportsUnnecessary,reportsDeprecated:r.reportsDeprecated,relatedInformation:Gt(r.relatedInformation,XX)}))}getCompilerOptionsDiagnostics(t){const r=this.getProject(t.projectFileName);return this.convertToDiagnosticsWithLinePosition(Fn(r.getLanguageService().getCompilerOptionsDiagnostics(),i=>!i.file),void 0)}convertToDiagnosticsWithLinePosition(t,r){return t.map(i=>({message:u_(i.messageText,this.host.newLine),start:i.start,length:i.length,category:UE(i),code:i.code,source:i.source,startLocation:r&&r.positionToLineOffset(i.start),endLocation:r&&r.positionToLineOffset(i.start+i.length),reportsUnnecessary:i.reportsUnnecessary,reportsDeprecated:i.reportsDeprecated,relatedInformation:Gt(i.relatedInformation,XX)}))}getDiagnosticsWorker(t,r,i,o){const{project:s,file:l}=this.getFileAndProject(t);if(r&&WOe(s,l))return Jc;const u=s.getScriptInfoForNormalizedPath(l),d=i(s,l);return o?this.convertToDiagnosticsWithLinePosition(d,u):d.map(_=>FOe(l,s,_))}getDefinition(t,r){const{file:i,project:o}=this.getFileAndProject(t),s=this.getPositionInFile(t,i),l=this.mapDefinitionInfoLocations(o.getLanguageService().getDefinitionAtPosition(i,s)||Jc,o);return r?this.mapDefinitionInfo(l,o):l.map(sQ.mapToOriginalLocation)}mapDefinitionInfoLocations(t,r){return t.map(i=>{const o=HOe(i,r);return o?{...o,containerKind:i.containerKind,containerName:i.containerName,kind:i.kind,name:i.name,failedAliasResolution:i.failedAliasResolution,...i.unverified&&{unverified:i.unverified}}:i})}getDefinitionAndBoundSpan(t,r){const{file:i,project:o}=this.getFileAndProject(t),s=this.getPositionInFile(t,i),l=C.checkDefined(o.getScriptInfo(i)),u=o.getLanguageService().getDefinitionAndBoundSpan(i,s);if(!u||!u.definitions)return{definitions:Jc,textSpan:void 0};const d=this.mapDefinitionInfoLocations(u.definitions,o),{textSpan:_}=u;return r?{definitions:this.mapDefinitionInfo(d,o),textSpan:__(_,l)}:{definitions:d.map(sQ.mapToOriginalLocation),textSpan:_}}findSourceDefinition(t){var r;const{file:i,project:o}=this.getFileAndProject(t),s=this.getPositionInFile(t,i),l=o.getLanguageService().getDefinitionAtPosition(i,s);let u=this.mapDefinitionInfoLocations(l||Jc,o).slice();if(this.projectService.serverMode===0&&(!bt(u,A=>Ls(A.fileName)!==i&&!A.isAmbient)||bt(u,A=>!!A.failedAliasResolution))){const A=ZB(k=>k.textSpan.start,lJ(this.host.useCaseSensitiveFileNames));u==null||u.forEach(k=>A.add(k));const R=o.getNoDtsResolutionProject(i),N=R.getLanguageService(),M=(r=N.getDefinitionAtPosition(i,s,!0,!1))==null?void 0:r.filter(k=>Ls(k.fileName)!==i);if(bt(M))for(const k of M){if(k.unverified){const F=y(k,o.getLanguageService().getProgram(),N.getProgram());if(bt(F)){for(const O of F)A.add(O);continue}}A.add(k)}else{const k=u.filter(F=>Ls(F.fileName)!==i&&F.isAmbient);for(const F of bt(k)?k:m()){const O=_(F.fileName,i,R);if(!O)continue;const G=this.projectService.getOrCreateScriptInfoNotOpenedByClient(O,R.currentDirectory,R.directoryStructureHost,!1);if(!G)continue;R.containsScriptInfo(G)||(R.addRoot(G),R.updateGraph());const j=N.getProgram(),K=C.checkDefined(j.getSourceFile(O));for(const Q of E(F.name,K,j))A.add(Q)}}u=Mo(A.values())}return u=u.filter(A=>!A.isAmbient&&!A.failedAliasResolution),this.mapDefinitionInfo(u,o);function _(A,R,N){var M,k,F;const O=n4(A);if(O&&A.lastIndexOf(Mg)===O.topLevelNodeModulesIndex){const G=A.substring(0,O.packageRootIndex),j=(M=o.getModuleResolutionCache())==null?void 0:M.getPackageJsonInfoCache(),K=o.getCompilationSettings(),Q=aP(Eo(G,o.getCurrentDirectory()),oP(j,o,K));if(!Q)return;const J=NU(Q,{moduleResolution:2},o,o.getModuleResolutionCache()),he=A.substring(O.topLevelPackageNameIndex+1,O.packageRootIndex),re=sP(jw(he)),q=o.toPath(A);if(J&&bt(J,ue=>o.toPath(ue)===q))return(k=N.resolutionCache.resolveSingleModuleNameWithoutWatching(re,R).resolvedModule)==null?void 0:k.resolvedFileName;{const ue=A.substring(O.packageRootIndex+1),de="".concat(re,"/").concat(Su(ue));return(F=N.resolutionCache.resolveSingleModuleNameWithoutWatching(de,R).resolvedModule)==null?void 0:F.resolvedFileName}}}function m(){const A=o.getLanguageService(),R=A.getProgram(),N=ap(R.getSourceFile(i),s);return(ds(N)||Je(N))&&Qs(N.parent)&&fre(N,M=>{var k;if(M===N)return;const F=(k=A.getDefinitionAtPosition(i,M.getStart(),!0,!1))==null?void 0:k.filter(O=>Ls(O.fileName)!==i&&O.isAmbient).map(O=>({fileName:O.fileName,name:Bf(N)}));if(bt(F))return F})||Jc}function y(A,R,N){var M;const k=N.getSourceFile(A.fileName);if(!k)return;const F=ap(R.getSourceFile(i),s),O=R.getTypeChecker().getSymbolAtLocation(F),G=O&&ul(O,277);if(!G)return;const j=((M=G.propertyName)==null?void 0:M.text)||G.name.text;return E(j,k,N)}function E(A,R,N){const M=el.Core.getTopMostDeclarationNamesInFile(A,R);return Hi(M,k=>{const F=N.getTypeChecker().getSymbolAtLocation(k),O=rM(k);if(F&&O)return hC.createDefinitionInfo(O,N.getTypeChecker(),F,O,!0)})}}getEmitOutput(t){const{file:r,project:i}=this.getFileAndProject(t);if(!i.shouldEmitFile(i.getScriptInfo(r)))return{emitSkipped:!0,outputFiles:[],diagnostics:[]};const o=i.getLanguageService().getEmitOutput(r);return t.richResponse?{...o,diagnostics:t.includeLinePosition?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(o.diagnostics):o.diagnostics.map(s=>v8(s,!0))}:o}mapJSDocTagInfo(t,r,i){return t?t.map(o=>{var s;return{...o,text:i?this.mapDisplayParts(o.text,r):(s=o.text)==null?void 0:s.map(l=>l.text).join("")}}):[]}mapDisplayParts(t,r){return t?t.map(i=>i.kind!=="linkName"?i:{...i,target:this.toFileSpan(i.target.fileName,i.target.textSpan,r)}):[]}mapSignatureHelpItems(t,r,i){return t.map(o=>({...o,documentation:this.mapDisplayParts(o.documentation,r),parameters:o.parameters.map(s=>({...s,documentation:this.mapDisplayParts(s.documentation,r)})),tags:this.mapJSDocTagInfo(o.tags,r,i)}))}mapDefinitionInfo(t,r){return t.map(i=>({...this.toFileSpanWithContext(i.fileName,i.textSpan,i.contextSpan,r),...i.unverified&&{unverified:i.unverified}}))}static mapToOriginalLocation(t){return t.originalFileName?(C.assert(t.originalTextSpan!==void 0,"originalTextSpan should be present if originalFileName is"),{...t,fileName:t.originalFileName,textSpan:t.originalTextSpan,targetFileName:t.fileName,targetTextSpan:t.textSpan,contextSpan:t.originalContextSpan,targetContextSpan:t.contextSpan}):t}toFileSpan(t,r,i){const o=i.getLanguageService(),s=o.toLineColumnOffset(t,r.start),l=o.toLineColumnOffset(t,Ml(r));return{file:t,start:{line:s.line+1,offset:s.character+1},end:{line:l.line+1,offset:l.character+1}}}toFileSpanWithContext(t,r,i,o){const s=this.toFileSpan(t,r,o),l=i&&this.toFileSpan(t,i,o);return l?{...s,contextStart:l.start,contextEnd:l.end}:s}getTypeDefinition(t){const{file:r,project:i}=this.getFileAndProject(t),o=this.getPositionInFile(t,r),s=this.mapDefinitionInfoLocations(i.getLanguageService().getTypeDefinitionAtPosition(r,o)||Jc,i);return this.mapDefinitionInfo(s,i)}mapImplementationLocations(t,r){return t.map(i=>{const o=HOe(i,r);return o?{...o,kind:i.kind,displayParts:i.displayParts}:i})}getImplementation(t,r){const{file:i,project:o}=this.getFileAndProject(t),s=this.getPositionInFile(t,i),l=this.mapImplementationLocations(o.getLanguageService().getImplementationAtPosition(i,s)||Jc,o);return r?l.map(({fileName:u,textSpan:d,contextSpan:_})=>this.toFileSpanWithContext(u,d,_,o)):l.map(sQ.mapToOriginalLocation)}getSyntacticDiagnosticsSync(t){const{configFile:r}=this.getConfigFileAndProject(t);return r?Jc:this.getDiagnosticsWorker(t,!1,(i,o)=>i.getLanguageService().getSyntacticDiagnostics(o),!!t.includeLinePosition)}getSemanticDiagnosticsSync(t){const{configFile:r,project:i}=this.getConfigFileAndProject(t);return r?this.getConfigFileDiagnostics(r,i,!!t.includeLinePosition):this.getDiagnosticsWorker(t,!0,(o,s)=>o.getLanguageService().getSemanticDiagnostics(s).filter(l=>!!l.file),!!t.includeLinePosition)}getSuggestionDiagnosticsSync(t){const{configFile:r}=this.getConfigFileAndProject(t);return r?Jc:this.getDiagnosticsWorker(t,!0,(i,o)=>i.getLanguageService().getSuggestionDiagnostics(o),!!t.includeLinePosition)}getJsxClosingTag(t){const{file:r,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=this.getPositionInFile(t,r),s=i.getJsxClosingTagAtPosition(r,o);return s===void 0?void 0:{newText:s.newText,caretOffset:0}}getLinkedEditingRange(t){const{file:r,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=this.getPositionInFile(t,r),s=i.getLinkedEditingRangeAtPosition(r,o),l=this.projectService.getScriptInfoForNormalizedPath(r);if(!(l===void 0||s===void 0))return llt(s,l)}getDocumentHighlights(t,r){const{file:i,project:o}=this.getFileAndProject(t),s=this.getPositionInFile(t,i),l=o.getLanguageService().getDocumentHighlights(i,s,t.filesToSearch);return l?r?l.map(({fileName:u,highlightSpans:d})=>{const _=o.getScriptInfo(u);return{file:u,highlightSpans:d.map(({textSpan:m,kind:y,contextSpan:E})=>({...dhe(m,E,_),kind:y}))}}):l:Jc}provideInlayHints(t){const{file:r,project:i}=this.getFileAndProject(t),o=this.projectService.getScriptInfoForNormalizedPath(r);return i.getLanguageService().provideInlayHints(r,t,this.getPreferences(r)).map(l=>{const{position:u,displayParts:d}=l;return{...l,position:o.positionToLineOffset(u),displayParts:d==null?void 0:d.map(({text:_,span:m,file:y})=>{if(m){C.assertIsDefined(y,"Target file should be defined together with its span.");const E=this.projectService.getScriptInfo(y);return{text:_,span:{start:E.positionToLineOffset(m.start),end:E.positionToLineOffset(m.start+m.length),file:y}}}else return{text:_}})}})}mapCode(t){var r;const i=this.getHostFormatOptions(),o=this.getHostPreferences(),{file:s,languageService:l}=this.getFileAndLanguageServiceForSyntacticOperation(t),u=this.projectService.getScriptInfoForNormalizedPath(s),d=(r=t.mapping.focusLocations)==null?void 0:r.map(m=>m.map(y=>{const E=u.lineOffsetToPosition(y.start.line,y.start.offset),A=u.lineOffsetToPosition(y.end.line,y.end.offset);return{start:E,length:A-E}})),_=l.mapCode(s,t.mapping.contents,d,i,o);return this.mapTextChangesToCodeEdits(_)}getCopilotRelatedInfo(){return{relatedFiles:[]}}setCompilerOptionsForInferredProjects(t){this.projectService.setCompilerOptionsForInferredProjects(t.options,t.projectRootPath)}getProjectInfo(t){return this.getProjectInfoWorker(t.file,t.projectFileName,t.needFileNameList,t.needDefaultConfiguredProjectInfo,!1)}getProjectInfoWorker(t,r,i,o,s){const{project:l}=this.getFileAndProjectWorker(t,r);return Dm(l),{configFileName:l.getProjectName(),languageServiceDisabled:!l.languageServiceEnabled,fileNames:i?l.getFileNames(!1,s):void 0,configuredProjectInfo:o?this.getDefaultConfiguredProjectInfo(t):void 0}}getDefaultConfiguredProjectInfo(t){var r;const i=this.projectService.getScriptInfo(t);if(!i)return;const o=this.projectService.findDefaultConfiguredProjectWorker(i,3);if(!o)return;let s,l;return o.seenProjects.forEach((u,d)=>{d!==o.defaultProject&&(u!==3?(s!=null?s:s=[]).push(Ls(d.getConfigFilePath())):(l!=null?l:l=[]).push(Ls(d.getConfigFilePath())))}),(r=o.seenConfigs)==null||r.forEach(u=>(s!=null?s:s=[]).push(u)),{notMatchedByConfig:s,notInProject:l,defaultProject:o.defaultProject&&Ls(o.defaultProject.getConfigFilePath())}}getRenameInfo(t){const{file:r,project:i}=this.getFileAndProject(t),o=this.getPositionInFile(t,r),s=this.getPreferences(r);return i.getLanguageService().getRenameInfo(r,o,s)}getProjects(t,r,i){var l;let o,s;if(t.projectFileName){const u=this.getProject(t.projectFileName);u&&(o=[u])}else{const u=r?this.projectService.getScriptInfoEnsuringProjectsUptoDate(t.file):this.projectService.getScriptInfo(t.file);if(u)r||this.projectService.ensureDefaultProjectForFile(u);else return i?Jc:(this.projectService.logErrorForScriptInfoNotFound(t.file),Iy.ThrowNoProject());o=u.containingProjects,s=this.projectService.getSymlinkedProjects(u)}return o=Fn(o,u=>u.languageServiceEnabled&&!u.isOrphan()),!i&&(!o||!o.length)&&!s?(this.projectService.logErrorForScriptInfoNotFound((l=t.file)!=null?l:t.projectFileName),Iy.ThrowNoProject()):s?{projects:o,symLinkedProjects:s}:o}getDefaultProject(t){if(t.projectFileName){const i=this.getProject(t.projectFileName);if(i)return i;if(!t.file)return Iy.ThrowNoProject()}return this.projectService.getScriptInfo(t.file).getDefaultProject()}getRenameLocations(t,r){const i=Ls(t.file),o=this.getPositionInFile(t,i),s=this.getProjects(t),l=this.getDefaultProject(t),u=this.getPreferences(i),d=this.mapRenameInfo(l.getLanguageService().getRenameInfo(i,o,u),C.checkDefined(this.projectService.getScriptInfo(i)));if(!d.canRename)return r?{info:d,locs:[]}:[];const _=nlt(s,l,{fileName:t.file,pos:o},!!t.findInStrings,!!t.findInComments,u,this.host.useCaseSensitiveFileNames);return r?{info:d,locs:this.toSpanGroups(_)}:_}mapRenameInfo(t,r){if(t.canRename){const{canRename:i,fileToRename:o,displayName:s,fullDisplayName:l,kind:u,kindModifiers:d,triggerSpan:_}=t;return{canRename:i,fileToRename:o,displayName:s,fullDisplayName:l,kind:u,kindModifiers:d,triggerSpan:__(_,r)}}else return t}toSpanGroups(t){const r=new Map;for(const{fileName:i,textSpan:o,contextSpan:s,originalContextSpan:l,originalTextSpan:u,originalFileName:d,..._}of t){let m=r.get(i);m||r.set(i,m={file:i,locs:[]});const y=C.checkDefined(this.projectService.getScriptInfo(i));m.locs.push({...dhe(o,s,y),..._})}return Mo(r.values())}getReferences(t,r){const i=Ls(t.file),o=this.getProjects(t),s=this.getPositionInFile(t,i),l=rlt(o,this.getDefaultProject(t),{fileName:t.file,pos:s},this.host.useCaseSensitiveFileNames,this.logger);if(!r)return l;const u=this.getPreferences(i),d=this.getDefaultProject(t),_=d.getScriptInfoForNormalizedPath(i),m=d.getLanguageService().getQuickInfoAtPosition(i,s),y=m?jO(m.displayParts):"",E=m&&m.textSpan,A=E?_.positionToLineOffset(E.start).offset:0,R=E?_.getSnapshot().getText(E.start,Ml(E)):"";return{refs:Wi(l,M=>M.references.map(k=>YOe(this.projectService,k,u))),symbolName:R,symbolStartOffset:A,symbolDisplayString:y}}getFileReferences(t,r){const i=this.getProjects(t),o=Ls(t.file),s=this.getPreferences(o),l={fileName:o,pos:0},u=che(i,this.getDefaultProject(t),l,l,VOe,m=>(this.logger.info("Finding references to file ".concat(o," in project ").concat(m.getProjectName())),m.getLanguageService().getFileReferences(o)));let d;if(Lo(u))d=u;else{d=[];const m=YX(this.host.useCaseSensitiveFileNames);u.forEach(y=>{for(const E of y)m.has(E)||(d.push(E),m.add(E))})}return r?{refs:d.map(m=>YOe(this.projectService,m,s)),symbolName:'"'.concat(t.file,'"')}:d}openClientFile(t,r,i,o){this.projectService.openClientFileWithNormalizedPath(t,r,i,!1,o)}getPosition(t,r){return t.position!==void 0?t.position:r.lineOffsetToPosition(t.line,t.offset)}getPositionInFile(t,r){const i=this.projectService.getScriptInfoForNormalizedPath(r);return this.getPosition(t,i)}getFileAndProject(t){return this.getFileAndProjectWorker(t.file,t.projectFileName)}getFileAndLanguageServiceForSyntacticOperation(t){const{file:r,project:i}=this.getFileAndProject(t);return{file:r,languageService:i.getLanguageService(!1)}}getFileAndProjectWorker(t,r){const i=Ls(t),o=this.getProject(r)||this.projectService.ensureDefaultProjectForFile(i);return{file:i,project:o}}getOutliningSpans(t,r){const{file:i,languageService:o}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=o.getOutliningSpans(i);if(r){const l=this.projectService.getScriptInfoForNormalizedPath(i);return s.map(u=>({textSpan:__(u.textSpan,l),hintSpan:__(u.hintSpan,l),bannerText:u.bannerText,autoCollapse:u.autoCollapse,kind:u.kind}))}else return s}getTodoComments(t){const{file:r,project:i}=this.getFileAndProject(t);return i.getLanguageService().getTodoComments(r,t.descriptors)}getDocCommentTemplate(t){const{file:r,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=this.getPositionInFile(t,r);return i.getDocCommentTemplateAtPosition(r,o,this.getPreferences(r),this.getFormatOptions(r))}getSpanOfEnclosingComment(t){const{file:r,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=t.onlyMultiLine,s=this.getPositionInFile(t,r);return i.getSpanOfEnclosingComment(r,s,o)}getIndentation(t){const{file:r,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=this.getPositionInFile(t,r),s=t.options?vC(t.options):this.getFormatOptions(r),l=i.getIndentationAtPosition(r,o,s);return{position:o,indentation:l}}getBreakpointStatement(t){const{file:r,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=this.getPositionInFile(t,r);return i.getBreakpointStatementAtPosition(r,o)}getNameOrDottedNameSpan(t){const{file:r,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=this.getPositionInFile(t,r);return i.getNameOrDottedNameSpan(r,o,o)}isValidBraceCompletion(t){const{file:r,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=this.getPositionInFile(t,r);return i.isValidBraceCompletionAtPosition(r,o,t.openingBrace.charCodeAt(0))}getQuickInfoWorker(t,r){const{file:i,project:o}=this.getFileAndProject(t),s=this.projectService.getScriptInfoForNormalizedPath(i),l=this.getPreferences(i),u=o.getLanguageService().getQuickInfoAtPosition(i,this.getPosition(t,s),l.maximumHoverLength,t.verbosityLevel);if(!u)return;const d=!!l.displayPartsForJSDoc;if(r){const _=jO(u.displayParts);return{kind:u.kind,kindModifiers:u.kindModifiers,start:s.positionToLineOffset(u.textSpan.start),end:s.positionToLineOffset(Ml(u.textSpan)),displayString:_,documentation:d?this.mapDisplayParts(u.documentation,o):jO(u.documentation),tags:this.mapJSDocTagInfo(u.tags,o,d),canIncreaseVerbosityLevel:u.canIncreaseVerbosityLevel}}else return d?u:{...u,tags:this.mapJSDocTagInfo(u.tags,o,!1)}}getFormattingEditsForRange(t){const{file:r,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=this.projectService.getScriptInfoForNormalizedPath(r),s=o.lineOffsetToPosition(t.line,t.offset),l=o.lineOffsetToPosition(t.endLine,t.endOffset),u=i.getFormattingEditsForRange(r,s,l,this.getFormatOptions(r));if(u)return u.map(d=>this.convertTextChangeToCodeEdit(d,o))}getFormattingEditsForRangeFull(t){const{file:r,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=t.options?vC(t.options):this.getFormatOptions(r);return i.getFormattingEditsForRange(r,t.position,t.endPosition,o)}getFormattingEditsForDocumentFull(t){const{file:r,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=t.options?vC(t.options):this.getFormatOptions(r);return i.getFormattingEditsForDocument(r,o)}getFormattingEditsAfterKeystrokeFull(t){const{file:r,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=t.options?vC(t.options):this.getFormatOptions(r);return i.getFormattingEditsAfterKeystroke(r,t.position,t.key,o)}getFormattingEditsAfterKeystroke(t){const{file:r,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=this.projectService.getScriptInfoForNormalizedPath(r),s=o.lineOffsetToPosition(t.line,t.offset),l=this.getFormatOptions(r),u=i.getFormattingEditsAfterKeystroke(r,s,t.key,l);if(t.key==="\n"&&(!u||u.length===0||Zst(u,s))){const{lineText:d,absolutePosition:_}=o.textStorage.getAbsolutePositionAndLineText(t.line);if(d&&d.search("\\S")<0){const m=i.getIndentationAtPosition(r,s,l);let y=0,E,A;for(E=0,A=d.length;E<A;E++)if(d.charAt(E)===" ")y++;else if(d.charAt(E)===" ")y+=l.tabSize;else break;if(m!==y){const R=_+E;u.push({span:oc(_,R),newText:Dc.getIndentationString(m,l)})}}}if(u)return u.map(d=>({start:o.positionToLineOffset(d.span.start),end:o.positionToLineOffset(Ml(d.span)),newText:d.newText?d.newText:""}))}getCompletions(t,r){const{file:i,project:o}=this.getFileAndProject(t),s=this.projectService.getScriptInfoForNormalizedPath(i),l=this.getPosition(t,s),u=o.getLanguageService().getCompletionsAtPosition(i,l,{...Hme(this.getPreferences(i)),triggerCharacter:t.triggerCharacter,triggerKind:t.triggerKind,includeExternalModuleExports:t.includeExternalModuleExports,includeInsertTextCompletions:t.includeInsertTextCompletions},o.projectService.getFormatCodeOptions(i));if(u===void 0)return;if(r==="completions-full")return u;const d=t.prefix||"",_=Hi(u.entries,y=>{if(u.isMemberCompletion||fo(y.name.toLowerCase(),d.toLowerCase())){const E=y.replacementSpan?__(y.replacementSpan,s):void 0;return{...y,replacementSpan:E,hasAction:y.hasAction||void 0,symbol:void 0}}});return r==="completions"?(u.metadata&&(_.metadata=u.metadata),_):{...u,optionalReplacementSpan:u.optionalReplacementSpan&&__(u.optionalReplacementSpan,s),entries:_}}getCompletionEntryDetails(t,r){const{file:i,project:o}=this.getFileAndProject(t),s=this.projectService.getScriptInfoForNormalizedPath(i),l=this.getPosition(t,s),u=o.projectService.getFormatCodeOptions(i),d=!!this.getPreferences(i).displayPartsForJSDoc,_=Hi(t.entryNames,m=>{const{name:y,source:E,data:A}=typeof m=="string"?{name:m,source:void 0,data:void 0}:m;return o.getLanguageService().getCompletionEntryDetails(i,l,y,u,E,this.getPreferences(i),A?va(A,flt):void 0)});return r?d?_:_.map(m=>({...m,tags:this.mapJSDocTagInfo(m.tags,o,!1)})):_.map(m=>({...m,codeActions:Gt(m.codeActions,y=>this.mapCodeAction(y)),documentation:this.mapDisplayParts(m.documentation,o),tags:this.mapJSDocTagInfo(m.tags,o,d)}))}getCompileOnSaveAffectedFileList(t){const r=this.getProjects(t,!0,!0),i=this.projectService.getScriptInfo(t.file);return i?tlt(i,o=>this.projectService.getScriptInfoForPath(o),r,(o,s)=>{if(!o.compileOnSaveEnabled||!o.languageServiceEnabled||o.isOrphan())return;const l=o.getCompilationSettings();if(!(l.noEmit||ad(s.fileName)&&!Qst(l)))return{projectFileName:o.getProjectName(),fileNames:o.getCompileOnSaveAffectedFileList(s),projectUsesOutFile:!!l.outFile}}):Jc}emitFile(t){const{file:r,project:i}=this.getFileAndProject(t);if(i||Iy.ThrowNoProject(),!i.languageServiceEnabled)return t.richResponse?{emitSkipped:!0,diagnostics:[]}:!1;const o=i.getScriptInfo(r),{emitSkipped:s,diagnostics:l}=i.emitFile(o,(u,d,_)=>this.host.writeFile(u,d,_));return t.richResponse?{emitSkipped:s,diagnostics:t.includeLinePosition?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(l):l.map(u=>v8(u,!0))}:!s}getSignatureHelpItems(t,r){const{file:i,project:o}=this.getFileAndProject(t),s=this.projectService.getScriptInfoForNormalizedPath(i),l=this.getPosition(t,s),u=o.getLanguageService().getSignatureHelpItems(i,l,t),d=!!this.getPreferences(i).displayPartsForJSDoc;if(u&&r){const _=u.applicableSpan;return{...u,applicableSpan:{start:s.positionToLineOffset(_.start),end:s.positionToLineOffset(_.start+_.length)},items:this.mapSignatureHelpItems(u.items,o,d)}}else return d||!u?u:{...u,items:u.items.map(_=>({..._,tags:this.mapJSDocTagInfo(_.tags,o,!1)}))}}toPendingErrorCheck(t){const r=Ls(t),i=this.projectService.tryGetDefaultProjectForFile(r);return i&&{fileName:r,project:i}}getDiagnostics(t,r,i){this.suppressDiagnosticEvents||i.length>0&&this.updateErrorCheck(t,i,r)}change(t){const r=this.projectService.getScriptInfo(t.file);C.assert(!!r),r.textStorage.switchToScriptVersionCache();const i=r.lineOffsetToPosition(t.line,t.offset),o=r.lineOffsetToPosition(t.endLine,t.endOffset);i>=0&&(this.changeSeq++,this.projectService.applyChangesToFile(r,GW({span:{start:i,length:o-i},newText:t.insertString})))}reload(t){const r=Ls(t.file),i=t.tmpfile===void 0?void 0:Ls(t.tmpfile),o=this.projectService.getScriptInfoForNormalizedPath(r);o&&(this.changeSeq++,o.reloadFromFile(i))}saveToTmp(t,r){const i=this.projectService.getScriptInfo(t);i&&i.saveTo(r)}closeClientFile(t){if(!t)return;const r=Sa(t);this.projectService.closeClientFile(r)}mapLocationNavigationBarItems(t,r){return Gt(t,i=>({text:i.text,kind:i.kind,kindModifiers:i.kindModifiers,spans:i.spans.map(o=>__(o,r)),childItems:this.mapLocationNavigationBarItems(i.childItems,r),indent:i.indent}))}getNavigationBarItems(t,r){const{file:i,languageService:o}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=o.getNavigationBarItems(i);return s?r?this.mapLocationNavigationBarItems(s,this.projectService.getScriptInfoForNormalizedPath(i)):s:void 0}toLocationNavigationTree(t,r){return{text:t.text,kind:t.kind,kindModifiers:t.kindModifiers,spans:t.spans.map(i=>__(i,r)),nameSpan:t.nameSpan&&__(t.nameSpan,r),childItems:Gt(t.childItems,i=>this.toLocationNavigationTree(i,r))}}getNavigationTree(t,r){const{file:i,languageService:o}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=o.getNavigationTree(i);return s?r?this.toLocationNavigationTree(s,this.projectService.getScriptInfoForNormalizedPath(i)):s:void 0}getNavigateToItems(t,r){const i=this.getFullNavigateToItems(t);return r?Wi(i,({project:o,navigateToItems:s})=>s.map(l=>{const u=o.getScriptInfo(l.fileName),d={name:l.name,kind:l.kind,kindModifiers:l.kindModifiers,isCaseSensitive:l.isCaseSensitive,matchKind:l.matchKind,file:l.fileName,start:u.positionToLineOffset(l.textSpan.start),end:u.positionToLineOffset(Ml(l.textSpan))};return l.kindModifiers&&l.kindModifiers!==""&&(d.kindModifiers=l.kindModifiers),l.containerName&&l.containerName.length>0&&(d.containerName=l.containerName),l.containerKind&&l.containerKind.length>0&&(d.containerKind=l.containerKind),d})):Wi(i,({navigateToItems:o})=>o)}getFullNavigateToItems(t){const{currentFileOnly:r,searchValue:i,maxResultCount:o,projectFileName:s}=t;if(r){C.assertIsDefined(t.file);const{file:E,project:A}=this.getFileAndProject(t);return[{project:A,navigateToItems:A.getLanguageService().getNavigateToItems(i,o,E)}]}const l=this.getHostPreferences(),u=[],d=new Map;if(!t.file&&!s)this.projectService.loadAncestorProjectTree(),this.projectService.forEachEnabledProject(E=>_(E));else{const E=this.getProjects(t);GOe(E,void 0,A=>_(A))}return u;function _(E){const A=E.getLanguageService().getNavigateToItems(i,o,void 0,E.isNonTsProject(),l.excludeLibrarySymbolsInNavTo),R=Fn(A,N=>m(N)&&!$X(tL(N),E));R.length&&u.push({project:E,navigateToItems:R})}function m(E){const A=E.name;if(!d.has(A))return d.set(A,[E]),!0;const R=d.get(A);for(const N of R)if(y(N,E))return!1;return R.push(E),!0}function y(E,A){return E===A?!0:!E||!A?!1:E.containerKind===A.containerKind&&E.containerName===A.containerName&&E.fileName===A.fileName&&E.isCaseSensitive===A.isCaseSensitive&&E.kind===A.kind&&E.kindModifiers===A.kindModifiers&&E.matchKind===A.matchKind&&E.name===A.name&&E.textSpan.start===A.textSpan.start&&E.textSpan.length===A.textSpan.length}}getSupportedCodeFixes(t){if(!t)return fK();if(t.file){const{file:i,project:o}=this.getFileAndProject(t);return o.getLanguageService().getSupportedCodeFixes(i)}const r=this.getProject(t.projectFileName);return r||Iy.ThrowNoProject(),r.getLanguageService().getSupportedCodeFixes()}isLocation(t){return t.line!==void 0}extractPositionOrRange(t,r){let i,o;return this.isLocation(t)?i=s(t):o=this.getRange(t,r),C.checkDefined(i===void 0?o:i);function s(l){return l.position!==void 0?l.position:r.lineOffsetToPosition(l.line,l.offset)}}getRange(t,r){const{startPosition:i,endPosition:o}=this.getStartAndEndPosition(t,r);return{pos:i,end:o}}getApplicableRefactors(t){const{file:r,project:i}=this.getFileAndProject(t),o=i.getScriptInfoForNormalizedPath(r);return i.getLanguageService().getApplicableRefactors(r,this.extractPositionOrRange(t,o),this.getPreferences(r),t.triggerReason,t.kind,t.includeInteractiveActions).map(l=>({...l,actions:l.actions.map(u=>({...u,range:u.range?{start:bC({line:u.range.start.line,character:u.range.start.offset}),end:bC({line:u.range.end.line,character:u.range.end.offset})}:void 0}))}))}getEditsForRefactor(t,r){const{file:i,project:o}=this.getFileAndProject(t),s=o.getScriptInfoForNormalizedPath(i),l=o.getLanguageService().getEditsForRefactor(i,this.getFormatOptions(i),this.extractPositionOrRange(t,s),t.refactor,t.action,this.getPreferences(i),t.interactiveRefactorArguments);if(l===void 0)return{edits:[]};if(r){const{renameFilename:u,renameLocation:d,edits:_}=l;let m;if(u!==void 0&&d!==void 0){const y=o.getScriptInfoForNormalizedPath(Ls(u));m=uhe(mx(y.getSnapshot()),u,d,_)}return{renameLocation:m,renameFilename:u,edits:this.mapTextChangesToCodeEdits(_),notApplicableReason:l.notApplicableReason}}return l}getMoveToRefactoringFileSuggestions(t){const{file:r,project:i}=this.getFileAndProject(t),o=i.getScriptInfoForNormalizedPath(r);return i.getLanguageService().getMoveToRefactoringFileSuggestions(r,this.extractPositionOrRange(t,o),this.getPreferences(r))}preparePasteEdits(t){const{file:r,project:i}=this.getFileAndProject(t);return i.getLanguageService().preparePasteEditsForFile(r,t.copiedTextSpan.map(o=>this.getRange({file:r,startLine:o.start.line,startOffset:o.start.offset,endLine:o.end.line,endOffset:o.end.offset},this.projectService.getScriptInfoForNormalizedPath(r))))}getPasteEdits(t){const{file:r,project:i}=this.getFileAndProject(t);if(ZP(r))return;const o=t.copiedFrom?{file:t.copiedFrom.file,range:t.copiedFrom.spans.map(l=>this.getRange({file:t.copiedFrom.file,startLine:l.start.line,startOffset:l.start.offset,endLine:l.end.line,endOffset:l.end.offset},i.getScriptInfoForNormalizedPath(Ls(t.copiedFrom.file))))}:void 0,s=i.getLanguageService().getPasteEdits({targetFile:r,pastedText:t.pastedText,pasteLocations:t.pasteLocations.map(l=>this.getRange({file:r,startLine:l.start.line,startOffset:l.start.offset,endLine:l.end.line,endOffset:l.end.offset},i.getScriptInfoForNormalizedPath(r))),copiedFrom:o,preferences:this.getPreferences(r)},this.getFormatOptions(r));return s&&this.mapPasteEditsAction(s)}organizeImports(t,r){var l;C.assert(t.scope.type==="file");const{file:i,project:o}=this.getFileAndProject(t.scope.args),s=o.getLanguageService().organizeImports({fileName:i,mode:(l=t.mode)!=null?l:t.skipDestructiveCodeActions?"SortAndCombine":void 0,type:"file"},this.getFormatOptions(i),this.getPreferences(i));return r?this.mapTextChangesToCodeEdits(s):s}getEditsForFileRename(t,r){const i=Ls(t.oldFilePath),o=Ls(t.newFilePath),s=this.getHostFormatOptions(),l=this.getHostPreferences(),u=new Set,d=[];return this.projectService.loadAncestorProjectTree(),this.projectService.forEachEnabledProject(_=>{const m=_.getLanguageService().getEditsForFileRename(i,o,s,l),y=[];for(const E of m)u.has(E.fileName)||(d.push(E),y.push(E.fileName));for(const E of y)u.add(E)}),r?d.map(_=>this.mapTextChangeToCodeEdit(_)):d}getCodeFixes(t,r){const{file:i,project:o}=this.getFileAndProject(t),s=o.getScriptInfoForNormalizedPath(i),{startPosition:l,endPosition:u}=this.getStartAndEndPosition(t,s);let d;try{d=o.getLanguageService().getCodeFixesAtPosition(i,l,u,t.errorCodes,this.getFormatOptions(i),this.getPreferences(i))}catch(_){const m=_ instanceof Error?_:new Error(_),y=o.getLanguageService(),E=[...y.getSyntacticDiagnostics(i),...y.getSemanticDiagnostics(i),...y.getSuggestionDiagnostics(i)].filter(R=>L2(l,u-l,R.start,R.length)).map(R=>R.code),A=t.errorCodes.find(R=>!E.includes(R));throw A!==void 0&&(m.message+="\nAdditional information: BADCLIENT: Bad error code, ".concat(A," not found in range ").concat(l,"..").concat(u," (found: ").concat(E.join(", "),")")),m}return r?d.map(_=>this.mapCodeFixAction(_)):d}getCombinedCodeFix({scope:t,fixId:r},i){C.assert(t.type==="file");const{file:o,project:s}=this.getFileAndProject(t.args),l=s.getLanguageService().getCombinedCodeFix({type:"file",fileName:o},r,this.getFormatOptions(o),this.getPreferences(o));return i?{changes:this.mapTextChangesToCodeEdits(l.changes),commands:l.commands}:l}applyCodeActionCommand(t){const r=t.command;for(const i of ZA(r)){const{file:o,project:s}=this.getFileAndProject(i);s.getLanguageService().applyCodeActionCommand(i,this.getFormatOptions(o)).then(l=>{},l=>{})}return{}}getStartAndEndPosition(t,r){let i,o;return t.startPosition!==void 0?i=t.startPosition:(i=r.lineOffsetToPosition(t.startLine,t.startOffset),t.startPosition=i),t.endPosition!==void 0?o=t.endPosition:(o=r.lineOffsetToPosition(t.endLine,t.endOffset),t.endPosition=o),{startPosition:i,endPosition:o}}mapCodeAction({description:t,changes:r,commands:i}){return{description:t,changes:this.mapTextChangesToCodeEdits(r),commands:i}}mapCodeFixAction({fixName:t,description:r,changes:i,commands:o,fixId:s,fixAllDescription:l}){return{fixName:t,description:r,changes:this.mapTextChangesToCodeEdits(i),commands:o,fixId:s,fixAllDescription:l}}mapPasteEditsAction({edits:t,fixId:r}){return{edits:this.mapTextChangesToCodeEdits(t),fixId:r}}mapTextChangesToCodeEdits(t){return t.map(r=>this.mapTextChangeToCodeEdit(r))}mapTextChangeToCodeEdit(t){const r=this.projectService.getScriptInfoOrConfig(t.fileName);return!!t.isNewFile==!!r&&(r||this.projectService.logErrorForScriptInfoNotFound(t.fileName),C.fail("Expected isNewFile for (only) new files. "+JSON.stringify({isNewFile:!!t.isNewFile,hasScriptInfo:!!r}))),r?{fileName:t.fileName,textChanges:t.textChanges.map(i=>slt(i,r))}:dlt(t)}convertTextChangeToCodeEdit(t,r){return{start:r.positionToLineOffset(t.span.start),end:r.positionToLineOffset(t.span.start+t.span.length),newText:t.newText?t.newText:""}}getBraceMatching(t,r){const{file:i,languageService:o}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.projectService.getScriptInfoForNormalizedPath(i),l=this.getPosition(t,s),u=o.getBraceMatchingAtPosition(i,l);return u?r?u.map(d=>__(d,s)):u:void 0}getDiagnosticsForProject(t,r,i){if(this.suppressDiagnosticEvents)return;const{fileNames:o,languageServiceDisabled:s}=this.getProjectInfoWorker(i,void 0,!0,void 0,!0);if(s)return;const l=o.filter(N=>!N.includes("lib.d.ts"));if(l.length===0)return;const u=[],d=[],_=[],m=[],y=Ls(i),E=this.projectService.ensureDefaultProjectForFile(y);for(const N of l)this.getCanonicalFileName(N)===this.getCanonicalFileName(i)?u.push(N):this.projectService.getScriptInfo(N).isScriptOpen()?d.push(N):ad(N)?m.push(N):_.push(N);const R=[...u,...d,..._,...m].map(N=>({fileName:N,project:E}));this.updateErrorCheck(t,R,r,!1)}configurePlugin(t){this.projectService.configurePlugin(t)}getSmartSelectionRange(t,r){const{locations:i}=t,{file:o,languageService:s}=this.getFileAndLanguageServiceForSyntacticOperation(t),l=C.checkDefined(this.projectService.getScriptInfo(o));return Gt(i,u=>{const d=this.getPosition(u,l),_=s.getSmartSelectionRange(o,d);return r?this.mapSelectionRange(_,l):_})}toggleLineComment(t,r){const{file:i,languageService:o}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.projectService.getScriptInfo(i),l=this.getRange(t,s),u=o.toggleLineComment(i,l);if(r){const d=this.projectService.getScriptInfoForNormalizedPath(i);return u.map(_=>this.convertTextChangeToCodeEdit(_,d))}return u}toggleMultilineComment(t,r){const{file:i,languageService:o}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.projectService.getScriptInfoForNormalizedPath(i),l=this.getRange(t,s),u=o.toggleMultilineComment(i,l);if(r){const d=this.projectService.getScriptInfoForNormalizedPath(i);return u.map(_=>this.convertTextChangeToCodeEdit(_,d))}return u}commentSelection(t,r){const{file:i,languageService:o}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.projectService.getScriptInfoForNormalizedPath(i),l=this.getRange(t,s),u=o.commentSelection(i,l);if(r){const d=this.projectService.getScriptInfoForNormalizedPath(i);return u.map(_=>this.convertTextChangeToCodeEdit(_,d))}return u}uncommentSelection(t,r){const{file:i,languageService:o}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.projectService.getScriptInfoForNormalizedPath(i),l=this.getRange(t,s),u=o.uncommentSelection(i,l);if(r){const d=this.projectService.getScriptInfoForNormalizedPath(i);return u.map(_=>this.convertTextChangeToCodeEdit(_,d))}return u}mapSelectionRange(t,r){const i={textSpan:__(t.textSpan,r)};return t.parent&&(i.parent=this.mapSelectionRange(t.parent,r)),i}getScriptInfoFromProjectService(t){const r=Ls(t),i=this.projectService.getScriptInfoForNormalizedPath(r);return i||(this.projectService.logErrorForScriptInfoNotFound(r),Iy.ThrowNoProject())}toProtocolCallHierarchyItem(t){const r=this.getScriptInfoFromProjectService(t.file);return{name:t.name,kind:t.kind,kindModifiers:t.kindModifiers,file:t.file,containerName:t.containerName,span:__(t.span,r),selectionSpan:__(t.selectionSpan,r)}}toProtocolCallHierarchyIncomingCall(t){const r=this.getScriptInfoFromProjectService(t.from.file);return{from:this.toProtocolCallHierarchyItem(t.from),fromSpans:t.fromSpans.map(i=>__(i,r))}}toProtocolCallHierarchyOutgoingCall(t,r){return{to:this.toProtocolCallHierarchyItem(t.to),fromSpans:t.fromSpans.map(i=>__(i,r))}}prepareCallHierarchy(t){const{file:r,project:i}=this.getFileAndProject(t),o=this.projectService.getScriptInfoForNormalizedPath(r);if(o){const s=this.getPosition(t,o),l=i.getLanguageService().prepareCallHierarchy(r,s);return l&&EJ(l,u=>this.toProtocolCallHierarchyItem(u))}}provideCallHierarchyIncomingCalls(t){const{file:r,project:i}=this.getFileAndProject(t),o=this.getScriptInfoFromProjectService(r);return i.getLanguageService().provideCallHierarchyIncomingCalls(r,this.getPosition(t,o)).map(l=>this.toProtocolCallHierarchyIncomingCall(l))}provideCallHierarchyOutgoingCalls(t){const{file:r,project:i}=this.getFileAndProject(t),o=this.getScriptInfoFromProjectService(r);return i.getLanguageService().provideCallHierarchyOutgoingCalls(r,this.getPosition(t,o)).map(l=>this.toProtocolCallHierarchyOutgoingCall(l,o))}getCanonicalFileName(t){const r=this.host.useCaseSensitiveFileNames?t:ob(t);return Sa(r)}exit(){}notRequired(t){return t&&this.doOutput(void 0,t.command,t.seq,!0,this.performanceData),{responseRequired:!1,performanceData:this.performanceData}}requiredResponse(t){return{response:t,responseRequired:!0,performanceData:this.performanceData}}addProtocolHandler(t,r){if(this.handlers.has(t))throw new Error('Protocol handler already exists for command "'.concat(t,'"'));this.handlers.set(t,r)}setCurrentRequest(t){C.assert(this.currentRequestId===void 0),this.currentRequestId=t,this.cancellationToken.setRequest(t)}resetCurrentRequest(t){C.assert(this.currentRequestId===t),this.currentRequestId=void 0,this.cancellationToken.resetRequest(t)}executeWithRequestId(t,r,i){const o=this.performanceData;try{return this.performanceData=i,this.setCurrentRequest(t),r()}finally{this.resetCurrentRequest(t),this.performanceData=o}}executeCommand(t){const r=this.handlers.get(t.command);if(r){const i=this.executeWithRequestId(t.seq,()=>r(t),void 0);return this.projectService.enableRequestedPlugins(),i}else return this.logger.msg("Unrecognized JSON command:".concat(pT(t)),"Err"),this.doOutput(void 0,"unknown",t.seq,!1,void 0,"Unrecognized JSON command: ".concat(t.command)),{responseRequired:!1}}onMessage(t){var r,i,o,s,l,u,d;this.gcTimer.scheduleCollect();let _;const m=this.performanceData;this.logger.hasLevel(2)&&(_=this.hrtime(),this.logger.hasLevel(3)&&this.logger.info("request:".concat(IP(this.toStringMessage(t)))));let y,E;try{y=this.parseMessage(t),E=y.arguments&&y.arguments.file?y.arguments:void 0,(r=Ar)==null||r.instant(Ar.Phase.Session,"request",{seq:y.seq,command:y.command}),(i=Ar)==null||i.push(Ar.Phase.Session,"executeCommand",{seq:y.seq,command:y.command},!0);const{response:A,responseRequired:R,performanceData:N}=this.executeCommand(y);if((o=Ar)==null||o.pop(),this.logger.hasLevel(2)){const M=$st(this.hrtime(_)).toFixed(4);R?this.logger.perftrc("".concat(y.seq,"::").concat(y.command,": elapsed time (in milliseconds) ").concat(M)):this.logger.perftrc("".concat(y.seq,"::").concat(y.command,": async elapsed time (in milliseconds) ").concat(M))}(s=Ar)==null||s.instant(Ar.Phase.Session,"response",{seq:y.seq,command:y.command,success:!!A}),A?this.doOutput(A,y.command,y.seq,!0,N):R&&this.doOutput(void 0,y.command,y.seq,!1,N,"No content available.")}catch(A){if((l=Ar)==null||l.popAll(),A instanceof SN){(u=Ar)==null||u.instant(Ar.Phase.Session,"commandCanceled",{seq:y==null?void 0:y.seq,command:y==null?void 0:y.command}),this.doOutput({canceled:!0},y.command,y.seq,!0,this.performanceData);return}this.logErrorWorker(A,this.toStringMessage(t),E),(d=Ar)==null||d.instant(Ar.Phase.Session,"commandError",{seq:y==null?void 0:y.seq,command:y==null?void 0:y.command,message:A.message}),this.doOutput(void 0,y?y.command:"unknown",y?y.seq:0,!1,this.performanceData,"Error processing request. "+A.message+"\n"+A.stack)}finally{this.performanceData=m}}parseMessage(t){return JSON.parse(t)}toStringMessage(t){return t}getFormatOptions(t){return this.projectService.getFormatCodeOptions(t)}getPreferences(t){return this.projectService.getPreferences(t)}getHostFormatOptions(){return this.projectService.getHostFormatCodeOptions()}getHostPreferences(){return this.projectService.getHostPreferences()}};function KOe(e){const t=e.diagnosticsDuration&&Mo(e.diagnosticsDuration,([r,i])=>({...i,file:r}));return{...e,diagnosticsDuration:t}}function __(e,t){return{start:t.positionToLineOffset(e.start),end:t.positionToLineOffset(Ml(e))}}function dhe(e,t,r){const i=__(e,r),o=t&&__(t,r);return o?{...i,contextStart:o.start,contextEnd:o.end}:i}function slt(e,t){return{start:XOe(t,e.span.start),end:XOe(t,Ml(e.span)),newText:e.newText}}function XOe(e,t){return rhe(e)?clt(e.getLineAndCharacterOfPosition(t)):e.positionToLineOffset(t)}function llt(e,t){const r=e.ranges.map(i=>({start:t.positionToLineOffset(i.start),end:t.positionToLineOffset(i.start+i.length)}));return e.wordPattern?{ranges:r,wordPattern:e.wordPattern}:{ranges:r}}function clt(e){return{line:e.line+1,offset:e.character+1}}function dlt(e){C.assert(e.textChanges.length===1);const t=Qa(e.textChanges);return C.assert(t.span.start===0&&t.span.length===0),{fileName:e.fileName,textChanges:[{start:{line:0,offset:0},end:{line:0,offset:0},newText:t.newText}]}}function uhe(e,t,r,i){const o=ult(e,t,i),{line:s,character:l}=wR(oI(o),r);return{line:s+1,offset:l+1}}function ult(e,t,r){for(const{fileName:i,textChanges:o}of r)if(i===t)for(let s=o.length-1;s>=0;s--){const{newText:l,span:{start:u,length:d}}=o[s];e=e.slice(0,u)+l+e.slice(u+d)}return e}function YOe(e,{fileName:t,textSpan:r,contextSpan:i,isWriteAccess:o,isDefinition:s},{disableLineTextInReferences:l}){const u=C.checkDefined(e.getScriptInfo(t)),d=dhe(r,i,u),_=l?void 0:plt(u,d);return{file:t,...d,lineText:_,isWriteAccess:o,isDefinition:s}}function plt(e,t){const r=e.lineToTextSpan(t.start.line-1);return e.getSnapshot().getText(r.start,Ml(r)).replace(/\r|\n/g,"")}function flt(e){return e===void 0||e&&typeof e=="object"&&typeof e.exportName=="string"&&(e.fileName===void 0||typeof e.fileName=="string")&&(e.ambientModuleName===void 0||typeof e.ambientModuleName=="string"&&(e.isPackageJsonImport===void 0||typeof e.isPackageJsonImport=="boolean"))}var TC=4,phe=(e=>(e[e.PreStart=0]="PreStart",e[e.Start=1]="Start",e[e.Entire=2]="Entire",e[e.Mid=3]="Mid",e[e.End=4]="End",e[e.PostEnd=5]="PostEnd",e))(phe||{}),mlt=class{constructor(){this.goSubtree=!0,this.lineIndex=new b8,this.endBranch=[],this.state=2,this.initialText="",this.trailingText="",this.lineIndex.root=new SC,this.startPath=[this.lineIndex.root],this.stack=[this.lineIndex.root]}get done(){return!1}insertLines(e,t){t&&(this.trailingText=""),e?e=this.initialText+e+this.trailingText:e=this.initialText+this.trailingText;const i=b8.linesFromText(e).lines;i.length>1&&i[i.length-1]===""&&i.pop();let o,s;for(let u=this.endBranch.length-1;u>=0;u--)this.endBranch[u].updateCounts(),this.endBranch[u].charCount()===0&&(s=this.endBranch[u],u>0?o=this.endBranch[u-1]:o=this.branchNode);s&&o.remove(s);const l=this.startPath[this.startPath.length-1];if(i.length>0)if(l.text=i[0],i.length>1){let u=new Array(i.length-1),d=l;for(let y=1;y<i.length;y++)u[y-1]=new Gz(i[y]);let _=this.startPath.length-2;for(;_>=0;){const y=this.startPath[_];u=y.insertAt(d,u),_--,d=y}let m=u.length;for(;m>0;){const y=new SC;y.add(this.lineIndex.root),u=y.insertAt(this.lineIndex.root,u),m=u.length,this.lineIndex.root=y}this.lineIndex.root.updateCounts()}else for(let u=this.startPath.length-2;u>=0;u--)this.startPath[u].updateCounts();else{this.startPath[this.startPath.length-2].remove(l);for(let d=this.startPath.length-2;d>=0;d--)this.startPath[d].updateCounts()}return this.lineIndex}post(e,t,r){r===this.lineCollectionAtBranch&&(this.state=4),this.stack.pop()}pre(e,t,r,i,o){const s=this.stack[this.stack.length-1];this.state===2&&o===1&&(this.state=1,this.branchNode=s,this.lineCollectionAtBranch=r);let l;function u(d){return d.isLeaf()?new Gz(""):new SC}switch(o){case 0:this.goSubtree=!1,this.state!==4&&s.add(r);break;case 1:this.state===4?this.goSubtree=!1:(l=u(r),s.add(l),this.startPath.push(l));break;case 2:this.state!==4?(l=u(r),s.add(l),this.startPath.push(l)):r.isLeaf()||(l=u(r),s.add(l),this.endBranch.push(l));break;case 3:this.goSubtree=!1;break;case 4:this.state!==4?this.goSubtree=!1:r.isLeaf()||(l=u(r),s.add(l),this.endBranch.push(l));break;case 5:this.goSubtree=!1,this.state!==1&&s.add(r);break}this.goSubtree&&this.stack.push(l)}leaf(e,t,r){this.state===1?this.initialText=r.text.substring(0,e):this.state===2?(this.initialText=r.text.substring(0,e),this.trailingText=r.text.substring(e+t)):this.trailingText=r.text.substring(e+t)}},hlt=class{constructor(e,t,r){this.pos=e,this.deleteLen=t,this.insertedText=r}getTextChangeRange(){return k2(Ad(this.pos,this.deleteLen),this.insertedText?this.insertedText.length:0)}},QX=class jA{constructor(){this.changes=[],this.versions=new Array(jA.maxVersions),this.minVersion=0,this.currentVersion=0}versionToIndex(t){if(!(t<this.minVersion||t>this.currentVersion))return t%jA.maxVersions}currentVersionToIndex(){return this.currentVersion%jA.maxVersions}edit(t,r,i){this.changes.push(new hlt(t,r,i)),(this.changes.length>jA.changeNumberThreshold||r>jA.changeLengthThreshold||i&&i.length>jA.changeLengthThreshold)&&this.getSnapshot()}getSnapshot(){return this._getSnapshot()}_getSnapshot(){let t=this.versions[this.currentVersionToIndex()];if(this.changes.length>0){let r=t.index;for(const i of this.changes)r=r.edit(i.pos,i.deleteLen,i.insertedText);t=new $Oe(this.currentVersion+1,this,r,this.changes),this.currentVersion=t.version,this.versions[this.currentVersionToIndex()]=t,this.changes=[],this.currentVersion-this.minVersion>=jA.maxVersions&&(this.minVersion=this.currentVersion-jA.maxVersions+1)}return t}getSnapshotVersion(){return this._getSnapshot().version}getAbsolutePositionAndLineText(t){return this._getSnapshot().index.lineNumberToInfo(t)}lineOffsetToPosition(t,r){return this._getSnapshot().index.absolutePositionOfStartOfLine(t)+(r-1)}positionToLineOffset(t){return this._getSnapshot().index.positionToLineOffset(t)}lineToTextSpan(t){const r=this._getSnapshot().index,{lineText:i,absolutePosition:o}=r.lineNumberToInfo(t+1),s=i!==void 0?i.length:r.absolutePositionOfStartOfLine(t+2)-o;return Ad(o,s)}getTextChangesBetweenVersions(t,r){if(t<r)if(t>=this.minVersion){const i=[];for(let o=t+1;o<=r;o++){const s=this.versions[this.versionToIndex(o)];for(const l of s.changesSincePreviousVersion)i.push(l.getTextChangeRange())}return Yee(i)}else return;else return uF}getLineCount(){return this._getSnapshot().index.getLineCount()}static fromString(t){const r=new jA,i=new $Oe(0,r,new b8);r.versions[r.currentVersion]=i;const o=b8.linesFromText(t);return i.index.load(o.lines),r}};QX.changeNumberThreshold=8,QX.changeLengthThreshold=256,QX.maxVersions=8;var ZX=QX,$Oe=class eze{constructor(t,r,i,o=Jc){this.version=t,this.cache=r,this.index=i,this.changesSincePreviousVersion=o}getText(t,r){return this.index.getText(t,r-t)}getLength(){return this.index.getLength()}getChangeRange(t){if(t instanceof eze&&this.cache===t.cache)return this.version<=t.version?uF:this.cache.getTextChangesBetweenVersions(t.version,this.version)}},b8=class ive{constructor(){this.checkEdits=!1}absolutePositionOfStartOfLine(t){return this.lineNumberToInfo(t).absolutePosition}positionToLineOffset(t){const{oneBasedLine:r,zeroBasedColumn:i}=this.root.charOffsetToLineInfo(1,t);return{line:r,offset:i+1}}positionToColumnAndLineText(t){return this.root.charOffsetToLineInfo(1,t)}getLineCount(){return this.root.lineCount()}lineNumberToInfo(t){const r=this.getLineCount();if(t<=r){const{position:i,leaf:o}=this.root.lineNumberToInfo(t,0);return{absolutePosition:i,lineText:o&&o.text}}else return{absolutePosition:this.root.charCount(),lineText:void 0}}load(t){if(t.length>0){const r=[];for(let i=0;i<t.length;i++)r[i]=new Gz(t[i]);this.root=ive.buildTreeFromBottom(r)}else this.root=new SC}walk(t,r,i){this.root.walk(t,r,i)}getText(t,r){let i="";return r>0&&t<this.root.charCount()&&this.walk(t,r,{goSubtree:!0,done:!1,leaf:(o,s,l)=>{i=i.concat(l.text.substring(o,o+s))}}),i}getLength(){return this.root.charCount()}every(t,r,i){i||(i=this.root.charCount());const o={goSubtree:!0,done:!1,leaf(s,l,u){t(u,s,l)||(this.done=!0)}};return this.walk(r,i-r,o),!o.done}edit(t,r,i){if(this.root.charCount()===0)return C.assert(r===0),i!==void 0?(this.load(ive.linesFromText(i).lines),this):void 0;{let o;if(this.checkEdits){const u=this.getText(0,this.root.charCount());o=u.slice(0,t)+i+u.slice(t+r)}const s=new mlt;let l=!1;if(t>=this.root.charCount()){t=this.root.charCount()-1;const u=this.getText(t,1);i?i=u+i:i=u,r=0,l=!0}else if(r>0){const u=t+r,{zeroBasedColumn:d,lineText:_}=this.positionToColumnAndLineText(u);d===0&&(r+=_.length,i=i?i+_:_)}if(this.root.walk(t,r,s),s.insertLines(i,l),this.checkEdits){const u=s.lineIndex.getText(0,s.lineIndex.getLength());C.assert(o===u,"buffer edit mismatch")}return s.lineIndex}}static buildTreeFromBottom(t){if(t.length<TC)return new SC(t);const r=new Array(Math.ceil(t.length/TC));let i=0;for(let o=0;o<r.length;o++){const s=Math.min(i+TC,t.length);r[o]=new SC(t.slice(i,s)),i=s}return this.buildTreeFromBottom(r)}static linesFromText(t){const r=oI(t);if(r.length===0)return{lines:[],lineMap:r};const i=new Array(r.length),o=r.length-1;for(let l=0;l<o;l++)i[l]=t.substring(r[l],r[l+1]);const s=t.substring(r[o]);return s.length>0?i[o]=s:i.pop(),{lines:i,lineMap:r}}},SC=class ove{constructor(t=[]){this.children=t,this.totalChars=0,this.totalLines=0,t.length&&this.updateCounts()}isLeaf(){return!1}updateCounts(){this.totalChars=0,this.totalLines=0;for(const t of this.children)this.totalChars+=t.charCount(),this.totalLines+=t.lineCount()}execWalk(t,r,i,o,s){return i.pre&&i.pre(t,r,this.children[o],this,s),i.goSubtree?(this.children[o].walk(t,r,i),i.post&&i.post(t,r,this.children[o],this,s)):i.goSubtree=!0,i.done}skipChild(t,r,i,o,s){o.pre&&!o.done&&(o.pre(t,r,this.children[i],this,s),o.goSubtree=!0)}walk(t,r,i){if(this.children.length===0)return;let o=0,s=this.children[o].charCount(),l=t;for(;l>=s;)this.skipChild(l,r,o,i,0),l-=s,o++,s=this.children[o].charCount();if(l+r<=s){if(this.execWalk(l,r,i,o,2))return}else{if(this.execWalk(l,s-l,i,o,1))return;let u=r-(s-l);for(o++,s=this.children[o].charCount();u>s;){if(this.execWalk(0,s,i,o,3))return;u-=s,o++,s=this.children[o].charCount()}if(u>0&&this.execWalk(0,u,i,o,4))return}if(i.pre){const u=this.children.length;if(o<u-1)for(let d=o+1;d<u;d++)this.skipChild(0,0,d,i,5)}}charOffsetToLineInfo(t,r){if(this.children.length===0)return{oneBasedLine:t,zeroBasedColumn:r,lineText:void 0};for(const s of this.children){if(s.charCount()>r)return s.isLeaf()?{oneBasedLine:t,zeroBasedColumn:r,lineText:s.text}:s.charOffsetToLineInfo(t,r);r-=s.charCount(),t+=s.lineCount()}const i=this.lineCount();if(i===0)return{oneBasedLine:1,zeroBasedColumn:0,lineText:void 0};const o=C.checkDefined(this.lineNumberToInfo(i,0).leaf);return{oneBasedLine:i,zeroBasedColumn:o.charCount(),lineText:void 0}}lineNumberToInfo(t,r){for(const i of this.children){const o=i.lineCount();if(o>=t)return i.isLeaf()?{position:r,leaf:i}:i.lineNumberToInfo(t,r);t-=o,r+=i.charCount()}return{position:r,leaf:void 0}}splitAfter(t){let r;const i=this.children.length;t++;const o=t;if(t<i){for(r=new ove;t<i;)r.add(this.children[t]),t++;r.updateCounts()}return this.children.length=o,r}remove(t){const r=this.findChildIndex(t),i=this.children.length;if(r<i-1)for(let o=r;o<i-1;o++)this.children[o]=this.children[o+1];this.children.pop()}findChildIndex(t){const r=this.children.indexOf(t);return C.assert(r!==-1),r}insertAt(t,r){let i=this.findChildIndex(t);const o=this.children.length,s=r.length;if(o<TC&&i===o-1&&s===1)return this.add(r[0]),this.updateCounts(),[];{const l=this.splitAfter(i);let u=0;for(i++;i<TC&&u<s;)this.children[i]=r[u],i++,u++;let d=[],_=0;if(u<s){_=Math.ceil((s-u)/TC),d=new Array(_);let m=0;for(let E=0;E<_;E++)d[E]=new ove;let y=d[0];for(;u<s;)y.add(r[u]),u++,y.children.length===TC&&(m++,y=d[m]);for(let E=d.length-1;E>=0;E--)d[E].children.length===0&&d.pop()}l&&d.push(l),this.updateCounts();for(let m=0;m<_;m++)d[m].updateCounts();return d}}add(t){this.children.push(t),C.assert(this.children.length<=TC)}charCount(){return this.totalChars}lineCount(){return this.totalLines}},Gz=class{constructor(e){this.text=e}isLeaf(){return!0}walk(e,t,r){r.leaf(e,t,this)}charCount(){return this.text.length}lineCount(){return 1}},QOe=class tze{constructor(t,r,i,o,s,l){this.telemetryEnabled=t,this.logger=r,this.host=i,this.globalTypingsCacheLocation=o,this.event=s,this.maxActiveRequestCount=l,this.activeRequestCount=0,this.requestQueue=g2(),this.requestMap=new Map,this.requestedRegistry=!1,this.packageInstallId=0}isKnownTypesPackageName(t){var r;return Hb.validatePackageName(t)!==Hb.NameValidationResult.Ok?!1:(this.requestedRegistry||(this.requestedRegistry=!0,this.installer.send({kind:"typesRegistry"})),!!((r=this.typesRegistryCache)!=null&&r.has(t)))}installPackage(t){this.packageInstallId++;const r={kind:"installPackage",...t,id:this.packageInstallId},i=new Promise((o,s)=>{var l;((l=this.packageInstalledPromise)!=null?l:this.packageInstalledPromise=new Map).set(this.packageInstallId,{resolve:o,reject:s})});return this.installer.send(r),i}attach(t){this.projectService=t,this.installer=this.createInstallerProcess()}onProjectClosed(t){this.installer.send({projectName:t.getProjectName(),kind:"closeProject"})}enqueueInstallTypingsRequest(t,r,i){const o=vme(t,r,i);this.logger.hasLevel(3)&&this.logger.info("TIAdapter:: Scheduling throttled operation:".concat(pT(o))),this.activeRequestCount<this.maxActiveRequestCount?this.scheduleRequest(o):(this.logger.hasLevel(3)&&this.logger.info("TIAdapter:: Deferring request for: ".concat(o.projectName)),this.requestQueue.enqueue(o),this.requestMap.set(o.projectName,o))}handleMessage(t){var r,i;switch(this.logger.hasLevel(3)&&this.logger.info("TIAdapter:: Received response:".concat(pT(t))),t.kind){case Sq:this.typesRegistryCache=new Map(Object.entries(t.typesRegistry));break;case i7:{const o=(r=this.packageInstalledPromise)==null?void 0:r.get(t.id);C.assertIsDefined(o,"Should find the promise for package install"),(i=this.packageInstalledPromise)==null||i.delete(t.id),t.success?o.resolve({successMessage:t.message}):o.reject(t.message),this.projectService.updateTypingsForProject(t),this.event(t,"setTypings");break}case Rle:{const o={message:t.message};this.event(o,"typesInstallerInitializationFailed");break}case Eq:{const o={eventId:t.eventId,packages:t.packagesToInstall};this.event(o,"beginInstallTypes");break}case Aq:{if(this.telemetryEnabled){const l={telemetryEventName:"typingsInstalled",payload:{installedPackages:t.packagesToInstall.join(","),installSuccess:t.installSuccess,typingsInstallerVersion:t.typingsInstallerVersion}};this.event(l,"telemetry")}const o={eventId:t.eventId,packages:t.packagesToInstall,success:t.installSuccess};this.event(o,"endInstallTypes");break}case r7:{this.projectService.updateTypingsForProject(t);break}case n7:{for(this.activeRequestCount>0?this.activeRequestCount--:C.fail("TIAdapter:: Received too many responses");!this.requestQueue.isEmpty();){const o=this.requestQueue.dequeue();if(this.requestMap.get(o.projectName)===o){this.requestMap.delete(o.projectName),this.scheduleRequest(o);break}this.logger.hasLevel(3)&&this.logger.info("TIAdapter:: Skipping defunct request for: ".concat(o.projectName))}this.projectService.updateTypingsForProject(t),this.event(t,"setTypings");break}case hO:this.projectService.watchTypingLocations(t);break}}scheduleRequest(t){this.logger.hasLevel(3)&&this.logger.info("TIAdapter:: Scheduling request for: ".concat(t.projectName)),this.activeRequestCount++,this.host.setTimeout(()=>{this.logger.hasLevel(3)&&this.logger.info("TIAdapter:: Sending request:".concat(pT(t))),this.installer.send(t)},tze.requestDelayMillis,"".concat(t.projectName,"::").concat(t.kind))}};QOe.requestDelayMillis=100;var ZOe=QOe,e8e={};x(e8e,{ActionInvalidate:()=>r7,ActionPackageInstalled:()=>i7,ActionSet:()=>n7,ActionWatchTypingLocations:()=>hO,Arguments:()=>Iq,AutoImportProviderProject:()=>Bme,AuxiliaryProject:()=>Fme,CharRangeSection:()=>phe,CloseFileWatcherEvent:()=>GX,CommandNames:()=>zOe,ConfigFileDiagEvent:()=>OX,ConfiguredProject:()=>Gme,ConfiguredProjectLoadKind:()=>Jme,CreateDirectoryWatcherEvent:()=>BX,CreateFileWatcherEvent:()=>zX,Errors:()=>Iy,EventBeginInstallTypes:()=>Eq,EventEndInstallTypes:()=>Aq,EventInitializationFailed:()=>Rle,EventTypesRegistry:()=>Sq,ExternalProject:()=>NX,GcTimer:()=>xme,InferredProject:()=>Wme,LargeFileReferencedEvent:()=>wX,LineIndex:()=>b8,LineLeaf:()=>Gz,LineNode:()=>SC,LogLevel:()=>gme,Msg:()=>yme,OpenFileInfoTelemetryEvent:()=>Vme,Project:()=>Dx,ProjectInfoTelemetryEvent:()=>FX,ProjectKind:()=>eL,ProjectLanguageServiceStateEvent:()=>WX,ProjectLoadingFinishEvent:()=>kX,ProjectLoadingStartEvent:()=>LX,ProjectService:()=>nhe,ProjectsUpdatedInBackgroundEvent:()=>Fz,ScriptInfo:()=>Nme,ScriptVersionCache:()=>ZX,Session:()=>JOe,TextStorage:()=>Cme,ThrottledOperations:()=>Ime,TypingsInstallerAdapter:()=>ZOe,allFilesAreJsOrDts:()=>kme,allRootFilesAreJsOrDts:()=>Lme,asNormalizedPath:()=>uOe,convertCompilerOptions:()=>zz,convertFormatOptions:()=>vC,convertScriptKindName:()=>jX,convertTypeAcquisition:()=>Ume,convertUserPreferences:()=>Hme,convertWatchOptions:()=>y8,countEachFileTypes:()=>m8,createInstallTypingsRequest:()=>vme,createModuleSpecifierCache:()=>ohe,createNormalizedPathMap:()=>pOe,createPackageJsonCache:()=>ahe,createSortedArray:()=>Ame,emptyArray:()=>Jc,findArgument:()=>fxe,formatDiagnosticToProtocol:()=>v8,formatMessage:()=>she,getBaseConfigFileName:()=>CX,getDetailWatchInfo:()=>JX,getLocationInNewDocument:()=>uhe,hasArgument:()=>pxe,hasNoTypeScriptSource:()=>wme,indent:()=>IP,isBackgroundProject:()=>_8,isConfigFile:()=>rhe,isConfiguredProject:()=>Av,isDynamicFileName:()=>ZP,isExternalProject:()=>h8,isInferredProject:()=>yC,isInferredProjectName:()=>bme,isProjectDeferredClose:()=>g8,makeAutoImportProviderProjectName:()=>Sme,makeAuxiliaryProjectName:()=>Eme,makeInferredProjectName:()=>Tme,maxFileSize:()=>PX,maxProgramSizeForNonTsFiles:()=>MX,normalizedPathToPath:()=>gC,nowString:()=>mxe,nullCancellationToken:()=>OOe,nullTypingsInstaller:()=>Bz,protocol:()=>Rme,scriptInfoIsContainedByBackgroundProject:()=>Mme,scriptInfoIsContainedByDeferredClosedProject:()=>Pme,stringifyIndented:()=>pT,toEvent:()=>lhe,toNormalizedPath:()=>Ls,tryConvertScriptKindName:()=>VX,typingsInstaller:()=>_me,updateProjectIfDirty:()=>Dm}),typeof console<"u"&&(C.loggingHost={log(e,t){switch(e){case 1:return console.error(t);case 2:return console.warn(t);case 3:return console.log(t);case 4:return console.log(t)}}})})({get exports(){return R0},set exports(b){R0=b}});var GBe=R0.createClassifier,S0e=R0.createLanguageService,VBe=R0.displayPartsToString,jBe=R0.EndOfLineState,UBe=R0.flattenDiagnosticMessageText,HBe=R0.IndentStyle,uN=R0.ScriptKind,qBe=R0.ScriptTarget,JBe=R0.TokenClass,E0e=R0,KBe=Object.freeze({__proto__:null,EndOfLineState:jBe,IndentStyle:HBe,ScriptKind:uN,ScriptTarget:qBe,TokenClass:JBe,createClassifier:GBe,createLanguageService:S0e,displayPartsToString:VBe,flattenDiagnosticMessageText:UBe,typescript:E0e});const ji={};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 * The decorator context types provided to any decorator.\n */\ntype DecoratorContext =\n | ClassDecoratorContext\n | ClassMemberDecoratorContext;\n\ntype DecoratorMetadataObject = Record<PropertyKey, unknown> & object;\n\ntype DecoratorMetadata = typeof globalThis extends { Symbol: { readonly metadata: symbol; }; } ? DecoratorMetadataObject : DecoratorMetadataObject | undefined;\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 readonly metadata: DecoratorMetadata;\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 after static methods are defined but before\n * static initializers are run (when decorating a `static` element), or before instance\n * initializers are run (when 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 readonly metadata: DecoratorMetadata;\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 after static methods are defined but before\n * static initializers are run (when decorating a `static` element), or before instance\n * initializers are run (when decorating a non-`static` element).\n */\n addInitializer(initializer: (this: This) => void): void;\n\n readonly metadata: DecoratorMetadata;\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 after static methods are defined but before\n * static initializers are run (when decorating a `static` element), or before instance\n * initializers are run (when decorating a non-`static` element).\n */\n addInitializer(initializer: (this: This) => void): void;\n\n readonly metadata: DecoratorMetadata;\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 immediately after the auto `accessor` being\n * decorated is initialized (regardless if the `accessor` is `static` or not).\n */\n addInitializer(initializer: (this: This) => void): void;\n\n readonly metadata: DecoratorMetadata;\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 immediately after the field being decorated\n * is initialized (regardless if the field is `static` or not).\n */\n addInitializer(initializer: (this: This) => void): void;\n\n readonly metadata: DecoratorMetadata;\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 | undefined, parameterIndex: number) => void;\n',ji["lib.dom.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/////////////////////////////\n/// Window Async Iterable APIs\n/////////////////////////////\n\ninterface FileSystemDirectoryHandleAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {\n [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<T>;\n}\n\ninterface FileSystemDirectoryHandle {\n [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>;\n entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>;\n keys(): FileSystemDirectoryHandleAsyncIterator<string>;\n values(): FileSystemDirectoryHandleAsyncIterator<FileSystemHandle>;\n}\n\ninterface ReadableStreamAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {\n [Symbol.asyncIterator](): ReadableStreamAsyncIterator<T>;\n}\n\ninterface ReadableStream<R = any> {\n [Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;\n values(options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;\n}\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 AddressErrors {\n addressLine?: string;\n city?: string;\n country?: string;\n dependentLocality?: string;\n organization?: string;\n phone?: string;\n postalCode?: string;\n recipient?: string;\n region?: string;\n sortingCode?: string;\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 AudioDataCopyToOptions {\n format?: AudioSampleFormat;\n frameCount?: number;\n frameOffset?: number;\n planeIndex: number;\n}\n\ninterface AudioDataInit {\n data: BufferSource;\n format: AudioSampleFormat;\n numberOfChannels: number;\n numberOfFrames: number;\n sampleRate: number;\n timestamp: number;\n transfer?: ArrayBuffer[];\n}\n\ninterface AudioDecoderConfig {\n codec: string;\n description?: AllowSharedBufferSource;\n numberOfChannels: number;\n sampleRate: number;\n}\n\ninterface AudioDecoderInit {\n error: WebCodecsErrorCallback;\n output: AudioDataOutputCallback;\n}\n\ninterface AudioDecoderSupport {\n config?: AudioDecoderConfig;\n supported?: boolean;\n}\n\ninterface AudioEncoderConfig {\n bitrate?: number;\n bitrateMode?: BitrateMode;\n codec: string;\n numberOfChannels: number;\n opus?: OpusEncoderConfig;\n sampleRate: number;\n}\n\ninterface AudioEncoderInit {\n error: WebCodecsErrorCallback;\n output: EncodedAudioChunkOutputCallback;\n}\n\ninterface AudioEncoderSupport {\n config?: AudioEncoderConfig;\n supported?: boolean;\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 credentialProtectionPolicy?: string;\n enforceCredentialProtectionPolicy?: boolean;\n hmacCreateSecret?: boolean;\n largeBlob?: AuthenticationExtensionsLargeBlobInputs;\n minPinLength?: boolean;\n prf?: AuthenticationExtensionsPRFInputs;\n}\n\ninterface AuthenticationExtensionsClientInputsJSON {\n appid?: string;\n credProps?: boolean;\n largeBlob?: AuthenticationExtensionsLargeBlobInputsJSON;\n prf?: AuthenticationExtensionsPRFInputsJSON;\n}\n\ninterface AuthenticationExtensionsClientOutputs {\n appid?: boolean;\n credProps?: CredentialPropertiesOutput;\n hmacCreateSecret?: boolean;\n largeBlob?: AuthenticationExtensionsLargeBlobOutputs;\n prf?: AuthenticationExtensionsPRFOutputs;\n}\n\ninterface AuthenticationExtensionsLargeBlobInputs {\n read?: boolean;\n support?: string;\n write?: BufferSource;\n}\n\ninterface AuthenticationExtensionsLargeBlobInputsJSON {\n read?: boolean;\n support?: string;\n write?: Base64URLString;\n}\n\ninterface AuthenticationExtensionsLargeBlobOutputs {\n blob?: ArrayBuffer;\n supported?: boolean;\n written?: boolean;\n}\n\ninterface AuthenticationExtensionsPRFInputs {\n eval?: AuthenticationExtensionsPRFValues;\n evalByCredential?: Record<string, AuthenticationExtensionsPRFValues>;\n}\n\ninterface AuthenticationExtensionsPRFInputsJSON {\n eval?: AuthenticationExtensionsPRFValuesJSON;\n evalByCredential?: Record<string, AuthenticationExtensionsPRFValuesJSON>;\n}\n\ninterface AuthenticationExtensionsPRFOutputs {\n enabled?: boolean;\n results?: AuthenticationExtensionsPRFValues;\n}\n\ninterface AuthenticationExtensionsPRFValues {\n first: BufferSource;\n second?: BufferSource;\n}\n\ninterface AuthenticationExtensionsPRFValuesJSON {\n first: Base64URLString;\n second?: Base64URLString;\n}\n\ninterface AuthenticatorSelectionCriteria {\n authenticatorAttachment?: AuthenticatorAttachment;\n requireResidentKey?: boolean;\n residentKey?: ResidentKeyRequirement;\n userVerification?: UserVerificationRequirement;\n}\n\ninterface AvcEncoderConfig {\n format?: AvcBitstreamFormat;\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 extends EventInit {\n data: Blob;\n timecode?: DOMHighResTimeStamp;\n}\n\ninterface BlobPropertyBag {\n endings?: EndingType;\n type?: string;\n}\n\ninterface CSSMatrixComponentOptions {\n is2D?: boolean;\n}\n\ninterface CSSNumericType {\n angle?: number;\n flex?: number;\n frequency?: number;\n length?: number;\n percent?: number;\n percentHint?: CSSNumericBaseType;\n resolution?: number;\n time?: number;\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 CaretPositionFromPointOptions {\n shadowRoots?: ShadowRoot[];\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 contentVisibilityAuto?: boolean;\n opacityProperty?: boolean;\n visibilityProperty?: 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 ContentVisibilityAutoStateChangeEventInit extends EventInit {\n skipped?: boolean;\n}\n\ninterface ConvolverOptions extends AudioNodeOptions {\n buffer?: AudioBuffer | null;\n disableNormalization?: boolean;\n}\n\ninterface CookieChangeEventInit extends EventInit {\n changed?: CookieList;\n deleted?: CookieList;\n}\n\ninterface CookieInit {\n domain?: string | null;\n expires?: DOMHighResTimeStamp | null;\n name: string;\n partitioned?: boolean;\n path?: string;\n sameSite?: CookieSameSite;\n value: string;\n}\n\ninterface CookieListItem {\n name?: string;\n value?: string;\n}\n\ninterface CookieStoreDeleteOptions {\n domain?: string | null;\n name: string;\n partitioned?: boolean;\n path?: string;\n}\n\ninterface CookieStoreGetOptions {\n name?: string;\n url?: string;\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 | CSSNumericValue | string;\n easing?: string;\n endDelay?: number;\n fill?: FillMode;\n iterationStart?: number;\n iterations?: number;\n playbackRate?: number;\n}\n\ninterface ElementCreationOptions {\n customElementRegistry?: CustomElementRegistry;\n is?: string;\n}\n\ninterface ElementDefinitionOptions {\n extends?: string;\n}\n\ninterface EncodedAudioChunkInit {\n data: AllowSharedBufferSource;\n duration?: number;\n timestamp: number;\n transfer?: ArrayBuffer[];\n type: EncodedAudioChunkType;\n}\n\ninterface EncodedAudioChunkMetadata {\n decoderConfig?: AudioDecoderConfig;\n}\n\ninterface EncodedVideoChunkInit {\n data: AllowSharedBufferSource;\n duration?: number;\n timestamp: number;\n type: EncodedVideoChunkType;\n}\n\ninterface EncodedVideoChunkMetadata {\n decoderConfig?: VideoDecoderConfig;\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 FileSystemCreateWritableOptions {\n keepExistingData?: boolean;\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 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 GamepadEffectParameters {\n duration?: number;\n leftTrigger?: number;\n rightTrigger?: number;\n startDelay?: number;\n strongMagnitude?: number;\n weakMagnitude?: number;\n}\n\ninterface GamepadEventInit extends EventInit {\n gamepad: Gamepad;\n}\n\ninterface GetAnimationsOptions {\n subtree?: boolean;\n}\n\ninterface GetComposedRangesOptions {\n shadowRoots?: ShadowRoot[];\n}\n\ninterface GetHTMLOptions {\n serializableShadowRoots?: boolean;\n shadowRoots?: ShadowRoot[];\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 ImageDecodeOptions {\n completeFramesOnly?: boolean;\n frameIndex?: number;\n}\n\ninterface ImageDecodeResult {\n complete: boolean;\n image: VideoFrame;\n}\n\ninterface ImageDecoderInit {\n colorSpaceConversion?: ColorSpaceConversion;\n data: ImageBufferSource;\n desiredHeight?: number;\n desiredWidth?: number;\n preferAnimation?: boolean;\n transfer?: ArrayBuffer[];\n type: string;\n}\n\ninterface ImageEncodeOptions {\n quality?: number;\n type?: string;\n}\n\ninterface ImportNodeOptions {\n customElementRegistry?: CustomElementRegistry;\n selfOnly?: boolean;\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 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 KeySystemTrackConfiguration {\n robustness?: 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 timeline?: AnimationTimeline | null;\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<ArrayBuffer>;\n}\n\ninterface MIDIOptions {\n software?: boolean;\n sysex?: boolean;\n}\n\ninterface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo {\n keySystemAccess: MediaKeySystemAccess | null;\n}\n\ninterface MediaCapabilitiesEncodingInfo extends MediaCapabilitiesInfo {\n}\n\ninterface MediaCapabilitiesInfo {\n powerEfficient: boolean;\n smooth: boolean;\n supported: boolean;\n}\n\ninterface MediaCapabilitiesKeySystemConfiguration {\n audio?: KeySystemTrackConfiguration;\n distinctiveIdentifier?: MediaKeysRequirement;\n initDataType?: string;\n keySystem: string;\n persistentState?: MediaKeysRequirement;\n sessionTypes?: string[];\n video?: KeySystemTrackConfiguration;\n}\n\ninterface MediaConfiguration {\n audio?: AudioConfiguration;\n video?: VideoConfiguration;\n}\n\ninterface MediaDecodingConfiguration extends MediaConfiguration {\n keySystemConfiguration?: MediaCapabilitiesKeySystemConfiguration;\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 MediaKeysPolicy {\n minHdcpVersion?: 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 MediaSettingsRange {\n max?: number;\n min?: number;\n step?: 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 backgroundBlur?: 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 backgroundBlur?: 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 backgroundBlur?: 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 torch?: boolean;\n whiteBalanceMode?: string;\n width?: number;\n zoom?: number;\n}\n\ninterface MediaTrackSupportedConstraints {\n aspectRatio?: boolean;\n autoGainControl?: boolean;\n backgroundBlur?: 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 NotificationOptions {\n badge?: string;\n body?: string;\n data?: any;\n dir?: NotificationDirection;\n icon?: string;\n lang?: string;\n requireInteraction?: boolean;\n silent?: boolean | null;\n tag?: string;\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 OpusEncoderConfig {\n complexity?: number;\n format?: OpusBitstreamFormat;\n frameDuration?: number;\n packetlossperc?: number;\n usedtx?: boolean;\n useinbandfec?: boolean;\n}\n\ninterface OscillatorOptions extends AudioNodeOptions {\n detune?: number;\n frequency?: number;\n periodicWave?: PeriodicWave;\n type?: OscillatorType;\n}\n\ninterface PageRevealEventInit extends EventInit {\n viewTransition?: ViewTransition | null;\n}\n\ninterface PageSwapEventInit extends EventInit {\n activation?: NavigationActivation | null;\n viewTransition?: ViewTransition | null;\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 PayerErrors {\n email?: string;\n name?: string;\n phone?: string;\n}\n\ninterface PaymentCurrencyAmount {\n currency: string;\n value: string;\n}\n\ninterface PaymentDetailsBase {\n displayItems?: PaymentItem[];\n modifiers?: PaymentDetailsModifier[];\n shippingOptions?: PaymentShippingOption[];\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 error?: string;\n paymentMethodErrors?: any;\n shippingAddressErrors?: AddressErrors;\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 PaymentOptions {\n requestPayerEmail?: boolean;\n requestPayerName?: boolean;\n requestPayerPhone?: boolean;\n requestShipping?: boolean;\n shippingType?: PaymentShippingType;\n}\n\ninterface PaymentRequestUpdateEventInit extends EventInit {\n}\n\ninterface PaymentShippingOption {\n amount: PaymentCurrencyAmount;\n id: string;\n label: string;\n selected?: boolean;\n}\n\ninterface PaymentValidationErrors {\n error?: string;\n payer?: PayerErrors;\n shippingAddress?: AddressErrors;\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 PhotoCapabilities {\n fillLightMode?: FillLightMode[];\n imageHeight?: MediaSettingsRange;\n imageWidth?: MediaSettingsRange;\n redEyeReduction?: RedEyeReduction;\n}\n\ninterface PhotoSettings {\n fillLightMode?: FillLightMode;\n imageHeight?: number;\n imageWidth?: number;\n redEyeReduction?: boolean;\n}\n\ninterface PictureInPictureEventInit extends EventInit {\n pictureInPictureWindow: PictureInPictureWindow;\n}\n\ninterface PlaneLayout {\n offset: number;\n stride: number;\n}\n\ninterface PointerEventInit extends MouseEventInit {\n altitudeAngle?: number;\n azimuthAngle?: number;\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 PointerLockOptions {\n unadjustedMovement?: boolean;\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 PropertyDefinition {\n inherits: boolean;\n initialValue?: string;\n name: string;\n syntax?: string;\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 PublicKeyCredentialCreationOptionsJSON {\n attestation?: string;\n authenticatorSelection?: AuthenticatorSelectionCriteria;\n challenge: Base64URLString;\n excludeCredentials?: PublicKeyCredentialDescriptorJSON[];\n extensions?: AuthenticationExtensionsClientInputsJSON;\n hints?: string[];\n pubKeyCredParams: PublicKeyCredentialParameters[];\n rp: PublicKeyCredentialRpEntity;\n timeout?: number;\n user: PublicKeyCredentialUserEntityJSON;\n}\n\ninterface PublicKeyCredentialDescriptor {\n id: BufferSource;\n transports?: AuthenticatorTransport[];\n type: PublicKeyCredentialType;\n}\n\ninterface PublicKeyCredentialDescriptorJSON {\n id: Base64URLString;\n transports?: string[];\n type: string;\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 PublicKeyCredentialRequestOptionsJSON {\n allowCredentials?: PublicKeyCredentialDescriptorJSON[];\n challenge: Base64URLString;\n extensions?: AuthenticationExtensionsClientInputsJSON;\n hints?: string[];\n rpId?: string;\n timeout?: number;\n userVerification?: string;\n}\n\ninterface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity {\n id?: string;\n}\n\ninterface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity {\n displayName: string;\n id: BufferSource;\n}\n\ninterface PublicKeyCredentialUserEntityJSON {\n displayName: string;\n id: Base64URLString;\n name: string;\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 extends RTCEncodedFrameMetadata {\n sequenceNumber?: number;\n}\n\ninterface RTCEncodedFrameMetadata {\n contributingSources?: number[];\n mimeType?: string;\n payloadType?: number;\n rtpTimestamp?: number;\n synchronizationSource?: number;\n}\n\ninterface RTCEncodedVideoFrameMetadata extends RTCEncodedFrameMetadata {\n dependencies?: number[];\n frameId?: number;\n height?: number;\n spatialIndex?: number;\n temporalIndex?: number;\n timestamp?: 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 bytesDiscardedOnSend?: number;\n bytesReceived?: number;\n bytesSent?: number;\n consentRequestsSent?: number;\n currentRoundTripTime?: number;\n lastPacketReceivedTimestamp?: DOMHighResTimeStamp;\n lastPacketSentTimestamp?: DOMHighResTimeStamp;\n localCandidateId: string;\n nominated?: boolean;\n packetsDiscardedOnSend?: number;\n packetsReceived?: number;\n packetsSent?: number;\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 fecBytesReceived?: number;\n fecPacketsDiscarded?: number;\n fecPacketsReceived?: number;\n fecSsrc?: number;\n firCount?: number;\n frameHeight?: number;\n frameWidth?: number;\n framesAssembledFromMultiplePackets?: number;\n framesDecoded?: number;\n framesDropped?: number;\n framesPerSecond?: number;\n framesReceived?: number;\n framesRendered?: number;\n freezeCount?: number;\n headerBytesReceived?: number;\n insertedSamplesForDeceleration?: number;\n jitterBufferDelay?: number;\n jitterBufferEmittedCount?: number;\n jitterBufferMinimumDelay?: number;\n jitterBufferTargetDelay?: number;\n keyFramesDecoded?: number;\n lastPacketReceivedTimestamp?: DOMHighResTimeStamp;\n mid?: string;\n nackCount?: number;\n packetsDiscarded?: number;\n pauseCount?: number;\n playoutId?: string;\n pliCount?: number;\n qpSum?: number;\n remoteId?: string;\n removedSamplesForAcceleration?: number;\n retransmittedBytesReceived?: number;\n retransmittedPacketsReceived?: number;\n rtxSsrc?: number;\n silentConcealedSamples?: number;\n totalAssemblyTime?: number;\n totalAudioEnergy?: number;\n totalDecodeTime?: number;\n totalFreezesDuration?: number;\n totalInterFrameDelay?: number;\n totalPausesDuration?: number;\n totalProcessingDelay?: number;\n totalSamplesDuration?: number;\n totalSamplesReceived?: number;\n totalSquaredInterFrameDelay?: number;\n trackIdentifier: string;\n}\n\ninterface RTCLocalIceCandidateInit extends RTCIceCandidateInit {\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 active?: boolean;\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 mid?: string;\n nackCount?: number;\n pliCount?: number;\n qpSum?: number;\n qualityLimitationDurations?: Record<string, number>;\n qualityLimitationReason?: RTCQualityLimitationReason;\n qualityLimitationResolutionChanges?: number;\n remoteId?: string;\n retransmittedBytesSent?: number;\n retransmittedPacketsSent?: number;\n rid?: string;\n rtxSsrc?: number;\n scalabilityMode?: 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}\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: RTCRtpCodec[];\n headerExtensions: RTCRtpHeaderExtensionCapability[];\n}\n\ninterface RTCRtpCodec {\n channels?: number;\n clockRate: number;\n mimeType: string;\n sdpFmtpLine?: string;\n}\n\ninterface RTCRtpCodecParameters extends RTCRtpCodec {\n payloadType: number;\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 RTCSetParameterOptions {\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 dtlsRole?: RTCDtlsRole;\n dtlsState: RTCDtlsTransportState;\n iceLocalUsernameFragment?: string;\n iceRole?: RTCIceRole;\n iceState?: RTCIceTransportState;\n localCertificateId?: string;\n packetsReceived?: number;\n packetsSent?: number;\n remoteCertificateId?: string;\n selectedCandidatePairChanges?: number;\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 ReadableStreamIteratorOptions {\n /**\n * Asynchronously iterates over the chunks in the stream\'s internal queue.\n *\n * Asynchronously iterating over the stream will lock it, preventing any other consumer from acquiring a reader. The lock will be released if the async iterator\'s return() method is called, e.g. by breaking out of the loop.\n *\n * By default, calling the async iterator\'s return() method will also cancel the stream. To prevent this, use the stream\'s values() method, passing true for the preventCancel option.\n */\n preventCancel?: boolean;\n}\n\ninterface ReadableStreamReadDoneResult<T> {\n done: true;\n value: T | undefined;\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 ReportingObserverOptions {\n buffered?: boolean;\n types?: string[];\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 priority?: RequestPriority;\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 clonable?: boolean;\n customElementRegistry?: CustomElementRegistry;\n delegatesFocus?: boolean;\n mode: ShadowRootMode;\n serializable?: boolean;\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 StartViewTransitionOptions {\n types?: string[] | null;\n update?: ViewTransitionUpdateCallback | null;\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 ToggleEventInit extends EventInit {\n newState?: string;\n oldState?: string;\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 hasAlphaChannel?: boolean;\n hdrMetadataType?: HdrMetadataType;\n height: number;\n scalabilityMode?: string;\n transferFunction?: TransferFunction;\n width: number;\n}\n\ninterface VideoDecoderConfig {\n codec: string;\n codedHeight?: number;\n codedWidth?: number;\n colorSpace?: VideoColorSpaceInit;\n description?: AllowSharedBufferSource;\n displayAspectHeight?: number;\n displayAspectWidth?: number;\n hardwareAcceleration?: HardwareAcceleration;\n optimizeForLatency?: boolean;\n}\n\ninterface VideoDecoderInit {\n error: WebCodecsErrorCallback;\n output: VideoFrameOutputCallback;\n}\n\ninterface VideoDecoderSupport {\n config?: VideoDecoderConfig;\n supported?: boolean;\n}\n\ninterface VideoEncoderConfig {\n alpha?: AlphaOption;\n avc?: AvcEncoderConfig;\n bitrate?: number;\n bitrateMode?: VideoEncoderBitrateMode;\n codec: string;\n contentHint?: string;\n displayHeight?: number;\n displayWidth?: number;\n framerate?: number;\n hardwareAcceleration?: HardwareAcceleration;\n height: number;\n latencyMode?: LatencyMode;\n scalabilityMode?: string;\n width: number;\n}\n\ninterface VideoEncoderEncodeOptions {\n avc?: VideoEncoderEncodeOptionsForAvc;\n keyFrame?: boolean;\n}\n\ninterface VideoEncoderEncodeOptionsForAvc {\n quantizer?: number | null;\n}\n\ninterface VideoEncoderInit {\n error: WebCodecsErrorCallback;\n output: EncodedVideoChunkOutputCallback;\n}\n\ninterface VideoEncoderSupport {\n config?: VideoEncoderConfig;\n supported?: boolean;\n}\n\ninterface VideoFrameBufferInit {\n codedHeight: number;\n codedWidth: number;\n colorSpace?: VideoColorSpaceInit;\n displayHeight?: number;\n displayWidth?: number;\n duration?: number;\n format: VideoPixelFormat;\n layout?: PlaneLayout[];\n timestamp: number;\n visibleRect?: DOMRectInit;\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 VideoFrameCopyToOptions {\n colorSpace?: PredefinedColorSpace;\n format?: VideoPixelFormat;\n layout?: PlaneLayout[];\n rect?: DOMRectInit;\n}\n\ninterface VideoFrameInit {\n alpha?: AlphaOption;\n displayHeight?: number;\n displayWidth?: number;\n duration?: number;\n timestamp?: number;\n visibleRect?: DOMRectInit;\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 WebTransportCloseInfo {\n closeCode?: number;\n reason?: string;\n}\n\ninterface WebTransportErrorOptions {\n source?: WebTransportErrorSource;\n streamErrorCode?: number | null;\n}\n\ninterface WebTransportHash {\n algorithm?: string;\n value?: BufferSource;\n}\n\ninterface WebTransportOptions {\n allowPooling?: boolean;\n congestionControl?: WebTransportCongestionControl;\n requireUnreliable?: boolean;\n serverCertificateHashes?: WebTransportHash[];\n}\n\ninterface WebTransportSendOptions {\n sendOrder?: number;\n}\n\ninterface WebTransportSendStreamOptions extends WebTransportSendOptions {\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\ninterface WriteParams {\n data?: BufferSource | Blob | string | null;\n position?: number | null;\n size?: number | null;\n type: WriteCommandType;\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/**\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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ANGLE_instanced_arrays)\n */\ninterface ANGLE_instanced_arrays {\n /**\n * The **`ANGLE_instanced_arrays.drawArraysInstancedANGLE()`** method of the WebGL API renders primitives from array data like the WebGLRenderingContext.drawArrays() method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ANGLE_instanced_arrays/drawArraysInstancedANGLE)\n */\n drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void;\n /**\n * The **`ANGLE_instanced_arrays.drawElementsInstancedANGLE()`** method of the WebGL API renders primitives from array data like the WebGLRenderingContext.drawElements() method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ANGLE_instanced_arrays/drawElementsInstancedANGLE)\n */\n drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void;\n /**\n * The **ANGLE_instanced_arrays.vertexAttribDivisorANGLE()** method of the WebGL API modifies the rate at which generic vertex attributes advance when rendering multiple instances of primitives with ANGLE_instanced_arrays.drawArraysInstancedANGLE() and ANGLE_instanced_arrays.drawElementsInstancedANGLE().\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ANGLE_instanced_arrays/vertexAttribDivisorANGLE)\n */\n vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: 0x88FE;\n}\n\ninterface ARIAMixin {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaActiveDescendantElement) */\n ariaActiveDescendantElement: Element | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAtomic) */\n ariaAtomic: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaAutoComplete) */\n ariaAutoComplete: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleLabel) */\n ariaBrailleLabel: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBrailleRoleDescription) */\n ariaBrailleRoleDescription: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaBusy) */\n ariaBusy: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaChecked) */\n ariaChecked: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColCount) */\n ariaColCount: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndex) */\n ariaColIndex: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColIndexText) */\n ariaColIndexText: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaColSpan) */\n ariaColSpan: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaControlsElements) */\n ariaControlsElements: ReadonlyArray<Element> | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent) */\n ariaCurrent: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements) */\n ariaDescribedByElements: ReadonlyArray<Element> | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription) */\n ariaDescription: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDetailsElements) */\n ariaDetailsElements: ReadonlyArray<Element> | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled) */\n ariaDisabled: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaErrorMessageElements) */\n ariaErrorMessageElements: ReadonlyArray<Element> | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded) */\n ariaExpanded: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaFlowToElements) */\n ariaFlowToElements: ReadonlyArray<Element> | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHasPopup) */\n ariaHasPopup: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaHidden) */\n ariaHidden: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaInvalid) */\n ariaInvalid: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaKeyShortcuts) */\n ariaKeyShortcuts: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabel) */\n ariaLabel: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements) */\n ariaLabelledByElements: ReadonlyArray<Element> | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLevel) */\n ariaLevel: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaLive) */\n ariaLive: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaModal) */\n ariaModal: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiLine) */\n ariaMultiLine: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaMultiSelectable) */\n ariaMultiSelectable: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOrientation) */\n ariaOrientation: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaOwnsElements) */\n ariaOwnsElements: ReadonlyArray<Element> | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPlaceholder) */\n ariaPlaceholder: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPosInSet) */\n ariaPosInSet: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaPressed) */\n ariaPressed: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaReadOnly) */\n ariaReadOnly: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRelevant) */\n ariaRelevant: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRequired) */\n ariaRequired: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRoleDescription) */\n ariaRoleDescription: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowCount) */\n ariaRowCount: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndex) */\n ariaRowIndex: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowIndexText) */\n ariaRowIndexText: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaRowSpan) */\n ariaRowSpan: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSelected) */\n ariaSelected: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSetSize) */\n ariaSetSize: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaSort) */\n ariaSort: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMax) */\n ariaValueMax: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueMin) */\n ariaValueMin: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueNow) */\n ariaValueNow: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaValueText) */\n ariaValueText: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/role) */\n role: string | null;\n}\n\n/**\n * The **`AbortController`** interface represents a controller object that allows you to abort one or more Web requests as and when desired.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController)\n */\ninterface AbortController {\n /**\n * The **`signal`** read-only property of the AbortController interface returns an AbortSignal object instance, which can be used to communicate with/abort an asynchronous operation as desired.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController/signal)\n */\n readonly signal: AbortSignal;\n /**\n * The **`abort()`** method of the AbortController interface aborts an asynchronous operation before it has completed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController/abort)\n */\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/**\n * The **`AbortSignal`** interface represents a signal object that allows you to communicate with an asynchronous operation (such as a fetch request) and abort it if required via an AbortController object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal)\n */\ninterface AbortSignal extends EventTarget {\n /**\n * The **`aborted`** read-only property returns a value that indicates whether the asynchronous operations the signal is communicating with are aborted (`true`) or not (`false`).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/aborted)\n */\n readonly aborted: boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_event) */\n onabort: ((this: AbortSignal, ev: Event) => any) | null;\n /**\n * The **`reason`** read-only property returns a JavaScript value that indicates the abort reason.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/reason)\n */\n readonly reason: any;\n /**\n * The **`throwIfAborted()`** method throws the signal\'s abort AbortSignal.reason if the signal has been aborted; otherwise it does nothing.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/throwIfAborted)\n */\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 /**\n * The **`AbortSignal.abort()`** static method returns an AbortSignal that is already set as aborted (and which does not trigger an AbortSignal/abort_event event).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static)\n */\n abort(reason?: any): AbortSignal;\n /**\n * The **`AbortSignal.any()`** static method takes an iterable of abort signals and returns an AbortSignal.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static)\n */\n any(signals: AbortSignal[]): AbortSignal;\n /**\n * The **`AbortSignal.timeout()`** static method returns an AbortSignal that will automatically abort after a specified time.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static)\n */\n timeout(milliseconds: number): AbortSignal;\n};\n\n/**\n * The **`AbstractRange`** abstract interface is the base class upon which all DOM range types are defined.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbstractRange)\n */\ninterface AbstractRange {\n /**\n * The read-only **`collapsed`** property of the AbstractRange interface returns `true` if the range\'s start position and end position are the same.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbstractRange/collapsed)\n */\n readonly collapsed: boolean;\n /**\n * The read-only **`endContainer`** property of the AbstractRange interface returns the Node in which the end of the range is located.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbstractRange/endContainer)\n */\n readonly endContainer: Node;\n /**\n * The **`endOffset`** property of the AbstractRange interface returns the offset into the end node of the range\'s end position.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbstractRange/endOffset)\n */\n readonly endOffset: number;\n /**\n * The read-only **`startContainer`** property of the AbstractRange interface returns the start Node for the range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbstractRange/startContainer)\n */\n readonly startContainer: Node;\n /**\n * The read-only **`startOffset`** property of the AbstractRange interface returns the offset into the start node of the range\'s start position.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbstractRange/startOffset)\n */\n readonly startOffset: number;\n}\n\ndeclare var AbstractRange: {\n prototype: AbstractRange;\n new(): AbstractRange;\n};\n\ninterface AbstractWorkerEventMap {\n "error": ErrorEvent;\n}\n\ninterface AbstractWorker {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/error_event) */\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/**\n * The **`AnalyserNode`** interface represents a node able to provide real-time frequency and time-domain analysis information.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnalyserNode)\n */\ninterface AnalyserNode extends AudioNode {\n /**\n * The **`fftSize`** property of the AnalyserNode interface is an unsigned long value and represents the window size in samples that is used when performing a Fast Fourier Transform (FFT) to get frequency domain data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnalyserNode/fftSize)\n */\n fftSize: number;\n /**\n * The **`frequencyBinCount`** read-only property of the AnalyserNode interface contains the total number of data points available to AudioContext BaseAudioContext.sampleRate.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnalyserNode/frequencyBinCount)\n */\n readonly frequencyBinCount: number;\n /**\n * The **`maxDecibels`** property of the AnalyserNode interface is a double value representing the maximum power value in the scaling range for the FFT analysis data, for conversion to unsigned byte values — basically, this specifies the maximum value for the range of results when using `getByteFrequencyData()`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnalyserNode/maxDecibels)\n */\n maxDecibels: number;\n /**\n * The **`minDecibels`** property of the AnalyserNode interface is a double value representing the minimum power value in the scaling range for the FFT analysis data, for conversion to unsigned byte values — basically, this specifies the minimum value for the range of results when using `getByteFrequencyData()`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnalyserNode/minDecibels)\n */\n minDecibels: number;\n /**\n * The **`smoothingTimeConstant`** property of the AnalyserNode interface is a double value representing the averaging constant with the last analysis frame.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnalyserNode/smoothingTimeConstant)\n */\n smoothingTimeConstant: number;\n /**\n * The **`getByteFrequencyData()`** method of the AnalyserNode interface copies the current frequency data into a Uint8Array (unsigned byte array) passed into it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnalyserNode/getByteFrequencyData)\n */\n getByteFrequencyData(array: Uint8Array<ArrayBuffer>): void;\n /**\n * The **`getByteTimeDomainData()`** method of the AnalyserNode Interface copies the current waveform, or time-domain, data into a Uint8Array (unsigned byte array) passed into it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnalyserNode/getByteTimeDomainData)\n */\n getByteTimeDomainData(array: Uint8Array<ArrayBuffer>): void;\n /**\n * The **`getFloatFrequencyData()`** method of the AnalyserNode Interface copies the current frequency data into a Float32Array array passed into it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnalyserNode/getFloatFrequencyData)\n */\n getFloatFrequencyData(array: Float32Array<ArrayBuffer>): void;\n /**\n * The **`getFloatTimeDomainData()`** method of the AnalyserNode Interface copies the current waveform, or time-domain, data into a Float32Array array passed into it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnalyserNode/getFloatTimeDomainData)\n */\n getFloatTimeDomainData(array: Float32Array<ArrayBuffer>): void;\n}\n\ndeclare var AnalyserNode: {\n prototype: AnalyserNode;\n new(context: BaseAudioContext, options?: AnalyserOptions): AnalyserNode;\n};\n\ninterface Animatable {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animate) */\n animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAnimations) */\n getAnimations(options?: GetAnimationsOptions): Animation[];\n}\n\ninterface AnimationEventMap {\n "cancel": AnimationPlaybackEvent;\n "finish": AnimationPlaybackEvent;\n "remove": AnimationPlaybackEvent;\n}\n\n/**\n * The **`Animation`** interface of the Web Animations API represents a single animation player and provides playback controls and a timeline for an animation node or source.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation)\n */\ninterface Animation extends EventTarget {\n /**\n * The **`Animation.currentTime`** property of the Web Animations API returns and sets the current time value of the animation in milliseconds, whether running or paused.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/currentTime)\n */\n currentTime: CSSNumberish | null;\n /**\n * The **`Animation.effect`** property of the Web Animations API gets and sets the target effect of an animation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/effect)\n */\n effect: AnimationEffect | null;\n /**\n * The **`Animation.finished`** read-only property of the Web Animations API returns a Promise which resolves once the animation has finished playing.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/finished)\n */\n readonly finished: Promise<Animation>;\n /**\n * The **`Animation.id`** property of the Web Animations API returns or sets a string used to identify the animation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/id)\n */\n id: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/cancel_event) */\n oncancel: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/finish_event) */\n onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/remove_event) */\n onremove: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;\n /**\n * The read-only **`Animation.pending`** property of the Web Animations API indicates whether the animation is currently waiting for an asynchronous operation such as initiating playback or pausing a running animation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/pending)\n */\n readonly pending: boolean;\n /**\n * The read-only **`Animation.playState`** property of the Web Animations API returns an enumerated value describing the playback state of an animation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/playState)\n */\n readonly playState: AnimationPlayState;\n /**\n * The **`Animation.playbackRate`** property of the Web Animations API returns or sets the playback rate of the animation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/playbackRate)\n */\n playbackRate: number;\n /**\n * The read-only **`Animation.ready`** property of the Web Animations API returns a Promise which resolves when the animation is ready to play.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/ready)\n */\n readonly ready: Promise<Animation>;\n /**\n * The read-only **`Animation.replaceState`** property of the Web Animations API indicates whether the animation has been removed by the browser automatically after being replaced by another animation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/replaceState)\n */\n readonly replaceState: AnimationReplaceState;\n /**\n * The **`Animation.startTime`** property of the Animation interface is a double-precision floating-point value which indicates the scheduled time when an animation\'s playback should begin.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/startTime)\n */\n startTime: CSSNumberish | null;\n /**\n * The **`Animation.timeline`** property of the Animation interface returns or sets the AnimationTimeline associated with this animation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/timeline)\n */\n timeline: AnimationTimeline | null;\n /**\n * The Web Animations API\'s **`cancel()`** method of the Animation interface clears all KeyframeEffects caused by this animation and aborts its playback.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/cancel)\n */\n cancel(): void;\n /**\n * The `commitStyles()` method of the Web Animations API\'s Animation interface writes the computed values of the animation\'s current styles into its target element\'s `style` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/commitStyles)\n */\n commitStyles(): void;\n /**\n * The **`finish()`** method of the Web Animations API\'s Animation Interface sets the current playback time to the end of the animation corresponding to the current playback direction.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/finish)\n */\n finish(): void;\n /**\n * The **`pause()`** method of the Web Animations API\'s Animation interface suspends playback of the animation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/pause)\n */\n pause(): void;\n /**\n * The `persist()` method of the Web Animations API\'s Animation interface explicitly persists an animation, preventing it from being automatically removed when it is replaced by another animation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/persist)\n */\n persist(): void;\n /**\n * The **`play()`** method of the Web Animations API\'s Animation Interface starts or resumes playing of an animation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/play)\n */\n play(): void;\n /**\n * The **`Animation.reverse()`** method of the Animation Interface reverses the playback direction, meaning the animation ends at its beginning.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/reverse)\n */\n reverse(): void;\n /**\n * The **`updatePlaybackRate()`** method of the Web Animations API\'s synchronizing its playback position.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Animation/updatePlaybackRate)\n */\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\n/**\n * The `AnimationEffect` interface of the Web Animations API is an interface representing animation effects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationEffect)\n */\ninterface AnimationEffect {\n /**\n * The `getComputedTiming()` method of the AnimationEffect interface returns the calculated timing properties for this animation effect.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationEffect/getComputedTiming)\n */\n getComputedTiming(): ComputedEffectTiming;\n /**\n * The `AnimationEffect.getTiming()` method of the AnimationEffect interface returns an object containing the timing properties for the Animation Effect.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationEffect/getTiming)\n */\n getTiming(): EffectTiming;\n /**\n * The `updateTiming()` method of the AnimationEffect interface updates the specified timing properties for an animation effect.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationEffect/updateTiming)\n */\n updateTiming(timing?: OptionalEffectTiming): void;\n}\n\ndeclare var AnimationEffect: {\n prototype: AnimationEffect;\n new(): AnimationEffect;\n};\n\n/**\n * The **`AnimationEvent`** interface represents events providing information related to animations.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationEvent)\n */\ninterface AnimationEvent extends Event {\n /**\n * The **`AnimationEvent.animationName`** read-only property is a string containing the value of the animation-name CSS property associated with the transition.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationEvent/animationName)\n */\n readonly animationName: string;\n /**\n * The **`AnimationEvent.elapsedTime`** read-only property is a `float` giving the amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationEvent/elapsedTime)\n */\n readonly elapsedTime: number;\n /**\n * The **`AnimationEvent.pseudoElement`** read-only property is a string, starting with `\'::\'`, containing the name of the pseudo-element the animation runs on.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationEvent/pseudoElement)\n */\n readonly pseudoElement: string;\n}\n\ndeclare var AnimationEvent: {\n prototype: AnimationEvent;\n new(type: string, animationEventInitDict?: AnimationEventInit): AnimationEvent;\n};\n\ninterface AnimationFrameProvider {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */\n cancelAnimationFrame(handle: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */\n requestAnimationFrame(callback: FrameRequestCallback): number;\n}\n\n/**\n * The AnimationPlaybackEvent interface of the Web Animations API represents animation events.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationPlaybackEvent)\n */\ninterface AnimationPlaybackEvent extends Event {\n /**\n * The **`currentTime`** read-only property of the AnimationPlaybackEvent interface represents the current time of the animation that generated the event at the moment the event is queued.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationPlaybackEvent/currentTime)\n */\n readonly currentTime: CSSNumberish | null;\n /**\n * The **`timelineTime`** read-only property of the AnimationPlaybackEvent interface represents the time value of the animation\'s AnimationTimeline at the moment the event is queued.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationPlaybackEvent/timelineTime)\n */\n readonly timelineTime: CSSNumberish | null;\n}\n\ndeclare var AnimationPlaybackEvent: {\n prototype: AnimationPlaybackEvent;\n new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent;\n};\n\n/**\n * The `AnimationTimeline` interface of the Web Animations API represents the timeline of an animation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline)\n */\ninterface AnimationTimeline {\n /**\n * The **`currentTime`** read-only property of the Web Animations API\'s AnimationTimeline interface returns the timeline\'s current time in milliseconds, or `null` if the timeline is inactive.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AnimationTimeline/currentTime)\n */\n readonly currentTime: CSSNumberish | null;\n}\n\ndeclare var AnimationTimeline: {\n prototype: AnimationTimeline;\n new(): AnimationTimeline;\n};\n\n/**\n * The **`Attr`** interface represents one of an element\'s attributes as an object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr)\n */\ninterface Attr extends Node {\n /**\n * The read-only **`localName`** property of the Attr interface returns the _local part_ of the _qualified name_ of an attribute, that is the name of the attribute, stripped from any namespace in front of it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/localName)\n */\n readonly localName: string;\n /**\n * The read-only **`name`** property of the Attr interface returns the _qualified name_ of an attribute, that is the name of the attribute, with the namespace prefix, if any, in front of it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/name)\n */\n readonly name: string;\n /**\n * The read-only **`namespaceURI`** property of the Attr interface returns the namespace URI of the attribute, or `null` if the element is not in a namespace.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/namespaceURI)\n */\n readonly namespaceURI: string | null;\n readonly ownerDocument: Document;\n /**\n * The read-only **`ownerElement`** property of the Attr interface returns the Element the attribute belongs to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/ownerElement)\n */\n readonly ownerElement: Element | null;\n /**\n * The read-only **`prefix`** property of the Attr returns the namespace prefix of the attribute, or `null` if no prefix is specified.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/prefix)\n */\n readonly prefix: string | null;\n /**\n * The read-only **`specified`** property of the Attr interface always returns `true`.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/specified)\n */\n readonly specified: boolean;\n /**\n * The **`value`** property of the Attr interface contains the value of the attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/value)\n */\n value: string;\n /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */\n get textContent(): string;\n set textContent(value: string | null);\n}\n\ndeclare var Attr: {\n prototype: Attr;\n new(): Attr;\n};\n\n/**\n * The **`AudioBuffer`** interface represents a short audio asset residing in memory, created from an audio file using the BaseAudioContext/decodeAudioData method, or from raw data using BaseAudioContext/createBuffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBuffer)\n */\ninterface AudioBuffer {\n /**\n * The **`duration`** property of the AudioBuffer interface returns a double representing the duration, in seconds, of the PCM data stored in the buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBuffer/duration)\n */\n readonly duration: number;\n /**\n * The **`length`** property of the AudioBuffer interface returns an integer representing the length, in sample-frames, of the PCM data stored in the buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBuffer/length)\n */\n readonly length: number;\n /**\n * The `numberOfChannels` property of the AudioBuffer interface returns an integer representing the number of discrete audio channels described by the PCM data stored in the buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBuffer/numberOfChannels)\n */\n readonly numberOfChannels: number;\n /**\n * The **`sampleRate`** property of the AudioBuffer interface returns a float representing the sample rate, in samples per second, of the PCM data stored in the buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBuffer/sampleRate)\n */\n readonly sampleRate: number;\n /**\n * The **`copyFromChannel()`** method of the channel of the `AudioBuffer` to a specified ```js-nolint copyFromChannel(destination, channelNumber, startInChannel) ``` - `destination` - : A Float32Array to copy the channel\'s samples to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBuffer/copyFromChannel)\n */\n copyFromChannel(destination: Float32Array<ArrayBuffer>, channelNumber: number, bufferOffset?: number): void;\n /**\n * The `copyToChannel()` method of the AudioBuffer interface copies the samples to the specified channel of the `AudioBuffer`, from the source array.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBuffer/copyToChannel)\n */\n copyToChannel(source: Float32Array<ArrayBuffer>, channelNumber: number, bufferOffset?: number): void;\n /**\n * The **`getChannelData()`** method of the AudioBuffer Interface returns a Float32Array containing the PCM data associated with the channel, defined by the channel parameter (with 0 representing the first channel).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBuffer/getChannelData)\n */\n getChannelData(channel: number): Float32Array<ArrayBuffer>;\n}\n\ndeclare var AudioBuffer: {\n prototype: AudioBuffer;\n new(options: AudioBufferOptions): AudioBuffer;\n};\n\n/**\n * The **`AudioBufferSourceNode`** interface is an AudioScheduledSourceNode which represents an audio source consisting of in-memory audio data, stored in an AudioBuffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBufferSourceNode)\n */\ninterface AudioBufferSourceNode extends AudioScheduledSourceNode {\n /**\n * The **`buffer`** property of the AudioBufferSourceNode interface provides the ability to play back audio using an AudioBuffer as the source of the sound data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBufferSourceNode/buffer)\n */\n buffer: AudioBuffer | null;\n /**\n * The **`detune`** property of the representing detuning of oscillation in cents.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBufferSourceNode/detune)\n */\n readonly detune: AudioParam;\n /**\n * The `loop` property of the AudioBufferSourceNode interface is a Boolean indicating if the audio asset must be replayed when the end of the AudioBuffer is reached.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBufferSourceNode/loop)\n */\n loop: boolean;\n /**\n * The `loopEnd` property of the AudioBufferSourceNode interface specifies is a floating point number specifying, in seconds, at what offset into playing the AudioBuffer playback should loop back to the time indicated by the AudioBufferSourceNode.loopStart property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBufferSourceNode/loopEnd)\n */\n loopEnd: number;\n /**\n * The **`loopStart`** property of the AudioBufferSourceNode interface is a floating-point value indicating, in seconds, where in the AudioBuffer the restart of the play must happen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBufferSourceNode/loopStart)\n */\n loopStart: number;\n /**\n * The **`playbackRate`** property of the AudioBufferSourceNode interface Is a k-rate AudioParam that defines the speed at which the audio asset will be played.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBufferSourceNode/playbackRate)\n */\n readonly playbackRate: AudioParam;\n /**\n * The `start()` method of the AudioBufferSourceNode Interface is used to schedule playback of the audio data contained in the buffer, or to begin playback immediately.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioBufferSourceNode/start)\n */\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/**\n * The `AudioContext` interface represents an audio-processing graph built from audio modules linked together, each represented by an AudioNode.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext)\n */\ninterface AudioContext extends BaseAudioContext {\n /**\n * The **`baseLatency`** read-only property of the seconds of processing latency incurred by the `AudioContext` passing an audio buffer from the AudioDestinationNode — i.e., the end of the audio graph — into the host system\'s audio subsystem ready for playing.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext/baseLatency)\n */\n readonly baseLatency: number;\n /**\n * The **`outputLatency`** read-only property of the AudioContext Interface provides an estimation of the output latency of the current audio context.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext/outputLatency)\n */\n readonly outputLatency: number;\n /**\n * The `close()` method of the AudioContext Interface closes the audio context, releasing any system audio resources that it uses.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext/close)\n */\n close(): Promise<void>;\n /**\n * The `createMediaElementSource()` method of the AudioContext Interface is used to create a new MediaElementAudioSourceNode object, given an existing HTML audio or video element, the audio from which can then be played and manipulated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext/createMediaElementSource)\n */\n createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode;\n /**\n * The `createMediaStreamDestination()` method of the AudioContext Interface is used to create a new MediaStreamAudioDestinationNode object associated with a WebRTC MediaStream representing an audio stream, which may be stored in a local file or sent to another computer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext/createMediaStreamDestination)\n */\n createMediaStreamDestination(): MediaStreamAudioDestinationNode;\n /**\n * The `createMediaStreamSource()` method of the AudioContext Interface is used to create a new MediaStreamAudioSourceNode object, given a media stream (say, from a MediaDevices.getUserMedia instance), the audio from which can then be played and manipulated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext/createMediaStreamSource)\n */\n createMediaStreamSource(mediaStream: MediaStream): MediaStreamAudioSourceNode;\n /**\n * The **`getOutputTimestamp()`** method of the containing two audio timestamp values relating to the current audio context.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext/getOutputTimestamp)\n */\n getOutputTimestamp(): AudioTimestamp;\n /**\n * The **`resume()`** method of the AudioContext interface resumes the progression of time in an audio context that has previously been suspended.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext/resume)\n */\n resume(): Promise<void>;\n /**\n * The `suspend()` method of the AudioContext Interface suspends the progression of time in the audio context, temporarily halting audio hardware access and reducing CPU/battery usage in the process — this is useful if you want an application to power down the audio hardware when it will not be using an audio context for a while.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioContext/suspend)\n */\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/**\n * The **`AudioData`** interface of the WebCodecs API represents an audio sample.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData)\n */\ninterface AudioData {\n /**\n * The **`duration`** read-only property of the AudioData interface returns the duration in microseconds of this `AudioData` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/duration)\n */\n readonly duration: number;\n /**\n * The **`format`** read-only property of the AudioData interface returns the sample format of the `AudioData` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/format)\n */\n readonly format: AudioSampleFormat | null;\n /**\n * The **`numberOfChannels`** read-only property of the AudioData interface returns the number of channels in the `AudioData` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/numberOfChannels)\n */\n readonly numberOfChannels: number;\n /**\n * The **`numberOfFrames`** read-only property of the AudioData interface returns the number of frames in the `AudioData` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/numberOfFrames)\n */\n readonly numberOfFrames: number;\n /**\n * The **`sampleRate`** read-only property of the AudioData interface returns the sample rate in Hz.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/sampleRate)\n */\n readonly sampleRate: number;\n /**\n * The **`timestamp`** read-only property of the AudioData interface returns the timestamp of this `AudioData` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/timestamp)\n */\n readonly timestamp: number;\n /**\n * The **`allocationSize()`** method of the AudioData interface returns the size in bytes required to hold the current sample as filtered by options passed into the method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/allocationSize)\n */\n allocationSize(options: AudioDataCopyToOptions): number;\n /**\n * The **`clone()`** method of the AudioData interface creates a new `AudioData` object with reference to the same media resource as the original.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/clone)\n */\n clone(): AudioData;\n /**\n * The **`close()`** method of the AudioData interface clears all states and releases the reference to the media resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/close)\n */\n close(): void;\n /**\n * The **`copyTo()`** method of the AudioData interface copies a plane of an `AudioData` object to a destination buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/copyTo)\n */\n copyTo(destination: AllowSharedBufferSource, options: AudioDataCopyToOptions): void;\n}\n\ndeclare var AudioData: {\n prototype: AudioData;\n new(init: AudioDataInit): AudioData;\n};\n\ninterface AudioDecoderEventMap {\n "dequeue": Event;\n}\n\n/**\n * The **`AudioDecoder`** interface of the WebCodecs API decodes chunks of audio.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder)\n */\ninterface AudioDecoder extends EventTarget {\n /**\n * The **`decodeQueueSize`** read-only property of the AudioDecoder interface returns the number of pending decode requests in the queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/decodeQueueSize)\n */\n readonly decodeQueueSize: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/dequeue_event) */\n ondequeue: ((this: AudioDecoder, ev: Event) => any) | null;\n /**\n * The **`state`** read-only property of the AudioDecoder interface returns the current state of the underlying codec.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/state)\n */\n readonly state: CodecState;\n /**\n * The **`close()`** method of the AudioDecoder interface ends all pending work and releases system resources.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/close)\n */\n close(): void;\n /**\n * The **`configure()`** method of the AudioDecoder interface enqueues a control message to configure the audio decoder for decoding chunks.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/configure)\n */\n configure(config: AudioDecoderConfig): void;\n /**\n * The **`decode()`** method of the AudioDecoder interface enqueues a control message to decode a given chunk of audio.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/decode)\n */\n decode(chunk: EncodedAudioChunk): void;\n /**\n * The **`flush()`** method of the AudioDecoder interface returns a Promise that resolves once all pending messages in the queue have been completed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/flush)\n */\n flush(): Promise<void>;\n /**\n * The **`reset()`** method of the AudioDecoder interface resets all states including configuration, control messages in the control message queue, and all pending callbacks.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/reset)\n */\n reset(): void;\n addEventListener<K extends keyof AudioDecoderEventMap>(type: K, listener: (this: AudioDecoder, ev: AudioDecoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AudioDecoderEventMap>(type: K, listener: (this: AudioDecoder, ev: AudioDecoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioDecoder: {\n prototype: AudioDecoder;\n new(init: AudioDecoderInit): AudioDecoder;\n /**\n * The **`isConfigSupported()`** static method of the AudioDecoder interface checks if the given config is supported (that is, if AudioDecoder objects can be successfully configured with the given config).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/isConfigSupported_static)\n */\n isConfigSupported(config: AudioDecoderConfig): Promise<AudioDecoderSupport>;\n};\n\n/**\n * The `AudioDestinationNode` interface represents the end destination of an audio graph in a given context — usually the speakers of your device.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDestinationNode)\n */\ninterface AudioDestinationNode extends AudioNode {\n /**\n * The `maxChannelCount` property of the AudioDestinationNode interface is an `unsigned long` defining the maximum amount of channels that the physical device can handle.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDestinationNode/maxChannelCount)\n */\n readonly maxChannelCount: number;\n}\n\ndeclare var AudioDestinationNode: {\n prototype: AudioDestinationNode;\n new(): AudioDestinationNode;\n};\n\ninterface AudioEncoderEventMap {\n "dequeue": Event;\n}\n\n/**\n * The **`AudioEncoder`** interface of the WebCodecs API encodes AudioData objects.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder)\n */\ninterface AudioEncoder extends EventTarget {\n /**\n * The **`encodeQueueSize`** read-only property of the AudioEncoder interface returns the number of pending encode requests in the queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/encodeQueueSize)\n */\n readonly encodeQueueSize: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/dequeue_event) */\n ondequeue: ((this: AudioEncoder, ev: Event) => any) | null;\n /**\n * The **`state`** read-only property of the AudioEncoder interface returns the current state of the underlying codec.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/state)\n */\n readonly state: CodecState;\n /**\n * The **`close()`** method of the AudioEncoder interface ends all pending work and releases system resources.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/close)\n */\n close(): void;\n /**\n * The **`configure()`** method of the AudioEncoder interface enqueues a control message to configure the audio encoder for encoding chunks.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/configure)\n */\n configure(config: AudioEncoderConfig): void;\n /**\n * The **`encode()`** method of the AudioEncoder interface enqueues a control message to encode a given AudioData object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/encode)\n */\n encode(data: AudioData): void;\n /**\n * The **`flush()`** method of the AudioEncoder interface returns a Promise that resolves once all pending messages in the queue have been completed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/flush)\n */\n flush(): Promise<void>;\n /**\n * The **`reset()`** method of the AudioEncoder interface resets all states including configuration, control messages in the control message queue, and all pending callbacks.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/reset)\n */\n reset(): void;\n addEventListener<K extends keyof AudioEncoderEventMap>(type: K, listener: (this: AudioEncoder, ev: AudioEncoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AudioEncoderEventMap>(type: K, listener: (this: AudioEncoder, ev: AudioEncoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioEncoder: {\n prototype: AudioEncoder;\n new(init: AudioEncoderInit): AudioEncoder;\n /**\n * The **`isConfigSupported()`** static method of the AudioEncoder interface checks if the given config is supported (that is, if AudioEncoder objects can be successfully configured with the given config).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/isConfigSupported_static)\n */\n isConfigSupported(config: AudioEncoderConfig): Promise<AudioEncoderSupport>;\n};\n\n/**\n * The `AudioListener` interface represents the position and orientation of the unique person listening to the audio scene, and is used in audio spatialization.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener)\n */\ninterface AudioListener {\n /**\n * The `forwardX` read-only property of the AudioListener interface is an AudioParam representing the x value of the direction vector defining the forward direction the listener is pointing in.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/forwardX)\n */\n readonly forwardX: AudioParam;\n /**\n * The `forwardY` read-only property of the AudioListener interface is an AudioParam representing the y value of the direction vector defining the forward direction the listener is pointing in.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/forwardY)\n */\n readonly forwardY: AudioParam;\n /**\n * The `forwardZ` read-only property of the AudioListener interface is an AudioParam representing the z value of the direction vector defining the forward direction the listener is pointing in.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/forwardZ)\n */\n readonly forwardZ: AudioParam;\n /**\n * The `positionX` read-only property of the AudioListener interface is an AudioParam representing the x position of the listener in 3D cartesian space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/positionX)\n */\n readonly positionX: AudioParam;\n /**\n * The `positionY` read-only property of the AudioListener interface is an AudioParam representing the y position of the listener in 3D cartesian space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/positionY)\n */\n readonly positionY: AudioParam;\n /**\n * The `positionZ` read-only property of the AudioListener interface is an AudioParam representing the z position of the listener in 3D cartesian space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/positionZ)\n */\n readonly positionZ: AudioParam;\n /**\n * The `upX` read-only property of the AudioListener interface is an AudioParam representing the x value of the direction vector defining the up direction the listener is pointing in.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/upX)\n */\n readonly upX: AudioParam;\n /**\n * The `upY` read-only property of the AudioListener interface is an AudioParam representing the y value of the direction vector defining the up direction the listener is pointing in.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/upY)\n */\n readonly upY: AudioParam;\n /**\n * The `upZ` read-only property of the AudioListener interface is an AudioParam representing the z value of the direction vector defining the up direction the listener is pointing in.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/upZ)\n */\n readonly upZ: AudioParam;\n /**\n * The `setOrientation()` method of the AudioListener interface defines the orientation of the listener.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/setOrientation)\n */\n setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void;\n /**\n * The `setPosition()` method of the AudioListener Interface defines the position of the listener.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioListener/setPosition)\n */\n setPosition(x: number, y: number, z: number): void;\n}\n\ndeclare var AudioListener: {\n prototype: AudioListener;\n new(): AudioListener;\n};\n\n/**\n * The **`AudioNode`** interface is a generic interface for representing an audio processing module.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioNode)\n */\ninterface AudioNode extends EventTarget {\n /**\n * The **`channelCount`** property of the AudioNode interface represents an integer used to determine how many channels are used when up-mixing and down-mixing connections to any inputs to the node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioNode/channelCount)\n */\n channelCount: number;\n /**\n * The `channelCountMode` property of the AudioNode interface represents an enumerated value describing the way channels must be matched between the node\'s inputs and outputs.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioNode/channelCountMode)\n */\n channelCountMode: ChannelCountMode;\n /**\n * The **`channelInterpretation`** property of the AudioNode interface represents an enumerated value describing how input channels are mapped to output channels when the number of inputs/outputs is different.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioNode/channelInterpretation)\n */\n channelInterpretation: ChannelInterpretation;\n /**\n * The read-only `context` property of the the node is participating in.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioNode/context)\n */\n readonly context: BaseAudioContext;\n /**\n * The `numberOfInputs` property of the AudioNode interface returns the number of inputs feeding the node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioNode/numberOfInputs)\n */\n readonly numberOfInputs: number;\n /**\n * The `numberOfOutputs` property of the AudioNode interface returns the number of outputs coming out of the node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioNode/numberOfOutputs)\n */\n readonly numberOfOutputs: number;\n /**\n * The `connect()` method of the AudioNode interface lets you connect one of the node\'s outputs to a target, which may be either another `AudioNode` (thereby directing the sound data to the specified node) or an change the value of that parameter over time.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioNode/connect)\n */\n connect(destinationNode: AudioNode, output?: number, input?: number): AudioNode;\n connect(destinationParam: AudioParam, output?: number): void;\n /**\n * The **`disconnect()`** method of the AudioNode interface lets you disconnect one or more nodes from the node on which the method is called.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioNode/disconnect)\n */\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/**\n * The Web Audio API\'s `AudioParam` interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam)\n */\ninterface AudioParam {\n automationRate: AutomationRate;\n /**\n * The **`defaultValue`** read-only property of the AudioParam interface represents the initial value of the attributes as defined by the specific AudioNode creating the `AudioParam`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/defaultValue)\n */\n readonly defaultValue: number;\n /**\n * The **`maxValue`** read-only property of the AudioParam interface represents the maximum possible value for the parameter\'s nominal (effective) range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/maxValue)\n */\n readonly maxValue: number;\n /**\n * The **`minValue`** read-only property of the AudioParam interface represents the minimum possible value for the parameter\'s nominal (effective) range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/minValue)\n */\n readonly minValue: number;\n /**\n * The **`value`** property of the AudioParam interface gets or sets the value of this `AudioParam` at the current time.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/value)\n */\n value: number;\n /**\n * The **`cancelAndHoldAtTime()`** method of the `AudioParam` but holds its value at a given time until further changes are made using other methods.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/cancelAndHoldAtTime)\n */\n cancelAndHoldAtTime(cancelTime: number): AudioParam;\n /**\n * The `cancelScheduledValues()` method of the AudioParam Interface cancels all scheduled future changes to the `AudioParam`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/cancelScheduledValues)\n */\n cancelScheduledValues(cancelTime: number): AudioParam;\n /**\n * The **`exponentialRampToValueAtTime()`** method of the AudioParam Interface schedules a gradual exponential change in the value of the AudioParam.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/exponentialRampToValueAtTime)\n */\n exponentialRampToValueAtTime(value: number, endTime: number): AudioParam;\n /**\n * The `linearRampToValueAtTime()` method of the AudioParam Interface schedules a gradual linear change in the value of the `AudioParam`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/linearRampToValueAtTime)\n */\n linearRampToValueAtTime(value: number, endTime: number): AudioParam;\n /**\n * The `setTargetAtTime()` method of the `AudioParam` value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setTargetAtTime)\n */\n setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam;\n /**\n * The `setValueAtTime()` method of the `AudioParam` value at a precise time, as measured against ```js-nolint setValueAtTime(value, startTime) ``` - `value` - : A floating point number representing the value the AudioParam will change to at the given time.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueAtTime)\n */\n setValueAtTime(value: number, startTime: number): AudioParam;\n /**\n * The **`setValueCurveAtTime()`** method of the following a curve defined by a list of values.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime)\n */\n setValueCurveAtTime(values: number[] | Float32Array, startTime: number, duration: number): AudioParam;\n}\n\ndeclare var AudioParam: {\n prototype: AudioParam;\n new(): AudioParam;\n};\n\n/**\n * The **`AudioParamMap`** interface of the Web Audio API represents an iterable and read-only set of multiple audio parameters.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParamMap)\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 `AudioProcessingEvent` interface of the Web Audio API represents 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 *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioProcessingEvent)\n */\ninterface AudioProcessingEvent extends Event {\n /**\n * The **`inputBuffer`** read-only property of the AudioProcessingEvent interface represents the input buffer of an audio processing event.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioProcessingEvent/inputBuffer)\n */\n readonly inputBuffer: AudioBuffer;\n /**\n * The **`outputBuffer`** read-only property of the AudioProcessingEvent interface represents the output buffer of an audio processing event.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioProcessingEvent/outputBuffer)\n */\n readonly outputBuffer: AudioBuffer;\n /**\n * The **`playbackTime`** read-only property of the AudioProcessingEvent interface represents the time when the audio will be played.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioProcessingEvent/playbackTime)\n */\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\n/**\n * The `AudioScheduledSourceNode` interface—part of the Web Audio API—is a parent interface for several types of audio source node interfaces which share the ability to be started and stopped, optionally at specified times.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioScheduledSourceNode)\n */\ninterface AudioScheduledSourceNode extends AudioNode {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioScheduledSourceNode/ended_event) */\n onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null;\n /**\n * The `start()` method on AudioScheduledSourceNode schedules a sound to begin playback at the specified time.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioScheduledSourceNode/start)\n */\n start(when?: number): void;\n /**\n * The `stop()` method on AudioScheduledSourceNode schedules a sound to cease playback at the specified time.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioScheduledSourceNode/stop)\n */\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/**\n * The **`AudioWorklet`** interface of the Web Audio API is used to supply custom audio processing scripts that execute in a separate thread to provide very low latency audio processing.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorklet)\n */\ninterface AudioWorklet extends Worklet {\n}\n\ndeclare var AudioWorklet: {\n prototype: AudioWorklet;\n new(): AudioWorklet;\n};\n\ninterface AudioWorkletNodeEventMap {\n "processorerror": ErrorEvent;\n}\n\n/**\n * The **`AudioWorkletNode`** interface of the Web Audio API represents a base class for a user-defined AudioNode, which can be connected to an audio routing graph along with other nodes.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode)\n */\ninterface AudioWorkletNode extends AudioNode {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/processorerror_event) */\n onprocessorerror: ((this: AudioWorkletNode, ev: ErrorEvent) => any) | null;\n /**\n * The read-only **`parameters`** property of the underlying AudioWorkletProcessor according to its getter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/parameters)\n */\n readonly parameters: AudioParamMap;\n /**\n * The read-only **`port`** property of the associated AudioWorkletProcessor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletNode/port)\n */\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/**\n * The **`AuthenticatorAssertionResponse`** interface of the Web Authentication API contains a digital signature from the private key of a particular WebAuthn credential.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAssertionResponse)\n */\ninterface AuthenticatorAssertionResponse extends AuthenticatorResponse {\n /**\n * The **`authenticatorData`** property of the AuthenticatorAssertionResponse interface returns an ArrayBuffer containing information from the authenticator such as the Relying Party ID Hash (rpIdHash), a signature counter, test of user presence, user verification flags, and any extensions processed by the authenticator.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAssertionResponse/authenticatorData)\n */\n readonly authenticatorData: ArrayBuffer;\n /**\n * The **`signature`** read-only property of the object which is the signature of the authenticator for both the client data (AuthenticatorResponse.clientDataJSON).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAssertionResponse/signature)\n */\n readonly signature: ArrayBuffer;\n /**\n * The **`userHandle`** read-only property of the AuthenticatorAssertionResponse interface is an ArrayBuffer object providing an opaque identifier for the given user.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAssertionResponse/userHandle)\n */\n readonly userHandle: ArrayBuffer | null;\n}\n\ndeclare var AuthenticatorAssertionResponse: {\n prototype: AuthenticatorAssertionResponse;\n new(): AuthenticatorAssertionResponse;\n};\n\n/**\n * The **`AuthenticatorAttestationResponse`** interface of the Web Authentication API is the result of a WebAuthn credential registration.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse)\n */\ninterface AuthenticatorAttestationResponse extends AuthenticatorResponse {\n /**\n * The **`attestationObject`** property of the entire `attestationObject` with a private key that is stored in the authenticator when it is manufactured.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/attestationObject)\n */\n readonly attestationObject: ArrayBuffer;\n /**\n * The **`getAuthenticatorData()`** method of the AuthenticatorAttestationResponse interface returns an ArrayBuffer containing the authenticator data contained within the AuthenticatorAttestationResponse.attestationObject property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/getAuthenticatorData)\n */\n getAuthenticatorData(): ArrayBuffer;\n /**\n * The **`getPublicKey()`** method of the AuthenticatorAttestationResponse interface returns an ArrayBuffer containing the DER `SubjectPublicKeyInfo` of the new credential (see Subject Public Key Info), or `null` if this is not available.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/getPublicKey)\n */\n getPublicKey(): ArrayBuffer | null;\n /**\n * The **`getPublicKeyAlgorithm()`** method of the AuthenticatorAttestationResponse interface returns a number that is equal to a COSE Algorithm Identifier, representing the cryptographic algorithm used for the new credential.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/getPublicKeyAlgorithm)\n */\n getPublicKeyAlgorithm(): COSEAlgorithmIdentifier;\n /**\n * The **`getTransports()`** method of the AuthenticatorAttestationResponse interface returns an array of strings describing the different transports which may be used by the authenticator.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/getTransports)\n */\n getTransports(): string[];\n}\n\ndeclare var AuthenticatorAttestationResponse: {\n prototype: AuthenticatorAttestationResponse;\n new(): AuthenticatorAttestationResponse;\n};\n\n/**\n * The **`AuthenticatorResponse`** interface of the Web Authentication API is the base interface for interfaces that provide a cryptographic root of trust for a key pair.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorResponse)\n */\ninterface AuthenticatorResponse {\n /**\n * The **`clientDataJSON`** property of the AuthenticatorResponse interface stores a JSON string in an An ArrayBuffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorResponse/clientDataJSON)\n */\n readonly clientDataJSON: ArrayBuffer;\n}\n\ndeclare var AuthenticatorResponse: {\n prototype: AuthenticatorResponse;\n new(): AuthenticatorResponse;\n};\n\n/**\n * The **`BarProp`** interface of the Document Object Model represents the web browser user interface elements that are exposed to scripts in web pages.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BarProp)\n */\ninterface BarProp {\n /**\n * The **`visible`** read-only property of the BarProp interface returns `true` if the user interface element it represents is visible.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BarProp/visible)\n */\n readonly visible: boolean;\n}\n\ndeclare var BarProp: {\n prototype: BarProp;\n new(): BarProp;\n};\n\ninterface BaseAudioContextEventMap {\n "statechange": Event;\n}\n\n/**\n * The `BaseAudioContext` interface of the Web Audio API acts as a base definition for online and offline audio-processing graphs, as represented by AudioContext and OfflineAudioContext respectively.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext)\n */\ninterface BaseAudioContext extends EventTarget {\n /**\n * The `audioWorklet` read-only property of the processing.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/audioWorklet)\n */\n readonly audioWorklet: AudioWorklet;\n /**\n * The `currentTime` read-only property of the BaseAudioContext interface returns a double representing an ever-increasing hardware timestamp in seconds that can be used for scheduling audio playback, visualizing timelines, etc.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/currentTime)\n */\n readonly currentTime: number;\n /**\n * The `destination` property of the BaseAudioContext interface returns an AudioDestinationNode representing the final destination of all audio in the context.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/destination)\n */\n readonly destination: AudioDestinationNode;\n /**\n * The `listener` property of the BaseAudioContext interface returns an AudioListener object that can then be used for implementing 3D audio spatialization.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/listener)\n */\n readonly listener: AudioListener;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/statechange_event) */\n onstatechange: ((this: BaseAudioContext, ev: Event) => any) | null;\n /**\n * The `sampleRate` property of the BaseAudioContext interface returns a floating point number representing the sample rate, in samples per second, used by all nodes in this audio context.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/sampleRate)\n */\n readonly sampleRate: number;\n /**\n * The `state` read-only property of the BaseAudioContext interface returns the current state of the `AudioContext`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/state)\n */\n readonly state: AudioContextState;\n /**\n * The `createAnalyser()` method of the can be used to expose audio time and frequency data and create data visualizations.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createAnalyser)\n */\n createAnalyser(): AnalyserNode;\n /**\n * The `createBiquadFilter()` method of the BaseAudioContext interface creates a BiquadFilterNode, which represents a second order filter configurable as several different common filter types.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createBiquadFilter)\n */\n createBiquadFilter(): BiquadFilterNode;\n /**\n * The `createBuffer()` method of the BaseAudioContext Interface is used to create a new, empty AudioBuffer object, which can then be populated by data, and played via an AudioBufferSourceNode.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createBuffer)\n */\n createBuffer(numberOfChannels: number, length: number, sampleRate: number): AudioBuffer;\n /**\n * The `createBufferSource()` method of the BaseAudioContext Interface is used to create a new AudioBufferSourceNode, which can be used to play audio data contained within an AudioBuffer object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createBufferSource)\n */\n createBufferSource(): AudioBufferSourceNode;\n /**\n * The `createChannelMerger()` method of the BaseAudioContext interface creates a ChannelMergerNode, which combines channels from multiple audio streams into a single audio stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createChannelMerger)\n */\n createChannelMerger(numberOfInputs?: number): ChannelMergerNode;\n /**\n * The `createChannelSplitter()` method of the BaseAudioContext Interface is used to create a ChannelSplitterNode, which is used to access the individual channels of an audio stream and process them separately.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createChannelSplitter)\n */\n createChannelSplitter(numberOfOutputs?: number): ChannelSplitterNode;\n /**\n * The **`createConstantSource()`** property of the BaseAudioContext interface creates a outputs a monaural (one-channel) sound signal whose samples all have the same value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createConstantSource)\n */\n createConstantSource(): ConstantSourceNode;\n /**\n * The `createConvolver()` method of the BaseAudioContext interface creates a ConvolverNode, which is commonly used to apply reverb effects to your audio.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createConvolver)\n */\n createConvolver(): ConvolverNode;\n /**\n * The `createDelay()` method of the which is used to delay the incoming audio signal by a certain amount of time.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createDelay)\n */\n createDelay(maxDelayTime?: number): DelayNode;\n /**\n * The `createDynamicsCompressor()` method of the BaseAudioContext Interface is used to create a DynamicsCompressorNode, which can be used to apply compression to an audio signal.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createDynamicsCompressor)\n */\n createDynamicsCompressor(): DynamicsCompressorNode;\n /**\n * The `createGain()` method of the BaseAudioContext interface creates a GainNode, which can be used to control the overall gain (or volume) of the audio graph.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createGain)\n */\n createGain(): GainNode;\n /**\n * The **`createIIRFilter()`** method of the BaseAudioContext interface creates an IIRFilterNode, which represents a general **infinite impulse response** (IIR) filter which can be configured to serve as various types of filter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createIIRFilter)\n */\n createIIRFilter(feedforward: number[], feedback: number[]): IIRFilterNode;\n /**\n * The `createOscillator()` method of the BaseAudioContext interface creates an OscillatorNode, a source representing a periodic waveform.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createOscillator)\n */\n createOscillator(): OscillatorNode;\n /**\n * The `createPanner()` method of the BaseAudioContext Interface is used to create a new PannerNode, which is used to spatialize an incoming audio stream in 3D space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createPanner)\n */\n createPanner(): PannerNode;\n /**\n * The `createPeriodicWave()` method of the BaseAudioContext interface is used to create a PeriodicWave.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createPeriodicWave)\n */\n createPeriodicWave(real: number[] | Float32Array, imag: number[] | Float32Array, constraints?: PeriodicWaveConstraints): PeriodicWave;\n /**\n * The `createScriptProcessor()` method of the BaseAudioContext interface creates a ScriptProcessorNode used for direct audio processing.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createScriptProcessor)\n */\n createScriptProcessor(bufferSize?: number, numberOfInputChannels?: number, numberOfOutputChannels?: number): ScriptProcessorNode;\n /**\n * The `createStereoPanner()` method of the BaseAudioContext interface creates a StereoPannerNode, which can be used to apply stereo panning to an audio source.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createStereoPanner)\n */\n createStereoPanner(): StereoPannerNode;\n /**\n * The `createWaveShaper()` method of the BaseAudioContext interface creates a WaveShaperNode, which represents a non-linear distortion.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createWaveShaper)\n */\n createWaveShaper(): WaveShaperNode;\n /**\n * The `decodeAudioData()` method of the BaseAudioContext Interface is used to asynchronously decode audio file data contained in an rate, then passed to a callback or promise.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/decodeAudioData)\n */\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/**\n * The **`BeforeUnloadEvent`** interface represents the event object for the Window/beforeunload_event event, which is fired when the current window, contained document, and associated resources are about to be unloaded.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent)\n */\ninterface BeforeUnloadEvent extends Event {\n /**\n * The **`returnValue`** property of the `returnValue` is initialized to an empty string (`\'\'`) value.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent/returnValue)\n */\n returnValue: any;\n}\n\ndeclare var BeforeUnloadEvent: {\n prototype: BeforeUnloadEvent;\n new(): BeforeUnloadEvent;\n};\n\n/**\n * The `BiquadFilterNode` interface represents a simple low-order filter, and is created using the BaseAudioContext/createBiquadFilter method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BiquadFilterNode)\n */\ninterface BiquadFilterNode extends AudioNode {\n /**\n * The `Q` property of the BiquadFilterNode interface is an a-rate AudioParam, a double representing a Q factor, or _quality factor_.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BiquadFilterNode/Q)\n */\n readonly Q: AudioParam;\n /**\n * The `detune` property of the BiquadFilterNode interface is an a-rate AudioParam representing detuning of the frequency in cents.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BiquadFilterNode/detune)\n */\n readonly detune: AudioParam;\n /**\n * The `frequency` property of the BiquadFilterNode interface is an a-rate AudioParam — a double representing a frequency in the current filtering algorithm measured in hertz (Hz).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BiquadFilterNode/frequency)\n */\n readonly frequency: AudioParam;\n /**\n * The `gain` property of the BiquadFilterNode interface is an a-rate AudioParam — a double representing the gain used in the current filtering algorithm.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BiquadFilterNode/gain)\n */\n readonly gain: AudioParam;\n /**\n * The `type` property of the BiquadFilterNode interface is a string (enum) value defining the kind of filtering algorithm the node is implementing.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BiquadFilterNode/type)\n */\n type: BiquadFilterType;\n /**\n * The `getFrequencyResponse()` method of the BiquadFilterNode interface takes the current filtering algorithm\'s settings and calculates the frequency response for frequencies specified in a specified array of frequencies.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BiquadFilterNode/getFrequencyResponse)\n */\n getFrequencyResponse(frequencyHz: Float32Array<ArrayBuffer>, magResponse: Float32Array<ArrayBuffer>, phaseResponse: Float32Array<ArrayBuffer>): void;\n}\n\ndeclare var BiquadFilterNode: {\n prototype: BiquadFilterNode;\n new(context: BaseAudioContext, options?: BiquadFilterOptions): BiquadFilterNode;\n};\n\n/**\n * The **`Blob`** interface represents a blob, which is a file-like object of immutable, raw data; they can be read as text or binary data, or converted into a ReadableStream so its methods can be used for processing the data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob)\n */\ninterface Blob {\n /**\n * The **`size`** read-only property of the Blob interface returns the size of the Blob or File in bytes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/size)\n */\n readonly size: number;\n /**\n * The **`type`** read-only property of the Blob interface returns the MIME type of the file.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/type)\n */\n readonly type: string;\n /**\n * The **`arrayBuffer()`** method of the Blob interface returns a Promise that resolves with the contents of the blob as binary data contained in an ArrayBuffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/arrayBuffer)\n */\n arrayBuffer(): Promise<ArrayBuffer>;\n /**\n * The **`bytes()`** method of the Blob interface returns a Promise that resolves with a Uint8Array containing the contents of the blob as an array of bytes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/bytes)\n */\n bytes(): Promise<Uint8Array<ArrayBuffer>>;\n /**\n * The **`slice()`** method of the Blob interface creates and returns a new `Blob` object which contains data from a subset of the blob on which it\'s called.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice)\n */\n slice(start?: number, end?: number, contentType?: string): Blob;\n /**\n * The **`stream()`** method of the Blob interface returns a ReadableStream which upon reading returns the data contained within the `Blob`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/stream)\n */\n stream(): ReadableStream<Uint8Array<ArrayBuffer>>;\n /**\n * The **`text()`** method of the string containing the contents of the blob, interpreted as UTF-8.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text)\n */\n text(): Promise<string>;\n}\n\ndeclare var Blob: {\n prototype: Blob;\n new(blobParts?: BlobPart[], options?: BlobPropertyBag): Blob;\n};\n\n/**\n * The **`BlobEvent`** interface of the MediaStream Recording API represents events associated with a Blob.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BlobEvent)\n */\ninterface BlobEvent extends Event {\n /**\n * The **`data`** read-only property of the BlobEvent interface represents a Blob associated with the event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BlobEvent/data)\n */\n readonly data: Blob;\n /**\n * The **`timecode`** read-only property of the BlobEvent interface indicates the difference between the timestamp of the first chunk of data, and the timestamp of the first chunk in the first `BlobEvent` produced by this recorder.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BlobEvent/timecode)\n */\n readonly timecode: DOMHighResTimeStamp;\n}\n\ndeclare var BlobEvent: {\n prototype: BlobEvent;\n new(type: string, eventInitDict: BlobEventInit): BlobEvent;\n};\n\ninterface Body {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/body) */\n readonly body: ReadableStream<Uint8Array<ArrayBuffer>> | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bodyUsed) */\n readonly bodyUsed: boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/arrayBuffer) */\n arrayBuffer(): Promise<ArrayBuffer>;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/blob) */\n blob(): Promise<Blob>;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bytes) */\n bytes(): Promise<Uint8Array<ArrayBuffer>>;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/formData) */\n formData(): Promise<FormData>;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json) */\n json(): Promise<any>;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/text) */\n text(): Promise<string>;\n}\n\ninterface BroadcastChannelEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/**\n * The **`BroadcastChannel`** interface represents a named channel that any browsing context of a given origin can subscribe to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel)\n */\ninterface BroadcastChannel extends EventTarget {\n /**\n * The **`name`** read-only property of the BroadcastChannel interface returns a string, which uniquely identifies the given channel with its name.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/name)\n */\n readonly name: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/message_event) */\n onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/messageerror_event) */\n onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n /**\n * The **`close()`** method of the BroadcastChannel interface terminates the connection to the underlying channel, allowing the object to be garbage collected.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/close)\n */\n close(): void;\n /**\n * The **`postMessage()`** method of the BroadcastChannel interface sends a message, which can be of any kind of Object, to each listener in any browsing context with the same origin.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/postMessage)\n */\n postMessage(message: any): void;\n addEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var BroadcastChannel: {\n prototype: BroadcastChannel;\n new(name: string): BroadcastChannel;\n};\n\n/**\n * The **`ByteLengthQueuingStrategy`** interface of the Streams API provides a built-in byte length queuing strategy that can be used when constructing streams.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy)\n */\ninterface ByteLengthQueuingStrategy extends QueuingStrategy<ArrayBufferView> {\n /**\n * The read-only **`ByteLengthQueuingStrategy.highWaterMark`** property returns the total number of bytes that can be contained in the internal queue before backpressure is applied.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy/highWaterMark)\n */\n readonly highWaterMark: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy/size) */\n readonly size: QueuingStrategySize<ArrayBufferView>;\n}\n\ndeclare var ByteLengthQueuingStrategy: {\n prototype: ByteLengthQueuingStrategy;\n new(init: QueuingStrategyInit): ByteLengthQueuingStrategy;\n};\n\n/**\n * The **`CDATASection`** interface represents a CDATA section that can be used within XML to include extended portions of unescaped text.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CDATASection)\n */\ninterface CDATASection extends Text {\n}\n\ndeclare var CDATASection: {\n prototype: CDATASection;\n new(): CDATASection;\n};\n\n/**\n * The `CSPViolationReportBody` interface is an extension of the Reporting API that represents the body of a Content Security Policy (CSP) violation report.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody)\n */\ninterface CSPViolationReportBody extends ReportBody {\n /**\n * The **`blockedURL`** read-only property of the CSPViolationReportBody interface is a string value that represents the resource that was blocked because it violates a Content Security Policy (CSP).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/blockedURL)\n */\n readonly blockedURL: string | null;\n /**\n * The **`columnNumber`** read-only property of the CSPViolationReportBody interface indicates the column number in the source file that triggered the Content Security Policy (CSP) violation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/columnNumber)\n */\n readonly columnNumber: number | null;\n /**\n * The **`disposition`** read-only property of the CSPViolationReportBody interface indicates whether the user agent is configured to enforce Content Security Policy (CSP) violations or only report them.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/disposition)\n */\n readonly disposition: SecurityPolicyViolationEventDisposition;\n /**\n * The **`documentURL`** read-only property of the CSPViolationReportBody interface is a string that represents the URL of the document or worker that violated the Content Security Policy (CSP).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/documentURL)\n */\n readonly documentURL: string;\n /**\n * The **`effectiveDirective`** read-only property of the CSPViolationReportBody interface is a string that represents the effective Content Security Policy (CSP) directive that was violated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/effectiveDirective)\n */\n readonly effectiveDirective: string;\n /**\n * The **`lineNumber`** read-only property of the CSPViolationReportBody interface indicates the line number in the source file that triggered the Content Security Policy (CSP) violation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/lineNumber)\n */\n readonly lineNumber: number | null;\n /**\n * The **`originalPolicy`** read-only property of the CSPViolationReportBody interface is a string that represents the Content Security Policy (CSP) whose enforcement uncovered the violation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/originalPolicy)\n */\n readonly originalPolicy: string;\n /**\n * The **`referrer`** read-only property of the CSPViolationReportBody interface is a string that represents the URL of the referring page of the resource who\'s Content Security Policy (CSP) was violated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/referrer)\n */\n readonly referrer: string | null;\n /**\n * The **`sample`** read-only property of the CSPViolationReportBody interface is a string that contains a part of the resource that violated the Content Security Policy (CSP).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/sample)\n */\n readonly sample: string | null;\n /**\n * The **`sourceFile`** read-only property of the CSPViolationReportBody interface indicates the URL of the source file that violated the Content Security Policy (CSP).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/sourceFile)\n */\n readonly sourceFile: string | null;\n /**\n * The **`statusCode`** read-only property of the CSPViolationReportBody interface is a number representing the HTTP status code of the response to the request that triggered a Content Security Policy (CSP) violation (when loading a window or worker).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/statusCode)\n */\n readonly statusCode: number;\n /**\n * The **`toJSON()`** method of the CSPViolationReportBody interface is a _serializer_, which returns a JSON representation of the `CSPViolationReportBody` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSPViolationReportBody/toJSON)\n */\n toJSON(): any;\n}\n\ndeclare var CSPViolationReportBody: {\n prototype: CSPViolationReportBody;\n new(): CSPViolationReportBody;\n};\n\n/**\n * The **`CSSAnimation`** interface of the Web Animations API represents an Animation object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSAnimation)\n */\ninterface CSSAnimation extends Animation {\n /**\n * The **`animationName`** property of the specifies one or more keyframe at-rules which describe the animation applied to the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSAnimation/animationName)\n */\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/**\n * An object implementing the **`CSSConditionRule`** interface represents a single condition CSS at-rule, which consists of a condition and a statement block.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSConditionRule)\n */\ninterface CSSConditionRule extends CSSGroupingRule {\n /**\n * The read-only **`conditionText`** property of the CSSConditionRule interface returns or sets the text of the CSS rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSConditionRule/conditionText)\n */\n readonly conditionText: string;\n}\n\ndeclare var CSSConditionRule: {\n prototype: CSSConditionRule;\n new(): CSSConditionRule;\n};\n\n/**\n * The **`CSSContainerRule`** interface represents a single CSS @container rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSContainerRule)\n */\ninterface CSSContainerRule extends CSSConditionRule {\n /**\n * The read-only **`containerName`** property of the CSSContainerRule interface represents the container name of the associated CSS @container at-rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSContainerRule/containerName)\n */\n readonly containerName: string;\n /**\n * The read-only **`containerQuery`** property of the CSSContainerRule interface returns a string representing the container conditions that are evaluated when the container changes size in order to determine if the styles in the associated @container are applied.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSContainerRule/containerQuery)\n */\n readonly containerQuery: string;\n}\n\ndeclare var CSSContainerRule: {\n prototype: CSSContainerRule;\n new(): CSSContainerRule;\n};\n\n/**\n * The **`CSSCounterStyleRule`** interface represents an @counter-style at-rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule)\n */\ninterface CSSCounterStyleRule extends CSSRule {\n /**\n * The **`additiveSymbols`** property of the CSSCounterStyleRule interface gets and sets the value of the @counter-style/additive-symbols descriptor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/additiveSymbols)\n */\n additiveSymbols: string;\n /**\n * The **`fallback`** property of the CSSCounterStyleRule interface gets and sets the value of the @counter-style/fallback descriptor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/fallback)\n */\n fallback: string;\n /**\n * The **`name`** property of the CSSCounterStyleRule interface gets and sets the <custom-ident> defined as the `name` for the associated rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/name)\n */\n name: string;\n /**\n * The **`negative`** property of the CSSCounterStyleRule interface gets and sets the value of the @counter-style/negative descriptor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/negative)\n */\n negative: string;\n /**\n * The **`pad`** property of the CSSCounterStyleRule interface gets and sets the value of the @counter-style/pad descriptor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/pad)\n */\n pad: string;\n /**\n * The **`prefix`** property of the CSSCounterStyleRule interface gets and sets the value of the @counter-style/prefix descriptor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/prefix)\n */\n prefix: string;\n /**\n * The **`range`** property of the CSSCounterStyleRule interface gets and sets the value of the @counter-style/range descriptor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/range)\n */\n range: string;\n /**\n * The **`speakAs`** property of the CSSCounterStyleRule interface gets and sets the value of the @counter-style/speak-as descriptor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/speakAs)\n */\n speakAs: string;\n /**\n * The **`suffix`** property of the CSSCounterStyleRule interface gets and sets the value of the @counter-style/suffix descriptor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/suffix)\n */\n suffix: string;\n /**\n * The **`symbols`** property of the CSSCounterStyleRule interface gets and sets the value of the @counter-style/symbols descriptor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/symbols)\n */\n symbols: string;\n /**\n * The **`system`** property of the CSSCounterStyleRule interface gets and sets the value of the @counter-style/system descriptor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSCounterStyleRule/system)\n */\n system: string;\n}\n\ndeclare var CSSCounterStyleRule: {\n prototype: CSSCounterStyleRule;\n new(): CSSCounterStyleRule;\n};\n\n/**\n * The **`CSSFontFaceRule`** interface represents an @font-face at-rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule)\n */\ninterface CSSFontFaceRule extends CSSRule {\n /**\n * The read-only **`style`** property of the CSSFontFaceRule interface returns the style information from the @font-face at-rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFaceRule/style)\n */\n get style(): CSSStyleDeclaration;\n set style(cssText: string);\n}\n\ndeclare var CSSFontFaceRule: {\n prototype: CSSFontFaceRule;\n new(): CSSFontFaceRule;\n};\n\n/**\n * The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule, letting developers assign for each font face a common name to specify features indices to be used in font-variant-alternates.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule)\n */\ninterface CSSFontFeatureValuesRule extends CSSRule {\n /**\n * The **`fontFamily`** property of the CSSConditionRule interface represents the name of the font family it applies to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule/fontFamily)\n */\n fontFamily: string;\n}\n\ndeclare var CSSFontFeatureValuesRule: {\n prototype: CSSFontFeatureValuesRule;\n new(): CSSFontFeatureValuesRule;\n};\n\n/**\n * The **`CSSFontPaletteValuesRule`** interface represents an @font-palette-values at-rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontPaletteValuesRule)\n */\ninterface CSSFontPaletteValuesRule extends CSSRule {\n /**\n * The read-only **`basePalette`** property of the CSSFontPaletteValuesRule interface indicates the base palette associated with the rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontPaletteValuesRule/basePalette)\n */\n readonly basePalette: string;\n /**\n * The read-only **`fontFamily`** property of the CSSFontPaletteValuesRule interface lists the font families the rule can be applied to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontPaletteValuesRule/fontFamily)\n */\n readonly fontFamily: string;\n /**\n * The read-only **`name`** property of the CSSFontPaletteValuesRule interface represents the name identifying the associated @font-palette-values at-rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontPaletteValuesRule/name)\n */\n readonly name: string;\n /**\n * The read-only **`overrideColors`** property of the CSSFontPaletteValuesRule interface is a string containing a list of color index and color pair that are to be used instead.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontPaletteValuesRule/overrideColors)\n */\n readonly overrideColors: string;\n}\n\ndeclare var CSSFontPaletteValuesRule: {\n prototype: CSSFontPaletteValuesRule;\n new(): CSSFontPaletteValuesRule;\n};\n\n/**\n * The **`CSSGroupingRule`** interface of the CSS Object Model represents any CSS at-rule that contains other rules nested within it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSGroupingRule)\n */\ninterface CSSGroupingRule extends CSSRule {\n /**\n * The **`cssRules`** property of the a collection of CSSRule objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSGroupingRule/cssRules)\n */\n readonly cssRules: CSSRuleList;\n /**\n * The **`deleteRule()`** method of the rules.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSGroupingRule/deleteRule)\n */\n deleteRule(index: number): void;\n /**\n * The **`insertRule()`** method of the ```js-nolint insertRule(rule) insertRule(rule, index) ``` - `rule` - : A string - `index` [MISSING: optional_inline] - : An optional index at which to insert the rule; defaults to 0.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSGroupingRule/insertRule)\n */\n insertRule(rule: string, index?: number): number;\n}\n\ndeclare var CSSGroupingRule: {\n prototype: CSSGroupingRule;\n new(): CSSGroupingRule;\n};\n\n/**\n * The **`CSSImageValue`** interface of the CSS Typed Object Model API represents values for properties that take an image, for example background-image, list-style-image, or border-image-source.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImageValue)\n */\ninterface CSSImageValue extends CSSStyleValue {\n}\n\ndeclare var CSSImageValue: {\n prototype: CSSImageValue;\n new(): CSSImageValue;\n};\n\n/**\n * The **`CSSImportRule`** interface represents an @import at-rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule)\n */\ninterface CSSImportRule extends CSSRule {\n /**\n * The read-only **`href`** property of the The resolved URL will be the `href` attribute of the associated stylesheet.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/href)\n */\n readonly href: string;\n /**\n * The read-only **`layerName`** property of the CSSImportRule interface returns the name of the cascade layer created by the @import at-rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/layerName)\n */\n readonly layerName: string | null;\n /**\n * The read-only **`media`** property of the containing the value of the `media` attribute of the associated stylesheet.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/media)\n */\n get media(): MediaList;\n set media(mediaText: string);\n /**\n * The read-only **`styleSheet`** property of the in the form of a CSSStyleSheet object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/styleSheet)\n */\n readonly styleSheet: CSSStyleSheet | null;\n /**\n * The read-only **`supportsText`** property of the CSSImportRule interface returns the supports condition specified by the @import at-rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImportRule/supportsText)\n */\n readonly supportsText: string | null;\n}\n\ndeclare var CSSImportRule: {\n prototype: CSSImportRule;\n new(): CSSImportRule;\n};\n\n/**\n * The **`CSSKeyframeRule`** interface describes an object representing a set of styles for a given keyframe.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule)\n */\ninterface CSSKeyframeRule extends CSSRule {\n /**\n * The **`keyText`** property of the CSSKeyframeRule interface represents the keyframe selector as a comma-separated list of percentage values.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule/keyText)\n */\n keyText: string;\n /**\n * The read-only **`CSSKeyframeRule.style`** property is the CSSStyleDeclaration interface for the declaration block of the CSSKeyframeRule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframeRule/style)\n */\n get style(): CSSStyleDeclaration;\n set style(cssText: string);\n}\n\ndeclare var CSSKeyframeRule: {\n prototype: CSSKeyframeRule;\n new(): CSSKeyframeRule;\n};\n\n/**\n * The **`CSSKeyframesRule`** interface describes an object representing a complete set of keyframes for a CSS animation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule)\n */\ninterface CSSKeyframesRule extends CSSRule {\n /**\n * The read-only **`cssRules`** property of the CSSKeyframeRule interface returns a CSSRuleList containing the rules in the keyframes at-rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/cssRules)\n */\n readonly cssRules: CSSRuleList;\n /**\n * The read-only **`length`** property of the CSSKeyframeRule interface returns the number of CSSKeyframeRule objects in its list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/length)\n */\n readonly length: number;\n /**\n * The **`name`** property of the CSSKeyframeRule interface gets and sets the name of the animation as used by the animation-name property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/name)\n */\n name: string;\n /**\n * The **`appendRule()`** method of the CSSKeyframeRule interface appends a CSSKeyFrameRule to the end of the rules.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/appendRule)\n */\n appendRule(rule: string): void;\n /**\n * The **`deleteRule()`** method of the CSSKeyframeRule interface deletes the CSSKeyFrameRule that matches the specified keyframe selector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/deleteRule)\n */\n deleteRule(select: string): void;\n /**\n * The **`findRule()`** method of the CSSKeyframeRule interface finds the CSSKeyFrameRule that matches the specified keyframe selector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeyframesRule/findRule)\n */\n findRule(select: string): CSSKeyframeRule | null;\n [index: number]: CSSKeyframeRule;\n}\n\ndeclare var CSSKeyframesRule: {\n prototype: CSSKeyframesRule;\n new(): CSSKeyframesRule;\n};\n\n/**\n * The **`CSSKeywordValue`** interface of the CSS Typed Object Model API creates an object to represent CSS keywords and other identifiers.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue)\n */\ninterface CSSKeywordValue extends CSSStyleValue {\n /**\n * The **`value`** property of the `CSSKeywordValue`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue/value)\n */\n value: string;\n}\n\ndeclare var CSSKeywordValue: {\n prototype: CSSKeywordValue;\n new(value: string): CSSKeywordValue;\n};\n\n/**\n * The **`CSSLayerBlockRule`** represents a @layer block rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSLayerBlockRule)\n */\ninterface CSSLayerBlockRule extends CSSGroupingRule {\n /**\n * The read-only **`name`** property of the CSSLayerBlockRule interface represents the name of the associated cascade layer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSLayerBlockRule/name)\n */\n readonly name: string;\n}\n\ndeclare var CSSLayerBlockRule: {\n prototype: CSSLayerBlockRule;\n new(): CSSLayerBlockRule;\n};\n\n/**\n * The **`CSSLayerStatementRule`** represents a @layer statement rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSLayerStatementRule)\n */\ninterface CSSLayerStatementRule extends CSSRule {\n /**\n * The read-only **`nameList`** property of the CSSLayerStatementRule interface return the list of associated cascade layer names.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSLayerStatementRule/nameList)\n */\n readonly nameList: ReadonlyArray<string>;\n}\n\ndeclare var CSSLayerStatementRule: {\n prototype: CSSLayerStatementRule;\n new(): CSSLayerStatementRule;\n};\n\ninterface CSSMathClamp extends CSSMathValue {\n readonly lower: CSSNumericValue;\n readonly upper: CSSNumericValue;\n readonly value: CSSNumericValue;\n}\n\ndeclare var CSSMathClamp: {\n prototype: CSSMathClamp;\n new(lower: CSSNumberish, value: CSSNumberish, upper: CSSNumberish): CSSMathClamp;\n};\n\n/**\n * The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>)`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert)\n */\ninterface CSSMathInvert extends CSSMathValue {\n /**\n * The CSSMathInvert.value read-only property of the A CSSNumericValue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert/value)\n */\n readonly value: CSSNumericValue;\n}\n\ndeclare var CSSMathInvert: {\n prototype: CSSMathInvert;\n new(arg: CSSNumberish): CSSMathInvert;\n};\n\n/**\n * The **`CSSMathMax`** interface of the CSS Typed Object Model API represents the CSS max function.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax)\n */\ninterface CSSMathMax extends CSSMathValue {\n /**\n * The CSSMathMax.values read-only property of the which contains one or more CSSNumericValue objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax/values)\n */\n readonly values: CSSNumericArray;\n}\n\ndeclare var CSSMathMax: {\n prototype: CSSMathMax;\n new(...args: CSSNumberish[]): CSSMathMax;\n};\n\n/**\n * The **`CSSMathMin`** interface of the CSS Typed Object Model API represents the CSS min function.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin)\n */\ninterface CSSMathMin extends CSSMathValue {\n /**\n * The CSSMathMin.values read-only property of the which contains one or more CSSNumericValue objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin/values)\n */\n readonly values: CSSNumericArray;\n}\n\ndeclare var CSSMathMin: {\n prototype: CSSMathMin;\n new(...args: CSSNumberish[]): CSSMathMin;\n};\n\n/**\n * The **`CSSMathNegate`** interface of the CSS Typed Object Model API negates the value passed into it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate)\n */\ninterface CSSMathNegate extends CSSMathValue {\n /**\n * The CSSMathNegate.value read-only property of the A CSSNumericValue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate/value)\n */\n readonly value: CSSNumericValue;\n}\n\ndeclare var CSSMathNegate: {\n prototype: CSSMathNegate;\n new(arg: CSSNumberish): CSSMathNegate;\n};\n\n/**\n * The **`CSSMathProduct`** interface of the CSS Typed Object Model API represents the result obtained by calling CSSNumericValue.add, CSSNumericValue.sub, or CSSNumericValue.toSum on CSSNumericValue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct)\n */\ninterface CSSMathProduct extends CSSMathValue {\n /**\n * The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a A CSSNumericArray.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct/values)\n */\n readonly values: CSSNumericArray;\n}\n\ndeclare var CSSMathProduct: {\n prototype: CSSMathProduct;\n new(...args: CSSNumberish[]): CSSMathProduct;\n};\n\n/**\n * The **`CSSMathSum`** interface of the CSS Typed Object Model API represents the result obtained by calling CSSNumericValue.add, CSSNumericValue.sub, or CSSNumericValue.toSum on CSSNumericValue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathSum)\n */\ninterface CSSMathSum extends CSSMathValue {\n /**\n * The **`CSSMathSum.values`** read-only property of the CSSMathSum interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathSum/values)\n */\n readonly values: CSSNumericArray;\n}\n\ndeclare var CSSMathSum: {\n prototype: CSSMathSum;\n new(...args: CSSNumberish[]): CSSMathSum;\n};\n\n/**\n * The **`CSSMathValue`** interface of the CSS Typed Object Model API a base class for classes representing complex numeric values.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathValue)\n */\ninterface CSSMathValue extends CSSNumericValue {\n /**\n * The **`CSSMathValue.operator`** read-only property of the CSSMathValue interface indicates the operator that the current subtype represents.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathValue/operator)\n */\n readonly operator: CSSMathOperator;\n}\n\ndeclare var CSSMathValue: {\n prototype: CSSMathValue;\n new(): CSSMathValue;\n};\n\n/**\n * The **`CSSMatrixComponent`** interface of the CSS Typed Object Model API represents the matrix() and matrix3d() values of the individual transform property in CSS.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent)\n */\ninterface CSSMatrixComponent extends CSSTransformComponent {\n /**\n * The **`matrix`** property of the See the matrix() and matrix3d() pages for examples.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent/matrix)\n */\n matrix: DOMMatrix;\n}\n\ndeclare var CSSMatrixComponent: {\n prototype: CSSMatrixComponent;\n new(matrix: DOMMatrixReadOnly, options?: CSSMatrixComponentOptions): CSSMatrixComponent;\n};\n\n/**\n * The **`CSSMediaRule`** interface represents a single CSS @media rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMediaRule)\n */\ninterface CSSMediaRule extends CSSConditionRule {\n /**\n * The read-only **`media`** property of the destination medium for style information.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMediaRule/media)\n */\n get media(): MediaList;\n set media(mediaText: string);\n}\n\ndeclare var CSSMediaRule: {\n prototype: CSSMediaRule;\n new(): CSSMediaRule;\n};\n\n/**\n * The **`CSSNamespaceRule`** interface describes an object representing a single CSS @namespace at-rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNamespaceRule)\n */\ninterface CSSNamespaceRule extends CSSRule {\n /**\n * The read-only **`namespaceURI`** property of the CSSNamespaceRule returns a string containing the text of the URI of the given namespace.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNamespaceRule/namespaceURI)\n */\n readonly namespaceURI: string;\n /**\n * The read-only **`prefix`** property of the CSSNamespaceRule returns a string with the name of the prefix associated to this namespace.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNamespaceRule/prefix)\n */\n readonly prefix: string;\n}\n\ndeclare var CSSNamespaceRule: {\n prototype: CSSNamespaceRule;\n new(): CSSNamespaceRule;\n};\n\n/**\n * The **`CSSNestedDeclarations`** interface of the CSS Rule API is used to group nested CSSRules.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNestedDeclarations)\n */\ninterface CSSNestedDeclarations extends CSSRule {\n /**\n * The read-only **`style`** property of the CSSNestedDeclarations interface represents the styles associated with the nested rules.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNestedDeclarations/style)\n */\n get style(): CSSStyleDeclaration;\n set style(cssText: string);\n}\n\ndeclare var CSSNestedDeclarations: {\n prototype: CSSNestedDeclarations;\n new(): CSSNestedDeclarations;\n};\n\n/**\n * The **`CSSNumericArray`** interface of the CSS Typed Object Model API contains a list of CSSNumericValue objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray)\n */\ninterface CSSNumericArray {\n /**\n * The read-only **`length`** property of the An integer representing the number of CSSNumericValue objects in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray/length)\n */\n readonly length: number;\n forEach(callbackfn: (value: CSSNumericValue, key: number, parent: CSSNumericArray) => void, thisArg?: any): void;\n [index: number]: CSSNumericValue;\n}\n\ndeclare var CSSNumericArray: {\n prototype: CSSNumericArray;\n new(): CSSNumericArray;\n};\n\n/**\n * The **`CSSNumericValue`** interface of the CSS Typed Object Model API represents operations that all numeric values can perform.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue)\n */\ninterface CSSNumericValue extends CSSStyleValue {\n /**\n * The **`add()`** method of the `CSSNumericValue`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add)\n */\n add(...values: CSSNumberish[]): CSSNumericValue;\n /**\n * The **`div()`** method of the supplied value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/div)\n */\n div(...values: CSSNumberish[]): CSSNumericValue;\n /**\n * The **`equals()`** method of the value are strictly equal.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/equals)\n */\n equals(...value: CSSNumberish[]): boolean;\n /**\n * The **`max()`** method of the passed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/max)\n */\n max(...values: CSSNumberish[]): CSSNumericValue;\n /**\n * The **`min()`** method of the values passed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/min)\n */\n min(...values: CSSNumberish[]): CSSNumericValue;\n /**\n * The **`mul()`** method of the the supplied value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/mul)\n */\n mul(...values: CSSNumberish[]): CSSNumericValue;\n /**\n * The **`sub()`** method of the `CSSNumericValue`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/sub)\n */\n sub(...values: CSSNumberish[]): CSSNumericValue;\n /**\n * The **`to()`** method of the another.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/to)\n */\n to(unit: string): CSSUnitValue;\n /**\n * The **`toSum()`** method of the ```js-nolint toSum(units) ``` - `units` - : The units to convert to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/toSum)\n */\n toSum(...units: string[]): CSSMathSum;\n /**\n * The **`type()`** method of the `CSSNumericValue`, one of `angle`, `flex`, `frequency`, `length`, `resolution`, `percent`, `percentHint`, or `time`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/type)\n */\n type(): CSSNumericType;\n}\n\ndeclare var CSSNumericValue: {\n prototype: CSSNumericValue;\n new(): CSSNumericValue;\n /**\n * The **`parse()`** static method of the members are value and the units.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/parse_static)\n */\n parse(cssText: string): CSSNumericValue;\n};\n\n/**\n * **`CSSPageRule`** represents a single CSS @page rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule)\n */\ninterface CSSPageRule extends CSSGroupingRule {\n /**\n * The **`selectorText`** property of the CSSPageRule interface gets and sets the selectors associated with the `CSSPageRule`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule/selectorText)\n */\n selectorText: string;\n /**\n * The **`style`** read-only property of the CSSPageRule interface returns a CSSPageDescriptors object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPageRule/style)\n */\n get style(): CSSStyleDeclaration;\n set style(cssText: string);\n}\n\ndeclare var CSSPageRule: {\n prototype: CSSPageRule;\n new(): CSSPageRule;\n};\n\n/**\n * The **`CSSPerspective`** interface of the CSS Typed Object Model API represents the perspective() value of the individual transform property in CSS.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective)\n */\ninterface CSSPerspective extends CSSTransformComponent {\n /**\n * The **`length`** property of the It is used to apply a perspective transform to the element and its content.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective/length)\n */\n length: CSSPerspectiveValue;\n}\n\ndeclare var CSSPerspective: {\n prototype: CSSPerspective;\n new(length: CSSPerspectiveValue): CSSPerspective;\n};\n\n/**\n * The **`CSSPropertyRule`** interface of the CSS Properties and Values API represents a single CSS @property rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule)\n */\ninterface CSSPropertyRule extends CSSRule {\n /**\n * The read-only **`inherits`** property of the CSSPropertyRule interface returns the inherit flag of the custom property registration represented by the @property rule, a boolean describing whether or not the property inherits by default.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/inherits)\n */\n readonly inherits: boolean;\n /**\n * The read-only **`initialValue`** nullable property of the CSSPropertyRule interface returns the initial value of the custom property registration represented by the @property rule, controlling the property\'s initial value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/initialValue)\n */\n readonly initialValue: string | null;\n /**\n * The read-only **`name`** property of the CSSPropertyRule interface represents the property name, this being the serialization of the name given to the custom property in the @property rule\'s prelude.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/name)\n */\n readonly name: string;\n /**\n * The read-only **`syntax`** property of the CSSPropertyRule interface returns the literal syntax of the custom property registration represented by the @property rule, controlling how the property\'s value is parsed at computed-value time.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPropertyRule/syntax)\n */\n readonly syntax: string;\n}\n\ndeclare var CSSPropertyRule: {\n prototype: CSSPropertyRule;\n new(): CSSPropertyRule;\n};\n\n/**\n * The **`CSSRotate`** interface of the CSS Typed Object Model API represents the rotate value of the individual transform property in CSS.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate)\n */\ninterface CSSRotate extends CSSTransformComponent {\n /**\n * The **`angle`** property of the denotes a clockwise rotation, a negative angle a counter-clockwise one.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/angle)\n */\n angle: CSSNumericValue;\n /**\n * The **`x`** property of the translating vector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/x)\n */\n x: CSSNumberish;\n /**\n * The **`y`** property of the translating vector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/y)\n */\n y: CSSNumberish;\n /**\n * The **`z`** property of the vector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/z)\n */\n z: CSSNumberish;\n}\n\ndeclare var CSSRotate: {\n prototype: CSSRotate;\n new(angle: CSSNumericValue): CSSRotate;\n new(x: CSSNumberish, y: CSSNumberish, z: CSSNumberish, angle: CSSNumericValue): CSSRotate;\n};\n\n/**\n * The **`CSSRule`** interface represents a single CSS rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRule)\n */\ninterface CSSRule {\n /**\n * The **`cssText`** property of the CSSRule interface returns the actual text of a CSSStyleSheet style-rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRule/cssText)\n */\n cssText: string;\n /**\n * The **`parentRule`** property of the CSSRule interface returns the containing rule of the current rule if this exists, or otherwise returns null.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRule/parentRule)\n */\n readonly parentRule: CSSRule | null;\n /**\n * The **`parentStyleSheet`** property of the the current rule is defined.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRule/parentStyleSheet)\n */\n readonly parentStyleSheet: CSSStyleSheet | null;\n /**\n * The read-only **`type`** property of the indicating which type of rule the CSSRule represents.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRule/type)\n */\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 readonly COUNTER_STYLE_RULE: 11;\n readonly FONT_FEATURE_VALUES_RULE: 14;\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 readonly COUNTER_STYLE_RULE: 11;\n readonly FONT_FEATURE_VALUES_RULE: 14;\n};\n\n/**\n * A `CSSRuleList` represents an ordered collection of read-only CSSRule objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRuleList)\n */\ninterface CSSRuleList {\n /**\n * The **`length`** property of the CSSRuleList interface returns the number of CSSRule objects in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRuleList/length)\n */\n readonly length: number;\n /**\n * The **`item()`** method of the CSSRuleList interface returns the CSSRule object at the specified `index` or `null` if the specified `index` doesn\'t exist.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRuleList/item)\n */\n item(index: number): CSSRule | null;\n [index: number]: CSSRule;\n}\n\ndeclare var CSSRuleList: {\n prototype: CSSRuleList;\n new(): CSSRuleList;\n};\n\n/**\n * The **`CSSScale`** interface of the CSS Typed Object Model API represents the scale() and scale3d() values of the individual transform property in CSS.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale)\n */\ninterface CSSScale extends CSSTransformComponent {\n /**\n * The **`x`** property of the translating vector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/x)\n */\n x: CSSNumberish;\n /**\n * The **`y`** property of the translating vector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/y)\n */\n y: CSSNumberish;\n /**\n * The **`z`** property of the vector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/z)\n */\n z: CSSNumberish;\n}\n\ndeclare var CSSScale: {\n prototype: CSSScale;\n new(x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale;\n};\n\n/**\n * The **`CSSScopeRule`** interface of the CSS Object Model represents a CSS @scope at-rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule)\n */\ninterface CSSScopeRule extends CSSGroupingRule {\n /**\n * The **`end`** property of the CSSScopeRule interface returns a string containing the value of the `@scope` at-rule\'s scope limit.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule/end)\n */\n readonly end: string | null;\n /**\n * The **`start`** property of the CSSScopeRule interface returns a string containing the value of the `@scope` at-rule\'s scope root.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScopeRule/start)\n */\n readonly start: string | null;\n}\n\ndeclare var CSSScopeRule: {\n prototype: CSSScopeRule;\n new(): CSSScopeRule;\n};\n\n/**\n * The **`CSSSkew`** interface of the CSS Typed Object Model API is part of the CSSTransformValue interface.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew)\n */\ninterface CSSSkew extends CSSTransformComponent {\n /**\n * The **`ax`** property of the along the x-axis (or abscissa).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax)\n */\n ax: CSSNumericValue;\n /**\n * The **`ay`** property of the along the y-axis (or ordinate).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ay)\n */\n ay: CSSNumericValue;\n}\n\ndeclare var CSSSkew: {\n prototype: CSSSkew;\n new(ax: CSSNumericValue, ay: CSSNumericValue): CSSSkew;\n};\n\n/**\n * The **`CSSSkewX`** interface of the CSS Typed Object Model API represents the `skewX()` value of the individual transform property in CSS.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX)\n */\ninterface CSSSkewX extends CSSTransformComponent {\n /**\n * The **`ax`** property of the along the x-axis (or abscissa).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX/ax)\n */\n ax: CSSNumericValue;\n}\n\ndeclare var CSSSkewX: {\n prototype: CSSSkewX;\n new(ax: CSSNumericValue): CSSSkewX;\n};\n\n/**\n * The **`CSSSkewY`** interface of the CSS Typed Object Model API represents the `skewY()` value of the individual transform property in CSS.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY)\n */\ninterface CSSSkewY extends CSSTransformComponent {\n /**\n * The **`ay`** property of the along the y-axis (or ordinate).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY/ay)\n */\n ay: CSSNumericValue;\n}\n\ndeclare var CSSSkewY: {\n prototype: CSSSkewY;\n new(ay: CSSNumericValue): CSSSkewY;\n};\n\n/**\n * The **`CSSStartingStyleRule`** interface of the CSS Object Model represents a CSS @starting-style at-rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStartingStyleRule)\n */\ninterface CSSStartingStyleRule extends CSSGroupingRule {\n}\n\ndeclare var CSSStartingStyleRule: {\n prototype: CSSStartingStyleRule;\n new(): CSSStartingStyleRule;\n};\n\n/**\n * The **`CSSStyleDeclaration`** interface represents an object that is a CSS declaration block, and exposes style information and various style-related methods and properties.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration)\n */\ninterface CSSStyleDeclaration {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/accent-color) */\n accentColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/align-content) */\n alignContent: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/align-items) */\n alignItems: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/align-self) */\n alignSelf: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/alignment-baseline) */\n alignmentBaseline: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/all) */\n all: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation) */\n animation: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-composition) */\n animationComposition: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-delay) */\n animationDelay: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-direction) */\n animationDirection: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-duration) */\n animationDuration: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode) */\n animationFillMode: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count) */\n animationIterationCount: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-name) */\n animationName: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-play-state) */\n animationPlayState: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-timing-function) */\n animationTimingFunction: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/appearance) */\n appearance: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/aspect-ratio) */\n aspectRatio: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/backdrop-filter) */\n backdropFilter: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/backface-visibility) */\n backfaceVisibility: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background) */\n background: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-attachment) */\n backgroundAttachment: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-blend-mode) */\n backgroundBlendMode: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-clip) */\n backgroundClip: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-color) */\n backgroundColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-image) */\n backgroundImage: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-origin) */\n backgroundOrigin: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-position) */\n backgroundPosition: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-position-x) */\n backgroundPositionX: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-position-y) */\n backgroundPositionY: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-repeat) */\n backgroundRepeat: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-size) */\n backgroundSize: string;\n baselineShift: string;\n baselineSource: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/block-size) */\n blockSize: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border) */\n border: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-block) */\n borderBlock: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-block-color) */\n borderBlockColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-block-end) */\n borderBlockEnd: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-block-end-color) */\n borderBlockEndColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-block-end-style) */\n borderBlockEndStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-block-end-width) */\n borderBlockEndWidth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-block-start) */\n borderBlockStart: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-block-start-color) */\n borderBlockStartColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-block-start-style) */\n borderBlockStartStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-block-start-width) */\n borderBlockStartWidth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-block-style) */\n borderBlockStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-block-width) */\n borderBlockWidth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-bottom) */\n borderBottom: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-bottom-color) */\n borderBottomColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius) */\n borderBottomLeftRadius: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius) */\n borderBottomRightRadius: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-bottom-style) */\n borderBottomStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-bottom-width) */\n borderBottomWidth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-collapse) */\n borderCollapse: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-color) */\n borderColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius) */\n borderEndEndRadius: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius) */\n borderEndStartRadius: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-image) */\n borderImage: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-image-outset) */\n borderImageOutset: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-image-repeat) */\n borderImageRepeat: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-image-slice) */\n borderImageSlice: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-image-source) */\n borderImageSource: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-image-width) */\n borderImageWidth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-inline) */\n borderInline: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-inline-color) */\n borderInlineColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-inline-end) */\n borderInlineEnd: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color) */\n borderInlineEndColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style) */\n borderInlineEndStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width) */\n borderInlineEndWidth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-inline-start) */\n borderInlineStart: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color) */\n borderInlineStartColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style) */\n borderInlineStartStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width) */\n borderInlineStartWidth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-inline-style) */\n borderInlineStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-inline-width) */\n borderInlineWidth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-left) */\n borderLeft: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-left-color) */\n borderLeftColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-left-style) */\n borderLeftStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-left-width) */\n borderLeftWidth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-radius) */\n borderRadius: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-right) */\n borderRight: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-right-color) */\n borderRightColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-right-style) */\n borderRightStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-right-width) */\n borderRightWidth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-spacing) */\n borderSpacing: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius) */\n borderStartEndRadius: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius) */\n borderStartStartRadius: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-style) */\n borderStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-top) */\n borderTop: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-top-color) */\n borderTopColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius) */\n borderTopLeftRadius: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius) */\n borderTopRightRadius: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-top-style) */\n borderTopStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-top-width) */\n borderTopWidth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-width) */\n borderWidth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/bottom) */\n bottom: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/box-decoration-break) */\n boxDecorationBreak: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/box-shadow) */\n boxShadow: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/box-sizing) */\n boxSizing: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/break-after) */\n breakAfter: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/break-before) */\n breakBefore: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/break-inside) */\n breakInside: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/caption-side) */\n captionSide: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/caret-color) */\n caretColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/clear) */\n clear: string;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/clip)\n */\n clip: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/clip-path) */\n clipPath: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/clip-rule) */\n clipRule: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color) */\n color: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-interpolation) */\n colorInterpolation: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-interpolation-filters) */\n colorInterpolationFilters: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-scheme) */\n colorScheme: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/column-count) */\n columnCount: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/column-fill) */\n columnFill: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/column-gap) */\n columnGap: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/column-rule) */\n columnRule: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/column-rule-color) */\n columnRuleColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/column-rule-style) */\n columnRuleStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/column-rule-width) */\n columnRuleWidth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/column-span) */\n columnSpan: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/column-width) */\n columnWidth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/columns) */\n columns: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain) */\n contain: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-block-size) */\n containIntrinsicBlockSize: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-height) */\n containIntrinsicHeight: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-inline-size) */\n containIntrinsicInlineSize: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-size) */\n containIntrinsicSize: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-width) */\n containIntrinsicWidth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/container) */\n container: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/container-name) */\n containerName: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/container-type) */\n containerType: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/content) */\n content: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/content-visibility) */\n contentVisibility: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/counter-increment) */\n counterIncrement: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/counter-reset) */\n counterReset: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/counter-set) */\n counterSet: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssFloat) */\n cssFloat: string;\n /**\n * The **`cssText`** property of the CSSStyleDeclaration interface returns or sets the text of the element\'s **inline** style declaration only.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/cssText)\n */\n cssText: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cursor) */\n cursor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cx) */\n cx: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/cy) */\n cy: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/d) */\n d: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/direction) */\n direction: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/display) */\n display: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/dominant-baseline) */\n dominantBaseline: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/empty-cells) */\n emptyCells: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/fill) */\n fill: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/fill-opacity) */\n fillOpacity: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/fill-rule) */\n fillRule: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/filter) */\n filter: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/flex) */\n flex: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/flex-basis) */\n flexBasis: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/flex-direction) */\n flexDirection: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/flex-flow) */\n flexFlow: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/flex-grow) */\n flexGrow: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/flex-shrink) */\n flexShrink: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/flex-wrap) */\n flexWrap: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/float) */\n float: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/flood-color) */\n floodColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/flood-opacity) */\n floodOpacity: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font) */\n font: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-family) */\n fontFamily: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-feature-settings) */\n fontFeatureSettings: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-kerning) */\n fontKerning: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing) */\n fontOpticalSizing: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-palette) */\n fontPalette: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-size) */\n fontSize: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-size-adjust) */\n fontSizeAdjust: string;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-stretch)\n */\n fontStretch: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-style) */\n fontStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-synthesis) */\n fontSynthesis: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-synthesis-small-caps) */\n fontSynthesisSmallCaps: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-synthesis-style) */\n fontSynthesisStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-synthesis-weight) */\n fontSynthesisWeight: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-variant) */\n fontVariant: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates) */\n fontVariantAlternates: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-variant-caps) */\n fontVariantCaps: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian) */\n fontVariantEastAsian: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures) */\n fontVariantLigatures: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric) */\n fontVariantNumeric: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-variant-position) */\n fontVariantPosition: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-variation-settings) */\n fontVariationSettings: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font-weight) */\n fontWeight: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/forced-color-adjust) */\n forcedColorAdjust: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/gap) */\n gap: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid) */\n grid: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid-area) */\n gridArea: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns) */\n gridAutoColumns: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow) */\n gridAutoFlow: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows) */\n gridAutoRows: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid-column) */\n gridColumn: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid-column-end) */\n gridColumnEnd: string;\n /** @deprecated This is a legacy alias of `columnGap`. */\n gridColumnGap: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid-column-start) */\n gridColumnStart: string;\n /** @deprecated This is a legacy alias of `gap`. */\n gridGap: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid-row) */\n gridRow: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid-row-end) */\n gridRowEnd: string;\n /** @deprecated This is a legacy alias of `rowGap`. */\n gridRowGap: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid-row-start) */\n gridRowStart: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid-template) */\n gridTemplate: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid-template-areas) */\n gridTemplateAreas: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid-template-columns) */\n gridTemplateColumns: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid-template-rows) */\n gridTemplateRows: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/height) */\n height: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/hyphenate-character) */\n hyphenateCharacter: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/hyphenate-limit-chars) */\n hyphenateLimitChars: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/hyphens) */\n hyphens: string;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/image-orientation)\n */\n imageOrientation: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/image-rendering) */\n imageRendering: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/inline-size) */\n inlineSize: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/inset) */\n inset: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/inset-block) */\n insetBlock: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/inset-block-end) */\n insetBlockEnd: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/inset-block-start) */\n insetBlockStart: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/inset-inline) */\n insetInline: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/inset-inline-end) */\n insetInlineEnd: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/inset-inline-start) */\n insetInlineStart: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/isolation) */\n isolation: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/justify-content) */\n justifyContent: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/justify-items) */\n justifyItems: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/justify-self) */\n justifySelf: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/left) */\n left: string;\n /**\n * The read-only property returns an integer that represents the number of style declarations in this CSS declaration block.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/length)\n */\n readonly length: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/letter-spacing) */\n letterSpacing: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/lighting-color) */\n lightingColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/line-break) */\n lineBreak: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/line-height) */\n lineHeight: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/list-style) */\n listStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/list-style-image) */\n listStyleImage: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/list-style-position) */\n listStylePosition: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/list-style-type) */\n listStyleType: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/margin) */\n margin: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/margin-block) */\n marginBlock: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/margin-block-end) */\n marginBlockEnd: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/margin-block-start) */\n marginBlockStart: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/margin-bottom) */\n marginBottom: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/margin-inline) */\n marginInline: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/margin-inline-end) */\n marginInlineEnd: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/margin-inline-start) */\n marginInlineStart: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/margin-left) */\n marginLeft: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/margin-right) */\n marginRight: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/margin-top) */\n marginTop: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker) */\n marker: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-end) */\n markerEnd: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-mid) */\n markerMid: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/marker-start) */\n markerStart: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask) */\n mask: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-clip) */\n maskClip: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-composite) */\n maskComposite: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-image) */\n maskImage: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-mode) */\n maskMode: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-origin) */\n maskOrigin: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-position) */\n maskPosition: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-repeat) */\n maskRepeat: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-size) */\n maskSize: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-type) */\n maskType: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/math-depth) */\n mathDepth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/math-style) */\n mathStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/max-block-size) */\n maxBlockSize: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/max-height) */\n maxHeight: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/max-inline-size) */\n maxInlineSize: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/max-width) */\n maxWidth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/min-block-size) */\n minBlockSize: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/min-height) */\n minHeight: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/min-inline-size) */\n minInlineSize: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/min-width) */\n minWidth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode) */\n mixBlendMode: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/object-fit) */\n objectFit: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/object-position) */\n objectPosition: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/offset) */\n offset: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/offset-anchor) */\n offsetAnchor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/offset-distance) */\n offsetDistance: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/offset-path) */\n offsetPath: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/offset-position) */\n offsetPosition: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/offset-rotate) */\n offsetRotate: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/opacity) */\n opacity: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/order) */\n order: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/orphans) */\n orphans: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/outline) */\n outline: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/outline-color) */\n outlineColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/outline-offset) */\n outlineOffset: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/outline-style) */\n outlineStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/outline-width) */\n outlineWidth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/overflow) */\n overflow: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/overflow-anchor) */\n overflowAnchor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/overflow-block) */\n overflowBlock: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/overflow-clip-margin) */\n overflowClipMargin: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/overflow-inline) */\n overflowInline: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/overflow-wrap) */\n overflowWrap: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/overflow-x) */\n overflowX: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/overflow-y) */\n overflowY: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior) */\n overscrollBehavior: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-block) */\n overscrollBehaviorBlock: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-inline) */\n overscrollBehaviorInline: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x) */\n overscrollBehaviorX: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y) */\n overscrollBehaviorY: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/padding) */\n padding: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/padding-block) */\n paddingBlock: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/padding-block-end) */\n paddingBlockEnd: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/padding-block-start) */\n paddingBlockStart: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/padding-bottom) */\n paddingBottom: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/padding-inline) */\n paddingInline: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/padding-inline-end) */\n paddingInlineEnd: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/padding-inline-start) */\n paddingInlineStart: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/padding-left) */\n paddingLeft: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/padding-right) */\n paddingRight: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/padding-top) */\n paddingTop: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/page) */\n page: string;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/page-break-after)\n */\n pageBreakAfter: string;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/page-break-before)\n */\n pageBreakBefore: string;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/page-break-inside)\n */\n pageBreakInside: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/paint-order) */\n paintOrder: string;\n /**\n * The **CSSStyleDeclaration.parentRule** read-only property returns a CSSRule that is the parent of this style block, e.g., a CSSStyleRule representing the style for a CSS selector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/parentRule)\n */\n readonly parentRule: CSSRule | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/perspective) */\n perspective: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/perspective-origin) */\n perspectiveOrigin: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/place-content) */\n placeContent: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/place-items) */\n placeItems: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/place-self) */\n placeSelf: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/pointer-events) */\n pointerEvents: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/position) */\n position: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/print-color-adjust) */\n printColorAdjust: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/quotes) */\n quotes: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/r) */\n r: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/resize) */\n resize: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/right) */\n right: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/rotate) */\n rotate: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/row-gap) */\n rowGap: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/ruby-align) */\n rubyAlign: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/ruby-position) */\n rubyPosition: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/rx) */\n rx: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/ry) */\n ry: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scale) */\n scale: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-behavior) */\n scrollBehavior: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-margin) */\n scrollMargin: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block) */\n scrollMarginBlock: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end) */\n scrollMarginBlockEnd: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start) */\n scrollMarginBlockStart: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom) */\n scrollMarginBottom: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline) */\n scrollMarginInline: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end) */\n scrollMarginInlineEnd: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start) */\n scrollMarginInlineStart: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left) */\n scrollMarginLeft: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right) */\n scrollMarginRight: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top) */\n scrollMarginTop: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-padding) */\n scrollPadding: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block) */\n scrollPaddingBlock: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end) */\n scrollPaddingBlockEnd: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start) */\n scrollPaddingBlockStart: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom) */\n scrollPaddingBottom: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline) */\n scrollPaddingInline: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end) */\n scrollPaddingInlineEnd: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start) */\n scrollPaddingInlineStart: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left) */\n scrollPaddingLeft: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right) */\n scrollPaddingRight: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top) */\n scrollPaddingTop: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-snap-align) */\n scrollSnapAlign: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-snap-stop) */\n scrollSnapStop: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type) */\n scrollSnapType: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scrollbar-color) */\n scrollbarColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scrollbar-gutter) */\n scrollbarGutter: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/scrollbar-width) */\n scrollbarWidth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold) */\n shapeImageThreshold: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/shape-margin) */\n shapeMargin: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/shape-outside) */\n shapeOutside: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/shape-rendering) */\n shapeRendering: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stop-color) */\n stopColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stop-opacity) */\n stopOpacity: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke) */\n stroke: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-dasharray) */\n strokeDasharray: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-dashoffset) */\n strokeDashoffset: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-linecap) */\n strokeLinecap: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-linejoin) */\n strokeLinejoin: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-miterlimit) */\n strokeMiterlimit: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-opacity) */\n strokeOpacity: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/stroke-width) */\n strokeWidth: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/tab-size) */\n tabSize: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/table-layout) */\n tableLayout: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-align) */\n textAlign: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-align-last) */\n textAlignLast: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-anchor) */\n textAnchor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box) */\n textBox: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box-edge) */\n textBoxEdge: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-box-trim) */\n textBoxTrim: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-combine-upright) */\n textCombineUpright: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-decoration) */\n textDecoration: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-decoration-color) */\n textDecorationColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-decoration-line) */\n textDecorationLine: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink) */\n textDecorationSkipInk: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-decoration-style) */\n textDecorationStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness) */\n textDecorationThickness: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-emphasis) */\n textEmphasis: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color) */\n textEmphasisColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position) */\n textEmphasisPosition: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style) */\n textEmphasisStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-indent) */\n textIndent: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-orientation) */\n textOrientation: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-overflow) */\n textOverflow: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-rendering) */\n textRendering: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-shadow) */\n textShadow: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-transform) */\n textTransform: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-underline-offset) */\n textUnderlineOffset: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-underline-position) */\n textUnderlinePosition: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap) */\n textWrap: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-mode) */\n textWrapMode: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-wrap-style) */\n textWrapStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/top) */\n top: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/touch-action) */\n touchAction: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transform) */\n transform: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transform-box) */\n transformBox: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transform-origin) */\n transformOrigin: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transform-style) */\n transformStyle: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition) */\n transition: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-behavior) */\n transitionBehavior: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-delay) */\n transitionDelay: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-duration) */\n transitionDuration: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-property) */\n transitionProperty: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-timing-function) */\n transitionTimingFunction: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/translate) */\n translate: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/unicode-bidi) */\n unicodeBidi: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/user-select) */\n userSelect: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vector-effect) */\n vectorEffect: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/vertical-align) */\n verticalAlign: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-class) */\n viewTransitionClass: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/view-transition-name) */\n viewTransitionName: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/visibility) */\n visibility: string;\n /**\n * @deprecated This is a legacy alias of `alignContent`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/align-content)\n */\n webkitAlignContent: string;\n /**\n * @deprecated This is a legacy alias of `alignItems`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/align-items)\n */\n webkitAlignItems: string;\n /**\n * @deprecated This is a legacy alias of `alignSelf`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/align-self)\n */\n webkitAlignSelf: string;\n /**\n * @deprecated This is a legacy alias of `animation`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation)\n */\n webkitAnimation: string;\n /**\n * @deprecated This is a legacy alias of `animationDelay`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-delay)\n */\n webkitAnimationDelay: string;\n /**\n * @deprecated This is a legacy alias of `animationDirection`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-direction)\n */\n webkitAnimationDirection: string;\n /**\n * @deprecated This is a legacy alias of `animationDuration`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-duration)\n */\n webkitAnimationDuration: string;\n /**\n * @deprecated This is a legacy alias of `animationFillMode`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode)\n */\n webkitAnimationFillMode: string;\n /**\n * @deprecated This is a legacy alias of `animationIterationCount`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count)\n */\n webkitAnimationIterationCount: string;\n /**\n * @deprecated This is a legacy alias of `animationName`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-name)\n */\n webkitAnimationName: string;\n /**\n * @deprecated This is a legacy alias of `animationPlayState`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-play-state)\n */\n webkitAnimationPlayState: string;\n /**\n * @deprecated This is a legacy alias of `animationTimingFunction`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-timing-function)\n */\n webkitAnimationTimingFunction: string;\n /**\n * @deprecated This is a legacy alias of `appearance`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/appearance)\n */\n webkitAppearance: string;\n /**\n * @deprecated This is a legacy alias of `backfaceVisibility`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/backface-visibility)\n */\n webkitBackfaceVisibility: string;\n /**\n * @deprecated This is a legacy alias of `backgroundClip`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-clip)\n */\n webkitBackgroundClip: string;\n /**\n * @deprecated This is a legacy alias of `backgroundOrigin`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-origin)\n */\n webkitBackgroundOrigin: string;\n /**\n * @deprecated This is a legacy alias of `backgroundSize`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/background-size)\n */\n webkitBackgroundSize: string;\n /**\n * @deprecated This is a legacy alias of `borderBottomLeftRadius`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius)\n */\n webkitBorderBottomLeftRadius: string;\n /**\n * @deprecated This is a legacy alias of `borderBottomRightRadius`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius)\n */\n webkitBorderBottomRightRadius: string;\n /**\n * @deprecated This is a legacy alias of `borderRadius`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-radius)\n */\n webkitBorderRadius: string;\n /**\n * @deprecated This is a legacy alias of `borderTopLeftRadius`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius)\n */\n webkitBorderTopLeftRadius: string;\n /**\n * @deprecated This is a legacy alias of `borderTopRightRadius`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius)\n */\n webkitBorderTopRightRadius: string;\n /**\n * @deprecated This is a legacy alias of `boxAlign`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/box-align)\n */\n webkitBoxAlign: string;\n /**\n * @deprecated This is a legacy alias of `boxFlex`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/box-flex)\n */\n webkitBoxFlex: string;\n /**\n * @deprecated This is a legacy alias of `boxOrdinalGroup`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/box-ordinal-group)\n */\n webkitBoxOrdinalGroup: string;\n /**\n * @deprecated This is a legacy alias of `boxOrient`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/box-orient)\n */\n webkitBoxOrient: string;\n /**\n * @deprecated This is a legacy alias of `boxPack`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/box-pack)\n */\n webkitBoxPack: string;\n /**\n * @deprecated This is a legacy alias of `boxShadow`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/box-shadow)\n */\n webkitBoxShadow: string;\n /**\n * @deprecated This is a legacy alias of `boxSizing`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/box-sizing)\n */\n webkitBoxSizing: string;\n /**\n * @deprecated This is a legacy alias of `filter`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/filter)\n */\n webkitFilter: string;\n /**\n * @deprecated This is a legacy alias of `flex`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/flex)\n */\n webkitFlex: string;\n /**\n * @deprecated This is a legacy alias of `flexBasis`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/flex-basis)\n */\n webkitFlexBasis: string;\n /**\n * @deprecated This is a legacy alias of `flexDirection`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/flex-direction)\n */\n webkitFlexDirection: string;\n /**\n * @deprecated This is a legacy alias of `flexFlow`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/flex-flow)\n */\n webkitFlexFlow: string;\n /**\n * @deprecated This is a legacy alias of `flexGrow`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/flex-grow)\n */\n webkitFlexGrow: string;\n /**\n * @deprecated This is a legacy alias of `flexShrink`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/flex-shrink)\n */\n webkitFlexShrink: string;\n /**\n * @deprecated This is a legacy alias of `flexWrap`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/flex-wrap)\n */\n webkitFlexWrap: string;\n /**\n * @deprecated This is a legacy alias of `justifyContent`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/justify-content)\n */\n webkitJustifyContent: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/line-clamp) */\n webkitLineClamp: string;\n /**\n * @deprecated This is a legacy alias of `mask`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask)\n */\n webkitMask: string;\n /**\n * @deprecated This is a legacy alias of `maskBorder`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-border)\n */\n webkitMaskBoxImage: string;\n /**\n * @deprecated This is a legacy alias of `maskBorderOutset`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-border-outset)\n */\n webkitMaskBoxImageOutset: string;\n /**\n * @deprecated This is a legacy alias of `maskBorderRepeat`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-border-repeat)\n */\n webkitMaskBoxImageRepeat: string;\n /**\n * @deprecated This is a legacy alias of `maskBorderSlice`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-border-slice)\n */\n webkitMaskBoxImageSlice: string;\n /**\n * @deprecated This is a legacy alias of `maskBorderSource`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-border-source)\n */\n webkitMaskBoxImageSource: string;\n /**\n * @deprecated This is a legacy alias of `maskBorderWidth`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-border-width)\n */\n webkitMaskBoxImageWidth: string;\n /**\n * @deprecated This is a legacy alias of `maskClip`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-clip)\n */\n webkitMaskClip: string;\n /**\n * @deprecated This is a legacy alias of `maskComposite`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-composite)\n */\n webkitMaskComposite: string;\n /**\n * @deprecated This is a legacy alias of `maskImage`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-image)\n */\n webkitMaskImage: string;\n /**\n * @deprecated This is a legacy alias of `maskOrigin`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-origin)\n */\n webkitMaskOrigin: string;\n /**\n * @deprecated This is a legacy alias of `maskPosition`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-position)\n */\n webkitMaskPosition: string;\n /**\n * @deprecated This is a legacy alias of `maskRepeat`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-repeat)\n */\n webkitMaskRepeat: string;\n /**\n * @deprecated This is a legacy alias of `maskSize`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-size)\n */\n webkitMaskSize: string;\n /**\n * @deprecated This is a legacy alias of `order`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/order)\n */\n webkitOrder: string;\n /**\n * @deprecated This is a legacy alias of `perspective`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/perspective)\n */\n webkitPerspective: string;\n /**\n * @deprecated This is a legacy alias of `perspectiveOrigin`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/perspective-origin)\n */\n webkitPerspectiveOrigin: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-text-fill-color) */\n webkitTextFillColor: string;\n /**\n * @deprecated This is a legacy alias of `textSizeAdjust`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/text-size-adjust)\n */\n webkitTextSizeAdjust: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke) */\n webkitTextStroke: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-color) */\n webkitTextStrokeColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-width) */\n webkitTextStrokeWidth: string;\n /**\n * @deprecated This is a legacy alias of `transform`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transform)\n */\n webkitTransform: string;\n /**\n * @deprecated This is a legacy alias of `transformOrigin`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transform-origin)\n */\n webkitTransformOrigin: string;\n /**\n * @deprecated This is a legacy alias of `transformStyle`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transform-style)\n */\n webkitTransformStyle: string;\n /**\n * @deprecated This is a legacy alias of `transition`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition)\n */\n webkitTransition: string;\n /**\n * @deprecated This is a legacy alias of `transitionDelay`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-delay)\n */\n webkitTransitionDelay: string;\n /**\n * @deprecated This is a legacy alias of `transitionDuration`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-duration)\n */\n webkitTransitionDuration: string;\n /**\n * @deprecated This is a legacy alias of `transitionProperty`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-property)\n */\n webkitTransitionProperty: string;\n /**\n * @deprecated This is a legacy alias of `transitionTimingFunction`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-timing-function)\n */\n webkitTransitionTimingFunction: string;\n /**\n * @deprecated This is a legacy alias of `userSelect`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/user-select)\n */\n webkitUserSelect: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/white-space) */\n whiteSpace: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/white-space-collapse) */\n whiteSpaceCollapse: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/widows) */\n widows: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/width) */\n width: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/will-change) */\n willChange: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/word-break) */\n wordBreak: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/word-spacing) */\n wordSpacing: string;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/overflow-wrap)\n */\n wordWrap: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/writing-mode) */\n writingMode: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/x) */\n x: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/y) */\n y: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/z-index) */\n zIndex: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/zoom) */\n zoom: string;\n /**\n * The **CSSStyleDeclaration.getPropertyPriority()** method interface returns a string that provides all explicitly set priorities on the CSS property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyPriority)\n */\n getPropertyPriority(property: string): string;\n /**\n * The **CSSStyleDeclaration.getPropertyValue()** method interface returns a string containing the value of a specified CSS property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/getPropertyValue)\n */\n getPropertyValue(property: string): string;\n /**\n * The `CSSStyleDeclaration.item()` method interface returns a CSS property name from a CSSStyleDeclaration by index.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/item)\n */\n item(index: number): string;\n /**\n * The **`CSSStyleDeclaration.removeProperty()`** method interface removes a property from a CSS style declaration object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/removeProperty)\n */\n removeProperty(property: string): string;\n /**\n * The **`CSSStyleDeclaration.setProperty()`** method interface sets a new value for a property on a CSS style declaration object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleDeclaration/setProperty)\n */\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/**\n * The **`CSSStyleRule`** interface represents a single CSS style rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule)\n */\ninterface CSSStyleRule extends CSSGroupingRule {\n /**\n * The **`selectorText`** property of the CSSStyleRule interface gets and sets the selectors associated with the `CSSStyleRule`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/selectorText)\n */\n selectorText: string;\n /**\n * The read-only **`style`** property is the CSSStyleDeclaration interface for the declaration block of the CSSStyleRule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/style)\n */\n get style(): CSSStyleDeclaration;\n set style(cssText: string);\n /**\n * The **`styleMap`** read-only property of the which provides access to the rule\'s property-value pairs.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleRule/styleMap)\n */\n readonly styleMap: StylePropertyMap;\n}\n\ndeclare var CSSStyleRule: {\n prototype: CSSStyleRule;\n new(): CSSStyleRule;\n};\n\n/**\n * The **`CSSStyleSheet`** interface represents a single CSS stylesheet, and lets you inspect and modify the list of rules contained in the stylesheet.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet)\n */\ninterface CSSStyleSheet extends StyleSheet {\n /**\n * The read-only CSSStyleSheet property **`cssRules`** returns a live CSSRuleList which provides a real-time, up-to-date list of every CSS rule which comprises the stylesheet.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet/cssRules)\n */\n readonly cssRules: CSSRuleList;\n /**\n * The read-only CSSStyleSheet property **`ownerRule`** returns the CSSImportRule corresponding to the @import at-rule which imported the stylesheet into the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet/ownerRule)\n */\n readonly ownerRule: CSSRule | null;\n /**\n * **`rules`** is a _deprecated_ _legacy property_ of the CSSStyleSheet interface.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet/rules)\n */\n readonly rules: CSSRuleList;\n /**\n * The obsolete CSSStyleSheet interface\'s **`addRule()`** _legacy method_ adds a new rule to the stylesheet.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet/addRule)\n */\n addRule(selector?: string, style?: string, index?: number): number;\n /**\n * The CSSStyleSheet method **`deleteRule()`** removes a rule from the stylesheet object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet/deleteRule)\n */\n deleteRule(index: number): void;\n /**\n * The **`CSSStyleSheet.insertRule()`** method inserts a new CSS rule into the current style sheet.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet/insertRule)\n */\n insertRule(rule: string, index?: number): number;\n /**\n * The obsolete CSSStyleSheet method **`removeRule()`** removes a rule from the stylesheet object.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet/removeRule)\n */\n removeRule(index?: number): void;\n /**\n * The **`replace()`** method of the CSSStyleSheet interface asynchronously replaces the content of the stylesheet with the content passed into it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet/replace)\n */\n replace(text: string): Promise<CSSStyleSheet>;\n /**\n * The **`replaceSync()`** method of the CSSStyleSheet interface synchronously replaces the content of the stylesheet with the content passed into it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleSheet/replaceSync)\n */\n replaceSync(text: string): void;\n}\n\ndeclare var CSSStyleSheet: {\n prototype: CSSStyleSheet;\n new(options?: CSSStyleSheetInit): CSSStyleSheet;\n};\n\n/**\n * The **`CSSStyleValue`** interface of the CSS Typed Object Model API is the base class of all CSS values accessible through the Typed OM API.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleValue)\n */\ninterface CSSStyleValue {\n toString(): string;\n}\n\ndeclare var CSSStyleValue: {\n prototype: CSSStyleValue;\n new(): CSSStyleValue;\n /**\n * The **`parse()`** static method of the CSSStyleValue interface sets a specific CSS property to the specified values and returns the first value as a CSSStyleValue object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleValue/parse_static)\n */\n parse(property: string, cssText: string): CSSStyleValue;\n /**\n * The **`parseAll()`** static method of the CSSStyleValue interface sets all occurrences of a specific CSS property to the specified value and returns an array of CSSStyleValue objects, each containing one of the supplied values.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleValue/parseAll_static)\n */\n parseAll(property: string, cssText: string): CSSStyleValue[];\n};\n\n/**\n * The **`CSSSupportsRule`** interface represents a single CSS @supports at-rule.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSupportsRule)\n */\ninterface CSSSupportsRule extends CSSConditionRule {\n}\n\ndeclare var CSSSupportsRule: {\n prototype: CSSSupportsRule;\n new(): CSSSupportsRule;\n};\n\n/**\n * The **`CSSTransformComponent`** interface of the CSS Typed Object Model API is part of the CSSTransformValue interface.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent)\n */\ninterface CSSTransformComponent {\n /**\n * The **`is2D`** read-only property of the CSSTransformComponent interface indicates where the transform is 2D or 3D.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent/is2D)\n */\n is2D: boolean;\n /**\n * The **`toMatrix()`** method of the object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent/toMatrix)\n */\n toMatrix(): DOMMatrix;\n toString(): string;\n}\n\ndeclare var CSSTransformComponent: {\n prototype: CSSTransformComponent;\n new(): CSSTransformComponent;\n};\n\n/**\n * The **`CSSTransformValue`** interface of the CSS Typed Object Model API represents `transform-list` values as used by the CSS transform property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue)\n */\ninterface CSSTransformValue extends CSSStyleValue {\n /**\n * The read-only **`is2D`** property of the In the case of the `CSSTransformValue` this property returns true unless any of the individual functions return false for `Is2D`, in which case it returns false.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/is2D)\n */\n readonly is2D: boolean;\n /**\n * The read-only **`length`** property of the the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/length)\n */\n readonly length: number;\n /**\n * The **`toMatrix()`** method of the ```js-nolint toMatrix() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/toMatrix)\n */\n toMatrix(): DOMMatrix;\n forEach(callbackfn: (value: CSSTransformComponent, key: number, parent: CSSTransformValue) => void, thisArg?: any): void;\n [index: number]: CSSTransformComponent;\n}\n\ndeclare var CSSTransformValue: {\n prototype: CSSTransformValue;\n new(transforms: CSSTransformComponent[]): CSSTransformValue;\n};\n\n/**\n * The **`CSSTransition`** interface of the Web Animations API represents an Animation object used for a CSS Transition.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransition)\n */\ninterface CSSTransition extends Animation {\n /**\n * The **`transitionProperty`** property of the name** of the transition.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransition/transitionProperty)\n */\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 * The **`CSSTranslate`** interface of the CSS Typed Object Model API represents the translate() value of the individual transform property in CSS.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate)\n */\ninterface CSSTranslate extends CSSTransformComponent {\n /**\n * The **`x`** property of the translating vector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/x)\n */\n x: CSSNumericValue;\n /**\n * The **`y`** property of the translating vector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/y)\n */\n y: CSSNumericValue;\n /**\n * The **`z`** property of the vector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/z)\n */\n z: CSSNumericValue;\n}\n\ndeclare var CSSTranslate: {\n prototype: CSSTranslate;\n new(x: CSSNumericValue, y: CSSNumericValue, z?: CSSNumericValue): CSSTranslate;\n};\n\n/**\n * The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue)\n */\ninterface CSSUnitValue extends CSSNumericValue {\n /**\n * The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the type of unit.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/unit)\n */\n readonly unit: string;\n /**\n * The **`CSSUnitValue.value`** property of the A double.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/value)\n */\n value: number;\n}\n\ndeclare var CSSUnitValue: {\n prototype: CSSUnitValue;\n new(value: number, unit: string): CSSUnitValue;\n};\n\n/**\n * The **`CSSUnparsedValue`** interface of the CSS Typed Object Model API represents property values that reference custom properties.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue)\n */\ninterface CSSUnparsedValue extends CSSStyleValue {\n /**\n * The **`length`** read-only property of the An integer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue/length)\n */\n readonly length: number;\n forEach(callbackfn: (value: CSSUnparsedSegment, key: number, parent: CSSUnparsedValue) => void, thisArg?: any): void;\n [index: number]: CSSUnparsedSegment;\n}\n\ndeclare var CSSUnparsedValue: {\n prototype: CSSUnparsedValue;\n new(members: CSSUnparsedSegment[]): CSSUnparsedValue;\n};\n\n/**\n * The **`CSSVariableReferenceValue`** interface of the CSS Typed Object Model API allows you to create a custom name for a built-in CSS value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue)\n */\ninterface CSSVariableReferenceValue {\n /**\n * The **`fallback`** read-only property of the A CSSUnparsedValue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/fallback)\n */\n readonly fallback: CSSUnparsedValue | null;\n /**\n * The **`variable`** property of the A string beginning with `--` (that is, a custom property name).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/variable)\n */\n variable: string;\n}\n\ndeclare var CSSVariableReferenceValue: {\n prototype: CSSVariableReferenceValue;\n new(variable: string, fallback?: CSSUnparsedValue | null): CSSVariableReferenceValue;\n};\n\ninterface CSSViewTransitionRule extends CSSRule {\n readonly navigation: string;\n readonly types: ReadonlyArray<string>;\n}\n\ndeclare var CSSViewTransitionRule: {\n prototype: CSSViewTransitionRule;\n new(): CSSViewTransitionRule;\n};\n\n/**\n * The **`Cache`** interface provides a persistent storage mechanism for Request / Response object pairs that are cached in long lived memory.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache)\n */\ninterface Cache {\n /**\n * The **`add()`** method of the Cache interface takes a URL, retrieves it, and adds the resulting response object to the given cache.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/add)\n */\n add(request: RequestInfo | URL): Promise<void>;\n /**\n * The **`addAll()`** method of the Cache interface takes an array of URLs, retrieves them, and adds the resulting response objects to the given cache.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll)\n */\n addAll(requests: RequestInfo[]): Promise<void>;\n /**\n * The **`delete()`** method of the Cache interface finds the Cache entry whose key is the request, and if found, deletes the Cache entry and returns a Promise that resolves to `true`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/delete)\n */\n delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<boolean>;\n /**\n * The **`keys()`** method of the Cache interface returns a representing the keys of the Cache.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/keys)\n */\n keys(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Request>>;\n /**\n * The **`match()`** method of the Cache interface returns a Promise that resolves to the Response associated with the first matching request in the Cache object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/match)\n */\n match(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<Response | undefined>;\n /**\n * The **`matchAll()`** method of the Cache interface returns a Promise that resolves to an array of all matching responses in the Cache object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/matchAll)\n */\n matchAll(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;\n /**\n * The **`put()`** method of the Often, you will just want to Window/fetch one or more requests, then add the result straight to your cache.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/put)\n */\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 **`CacheStorage`** interface represents the storage for Cache objects.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage)\n */\ninterface CacheStorage {\n /**\n * The **`delete()`** method of the CacheStorage interface finds the Cache object matching the `cacheName`, and if found, deletes the Cache object and returns a Promise that resolves to `true`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/delete)\n */\n delete(cacheName: string): Promise<boolean>;\n /**\n * The **`has()`** method of the CacheStorage interface returns a Promise that resolves to `true` if a You can access `CacheStorage` through the Window.caches property in windows or through the WorkerGlobalScope.caches property in workers.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/has)\n */\n has(cacheName: string): Promise<boolean>;\n /**\n * The **`keys()`** method of the CacheStorage interface returns a Promise that will resolve with an array containing strings corresponding to all of the named Cache objects tracked by the CacheStorage object in the order they were created.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/keys)\n */\n keys(): Promise<string[]>;\n /**\n * The **`match()`** method of the CacheStorage interface checks if a given Request or URL string is a key for a stored Response.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/match)\n */\n match(request: RequestInfo | URL, options?: MultiCacheQueryOptions): Promise<Response | undefined>;\n /**\n * The **`open()`** method of the the Cache object matching the `cacheName`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/open)\n */\n open(cacheName: string): Promise<Cache>;\n}\n\ndeclare var CacheStorage: {\n prototype: CacheStorage;\n new(): CacheStorage;\n};\n\n/**\n * The **`CanvasCaptureMediaStreamTrack`** interface of the Media Capture and Streams API represents the video track contained in a MediaStream being generated from a canvas following a call to HTMLCanvasElement.captureStream().\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasCaptureMediaStreamTrack)\n */\ninterface CanvasCaptureMediaStreamTrack extends MediaStreamTrack {\n /**\n * The **`canvas`** read-only property of the CanvasCaptureMediaStreamTrack interface returns the HTMLCanvasElement from which frames are being captured.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasCaptureMediaStreamTrack/canvas)\n */\n readonly canvas: HTMLCanvasElement;\n /**\n * The **`requestFrame()`** method of the CanvasCaptureMediaStreamTrack interface requests that a frame be captured from the canvas and sent to the stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasCaptureMediaStreamTrack/requestFrame)\n */\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/globalAlpha) */\n globalAlpha: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation) */\n globalCompositeOperation: GlobalCompositeOperation;\n}\n\ninterface CanvasDrawImage {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/drawImage) */\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/beginPath) */\n beginPath(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/clip) */\n clip(fillRule?: CanvasFillRule): void;\n clip(path: Path2D, fillRule?: CanvasFillRule): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fill) */\n fill(fillRule?: CanvasFillRule): void;\n fill(path: Path2D, fillRule?: CanvasFillRule): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isPointInPath) */\n isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean;\n isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isPointInStroke) */\n isPointInStroke(x: number, y: number): boolean;\n isPointInStroke(path: Path2D, x: number, y: number): boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/stroke) */\n stroke(): void;\n stroke(path: Path2D): void;\n}\n\ninterface CanvasFillStrokeStyles {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fillStyle) */\n fillStyle: string | CanvasGradient | CanvasPattern;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/strokeStyle) */\n strokeStyle: string | CanvasGradient | CanvasPattern;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/createConicGradient) */\n createConicGradient(startAngle: number, x: number, y: number): CanvasGradient;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/createLinearGradient) */\n createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/createPattern) */\n createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/createRadialGradient) */\n createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient;\n}\n\ninterface CanvasFilters {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/filter) */\n filter: string;\n}\n\n/**\n * The **`CanvasGradient`** interface represents an opaque object describing a gradient.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasGradient)\n */\ninterface CanvasGradient {\n /**\n * The **`CanvasGradient.addColorStop()`** method adds a new color stop, defined by an `offset` and a `color`, to a given canvas gradient.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasGradient/addColorStop)\n */\n addColorStop(offset: number, color: string): void;\n}\n\ndeclare var CanvasGradient: {\n prototype: CanvasGradient;\n new(): CanvasGradient;\n};\n\ninterface CanvasImageData {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/createImageData) */\n createImageData(sw: number, sh: number, settings?: ImageDataSettings): ImageData;\n createImageData(imageData: ImageData): ImageData;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/getImageData) */\n getImageData(sx: number, sy: number, sw: number, sh: number, settings?: ImageDataSettings): ImageData;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/putImageData) */\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/imageSmoothingEnabled) */\n imageSmoothingEnabled: boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/imageSmoothingQuality) */\n imageSmoothingQuality: ImageSmoothingQuality;\n}\n\ninterface CanvasPath {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/arc) */\n arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/arcTo) */\n arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/bezierCurveTo) */\n bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/closePath) */\n closePath(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/ellipse) */\n ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lineTo) */\n lineTo(x: number, y: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/moveTo) */\n moveTo(x: number, y: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/quadraticCurveTo) */\n quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/rect) */\n rect(x: number, y: number, w: number, h: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) */\n roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): void;\n}\n\ninterface CanvasPathDrawingStyles {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lineCap) */\n lineCap: CanvasLineCap;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lineDashOffset) */\n lineDashOffset: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lineJoin) */\n lineJoin: CanvasLineJoin;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lineWidth) */\n lineWidth: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/miterLimit) */\n miterLimit: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/getLineDash) */\n getLineDash(): number[];\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash) */\n setLineDash(segments: number[]): void;\n}\n\n/**\n * The **`CanvasPattern`** interface represents an opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasPattern)\n */\ninterface CanvasPattern {\n /**\n * The **`CanvasPattern.setTransform()`** method uses a DOMMatrix object as the pattern\'s transformation matrix and invokes it on the pattern.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasPattern/setTransform)\n */\n setTransform(transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var CanvasPattern: {\n prototype: CanvasPattern;\n new(): CanvasPattern;\n};\n\ninterface CanvasRect {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/clearRect) */\n clearRect(x: number, y: number, w: number, h: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fillRect) */\n fillRect(x: number, y: number, w: number, h: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/strokeRect) */\n strokeRect(x: number, y: number, w: number, h: number): void;\n}\n\n/**\n * The **`CanvasRenderingContext2D`** interface, part of the Canvas API, provides the 2D rendering context for the drawing surface of a canvas element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D)\n */\ninterface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasSettings, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface {\n /**\n * The **`CanvasRenderingContext2D.canvas`** property, part of the Canvas API, is a read-only reference to the might be `null` if there is no associated canvas element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas)\n */\n readonly canvas: HTMLCanvasElement;\n}\n\ndeclare var CanvasRenderingContext2D: {\n prototype: CanvasRenderingContext2D;\n new(): CanvasRenderingContext2D;\n};\n\ninterface CanvasSettings {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/getContextAttributes) */\n getContextAttributes(): CanvasRenderingContext2DSettings;\n}\n\ninterface CanvasShadowStyles {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/shadowBlur) */\n shadowBlur: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/shadowColor) */\n shadowColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/shadowOffsetX) */\n shadowOffsetX: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/shadowOffsetY) */\n shadowOffsetY: number;\n}\n\ninterface CanvasState {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) */\n isContextLost(): boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) */\n reset(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/restore) */\n restore(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/save) */\n save(): void;\n}\n\ninterface CanvasText {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fillText) */\n fillText(text: string, x: number, y: number, maxWidth?: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/measureText) */\n measureText(text: string): TextMetrics;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/strokeText) */\n strokeText(text: string, x: number, y: number, maxWidth?: number): void;\n}\n\ninterface CanvasTextDrawingStyles {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/direction) */\n direction: CanvasDirection;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/font) */\n font: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontKerning) */\n fontKerning: CanvasFontKerning;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontStretch) */\n fontStretch: CanvasFontStretch;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontVariantCaps) */\n fontVariantCaps: CanvasFontVariantCaps;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/letterSpacing) */\n letterSpacing: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textAlign) */\n textAlign: CanvasTextAlign;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textBaseline) */\n textBaseline: CanvasTextBaseline;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textRendering) */\n textRendering: CanvasTextRendering;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/wordSpacing) */\n wordSpacing: string;\n}\n\ninterface CanvasTransform {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/getTransform) */\n getTransform(): DOMMatrix;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/resetTransform) */\n resetTransform(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/rotate) */\n rotate(angle: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/scale) */\n scale(x: number, y: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setTransform) */\n setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void;\n setTransform(transform?: DOMMatrix2DInit): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/transform) */\n transform(a: number, b: number, c: number, d: number, e: number, f: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/translate) */\n translate(x: number, y: number): void;\n}\n\ninterface CanvasUserInterface {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/drawFocusIfNeeded) */\n drawFocusIfNeeded(element: Element): void;\n drawFocusIfNeeded(path: Path2D, element: Element): void;\n}\n\n/**\n * The `CaretPosition` interface represents the caret position, an indicator for the text insertion point.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition)\n */\ninterface CaretPosition {\n readonly offset: number;\n readonly offsetNode: Node;\n getClientRect(): DOMRect | null;\n}\n\ndeclare var CaretPosition: {\n prototype: CaretPosition;\n new(): CaretPosition;\n};\n\n/**\n * The `ChannelMergerNode` interface, often used in conjunction with its opposite, ChannelSplitterNode, reunites different mono inputs into a single output.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ChannelMergerNode)\n */\ninterface ChannelMergerNode extends AudioNode {\n}\n\ndeclare var ChannelMergerNode: {\n prototype: ChannelMergerNode;\n new(context: BaseAudioContext, options?: ChannelMergerOptions): ChannelMergerNode;\n};\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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ChannelSplitterNode)\n */\ninterface ChannelSplitterNode extends AudioNode {\n}\n\ndeclare var ChannelSplitterNode: {\n prototype: ChannelSplitterNode;\n new(context: BaseAudioContext, options?: ChannelSplitterOptions): ChannelSplitterNode;\n};\n\n/**\n * The **`CharacterData`** abstract interface represents a Node object that contains characters.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData)\n */\ninterface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode {\n /**\n * The **`data`** property of the CharacterData interface represent the value of the current object\'s data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/data)\n */\n data: string;\n /**\n * The read-only **`CharacterData.length`** property returns the number of characters in the contained data, as a positive integer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/length)\n */\n readonly length: number;\n readonly ownerDocument: Document;\n /**\n * The **`appendData()`** method of the CharacterData interface adds the provided data to the end of the node\'s current data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/appendData)\n */\n appendData(data: string): void;\n /**\n * The **`deleteData()`** method of the CharacterData interface removes all or part of the data from this `CharacterData` node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/deleteData)\n */\n deleteData(offset: number, count: number): void;\n /**\n * The **`insertData()`** method of the CharacterData interface inserts the provided data into this `CharacterData` node\'s current data, at the provided offset from the start of the existing data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/insertData)\n */\n insertData(offset: number, data: string): void;\n /**\n * The **`replaceData()`** method of the CharacterData interface removes a certain number of characters of the existing text in a given `CharacterData` node and replaces those characters with the text provided.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/replaceData)\n */\n replaceData(offset: number, count: number, data: string): void;\n /**\n * The **`substringData()`** method of the CharacterData interface returns a portion of the existing data, starting at the specified index and extending for a given number of characters afterwards.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/substringData)\n */\n substringData(offset: number, count: number): string;\n /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */\n get textContent(): string;\n set textContent(value: string | null);\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 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/after)\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 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/before)\n */\n before(...nodes: (Node | string)[]): void;\n /**\n * Removes node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/remove)\n */\n remove(): void;\n /**\n * Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.\n *\n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/replaceWith)\n */\n replaceWith(...nodes: (Node | string)[]): void;\n}\n\n/** @deprecated */\ninterface ClientRect extends DOMRect {\n}\n\n/**\n * The **`Clipboard`** interface of the Clipboard API provides read and write access to the contents of the system clipboard.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clipboard)\n */\ninterface Clipboard extends EventTarget {\n /**\n * The **`read()`** method of the Clipboard interface requests a copy of the clipboard\'s contents, fulfilling the returned Promise with the data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clipboard/read)\n */\n read(): Promise<ClipboardItems>;\n /**\n * The **`readText()`** method of the Clipboard interface returns a Promise which fulfills with a copy of the textual contents of the system clipboard.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clipboard/readText)\n */\n readText(): Promise<string>;\n /**\n * The **`write()`** method of the Clipboard interface writes arbitrary ClipboardItem data such as images and text to the clipboard, fulfilling the returned Promise on completion.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clipboard/write)\n */\n write(data: ClipboardItems): Promise<void>;\n /**\n * The **`writeText()`** method of the Clipboard interface writes the specified text to the system clipboard, returning a Promise that is resolved once the system clipboard has been updated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clipboard/writeText)\n */\n writeText(data: string): Promise<void>;\n}\n\ndeclare var Clipboard: {\n prototype: Clipboard;\n new(): Clipboard;\n};\n\n/**\n * The **`ClipboardEvent`** interface of the Clipboard API represents events providing information related to modification of the clipboard, that is Element/cut_event, Element/copy_event, and Element/paste_event events.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardEvent)\n */\ninterface ClipboardEvent extends Event {\n /**\n * The **`clipboardData`** property of the ClipboardEvent interface holds a DataTransfer object, which can be used to: - specify what data should be put into the clipboard from the Element/cut_event and Element/copy_event event handlers, typically with a DataTransfer.setData call; - obtain the data to be pasted from the Element/paste_event event handler, typically with a DataTransfer.getData call.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardEvent/clipboardData)\n */\n readonly clipboardData: DataTransfer | null;\n}\n\ndeclare var ClipboardEvent: {\n prototype: ClipboardEvent;\n new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent;\n};\n\n/**\n * The **`ClipboardItem`** interface of the Clipboard API represents a single item format, used when reading or writing clipboard data using Clipboard.read() and Clipboard.write() respectively.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem)\n */\ninterface ClipboardItem {\n /**\n * The read-only **`presentationStyle`** property of the ClipboardItem interface returns a string indicating how an item should be presented.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/presentationStyle)\n */\n readonly presentationStyle: PresentationStyle;\n /**\n * The read-only **`types`** property of the ClipboardItem interface returns an Array of MIME type available within the ClipboardItem.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/types)\n */\n readonly types: ReadonlyArray<string>;\n /**\n * The **`getType()`** method of the ClipboardItem interface returns a Promise that resolves with a Blob of the requested MIME type or an error if the MIME type is not found.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/getType)\n */\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 * The **`supports()`** static method of the ClipboardItem interface returns `true` if the given MIME type is supported by the clipboard, and `false` otherwise.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ClipboardItem/supports_static)\n */\n supports(type: string): boolean;\n};\n\n/**\n * A `CloseEvent` is sent to clients using WebSockets when the connection is closed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent)\n */\ninterface CloseEvent extends Event {\n /**\n * The **`code`** read-only property of the CloseEvent interface returns a WebSocket connection close code indicating the reason the connection was closed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent/code)\n */\n readonly code: number;\n /**\n * The **`reason`** read-only property of the CloseEvent interface returns the WebSocket connection close reason the server gave for closing the connection; that is, a concise human-readable prose explanation for the closure.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent/reason)\n */\n readonly reason: string;\n /**\n * The **`wasClean`** read-only property of the CloseEvent interface returns `true` if the connection closed cleanly.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent/wasClean)\n */\n readonly wasClean: boolean;\n}\n\ndeclare var CloseEvent: {\n prototype: CloseEvent;\n new(type: string, eventInitDict?: CloseEventInit): CloseEvent;\n};\n\n/**\n * The **`Comment`** interface represents textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Comment)\n */\ninterface Comment extends CharacterData {\n}\n\ndeclare var Comment: {\n prototype: Comment;\n new(data?: string): Comment;\n};\n\n/**\n * The DOM **`CompositionEvent`** represents events that occur due to the user indirectly entering text.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompositionEvent)\n */\ninterface CompositionEvent extends UIEvent {\n /**\n * The **`data`** read-only property of the method that raised the event; its exact nature varies depending on the type of event that generated the `CompositionEvent` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompositionEvent/data)\n */\n readonly data: string;\n /**\n * The **`initCompositionEvent()`** method of the CompositionEvent interface initializes the attributes of a `CompositionEvent` object instance.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompositionEvent/initCompositionEvent)\n */\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\n/**\n * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)\n */\ninterface CompressionStream extends GenericTransformStream {\n readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;\n readonly writable: WritableStream<BufferSource>;\n}\n\ndeclare var CompressionStream: {\n prototype: CompressionStream;\n new(format: CompressionFormat): CompressionStream;\n};\n\n/**\n * The `ConstantSourceNode` interface—part of the Web Audio API—represents an audio source (based upon AudioScheduledSourceNode) whose output is single unchanging value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ConstantSourceNode)\n */\ninterface ConstantSourceNode extends AudioScheduledSourceNode {\n /**\n * The read-only `offset` property of the ConstantSourceNode interface returns a AudioParam object indicating the numeric a-rate value which is always returned by the source when asked for the next sample.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ConstantSourceNode/offset)\n */\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/**\n * The **`ContentVisibilityAutoStateChangeEvent`** interface is the event object for the element/contentvisibilityautostatechange_event event, which fires on any element with content-visibility set on it when it starts or stops being relevant to the user and skipping its contents.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContentVisibilityAutoStateChangeEvent)\n */\ninterface ContentVisibilityAutoStateChangeEvent extends Event {\n /**\n * The `skipped` read-only property of the ContentVisibilityAutoStateChangeEvent interface returns `true` if the user agent skips the element\'s contents, or `false` otherwise.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContentVisibilityAutoStateChangeEvent/skipped)\n */\n readonly skipped: boolean;\n}\n\ndeclare var ContentVisibilityAutoStateChangeEvent: {\n prototype: ContentVisibilityAutoStateChangeEvent;\n new(type: string, eventInitDict?: ContentVisibilityAutoStateChangeEventInit): ContentVisibilityAutoStateChangeEvent;\n};\n\n/**\n * The `ConvolverNode` interface is an AudioNode that performs a Linear Convolution on a given AudioBuffer, often used to achieve a reverb effect.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ConvolverNode)\n */\ninterface ConvolverNode extends AudioNode {\n /**\n * The **`buffer`** property of the ConvolverNode interface represents a mono, stereo, or 4-channel AudioBuffer containing the (possibly multichannel) impulse response used by the `ConvolverNode` to create the reverb effect.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ConvolverNode/buffer)\n */\n buffer: AudioBuffer | null;\n /**\n * The `normalize` property of the ConvolverNode interface is a boolean that controls whether the impulse response from the buffer will be scaled by an equal-power normalization when the `buffer` attribute is set, or not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ConvolverNode/normalize)\n */\n normalize: boolean;\n}\n\ndeclare var ConvolverNode: {\n prototype: ConvolverNode;\n new(context: BaseAudioContext, options?: ConvolverOptions): ConvolverNode;\n};\n\n/**\n * The **`CookieChangeEvent`** interface of the Cookie Store API is the event type of the CookieStore/change_event event fired at a CookieStore when any cookies are created or deleted.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieChangeEvent)\n */\ninterface CookieChangeEvent extends Event {\n /**\n * The **`changed`** read-only property of the CookieChangeEvent interface returns an array of the cookies that have been changed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieChangeEvent/changed)\n */\n readonly changed: ReadonlyArray<CookieListItem>;\n /**\n * The **`deleted`** read-only property of the CookieChangeEvent interface returns an array of the cookies that have been deleted by the given `CookieChangeEvent` instance.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieChangeEvent/deleted)\n */\n readonly deleted: ReadonlyArray<CookieListItem>;\n}\n\ndeclare var CookieChangeEvent: {\n prototype: CookieChangeEvent;\n new(type: string, eventInitDict?: CookieChangeEventInit): CookieChangeEvent;\n};\n\ninterface CookieStoreEventMap {\n "change": CookieChangeEvent;\n}\n\n/**\n * The **`CookieStore`** interface of the Cookie Store API provides methods for getting and setting cookies asynchronously from either a page or a service worker.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore)\n */\ninterface CookieStore extends EventTarget {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore/change_event) */\n onchange: ((this: CookieStore, ev: CookieChangeEvent) => any) | null;\n /**\n * The **`delete()`** method of the CookieStore interface deletes a cookie that matches the given `name` or `options` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore/delete)\n */\n delete(name: string): Promise<void>;\n delete(options: CookieStoreDeleteOptions): Promise<void>;\n /**\n * The **`get()`** method of the CookieStore interface returns a Promise that resolves to a single cookie matching the given `name` or `options` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore/get)\n */\n get(name: string): Promise<CookieListItem | null>;\n get(options?: CookieStoreGetOptions): Promise<CookieListItem | null>;\n /**\n * The **`getAll()`** method of the CookieStore interface returns a Promise that resolves as an array of cookies that match the `name` or `options` passed to it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore/getAll)\n */\n getAll(name: string): Promise<CookieList>;\n getAll(options?: CookieStoreGetOptions): Promise<CookieList>;\n /**\n * The **`set()`** method of the CookieStore interface sets a cookie with the given `name` and `value` or `options` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore/set)\n */\n set(name: string, value: string): Promise<void>;\n set(options: CookieInit): Promise<void>;\n addEventListener<K extends keyof CookieStoreEventMap>(type: K, listener: (this: CookieStore, ev: CookieStoreEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof CookieStoreEventMap>(type: K, listener: (this: CookieStore, ev: CookieStoreEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var CookieStore: {\n prototype: CookieStore;\n new(): CookieStore;\n};\n\n/**\n * The **`CookieStoreManager`** interface of the Cookie Store API allows service workers to subscribe to cookie change events.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager)\n */\ninterface CookieStoreManager {\n /**\n * The **`getSubscriptions()`** method of the CookieStoreManager interface returns a list of all the cookie change subscriptions for this ServiceWorkerRegistration.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/getSubscriptions)\n */\n getSubscriptions(): Promise<CookieStoreGetOptions[]>;\n /**\n * The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)\n */\n subscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;\n /**\n * The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)\n */\n unsubscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;\n}\n\ndeclare var CookieStoreManager: {\n prototype: CookieStoreManager;\n new(): CookieStoreManager;\n};\n\n/**\n * The **`CountQueuingStrategy`** interface of the Streams API provides a built-in chunk counting queuing strategy that can be used when constructing streams.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy)\n */\ninterface CountQueuingStrategy extends QueuingStrategy {\n /**\n * The read-only **`CountQueuingStrategy.highWaterMark`** property returns the total number of chunks that can be contained in the internal queue before backpressure is applied.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy/highWaterMark)\n */\n readonly highWaterMark: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy/size) */\n readonly size: QueuingStrategySize;\n}\n\ndeclare var CountQueuingStrategy: {\n prototype: CountQueuingStrategy;\n new(init: QueuingStrategyInit): CountQueuingStrategy;\n};\n\n/**\n * The **`Credential`** interface of the Credential Management API provides information about an entity (usually a user) normally as a prerequisite to a trust decision.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Credential)\n */\ninterface Credential {\n /**\n * The **`id`** read-only property of the Credential interface returns a string containing the credential\'s identifier.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Credential/id)\n */\n readonly id: string;\n /**\n * The **`type`** read-only property of the Credential interface returns a string containing the credential\'s type.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Credential/type)\n */\n readonly type: string;\n}\n\ndeclare var Credential: {\n prototype: Credential;\n new(): Credential;\n};\n\n/**\n * The **`CredentialsContainer`** interface of the Credential Management API exposes methods to request credentials and notify the user agent when events such as successful sign in or sign out happen.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CredentialsContainer)\n */\ninterface CredentialsContainer {\n /**\n * The **`create()`** method of the CredentialsContainer interface creates a new credential, which can then be stored and later retrieved using the CredentialsContainer.get method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CredentialsContainer/create)\n */\n create(options?: CredentialCreationOptions): Promise<Credential | null>;\n /**\n * The **`get()`** method of the CredentialsContainer interface returns a Promise that fulfills with a single credential, which can then be used to authenticate a user to a website.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CredentialsContainer/get)\n */\n get(options?: CredentialRequestOptions): Promise<Credential | null>;\n /**\n * The **`preventSilentAccess()`** method of the CredentialsContainer interface sets a flag that specifies whether automatic log in is allowed for future visits to the current origin, then returns a Promise that resolves to `undefined`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CredentialsContainer/preventSilentAccess)\n */\n preventSilentAccess(): Promise<void>;\n /**\n * The **`store()`** method of the ```js-nolint store(credentials) ``` - `credentials` - : A valid Credential instance.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CredentialsContainer/store)\n */\n store(credential: Credential): Promise<void>;\n}\n\ndeclare var CredentialsContainer: {\n prototype: CredentialsContainer;\n new(): CredentialsContainer;\n};\n\n/**\n * The **`Crypto`** interface represents basic cryptography features available in the current context.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto)\n */\ninterface Crypto {\n /**\n * The **`Crypto.subtle`** read-only property returns a cryptographic operations.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/subtle)\n */\n readonly subtle: SubtleCrypto;\n /**\n * The **`Crypto.getRandomValues()`** method lets you get cryptographically strong random values.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues)\n */\n getRandomValues<T extends ArrayBufferView>(array: T): T;\n /**\n * The **`randomUUID()`** method of the Crypto interface is used to generate a v4 UUID using a cryptographically secure random number generator.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/randomUUID)\n */\n randomUUID(): `${string}-${string}-${string}-${string}-${string}`;\n}\n\ndeclare var Crypto: {\n prototype: Crypto;\n new(): Crypto;\n};\n\n/**\n * The **`CryptoKey`** interface of the Web Crypto API represents a cryptographic key obtained from one of the SubtleCrypto methods SubtleCrypto.generateKey, SubtleCrypto.deriveKey, SubtleCrypto.importKey, or SubtleCrypto.unwrapKey.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey)\n */\ninterface CryptoKey {\n /**\n * The read-only **`algorithm`** property of the CryptoKey interface returns an object describing the algorithm for which this key can be used, and any associated extra parameters.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/algorithm)\n */\n readonly algorithm: KeyAlgorithm;\n /**\n * The read-only **`extractable`** property of the CryptoKey interface indicates whether or not the key may be extracted using `SubtleCrypto.exportKey()` or `SubtleCrypto.wrapKey()`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/extractable)\n */\n readonly extractable: boolean;\n /**\n * The read-only **`type`** property of the CryptoKey interface indicates which kind of key is represented by the object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/type)\n */\n readonly type: KeyType;\n /**\n * The read-only **`usages`** property of the CryptoKey interface indicates what can be done with the key.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/usages)\n */\n readonly usages: KeyUsage[];\n}\n\ndeclare var CryptoKey: {\n prototype: CryptoKey;\n new(): CryptoKey;\n};\n\n/**\n * The **`CustomElementRegistry`** interface provides methods for registering custom elements and querying registered elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry)\n */\ninterface CustomElementRegistry {\n /**\n * The **`define()`** method of the CustomElementRegistry interface adds a definition for a custom element to the custom element registry, mapping its name to the constructor which will be used to create it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/define)\n */\n define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void;\n /**\n * The **`get()`** method of the previously-defined custom element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/get)\n */\n get(name: string): CustomElementConstructor | undefined;\n /**\n * The **`getName()`** method of the previously-defined custom element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/getName)\n */\n getName(constructor: CustomElementConstructor): string | null;\n /**\n * The **`upgrade()`** method of the elements in a Node subtree, even before they are connected to the main document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/upgrade)\n */\n upgrade(root: Node): void;\n /**\n * The **`whenDefined()`** method of the resolves when the named element is defined.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/whenDefined)\n */\n whenDefined(name: string): Promise<CustomElementConstructor>;\n}\n\ndeclare var CustomElementRegistry: {\n prototype: CustomElementRegistry;\n new(): CustomElementRegistry;\n};\n\n/**\n * The **`CustomEvent`** interface represents events initialized by an application for any purpose.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)\n */\ninterface CustomEvent<T = any> extends Event {\n /**\n * The read-only **`detail`** property of the CustomEvent interface returns any data passed when initializing the event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent/detail)\n */\n readonly detail: T;\n /**\n * The **`CustomEvent.initCustomEvent()`** method initializes a CustomEvent object.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent/initCustomEvent)\n */\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/**\n * The **`CustomStateSet`** interface of the Document Object Model stores a list of states for an autonomous custom element, and allows states to be added and removed from the set.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomStateSet)\n */\ninterface CustomStateSet {\n forEach(callbackfn: (value: string, key: string, parent: CustomStateSet) => void, thisArg?: any): void;\n}\n\ndeclare var CustomStateSet: {\n prototype: CustomStateSet;\n new(): CustomStateSet;\n};\n\n/**\n * The **`DOMException`** interface represents an abnormal event (called an **exception**) that occurs as a result of calling a method or accessing a property of a web API.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException)\n */\ninterface DOMException extends Error {\n /**\n * The **`code`** read-only property of the DOMException interface returns one of the legacy error code constants, or `0` if none match.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)\n */\n readonly code: number;\n /**\n * The **`message`** read-only property of the a message or description associated with the given error name.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message)\n */\n readonly message: string;\n /**\n * The **`name`** read-only property of the one of the strings associated with an error name.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name)\n */\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/**\n * The **`DOMImplementation`** interface represents an object providing methods which are not dependent on any particular document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation)\n */\ninterface DOMImplementation {\n /**\n * The **`DOMImplementation.createDocument()`** method creates and returns an XMLDocument.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation/createDocument)\n */\n createDocument(namespace: string | null, qualifiedName: string | null, doctype?: DocumentType | null): XMLDocument;\n /**\n * The **`DOMImplementation.createDocumentType()`** method returns a DocumentType object which can either be used with into the document via methods like Node.insertBefore() or ```js-nolint createDocumentType(qualifiedNameStr, publicId, systemId) ``` - `qualifiedNameStr` - : A string containing the qualified name, like `svg:svg`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation/createDocumentType)\n */\n createDocumentType(name: string, publicId: string, systemId: string): DocumentType;\n /**\n * The **`DOMImplementation.createHTMLDocument()`** method creates a new HTML Document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation/createHTMLDocument)\n */\n createHTMLDocument(title?: string): Document;\n /**\n * The **`DOMImplementation.hasFeature()`** method returns a boolean flag indicating if a given feature is supported.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMImplementation/hasFeature)\n */\n hasFeature(...args: any[]): true;\n}\n\ndeclare var DOMImplementation: {\n prototype: DOMImplementation;\n new(): DOMImplementation;\n};\n\n/**\n * The **`DOMMatrix`** interface represents 4×4 matrices, suitable for 2D and 3D operations including rotation and translation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix)\n */\ninterface DOMMatrix extends DOMMatrixReadOnly {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n a: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n b: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n c: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n d: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n e: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n f: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m11: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m12: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m13: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m14: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m21: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m22: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m23: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m24: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m31: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m32: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m33: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m34: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m41: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m42: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m43: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m44: number;\n /**\n * The **`invertSelf()`** method of the DOMMatrix interface inverts the original matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/invertSelf)\n */\n invertSelf(): DOMMatrix;\n /**\n * The **`multiplySelf()`** method of the DOMMatrix interface multiplies a matrix by the `otherMatrix` parameter, computing the dot product of the original matrix and the specified matrix: `A⋅B`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/multiplySelf)\n */\n multiplySelf(other?: DOMMatrixInit): DOMMatrix;\n /**\n * The **`preMultiplySelf()`** method of the DOMMatrix interface modifies the matrix by pre-multiplying it with the specified `DOMMatrix`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/preMultiplySelf)\n */\n preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;\n /**\n * The `rotateAxisAngleSelf()` method of the DOMMatrix interface is a transformation method that rotates the source matrix by the given vector and angle, returning the altered matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateAxisAngleSelf)\n */\n rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n /**\n * The `rotateFromVectorSelf()` method of the DOMMatrix interface is a mutable transformation method that modifies a matrix by rotating the matrix by the angle between the specified vector and `(1, 0)`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateFromVectorSelf)\n */\n rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;\n /**\n * The `rotateSelf()` method of the DOMMatrix interface is a mutable transformation method that modifies a matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateSelf)\n */\n rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n /**\n * The **`scale3dSelf()`** method of the DOMMatrix interface is a mutable transformation method that modifies a matrix by applying a specified scaling factor to all three axes, centered on the given origin, with a default origin of `(0, 0, 0)`, returning the 3D-scaled matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf)\n */\n scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n /**\n * The **`scaleSelf()`** method of the DOMMatrix interface is a mutable transformation method that modifies a matrix by applying a specified scaling factor, centered on the given origin, with a default origin of `(0, 0)`, returning the scaled matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf)\n */\n scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n /**\n * The **`setMatrixValue()`** method of the DOMMatrix interface replaces the contents of the matrix with the matrix described by the specified transform or transforms, returning itself.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/setMatrixValue)\n */\n setMatrixValue(transformList: string): DOMMatrix;\n /**\n * The `skewXSelf()` method of the DOMMatrix interface is a mutable transformation method that modifies a matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewXSelf)\n */\n skewXSelf(sx?: number): DOMMatrix;\n /**\n * The `skewYSelf()` method of the DOMMatrix interface is a mutable transformation method that modifies a matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewYSelf)\n */\n skewYSelf(sy?: number): DOMMatrix;\n /**\n * The `translateSelf()` method of the DOMMatrix interface is a mutable transformation method that modifies a matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/translateSelf)\n */\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<ArrayBuffer>): DOMMatrix;\n fromFloat64Array(array64: Float64Array<ArrayBuffer>): 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\n/**\n * The **`DOMMatrixReadOnly`** interface represents a read-only 4×4 matrix, suitable for 2D and 3D operations.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly)\n */\ninterface DOMMatrixReadOnly {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly a: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly b: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly c: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly d: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly e: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly f: number;\n /**\n * The readonly **`is2D`** property of the DOMMatrixReadOnly interface is a Boolean flag that is `true` when the matrix is 2D.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D)\n */\n readonly is2D: boolean;\n /**\n * The readonly **`isIdentity`** property of the DOMMatrixReadOnly interface is a Boolean whose value is `true` if the matrix is the identity matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity)\n */\n readonly isIdentity: boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m11: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m12: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m13: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m14: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m21: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m22: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m23: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m24: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m31: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m32: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m33: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m34: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m41: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m42: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m43: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m44: number;\n /**\n * The **`flipX()`** method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix flipped about the x-axis.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX)\n */\n flipX(): DOMMatrix;\n /**\n * The **`flipY()`** method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix flipped about the y-axis.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY)\n */\n flipY(): DOMMatrix;\n /**\n * The **`inverse()`** method of the DOMMatrixReadOnly interface creates a new matrix which is the inverse of the original matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse)\n */\n inverse(): DOMMatrix;\n /**\n * The **`multiply()`** method of the DOMMatrixReadOnly interface creates and returns a new matrix which is the dot product of the matrix and the `otherMatrix` parameter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply)\n */\n multiply(other?: DOMMatrixInit): DOMMatrix;\n /**\n * The `rotate()` method of the DOMMatrixReadOnly interface returns a new DOMMatrix created by rotating the source matrix around each of its axes by the specified number of degrees.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate)\n */\n rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n /**\n * The `rotateAxisAngle()` method of the DOMMatrixReadOnly interface returns a new DOMMatrix created by rotating the source matrix by the given vector and angle.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle)\n */\n rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n /**\n * The `rotateFromVector()` method of the DOMMatrixReadOnly interface is returns a new DOMMatrix created by rotating the source matrix by the angle between the specified vector and `(1, 0)`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector)\n */\n rotateFromVector(x?: number, y?: number): DOMMatrix;\n /**\n * The **`scale()`** method of the original matrix with a scale transform applied.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale)\n */\n scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n /**\n * The **`scale3d()`** method of the DOMMatrixReadOnly interface creates a new matrix which is the result of a 3D scale transform being applied to the matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d)\n */\n scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n /** @deprecated */\n scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;\n /**\n * The `skewX()` method of the DOMMatrixReadOnly interface returns a new DOMMatrix created by applying the specified skew transformation to the source matrix along its x-axis.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX)\n */\n skewX(sx?: number): DOMMatrix;\n /**\n * The `skewY()` method of the DOMMatrixReadOnly interface returns a new DOMMatrix created by applying the specified skew transformation to the source matrix along its y-axis.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY)\n */\n skewY(sy?: number): DOMMatrix;\n /**\n * The **`toFloat32Array()`** method of the DOMMatrixReadOnly interface returns a new Float32Array containing all 16 elements (`m11`, `m12`, `m13`, `m14`, `m21`, `m22`, `m23`, `m24`, `m31`, `m32`, `m33`, `m34`, `m41`, `m42`, `m43`, `m44`) which comprise the matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array)\n */\n toFloat32Array(): Float32Array<ArrayBuffer>;\n /**\n * The **`toFloat64Array()`** method of the DOMMatrixReadOnly interface returns a new Float64Array containing all 16 elements (`m11`, `m12`, `m13`, `m14`, `m21`, `m22`, `m23`, `m24`, `m31`, `m32`, `m33`, `m34`, `m41`, `m42`, `m43`, `m44`) which comprise the matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array)\n */\n toFloat64Array(): Float64Array<ArrayBuffer>;\n /**\n * The **`toJSON()`** method of the DOMMatrixReadOnly interface creates and returns a JSON object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toJSON)\n */\n toJSON(): any;\n /**\n * The **`transformPoint`** method of the You can also create a new `DOMPoint` by applying a matrix to a point with the DOMPointReadOnly.matrixTransform() method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint)\n */\n transformPoint(point?: DOMPointInit): DOMPoint;\n /**\n * The `translate()` method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a translation applied.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/translate)\n */\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<ArrayBuffer>): DOMMatrixReadOnly;\n fromFloat64Array(array64: Float64Array<ArrayBuffer>): DOMMatrixReadOnly;\n fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;\n};\n\n/**\n * The **`DOMParser`** interface provides the ability to parse XML or HTML source code from a string into a DOM Document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMParser)\n */\ninterface DOMParser {\n /**\n * The **`parseFromString()`** method of the DOMParser interface parses a string containing either HTML or XML, returning an HTMLDocument or an XMLDocument.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMParser/parseFromString)\n */\n parseFromString(string: string, type: DOMParserSupportedType): Document;\n}\n\ndeclare var DOMParser: {\n prototype: DOMParser;\n new(): DOMParser;\n};\n\n/**\n * A **`DOMPoint`** object represents a 2D or 3D point in a coordinate system; it includes values for the coordinates in up to three dimensions, as well as an optional perspective value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint)\n */\ninterface DOMPoint extends DOMPointReadOnly {\n /**\n * The **`DOMPoint`** interface\'s **`w`** property holds the point\'s perspective value, w, for a point in space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/w)\n */\n w: number;\n /**\n * The **`DOMPoint`** interface\'s **`x`** property holds the horizontal coordinate, x, for a point in space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/x)\n */\n x: number;\n /**\n * The **`DOMPoint`** interface\'s **`y`** property holds the vertical coordinate, _y_, for a point in space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/y)\n */\n y: number;\n /**\n * The **`DOMPoint`** interface\'s **`z`** property specifies the depth coordinate of a point in space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/z)\n */\n z: number;\n}\n\ndeclare var DOMPoint: {\n prototype: DOMPoint;\n new(x?: number, y?: number, z?: number, w?: number): DOMPoint;\n /**\n * The **`fromPoint()`** static method of the DOMPoint interface creates and returns a new mutable `DOMPoint` object given a source point.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/fromPoint_static)\n */\n fromPoint(other?: DOMPointInit): DOMPoint;\n};\n\ntype SVGPoint = DOMPoint;\ndeclare var SVGPoint: typeof DOMPoint;\n\n/**\n * The **`DOMPointReadOnly`** interface specifies the coordinate and perspective fields used by DOMPoint to define a 2D or 3D point in a coordinate system.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly)\n */\ninterface DOMPointReadOnly {\n /**\n * The **`DOMPointReadOnly`** interface\'s **`w`** property holds the point\'s perspective value, `w`, for a read-only point in space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/w)\n */\n readonly w: number;\n /**\n * The **`DOMPointReadOnly`** interface\'s **`x`** property holds the horizontal coordinate, x, for a read-only point in space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/x)\n */\n readonly x: number;\n /**\n * The **`DOMPointReadOnly`** interface\'s **`y`** property holds the vertical coordinate, y, for a read-only point in space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/y)\n */\n readonly y: number;\n /**\n * The **`DOMPointReadOnly`** interface\'s **`z`** property holds the depth coordinate, z, for a read-only point in space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z)\n */\n readonly z: number;\n /**\n * The **`matrixTransform()`** method of the DOMPointReadOnly interface applies a matrix transform specified as an object to the DOMPointReadOnly object, creating and returning a new `DOMPointReadOnly` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform)\n */\n matrixTransform(matrix?: DOMMatrixInit): DOMPoint;\n /**\n * The DOMPointReadOnly method `toJSON()` returns an object giving the ```js-nolint toJSON() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON)\n */\n toJSON(): any;\n}\n\ndeclare var DOMPointReadOnly: {\n prototype: DOMPointReadOnly;\n new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly;\n /**\n * The static **DOMPointReadOnly** method `fromPoint()` creates and returns a new `DOMPointReadOnly` object given a source point.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/fromPoint_static)\n */\n fromPoint(other?: DOMPointInit): DOMPointReadOnly;\n};\n\n/**\n * A `DOMQuad` is a collection of four `DOMPoint`s defining the corners of an arbitrary quadrilateral.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad)\n */\ninterface DOMQuad {\n /**\n * The **`DOMQuad`** interface\'s **`p1`** property holds the DOMPoint object that represents one of the four corners of the `DOMQuad`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1)\n */\n readonly p1: DOMPoint;\n /**\n * The **`DOMQuad`** interface\'s **`p2`** property holds the DOMPoint object that represents one of the four corners of the `DOMQuad`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2)\n */\n readonly p2: DOMPoint;\n /**\n * The **`DOMQuad`** interface\'s **`p3`** property holds the DOMPoint object that represents one of the four corners of the `DOMQuad`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3)\n */\n readonly p3: DOMPoint;\n /**\n * The **`DOMQuad`** interface\'s **`p4`** property holds the DOMPoint object that represents one of the four corners of the `DOMQuad`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4)\n */\n readonly p4: DOMPoint;\n /**\n * The DOMQuad method `getBounds()` returns a DOMRect object representing the smallest rectangle that fully contains the `DOMQuad` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds)\n */\n getBounds(): DOMRect;\n /**\n * The DOMQuad method `toJSON()` returns a ```js-nolint toJSON() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/toJSON)\n */\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\n/**\n * A **`DOMRect`** describes the size and position of a rectangle.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect)\n */\ninterface DOMRect extends DOMRectReadOnly {\n /**\n * The **`height`** property of the DOMRect interface represents the height of the rectangle.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/height)\n */\n height: number;\n /**\n * The **`width`** property of the DOMRect interface represents the width of the rectangle.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/width)\n */\n width: number;\n /**\n * The **`x`** property of the DOMRect interface represents the x-coordinate of the rectangle, which is the horizontal distance between the viewport\'s left edge and the rectangle\'s origin.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/x)\n */\n x: number;\n /**\n * The **`y`** property of the DOMRect interface represents the y-coordinate of the rectangle, which is the vertical distance between the viewport\'s top edge and the rectangle\'s origin.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/y)\n */\n y: number;\n}\n\ndeclare var DOMRect: {\n prototype: DOMRect;\n new(x?: number, y?: number, width?: number, height?: number): DOMRect;\n /**\n * The **`fromRect()`** static method of the object with a given location and dimensions.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static)\n */\n fromRect(other?: DOMRectInit): DOMRect;\n};\n\ntype SVGRect = DOMRect;\ndeclare var SVGRect: typeof DOMRect;\n\n/**\n * The **`DOMRectList`** interface represents a collection of DOMRect objects, typically used to hold the rectangles associated with a particular element, like bounding boxes returned by methods such as Element.getClientRects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectList)\n */\ninterface DOMRectList {\n /**\n * The read-only **`length`** property of the DOMRectList interface returns the number of DOMRect objects in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectList/length)\n */\n readonly length: number;\n /**\n * The DOMRectList method `item()` returns the DOMRect at the specified index within the list, or `null` if the index is out of range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectList/item)\n */\n item(index: number): DOMRect | null;\n [index: number]: DOMRect;\n}\n\ndeclare var DOMRectList: {\n prototype: DOMRectList;\n new(): DOMRectList;\n};\n\n/**\n * The **`DOMRectReadOnly`** interface specifies the standard properties (also used by DOMRect) to define a rectangle whose properties are immutable.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly)\n */\ninterface DOMRectReadOnly {\n /**\n * The **`bottom`** read-only property of the **`DOMRectReadOnly`** interface returns the bottom coordinate value of the `DOMRect`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/bottom)\n */\n readonly bottom: number;\n /**\n * The **`height`** read-only property of the **`DOMRectReadOnly`** interface represents the height of the `DOMRect`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/height)\n */\n readonly height: number;\n /**\n * The **`left`** read-only property of the **`DOMRectReadOnly`** interface returns the left coordinate value of the `DOMRect`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/left)\n */\n readonly left: number;\n /**\n * The **`right`** read-only property of the **`DOMRectReadOnly`** interface returns the right coordinate value of the `DOMRect`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/right)\n */\n readonly right: number;\n /**\n * The **`top`** read-only property of the **`DOMRectReadOnly`** interface returns the top coordinate value of the `DOMRect`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/top)\n */\n readonly top: number;\n /**\n * The **`width`** read-only property of the **`DOMRectReadOnly`** interface represents the width of the `DOMRect`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/width)\n */\n readonly width: number;\n /**\n * The **`x`** read-only property of the **`DOMRectReadOnly`** interface represents the x coordinate of the `DOMRect`\'s origin.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/x)\n */\n readonly x: number;\n /**\n * The **`y`** read-only property of the **`DOMRectReadOnly`** interface represents the y coordinate of the `DOMRect`\'s origin.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/y)\n */\n readonly y: number;\n /**\n * The DOMRectReadOnly method `toJSON()` returns a JSON representation of the `DOMRectReadOnly` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/toJSON)\n */\n toJSON(): any;\n}\n\ndeclare var DOMRectReadOnly: {\n prototype: DOMRectReadOnly;\n new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;\n /**\n * The **`fromRect()`** static method of the object with a given location and dimensions.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/fromRect_static)\n */\n fromRect(other?: DOMRectInit): DOMRectReadOnly;\n};\n\n/**\n * The **`DOMStringList`** interface is a legacy type returned by some APIs and represents a non-modifiable list of strings (`DOMString`).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMStringList)\n */\ninterface DOMStringList {\n /**\n * The read-only **`length`** property indicates the number of strings in the DOMStringList.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMStringList/length)\n */\n readonly length: number;\n /**\n * The **`contains()`** method returns a boolean indicating whether the given string is in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMStringList/contains)\n */\n contains(string: string): boolean;\n /**\n * The **`item()`** method returns a string from a `DOMStringList` by index.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMStringList/item)\n */\n item(index: number): string | null;\n [index: number]: string;\n}\n\ndeclare var DOMStringList: {\n prototype: DOMStringList;\n new(): DOMStringList;\n};\n\n/**\n * The **`DOMStringMap`** interface is used for the HTMLElement.dataset attribute, to represent data for custom attributes added to elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMStringMap)\n */\ninterface DOMStringMap {\n [name: string]: string | undefined;\n}\n\ndeclare var DOMStringMap: {\n prototype: DOMStringMap;\n new(): DOMStringMap;\n};\n\n/**\n * The **`DOMTokenList`** interface represents a set of space-separated tokens.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList)\n */\ninterface DOMTokenList {\n /**\n * The read-only **`length`** property of the DOMTokenList interface is an `integer` representing the number of objects stored in the object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/length)\n */\n readonly length: number;\n /**\n * The **`value`** property of the DOMTokenList interface is a stringifier that returns the value of the list serialized as a string, or clears and sets the list to the given value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/value)\n */\n value: string;\n toString(): string;\n /**\n * The **`add()`** method of the DOMTokenList interface adds the given tokens to the list, omitting any that are already present.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/add)\n */\n add(...tokens: string[]): void;\n /**\n * The **`contains()`** method of the DOMTokenList interface returns a boolean value — `true` if the underlying list contains the given token, otherwise `false`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/contains)\n */\n contains(token: string): boolean;\n /**\n * The **`item()`** method of the DOMTokenList interface returns an item in the list, determined by its position in the list, its index.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/item)\n */\n item(index: number): string | null;\n /**\n * The **`remove()`** method of the DOMTokenList interface removes the specified _tokens_ from the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/remove)\n */\n remove(...tokens: string[]): void;\n /**\n * The **`replace()`** method of the DOMTokenList interface replaces an existing token with a new token.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/replace)\n */\n replace(token: string, newToken: string): boolean;\n /**\n * The **`supports()`** method of the DOMTokenList interface returns `true` if a given `token` is in the associated attribute\'s supported tokens.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/supports)\n */\n supports(token: string): boolean;\n /**\n * The **`toggle()`** method of the DOMTokenList interface removes an existing token from the list and returns `false`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMTokenList/toggle)\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/**\n * The **`DataTransfer`** object is used to hold any data transferred between contexts, such as a drag and drop operation, or clipboard read/write.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer)\n */\ninterface DataTransfer {\n /**\n * The **`DataTransfer.dropEffect`** property controls the feedback (typically visual) the user is given during a drag and drop operation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer/dropEffect)\n */\n dropEffect: "none" | "copy" | "link" | "move";\n /**\n * The **`DataTransfer.effectAllowed`** property specifies the effect that is allowed for a drag operation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer/effectAllowed)\n */\n effectAllowed: "none" | "copy" | "copyLink" | "copyMove" | "link" | "linkMove" | "move" | "all" | "uninitialized";\n /**\n * The **`files`** read-only property of `DataTransfer` objects is a list of the files in the drag operation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer/files)\n */\n readonly files: FileList;\n /**\n * The read-only `items` property of the DataTransfer interface is a A DataTransferItemList object containing DataTransferItem objects representing the items being dragged in a drag operation, one list item for each object being dragged.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer/items)\n */\n readonly items: DataTransferItemList;\n /**\n * The **`DataTransfer.types`** read-only property returns the available types that exist in the DataTransfer.items.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer/types)\n */\n readonly types: ReadonlyArray<string>;\n /**\n * The **`DataTransfer.clearData()`** method removes the drag operation\'s drag data for the given type.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer/clearData)\n */\n clearData(format?: string): void;\n /**\n * The **`DataTransfer.getData()`** method retrieves drag data (as a string) for the specified type.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer/getData)\n */\n getData(format: string): string;\n /**\n * The **`DataTransfer.setData()`** method sets the drag operation\'s drag data to the specified data and type.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer/setData)\n */\n setData(format: string, data: string): void;\n /**\n * When a drag occurs, a translucent image is generated from the drag target (the element the HTMLElement/dragstart_event event is fired at), and follows the mouse pointer during the drag.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransfer/setDragImage)\n */\n setDragImage(image: Element, x: number, y: number): void;\n}\n\ndeclare var DataTransfer: {\n prototype: DataTransfer;\n new(): DataTransfer;\n};\n\n/**\n * The **`DataTransferItem`** object represents one drag data item.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItem)\n */\ninterface DataTransferItem {\n /**\n * The read-only **`DataTransferItem.kind`** property returns the kind–a string or a file–of the DataTransferItem object representing the _drag data item_.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItem/kind)\n */\n readonly kind: string;\n /**\n * The read-only **`DataTransferItem.type`** property returns the type (format) of the DataTransferItem object representing the drag data item.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItem/type)\n */\n readonly type: string;\n /**\n * If the item is a file, the **`DataTransferItem.getAsFile()`** method returns the drag data item\'s File object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItem/getAsFile)\n */\n getAsFile(): File | null;\n /**\n * The **`DataTransferItem.getAsString()`** method invokes the given callback with the drag data item\'s string data as the argument if the item\'s DataTransferItem.kind is a _Plain unicode string_ (i.e., `kind` is `string`).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItem/getAsString)\n */\n getAsString(callback: FunctionStringCallback | null): void;\n /**\n * If the item described by the DataTransferItem is a file, `webkitGetAsEntry()` returns a FileSystemFileEntry or FileSystemDirectoryEntry representing it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItem/webkitGetAsEntry)\n */\n webkitGetAsEntry(): FileSystemEntry | null;\n}\n\ndeclare var DataTransferItem: {\n prototype: DataTransferItem;\n new(): DataTransferItem;\n};\n\n/**\n * The **`DataTransferItemList`** object is a list of DataTransferItem objects representing items being dragged.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItemList)\n */\ninterface DataTransferItemList {\n /**\n * The read-only **`length`** property of the the drag item list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItemList/length)\n */\n readonly length: number;\n /**\n * The **`DataTransferItemList.add()`** method creates a new list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItemList/add)\n */\n add(data: string, type: string): DataTransferItem | null;\n add(data: File): DataTransferItem | null;\n /**\n * The DataTransferItemList method **`clear()`** removes all DataTransferItem objects from the drag data items list, leaving the list empty.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItemList/clear)\n */\n clear(): void;\n /**\n * The **`DataTransferItemList.remove()`** method removes the less than zero or greater than one less than the length of the list, the list will not be changed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DataTransferItemList/remove)\n */\n remove(index: number): void;\n [index: number]: DataTransferItem;\n}\n\ndeclare var DataTransferItemList: {\n prototype: DataTransferItemList;\n new(): DataTransferItemList;\n};\n\n/**\n * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)\n */\ninterface DecompressionStream extends GenericTransformStream {\n readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;\n readonly writable: WritableStream<BufferSource>;\n}\n\ndeclare var DecompressionStream: {\n prototype: DecompressionStream;\n new(format: CompressionFormat): DecompressionStream;\n};\n\n/**\n * The **`DelayNode`** interface represents 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DelayNode)\n */\ninterface DelayNode extends AudioNode {\n /**\n * The `delayTime` property of the DelayNode interface is an a-rate AudioParam representing the amount of delay to apply.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DelayNode/delayTime)\n */\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`** interface of the Device Orientation Events provides web developers with information about the speed of changes for the device\'s position and orientation.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEvent)\n */\ninterface DeviceMotionEvent extends Event {\n /**\n * The **`acceleration`** read-only property of the DeviceMotionEvent interface returns the acceleration recorded by the device, in meters per second squared (m/s²).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEvent/acceleration)\n */\n readonly acceleration: DeviceMotionEventAcceleration | null;\n /**\n * The **`accelerationIncludingGravity`** read-only property of the DeviceMotionEvent interface returns the amount of acceleration recorded by the device, in meters per second squared (m/s²).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEvent/accelerationIncludingGravity)\n */\n readonly accelerationIncludingGravity: DeviceMotionEventAcceleration | null;\n /**\n * The **`interval`** read-only property of the DeviceMotionEvent interface returns the interval, in milliseconds, at which data is obtained from the underlying hardware.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEvent/interval)\n */\n readonly interval: number;\n /**\n * The **`rotationRate`** read-only property of the DeviceMotionEvent interface returns the rate at which the device is rotating around each of its axes in degrees per second.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEvent/rotationRate)\n */\n readonly rotationRate: DeviceMotionEventRotationRate | null;\n}\n\ndeclare var DeviceMotionEvent: {\n prototype: DeviceMotionEvent;\n new(type: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent;\n};\n\n/**\n * The **`DeviceMotionEventAcceleration`** interface of the Device Orientation Events provides information about the amount of acceleration the device is experiencing along all three axes.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEventAcceleration)\n */\ninterface DeviceMotionEventAcceleration {\n /**\n * The **`x`** read-only property of the DeviceMotionEventAcceleration interface indicates the amount of acceleration that occurred along the X axis in a `DeviceMotionEventAcceleration` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEventAcceleration/x)\n */\n readonly x: number | null;\n /**\n * The **`y`** read-only property of the DeviceMotionEventAcceleration interface indicates the amount of acceleration that occurred along the Y axis in a `DeviceMotionEventAcceleration` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEventAcceleration/y)\n */\n readonly y: number | null;\n /**\n * The **`z`** read-only property of the DeviceMotionEventAcceleration interface indicates the amount of acceleration that occurred along the Z axis in a `DeviceMotionEventAcceleration` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEventAcceleration/z)\n */\n readonly z: number | null;\n}\n\n/**\n * A **`DeviceMotionEventRotationRate`** interface of the Device Orientation Events provides information about the rate at which the device is rotating around all three axes.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEventRotationRate)\n */\ninterface DeviceMotionEventRotationRate {\n /**\n * The **`alpha`** read-only property of the DeviceMotionEventRotationRate interface indicates the rate of rotation around the Z axis, in degrees per second.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEventRotationRate/alpha)\n */\n readonly alpha: number | null;\n /**\n * The **`beta`** read-only property of the DeviceMotionEventRotationRate interface indicates the rate of rotation around the X axis, in degrees per second.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEventRotationRate/beta)\n */\n readonly beta: number | null;\n /**\n * The **`gamma`** read-only property of the DeviceMotionEventRotationRate interface indicates the rate of rotation around the Y axis, in degrees per second.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceMotionEventRotationRate/gamma)\n */\n readonly gamma: number | null;\n}\n\n/**\n * The **`DeviceOrientationEvent`** interface of the Device Orientation Events provides web developers with information from the physical orientation of the device running the web page.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceOrientationEvent)\n */\ninterface DeviceOrientationEvent extends Event {\n /**\n * The **`absolute`** read-only property of the DeviceOrientationEvent interface indicates whether or not the device is providing orientation data absolutely (that is, in reference to the Earth\'s coordinate frame) or using some arbitrary frame determined by the device.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceOrientationEvent/absolute)\n */\n readonly absolute: boolean;\n /**\n * The **`alpha`** read-only property of the DeviceOrientationEvent interface returns the rotation of the device around the Z axis; that is, the number of degrees by which the device is being twisted around the center of the screen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceOrientationEvent/alpha)\n */\n readonly alpha: number | null;\n /**\n * The **`beta`** read-only property of the DeviceOrientationEvent interface returns the rotation of the device around the X axis; that is, the number of degrees, ranged between -180 and 180, by which the device is tipped forward or backward.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceOrientationEvent/beta)\n */\n readonly beta: number | null;\n /**\n * The **`gamma`** read-only property of the DeviceOrientationEvent interface returns the rotation of the device around the Y axis; that is, the number of degrees, ranged between `-90` and `90`, by which the device is tilted left or right.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DeviceOrientationEvent/gamma)\n */\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/**\n * The **`Document`** interface represents any web page loaded in the browser and serves as an entry point into the web page\'s content, which is the DOM tree.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document)\n */\ninterface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase {\n /**\n * The **`URL`** read-only property of the Document interface returns the document location as a string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/URL)\n */\n readonly URL: string;\n /**\n * Returns or sets the color of an active link in the document body.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/alinkColor)\n */\n alinkColor: string;\n /**\n * The Document interface\'s read-only **`all`** property returns an HTMLAllCollection rooted at the document node.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/all)\n */\n readonly all: HTMLAllCollection;\n /**\n * The **`anchors`** read-only property of the An HTMLCollection.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/anchors)\n */\n readonly anchors: HTMLCollectionOf<HTMLAnchorElement>;\n /**\n * The **`applets`** property of the Document returns an empty HTMLCollection.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/applets)\n */\n readonly applets: HTMLCollection;\n /**\n * The deprecated `bgColor` property gets or sets the background color of the current document.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/bgColor)\n */\n bgColor: string;\n /**\n * The **`Document.body`** property represents the `null` if no such element exists.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/body)\n */\n body: HTMLElement;\n /**\n * The **`Document.characterSet`** read-only property returns the character encoding of the document that it\'s currently rendered with.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/characterSet)\n */\n readonly characterSet: string;\n /**\n * @deprecated This is a legacy alias of `characterSet`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/characterSet)\n */\n readonly charset: string;\n /**\n * The **`Document.compatMode`** read-only property indicates whether the document is rendered in Quirks mode or Standards mode.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/compatMode)\n */\n readonly compatMode: string;\n /**\n * The **`Document.contentType`** read-only property returns the MIME type that the document is being rendered as.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/contentType)\n */\n readonly contentType: string;\n /**\n * The Document property `cookie` lets you read and write cookies associated with the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/cookie)\n */\n cookie: string;\n /**\n * The **`Document.currentScript`** property returns the script element whose script is currently being processed and isn\'t a JavaScript module.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/currentScript)\n */\n readonly currentScript: HTMLOrSVGScriptElement | null;\n /**\n * In browsers, **`document.defaultView`** returns the This property is read-only.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/defaultView)\n */\n readonly defaultView: (WindowProxy & typeof globalThis) | null;\n /**\n * **`document.designMode`** controls whether the entire document is editable.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/designMode)\n */\n designMode: string;\n /**\n * The **`Document.dir`** property is a string representing the directionality of the text of the document, whether left to right (default) or right to left.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/dir)\n */\n dir: string;\n /**\n * The **`doctype`** read-only property of the Document interface is a DocumentType object representing the Doctype associated with the current document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/doctype)\n */\n readonly doctype: DocumentType | null;\n /**\n * The **`documentElement`** read-only property of the Document interface returns the example, the html element for HTML documents).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/documentElement)\n */\n readonly documentElement: HTMLElement;\n /**\n * The **`documentURI`** read-only property of the A string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/documentURI)\n */\n readonly documentURI: string;\n /**\n * The **`domain`** property of the Document interface gets/sets the domain portion of the origin of the current document, as used by the same-origin policy.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/domain)\n */\n domain: string;\n /**\n * The **`embeds`** read-only property of the An HTMLCollection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/embeds)\n */\n readonly embeds: HTMLCollectionOf<HTMLEmbedElement>;\n /**\n * **`fgColor`** gets/sets the foreground color, or text color, of the current document.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fgColor)\n */\n fgColor: string;\n /**\n * The **`forms`** read-only property of the Document interface returns an HTMLCollection listing all the form elements contained in the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/forms)\n */\n readonly forms: HTMLCollectionOf<HTMLFormElement>;\n /**\n * The **`fragmentDirective`** read-only property of the Document interface returns the FragmentDirective for the current document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fragmentDirective)\n */\n readonly fragmentDirective: FragmentDirective;\n /**\n * The obsolete Document interface\'s **`fullscreen`** read-only property reports whether or not the document is currently displaying content in fullscreen mode.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fullscreen)\n */\n readonly fullscreen: boolean;\n /**\n * The read-only **`fullscreenEnabled`** property on the Document interface indicates whether or not fullscreen mode is available.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fullscreenEnabled)\n */\n readonly fullscreenEnabled: boolean;\n /**\n * The **`head`** read-only property of the Document interface returns the head element of the current document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/head)\n */\n readonly head: HTMLHeadElement;\n /**\n * The **`Document.hidden`** read-only property returns a Boolean value indicating if the page is considered hidden or not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/hidden)\n */\n readonly hidden: boolean;\n /**\n * The **`images`** read-only property of the Document interface returns a collection of the images in the current HTML document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/images)\n */\n readonly images: HTMLCollectionOf<HTMLImageElement>;\n /**\n * The **`Document.implementation`** property returns a A DOMImplementation object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/implementation)\n */\n readonly implementation: DOMImplementation;\n /**\n * @deprecated This is a legacy alias of `characterSet`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/characterSet)\n */\n readonly inputEncoding: string;\n /**\n * The **`lastModified`** property of the Document interface returns a string containing the date and local time on which the current document was last modified.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/lastModified)\n */\n readonly lastModified: string;\n /**\n * The **`Document.linkColor`** property gets/sets the color of links within the document.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/linkColor)\n */\n linkColor: string;\n /**\n * The **`links`** read-only property of the Document interface returns a collection of all area elements and a elements in a document with a value for the href attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/links)\n */\n readonly links: HTMLCollectionOf<HTMLAnchorElement | HTMLAreaElement>;\n /**\n * The **`Document.location`** read-only property returns a and provides methods for changing that URL and loading another URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/location)\n */\n get location(): Location;\n set location(href: string);\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fullscreenchange_event) */\n onfullscreenchange: ((this: Document, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fullscreenerror_event) */\n onfullscreenerror: ((this: Document, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/pointerlockchange_event) */\n onpointerlockchange: ((this: Document, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/pointerlockerror_event) */\n onpointerlockerror: ((this: Document, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/readystatechange_event) */\n onreadystatechange: ((this: Document, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/visibilitychange_event) */\n onvisibilitychange: ((this: Document, ev: Event) => any) | null;\n readonly ownerDocument: null;\n /**\n * The read-only **`pictureInPictureEnabled`** property of the available.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/pictureInPictureEnabled)\n */\n readonly pictureInPictureEnabled: boolean;\n /**\n * The **`plugins`** read-only property of the containing one or more HTMLEmbedElements representing the An HTMLCollection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/plugins)\n */\n readonly plugins: HTMLCollectionOf<HTMLEmbedElement>;\n /**\n * The **`Document.readyState`** property describes the loading state of the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/readyState)\n */\n readonly readyState: DocumentReadyState;\n /**\n * The **`Document.referrer`** property returns the URI of the page that linked to this page.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/referrer)\n */\n readonly referrer: string;\n /**\n * **`Document.rootElement`** returns the Element that is the root element of the document if it is an documents.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/rootElement)\n */\n readonly rootElement: SVGSVGElement | null;\n /**\n * The **`scripts`** property of the Document interface returns a list of the script elements in the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/scripts)\n */\n readonly scripts: HTMLCollectionOf<HTMLScriptElement>;\n /**\n * The **`scrollingElement`** read-only property of the scrolls the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/scrollingElement)\n */\n readonly scrollingElement: Element | null;\n /**\n * The `timeline` readonly property of the Document interface represents the default timeline of the current document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/timeline)\n */\n readonly timeline: DocumentTimeline;\n /**\n * The **`document.title`** property gets or sets the current title of the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/title)\n */\n title: string;\n /**\n * The **`Document.visibilityState`** read-only property returns the visibility of the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/visibilityState)\n */\n readonly visibilityState: DocumentVisibilityState;\n /**\n * The **`Document.vlinkColor`** property gets/sets the color of links that the user has visited in the document.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/vlinkColor)\n */\n vlinkColor: string;\n /**\n * **`Document.adoptNode()`** transfers a node/dom from another Document into the method\'s document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptNode)\n */\n adoptNode<T extends Node>(node: T): T;\n /** @deprecated */\n captureEvents(): void;\n /**\n * The **`caretPositionFromPoint()`** method of the Document interface returns a CaretPosition object, containing the DOM node, along with the caret and caret\'s character offset within that node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/caretPositionFromPoint)\n */\n caretPositionFromPoint(x: number, y: number, options?: CaretPositionFromPointOptions): CaretPosition | null;\n /** @deprecated */\n caretRangeFromPoint(x: number, y: number): Range | null;\n /**\n * The **`Document.clear()`** method does nothing, but doesn\'t raise any error.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/clear)\n */\n clear(): void;\n /**\n * The **`Document.close()`** method finishes writing to a document, opened with Document.open().\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/close)\n */\n close(): void;\n /**\n * The **`Document.createAttribute()`** method creates a new attribute node, and returns it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createAttribute)\n */\n createAttribute(localName: string): Attr;\n /**\n * The **`Document.createAttributeNS()`** method creates a new attribute node with the specified namespace URI and qualified name, and returns it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createAttributeNS)\n */\n createAttributeNS(namespace: string | null, qualifiedName: string): Attr;\n /**\n * **`createCDATASection()`** creates a new CDATA section node, and returns it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createCDATASection)\n */\n createCDATASection(data: string): CDATASection;\n /**\n * **`createComment()`** creates a new comment node, and returns it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createComment)\n */\n createComment(data: string): Comment;\n /**\n * Creates a new empty DocumentFragment into which DOM nodes can be added to build an offscreen DOM tree.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createDocumentFragment)\n */\n createDocumentFragment(): DocumentFragment;\n /**\n * In an HTML document, the **`document.createElement()`** method creates the HTML element specified by `localName`, or an HTMLUnknownElement if `localName` isn\'t recognized.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createElement)\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 * Creates an element with the specified namespace URI and qualified name.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createElementNS)\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 /**\n * Creates an event of the type specified.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createEvent)\n */\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: "ContentVisibilityAutoStateChangeEvent"): ContentVisibilityAutoStateChangeEvent;\n createEvent(eventInterface: "CookieChangeEvent"): CookieChangeEvent;\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: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent;\n createEvent(eventInterface: "PageRevealEvent"): PageRevealEvent;\n createEvent(eventInterface: "PageSwapEvent"): PageSwapEvent;\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: "TextEvent"): TextEvent;\n createEvent(eventInterface: "ToggleEvent"): ToggleEvent;\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 * The **`Document.createNodeIterator()`** method returns a new `NodeIterator` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createNodeIterator)\n */\n createNodeIterator(root: Node, whatToShow?: number, filter?: NodeFilter | null): NodeIterator;\n /**\n * `createProcessingInstruction()` generates a new processing instruction node and returns it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createProcessingInstruction)\n */\n createProcessingInstruction(target: string, data: string): ProcessingInstruction;\n /**\n * The **`Document.createRange()`** method returns a new ```js-nolint createRange() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createRange)\n */\n createRange(): Range;\n /**\n * Creates a new Text node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createTextNode)\n */\n createTextNode(data: string): Text;\n /**\n * The **`Document.createTreeWalker()`** creator method returns a newly created TreeWalker object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createTreeWalker)\n */\n createTreeWalker(root: Node, whatToShow?: number, filter?: NodeFilter | null): TreeWalker;\n /**\n * The **`execCommand`** method implements multiple different commands.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/execCommand)\n */\n execCommand(commandId: string, showUI?: boolean, value?: string): boolean;\n /**\n * The Document method **`exitFullscreen()`** requests that the element on this document which is currently being presented in fullscreen mode be taken out of fullscreen mode, restoring the previous state of the screen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/exitFullscreen)\n */\n exitFullscreen(): Promise<void>;\n /**\n * The **`exitPictureInPicture()`** method of the Document interface requests that a video contained in this document, which is currently floating, be taken out of picture-in-picture mode, restoring the previous state of the screen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/exitPictureInPicture)\n */\n exitPictureInPicture(): Promise<void>;\n /**\n * The **`exitPointerLock()`** method of the Document interface asynchronously releases a pointer lock previously requested through Element.requestPointerLock.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/exitPointerLock)\n */\n exitPointerLock(): void;\n getElementById(elementId: string): HTMLElement | null;\n /**\n * The **`getElementsByClassName`** method of of all child elements which have all of the given class name(s).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getElementsByClassName)\n */\n getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;\n /**\n * The **`getElementsByName()`** method of the Document object returns a NodeList Collection of elements with a given `name` attribute in the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getElementsByName)\n */\n getElementsByName(elementName: string): NodeListOf<HTMLElement>;\n /**\n * The **`getElementsByTagName`** method of The complete document is searched, including the root node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getElementsByTagName)\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 * Returns a list of elements with the given tag name belonging to the given namespace.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getElementsByTagNameNS)\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 /**\n * The **`getSelection()`** method of the Document interface returns the Selection object associated with this document, representing the range of text selected by the user, or the current position of the caret.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getSelection)\n */\n getSelection(): Selection | null;\n /**\n * The **`hasFocus()`** method of the Document interface returns a boolean value indicating whether the document or any element inside the document has focus.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/hasFocus)\n */\n hasFocus(): boolean;\n /**\n * The **`hasStorageAccess()`** method of the Document interface returns a Promise that resolves with a boolean value indicating whether the document has access to third-party, unpartitioned cookies.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/hasStorageAccess)\n */\n hasStorageAccess(): Promise<boolean>;\n /**\n * The Document object\'s **`importNode()`** method creates a copy of a inserted into the current document later.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/importNode)\n */\n importNode<T extends Node>(node: T, options?: boolean | ImportNodeOptions): T;\n /**\n * The **`Document.open()`** method opens a document for This does come with some side effects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/open)\n */\n open(unused1?: string, unused2?: string): Document;\n open(url: string | URL, name: string, features: string): WindowProxy | null;\n /**\n * The **`Document.queryCommandEnabled()`** method reports whether or not the specified editor command is enabled by the browser.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/queryCommandEnabled)\n */\n queryCommandEnabled(commandId: string): boolean;\n /** @deprecated */\n queryCommandIndeterm(commandId: string): boolean;\n /**\n * The **`queryCommandState()`** method will tell you if the current selection has a certain Document.execCommand() command applied.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/queryCommandState)\n */\n queryCommandState(commandId: string): boolean;\n /**\n * The **`Document.queryCommandSupported()`** method reports whether or not the specified editor command is supported by the browser.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/queryCommandSupported)\n */\n queryCommandSupported(commandId: string): boolean;\n /** @deprecated */\n queryCommandValue(commandId: string): string;\n /** @deprecated */\n releaseEvents(): void;\n /**\n * The **`requestStorageAccess()`** method of the Document interface allows content loaded in a third-party context (i.e., embedded in an iframe) to request access to third-party cookies and unpartitioned state.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/requestStorageAccess)\n */\n requestStorageAccess(): Promise<void>;\n /**\n * The **`startViewTransition()`** method of the Document interface starts a new same-document (SPA) view transition and returns a ViewTransition object to represent it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/startViewTransition)\n */\n startViewTransition(callbackOptions?: ViewTransitionUpdateCallback | StartViewTransitionOptions): ViewTransition;\n /**\n * The **`write()`** method of the Document interface writes text in one or more TrustedHTML or string parameters to a document stream opened by document.open().\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/write)\n */\n write(...text: string[]): void;\n /**\n * The **`writeln()`** method of the Document interface writes text in one or more TrustedHTML or string parameters to a document stream opened by document.open(), followed by a newline character.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln)\n */\n writeln(...text: string[]): void;\n /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */\n get textContent(): null;\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 * The **`parseHTMLUnsafe()`** static method of the Document object is used to parse an HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static)\n */\n parseHTMLUnsafe(html: string): Document;\n};\n\n/**\n * The **`DocumentFragment`** interface represents a minimal document object that has no parent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentFragment)\n */\ninterface DocumentFragment extends Node, NonElementParentNode, ParentNode {\n readonly ownerDocument: Document;\n getElementById(elementId: string): HTMLElement | null;\n /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */\n get textContent(): string;\n set textContent(value: string | 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 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/activeElement)\n */\n readonly activeElement: Element | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptedStyleSheets) */\n adoptedStyleSheets: CSSStyleSheet[];\n /**\n * Returns document\'s fullscreen element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fullscreenElement)\n */\n readonly fullscreenElement: Element | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/pictureInPictureElement) */\n readonly pictureInPictureElement: Element | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/pointerLockElement) */\n readonly pointerLockElement: Element | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/styleSheets) */\n readonly styleSheets: StyleSheetList;\n elementFromPoint(x: number, y: number): Element | null;\n elementsFromPoint(x: number, y: number): Element[];\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getAnimations) */\n getAnimations(): Animation[];\n}\n\n/**\n * The **`DocumentTimeline`** interface of the Web Animations API represents animation timelines, including the default document timeline (accessed via Document.timeline).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentTimeline)\n */\ninterface DocumentTimeline extends AnimationTimeline {\n}\n\ndeclare var DocumentTimeline: {\n prototype: DocumentTimeline;\n new(options?: DocumentTimelineOptions): DocumentTimeline;\n};\n\n/**\n * The **`DocumentType`** interface represents a Node containing a doctype.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentType)\n */\ninterface DocumentType extends Node, ChildNode {\n /**\n * The read-only **`name`** property of the DocumentType returns the type of the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentType/name)\n */\n readonly name: string;\n readonly ownerDocument: Document;\n /**\n * The read-only **`publicId`** property of the DocumentType returns a formal identifier of the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentType/publicId)\n */\n readonly publicId: string;\n /**\n * The read-only **`systemId`** property of the DocumentType returns the URL of the associated DTD.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentType/systemId)\n */\n readonly systemId: string;\n /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */\n get textContent(): null;\n}\n\ndeclare var DocumentType: {\n prototype: DocumentType;\n new(): DocumentType;\n};\n\n/**\n * The **`DragEvent`** interface is a DOM event that represents a drag and drop interaction.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DragEvent)\n */\ninterface DragEvent extends MouseEvent {\n /**\n * The **`DragEvent.dataTransfer`** read-only property holds the drag operation\'s data (as a DataTransfer object).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DragEvent/dataTransfer)\n */\n readonly dataTransfer: DataTransfer | null;\n}\n\ndeclare var DragEvent: {\n prototype: DragEvent;\n new(type: string, eventInitDict?: DragEventInit): DragEvent;\n};\n\n/**\n * The `DynamicsCompressorNode` interface provides a compression effect, which lowers the volume of the loudest parts of the signal in order to help prevent clipping and distortion that can occur when multiple sounds are played and multiplexed together at once.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DynamicsCompressorNode)\n */\ninterface DynamicsCompressorNode extends AudioNode {\n /**\n * The `attack` property of the DynamicsCompressorNode interface is a k-rate AudioParam representing the amount of time, in seconds, required to reduce the gain by 10 dB.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DynamicsCompressorNode/attack)\n */\n readonly attack: AudioParam;\n /**\n * The `knee` property of the DynamicsCompressorNode interface is a k-rate AudioParam containing a decibel value representing the range above the threshold where the curve smoothly transitions to the compressed portion.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DynamicsCompressorNode/knee)\n */\n readonly knee: AudioParam;\n /**\n * The `ratio` property of the DynamicsCompressorNode interface Is a k-rate AudioParam representing the amount of change, in dB, needed in the input for a 1 dB change in the output.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DynamicsCompressorNode/ratio)\n */\n readonly ratio: AudioParam;\n /**\n * The **`reduction`** read-only property of the DynamicsCompressorNode interface is a float representing the amount of gain reduction currently applied by the compressor to the signal.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DynamicsCompressorNode/reduction)\n */\n readonly reduction: number;\n /**\n * The `release` property of the DynamicsCompressorNode interface Is a k-rate AudioParam representing the amount of time, in seconds, required to increase the gain by 10 dB.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DynamicsCompressorNode/release)\n */\n readonly release: AudioParam;\n /**\n * The `threshold` property of the DynamicsCompressorNode interface is a k-rate AudioParam representing the decibel value above which the compression will start taking effect.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DynamicsCompressorNode/threshold)\n */\n readonly threshold: AudioParam;\n}\n\ndeclare var DynamicsCompressorNode: {\n prototype: DynamicsCompressorNode;\n new(context: BaseAudioContext, options?: DynamicsCompressorOptions): DynamicsCompressorNode;\n};\n\n/**\n * The **`EXT_blend_minmax`** extension is part of the WebGL API and extends blending capabilities by adding two new blend equations: the minimum or maximum color components of the source and destination colors.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_blend_minmax)\n */\ninterface EXT_blend_minmax {\n readonly MIN_EXT: 0x8007;\n readonly MAX_EXT: 0x8008;\n}\n\n/**\n * The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_color_buffer_float)\n */\ninterface EXT_color_buffer_float {\n}\n\n/**\n * The **`EXT_color_buffer_half_float`** extension is part of the WebGL API and adds the ability to render to 16-bit floating-point color buffers.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_color_buffer_half_float)\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\n/**\n * The WebGL API\'s `EXT_float_blend` extension allows blending and draw buffers with 32-bit floating-point components.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_float_blend)\n */\ninterface EXT_float_blend {\n}\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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_frag_depth)\n */\ninterface EXT_frag_depth {\n}\n\n/**\n * The **`EXT_sRGB`** extension is part of the WebGL API and adds sRGB support to textures and framebuffer objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_sRGB)\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\n/**\n * The **`EXT_shader_texture_lod`** extension is part of the WebGL API and adds additional texture functions to the OpenGL ES Shading Language which provide the shader writer with explicit control of LOD (Level of detail).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_shader_texture_lod)\n */\ninterface EXT_shader_texture_lod {\n}\n\n/**\n * The `EXT_texture_compression_bptc` extension is part of the WebGL API and exposes 4 BPTC compressed texture formats.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_compression_bptc)\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\n/**\n * The `EXT_texture_compression_rgtc` extension is part of the WebGL API and exposes 4 RGTC compressed texture formats.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_compression_rgtc)\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/**\n * The **`EXT_texture_filter_anisotropic`** extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_filter_anisotropic)\n */\ninterface EXT_texture_filter_anisotropic {\n readonly TEXTURE_MAX_ANISOTROPY_EXT: 0x84FE;\n readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF;\n}\n\n/**\n * The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_norm16)\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/**\n * **`Element`** is the most general base class from which all element objects (i.e., objects that represent elements) in a Document inherit.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element)\n */\ninterface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTypeChildNode, ParentNode, Slottable {\n /**\n * The **`Element.attributes`** property returns a live collection of all attribute nodes registered to the specified node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/attributes)\n */\n readonly attributes: NamedNodeMap;\n /**\n * The **`Element.classList`** is a read-only property that returns a live DOMTokenList collection of the `class` attributes of the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/classList)\n */\n get classList(): DOMTokenList;\n set classList(value: string);\n /**\n * The **`className`** property of the of the specified element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/className)\n */\n className: string;\n /**\n * The **`clientHeight`** read-only property of the Element interface is zero for elements with no CSS or inline layout boxes; otherwise, it\'s the inner height of an element in pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/clientHeight)\n */\n readonly clientHeight: number;\n /**\n * The **`clientLeft`** read-only property of the Element interface returns the width of the left border of an element in pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/clientLeft)\n */\n readonly clientLeft: number;\n /**\n * The **`clientTop`** read-only property of the Element interface returns the width of the top border of an element in pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/clientTop)\n */\n readonly clientTop: number;\n /**\n * The **`clientWidth`** read-only property of the Element interface is zero for inline elements and elements with no CSS; otherwise, it\'s the inner width of an element in pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/clientWidth)\n */\n readonly clientWidth: number;\n /**\n * The **`currentCSSZoom`** read-only property of the Element interface provides the \'effective\' CSS `zoom` of an element, taking into account the zoom applied to the element and all its parent elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom)\n */\n readonly currentCSSZoom: number;\n /**\n * The **`id`** property of the Element interface represents the element\'s identifier, reflecting the **`id`** global attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/id)\n */\n id: string;\n /**\n * The **`innerHTML`** property of the Element interface gets or sets the HTML or XML markup contained within the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML)\n */\n innerHTML: string;\n /**\n * The **`Element.localName`** read-only property returns the local part of the qualified name of an element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/localName)\n */\n readonly localName: string;\n /**\n * The **`Element.namespaceURI`** read-only property returns the namespace URI of the element, or `null` if the element is not in a namespace.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/namespaceURI)\n */\n readonly namespaceURI: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/fullscreenchange_event) */\n onfullscreenchange: ((this: Element, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/fullscreenerror_event) */\n onfullscreenerror: ((this: Element, ev: Event) => any) | null;\n /**\n * The **`outerHTML`** attribute of the Element DOM interface gets the serialized HTML fragment describing the element including its descendants.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/outerHTML)\n */\n outerHTML: string;\n readonly ownerDocument: Document;\n /**\n * The **`part`** property of the Element interface represents the part identifier(s) of the element (i.e., set using the `part` attribute), returned as a DOMTokenList.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/part)\n */\n get part(): DOMTokenList;\n set part(value: string);\n /**\n * The **`Element.prefix`** read-only property returns the namespace prefix of the specified element, or `null` if no prefix is specified.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/prefix)\n */\n readonly prefix: string | null;\n /**\n * The **`scrollHeight`** read-only property of the Element interface is a measurement of the height of an element\'s content, including content not visible on the screen due to overflow.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollHeight)\n */\n readonly scrollHeight: number;\n /**\n * The **`scrollLeft`** property of the Element interface gets or sets the number of pixels by which an element\'s content is scrolled from its left edge.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollLeft)\n */\n scrollLeft: number;\n /**\n * The **`scrollTop`** property of the Element interface gets or sets the number of pixels by which an element\'s content is scrolled from its top edge.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollTop)\n */\n scrollTop: number;\n /**\n * The **`scrollWidth`** read-only property of the Element interface is a measurement of the width of an element\'s content, including content not visible on the screen due to overflow.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollWidth)\n */\n readonly scrollWidth: number;\n /**\n * The `Element.shadowRoot` read-only property represents the shadow root hosted by the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/shadowRoot)\n */\n readonly shadowRoot: ShadowRoot | null;\n /**\n * The **`slot`** property of the Element interface returns the name of the shadow DOM slot the element is inserted in.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/slot)\n */\n slot: string;\n /**\n * The **`tagName`** read-only property of the Element interface returns the tag name of the element on which it\'s called.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/tagName)\n */\n readonly tagName: string;\n /**\n * The **`Element.attachShadow()`** method attaches a shadow DOM tree to the specified element and returns a reference to its ShadowRoot.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/attachShadow)\n */\n attachShadow(init: ShadowRootInit): ShadowRoot;\n /**\n * The **`checkVisibility()`** method of the Element interface checks whether the element is visible.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/checkVisibility)\n */\n checkVisibility(options?: CheckVisibilityOptions): boolean;\n /**\n * The **`closest()`** method of the Element interface traverses the element and its parents (heading toward the document root) until it finds a node that matches the specified CSS selector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/closest)\n */\n closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;\n closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;\n closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;\n closest<E extends Element = Element>(selectors: string): E | null;\n /**\n * The **`computedStyleMap()`** method of the Element interface returns a StylePropertyMapReadOnly interface which provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/computedStyleMap)\n */\n computedStyleMap(): StylePropertyMapReadOnly;\n /**\n * The **`getAttribute()`** method of the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttribute)\n */\n getAttribute(qualifiedName: string): string | null;\n /**\n * The **`getAttributeNS()`** method of the Element interface returns the string value of the attribute with the specified namespace and name.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttributeNS)\n */\n getAttributeNS(namespace: string | null, localName: string): string | null;\n /**\n * The **`getAttributeNames()`** method of the array.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttributeNames)\n */\n getAttributeNames(): string[];\n /**\n * Returns the specified attribute of the specified element, as an Attr node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttributeNode)\n */\n getAttributeNode(qualifiedName: string): Attr | null;\n /**\n * The **`getAttributeNodeNS()`** method of the Element interface returns the namespaced Attr node of an element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getAttributeNodeNS)\n */\n getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;\n /**\n * The **`Element.getBoundingClientRect()`** method returns a position relative to the viewport.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getBoundingClientRect)\n */\n getBoundingClientRect(): DOMRect;\n /**\n * The **`getClientRects()`** method of the Element interface returns a collection of DOMRect objects that indicate the bounding rectangles for each CSS border box in a client.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getClientRects)\n */\n getClientRects(): DOMRectList;\n /**\n * The Element method **`getElementsByClassName()`** returns a live specified class name or names.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getElementsByClassName)\n */\n getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;\n /**\n * The **`Element.getElementsByTagName()`** method returns a live All descendants of the specified element are searched, but not the element itself.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getElementsByTagName)\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 * The **`Element.getElementsByTagNameNS()`** method returns a live HTMLCollection of elements with the given tag name belonging to the given namespace.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getElementsByTagNameNS)\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 /**\n * The **`getHTML()`** method of the Element interface is used to serialize an element\'s DOM to an HTML string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/getHTML)\n */\n getHTML(options?: GetHTMLOptions): string;\n /**\n * The **`Element.hasAttribute()`** method returns a **Boolean** value indicating whether the specified element has the specified attribute or not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/hasAttribute)\n */\n hasAttribute(qualifiedName: string): boolean;\n /**\n * The **`hasAttributeNS()`** method of the Element interface returns a boolean value indicating whether the current element has the specified attribute with the specified namespace.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/hasAttributeNS)\n */\n hasAttributeNS(namespace: string | null, localName: string): boolean;\n /**\n * The **`hasAttributes()`** method of the Element interface returns a boolean value indicating whether the current element has any attributes or not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/hasAttributes)\n */\n hasAttributes(): boolean;\n /**\n * The **`hasPointerCapture()`** method of the pointer capture for the pointer identified by the given pointer ID.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/hasPointerCapture)\n */\n hasPointerCapture(pointerId: number): boolean;\n /**\n * The **`insertAdjacentElement()`** method of the relative to the element it is invoked upon.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentElement)\n */\n insertAdjacentElement(where: InsertPosition, element: Element): Element | null;\n /**\n * The **`insertAdjacentHTML()`** method of the the resulting nodes into the DOM tree at a specified position.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentHTML)\n */\n insertAdjacentHTML(position: InsertPosition, string: string): void;\n /**\n * The **`insertAdjacentText()`** method of the Element interface, given a relative position and a string, inserts a new text node at the given position relative to the element it is called from.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentText)\n */\n insertAdjacentText(where: InsertPosition, data: string): void;\n /**\n * The **`matches()`** method of the Element interface tests whether the element would be selected by the specified CSS selector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/matches)\n */\n matches(selectors: string): boolean;\n /**\n * The **`releasePointerCapture()`** method of the previously set for a specific (PointerEvent) _pointer_.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/releasePointerCapture)\n */\n releasePointerCapture(pointerId: number): void;\n /**\n * The Element method **`removeAttribute()`** removes the attribute with the specified name from the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/removeAttribute)\n */\n removeAttribute(qualifiedName: string): void;\n /**\n * The **`removeAttributeNS()`** method of the If you are working with HTML and you don\'t need to specify the requested attribute as being part of a specific namespace, use the Element.removeAttribute() method instead.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/removeAttributeNS)\n */\n removeAttributeNS(namespace: string | null, localName: string): void;\n /**\n * The **`removeAttributeNode()`** method of the Element interface removes the specified Attr node from the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/removeAttributeNode)\n */\n removeAttributeNode(attr: Attr): Attr;\n /**\n * The **`Element.requestFullscreen()`** method issues an asynchronous request to make the element be displayed in fullscreen mode.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/requestFullscreen)\n */\n requestFullscreen(options?: FullscreenOptions): Promise<void>;\n /**\n * The **`requestPointerLock()`** method of the Element interface lets you asynchronously ask for the pointer to be locked on the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/requestPointerLock)\n */\n requestPointerLock(options?: PointerLockOptions): Promise<void>;\n /**\n * The **`scroll()`** method of the Element interface scrolls the element to a particular set of coordinates inside a given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scroll)\n */\n scroll(options?: ScrollToOptions): void;\n scroll(x: number, y: number): void;\n /**\n * The **`scrollBy()`** method of the Element interface scrolls an element by the given amount.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollBy)\n */\n scrollBy(options?: ScrollToOptions): void;\n scrollBy(x: number, y: number): void;\n /**\n * The Element interface\'s **`scrollIntoView()`** method scrolls the element\'s ancestor containers such that the element on which `scrollIntoView()` is called is visible to the user.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollIntoView)\n */\n scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;\n /**\n * The **`scrollTo()`** method of the Element interface scrolls to a particular set of coordinates inside a given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/scrollTo)\n */\n scrollTo(options?: ScrollToOptions): void;\n scrollTo(x: number, y: number): void;\n /**\n * The **`setAttribute()`** method of the Element interface sets the value of an attribute on the specified element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttribute)\n */\n setAttribute(qualifiedName: string, value: string): void;\n /**\n * `setAttributeNS` adds a new attribute or changes the value of an attribute with the given namespace and name.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNS)\n */\n setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;\n /**\n * The **`setAttributeNode()`** method of the Element interface adds a new Attr node to the specified element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNode)\n */\n setAttributeNode(attr: Attr): Attr | null;\n /**\n * The **`setAttributeNodeNS()`** method of the Element interface adds a new namespaced Attr node to an element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS)\n */\n setAttributeNodeNS(attr: Attr): Attr | null;\n /**\n * The **`setHTMLUnsafe()`** method of the Element interface is used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and those that don\'t belong in the context, and then using it to replace the element\'s subtree in the DOM.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe)\n */\n setHTMLUnsafe(html: string): void;\n /**\n * The **`setPointerCapture()`** method of the _capture target_ of future pointer events.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture)\n */\n setPointerCapture(pointerId: number): void;\n /**\n * The **`toggleAttribute()`** method of the present and adding it if it is not present) on the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/toggleAttribute)\n */\n toggleAttribute(qualifiedName: string, force?: boolean): boolean;\n /**\n * @deprecated This is a legacy alias of `matches`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/matches)\n */\n webkitMatchesSelector(selectors: string): boolean;\n /** [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent) */\n get textContent(): string;\n set textContent(value: string | null);\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attributeStyleMap) */\n readonly attributeStyleMap: StylePropertyMap;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/style) */\n get style(): CSSStyleDeclaration;\n set style(cssText: string);\n}\n\ninterface ElementContentEditable {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/contentEditable) */\n contentEditable: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/enterKeyHint) */\n enterKeyHint: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/inputMode) */\n inputMode: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/isContentEditable) */\n readonly isContentEditable: boolean;\n}\n\n/**\n * The **`ElementInternals`** interface of the Document Object Model gives web developers a way to allow custom elements to fully participate in HTML forms.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals)\n */\ninterface ElementInternals extends ARIAMixin {\n /**\n * The **`form`** read-only property of the ElementInternals interface returns the HTMLFormElement associated with this element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/form)\n */\n readonly form: HTMLFormElement | null;\n /**\n * The **`labels`** read-only property of the ElementInternals interface returns the labels associated with the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/labels)\n */\n readonly labels: NodeList;\n /**\n * The **`shadowRoot`** read-only property of the ElementInternals interface returns the ShadowRoot for this element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/shadowRoot)\n */\n readonly shadowRoot: ShadowRoot | null;\n /**\n * The **`states`** read-only property of the ElementInternals interface returns a CustomStateSet representing the possible states of the custom element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/states)\n */\n readonly states: CustomStateSet;\n /**\n * The **`validationMessage`** read-only property of the ElementInternals interface returns the validation message for the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/validationMessage)\n */\n readonly validationMessage: string;\n /**\n * The **`validity`** read-only property of the ElementInternals interface returns a ValidityState object which represents the different validity states the element can be in, with respect to constraint validation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/validity)\n */\n readonly validity: ValidityState;\n /**\n * The **`willValidate`** read-only property of the ElementInternals interface returns `true` if the element is a submittable element that is a candidate for constraint validation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/willValidate)\n */\n readonly willValidate: boolean;\n /**\n * The **`checkValidity()`** method of the ElementInternals interface checks if the element meets any constraint validation rules applied to it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/checkValidity)\n */\n checkValidity(): boolean;\n /**\n * The **`reportValidity()`** method of the ElementInternals interface checks if the element meets any constraint validation rules applied to it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/reportValidity)\n */\n reportValidity(): boolean;\n /**\n * The **`setFormValue()`** method of the ElementInternals interface sets the element\'s submission value and state, communicating these to the user agent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/setFormValue)\n */\n setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;\n /**\n * The **`setValidity()`** method of the ElementInternals interface sets the validity of the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ElementInternals/setValidity)\n */\n setValidity(flags?: ValidityStateFlags, message?: string, anchor?: HTMLElement): void;\n}\n\ndeclare var ElementInternals: {\n prototype: ElementInternals;\n new(): ElementInternals;\n};\n\n/**\n * The **`EncodedAudioChunk`** interface of the WebCodecs API represents a chunk of encoded audio data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk)\n */\ninterface EncodedAudioChunk {\n /**\n * The **`byteLength`** read-only property of the EncodedAudioChunk interface returns the length in bytes of the encoded audio data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/byteLength)\n */\n readonly byteLength: number;\n /**\n * The **`duration`** read-only property of the EncodedAudioChunk interface returns an integer indicating the duration of the audio in microseconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/duration)\n */\n readonly duration: number | null;\n /**\n * The **`timestamp`** read-only property of the EncodedAudioChunk interface returns an integer indicating the timestamp of the audio in microseconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/timestamp)\n */\n readonly timestamp: number;\n /**\n * The **`type`** read-only property of the EncodedAudioChunk interface returns a value indicating whether the audio chunk is a key chunk, which does not relying on other frames for decoding.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/type)\n */\n readonly type: EncodedAudioChunkType;\n /**\n * The **`copyTo()`** method of the EncodedAudioChunk interface copies the encoded chunk of audio data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/copyTo)\n */\n copyTo(destination: AllowSharedBufferSource): void;\n}\n\ndeclare var EncodedAudioChunk: {\n prototype: EncodedAudioChunk;\n new(init: EncodedAudioChunkInit): EncodedAudioChunk;\n};\n\n/**\n * The **`EncodedVideoChunk`** interface of the WebCodecs API represents a chunk of encoded video data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk)\n */\ninterface EncodedVideoChunk {\n /**\n * The **`byteLength`** read-only property of the EncodedVideoChunk interface returns the length in bytes of the encoded video data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/byteLength)\n */\n readonly byteLength: number;\n /**\n * The **`duration`** read-only property of the EncodedVideoChunk interface returns an integer indicating the duration of the video in microseconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/duration)\n */\n readonly duration: number | null;\n /**\n * The **`timestamp`** read-only property of the EncodedVideoChunk interface returns an integer indicating the timestamp of the video in microseconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/timestamp)\n */\n readonly timestamp: number;\n /**\n * The **`type`** read-only property of the EncodedVideoChunk interface returns a value indicating whether the video chunk is a key chunk, which does not rely on other frames for decoding.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/type)\n */\n readonly type: EncodedVideoChunkType;\n /**\n * The **`copyTo()`** method of the EncodedVideoChunk interface copies the encoded chunk of video data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/copyTo)\n */\n copyTo(destination: AllowSharedBufferSource): void;\n}\n\ndeclare var EncodedVideoChunk: {\n prototype: EncodedVideoChunk;\n new(init: EncodedVideoChunkInit): EncodedVideoChunk;\n};\n\n/**\n * The **`ErrorEvent`** interface represents events providing information related to errors in scripts or in files.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent)\n */\ninterface ErrorEvent extends Event {\n /**\n * The **`colno`** read-only property of the ErrorEvent interface returns an integer containing the column number of the script file on which the error occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno)\n */\n readonly colno: number;\n /**\n * The **`error`** read-only property of the ErrorEvent interface returns a JavaScript value, such as an Error or DOMException, representing the error associated with this event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error)\n */\n readonly error: any;\n /**\n * The **`filename`** read-only property of the ErrorEvent interface returns a string containing the name of the script file in which the error occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename)\n */\n readonly filename: string;\n /**\n * The **`lineno`** read-only property of the ErrorEvent interface returns an integer containing the line number of the script file on which the error occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno)\n */\n readonly lineno: number;\n /**\n * The **`message`** read-only property of the ErrorEvent interface returns a string containing a human-readable error message describing the problem.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message)\n */\n readonly message: string;\n}\n\ndeclare var ErrorEvent: {\n prototype: ErrorEvent;\n new(type: string, eventInitDict?: ErrorEventInit): ErrorEvent;\n};\n\n/**\n * The **`Event`** interface represents an event which takes place on an `EventTarget`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event)\n */\ninterface Event {\n /**\n * The **`bubbles`** read-only property of the Event interface indicates whether the event bubbles up through the DOM tree or not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/bubbles)\n */\n readonly bubbles: boolean;\n /**\n * The **`cancelBubble`** property of the Event interface is deprecated.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/cancelBubble)\n */\n cancelBubble: boolean;\n /**\n * The **`cancelable`** read-only property of the Event interface indicates whether the event can be canceled, and therefore prevented as if the event never happened.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/cancelable)\n */\n readonly cancelable: boolean;\n /**\n * The read-only **`composed`** property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)\n */\n readonly composed: boolean;\n /**\n * The **`currentTarget`** read-only property of the Event interface identifies the element to which the event handler has been attached.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/currentTarget)\n */\n readonly currentTarget: EventTarget | null;\n /**\n * The **`defaultPrevented`** read-only property of the Event interface returns a boolean value indicating whether or not the call to Event.preventDefault() canceled the event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/defaultPrevented)\n */\n readonly defaultPrevented: boolean;\n /**\n * The **`eventPhase`** read-only property of the being evaluated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)\n */\n readonly eventPhase: number;\n /**\n * The **`isTrusted`** read-only property of the when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and `false` when the event was dispatched via The only exception is the `click` event, which initializes the `isTrusted` property to `false` in user agents.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)\n */\n readonly isTrusted: boolean;\n /**\n * The Event property **`returnValue`** indicates whether the default action for this event has been prevented or not.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/returnValue)\n */\n returnValue: boolean;\n /**\n * The deprecated **`Event.srcElement`** is an alias for the Event.target property.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/srcElement)\n */\n readonly srcElement: EventTarget | null;\n /**\n * The read-only **`target`** property of the dispatched.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)\n */\n readonly target: EventTarget | null;\n /**\n * The **`timeStamp`** read-only property of the Event interface returns the time (in milliseconds) at which the event was created.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/timeStamp)\n */\n readonly timeStamp: DOMHighResTimeStamp;\n /**\n * The **`type`** read-only property of the Event interface returns a string containing the event\'s type.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/type)\n */\n readonly type: string;\n /**\n * The **`composedPath()`** method of the Event interface returns the event\'s path which is an array of the objects on which listeners will be invoked.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composedPath)\n */\n composedPath(): EventTarget[];\n /**\n * The **`Event.initEvent()`** method is used to initialize the value of an event created using Document.createEvent().\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/initEvent)\n */\n initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;\n /**\n * The **`preventDefault()`** method of the Event interface tells the user agent that if the event does not get explicitly handled, its default action should not be taken as it normally would be.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)\n */\n preventDefault(): void;\n /**\n * The **`stopImmediatePropagation()`** method of the If several listeners are attached to the same element for the same event type, they are called in the order in which they were added.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)\n */\n stopImmediatePropagation(): void;\n /**\n * The **`stopPropagation()`** method of the Event interface prevents further propagation of the current event in the capturing and bubbling phases.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopPropagation)\n */\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\n/**\n * The **`EventCounts`** interface of the Performance API provides the number of events that have been dispatched for each event type.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventCounts)\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\n/**\n * The **`EventSource`** interface is web content\'s interface to server-sent events.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource)\n */\ninterface EventSource extends EventTarget {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/error_event) */\n onerror: ((this: EventSource, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/message_event) */\n onmessage: ((this: EventSource, ev: MessageEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/open_event) */\n onopen: ((this: EventSource, ev: Event) => any) | null;\n /**\n * The **`readyState`** read-only property of the connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/readyState)\n */\n readonly readyState: number;\n /**\n * The **`url`** read-only property of the URL of the source.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/url)\n */\n readonly url: string;\n /**\n * The **`withCredentials`** read-only property of the the `EventSource` object was instantiated with CORS credentials set.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/withCredentials)\n */\n readonly withCredentials: boolean;\n /**\n * The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the ```js-nolint close() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/close)\n */\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/**\n * The **`EventTarget`** interface is implemented by objects that can receive events and may have listeners for them.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget)\n */\ninterface EventTarget {\n /**\n * The **`addEventListener()`** method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)\n */\n addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;\n /**\n * The **`dispatchEvent()`** method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)\n */\n dispatchEvent(event: Event): boolean;\n /**\n * The **`removeEventListener()`** method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)\n */\n removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;\n}\n\ndeclare var EventTarget: {\n prototype: EventTarget;\n new(): EventTarget;\n};\n\n/** @deprecated */\ninterface External {\n /** @deprecated */\n AddSearchProvider(): void;\n /** @deprecated */\n IsSearchProviderInstalled(): void;\n}\n\n/** @deprecated */\ndeclare var External: {\n prototype: External;\n new(): External;\n};\n\n/**\n * The **`File`** interface provides information about files and allows JavaScript in a web page to access their content.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/File)\n */\ninterface File extends Blob {\n /**\n * The **`lastModified`** read-only property of the File interface provides the last modified date of the file as the number of milliseconds since the Unix epoch (January 1, 1970 at midnight).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/lastModified)\n */\n readonly lastModified: number;\n /**\n * The **`name`** read-only property of the File interface returns the name of the file represented by a File object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/name)\n */\n readonly name: string;\n /**\n * The **`webkitRelativePath`** read-only property of the File interface contains a string which specifies the file\'s path relative to the directory selected by the user in an input element with its `webkitdirectory` attribute set.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/webkitRelativePath)\n */\n readonly webkitRelativePath: string;\n}\n\ndeclare var File: {\n prototype: File;\n new(fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;\n};\n\n/**\n * The **`FileList`** interface represents an object of this type 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileList)\n */\ninterface FileList {\n /**\n * The **`length`** read-only property of the FileList interface returns the number of files in the `FileList`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileList/length)\n */\n readonly length: number;\n /**\n * The **`item()`** method of the FileList interface returns a File object representing the file at the specified index in the file list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileList/item)\n */\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/**\n * The **`FileReader`** interface 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader)\n */\ninterface FileReader extends EventTarget {\n /**\n * The **`error`** read-only property of the FileReader interface returns the error that occurred while reading the file.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/error)\n */\n readonly error: DOMException | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/abort_event) */\n onabort: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/error_event) */\n onerror: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/load_event) */\n onload: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/loadend_event) */\n onloadend: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/loadstart_event) */\n onloadstart: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/progress_event) */\n onprogress: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n /**\n * The **`readyState`** read-only property of the FileReader interface provides the current state of the reading operation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readyState)\n */\n readonly readyState: typeof FileReader.EMPTY | typeof FileReader.LOADING | typeof FileReader.DONE;\n /**\n * The **`result`** read-only property of the FileReader interface returns the file\'s contents.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/result)\n */\n readonly result: string | ArrayBuffer | null;\n /**\n * The **`abort()`** method of the FileReader interface aborts the read operation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/abort)\n */\n abort(): void;\n /**\n * The **`readAsArrayBuffer()`** method of the FileReader interface is used to start reading the contents of a specified Blob or File.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsArrayBuffer)\n */\n readAsArrayBuffer(blob: Blob): void;\n /**\n * The **`readAsBinaryString()`** method of the FileReader interface is used to start reading the contents of the specified Blob or File.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsBinaryString)\n */\n readAsBinaryString(blob: Blob): void;\n /**\n * The **`readAsDataURL()`** method of the FileReader interface is used to read the contents of the specified file\'s data as a base64 encoded string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsDataURL)\n */\n readAsDataURL(blob: Blob): void;\n /**\n * The **`readAsText()`** method of the FileReader interface is used to read the contents of the specified Blob or File.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsText)\n */\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/**\n * The File and Directory Entries API interface **`FileSystem`** is used to represent a file system.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystem)\n */\ninterface FileSystem {\n /**\n * The read-only **`name`** property of the string is unique among all file systems currently exposed by the File and Directory Entries API.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystem/name)\n */\n readonly name: string;\n /**\n * The read-only **`root`** property of the object representing the root directory of the file system, for use with the File and Directory Entries API.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystem/root)\n */\n readonly root: FileSystemDirectoryEntry;\n}\n\ndeclare var FileSystem: {\n prototype: FileSystem;\n new(): FileSystem;\n};\n\n/**\n * The **`FileSystemDirectoryEntry`** interface of the File and Directory Entries API represents a directory in a file system.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryEntry)\n */\ninterface FileSystemDirectoryEntry extends FileSystemEntry {\n /**\n * The FileSystemDirectoryEntry interface\'s method **`createReader()`** returns a the directory.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryEntry/createReader)\n */\n createReader(): FileSystemDirectoryReader;\n /**\n * The FileSystemDirectoryEntry interface\'s method **`getDirectory()`** returns a somewhere within the directory subtree rooted at the directory on which it\'s called.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryEntry/getDirectory)\n */\n getDirectory(path?: string | null, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void;\n /**\n * The FileSystemDirectoryEntry interface\'s method **`getFile()`** returns a within the directory subtree rooted at the directory on which it\'s called.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryEntry/getFile)\n */\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/**\n * The **`FileSystemDirectoryHandle`** interface of the File System API provides a handle to a file system directory.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle)\n */\ninterface FileSystemDirectoryHandle extends FileSystemHandle {\n readonly kind: "directory";\n /**\n * The **`getDirectoryHandle()`** method of the within the directory handle on which the method is called.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getDirectoryHandle)\n */\n getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;\n /**\n * The **`getFileHandle()`** method of the directory the method is called.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getFileHandle)\n */\n getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;\n /**\n * The **`removeEntry()`** method of the directory handle contains a file or directory called the name specified.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/removeEntry)\n */\n removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;\n /**\n * The **`resolve()`** method of the directory names from the parent handle to the specified child entry, with the name of the child entry as the last array item.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/resolve)\n */\n resolve(possibleDescendant: FileSystemHandle): Promise<string[] | null>;\n}\n\ndeclare var FileSystemDirectoryHandle: {\n prototype: FileSystemDirectoryHandle;\n new(): FileSystemDirectoryHandle;\n};\n\n/**\n * The `FileSystemDirectoryReader` interface of the File and Directory Entries API lets you access the FileSystemFileEntry-based objects (generally FileSystemFileEntry or FileSystemDirectoryEntry) representing each entry in a directory.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryReader)\n */\ninterface FileSystemDirectoryReader {\n /**\n * The FileSystemDirectoryReader interface\'s **`readEntries()`** method retrieves the directory entries within the directory being read and delivers them in an array to a provided callback function.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryReader/readEntries)\n */\n readEntries(successCallback: FileSystemEntriesCallback, errorCallback?: ErrorCallback): void;\n}\n\ndeclare var FileSystemDirectoryReader: {\n prototype: FileSystemDirectoryReader;\n new(): FileSystemDirectoryReader;\n};\n\n/**\n * The **`FileSystemEntry`** interface of the File and Directory Entries API represents a single entry in a file system.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemEntry)\n */\ninterface FileSystemEntry {\n /**\n * The read-only **`filesystem`** property of the FileSystemEntry interface contains a resides.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/filesystem)\n */\n readonly filesystem: FileSystem;\n /**\n * The read-only **`fullPath`** property of the FileSystemEntry interface returns a string specifying the full, absolute path from the file system\'s root to the file represented by the entry.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/fullPath)\n */\n readonly fullPath: string;\n /**\n * The read-only **`isDirectory`** property of the FileSystemEntry interface is `true` if the entry represents a directory (meaning it\'s a FileSystemDirectoryEntry) and `false` if it\'s not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/isDirectory)\n */\n readonly isDirectory: boolean;\n /**\n * The read-only **`isFile`** property of the FileSystemEntry interface is `true` if the entry represents a file (meaning it\'s a FileSystemFileEntry) and `false` if it\'s not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/isFile)\n */\n readonly isFile: boolean;\n /**\n * The read-only **`name`** property of the FileSystemEntry interface returns a string specifying the entry\'s name; this is the entry within its parent directory (the last component of the path as indicated by the FileSystemEntry.fullPath property).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/name)\n */\n readonly name: string;\n /**\n * The FileSystemEntry interface\'s method **`getParent()`** obtains a ```js-nolint getParent(successCallback, errorCallback) getParent(successCallback) ``` - `successCallback` - : A function which is called when the parent directory entry has been retrieved.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/getParent)\n */\n getParent(successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void;\n}\n\ndeclare var FileSystemEntry: {\n prototype: FileSystemEntry;\n new(): FileSystemEntry;\n};\n\n/**\n * The **`FileSystemFileEntry`** interface of the File and Directory Entries API represents a file in a file system.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileEntry)\n */\ninterface FileSystemFileEntry extends FileSystemEntry {\n /**\n * The FileSystemFileEntry interface\'s method **`file()`** returns a the directory entry.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileEntry/file)\n */\n file(successCallback: FileCallback, errorCallback?: ErrorCallback): void;\n}\n\ndeclare var FileSystemFileEntry: {\n prototype: FileSystemFileEntry;\n new(): FileSystemFileEntry;\n};\n\n/**\n * The **`FileSystemFileHandle`** interface of the File System API represents a handle to a file system entry.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle)\n */\ninterface FileSystemFileHandle extends FileSystemHandle {\n readonly kind: "file";\n /**\n * The **`createWritable()`** method of the FileSystemFileHandle interface creates a FileSystemWritableFileStream that can be used to write to a file.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/createWritable)\n */\n createWritable(options?: FileSystemCreateWritableOptions): Promise<FileSystemWritableFileStream>;\n /**\n * The **`getFile()`** method of the If the file on disk changes or is removed after this method is called, the returned ```js-nolint getFile() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/getFile)\n */\n getFile(): Promise<File>;\n}\n\ndeclare var FileSystemFileHandle: {\n prototype: FileSystemFileHandle;\n new(): FileSystemFileHandle;\n};\n\n/**\n * The **`FileSystemHandle`** interface of the File System API is an object which represents a file or directory entry.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle)\n */\ninterface FileSystemHandle {\n /**\n * The **`kind`** read-only property of the `\'file\'` if the associated entry is a file or `\'directory\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/kind)\n */\n readonly kind: FileSystemHandleKind;\n /**\n * The **`name`** read-only property of the handle.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/name)\n */\n readonly name: string;\n /**\n * The **`isSameEntry()`** method of the ```js-nolint isSameEntry(fileSystemHandle) ``` - FileSystemHandle - : The `FileSystemHandle` to match against the handle on which the method is invoked.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/isSameEntry)\n */\n isSameEntry(other: FileSystemHandle): Promise<boolean>;\n}\n\ndeclare var FileSystemHandle: {\n prototype: FileSystemHandle;\n new(): FileSystemHandle;\n};\n\n/**\n * The **`FileSystemWritableFileStream`** interface of the File System API is a WritableStream object with additional convenience methods, which operates on a single file on disk.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemWritableFileStream)\n */\ninterface FileSystemWritableFileStream extends WritableStream {\n /**\n * The **`seek()`** method of the FileSystemWritableFileStream interface updates the current file cursor offset to the position (in bytes) specified when calling the method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemWritableFileStream/seek)\n */\n seek(position: number): Promise<void>;\n /**\n * The **`truncate()`** method of the FileSystemWritableFileStream interface resizes the file associated with the stream to the specified size in bytes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemWritableFileStream/truncate)\n */\n truncate(size: number): Promise<void>;\n /**\n * The **`write()`** method of the FileSystemWritableFileStream interface writes content into the file the method is called on, at the current file cursor offset.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemWritableFileStream/write)\n */\n write(data: FileSystemWriteChunkType): Promise<void>;\n}\n\ndeclare var FileSystemWritableFileStream: {\n prototype: FileSystemWritableFileStream;\n new(): FileSystemWritableFileStream;\n};\n\n/**\n * The **`FocusEvent`** interface represents focus-related events, including Element/focus_event, Element/blur_event, Element/focusin_event, and Element/focusout_event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FocusEvent)\n */\ninterface FocusEvent extends UIEvent {\n /**\n * The **`relatedTarget`** read-only property of the FocusEvent interface is the secondary target, depending on the type of event: <table class=\'no-markdown\'> <thead> <tr> <th scope=\'col\'>Event name</th> <th scope=\'col\'><code>target</code></th> <th scope=\'col\'><code>relatedTarget</code></th> </tr> </thead> <tbody> <tr> <td>Element/blur_event</td> <td>The EventTarget losing focus</td> <td>The EventTarget receiving focus (if any).</td> </tr> <tr> <td>Element/focus_event</td> <td>The EventTarget receiving focus</td> <td>The EventTarget losing focus (if any)</td> </tr> <tr> <td>Element/focusin_event</td> <td>The EventTarget receiving focus</td> <td>The EventTarget losing focus (if any)</td> </tr> <tr> <td>Element/focusout_event</td> <td>The EventTarget losing focus</td> <td>The EventTarget receiving focus (if any)</td> </tr> </tbody> </table> Note that many elements can\'t have focus, which is a common reason for `relatedTarget` to be `null`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FocusEvent/relatedTarget)\n */\n readonly relatedTarget: EventTarget | null;\n}\n\ndeclare var FocusEvent: {\n prototype: FocusEvent;\n new(type: string, eventInitDict?: FocusEventInit): FocusEvent;\n};\n\n/**\n * The **`FontFace`** interface of the CSS Font Loading API represents a single usable font face.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace)\n */\ninterface FontFace {\n /**\n * The **`ascentOverride`** property of the FontFace interface returns and sets the ascent metric for the font, the height above the baseline that CSS uses to lay out line boxes in an inline formatting context.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/ascentOverride)\n */\n ascentOverride: string;\n /**\n * The **`descentOverride`** property of the FontFace interface returns and sets the value of the @font-face/descent-override descriptor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/descentOverride)\n */\n descentOverride: string;\n /**\n * The **`display`** property of the FontFace interface determines how a font face is displayed based on whether and when it is downloaded and ready to use.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/display)\n */\n display: FontDisplay;\n /**\n * The **`FontFace.family`** property allows the author to get or set the font family of a FontFace object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/family)\n */\n family: string;\n /**\n * The **`featureSettings`** property of the FontFace interface retrieves or sets infrequently used font features that are not available from a font\'s variant properties.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/featureSettings)\n */\n featureSettings: string;\n /**\n * The **`lineGapOverride`** property of the FontFace interface returns and sets the value of the @font-face/line-gap-override descriptor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/lineGapOverride)\n */\n lineGapOverride: string;\n /**\n * The **`loaded`** read-only property of the FontFace interface returns a Promise that resolves with the current `FontFace` object when the font specified in the object\'s constructor is done loading or rejects with a `SyntaxError`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/loaded)\n */\n readonly loaded: Promise<FontFace>;\n /**\n * The **`status`** read-only property of the FontFace interface returns an enumerated value indicating the status of the font, one of `\'unloaded\'`, `\'loading\'`, `\'loaded\'`, or `\'error\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/status)\n */\n readonly status: FontFaceLoadStatus;\n /**\n * The **`stretch`** property of the FontFace interface retrieves or sets how the font stretches.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/stretch)\n */\n stretch: string;\n /**\n * The **`style`** property of the FontFace interface retrieves or sets the font\'s style.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/style)\n */\n style: string;\n /**\n * The **`unicodeRange`** property of the FontFace interface retrieves or sets the range of unicode code points encompassing the font.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange)\n */\n unicodeRange: string;\n /**\n * The **`weight`** property of the FontFace interface retrieves or sets the weight of the font.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/weight)\n */\n weight: string;\n /**\n * The **`load()`** method of the FontFace interface requests and loads a font whose `source` was specified as a URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/load)\n */\n load(): Promise<FontFace>;\n}\n\ndeclare var FontFace: {\n prototype: FontFace;\n new(family: string, source: string | BufferSource, descriptors?: FontFaceDescriptors): FontFace;\n};\n\ninterface FontFaceSetEventMap {\n "loading": FontFaceSetLoadEvent;\n "loadingdone": FontFaceSetLoadEvent;\n "loadingerror": FontFaceSetLoadEvent;\n}\n\n/**\n * The **`FontFaceSet`** interface of the CSS Font Loading API manages the loading of font-faces and querying of their download status.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet)\n */\ninterface FontFaceSet extends EventTarget {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loading_event) */\n onloading: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loadingdone_event) */\n onloadingdone: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loadingerror_event) */\n onloadingerror: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;\n /**\n * The `ready` read-only property of the FontFaceSet interface returns a Promise that resolves to the given FontFaceSet.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/ready)\n */\n readonly ready: Promise<FontFaceSet>;\n /**\n * The **`status`** read-only property of the FontFaceSet interface returns the loading state of the fonts in the set.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/status)\n */\n readonly status: FontFaceSetLoadStatus;\n /**\n * The `check()` method of the FontFaceSet returns `true` if you can render some text using the given font specification without attempting to use any fonts in this `FontFaceSet` that are not yet fully loaded.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/check)\n */\n check(font: string, text?: string): boolean;\n /**\n * The `load()` method of the FontFaceSet forces all the fonts given in parameters to be loaded.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/load)\n */\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(): FontFaceSet;\n};\n\n/**\n * The **`FontFaceSetLoadEvent`** interface of the CSS Font Loading API represents events fired at a FontFaceSet after it starts loading font faces.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent)\n */\ninterface FontFaceSetLoadEvent extends Event {\n /**\n * The **`fontfaces`** read-only property of the An array of FontFace instance.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent/fontfaces)\n */\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fonts) */\n readonly fonts: FontFaceSet;\n}\n\n/**\n * The **`FormData`** interface provides a way to construct a set of key/value pairs representing form fields and their values, which can be sent using the Window/fetch, XMLHttpRequest.send() or navigator.sendBeacon() methods.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData)\n */\ninterface FormData {\n /**\n * The **`append()`** method of the FormData interface appends a new value onto an existing key inside a `FormData` object, or adds the key if it does not already exist.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/append)\n */\n append(name: string, value: string | Blob): void;\n append(name: string, value: string): void;\n append(name: string, blobValue: Blob, filename?: string): void;\n /**\n * The **`delete()`** method of the FormData interface deletes a key and its value(s) from a `FormData` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/delete)\n */\n delete(name: string): void;\n /**\n * The **`get()`** method of the FormData interface returns the first value associated with a given key from within a `FormData` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/get)\n */\n get(name: string): FormDataEntryValue | null;\n /**\n * The **`getAll()`** method of the FormData interface returns all the values associated with a given key from within a `FormData` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/getAll)\n */\n getAll(name: string): FormDataEntryValue[];\n /**\n * The **`has()`** method of the FormData interface returns whether a `FormData` object contains a certain key.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/has)\n */\n has(name: string): boolean;\n /**\n * The **`set()`** method of the FormData interface sets a new value for an existing key inside a `FormData` object, or adds the key/value if it does not already exist.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/set)\n */\n set(name: string, value: string | Blob): void;\n set(name: string, value: string): void;\n set(name: string, blobValue: 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, submitter?: HTMLElement | null): FormData;\n};\n\n/**\n * The **`FormDataEvent`** interface represents a `formdata` event — such an event is fired on an HTMLFormElement object after the entry list representing the form\'s data is constructed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormDataEvent)\n */\ninterface FormDataEvent extends Event {\n /**\n * The `formData` read-only property of the FormDataEvent interface contains the FormData object representing the data contained in the form when the event was fired.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormDataEvent/formData)\n */\n readonly formData: FormData;\n}\n\ndeclare var FormDataEvent: {\n prototype: FormDataEvent;\n new(type: string, eventInitDict: FormDataEventInit): FormDataEvent;\n};\n\n/**\n * The **`FragmentDirective`** interface is an object exposed to allow code to check whether or not a browser supports text fragments.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FragmentDirective)\n */\ninterface FragmentDirective {\n}\n\ndeclare var FragmentDirective: {\n prototype: FragmentDirective;\n new(): FragmentDirective;\n};\n\n/**\n * The **`GPUError`** interface of the WebGPU API is the base interface for errors surfaced by GPUDevice.popErrorScope and the GPUDevice.uncapturederror_event event.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError)\n */\ninterface GPUError {\n /**\n * The **`message`** read-only property of the A string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError/message)\n */\n readonly message: string;\n}\n\n/**\n * The `GainNode` interface represents a change in volume.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GainNode)\n */\ninterface GainNode extends AudioNode {\n /**\n * The `gain` property of the GainNode interface is an a-rate AudioParam representing the amount of gain to apply.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GainNode/gain)\n */\n readonly gain: AudioParam;\n}\n\ndeclare var GainNode: {\n prototype: GainNode;\n new(context: BaseAudioContext, options?: GainOptions): GainNode;\n};\n\n/**\n * The **`Gamepad`** interface of the Gamepad API defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad)\n */\ninterface Gamepad {\n /**\n * The **`Gamepad.axes`** property of the Gamepad interface returns an array representing the controls with axes present on the device (e.g., analog thumb sticks).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/axes)\n */\n readonly axes: ReadonlyArray<number>;\n /**\n * The **`buttons`** property of the Gamepad interface returns an array of GamepadButton objects representing the buttons present on the device.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/buttons)\n */\n readonly buttons: ReadonlyArray<GamepadButton>;\n /**\n * The **`Gamepad.connected`** property of the still connected to the system.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/connected)\n */\n readonly connected: boolean;\n /**\n * The **`Gamepad.id`** property of the Gamepad interface returns a string containing some information about the controller.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/id)\n */\n readonly id: string;\n /**\n * The **`Gamepad.index`** property of the Gamepad interface returns an integer that is auto-incremented to be unique for each device currently connected to the system.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/index)\n */\n readonly index: number;\n /**\n * The **`Gamepad.mapping`** property of the remapped the controls on the device to a known layout.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/mapping)\n */\n readonly mapping: GamepadMappingType;\n /**\n * The **`Gamepad.timestamp`** property of the representing the last time the data for this gamepad was updated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/timestamp)\n */\n readonly timestamp: DOMHighResTimeStamp;\n /**\n * The **`vibrationActuator`** read-only property of the Gamepad interface returns a GamepadHapticActuator object, which represents haptic feedback hardware available on the controller.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/vibrationActuator)\n */\n readonly vibrationActuator: GamepadHapticActuator;\n}\n\ndeclare var Gamepad: {\n prototype: Gamepad;\n new(): Gamepad;\n};\n\n/**\n * The **`GamepadButton`** interface defines 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 *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadButton)\n */\ninterface GamepadButton {\n /**\n * The **`GamepadButton.pressed`** property of the the button is currently pressed (`true`) or unpressed (`false`).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadButton/pressed)\n */\n readonly pressed: boolean;\n /**\n * The **`touched`** property of the a button capable of detecting touch is currently touched (`true`) or not touched (`false`).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadButton/touched)\n */\n readonly touched: boolean;\n /**\n * The **`GamepadButton.value`** property of the current state of analog buttons on many modern gamepads, such as the triggers.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadButton/value)\n */\n readonly value: number;\n}\n\ndeclare var GamepadButton: {\n prototype: GamepadButton;\n new(): GamepadButton;\n};\n\n/**\n * The GamepadEvent interface of the Gamepad API contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected_event and Window.gamepaddisconnected_event are fired in response to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadEvent)\n */\ninterface GamepadEvent extends Event {\n /**\n * The **`GamepadEvent.gamepad`** property of the **GamepadEvent interface** returns a Gamepad object, providing access to the associated gamepad data for fired A Gamepad object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadEvent/gamepad)\n */\n readonly gamepad: Gamepad;\n}\n\ndeclare var GamepadEvent: {\n prototype: GamepadEvent;\n new(type: string, eventInitDict: GamepadEventInit): GamepadEvent;\n};\n\n/**\n * The **`GamepadHapticActuator`** interface of the Gamepad API represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator)\n */\ninterface GamepadHapticActuator {\n /**\n * The **`playEffect()`** method of the GamepadHapticActuator interface causes the hardware to play a specific vibration effect.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/playEffect)\n */\n playEffect(type: GamepadHapticEffectType, params?: GamepadEffectParameters): Promise<GamepadHapticsResult>;\n /**\n * The **`reset()`** method of the GamepadHapticActuator interface stops the hardware from playing an active vibration effect.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/reset)\n */\n reset(): Promise<GamepadHapticsResult>;\n}\n\ndeclare var GamepadHapticActuator: {\n prototype: GamepadHapticActuator;\n new(): GamepadHapticActuator;\n};\n\ninterface GenericTransformStream {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */\n readonly readable: ReadableStream;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/writable) */\n readonly writable: WritableStream;\n}\n\n/**\n * The **`Geolocation`** interface represents an object able to obtain the position of the device programmatically.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Geolocation)\n */\ninterface Geolocation {\n /**\n * The **`clearWatch()`** method of the Geolocation interface is used to unregister location/error monitoring handlers previously installed using Geolocation.watchPosition().\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Geolocation/clearWatch)\n */\n clearWatch(watchId: number): void;\n /**\n * The **`getCurrentPosition()`** method of the Geolocation interface is used to get the current position of the device.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Geolocation/getCurrentPosition)\n */\n getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback | null, options?: PositionOptions): void;\n /**\n * The **`watchPosition()`** method of the Geolocation interface is used to register a handler function that will be called automatically each time the position of the device changes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Geolocation/watchPosition)\n */\n watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback | null, options?: PositionOptions): number;\n}\n\ndeclare var Geolocation: {\n prototype: Geolocation;\n new(): Geolocation;\n};\n\n/**\n * The **`GeolocationCoordinates`** interface represents the position and altitude of the device on Earth, as well as the accuracy with which these properties are calculated.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates)\n */\ninterface GeolocationCoordinates {\n /**\n * The **`accuracy`** read-only property of the GeolocationCoordinates interface is a strictly positive `double` representing the accuracy, with a 95% confidence level, of the GeolocationCoordinates.latitude and GeolocationCoordinates.longitude properties expressed in meters.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/accuracy)\n */\n readonly accuracy: number;\n /**\n * The **`altitude`** read-only property of the GeolocationCoordinates interface is a `double` representing the altitude of the position in meters above the WGS84 ellipsoid (which defines the nominal sea level surface).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/altitude)\n */\n readonly altitude: number | null;\n /**\n * The **`altitudeAccuracy`** read-only property of the GeolocationCoordinates interface is a strictly positive `double` representing the accuracy, with a 95% confidence level, of the `altitude` expressed in meters.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/altitudeAccuracy)\n */\n readonly altitudeAccuracy: number | null;\n /**\n * The **`heading`** read-only property of the GeolocationCoordinates interface is a `double` representing the direction in which the device is traveling.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/heading)\n */\n readonly heading: number | null;\n /**\n * The **`latitude`** read-only property of the GeolocationCoordinates interface is a `double` representing the latitude of the position in decimal degrees.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/latitude)\n */\n readonly latitude: number;\n /**\n * The **`longitude`** read-only property of the GeolocationCoordinates interface is a number which represents the longitude of a geographical position, specified in decimal degrees.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/longitude)\n */\n readonly longitude: number;\n /**\n * The **`speed`** read-only property of the GeolocationCoordinates interface is a `double` representing the velocity of the device in meters per second.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/speed)\n */\n readonly speed: number | null;\n /**\n * The **`toJSON()`** method of the GeolocationCoordinates interface is a Serialization; it returns a JSON representation of the GeolocationCoordinates object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/toJSON)\n */\n toJSON(): any;\n}\n\ndeclare var GeolocationCoordinates: {\n prototype: GeolocationCoordinates;\n new(): GeolocationCoordinates;\n};\n\n/**\n * The **`GeolocationPosition`** interface represents the position of the concerned device at a given time.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition)\n */\ninterface GeolocationPosition {\n /**\n * The **`coords`** read-only property of the GeolocationPosition interface returns a GeolocationCoordinates object representing a geographic position.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/coords)\n */\n readonly coords: GeolocationCoordinates;\n /**\n * The **`timestamp`** read-only property of the GeolocationPosition interface represents the date and time that the position was acquired by the device.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/timestamp)\n */\n readonly timestamp: EpochTimeStamp;\n /**\n * The **`toJSON()`** method of the GeolocationPosition interface is a Serialization; it returns a JSON representation of the GeolocationPosition object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/toJSON)\n */\n toJSON(): any;\n}\n\ndeclare var GeolocationPosition: {\n prototype: GeolocationPosition;\n new(): GeolocationPosition;\n};\n\n/**\n * The **`GeolocationPositionError`** interface represents the reason of an error occurring when using the geolocating device.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPositionError)\n */\ninterface GeolocationPositionError {\n /**\n * The **`code`** read-only property of the GeolocationPositionError interface is an `unsigned short` representing the error code.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPositionError/code)\n */\n readonly code: number;\n /**\n * The **`message`** read-only property of the GeolocationPositionError interface returns a human-readable string describing the details of the error.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GeolocationPositionError/message)\n */\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": PointerEvent;\n "beforeinput": InputEvent;\n "beforematch": Event;\n "beforetoggle": ToggleEvent;\n "blur": FocusEvent;\n "cancel": Event;\n "canplay": Event;\n "canplaythrough": Event;\n "change": Event;\n "click": PointerEvent;\n "close": Event;\n "compositionend": CompositionEvent;\n "compositionstart": CompositionEvent;\n "compositionupdate": CompositionEvent;\n "contextlost": Event;\n "contextmenu": PointerEvent;\n "contextrestored": Event;\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 "pointerrawupdate": Event;\n "pointerup": PointerEvent;\n "progress": ProgressEvent;\n "ratechange": Event;\n "reset": Event;\n "resize": UIEvent;\n "scroll": Event;\n "scrollend": 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": ToggleEvent;\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/abort_event) */\n onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationcancel_event) */\n onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationend_event) */\n onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationiteration_event) */\n onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationstart_event) */\n onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/auxclick_event) */\n onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */\n onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event) */\n onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */\n onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event) */\n onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) */\n oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canplay_event) */\n oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canplaythrough_event) */\n oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/change_event) */\n onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event) */\n onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */\n onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */\n oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */\n oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) */\n oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) */\n oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/cuechange_event) */\n oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/cut_event) */\n oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/dblclick_event) */\n ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/drag_event) */\n ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragend_event) */\n ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragenter_event) */\n ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragleave_event) */\n ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragover_event) */\n ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragstart_event) */\n ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/drop_event) */\n ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/durationchange_event) */\n ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/emptied_event) */\n onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ended_event) */\n onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/error_event) */\n onerror: OnErrorEventHandler;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/focus_event) */\n onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/formdata_event) */\n onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/gotpointercapture_event) */\n ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/input_event) */\n oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/invalid_event) */\n oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/keydown_event) */\n onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/keypress_event)\n */\n onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/keyup_event) */\n onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/load_event) */\n onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadeddata_event) */\n onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadedmetadata_event) */\n onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadstart_event) */\n onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */\n onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mousedown_event) */\n onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseenter_event) */\n onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseleave_event) */\n onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mousemove_event) */\n onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseout_event) */\n onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseover_event) */\n onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseup_event) */\n onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/paste_event) */\n onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/pause_event) */\n onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/play_event) */\n onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playing_event) */\n onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointercancel_event) */\n onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerdown_event) */\n onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerenter_event) */\n onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerleave_event) */\n onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointermove_event) */\n onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerout_event) */\n onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerover_event) */\n onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /**\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerrawupdate_event)\n */\n onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerup_event) */\n onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event) */\n onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ratechange_event) */\n onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reset_event) */\n onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/resize_event) */\n onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/scroll_event) */\n onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/scrollend_event) */\n onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/securitypolicyviolation_event) */\n onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeked_event) */\n onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking_event) */\n onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/select_event) */\n onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/selectionchange_event) */\n onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/selectstart_event) */\n onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSlotElement/slotchange_event) */\n onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/stalled_event) */\n onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/submit_event) */\n onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/suspend_event) */\n onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/timeupdate_event) */\n ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/toggle_event) */\n ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchcancel_event) */\n ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchend_event) */\n ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchmove_event) */\n ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchstart_event) */\n ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitioncancel_event) */\n ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionend_event) */\n ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionrun_event) */\n ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionstart_event) */\n ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volumechange_event) */\n onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waiting_event) */\n onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * @deprecated This is a legacy alias of `onanimationend`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationend_event)\n */\n onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * @deprecated This is a legacy alias of `onanimationiteration`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationiteration_event)\n */\n onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * @deprecated This is a legacy alias of `onanimationstart`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationstart_event)\n */\n onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /**\n * @deprecated This is a legacy alias of `ontransitionend`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionend_event)\n */\n onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/wheel_event) */\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\n/**\n * The **`HTMLAllCollection`** interface represents a collection of _all_ of the document\'s elements, accessible by index (like an array) and by the element\'s `id`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAllCollection)\n */\ninterface HTMLAllCollection {\n /**\n * The **`HTMLAllCollection.length`** property returns the number of items in this HTMLAllCollection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAllCollection/length)\n */\n readonly length: number;\n /**\n * The **`item()`** method of the HTMLAllCollection interface returns the element located at the specified offset into the collection, or the element with the specified value for its `id` or `name` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAllCollection/item)\n */\n item(nameOrIndex?: string): HTMLCollection | Element | null;\n /**\n * The **`namedItem()`** method of the HTMLAllCollection interface returns the first Element in the collection whose `id` or `name` attribute matches the specified name, or `null` if no element matches.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAllCollection/namedItem)\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/**\n * The **`HTMLAnchorElement`** interface represents 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement)\n */\ninterface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {\n /** @deprecated */\n charset: string;\n /** @deprecated */\n coords: string;\n /**\n * The **`HTMLAnchorElement.download`** property is a string indicating that the linked resource is intended to be downloaded rather than displayed in the browser.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/download)\n */\n download: string;\n /**\n * The **`hreflang`** property of the HTMLAnchorElement interface is a string that is the language of the linked resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hreflang)\n */\n hreflang: string;\n /** @deprecated */\n name: string;\n /**\n * The **`ping`** property of the HTMLAnchorElement interface is a space-separated list of URLs.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/ping)\n */\n ping: string;\n /**\n * The **`HTMLAnchorElement.referrerPolicy`** property reflect the HTML `referrerpolicy` attribute of the A string; one of the following: - `no-referrer` - : The Referer header will be omitted entirely.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/referrerPolicy)\n */\n referrerPolicy: string;\n /**\n * The **`HTMLAnchorElement.rel`** property reflects the `rel` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/rel)\n */\n rel: string;\n /**\n * The **`HTMLAnchorElement.relList`** read-only property reflects the `rel` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/relList)\n */\n get relList(): DOMTokenList;\n set relList(value: string);\n /** @deprecated */\n rev: string;\n /** @deprecated */\n shape: string;\n /**\n * The **`target`** property of the HTMLAnchorElement interface is a string that indicates where to display the linked resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/target)\n */\n target: string;\n /**\n * The **`text`** property of the HTMLAnchorElement represents the text inside the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/text)\n */\n text: string;\n /**\n * The **`type`** property of the HTMLAnchorElement interface is a string that indicates the MIME type of the linked resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/type)\n */\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/**\n * The **`HTMLAreaElement`** interface 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement)\n */\ninterface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {\n /**\n * The **`alt`** property of the HTMLAreaElement interface specifies the text of the hyperlink, defining the textual label for an image map\'s link.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/alt)\n */\n alt: string;\n /**\n * The **`coords`** property of the HTMLAreaElement interface specifies the coordinates of the element\'s shape as a list of floating-point numbers.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/coords)\n */\n coords: string;\n /**\n * The **`download`** property of the HTMLAreaElement interface is a string indicating that the linked resource is intended to be downloaded rather than displayed in the browser.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/download)\n */\n download: string;\n /** @deprecated */\n noHref: boolean;\n /**\n * The **`ping`** property of the HTMLAreaElement interface is a space-separated list of URLs.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/ping)\n */\n ping: string;\n /**\n * The **`HTMLAreaElement.referrerPolicy`** property reflect the HTML `referrerpolicy` attribute of the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/referrerPolicy)\n */\n referrerPolicy: string;\n /**\n * The **`HTMLAreaElement.rel`** property reflects the `rel` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/rel)\n */\n rel: string;\n /**\n * The **`HTMLAreaElement.relList`** read-only property reflects the `rel` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/relList)\n */\n get relList(): DOMTokenList;\n set relList(value: string);\n /**\n * The **`shape`** property of the HTMLAreaElement interface specifies the shape of an image map area.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape)\n */\n shape: string;\n /**\n * The **`target`** property of the HTMLAreaElement interface is a string that indicates where to display the linked resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/target)\n */\n target: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLAreaElement: {\n prototype: HTMLAreaElement;\n new(): HTMLAreaElement;\n};\n\n/**\n * The **`HTMLAudioElement`** interface provides access to the properties of audio elements, as well as methods to manipulate them.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAudioElement)\n */\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/**\n * The **`HTMLBRElement`** interface represents an HTML line break element (br).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBRElement)\n */\ninterface HTMLBRElement extends HTMLElement {\n /** @deprecated */\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/**\n * The **`HTMLBaseElement`** interface contains the base URI for a document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement)\n */\ninterface HTMLBaseElement extends HTMLElement {\n /**\n * The **`href`** property of the HTMLBaseElement interface contains a string that is the URL to use as the base for relative URLs.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement/href)\n */\n href: string;\n /**\n * The `target` property of the HTMLBaseElement interface is a string that represents the default target tab to show the resulting output for hyperlinks and form elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBaseElement/target)\n */\n target: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLBaseElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLBaseElement: {\n prototype: HTMLBaseElement;\n new(): HTMLBaseElement;\n};\n\ninterface HTMLBodyElementEventMap extends HTMLElementEventMap, WindowEventHandlersEventMap {\n}\n\n/**\n * The **`HTMLBodyElement`** interface provides special properties (beyond those inherited from the regular HTMLElement interface) for manipulating body elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLBodyElement)\n */\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/**\n * The **`HTMLButtonElement`** interface provides properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating button elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)\n */\ninterface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {\n /**\n * The **`HTMLButtonElement.disabled`** property indicates whether the control is disabled, meaning that it does not accept any clicks.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/disabled)\n */\n disabled: boolean;\n /**\n * The **`form`** read-only property of the HTMLButtonElement interface returns an HTMLFormElement object that owns this button, or `null` if this button is not owned by any form.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/form)\n */\n readonly form: HTMLFormElement | null;\n /**\n * The **`formAction`** property of the HTMLButtonElement interface is the URL of the program that is executed on the server when the form that owns this control is submitted.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formAction)\n */\n formAction: string;\n /**\n * The **`formEnctype`** property of the HTMLButtonElement interface is the MIME_type of the content sent to the server when the form is submitted.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formEnctype)\n */\n formEnctype: string;\n /**\n * The **`formMethod`** property of the HTMLButtonElement interface is the HTTP method used to submit the form if the button element is the control that submits the form.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formMethod)\n */\n formMethod: string;\n /**\n * The **`formNoValidate`** property of the HTMLButtonElement interface is a boolean value indicating if the form will bypass constraint validation when submitted via the button.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formNoValidate)\n */\n formNoValidate: boolean;\n /**\n * The **`formTarget`** property of the HTMLButtonElement interface is the tab, window, or iframe where the response of the submitted form is to be displayed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formTarget)\n */\n formTarget: string;\n /**\n * The **`HTMLButtonElement.labels`** read-only property returns a A NodeList containing the `<label>` elements associated with the `<button>` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/labels)\n */\n readonly labels: NodeListOf<HTMLLabelElement>;\n /**\n * The **`name`** property of the HTMLButtonElement interface indicates the name of the button element or the empty string if the element has no name.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/name)\n */\n name: string;\n /**\n * The **`type`** property of the HTMLButtonElement interface is a string that indicates the behavior type of the button element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/type)\n */\n type: "submit" | "reset" | "button";\n /**\n * The **`validationMessage`** read-only property of the HTMLButtonElement interface returns a string representing a localized message that describes the validation constraints that the button control does not satisfy (if any).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validationMessage)\n */\n readonly validationMessage: string;\n /**\n * The **`validity`** read-only property of the HTMLButtonElement interface returns a ValidityState object that represents the validity states this element is in.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validity)\n */\n readonly validity: ValidityState;\n /**\n * The **`value`** property of the HTMLButtonElement interface represents the value of the button element as a string, or the empty string if no value is set.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/value)\n */\n value: string;\n /**\n * The **`willValidate`** read-only property of the HTMLButtonElement interface indicates whether the button element is a candidate for constraint validation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/willValidate)\n */\n readonly willValidate: boolean;\n /**\n * The **`checkValidity()`** method of the HTMLButtonElement interface returns a boolean value which indicates if the element meets any constraint validation rules applied to it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/checkValidity)\n */\n checkValidity(): boolean;\n /**\n * The **`reportValidity()`** method of the HTMLButtonElement interface performs the same validity checking steps as the HTMLButtonElement.checkValidity method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/reportValidity)\n */\n reportValidity(): boolean;\n /**\n * The **`setCustomValidity()`** method of the HTMLButtonElement interface sets the custom validity message for the button element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/setCustomValidity)\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/**\n * The **`HTMLCanvasElement`** interface provides properties and methods for manipulating the layout and presentation of canvas elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement)\n */\ninterface HTMLCanvasElement extends HTMLElement {\n /**\n * The **`HTMLCanvasElement.height`** property is a positive `integer` reflecting the `height` HTML attribute of the canvas element interpreted in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/height)\n */\n height: number;\n /**\n * The **`HTMLCanvasElement.width`** property is a positive `integer` reflecting the `width` HTML attribute of the canvas element interpreted in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/width)\n */\n width: number;\n /**\n * The **`captureStream()`** method of the HTMLCanvasElement interface returns a MediaStream which includes a CanvasCaptureMediaStreamTrack containing a real-time video capture of the canvas\'s contents.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/captureStream)\n */\n captureStream(frameRequestRate?: number): MediaStream;\n /**\n * The **`HTMLCanvasElement.getContext()`** method returns a drawing context on the canvas, or `null` if the context identifier is not supported, or the canvas has already been set to a different context mode.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/getContext)\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 /**\n * The **`HTMLCanvasElement.toBlob()`** method creates a Blob object representing the image contained in the canvas.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/toBlob)\n */\n toBlob(callback: BlobCallback, type?: string, quality?: number): void;\n /**\n * The **`HTMLCanvasElement.toDataURL()`** method returns a data URL containing a representation of the image in the format specified by the `type` parameter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/toDataURL)\n */\n toDataURL(type?: string, quality?: number): string;\n /**\n * The **`HTMLCanvasElement.transferControlToOffscreen()`** method transfers control to an OffscreenCanvas object, either on the main thread or on a worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/transferControlToOffscreen)\n */\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/**\n * The **`HTMLCollection`** interface represents a generic collection (array-like object similar to Functions/arguments) of elements (in document order) and offers methods and properties for selecting from the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCollection)\n */\ninterface HTMLCollectionBase {\n /**\n * The **`HTMLCollection.length`** property returns the number of items in a HTMLCollection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCollection/length)\n */\n readonly length: number;\n /**\n * The HTMLCollection method `item()` returns the element located at the specified offset into the collection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCollection/item)\n */\n item(index: number): Element | null;\n [index: number]: Element;\n}\n\ninterface HTMLCollection extends HTMLCollectionBase {\n /**\n * The **`namedItem()`** method of the HTMLCollection interface returns the first Element in the collection whose `id` or `name` attribute match the specified name, or `null` if no element matches.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCollection/namedItem)\n */\n namedItem(name: string): Element | null;\n}\n\ndeclare var HTMLCollection: {\n prototype: HTMLCollection;\n new(): HTMLCollection;\n};\n\ninterface HTMLCollectionOf<T extends Element> extends HTMLCollectionBase {\n item(index: number): T | null;\n namedItem(name: string): T | null;\n [index: number]: T;\n}\n\n/**\n * The **`HTMLDListElement`** interface provides special properties (beyond those of the regular HTMLElement interface it also has available to it by inheritance) for manipulating definition list (dl) elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDListElement)\n */\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/**\n * The **`HTMLDataElement`** interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating data elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataElement)\n */\ninterface HTMLDataElement extends HTMLElement {\n /**\n * The **`value`** property of the HTMLDataElement interface returns a string reflecting the `value` HTML attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataElement/value)\n */\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/**\n * The **`HTMLDataListElement`** interface provides special properties (beyond the HTMLElement object interface it also has available to it by inheritance) to manipulate datalist elements and their content.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement)\n */\ninterface HTMLDataListElement extends HTMLElement {\n /**\n * The **`options`** read-only property of the HTMLDataListElement interface returns an HTMLCollection of HTMLOptionElement elements contained in a datalist.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement/options)\n */\n readonly options: HTMLCollectionOf<HTMLOptionElement>;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDataListElement: {\n prototype: HTMLDataListElement;\n new(): HTMLDataListElement;\n};\n\n/**\n * The **`HTMLDetailsElement`** interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating details elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement)\n */\ninterface HTMLDetailsElement extends HTMLElement {\n /**\n * The **`name`** property of the HTMLDetailsElement interface reflects the `name` attribute of details elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/name)\n */\n name: string;\n /**\n * The **`open`** property of the `open` HTML attribute, indicating whether the details\'s contents (not counting the summary) is to be shown to the user.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open)\n */\n open: boolean;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDetailsElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLDetailsElement: {\n prototype: HTMLDetailsElement;\n new(): HTMLDetailsElement;\n};\n\n/**\n * The **`HTMLDialogElement`** interface provides methods to manipulate dialog elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement)\n */\ninterface HTMLDialogElement extends HTMLElement {\n /**\n * The **`open`** property of the `open` HTML attribute, indicating whether the dialog is available for interaction.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/open)\n */\n open: boolean;\n /**\n * The **`returnValue`** property of the HTMLDialogElement interface is a string representing the return value for a dialog element when it\'s closed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/returnValue)\n */\n returnValue: string;\n /**\n * The **`close()`** method of the HTMLDialogElement interface closes the dialog.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close)\n */\n close(returnValue?: string): void;\n /**\n * The **`requestClose()`** method of the HTMLDialogElement interface requests to close the dialog.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/requestClose)\n */\n requestClose(returnValue?: string): void;\n /**\n * The **`show()`** method of the HTMLDialogElement interface displays the dialog modelessly, i.e., still allowing interaction with content outside of the dialog.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/show)\n */\n show(): void;\n /**\n * The **`showModal()`** method of the of any other dialogs that might be present.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/showModal)\n */\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/**\n * The **`HTMLDivElement`** interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating div elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDivElement)\n */\ninterface HTMLDivElement extends HTMLElement {\n /** @deprecated */\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\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\ndeclare var HTMLDocument: {\n prototype: HTMLDocument;\n new(): HTMLDocument;\n};\n\ninterface HTMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap {\n}\n\n/**\n * The **`HTMLElement`** interface represents any HTML element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement)\n */\ninterface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement {\n /**\n * The **`HTMLElement.accessKey`** property sets the keystroke which a user can press to jump to a given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKey)\n */\n accessKey: string;\n /**\n * The **`HTMLElement.accessKeyLabel`** read-only property returns a string containing the element\'s browser-assigned access key (if any); otherwise it returns an empty string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/accessKeyLabel)\n */\n readonly accessKeyLabel: string;\n /**\n * The **`autocapitalize`** property of the HTMLElement interface represents the element\'s capitalization behavior for user input.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocapitalize)\n */\n autocapitalize: string;\n /**\n * The **`autocorrect`** property of the HTMLElement interface controls whether or not autocorrection of editable text is enabled for spelling and/or punctuation errors.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autocorrect)\n */\n autocorrect: boolean;\n /**\n * The **`HTMLElement.dir`** property indicates the text writing directionality of the content of the current element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dir)\n */\n dir: string;\n /**\n * The **`draggable`** property of the HTMLElement interface gets and sets a Boolean primitive indicating if the element is draggable.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/draggable)\n */\n draggable: boolean;\n /**\n * The HTMLElement property **`hidden`** reflects the value of the element\'s `hidden` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/hidden)\n */\n hidden: boolean;\n /**\n * The HTMLElement property **`inert`** reflects the value of the element\'s `inert` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/inert)\n */\n inert: boolean;\n /**\n * The **`innerText`** property of the HTMLElement interface represents the rendered text content of a node and its descendants.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/innerText)\n */\n innerText: string;\n /**\n * The **`lang`** property of the HTMLElement interface indicates the base language of an element\'s attribute values and text content, in the form of a MISSING: RFC(5646, \'BCP 47 language identifier tag\')].\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/lang)\n */\n lang: string;\n /**\n * The **`offsetHeight`** read-only property of the HTMLElement interface returns the height of an element, including vertical padding and borders, as an integer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetHeight)\n */\n readonly offsetHeight: number;\n /**\n * The **`offsetLeft`** read-only property of the HTMLElement interface returns the number of pixels that the _upper left corner_ of the current element is offset to the left within the HTMLElement.offsetParent node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetLeft)\n */\n readonly offsetLeft: number;\n /**\n * The **`HTMLElement.offsetParent`** read-only property returns a reference to the element which is the closest (nearest in the containment hierarchy) positioned ancestor element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetParent)\n */\n readonly offsetParent: Element | null;\n /**\n * The **`offsetTop`** read-only property of the HTMLElement interface returns the distance from the outer border of the current element (including its margin) to the top padding edge of the HTMLelement.offsetParent, the _closest positioned_ ancestor element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetTop)\n */\n readonly offsetTop: number;\n /**\n * The **`offsetWidth`** read-only property of the HTMLElement interface returns the layout width of an element as an integer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/offsetWidth)\n */\n readonly offsetWidth: number;\n /**\n * The **`outerText`** property of the HTMLElement interface returns the same value as HTMLElement.innerText.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/outerText)\n */\n outerText: string;\n /**\n * The **`popover`** property of the HTMLElement interface gets and sets an element\'s popover state via JavaScript (`\'auto\'`, `\'hint\'`, or `\'manual\'`), and can be used for feature detection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/popover)\n */\n popover: string | null;\n /**\n * The **`spellcheck`** property of the HTMLElement interface represents a boolean value that controls the spell-checking hint.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/spellcheck)\n */\n spellcheck: boolean;\n /**\n * The **`HTMLElement.title`** property represents the title of the element: the text usually displayed in a \'tooltip\' popup when the mouse is over the node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/title)\n */\n title: string;\n /**\n * The **`translate`** property of the HTMLElement interface indicates whether an element\'s attribute values and the values of its Text node children are to be translated when the page is localized, or whether to leave them unchanged.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/translate)\n */\n translate: boolean;\n /**\n * The **`writingSuggestions`** property of the HTMLElement interface is a string indicating if browser-provided writing suggestions should be enabled under the scope of the element or not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/writingSuggestions)\n */\n writingSuggestions: string;\n /**\n * The **`HTMLElement.attachInternals()`** method returns an ElementInternals object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attachInternals)\n */\n attachInternals(): ElementInternals;\n /**\n * The **`HTMLElement.click()`** method simulates a mouse click on an element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/click)\n */\n click(): void;\n /**\n * The **`hidePopover()`** method of the HTMLElement interface hides a popover element (i.e., one that has a valid `popover` attribute) by removing it from the top layer and styling it with `display: none`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/hidePopover)\n */\n hidePopover(): void;\n /**\n * The **`showPopover()`** method of the HTMLElement interface shows a Popover_API element (i.e., one that has a valid `popover` attribute) by adding it to the top layer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/showPopover)\n */\n showPopover(): void;\n /**\n * The **`togglePopover()`** method of the HTMLElement interface toggles a Popover_API element (i.e., one that has a valid `popover` attribute) between the hidden and showing states.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/togglePopover)\n */\n togglePopover(options?: boolean): boolean;\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/**\n * The **`HTMLEmbedElement`** interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating embed elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement)\n */\ninterface HTMLEmbedElement extends HTMLElement {\n /** @deprecated */\n align: string;\n /**\n * The **`height`** property of the HTMLEmbedElement interface returns a string that reflects the `height` attribute of the embed element, indicating the displayed height of the resource in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/height)\n */\n height: string;\n /** @deprecated */\n name: string;\n /**\n * The **`src`** property of the HTMLEmbedElement interface returns a string that indicates the URL of the resource being embedded.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/src)\n */\n src: string;\n /**\n * The **`type`** property of the HTMLEmbedElement interface returns a string that reflects the `type` attribute of the embed element, indicating the MIME type of the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/type)\n */\n type: string;\n /**\n * The **`width`** property of the HTMLEmbedElement interface returns a string that reflects the `width` attribute of the embed element, indicating the displayed width of the resource in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/width)\n */\n width: string;\n /**\n * The **`getSVGDocument()`** method of the HTMLEmbedElement interface returns the Document object of the embedded SVG.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/getSVGDocument)\n */\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/**\n * The **`HTMLFieldSetElement`** interface 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement)\n */\ninterface HTMLFieldSetElement extends HTMLElement {\n /**\n * The **`disabled`** property of the HTMLFieldSetElement interface is a boolean value that reflects the fieldset element\'s `disabled` attribute, which indicates whether the control is disabled.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/disabled)\n */\n disabled: boolean;\n /**\n * The **`elements`** read-only property of the HTMLFieldSetElement interface returns an HTMLCollection object containing all form control elements (button, fieldset, input, object, output, select, and textarea) that are descendants of this field set.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/elements)\n */\n readonly elements: HTMLCollection;\n /**\n * The **`form`** read-only property of the HTMLFieldSetElement interface returns an HTMLFormElement object that owns this fieldset, or `null` if this fieldset is not owned by any form.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/form)\n */\n readonly form: HTMLFormElement | null;\n /**\n * The **`name`** property of the HTMLFieldSetElement interface indicates the name of the fieldset element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/name)\n */\n name: string;\n /**\n * The **`type`** read-only property of the HTMLFieldSetElement interface returns the string `\'fieldset\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/type)\n */\n readonly type: string;\n /**\n * The **`validationMessage`** read-only property of the HTMLFieldSetElement interface returns a string representing a localized message that describes the validation constraints that the fieldset control does not satisfy (if any).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validationMessage)\n */\n readonly validationMessage: string;\n /**\n * The **`validity`** read-only property of the HTMLFieldSetElement interface returns a ValidityState object that represents the validity states this element is in.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validity)\n */\n readonly validity: ValidityState;\n /**\n * The **`willValidate`** read-only property of the HTMLFieldSetElement interface returns `false`, because fieldset elements are not candidates for constraint validation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/willValidate)\n */\n readonly willValidate: boolean;\n /**\n * The **`checkValidity()`** method of the HTMLFieldSetElement interface checks if the element is valid, but always returns true because fieldset elements are never candidates for constraint validation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/checkValidity)\n */\n checkValidity(): boolean;\n /**\n * The **`reportValidity()`** method of the HTMLFieldSetElement interface performs the same validity checking steps as the HTMLFieldSetElement.checkValidity method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/reportValidity)\n */\n reportValidity(): boolean;\n /**\n * The **`setCustomValidity()`** method of the HTMLFieldSetElement interface sets the custom validity message for the fieldset element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/setCustomValidity)\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.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFontElement)\n */\ninterface HTMLFontElement extends HTMLElement {\n /**\n * The obsolete **`HTMLFontElement.color`** property is a string that reflects the `color` HTML attribute, containing either a named color or a color specified in the hexadecimal #RRGGBB format.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFontElement/color)\n */\n color: string;\n /**\n * The obsolete **`HTMLFontElement.face`** property is a string that reflects the `face` HTML attribute, containing a comma-separated list of one or more font names.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFontElement/face)\n */\n face: string;\n /**\n * The obsolete **`HTMLFontElement.size`** property is a string that reflects the `size` HTML attribute.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFontElement/size)\n */\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/**\n * The **`HTMLFormControlsCollection`** interface represents a _collection_ of HTML _form control elements_, returned by the HTMLFormElement interface\'s HTMLFormElement.elements property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormControlsCollection)\n */\ninterface HTMLFormControlsCollection extends HTMLCollectionBase {\n /**\n * The **`HTMLFormControlsCollection.namedItem()`** method returns the RadioNodeList or the Element in the collection whose `name` or `id` match the specified name, or `null` if no node matches.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormControlsCollection/namedItem)\n */\n namedItem(name: string): RadioNodeList | Element | null;\n}\n\ndeclare var HTMLFormControlsCollection: {\n prototype: HTMLFormControlsCollection;\n new(): HTMLFormControlsCollection;\n};\n\n/**\n * The **`HTMLFormElement`** interface represents a form element in the DOM.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement)\n */\ninterface HTMLFormElement extends HTMLElement {\n /**\n * The **`HTMLFormElement.acceptCharset`** property represents the character encoding for the given form element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/acceptCharset)\n */\n acceptCharset: string;\n /**\n * The **`HTMLFormElement.action`** property represents the action of the form element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/action)\n */\n action: string;\n /**\n * The **`autocomplete`** property of the HTMLFormElement interface indicates whether the value of the form\'s controls can be automatically completed by the browser.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/autocomplete)\n */\n autocomplete: AutoFillBase;\n /**\n * The HTMLFormElement property **`elements`** returns an the form element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/elements)\n */\n readonly elements: HTMLFormControlsCollection;\n /**\n * The **`HTMLFormElement.encoding`** property is an alternative name for the HTMLFormElement.enctype element on the DOM HTMLFormElement object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/encoding)\n */\n encoding: string;\n /**\n * The **`HTMLFormElement.enctype`** property is the MIME_type of content that is used to submit the form to the server.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/enctype)\n */\n enctype: string;\n /**\n * The **`HTMLFormElement.length`** read-only property returns the number of controls in the form element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/length)\n */\n readonly length: number;\n /**\n * The **`HTMLFormElement.method`** property represents the Unless explicitly specified, the default method is \'get\'.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/method)\n */\n method: string;\n /**\n * The **`HTMLFormElement.name`** property represents the name of the current form element as a string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/name)\n */\n name: string;\n /**\n * The **`noValidate`** property of the HTMLFormElement interface is a boolean value indicating if the form will bypass constraint validation when submitted.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/noValidate)\n */\n noValidate: boolean;\n /**\n * The **`rel`** property of the HTMLFormElement interface reflects the `rel` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/rel)\n */\n rel: string;\n /**\n * The **`relList`** read-only property of the HTMLFormElement interface reflects the `rel` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/relList)\n */\n get relList(): DOMTokenList;\n set relList(value: string);\n /**\n * The **`target`** property of the HTMLFormElement interface represents the target of the form\'s action (i.e., the frame in which to render its output).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/target)\n */\n target: string;\n /**\n * The **`checkValidity()`** method of the HTMLFormElement interface returns a boolean value which indicates if all associated controls meet any constraint validation rules applied to them.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/checkValidity)\n */\n checkValidity(): boolean;\n /**\n * The **`reportValidity()`** method of the HTMLFormElement interface performs the same validity checking steps as the HTMLFormElement.checkValidity method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reportValidity)\n */\n reportValidity(): boolean;\n /**\n * The HTMLFormElement method **`requestSubmit()`** requests that the form be submitted using a specific submit button.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/requestSubmit)\n */\n requestSubmit(submitter?: HTMLElement | null): void;\n /**\n * The **`HTMLFormElement.reset()`** method restores a form element\'s default values.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reset)\n */\n reset(): void;\n /**\n * The **`HTMLFormElement.submit()`** method submits a given This method is similar, but not identical to, activating a form\'s submit - No HTMLFormElement/submit_event event is raised.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/submit)\n */\n submit(): void;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLFormElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n [index: number]: Element;\n [name: string]: any;\n}\n\ndeclare var HTMLFormElement: {\n prototype: HTMLFormElement;\n new(): HTMLFormElement;\n};\n\n/** @deprecated */\ninterface HTMLFrameElement extends HTMLElement {\n /** @deprecated */\n readonly contentDocument: Document | null;\n /** @deprecated */\n readonly contentWindow: WindowProxy | null;\n /** @deprecated */\n frameBorder: string;\n /** @deprecated */\n longDesc: string;\n /** @deprecated */\n marginHeight: string;\n /** @deprecated */\n marginWidth: string;\n /** @deprecated */\n name: string;\n /** @deprecated */\n noResize: boolean;\n /** @deprecated */\n scrolling: string;\n /** @deprecated */\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 * The **`HTMLFrameSetElement`** interface provides special properties (beyond those of the regular HTMLElement interface they also inherit) for manipulating frameset elements.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFrameSetElement)\n */\ninterface HTMLFrameSetElement extends HTMLElement, WindowEventHandlers {\n /** @deprecated */\n cols: string;\n /** @deprecated */\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/**\n * The **`HTMLHRElement`** interface provides special properties (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating hr elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLHRElement)\n */\ninterface HTMLHRElement extends HTMLElement {\n /** @deprecated */\n align: string;\n /** @deprecated */\n color: string;\n /** @deprecated */\n noShade: boolean;\n /** @deprecated */\n size: string;\n /** @deprecated */\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/**\n * The **`HTMLHeadElement`** interface contains the descriptive information, or metadata, for a document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLHeadElement)\n */\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/**\n * The **`HTMLHeadingElement`** interface represents the different heading elements, `<h1>` through `<h6>`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLHeadingElement)\n */\ninterface HTMLHeadingElement extends HTMLElement {\n /** @deprecated */\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/**\n * The **`HTMLHtmlElement`** interface serves as the root node for a given HTML document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLHtmlElement)\n */\ninterface HTMLHtmlElement extends HTMLElement {\n /**\n * Returns version information about the document type definition (DTD) of a document.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLHtmlElement/version)\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 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hash)\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 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/host)\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 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hostname)\n */\n hostname: string;\n /**\n * Returns the hyperlink\'s URL.\n *\n * Can be set, to change the URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/href)\n */\n href: string;\n toString(): string;\n /**\n * Returns the hyperlink\'s URL\'s origin.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/origin)\n */\n readonly origin: string;\n /**\n * Returns the hyperlink\'s URL\'s password.\n *\n * Can be set, to change the URL\'s password.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/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 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/pathname)\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 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/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 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/protocol)\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 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/search)\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 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/username)\n */\n username: string;\n}\n\n/**\n * The **`HTMLIFrameElement`** interface 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement)\n */\ninterface HTMLIFrameElement extends HTMLElement {\n /** @deprecated */\n align: string;\n /**\n * The **`allow`** property of the HTMLIFrameElement interface indicates the Permissions Policy specified for this `<iframe>` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/allow)\n */\n allow: string;\n /**\n * The **`allowFullscreen`** property of the HTMLIFrameElement interface is a boolean value that reflects the `allowfullscreen` attribute of the iframe element, indicating whether to allow the iframe\'s contents to use Element.requestFullscreen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/allowFullscreen)\n */\n allowFullscreen: boolean;\n /**\n * If the iframe and the iframe\'s parent document are Same Origin, returns a `Document` (that is, the active document in the inline frame\'s nested browsing context), else returns `null`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/contentDocument)\n */\n readonly contentDocument: Document | null;\n /**\n * The **`contentWindow`** property returns the Window object of an HTMLIFrameElement.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/contentWindow)\n */\n readonly contentWindow: WindowProxy | null;\n /** @deprecated */\n frameBorder: string;\n /**\n * The **`height`** property of the HTMLIFrameElement interface returns a string that reflects the `height` attribute of the iframe element, indicating the height of the frame in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/height)\n */\n height: string;\n /**\n * The **`loading`** property of the HTMLIFrameElement interface is a string that provides a hint to the user agent indicating whether the iframe should be loaded immediately on page load, or only when it is needed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading)\n */\n loading: "eager" | "lazy";\n /** @deprecated */\n longDesc: string;\n /** @deprecated */\n marginHeight: string;\n /** @deprecated */\n marginWidth: string;\n /**\n * The **`name`** property of the HTMLIFrameElement interface is a string value that reflects the `name` attribute of the iframe element, indicating the specific name of the `<iframe>` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/name)\n */\n name: string;\n /**\n * The **`HTMLIFrameElement.referrerPolicy`** property reflects the HTML `referrerpolicy` attribute of the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/referrerPolicy)\n */\n referrerPolicy: ReferrerPolicy;\n /**\n * The **`sandbox`** read-only property of the HTMLIFrameElement interface returns a DOMTokenList indicating extra restrictions on the behavior of the nested content.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/sandbox)\n */\n get sandbox(): DOMTokenList;\n set sandbox(value: string);\n /** @deprecated */\n scrolling: string;\n /**\n * The **`HTMLIFrameElement.src`** A string that reflects the `src` HTML attribute, containing the address of the content to be embedded.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/src)\n */\n src: string;\n /**\n * The **`srcdoc`** property of the HTMLIFrameElement specifies the content of the page.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/srcdoc)\n */\n srcdoc: string;\n /**\n * The **`width`** property of the HTMLIFrameElement interface returns a string that reflects the `width` attribute of the iframe element, indicating the width of the frame in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/width)\n */\n width: string;\n /**\n * The **`getSVGDocument()`** method of the HTMLIFrameElement interface returns the Document object of the embedded SVG.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/getSVGDocument)\n */\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/**\n * The **`HTMLImageElement`** interface represents an HTML img element, providing the properties and methods used to manipulate image elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement)\n */\ninterface HTMLImageElement extends HTMLElement {\n /**\n * The _obsolete_ **`align`** property of the HTMLImageElement interface is a string which indicates how to position the image relative to its container.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/align)\n */\n align: string;\n /**\n * The HTMLImageElement property **`alt`** provides fallback (alternate) text to display when the image specified by the img element is not loaded.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/alt)\n */\n alt: string;\n /**\n * The obsolete HTMLImageElement property **`border`** specifies the number of pixels thick the border surrounding the image should be.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/border)\n */\n border: string;\n /**\n * The read-only HTMLImageElement interface\'s **`complete`** attribute is a Boolean value which indicates whether or not the image has completely loaded.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/complete)\n */\n readonly complete: boolean;\n /**\n * The HTMLImageElement interface\'s **`crossOrigin`** attribute is a string which specifies the Cross-Origin Resource Sharing (CORS) setting to use when retrieving the image.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/crossOrigin)\n */\n crossOrigin: string | null;\n /**\n * The read-only HTMLImageElement property **`currentSrc`** indicates the URL of the image which is currently presented in the img element it represents.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/currentSrc)\n */\n readonly currentSrc: string;\n /**\n * The **`decoding`** property of the HTMLImageElement interface provides a hint to the browser as to how it should decode the image.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decoding)\n */\n decoding: "async" | "sync" | "auto";\n /**\n * The **`fetchPriority`** property of the HTMLImageElement interface represents a hint to the browser indicating how it should prioritize fetching a particular image relative to other images.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/fetchPriority)\n */\n fetchPriority: "high" | "low" | "auto";\n /**\n * The **`height`** property of the drawn, in CSS pixel if the image is being drawn or rendered to any visual medium such as the screen or a printer; otherwise, it\'s the natural, pixel density corrected height of the image.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/height)\n */\n height: number;\n /**\n * The _obsolete_ **`hspace`** property of the space to leave empty on the left and right sides of the img element when laying out the page.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/hspace)\n */\n hspace: number;\n /**\n * The HTMLImageElement property **`isMap`** is a Boolean value which indicates that the image is to be used by a server-side image map.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/isMap)\n */\n isMap: boolean;\n /**\n * The HTMLImageElement property **`loading`** is a string whose value provides a hint to the user agent on how to handle the loading of the image which is currently outside the window\'s visual viewport.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/loading)\n */\n loading: "eager" | "lazy";\n /**\n * The _deprecated_ property **`longDesc`** on the HTMLImageElement interface specifies the URL of a text or HTML file which contains a long-form description of the image.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/longDesc)\n */\n longDesc: string;\n /** @deprecated */\n lowsrc: string;\n /**\n * The HTMLImageElement interface\'s _deprecated_ **`name`** property specifies a name for the element.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/name)\n */\n name: string;\n /**\n * The HTMLImageElement interface\'s **`naturalHeight`** property is a read-only value which returns the intrinsic (natural), density-corrected height of the image in This is the height the image is if drawn with nothing constraining its height; if you don\'t specify a height for the image, or place the image inside a container that either limits or expressly specifies the image height, it will be rendered this tall.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/naturalHeight)\n */\n readonly naturalHeight: number;\n /**\n * The HTMLImageElement interface\'s read-only **`naturalWidth`** property returns the intrinsic (natural), density-corrected width of the image in CSS pixel.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/naturalWidth)\n */\n readonly naturalWidth: number;\n /**\n * The **`HTMLImageElement.referrerPolicy`** property reflects the HTML `referrerpolicy` attribute of the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/referrerPolicy)\n */\n referrerPolicy: string;\n /**\n * The HTMLImageElement property **`sizes`** allows you to specify the layout width of the image for each of a list of media conditions.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/sizes)\n */\n sizes: string;\n /**\n * The HTMLImageElement property **`src`**, which reflects the HTML `src` attribute, specifies the image to display in the img element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/src)\n */\n src: string;\n /**\n * The HTMLImageElement property **`srcset`** is a string which identifies one or more **image candidate strings**, separated using commas (`,`) each specifying image resources to use under given circumstances.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/srcset)\n */\n srcset: string;\n /**\n * The **`useMap`** property on the providing the name of the client-side image map to apply to the image.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/useMap)\n */\n useMap: string;\n /**\n * The _obsolete_ **`vspace`** property of the to leave empty on the top and bottom of the img element when laying out the page.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/vspace)\n */\n vspace: number;\n /**\n * The **`width`** property of the drawn in CSS pixel if it\'s being drawn or rendered to any visual medium such as a screen or printer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/width)\n */\n width: number;\n /**\n * The read-only HTMLImageElement property **`x`** indicates the x-coordinate of the origin.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/x)\n */\n readonly x: number;\n /**\n * The read-only HTMLImageElement property **`y`** indicates the y-coordinate of the origin.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/y)\n */\n readonly y: number;\n /**\n * The **`decode()`** method of the HTMLImageElement interface returns a it to the DOM.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decode)\n */\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/**\n * The **`HTMLInputElement`** interface provides special properties and methods for manipulating the options, layout, and presentation of input elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement)\n */\ninterface HTMLInputElement extends HTMLElement, PopoverInvokerElement {\n /**\n * The **`accept`** property of the HTMLInputElement interface reflects the input element\'s `accept` attribute, generally a comma-separated list of unique file type specifiers providing a hint for the expected file type for an `<input>` of type `file`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/accept)\n */\n accept: string;\n /** @deprecated */\n align: string;\n /**\n * The **`alt`** property of the HTMLInputElement interface defines the textual label for the button for users and user agents who cannot use the image.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/alt)\n */\n alt: string;\n /**\n * The **`autocomplete`** property of the HTMLInputElement interface indicates whether the value of the control can be automatically completed by the browser.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/autocomplete)\n */\n autocomplete: AutoFill;\n /**\n * The **`capture`** property of the HTMLInputElement interface reflects the input element\'s `capture` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/capture)\n */\n capture: string;\n /**\n * The **`checked`** property of the HTMLInputElement interface specifies the current checkedness of the element; that is, whether the form control is checked or not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/checked)\n */\n checked: boolean;\n /**\n * The **`defaultChecked`** property of the HTMLInputElement interface specifies the default checkedness state of the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/defaultChecked)\n */\n defaultChecked: boolean;\n /**\n * The **`defaultValue`** property of the HTMLInputElement interface indicates the original (or default) value of the input element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/defaultValue)\n */\n defaultValue: string;\n /**\n * The **`dirName`** property of the HTMLInputElement interface is the directionality of the element and enables the submission of that value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/dirName)\n */\n dirName: string;\n /**\n * The **`HTMLInputElement.disabled`** property is a boolean value that reflects the `disabled` HTML attribute, which indicates whether the control is disabled.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/disabled)\n */\n disabled: boolean;\n /**\n * The **`HTMLInputElement.files`** property allows you to access the FileList selected with the `<input type=\'file\'>` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/files)\n */\n files: FileList | null;\n /**\n * The **`form`** read-only property of the HTMLInputElement interface returns an HTMLFormElement object that owns this input, or `null` if this input is not owned by any form.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/form)\n */\n readonly form: HTMLFormElement | null;\n /**\n * The **`formAction`** property of the HTMLInputElement interface is the URL of the program that is executed on the server when the form that owns this control is submitted.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formAction)\n */\n formAction: string;\n /**\n * The **`formEnctype`** property of the HTMLInputElement interface is the MIME_type of the content sent to the server when the `<input>` with the `formEnctype` is the method of form submission.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formEnctype)\n */\n formEnctype: string;\n /**\n * The **`formMethod`** property of the HTMLInputElement interface is the HTTP method used to submit the form if the input element is the control that submits the form.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formMethod)\n */\n formMethod: string;\n /**\n * The **`formNoValidate`** property of the HTMLInputElement interface is a boolean value indicating if the form will bypass constraint validation when submitted via the input.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formNoValidate)\n */\n formNoValidate: boolean;\n /**\n * The **`formTarget`** property of the HTMLInputElement interface is the tab, window, or iframe where the response of the submitted form is to be displayed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/formTarget)\n */\n formTarget: string;\n /**\n * The **`height`** property of the HTMLInputElement interface specifies the height of a control.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height)\n */\n height: number;\n /**\n * The **`indeterminate`** property of the HTMLInputElement interface returns a boolean value that indicates whether the checkbox is in the _indeterminate_ state.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/indeterminate)\n */\n indeterminate: boolean;\n /**\n * The **`HTMLInputElement.labels`** read-only property returns a type `hidden`, the property returns `null`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/labels)\n */\n readonly labels: NodeListOf<HTMLLabelElement> | null;\n /**\n * The **`list`** read-only property of the HTMLInputElement interface returns the HTMLDataListElement pointed to by the `list` attribute of the element, or `null` if the `list` attribute is not defined or the `list` attribute\'s value is not associated with any `<datalist>` in the same tree.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/list)\n */\n readonly list: HTMLDataListElement | null;\n /**\n * The **`max`** property of the HTMLInputElement interface reflects the input element\'s `max` attribute, which generally defines the maximum valid value for a numeric or date-time input.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/max)\n */\n max: string;\n /**\n * The **`maxLength`** property of the HTMLInputElement interface indicates the maximum number of characters (in UTF-16 code units) allowed to be entered for the value of the input element, and the maximum number of characters allowed for the value to be valid.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/maxLength)\n */\n maxLength: number;\n /**\n * The **`min`** property of the HTMLInputElement interface reflects the input element\'s `min` attribute, which generally defines the minimum valid value for a numeric or date-time input.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/min)\n */\n min: string;\n /**\n * The **`minLength`** property of the HTMLInputElement interface indicates the minimum number of characters (in UTF-16 code units) required for the value of the input element to be valid.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/minLength)\n */\n minLength: number;\n /**\n * The **`HTMLInputElement.multiple`** property indicates if an input can have more than one value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/multiple)\n */\n multiple: boolean;\n /**\n * The **`name`** property of the HTMLInputElement interface indicates the name of the input element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/name)\n */\n name: string;\n /**\n * The **`pattern`** property of the HTMLInputElement interface represents a regular expression a non-null input value should match.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/pattern)\n */\n pattern: string;\n /**\n * The **`placeholder`** property of the HTMLInputElement interface represents a hint to the user of what can be entered in the control.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/placeholder)\n */\n placeholder: string;\n /**\n * The **`readOnly`** property of the HTMLInputElement interface indicates that the user cannot modify the value of the input.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/readOnly)\n */\n readOnly: boolean;\n /**\n * The **`required`** property of the HTMLInputElement interface specifies that the user must fill in a value before submitting a form.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/required)\n */\n required: boolean;\n /**\n * The **`selectionDirection`** property of the HTMLInputElement interface is a string that indicates the direction in which the user is selecting the text.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection)\n */\n selectionDirection: "forward" | "backward" | "none" | null;\n /**\n * The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionEnd)\n */\n selectionEnd: number | null;\n /**\n * The **`selectionStart`** property of the HTMLInputElement interface is a number that represents the beginning index of the selected text.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionStart)\n */\n selectionStart: number | null;\n /**\n * The **`size`** property of the HTMLInputElement interface defines the number of visible characters displayed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/size)\n */\n size: number;\n /**\n * The **`src`** property of the HTMLInputElement interface specifies the source of an image to display as the graphical submit button.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/src)\n */\n src: string;\n /**\n * The **`step`** property of the HTMLInputElement interface indicates the step by which numeric or date-time input elements can change.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/step)\n */\n step: string;\n /**\n * The **`type`** property of the HTMLInputElement interface indicates the kind of data allowed in the input element, for example a number, a date, or an email.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/type)\n */\n type: string;\n /** @deprecated */\n useMap: string;\n /**\n * The **`validationMessage`** read-only property of the HTMLInputElement interface returns a string representing a localized message that describes the validation constraints that the input control does not satisfy (if any).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validationMessage)\n */\n readonly validationMessage: string;\n /**\n * The **`validity`** read-only property of the HTMLInputElement interface returns a ValidityState object that represents the validity states this element is in.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validity)\n */\n readonly validity: ValidityState;\n /**\n * The **`value`** property of the HTMLInputElement interface represents the current value of the input element as a string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/value)\n */\n value: string;\n /**\n * The **`valueAsDate`** property of the HTMLInputElement interface represents the current value of the input element as a Date, or `null` if conversion is not possible.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsDate)\n */\n valueAsDate: Date | null;\n /**\n * The **`valueAsNumber`** property of the HTMLInputElement interface represents the current value of the input element as a number or `NaN` if converting to a numeric value is not possible.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/valueAsNumber)\n */\n valueAsNumber: number;\n /**\n * The read-only **`webkitEntries`** property of the HTMLInputElement interface contains an array of file system entries (as objects based on FileSystemEntry) representing files and/or directories selected by the user using an input element of type `file`, but only if that selection was made using drag-and-drop: selecting a file in the dialog will leave the property empty.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitEntries)\n */\n readonly webkitEntries: ReadonlyArray<FileSystemEntry>;\n /**\n * The **`HTMLInputElement.webkitdirectory`** is a property that reflects the `webkitdirectory` HTML attribute and indicates that the input element should let the user select directories instead of files.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory)\n */\n webkitdirectory: boolean;\n /**\n * The **`width`** property of the HTMLInputElement interface specifies the width of a control.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/width)\n */\n width: number;\n /**\n * The **`willValidate`** read-only property of the HTMLInputElement interface indicates whether the input element is a candidate for constraint validation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/willValidate)\n */\n readonly willValidate: boolean;\n /**\n * The **`checkValidity()`** method of the HTMLInputElement interface returns a boolean value which indicates if the element meets any constraint validation rules applied to it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/checkValidity)\n */\n checkValidity(): boolean;\n /**\n * The **`reportValidity()`** method of the HTMLInputElement interface performs the same validity checking steps as the HTMLInputElement.checkValidity method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/reportValidity)\n */\n reportValidity(): boolean;\n /**\n * The **`HTMLInputElement.select()`** method selects all the text in a textarea element or in an input element that includes a text field.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/select)\n */\n select(): void;\n /**\n * The **`HTMLInputElement.setCustomValidity()`** method sets a custom validity message for the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/setCustomValidity)\n */\n setCustomValidity(error: string): void;\n /**\n * The **`HTMLInputElement.setRangeText()`** method replaces a range of text in an input or textarea element with a new string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/setRangeText)\n */\n setRangeText(replacement: string): void;\n setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;\n /**\n * The **`HTMLInputElement.setSelectionRange()`** method sets the start and end positions of the current text selection in an input or textarea element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/setSelectionRange)\n */\n setSelectionRange(start: number | null, end: number | null, direction?: "forward" | "backward" | "none"): void;\n /**\n * The **`HTMLInputElement.showPicker()`** method displays the browser picker for an `input` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/showPicker)\n */\n showPicker(): void;\n /**\n * The **`HTMLInputElement.stepDown()`** method decrements the value of a numeric type of input element by the value of the `step` attribute or up to `n` multiples of the step attribute if a number is passed as the parameter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/stepDown)\n */\n stepDown(n?: number): void;\n /**\n * The **`HTMLInputElement.stepUp()`** method increments the value of a numeric type of input element by the value of the `step` attribute, or the default `step` value if the step attribute is not explicitly set.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/stepUp)\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/**\n * The **`HTMLLIElement`** interface exposes specific properties and methods (beyond those defined by regular HTMLElement interface it also has available to it by inheritance) for manipulating list elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLIElement)\n */\ninterface HTMLLIElement extends HTMLElement {\n /** @deprecated */\n type: string;\n /**\n * The **`value`** property of the HTMLLIElement interface indicates the ordinal position of the _list element_ inside a given ol.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLIElement/value)\n */\n value: number;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLIElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLLIElement: {\n prototype: HTMLLIElement;\n new(): HTMLLIElement;\n};\n\n/**\n * The **`HTMLLabelElement`** interface gives access to properties specific to label elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLabelElement)\n */\ninterface HTMLLabelElement extends HTMLElement {\n /**\n * The read-only **`HTMLLabelElement.control`** property returns a reference to the control (in the form of an object of type HTMLElement or one of its derivatives) with which the label element is associated, or `null` if the label isn\'t associated with a control.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLabelElement/control)\n */\n readonly control: HTMLElement | null;\n /**\n * The **`form`** read-only property of the HTMLLabelElement interface returns an HTMLFormElement object that owns the HTMLLabelElement.control associated with this label, or `null` if this label is not associated with a control owned by a form.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLabelElement/form)\n */\n readonly form: HTMLFormElement | null;\n /**\n * The **`HTMLLabelElement.htmlFor`** property reflects the value of the `for` content property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLabelElement/htmlFor)\n */\n htmlFor: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLabelElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLLabelElement: {\n prototype: HTMLLabelElement;\n new(): HTMLLabelElement;\n};\n\n/**\n * The **`HTMLLegendElement`** is an interface allowing to access properties of the legend elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLegendElement)\n */\ninterface HTMLLegendElement extends HTMLElement {\n /** @deprecated */\n align: string;\n /**\n * The **`form`** read-only property of the HTMLLegendElement interface returns an HTMLFormElement object that owns the HTMLFieldSetElement associated with this legend, or `null` if this legend is not associated with a fieldset owned by a form.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLegendElement/form)\n */\n readonly form: HTMLFormElement | null;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLLegendElement: {\n prototype: HTMLLegendElement;\n new(): HTMLLegendElement;\n};\n\n/**\n * The **`HTMLLinkElement`** interface represents reference information for external resources and the relationship of those resources to a document and vice versa (corresponds to `<link>` element; not to be confused with `<a>`, which is represented by `HTMLAnchorElement`).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement)\n */\ninterface HTMLLinkElement extends HTMLElement, LinkStyle {\n /**\n * The **`as`** property of the HTMLLinkElement interface returns a string representing the type of content to be preloaded by a link element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/as)\n */\n as: string;\n /**\n * The **`blocking`** property of the HTMLLinkElement interface is a string indicating that certain operations should be blocked on the fetching of an external resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/blocking)\n */\n get blocking(): DOMTokenList;\n set blocking(value: string);\n /** @deprecated */\n charset: string;\n /**\n * The **`crossOrigin`** property of the HTMLLinkElement interface specifies the Cross-Origin Resource Sharing (CORS) setting to use when retrieving the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/crossOrigin)\n */\n crossOrigin: string | null;\n /**\n * The **`disabled`** property of the HTMLLinkElement interface is a boolean value that represents whether the link is disabled.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/disabled)\n */\n disabled: boolean;\n /**\n * The **`fetchPriority`** property of the HTMLLinkElement interface represents a hint to the browser indicating how it should prioritize fetching a particular resource relative to other resources of the same type.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority)\n */\n fetchPriority: "high" | "low" | "auto";\n /**\n * The **`href`** property of the HTMLLinkElement interface contains a string that is the URL associated with the link.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/href)\n */\n href: string;\n /**\n * The **`hreflang`** property of the HTMLLinkElement interface is used to indicate the language and the geographical targeting of a page.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/hreflang)\n */\n hreflang: string;\n /**\n * The **`imageSizes`** property of the HTMLLinkElement interface indicates the size and conditions for the preloaded images defined by the HTMLLinkElement.imageSrcset property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/imageSizes)\n */\n imageSizes: string;\n /**\n * The **`imageSrcset`** property of the HTMLLinkElement interface is a string which identifies one or more comma-separated **image candidate strings**.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/imageSrcset)\n */\n imageSrcset: string;\n /**\n * The **`integrity`** property of the HTMLLinkElement interface is a string containing inline metadata that a browser can use to verify that a fetched resource has been delivered without unexpected manipulation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity)\n */\n integrity: string;\n /**\n * The **`media`** property of the HTMLLinkElement interface is a string representing a list of one or more media formats to which the resource applies.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/media)\n */\n media: string;\n /**\n * The **`referrerPolicy`** property of the HTMLLinkElement interface reflects the HTML `referrerpolicy` attribute of the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/referrerPolicy)\n */\n referrerPolicy: string;\n /**\n * The **`rel`** property of the HTMLLinkElement interface reflects the `rel` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/rel)\n */\n rel: string;\n /**\n * The **`relList`** read-only property of the HTMLLinkElement interface reflects the `rel` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/relList)\n */\n get relList(): DOMTokenList;\n set relList(value: string);\n /** @deprecated */\n rev: string;\n /**\n * The **`sizes`** read-only property of the HTMLLinkElement interfaces defines the sizes of the icons for visual media contained in the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sizes)\n */\n get sizes(): DOMTokenList;\n set sizes(value: string);\n /** @deprecated */\n target: string;\n /**\n * The **`type`** property of the HTMLLinkElement interface is a string that reflects the MIME type of the linked resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/type)\n */\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLLinkElement: {\n prototype: HTMLLinkElement;\n new(): HTMLLinkElement;\n};\n\n/**\n * The **`HTMLMapElement`** interface 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement)\n */\ninterface HTMLMapElement extends HTMLElement {\n /**\n * The **`areas`** read-only property of the HTMLMapElement interface returns a collection of area elements associated with the map element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement/areas)\n */\n readonly areas: HTMLCollection;\n /**\n * The **`name`** property of the HTMLMapElement represents the unique name `<map>` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMapElement/name)\n */\n name: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMapElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLMapElement: {\n prototype: HTMLMapElement;\n new(): HTMLMapElement;\n};\n\n/**\n * The **`HTMLMarqueeElement`** interface provides methods to manipulate marquee elements.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMarqueeElement)\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/**\n * The **`HTMLMediaElement`** interface adds to HTMLElement the properties and methods needed to support basic media-related capabilities that are common to audio and video.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement)\n */\ninterface HTMLMediaElement extends HTMLElement {\n /**\n * The **`HTMLMediaElement.autoplay`** property reflects the `autoplay` HTML attribute, indicating whether playback should automatically begin as soon as enough media is available to do so without interruption.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/autoplay)\n */\n autoplay: boolean;\n /**\n * The **`buffered`** read-only property of HTMLMediaElement objects returns a new static normalized `TimeRanges` object that represents the ranges of the media resource, if any, that the user agent has buffered at the moment the `buffered` property is accessed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/buffered)\n */\n readonly buffered: TimeRanges;\n /**\n * The **`HTMLMediaElement.controls`** property reflects the `controls` HTML attribute, which controls whether user interface controls for playing the media item will be displayed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/controls)\n */\n controls: boolean;\n /**\n * The **`HTMLMediaElement.crossOrigin`** property is the CORS setting for this media element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/crossOrigin)\n */\n crossOrigin: string | null;\n /**\n * The **`HTMLMediaElement.currentSrc`** property contains the absolute URL of the chosen media resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/currentSrc)\n */\n readonly currentSrc: string;\n /**\n * The HTMLMediaElement interface\'s **`currentTime`** property specifies the current playback time in seconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/currentTime)\n */\n currentTime: number;\n /**\n * The **`HTMLMediaElement.defaultMuted`** property reflects the `muted` HTML attribute, which indicates whether the media element\'s audio output should be muted by default.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/defaultMuted)\n */\n defaultMuted: boolean;\n /**\n * The **`HTMLMediaElement.defaultPlaybackRate`** property indicates the default playback rate for the media.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/defaultPlaybackRate)\n */\n defaultPlaybackRate: number;\n /**\n * The **`disableRemotePlayback`** property of the HTMLMediaElement interface determines whether the media element is allowed to have a remote playback UI.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/disableRemotePlayback)\n */\n disableRemotePlayback: boolean;\n /**\n * The _read-only_ HTMLMediaElement property **`duration`** indicates the length of the element\'s media in seconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/duration)\n */\n readonly duration: number;\n /**\n * The **`HTMLMediaElement.ended`** property indicates whether the media element has ended playback.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ended)\n */\n readonly ended: boolean;\n /**\n * The **`HTMLMediaElement.error`** property is the there has not been an error.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/error)\n */\n readonly error: MediaError | null;\n /**\n * The **`HTMLMediaElement.loop`** property reflects the `loop` HTML attribute, which controls whether the media element should start over when it reaches the end.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loop)\n */\n loop: boolean;\n /**\n * The read-only **`HTMLMediaElement.mediaKeys`** property returns a MediaKeys object, that is a set of keys that the element can use for decryption of media data during playback.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/mediaKeys)\n */\n readonly mediaKeys: MediaKeys | null;\n /**\n * The **`HTMLMediaElement.muted`** property indicates whether the media element is muted.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/muted)\n */\n muted: boolean;\n /**\n * The **`HTMLMediaElement.networkState`** property indicates the current state of the fetching of media over the network.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/networkState)\n */\n readonly networkState: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/encrypted_event) */\n onencrypted: ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waitingforkey_event) */\n onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => any) | null;\n /**\n * The read-only **`HTMLMediaElement.paused`** property tells whether the media element is paused.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/paused)\n */\n readonly paused: boolean;\n /**\n * The **`HTMLMediaElement.playbackRate`** property sets the rate at which the media is being played back.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playbackRate)\n */\n playbackRate: number;\n /**\n * The **`played`** read-only property of the HTMLMediaElement interface indicates the time ranges the resource, an audio or video media file, has played.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/played)\n */\n readonly played: TimeRanges;\n /**\n * The **`preload`** property of the HTMLMediaElement interface is a string that provides a hint to the browser about what the author thinks will lead to the best user experience.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/preload)\n */\n preload: "none" | "metadata" | "auto" | "";\n /**\n * The **`HTMLMediaElement.preservesPitch`** property determines whether or not the browser should adjust the pitch of the audio to compensate for changes to the playback rate made by setting HTMLMediaElement.playbackRate.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/preservesPitch)\n */\n preservesPitch: boolean;\n /**\n * The **`HTMLMediaElement.readyState`** property indicates the readiness state of the media.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/readyState)\n */\n readonly readyState: number;\n /**\n * The **`remote`** read-only property of the HTMLMediaElement interface returns the RemotePlayback object associated with the media element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/remote)\n */\n readonly remote: RemotePlayback;\n /**\n * The **`seekable`** read-only property of HTMLMediaElement objects returns a new static normalized `TimeRanges` object that represents the ranges of the media resource, if any, that the user agent is able to seek to at the time `seekable` property is accessed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seekable)\n */\n readonly seekable: TimeRanges;\n /**\n * The **`seeking`** read-only property of the HTMLMediaElement interface is a Boolean indicating whether the resource, the audio or video, is in the process of seeking to a new position.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking)\n */\n readonly seeking: boolean;\n /**\n * The **`sinkId`** read-only property of the HTMLMediaElement interface returns a string that is the unique ID of the device to be used for playing audio output.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/sinkId)\n */\n readonly sinkId: string;\n /**\n * The **`HTMLMediaElement.src`** property reflects the value of the HTML media element\'s `src` attribute, which indicates the URL of a media resource to use in the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/src)\n */\n src: string;\n /**\n * The **`srcObject`** property of the the source of the media associated with the HTMLMediaElement, or `null` if not assigned.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/srcObject)\n */\n srcObject: MediaProvider | null;\n /**\n * The read-only **`textTracks`** property on HTMLMediaElement objects returns a objects representing the media element\'s text tracks, in the same order as in the list of text tracks.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/textTracks)\n */\n readonly textTracks: TextTrackList;\n /**\n * The **`HTMLMediaElement.volume`** property sets the volume at which the media will be played.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volume)\n */\n volume: number;\n /**\n * The **`addTextTrack()`** method of the HTMLMediaElement interface creates a new TextTrack object and adds it to the media element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/addTextTrack)\n */\n addTextTrack(kind: TextTrackKind, label?: string, language?: string): TextTrack;\n /**\n * The HTMLMediaElement method **`canPlayType()`** reports how likely it is that the current browser will be able to play media of a given MIME type.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canPlayType)\n */\n canPlayType(type: string): CanPlayTypeResult;\n /**\n * The **`HTMLMediaElement.fastSeek()`** method quickly seeks the media to the new time with precision tradeoff.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/fastSeek)\n */\n fastSeek(time: number): void;\n /**\n * The HTMLMediaElement method **`load()`** resets the media element to its initial state and begins the process of selecting a media source and loading the media in preparation for playback to begin at the beginning.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/load)\n */\n load(): void;\n /**\n * The **`HTMLMediaElement.pause()`** method will pause playback of the media, if the media is already in a paused state this method will have no effect.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/pause)\n */\n pause(): void;\n /**\n * The HTMLMediaElement **`play()`** method attempts to begin playback of the media.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/play)\n */\n play(): Promise<void>;\n /**\n * The **`setMediaKeys()`** method of the HTMLMediaElement interface sets the MediaKeys that will be used to decrypt media during playback.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/setMediaKeys)\n */\n setMediaKeys(mediaKeys: MediaKeys | null): Promise<void>;\n /**\n * The **`setSinkId()`** method of the HTMLMediaElement interface sets the ID of the audio device to use for output and returns a Promise.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/setSinkId)\n */\n setSinkId(sinkId: string): 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\n/**\n * The **`HTMLMenuElement`** interface provides additional properties (beyond those inherited from the HTMLElement interface) for manipulating a menu element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMenuElement)\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/**\n * The **`HTMLMetaElement`** interface contains descriptive metadata about a document provided in HTML as `<meta>` elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement)\n */\ninterface HTMLMetaElement extends HTMLElement {\n /**\n * The **`HTMLMetaElement.content`** property gets or sets the `content` attribute of pragma directives and named meta data in conjunction with HTMLMetaElement.name or HTMLMetaElement.httpEquiv.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/content)\n */\n content: string;\n /**\n * The **`HTMLMetaElement.httpEquiv`** property gets or sets the pragma directive or an HTTP response header name for the HTMLMetaElement.content attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/httpEquiv)\n */\n httpEquiv: string;\n /**\n * The **`HTMLMetaElement.media`** property enables specifying the media for `theme-color` metadata.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/media)\n */\n media: string;\n /**\n * The **`HTMLMetaElement.name`** property is used in combination with HTMLMetaElement.content to define the name-value pairs for the metadata of a document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/name)\n */\n name: string;\n /**\n * The **`HTMLMetaElement.scheme`** property defines the scheme of the value in the HTMLMetaElement.content attribute.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/scheme)\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/**\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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement)\n */\ninterface HTMLMeterElement extends HTMLElement {\n /**\n * The **`high`** property of the HTMLMeterElement interface represents the high boundary of the meter element as a floating-point number.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/high)\n */\n high: number;\n /**\n * The **`HTMLMeterElement.labels`** read-only property returns a A NodeList containing the `<label>` elements associated with the `<meter>` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/labels)\n */\n readonly labels: NodeListOf<HTMLLabelElement>;\n /**\n * The **`low`** property of the HTMLMeterElement interface represents the low boundary of the meter element as a floating-point number.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/low)\n */\n low: number;\n /**\n * The **`max`** property of the HTMLMeterElement interface represents the maximum value of the meter element as a floating-point number.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/max)\n */\n max: number;\n /**\n * The **`min`** property of the HTMLMeterElement interface represents the minimum value of the meter element as a floating-point number.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/min)\n */\n min: number;\n /**\n * The **`optimum`** property of the HTMLMeterElement interface represents the optimum boundary of the meter element as a floating-point number.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/optimum)\n */\n optimum: number;\n /**\n * The **`value`** property of the HTMLMeterElement interface represents the current value of the meter element as a floating-point number.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMeterElement/value)\n */\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/**\n * The **`HTMLModElement`** interface 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement)\n */\ninterface HTMLModElement extends HTMLElement {\n /**\n * The **`cite`** property of the HTMLModElement interface indicates the URL of the resource explaining the modification.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/cite)\n */\n cite: string;\n /**\n * The **`dateTime`** property of the HTMLModElement interface is a string containing a machine-readable date with an optional time value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLModElement/dateTime)\n */\n dateTime: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLModElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLModElement: {\n prototype: HTMLModElement;\n new(): HTMLModElement;\n};\n\n/**\n * The **`HTMLOListElement`** interface provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating ordered list elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement)\n */\ninterface HTMLOListElement extends HTMLElement {\n /** @deprecated */\n compact: boolean;\n /**\n * The **`reversed`** property of the HTMLOListElement interface indicates order of a list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/reversed)\n */\n reversed: boolean;\n /**\n * The **`start`** property of the HTMLOListElement interface indicates starting value of the ordered list, with default value of 1.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/start)\n */\n start: number;\n /**\n * The **`type`** property of the HTMLOListElement interface indicates the kind of marker to be used to display ordered list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOListElement/type)\n */\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/**\n * The **`HTMLObjectElement`** interface 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement)\n */\ninterface HTMLObjectElement extends HTMLElement {\n /** @deprecated */\n align: string;\n /** @deprecated */\n archive: string;\n /** @deprecated */\n border: string;\n /** @deprecated */\n code: string;\n /** @deprecated */\n codeBase: string;\n /** @deprecated */\n codeType: string;\n /**\n * The **`contentDocument`** read-only property of the HTMLObjectElement interface Returns a Document representing the active document of the object element\'s nested browsing context, if any; otherwise null.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/contentDocument)\n */\n readonly contentDocument: Document | null;\n /**\n * The **`contentWindow`** read-only property of the HTMLObjectElement interface returns a WindowProxy representing the window proxy of the object element\'s nested browsing context, if any; otherwise null.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/contentWindow)\n */\n readonly contentWindow: WindowProxy | null;\n /**\n * The **`data`** property of the reflects the `data` HTML attribute, specifying the address of a resource\'s data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/data)\n */\n data: string;\n /** @deprecated */\n declare: boolean;\n /**\n * The **`form`** read-only property of the HTMLObjectElement interface returns an HTMLFormElement object that owns this object, or `null` if this object element is not owned by any form.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/form)\n */\n readonly form: HTMLFormElement | null;\n /**\n * The **`height`** property of the reflects the `height` HTML attribute, specifying the displayed height of the resource in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/height)\n */\n height: string;\n /** @deprecated */\n hspace: number;\n /**\n * The **`name`** property of the reflects the `name` HTML attribute, specifying the name of the browsing context.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/name)\n */\n name: string;\n /** @deprecated */\n standby: string;\n /**\n * The **`type`** property of the reflects the `type` HTML attribute, specifying the MIME type of the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/type)\n */\n type: string;\n /**\n * The **`useMap`** property of the reflects the `usemap` HTML attribute, specifying a A string.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/useMap)\n */\n useMap: string;\n /**\n * The **`validationMessage`** read-only property of the HTMLObjectElement interface returns a string representing a localized message that describes the validation constraints that the control does not satisfy (if any).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/validationMessage)\n */\n readonly validationMessage: string;\n /**\n * The **`validity`** read-only property of the HTMLObjectElement interface returns a ValidityState object that represents the validity states this element is in.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/validity)\n */\n readonly validity: ValidityState;\n /** @deprecated */\n vspace: number;\n /**\n * The **`width`** property of the reflects the `width` HTML attribute, specifying the displayed width of the resource in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/width)\n */\n width: string;\n /**\n * The **`willValidate`** read-only property of the HTMLObjectElement interface returns `false`, because object elements are not candidates for constraint validation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/willValidate)\n */\n readonly willValidate: boolean;\n /**\n * The **`checkValidity()`** method of the HTMLObjectElement interface checks if the element is valid, but always returns true because object elements are never candidates for constraint validation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/checkValidity)\n */\n checkValidity(): boolean;\n /**\n * The **`getSVGDocument()`** method of the HTMLObjectElement interface returns the Document object of the embedded SVG.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/getSVGDocument)\n */\n getSVGDocument(): Document | null;\n /**\n * The **`reportValidity()`** method of the HTMLObjectElement interface performs the same validity checking steps as the HTMLObjectElement.checkValidity method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/reportValidity)\n */\n reportValidity(): boolean;\n /**\n * The **`setCustomValidity()`** method of the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/setCustomValidity)\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/**\n * The **`HTMLOptGroupElement`** interface 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement)\n */\ninterface HTMLOptGroupElement extends HTMLElement {\n /**\n * The **`disabled`** property of the HTMLOptGroupElement interface is a boolean value that reflects the optgroup element\'s `disabled` attribute, which indicates whether the control is disabled.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/disabled)\n */\n disabled: boolean;\n /**\n * The **`label`** property of the HTMLOptGroupElement interface is a string value that reflects the optgroup element\'s `label` attribute, which provides a textual label to the group of options.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptGroupElement/label)\n */\n label: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptGroupElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLOptGroupElement: {\n prototype: HTMLOptGroupElement;\n new(): HTMLOptGroupElement;\n};\n\n/**\n * The **`HTMLOptionElement`** interface represents option elements and inherits all properties and methods of the HTMLElement interface.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement)\n */\ninterface HTMLOptionElement extends HTMLElement {\n /**\n * The **`defaultSelected`** property of the HTMLOptionElement interface specifies the default selected state of the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/defaultSelected)\n */\n defaultSelected: boolean;\n /**\n * The **`disabled`** property of the HTMLOptionElement is a boolean value that indicates whether the option element is unavailable to be selected.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/disabled)\n */\n disabled: boolean;\n /**\n * The **`form`** read-only property of the HTMLOptionElement interface returns an HTMLFormElement object that owns the HTMLSelectElement associated with this option, or `null` if this option is not associated with a select owned by a form.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/form)\n */\n readonly form: HTMLFormElement | null;\n /**\n * The read-only **`index`** property of the HTMLOptionElement interface specifies the 0-based index of the element; that is, the position of the option within the list of options it belongs to, in tree-order, as an integer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/index)\n */\n readonly index: number;\n /**\n * The **`label`** property of the HTMLOptionElement represents the text displayed for an option in a select element or as part of a list of suggestions in a datalist element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/label)\n */\n label: string;\n /**\n * The **`selected`** property of the HTMLOptionElement interface specifies the current selectedness of the element; that is, whether the option is selected or not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/selected)\n */\n selected: boolean;\n /**\n * The **`text`** property of the HTMLOptionElement represents the text inside the option element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/text)\n */\n text: string;\n /**\n * The **`value`** property of the HTMLOptionElement interface represents the value of the option element as a string, or the empty string if no value is set.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/value)\n */\n value: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLOptionElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLOptionElement: {\n prototype: HTMLOptionElement;\n new(): HTMLOptionElement;\n};\n\n/**\n * The **`HTMLOptionsCollection`** interface represents a collection of `<option>` HTML elements (in document order) and offers methods and properties for selecting from the list as well as optionally altering its items.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection)\n */\ninterface HTMLOptionsCollection extends HTMLCollectionOf<HTMLOptionElement> {\n /**\n * The **`length`** property of the HTMLOptionsCollection interface returns the number of option elements in the collection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/length)\n */\n length: number;\n /**\n * The **`selectedIndex`** property of the HTMLOptionsCollection interface is the numeric index of the first selected option element, if any, or `−1` if no `<option>` is selected.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/selectedIndex)\n */\n selectedIndex: number;\n /**\n * The **`add()`** method of the HTMLOptionsCollection interface adds an HTMLOptionElement or HTMLOptGroupElement to this `HTMLOptionsCollection`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/add)\n */\n add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;\n /**\n * The **`remove()`** method of the HTMLOptionsCollection interface removes the option element specified by the index from this collection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionsCollection/remove)\n */\n remove(index: number): void;\n}\n\ndeclare var HTMLOptionsCollection: {\n prototype: HTMLOptionsCollection;\n new(): HTMLOptionsCollection;\n};\n\ninterface HTMLOrSVGElement {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autofocus) */\n autofocus: boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dataset) */\n readonly dataset: DOMStringMap;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/nonce) */\n nonce?: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/tabIndex) */\n tabIndex: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/blur) */\n blur(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/focus) */\n focus(options?: FocusOptions): void;\n}\n\n/**\n * The **`HTMLOutputElement`** interface provides properties and methods (beyond those inherited from HTMLElement) for manipulating the layout and presentation of output elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement)\n */\ninterface HTMLOutputElement extends HTMLElement {\n /**\n * The **`defaultValue`** property of the HTMLOutputElement interface represents the default text content of this output element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/defaultValue)\n */\n defaultValue: string;\n /**\n * The **`form`** read-only property of the HTMLOutputElement interface returns an HTMLFormElement object that owns this output, or `null` if this output is not owned by any form.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/form)\n */\n readonly form: HTMLFormElement | null;\n /**\n * The **`htmlFor`** property of the HTMLOutputElement interface is a string containing a space-separated list of other elements\' `id`s, indicating that those elements contributed input values to (or otherwise affected) the calculation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/htmlFor)\n */\n get htmlFor(): DOMTokenList;\n set htmlFor(value: string);\n /**\n * The **`HTMLOutputElement.labels`** read-only property returns a A NodeList containing the `<label>` elements associated with the `<output>` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels)\n */\n readonly labels: NodeListOf<HTMLLabelElement>;\n /**\n * The **`name`** property of the HTMLOutputElement interface indicates the name of the output element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/name)\n */\n name: string;\n /**\n * The **`type`** read-only property of the HTMLOutputElement interface returns the string `\'output\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/type)\n */\n readonly type: string;\n /**\n * The **`validationMessage`** read-only property of the HTMLOutputElement interface returns a string representing a localized message that describes the validation constraints that the output control does not satisfy (if any).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validationMessage)\n */\n readonly validationMessage: string;\n /**\n * The **`validity`** read-only property of the HTMLOutputElement interface returns a ValidityState object that represents the validity states this element is in.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validity)\n */\n readonly validity: ValidityState;\n /**\n * The **`value`** property of the HTMLOutputElement interface represents the value of the output element as a string, or the empty string if no value is set.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/value)\n */\n value: string;\n /**\n * The **`willValidate`** read-only property of the HTMLOutputElement interface returns `false`, because output elements are not candidates for constraint validation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/willValidate)\n */\n readonly willValidate: boolean;\n /**\n * The **`checkValidity()`** method of the HTMLOutputElement interface checks if the element is valid, but always returns true because output elements are never candidates for constraint validation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/checkValidity)\n */\n checkValidity(): boolean;\n /**\n * The **`reportValidity()`** method of the HTMLOutputElement interface performs the same validity checking steps as the HTMLOutputElement.checkValidity method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/reportValidity)\n */\n reportValidity(): boolean;\n /**\n * The **`setCustomValidity()`** method of the HTMLOutputElement interface sets the custom validity message for the output element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/setCustomValidity)\n */\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/**\n * The **`HTMLParagraphElement`** interface provides special properties (beyond those of the regular HTMLElement object interface it inherits) for manipulating p elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLParagraphElement)\n */\ninterface HTMLParagraphElement extends HTMLElement {\n /** @deprecated */\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 * The **`HTMLParamElement`** interface 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 *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLParamElement)\n */\ninterface HTMLParamElement extends HTMLElement {\n /** @deprecated */\n name: string;\n /** @deprecated */\n type: string;\n /** @deprecated */\n value: string;\n /** @deprecated */\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/**\n * The **`HTMLPictureElement`** interface represents a picture HTML element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLPictureElement)\n */\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/**\n * The **`HTMLPreElement`** interface 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).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLPreElement)\n */\ninterface HTMLPreElement extends HTMLElement {\n /** @deprecated */\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/**\n * The **`HTMLProgressElement`** interface 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLProgressElement)\n */\ninterface HTMLProgressElement extends HTMLElement {\n /**\n * The **`HTMLProgressElement.labels`** read-only property returns a NodeList of the label elements associated with the A NodeList containing the `<label>` elements associated with the `<progress>` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLProgressElement/labels)\n */\n readonly labels: NodeListOf<HTMLLabelElement>;\n /**\n * The **`max`** property of the HTMLProgressElement interface represents the upper bound of the progress element\'s range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLProgressElement/max)\n */\n max: number;\n /**\n * The **`position`** read-only property of the HTMLProgressElement interface returns current progress of the progress element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLProgressElement/position)\n */\n readonly position: number;\n /**\n * The **`value`** property of the HTMLProgressElement interface represents the current progress of the progress element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLProgressElement/value)\n */\n value: number;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLProgressElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLProgressElement: {\n prototype: HTMLProgressElement;\n new(): HTMLProgressElement;\n};\n\n/**\n * The **`HTMLQuoteElement`** interface 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement)\n */\ninterface HTMLQuoteElement extends HTMLElement {\n /**\n * The **`cite`** property of the HTMLQuoteElement interface indicates the URL for the source of the quotation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLQuoteElement/cite)\n */\n cite: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLQuoteElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLQuoteElement: {\n prototype: HTMLQuoteElement;\n new(): HTMLQuoteElement;\n};\n\n/**\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).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement)\n */\ninterface HTMLScriptElement extends HTMLElement {\n /**\n * The **`async`** property of the HTMLScriptElement interface is a boolean value that controls how the script should be executed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/async)\n */\n async: boolean;\n /**\n * The **`blocking`** property of the HTMLScriptElement interface is a string indicating that certain operations should be blocked on the fetching of the script.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/blocking)\n */\n get blocking(): DOMTokenList;\n set blocking(value: string);\n /** @deprecated */\n charset: string;\n /**\n * The **`crossOrigin`** property of the HTMLScriptElement interface reflects the CORS settings for the script element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/crossOrigin)\n */\n crossOrigin: string | null;\n /**\n * The **`defer`** property of the HTMLScriptElement interface is a boolean value that controls how the script should be executed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/defer)\n */\n defer: boolean;\n /** @deprecated */\n event: string;\n /**\n * The **`fetchPriority`** property of the HTMLScriptElement interface represents a hint to the browser indicating how it should prioritize fetching an external script relative to other external scripts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/fetchPriority)\n */\n fetchPriority: "high" | "low" | "auto";\n /** @deprecated */\n htmlFor: string;\n /**\n * The **`integrity`** property of the HTMLScriptElement interface is a string that contains inline metadata that a browser can use to verify that a fetched resource has been delivered without unexpected manipulation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/integrity)\n */\n integrity: string;\n /**\n * The **`noModule`** property of the HTMLScriptElement interface is a boolean value that indicates whether the script should be executed in browsers that support ES modules.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/noModule)\n */\n noModule: boolean;\n /**\n * The **`referrerPolicy`** property of the `referrerpolicy` of the script element, which defines how the referrer is set when fetching the script and any scripts it imports.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/referrerPolicy)\n */\n referrerPolicy: string;\n /**\n * The **`src`** property of the HTMLScriptElement interface is a string representing the URL of an external script; this can be used as an alternative to embedding a script directly within a document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/src)\n */\n src: string;\n /**\n * The **`text`** property of the HTMLScriptElement interface is a string that reflects the text content inside the script element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/text)\n */\n text: string;\n /**\n * The **`type`** property of the HTMLScriptElement interface is a string that reflects the type of the script.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/type)\n */\n type: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLScriptElement: {\n prototype: HTMLScriptElement;\n new(): HTMLScriptElement;\n /**\n * The **`supports()`** static method of the HTMLScriptElement interface provides a simple and consistent method to feature-detect what types of scripts are supported by the user agent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/supports_static)\n */\n supports(type: string): boolean;\n};\n\n/**\n * The **`HTMLSelectElement`** interface represents a select HTML Element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement)\n */\ninterface HTMLSelectElement extends HTMLElement {\n /**\n * The **`autocomplete`** property of the HTMLSelectElement interface indicates whether the value of the control can be automatically completed by the browser.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/autocomplete)\n */\n autocomplete: AutoFill;\n /**\n * The **`HTMLSelectElement.disabled`** property is a boolean value that reflects the `disabled` HTML attribute, which indicates whether the control is disabled.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/disabled)\n */\n disabled: boolean;\n /**\n * The **`form`** read-only property of the HTMLSelectElement interface returns an HTMLFormElement object that owns this select, or `null` if this select is not owned by any form.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/form)\n */\n readonly form: HTMLFormElement | null;\n /**\n * The **`HTMLSelectElement.labels`** read-only property returns a A NodeList containing the `<label>` elements associated with the `<select>` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/labels)\n */\n readonly labels: NodeListOf<HTMLLabelElement>;\n /**\n * The **`length`** property of the HTMLSelectElement interface specifies the number of option elements in the select element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/length)\n */\n length: number;\n /**\n * The **`multiple`** property of the HTMLSelectElement interface specifies that the user may select more than one option from the list of options.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/multiple)\n */\n multiple: boolean;\n /**\n * The **`name`** property of the HTMLSelectElement interface indicates the name of the select element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/name)\n */\n name: string;\n /**\n * The **`HTMLSelectElement.options`** read-only property returns a HTMLOptionsCollection of the option elements contained by the select element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/options)\n */\n readonly options: HTMLOptionsCollection;\n /**\n * The **`required`** property of the HTMLSelectElement interface specifies that the user must select an option with a non-empty string value before submitting a form.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/required)\n */\n required: boolean;\n /**\n * The **`selectedIndex`** property of the HTMLSelectElement interface is the numeric index of the first selected option element in a select element, if any, or `−1` if no `<option>` is selected.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedIndex)\n */\n selectedIndex: number;\n /**\n * The **read-only** HTMLSelectElement property **`selectedOptions`** contains a list of the element that are currently selected.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedOptions)\n */\n readonly selectedOptions: HTMLCollectionOf<HTMLOptionElement>;\n /**\n * The **`size`** property of the HTMLSelectElement interface specifies the number of options, or rows, that should be visible at one time.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/size)\n */\n size: number;\n /**\n * The **`HTMLSelectElement.type`** read-only property returns the form control\'s `type`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/type)\n */\n readonly type: "select-one" | "select-multiple";\n /**\n * The **`validationMessage`** read-only property of the HTMLSelectElement interface returns a string representing a localized message that describes the validation constraints that the select control does not satisfy (if any).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validationMessage)\n */\n readonly validationMessage: string;\n /**\n * The **`validity`** read-only property of the HTMLSelectElement interface returns a ValidityState object that represents the validity states this element is in.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validity)\n */\n readonly validity: ValidityState;\n /**\n * The **`HTMLSelectElement.value`** property contains the value of the first selected option element associated with this select element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/value)\n */\n value: string;\n /**\n * The **`willValidate`** read-only property of the HTMLSelectElement interface indicates whether the select element is a candidate for constraint validation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/willValidate)\n */\n readonly willValidate: boolean;\n /**\n * The **`HTMLSelectElement.add()`** method adds an element to the collection of `option` elements for this `select` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/add)\n */\n add(element: HTMLOptionElement | HTMLOptGroupElement, before?: HTMLElement | number | null): void;\n /**\n * The **`checkValidity()`** method of the HTMLSelectElement interface returns a boolean value which indicates if the element meets any constraint validation rules applied to it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/checkValidity)\n */\n checkValidity(): boolean;\n /**\n * The **`HTMLSelectElement.item()`** method returns the position in the options list corresponds to the index given in the parameter, or `null` if there are none.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/item)\n */\n item(index: number): HTMLOptionElement | null;\n /**\n * The **`HTMLSelectElement.namedItem()`** method returns the whose `name` or `id` match the specified name, or `null` if no option matches.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/namedItem)\n */\n namedItem(name: string): HTMLOptionElement | null;\n /**\n * The **`HTMLSelectElement.remove()`** method removes the element at the specified index from the options collection for this select element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/remove)\n */\n remove(): void;\n remove(index: number): void;\n /**\n * The **`reportValidity()`** method of the HTMLSelectElement interface performs the same validity checking steps as the HTMLSelectElement.checkValidity method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/reportValidity)\n */\n reportValidity(): boolean;\n /**\n * The **`HTMLSelectElement.setCustomValidity()`** method sets the custom validity message for the selection element to the specified message.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/setCustomValidity)\n */\n setCustomValidity(error: string): void;\n /**\n * The **`HTMLSelectElement.showPicker()`** method displays the browser picker for a `select` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/showPicker)\n */\n showPicker(): 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\n/**\n * The **`HTMLSlotElement`** interface of the Shadow DOM API enables access to the name and assigned nodes of an HTML slot element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSlotElement)\n */\ninterface HTMLSlotElement extends HTMLElement {\n /**\n * The **`name`** property of the HTMLSlotElement interface returns or sets the slot name.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSlotElement/name)\n */\n name: string;\n /**\n * The **`assign()`** method of the HTMLSlotElement interface sets the slot\'s _manually assigned nodes_ to an ordered set of slottables.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSlotElement/assign)\n */\n assign(...nodes: (Element | Text)[]): void;\n /**\n * The **`assignedElements()`** method of the HTMLSlotElement interface returns a sequence of the elements assigned to this slot (and no other nodes).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSlotElement/assignedElements)\n */\n assignedElements(options?: AssignedNodesOptions): Element[];\n /**\n * The **`assignedNodes()`** method of the HTMLSlotElement interface returns a sequence of the nodes assigned to this slot.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSlotElement/assignedNodes)\n */\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/**\n * The **`HTMLSourceElement`** interface provides special properties (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating source elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement)\n */\ninterface HTMLSourceElement extends HTMLElement {\n /**\n * The **`height`** property of the HTMLSourceElement interface is a non-negative number indicating the height of the image resource in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/height)\n */\n height: number;\n /**\n * The **`media`** property of the HTMLSourceElement interface is a string representing the intended destination medium for the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/media)\n */\n media: string;\n /**\n * The **`sizes`** property of the HTMLSourceElement interface is a string representing a list of one or more sizes, representing sizes between breakpoints, to which the resource applies.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/sizes)\n */\n sizes: string;\n /**\n * The **`src`** property of the HTMLSourceElement interface is a string indicating the URL of a media resource to use as the source for the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/src)\n */\n src: string;\n /**\n * The **`srcset`** property of the HTMLSourceElement interface is a string containing a comma-separated list of candidate images.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/srcset)\n */\n srcset: string;\n /**\n * The **`type`** property of the HTMLSourceElement interface is a string representing the MIME type of the media resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/type)\n */\n type: string;\n /**\n * The **`width`** property of the HTMLSourceElement interface is a non-negative number indicating the width of the image resource in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSourceElement/width)\n */\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/**\n * The **`HTMLSpanElement`** interface represents a span element and derives from the HTMLElement interface, but without implementing any additional properties or methods.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSpanElement)\n */\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/**\n * The **`HTMLStyleElement`** interface represents a style element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLStyleElement)\n */\ninterface HTMLStyleElement extends HTMLElement, LinkStyle {\n /**\n * The **`blocking`** property of the HTMLStyleElement interface is a string indicating that certain operations should be blocked on the fetching of critical subresources.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLStyleElement/blocking)\n */\n get blocking(): DOMTokenList;\n set blocking(value: string);\n /**\n * The **`HTMLStyleElement.disabled`** property can be used to get and set whether the stylesheet is disabled (`true`) or not (`false`).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLStyleElement/disabled)\n */\n disabled: boolean;\n /**\n * The **`HTMLStyleElement.media`** property specifies the intended destination medium for style information.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLStyleElement/media)\n */\n media: string;\n /**\n * The **`HTMLStyleElement.type`** property returns the type of the current style.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLStyleElement/type)\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/**\n * The **`HTMLTableCaptionElement`** interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating table caption elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCaptionElement)\n */\ninterface HTMLTableCaptionElement extends HTMLElement {\n /**\n * The **`align`** property of the HTMLTableCaptionElement interface is a string indicating how to horizontally align text in the caption table element.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCaptionElement/align)\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/**\n * The **`HTMLTableCellElement`** interface 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 cells (th) or data cells (td), in an HTML document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement)\n */\ninterface HTMLTableCellElement extends HTMLElement {\n /**\n * The **`abbr`** property of the HTMLTableCellElement interface indicates an abbreviation associated with the cell.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/abbr)\n */\n abbr: string;\n /**\n * The **`align`** property of the HTMLTableCellElement interface is a string indicating how to horizontally align text in the th or td table cell.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/align)\n */\n align: string;\n /** @deprecated */\n axis: string;\n /**\n * The **`HTMLTableCellElement.bgColor`** property is used to set the background color of a cell or get the value of the obsolete `bgColor` attribute, if present.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/bgColor)\n */\n bgColor: string;\n /**\n * The **`cellIndex`** read-only property of the HTMLTableCellElement interface represents the position of a cell within its row (tr).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/cellIndex)\n */\n readonly cellIndex: number;\n /**\n * The **`ch`** property of the HTMLTableCellElement interface does nothing.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/ch)\n */\n ch: string;\n /**\n * The **`chOff`** property of the HTMLTableCellElement interface does nothing.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/chOff)\n */\n chOff: string;\n /**\n * The **`colSpan`** read-only property of the HTMLTableCellElement interface represents the number of columns this cell must span; this lets the cell occupy space across multiple columns of the table.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/colSpan)\n */\n colSpan: number;\n /**\n * The **`headers`** property of the HTMLTableCellElement interface contains a list of IDs of th elements that are _headers_ for this specific cell.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/headers)\n */\n headers: string;\n /** @deprecated */\n height: string;\n /**\n * The **`noWrap`** property of the HTMLTableCellElement interface returns a Boolean value indicating if the text of the cell may be wrapped on several lines or not.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/noWrap)\n */\n noWrap: boolean;\n /**\n * The **`rowSpan`** read-only property of the HTMLTableCellElement interface represents the number of rows this cell must span; this lets the cell occupy space across multiple rows of the table.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/rowSpan)\n */\n rowSpan: number;\n /**\n * The **`scope`** property of the HTMLTableCellElement interface indicates the scope of a th cell.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/scope)\n */\n scope: string;\n /**\n * The **`vAlign`** property of the HTMLTableCellElement interface is a string indicating how to vertically align text in a th or td table cell.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableCellElement/vAlign)\n */\n vAlign: string;\n /** @deprecated */\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/**\n * The **`HTMLTableColElement`** interface provides properties for manipulating single or grouped table column elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement)\n */\ninterface HTMLTableColElement extends HTMLElement {\n /**\n * The **`align`** property of the HTMLTableColElement interface is a string indicating how to horizontally align text in a table col column element.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement/align)\n */\n align: string;\n /**\n * The **`ch`** property of the HTMLTableColElement interface does nothing.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement/ch)\n */\n ch: string;\n /**\n * The **`chOff`** property of the HTMLTableColElement interface does nothing.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement/chOff)\n */\n chOff: string;\n /**\n * The **`span`** read-only property of the HTMLTableColElement interface represents the number of columns this col or colgroup must span; this lets the column occupy space across multiple columns of the table.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement/span)\n */\n span: number;\n /**\n * The **`vAlign`** property of the HTMLTableColElement interface is a string indicating how to vertically align text in a table col column element.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement/vAlign)\n */\n vAlign: string;\n /** @deprecated */\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/**\n * The **`HTMLTableElement`** interface 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement)\n */\ninterface HTMLTableElement extends HTMLElement {\n /**\n * The **`HTMLTableElement.align`** property represents the alignment of the table.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/align)\n */\n align: string;\n /**\n * The **`bgcolor`** property of the HTMLTableElement represents the background color of the table.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/bgColor)\n */\n bgColor: string;\n /**\n * The **`HTMLTableElement.border`** property represents the border width of the table element.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/border)\n */\n border: string;\n /**\n * The **`HTMLTableElement.caption`** property represents the table caption.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/caption)\n */\n caption: HTMLTableCaptionElement | null;\n /**\n * The **`HTMLTableElement.cellPadding`** property represents the padding around the individual cells of the table.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/cellPadding)\n */\n cellPadding: string;\n /**\n * While you should instead use the CSS interface\'s **`cellSpacing`** property represents the spacing around the individual th and td elements representing a table\'s cells.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/cellSpacing)\n */\n cellSpacing: string;\n /**\n * The HTMLTableElement interface\'s **`frame`** property is a string that indicates which of the table\'s exterior borders should be drawn.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/frame)\n */\n frame: string;\n /**\n * The read-only HTMLTableElement property **`rows`** returns a live contained within any thead, tfoot, and Although the property itself is read-only, the returned object is live and allows the modification of its content.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/rows)\n */\n readonly rows: HTMLCollectionOf<HTMLTableRowElement>;\n /**\n * The **`HTMLTableElement.rules`** property indicates which cell borders to render in the table.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/rules)\n */\n rules: string;\n /**\n * The **`HTMLTableElement.summary`** property represents the table description.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/summary)\n */\n summary: string;\n /**\n * The **`HTMLTableElement.tBodies`** read-only property returns a live HTMLCollection of the bodies in a table.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/tBodies)\n */\n readonly tBodies: HTMLCollectionOf<HTMLTableSectionElement>;\n /**\n * The **`HTMLTableElement.tFoot`** property represents the `null` if there is no such element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/tFoot)\n */\n tFoot: HTMLTableSectionElement | null;\n /**\n * The **`HTMLTableElement.tHead`** represents the `null` if there is no such element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/tHead)\n */\n tHead: HTMLTableSectionElement | null;\n /**\n * The **`HTMLTableElement.width`** property represents the desired width of the table.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/width)\n */\n width: string;\n /**\n * The **`HTMLTableElement.createCaption()`** method returns the If no `<caption>` element exists on the table, this method creates it, and then returns it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/createCaption)\n */\n createCaption(): HTMLTableCaptionElement;\n /**\n * The **`createTBody()`** method of ```js-nolint createTBody() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/createTBody)\n */\n createTBody(): HTMLTableSectionElement;\n /**\n * The **`createTFoot()`** method of associated with a given table.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/createTFoot)\n */\n createTFoot(): HTMLTableSectionElement;\n /**\n * The **`createTHead()`** method of associated with a given table.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/createTHead)\n */\n createTHead(): HTMLTableSectionElement;\n /**\n * The **`HTMLTableElement.deleteCaption()`** method removes the `<caption>` element associated with the table, this method does nothing.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/deleteCaption)\n */\n deleteCaption(): void;\n /**\n * The **`HTMLTableElement.deleteRow()`** method removes a specific row (tr) from a given table.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/deleteRow)\n */\n deleteRow(index: number): void;\n /**\n * The **`HTMLTableElement.deleteTFoot()`** method removes the ```js-nolint deleteTFoot() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/deleteTFoot)\n */\n deleteTFoot(): void;\n /**\n * The **`HTMLTableElement.deleteTHead()`** removes the ```js-nolint deleteTHead() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/deleteTHead)\n */\n deleteTHead(): void;\n /**\n * The **`insertRow()`** method of the HTMLTableElement interface inserts a new row (tr) in a given table, and returns a reference to the new row.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableElement/insertRow)\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/**\n * The **`HTMLTableRowElement`** interface 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement)\n */\ninterface HTMLTableRowElement extends HTMLElement {\n /**\n * The **`align`** property of the HTMLTableRowElement interface is a string indicating how to horizontally align text in the tr table row.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/align)\n */\n align: string;\n /**\n * The **`HTMLTableRowElement.bgColor`** property is used to set the background color of a row or retrieve the value of the obsolete `bgColor` attribute, if present.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/bgColor)\n */\n bgColor: string;\n /**\n * The **`cells`** read-only property of the HTMLTableRowElement interface returns a live HTMLCollection containing the cells in the row.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/cells)\n */\n readonly cells: HTMLCollectionOf<HTMLTableCellElement>;\n /**\n * The **`ch`** property of the HTMLTableRowElement interface does nothing.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/ch)\n */\n ch: string;\n /**\n * The **`chOff`** property of the HTMLTableRowElement interface does nothing.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/chOff)\n */\n chOff: string;\n /**\n * The **`rowIndex`** read-only property of the HTMLTableRowElement interface represents the position of a row within the whole table.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/rowIndex)\n */\n readonly rowIndex: number;\n /**\n * The **`sectionRowIndex`** read-only property of the HTMLTableRowElement interface represents the position of a row within the current section (thead, tbody, or tfoot).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/sectionRowIndex)\n */\n readonly sectionRowIndex: number;\n /**\n * The **`vAlign`** property of the HTMLTableRowElement interface is a string indicating how to vertically align text in a tr table row.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/vAlign)\n */\n vAlign: string;\n /**\n * The **`deleteCell()`** method of the HTMLTableRowElement interface removes a specific row cell from a given tr.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/deleteCell)\n */\n deleteCell(index: number): void;\n /**\n * The **`insertCell()`** method of the HTMLTableRowElement interface inserts a new cell (td) into a table row (tr) and returns a reference to the cell.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableRowElement/insertCell)\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/**\n * The **`HTMLTableSectionElement`** interface 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 (thead, tfoot, and tbody, respectively) in an HTML table.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement)\n */\ninterface HTMLTableSectionElement extends HTMLElement {\n /**\n * The **`align`** property of the HTMLTableSectionElement interface is a string indicating how to horizontally align text in a thead, tbody or tfoot table section.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/align)\n */\n align: string;\n /**\n * The **`ch`** property of the HTMLTableSectionElement interface does nothing.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/ch)\n */\n ch: string;\n /**\n * The **`chOff`** property of the HTMLTableSectionElement interface does nothing.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/chOff)\n */\n chOff: string;\n /**\n * The **`rows`** read-only property of the HTMLTableSectionElement interface returns a live HTMLCollection containing the rows in the section.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/rows)\n */\n readonly rows: HTMLCollectionOf<HTMLTableRowElement>;\n /**\n * The **`vAlign`** property of the HTMLTableSectionElement interface is a string indicating how to vertically align text in a thead, tbody or tfoot table section.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/vAlign)\n */\n vAlign: string;\n /**\n * The **`deleteRow()`** method of the HTMLTableSectionElement interface removes a specific row (tr) from a given section.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/deleteRow)\n */\n deleteRow(index: number): void;\n /**\n * The **`insertRow()`** method of the HTMLTableSectionElement interface inserts a new row (tr) in the given table sectioning element (thead, tfoot, or ```js-nolint insertRow() insertRow(index) ``` - `index` [MISSING: optional_inline] - : The row index of the new row.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTableSectionElement/insertRow)\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/**\n * The **`HTMLTemplateElement`** interface enables access to the contents of an HTML template element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement)\n */\ninterface HTMLTemplateElement extends HTMLElement {\n /**\n * The **`HTMLTemplateElement.content`** property returns a `<template>` element\'s template contents (a A DocumentFragment.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/content)\n */\n readonly content: DocumentFragment;\n /**\n * The **`shadowRootClonable`** property reflects the value of the `shadowrootclonable` attribute of the associated `<template>` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable)\n */\n shadowRootClonable: boolean;\n /**\n * The **`shadowRootDelegatesFocus`** property of the HTMLTemplateElement interface reflects the value of the `shadowrootdelegatesfocus` attribute of the associated `<template>` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootDelegatesFocus)\n */\n shadowRootDelegatesFocus: boolean;\n /**\n * The **`shadowRootMode`** property of the HTMLTemplateElement interface reflects the value of the `shadowrootmode` attribute of the associated `<template>` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootMode)\n */\n shadowRootMode: string;\n /**\n * The **`shadowRootSerializable`** property reflects the value of the `shadowrootserializable` attribute of the associated `<template>` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootSerializable)\n */\n shadowRootSerializable: boolean;\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/**\n * The **`HTMLTextAreaElement`** interface provides properties and methods for manipulating the layout and presentation of textarea elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement)\n */\ninterface HTMLTextAreaElement extends HTMLElement {\n /**\n * The **`autocomplete`** property of the HTMLTextAreaElement interface indicates whether the value of the control can be automatically completed by the browser.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/autocomplete)\n */\n autocomplete: AutoFill;\n /**\n * The **`cols`** property of the HTMLTextAreaElement interface is a positive integer representing the visible width of the multi-line text control, in average character widths.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/cols)\n */\n cols: number;\n /**\n * The **`defaultValue`** property of the HTMLTextAreaElement interface represents the default text content of this text area.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/defaultValue)\n */\n defaultValue: string;\n /**\n * The **`dirName`** property of the HTMLTextAreaElement interface is the directionality of the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/dirName)\n */\n dirName: string;\n /**\n * The **`disabled`** property of the HTMLTextAreaElement interface indicates whether this multi-line text control is disabled and cannot be interacted with.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/disabled)\n */\n disabled: boolean;\n /**\n * The **`form`** read-only property of the HTMLTextAreaElement interface returns an HTMLFormElement object that owns this textarea, or `null` if this textarea is not owned by any form.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/form)\n */\n readonly form: HTMLFormElement | null;\n /**\n * The **`HTMLTextAreaElement.labels`** read-only property returns a NodeList of the label elements associated with the A NodeList containing the `<label>` elements associated with the `<textArea>` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/labels)\n */\n readonly labels: NodeListOf<HTMLLabelElement>;\n /**\n * The **`maxLength`** property of the HTMLTextAreaElement interface indicates the maximum number of characters (in UTF-16 code units) allowed to be entered for the value of the textarea element, and the maximum number of characters allowed for the value to be valid.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/maxLength)\n */\n maxLength: number;\n /**\n * The **`minLength`** property of the HTMLTextAreaElement interface indicates the minimum number of characters (in UTF-16 code units) required for the value of the textarea element to be valid.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/minLength)\n */\n minLength: number;\n /**\n * The **`name`** property of the HTMLTextAreaElement interface indicates the name of the textarea element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/name)\n */\n name: string;\n /**\n * The **`placeholder`** property of the HTMLTextAreaElement interface represents a hint to the user of what can be entered in the control.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/placeholder)\n */\n placeholder: string;\n /**\n * The **`readOnly`** property of the HTMLTextAreaElement interface indicates that the user cannot modify the value of the control.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/readOnly)\n */\n readOnly: boolean;\n /**\n * The **`required`** property of the HTMLTextAreaElement interface specifies that the user must fill in a value before submitting a form.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/required)\n */\n required: boolean;\n /**\n * The **`rows`** property of the HTMLTextAreaElement interface is a positive integer representing the visible text lines of the text control.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/rows)\n */\n rows: number;\n /**\n * <!-- --> The **`selectionDirection`** property of the HTMLTextAreaElement interface specifies the current direction of the selection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionDirection)\n */\n selectionDirection: "forward" | "backward" | "none";\n /**\n * The **`selectionEnd`** property of the HTMLTextAreaElement interface specifies the end position of the current text selection in a textarea element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionEnd)\n */\n selectionEnd: number;\n /**\n * The **`selectionStart`** property of the HTMLTextAreaElement interface specifies the start position of the current text selection in a textarea element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionStart)\n */\n selectionStart: number;\n /**\n * The **`textLength`** read-only property of the HTMLTextAreaElement interface is a non-negative integer representing the number of characters, in UTF-16 code units, of the textarea element\'s value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength)\n */\n readonly textLength: number;\n /**\n * The **`type`** read-only property of the HTMLTextAreaElement interface returns the string `\'textarea\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/type)\n */\n readonly type: string;\n /**\n * The **`validationMessage`** read-only property of the HTMLTextAreaElement interface returns a string representing a localized message that describes the validation constraints that the textarea control does not satisfy (if any).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/validationMessage)\n */\n readonly validationMessage: string;\n /**\n * The **`validity`** read-only property of the HTMLTextAreaElement interface returns a ValidityState object that represents the validity states this element is in.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/validity)\n */\n readonly validity: ValidityState;\n /**\n * The **`value`** property of the HTMLTextAreaElement interface represents the value of the textarea element as a string, which is an empty string if the widget contains no content.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/value)\n */\n value: string;\n /**\n * The **`willValidate`** read-only property of the HTMLTextAreaElement interface indicates whether the textarea element is a candidate for constraint validation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/willValidate)\n */\n readonly willValidate: boolean;\n /**\n * The **`wrap`** property of the HTMLTextAreaElement interface indicates how the control should wrap the value for form submission.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/wrap)\n */\n wrap: string;\n /**\n * The **`checkValidity()`** method of the HTMLTextAreaElement interface returns a boolean value which indicates if the element meets any constraint validation rules applied to it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/checkValidity)\n */\n checkValidity(): boolean;\n /**\n * The **`reportValidity()`** method of the HTMLTextAreaElement interface performs the same validity checking steps as the HTMLTextAreaElement.checkValidity method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/reportValidity)\n */\n reportValidity(): boolean;\n /**\n * The **`select()`** method of the HTMLTextAreaElement interface selects the entire contents of the textarea element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/select)\n */\n select(): void;\n /**\n * The **`setCustomValidity()`** method of the HTMLTextAreaElement interface sets the custom validity message for the textarea element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setCustomValidity)\n */\n setCustomValidity(error: string): void;\n /**\n * The **`setRangeText()`** method of the HTMLTextAreaElement interface replaces a range of text in a textarea element with new text passed as the argument.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setRangeText)\n */\n setRangeText(replacement: string): void;\n setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;\n /**\n * The **`setSelectionRange()`** method of the HTMLTextAreaElement interface sets the start and end positions of the current text selection, and optionally the direction, in a textarea element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setSelectionRange)\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/**\n * The **`HTMLTimeElement`** interface provides special properties (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating time elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTimeElement)\n */\ninterface HTMLTimeElement extends HTMLElement {\n /**\n * The **`dateTime`** property of the HTMLTimeElement interface is a string that reflects the `datetime` HTML attribute, containing a machine-readable form of the element\'s date and time value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTimeElement/dateTime)\n */\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/**\n * The **`HTMLTitleElement`** interface is implemented by a document\'s title.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTitleElement)\n */\ninterface HTMLTitleElement extends HTMLElement {\n /**\n * The **`text`** property of the HTMLTitleElement interface represents the child text content of the document\'s title as a string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTitleElement/text)\n */\n text: string;\n addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTitleElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var HTMLTitleElement: {\n prototype: HTMLTitleElement;\n new(): HTMLTitleElement;\n};\n\n/**\n * The **`HTMLTrackElement`** interface represents an HTML track element within the DOM.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement)\n */\ninterface HTMLTrackElement extends HTMLElement {\n /**\n * The **`default`** property of the HTMLTrackElement interface represents whether the track will be enabled if the user\'s preferences do not indicate that another track would be more appropriate.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/default)\n */\n default: boolean;\n /**\n * The **`kind`** property of the HTMLTrackElement interface represents the type of track, or how the text track is meant to be used.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/kind)\n */\n kind: string;\n /**\n * The **`label`** property of the HTMLTrackElement represents the user-readable title displayed when listing subtitle, caption, and audio descriptions for a track.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/label)\n */\n label: string;\n /**\n * The **`readyState`** read-only property of the HTMLTrackElement interface returns a number representing the track element\'s text track readiness state: 0.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/readyState)\n */\n readonly readyState: number;\n /**\n * The **`src`** property of the HTMLTrackElement interface reflects the value of the track element\'s `src` attribute, which indicates the URL of the text track\'s data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/src)\n */\n src: string;\n /**\n * The **`srclang`** property of the HTMLTrackElement interface reflects the value of the track element\'s `srclang` attribute or the empty string if not defined.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/srclang)\n */\n srclang: string;\n /**\n * The **`track`** read-only property of the HTMLTrackElement interface returns a TextTrack object corresponding to the text track of the track element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/track)\n */\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/**\n * The **`HTMLUListElement`** interface provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating unordered list (ul) elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLUListElement)\n */\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/**\n * The **`HTMLUnknownElement`** interface represents an invalid HTML element and derives from the HTMLElement interface, but without implementing any additional properties or methods.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLUnknownElement)\n */\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": PictureInPictureEvent;\n "leavepictureinpicture": PictureInPictureEvent;\n}\n\n/**\n * Implemented by the video element, the **`HTMLVideoElement`** interface provides special properties and methods for manipulating video objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement)\n */\ninterface HTMLVideoElement extends HTMLMediaElement {\n /**\n * The HTMLVideoElement **`disablePictureInPicture`** property reflects the HTML attribute indicating whether the picture-in-picture feature is disabled for the current element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/disablePictureInPicture)\n */\n disablePictureInPicture: boolean;\n /**\n * The **`height`** property of the HTMLVideoElement interface returns an integer that reflects the `height` attribute of the video element, specifying the displayed height of the resource in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/height)\n */\n height: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/enterpictureinpicture_event) */\n onenterpictureinpicture: ((this: HTMLVideoElement, ev: PictureInPictureEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/leavepictureinpicture_event) */\n onleavepictureinpicture: ((this: HTMLVideoElement, ev: PictureInPictureEvent) => any) | null;\n playsInline: boolean;\n /**\n * The **`poster`** property of the HTMLVideoElement interface is a string that reflects the URL for an image to be shown while no video data is available.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/poster)\n */\n poster: string;\n /**\n * The HTMLVideoElement interface\'s read-only **`videoHeight`** property indicates the intrinsic height of the video, expressed in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/videoHeight)\n */\n readonly videoHeight: number;\n /**\n * The HTMLVideoElement interface\'s read-only **`videoWidth`** property indicates the intrinsic width of the video, expressed in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/videoWidth)\n */\n readonly videoWidth: number;\n /**\n * The **`width`** property of the HTMLVideoElement interface returns an integer that reflects the `width` attribute of the video element, specifying the displayed width of the resource in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/width)\n */\n width: number;\n /**\n * The **`cancelVideoFrameCallback()`** method of the HTMLVideoElement interface cancels a previously-registered video frame callback.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/cancelVideoFrameCallback)\n */\n cancelVideoFrameCallback(handle: number): void;\n /**\n * The **HTMLVideoElement** method **`getVideoPlaybackQuality()`** creates and returns a frames have been lost.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/getVideoPlaybackQuality)\n */\n getVideoPlaybackQuality(): VideoPlaybackQuality;\n /**\n * The **HTMLVideoElement** method **`requestPictureInPicture()`** issues an asynchronous request to display the video in picture-in-picture mode.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestPictureInPicture)\n */\n requestPictureInPicture(): Promise<PictureInPictureWindow>;\n /**\n * The **`requestVideoFrameCallback()`** method of the HTMLVideoElement interface registers a callback function that runs when a new video frame is sent to the compositor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestVideoFrameCallback)\n */\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/**\n * The **`HashChangeEvent`** interface represents events that fire when the fragment identifier of the URL has changed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HashChangeEvent)\n */\ninterface HashChangeEvent extends Event {\n /**\n * The **`newURL`** read-only property of the navigating.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HashChangeEvent/newURL)\n */\n readonly newURL: string;\n /**\n * The **`oldURL`** read-only property of the was navigated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HashChangeEvent/oldURL)\n */\n readonly oldURL: string;\n}\n\ndeclare var HashChangeEvent: {\n prototype: HashChangeEvent;\n new(type: string, eventInitDict?: HashChangeEventInit): HashChangeEvent;\n};\n\n/**\n * The **`Headers`** interface of the Fetch API allows you to perform various actions on HTTP request and response headers.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers)\n */\ninterface Headers {\n /**\n * The **`append()`** method of the Headers interface appends a new value onto an existing header inside a `Headers` object, or adds the header if it does not already exist.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/append)\n */\n append(name: string, value: string): void;\n /**\n * The **`delete()`** method of the Headers interface deletes a header from the current `Headers` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/delete)\n */\n delete(name: string): void;\n /**\n * The **`get()`** method of the Headers interface returns a byte string of all the values of a header within a `Headers` object with a given name.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/get)\n */\n get(name: string): string | null;\n /**\n * The **`getSetCookie()`** method of the Headers interface returns an array containing the values of all Set-Cookie headers associated with a response.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/getSetCookie)\n */\n getSetCookie(): string[];\n /**\n * The **`has()`** method of the Headers interface returns a boolean stating whether a `Headers` object contains a certain header.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/has)\n */\n has(name: string): boolean;\n /**\n * The **`set()`** method of the Headers interface sets a new value for an existing header inside a `Headers` object, or adds the header if it does not already exist.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/set)\n */\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/**\n * The **`Highlight`** interface of the CSS Custom Highlight API is used to represent a collection of Range instances to be styled using the API.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight)\n */\ninterface Highlight {\n /**\n * It is possible to create Range objects that overlap in a document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight/priority)\n */\n priority: number;\n /**\n * The `type` property of the Highlight interface is an enumerated String used to specify the meaning of the highlight.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight/type)\n */\n type: HighlightType;\n forEach(callbackfn: (value: AbstractRange, key: AbstractRange, parent: Highlight) => void, thisArg?: any): void;\n}\n\ndeclare var Highlight: {\n prototype: Highlight;\n new(...initialRanges: AbstractRange[]): Highlight;\n};\n\n/**\n * The **`HighlightRegistry`** interface of the CSS Custom Highlight API is used to register Highlight objects to be styled using the API.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HighlightRegistry)\n */\ninterface HighlightRegistry {\n forEach(callbackfn: (value: Highlight, key: string, parent: HighlightRegistry) => void, thisArg?: any): void;\n}\n\ndeclare var HighlightRegistry: {\n prototype: HighlightRegistry;\n new(): HighlightRegistry;\n};\n\n/**\n * The **`History`** interface of the History API allows manipulation of the browser _session history_, that is the pages visited in the tab or frame that the current page is loaded in.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/History)\n */\ninterface History {\n /**\n * The **`length`** read-only property of the History interface returns an integer representing the number of entries in the session history, including the currently loaded page.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/History/length)\n */\n readonly length: number;\n /**\n * The **`scrollRestoration`** property of the History interface allows web applications to explicitly set default scroll restoration behavior on history navigation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/History/scrollRestoration)\n */\n scrollRestoration: ScrollRestoration;\n /**\n * The **`state`** read-only property of the History interface returns a value representing the state at the top of the history stack.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/History/state)\n */\n readonly state: any;\n /**\n * The **`back()`** method of the History interface causes the browser to move back one page in the session history.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/History/back)\n */\n back(): void;\n /**\n * The **`forward()`** method of the History interface causes the browser to move forward one page in the session history.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/History/forward)\n */\n forward(): void;\n /**\n * The **`go()`** method of the History interface loads a specific page from the session history.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/History/go)\n */\n go(delta?: number): void;\n /**\n * The **`pushState()`** method of the History interface adds an entry to the browser\'s session history stack.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/History/pushState)\n */\n pushState(data: any, unused: string, url?: string | URL | null): void;\n /**\n * The **`replaceState()`** method of the History interface modifies the current history entry, replacing it with the state object and URL passed in the method parameters.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/History/replaceState)\n */\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/**\n * The **`IDBCursor`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor)\n */\ninterface IDBCursor {\n /**\n * The **`direction`** read-only property of the direction of traversal of the cursor (set using section below for possible values.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/direction)\n */\n readonly direction: IDBCursorDirection;\n /**\n * The **`key`** read-only property of the position.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/key)\n */\n readonly key: IDBValidKey;\n /**\n * The **`primaryKey`** read-only property of the cursor is currently being iterated or has iterated outside its range, this is set to undefined.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/primaryKey)\n */\n readonly primaryKey: IDBValidKey;\n /**\n * The **`request`** read-only property of the IDBCursor interface returns the IDBRequest used to obtain the cursor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/request)\n */\n readonly request: IDBRequest;\n /**\n * The **`source`** read-only property of the null or throws an exception, even if the cursor is currently being iterated, has iterated past its end, or its transaction is not active.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/source)\n */\n readonly source: IDBObjectStore | IDBIndex;\n /**\n * The **`advance()`** method of the IDBCursor interface sets the number of times a cursor should move its position forward.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/advance)\n */\n advance(count: number): void;\n /**\n * The **`continue()`** method of the IDBCursor interface advances the cursor to the next position along its direction, to the item whose key matches the optional key parameter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/continue)\n */\n continue(key?: IDBValidKey): void;\n /**\n * The **`continuePrimaryKey()`** method of the matches the key parameter as well as whose primary key matches the primary key parameter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/continuePrimaryKey)\n */\n continuePrimaryKey(key: IDBValidKey, primaryKey: IDBValidKey): void;\n /**\n * The **`delete()`** method of the IDBCursor interface returns an IDBRequest object, and, in a separate thread, deletes the record at the cursor\'s position, without changing the cursor\'s position.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/delete)\n */\n delete(): IDBRequest<undefined>;\n /**\n * The **`update()`** method of the IDBCursor interface returns an IDBRequest object, and, in a separate thread, updates the value at the current position of the cursor in the object store.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/update)\n */\n update(value: any): IDBRequest<IDBValidKey>;\n}\n\ndeclare var IDBCursor: {\n prototype: IDBCursor;\n new(): IDBCursor;\n};\n\n/**\n * The **`IDBCursorWithValue`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue)\n */\ninterface IDBCursorWithValue extends IDBCursor {\n /**\n * The **`value`** read-only property of the whatever that is.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue/value)\n */\n readonly value: any;\n}\n\ndeclare var IDBCursorWithValue: {\n prototype: IDBCursorWithValue;\n new(): IDBCursorWithValue;\n};\n\ninterface IDBDatabaseEventMap {\n "abort": Event;\n "close": Event;\n "error": Event;\n "versionchange": IDBVersionChangeEvent;\n}\n\n/**\n * The **`IDBDatabase`** interface of the IndexedDB API 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase)\n */\ninterface IDBDatabase extends EventTarget {\n /**\n * The **`name`** read-only property of the `IDBDatabase` interface is a string that contains the name of the connected database.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/name)\n */\n readonly name: string;\n /**\n * The **`objectStoreNames`** read-only property of the list of the names of the object stores currently in the connected database.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)\n */\n readonly objectStoreNames: DOMStringList;\n onabort: ((this: IDBDatabase, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */\n onclose: ((this: IDBDatabase, ev: Event) => any) | null;\n onerror: ((this: IDBDatabase, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/versionchange_event) */\n onversionchange: ((this: IDBDatabase, ev: IDBVersionChangeEvent) => any) | null;\n /**\n * The **`version`** property of the IDBDatabase interface is a 64-bit integer that contains the version of the connected database.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/version)\n */\n readonly version: number;\n /**\n * The **`close()`** method of the IDBDatabase interface returns immediately and closes the connection in a separate thread.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close)\n */\n close(): void;\n /**\n * The **`createObjectStore()`** method of the The method takes the name of the store as well as a parameter object that lets you define important optional properties.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/createObjectStore)\n */\n createObjectStore(name: string, options?: IDBObjectStoreParameters): IDBObjectStore;\n /**\n * The **`deleteObjectStore()`** method of the the connected database, along with any indexes that reference it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/deleteObjectStore)\n */\n deleteObjectStore(name: string): void;\n /**\n * The **`transaction`** method of the IDBDatabase interface immediately returns a transaction object (IDBTransaction) containing the IDBTransaction.objectStore method, which you can use to access your object store.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)\n */\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/**\n * The **`IDBFactory`** interface of the IndexedDB API lets applications asynchronously access the indexed databases.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory)\n */\ninterface IDBFactory {\n /**\n * The **`cmp()`** method of the IDBFactory interface compares two values as keys to determine equality and ordering for IndexedDB operations, such as storing and iterating.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/cmp)\n */\n cmp(first: any, second: any): number;\n /**\n * The **`databases`** method of the IDBFactory interface returns a Promise that fulfills with an array of objects containing the name and version of all the available databases.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/databases)\n */\n databases(): Promise<IDBDatabaseInfo[]>;\n /**\n * The **`deleteDatabase()`** method of the returns an IDBOpenDBRequest object immediately, and performs the deletion operation asynchronously.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/deleteDatabase)\n */\n deleteDatabase(name: string): IDBOpenDBRequest;\n /**\n * The **`open()`** method of the IDBFactory interface requests opening a connection to a database.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/open)\n */\n open(name: string, version?: number): IDBOpenDBRequest;\n}\n\ndeclare var IDBFactory: {\n prototype: IDBFactory;\n new(): IDBFactory;\n};\n\n/**\n * `IDBIndex` interface of the IndexedDB API provides asynchronous access to an index in a database.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex)\n */\ninterface IDBIndex {\n /**\n * The **`keyPath`** property of the IDBIndex interface returns the key path of the current index.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/keyPath)\n */\n readonly keyPath: string | string[];\n /**\n * The **`multiEntry`** read-only property of the behaves when the result of evaluating the index\'s key path yields an array.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/multiEntry)\n */\n readonly multiEntry: boolean;\n /**\n * The **`name`** property of the IDBIndex interface contains a string which names the index.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/name)\n */\n name: string;\n /**\n * The **`objectStore`** property of the IDBIndex interface returns the object store referenced by the current index.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/objectStore)\n */\n readonly objectStore: IDBObjectStore;\n /**\n * The **`unique`** read-only property returns a boolean that states whether the index allows duplicate keys.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/unique)\n */\n readonly unique: boolean;\n /**\n * The **`count()`** method of the IDBIndex interface returns an IDBRequest object, and in a separate thread, returns the number of records within a key range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/count)\n */\n count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;\n /**\n * The **`get()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the value in the referenced object store that corresponds to the given key or the first corresponding value, if `key` is set to an If a value is found, then a structured clone of it is created and set as the `result` of the request object: this returns the record the key is associated with.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/get)\n */\n get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;\n /**\n * The **`getAll()`** method of the IDBIndex interface retrieves all objects that are inside the index.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAll)\n */\n getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;\n /**\n * The **`getAllKeys()`** method of the IDBIndex interface asynchronously retrieves the primary keys of all objects inside the index, setting them as the `result` of the request object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAllKeys)\n */\n getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;\n /**\n * The **`getKey()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the primary key that corresponds to the given key in this index or the first corresponding primary key, if `key` is set to an If a primary key is found, it is set as the `result` of the request object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getKey)\n */\n getKey(query: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;\n /**\n * The **`openCursor()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, creates a cursor over the specified key range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/openCursor)\n */\n openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;\n /**\n * The **`openKeyCursor()`** method of the a separate thread, creates a cursor over the specified key range, as arranged by this index.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/openKeyCursor)\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/**\n * The **`IDBKeyRange`** interface of the IndexedDB API represents a continuous interval over some data type that is used for keys.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange)\n */\ninterface IDBKeyRange {\n /**\n * The **`lower`** read-only property of the The lower bound of the key range (can be any type.) The following example illustrates how you\'d use a key range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lower)\n */\n readonly lower: any;\n /**\n * The **`lowerOpen`** read-only property of the lower-bound value is included in the key range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerOpen)\n */\n readonly lowerOpen: boolean;\n /**\n * The **`upper`** read-only property of the The upper bound of the key range (can be any type.) The following example illustrates how you\'d use a key range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upper)\n */\n readonly upper: any;\n /**\n * The **`upperOpen`** read-only property of the upper-bound value is included in the key range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperOpen)\n */\n readonly upperOpen: boolean;\n /**\n * The `includes()` method of the IDBKeyRange interface returns a boolean indicating whether a specified key is inside the key range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/includes)\n */\n includes(key: any): boolean;\n}\n\ndeclare var IDBKeyRange: {\n prototype: IDBKeyRange;\n new(): IDBKeyRange;\n /**\n * The **`bound()`** static method of the IDBKeyRange interface creates a new key range with the specified upper and lower bounds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/bound_static)\n */\n bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;\n /**\n * The **`lowerBound()`** static method of the By default, it includes the lower endpoint value and is closed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerBound_static)\n */\n lowerBound(lower: any, open?: boolean): IDBKeyRange;\n /**\n * The **`only()`** static method of the IDBKeyRange interface creates a new key range containing a single value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/only_static)\n */\n only(value: any): IDBKeyRange;\n /**\n * The **`upperBound()`** static method of the it includes the upper endpoint value and is closed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperBound_static)\n */\n upperBound(upper: any, open?: boolean): IDBKeyRange;\n};\n\n/**\n * The **`IDBObjectStore`** interface of the IndexedDB API represents an object store in a database.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore)\n */\ninterface IDBObjectStore {\n /**\n * The **`autoIncrement`** read-only property of the for this object store.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/autoIncrement)\n */\n readonly autoIncrement: boolean;\n /**\n * The **`indexNames`** read-only property of the in this object store.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/indexNames)\n */\n readonly indexNames: DOMStringList;\n /**\n * The **`keyPath`** read-only property of the If this property is null, the application must provide a key for each modification operation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)\n */\n readonly keyPath: string | string[] | null;\n /**\n * The **`name`** property of the IDBObjectStore interface indicates the name of this object store.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/name)\n */\n name: string;\n /**\n * The **`transaction`** read-only property of the object store belongs.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/transaction)\n */\n readonly transaction: IDBTransaction;\n /**\n * The **`add()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, creates a structured clone of the value, and stores the cloned value in the object store.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/add)\n */\n add(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;\n /**\n * The **`clear()`** method of the IDBObjectStore interface creates and immediately returns an IDBRequest object, and clears this object store in a separate thread.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/clear)\n */\n clear(): IDBRequest<undefined>;\n /**\n * The **`count()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the total number of records that match the provided key or of records in the store.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/count)\n */\n count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;\n /**\n * The **`createIndex()`** method of the field/column defining a new data point for each database record to contain.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)\n */\n createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;\n /**\n * The **`delete()`** method of the and, in a separate thread, deletes the specified record or records.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/delete)\n */\n delete(query: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;\n /**\n * The **`deleteIndex()`** method of the the connected database, used during a version upgrade.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/deleteIndex)\n */\n deleteIndex(name: string): void;\n /**\n * The **`get()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the object selected by the specified key.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/get)\n */\n get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;\n /**\n * The **`getAll()`** method of the containing all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)\n */\n getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;\n /**\n * The `getAllKeys()` method of the IDBObjectStore interface returns an IDBRequest object retrieves record keys for all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAllKeys)\n */\n getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;\n /**\n * The **`getKey()`** method of the and, in a separate thread, returns the key selected by the specified query.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getKey)\n */\n getKey(query: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;\n /**\n * The **`index()`** method of the IDBObjectStore interface opens a named index in the current object store, after which it can be used to, for example, return a series of records sorted by that index using a cursor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/index)\n */\n index(name: string): IDBIndex;\n /**\n * The **`openCursor()`** method of the and, in a separate thread, returns a new IDBCursorWithValue object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openCursor)\n */\n openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;\n /**\n * The **`openKeyCursor()`** method of the whose result will be set to an IDBCursor that can be used to iterate through matching results.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openKeyCursor)\n */\n openKeyCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursor | null>;\n /**\n * The **`put()`** method of the IDBObjectStore interface updates a given record in a database, or inserts a new record if the given item does not already exist.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/put)\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/**\n * The **`IDBOpenDBRequest`** interface of the IndexedDB API provides access to the results of requests to open or delete databases (performed using IDBFactory.open and IDBFactory.deleteDatabase), using specific event handler attributes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBOpenDBRequest)\n */\ninterface IDBOpenDBRequest extends IDBRequest<IDBDatabase> {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBOpenDBRequest/blocked_event) */\n onblocked: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBOpenDBRequest/upgradeneeded_event) */\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/**\n * The **`IDBRequest`** interface of the IndexedDB API provides access to results of asynchronous requests to databases and database objects using event handler attributes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest)\n */\ninterface IDBRequest<T = any> extends EventTarget {\n /**\n * The **`error`** read-only property of the request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/error)\n */\n readonly error: DOMException | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/error_event) */\n onerror: ((this: IDBRequest<T>, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/success_event) */\n onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;\n /**\n * The **`readyState`** read-only property of the Every request starts in the `pending` state.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/readyState)\n */\n readonly readyState: IDBRequestReadyState;\n /**\n * The **`result`** read-only property of the any - `InvalidStateError` DOMException - : Thrown when attempting to access the property if the request is not completed, and therefore the result is not available.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/result)\n */\n readonly result: T;\n /**\n * The **`source`** read-only property of the Index or an object store.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/source)\n */\n readonly source: IDBObjectStore | IDBIndex | IDBCursor;\n /**\n * The **`transaction`** read-only property of the IDBRequest interface returns the transaction for the request, that is, the transaction the request is being made inside.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/transaction)\n */\n readonly transaction: IDBTransaction | null;\n addEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBRequest: {\n prototype: IDBRequest;\n new(): IDBRequest;\n};\n\ninterface IDBTransactionEventMap {\n "abort": Event;\n "complete": Event;\n "error": Event;\n}\n\n/**\n * The **`IDBTransaction`** interface of the IndexedDB API provides a static, asynchronous transaction on a database using event handler attributes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction)\n */\ninterface IDBTransaction extends EventTarget {\n /**\n * The **`db`** read-only property of the IDBTransaction interface returns the database connection with which this transaction is associated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/db)\n */\n readonly db: IDBDatabase;\n /**\n * The **`durability`** read-only property of the IDBTransaction interface returns the durability hint the transaction was created with.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/durability)\n */\n readonly durability: IDBTransactionDurability;\n /**\n * The **`IDBTransaction.error`** property of the IDBTransaction interface returns the type of error when there is an unsuccessful transaction.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/error)\n */\n readonly error: DOMException | null;\n /**\n * The **`mode`** read-only property of the data in the object stores in the scope of the transaction (i.e., is the mode to be read-only, or do you want to write to the object stores?) The default value is `readonly`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/mode)\n */\n readonly mode: IDBTransactionMode;\n /**\n * The **`objectStoreNames`** read-only property of the of IDBObjectStore objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames)\n */\n readonly objectStoreNames: DOMStringList;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */\n onabort: ((this: IDBTransaction, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/complete_event) */\n oncomplete: ((this: IDBTransaction, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/error_event) */\n onerror: ((this: IDBTransaction, ev: Event) => any) | null;\n /**\n * The **`abort()`** method of the IDBTransaction interface rolls back all the changes to objects in the database associated with this transaction.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort)\n */\n abort(): void;\n /**\n * The **`commit()`** method of the IDBTransaction interface commits the transaction if it is called on an active transaction.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/commit)\n */\n commit(): void;\n /**\n * The **`objectStore()`** method of the added to the scope of this transaction.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStore)\n */\n objectStore(name: string): IDBObjectStore;\n addEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBTransaction: {\n prototype: IDBTransaction;\n new(): IDBTransaction;\n};\n\n/**\n * The **`IDBVersionChangeEvent`** interface of the IndexedDB API indicates that the version of the database has changed, as the result of an IDBOpenDBRequest.upgradeneeded_event event handler function.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent)\n */\ninterface IDBVersionChangeEvent extends Event {\n /**\n * The **`newVersion`** read-only property of the database.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/newVersion)\n */\n readonly newVersion: number | null;\n /**\n * The **`oldVersion`** read-only property of the database.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/oldVersion)\n */\n readonly oldVersion: number;\n}\n\ndeclare var IDBVersionChangeEvent: {\n prototype: IDBVersionChangeEvent;\n new(type: string, eventInitDict?: IDBVersionChangeEventInit): IDBVersionChangeEvent;\n};\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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IIRFilterNode)\n */\ninterface IIRFilterNode extends AudioNode {\n /**\n * The `getFrequencyResponse()` method of the IIRFilterNode interface takes the current filtering algorithm\'s settings and calculates the frequency response for frequencies specified in a specified array of frequencies.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IIRFilterNode/getFrequencyResponse)\n */\n getFrequencyResponse(frequencyHz: Float32Array<ArrayBuffer>, magResponse: Float32Array<ArrayBuffer>, phaseResponse: Float32Array<ArrayBuffer>): void;\n}\n\ndeclare var IIRFilterNode: {\n prototype: IIRFilterNode;\n new(context: BaseAudioContext, options: IIRFilterOptions): IIRFilterNode;\n};\n\n/**\n * The `IdleDeadline` interface is used as the data type of the input parameter to idle callbacks established by calling Window.requestIdleCallback().\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IdleDeadline)\n */\ninterface IdleDeadline {\n /**\n * The read-only **`didTimeout`** property on the **IdleDeadline** interface is a Boolean value which indicates whether or not the idle callback is being invoked because the timeout interval specified when Window.requestIdleCallback() was called has expired.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IdleDeadline/didTimeout)\n */\n readonly didTimeout: boolean;\n /**\n * The **`timeRemaining()`** method on the IdleDeadline interface returns the estimated number of milliseconds remaining in the current idle period.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IdleDeadline/timeRemaining)\n */\n timeRemaining(): DOMHighResTimeStamp;\n}\n\ndeclare var IdleDeadline: {\n prototype: IdleDeadline;\n new(): IdleDeadline;\n};\n\n/**\n * The **`ImageBitmap`** interface represents a bitmap image which can be drawn to a canvas without undue latency.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmap)\n */\ninterface ImageBitmap {\n /**\n * The **`ImageBitmap.height`** read-only property returns the ImageBitmap object\'s height in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmap/height)\n */\n readonly height: number;\n /**\n * The **`ImageBitmap.width`** read-only property returns the ImageBitmap object\'s width in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmap/width)\n */\n readonly width: number;\n /**\n * The **`ImageBitmap.close()`** method disposes of all graphical resources associated with an `ImageBitmap`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmap/close)\n */\n close(): void;\n}\n\ndeclare var ImageBitmap: {\n prototype: ImageBitmap;\n new(): ImageBitmap;\n};\n\n/**\n * The **`ImageBitmapRenderingContext`** interface is a canvas rendering context that provides the functionality to replace the canvas\'s contents with the given ImageBitmap.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext)\n */\ninterface ImageBitmapRenderingContext {\n /**\n * The **`ImageBitmapRenderingContext.canvas`** property, part of the Canvas API, is a read-only reference to the A HTMLCanvasElement or OffscreenCanvas object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext/canvas)\n */\n readonly canvas: HTMLCanvasElement | OffscreenCanvas;\n /**\n * The **`ImageBitmapRenderingContext.transferFromImageBitmap()`** method displays the given ImageBitmap in the canvas associated with this rendering context.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext/transferFromImageBitmap)\n */\n transferFromImageBitmap(bitmap: ImageBitmap | null): void;\n}\n\ndeclare var ImageBitmapRenderingContext: {\n prototype: ImageBitmapRenderingContext;\n new(): ImageBitmapRenderingContext;\n};\n\n/**\n * The **`ImageCapture`** interface of the MediaStream Image Capture API provides methods to enable the capture of images or photos from a camera or other photographic device.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture)\n */\ninterface ImageCapture {\n /**\n * The **`track`** read-only property of the A MediaStreamTrack object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/track)\n */\n readonly track: MediaStreamTrack;\n /**\n * The **`getPhotoCapabilities()`** method of the ImageCapture interface returns a Promise that resolves with an object containing the ranges of available configuration options.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/getPhotoCapabilities)\n */\n getPhotoCapabilities(): Promise<PhotoCapabilities>;\n /**\n * The **`getPhotoSettings()`** method of the ImageCapture interface returns a Promise that resolves with an object containing the current photo configuration settings.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/getPhotoSettings)\n */\n getPhotoSettings(): Promise<PhotoSettings>;\n /**\n * The **`takePhoto()`** method of the device sourcing a MediaStreamTrack and returns a Promise that resolves with a Blob containing the data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageCapture/takePhoto)\n */\n takePhoto(photoSettings?: PhotoSettings): Promise<Blob>;\n}\n\ndeclare var ImageCapture: {\n prototype: ImageCapture;\n new(videoTrack: MediaStreamTrack): ImageCapture;\n};\n\n/**\n * The **`ImageData`** interface represents the underlying pixel data of an area of a canvas element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData)\n */\ninterface ImageData {\n /**\n * The read-only **`ImageData.colorSpace`** property is a string indicating the color space of the image data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/colorSpace)\n */\n readonly colorSpace: PredefinedColorSpace;\n /**\n * The readonly **`ImageData.data`** property returns a pixel data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)\n */\n readonly data: ImageDataArray;\n /**\n * The readonly **`ImageData.height`** property returns the number of rows in the ImageData object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/height)\n */\n readonly height: number;\n /**\n * The readonly **`ImageData.width`** property returns the number of pixels per row in the ImageData object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/width)\n */\n readonly width: number;\n}\n\ndeclare var ImageData: {\n prototype: ImageData;\n new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;\n new(data: ImageDataArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;\n};\n\n/**\n * The **`ImageDecoder`** interface of the WebCodecs API provides a way to unpack and decode encoded image data.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder)\n */\ninterface ImageDecoder {\n /**\n * The **`complete`** read-only property of the ImageDecoder interface returns true if encoded data has completed buffering.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/complete)\n */\n readonly complete: boolean;\n /**\n * The **`completed`** read-only property of the ImageDecoder interface returns a promise that resolves once encoded data has finished buffering.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/completed)\n */\n readonly completed: Promise<void>;\n /**\n * The **`tracks`** read-only property of the ImageDecoder interface returns a list of the tracks in the encoded image data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/tracks)\n */\n readonly tracks: ImageTrackList;\n /**\n * The **`type`** read-only property of the ImageDecoder interface reflects the MIME type configured during construction.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/type)\n */\n readonly type: string;\n /**\n * The **`close()`** method of the ImageDecoder interface ends all pending work and releases system resources.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/close)\n */\n close(): void;\n /**\n * The **`decode()`** method of the ImageDecoder interface enqueues a control message to decode the frame of an image.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/decode)\n */\n decode(options?: ImageDecodeOptions): Promise<ImageDecodeResult>;\n /**\n * The **`reset()`** method of the ImageDecoder interface aborts all pending `decode()` operations; rejecting all pending promises.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/reset)\n */\n reset(): void;\n}\n\ndeclare var ImageDecoder: {\n prototype: ImageDecoder;\n new(init: ImageDecoderInit): ImageDecoder;\n /**\n * The **`ImageDecoder.isTypeSupported()`** static method checks if a given MIME type can be decoded by the user agent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/isTypeSupported_static)\n */\n isTypeSupported(type: string): Promise<boolean>;\n};\n\n/**\n * The **`ImageTrack`** interface of the WebCodecs API represents an individual image track.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack)\n */\ninterface ImageTrack {\n /**\n * The **`animated`** property of the ImageTrack interface returns `true` if the track is animated and therefore has multiple frames.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack/animated)\n */\n readonly animated: boolean;\n /**\n * The **`frameCount`** property of the ImageTrack interface returns the number of frames in the track.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack/frameCount)\n */\n readonly frameCount: number;\n /**\n * The **`repetitionCount`** property of the ImageTrack interface returns the number of repetitions of this track.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack/repetitionCount)\n */\n readonly repetitionCount: number;\n /**\n * The **`selected`** property of the ImageTrack interface returns `true` if the track is selected for decoding.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack/selected)\n */\n selected: boolean;\n}\n\ndeclare var ImageTrack: {\n prototype: ImageTrack;\n new(): ImageTrack;\n};\n\n/**\n * The **`ImageTrackList`** interface of the WebCodecs API represents a list of image tracks.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList)\n */\ninterface ImageTrackList {\n /**\n * The **`length`** property of the ImageTrackList interface returns the length of the `ImageTrackList`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList/length)\n */\n readonly length: number;\n /**\n * The **`ready`** property of the ImageTrackList interface returns a Promise that resolves when the `ImageTrackList` is populated with ImageTrack.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList/ready)\n */\n readonly ready: Promise<void>;\n /**\n * The **`selectedIndex`** property of the ImageTrackList interface returns the `index` of the selected track.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList/selectedIndex)\n */\n readonly selectedIndex: number;\n /**\n * The **`selectedTrack`** property of the ImageTrackList interface returns an ImageTrack object representing the currently selected track.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList/selectedTrack)\n */\n readonly selectedTrack: ImageTrack | null;\n [index: number]: ImageTrack;\n}\n\ndeclare var ImageTrackList: {\n prototype: ImageTrackList;\n new(): ImageTrackList;\n};\n\ninterface ImportMeta {\n url: string;\n resolve(specifier: string): string;\n}\n\n/**\n * The **`InputDeviceInfo`** interface of the Media Capture and Streams API gives access to the capabilities of the input device that it represents.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/InputDeviceInfo)\n */\ninterface InputDeviceInfo extends MediaDeviceInfo {\n /**\n * The **`getCapabilities()`** method of the InputDeviceInfo interface returns a `MediaTrackCapabilities` object describing the primary audio or video track of the device\'s MediaStream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/InputDeviceInfo/getCapabilities)\n */\n getCapabilities(): MediaTrackCapabilities;\n}\n\ndeclare var InputDeviceInfo: {\n prototype: InputDeviceInfo;\n new(): InputDeviceInfo;\n};\n\n/**\n * The **`InputEvent`** interface represents an event notifying the user of editable content changes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/InputEvent)\n */\ninterface InputEvent extends UIEvent {\n /**\n * The **`data`** read-only property of the characters.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/InputEvent/data)\n */\n readonly data: string | null;\n /**\n * The **`dataTransfer`** read-only property of the containing information about richtext or plaintext data being added to or removed from editable content.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/InputEvent/dataTransfer)\n */\n readonly dataTransfer: DataTransfer | null;\n /**\n * The **`inputType`** read-only property of the Possible changes include for example inserting, deleting, and formatting text.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/InputEvent/inputType)\n */\n readonly inputType: string;\n /**\n * The **`InputEvent.isComposing`** read-only property returns a boolean value indicating if the event is fired after A boolean.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/InputEvent/isComposing)\n */\n readonly isComposing: boolean;\n /**\n * The **`getTargetRanges()`** method of the InputEvent interface returns an array of StaticRange objects that will be affected by a change to the DOM if the input event is not canceled.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/InputEvent/getTargetRanges)\n */\n getTargetRanges(): StaticRange[];\n}\n\ndeclare var InputEvent: {\n prototype: InputEvent;\n new(type: string, eventInitDict?: InputEventInit): InputEvent;\n};\n\n/**\n * The **`IntersectionObserver`** interface of the Intersection Observer API 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver)\n */\ninterface IntersectionObserver {\n /**\n * The IntersectionObserver interface\'s read-only **`root`** property identifies the Element or of the viewport for the element which is the observer\'s target.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/root)\n */\n readonly root: Element | Document | null;\n /**\n * The IntersectionObserver interface\'s read-only **`rootMargin`** property is a string with syntax similar to that of the CSS margin property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/rootMargin)\n */\n readonly rootMargin: string;\n /**\n * The IntersectionObserver interface\'s read-only **`thresholds`** property returns the list of intersection thresholds that was specified when the observer was instantiated with only one threshold ratio was provided when instantiating the object, this will be an array containing that single value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/thresholds)\n */\n readonly thresholds: ReadonlyArray<number>;\n /**\n * The IntersectionObserver method **`disconnect()`** stops watching all of its target elements for visibility changes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/disconnect)\n */\n disconnect(): void;\n /**\n * The IntersectionObserver method **`observe()`** adds an element to the set of target elements being watched by the `IntersectionObserver`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/observe)\n */\n observe(target: Element): void;\n /**\n * The IntersectionObserver method **`takeRecords()`** returns an array of has experienced an intersection change since the last time the intersections were checked, either explicitly through a call to this method or implicitly by an automatic call to the observer\'s callback.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/takeRecords)\n */\n takeRecords(): IntersectionObserverEntry[];\n /**\n * The IntersectionObserver method **`unobserve()`** instructs the `IntersectionObserver` to stop observing the specified target element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserver/unobserve)\n */\n unobserve(target: Element): void;\n}\n\ndeclare var IntersectionObserver: {\n prototype: IntersectionObserver;\n new(callback: IntersectionObserverCallback, options?: IntersectionObserverInit): IntersectionObserver;\n};\n\n/**\n * The **`IntersectionObserverEntry`** interface of the Intersection Observer API describes the intersection between the target element and its root container at a specific moment of transition.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry)\n */\ninterface IntersectionObserverEntry {\n /**\n * The IntersectionObserverEntry interface\'s read-only **`boundingClientRect`** property returns a smallest rectangle that contains the entire target element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/boundingClientRect)\n */\n readonly boundingClientRect: DOMRectReadOnly;\n /**\n * The IntersectionObserverEntry interface\'s read-only **`intersectionRatio`** property tells you how much of the target element is currently visible within the root\'s intersection ratio, as a value between 0.0 and 1.0.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/intersectionRatio)\n */\n readonly intersectionRatio: number;\n /**\n * The IntersectionObserverEntry interface\'s read-only **`intersectionRect`** property is a contains the entire portion of the target element which is currently visible within the intersection root.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/intersectionRect)\n */\n readonly intersectionRect: DOMRectReadOnly;\n /**\n * The IntersectionObserverEntry interface\'s read-only **`isIntersecting`** property is a Boolean value which is `true` if the target element intersects with the intersection observer\'s root.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/isIntersecting)\n */\n readonly isIntersecting: boolean;\n /**\n * The IntersectionObserverEntry interface\'s read-only **`rootBounds`** property is a rectangle, offset by the IntersectionObserver.rootMargin if one is specified.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/rootBounds)\n */\n readonly rootBounds: DOMRectReadOnly | null;\n /**\n * The IntersectionObserverEntry interface\'s read-only **`target`** property indicates which targeted root.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/target)\n */\n readonly target: Element;\n /**\n * The IntersectionObserverEntry interface\'s read-only **`time`** property is a change occurred relative to the time at which the document was created.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IntersectionObserverEntry/time)\n */\n readonly time: DOMHighResTimeStamp;\n}\n\ndeclare var IntersectionObserverEntry: {\n prototype: IntersectionObserverEntry;\n new(): IntersectionObserverEntry;\n};\n\n/**\n * The **`KHR_parallel_shader_compile`** extension is part of the WebGL API and enables a non-blocking poll operation, so that compile/link status availability (`COMPLETION_STATUS_KHR`) can be queried without potentially incurring stalls.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KHR_parallel_shader_compile)\n */\ninterface KHR_parallel_shader_compile {\n readonly COMPLETION_STATUS_KHR: 0x91B1;\n}\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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent)\n */\ninterface KeyboardEvent extends UIEvent {\n /**\n * The **`KeyboardEvent.altKey`** read-only property is a boolean value that indicates if the <kbd>alt</kbd> key (<kbd>Option</kbd> or <kbd>⌥</kbd> on macOS) was pressed (`true`) or not (`false`) when the event occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/altKey)\n */\n readonly altKey: boolean;\n /**\n * The **`charCode`** read-only property of the pressed during a Element/keypress_event event.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/charCode)\n */\n readonly charCode: number;\n /**\n * The `KeyboardEvent.code` property represents a physical key on the keyboard (as opposed to the character generated by pressing the key).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/code)\n */\n readonly code: string;\n /**\n * The **`KeyboardEvent.ctrlKey`** read-only property returns a boolean value that indicates if the <kbd>control</kbd> key was pressed (`true`) or not (`false`) when the event occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/ctrlKey)\n */\n readonly ctrlKey: boolean;\n /**\n * The **`KeyboardEvent.isComposing`** read-only property returns a boolean value indicating if the event is fired within a composition session, i.e., after Element/compositionstart_event and before Element/compositionend_event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/isComposing)\n */\n readonly isComposing: boolean;\n /**\n * The KeyboardEvent interface\'s **`key`** read-only property returns the value of the key pressed by the user, taking into consideration the state of modifier keys such as <kbd>Shift</kbd> as well as the keyboard locale and layout.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/key)\n */\n readonly key: string;\n /**\n * The deprecated **`KeyboardEvent.keyCode`** read-only property represents a system and implementation dependent numerical code identifying the unmodified value of the pressed key.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/keyCode)\n */\n readonly keyCode: number;\n /**\n * The **`KeyboardEvent.location`** read-only property returns an `unsigned long` representing the location of the key on the keyboard or other input device.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/location)\n */\n readonly location: number;\n /**\n * The **`KeyboardEvent.metaKey`** read-only property returning a boolean value that indicates if the <kbd>Meta</kbd> key was pressed (`true`) or not (`false`) when the event occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/metaKey)\n */\n readonly metaKey: boolean;\n /**\n * The **`repeat`** read-only property of the `true` if the given key is being held down such that it is automatically repeating.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/repeat)\n */\n readonly repeat: boolean;\n /**\n * The **`KeyboardEvent.shiftKey`** read-only property is a boolean value that indicates if the <kbd>shift</kbd> key was pressed (`true`) or not (`false`) when the event occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/shiftKey)\n */\n readonly shiftKey: boolean;\n /**\n * The **`KeyboardEvent.getModifierState()`** method returns the current state of the specified modifier key: `true` if the modifier is active (that is the modifier key is pressed or locked), otherwise, `false`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/getModifierState)\n */\n getModifierState(keyArg: string): boolean;\n /**\n * The **`KeyboardEvent.initKeyboardEvent()`** method initializes the attributes of a keyboard event object.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyboardEvent/initKeyboardEvent)\n */\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\n/**\n * The **`KeyframeEffect`** interface of the Web Animations API lets us create sets of animatable properties and values, called **keyframes.** These can then be played using the Animation.Animation constructor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyframeEffect)\n */\ninterface KeyframeEffect extends AnimationEffect {\n /**\n * The **`composite`** property of a KeyframeEffect resolves how an element\'s animation impacts its underlying property values.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyframeEffect/composite)\n */\n composite: CompositeOperation;\n /**\n * The **`iterationComposite`** property of a KeyframeEffect resolves how the animation\'s property value changes accumulate or override each other upon each of the animation\'s iterations.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyframeEffect/iterationComposite)\n */\n iterationComposite: IterationCompositeOperation;\n /**\n * The **`pseudoElement`** property of a KeyframeEffect interface is a string representing the pseudo-element being animated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyframeEffect/pseudoElement)\n */\n pseudoElement: string | null;\n /**\n * The **`target`** property of a KeyframeEffect interface represents the element or pseudo-element being animated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyframeEffect/target)\n */\n target: Element | null;\n /**\n * The **`getKeyframes()`** method of a KeyframeEffect returns an Array of the computed keyframes that make up this animation along with their computed offsets.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyframeEffect/getKeyframes)\n */\n getKeyframes(): ComputedKeyframe[];\n /**\n * The **`setKeyframes()`** method of the KeyframeEffect interface replaces the keyframes that make up the affected `KeyframeEffect` with a new set of keyframes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KeyframeEffect/setKeyframes)\n */\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\n/**\n * The `LargestContentfulPaint` interface provides timing information about the largest image or text paint before user input on a web page.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint)\n */\ninterface LargestContentfulPaint extends PerformanceEntry {\n /**\n * The **`element`** read-only property of the LargestContentfulPaint interface returns an object representing the Element that is the largest contentful paint.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/element)\n */\n readonly element: Element | null;\n /**\n * The **`id`** read-only property of the LargestContentfulPaint interface returns the ID of the element that is the largest contentful paint.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/id)\n */\n readonly id: string;\n /**\n * The **`loadTime`** read-only property of the LargestContentfulPaint interface returns the time that the element was loaded.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/loadTime)\n */\n readonly loadTime: DOMHighResTimeStamp;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) */\n readonly renderTime: DOMHighResTimeStamp;\n /**\n * The **`size`** read-only property of the LargestContentfulPaint interface returns the intrinsic size of the element that is the largest contentful paint.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/size)\n */\n readonly size: number;\n /**\n * The **`url`** read-only property of the LargestContentfulPaint interface returns the request URL of the element, if the element is an image.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/url)\n */\n readonly url: string;\n /**\n * The **`toJSON()`** method of the LargestContentfulPaint interface is a Serialization; it returns a JSON representation of the LargestContentfulPaint object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/toJSON)\n */\n toJSON(): any;\n}\n\ndeclare var LargestContentfulPaint: {\n prototype: LargestContentfulPaint;\n new(): LargestContentfulPaint;\n};\n\ninterface LinkStyle {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sheet) */\n readonly sheet: CSSStyleSheet | null;\n}\n\n/**\n * The **`Location`** interface represents the location (URL) of the object it is linked to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Location)\n */\ninterface Location {\n /**\n * The **`ancestorOrigins`** read-only property of the Location interface is a static browsing contexts of the document associated with the given Location object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Location/ancestorOrigins)\n */\n readonly ancestorOrigins: DOMStringList;\n /**\n * The **`hash`** property of the Location interface is a string containing a `\'#\'` followed by the fragment identifier of the location URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Location/hash)\n */\n hash: string;\n /**\n * The **`host`** property of the Location interface is a string containing the host, which is the Location.hostname, and then, if the port of the URL is nonempty, a `\':\'`, followed by the Location.port of the URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Location/host)\n */\n host: string;\n /**\n * The **`hostname`** property of the Location interface is a string containing either the domain name or IP address of the location URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Location/hostname)\n */\n hostname: string;\n /**\n * The **`href`** property of the Location interface is a stringifier that returns a string containing the whole URL, and allows the href to be updated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Location/href)\n */\n href: string;\n toString(): string;\n /**\n * The **`origin`** read-only property of the Location interface returns a string containing the Unicode serialization of the origin of the location\'s URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Location/origin)\n */\n readonly origin: string;\n /**\n * The **`pathname`** property of the Location interface is a string containing the path of the URL for the location.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Location/pathname)\n */\n pathname: string;\n /**\n * The **`port`** property of the Location interface is a string containing the port number of the location\'s URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Location/port)\n */\n port: string;\n /**\n * The **`protocol`** property of the Location interface is a string containing the protocol or scheme of the location\'s URL, including the final `\':\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Location/protocol)\n */\n protocol: string;\n /**\n * The **`search`** property of the Location interface is a search string, also called a _query string_, that is a string containing a `\'?\'` followed by the parameters of the location\'s URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Location/search)\n */\n search: string;\n /**\n * The **`assign()`** method of the Location interface causes the window to load and display the document at the URL specified.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Location/assign)\n */\n assign(url: string | URL): void;\n /**\n * The **`reload()`** method of the Location interface reloads the current URL, like the Refresh button.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Location/reload)\n */\n reload(): void;\n /**\n * The **`replace()`** method of the Location interface replaces the current resource with the one at the provided URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Location/replace)\n */\n replace(url: string | URL): void;\n}\n\ndeclare var Location: {\n prototype: Location;\n new(): Location;\n};\n\n/**\n * The **`Lock`** interface of the Web Locks API provides the name and mode of a lock.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Lock)\n */\ninterface Lock {\n /**\n * The **`mode`** read-only property of the Lock interface returns the access mode passed to LockManager.request() when the lock was requested.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Lock/mode)\n */\n readonly mode: LockMode;\n /**\n * The **`name`** read-only property of the Lock interface returns the _name_ passed to The name of a lock is passed by script when the lock is requested.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Lock/name)\n */\n readonly name: string;\n}\n\ndeclare var Lock: {\n prototype: Lock;\n new(): Lock;\n};\n\n/**\n * The **`LockManager`** interface of the Web Locks API provides methods for requesting a new Lock object and querying for an existing `Lock` object.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LockManager)\n */\ninterface LockManager {\n /**\n * The **`query()`** method of the LockManager interface returns a Promise that resolves with an object containing information about held and pending locks.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LockManager/query)\n */\n query(): Promise<LockManagerSnapshot>;\n /**\n * The **`request()`** method of the LockManager interface requests a Lock object with parameters specifying its name and characteristics.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LockManager/request)\n */\n request<T>(name: string, callback: LockGrantedCallback<T>): Promise<T>;\n request<T>(name: string, options: LockOptions, callback: LockGrantedCallback<T>): Promise<T>;\n}\n\ndeclare var LockManager: {\n prototype: LockManager;\n new(): LockManager;\n};\n\ninterface MIDIAccessEventMap {\n "statechange": MIDIConnectionEvent;\n}\n\n/**\n * The **`MIDIAccess`** interface of the Web MIDI API provides methods for listing MIDI input and output devices, and obtaining access to those devices.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess)\n */\ninterface MIDIAccess extends EventTarget {\n /**\n * The **`inputs`** read-only property of the MIDIAccess interface provides access to any available MIDI input ports.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess/inputs)\n */\n readonly inputs: MIDIInputMap;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess/statechange_event) */\n onstatechange: ((this: MIDIAccess, ev: MIDIConnectionEvent) => any) | null;\n /**\n * The **`outputs`** read-only property of the MIDIAccess interface provides access to any available MIDI output ports.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess/outputs)\n */\n readonly outputs: MIDIOutputMap;\n /**\n * The **`sysexEnabled`** read-only property of the MIDIAccess interface indicates whether system exclusive support is enabled on the current MIDIAccess instance.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIAccess/sysexEnabled)\n */\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/**\n * The **`MIDIConnectionEvent`** interface of the Web MIDI API is the event passed to the MIDIAccess.statechange_event event of the MIDIAccess interface and the MIDIPort.statechange_event event of the MIDIPort interface.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIConnectionEvent)\n */\ninterface MIDIConnectionEvent extends Event {\n /**\n * The **`port`** read-only property of the MIDIConnectionEvent interface returns the port that has been disconnected or connected.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIConnectionEvent/port)\n */\n readonly port: MIDIPort | null;\n}\n\ndeclare var MIDIConnectionEvent: {\n prototype: MIDIConnectionEvent;\n new(type: string, eventInitDict?: MIDIConnectionEventInit): MIDIConnectionEvent;\n};\n\ninterface MIDIInputEventMap extends MIDIPortEventMap {\n "midimessage": MIDIMessageEvent;\n}\n\n/**\n * The **`MIDIInput`** interface of the Web MIDI API receives messages from a MIDI input port.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIInput)\n */\ninterface MIDIInput extends MIDIPort {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIInput/midimessage_event) */\n onmidimessage: ((this: MIDIInput, ev: MIDIMessageEvent) => 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/**\n * The **`MIDIInputMap`** read-only interface of the Web MIDI API provides the set of MIDI input ports that are currently available.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIInputMap)\n */\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/**\n * The **`MIDIMessageEvent`** interface of the Web MIDI API represents the event passed to the MIDIInput.midimessage_event event of the MIDIInput interface.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIMessageEvent)\n */\ninterface MIDIMessageEvent extends Event {\n /**\n * The **`data`** read-only property of the MIDIMessageEvent interface returns the MIDI data bytes of a single MIDI message.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIMessageEvent/data)\n */\n readonly data: Uint8Array<ArrayBuffer> | null;\n}\n\ndeclare var MIDIMessageEvent: {\n prototype: MIDIMessageEvent;\n new(type: string, eventInitDict?: MIDIMessageEventInit): MIDIMessageEvent;\n};\n\n/**\n * The **`MIDIOutput`** interface of the Web MIDI API provides methods to add messages to the queue of an output device, and to clear the queue of messages.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIOutput)\n */\ninterface MIDIOutput extends MIDIPort {\n /**\n * The **`send()`** method of the MIDIOutput interface queues messages for the corresponding MIDI port.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIOutput/send)\n */\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/**\n * The **`MIDIOutputMap`** read-only interface of the Web MIDI API provides the set of MIDI output ports that are currently available.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIOutputMap)\n */\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": MIDIConnectionEvent;\n}\n\n/**\n * The **`MIDIPort`** interface of the Web MIDI API represents a MIDI input or output port.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort)\n */\ninterface MIDIPort extends EventTarget {\n /**\n * The **`connection`** read-only property of the MIDIPort interface returns the connection state of the port.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/connection)\n */\n readonly connection: MIDIPortConnectionState;\n /**\n * The **`id`** read-only property of the MIDIPort interface returns the unique ID of the port.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/id)\n */\n readonly id: string;\n /**\n * The **`manufacturer`** read-only property of the MIDIPort interface returns the manufacturer of the port.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/manufacturer)\n */\n readonly manufacturer: string | null;\n /**\n * The **`name`** read-only property of the MIDIPort interface returns the system name of the port.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/name)\n */\n readonly name: string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/statechange_event) */\n onstatechange: ((this: MIDIPort, ev: MIDIConnectionEvent) => any) | null;\n /**\n * The **`state`** read-only property of the MIDIPort interface returns the state of the port.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/state)\n */\n readonly state: MIDIPortDeviceState;\n /**\n * The **`type`** read-only property of the MIDIPort interface returns the type of the port, indicating whether this is an input or output MIDI port.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/type)\n */\n readonly type: MIDIPortType;\n /**\n * The **`version`** read-only property of the MIDIPort interface returns the version of the port.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/version)\n */\n readonly version: string | null;\n /**\n * The **`close()`** method of the MIDIPort interface makes the access to the MIDI device connected to this `MIDIPort` unavailable.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/close)\n */\n close(): Promise<MIDIPort>;\n /**\n * The **`open()`** method of the MIDIPort interface makes the MIDI device connected to this `MIDIPort` explicitly available.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/open)\n */\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\n/**\n * The **`MathMLElement`** interface represents any MathML element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MathMLElement)\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\n/**\n * The **`MediaCapabilities`** interface of the Media Capabilities API provides information about the decoding abilities of the device, system and browser.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaCapabilities)\n */\ninterface MediaCapabilities {\n /**\n * The **`decodingInfo()`** method of the MediaCapabilities interface returns a promise that fulfils with information about how well the user agent can decode/display media with a given configuration.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaCapabilities/decodingInfo)\n */\n decodingInfo(configuration: MediaDecodingConfiguration): Promise<MediaCapabilitiesDecodingInfo>;\n /**\n * The **`encodingInfo()`** method of the MediaCapabilities interface returns a promise that fulfills with the tested media configuration\'s capabilities for encoding media.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaCapabilities/encodingInfo)\n */\n encodingInfo(configuration: MediaEncodingConfiguration): Promise<MediaCapabilitiesEncodingInfo>;\n}\n\ndeclare var MediaCapabilities: {\n prototype: MediaCapabilities;\n new(): MediaCapabilities;\n};\n\n/**\n * The **`MediaDeviceInfo`** interface of the Media Capture and Streams API contains information that describes a single media input or output device.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaDeviceInfo)\n */\ninterface MediaDeviceInfo {\n /**\n * The **`deviceId`** read-only property of the MediaDeviceInfo interface returns a string that is an identifier for the represented device and is persisted across sessions.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaDeviceInfo/deviceId)\n */\n readonly deviceId: string;\n /**\n * The **`groupId`** read-only property of the MediaDeviceInfo interface returns a string that is a group identifier.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaDeviceInfo/groupId)\n */\n readonly groupId: string;\n /**\n * The **`kind`** read-only property of the MediaDeviceInfo interface returns an enumerated value, that is either `\'videoinput\'`, `\'audioinput\'` or `\'audiooutput\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaDeviceInfo/kind)\n */\n readonly kind: MediaDeviceKind;\n /**\n * The **`label`** read-only property of the MediaDeviceInfo interface returns a string describing this device (for example \'External USB Webcam\').\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaDeviceInfo/label)\n */\n readonly label: string;\n /**\n * The **`toJSON()`** method of the MediaDeviceInfo interface is a Serialization; it returns a JSON representation of the MediaDeviceInfo object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaDeviceInfo/toJSON)\n */\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 * The **`MediaDevices`** interface of the Media Capture and Streams API provides access to connected media input devices like cameras and microphones, as well as screen sharing.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaDevices)\n */\ninterface MediaDevices extends EventTarget {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaDevices/devicechange_event) */\n ondevicechange: ((this: MediaDevices, ev: Event) => any) | null;\n /**\n * The **`enumerateDevices()`** method of the MediaDevices interface requests a list of the currently available media input and output devices, such as microphones, cameras, headsets, and so forth.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaDevices/enumerateDevices)\n */\n enumerateDevices(): Promise<MediaDeviceInfo[]>;\n /**\n * The **`getDisplayMedia()`** method of the MediaDevices interface prompts the user to select and grant permission to capture the contents of a display or portion thereof (such as a window) as a MediaStream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaDevices/getDisplayMedia)\n */\n getDisplayMedia(options?: DisplayMediaStreamOptions): Promise<MediaStream>;\n /**\n * The **`getSupportedConstraints()`** method of the MediaDevices interface returns an object based on the MediaTrackSupportedConstraints dictionary, whose member fields each specify one of the constrainable properties the user agent understands.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaDevices/getSupportedConstraints)\n */\n getSupportedConstraints(): MediaTrackSupportedConstraints;\n /**\n * The **`getUserMedia()`** method of the MediaDevices interface prompts the user for permission to use a media input which produces a MediaStream with tracks containing the requested types of media.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaDevices/getUserMedia)\n */\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/**\n * The `MediaElementAudioSourceNode` interface represents an audio source consisting of an HTML audio or video element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaElementAudioSourceNode)\n */\ninterface MediaElementAudioSourceNode extends AudioNode {\n /**\n * The MediaElementAudioSourceNode interface\'s read-only **`mediaElement`** property indicates the receiving audio.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaElementAudioSourceNode/mediaElement)\n */\n readonly mediaElement: HTMLMediaElement;\n}\n\ndeclare var MediaElementAudioSourceNode: {\n prototype: MediaElementAudioSourceNode;\n new(context: AudioContext, options: MediaElementAudioSourceOptions): MediaElementAudioSourceNode;\n};\n\n/**\n * The **`MediaEncryptedEvent`** interface of the Encrypted Media Extensions API contains the information associated with an HTMLMediaElement/encrypted_event event sent to a HTMLMediaElement when some initialization data is encountered in the media.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaEncryptedEvent)\n */\ninterface MediaEncryptedEvent extends Event {\n /**\n * The read-only **`initData`** property of the MediaKeyMessageEvent returns the initialization data contained in this event, if any.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaEncryptedEvent/initData)\n */\n readonly initData: ArrayBuffer | null;\n /**\n * The read-only **`initDataType`** property of the MediaKeyMessageEvent returns a case-sensitive string describing the type of the initialization data associated with this event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaEncryptedEvent/initDataType)\n */\n readonly initDataType: string;\n}\n\ndeclare var MediaEncryptedEvent: {\n prototype: MediaEncryptedEvent;\n new(type: string, eventInitDict?: MediaEncryptedEventInit): MediaEncryptedEvent;\n};\n\n/**\n * The **`MediaError`** interface represents an error which occurred while handling media in an HTML media element based on HTMLMediaElement, such as audio or video.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaError)\n */\ninterface MediaError {\n /**\n * The read-only property **`MediaError.code`** returns a numeric value which represents the kind of error that occurred on a media element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaError/code)\n */\n readonly code: number;\n /**\n * The read-only property **`MediaError.message`** returns a human-readable string offering specific diagnostic details related to the error described by the `MediaError` object, or an empty string (`\'\'`) if no diagnostic information can be determined or provided.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaError/message)\n */\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 * The **`MediaKeyMessageEvent`** interface of the Encrypted Media Extensions API contains the content and related data when the content decryption module generates a message for the session.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeyMessageEvent)\n */\ninterface MediaKeyMessageEvent extends Event {\n /**\n * The **`MediaKeyMessageEvent.message`** read-only property returns an ArrayBuffer with a message from the content decryption module.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeyMessageEvent/message)\n */\n readonly message: ArrayBuffer;\n /**\n * The **`MediaKeyMessageEvent.messageType`** read-only property indicates the type of message.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeyMessageEvent/messageType)\n */\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 * The **`MediaKeySession`** interface of the Encrypted Media Extensions API represents a context for message exchange with a content decryption module (CDM).\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySession)\n */\ninterface MediaKeySession extends EventTarget {\n /**\n * The **`closed`** read-only property of the MediaKeySession interface returns a Promise signaling when a MediaKeySession closes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySession/closed)\n */\n readonly closed: Promise<MediaKeySessionClosedReason>;\n /**\n * The **`expiration`** read-only property of the MediaKeySession interface returns the time after which the keys in the current session can no longer be used to decrypt media data, or NaN if no such time exists.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySession/expiration)\n */\n readonly expiration: number;\n /**\n * The **`keyStatuses`** read-only property of the MediaKeySession interface returns a reference to a read-only MediaKeyStatusMap of the current session\'s keys and their statuses.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySession/keyStatuses)\n */\n readonly keyStatuses: MediaKeyStatusMap;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySession/keystatuseschange_event) */\n onkeystatuseschange: ((this: MediaKeySession, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySession/message_event) */\n onmessage: ((this: MediaKeySession, ev: MediaKeyMessageEvent) => any) | null;\n /**\n * The **`sessionId`** read-only property of the MediaKeySession interface contains a unique string generated by the content decryption module (CDM) for the current media object and its associated keys or licenses.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySession/sessionId)\n */\n readonly sessionId: string;\n /**\n * The `close()` method of the MediaKeySession interface notifies that the current media session is no longer needed, and that the content decryption module should release any resources associated with this object and close it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySession/close)\n */\n close(): Promise<void>;\n /**\n * The `generateRequest()` method of the MediaKeySession interface returns a Promise after generating a license request based on initialization data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySession/generateRequest)\n */\n generateRequest(initDataType: string, initData: BufferSource): Promise<void>;\n /**\n * The `load()` method of the MediaKeySession interface returns a Promise that resolves to a boolean value after loading data for a specified session object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySession/load)\n */\n load(sessionId: string): Promise<boolean>;\n /**\n * The `remove()` method of the MediaKeySession interface returns a Promise after removing any session data associated with the current object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySession/remove)\n */\n remove(): Promise<void>;\n /**\n * The `update()` method of the MediaKeySession interface loads messages and licenses to the CDM, and then returns a Promise.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySession/update)\n */\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 * The **`MediaKeyStatusMap`** interface of the Encrypted Media Extensions API is a read-only map of media key statuses by key IDs.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeyStatusMap)\n */\ninterface MediaKeyStatusMap {\n /**\n * The **`size`** read-only property of the MediaKeyStatusMap interface returns the number of key/value paIrs in the status map.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeyStatusMap/size)\n */\n readonly size: number;\n /**\n * The **`get()`** method of the MediaKeyStatusMap interface returns the status value associated with the given key, or `undefined` if there is none.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeyStatusMap/get)\n */\n get(keyId: BufferSource): MediaKeyStatus | undefined;\n /**\n * The **`has()`** method of the whether a value has been associated with the given key.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeyStatusMap/has)\n */\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 * The **`MediaKeySystemAccess`** interface of the Encrypted Media Extensions API provides access to a Key System for decryption and/or a content protection provider.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySystemAccess)\n */\ninterface MediaKeySystemAccess {\n /**\n * The **`keySystem`** read-only property of the MediaKeySystemAccess interface returns a string identifying the key system being used.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySystemAccess/keySystem)\n */\n readonly keySystem: string;\n /**\n * The `MediaKeySystemAccess.createMediaKeys()` method returns a ```js-nolint createMediaKeys() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySystemAccess/createMediaKeys)\n */\n createMediaKeys(): Promise<MediaKeys>;\n /**\n * The **`getConfiguration()`** method of the MediaKeySystemAccess interface returns an object with the supported combination of the following configuration options: - `initDataTypes` [MISSING: ReadOnlyInline] - : Returns a list of supported initialization data type names.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeySystemAccess/getConfiguration)\n */\n getConfiguration(): MediaKeySystemConfiguration;\n}\n\ndeclare var MediaKeySystemAccess: {\n prototype: MediaKeySystemAccess;\n new(): MediaKeySystemAccess;\n};\n\n/**\n * The **`MediaKeys`** interface of Encrypted Media Extensions API 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 *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys)\n */\ninterface MediaKeys {\n /**\n * The `createSession()` method of the MediaKeys interface returns a new MediaKeySession object, which represents a context for message exchange with a content decryption module (CDM).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/createSession)\n */\n createSession(sessionType?: MediaKeySessionType): MediaKeySession;\n /**\n * The `getStatusForPolicy()` method of the MediaKeys interface is used to check whether the Content Decryption Module (CDM) would allow the presentation of encrypted media data using the keys, based on the specified policy requirements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/getStatusForPolicy)\n */\n getStatusForPolicy(policy?: MediaKeysPolicy): Promise<MediaKeyStatus>;\n /**\n * The **`setServerCertificate()`** method of the MediaKeys interface provides a server certificate to be used to encrypt messages to the license server.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaKeys/setServerCertificate)\n */\n setServerCertificate(serverCertificate: BufferSource): Promise<boolean>;\n}\n\ndeclare var MediaKeys: {\n prototype: MediaKeys;\n new(): MediaKeys;\n};\n\n/**\n * The **`MediaList`** interface represents the media queries of a stylesheet, e.g., those set using a link element\'s `media` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaList)\n */\ninterface MediaList {\n /**\n * The read-only **`length`** property of the MediaList interface returns the number of media queries in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaList/length)\n */\n readonly length: number;\n /**\n * The **`mediaText`** property of the MediaList interface is a stringifier that returns a string representing the `MediaList` as text, and also allows you to set a new `MediaList`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaList/mediaText)\n */\n mediaText: string;\n toString(): string;\n /**\n * The `appendMedium()` method of the MediaList interface adds a media query to the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaList/appendMedium)\n */\n appendMedium(medium: string): void;\n /**\n * The `deleteMedium()` method of the MediaList interface removes from this `MediaList` the given media query.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaList/deleteMedium)\n */\n deleteMedium(medium: string): void;\n /**\n * The **`item()`** method of the MediaList interface returns the media query at the specified `index`, or `null` if the specified `index` doesn\'t exist.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaList/item)\n */\n item(index: number): string | null;\n [index: number]: string;\n}\n\ndeclare var MediaList: {\n prototype: MediaList;\n new(): MediaList;\n};\n\n/**\n * The **`MediaMetadata`** interface of the Media Session API allows a web page to provide rich media metadata for display in a platform UI.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaMetadata)\n */\ninterface MediaMetadata {\n /**\n * The **`album`** property of the collection containing the media to be played.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaMetadata/album)\n */\n album: string;\n /**\n * The **`artist`** property of the creator, etc., of the media to be played.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaMetadata/artist)\n */\n artist: string;\n /**\n * The **`artwork`** property of the objects representing images associated with playing media.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaMetadata/artwork)\n */\n artwork: ReadonlyArray<MediaImage>;\n /**\n * The **`title`** property of the played.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaMetadata/title)\n */\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/**\n * A **`MediaQueryList`** object stores information on a media query applied to a document, with support for both immediate and event-driven matching against the state of the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList)\n */\ninterface MediaQueryList extends EventTarget {\n /**\n * The **`matches`** read-only property of the `true` if the document currently matches the media query list, or `false` if not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/matches)\n */\n readonly matches: boolean;\n /**\n * The **`media`** read-only property of the serialized media query.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/media)\n */\n readonly media: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/change_event) */\n onchange: ((this: MediaQueryList, ev: MediaQueryListEvent) => any) | null;\n /**\n * The deprecated **`addListener()`** method of the `MediaQueryListener` that will run a custom callback function in response to the media query status changing.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/addListener)\n */\n addListener(callback: ((this: MediaQueryList, ev: MediaQueryListEvent) => any) | null): void;\n /**\n * The **`removeListener()`** method of the `MediaQueryListener`.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryList/removeListener)\n */\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\n/**\n * The `MediaQueryListEvent` object stores information on the changes that have happened to a MediaQueryList object — instances are available as the event object on a function referenced by a MediaQueryList.change_event event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryListEvent)\n */\ninterface MediaQueryListEvent extends Event {\n /**\n * The **`matches`** read-only property of the `true` if the document currently matches the media query list, or `false` if not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryListEvent/matches)\n */\n readonly matches: boolean;\n /**\n * The **`media`** read-only property of the a serialized media query.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaQueryListEvent/media)\n */\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": ErrorEvent;\n "pause": Event;\n "resume": Event;\n "start": Event;\n "stop": Event;\n}\n\n/**\n * The **`MediaRecorder`** interface of the MediaStream Recording API provides functionality to easily record media.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder)\n */\ninterface MediaRecorder extends EventTarget {\n /**\n * The **`audioBitsPerSecond`** read-only property of the MediaRecorder interface returns the audio encoding bit rate in use.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/audioBitsPerSecond)\n */\n readonly audioBitsPerSecond: number;\n /**\n * The **`mimeType`** read-only property of the MediaRecorder interface returns the MIME media type that was specified when creating the MediaRecorder object, or, if none was specified, which was chosen by the browser.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/mimeType)\n */\n readonly mimeType: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/dataavailable_event) */\n ondataavailable: ((this: MediaRecorder, ev: BlobEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/error_event) */\n onerror: ((this: MediaRecorder, ev: ErrorEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/pause_event) */\n onpause: ((this: MediaRecorder, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/resume_event) */\n onresume: ((this: MediaRecorder, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/start_event) */\n onstart: ((this: MediaRecorder, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/stop_event) */\n onstop: ((this: MediaRecorder, ev: Event) => any) | null;\n /**\n * The **`state`** read-only property of the MediaRecorder interface returns the current state of the current `MediaRecorder` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/state)\n */\n readonly state: RecordingState;\n /**\n * The **`stream`** read-only property of the MediaRecorder interface returns the stream that was passed into the MediaRecorder.MediaRecorder constructor when the `MediaRecorder` was created.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/stream)\n */\n readonly stream: MediaStream;\n /**\n * The **`videoBitsPerSecond`** read-only property of the MediaRecorder interface returns the video encoding bit rate in use.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/videoBitsPerSecond)\n */\n readonly videoBitsPerSecond: number;\n /**\n * The **`pause()`** method of the MediaRecorder interface is used to pause recording of media streams.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/pause)\n */\n pause(): void;\n /**\n * The **`requestData()`** method of the MediaRecorder interface is used to raise a MediaRecorder.dataavailable_event event containing a called.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/requestData)\n */\n requestData(): void;\n /**\n * The **`resume()`** method of the MediaRecorder interface is used to resume media recording when it has been previously paused.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/resume)\n */\n resume(): void;\n /**\n * The **`start()`** method of the MediaRecorder interface begins recording media into one or more Blob objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/start)\n */\n start(timeslice?: number): void;\n /**\n * The **`stop()`** method of the MediaRecorder interface is used to stop media capture.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/stop)\n */\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 /**\n * The **`isTypeSupported()`** static method of the MediaRecorder interface returns a Boolean which is `true` if the MIME media type specified is one the user agent should be able to successfully record.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaRecorder/isTypeSupported_static)\n */\n isTypeSupported(type: string): boolean;\n};\n\n/**\n * The **`MediaSession`** interface of the Media Session API allows a web page to provide custom behaviors for standard media playback interactions, and to report metadata that can be sent by the user agent to the device or operating system for presentation in standardized user interface elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSession)\n */\ninterface MediaSession {\n /**\n * The **`metadata`** property of the MediaSession interface contains a MediaMetadata object providing descriptive information about the currently playing media, or `null` if the metadata has not been set.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSession/metadata)\n */\n metadata: MediaMetadata | null;\n /**\n * The **`playbackState`** property of the playing or paused.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSession/playbackState)\n */\n playbackState: MediaSessionPlaybackState;\n /**\n * The **`setActionHandler()`** method of the MediaSession interface sets a handler for a media session action.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSession/setActionHandler)\n */\n setActionHandler(action: MediaSessionAction, handler: MediaSessionActionHandler | null): void;\n /**\n * The **`setCameraActive()`** method of the MediaSession interface is used to indicate to the user agent whether the user\'s camera is considered to be active.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSession/setCameraActive)\n */\n setCameraActive(active: boolean): Promise<void>;\n /**\n * The **`setMicrophoneActive()`** method of the MediaSession interface is used to indicate to the user agent whether the user\'s microphone is considered to be currently muted.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSession/setMicrophoneActive)\n */\n setMicrophoneActive(active: boolean): Promise<void>;\n /**\n * The **`setPositionState()`** method of the document\'s media playback position and speed for presentation by user\'s device in any kind of interface that provides details about ongoing media.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSession/setPositionState)\n */\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/**\n * The **`MediaSource`** interface of the Media Source Extensions API represents a source of media data for an HTMLMediaElement object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource)\n */\ninterface MediaSource extends EventTarget {\n /**\n * The **`activeSourceBuffers`** read-only property of the containing a subset of the SourceBuffer objects contained within providing the selected video track, enabled audio tracks, and shown/hidden text tracks.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/activeSourceBuffers)\n */\n readonly activeSourceBuffers: SourceBufferList;\n /**\n * The **`duration`** property of the MediaSource interface gets and sets the duration of the current media being presented.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/duration)\n */\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 /**\n * The **`readyState`** read-only property of the current `MediaSource`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/readyState)\n */\n readonly readyState: ReadyState;\n /**\n * The **`sourceBuffers`** read-only property of the containing the list of SourceBuffer objects associated with this `MediaSource`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/sourceBuffers)\n */\n readonly sourceBuffers: SourceBufferList;\n /**\n * The **`addSourceBuffer()`** method of the given MIME type and adds it to the `MediaSource`\'s `SourceBuffer` is also returned.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/addSourceBuffer)\n */\n addSourceBuffer(type: string): SourceBuffer;\n /**\n * The **`clearLiveSeekableRange()`** method of the to MediaSource.setLiveSeekableRange().\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/clearLiveSeekableRange)\n */\n clearLiveSeekableRange(): void;\n /**\n * The **`endOfStream()`** method of the ```js-nolint endOfStream() endOfStream(endOfStreamError) ``` - `endOfStreamError` MISSING: optional_inline] - : A string representing an error to throw when the end of the stream is reached.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/endOfStream)\n */\n endOfStream(error?: EndOfStreamError): void;\n /**\n * The **`removeSourceBuffer()`** method of the MediaSource interface removes the given SourceBuffer from the SourceBufferList associated with this `MediaSource` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/removeSourceBuffer)\n */\n removeSourceBuffer(sourceBuffer: SourceBuffer): void;\n /**\n * The **`setLiveSeekableRange()`** method of the media element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/setLiveSeekableRange)\n */\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 /**\n * The **`canConstructInDedicatedWorker`** static property of the MediaSource interface returns `true` if `MediaSource` worker support is implemented, providing a low-latency feature detection mechanism.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/canConstructInDedicatedWorker_static)\n */\n readonly canConstructInDedicatedWorker: boolean;\n /**\n * The **`MediaSource.isTypeSupported()`** static method returns a boolean value which is `true` if the given MIME type and (optional) codec are _likely_ to be supported by the current user agent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSource/isTypeSupported_static)\n */\n isTypeSupported(type: string): boolean;\n};\n\n/**\n * The **`MediaSourceHandle`** interface of the Media Source Extensions API is a proxy for a MediaSource that can be transferred from a dedicated worker back to the main thread and attached to a media element via its HTMLMediaElement.srcObject property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle)\n */\ninterface MediaSourceHandle {\n}\n\ndeclare var MediaSourceHandle: {\n prototype: MediaSourceHandle;\n new(): MediaSourceHandle;\n};\n\ninterface MediaStreamEventMap {\n "addtrack": MediaStreamTrackEvent;\n "removetrack": MediaStreamTrackEvent;\n}\n\n/**\n * The **`MediaStream`** interface of the Media Capture and Streams API represents a stream of media content.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream)\n */\ninterface MediaStream extends EventTarget {\n /**\n * The **`active`** read-only property of the `true` if the stream is currently active; otherwise, it returns `false`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/active)\n */\n readonly active: boolean;\n /**\n * The **`id`** read-only property of the MediaStream interface is a string containing 36 characters denoting a unique identifier (GUID) for the object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/id)\n */\n readonly id: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/addtrack_event) */\n onaddtrack: ((this: MediaStream, ev: MediaStreamTrackEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/removetrack_event) */\n onremovetrack: ((this: MediaStream, ev: MediaStreamTrackEvent) => any) | null;\n /**\n * The **`addTrack()`** method of the MediaStream interface adds a new track to the stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/addTrack)\n */\n addTrack(track: MediaStreamTrack): void;\n /**\n * The **`clone()`** method of the MediaStream interface creates a duplicate of the `MediaStream`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/clone)\n */\n clone(): MediaStream;\n /**\n * The **`getAudioTracks()`** method of the stream\'s track set where MediaStreamTrack.kind is `audio`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/getAudioTracks)\n */\n getAudioTracks(): MediaStreamTrack[];\n /**\n * The **`getTrackById()`** method of the MediaStream interface returns a MediaStreamTrack object representing the track with the specified ID string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/getTrackById)\n */\n getTrackById(trackId: string): MediaStreamTrack | null;\n /**\n * The **`getTracks()`** method of the stream\'s track set, regardless of MediaStreamTrack.kind.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/getTracks)\n */\n getTracks(): MediaStreamTrack[];\n /**\n * The **`getVideoTracks()`** method of the ```js-nolint getVideoTracks() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/getVideoTracks)\n */\n getVideoTracks(): MediaStreamTrack[];\n /**\n * The **`removeTrack()`** method of the MediaStream interface removes a ```js-nolint removeTrack(track) ``` - `track` - : A MediaStreamTrack that will be removed from the stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStream/removeTrack)\n */\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\n/**\n * The `MediaStreamAudioDestinationNode` interface represents an audio destination consisting of a WebRTC MediaStream with a single `AudioMediaStreamTrack`, which can be used in a similar way to a `MediaStream` obtained from MediaDevices.getUserMedia.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamAudioDestinationNode)\n */\ninterface MediaStreamAudioDestinationNode extends AudioNode {\n /**\n * The `stream` property of the AudioContext interface represents a MediaStream containing a single audio MediaStreamTrack with the same number of channels as the node itself.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamAudioDestinationNode/stream)\n */\n readonly stream: MediaStream;\n}\n\ndeclare var MediaStreamAudioDestinationNode: {\n prototype: MediaStreamAudioDestinationNode;\n new(context: AudioContext, options?: AudioNodeOptions): MediaStreamAudioDestinationNode;\n};\n\n/**\n * The **`MediaStreamAudioSourceNode`** interface is 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamAudioSourceNode)\n */\ninterface MediaStreamAudioSourceNode extends AudioNode {\n /**\n * The MediaStreamAudioSourceNode interface\'s read-only **`mediaStream`** property indicates the receiving audio.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamAudioSourceNode/mediaStream)\n */\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/**\n * The **`MediaStreamTrack`** interface of the Media Capture and Streams API represents a single media track within a stream; typically, these are audio or video tracks, but other track types may exist as well.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack)\n */\ninterface MediaStreamTrack extends EventTarget {\n /**\n * The **`contentHint`** property of the MediaStreamTrack interface is a string that hints at the type of content the track contains.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/contentHint)\n */\n contentHint: string;\n /**\n * The **`enabled`** property of the `true` if the track is allowed to render the source stream or `false` if it is not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/enabled)\n */\n enabled: boolean;\n /**\n * The **`id`** read-only property of the MediaStreamTrack interface returns a string containing a unique identifier (GUID) for the track, which is generated by the user agent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/id)\n */\n readonly id: string;\n /**\n * The **`kind`** read-only property of the MediaStreamTrack interface returns a string set to `\'audio\'` if the track is an audio track and to `\'video\'` if it is a video track.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/kind)\n */\n readonly kind: string;\n /**\n * The **`label`** read-only property of the MediaStreamTrack interface returns a string containing a user agent-assigned label that identifies the track source, as in `\'internal microphone\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/label)\n */\n readonly label: string;\n /**\n * The **`muted`** read-only property of the indicating whether or not the track is currently unable to provide media output.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/muted)\n */\n readonly muted: boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/ended_event) */\n onended: ((this: MediaStreamTrack, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/mute_event) */\n onmute: ((this: MediaStreamTrack, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/unmute_event) */\n onunmute: ((this: MediaStreamTrack, ev: Event) => any) | null;\n /**\n * The **`readyState`** read-only property of the MediaStreamTrack interface returns an enumerated value giving the status of the track.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/readyState)\n */\n readonly readyState: MediaStreamTrackState;\n /**\n * The **`applyConstraints()`** method of the MediaStreamTrack interface applies a set of constraints to the track; these constraints let the website or app establish ideal values and acceptable ranges of values for the constrainable properties of the track, such as frame rate, dimensions, echo cancellation, and so forth.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/applyConstraints)\n */\n applyConstraints(constraints?: MediaTrackConstraints): Promise<void>;\n /**\n * The **`clone()`** method of the MediaStreamTrack interface creates a duplicate of the `MediaStreamTrack`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/clone)\n */\n clone(): MediaStreamTrack;\n /**\n * The **`getCapabilities()`** method of the MediaStreamTrack interface returns an object detailing the accepted values or value range for each constrainable property of the associated `MediaStreamTrack`, based upon the platform and user agent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/getCapabilities)\n */\n getCapabilities(): MediaTrackCapabilities;\n /**\n * The **`getConstraints()`** method of the MediaStreamTrack interface returns a recently established for the track using a prior call to constraints indicate values and ranges of values that the website or application has specified are required or acceptable for the included constrainable properties.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/getConstraints)\n */\n getConstraints(): MediaTrackConstraints;\n /**\n * The **`getSettings()`** method of the object containing the current values of each of the constrainable properties for the current `MediaStreamTrack`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/getSettings)\n */\n getSettings(): MediaTrackSettings;\n /**\n * The **`stop()`** method of the MediaStreamTrack interface stops the track.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrack/stop)\n */\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/**\n * The **`MediaStreamTrackEvent`** interface of the Media Capture and Streams API represents events which indicate that a MediaStream has had tracks added to or removed from the stream through calls to Media Capture and Streams API methods.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackEvent)\n */\ninterface MediaStreamTrackEvent extends Event {\n /**\n * The **`track`** read-only property of the MediaStreamTrackEvent interface returns the MediaStreamTrack associated with this event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackEvent/track)\n */\n readonly track: MediaStreamTrack;\n}\n\ndeclare var MediaStreamTrackEvent: {\n prototype: MediaStreamTrackEvent;\n new(type: string, eventInitDict: MediaStreamTrackEventInit): MediaStreamTrackEvent;\n};\n\n/**\n * The **`MessageChannel`** interface of the Channel Messaging API allows us to create a new message channel and send data through it via its two MessagePort properties.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel)\n */\ninterface MessageChannel {\n /**\n * The **`port1`** read-only property of the the port attached to the context that originated the channel.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port1)\n */\n readonly port1: MessagePort;\n /**\n * The **`port2`** read-only property of the the port attached to the context at the other end of the channel, which the message is initially sent to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port2)\n */\n readonly port2: MessagePort;\n}\n\ndeclare var MessageChannel: {\n prototype: MessageChannel;\n new(): MessageChannel;\n};\n\n/**\n * The **`MessageEvent`** interface represents a message received by a target object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent)\n */\ninterface MessageEvent<T = any> extends Event {\n /**\n * The **`data`** read-only property of the The data sent by the message emitter; this can be any data type, depending on what originated this event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/data)\n */\n readonly data: T;\n /**\n * The **`lastEventId`** read-only property of the unique ID for the event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/lastEventId)\n */\n readonly lastEventId: string;\n /**\n * The **`origin`** read-only property of the origin of the message emitter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/origin)\n */\n readonly origin: string;\n /**\n * The **`ports`** read-only property of the containing all MessagePort objects sent with the message, in order.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/ports)\n */\n readonly ports: ReadonlyArray<MessagePort>;\n /**\n * The **`source`** read-only property of the a WindowProxy, MessagePort, or a `MessageEventSource` (which can be a WindowProxy, message emitter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)\n */\n readonly source: MessageEventSource | null;\n /** @deprecated */\n initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void;\n}\n\ndeclare var MessageEvent: {\n prototype: MessageEvent;\n new<T>(type: string, eventInitDict?: MessageEventInit<T>): MessageEvent<T>;\n};\n\ninterface MessageEventTargetEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\ninterface MessageEventTarget<T> {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/message_event) */\n onmessage: ((this: T, ev: MessageEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/messageerror_event) */\n onmessageerror: ((this: T, ev: MessageEvent) => any) | null;\n addEventListener<K extends keyof MessageEventTargetEventMap>(type: K, listener: (this: T, ev: MessageEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MessageEventTargetEventMap>(type: K, listener: (this: T, ev: MessageEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface MessagePortEventMap extends MessageEventTargetEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/**\n * The **`MessagePort`** interface of the Channel Messaging API 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort)\n */\ninterface MessagePort extends EventTarget, MessageEventTarget<MessagePort> {\n /**\n * The **`close()`** method of the MessagePort interface disconnects the port, so it is no longer active.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/close)\n */\n close(): void;\n /**\n * The **`postMessage()`** method of the transfers ownership of objects to other browsing contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage)\n */\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: StructuredSerializeOptions): void;\n /**\n * The **`start()`** method of the MessagePort interface starts the sending of messages queued on the port.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/start)\n */\n start(): void;\n addEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MessagePort: {\n prototype: MessagePort;\n new(): MessagePort;\n};\n\n/**\n * The **`MimeType`** interface provides contains information about a MIME type associated with a particular plugin.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeType)\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 * The **`MimeTypeArray`** interface returns an array of MimeType instances, each of which contains information about a supported browser plugins.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MimeTypeArray)\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/**\n * The **`MouseEvent`** interface represents events that occur due to the user interacting with a pointing device (such as a mouse).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent)\n */\ninterface MouseEvent extends UIEvent {\n /**\n * The **`MouseEvent.altKey`** read-only property is a boolean value that indicates whether the <kbd>alt</kbd> key was pressed or not when a given mouse event occurs.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/altKey)\n */\n readonly altKey: boolean;\n /**\n * The **`MouseEvent.button`** read-only property indicates which button was pressed or released on the mouse to trigger the event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/button)\n */\n readonly button: number;\n /**\n * The **`MouseEvent.buttons`** read-only property indicates which buttons are pressed on the mouse (or other input device) when a mouse event is triggered.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/buttons)\n */\n readonly buttons: number;\n /**\n * The **`clientX`** read-only property of the MouseEvent interface provides the horizontal coordinate within the application\'s viewport at which the event occurred (as opposed to the coordinate within the page).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/clientX)\n */\n readonly clientX: number;\n /**\n * The **`clientY`** read-only property of the MouseEvent interface provides the vertical coordinate within the application\'s viewport at which the event occurred (as opposed to the coordinate within the page).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/clientY)\n */\n readonly clientY: number;\n /**\n * The **`MouseEvent.ctrlKey`** read-only property is a boolean value that indicates whether the <kbd>ctrl</kbd> key was pressed or not when a given mouse event occurs.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/ctrlKey)\n */\n readonly ctrlKey: boolean;\n /**\n * The **`MouseEvent.layerX`** read-only property returns the horizontal coordinate of the event relative to the current layer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/layerX)\n */\n readonly layerX: number;\n /**\n * The **`MouseEvent.layerY`** read-only property returns the vertical coordinate of the event relative to the current layer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/layerY)\n */\n readonly layerY: number;\n /**\n * The **`MouseEvent.metaKey`** read-only property is a boolean value that indicates whether the <kbd>meta</kbd> key was pressed or not when a given mouse event occurs.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/metaKey)\n */\n readonly metaKey: boolean;\n /**\n * The **`movementX`** read-only property of the MouseEvent interface provides the difference in the X coordinate of the mouse pointer between the given event and the previous Element/mousemove_event event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/movementX)\n */\n readonly movementX: number;\n /**\n * The **`movementY`** read-only property of the MouseEvent interface provides the difference in the Y coordinate of the mouse pointer between the given event and the previous Element/mousemove_event event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/movementY)\n */\n readonly movementY: number;\n /**\n * The **`offsetX`** read-only property of the MouseEvent interface provides the offset in the X coordinate of the mouse pointer between that event and the padding edge of the target node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/offsetX)\n */\n readonly offsetX: number;\n /**\n * The **`offsetY`** read-only property of the MouseEvent interface provides the offset in the Y coordinate of the mouse pointer between that event and the padding edge of the target node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/offsetY)\n */\n readonly offsetY: number;\n /**\n * The **`pageX`** read-only property of the MouseEvent interface returns the X (horizontal) coordinate (in pixels) at which the mouse was clicked, relative to the left edge of the entire document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/pageX)\n */\n readonly pageX: number;\n /**\n * The **`pageY`** read-only property of the MouseEvent interface returns the Y (vertical) coordinate (in pixels) at which the mouse was clicked, relative to the top edge of the entire document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/pageY)\n */\n readonly pageY: number;\n /**\n * The **`MouseEvent.relatedTarget`** read-only property is the secondary target for the mouse event, if there is one.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/relatedTarget)\n */\n readonly relatedTarget: EventTarget | null;\n /**\n * The **`screenX`** read-only property of the MouseEvent interface provides the horizontal coordinate (offset) of the mouse pointer in screen coordinates.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/screenX)\n */\n readonly screenX: number;\n /**\n * The **`screenY`** read-only property of the MouseEvent interface provides the vertical coordinate (offset) of the mouse pointer in screen coordinates.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/screenY)\n */\n readonly screenY: number;\n /**\n * The **`MouseEvent.shiftKey`** read-only property is a boolean value that indicates whether the <kbd>shift</kbd> key was pressed or not when a given mouse event occurs.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/shiftKey)\n */\n readonly shiftKey: boolean;\n /**\n * The **`MouseEvent.x`** property is an alias for the MouseEvent.clientX property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/x)\n */\n readonly x: number;\n /**\n * The **`MouseEvent.y`** property is an alias for the MouseEvent.clientY property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/y)\n */\n readonly y: number;\n /**\n * The **`MouseEvent.getModifierState()`** method returns the current state of the specified modifier key: `true` if the modifier is active (i.e., the modifier key is pressed or locked), otherwise, `false`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/getModifierState)\n */\n getModifierState(keyArg: string): boolean;\n /**\n * The **`MouseEvent.initMouseEvent()`** method initializes the value of a mouse event once it\'s been created (normally using the Document.createEvent() method).\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MouseEvent/initMouseEvent)\n */\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 * The **`MutationObserver`** interface provides the ability to watch for changes being made to the DOM tree.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationObserver)\n */\ninterface MutationObserver {\n /**\n * The MutationObserver method **`disconnect()`** tells the observer to stop watching for mutations.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationObserver/disconnect)\n */\n disconnect(): void;\n /**\n * The MutationObserver method **`observe()`** configures the `MutationObserver` callback to begin receiving notifications of changes to the DOM that match the given options.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationObserver/observe)\n */\n observe(target: Node, options?: MutationObserverInit): void;\n /**\n * The MutationObserver method **`takeRecords()`** returns a list of all matching DOM changes that have been detected but not yet processed by the observer\'s callback function, leaving the mutation queue empty.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationObserver/takeRecords)\n */\n takeRecords(): MutationRecord[];\n}\n\ndeclare var MutationObserver: {\n prototype: MutationObserver;\n new(callback: MutationCallback): MutationObserver;\n};\n\n/**\n * The **`MutationRecord`** is a read-only interface that represents an individual DOM mutation observed by a MutationObserver.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationRecord)\n */\ninterface MutationRecord {\n /**\n * The MutationRecord read-only property **`addedNodes`** is a NodeList of nodes added to a target node by a mutation observed with a MutationObserver.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationRecord/addedNodes)\n */\n readonly addedNodes: NodeList;\n /**\n * The MutationRecord read-only property **`attributeName`** contains the name of a changed attribute belonging to a node that is observed by a MutationObserver.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationRecord/attributeName)\n */\n readonly attributeName: string | null;\n /**\n * The MutationRecord read-only property **`attributeNamespace`** is the namespace of the mutated attribute in the MutationRecord observed by a MutationObserver.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationRecord/attributeNamespace)\n */\n readonly attributeNamespace: string | null;\n /**\n * The MutationRecord read-only property **`nextSibling`** is the next sibling of an added or removed child node of the `target` of a MutationObserver.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationRecord/nextSibling)\n */\n readonly nextSibling: Node | null;\n /**\n * The MutationRecord read-only property **`oldValue`** contains the character data or attribute value of an observed node before it was changed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationRecord/oldValue)\n */\n readonly oldValue: string | null;\n /**\n * The MutationRecord read-only property **`previousSibling`** is the previous sibling of an added or removed child node of the `target` of a MutationObserver.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationRecord/previousSibling)\n */\n readonly previousSibling: Node | null;\n /**\n * The MutationRecord read-only property **`removedNodes`** is a NodeList of nodes removed from a target node by a mutation observed with a MutationObserver.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationRecord/removedNodes)\n */\n readonly removedNodes: NodeList;\n /**\n * The MutationRecord read-only property **`target`** is the target (i.e., the mutated/changed node) of a mutation observed with a MutationObserver.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationRecord/target)\n */\n readonly target: Node;\n /**\n * The MutationRecord read-only property **`type`** is the type of the MutationRecord observed by a MutationObserver.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationRecord/type)\n */\n readonly type: MutationRecordType;\n}\n\ndeclare var MutationRecord: {\n prototype: MutationRecord;\n new(): MutationRecord;\n};\n\n/**\n * The **`NamedNodeMap`** interface represents a collection of Attr objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NamedNodeMap)\n */\ninterface NamedNodeMap {\n /**\n * The read-only **`length`** property of the NamedNodeMap interface is the number of objects stored in the map.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NamedNodeMap/length)\n */\n readonly length: number;\n /**\n * The **`getNamedItem()`** method of the NamedNodeMap interface returns the Attr corresponding to the given name, or `null` if there is no corresponding attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NamedNodeMap/getNamedItem)\n */\n getNamedItem(qualifiedName: string): Attr | null;\n /**\n * The **`getNamedItemNS()`** method of the NamedNodeMap interface returns the Attr corresponding to the given local name in the given namespace, or `null` if there is no corresponding attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NamedNodeMap/getNamedItemNS)\n */\n getNamedItemNS(namespace: string | null, localName: string): Attr | null;\n /**\n * The **`item()`** method of the NamedNodeMap interface returns the item in the map matching the index.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NamedNodeMap/item)\n */\n item(index: number): Attr | null;\n /**\n * The **`removeNamedItem()`** method of the NamedNodeMap interface removes the Attr corresponding to the given name from the map.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NamedNodeMap/removeNamedItem)\n */\n removeNamedItem(qualifiedName: string): Attr;\n /**\n * The **`removeNamedItemNS()`** method of the NamedNodeMap interface removes the Attr corresponding to the given namespace and local name from the map.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NamedNodeMap/removeNamedItemNS)\n */\n removeNamedItemNS(namespace: string | null, localName: string): Attr;\n /**\n * The **`setNamedItem()`** method of the NamedNodeMap interface puts the Attr identified by its name in the map.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NamedNodeMap/setNamedItem)\n */\n setNamedItem(attr: Attr): Attr | null;\n /**\n * The **`setNamedItemNS()`** method of the NamedNodeMap interface puts the Attr identified by its name in the map.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NamedNodeMap/setNamedItemNS)\n */\n setNamedItemNS(attr: Attr): Attr | null;\n [index: number]: Attr;\n}\n\ndeclare var NamedNodeMap: {\n prototype: NamedNodeMap;\n new(): NamedNodeMap;\n};\n\n/**\n * The **`NavigationActivation`** interface of the Navigation API represents a recent cross-document navigation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationActivation)\n */\ninterface NavigationActivation {\n /**\n * The **`entry`** read-only property of the NavigationActivation interface contains a NavigationHistoryEntry object representing the history entry for the inbound (\'to\') document in the navigation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationActivation/entry)\n */\n readonly entry: NavigationHistoryEntry;\n /**\n * The **`from`** read-only property of the NavigationActivation interface contains a NavigationHistoryEntry object representing the history entry for the outgoing (\'from\') document in the navigation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationActivation/from)\n */\n readonly from: NavigationHistoryEntry | null;\n /**\n * The **`navigationType`** read-only property of the NavigationActivation interface contains a string indicating the type of navigation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationActivation/navigationType)\n */\n readonly navigationType: NavigationType;\n}\n\ndeclare var NavigationActivation: {\n prototype: NavigationActivation;\n new(): NavigationActivation;\n};\n\ninterface NavigationHistoryEntryEventMap {\n "dispose": Event;\n}\n\n/**\n * The **`NavigationHistoryEntry`** interface of the Navigation API represents a single navigation history entry.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationHistoryEntry)\n */\ninterface NavigationHistoryEntry extends EventTarget {\n /**\n * The **`id`** read-only property of the NavigationHistoryEntry interface returns the `id` of the history entry, or an empty string if current document is not fully active.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationHistoryEntry/id)\n */\n readonly id: string;\n /**\n * The **`index`** read-only property of the NavigationHistoryEntry interface returns the index of the history entry in the history entries list (that is, the list returned by Navigation.entries()), or `-1` if the entry does not appear in the list or if current document is not fully active.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationHistoryEntry/index)\n */\n readonly index: number;\n /**\n * The **`key`** read-only property of the NavigationHistoryEntry interface returns the `key` of the history entry, or an empty string if current document is not fully active.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationHistoryEntry/key)\n */\n readonly key: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationHistoryEntry/dispose_event) */\n ondispose: ((this: NavigationHistoryEntry, ev: Event) => any) | null;\n /**\n * The **`sameDocument`** read-only property of the NavigationHistoryEntry interface returns `true` if this history entry is for the same `document` as the current Document value and current document is fully active, or `false` otherwise.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationHistoryEntry/sameDocument)\n */\n readonly sameDocument: boolean;\n /**\n * The **`url`** read-only property of the NavigationHistoryEntry interface returns the absolute URL of this history entry.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationHistoryEntry/url)\n */\n readonly url: string | null;\n /**\n * The **`getState()`** method of the NavigationHistoryEntry interface returns a clone of the developer-supplied state associated with this history entry.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationHistoryEntry/getState)\n */\n getState(): any;\n addEventListener<K extends keyof NavigationHistoryEntryEventMap>(type: K, listener: (this: NavigationHistoryEntry, ev: NavigationHistoryEntryEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof NavigationHistoryEntryEventMap>(type: K, listener: (this: NavigationHistoryEntry, ev: NavigationHistoryEntryEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var NavigationHistoryEntry: {\n prototype: NavigationHistoryEntry;\n new(): NavigationHistoryEntry;\n};\n\n/**\n * The **`NavigationPreloadManager`** interface of the Service Worker API provides methods for managing the preloading of resources in parallel with service worker bootup.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPreloadManager)\n */\ninterface NavigationPreloadManager {\n /**\n * The **`disable()`** method of the NavigationPreloadManager interface halts the automatic preloading of service-worker-managed resources previously started using NavigationPreloadManager.enable() It returns a promise that resolves with `undefined`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPreloadManager/disable)\n */\n disable(): Promise<void>;\n /**\n * The **`enable()`** method of the NavigationPreloadManager interface is used to enable preloading of resources managed by the service worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPreloadManager/enable)\n */\n enable(): Promise<void>;\n /**\n * The **`getState()`** method of the NavigationPreloadManager interface returns a Promise that resolves to an object with properties that indicate whether preload is enabled and what value will be sent in the Service-Worker-Navigation-Preload HTTP header.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPreloadManager/getState)\n */\n getState(): Promise<NavigationPreloadState>;\n /**\n * The **`setHeaderValue()`** method of the NavigationPreloadManager interface sets the value of the Service-Worker-Navigation-Preload header that will be sent with requests resulting from a Window/fetch operation made during service worker navigation preloading.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPreloadManager/setHeaderValue)\n */\n setHeaderValue(value: string): Promise<void>;\n}\n\ndeclare var NavigationPreloadManager: {\n prototype: NavigationPreloadManager;\n new(): NavigationPreloadManager;\n};\n\n/**\n * The **`Navigator`** interface represents the state and the identity of the user agent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator)\n */\ninterface Navigator extends NavigatorAutomationInformation, NavigatorBadge, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {\n /**\n * The **`clipboard`** read-only property of the Navigator interface returns a Clipboard object used to read and write the clipboard\'s contents.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/clipboard)\n */\n readonly clipboard: Clipboard;\n /**\n * The **`credentials`** read-only property of the Navigator interface returns the CredentialsContainer object associated with the current document, which exposes methods to request credentials.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/credentials)\n */\n readonly credentials: CredentialsContainer;\n readonly doNotTrack: string | null;\n /**\n * The **`Navigator.geolocation`** read-only property returns a device.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/geolocation)\n */\n readonly geolocation: Geolocation;\n /**\n * The **`login`** read-only property of the Navigator interface provides access to the browser\'s NavigatorLogin object, which a federated identity provider (IdP) can use to set its login status when a user signs into or out of the IdP.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/login)\n */\n readonly login: NavigatorLogin;\n /**\n * The **`maxTouchPoints`** read-only property of the contact points that are supported by the current device.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/maxTouchPoints)\n */\n readonly maxTouchPoints: number;\n /**\n * The **`mediaCapabilities`** read-only property of the Navigator interface references a MediaCapabilities object that can expose information about the decoding and encoding capabilities for a given media format and output capabilities.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mediaCapabilities)\n */\n readonly mediaCapabilities: MediaCapabilities;\n /**\n * The **`mediaDevices`** read-only property of the Navigator interface returns a MediaDevices object, which provides access to connected media input devices like cameras and microphones, as well as screen sharing.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mediaDevices)\n */\n readonly mediaDevices: MediaDevices;\n /**\n * The **`mediaSession`** read-only property of the Navigator interface returns a MediaSession object that can be used to share with the browser metadata and other information about the current playback state of media being handled by a document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mediaSession)\n */\n readonly mediaSession: MediaSession;\n /**\n * The **`permissions`** read-only property of the Navigator interface returns a status of APIs covered by the Permissions API.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/permissions)\n */\n readonly permissions: Permissions;\n /**\n * The **`serviceWorker`** read-only property of the Navigator interface returns the ServiceWorkerContainer object for the associated document, which provides access to registration, removal, upgrade, and communication with the ServiceWorker.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/serviceWorker)\n */\n readonly serviceWorker: ServiceWorkerContainer;\n /**\n * The read-only **`userActivation`** property of the Navigator interface returns a UserActivation object which contains information about the current window\'s user activation state.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userActivation)\n */\n readonly userActivation: UserActivation;\n /**\n * The **`wakeLock`** read-only property of the Navigator interface returns a WakeLock interface that allows a document to acquire a screen wake lock.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/wakeLock)\n */\n readonly wakeLock: WakeLock;\n /**\n * The **`canShare()`** method of the Navigator interface returns `true` if the equivalent call to navigator.share() would succeed.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/canShare)\n */\n canShare(data?: ShareData): boolean;\n /**\n * The **`Navigator.getGamepads()`** method returns an array of Elements in the array may be `null` if a gamepad disconnects during a session, so that the remaining gamepads retain the same index.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/getGamepads)\n */\n getGamepads(): (Gamepad | null)[];\n /**\n * The **`requestMIDIAccess()`** method of the Navigator interface returns a Promise representing a request for access to MIDI devices on a user\'s system.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/requestMIDIAccess)\n */\n requestMIDIAccess(options?: MIDIOptions): Promise<MIDIAccess>;\n /**\n * The **`requestMediaKeySystemAccess()`** method of the Navigator interface returns a Promise which delivers a MediaKeySystemAccess object that can be used to access a particular media key system, which can in turn be used to create keys for decrypting a media stream.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/requestMediaKeySystemAccess)\n */\n requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration[]): Promise<MediaKeySystemAccess>;\n /**\n * The **`navigator.sendBeacon()`** method Asynchronous sends an HTTP POST request containing a small amount of data to a web server.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/sendBeacon)\n */\n sendBeacon(url: string | URL, data?: BodyInit | null): boolean;\n /**\n * The **`share()`** method of the Navigator interface invokes the native sharing mechanism of the device to share data such as text, URLs, or files.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/share)\n */\n share(data?: ShareData): Promise<void>;\n /**\n * The **`vibrate()`** method of the Navigator interface pulses the vibration hardware on the device, if such hardware exists.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vibrate)\n */\n vibrate(pattern: VibratePattern): boolean;\n}\n\ndeclare var Navigator: {\n prototype: Navigator;\n new(): Navigator;\n};\n\ninterface NavigatorAutomationInformation {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/webdriver) */\n readonly webdriver: boolean;\n}\n\n/** Available only in secure contexts. */\ninterface NavigatorBadge {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/clearAppBadge) */\n clearAppBadge(): Promise<void>;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/setAppBadge) */\n setAppBadge(contents?: number): Promise<void>;\n}\n\ninterface NavigatorConcurrentHardware {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/hardwareConcurrency) */\n readonly hardwareConcurrency: number;\n}\n\ninterface NavigatorContentUtils {\n /**\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/registerProtocolHandler)\n */\n registerProtocolHandler(scheme: string, url: string | URL): void;\n}\n\ninterface NavigatorCookies {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/cookieEnabled) */\n readonly cookieEnabled: boolean;\n}\n\ninterface NavigatorID {\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName)\n */\n readonly appCodeName: string;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName)\n */\n readonly appName: string;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion)\n */\n readonly appVersion: string;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform)\n */\n readonly platform: string;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product)\n */\n readonly product: string;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/productSub)\n */\n readonly productSub: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */\n readonly userAgent: string;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendor)\n */\n readonly vendor: string;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vendorSub)\n */\n readonly vendorSub: string;\n}\n\ninterface NavigatorLanguage {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/language) */\n readonly language: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/languages) */\n readonly languages: ReadonlyArray<string>;\n}\n\n/** Available only in secure contexts. */\ninterface NavigatorLocks {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/locks) */\n readonly locks: LockManager;\n}\n\n/**\n * The **`NavigatorLogin`** interface of the Federated Credential Management (FedCM) API defines login functionality for federated identity providers (IdPs).\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigatorLogin)\n */\ninterface NavigatorLogin {\n /**\n * The **`setStatus()`** method of the NavigatorLogin interface sets the login status of a federated identity provider (IdP), when called from the IdP\'s origin.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigatorLogin/setStatus)\n */\n setStatus(status: LoginStatus): Promise<void>;\n}\n\ndeclare var NavigatorLogin: {\n prototype: NavigatorLogin;\n new(): NavigatorLogin;\n};\n\ninterface NavigatorOnLine {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/onLine) */\n readonly onLine: boolean;\n}\n\ninterface NavigatorPlugins {\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/mimeTypes)\n */\n readonly mimeTypes: MimeTypeArray;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/pdfViewerEnabled) */\n readonly pdfViewerEnabled: boolean;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/plugins)\n */\n readonly plugins: PluginArray;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/javaEnabled)\n */\n javaEnabled(): boolean;\n}\n\n/** Available only in secure contexts. */\ninterface NavigatorStorage {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/storage) */\n readonly storage: StorageManager;\n}\n\n/**\n * The DOM **`Node`** interface is an abstract base class upon which many other DOM API objects are based, thus letting those object types to be used similarly and often interchangeably.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node)\n */\ninterface Node extends EventTarget {\n /**\n * The read-only **`baseURI`** property of the Node interface returns the absolute base URL of the document containing the node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/baseURI)\n */\n readonly baseURI: string;\n /**\n * The read-only **`childNodes`** property of the Node interface returns a live the first child node is assigned index `0`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/childNodes)\n */\n readonly childNodes: NodeListOf<ChildNode>;\n /**\n * The read-only **`firstChild`** property of the Node interface returns the node\'s first child in the tree, or `null` if the node has no children.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/firstChild)\n */\n readonly firstChild: ChildNode | null;\n /**\n * The read-only **`isConnected`** property of the Node interface returns a boolean indicating whether the node is connected (directly or indirectly) to a Document object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/isConnected)\n */\n readonly isConnected: boolean;\n /**\n * The read-only **`lastChild`** property of the Node interface returns the last child of the node, or `null` if there are no child nodes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/lastChild)\n */\n readonly lastChild: ChildNode | null;\n /**\n * The read-only **`nextSibling`** property of the Node interface returns the node immediately following the specified one in their parent\'s Node.childNodes, or returns `null` if the specified node is the last child in the parent element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/nextSibling)\n */\n readonly nextSibling: ChildNode | null;\n /**\n * The read-only **`nodeName`** property of Node returns the name of the current node as a string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/nodeName)\n */\n readonly nodeName: string;\n /**\n * The read-only **`nodeType`** property of a Node interface is an integer that identifies what the node is.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/nodeType)\n */\n readonly nodeType: number;\n /**\n * The **`nodeValue`** property of the Node interface returns or sets the value of the current node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/nodeValue)\n */\n nodeValue: string | null;\n /**\n * The read-only **`ownerDocument`** property of the Node interface returns the top-level document object of the node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/ownerDocument)\n */\n readonly ownerDocument: Document | null;\n /**\n * The read-only **`parentElement`** property of Node interface returns the DOM node\'s parent Element, or `null` if the node either has no parent, or its parent isn\'t a DOM Element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/parentElement)\n */\n readonly parentElement: HTMLElement | null;\n /**\n * The read-only **`parentNode`** property of the Node interface returns the parent of the specified node in the DOM tree.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/parentNode)\n */\n readonly parentNode: ParentNode | null;\n /**\n * The read-only **`previousSibling`** property of the Node interface returns the node immediately preceding the specified one in its parent\'s or `null` if the specified node is the first in that list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/previousSibling)\n */\n readonly previousSibling: ChildNode | null;\n /**\n * The **`textContent`** property of the Node interface represents the text content of the node and its descendants.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent)\n */\n textContent: string | null;\n /**\n * The **`appendChild()`** method of the Node interface adds a node to the end of the list of children of a specified parent node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/appendChild)\n */\n appendChild<T extends Node>(node: T): T;\n /**\n * The **`cloneNode()`** method of the Node interface returns a duplicate of the node on which this method was called.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/cloneNode)\n */\n cloneNode(subtree?: boolean): Node;\n /**\n * The **`compareDocumentPosition()`** method of the Node interface reports the position of its argument node relative to the node on which it is called.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/compareDocumentPosition)\n */\n compareDocumentPosition(other: Node): number;\n /**\n * The **`contains()`** method of the Node interface returns a boolean value indicating whether a node is a descendant of a given node, that is the node itself, one of its direct children (Node.childNodes), one of the children\'s direct children, and so on.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/contains)\n */\n contains(other: Node | null): boolean;\n /**\n * The **`getRootNode()`** method of the Node interface returns the context object\'s root, which optionally includes the shadow root if it is available.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/getRootNode)\n */\n getRootNode(options?: GetRootNodeOptions): Node;\n /**\n * The **`hasChildNodes()`** method of the Node interface returns a boolean value indicating whether the given Node has child nodes or not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/hasChildNodes)\n */\n hasChildNodes(): boolean;\n /**\n * The **`insertBefore()`** method of the Node interface inserts a node before a _reference node_ as a child of a specified _parent node_.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/insertBefore)\n */\n insertBefore<T extends Node>(node: T, child: Node | null): T;\n /**\n * The **`isDefaultNamespace()`** method of the Node interface accepts a namespace URI as an argument.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/isDefaultNamespace)\n */\n isDefaultNamespace(namespace: string | null): boolean;\n /**\n * The **`isEqualNode()`** method of the Node interface tests whether two nodes are equal.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/isEqualNode)\n */\n isEqualNode(otherNode: Node | null): boolean;\n /**\n * The **`isSameNode()`** method of the Node interface is a legacy alias the for the `===` strict equality operator.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/isSameNode)\n */\n isSameNode(otherNode: Node | null): boolean;\n /**\n * The **`lookupNamespaceURI()`** method of the Node interface takes a prefix as parameter and returns the namespace URI associated with it on the given node if found (and `null` if not).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/lookupNamespaceURI)\n */\n lookupNamespaceURI(prefix: string | null): string | null;\n /**\n * The **`lookupPrefix()`** method of the Node interface returns a string containing the prefix for a given namespace URI, if present, and `null` if not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/lookupPrefix)\n */\n lookupPrefix(namespace: string | null): string | null;\n /**\n * The **`normalize()`** method of the Node interface puts the specified node and all of its sub-tree into a _normalized_ form.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/normalize)\n */\n normalize(): void;\n /**\n * The **`removeChild()`** method of the Node interface removes a child node from the DOM and returns the removed node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/removeChild)\n */\n removeChild<T extends Node>(child: T): T;\n /**\n * The **`replaceChild()`** method of the Node interface replaces a child node within the given (parent) node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/replaceChild)\n */\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/**\n * The **`NodeIterator`** interface represents an iterator to traverse nodes of a DOM subtree in document order.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NodeIterator)\n */\ninterface NodeIterator {\n /**\n * The **`NodeIterator.filter`** read-only property returns a `NodeFilter` object, that is an object which implements an `acceptNode(node)` method, used to screen nodes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NodeIterator/filter)\n */\n readonly filter: NodeFilter | null;\n /**\n * The **`NodeIterator.pointerBeforeReferenceNode`** read-only property returns a boolean flag that indicates whether the `NodeFilter` is anchored before (if this value is `true`) or after (if this value is `false`) the anchor node indicated by the A boolean.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NodeIterator/pointerBeforeReferenceNode)\n */\n readonly pointerBeforeReferenceNode: boolean;\n /**\n * The **`NodeIterator.referenceNode`** read-only property returns the iterator remains anchored to the reference node as specified by this property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NodeIterator/referenceNode)\n */\n readonly referenceNode: Node;\n /**\n * The **`NodeIterator.root`** read-only property represents the traverses.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NodeIterator/root)\n */\n readonly root: Node;\n /**\n * The **`NodeIterator.whatToShow`** read-only property represents an `unsigned integer` representing a bitmask signifying what types of nodes should be returned by the NodeIterator.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NodeIterator/whatToShow)\n */\n readonly whatToShow: number;\n /**\n * The **`NodeIterator.detach()`** method is a no-op, kept for backward compatibility only.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NodeIterator/detach)\n */\n detach(): void;\n /**\n * The **`NodeIterator.nextNode()`** method returns the next node in the set represented by the NodeIterator and advances the position of the iterator within the set.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NodeIterator/nextNode)\n */\n nextNode(): Node | null;\n /**\n * The **`NodeIterator.previousNode()`** method returns the previous node in the set represented by the NodeIterator and moves the position of the iterator backwards within the set.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NodeIterator/previousNode)\n */\n previousNode(): Node | null;\n}\n\ndeclare var NodeIterator: {\n prototype: NodeIterator;\n new(): NodeIterator;\n};\n\n/**\n * **`NodeList`** objects are collections of nodes, usually returned by properties such as Node.childNodes and methods such as document.querySelectorAll().\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NodeList)\n */\ninterface NodeList {\n /**\n * The **`NodeList.length`** property returns the number of items in a NodeList.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NodeList/length)\n */\n readonly length: number;\n /**\n * Returns a node from a `NodeList` by index.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NodeList/item)\n */\n item(index: number): Node | null;\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 forEach(callbackfn: (value: TNode, key: number, parent: NodeListOf<TNode>) => void, thisArg?: any): void;\n [index: number]: TNode;\n}\n\ninterface NonDocumentTypeChildNode {\n /**\n * Returns the first following sibling that is an element, and null otherwise.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/nextElementSibling)\n */\n readonly nextElementSibling: Element | null;\n /**\n * Returns the first preceding sibling that is an element, and null otherwise.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/previousElementSibling)\n */\n readonly previousElementSibling: Element | null;\n}\n\ninterface NonElementParentNode {\n /**\n * Returns the first element within node\'s descendants whose ID is elementId.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/getElementById)\n */\n getElementById(elementId: string): Element | null;\n}\n\ninterface NotificationEventMap {\n "click": Event;\n "close": Event;\n "error": Event;\n "show": Event;\n}\n\n/**\n * The **`Notification`** interface of the Notifications API is used to configure and display desktop notifications to the user.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)\n */\ninterface Notification extends EventTarget {\n /**\n * The **`badge`** read-only property of the Notification interface returns a string containing the URL of an image to represent the notification when there is not enough space to display the notification itself such as for example, the Android Notification Bar.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/badge)\n */\n readonly badge: string;\n /**\n * The **`body`** read-only property of the specified in the `body` option of the A string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/body)\n */\n readonly body: string;\n /**\n * The **`data`** read-only property of the data, as specified in the `data` option of the The notification\'s data can be any arbitrary data that you want associated with the notification.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/data)\n */\n readonly data: any;\n /**\n * The **`dir`** read-only property of the Notification interface indicates the text direction of the notification, as specified in the `dir` option of the Notification.Notification constructor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/dir)\n */\n readonly dir: NotificationDirection;\n /**\n * The **`icon`** read-only property of the part of the notification, as specified in the `icon` option of the A string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/icon)\n */\n readonly icon: string;\n /**\n * The **`lang`** read-only property of the as specified in the `lang` option of the The language itself is specified using a string representing a language tag according to MISSING: RFC(5646, \'Tags for Identifying Languages (also known as BCP 47)\')].\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/lang)\n */\n readonly lang: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/click_event) */\n onclick: ((this: Notification, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/close_event) */\n onclose: ((this: Notification, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/error_event) */\n onerror: ((this: Notification, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/show_event) */\n onshow: ((this: Notification, ev: Event) => any) | null;\n /**\n * The **`requireInteraction`** read-only property of the Notification interface returns a boolean value indicating that a notification should remain active until the user clicks or dismisses it, rather than closing automatically.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/requireInteraction)\n */\n readonly requireInteraction: boolean;\n /**\n * The **`silent`** read-only property of the silent, i.e., no sounds or vibrations should be issued regardless of the device settings.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/silent)\n */\n readonly silent: boolean | null;\n /**\n * The **`tag`** read-only property of the as specified in the `tag` option of the The idea of notification tags is that more than one notification can share the same tag, linking them together.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/tag)\n */\n readonly tag: string;\n /**\n * The **`title`** read-only property of the specified in the `title` parameter of the A string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/title)\n */\n readonly title: string;\n /**\n * The **`close()`** method of the Notification interface is used to close/remove a previously displayed notification.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/close)\n */\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 /**\n * The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/permission_static)\n */\n readonly permission: NotificationPermission;\n /**\n * The **`requestPermission()`** static method of the Notification interface requests permission from the user for the current origin to display notifications.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/requestPermission_static)\n */\n requestPermission(deprecatedCallback?: NotificationPermissionCallback): Promise<NotificationPermission>;\n};\n\n/**\n * The **`OES_draw_buffers_indexed`** extension is part of the WebGL API and enables the use of different blend options when writing to multiple color buffers simultaneously.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed)\n */\ninterface OES_draw_buffers_indexed {\n /**\n * The `blendEquationSeparateiOES()` method of the OES_draw_buffers_indexed WebGL extension sets the RGB and alpha blend equations separately for a particular draw buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed/blendEquationSeparateiOES)\n */\n blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void;\n /**\n * The `blendEquationiOES()` method of the `OES_draw_buffers_indexed` WebGL extension sets both the RGB blend and alpha blend equations for a particular draw buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed/blendEquationiOES)\n */\n blendEquationiOES(buf: GLuint, mode: GLenum): void;\n /**\n * The `blendFuncSeparateiOES()` method of the OES_draw_buffers_indexed WebGL extension defines which function is used when blending pixels for RGB and alpha components separately for a particular draw buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed/blendFuncSeparateiOES)\n */\n blendFuncSeparateiOES(buf: GLuint, srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;\n /**\n * The `blendFunciOES()` method of the OES_draw_buffers_indexed WebGL extension defines which function is used when blending pixels for a particular draw buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed/blendFunciOES)\n */\n blendFunciOES(buf: GLuint, src: GLenum, dst: GLenum): void;\n /**\n * The `colorMaskiOES()` method of the OES_draw_buffers_indexed WebGL extension sets which color components to enable or to disable when drawing or rendering for a particular draw buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed/colorMaskiOES)\n */\n colorMaskiOES(buf: GLuint, r: GLboolean, g: GLboolean, b: GLboolean, a: GLboolean): void;\n /**\n * The `disableiOES()` method of the OES_draw_buffers_indexed WebGL extension enables blending for a particular draw buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed/disableiOES)\n */\n disableiOES(target: GLenum, index: GLuint): void;\n /**\n * The `enableiOES()` method of the OES_draw_buffers_indexed WebGL extension enables blending for a particular draw buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed/enableiOES)\n */\n enableiOES(target: GLenum, index: GLuint): void;\n}\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().\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_element_index_uint)\n */\ninterface OES_element_index_uint {\n}\n\n/**\n * The `OES_fbo_render_mipmap` extension is part of the WebGL API and makes it possible to attach any level of a texture to a framebuffer object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_fbo_render_mipmap)\n */\ninterface OES_fbo_render_mipmap {\n}\n\n/**\n * The **`OES_standard_derivatives`** extension is part of the WebGL API and adds the GLSL derivative functions `dFdx`, `dFdy`, and `fwidth`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_standard_derivatives)\n */\ninterface OES_standard_derivatives {\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT_OES: 0x8B8B;\n}\n\n/**\n * The **`OES_texture_float`** extension is part of the WebGL API and exposes floating-point pixel types for textures.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_float)\n */\ninterface OES_texture_float {\n}\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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_float_linear)\n */\ninterface OES_texture_float_linear {\n}\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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_half_float)\n */\ninterface OES_texture_half_float {\n readonly HALF_FLOAT_OES: 0x8D61;\n}\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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_half_float_linear)\n */\ninterface OES_texture_half_float_linear {\n}\n\n/**\n * The **OES_vertex_array_object** extension is part of the WebGL API and provides vertex array objects (VAOs) which encapsulate vertex array states.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object)\n */\ninterface OES_vertex_array_object {\n /**\n * The **`OES_vertex_array_object.bindVertexArrayOES()`** method of the WebGL API binds a passed WebGLVertexArrayObject object to the buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/bindVertexArrayOES)\n */\n bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;\n /**\n * The **`OES_vertex_array_object.createVertexArrayOES()`** method of the WebGL API creates and initializes a pointing to vertex array data and which provides names for different sets of vertex data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/createVertexArrayOES)\n */\n createVertexArrayOES(): WebGLVertexArrayObjectOES;\n /**\n * The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given ```js-nolint deleteVertexArrayOES(arrayObject) ``` - `arrayObject` - : A WebGLVertexArrayObject (VAO) object to delete.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES)\n */\n deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;\n /**\n * The **`OES_vertex_array_object.isVertexArrayOES()`** method of the WebGL API returns `true` if the passed object is a WebGLVertexArrayObject object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/isVertexArrayOES)\n */\n isVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): GLboolean;\n readonly VERTEX_ARRAY_BINDING_OES: 0x85B5;\n}\n\n/**\n * The `OVR_multiview2` extension is part of the WebGL API and adds support for rendering into multiple views simultaneously.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OVR_multiview2)\n */\ninterface OVR_multiview2 {\n /**\n * The **`OVR_multiview2.framebufferTextureMultiviewOVR()`** method of the WebGL API attaches a multiview texture to a WebGLFramebuffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OVR_multiview2/framebufferTextureMultiviewOVR)\n */\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/**\n * The Web Audio API `OfflineAudioCompletionEvent` interface represents events that occur when the processing of an OfflineAudioContext is terminated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OfflineAudioCompletionEvent)\n */\ninterface OfflineAudioCompletionEvent extends Event {\n /**\n * The **`renderedBuffer`** read-only property of the containing the result of processing an OfflineAudioContext.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OfflineAudioCompletionEvent/renderedBuffer)\n */\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/**\n * The `OfflineAudioContext` interface is an AudioContext interface representing an audio-processing graph built from linked together AudioNodes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OfflineAudioContext)\n */\ninterface OfflineAudioContext extends BaseAudioContext {\n /**\n * The **`length`** property of the the buffer in sample-frames.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OfflineAudioContext/length)\n */\n readonly length: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OfflineAudioContext/complete_event) */\n oncomplete: ((this: OfflineAudioContext, ev: OfflineAudioCompletionEvent) => any) | null;\n /**\n * The **`resume()`** method of the context that has been suspended.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OfflineAudioContext/resume)\n */\n resume(): Promise<void>;\n /**\n * The `startRendering()` method of the OfflineAudioContext Interface starts rendering the audio graph, taking into account the current connections and the current scheduled changes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OfflineAudioContext/startRendering)\n */\n startRendering(): Promise<AudioBuffer>;\n /**\n * The **`suspend()`** method of the OfflineAudioContext interface schedules a suspension of the time progression in the audio context at the specified time and returns a promise.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OfflineAudioContext/suspend)\n */\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\n/**\n * When using the canvas element or the Canvas API, rendering, animation, and user interaction usually happen on the main execution thread of a web application.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas)\n */\ninterface OffscreenCanvas extends EventTarget {\n /**\n * The **`height`** property returns and sets the height of an OffscreenCanvas object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height)\n */\n height: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) */\n oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) */\n oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null;\n /**\n * The **`width`** property returns and sets the width of an OffscreenCanvas object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/width)\n */\n width: number;\n /**\n * The **`OffscreenCanvas.convertToBlob()`** method creates a Blob object representing the image contained in the canvas.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/convertToBlob)\n */\n convertToBlob(options?: ImageEncodeOptions): Promise<Blob>;\n /**\n * The **`OffscreenCanvas.getContext()`** method returns a drawing context for an offscreen canvas, or `null` if the context identifier is not supported, or the offscreen canvas has already been set to a different context mode.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/getContext)\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 /**\n * The **`OffscreenCanvas.transferToImageBitmap()`** method creates an ImageBitmap object from the most recently rendered image of the `OffscreenCanvas`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/transferToImageBitmap)\n */\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\n/**\n * The **`OffscreenCanvasRenderingContext2D`** interface is a CanvasRenderingContext2D rendering context for drawing to the bitmap of an `OffscreenCanvas` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D)\n */\ninterface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas) */\n readonly canvas: OffscreenCanvas;\n}\n\ndeclare var OffscreenCanvasRenderingContext2D: {\n prototype: OffscreenCanvasRenderingContext2D;\n new(): OffscreenCanvasRenderingContext2D;\n};\n\n/**\n * The **`OscillatorNode`** interface represents a periodic waveform, such as a sine wave.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OscillatorNode)\n */\ninterface OscillatorNode extends AudioScheduledSourceNode {\n /**\n * The `detune` property of the OscillatorNode interface is an a-rate AudioParam representing detuning of oscillation in cents.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OscillatorNode/detune)\n */\n readonly detune: AudioParam;\n /**\n * The **`frequency`** property of the OscillatorNode interface is an a-rate AudioParam representing the frequency of oscillation in hertz.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OscillatorNode/frequency)\n */\n readonly frequency: AudioParam;\n /**\n * The **`type`** property of the OscillatorNode interface specifies what shape of waveform the oscillator will output.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OscillatorNode/type)\n */\n type: OscillatorType;\n /**\n * The **`setPeriodicWave()`** method of the OscillatorNode interface is used to point to a PeriodicWave defining a periodic waveform that can be used to shape the oscillator\'s output, when ```js-nolint setPeriodicWave(wave) ``` - `wave` - : A PeriodicWave object representing the waveform to use as the shape of the oscillator\'s output.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OscillatorNode/setPeriodicWave)\n */\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\n/**\n * The **`OverconstrainedError`** interface of the Media Capture and Streams API indicates that the set of desired capabilities for the current MediaStreamTrack cannot currently be met.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OverconstrainedError)\n */\ninterface OverconstrainedError extends DOMException {\n /**\n * The **`constraint`** read-only property of the in the constructor, meaning the constraint that was not satisfied.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OverconstrainedError/constraint)\n */\n readonly constraint: string;\n}\n\ndeclare var OverconstrainedError: {\n prototype: OverconstrainedError;\n new(constraint: string, message?: string): OverconstrainedError;\n};\n\n/**\n * The **`PageRevealEvent`** event object is made available inside handler functions for the Window.pagereveal_event event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PageRevealEvent)\n */\ninterface PageRevealEvent extends Event {\n /**\n * The **`viewTransition`** read-only property of the PageRevealEvent interface contains a ViewTransition object representing the active view transition for the cross-document navigation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PageRevealEvent/viewTransition)\n */\n readonly viewTransition: ViewTransition | null;\n}\n\ndeclare var PageRevealEvent: {\n prototype: PageRevealEvent;\n new(type: string, eventInitDict?: PageRevealEventInit): PageRevealEvent;\n};\n\n/**\n * The **`PageSwapEvent`** event object is made available inside handler functions for the Window.pageswap_event event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PageSwapEvent)\n */\ninterface PageSwapEvent extends Event {\n /**\n * The **`activation`** read-only property of the PageSwapEvent interface contains a NavigationActivation object containing the navigation type and current and destination document history entries for a same-origin navigation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PageSwapEvent/activation)\n */\n readonly activation: NavigationActivation | null;\n /**\n * The **`viewTransition`** read-only property of the PageRevealEvent interface contains a ViewTransition object representing the active view transition for the cross-document navigation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PageSwapEvent/viewTransition)\n */\n readonly viewTransition: ViewTransition | null;\n}\n\ndeclare var PageSwapEvent: {\n prototype: PageSwapEvent;\n new(type: string, eventInitDict?: PageSwapEventInit): PageSwapEvent;\n};\n\n/**\n * The **`PageTransitionEvent`** event object is available inside handler functions for the `pageshow` and `pagehide` events, fired when a document is being loaded or unloaded.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PageTransitionEvent)\n */\ninterface PageTransitionEvent extends Event {\n /**\n * The **`persisted`** read-only property indicates if a webpage is loading from a cache.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PageTransitionEvent/persisted)\n */\n readonly persisted: boolean;\n}\n\ndeclare var PageTransitionEvent: {\n prototype: PageTransitionEvent;\n new(type: string, eventInitDict?: PageTransitionEventInit): PageTransitionEvent;\n};\n\n/**\n * The `PannerNode` interface defines an audio-processing object that represents the location, direction, and behavior of an audio source signal in a simulated physical space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PannerNode)\n */\ninterface PannerNode extends AudioNode {\n /**\n * The `coneInnerAngle` property of the PannerNode interface is a double value describing the angle, in degrees, of a cone inside of which there will be no volume reduction.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PannerNode/coneInnerAngle)\n */\n coneInnerAngle: number;\n /**\n * The `coneOuterAngle` property of the PannerNode interface is a double value describing the angle, in degrees, of a cone outside of which the volume will be reduced by a constant value, defined by the PannerNode.coneOuterGain property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PannerNode/coneOuterAngle)\n */\n coneOuterAngle: number;\n /**\n * The `coneOuterGain` property of the PannerNode interface is a double value, describing the amount of volume reduction outside the cone, defined by the PannerNode.coneOuterAngle attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PannerNode/coneOuterGain)\n */\n coneOuterGain: number;\n /**\n * The `distanceModel` property of the PannerNode interface is an enumerated value determining which algorithm to use to reduce the volume of the audio source as it moves away from the listener.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PannerNode/distanceModel)\n */\n distanceModel: DistanceModelType;\n /**\n * The `maxDistance` property of the PannerNode interface is a double value representing the maximum distance between the audio source and the listener, after which the volume is not reduced any further.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PannerNode/maxDistance)\n */\n maxDistance: number;\n /**\n * The **`orientationX`** property of the PannerNode interface indicates the X (horizontal) component of the direction in which the audio source is facing, in a 3D Cartesian coordinate space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PannerNode/orientationX)\n */\n readonly orientationX: AudioParam;\n /**\n * The **`orientationY`** property of the PannerNode interface indicates the Y (vertical) component of the direction the audio source is facing, in 3D Cartesian coordinate space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PannerNode/orientationY)\n */\n readonly orientationY: AudioParam;\n /**\n * The **`orientationZ`** property of the PannerNode interface indicates the Z (depth) component of the direction the audio source is facing, in 3D Cartesian coordinate space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PannerNode/orientationZ)\n */\n readonly orientationZ: AudioParam;\n /**\n * The `panningModel` property of the PannerNode interface is an enumerated value determining which spatialization algorithm to use to position the audio in 3D space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PannerNode/panningModel)\n */\n panningModel: PanningModelType;\n /**\n * The **`positionX`** property of the PannerNode interface specifies the X coordinate of the audio source\'s position in 3D Cartesian coordinates, corresponding to the _horizontal_ axis (left-right).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PannerNode/positionX)\n */\n readonly positionX: AudioParam;\n /**\n * The **`positionY`** property of the PannerNode interface specifies the Y coordinate of the audio source\'s position in 3D Cartesian coordinates, corresponding to the _vertical_ axis (top-bottom).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PannerNode/positionY)\n */\n readonly positionY: AudioParam;\n /**\n * The **`positionZ`** property of the PannerNode interface specifies the Z coordinate of the audio source\'s position in 3D Cartesian coordinates, corresponding to the _depth_ axis (behind-in front of the listener).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PannerNode/positionZ)\n */\n readonly positionZ: AudioParam;\n /**\n * The `refDistance` property of the PannerNode interface is a double value representing the reference distance for reducing volume as the audio source moves further from the listener – i.e., the distance at which the volume reduction starts taking effect.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PannerNode/refDistance)\n */\n refDistance: number;\n /**\n * The `rolloffFactor` property of the PannerNode interface is a double value describing how quickly the volume is reduced as the source moves away from the listener.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PannerNode/rolloffFactor)\n */\n rolloffFactor: number;\n /**\n * The `setOrientation()` method of the PannerNode Interface defines the direction the audio source is playing in.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PannerNode/setOrientation)\n */\n setOrientation(x: number, y: number, z: number): void;\n /**\n * The `setPosition()` method of the PannerNode Interface defines the position of the audio source relative to the listener (represented by an AudioListener object stored in the BaseAudioContext.listener attribute.) The three parameters `x`, `y` and `z` are unitless and describe the source\'s position in 3D space using the right-hand Cartesian coordinate system.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PannerNode/setPosition)\n */\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/childElementCount) */\n readonly childElementCount: number;\n /**\n * Returns the child elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/children)\n */\n readonly children: HTMLCollection;\n /**\n * Returns the first child that is an element, and null otherwise.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/firstElementChild)\n */\n readonly firstElementChild: Element | null;\n /**\n * Returns the last child that is an element, and null otherwise.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/lastElementChild)\n */\n readonly lastElementChild: Element | null;\n /**\n * Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.\n *\n * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/append)\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 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/prepend)\n */\n prepend(...nodes: (Node | string)[]): void;\n /**\n * Returns the first element that is a descendant of node that matches selectors.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelector)\n */\n querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;\n querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;\n querySelector<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 /**\n * Returns all element descendants of node that match selectors.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/querySelectorAll)\n */\n querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;\n querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;\n querySelectorAll<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 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/replaceChildren)\n */\n replaceChildren(...nodes: (Node | string)[]): void;\n}\n\n/**\n * The **`Path2D`** interface of the Canvas 2D API is used to declare a path that can then be used on a CanvasRenderingContext2D object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Path2D)\n */\ninterface Path2D extends CanvasPath {\n /**\n * The **`Path2D.addPath()`** method of the Canvas 2D API adds one Path2D object to another `Path2D` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Path2D/addPath)\n */\n addPath(path: Path2D, transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var Path2D: {\n prototype: Path2D;\n new(path?: Path2D | string): Path2D;\n};\n\n/**\n * The **`ContactAddress`** interface of the Contact Picker API represents a physical address.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress)\n */\ninterface PaymentAddress {\n /**\n * The **`addressLine`** read-only property of the ContactAddress interface is an array of strings, each specifying a line of the address that is not covered by one of the other properties of `ContactAddress`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/addressLine)\n */\n readonly addressLine: ReadonlyArray<string>;\n /**\n * The **`city`** read-only property of the ContactAddress interface returns a string containing the city or town portion of the address.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/city)\n */\n readonly city: string;\n /**\n * The **`country`** read-only property of the ContactAddress interface is a string identifying the address\'s country using the ISO 3166-1 alpha-2 standard.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/country)\n */\n readonly country: string;\n /**\n * The read-only **`dependentLocality`** property of the ContactAddress interface is a string containing a locality or sublocality designation within a city, such as a neighborhood, borough, district, or, in the United Kingdom, a dependent locality.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/dependentLocality)\n */\n readonly dependentLocality: string;\n /**\n * The **`organization`** read-only property of the ContactAddress interface returns a string containing the name of the organization, firm, company, or institution at the address.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/organization)\n */\n readonly organization: string;\n /**\n * The read-only **`phone`** property of the ContactAddress interface returns a string containing the telephone number of the recipient or contact person at the address.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/phone)\n */\n readonly phone: string;\n /**\n * The **`postalCode`** read-only property of the ContactAddress interface returns a string containing a code used by a jurisdiction for mail routing, for example, the ZIP Code in the United States or the Postal Index Number (PIN code) in India.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/postalCode)\n */\n readonly postalCode: string;\n /**\n * The read-only **`recipient`** property of the ContactAddress interface returns a string containing the name of the recipient, purchaser, or contact person at the address.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/recipient)\n */\n readonly recipient: string;\n /**\n * The read-only **`region`** property of the ContactAddress interface returns a string containing the top-level administrative subdivision of the country in which the address is located.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/region)\n */\n readonly region: string;\n /**\n * The **`sortingCode`** read-only property of the ContactAddress interface returns a string containing a postal sorting code such as is used in France.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/sortingCode)\n */\n readonly sortingCode: string;\n /**\n * The **`toJSON()`** method of the ContactAddress interface is a standard serializer that returns a JSON representation of the `ContactAddress` object\'s properties.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ContactAddress/toJSON)\n */\n toJSON(): any;\n}\n\ndeclare var PaymentAddress: {\n prototype: PaymentAddress;\n new(): PaymentAddress;\n};\n\n/**\n * The **`PaymentMethodChangeEvent`** interface of the Payment Request API describes the PaymentRequest/paymentmethodchange_event event which is fired by some payment handlers when the user switches payment instruments (e.g., a user selects a \'store\' card to make a purchase while using Apple Pay).\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentMethodChangeEvent)\n */\ninterface PaymentMethodChangeEvent extends PaymentRequestUpdateEvent {\n /**\n * The read-only **`methodDetails`** property of the PaymentMethodChangeEvent interface is an object containing any data the payment handler may provide to describe the change the user has made to their payment method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentMethodChangeEvent/methodDetails)\n */\n readonly methodDetails: any;\n /**\n * The read-only **`methodName`** property of the PaymentMethodChangeEvent interface is a string which uniquely identifies the payment handler currently selected by the user.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentMethodChangeEvent/methodName)\n */\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": PaymentMethodChangeEvent;\n "shippingaddresschange": PaymentRequestUpdateEvent;\n "shippingoptionchange": PaymentRequestUpdateEvent;\n}\n\n/**\n * The Payment Request API\'s **`PaymentRequest`** interface is the primary access point into the API, and lets web content and apps accept payments from the end user on behalf of the operator of the site or the publisher of the app.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest)\n */\ninterface PaymentRequest extends EventTarget {\n /**\n * The **`id`** read-only attribute of the When constructing an instance of the PaymentRequest, you are able to supply an custom id.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/id)\n */\n readonly id: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/paymentmethodchange_event) */\n onpaymentmethodchange: ((this: PaymentRequest, ev: PaymentMethodChangeEvent) => any) | null;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingaddresschange_event)\n */\n onshippingaddresschange: ((this: PaymentRequest, ev: PaymentRequestUpdateEvent) => any) | null;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingoptionchange_event)\n */\n onshippingoptionchange: ((this: PaymentRequest, ev: PaymentRequestUpdateEvent) => any) | null;\n /**\n * The **`shippingAddress`** read-only property of the PaymentRequest interface returns the shipping address provided by the user.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingAddress)\n */\n readonly shippingAddress: PaymentAddress | null;\n /**\n * The **`shippingOption`** read-only attribute of the PaymentRequest interface returns either the id of a selected shipping option, null (if no shipping option was set to be selected) or a shipping option selected by the user.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingOption)\n */\n readonly shippingOption: string | null;\n /**\n * The **`shippingType`** read-only property of the `\'delivery\'`, `\'pickup\'`, or `null` if one was not provided by the constructor.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/shippingType)\n */\n readonly shippingType: PaymentShippingType | null;\n /**\n * The `PaymentRequest.abort()` method of the PaymentRequest interface causes the user agent to end the payment request and to remove any user interface that might be shown.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/abort)\n */\n abort(): Promise<void>;\n /**\n * The PaymentRequest method **`canMakePayment()`** determines whether or not the request is configured in a way that is compatible with at least one payment method supported by the user agent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/canMakePayment)\n */\n canMakePayment(): Promise<boolean>;\n /**\n * The **PaymentRequest** interface\'s **`show()`** method instructs the user agent to begin the process of showing and handling the user interface for the payment request to the user.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequest/show)\n */\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, options?: PaymentOptions): PaymentRequest;\n};\n\n/**\n * The **`PaymentRequestUpdateEvent`** interface is used for events sent to a PaymentRequest instance when changes are made to shipping-related information for a pending PaymentRequest.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequestUpdateEvent)\n */\ninterface PaymentRequestUpdateEvent extends Event {\n /**\n * The **`updateWith()`** method of the ```js-nolint updateWith(details) ``` - `details` - : Either an object or a Promise that resolves to an object, specifying the changes applied to the payment request: - `displayItems` MISSING: optional_inline] - : An array of objects, each describing one line item for the payment request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentRequestUpdateEvent/updateWith)\n */\n updateWith(detailsPromise: PaymentDetailsUpdate | PromiseLike<PaymentDetailsUpdate>): void;\n}\n\ndeclare var PaymentRequestUpdateEvent: {\n prototype: PaymentRequestUpdateEvent;\n new(type: string, eventInitDict?: PaymentRequestUpdateEventInit): PaymentRequestUpdateEvent;\n};\n\ninterface PaymentResponseEventMap {\n "payerdetailchange": PaymentRequestUpdateEvent;\n}\n\n/**\n * The **`PaymentResponse`** interface of the Payment Request API is returned after a user selects a payment method and approves a payment request.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse)\n */\ninterface PaymentResponse extends EventTarget {\n /**\n * The **`details`** read-only property of the provides a payment method specific message used by the merchant to process the transaction and determine a successful funds transfer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/details)\n */\n readonly details: any;\n /**\n * The **`methodName`** read-only property of the PaymentResponse interface returns a string uniquely identifying the payment handler selected by the user.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/methodName)\n */\n readonly methodName: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerdetailchange_event) */\n onpayerdetailchange: ((this: PaymentResponse, ev: PaymentRequestUpdateEvent) => any) | null;\n /**\n * The `payerEmail` read-only property of the PaymentResponse interface returns the email address supplied by the user.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerEmail)\n */\n readonly payerEmail: string | null;\n /**\n * The **`payerName`** read-only property of the option is only present when the `requestPayerName` option is set to `true` in the options parameter of the A string containing the payer name.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerName)\n */\n readonly payerName: string | null;\n /**\n * The `payerPhone` read-only property of the PaymentResponse interface returns the phone number supplied by the user.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/payerPhone)\n */\n readonly payerPhone: string | null;\n /**\n * The **`requestId`** read-only property of the the `PaymentResponse()` constructor by details.id.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/requestId)\n */\n readonly requestId: string;\n /**\n * The **`shippingAddress`** read-only property of the `PaymentRequest` interface returns a PaymentAddress object containing the shipping address provided by the user.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingAddress)\n */\n readonly shippingAddress: PaymentAddress | null;\n /**\n * The **`shippingOption`** read-only property of the `PaymentRequest` interface returns the ID attribute of the shipping option selected by the user.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/shippingOption)\n */\n readonly shippingOption: string | null;\n /**\n * The PaymentRequest method **`complete()`** of the Payment Request API notifies the user interface to be closed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/complete)\n */\n complete(result?: PaymentComplete): Promise<void>;\n /**\n * The PaymentResponse interface\'s **`retry()`** method makes it possible to ask the user to retry a payment after an error occurs during processing.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/retry)\n */\n retry(errorFields?: PaymentValidationErrors): Promise<void>;\n /**\n * The **`toJSON()`** method of the PaymentResponse interface is a Serialization; it returns a JSON representation of the PaymentResponse object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PaymentResponse/toJSON)\n */\n toJSON(): any;\n addEventListener<K extends keyof PaymentResponseEventMap>(type: K, listener: (this: PaymentResponse, ev: PaymentResponseEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof PaymentResponseEventMap>(type: K, listener: (this: PaymentResponse, ev: PaymentResponseEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var PaymentResponse: {\n prototype: PaymentResponse;\n new(): PaymentResponse;\n};\n\ninterface PerformanceEventMap {\n "resourcetimingbufferfull": Event;\n}\n\n/**\n * The **`Performance`** interface provides access to performance-related information for the current page.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance)\n */\ninterface Performance extends EventTarget {\n /**\n * The read-only `performance.eventCounts` property is an EventCounts map containing the number of events which have been dispatched per event type.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/eventCounts)\n */\n readonly eventCounts: EventCounts;\n /**\n * The legacy **`Performance.navigation`** read-only property returns a PerformanceNavigation object representing the type of navigation that occurs in the given browsing context, such as the number of redirections needed to fetch the resource.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/navigation)\n */\n readonly navigation: PerformanceNavigation;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/resourcetimingbufferfull_event) */\n onresourcetimingbufferfull: ((this: Performance, ev: Event) => any) | null;\n /**\n * The **`timeOrigin`** read-only property of the Performance interface returns the high resolution timestamp that is used as the baseline for performance-related timestamps.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/timeOrigin)\n */\n readonly timeOrigin: DOMHighResTimeStamp;\n /**\n * The legacy **`Performance.timing`** read-only property returns a PerformanceTiming object containing latency-related performance information.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/timing)\n */\n readonly timing: PerformanceTiming;\n /**\n * The **`clearMarks()`** method removes all or specific PerformanceMark objects from the browser\'s performance timeline.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/clearMarks)\n */\n clearMarks(markName?: string): void;\n /**\n * The **`clearMeasures()`** method removes all or specific PerformanceMeasure objects from the browser\'s performance timeline.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/clearMeasures)\n */\n clearMeasures(measureName?: string): void;\n /**\n * The **`clearResourceTimings()`** method removes all performance entries with an PerformanceEntry.entryType of `\'resource\'` from the browser\'s performance timeline and sets the size of the performance resource data buffer to zero.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/clearResourceTimings)\n */\n clearResourceTimings(): void;\n /**\n * The **`getEntries()`** method returns an array of all PerformanceEntry objects currently present in the performance timeline.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/getEntries)\n */\n getEntries(): PerformanceEntryList;\n /**\n * The **`getEntriesByName()`** method returns an array of PerformanceEntry objects currently present in the performance timeline with the given _name_ and _type_.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/getEntriesByName)\n */\n getEntriesByName(name: string, type?: string): PerformanceEntryList;\n /**\n * The **`getEntriesByType()`** method returns an array of PerformanceEntry objects currently present in the performance timeline for a given _type_.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/getEntriesByType)\n */\n getEntriesByType(type: string): PerformanceEntryList;\n /**\n * The **`mark()`** method creates a named PerformanceMark object representing a high resolution timestamp marker in the browser\'s performance timeline.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/mark)\n */\n mark(markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark;\n /**\n * The **`measure()`** method creates a named PerformanceMeasure object representing a time measurement between two marks in the browser\'s performance timeline.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/measure)\n */\n measure(measureName: string, startOrMeasureOptions?: string | PerformanceMeasureOptions, endMark?: string): PerformanceMeasure;\n /**\n * The **`performance.now()`** method returns a high resolution timestamp in milliseconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/now)\n */\n now(): DOMHighResTimeStamp;\n /**\n * The **`setResourceTimingBufferSize()`** method sets the desired size of the browser\'s resource timing buffer which stores the `\'resource\'` performance entries.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/setResourceTimingBufferSize)\n */\n setResourceTimingBufferSize(maxSize: number): void;\n /**\n * The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)\n */\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/**\n * The **`PerformanceEntry`** object encapsulates a single performance metric that is part of the browser\'s performance timeline.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry)\n */\ninterface PerformanceEntry {\n /**\n * The read-only **`duration`** property returns a DOMHighResTimeStamp that is the duration of the PerformanceEntry.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry/duration)\n */\n readonly duration: DOMHighResTimeStamp;\n /**\n * The read-only **`entryType`** property returns a string representing the type of performance metric that this entry represents.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry/entryType)\n */\n readonly entryType: string;\n /**\n * The read-only **`name`** property of the PerformanceEntry interface is a string representing the name for a performance entry.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry/name)\n */\n readonly name: string;\n /**\n * The read-only **`startTime`** property returns the first DOMHighResTimeStamp recorded for this PerformanceEntry.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry/startTime)\n */\n readonly startTime: DOMHighResTimeStamp;\n /**\n * The **`toJSON()`** method is a Serialization; it returns a JSON representation of the PerformanceEntry object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry/toJSON)\n */\n toJSON(): any;\n}\n\ndeclare var PerformanceEntry: {\n prototype: PerformanceEntry;\n new(): PerformanceEntry;\n};\n\n/**\n * The `PerformanceEventTiming` interface of the Event Timing API provides insights into the latency of certain event types triggered by user interaction.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming)\n */\ninterface PerformanceEventTiming extends PerformanceEntry {\n /**\n * The read-only **`cancelable`** property returns the associated event\'s `cancelable` property, indicating whether the event can be canceled.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/cancelable)\n */\n readonly cancelable: boolean;\n /**\n * The read-only **`processingEnd`** property returns the time the last event handler finished executing.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/processingEnd)\n */\n readonly processingEnd: DOMHighResTimeStamp;\n /**\n * The read-only **`processingStart`** property returns the time at which event dispatch started.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/processingStart)\n */\n readonly processingStart: DOMHighResTimeStamp;\n /**\n * The read-only **`target`** property returns the associated event\'s last `target` which is the node onto which the event was last dispatched.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/target)\n */\n readonly target: Node | null;\n /**\n * The **`toJSON()`** method of the PerformanceEventTiming interface is a Serialization; it returns a JSON representation of the PerformanceEventTiming object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEventTiming/toJSON)\n */\n toJSON(): any;\n}\n\ndeclare var PerformanceEventTiming: {\n prototype: PerformanceEventTiming;\n new(): PerformanceEventTiming;\n};\n\n/**\n * **`PerformanceMark`** is an interface for PerformanceEntry objects with an PerformanceEntry.entryType of `\'mark\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMark)\n */\ninterface PerformanceMark extends PerformanceEntry {\n /**\n * The read-only **`detail`** property returns arbitrary metadata that was included in the mark upon construction (either when using Performance.mark or the PerformanceMark.PerformanceMark constructor).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMark/detail)\n */\n readonly detail: any;\n}\n\ndeclare var PerformanceMark: {\n prototype: PerformanceMark;\n new(markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark;\n};\n\n/**\n * **`PerformanceMeasure`** is an _abstract_ interface for PerformanceEntry objects with an PerformanceEntry.entryType of `\'measure\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMeasure)\n */\ninterface PerformanceMeasure extends PerformanceEntry {\n /**\n * The read-only **`detail`** property returns arbitrary metadata that was included in the mark upon construction (when using Performance.measure.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMeasure/detail)\n */\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 *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigation)\n */\ninterface PerformanceNavigation {\n /**\n * The legacy **`PerformanceNavigation.redirectCount`** read-only property returns an `unsigned short` representing the number of REDIRECTs done before reaching the page.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigation/redirectCount)\n */\n readonly redirectCount: number;\n /**\n * The legacy **`PerformanceNavigation.type`** read-only property returns an `unsigned short` containing a constant describing how the navigation to this page was done.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigation/type)\n */\n readonly type: number;\n /**\n * The **`toJSON()`** method of the PerformanceNavigation interface is a Serialization; it returns a JSON representation of the PerformanceNavigation object.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigation/toJSON)\n */\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/**\n * The **`PerformanceNavigationTiming`** interface provides methods and properties to store and retrieve metrics regarding the browser\'s document navigation events.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigationTiming)\n */\ninterface PerformanceNavigationTiming extends PerformanceResourceTiming {\n /**\n * The **`domComplete`** read-only property returns a DOMHighResTimeStamp representing the time immediately before the user agent sets the document\'s `readyState` to `\'complete\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigationTiming/domComplete)\n */\n readonly domComplete: DOMHighResTimeStamp;\n /**\n * The **`domContentLoadedEventEnd`** read-only property returns a DOMHighResTimeStamp representing the time immediately after the current document\'s `DOMContentLoaded` event handler completes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigationTiming/domContentLoadedEventEnd)\n */\n readonly domContentLoadedEventEnd: DOMHighResTimeStamp;\n /**\n * The **`domContentLoadedEventStart`** read-only property returns a DOMHighResTimeStamp representing the time immediately before the current document\'s `DOMContentLoaded` event handler starts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigationTiming/domContentLoadedEventStart)\n */\n readonly domContentLoadedEventStart: DOMHighResTimeStamp;\n /**\n * The **`domInteractive`** read-only property returns a DOMHighResTimeStamp representing the time immediately before the user agent sets the document\'s `readyState` to `\'interactive\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigationTiming/domInteractive)\n */\n readonly domInteractive: DOMHighResTimeStamp;\n /**\n * The **`loadEventEnd`** read-only property returns a DOMHighResTimeStamp representing the time immediately after the current document\'s `load` event handler completes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigationTiming/loadEventEnd)\n */\n readonly loadEventEnd: DOMHighResTimeStamp;\n /**\n * The **`loadEventStart`** read-only property returns a DOMHighResTimeStamp representing the time immediately before the current document\'s `load` event handler starts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigationTiming/loadEventStart)\n */\n readonly loadEventStart: DOMHighResTimeStamp;\n /**\n * The **`redirectCount`** read-only property returns a number representing the number of redirects since the last non-redirect navigation in the current browsing context.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigationTiming/redirectCount)\n */\n readonly redirectCount: number;\n /**\n * The **`type`** read-only property returns the type of navigation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigationTiming/type)\n */\n readonly type: NavigationTimingType;\n /**\n * The **`unloadEventEnd`** read-only property returns a DOMHighResTimeStamp representing the time immediately after the current document\'s `unload` event handler completes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigationTiming/unloadEventEnd)\n */\n readonly unloadEventEnd: DOMHighResTimeStamp;\n /**\n * The **`unloadEventStart`** read-only property returns a DOMHighResTimeStamp representing the time immediately before the current document\'s `unload` event handler starts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigationTiming/unloadEventStart)\n */\n readonly unloadEventStart: DOMHighResTimeStamp;\n /**\n * The **`toJSON()`** method of the PerformanceNavigationTiming interface is a Serialization; it returns a JSON representation of the PerformanceNavigationTiming object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceNavigationTiming/toJSON)\n */\n toJSON(): any;\n}\n\ndeclare var PerformanceNavigationTiming: {\n prototype: PerformanceNavigationTiming;\n new(): PerformanceNavigationTiming;\n};\n\n/**\n * The **`PerformanceObserver`** interface is used to observe performance measurement events and be notified of new PerformanceEntry as they are recorded in the browser\'s _performance timeline_.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver)\n */\ninterface PerformanceObserver {\n /**\n * The **`disconnect()`** method of the PerformanceObserver interface is used to stop the performance observer from receiving any PerformanceEntry events.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver/disconnect)\n */\n disconnect(): void;\n /**\n * The **`observe()`** method of the **PerformanceObserver** interface is used to specify the set of performance entry types to observe.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver/observe)\n */\n observe(options?: PerformanceObserverInit): void;\n /**\n * The **`takeRecords()`** method of the PerformanceObserver interface returns the current list of PerformanceEntry objects stored in the performance observer, emptying it out.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver/takeRecords)\n */\n takeRecords(): PerformanceEntryList;\n}\n\ndeclare var PerformanceObserver: {\n prototype: PerformanceObserver;\n new(callback: PerformanceObserverCallback): PerformanceObserver;\n /**\n * The static **`supportedEntryTypes`** read-only property of the PerformanceObserver interface returns an array of the PerformanceEntry.entryType values supported by the user agent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver/supportedEntryTypes_static)\n */\n readonly supportedEntryTypes: ReadonlyArray<string>;\n};\n\n/**\n * The **`PerformanceObserverEntryList`** interface is a list of PerformanceEntry that were explicitly observed via the PerformanceObserver.observe method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserverEntryList)\n */\ninterface PerformanceObserverEntryList {\n /**\n * The **`getEntries()`** method of the PerformanceObserverEntryList interface returns a list of explicitly observed PerformanceEntry objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserverEntryList/getEntries)\n */\n getEntries(): PerformanceEntryList;\n /**\n * The **`getEntriesByName()`** method of the PerformanceObserverEntryList interface returns a list of explicitly observed PerformanceEntry objects for a given PerformanceEntry.name and PerformanceEntry.entryType.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserverEntryList/getEntriesByName)\n */\n getEntriesByName(name: string, type?: string): PerformanceEntryList;\n /**\n * The **`getEntriesByType()`** method of the PerformanceObserverEntryList returns a list of explicitly _observed_ PerformanceEntry objects for a given PerformanceEntry.entryType.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserverEntryList/getEntriesByType)\n */\n getEntriesByType(type: string): PerformanceEntryList;\n}\n\ndeclare var PerformanceObserverEntryList: {\n prototype: PerformanceObserverEntryList;\n new(): PerformanceObserverEntryList;\n};\n\n/**\n * The **`PerformancePaintTiming`** interface provides timing information about \'paint\' (also called \'render\') operations during web page construction.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformancePaintTiming)\n */\ninterface PerformancePaintTiming extends PerformanceEntry {\n}\n\ndeclare var PerformancePaintTiming: {\n prototype: PerformancePaintTiming;\n new(): PerformancePaintTiming;\n};\n\n/**\n * The **`PerformanceResourceTiming`** interface enables retrieval and analysis of detailed network timing data regarding the loading of an application\'s resources.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming)\n */\ninterface PerformanceResourceTiming extends PerformanceEntry {\n /**\n * The **`connectEnd`** read-only property returns the DOMHighResTimeStamp immediately after the browser finishes establishing the connection to the server to retrieve the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/connectEnd)\n */\n readonly connectEnd: DOMHighResTimeStamp;\n /**\n * The **`connectStart`** read-only property returns the DOMHighResTimeStamp immediately before the user agent starts establishing the connection to the server to retrieve the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/connectStart)\n */\n readonly connectStart: DOMHighResTimeStamp;\n /**\n * The **`decodedBodySize`** read-only property returns the size (in octets) received from the fetch (HTTP or cache) of the message body after removing any applied content encoding (like gzip or Brotli).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/decodedBodySize)\n */\n readonly decodedBodySize: number;\n /**\n * The **`domainLookupEnd`** read-only property returns the DOMHighResTimeStamp immediately after the browser finishes the domain-name lookup for the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/domainLookupEnd)\n */\n readonly domainLookupEnd: DOMHighResTimeStamp;\n /**\n * The **`domainLookupStart`** read-only property returns the DOMHighResTimeStamp immediately before the browser starts the domain name lookup for the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/domainLookupStart)\n */\n readonly domainLookupStart: DOMHighResTimeStamp;\n /**\n * The **`encodedBodySize`** read-only property represents the size (in octets) received from the fetch (HTTP or cache) of the payload body before removing any applied content encodings (like gzip or Brotli).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/encodedBodySize)\n */\n readonly encodedBodySize: number;\n /**\n * The **`fetchStart`** read-only property represents a DOMHighResTimeStamp immediately before the browser starts to fetch the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/fetchStart)\n */\n readonly fetchStart: DOMHighResTimeStamp;\n /**\n * The **`initiatorType`** read-only property is a string representing web platform feature that initiated the resource load.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/initiatorType)\n */\n readonly initiatorType: string;\n /**\n * The **`nextHopProtocol`** read-only property is a string representing the network protocol used to fetch the resource, as identified by the ALPN Protocol ID (RFC7301).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/nextHopProtocol)\n */\n readonly nextHopProtocol: string;\n /**\n * The **`redirectEnd`** read-only property returns a DOMHighResTimeStamp immediately after receiving the last byte of the response of the last redirect.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/redirectEnd)\n */\n readonly redirectEnd: DOMHighResTimeStamp;\n /**\n * The **`redirectStart`** read-only property returns a DOMHighResTimeStamp representing the start time of the fetch which that initiates the redirect.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/redirectStart)\n */\n readonly redirectStart: DOMHighResTimeStamp;\n /**\n * The **`requestStart`** read-only property returns a DOMHighResTimeStamp of the time immediately before the browser starts requesting the resource from the server, cache, or local resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/requestStart)\n */\n readonly requestStart: DOMHighResTimeStamp;\n /**\n * The **`responseEnd`** read-only property returns a DOMHighResTimeStamp immediately after the browser receives the last byte of the resource or immediately before the transport connection is closed, whichever comes first.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/responseEnd)\n */\n readonly responseEnd: DOMHighResTimeStamp;\n /**\n * The **`responseStart`** read-only property returns a DOMHighResTimeStamp immediately after the browser receives the first byte of the response from the server, cache, or local resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/responseStart)\n */\n readonly responseStart: DOMHighResTimeStamp;\n /**\n * The **`responseStatus`** read-only property represents the HTTP response status code returned when fetching the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/responseStatus)\n */\n readonly responseStatus: number;\n /**\n * The **`secureConnectionStart`** read-only property returns a DOMHighResTimeStamp immediately before the browser starts the handshake process to secure the current connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/secureConnectionStart)\n */\n readonly secureConnectionStart: DOMHighResTimeStamp;\n /**\n * The **`serverTiming`** read-only property returns an array of PerformanceServerTiming entries containing server timing metrics.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/serverTiming)\n */\n readonly serverTiming: ReadonlyArray<PerformanceServerTiming>;\n /**\n * The **`transferSize`** read-only property represents the size (in octets) of the fetched resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/transferSize)\n */\n readonly transferSize: number;\n /**\n * The **`workerStart`** read-only property of the PerformanceResourceTiming interface returns a The `workerStart` property can have the following values: - A DOMHighResTimeStamp.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/workerStart)\n */\n readonly workerStart: DOMHighResTimeStamp;\n /**\n * The **`toJSON()`** method of the PerformanceResourceTiming interface is a Serialization; it returns a JSON representation of the PerformanceResourceTiming object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/toJSON)\n */\n toJSON(): any;\n}\n\ndeclare var PerformanceResourceTiming: {\n prototype: PerformanceResourceTiming;\n new(): PerformanceResourceTiming;\n};\n\n/**\n * The **`PerformanceServerTiming`** interface surfaces server metrics that are sent with the response in the Server-Timing HTTP header.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming)\n */\ninterface PerformanceServerTiming {\n /**\n * The **`description`** read-only property returns a string value of the server-specified metric description, or an empty string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming/description)\n */\n readonly description: string;\n /**\n * The **`duration`** read-only property returns a double that contains the server-specified metric duration, or the value `0.0`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming/duration)\n */\n readonly duration: DOMHighResTimeStamp;\n /**\n * The **`name`** read-only property returns a string value of the server-specified metric name.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming/name)\n */\n readonly name: string;\n /**\n * The **`toJSON()`** method of the PerformanceServerTiming interface is a Serialization; it returns a JSON representation of the PerformanceServerTiming object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming/toJSON)\n */\n toJSON(): any;\n}\n\ndeclare var PerformanceServerTiming: {\n prototype: PerformanceServerTiming;\n new(): PerformanceServerTiming;\n};\n\n/**\n * The **`PerformanceTiming`** interface is 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.\n * @deprecated This interface is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming)\n */\ninterface PerformanceTiming {\n /**\n * The legacy **`PerformanceTiming.connectEnd`** read-only property returns an `unsigned long long` representing the moment, in milliseconds since the UNIX epoch, where the connection is opened network.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/connectEnd)\n */\n readonly connectEnd: number;\n /**\n * The legacy **`PerformanceTiming.connectStart`** read-only property returns an `unsigned long long` representing the moment, in milliseconds since the UNIX epoch, where the request to open a connection is sent to the network.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/connectStart)\n */\n readonly connectStart: number;\n /**\n * The legacy **`PerformanceTiming.domComplete`** read-only property returns an `unsigned long long` representing the moment, in milliseconds since the UNIX epoch, when the parser finished its work on the main document, that is when its Document.readyState changes to `\'complete\'` and the corresponding Document/readystatechange_event event is thrown.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/domComplete)\n */\n readonly domComplete: number;\n /**\n * The legacy **`PerformanceTiming.domContentLoadedEventEnd`** read-only property returns an `unsigned long long` representing the moment, in milliseconds since the UNIX epoch, right after all the scripts that need to be executed as soon as possible, in order or not, has been executed.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/domContentLoadedEventEnd)\n */\n readonly domContentLoadedEventEnd: number;\n /**\n * The legacy **`PerformanceTiming.domContentLoadedEventStart`** read-only property returns an `unsigned long long` representing the moment, in milliseconds since the UNIX epoch, right before the parser sent the executed right after parsing has been executed.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/domContentLoadedEventStart)\n */\n readonly domContentLoadedEventStart: number;\n /**\n * The legacy **`PerformanceTiming.domInteractive`** read-only property returns an `unsigned long long` representing the moment, in milliseconds since the UNIX epoch, when the parser finished its work on the main document, that is when its Document.readyState changes to `\'interactive\'` and the corresponding Document/readystatechange_event event is thrown.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/domInteractive)\n */\n readonly domInteractive: number;\n /**\n * The legacy **`PerformanceTiming.domLoading`** read-only property returns an `unsigned long long` representing the moment, in milliseconds since the UNIX epoch, when the parser started its work, that is when its corresponding Document/readystatechange_event event is thrown.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/domLoading)\n */\n readonly domLoading: number;\n /**\n * The legacy **`PerformanceTiming.domainLookupEnd`** read-only property returns an `unsigned long long` representing the moment, in milliseconds since the UNIX epoch, where the domain lookup is finished.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/domainLookupEnd)\n */\n readonly domainLookupEnd: number;\n /**\n * The legacy **`PerformanceTiming.domainLookupStart`** read-only property returns an `unsigned long long` representing the moment, in milliseconds since the UNIX epoch, where the domain lookup starts.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/domainLookupStart)\n */\n readonly domainLookupStart: number;\n /**\n * The legacy **`PerformanceTiming.fetchStart`** read-only property returns an `unsigned long long` representing the moment, in milliseconds since the UNIX epoch, the browser is ready to fetch the document using an HTTP request.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/fetchStart)\n */\n readonly fetchStart: number;\n /**\n * The legacy **`PerformanceTiming.loadEventEnd`** read-only property returns an `unsigned long long` representing the moment, in milliseconds since the UNIX epoch, when the Window/load_event event handler terminated, that is when the load event is completed.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/loadEventEnd)\n */\n readonly loadEventEnd: number;\n /**\n * The legacy **`PerformanceTiming.loadEventStart`** read-only property returns an `unsigned long long` representing the moment, in milliseconds since the UNIX epoch, when the Window/load_event event was sent for the current document.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/loadEventStart)\n */\n readonly loadEventStart: number;\n /**\n * The legacy **`PerformanceTiming.navigationStart`** read-only property returns an `unsigned long long` representing the moment, in milliseconds since the UNIX epoch, right after the prompt for unload terminates on the previous document in the same browsing context.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/navigationStart)\n */\n readonly navigationStart: number;\n /**\n * The legacy **`PerformanceTiming.redirectEnd`** read-only property returns an `unsigned long long` representing the moment, in milliseconds since the UNIX epoch, the last HTTP redirect is completed, that is when the last byte of the HTTP response has been received.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/redirectEnd)\n */\n readonly redirectEnd: number;\n /**\n * The legacy **`PerformanceTiming.redirectStart`** read-only property returns an `unsigned long long` representing the moment, in milliseconds since the UNIX epoch, the first HTTP redirect starts.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/redirectStart)\n */\n readonly redirectStart: number;\n /**\n * The legacy **`PerformanceTiming.requestStart`** read-only property returns an `unsigned long long` representing the moment, in milliseconds since the UNIX epoch, when the browser sent the request to obtain the actual document, from the server or from a cache.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/requestStart)\n */\n readonly requestStart: number;\n /**\n * The legacy **`PerformanceTiming.responseEnd`** read-only property returns an `unsigned long long` representing the moment, in milliseconds since the UNIX epoch, when the browser received the last byte of the response, or when the connection is closed if this happened first, from the server from a cache or from a local resource.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/responseEnd)\n */\n readonly responseEnd: number;\n /**\n * The legacy **`PerformanceTiming.responseStart`** read-only property returns an `unsigned long long` representing the moment in time (in milliseconds since the UNIX epoch) when the browser received the first byte of the response from the server, cache, or local resource.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/responseStart)\n */\n readonly responseStart: number;\n /**\n * The legacy **`PerformanceTiming.secureConnectionStart`** read-only property returns an `unsigned long long` representing the moment, in milliseconds since the UNIX epoch, where the secure connection handshake starts.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/secureConnectionStart)\n */\n readonly secureConnectionStart: number;\n /**\n * The legacy **`PerformanceTiming.unloadEventEnd`** read-only property returns an `unsigned long long` representing the moment, in milliseconds since the UNIX epoch, the Window/unload_event event handler finishes.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/unloadEventEnd)\n */\n readonly unloadEventEnd: number;\n /**\n * The legacy **`PerformanceTiming.unloadEventStart`** read-only property returns an `unsigned long long` representing the moment, in milliseconds since the UNIX epoch, the Window/unload_event event has been thrown.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/unloadEventStart)\n */\n readonly unloadEventStart: number;\n /**\n * The legacy **`toJSON()`** method of the PerformanceTiming interface is a Serialization; it returns a JSON representation of the PerformanceTiming object.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceTiming/toJSON)\n */\n toJSON(): any;\n}\n\n/** @deprecated */\ndeclare var PerformanceTiming: {\n prototype: PerformanceTiming;\n new(): PerformanceTiming;\n};\n\n/**\n * The **`PeriodicWave`** interface defines a periodic waveform that can be used to shape the output of an OscillatorNode.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PeriodicWave)\n */\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\n/**\n * The **`PermissionStatus`** interface of the Permissions API provides the state of an object and an event handler for monitoring changes to said state.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus)\n */\ninterface PermissionStatus extends EventTarget {\n /**\n * The **`name`** read-only property of the PermissionStatus interface returns the name of a requested permission.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/name)\n */\n readonly name: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/change_event) */\n onchange: ((this: PermissionStatus, ev: Event) => any) | null;\n /**\n * The **`state`** read-only property of the This property returns one of `\'granted\'`, `\'denied\'`, or `\'prompt\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/state)\n */\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\n/**\n * The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions - Permissions.query - : Returns the user permission status for a given API.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions)\n */\ninterface Permissions {\n /**\n * The **`query()`** method of the Permissions interface returns the state of a user permission on the global scope.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions/query)\n */\n query(permissionDesc: PermissionDescriptor): Promise<PermissionStatus>;\n}\n\ndeclare var Permissions: {\n prototype: Permissions;\n new(): Permissions;\n};\n\n/**\n * The **`PictureInPictureEvent`** interface represents picture-in-picture-related events, including HTMLVideoElement/enterpictureinpicture_event, HTMLVideoElement/leavepictureinpicture_event and PictureInPictureWindow/resize_event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PictureInPictureEvent)\n */\ninterface PictureInPictureEvent extends Event {\n /**\n * The read-only **`pictureInPictureWindow`** property of the PictureInPictureEvent interface returns the PictureInPictureWindow the event relates to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PictureInPictureEvent/pictureInPictureWindow)\n */\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\n/**\n * The **`PictureInPictureWindow`** interface represents an object able to programmatically obtain the **`width`** and **`height`** and **`resize event`** of the floating video window.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow)\n */\ninterface PictureInPictureWindow extends EventTarget {\n /**\n * The read-only **`height`** property of the PictureInPictureWindow interface returns the height of the floating video window in pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow/height)\n */\n readonly height: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow/resize_event) */\n onresize: ((this: PictureInPictureWindow, ev: Event) => any) | null;\n /**\n * The read-only **`width`** property of the PictureInPictureWindow interface returns the width of the floating video window in pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow/width)\n */\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 * The `Plugin` interface provides information about a browser plugin.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Plugin)\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 * The `PluginArray` interface is used to store a list of Plugin objects; it\'s returned by the Navigator.plugins property.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PluginArray)\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/**\n * The **`PointerEvent`** interface represents 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent)\n */\ninterface PointerEvent extends MouseEvent {\n /**\n * The **`altitudeAngle`** read-only property of the PointerEvent interface represents the angle between a transducer (a pointer or stylus) axis and the X-Y plane of a device screen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/altitudeAngle)\n */\n readonly altitudeAngle: number;\n /**\n * The **`azimuthAngle`** read-only property of the PointerEvent interface represents the angle between the Y-Z plane and the plane containing both the transducer (pointer or stylus) axis and the Y axis.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/azimuthAngle)\n */\n readonly azimuthAngle: number;\n /**\n * The **`height`** read-only property of the geometry, along the y-axis (in CSS pixels).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/height)\n */\n readonly height: number;\n /**\n * The **`isPrimary`** read-only property of the created the event is the _primary_ pointer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/isPrimary)\n */\n readonly isPrimary: boolean;\n /**\n * The **`pointerId`** read-only property of the event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/pointerId)\n */\n readonly pointerId: number;\n /**\n * The **`pointerType`** read-only property of the that caused a given pointer event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/pointerType)\n */\n readonly pointerType: string;\n /**\n * The **`pressure`** read-only property of the input.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/pressure)\n */\n readonly pressure: number;\n /**\n * The **`tangentialPressure`** read-only property of the the pointer input (also known as barrel pressure or cylinder stress).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/tangentialPressure)\n */\n readonly tangentialPressure: number;\n /**\n * The **`tiltX`** read-only property of the PointerEvent interface is the angle (in degrees) between the _Y-Z plane_ of the pointer and the screen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/tiltX)\n */\n readonly tiltX: number;\n /**\n * The **`tiltY`** read-only property of the PointerEvent interface is the angle (in degrees) between the _X-Z plane_ of the pointer and the screen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/tiltY)\n */\n readonly tiltY: number;\n /**\n * The **`twist`** read-only property of the (e.g., pen stylus) around its major axis, in degrees.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/twist)\n */\n readonly twist: number;\n /**\n * The **`width`** read-only property of the geometry along the x-axis, measured in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/width)\n */\n readonly width: number;\n /**\n * The **`getCoalescedEvents()`** method of the PointerEvent interface returns a sequence of `PointerEvent` instances that were coalesced (merged) into a single Element/pointermove_event or Element/pointerrawupdate_event event.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/getCoalescedEvents)\n */\n getCoalescedEvents(): PointerEvent[];\n /**\n * The **`getPredictedEvents()`** method of the PointerEvent interface returns a sequence of `PointerEvent` instances that are estimated future pointer positions.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/getPredictedEvents)\n */\n getPredictedEvents(): PointerEvent[];\n}\n\ndeclare var PointerEvent: {\n prototype: PointerEvent;\n new(type: string, eventInitDict?: PointerEventInit): PointerEvent;\n};\n\n/**\n * **`PopStateEvent`** is an interface for the Window/popstate_event event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent)\n */\ninterface PopStateEvent extends Event {\n /**\n * The **`hasUAVisualTransition`** read-only property of the PopStateEvent interface returns `true` if the user agent performed a visual transition for this navigation before dispatching this event, or `false` otherwise.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent/hasUAVisualTransition)\n */\n readonly hasUAVisualTransition: boolean;\n /**\n * The **`state`** read-only property of the PopStateEvent interface represents the state stored when the event was created.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PopStateEvent/state)\n */\n readonly state: any;\n}\n\ndeclare var PopStateEvent: {\n prototype: PopStateEvent;\n new(type: string, eventInitDict?: PopStateEventInit): PopStateEvent;\n};\n\ninterface PopoverInvokerElement {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetAction) */\n popoverTargetAction: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/popoverTargetElement) */\n popoverTargetElement: Element | null;\n}\n\n/**\n * The **`ProcessingInstruction`** interface represents a processing instruction; that is, a Node which embeds an instruction targeting a specific application but that can be ignored by any other applications which don\'t recognize the instruction.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProcessingInstruction)\n */\ninterface ProcessingInstruction extends CharacterData, LinkStyle {\n readonly ownerDocument: Document;\n /**\n * The read-only **`target`** property of the ProcessingInstruction interface represent the application to which the `ProcessingInstruction` is targeted.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProcessingInstruction/target)\n */\n readonly target: string;\n}\n\ndeclare var ProcessingInstruction: {\n prototype: ProcessingInstruction;\n new(): ProcessingInstruction;\n};\n\n/**\n * The **`ProgressEvent`** interface represents events that measure the progress of an underlying process, like an HTTP request (e.g., an `XMLHttpRequest`, or the loading of the underlying resource of an img, audio, video, style or link).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent)\n */\ninterface ProgressEvent<T extends EventTarget = EventTarget> extends Event {\n /**\n * The **`ProgressEvent.lengthComputable`** read-only property is a boolean flag indicating if the resource concerned by the A boolean.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/lengthComputable)\n */\n readonly lengthComputable: boolean;\n /**\n * The **`ProgressEvent.loaded`** read-only property is a number indicating the size of the data already transmitted or processed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/loaded)\n */\n readonly loaded: number;\n readonly target: T | null;\n /**\n * The **`ProgressEvent.total`** read-only property is a number indicating the total size of the data being transmitted or processed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/total)\n */\n readonly total: number;\n}\n\ndeclare var ProgressEvent: {\n prototype: ProgressEvent;\n new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent;\n};\n\n/**\n * The **`PromiseRejectionEvent`** interface represents events which are sent to the global script context when JavaScript Promises are rejected.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent)\n */\ninterface PromiseRejectionEvent extends Event {\n /**\n * The PromiseRejectionEvent interface\'s **`promise`** read-only property indicates the JavaScript rejected.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise)\n */\n readonly promise: Promise<any>;\n /**\n * The PromiseRejectionEvent **`reason`** read-only property is any JavaScript value or Object which provides the reason passed into Promise.reject().\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/reason)\n */\n readonly reason: any;\n}\n\ndeclare var PromiseRejectionEvent: {\n prototype: PromiseRejectionEvent;\n new(type: string, eventInitDict: PromiseRejectionEventInit): PromiseRejectionEvent;\n};\n\n/**\n * The **`PublicKeyCredential`** interface provides information about a public key / private key pair, which is a credential for logging in to a service using an un-phishable and data-breach resistant asymmetric key pair instead of a password.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential)\n */\ninterface PublicKeyCredential extends Credential {\n /**\n * The **`authenticatorAttachment`** read-only property of the PublicKeyCredential interface is a string that indicates the general category of authenticator used during the associated CredentialsContainer.create() or CredentialsContainer.get() call.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/authenticatorAttachment)\n */\n readonly authenticatorAttachment: string | null;\n /**\n * The **`rawId`** read-only property of the containing the identifier of the credentials.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/rawId)\n */\n readonly rawId: ArrayBuffer;\n /**\n * The **`response`** read-only property of the object which is sent from the authenticator to the user agent for the creation/fetching of credentials.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/response)\n */\n readonly response: AuthenticatorResponse;\n /**\n * The **`getClientExtensionResults()`** method of the PublicKeyCredential interface returns a map between the identifiers of extensions requested during credential creation or authentication, and their results after processing by the user agent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/getClientExtensionResults)\n */\n getClientExtensionResults(): AuthenticationExtensionsClientOutputs;\n /**\n * The **`toJSON()`** method of the PublicKeyCredential interface returns a JSON type representation of a PublicKeyCredential.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON)\n */\n toJSON(): PublicKeyCredentialJSON;\n}\n\ndeclare var PublicKeyCredential: {\n prototype: PublicKeyCredential;\n new(): PublicKeyCredential;\n /**\n * The **`getClientCapabilities()`** static method of the PublicKeyCredential interface returns a Promise that resolves with an object that can be used to check whether or not particular WebAuthn client capabilities and extensions are supported.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/getClientCapabilities_static)\n */\n getClientCapabilities(): Promise<PublicKeyCredentialClientCapabilities>;\n /**\n * The **`isConditionalMediationAvailable()`** static method of the PublicKeyCredential interface returns a Promise which resolves to `true` if conditional mediation is available.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isConditionalMediationAvailable_static)\n */\n isConditionalMediationAvailable(): Promise<boolean>;\n /**\n * The **`isUserVerifyingPlatformAuthenticatorAvailable()`** static method of the PublicKeyCredential interface returns a Promise which resolves to `true` if a user-verifying platform authenticator is present.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static)\n */\n isUserVerifyingPlatformAuthenticatorAvailable(): Promise<boolean>;\n /**\n * The **`parseCreationOptionsFromJSON()`** static method of the PublicKeyCredential interface creates a PublicKeyCredentialCreationOptions object from a JSON representation of its properties.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseCreationOptionsFromJSON_static)\n */\n parseCreationOptionsFromJSON(options: PublicKeyCredentialCreationOptionsJSON): PublicKeyCredentialCreationOptions;\n /**\n * The **`parseRequestOptionsFromJSON()`** static method of the PublicKeyCredential interface converts a JSON type representation into a PublicKeyCredentialRequestOptions instance.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/parseRequestOptionsFromJSON_static)\n */\n parseRequestOptionsFromJSON(options: PublicKeyCredentialRequestOptionsJSON): PublicKeyCredentialRequestOptions;\n};\n\n/**\n * The **`PushManager`** interface of the Push API 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 *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager)\n */\ninterface PushManager {\n /**\n * The **`PushManager.getSubscription()`** method of the PushManager interface retrieves an existing push subscription.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/getSubscription)\n */\n getSubscription(): Promise<PushSubscription | null>;\n /**\n * The **`permissionState()`** method of the string indicating the permission state of the push manager.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/permissionState)\n */\n permissionState(options?: PushSubscriptionOptionsInit): Promise<PermissionState>;\n /**\n * The **`subscribe()`** method of the PushManager interface subscribes to a push service.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/subscribe)\n */\n subscribe(options?: PushSubscriptionOptionsInit): Promise<PushSubscription>;\n}\n\ndeclare var PushManager: {\n prototype: PushManager;\n new(): PushManager;\n /**\n * The **`supportedContentEncodings`** read-only static property of the PushManager interface returns an array of supported content codings that can be used to encrypt the payload of a push message.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/supportedContentEncodings_static)\n */\n readonly supportedContentEncodings: ReadonlyArray<string>;\n};\n\n/**\n * The `PushSubscription` interface of the Push API provides a subscription\'s URL endpoint along with the public key and secrets that should be used for encrypting push messages to this subscription.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription)\n */\ninterface PushSubscription {\n /**\n * The **`endpoint`** read-only property of the the endpoint associated with the push subscription.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/endpoint)\n */\n readonly endpoint: string;\n /**\n * The **`expirationTime`** read-only property of the of the subscription expiration time associated with the push subscription, if there is one, or `null` otherwise.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/expirationTime)\n */\n readonly expirationTime: EpochTimeStamp | null;\n /**\n * The **`options`** read-only property of the PushSubscription interface is an object containing the options used to create the subscription.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/options)\n */\n readonly options: PushSubscriptionOptions;\n /**\n * The `getKey()` method of the PushSubscription interface returns an ArrayBuffer representing a client public key, which can then be sent to a server and used in encrypting push message data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/getKey)\n */\n getKey(name: PushEncryptionKeyName): ArrayBuffer | null;\n /**\n * The `toJSON()` method of the PushSubscription interface is a standard serializer: it returns a JSON representation of the subscription properties, providing a useful shortcut.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/toJSON)\n */\n toJSON(): PushSubscriptionJSON;\n /**\n * The `unsubscribe()` method of the PushSubscription interface returns a Promise that resolves to a boolean value when the current subscription is successfully unsubscribed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/unsubscribe)\n */\n unsubscribe(): Promise<boolean>;\n}\n\ndeclare var PushSubscription: {\n prototype: PushSubscription;\n new(): PushSubscription;\n};\n\n/**\n * The **`PushSubscriptionOptions`** interface of the Push API represents the options associated with a push subscription.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscriptionOptions)\n */\ninterface PushSubscriptionOptions {\n /**\n * The **`applicationServerKey`** read-only property of the PushSubscriptionOptions interface contains the public key used by the push server.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscriptionOptions/applicationServerKey)\n */\n readonly applicationServerKey: ArrayBuffer | null;\n /**\n * The **`userVisibleOnly`** read-only property of the PushSubscriptionOptions interface indicates if the returned push subscription will only be used for messages whose effect is made visible to the user.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscriptionOptions/userVisibleOnly)\n */\n readonly userVisibleOnly: boolean;\n}\n\ndeclare var PushSubscriptionOptions: {\n prototype: PushSubscriptionOptions;\n new(): PushSubscriptionOptions;\n};\n\n/**\n * The **`RTCCertificate`** interface of the WebRTC API provides an object representing a certificate that an RTCPeerConnection uses to authenticate.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCCertificate)\n */\ninterface RTCCertificate {\n /**\n * The read-only **`expires`** property of the RTCCertificate interface returns the expiration date of the certificate.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCCertificate/expires)\n */\n readonly expires: EpochTimeStamp;\n /**\n * The **`getFingerprints()`** method of the **RTCCertificate** interface is used to get an array of certificate fingerprints.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCCertificate/getFingerprints)\n */\n getFingerprints(): RTCDtlsFingerprint[];\n}\n\ndeclare var RTCCertificate: {\n prototype: RTCCertificate;\n new(): RTCCertificate;\n};\n\ninterface RTCDTMFSenderEventMap {\n "tonechange": RTCDTMFToneChangeEvent;\n}\n\n/**\n * The **`RTCDTMFSender`** interface provides a mechanism for transmitting DTMF codes on a WebRTC RTCPeerConnection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDTMFSender)\n */\ninterface RTCDTMFSender extends EventTarget {\n /**\n * The **`canInsertDTMF`** read-only property of the RTCDTMFSender interface returns a boolean value which indicates whether the `RTCDTMFSender` is capable of sending DTMF tones over the RTCPeerConnection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDTMFSender/canInsertDTMF)\n */\n readonly canInsertDTMF: boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDTMFSender/tonechange_event) */\n ontonechange: ((this: RTCDTMFSender, ev: RTCDTMFToneChangeEvent) => any) | null;\n /**\n * The RTCDTMFSender interface\'s toneBuffer property returns a string containing a list of the DTMF tones currently queued for sending to the remote peer over the RTCPeerConnection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDTMFSender/toneBuffer)\n */\n readonly toneBuffer: string;\n /**\n * The **`insertDTMF()`** method of the RTCDTMFSender interface sends DTMF tones to the remote peer over the RTCPeerConnection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDTMFSender/insertDTMF)\n */\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/**\n * The **`RTCDTMFToneChangeEvent`** interface represents events sent to indicate that DTMF tones have started or finished playing.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDTMFToneChangeEvent)\n */\ninterface RTCDTMFToneChangeEvent extends Event {\n /**\n * The read-only property **`RTCDTMFToneChangeEvent.tone`** returns the DTMF character which has just begun to play, or an empty string (`\'\'`).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDTMFToneChangeEvent/tone)\n */\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": RTCErrorEvent;\n "message": MessageEvent;\n "open": Event;\n}\n\n/**\n * The **`RTCDataChannel`** interface represents a network channel which can be used for bidirectional peer-to-peer transfers of arbitrary data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel)\n */\ninterface RTCDataChannel extends EventTarget {\n /**\n * The property **`binaryType`** on the the type of object which should be used to represent binary data received on the RTCDataChannel.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/binaryType)\n */\n binaryType: BinaryType;\n /**\n * The read-only `RTCDataChannel` property **`bufferedAmount`** returns the number of bytes of data currently queued to be sent over the data channel.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/bufferedAmount)\n */\n readonly bufferedAmount: number;\n /**\n * The `RTCDataChannel` property **`bufferedAmountLowThreshold`** is used to specify the number of bytes of buffered outgoing data that is considered \'low.\' The default value is 0\\.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/bufferedAmountLowThreshold)\n */\n bufferedAmountLowThreshold: number;\n /**\n * The read-only `RTCDataChannel` property **`id`** returns an ID number (between 0 and 65,534) which uniquely identifies the RTCDataChannel.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/id)\n */\n readonly id: number | null;\n /**\n * The read-only `RTCDataChannel` property **`label`** returns a string containing a name describing the data channel.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/label)\n */\n readonly label: string;\n /**\n * The read-only `RTCDataChannel` property **`maxPacketLifeTime`** returns the amount of time, in milliseconds, the browser is allowed to take to attempt to transmit a message, as set when the data channel was created, or `null`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/maxPacketLifeTime)\n */\n readonly maxPacketLifeTime: number | null;\n /**\n * The read-only `RTCDataChannel` property **`maxRetransmits`** returns the maximum number of times the browser should try to retransmit a message before giving up, as set when the data channel was created, or `null`, which indicates that there is no maximum.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/maxRetransmits)\n */\n readonly maxRetransmits: number | null;\n /**\n * The read-only `RTCDataChannel` property **`negotiated`** indicates whether the (`true`) or by the WebRTC layer (`false`).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/negotiated)\n */\n readonly negotiated: boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/bufferedamountlow_event) */\n onbufferedamountlow: ((this: RTCDataChannel, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/close_event) */\n onclose: ((this: RTCDataChannel, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/closing_event) */\n onclosing: ((this: RTCDataChannel, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/error_event) */\n onerror: ((this: RTCDataChannel, ev: RTCErrorEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/message_event) */\n onmessage: ((this: RTCDataChannel, ev: MessageEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/open_event) */\n onopen: ((this: RTCDataChannel, ev: Event) => any) | null;\n /**\n * The read-only `RTCDataChannel` property **`ordered`** indicates whether or not the data channel guarantees in-order delivery of messages; the default is `true`, which indicates that the data channel is indeed ordered.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/ordered)\n */\n readonly ordered: boolean;\n /**\n * The read-only `RTCDataChannel` property **`protocol`** returns a string containing the name of the subprotocol in use.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/protocol)\n */\n readonly protocol: string;\n /**\n * The read-only `RTCDataChannel` property **`readyState`** returns a string which indicates the state of the data channel\'s underlying data connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/readyState)\n */\n readonly readyState: RTCDataChannelState;\n /**\n * The **`RTCDataChannel.close()`** method closes the closure of the channel.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/close)\n */\n close(): void;\n /**\n * The **`send()`** method of the remote peer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/send)\n */\n send(data: string): void;\n send(data: Blob): void;\n send(data: ArrayBuffer): void;\n send(data: ArrayBufferView<ArrayBuffer>): 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\n/**\n * The **`RTCDataChannelEvent`** interface represents an event related to a specific RTCDataChannel.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannelEvent)\n */\ninterface RTCDataChannelEvent extends Event {\n /**\n * The read-only property **`RTCDataChannelEvent.channel`** returns the RTCDataChannel associated with the event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannelEvent/channel)\n */\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": RTCErrorEvent;\n "statechange": Event;\n}\n\n/**\n * The **`RTCDtlsTransport`** interface provides access to information about the Datagram Transport Layer Security (**DTLS**) transport over which a RTCPeerConnection\'s RTP and RTCP packets are sent and received by its RTCRtpSender and RTCRtpReceiver objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport)\n */\ninterface RTCDtlsTransport extends EventTarget {\n /**\n * The **`iceTransport`** read-only property of the **RTCDtlsTransport** interface contains a reference to the underlying RTCIceTransport.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/iceTransport)\n */\n readonly iceTransport: RTCIceTransport;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/error_event) */\n onerror: ((this: RTCDtlsTransport, ev: RTCErrorEvent) => any) | null;\n onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null;\n /**\n * The **`state`** read-only property of the Datagram Transport Layer Security (**DTLS**) transport state.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/state)\n */\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\n/**\n * The **`RTCEncodedAudioFrame`** of the WebRTC API represents an encoded audio frame in the WebRTC receiver or sender pipeline, which may be modified using a WebRTC Encoded Transform.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame)\n */\ninterface RTCEncodedAudioFrame {\n /**\n * The **`data`** property of the RTCEncodedAudioFrame interface returns a buffer containing the data for an encoded frame.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data)\n */\n data: ArrayBuffer;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) */\n readonly timestamp: number;\n /**\n * The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/getMetadata)\n */\n getMetadata(): RTCEncodedAudioFrameMetadata;\n}\n\ndeclare var RTCEncodedAudioFrame: {\n prototype: RTCEncodedAudioFrame;\n new(): RTCEncodedAudioFrame;\n};\n\n/**\n * The **`RTCEncodedVideoFrame`** of the WebRTC API represents an encoded video frame in the WebRTC receiver or sender pipeline, which may be modified using a WebRTC Encoded Transform.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame)\n */\ninterface RTCEncodedVideoFrame {\n /**\n * The **`data`** property of the RTCEncodedVideoFrame interface returns a buffer containing the frame data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data)\n */\n data: ArrayBuffer;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) */\n readonly timestamp: number;\n /**\n * The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/type)\n */\n readonly type: RTCEncodedVideoFrameType;\n /**\n * The **`getMetadata()`** method of the RTCEncodedVideoFrame interface returns an object containing the metadata associated with the frame.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/getMetadata)\n */\n getMetadata(): RTCEncodedVideoFrameMetadata;\n}\n\ndeclare var RTCEncodedVideoFrame: {\n prototype: RTCEncodedVideoFrame;\n new(): RTCEncodedVideoFrame;\n};\n\n/**\n * The **`RTCError`** interface describes an error which has occurred while handling WebRTC operations.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCError)\n */\ninterface RTCError extends DOMException {\n /**\n * The RTCError interface\'s read-only **`errorDetail`** property is a string indicating the WebRTC-specific error code that occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCError/errorDetail)\n */\n readonly errorDetail: RTCErrorDetailType;\n /**\n * The RTCError read-only property **`receivedAlert`** specifies the fatal DTLS error which resulted in an alert being received from the remote peer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCError/receivedAlert)\n */\n readonly receivedAlert: number | null;\n /**\n * The read-only **`sctpCauseCode`** property in an why the SCTP negotiation failed, if the `RTCError` represents an SCTP error.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCError/sctpCauseCode)\n */\n readonly sctpCauseCode: number | null;\n /**\n * The RTCError interface\'s read-only property **`sdpLineNumber`** specifies the line number within the An unsigned integer value indicating the line within the SDP at which the syntax error described by the `RTCError` object occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCError/sdpLineNumber)\n */\n readonly sdpLineNumber: number | null;\n /**\n * The read-only **`sentAlert`** property in an while sending data to the remote peer, if the error represents an outbound DTLS error.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCError/sentAlert)\n */\n readonly sentAlert: number | null;\n}\n\ndeclare var RTCError: {\n prototype: RTCError;\n new(init: RTCErrorInit, message?: string): RTCError;\n};\n\n/**\n * The WebRTC API\'s **`RTCErrorEvent`** interface represents an error sent to a WebRTC object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCErrorEvent)\n */\ninterface RTCErrorEvent extends Event {\n /**\n * The read-only RTCErrorEvent property **`error`** contains an RTCError object describing the details of the error which the event is announcing.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCErrorEvent/error)\n */\n readonly error: RTCError;\n}\n\ndeclare var RTCErrorEvent: {\n prototype: RTCErrorEvent;\n new(type: string, eventInitDict: RTCErrorEventInit): RTCErrorEvent;\n};\n\n/**\n * The **`RTCIceCandidate`** interface—part of the WebRTC API—represents a candidate Interactive Connectivity Establishment (ICE) configuration which may be used to establish an RTCPeerConnection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceCandidate)\n */\ninterface RTCIceCandidate {\n /**\n * The **RTCIceCandidate** interface\'s read-only **`address`** property is a string providing the IP address of the device which is the source of the candidate.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceCandidate/address)\n */\n readonly address: string | null;\n /**\n * The read-only property **`candidate`** on the RTCIceCandidate interface returns a string describing the candidate in detail.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceCandidate/candidate)\n */\n readonly candidate: string;\n /**\n * The read-only **`component`** property on the RTCIceCandidate interface is a string which indicates whether the candidate is an RTP or an RTCP candidate.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceCandidate/component)\n */\n readonly component: RTCIceComponent | null;\n /**\n * The **`foundation`** read-only property of the RTCIceCandidate interface is a string that allows correlation of candidates from a common network path on multiple RTCIceTransport objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceCandidate/foundation)\n */\n readonly foundation: string | null;\n /**\n * The **RTCIceCandidate** interface\'s read-only **`port`** property contains the port number on the device at the address given by RTCIceCandidate.address at which the candidate\'s peer can be reached.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceCandidate/port)\n */\n readonly port: number | null;\n /**\n * The **RTCIceCandidate** interface\'s read-only **`priority`** property specifies the candidate\'s priority according to the remote peer; the higher this value is, the better the remote peer considers the candidate to be.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceCandidate/priority)\n */\n readonly priority: number | null;\n /**\n * The **RTCIceCandidate** interface\'s read-only **`protocol`** property is a string which indicates whether the candidate uses UDP or TCP as its transport protocol.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceCandidate/protocol)\n */\n readonly protocol: RTCIceProtocol | null;\n /**\n * The **RTCIceCandidate** interface\'s read-only **`relatedAddress`** property is a string indicating the **related address** of a relay or reflexive candidate.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceCandidate/relatedAddress)\n */\n readonly relatedAddress: string | null;\n /**\n * The **RTCIceCandidate** interface\'s read-only **`relatedPort`** property indicates the port number of reflexive or relay candidates.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceCandidate/relatedPort)\n */\n readonly relatedPort: number | null;\n /**\n * The read-only **`sdpMLineIndex`** property on the RTCIceCandidate interface is a zero-based index of the m-line describing the media associated with the candidate.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceCandidate/sdpMLineIndex)\n */\n readonly sdpMLineIndex: number | null;\n /**\n * The read-only property **`sdpMid`** on the RTCIceCandidate interface returns a string specifying the media stream identification tag of the media component with which the candidate is associated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceCandidate/sdpMid)\n */\n readonly sdpMid: string | null;\n /**\n * The **RTCIceCandidate** interface\'s read-only **`tcpType`** property is included on TCP candidates to provide additional details about the candidate type.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceCandidate/tcpType)\n */\n readonly tcpType: RTCIceTcpCandidateType | null;\n /**\n * The **RTCIceCandidate** interface\'s read-only **`type`** specifies the type of candidate the object represents.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceCandidate/type)\n */\n readonly type: RTCIceCandidateType | null;\n /**\n * The read-only **`usernameFragment`** property on the RTCIceCandidate interface is a string indicating the username fragment (\'ufrag\') that uniquely identifies a single ICE interaction session.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceCandidate/usernameFragment)\n */\n readonly usernameFragment: string | null;\n /**\n * The RTCIceCandidate method **`toJSON()`** converts the `RTCIceCandidate` on which it\'s called into JSON.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceCandidate/toJSON)\n */\n toJSON(): RTCIceCandidateInit;\n}\n\ndeclare var RTCIceCandidate: {\n prototype: RTCIceCandidate;\n new(candidateInitDict?: RTCLocalIceCandidateInit): RTCIceCandidate;\n};\n\n/** The **`RTCIceCandidatePair`** dictionary describes a pair of ICE candidates which together comprise a description of a viable connection between two WebRTC endpoints. */\ninterface RTCIceCandidatePair {\n /** The **`local`** property of the **RTCIceCandidatePair** dictionary specifies the RTCIceCandidate which describes the configuration of the local end of a viable WebRTC connection. */\n local: RTCIceCandidate;\n /** The **`remote`** property of the **RTCIceCandidatePair** dictionary specifies the viable WebRTC connection. */\n remote: RTCIceCandidate;\n}\n\ninterface RTCIceTransportEventMap {\n "gatheringstatechange": Event;\n "selectedcandidatepairchange": Event;\n "statechange": Event;\n}\n\n/**\n * The **`RTCIceTransport`** interface provides access to information about the ICE transport layer over which the data is being sent and received.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceTransport)\n */\ninterface RTCIceTransport extends EventTarget {\n /**\n * The **`gatheringState`** read-only property of the RTCIceTransport interface returns a string that indicates the current gathering state of the ICE agent for this transport: `\'new\'`, `\'gathering\'`, or `\'complete\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceTransport/gatheringState)\n */\n readonly gatheringState: RTCIceGathererState;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceTransport/gatheringstatechange_event) */\n ongatheringstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceTransport/selectedcandidatepairchange_event) */\n onselectedcandidatepairchange: ((this: RTCIceTransport, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceTransport/statechange_event) */\n onstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;\n /**\n * The **`state`** read-only property of the RTCIceTransport interface returns the current state of the ICE transport, so you can determine the state of ICE gathering in which the ICE agent currently is operating.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceTransport/state)\n */\n readonly state: RTCIceTransportState;\n /**\n * The **`getSelectedCandidatePair()`** method of the RTCIceTransport interface returns an RTCIceCandidatePair object containing the current best-choice pair of ICE candidates describing the configuration of the endpoints of the transport.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCIceTransport/getSelectedCandidatePair)\n */\n getSelectedCandidatePair(): RTCIceCandidatePair | null;\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": RTCPeerConnectionIceErrorEvent;\n "iceconnectionstatechange": Event;\n "icegatheringstatechange": Event;\n "negotiationneeded": Event;\n "signalingstatechange": Event;\n "track": RTCTrackEvent;\n}\n\n/**\n * The **`RTCPeerConnection`** interface represents a WebRTC connection between the local computer and a remote peer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection)\n */\ninterface RTCPeerConnection extends EventTarget {\n /**\n * The **`canTrickleIceCandidates`** read-only property of the RTCPeerConnection interface returns a boolean value which indicates whether or not the remote peer can accept trickled ICE candidates.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/canTrickleIceCandidates)\n */\n readonly canTrickleIceCandidates: boolean | null;\n /**\n * The **`connectionState`** read-only property of the RTCPeerConnection interface indicates the current state of the peer connection by returning one of the following string values: `new`, `connecting`, `connected`, `disconnected`, `failed`, or `closed`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/connectionState)\n */\n readonly connectionState: RTCPeerConnectionState;\n /**\n * The **`currentLocalDescription`** read-only property of the RTCPeerConnection interface returns an RTCSessionDescription object describing the local end of the connection as it was most recently successfully negotiated since the last time the RTCPeerConnection finished negotiating and connecting to a remote peer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/currentLocalDescription)\n */\n readonly currentLocalDescription: RTCSessionDescription | null;\n /**\n * The **`currentRemoteDescription`** read-only property of the RTCPeerConnection interface returns an Also included is a list of any ICE candidates that may already have been generated by the ICE agent since the offer or answer represented by the description was first instantiated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/currentRemoteDescription)\n */\n readonly currentRemoteDescription: RTCSessionDescription | null;\n /**\n * The **`iceConnectionState`** read-only property of the RTCPeerConnection interface returns a string which state of the ICE agent associated with the RTCPeerConnection: `new`, `checking`, `connected`, `completed`, `failed`, `disconnected`, and `closed`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/iceConnectionState)\n */\n readonly iceConnectionState: RTCIceConnectionState;\n /**\n * The **`iceGatheringState`** read-only property of the RTCPeerConnection interface returns a string that describes the overall ICE gathering state for this connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/iceGatheringState)\n */\n readonly iceGatheringState: RTCIceGatheringState;\n /**\n * The **`localDescription`** read-only property of the RTCPeerConnection interface returns an RTCSessionDescription describing the session for the local end of the connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/localDescription)\n */\n readonly localDescription: RTCSessionDescription | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/connectionstatechange_event) */\n onconnectionstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/datachannel_event) */\n ondatachannel: ((this: RTCPeerConnection, ev: RTCDataChannelEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/icecandidate_event) */\n onicecandidate: ((this: RTCPeerConnection, ev: RTCPeerConnectionIceEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/icecandidateerror_event) */\n onicecandidateerror: ((this: RTCPeerConnection, ev: RTCPeerConnectionIceErrorEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/iceconnectionstatechange_event) */\n oniceconnectionstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/icegatheringstatechange_event) */\n onicegatheringstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/negotiationneeded_event) */\n onnegotiationneeded: ((this: RTCPeerConnection, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/signalingstatechange_event) */\n onsignalingstatechange: ((this: RTCPeerConnection, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/track_event) */\n ontrack: ((this: RTCPeerConnection, ev: RTCTrackEvent) => any) | null;\n /**\n * The **`pendingLocalDescription`** read-only property of the RTCPeerConnection interface returns an RTCSessionDescription object describing a pending configuration change for the local end of the connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/pendingLocalDescription)\n */\n readonly pendingLocalDescription: RTCSessionDescription | null;\n /**\n * The **`pendingRemoteDescription`** read-only property of the RTCPeerConnection interface returns an RTCSessionDescription object describing a pending configuration change for the remote end of the connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/pendingRemoteDescription)\n */\n readonly pendingRemoteDescription: RTCSessionDescription | null;\n /**\n * The **`remoteDescription`** read-only property of the RTCPeerConnection interface returns a RTCSessionDescription describing the session (which includes configuration and media information) for the remote end of the connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/remoteDescription)\n */\n readonly remoteDescription: RTCSessionDescription | null;\n /**\n * The **`sctp`** read-only property of the RTCPeerConnection interface returns an RTCSctpTransport describing the SCTP transport over which SCTP data is being sent and received.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/sctp)\n */\n readonly sctp: RTCSctpTransport | null;\n /**\n * The **`signalingState`** read-only property of the RTCPeerConnection interface returns a string value describing the state of the signaling process on the local end of the connection while connecting or reconnecting to another peer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/signalingState)\n */\n readonly signalingState: RTCSignalingState;\n /**\n * The **`addIceCandidate()`** method of the RTCPeerConnection interface adds a new remote candidate to the connection\'s remote description, which describes the state of the remote end of the connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addIceCandidate)\n */\n addIceCandidate(candidate?: RTCIceCandidateInit | null): Promise<void>;\n /** @deprecated */\n addIceCandidate(candidate: RTCIceCandidateInit | null, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;\n /**\n * The **`addTrack()`** method of the RTCPeerConnection interface adds a new media track to the set of tracks which will be transmitted to the other peer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addTrack)\n */\n addTrack(track: MediaStreamTrack, ...streams: MediaStream[]): RTCRtpSender;\n /**\n * The **`addTransceiver()`** method of the RTCPeerConnection interface creates a new RTCRtpTransceiver and adds it to the set of transceivers associated with the `RTCPeerConnection`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/addTransceiver)\n */\n addTransceiver(trackOrKind: MediaStreamTrack | string, init?: RTCRtpTransceiverInit): RTCRtpTransceiver;\n /**\n * The **`close()`** method of the RTCPeerConnection interface closes the current peer connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/close)\n */\n close(): void;\n /**\n * The **`createAnswer()`** method of the RTCPeerConnection interface creates an SDP answer to an offer received from a remote peer during the offer/answer negotiation of a WebRTC connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/createAnswer)\n */\n createAnswer(options?: RTCAnswerOptions): Promise<RTCSessionDescriptionInit>;\n /** @deprecated */\n createAnswer(successCallback: RTCSessionDescriptionCallback, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;\n /**\n * The **`createDataChannel()`** method of the RTCPeerConnection interface creates a new channel linked with the remote peer, over which any kind of data may be transmitted.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/createDataChannel)\n */\n createDataChannel(label: string, dataChannelDict?: RTCDataChannelInit): RTCDataChannel;\n /**\n * The **`createOffer()`** method of the RTCPeerConnection interface initiates the creation of an SDP offer for the purpose of starting a new WebRTC connection to a remote peer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/createOffer)\n */\n createOffer(options?: RTCOfferOptions): Promise<RTCSessionDescriptionInit>;\n /** @deprecated */\n createOffer(successCallback: RTCSessionDescriptionCallback, failureCallback: RTCPeerConnectionErrorCallback, options?: RTCOfferOptions): Promise<void>;\n /**\n * The **`getConfiguration()`** method of the RTCPeerConnection interface returns an object which indicates the current configuration of the RTCPeerConnection on which the method is called.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/getConfiguration)\n */\n getConfiguration(): RTCConfiguration;\n /**\n * The **`getReceivers()`** method of the RTCPeerConnection interface returns an array of RTCRtpReceiver objects, each of which represents one RTP receiver.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/getReceivers)\n */\n getReceivers(): RTCRtpReceiver[];\n /**\n * The **`getSenders()`** method of the RTCPeerConnection interface returns an array of RTCRtpSender objects, each of which represents the RTP sender responsible for transmitting one track\'s data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/getSenders)\n */\n getSenders(): RTCRtpSender[];\n /**\n * The **`getStats()`** method of the RTCPeerConnection interface returns a promise which resolves with data providing statistics about either the overall connection or about the specified MediaStreamTrack.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/getStats)\n */\n getStats(selector?: MediaStreamTrack | null): Promise<RTCStatsReport>;\n /**\n * The **`getTransceivers()`** method of the RTCPeerConnection interface returns a list of the RTCRtpTransceiver objects being used to send and receive data on the connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/getTransceivers)\n */\n getTransceivers(): RTCRtpTransceiver[];\n /**\n * The **`removeTrack()`** method of the RTCPeerConnection interface tells the local end of the connection to stop sending media from the specified track, without actually removing the corresponding RTCRtpSender from the list of senders as reported by RTCPeerConnection.getSenders().\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/removeTrack)\n */\n removeTrack(sender: RTCRtpSender): void;\n /**\n * The **`restartIce()`** method of the RTCPeerConnection interface allows a web application to request that ICE candidate gathering be redone on both ends of the connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/restartIce)\n */\n restartIce(): void;\n /**\n * The **`setConfiguration()`** method of the RTCPeerConnection interface sets the current configuration of the connection based on the values included in the specified object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/setConfiguration)\n */\n setConfiguration(configuration?: RTCConfiguration): void;\n /**\n * The **`setLocalDescription()`** method of the RTCPeerConnection interface changes the local description associated with the connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/setLocalDescription)\n */\n setLocalDescription(description?: RTCLocalSessionDescriptionInit): Promise<void>;\n /** @deprecated */\n setLocalDescription(description: RTCLocalSessionDescriptionInit, successCallback: VoidFunction, failureCallback: RTCPeerConnectionErrorCallback): Promise<void>;\n /**\n * The **`setRemoteDescription()`** method of the RTCPeerConnection interface sets the specified session description as the remote peer\'s current offer or answer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/setRemoteDescription)\n */\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 /**\n * The **`generateCertificate()`** static function of the RTCPeerConnection interface creates an X.509 certificate and corresponding private key, returning a promise that resolves with the new RTCCertificate once it\'s generated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnection/generateCertificate_static)\n */\n generateCertificate(keygenAlgorithm: AlgorithmIdentifier): Promise<RTCCertificate>;\n};\n\n/**\n * The **`RTCPeerConnectionIceErrorEvent`** interface—based upon the Event interface—provides details pertaining to an ICE error announced by sending an RTCPeerConnection.icecandidateerror_event event to the RTCPeerConnection object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent)\n */\ninterface RTCPeerConnectionIceErrorEvent extends Event {\n /**\n * The RTCPeerConnectionIceErrorEvent property **`address`** is a string which indicates the local IP address being used to communicate with the STUN or TURN server during negotiations.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/address)\n */\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/**\n * The **`RTCPeerConnectionIceEvent`** interface represents events that occur in relation to ICE candidates with the target, usually an RTCPeerConnection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceEvent)\n */\ninterface RTCPeerConnectionIceEvent extends Event {\n /**\n * The read-only **`candidate`** property of the RTCPeerConnectionIceEvent interface returns the An RTCIceCandidate object representing the ICE candidate that has been received, or `null` to indicate that there are no further candidates for this negotiation session.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceEvent/candidate)\n */\n readonly candidate: RTCIceCandidate | null;\n}\n\ndeclare var RTCPeerConnectionIceEvent: {\n prototype: RTCPeerConnectionIceEvent;\n new(type: string, eventInitDict?: RTCPeerConnectionIceEventInit): RTCPeerConnectionIceEvent;\n};\n\n/**\n * The **`RTCRtpReceiver`** interface of the WebRTC API manages the reception and decoding of data for a MediaStreamTrack on an RTCPeerConnection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver)\n */\ninterface RTCRtpReceiver {\n /**\n * The **`jitterBufferTarget`** property of the RTCRtpReceiver interface is a DOMHighResTimeStamp that indicates the application\'s preferred duration, in milliseconds, for which the jitter buffer should hold media before playing it out.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/jitterBufferTarget)\n */\n jitterBufferTarget: DOMHighResTimeStamp | null;\n /**\n * The **`track`** read-only property of the associated with the current RTCRtpReceiver instance.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/track)\n */\n readonly track: MediaStreamTrack;\n /**\n * The **`transform`** property of the RTCRtpReceiver object is used to insert a transform stream (TransformStream) running in a worker thread into the receiver pipeline.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/transform)\n */\n transform: RTCRtpTransform | null;\n /**\n * The read-only **`transport`** property of an used to interact with the underlying transport over which the receiver is exchanging Real-time Transport Control Protocol (RTCP) packets.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/transport)\n */\n readonly transport: RTCDtlsTransport | null;\n /**\n * The **`getContributingSources()`** method of the RTCRtpReceiver interface returns an array of objects, each corresponding to one CSRC (contributing source) identifier received by the current `RTCRtpReceiver` in the last ten seconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/getContributingSources)\n */\n getContributingSources(): RTCRtpContributingSource[];\n /**\n * The **`getParameters()`** method of the RTCRtpReceiver interface returns an object describing the current configuration for how the receiver\'s RTCRtpReceiver.track is decoded.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/getParameters)\n */\n getParameters(): RTCRtpReceiveParameters;\n /**\n * The RTCRtpReceiver method **`getStats()`** asynchronously requests an RTCStatsReport object which provides statistics about incoming traffic on the owning RTCPeerConnection, returning a Promise whose fulfillment handler will be called once the results are available.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/getStats)\n */\n getStats(): Promise<RTCStatsReport>;\n /**\n * The **`getSynchronizationSources()`** method of the RTCRtpReceiver interface returns an array of objects, each corresponding to one SSRC (synchronization source) identifier received by the current `RTCRtpReceiver` in the last ten seconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/getSynchronizationSources)\n */\n getSynchronizationSources(): RTCRtpSynchronizationSource[];\n}\n\ndeclare var RTCRtpReceiver: {\n prototype: RTCRtpReceiver;\n new(): RTCRtpReceiver;\n /**\n * The _static method_ **`RTCRtpReceiver.getCapabilities()`** returns an object describing the codec and header extension capabilities supported by RTCRtpReceiver objects on the current device.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/getCapabilities_static)\n */\n getCapabilities(kind: string): RTCRtpCapabilities | null;\n};\n\n/**\n * The **`RTCRtpScriptTransform`** interface of the WebRTC API is used to insert a WebRTC Encoded Transform (a TransformStream running in a worker thread) into the WebRTC sender and receiver pipelines.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransform)\n */\ninterface RTCRtpScriptTransform {\n}\n\ndeclare var RTCRtpScriptTransform: {\n prototype: RTCRtpScriptTransform;\n new(worker: Worker, options?: any, transfer?: any[]): RTCRtpScriptTransform;\n};\n\n/**\n * The **`RTCRtpSender`** interface provides the ability to control and obtain details about how a particular MediaStreamTrack is encoded and sent to a remote peer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender)\n */\ninterface RTCRtpSender {\n /**\n * The read-only **`dtmf`** property on the **RTCRtpSender** interface returns a over the RTCPeerConnection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/dtmf)\n */\n readonly dtmf: RTCDTMFSender | null;\n /**\n * The **`track`** read-only property of the RTCRtpSender interface returns the MediaStreamTrack which is being handled by the `RTCRtpSender`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/track)\n */\n readonly track: MediaStreamTrack | null;\n /**\n * The **`transform`** property of the RTCRtpSender object is used to insert a transform stream (TransformStream) running in a worker thread into the sender pipeline.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/transform)\n */\n transform: RTCRtpTransform | null;\n /**\n * The read-only **`transport`** property of an used to interact with the underlying transport over which the sender is exchanging Real-time Transport Control Protocol (RTCP) packets.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/transport)\n */\n readonly transport: RTCDtlsTransport | null;\n /**\n * The **`getParameters()`** method of the RTCRtpSender interface returns an object describing the current configuration for how the sender\'s RTCRtpSender.track will be encoded and transmitted to a remote RTCRtpReceiver.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/getParameters)\n */\n getParameters(): RTCRtpSendParameters;\n /**\n * The RTCRtpSender method **`getStats()`** asynchronously requests an RTCStatsReport object which provides statistics about outgoing traffic on the RTCPeerConnection which owns the sender, returning a Promise which is fulfilled when the results are available.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/getStats)\n */\n getStats(): Promise<RTCStatsReport>;\n /**\n * The RTCRtpSender method **`replaceTrack()`** replaces the track currently being used as the sender\'s source with a new MediaStreamTrack.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/replaceTrack)\n */\n replaceTrack(withTrack: MediaStreamTrack | null): Promise<void>;\n /**\n * The **`setParameters()`** method of the RTCRtpSender interface applies changes the configuration of sender\'s RTCRtpSender.track, which is the MediaStreamTrack for which the `RTCRtpSender` is responsible.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/setParameters)\n */\n setParameters(parameters: RTCRtpSendParameters, setParameterOptions?: RTCSetParameterOptions): Promise<void>;\n /**\n * The RTCRtpSender method **`setStreams()`** associates the sender\'s RTCRtpSender.track with the specified MediaStream objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/setStreams)\n */\n setStreams(...streams: MediaStream[]): void;\n}\n\ndeclare var RTCRtpSender: {\n prototype: RTCRtpSender;\n new(): RTCRtpSender;\n /**\n * The _static method_ **`RTCRtpSender.getCapabilities()`** returns an object describing the codec and header extension capabilities supported by the RTCRtpSender.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpSender/getCapabilities_static)\n */\n getCapabilities(kind: string): RTCRtpCapabilities | null;\n};\n\n/**\n * The WebRTC interface **`RTCRtpTransceiver`** describes a permanent pairing of an RTCRtpSender and an RTCRtpReceiver, along with some shared state.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver)\n */\ninterface RTCRtpTransceiver {\n /**\n * The read-only RTCRtpTransceiver property **`currentDirection`** is a string which indicates the current negotiated directionality of the transceiver.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/currentDirection)\n */\n readonly currentDirection: RTCRtpTransceiverDirection | null;\n /**\n * The RTCRtpTransceiver property **`direction`** is a string that indicates the transceiver\'s _preferred_ directionality.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/direction)\n */\n direction: RTCRtpTransceiverDirection;\n /**\n * The read-only RTCRtpTransceiver interface\'s **`mid`** property specifies the negotiated media ID (`mid`) which the local and remote peers have agreed upon to uniquely identify the stream\'s pairing of sender and receiver.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/mid)\n */\n readonly mid: string | null;\n /**\n * The read-only **`receiver`** property of WebRTC\'s RTCRtpTransceiver interface indicates the data for the transceiver\'s stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/receiver)\n */\n readonly receiver: RTCRtpReceiver;\n /**\n * The read-only **`sender`** property of WebRTC\'s RTCRtpTransceiver interface indicates the for the transceiver\'s stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/sender)\n */\n readonly sender: RTCRtpSender;\n /**\n * The **`setCodecPreferences()`** method of the RTCRtpTransceiver interface is used to set the codecs that the transceiver allows for decoding _received_ data, in order of decreasing preference.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences)\n */\n setCodecPreferences(codecs: RTCRtpCodec[]): void;\n /**\n * The **`stop()`** method in the RTCRtpTransceiver interface permanently stops the transceiver by stopping both the associated RTCRtpSender and ```js-nolint stop() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/stop)\n */\n stop(): void;\n}\n\ndeclare var RTCRtpTransceiver: {\n prototype: RTCRtpTransceiver;\n new(): RTCRtpTransceiver;\n};\n\ninterface RTCSctpTransportEventMap {\n "statechange": Event;\n}\n\n/**\n * The **`RTCSctpTransport`** interface provides information which describes a Stream Control Transmission Protocol (**SCTP**) transport.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport)\n */\ninterface RTCSctpTransport extends EventTarget {\n /**\n * The **`maxChannels`** read-only property of the RTCSctpTransport interface indicates the maximum number of RTCDataChannel objects that can be opened simultaneously.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/maxChannels)\n */\n readonly maxChannels: number | null;\n /**\n * The **`maxMessageSize`** read-only property of the RTCSctpTransport interface indicates the maximum size of a message that can be sent using the RTCDataChannel.send() method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/maxMessageSize)\n */\n readonly maxMessageSize: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/statechange_event) */\n onstatechange: ((this: RTCSctpTransport, ev: Event) => any) | null;\n /**\n * The **`state`** read-only property of the RTCSctpTransport interface provides information which describes a Stream Control Transmission Protocol (SCTP) transport state.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/state)\n */\n readonly state: RTCSctpTransportState;\n /**\n * The **`transport`** read-only property of the RTCSctpTransport interface returns a RTCDtlsTransport object representing the DTLS transport used for the transmission and receipt of data packets.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSctpTransport/transport)\n */\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/**\n * The **`RTCSessionDescription`** interface describes one end of a connection—or potential connection—and how it\'s configured.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSessionDescription)\n */\ninterface RTCSessionDescription {\n /**\n * The property **`RTCSessionDescription.sdp`** is a read-only string containing the SDP which describes the session.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSessionDescription/sdp)\n */\n readonly sdp: string;\n /**\n * The property **`RTCSessionDescription.type`** is a read-only string value which describes the description\'s type.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSessionDescription/type)\n */\n readonly type: RTCSdpType;\n /**\n * The **`RTCSessionDescription.toJSON()`** method generates a ```js-nolint toJSON() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCSessionDescription/toJSON)\n */\n toJSON(): RTCSessionDescriptionInit;\n}\n\ndeclare var RTCSessionDescription: {\n prototype: RTCSessionDescription;\n new(descriptionInitDict: RTCSessionDescriptionInit): RTCSessionDescription;\n};\n\n/**\n * The **`RTCStatsReport`** interface of the WebRTC API provides a statistics report for a RTCPeerConnection, RTCRtpSender, or RTCRtpReceiver.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCStatsReport)\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\n/**\n * The WebRTC API interface **`RTCTrackEvent`** represents the RTCPeerConnection.track_event event, which is sent when a new MediaStreamTrack is added to an RTCRtpReceiver which is part of the RTCPeerConnection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCTrackEvent)\n */\ninterface RTCTrackEvent extends Event {\n /**\n * The read-only **`receiver`** property of the RTCTrackEvent interface indicates the The RTCRtpReceiver which pairs the `receiver` with a sender and other properties which establish a single bidirectional RTP stream for use by the RTCTrackEvent.track associated with the `RTCTrackEvent`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCTrackEvent/receiver)\n */\n readonly receiver: RTCRtpReceiver;\n /**\n * The WebRTC API interface RTCTrackEvent\'s read-only **`streams`** property specifies an array of track being added to the RTCPeerConnection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCTrackEvent/streams)\n */\n readonly streams: ReadonlyArray<MediaStream>;\n /**\n * The\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCTrackEvent/track)\n */\n readonly track: MediaStreamTrack;\n /**\n * The WebRTC API interface RTCTrackEvent\'s read-only **`transceiver`** property indicates the The transceiver pairs the track\'s The RTCRtpTransceiver which pairs the `receiver` with a sender and other properties which establish a single bidirectional RTP stream for use by the RTCTrackEvent.track associated with the `RTCTrackEvent`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCTrackEvent/transceiver)\n */\n readonly transceiver: RTCRtpTransceiver;\n}\n\ndeclare var RTCTrackEvent: {\n prototype: RTCTrackEvent;\n new(type: string, eventInitDict: RTCTrackEventInit): RTCTrackEvent;\n};\n\n/**\n * The **`RadioNodeList`** interface represents a collection of elements in a form returned by a call to HTMLFormControlsCollection.namedItem().\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RadioNodeList)\n */\ninterface RadioNodeList extends NodeListOf<HTMLInputElement> {\n /**\n * If the underlying element collection contains radio buttons, the **`RadioNodeList.value`** property represents the checked radio button.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RadioNodeList/value)\n */\n value: string;\n}\n\ndeclare var RadioNodeList: {\n prototype: RadioNodeList;\n new(): RadioNodeList;\n};\n\n/**\n * The **`Range`** interface represents a fragment of a document that can contain nodes and parts of text nodes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range)\n */\ninterface Range extends AbstractRange {\n /**\n * The **`Range.commonAncestorContainer`** read-only property returns the deepest — or furthest down the document tree — Node that contains both boundary points of the Range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/commonAncestorContainer)\n */\n readonly commonAncestorContainer: Node;\n /**\n * The **`cloneContents()`** method of the Range interface copies the selected Node children of the range\'s Range/commonAncestorContainer and puts them in a new DocumentFragment object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/cloneContents)\n */\n cloneContents(): DocumentFragment;\n /**\n * The **`Range.cloneRange()`** method returns a The returned clone is copied by value, not reference, so a change in either ```js-nolint cloneRange() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/cloneRange)\n */\n cloneRange(): Range;\n /**\n * The **`collapse()`** method of the Range interface collapses the A collapsed Range is empty, containing no content, specifying a single-point in a DOM tree.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/collapse)\n */\n collapse(toStart?: boolean): void;\n /**\n * The **`compareBoundaryPoints()`** method of the Range interface compares the boundary points of the Range with those of another range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/compareBoundaryPoints)\n */\n compareBoundaryPoints(how: number, sourceRange: Range): number;\n /**\n * The **`comparePoint()`** method of the Range interface determines whether a specified point is before, within, or after the Range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/comparePoint)\n */\n comparePoint(node: Node, offset: number): number;\n /**\n * The **`Range.createContextualFragment()`** method returns a XML fragment parsing algorithm with the start of the range (the _parent_ of the selected node) as the context node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment)\n */\n createContextualFragment(string: string): DocumentFragment;\n /**\n * The **`Range.deleteContents()`** method removes all completely-selected Node within this range from the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/deleteContents)\n */\n deleteContents(): void;\n /**\n * The **`Range.detach()`** method does nothing.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/detach)\n */\n detach(): void;\n /**\n * The **`extractContents()`** method of the Range interface is similar to a combination of Range.cloneContents() and Range.deleteContents().\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/extractContents)\n */\n extractContents(): DocumentFragment;\n /**\n * The **`Range.getBoundingClientRect()`** method returns a DOMRect object that bounds the contents of the range; this is a rectangle enclosing the union of the bounding rectangles for all the elements in the range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/getBoundingClientRect)\n */\n getBoundingClientRect(): DOMRect;\n /**\n * The **`Range.getClientRects()`** method returns a list of DOMRect objects representing the area of the screen occupied by the range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/getClientRects)\n */\n getClientRects(): DOMRectList;\n /**\n * The **`Range.insertNode()`** method inserts a node at the start of the Range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/insertNode)\n */\n insertNode(node: Node): void;\n /**\n * The **`Range.intersectsNode()`** method returns a boolean indicating whether the given Node intersects the Range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/intersectsNode)\n */\n intersectsNode(node: Node): boolean;\n /**\n * The **`isPointInRange()`** method of the Range interface determines whether a specified point is within the Range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/isPointInRange)\n */\n isPointInRange(node: Node, offset: number): boolean;\n /**\n * The **`Range.selectNode()`** method sets the the parent of the _referenceNode_.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/selectNode)\n */\n selectNode(node: Node): void;\n /**\n * The **`Range.selectNodeContents()`** method sets the Range to contain the contents of a Node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/selectNodeContents)\n */\n selectNodeContents(node: Node): void;\n /**\n * The **`Range.setEnd()`** method sets the end position of a Range to be located at the given offset into the specified node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/setEnd)\n */\n setEnd(node: Node, offset: number): void;\n /**\n * The **`Range.setEndAfter()`** method sets the end position of a `Node` of end of the `Range` will be the same as that for the `referenceNode`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/setEndAfter)\n */\n setEndAfter(node: Node): void;\n /**\n * The **`Range.setEndBefore()`** method sets the end position of a `Range` relative to another Node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/setEndBefore)\n */\n setEndBefore(node: Node): void;\n /**\n * The **`Range.setStart()`** method sets the start position of a If the `startNode` is a Node of type Text, the number of characters from the start of `startNode`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/setStart)\n */\n setStart(node: Node, offset: number): void;\n /**\n * The **`Range.setStartAfter()`** method sets the start position of a Range relative to a Node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/setStartAfter)\n */\n setStartAfter(node: Node): void;\n /**\n * The **`Range.setStartBefore()`** method sets the start position of a Range relative to another Node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/setStartBefore)\n */\n setStartBefore(node: Node): void;\n /**\n * The **`surroundContents()`** method of the Range interface surrounds the selected content by a provided node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/surroundContents)\n */\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};\n\n/**\n * The **`ReadableByteStreamController`** interface of the Streams API represents a controller for a readable byte stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController)\n */\ninterface ReadableByteStreamController {\n /**\n * The **`byobRequest`** read-only property of the ReadableByteStreamController interface returns the current BYOB request, or `null` if there are no pending requests.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/byobRequest)\n */\n readonly byobRequest: ReadableStreamBYOBRequest | null;\n /**\n * The **`desiredSize`** read-only property of the ReadableByteStreamController interface returns the number of bytes required to fill the stream\'s internal queue to its \'desired size\'.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/desiredSize)\n */\n readonly desiredSize: number | null;\n /**\n * The **`close()`** method of the ReadableByteStreamController interface closes the associated stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/close)\n */\n close(): void;\n /**\n * The **`enqueue()`** method of the ReadableByteStreamController interface enqueues a given chunk on the associated readable byte stream (the chunk is copied into the stream\'s internal queues).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue)\n */\n enqueue(chunk: ArrayBufferView<ArrayBuffer>): void;\n /**\n * The **`error()`** method of the ReadableByteStreamController interface causes any future interactions with the associated stream to error with the specified reason.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/error)\n */\n error(e?: any): void;\n}\n\ndeclare var ReadableByteStreamController: {\n prototype: ReadableByteStreamController;\n new(): ReadableByteStreamController;\n};\n\n/**\n * The `ReadableStream` interface of the Streams API represents a readable stream of byte data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream)\n */\ninterface ReadableStream<R = any> {\n /**\n * The **`locked`** read-only property of the ReadableStream interface returns whether or not the readable stream is locked to a reader.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/locked)\n */\n readonly locked: boolean;\n /**\n * The **`cancel()`** method of the ReadableStream interface returns a Promise that resolves when the stream is canceled.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/cancel)\n */\n cancel(reason?: any): Promise<void>;\n /**\n * The **`getReader()`** method of the ReadableStream interface creates a reader and locks the stream to it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/getReader)\n */\n getReader(options: { mode: "byob" }): ReadableStreamBYOBReader;\n getReader(): ReadableStreamDefaultReader<R>;\n getReader(options?: ReadableStreamGetReaderOptions): ReadableStreamReader<R>;\n /**\n * The **`pipeThrough()`** method of the ReadableStream interface provides a chainable way of piping the current stream through a transform stream or any other writable/readable pair.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/pipeThrough)\n */\n pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>;\n /**\n * The **`pipeTo()`** method of the ReadableStream interface pipes the current `ReadableStream` to a given WritableStream and returns a Promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/pipeTo)\n */\n pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;\n /**\n * The **`tee()`** method of the two-element array containing the two resulting branches as new ReadableStream instances.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/tee)\n */\n tee(): [ReadableStream<R>, ReadableStream<R>];\n}\n\ndeclare var ReadableStream: {\n prototype: ReadableStream;\n new(underlyingSource: UnderlyingByteSource, strategy?: { highWaterMark?: number }): ReadableStream<Uint8Array<ArrayBuffer>>;\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\n/**\n * The `ReadableStreamBYOBReader` interface of the Streams API defines a reader for a ReadableStream that supports zero-copy reading from an underlying byte source.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader)\n */\ninterface ReadableStreamBYOBReader extends ReadableStreamGenericReader {\n /**\n * The **`read()`** method of the ReadableStreamBYOBReader interface is used to read data into a view on a user-supplied buffer from an associated readable byte stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/read)\n */\n read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>;\n /**\n * The **`releaseLock()`** method of the ReadableStreamBYOBReader interface releases the reader\'s lock on the stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/releaseLock)\n */\n releaseLock(): void;\n}\n\ndeclare var ReadableStreamBYOBReader: {\n prototype: ReadableStreamBYOBReader;\n new(stream: ReadableStream<Uint8Array<ArrayBuffer>>): ReadableStreamBYOBReader;\n};\n\n/**\n * The **`ReadableStreamBYOBRequest`** interface of the Streams API represents a \'pull request\' for data from an underlying source that will made as a zero-copy transfer to a consumer (bypassing the stream\'s internal queues).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest)\n */\ninterface ReadableStreamBYOBRequest {\n /**\n * The **`view`** getter property of the ReadableStreamBYOBRequest interface returns the current view.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view)\n */\n readonly view: ArrayBufferView<ArrayBuffer> | null;\n /**\n * The **`respond()`** method of the ReadableStreamBYOBRequest interface is used to signal to the associated readable byte stream that the specified number of bytes were written into the ReadableStreamBYOBRequest.view.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respond)\n */\n respond(bytesWritten: number): void;\n /**\n * The **`respondWithNewView()`** method of the ReadableStreamBYOBRequest interface specifies a new view that the consumer of the associated readable byte stream should write to instead of ReadableStreamBYOBRequest.view.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respondWithNewView)\n */\n respondWithNewView(view: ArrayBufferView<ArrayBuffer>): void;\n}\n\ndeclare var ReadableStreamBYOBRequest: {\n prototype: ReadableStreamBYOBRequest;\n new(): ReadableStreamBYOBRequest;\n};\n\n/**\n * The **`ReadableStreamDefaultController`** interface of the Streams API represents a controller allowing control of a ReadableStream\'s state and internal queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController)\n */\ninterface ReadableStreamDefaultController<R = any> {\n /**\n * The **`desiredSize`** read-only property of the required to fill the stream\'s internal queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize)\n */\n readonly desiredSize: number | null;\n /**\n * The **`close()`** method of the ReadableStreamDefaultController interface closes the associated stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/close)\n */\n close(): void;\n /**\n * The **`enqueue()`** method of the ```js-nolint enqueue(chunk) ``` - `chunk` - : The chunk to enqueue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)\n */\n enqueue(chunk?: R): void;\n /**\n * The **`error()`** method of the with the associated stream to error.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error)\n */\n error(e?: any): void;\n}\n\ndeclare var ReadableStreamDefaultController: {\n prototype: ReadableStreamDefaultController;\n new(): ReadableStreamDefaultController;\n};\n\n/**\n * The **`ReadableStreamDefaultReader`** interface of the Streams API represents a default reader that can be used to read stream data supplied from a network (such as a fetch request).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader)\n */\ninterface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader {\n /**\n * The **`read()`** method of the ReadableStreamDefaultReader interface returns a Promise providing access to the next chunk in the stream\'s internal queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader/read)\n */\n read(): Promise<ReadableStreamReadResult<R>>;\n /**\n * The **`releaseLock()`** method of the ReadableStreamDefaultReader interface releases the reader\'s lock on the stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader/releaseLock)\n */\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/closed) */\n readonly closed: Promise<void>;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/cancel) */\n cancel(reason?: any): Promise<void>;\n}\n\ninterface RemotePlaybackEventMap {\n "connect": Event;\n "connecting": Event;\n "disconnect": Event;\n}\n\n/**\n * The **`RemotePlayback`** interface of the Remote Playback API allows the page to detect availability of remote playback devices, then connect to and control playing on these devices.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RemotePlayback)\n */\ninterface RemotePlayback extends EventTarget {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RemotePlayback/connect_event) */\n onconnect: ((this: RemotePlayback, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RemotePlayback/connecting_event) */\n onconnecting: ((this: RemotePlayback, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RemotePlayback/disconnect_event) */\n ondisconnect: ((this: RemotePlayback, ev: Event) => any) | null;\n /**\n * The **`state`** read-only property of the RemotePlayback interface returns the current state of the `RemotePlayback` connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RemotePlayback/state)\n */\n readonly state: RemotePlaybackState;\n /**\n * The **`cancelWatchAvailability()`** method of the RemotePlayback interface cancels the request to watch for one or all available devices.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RemotePlayback/cancelWatchAvailability)\n */\n cancelWatchAvailability(id?: number): Promise<void>;\n /**\n * The **`prompt()`** method of the RemotePlayback interface prompts the user to select an available remote playback device and give permission for the current media to be played using that device.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RemotePlayback/prompt)\n */\n prompt(): Promise<void>;\n /**\n * The **`watchAvailability()`** method of the RemotePlayback interface watches the list of available remote playback devices and returns a Promise that resolves with the `callbackId` of a remote playback device.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RemotePlayback/watchAvailability)\n */\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/**\n * The `Report` interface of the Reporting API represents a single report.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report)\n */\ninterface Report {\n /**\n * The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body)\n */\n readonly body: ReportBody | null;\n /**\n * The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type)\n */\n readonly type: string;\n /**\n * The **`url`** read-only property of the Report interface returns the URL of the document that generated the report.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url)\n */\n readonly url: string;\n toJSON(): any;\n}\n\ndeclare var Report: {\n prototype: Report;\n new(): Report;\n};\n\n/**\n * The **`ReportBody`** interface of the Reporting API represents the body of a report.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody)\n */\ninterface ReportBody {\n /**\n * The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON)\n */\n toJSON(): any;\n}\n\ndeclare var ReportBody: {\n prototype: ReportBody;\n new(): ReportBody;\n};\n\n/**\n * The `ReportingObserver` interface of the Reporting API allows you to collect and access reports.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver)\n */\ninterface ReportingObserver {\n /**\n * The **`disconnect()`** method of the previously started observing from collecting reports.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/disconnect)\n */\n disconnect(): void;\n /**\n * The **`observe()`** method of the collecting reports in its report queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/observe)\n */\n observe(): void;\n /**\n * The **`takeRecords()`** method of the in the observer\'s report queue, and empties the queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/takeRecords)\n */\n takeRecords(): ReportList;\n}\n\ndeclare var ReportingObserver: {\n prototype: ReportingObserver;\n new(callback: ReportingObserverCallback, options?: ReportingObserverOptions): ReportingObserver;\n};\n\n/**\n * The **`Request`** interface of the Fetch API represents a resource request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request)\n */\ninterface Request extends Body {\n /**\n * The **`cache`** read-only property of the Request interface contains the cache mode of the request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/cache)\n */\n readonly cache: RequestCache;\n /**\n * The **`credentials`** read-only property of the Request interface reflects the value given to the Request.Request() constructor in the `credentials` option.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/credentials)\n */\n readonly credentials: RequestCredentials;\n /**\n * The **`destination`** read-only property of the **Request** interface returns a string describing the type of content being requested.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/destination)\n */\n readonly destination: RequestDestination;\n /**\n * The **`headers`** read-only property of the with the request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/headers)\n */\n readonly headers: Headers;\n /**\n * The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/integrity)\n */\n readonly integrity: string;\n /**\n * The **`keepalive`** read-only property of the Request interface contains the request\'s `keepalive` setting (`true` or `false`), which indicates whether the browser will keep the associated request alive if the page that initiated it is unloaded before the request is complete.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive)\n */\n readonly keepalive: boolean;\n /**\n * The **`method`** read-only property of the `POST`, etc.) A String indicating the method of the request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/method)\n */\n readonly method: string;\n /**\n * The **`mode`** read-only property of the Request interface contains the mode of the request (e.g., `cors`, `no-cors`, `same-origin`, or `navigate`.) This is used to determine if cross-origin requests lead to valid responses, and which properties of the response are readable.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/mode)\n */\n readonly mode: RequestMode;\n /**\n * The **`redirect`** read-only property of the Request interface contains the mode for how redirects are handled.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/redirect)\n */\n readonly redirect: RequestRedirect;\n /**\n * The **`referrer`** read-only property of the Request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrer)\n */\n readonly referrer: string;\n /**\n * The **`referrerPolicy`** read-only property of the referrer information, sent in the Referer header, should be included with the request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrerPolicy)\n */\n readonly referrerPolicy: ReferrerPolicy;\n /**\n * The read-only **`signal`** property of the Request interface returns the AbortSignal associated with the request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)\n */\n readonly signal: AbortSignal;\n /**\n * The **`url`** read-only property of the Request interface contains the URL of the request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/url)\n */\n readonly url: string;\n /**\n * The **`clone()`** method of the Request interface creates a copy of the current `Request` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/clone)\n */\n clone(): Request;\n}\n\ndeclare var Request: {\n prototype: Request;\n new(input: RequestInfo | URL, init?: RequestInit): Request;\n};\n\n/**\n * The **`ResizeObserver`** interface reports changes to the dimensions of an Element\'s content or border box, or the bounding box of an SVGElement.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserver)\n */\ninterface ResizeObserver {\n /**\n * The **`disconnect()`** method of the or SVGElement targets.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserver/disconnect)\n */\n disconnect(): void;\n /**\n * The **`observe()`** method of the ```js-nolint observe(target) observe(target, options) ``` - `target` - : A reference to an Element or SVGElement to be observed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserver/observe)\n */\n observe(target: Element, options?: ResizeObserverOptions): void;\n /**\n * The **`unobserve()`** method of the ```js-nolint unobserve(target) ``` - `target` - : A reference to an Element or SVGElement to be unobserved.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserver/unobserve)\n */\n unobserve(target: Element): void;\n}\n\ndeclare var ResizeObserver: {\n prototype: ResizeObserver;\n new(callback: ResizeObserverCallback): ResizeObserver;\n};\n\n/**\n * The **`ResizeObserverEntry`** interface represents the object passed to the ResizeObserver.ResizeObserver constructor\'s callback function, which allows you to access the new dimensions of the Element or SVGElement being observed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry)\n */\ninterface ResizeObserverEntry {\n /**\n * The **`borderBoxSize`** read-only property of the ResizeObserverEntry interface returns an array containing the new border box size of the observed element when the callback is run.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/borderBoxSize)\n */\n readonly borderBoxSize: ReadonlyArray<ResizeObserverSize>;\n /**\n * The **`contentBoxSize`** read-only property of the ResizeObserverEntry interface returns an array containing the new content box size of the observed element when the callback is run.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/contentBoxSize)\n */\n readonly contentBoxSize: ReadonlyArray<ResizeObserverSize>;\n /**\n * The `contentRect` read-only property of the object containing the new size of the observed element when the callback is run.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/contentRect)\n */\n readonly contentRect: DOMRectReadOnly;\n /**\n * The **`devicePixelContentBoxSize`** read-only property of the ResizeObserverEntry interface returns an array containing the size in device pixels of the observed element when the callback is run.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/devicePixelContentBoxSize)\n */\n readonly devicePixelContentBoxSize: ReadonlyArray<ResizeObserverSize>;\n /**\n * The **`target`** read-only property of the An Element or SVGElement representing the element being observed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverEntry/target)\n */\n readonly target: Element;\n}\n\ndeclare var ResizeObserverEntry: {\n prototype: ResizeObserverEntry;\n new(): ResizeObserverEntry;\n};\n\n/**\n * The **`ResizeObserverSize`** interface of the Resize Observer API is used by the ResizeObserverEntry interface to access the box sizing properties of the element being observed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverSize)\n */\ninterface ResizeObserverSize {\n /**\n * The **`blockSize`** read-only property of the ResizeObserverSize interface returns the length of the observed element\'s border box in the block dimension.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverSize/blockSize)\n */\n readonly blockSize: number;\n /**\n * The **`inlineSize`** read-only property of the ResizeObserverSize interface returns the length of the observed element\'s border box in the inline dimension.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ResizeObserverSize/inlineSize)\n */\n readonly inlineSize: number;\n}\n\ndeclare var ResizeObserverSize: {\n prototype: ResizeObserverSize;\n new(): ResizeObserverSize;\n};\n\n/**\n * The **`Response`** interface of the Fetch API represents the response to a request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)\n */\ninterface Response extends Body {\n /**\n * The **`headers`** read-only property of the with the response.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/headers)\n */\n readonly headers: Headers;\n /**\n * The **`ok`** read-only property of the Response interface contains a Boolean stating whether the response was successful (status in the range 200-299) or not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/ok)\n */\n readonly ok: boolean;\n /**\n * The **`redirected`** read-only property of the Response interface indicates whether or not the response is the result of a request you made which was redirected.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirected)\n */\n readonly redirected: boolean;\n /**\n * The **`status`** read-only property of the Response interface contains the HTTP status codes of the response.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/status)\n */\n readonly status: number;\n /**\n * The **`statusText`** read-only property of the Response interface contains the status message corresponding to the HTTP status code in Response.status.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/statusText)\n */\n readonly statusText: string;\n /**\n * The **`type`** read-only property of the Response interface contains the type of the response.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/type)\n */\n readonly type: ResponseType;\n /**\n * The **`url`** read-only property of the Response interface contains the URL of the response.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/url)\n */\n readonly url: string;\n /**\n * The **`clone()`** method of the Response interface creates a clone of a response object, identical in every way, but stored in a different variable.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/clone)\n */\n clone(): Response;\n}\n\ndeclare var Response: {\n prototype: Response;\n new(body?: BodyInit | null, init?: ResponseInit): Response;\n /**\n * The **`error()`** static method of the Response interface returns a new `Response` object associated with a network error.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/error_static)\n */\n error(): Response;\n /**\n * The **`json()`** static method of the Response interface returns a `Response` that contains the provided JSON data as body, and a Content-Type header which is set to `application/json`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)\n */\n json(data: any, init?: ResponseInit): Response;\n /**\n * The **`redirect()`** static method of the Response interface returns a `Response` resulting in a redirect to the specified URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static)\n */\n redirect(url: string | URL, status?: number): Response;\n};\n\n/**\n * The **`SVGAElement`** interface provides access to the properties of an a element, as well as methods to manipulate them.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement)\n */\ninterface SVGAElement extends SVGGraphicsElement, SVGURIReference {\n rel: string;\n get relList(): DOMTokenList;\n set relList(value: string);\n /**\n * The **`SVGAElement.target`** read-only property of SVGAElement returns an SVGAnimatedString object that specifies the portion of a target window, frame, pane into which a document is to be opened when a link is activated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/target)\n */\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/**\n * The `SVGAngle` interface is used to represent a value that can be an <angle> or <number> value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle)\n */\ninterface SVGAngle {\n /**\n * The **`unitType`** property of the SVGAngle interface is one of the unit type constants and represents the units in which this angle\'s value is expressed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/unitType)\n */\n readonly unitType: number;\n /**\n * The `value` property of the SVGAngle interface represents the floating point value of the `<angle>` in degrees.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/value)\n */\n value: number;\n /**\n * The `valueAsString` property of the SVGAngle interface represents the angle\'s value as a string, in the units expressed by SVGAngle.unitType.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/valueAsString)\n */\n valueAsString: string;\n /**\n * The `valueInSpecifiedUnits` property of the SVGAngle interface represents the value of this angle as a number, in the units expressed by the angle\'s SVGAngle.unitType.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/valueInSpecifiedUnits)\n */\n valueInSpecifiedUnits: number;\n /**\n * The `convertToSpecifiedUnits()` method of the SVGAngle interface allows you to convert the angle\'s value to the specified unit type.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/convertToSpecifiedUnits)\n */\n convertToSpecifiedUnits(unitType: number): void;\n /**\n * The `newValueSpecifiedUnits()` method of the SVGAngle interface sets the value to a number with an associated SVGAngle.unitType, thereby replacing the values for all of the attributes on the object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAngle/newValueSpecifiedUnits)\n */\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\n/**\n * The **`SVGAnimateElement`** interface corresponds to the animate element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimateElement)\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\n/**\n * The **`SVGAnimateMotionElement`** interface corresponds to the animateMotion element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimateMotionElement)\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\n/**\n * The `SVGAnimateTransformElement` interface corresponds to the animateTransform element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimateTransformElement)\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/**\n * The **`SVGAnimatedAngle`** interface is used for attributes of basic type \\<angle> which can be animated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedAngle)\n */\ninterface SVGAnimatedAngle {\n /**\n * The **`animVal`** read-only property of the SVGAnimatedAngle interface represents the current animated value of the associated `<angle>` on an SVG element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedAngle/animVal)\n */\n readonly animVal: SVGAngle;\n /**\n * The **`baseVal`** read-only property of the SVGAnimatedAngle interface represents the base (non-animated) value of the associated `<angle>` on an SVG element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedAngle/baseVal)\n */\n readonly baseVal: SVGAngle;\n}\n\ndeclare var SVGAnimatedAngle: {\n prototype: SVGAnimatedAngle;\n new(): SVGAnimatedAngle;\n};\n\n/**\n * The **`SVGAnimatedBoolean`** interface is used for attributes of type boolean which can be animated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedBoolean)\n */\ninterface SVGAnimatedBoolean {\n /**\n * The **`animVal`** read-only property of the SVGAnimatedBoolean interface represents the current animated value of the associated animatable boolean SVG attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedBoolean/animVal)\n */\n readonly animVal: boolean;\n /**\n * The **`baseVal`** property of the SVGAnimatedBoolean interface is the value of the associated animatable boolean SVG attribute in its base (none-animated) state.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedBoolean/baseVal)\n */\n baseVal: boolean;\n}\n\ndeclare var SVGAnimatedBoolean: {\n prototype: SVGAnimatedBoolean;\n new(): SVGAnimatedBoolean;\n};\n\n/**\n * The **`SVGAnimatedEnumeration`** interface describes attribute values which are constants from a particular enumeration and which can be animated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration)\n */\ninterface SVGAnimatedEnumeration {\n /**\n * The **`animVal`** property of the SVGAnimatedEnumeration interface contains the current value of an SVG enumeration.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration/animVal)\n */\n readonly animVal: number;\n /**\n * The **`baseVal`** property of the SVGAnimatedEnumeration interface contains the initial value of an SVG enumeration.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedEnumeration/baseVal)\n */\n baseVal: number;\n}\n\ndeclare var SVGAnimatedEnumeration: {\n prototype: SVGAnimatedEnumeration;\n new(): SVGAnimatedEnumeration;\n};\n\n/**\n * The **`SVGAnimatedInteger`** interface is used for attributes of basic type \\<integer> which can be animated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedInteger)\n */\ninterface SVGAnimatedInteger {\n /**\n * The **`animVal`** property of the SVGAnimatedInteger interface represents the animated value of an `<integer>`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedInteger/animVal)\n */\n readonly animVal: number;\n /**\n * The **`baseVal`** property of the SVGAnimatedInteger interface represents the base (non-animated) value of an animatable `<integer>`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedInteger/baseVal)\n */\n baseVal: number;\n}\n\ndeclare var SVGAnimatedInteger: {\n prototype: SVGAnimatedInteger;\n new(): SVGAnimatedInteger;\n};\n\n/**\n * The **`SVGAnimatedLength`** interface represents attributes of type \\<length> which can be animated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength)\n */\ninterface SVGAnimatedLength {\n /**\n * The **`animVal`** property of the SVGAnimatedLength interface contains the current value of an SVG enumeration.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/animVal)\n */\n readonly animVal: SVGLength;\n /**\n * The **`baseVal`** property of the SVGAnimatedLength interface contains the initial value of an SVG enumeration.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLength/baseVal)\n */\n readonly baseVal: SVGLength;\n}\n\ndeclare var SVGAnimatedLength: {\n prototype: SVGAnimatedLength;\n new(): SVGAnimatedLength;\n};\n\n/**\n * The **`SVGAnimatedLengthList`** interface is used for attributes of type SVGLengthList which can be animated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLengthList)\n */\ninterface SVGAnimatedLengthList {\n /**\n * The **`animVal`** read-only property of the SVGAnimatedLengthList interface represents the animated value of an attribute that accepts a list of `<length>`, `<percentage>`, or `<number>` values.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLengthList/animVal)\n */\n readonly animVal: SVGLengthList;\n /**\n * The **`baseVal`** read-only property of the SVGAnimatedLengthList interface represents the base (non-animated) value of an animatable attribute that accepts a list of `<length>`, `<percentage>`, or `<number>` values.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedLengthList/baseVal)\n */\n readonly baseVal: SVGLengthList;\n}\n\ndeclare var SVGAnimatedLengthList: {\n prototype: SVGAnimatedLengthList;\n new(): SVGAnimatedLengthList;\n};\n\n/**\n * The **`SVGAnimatedNumber`** interface represents attributes of type \\<number> which can be animated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedNumber)\n */\ninterface SVGAnimatedNumber {\n /**\n * The **`animVal`** read-only property of the SVGAnimatedNumber interface represents the animated value of an SVG element\'s numeric attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedNumber/animVal)\n */\n readonly animVal: number;\n /**\n * The **`baseVal`** property of the SVGAnimatedNumber interface represents the base (non-animated) value of an animatable numeric attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedNumber/baseVal)\n */\n baseVal: number;\n}\n\ndeclare var SVGAnimatedNumber: {\n prototype: SVGAnimatedNumber;\n new(): SVGAnimatedNumber;\n};\n\n/**\n * The **`SVGAnimatedNumberList`** interface represents a list of attributes of type \\<number> which can be animated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedNumberList)\n */\ninterface SVGAnimatedNumberList {\n /**\n * The **`animVal`** read-only property of the SVGAnimatedNumberList interface represents the current animated value of an animatable attribute that accepts a list of `<number>` values.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedNumberList/animVal)\n */\n readonly animVal: SVGNumberList;\n /**\n * The **`baseVal`** read-only property of the SVGAnimatedNumberList interface represents the base (non-animated) value of an animatable attribute that accepts a list of `<number>` values.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedNumberList/baseVal)\n */\n readonly baseVal: SVGNumberList;\n}\n\ndeclare var SVGAnimatedNumberList: {\n prototype: SVGAnimatedNumberList;\n new(): SVGAnimatedNumberList;\n};\n\ninterface SVGAnimatedPoints {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPolygonElement/animatedPoints) */\n readonly animatedPoints: SVGPointList;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPolygonElement/points) */\n readonly points: SVGPointList;\n}\n\n/**\n * The **`SVGAnimatedPreserveAspectRatio`** interface represents attributes of type SVGPreserveAspectRatio which can be animated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedPreserveAspectRatio)\n */\ninterface SVGAnimatedPreserveAspectRatio {\n /**\n * The **`animVal`** read-only property of the SVGAnimatedPreserveAspectRatio interface represents the value of the preserveAspectRatio attribute of an SVG element after any animations or transformations are applied.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedPreserveAspectRatio/animVal)\n */\n readonly animVal: SVGPreserveAspectRatio;\n /**\n * The **`baseVal`** read-only property of the SVGAnimatedPreserveAspectRatio interface represents the base (non-animated) value of the preserveAspectRatio attribute of an SVG element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedPreserveAspectRatio/baseVal)\n */\n readonly baseVal: SVGPreserveAspectRatio;\n}\n\ndeclare var SVGAnimatedPreserveAspectRatio: {\n prototype: SVGAnimatedPreserveAspectRatio;\n new(): SVGAnimatedPreserveAspectRatio;\n};\n\n/**\n * The **`SVGAnimatedRect`** interface represents an SVGRect attribute that can be animated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedRect)\n */\ninterface SVGAnimatedRect {\n /**\n * The **`animVal`** read-only property of the SVGAnimatedRect interface represents the current animated value of the `viewBox` attribute of an SVG element as a read-only DOMRectReadOnly object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedRect/animVal)\n */\n readonly animVal: DOMRectReadOnly;\n /**\n * The **`baseVal`** read-only property of the SVGAnimatedRect interface represents the current non-animated value of the `viewBox` attribute of an SVG element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedRect/baseVal)\n */\n readonly baseVal: DOMRect;\n}\n\ndeclare var SVGAnimatedRect: {\n prototype: SVGAnimatedRect;\n new(): SVGAnimatedRect;\n};\n\n/**\n * The **`SVGAnimatedString`** interface represents string attributes which can be animated from each SVG declaration.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedString)\n */\ninterface SVGAnimatedString {\n /**\n * The `animVal` read-only property of the SVGAnimatedString interface contains the same value as the SVGAnimatedString.baseVal property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedString/animVal)\n */\n readonly animVal: string;\n /**\n * BaseVal gets or sets the base value of the given attribute before any animations are applied.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedString/baseVal)\n */\n baseVal: string;\n}\n\ndeclare var SVGAnimatedString: {\n prototype: SVGAnimatedString;\n new(): SVGAnimatedString;\n};\n\n/**\n * The **`SVGAnimatedTransformList`** interface represents attributes which take a list of numbers and which can be animated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedTransformList)\n */\ninterface SVGAnimatedTransformList {\n /**\n * The **`animVal`** read-only property of the SVGAnimatedTransformList interface represents the animated value of the `transform` attribute of an SVG element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedTransformList/animVal)\n */\n readonly animVal: SVGTransformList;\n /**\n * The **`baseVal`** read-only property of the SVGAnimatedTransformList interface represents the non-animated value of the `transform` attribute of an SVG element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimatedTransformList/baseVal)\n */\n readonly baseVal: SVGTransformList;\n}\n\ndeclare var SVGAnimatedTransformList: {\n prototype: SVGAnimatedTransformList;\n new(): SVGAnimatedTransformList;\n};\n\n/**\n * The **`SVGAnimationElement`** interface is the base interface for all of the animation element interfaces: SVGAnimateElement, SVGSetElement, SVGAnimateColorElement, SVGAnimateMotionElement and SVGAnimateTransformElement.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement)\n */\ninterface SVGAnimationElement extends SVGElement, SVGTests {\n /**\n * The **`targetElement`** read-only property of the SVGAnimationElement interface refers to the element which is being animated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/targetElement)\n */\n readonly targetElement: SVGElement | null;\n /**\n * The SVGAnimationElement method `beginElement()` creates a begin instance time for the current time.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/beginElement)\n */\n beginElement(): void;\n /**\n * The SVGAnimationElement method `beginElementAt()` creates a begin instance time for the current time plus the specified offset.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/beginElementAt)\n */\n beginElementAt(offset: number): void;\n /**\n * The SVGAnimationElement method `endElement()` creates an end instance time for the current time.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/endElement)\n */\n endElement(): void;\n /**\n * The SVGAnimationElement method `endElementAt()` creates an end instance time for the current time plus the specified offset.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/endElementAt)\n */\n endElementAt(offset: number): void;\n /**\n * The SVGAnimationElement method `getCurrentTime()` returns a float representing the current time in seconds relative to time zero for the given time container.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/getCurrentTime)\n */\n getCurrentTime(): number;\n /**\n * The SVGAnimationElement method `getSimpleDuration()` returns a float representing the number of seconds for the simple duration for this animation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/getSimpleDuration)\n */\n getSimpleDuration(): number;\n /**\n * The SVGAnimationElement method `getStartTime()` returns a float representing the start time, in seconds, for this animation element\'s current interval, if it exists, regardless of whether the interval has begun yet.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/getStartTime)\n */\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/**\n * The **`SVGCircleElement`** interface is an interface for the circle element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGCircleElement)\n */\ninterface SVGCircleElement extends SVGGeometryElement {\n /**\n * The **`cx`** read-only property of the SVGCircleElement interface reflects the cx attribute of a circle element and by that defines the x-coordinate of the circle\'s center.< If unspecified, the effect is as if the value is set to `0`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGCircleElement/cx)\n */\n readonly cx: SVGAnimatedLength;\n /**\n * The **`cy`** read-only property of the SVGCircleElement interface reflects the cy attribute of a circle element and by that defines the y-coordinate of the circle\'s center.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGCircleElement/cy)\n */\n readonly cy: SVGAnimatedLength;\n /**\n * The **`r`** read-only property of the SVGCircleElement interface reflects the r attribute of a circle element and by that defines the radius of the circle.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGCircleElement/r)\n */\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/**\n * The **`SVGClipPathElement`** interface provides access to the properties of clipPath elements, as well as methods to manipulate them.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGClipPathElement)\n */\ninterface SVGClipPathElement extends SVGElement {\n /**\n * The read-only **`clipPathUnits`** property of the SVGClipPathElement interface reflects the clipPathUnits attribute of a clipPath element which defines the coordinate system to use for the content of the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGClipPathElement/clipPathUnits)\n */\n readonly clipPathUnits: SVGAnimatedEnumeration;\n /**\n * The read-only **`transform`** property of the SVGClipPathElement interface reflects the transform attribute of a clipPath element, that is a list of transformations applied to the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGClipPathElement/transform)\n */\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/**\n * The **`SVGComponentTransferFunctionElement`** interface represents a base interface used by the component transfer function interfaces.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement)\n */\ninterface SVGComponentTransferFunctionElement extends SVGElement {\n /**\n * The **`amplitude`** read-only property of the SVGComponentTransferFunctionElement interface reflects the amplitude attribute of the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/amplitude)\n */\n readonly amplitude: SVGAnimatedNumber;\n /**\n * The **`exponent`** read-only property of the SVGComponentTransferFunctionElement interface reflects the exponent attribute of the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/exponent)\n */\n readonly exponent: SVGAnimatedNumber;\n /**\n * The **`intercept`** read-only property of the SVGComponentTransferFunctionElement interface reflects the intercept attribute of the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/intercept)\n */\n readonly intercept: SVGAnimatedNumber;\n /**\n * The **`offset`** read-only property of the SVGComponentTransferFunctionElement interface reflects the offset attribute of the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/offset)\n */\n readonly offset: SVGAnimatedNumber;\n /**\n * The **`slope`** read-only property of the SVGComponentTransferFunctionElement interface reflects the slope attribute of the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/slope)\n */\n readonly slope: SVGAnimatedNumber;\n /**\n * The **`tableValues`** read-only property of the SVGComponentTransferFunctionElement interface reflects the tableValues attribute of the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/tableValues)\n */\n readonly tableValues: SVGAnimatedNumberList;\n /**\n * The **`type`** read-only property of the SVGComponentTransferFunctionElement interface reflects the type attribute of the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGComponentTransferFunctionElement/type)\n */\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/**\n * The **`SVGDefsElement`** interface corresponds to the defs element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGDefsElement)\n */\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/**\n * The **`SVGDescElement`** interface corresponds to the desc element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGDescElement)\n */\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/**\n * All of the SVG DOM interfaces that correspond directly to elements in the SVG language derive from the `SVGElement` interface.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement)\n */\ninterface SVGElement extends Element, ElementCSSInlineStyle, GlobalEventHandlers, HTMLOrSVGElement {\n /** @deprecated */\n readonly className: any;\n /**\n * The **`ownerSVGElement`** property of the SVGElement interface reflects the nearest ancestor svg element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/ownerSVGElement)\n */\n readonly ownerSVGElement: SVGSVGElement | null;\n /**\n * The **`viewportElement`** property of the SVGElement interface represents the `SVGElement` which established the current viewport.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/viewportElement)\n */\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/**\n * The **`SVGEllipseElement`** interface provides access to the properties of ellipse elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGEllipseElement)\n */\ninterface SVGEllipseElement extends SVGGeometryElement {\n /**\n * The **`cx`** read-only property of the SVGEllipseElement interface describes the x-axis coordinate of the center of the ellipse as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGEllipseElement/cx)\n */\n readonly cx: SVGAnimatedLength;\n /**\n * The **`cy`** read-only property of the SVGEllipseElement interface describes the y-axis coordinate of the center of the ellipse as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGEllipseElement/cy)\n */\n readonly cy: SVGAnimatedLength;\n /**\n * The **`rx`** read-only property of the SVGEllipseElement interface describes the x-axis radius of the ellipse as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGEllipseElement/rx)\n */\n readonly rx: SVGAnimatedLength;\n /**\n * The **`ry`** read-only property of the SVGEllipseElement interface describes the y-axis radius of the ellipse as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGEllipseElement/ry)\n */\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/**\n * The **`SVGFEBlendElement`** interface corresponds to the feBlend element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEBlendElement)\n */\ninterface SVGFEBlendElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n /**\n * The **`in1`** read-only property of the SVGFEBlendElement interface reflects the in attribute of the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEBlendElement/in1)\n */\n readonly in1: SVGAnimatedString;\n /**\n * The **`in2`** read-only property of the SVGFEBlendElement interface reflects the in2 attribute of the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEBlendElement/in2)\n */\n readonly in2: SVGAnimatedString;\n /**\n * The **`mode`** read-only property of the SVGFEBlendElement interface reflects the mode attribute of the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEBlendElement/mode)\n */\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/**\n * The **`SVGFEColorMatrixElement`** interface corresponds to the feColorMatrix element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement)\n */\ninterface SVGFEColorMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n /**\n * The **`in1`** read-only property of the SVGFEColorMatrixElement interface reflects the in attribute of the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/in1)\n */\n readonly in1: SVGAnimatedString;\n /**\n * The **`type`** read-only property of the SVGFEColorMatrixElement interface reflects the type attribute of the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/type)\n */\n readonly type: SVGAnimatedEnumeration;\n /**\n * The **`values`** read-only property of the SVGFEColorMatrixElement interface reflects the values attribute of the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEColorMatrixElement/values)\n */\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/**\n * The **`SVGFEComponentTransferElement`** interface corresponds to the feComponentTransfer element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEComponentTransferElement)\n */\ninterface SVGFEComponentTransferElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n /**\n * The **`in1`** read-only property of the SVGFEComponentTransferElement interface reflects the in attribute of the given feComponentTransfer element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEComponentTransferElement/in1)\n */\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/**\n * The **`SVGFECompositeElement`** interface corresponds to the feComposite element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFECompositeElement)\n */\ninterface SVGFECompositeElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n /**\n * The **`in1`** read-only property of the SVGFECompositeElement interface reflects the in attribute of the given feComposite element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFECompositeElement/in1)\n */\n readonly in1: SVGAnimatedString;\n /**\n * The **`in2`** read-only property of the SVGFECompositeElement interface reflects the in2 attribute of the given feComposite element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFECompositeElement/in2)\n */\n readonly in2: SVGAnimatedString;\n /**\n * The **`k1`** read-only property of the SVGFECompositeElement interface reflects the k1 attribute of the given feComposite element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFECompositeElement/k1)\n */\n readonly k1: SVGAnimatedNumber;\n /**\n * The **`k2`** read-only property of the SVGFECompositeElement interface reflects the k2 attribute of the given feComposite element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFECompositeElement/k2)\n */\n readonly k2: SVGAnimatedNumber;\n /**\n * The **`k3`** read-only property of the SVGFECompositeElement interface reflects the k3 attribute of the given feComposite element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFECompositeElement/k3)\n */\n readonly k3: SVGAnimatedNumber;\n /**\n * The **`k4`** read-only property of the SVGFECompositeElement interface reflects the k4 attribute of the given feComposite element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFECompositeElement/k4)\n */\n readonly k4: SVGAnimatedNumber;\n /**\n * The **`operator`** read-only property of the SVGFECompositeElement interface reflects the operator attribute of the given feComposite element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFECompositeElement/operator)\n */\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/**\n * The **`SVGFEConvolveMatrixElement`** interface corresponds to the feConvolveMatrix element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEConvolveMatrixElement)\n */\ninterface SVGFEConvolveMatrixElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n /**\n * The **`bias`** read-only property of the SVGFEConvolveMatrixElement interface reflects the bias attribute of the given feConvolveMatrix element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEConvolveMatrixElement/bias)\n */\n readonly bias: SVGAnimatedNumber;\n /**\n * The **`divisor`** read-only property of the SVGFEConvolveMatrixElement interface reflects the divisor attribute of the given feConvolveMatrix element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEConvolveMatrixElement/divisor)\n */\n readonly divisor: SVGAnimatedNumber;\n /**\n * The **`edgeMode`** read-only property of the SVGFEConvolveMatrixElement interface reflects the edgeMode attribute of the given feConvolveMatrix element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEConvolveMatrixElement/edgeMode)\n */\n readonly edgeMode: SVGAnimatedEnumeration;\n /**\n * The **`in1`** read-only property of the SVGFEConvolveMatrixElement interface reflects the in attribute of the given feConvolveMatrix element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEConvolveMatrixElement/in1)\n */\n readonly in1: SVGAnimatedString;\n /**\n * The **`kernelMatrix`** read-only property of the SVGFEConvolveMatrixElement interface reflects the kernelMatrix attribute of the given feConvolveMatrix element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEConvolveMatrixElement/kernelMatrix)\n */\n readonly kernelMatrix: SVGAnimatedNumberList;\n /**\n * The **`kernelUnitLengthX`** read-only property of the SVGFEConvolveMatrixElement interface reflects the kernelUnitLength attribute of the given feConvolveMatrix element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEConvolveMatrixElement/kernelUnitLengthX)\n */\n readonly kernelUnitLengthX: SVGAnimatedNumber;\n /**\n * The **`kernelUnitLengthY`** read-only property of the SVGFEConvolveMatrixElement interface reflects the kernelUnitLength attribute of the given feConvolveMatrix element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEConvolveMatrixElement/kernelUnitLengthY)\n */\n readonly kernelUnitLengthY: SVGAnimatedNumber;\n /**\n * The **`orderX`** read-only property of the SVGFEConvolveMatrixElement interface reflects the order attribute of the given feConvolveMatrix element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEConvolveMatrixElement/orderX)\n */\n readonly orderX: SVGAnimatedInteger;\n /**\n * The **`orderY`** read-only property of the SVGFEConvolveMatrixElement interface reflects the order attribute of the given feConvolveMatrix element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEConvolveMatrixElement/orderY)\n */\n readonly orderY: SVGAnimatedInteger;\n /**\n * The **`preserveAlpha`** read-only property of the SVGFEConvolveMatrixElement interface reflects the preserveAlpha attribute of the given feConvolveMatrix element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEConvolveMatrixElement/preserveAlpha)\n */\n readonly preserveAlpha: SVGAnimatedBoolean;\n /**\n * The **`targetX`** read-only property of the SVGFEConvolveMatrixElement interface reflects the targetX attribute of the given feConvolveMatrix element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEConvolveMatrixElement/targetX)\n */\n readonly targetX: SVGAnimatedInteger;\n /**\n * The **`targetY`** read-only property of the SVGFEConvolveMatrixElement interface reflects the targetY attribute of the given feConvolveMatrix element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEConvolveMatrixElement/targetY)\n */\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/**\n * The **`SVGFEDiffuseLightingElement`** interface corresponds to the feDiffuseLighting element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement)\n */\ninterface SVGFEDiffuseLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n /**\n * The **`diffuseConstant`** read-only property of the SVGFEDiffuseLightingElement interface reflects the diffuseConstant attribute of the given feDiffuseLighting element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/diffuseConstant)\n */\n readonly diffuseConstant: SVGAnimatedNumber;\n /**\n * The **`in1`** read-only property of the SVGFEDiffuseLightingElement interface reflects the in attribute of the given feDiffuseLighting element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/in1)\n */\n readonly in1: SVGAnimatedString;\n /**\n * The **`kernelUnitLengthX`** read-only property of the SVGFEDiffuseLightingElement interface reflects the X component of the kernelUnitLength attribute of the given feDiffuseLighting element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/kernelUnitLengthX)\n */\n readonly kernelUnitLengthX: SVGAnimatedNumber;\n /**\n * The **`kernelUnitLengthY`** read-only property of the SVGFEDiffuseLightingElement interface reflects the Y component of the kernelUnitLength attribute of the given feDiffuseLighting element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/kernelUnitLengthY)\n */\n readonly kernelUnitLengthY: SVGAnimatedNumber;\n /**\n * The **`surfaceScale`** read-only property of the SVGFEDiffuseLightingElement interface reflects the surfaceScale attribute of the given feDiffuseLighting element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDiffuseLightingElement/surfaceScale)\n */\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/**\n * The **`SVGFEDisplacementMapElement`** interface corresponds to the feDisplacementMap element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDisplacementMapElement)\n */\ninterface SVGFEDisplacementMapElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n /**\n * The **`in1`** read-only property of the SVGFEDisplacementMapElement interface reflects the in attribute of the given feDisplacementMap element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDisplacementMapElement/in1)\n */\n readonly in1: SVGAnimatedString;\n /**\n * The **`in2`** read-only property of the SVGFEDisplacementMapElement interface reflects the in2 attribute of the given feDisplacementMap element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDisplacementMapElement/in2)\n */\n readonly in2: SVGAnimatedString;\n /**\n * The **`scale`** read-only property of the SVGFEDisplacementMapElement interface reflects the scale attribute of the given feDisplacementMap element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDisplacementMapElement/scale)\n */\n readonly scale: SVGAnimatedNumber;\n /**\n * The **`xChannelSelector`** read-only property of the SVGFEDisplacementMapElement interface reflects the xChannelSelector attribute of the given feDisplacementMap element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDisplacementMapElement/xChannelSelector)\n */\n readonly xChannelSelector: SVGAnimatedEnumeration;\n /**\n * The **`yChannelSelector`** read-only property of the SVGFEDisplacementMapElement interface reflects the yChannelSelector attribute of the given feDisplacementMap element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDisplacementMapElement/yChannelSelector)\n */\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/**\n * The **`SVGFEDistantLightElement`** interface corresponds to the feDistantLight element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDistantLightElement)\n */\ninterface SVGFEDistantLightElement extends SVGElement {\n /**\n * The **`azimuth`** read-only property of the SVGFEDistantLightElement interface reflects the azimuth attribute of the given feDistantLight element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDistantLightElement/azimuth)\n */\n readonly azimuth: SVGAnimatedNumber;\n /**\n * The **`elevation`** read-only property of the SVGFEDistantLightElement interface reflects the elevation attribute of the given feDistantLight element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDistantLightElement/elevation)\n */\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\n/**\n * The **`SVGFEDropShadowElement`** interface corresponds to the feDropShadow element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDropShadowElement)\n */\ninterface SVGFEDropShadowElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n /**\n * The **`dx`** read-only property of the SVGFEDropShadowElement interface reflects the dx attribute of the given feDropShadow element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDropShadowElement/dx)\n */\n readonly dx: SVGAnimatedNumber;\n /**\n * The **`dy`** read-only property of the SVGFEDropShadowElement interface reflects the dy attribute of the given feDropShadow element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDropShadowElement/dy)\n */\n readonly dy: SVGAnimatedNumber;\n /**\n * The **`in1`** read-only property of the SVGFEDropShadowElement interface reflects the in attribute of the given feDropShadow element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDropShadowElement/in1)\n */\n readonly in1: SVGAnimatedString;\n /**\n * The **`stdDeviationX`** read-only property of the SVGFEDropShadowElement interface reflects the (possibly automatically computed) X component of the stdDeviation attribute of the given feDropShadow element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDropShadowElement/stdDeviationX)\n */\n readonly stdDeviationX: SVGAnimatedNumber;\n /**\n * The **`stdDeviationY`** read-only property of the SVGFEDropShadowElement interface reflects the (possibly automatically computed) Y component of the stdDeviation attribute of the given feDropShadow element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDropShadowElement/stdDeviationY)\n */\n readonly stdDeviationY: SVGAnimatedNumber;\n /**\n * The `setStdDeviation()` method of the SVGFEDropShadowElement interface sets the values for the stdDeviation attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEDropShadowElement/setStdDeviation)\n */\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/**\n * The **`SVGFEFloodElement`** interface corresponds to the feFlood element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEFloodElement)\n */\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/**\n * The **`SVGFEFuncAElement`** interface corresponds to the feFuncA element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEFuncAElement)\n */\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/**\n * The **`SVGFEFuncBElement`** interface corresponds to the feFuncB element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEFuncBElement)\n */\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/**\n * The **`SVGFEFuncGElement`** interface corresponds to the feFuncG element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEFuncGElement)\n */\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/**\n * The **`SVGFEFuncRElement`** interface corresponds to the feFuncR element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEFuncRElement)\n */\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/**\n * The **`SVGFEGaussianBlurElement`** interface corresponds to the feGaussianBlur element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEGaussianBlurElement)\n */\ninterface SVGFEGaussianBlurElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n /**\n * The **`in1`** read-only property of the SVGFEGaussianBlurElement interface reflects the in attribute of the given feGaussianBlur element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEGaussianBlurElement/in1)\n */\n readonly in1: SVGAnimatedString;\n /**\n * The **`stdDeviationX`** read-only property of the SVGFEGaussianBlurElement interface reflects the (possibly automatically computed) X component of the stdDeviation attribute of the given feGaussianBlur element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEGaussianBlurElement/stdDeviationX)\n */\n readonly stdDeviationX: SVGAnimatedNumber;\n /**\n * The **`stdDeviationY`** read-only property of the SVGFEGaussianBlurElement interface reflects the (possibly automatically computed) Y component of the stdDeviation attribute of the given feGaussianBlur element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEGaussianBlurElement/stdDeviationY)\n */\n readonly stdDeviationY: SVGAnimatedNumber;\n /**\n * The `setStdDeviation()` method of the SVGFEGaussianBlurElement interface sets the values for the stdDeviation attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEGaussianBlurElement/setStdDeviation)\n */\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/**\n * The **`SVGFEImageElement`** interface corresponds to the feImage element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEImageElement)\n */\ninterface SVGFEImageElement extends SVGElement, SVGFilterPrimitiveStandardAttributes, SVGURIReference {\n /**\n * The **`preserveAspectRatio`** read-only property of the SVGFEImageElement interface reflects the preserveAspectRatio attribute of the given feImage element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEImageElement/preserveAspectRatio)\n */\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/**\n * The **`SVGFEMergeElement`** interface corresponds to the feMerge element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMergeElement)\n */\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/**\n * The **`SVGFEMergeNodeElement`** interface corresponds to the feMergeNode element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMergeNodeElement)\n */\ninterface SVGFEMergeNodeElement extends SVGElement {\n /**\n * The **`in1`** read-only property of the SVGFEMergeNodeElement interface reflects the in attribute of the given feMergeNode element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMergeNodeElement/in1)\n */\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/**\n * The **`SVGFEMorphologyElement`** interface corresponds to the feMorphology element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement)\n */\ninterface SVGFEMorphologyElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n /**\n * The **`in1`** read-only property of the SVGFEMorphologyElement interface reflects the in attribute of the given feMorphology element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement/in1)\n */\n readonly in1: SVGAnimatedString;\n /**\n * The **`operator`** read-only property of the SVGFEMorphologyElement interface reflects the operator attribute of the given feMorphology element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement/operator)\n */\n readonly operator: SVGAnimatedEnumeration;\n /**\n * The **`radiusX`** read-only property of the SVGFEMorphologyElement interface reflects the X component of the radius attribute of the given feMorphology element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement/radiusX)\n */\n readonly radiusX: SVGAnimatedNumber;\n /**\n * The **`radiusY`** read-only property of the SVGFEMorphologyElement interface reflects the Y component of the radius attribute of the given feMorphology element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEMorphologyElement/radiusY)\n */\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/**\n * The **`SVGFEOffsetElement`** interface corresponds to the feOffset element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEOffsetElement)\n */\ninterface SVGFEOffsetElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n /**\n * The **`dx`** read-only property of the SVGFEOffsetElement interface reflects the dx attribute of the given feOffset element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEOffsetElement/dx)\n */\n readonly dx: SVGAnimatedNumber;\n /**\n * The **`dy`** read-only property of the SVGFEOffsetElement interface reflects the dy attribute of the given feOffset element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEOffsetElement/dy)\n */\n readonly dy: SVGAnimatedNumber;\n /**\n * The **`in1`** read-only property of the SVGFEOffsetElement interface reflects the in attribute of the given feOffset element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEOffsetElement/in1)\n */\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/**\n * The **`SVGFEPointLightElement`** interface corresponds to the fePointLight element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEPointLightElement)\n */\ninterface SVGFEPointLightElement extends SVGElement {\n /**\n * The **`x`** read-only property of the SVGFEPointLightElement interface describes the horizontal coordinate of the position of an SVG filter primitive as a SVGAnimatedNumber.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEPointLightElement/x)\n */\n readonly x: SVGAnimatedNumber;\n /**\n * The **`y`** read-only property of the SVGFEPointLightElement interface describes the vertical coordinate of the position of an SVG filter primitive as a SVGAnimatedNumber.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEPointLightElement/y)\n */\n readonly y: SVGAnimatedNumber;\n /**\n * The **`z`** read-only property of the SVGFEPointLightElement interface describes the z-axis value of the position of an SVG filter primitive as a SVGAnimatedNumber.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEPointLightElement/z)\n */\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/**\n * The **`SVGFESpecularLightingElement`** interface corresponds to the feSpecularLighting element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement)\n */\ninterface SVGFESpecularLightingElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n /**\n * The **`in1`** read-only property of the SVGFESpecularLightingElement interface reflects the in attribute of the given feSpecularLighting element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/in1)\n */\n readonly in1: SVGAnimatedString;\n /**\n * The **`kernelUnitLengthX`** read-only property of the SVGFESpecularLightingElement interface reflects the x value of the kernelUnitLength attribute of the given feSpecularLighting element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/kernelUnitLengthX)\n */\n readonly kernelUnitLengthX: SVGAnimatedNumber;\n /**\n * The **`kernelUnitLengthY`** read-only property of the SVGFESpecularLightingElement interface reflects the y value of the kernelUnitLength attribute of the given feSpecularLighting element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/kernelUnitLengthY)\n */\n readonly kernelUnitLengthY: SVGAnimatedNumber;\n /**\n * The **`specularConstant`** read-only property of the SVGFESpecularLightingElement interface reflects the specularConstant attribute of the given feSpecularLighting element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/specularConstant)\n */\n readonly specularConstant: SVGAnimatedNumber;\n /**\n * The **`specularExponent`** read-only property of the SVGFESpecularLightingElement interface reflects the specularExponent attribute of the given feSpecularLighting element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/specularExponent)\n */\n readonly specularExponent: SVGAnimatedNumber;\n /**\n * The **`surfaceScale`** read-only property of the SVGFESpecularLightingElement interface reflects the surfaceScale attribute of the given feSpecularLighting element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpecularLightingElement/surfaceScale)\n */\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/**\n * The **`SVGFESpotLightElement`** interface corresponds to the feSpotLight element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement)\n */\ninterface SVGFESpotLightElement extends SVGElement {\n /**\n * The **`limitingConeAngle`** read-only property of the SVGFESpotLightElement interface reflects the limitingConeAngle attribute of the given feSpotLight element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/limitingConeAngle)\n */\n readonly limitingConeAngle: SVGAnimatedNumber;\n /**\n * The **`pointsAtX`** read-only property of the SVGFESpotLightElement interface reflects the pointsAtX attribute of the given feSpotLight element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/pointsAtX)\n */\n readonly pointsAtX: SVGAnimatedNumber;\n /**\n * The **`pointsAtY`** read-only property of the SVGFESpotLightElement interface reflects the pointsAtY attribute of the given feSpotLight element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/pointsAtY)\n */\n readonly pointsAtY: SVGAnimatedNumber;\n /**\n * The **`pointsAtZ`** read-only property of the SVGFESpotLightElement interface reflects the pointsAtZ attribute of the given feSpotLight element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/pointsAtZ)\n */\n readonly pointsAtZ: SVGAnimatedNumber;\n /**\n * The **`specularExponent`** read-only property of the SVGFESpotLightElement interface reflects the specularExponent attribute of the given feSpotLight element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/specularExponent)\n */\n readonly specularExponent: SVGAnimatedNumber;\n /**\n * The **`x`** read-only property of the SVGFESpotLightElement interface describes the horizontal coordinate of the position of an SVG filter primitive as a SVGAnimatedNumber.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/x)\n */\n readonly x: SVGAnimatedNumber;\n /**\n * The **`y`** read-only property of the SVGFESpotLightElement interface describes the vertical coordinate of the position of an SVG filter primitive as a SVGAnimatedNumber.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/y)\n */\n readonly y: SVGAnimatedNumber;\n /**\n * The **`z`** read-only property of the SVGFESpotLightElement interface describes the z-axis value of the position of an SVG filter primitive as a SVGAnimatedNumber.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFESpotLightElement/z)\n */\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/**\n * The **`SVGFETileElement`** interface corresponds to the feTile element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFETileElement)\n */\ninterface SVGFETileElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n /**\n * The **`in1`** read-only property of the SVGFETileElement interface reflects the in attribute of the given feTile element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFETileElement/in1)\n */\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/**\n * The **`SVGFETurbulenceElement`** interface corresponds to the feTurbulence element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFETurbulenceElement)\n */\ninterface SVGFETurbulenceElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {\n /**\n * The **`baseFrequencyX`** read-only property of the SVGFETurbulenceElement interface reflects the X component of the baseFrequency attribute of the given feTurbulence element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFETurbulenceElement/baseFrequencyX)\n */\n readonly baseFrequencyX: SVGAnimatedNumber;\n /**\n * The **`baseFrequencyY`** read-only property of the SVGFETurbulenceElement interface reflects the Y component of the baseFrequency attribute of the given feTurbulence element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFETurbulenceElement/baseFrequencyY)\n */\n readonly baseFrequencyY: SVGAnimatedNumber;\n /**\n * The **`numOctaves`** read-only property of the SVGFETurbulenceElement interface reflects the numOctaves attribute of the given feTurbulence element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFETurbulenceElement/numOctaves)\n */\n readonly numOctaves: SVGAnimatedInteger;\n /**\n * The **`seed`** read-only property of the SVGFETurbulenceElement interface reflects the seed attribute of the given feTurbulence element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFETurbulenceElement/seed)\n */\n readonly seed: SVGAnimatedNumber;\n /**\n * The **`stitchTiles`** read-only property of the SVGFETurbulenceElement interface reflects the stitchTiles attribute of the given feTurbulence element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFETurbulenceElement/stitchTiles)\n */\n readonly stitchTiles: SVGAnimatedEnumeration;\n /**\n * The **`type`** read-only property of the SVGFETurbulenceElement interface reflects the type attribute of the given feTurbulence element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFETurbulenceElement/type)\n */\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/**\n * The **`SVGFilterElement`** interface provides access to the properties of filter elements, as well as methods to manipulate them.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement)\n */\ninterface SVGFilterElement extends SVGElement, SVGURIReference {\n /**\n * The **`filterUnits`** read-only property of the SVGFilterElement interface reflects the filterUnits attribute of the given filter element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement/filterUnits)\n */\n readonly filterUnits: SVGAnimatedEnumeration;\n /**\n * The **`height`** read-only property of the SVGFilterElement interface describes the vertical size of an SVG filter primitive as a SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement/height)\n */\n readonly height: SVGAnimatedLength;\n /**\n * The **`primitiveUnits`** read-only property of the SVGFilterElement interface reflects the primitiveUnits attribute of the given filter element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement/primitiveUnits)\n */\n readonly primitiveUnits: SVGAnimatedEnumeration;\n /**\n * The **`width`** read-only property of the SVGFilterElement interface describes the horizontal size of an SVG filter primitive as a SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement/width)\n */\n readonly width: SVGAnimatedLength;\n /**\n * The **`x`** read-only property of the SVGFilterElement interface describes the horizontal coordinate of the position of an SVG filter primitive as a SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement/x)\n */\n readonly x: SVGAnimatedLength;\n /**\n * The **`y`** read-only property of the SVGFilterElement interface describes the vertical coordinate of the position of an SVG filter primitive as a SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFilterElement/y)\n */\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEBlendElement/height) */\n readonly height: SVGAnimatedLength;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEBlendElement/result) */\n readonly result: SVGAnimatedString;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEBlendElement/width) */\n readonly width: SVGAnimatedLength;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEBlendElement/x) */\n readonly x: SVGAnimatedLength;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGFEBlendElement/y) */\n readonly y: SVGAnimatedLength;\n}\n\ninterface SVGFitToViewBox {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMarkerElement/preserveAspectRatio) */\n readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMarkerElement/viewBox) */\n readonly viewBox: SVGAnimatedRect;\n}\n\n/**\n * The **`SVGForeignObjectElement`** interface provides access to the properties of foreignObject elements, as well as methods to manipulate them.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGForeignObjectElement)\n */\ninterface SVGForeignObjectElement extends SVGGraphicsElement {\n /**\n * The **`height`** read-only property of the SVGForeignObjectElement interface describes the height of the `<foreignObject>` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGForeignObjectElement/height)\n */\n readonly height: SVGAnimatedLength;\n /**\n * The **`width`** read-only property of the SVGForeignObjectElement interface describes the width of the `<foreignObject>` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGForeignObjectElement/width)\n */\n readonly width: SVGAnimatedLength;\n /**\n * The **`x`** read-only property of the SVGForeignObjectElement interface describes the x-axis coordinate of the `<foreignObject>` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGForeignObjectElement/x)\n */\n readonly x: SVGAnimatedLength;\n /**\n * The **`y`** read-only property of the SVGForeignObjectElement interface describes the y-axis coordinate of the `<foreignObject>` element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGForeignObjectElement/y)\n */\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/**\n * The **`SVGGElement`** interface corresponds to the g element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGElement)\n */\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\n/**\n * The `SVGGeometryElement` interface represents SVG elements whose rendering is defined by geometry with an equivalent path, and which can be filled and stroked.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGeometryElement)\n */\ninterface SVGGeometryElement extends SVGGraphicsElement {\n /**\n * The **`SVGGeometryElement.pathLength`** property reflects the A number.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGeometryElement/pathLength)\n */\n readonly pathLength: SVGAnimatedNumber;\n /**\n * The **`SVGGeometryElement.getPointAtLength()`** method returns the point at a given distance along the path.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGeometryElement/getPointAtLength)\n */\n getPointAtLength(distance: number): DOMPoint;\n /**\n * The **`SVGGeometryElement.getTotalLength()`** method returns the user agent\'s computed value for the total length of the path in user units.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGeometryElement/getTotalLength)\n */\n getTotalLength(): number;\n /**\n * The **`isPointInFill()`** method of the SVGGeometryElement interface determines whether a given point is within the fill shape of an element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGeometryElement/isPointInFill)\n */\n isPointInFill(point?: DOMPointInit): boolean;\n /**\n * The **`isPointInStroke()`** method of the SVGGeometryElement interface determines whether a given point is within the stroke shape of an element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGeometryElement/isPointInStroke)\n */\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/**\n * The **`SVGGradient`** interface is a base interface used by SVGLinearGradientElement and SVGRadialGradientElement.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGradientElement)\n */\ninterface SVGGradientElement extends SVGElement, SVGURIReference {\n /**\n * The **`gradientTransform`** read-only property of the SVGGradientElement interface reflects the gradientTransform attribute of the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGradientElement/gradientTransform)\n */\n readonly gradientTransform: SVGAnimatedTransformList;\n /**\n * The **`gradientUnits`** read-only property of the SVGGradientElement interface reflects the gradientUnits attribute of the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGradientElement/gradientUnits)\n */\n readonly gradientUnits: SVGAnimatedEnumeration;\n /**\n * The **`spreadMethod`** read-only property of the SVGGradientElement interface reflects the spreadMethod attribute of the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGradientElement/spreadMethod)\n */\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/**\n * The **`SVGGraphicsElement`** interface represents SVG elements whose primary purpose is to directly render graphics into a group.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement)\n */\ninterface SVGGraphicsElement extends SVGElement, SVGTests {\n /**\n * The **`transform`** read-only property of the SVGGraphicsElement interface reflects the computed value of the transform property and its corresponding transform attribute of the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement/transform)\n */\n readonly transform: SVGAnimatedTransformList;\n /**\n * The **`SVGGraphicsElement.getBBox()`** method allows us to determine the coordinates of the smallest rectangle in which the object fits.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement/getBBox)\n */\n getBBox(options?: SVGBoundingBoxOptions): DOMRect;\n /**\n * The `getCTM()` method of the SVGGraphicsElement interface represents the matrix that transforms the current element\'s coordinate system to its SVG viewport\'s coordinate system.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement/getCTM)\n */\n getCTM(): DOMMatrix | null;\n /**\n * The `getScreenCTM()` method of the SVGGraphicsElement interface represents the matrix that transforms the current element\'s coordinate system to the coordinate system of the SVG viewport for the SVG document fragment.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGGraphicsElement/getScreenCTM)\n */\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/**\n * The **`SVGImageElement`** interface corresponds to the image element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement)\n */\ninterface SVGImageElement extends SVGGraphicsElement, SVGURIReference {\n /**\n * The **`crossOrigin`** property of the SVGImageElement interface is a string which specifies the Cross-Origin Resource Sharing (CORS) setting to use when retrieving the image.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/crossOrigin)\n */\n crossOrigin: string | null;\n /**\n * The **`height`** read-only property of the corresponding to the height attribute of the given An SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/height)\n */\n readonly height: SVGAnimatedLength;\n /**\n * The **`preserveAspectRatio`** read-only property of the SVGImageElement interface returns an element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/preserveAspectRatio)\n */\n readonly preserveAspectRatio: SVGAnimatedPreserveAspectRatio;\n /**\n * The **`width`** read-only property of the corresponding to the width attribute of the given image element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/width)\n */\n readonly width: SVGAnimatedLength;\n /**\n * The **`x`** read-only property of the corresponding to the x attribute of the given image element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/x)\n */\n readonly x: SVGAnimatedLength;\n /**\n * The **`y`** read-only property of the corresponding to the y attribute of the given image element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/y)\n */\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/**\n * The **`SVGLength`** interface correspond to the \\<length> basic data type.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLength)\n */\ninterface SVGLength {\n /**\n * The **`unitType`** property of the SVGLength interface that represents type of the value as specified by one of the `SVG_LENGTHTYPE_*` constants defined on this interface.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLength/unitType)\n */\n readonly unitType: number;\n /**\n * The `value` property of the SVGLength interface represents the floating point value of the \\<length> in user units.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLength/value)\n */\n value: number;\n /**\n * The `valueAsString` property of the SVGLength interface represents the \\<length>\'s value as a string, in the units expressed by SVGLength.unitType.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLength/valueAsString)\n */\n valueAsString: string;\n /**\n * The `valueInSpecifiedUnits` property of the SVGLength interface represents floating point value, in the units expressed by SVGLength.unitType.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLength/valueInSpecifiedUnits)\n */\n valueInSpecifiedUnits: number;\n /**\n * The `convertToSpecifiedUnits()` method of the SVGLength interface allows you to convert the length\'s value to the specified unit type.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLength/convertToSpecifiedUnits)\n */\n convertToSpecifiedUnits(unitType: number): void;\n /**\n * The `newValueSpecifiedUnits()` method of the SVGLength interface resets the value as a number with an associated SVGLength.unitType, thereby replacing the values for all of the attributes on the object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLength/newValueSpecifiedUnits)\n */\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/**\n * The **`SVGLengthList`** interface defines a list of SVGLength objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList)\n */\ninterface SVGLengthList {\n /**\n * The **`length`** property of the SVGLengthList interface returns the number of items in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/length)\n */\n readonly length: number;\n /**\n * The **`numberOfItems`** property of the SVGLengthList interface returns the number of items in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/numberOfItems)\n */\n readonly numberOfItems: number;\n /**\n * The **`appendItem()`** method of the SVGLengthList interface inserts a new item at the end of the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/appendItem)\n */\n appendItem(newItem: SVGLength): SVGLength;\n /**\n * The **`clear()`** method of the SVGLengthList interface clears all existing items from the list, with the result being an empty list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/clear)\n */\n clear(): void;\n /**\n * The **`getItem()`** method of the SVGLengthList interface returns the specified item from the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/getItem)\n */\n getItem(index: number): SVGLength;\n /**\n * The **`initialize()`** method of the SVGLengthList interface clears all existing items from the list and re-initializes the list to hold the single item specified by the parameter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/initialize)\n */\n initialize(newItem: SVGLength): SVGLength;\n /**\n * The **`insertItemBefore()`** method of the SVGLengthList interface inserts a new item into the list at the specified position.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/insertItemBefore)\n */\n insertItemBefore(newItem: SVGLength, index: number): SVGLength;\n /**\n * The **`removeItem()`** method of the SVGLengthList interface removes an existing item at the given index from the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/removeItem)\n */\n removeItem(index: number): SVGLength;\n /**\n * The **`replaceItem()`** method of the SVGLengthList interface replaces an existing item in the list with a new item.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/replaceItem)\n */\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/**\n * The **`SVGLineElement`** interface provides access to the properties of line elements, as well as methods to manipulate them.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement)\n */\ninterface SVGLineElement extends SVGGeometryElement {\n /**\n * The **`x1`** read-only property of the SVGLineElement interface describes the start of the SVG line along the x-axis as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement/x1)\n */\n readonly x1: SVGAnimatedLength;\n /**\n * The **`x2`** read-only property of the SVGLineElement interface describes the x-axis coordinate value of the end of a line as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement/x2)\n */\n readonly x2: SVGAnimatedLength;\n /**\n * The **`y1`** read-only property of the SVGLineElement interface describes the start of the SVG line along the y-axis as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement/y1)\n */\n readonly y1: SVGAnimatedLength;\n /**\n * The **`y2`** read-only property of the SVGLineElement interface describes the v-axis coordinate value of the end of a line as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLineElement/y2)\n */\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/**\n * The **`SVGLinearGradientElement`** interface corresponds to the linearGradient element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement)\n */\ninterface SVGLinearGradientElement extends SVGGradientElement {\n /**\n * The **`x1`** read-only property of the SVGLinearGradientElement interface describes the x-axis coordinate of the start point of the gradient as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/x1)\n */\n readonly x1: SVGAnimatedLength;\n /**\n * The **`x2`** read-only property of the SVGLinearGradientElement interface describes the x-axis coordinate of the start point of the gradient as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/x2)\n */\n readonly x2: SVGAnimatedLength;\n /**\n * The **`y1`** read-only property of the SVGLinearGradientElement interface describes the y-axis coordinate of the start point of the gradient as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/y1)\n */\n readonly y1: SVGAnimatedLength;\n /**\n * The **`y2`** read-only property of the SVGLinearGradientElement interface describes the y-axis coordinate of the start point of the gradient as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLinearGradientElement/y2)\n */\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\n/**\n * The **`SVGMPathElement`** interface corresponds to the mpath element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMPathElement)\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\n/**\n * The **`SVGMarkerElement`** interface provides access to the properties of marker elements, as well as methods to manipulate them.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMarkerElement)\n */\ninterface SVGMarkerElement extends SVGElement, SVGFitToViewBox {\n /**\n * The **`markerHeight`** read-only property of the SVGMarkerElement interface returns an SVGAnimatedLength object containing the height of the marker viewport as defined by the markerHeight attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMarkerElement/markerHeight)\n */\n readonly markerHeight: SVGAnimatedLength;\n /**\n * The **`markerUnits`** read-only property of the SVGMarkerElement interface returns an SVGAnimatedEnumeration object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMarkerElement/markerUnits)\n */\n readonly markerUnits: SVGAnimatedEnumeration;\n /**\n * The **`markerWidth`** read-only property of the SVGMarkerElement interface returns an SVGAnimatedLength object containing the width of the marker viewport as defined by the markerWidth attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMarkerElement/markerWidth)\n */\n readonly markerWidth: SVGAnimatedLength;\n /**\n * The **`orientAngle`** read-only property of the SVGMarkerElement interface returns an SVGAnimatedAngle object containing the angle of the orient attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMarkerElement/orientAngle)\n */\n readonly orientAngle: SVGAnimatedAngle;\n /**\n * The **`orientType`** read-only property of the SVGMarkerElement interface returns an SVGAnimatedEnumeration object indicating whether the orient attribute is `auto`, an angle value, or something else.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMarkerElement/orientType)\n */\n readonly orientType: SVGAnimatedEnumeration;\n /**\n * The **`refX`** read-only property of the SVGMarkerElement interface returns an SVGAnimatedLength object containing the value of the refX attribute of the marker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMarkerElement/refX)\n */\n readonly refX: SVGAnimatedLength;\n /**\n * The **`refY`** read-only property of the SVGMarkerElement interface returns an SVGAnimatedLength object containing the value of the refY attribute of the marker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMarkerElement/refY)\n */\n readonly refY: SVGAnimatedLength;\n /**\n * The **`setOrientToAngle()`** method of the SVGMarkerElement interface sets the value of the `orient` attribute to the value in the SVGAngle passed in.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMarkerElement/setOrientToAngle)\n */\n setOrientToAngle(angle: SVGAngle): void;\n /**\n * The **`setOrientToAuto()`** method of the SVGMarkerElement interface sets the value of the `orient` attribute to `auto`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMarkerElement/setOrientToAuto)\n */\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/**\n * The **`SVGMaskElement`** interface provides access to the properties of mask elements, as well as methods to manipulate them.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMaskElement)\n */\ninterface SVGMaskElement extends SVGElement {\n /**\n * The read-only **`height`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the height attribute of the marker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMaskElement/height)\n */\n readonly height: SVGAnimatedLength;\n /**\n * The read-only **`maskContentUnits`** property of the SVGMaskElement interface reflects the maskContentUnits attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMaskElement/maskContentUnits)\n */\n readonly maskContentUnits: SVGAnimatedEnumeration;\n /**\n * The read-only **`maskUnits`** property of the SVGMaskElement interface reflects the maskUnits attribute of a mask element which defines the coordinate system to use for the mask of the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMaskElement/maskUnits)\n */\n readonly maskUnits: SVGAnimatedEnumeration;\n /**\n * The read-only **`width`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the width attribute of the marker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMaskElement/width)\n */\n readonly width: SVGAnimatedLength;\n /**\n * The read-only **`x`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the x attribute of the mask.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMaskElement/x)\n */\n readonly x: SVGAnimatedLength;\n /**\n * The read-only **`y`** property of the SVGMaskElement interface returns an SVGAnimatedLength object containing the value of the y attribute of the marker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMaskElement/y)\n */\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/**\n * The **`SVGMetadataElement`** interface corresponds to the metadata element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGMetadataElement)\n */\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/**\n * The **`SVGNumber`** interface corresponds to the <number> basic data type.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumber)\n */\ninterface SVGNumber {\n /**\n * The **`value`** read-only property of the SVGNumber interface represents the number.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumber/value)\n */\n value: number;\n}\n\ndeclare var SVGNumber: {\n prototype: SVGNumber;\n new(): SVGNumber;\n};\n\n/**\n * The **`SVGNumberList`** interface defines a list of numbers.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList)\n */\ninterface SVGNumberList {\n /**\n * The **`length`** property of the SVGNumberList interface returns the number of items in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/length)\n */\n readonly length: number;\n /**\n * The **`numberOfItems`** property of the SVGNumberList interface returns the number of items in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/numberOfItems)\n */\n readonly numberOfItems: number;\n /**\n * The **`appendItem()`** method of the SVGNumberList interface inserts a new item at the end of the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/appendItem)\n */\n appendItem(newItem: SVGNumber): SVGNumber;\n /**\n * The **`clear()`** method of the SVGNumberList interface clears all existing items from the list, with the result being an empty list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/clear)\n */\n clear(): void;\n /**\n * The **`getItem()`** method of the SVGNumberList interface returns the specified item from the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/getItem)\n */\n getItem(index: number): SVGNumber;\n /**\n * The **`initialize()`** method of the SVGNumberList interface clears all existing items from the list and re-initializes the list to hold the single item specified by the parameter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/initialize)\n */\n initialize(newItem: SVGNumber): SVGNumber;\n /**\n * The **`insertItemBefore()`** method of the SVGNumberList interface inserts a new item into the list at the specified position.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/insertItemBefore)\n */\n insertItemBefore(newItem: SVGNumber, index: number): SVGNumber;\n /**\n * The **`removeItem()`** method of the SVGNumberList interface removes an existing item at the given index from the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/removeItem)\n */\n removeItem(index: number): SVGNumber;\n /**\n * The **`replaceItem()`** method of the SVGNumberList interface replaces an existing item in the list with a new item.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGNumberList/replaceItem)\n */\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/**\n * The **`SVGPathElement`** interface corresponds to the path element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPathElement)\n */\ninterface SVGPathElement extends SVGGeometryElement {\n /**\n * The **`pathLength`** read-only property of the SVGPathElement interface reflects the pathLength attribute of the given path element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPathElement/pathLength)\n */\n readonly pathLength: SVGAnimatedNumber;\n /**\n * The **`getPointAtLength()`** method of the SVGPathElement interface returns the point at a given distance along the path.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPathElement/getPointAtLength)\n */\n getPointAtLength(distance: number): DOMPoint;\n /**\n * The **`getTotalLength()`** method of the SVGPathElement interface returns the user agent\'s computed value for the total length of the path in user units.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPathElement/getTotalLength)\n */\n getTotalLength(): number;\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/**\n * The **`SVGPatternElement`** interface corresponds to the pattern element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement)\n */\ninterface SVGPatternElement extends SVGElement, SVGFitToViewBox, SVGURIReference {\n /**\n * The **`height`** read-only property of the SVGPatternElement interface describes the height of the pattern as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/height)\n */\n readonly height: SVGAnimatedLength;\n /**\n * The **`patternContentUnits`** read-only property of the SVGPatternElement interface reflects the patternContentUnits attribute of the given pattern element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/patternContentUnits)\n */\n readonly patternContentUnits: SVGAnimatedEnumeration;\n /**\n * The **`patternTransform`** read-only property of the SVGPatternElement interface reflects the patternTransform attribute of the given pattern element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/patternTransform)\n */\n readonly patternTransform: SVGAnimatedTransformList;\n /**\n * The **`patternUnits`** read-only property of the SVGPatternElement interface reflects the patternUnits attribute of the given pattern element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/patternUnits)\n */\n readonly patternUnits: SVGAnimatedEnumeration;\n /**\n * The **`width`** read-only property of the SVGPatternElement interface describes the width of the pattern as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/width)\n */\n readonly width: SVGAnimatedLength;\n /**\n * The **`x`** read-only property of the SVGPatternElement interface describes the x-axis coordinate of the start point of the pattern as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/x)\n */\n readonly x: SVGAnimatedLength;\n /**\n * The **`y`** read-only property of the SVGPatternElement interface describes the y-axis coordinate of the start point of the pattern as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPatternElement/y)\n */\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\n/**\n * The **`SVGPointList`** interface represents a list of DOMPoint objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList)\n */\ninterface SVGPointList {\n /**\n * The **`length`** read-only property of the SVGPointList interface returns the number of items in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/length)\n */\n readonly length: number;\n /**\n * The **`numberOfItems`** read-only property of the SVGPointList interface returns the number of items in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/numberOfItems)\n */\n readonly numberOfItems: number;\n /**\n * The **`appendItem()`** method of the SVGPointList interface adds a DOMPoint to the end of the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/appendItem)\n */\n appendItem(newItem: DOMPoint): DOMPoint;\n /**\n * The **`clear()`** method of the SVGPointList interface removes all items from the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/clear)\n */\n clear(): void;\n /**\n * The **`getItem()`** method of the SVGPointList interface gets one item from the list at the specified index.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/getItem)\n */\n getItem(index: number): DOMPoint;\n /**\n * The **`initialize()`** method of the SVGPointList interface clears the list then adds a single new DOMPoint object to the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/initialize)\n */\n initialize(newItem: DOMPoint): DOMPoint;\n /**\n * The **`insertItemBefore()`** method of the SVGPointList interface inserts a DOMPoint before another item in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/insertItemBefore)\n */\n insertItemBefore(newItem: DOMPoint, index: number): DOMPoint;\n /**\n * The **`removeItem()`** method of the SVGPointList interface removes a DOMPoint from the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/removeItem)\n */\n removeItem(index: number): DOMPoint;\n /**\n * The **`replaceItem()`** method of the SVGPointList interface replaces a DOMPoint in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPointList/replaceItem)\n */\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/**\n * The **`SVGPolygonElement`** interface provides access to the properties of polygon elements, as well as methods to manipulate them.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPolygonElement)\n */\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/**\n * The **`SVGPolylineElement`** interface provides access to the properties of polyline elements, as well as methods to manipulate them.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPolylineElement)\n */\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/**\n * The **`SVGPreserveAspectRatio`** interface corresponds to the preserveAspectRatio attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPreserveAspectRatio)\n */\ninterface SVGPreserveAspectRatio {\n /**\n * The **`align`** read-only property of the SVGPreserveAspectRatio interface reflects the type of the alignment value as specified by one of the `SVG_PRESERVEASPECTRATIO_*` constants defined on this interface.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPreserveAspectRatio/align)\n */\n align: number;\n /**\n * The **`meetOrSlice`** read-only property of the SVGPreserveAspectRatio interface reflects the type of the meet-or-slice value as specified by one of the `SVG_MEETORSLICE_*` constants defined on this interface.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGPreserveAspectRatio/meetOrSlice)\n */\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/**\n * The **`SVGRadialGradientElement`** interface corresponds to the RadialGradient element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement)\n */\ninterface SVGRadialGradientElement extends SVGGradientElement {\n /**\n * The **`cx`** read-only property of the SVGRadialGradientElement interface describes the x-axis coordinate of the center of the radial gradient as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/cx)\n */\n readonly cx: SVGAnimatedLength;\n /**\n * The **`cy`** read-only property of the SVGRadialGradientElement interface describes the y-axis coordinate of the center of the radial gradient as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/cy)\n */\n readonly cy: SVGAnimatedLength;\n /**\n * The **`fr`** read-only property of the SVGRadialGradientElement interface describes the radius of the focal circle of the radial gradient as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/fr)\n */\n readonly fr: SVGAnimatedLength;\n /**\n * The **`fx`** read-only property of the SVGRadialGradientElement interface describes the x-axis coordinate of the focal point of the radial gradient as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/fx)\n */\n readonly fx: SVGAnimatedLength;\n /**\n * The **`fy`** read-only property of the SVGRadialGradientElement interface describes the y-axis coordinate of the focal point of the radial gradient as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/fy)\n */\n readonly fy: SVGAnimatedLength;\n /**\n * The **`r`** read-only property of the SVGRadialGradientElement interface describes the radius of the radial gradient as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRadialGradientElement/r)\n */\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/**\n * The `SVGRectElement` interface provides access to the properties of rect elements, as well as methods to manipulate them.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement)\n */\ninterface SVGRectElement extends SVGGeometryElement {\n /**\n * The **`height`** read-only property of the SVGRectElement interface describes the vertical size of an SVG rectangle as a SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement/height)\n */\n readonly height: SVGAnimatedLength;\n /**\n * The **`rx`** read-only property of the SVGRectElement interface describes the horizontal curve of the corners of an SVG rectangle as a SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement/rx)\n */\n readonly rx: SVGAnimatedLength;\n /**\n * The **`ry`** read-only property of the SVGRectElement interface describes the vertical curve of the corners of an SVG rectangle as a SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement/ry)\n */\n readonly ry: SVGAnimatedLength;\n /**\n * The **`width`** read-only property of the SVGRectElement interface describes the horizontal size of an SVG rectangle as a SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement/width)\n */\n readonly width: SVGAnimatedLength;\n /**\n * The **`x`** read-only property of the SVGRectElement interface describes the horizontal coordinate of the position of an SVG rectangle as a SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement/x)\n */\n readonly x: SVGAnimatedLength;\n /**\n * The **`y`** read-only property of the SVGRectElement interface describes the vertical coordinate of the position of an SVG rectangle as a SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGRectElement/y)\n */\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/**\n * The **`SVGSVGElement`** interface provides access to the properties of svg elements, as well as methods to manipulate them.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement)\n */\ninterface SVGSVGElement extends SVGGraphicsElement, SVGFitToViewBox, WindowEventHandlers {\n /**\n * The **`currentScale`** property of the SVGSVGElement interface reflects the current scale factor relative to the initial view to take into account user magnification and panning operations on the outermost svg element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/currentScale)\n */\n currentScale: number;\n /**\n * The **`currentTranslate`** read-only property of the SVGSVGElement interface reflects the translation factor that takes into account user \'magnification\' corresponding to an outermost svg element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/currentTranslate)\n */\n readonly currentTranslate: DOMPointReadOnly;\n /**\n * The **`height`** read-only property of the SVGSVGElement interface describes the vertical size of element as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/height)\n */\n readonly height: SVGAnimatedLength;\n /**\n * The **`width`** read-only property of the SVGSVGElement interface describes the horizontal size of element as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/width)\n */\n readonly width: SVGAnimatedLength;\n /**\n * The **`x`** read-only property of the SVGSVGElement interface describes the horizontal coordinate of the position of that SVG as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/x)\n */\n readonly x: SVGAnimatedLength;\n /**\n * The **`y`** read-only property of the SVGSVGElement interface describes the vertical coordinate of the position of that SVG as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/y)\n */\n readonly y: SVGAnimatedLength;\n /**\n * The `animationsPaused()` method of the SVGSVGElement interface checks whether the animations in the SVG document fragment are currently paused.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/animationsPaused)\n */\n animationsPaused(): boolean;\n /**\n * The `checkEnclosure()` method of the SVGSVGElement interface checks if the rendered content of the given element is entirely contained within the supplied rectangle.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/checkEnclosure)\n */\n checkEnclosure(element: SVGElement, rect: DOMRectReadOnly): boolean;\n /**\n * The `checkIntersection()` method of the SVGSVGElement interface checks if the rendered content of the given element intersects the supplied rectangle.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/checkIntersection)\n */\n checkIntersection(element: SVGElement, rect: DOMRectReadOnly): boolean;\n /**\n * The `createSVGAngle()` method of the SVGSVGElement interface creates an SVGAngle object outside of any document trees.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGAngle)\n */\n createSVGAngle(): SVGAngle;\n /**\n * The `createSVGLength()` method of the SVGSVGElement interface creates an SVGLength object outside of any document trees.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGLength)\n */\n createSVGLength(): SVGLength;\n /**\n * The `createSVGMatrix()` method of the SVGSVGElement interface creates a DOMMatrix object outside of any document trees.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGMatrix)\n */\n createSVGMatrix(): DOMMatrix;\n /**\n * The `createSVGNumber()` method of the SVGSVGElement interface creates an SVGNumber object outside of any document trees.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGNumber)\n */\n createSVGNumber(): SVGNumber;\n /**\n * The `createSVGPoint()` method of the SVGSVGElement interface creates a DOMPoint object outside of any document trees.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGPoint)\n */\n createSVGPoint(): DOMPoint;\n /**\n * The `createSVGRect()` method of the SVGSVGElement interface creates an DOMRect object outside of any document trees.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGRect)\n */\n createSVGRect(): DOMRect;\n /**\n * The `createSVGTransform()` method of the SVGSVGElement interface creates an SVGTransform object outside of any document trees.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGTransform)\n */\n createSVGTransform(): SVGTransform;\n /**\n * The `createSVGTransformFromMatrix()` method of the SVGSVGElement interface creates an SVGTransform object outside of any document trees, based on the given DOMMatrix object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/createSVGTransformFromMatrix)\n */\n createSVGTransformFromMatrix(matrix?: DOMMatrix2DInit): SVGTransform;\n /**\n * The `deselectAll()` method of the SVGSVGElement interface unselects any selected objects, including any selections of text strings and type-in bars.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/deselectAll)\n */\n deselectAll(): void;\n /** @deprecated */\n forceRedraw(): void;\n /**\n * The `getCurrentTime()` method of the SVGSVGElement interface returns the current time in seconds relative to the start time for the current SVG document fragment.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/getCurrentTime)\n */\n getCurrentTime(): number;\n /**\n * The `getElementById()` method of the SVGSVGElement interface searches the SVG document fragment (i.e., the search is restricted to a subset of the document tree) for an Element whose `id` property matches the specified string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/getElementById)\n */\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 /**\n * The `pauseAnimations()` method of the SVGSVGElement interface suspends (i.e., pauses) all currently running animations that are defined within the SVG document fragment corresponding to this svg element, causing the animation clock corresponding to this document fragment to stand still until it is unpaused.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/pauseAnimations)\n */\n pauseAnimations(): void;\n /**\n * The `setCurrentTime()` method of the SVGSVGElement interface adjusts the clock for this SVG document fragment, establishing a new current time.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/setCurrentTime)\n */\n setCurrentTime(seconds: number): void;\n /** @deprecated */\n suspendRedraw(maxWaitMilliseconds: number): number;\n /**\n * The `unpauseAnimations()` method of the SVGSVGElement interface resumes (i.e., unpauses) currently running animations that are defined within the SVG document fragment, causing the animation clock to continue from the time at which it was suspended.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSVGElement/unpauseAnimations)\n */\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/**\n * The **`SVGScriptElement`** interface corresponds to the SVG script element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGScriptElement)\n */\ninterface SVGScriptElement extends SVGElement, SVGURIReference {\n /**\n * The **`type`** read-only property of the SVGScriptElement interface reflects the type attribute of the given script element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGScriptElement/type)\n */\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\n/**\n * The **`SVGSetElement`** interface corresponds to the set element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSetElement)\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/**\n * The **`SVGStopElement`** interface corresponds to the stop element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGStopElement)\n */\ninterface SVGStopElement extends SVGElement {\n /**\n * The **`offset`** read-only property of the SVGStopElement interface reflects the offset attribute of the given stop element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGStopElement/offset)\n */\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/**\n * The **`SVGStringList`** interface defines a list of strings.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGStringList)\n */\ninterface SVGStringList {\n /**\n * The **`length`** property of the SVGStringList interface returns the number of items in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGStringList/length)\n */\n readonly length: number;\n /**\n * The **`numberOfItems`** property of the SVGStringList interface returns the number of items in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGStringList/numberOfItems)\n */\n readonly numberOfItems: number;\n /**\n * The **`appendItem()`** method of the SVGStringList interface inserts a new item at the end of the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGStringList/appendItem)\n */\n appendItem(newItem: string): string;\n /**\n * The **`clear()`** method of the SVGStringList interface clears all existing items from the list, with the result being an empty list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGStringList/clear)\n */\n clear(): void;\n /**\n * The **`getItem()`** method of the SVGStringList interface returns the specified item from the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGStringList/getItem)\n */\n getItem(index: number): string;\n /**\n * The **`initialize()`** method of the SVGStringList interface clears all existing items from the list and re-initializes the list to hold the single item specified by the parameter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGStringList/initialize)\n */\n initialize(newItem: string): string;\n /**\n * The **`insertItemBefore()`** method of the SVGStringList interface inserts a new item into the list at the specified position.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGStringList/insertItemBefore)\n */\n insertItemBefore(newItem: string, index: number): string;\n /**\n * The **`removeItem()`** method of the SVGStringList interface removes an existing item at the given index from the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGStringList/removeItem)\n */\n removeItem(index: number): string;\n /**\n * The **`replaceItem()`** method of the SVGStringList interface replaces an existing item in the list with a new item.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGStringList/replaceItem)\n */\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/**\n * The **`SVGStyleElement`** interface corresponds to the SVG style element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGStyleElement)\n */\ninterface SVGStyleElement extends SVGElement, LinkStyle {\n disabled: boolean;\n /**\n * The **`SVGStyleElement.media`** property is a media query string corresponding to the `media` attribute of the given SVG style element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGStyleElement/media)\n */\n media: string;\n /**\n * The **`SVGStyleElement.title`** property is a string corresponding to the `title` attribute of the given SVG style element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGStyleElement/title)\n */\n title: string;\n /**\n * The **`SVGStyleElement.type`** property returns the type of the current style.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGStyleElement/type)\n */\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/**\n * The **`SVGSwitchElement`** interface corresponds to the switch element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSwitchElement)\n */\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/**\n * The **`SVGSymbolElement`** interface corresponds to the symbol element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGSymbolElement)\n */\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/**\n * The **`SVGTSpanElement`** interface represents a tspan element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTSpanElement)\n */\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/requiredExtensions) */\n readonly requiredExtensions: SVGStringList;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAnimationElement/systemLanguage) */\n readonly systemLanguage: SVGStringList;\n}\n\n/**\n * The **`SVGTextContentElement`** interface is implemented by elements that support rendering child text content.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement)\n */\ninterface SVGTextContentElement extends SVGGraphicsElement {\n /**\n * The **`lengthAdjust`** read-only property of the SVGTextContentElement interface reflects the lengthAdjust attribute of the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/lengthAdjust)\n */\n readonly lengthAdjust: SVGAnimatedEnumeration;\n /**\n * The **`textLength`** read-only property of the SVGTextContentElement interface reflects the textLength attribute of the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/textLength)\n */\n readonly textLength: SVGAnimatedLength;\n /**\n * The `getCharNumAtPosition()` method of the SVGTextContentElement interface represents the character which caused a text glyph to be rendered at a given position in the coordinate system.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getCharNumAtPosition)\n */\n getCharNumAtPosition(point?: DOMPointInit): number;\n /**\n * The `getComputedTextLength()` method of the SVGTextContentElement interface represents the computed length for the text within the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getComputedTextLength)\n */\n getComputedTextLength(): number;\n /**\n * The `getEndPositionOfChar()` method of the SVGTextContentElement interface returns the trailing position of a typographic character after text layout has been performed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getEndPositionOfChar)\n */\n getEndPositionOfChar(charnum: number): DOMPoint;\n /**\n * The `getExtentOfChar()` method of the SVGTextContentElement interface the represents computed tight bounding box of the glyph cell that corresponds to a given typographic character.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getExtentOfChar)\n */\n getExtentOfChar(charnum: number): DOMRect;\n /**\n * The `getNumberOfChars()` method of the SVGTextContentElement interface represents the total number of addressable characters available for rendering within the current element, regardless of whether they will be rendered.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getNumberOfChars)\n */\n getNumberOfChars(): number;\n /**\n * The `getRotationOfChar()` method of the SVGTextContentElement interface the represents the rotation of a typographic character.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getRotationOfChar)\n */\n getRotationOfChar(charnum: number): number;\n /**\n * The `getStartPositionOfChar()` method of the SVGTextContentElement interface returns the position of a typographic character after text layout has been performed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getStartPositionOfChar)\n */\n getStartPositionOfChar(charnum: number): DOMPoint;\n /**\n * The `getSubStringLength()` method of the SVGTextContentElement interface represents the computed length of the formatted text advance distance for a substring of text within the element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextContentElement/getSubStringLength)\n */\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/**\n * The **`SVGTextElement`** interface corresponds to the text elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextElement)\n */\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/**\n * The **`SVGTextPathElement`** interface corresponds to the textPath element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPathElement)\n */\ninterface SVGTextPathElement extends SVGTextContentElement, SVGURIReference {\n /**\n * The **`method`** read-only property of the SVGTextPathElement interface reflects the method attribute of the given textPath element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPathElement/method)\n */\n readonly method: SVGAnimatedEnumeration;\n /**\n * The **`spacing`** read-only property of the SVGTextPathElement interface reflects the spacing attribute of the given textPath element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPathElement/spacing)\n */\n readonly spacing: SVGAnimatedEnumeration;\n /**\n * The **`startOffset`** read-only property of the SVGTextPathElement interface reflects the X component of the startOffset attribute of the given textPath, which defines an offset from the start of the path for the initial current text position along the path after converting the path to the `<textPath>` element\'s coordinate system.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPathElement/startOffset)\n */\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/**\n * The **`SVGTextPositioningElement`** interface is implemented by elements that support attributes that position individual text glyphs.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement)\n */\ninterface SVGTextPositioningElement extends SVGTextContentElement {\n /**\n * The **`dx`** read-only property of the SVGTextPositioningElement interface describes the x-axis coordinate of the SVGTextElement or SVGTSpanElement as an SVGAnimatedLengthList.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/dx)\n */\n readonly dx: SVGAnimatedLengthList;\n /**\n * The **`dy`** read-only property of the SVGTextPositioningElement interface describes the y-axis coordinate of the SVGTextElement or SVGTSpanElement as an SVGAnimatedLengthList.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/dy)\n */\n readonly dy: SVGAnimatedLengthList;\n /**\n * The **`rotate`** read-only property of the SVGTextPositioningElement interface reflects the rotation of individual text glyphs, as specified by the rotate attribute of the given element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/rotate)\n */\n readonly rotate: SVGAnimatedNumberList;\n /**\n * The **`x`** read-only property of the SVGTextPositioningElement interface describes the x-axis coordinate of the SVGTextElement or SVGTSpanElement as an SVGAnimatedLengthList.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/x)\n */\n readonly x: SVGAnimatedLengthList;\n /**\n * The **`y`** read-only property of the SVGTextPositioningElement interface describes the y-axis coordinate of the SVGTextElement or SVGTSpanElement as an SVGAnimatedLengthList.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTextPositioningElement/y)\n */\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/**\n * The **`SVGTitleElement`** interface corresponds to the title element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTitleElement)\n */\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/**\n * The **`SVGTransform`** interface reflects 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform)\n */\ninterface SVGTransform {\n /**\n * The **`angle`** read-only property of the SVGTransform interface represents the angle of the transformation in degrees.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/angle)\n */\n readonly angle: number;\n /**\n * The **`matrix`** read-only property of the SVGTransform interface represents the transformation matrix that corresponds to the transformation `type`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/matrix)\n */\n readonly matrix: DOMMatrix;\n /**\n * The **`type`** read-only property of the SVGTransform interface represents the `type` of transformation applied, specified by one of the `SVG_TRANSFORM_*` constants defined on this interface.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/type)\n */\n readonly type: number;\n /**\n * The `setMatrix()` method of the SVGTransform interface sets the transform type to `SVG_TRANSFORM_MATRIX`, with parameter `matrix` defining the new transformation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setMatrix)\n */\n setMatrix(matrix?: DOMMatrix2DInit): void;\n /**\n * The `setRotate()` method of the SVGTransform interface sets the transform type to `SVG_TRANSFORM_ROTATE`, with parameter `angle` defining the rotation angle and parameters `cx` and `cy` defining the optional center of rotation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setRotate)\n */\n setRotate(angle: number, cx: number, cy: number): void;\n /**\n * The `setScale()` method of the SVGTransform interface sets the transform type to `SVG_TRANSFORM_SCALE`, with parameters `sx` and `sy` defining the scale amounts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setScale)\n */\n setScale(sx: number, sy: number): void;\n /**\n * The `setSkewX()` method of the SVGTransform interface sets the transform type to `SVG_TRANSFORM_SKEWX`, with parameter `angle` defining the amount of skew along the X-axis.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setSkewX)\n */\n setSkewX(angle: number): void;\n /**\n * The `setSkewY()` method of the SVGTransform interface sets the transform type to `SVG_TRANSFORM_SKEWY`, with parameter `angle` defining the amount of skew along the Y-axis.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setSkewY)\n */\n setSkewY(angle: number): void;\n /**\n * The `setTranslate()` method of the SVGTransform interface sets the transform type to `SVG_TRANSFORM_TRANSLATE`, with parameters `tx` and `ty` defining the translation amounts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransform/setTranslate)\n */\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/**\n * The **`SVGTransformList`** interface defines a list of SVGTransform objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList)\n */\ninterface SVGTransformList {\n /**\n * The **`length`** read-only property of the SVGTransformList interface represents the number of items in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/length)\n */\n readonly length: number;\n /**\n * The **`numberOfItems`** read-only property of the SVGTransformList interface represents the number of items in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/numberOfItems)\n */\n readonly numberOfItems: number;\n /**\n * The `appendItem()` method of the SVGTransformList interface inserts a new item at the end of the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/appendItem)\n */\n appendItem(newItem: SVGTransform): SVGTransform;\n /**\n * The `clear()` method of the SVGTransformList interface clears all existing current items from the list, with the result being an empty list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/clear)\n */\n clear(): void;\n /**\n * The `consolidate()` method of the SVGTransformList interface consolidates the list of separate SVGTransform objects by multiplying the equivalent transformation matrices together to result in a list consisting of a single `SVGTransform` object of type `SVG_TRANSFORM_MATRIX`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/consolidate)\n */\n consolidate(): SVGTransform | null;\n /**\n * The `createSVGTransformFromMatrix()` method of the SVGTransformList interface creates an SVGTransform object which is initialized to a transform of type `SVG_TRANSFORM_MATRIX` and whose values are the given matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/createSVGTransformFromMatrix)\n */\n createSVGTransformFromMatrix(matrix?: DOMMatrix2DInit): SVGTransform;\n /**\n * The `getItem()` method of the SVGTransformList interface returns the specified item from the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/getItem)\n */\n getItem(index: number): SVGTransform;\n /**\n * The `initialize()` method of the SVGTransformList interface clears all existing current items from the list and re-initializes the list to hold the single item specified by the parameter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/initialize)\n */\n initialize(newItem: SVGTransform): SVGTransform;\n /**\n * The `insertItemBefore()` method of the SVGTransformList interface inserts a new item into the list at the specified position.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/insertItemBefore)\n */\n insertItemBefore(newItem: SVGTransform, index: number): SVGTransform;\n /**\n * The `removeItem()` method of the SVGTransformList interface removes an existing item from the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/removeItem)\n */\n removeItem(index: number): SVGTransform;\n /**\n * The `replaceItem()` method of the SVGTransformList interface replaces an existing item in the list with a new item.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGTransformList/replaceItem)\n */\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGAElement/href) */\n readonly href: SVGAnimatedString;\n}\n\n/**\n * The **`SVGUnitTypes`** interface defines a commonly used set of constants used for reflecting gradientUnits, patternContentUnits and other similar attributes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGUnitTypes)\n */\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/**\n * The **`SVGUseElement`** interface corresponds to the use element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGUseElement)\n */\ninterface SVGUseElement extends SVGGraphicsElement, SVGURIReference {\n /**\n * The **`height`** read-only property of the SVGUseElement interface describes the height of the referenced element as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGUseElement/height)\n */\n readonly height: SVGAnimatedLength;\n /**\n * The **`width`** read-only property of the SVGUseElement interface describes the width of the referenced element as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGUseElement/width)\n */\n readonly width: SVGAnimatedLength;\n /**\n * The **`x`** read-only property of the SVGUseElement interface describes the x-axis coordinate of the start point of the referenced element as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGUseElement/x)\n */\n readonly x: SVGAnimatedLength;\n /**\n * The **`y`** read-only property of the SVGUseElement interface describes the y-axis coordinate of the start point of the referenced element as an SVGAnimatedLength.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGUseElement/y)\n */\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/**\n * The **`SVGViewElement`** interface provides access to the properties of view elements, as well as methods to manipulate them.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGViewElement)\n */\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/**\n * The `Screen` interface represents a screen, usually the one on which the current window is being rendered, and is obtained using window.screen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Screen)\n */\ninterface Screen {\n /**\n * The read-only Screen interface\'s **`availHeight`** property returns the height, in CSS pixels, of the space available for Web content on the screen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Screen/availHeight)\n */\n readonly availHeight: number;\n /**\n * The **`Screen.availWidth`** property returns the amount of horizontal space (in CSS pixels) available to the window.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Screen/availWidth)\n */\n readonly availWidth: number;\n /**\n * The **`Screen.colorDepth`** read-only property returns the color depth of the screen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Screen/colorDepth)\n */\n readonly colorDepth: number;\n /**\n * The **`Screen.height`** read-only property returns the height of the screen in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Screen/height)\n */\n readonly height: number;\n /**\n * The **`orientation`** read-only property of the An instance of ScreenOrientation representing the orientation of the screen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Screen/orientation)\n */\n readonly orientation: ScreenOrientation;\n /**\n * Returns the bit depth of the screen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Screen/pixelDepth)\n */\n readonly pixelDepth: number;\n /**\n * The **`Screen.width`** read-only property returns the width of the screen in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Screen/width)\n */\n readonly width: number;\n}\n\ndeclare var Screen: {\n prototype: Screen;\n new(): Screen;\n};\n\ninterface ScreenOrientationEventMap {\n "change": Event;\n}\n\n/**\n * The **`ScreenOrientation`** interface of the Screen Orientation API provides information about the current orientation of the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation)\n */\ninterface ScreenOrientation extends EventTarget {\n /**\n * The **`angle`** read-only property of the angle.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/angle)\n */\n readonly angle: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/change_event) */\n onchange: ((this: ScreenOrientation, ev: Event) => any) | null;\n /**\n * The **`type`** read-only property of the type, one of `portrait-primary`, `portrait-secondary`, `landscape-primary`, or `landscape-secondary`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/type)\n */\n readonly type: OrientationType;\n /**\n * The **`unlock()`** method of the document from its default orientation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScreenOrientation/unlock)\n */\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 * The `ScriptProcessorNode` interface 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 *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScriptProcessorNode)\n */\ninterface ScriptProcessorNode extends AudioNode {\n /**\n * The `bufferSize` property of the ScriptProcessorNode interface returns an integer representing both the input and output buffer size, in sample-frames.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScriptProcessorNode/bufferSize)\n */\n readonly bufferSize: number;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ScriptProcessorNode/audioprocess_event)\n */\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/**\n * The **`SecurityPolicyViolationEvent`** interface inherits from Event, and represents the event object of a `securitypolicyviolation` event sent on an Element/securitypolicyviolation_event, Document/securitypolicyviolation_event, or WorkerGlobalScope/securitypolicyviolation_event when its Content Security Policy (CSP) is violated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent)\n */\ninterface SecurityPolicyViolationEvent extends Event {\n /**\n * The **`blockedURI`** read-only property of the SecurityPolicyViolationEvent interface is a string representing the URI of the resource that was blocked because it violates a Content Security Policy (CSP).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/blockedURI)\n */\n readonly blockedURI: string;\n /**\n * The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the column number in the document or worker script at which the Content Security Policy (CSP) violation occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/columnNumber)\n */\n readonly columnNumber: number;\n /**\n * The **`disposition`** read-only property of the SecurityPolicyViolationEvent interface indicates how the violated Content Security Policy (CSP) is configured to be treated by the user agent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/disposition)\n */\n readonly disposition: SecurityPolicyViolationEventDisposition;\n /**\n * The **`documentURI`** read-only property of the SecurityPolicyViolationEvent interface is a string representing the URI of the document or worker in which the Content Security Policy (CSP) violation occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/documentURI)\n */\n readonly documentURI: string;\n /**\n * The **`effectiveDirective`** read-only property of the SecurityPolicyViolationEvent interface is a string representing the Content Security Policy (CSP) directive that was violated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/effectiveDirective)\n */\n readonly effectiveDirective: string;\n /**\n * The **`lineNumber`** read-only property of the SecurityPolicyViolationEvent interface is the line number in the document or worker script at which the Content Security Policy (CSP) violation occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/lineNumber)\n */\n readonly lineNumber: number;\n /**\n * The **`originalPolicy`** read-only property of the SecurityPolicyViolationEvent interface is a string containing the Content Security Policy (CSP) whose enforcement uncovered the violation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/originalPolicy)\n */\n readonly originalPolicy: string;\n /**\n * The **`referrer`** read-only property of the SecurityPolicyViolationEvent interface is a string representing the referrer for the resources whose Content Security Policy (CSP) was violated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/referrer)\n */\n readonly referrer: string;\n /**\n * The **`sample`** read-only property of the SecurityPolicyViolationEvent interface is a string representing a sample of the resource that caused the Content Security Policy (CSP) violation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/sample)\n */\n readonly sample: string;\n /**\n * The **`sourceFile`** read-only property of the SecurityPolicyViolationEvent interface is a string representing the URL of the script in which the Content Security Policy (CSP) violation occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/sourceFile)\n */\n readonly sourceFile: string;\n /**\n * The **`statusCode`** read-only property of the SecurityPolicyViolationEvent interface is a number representing the HTTP status code of the window or worker in which the Content Security Policy (CSP) violation occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/statusCode)\n */\n readonly statusCode: number;\n /**\n * The **`violatedDirective`** read-only property of the SecurityPolicyViolationEvent interface is a string representing the Content Security Policy (CSP) directive that was violated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/violatedDirective)\n */\n readonly violatedDirective: string;\n}\n\ndeclare var SecurityPolicyViolationEvent: {\n prototype: SecurityPolicyViolationEvent;\n new(type: string, eventInitDict?: SecurityPolicyViolationEventInit): SecurityPolicyViolationEvent;\n};\n\n/**\n * A **`Selection`** object represents the range of text selected by the user or the current position of the caret.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection)\n */\ninterface Selection {\n /**\n * The **`Selection.anchorNode`** read-only property returns the Node in which the selection begins.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/anchorNode)\n */\n readonly anchorNode: Node | null;\n /**\n * The **`Selection.anchorOffset`** read-only property returns the number of characters that the selection\'s anchor is offset within the In the case of Selection.anchorNode being another type of node, **`Selection.anchorOffset`** returns the number of Node.childNodes the selection\'s anchor is offset within the Selection.anchorNode.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/anchorOffset)\n */\n readonly anchorOffset: number;\n /**\n * The **`direction`** read-only property of the Selection interface is a string that provides the direction of the current selection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/direction)\n */\n readonly direction: string;\n /**\n * The **`Selection.focusNode`** read-only property returns the Node in which the selection ends.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/focusNode)\n */\n readonly focusNode: Node | null;\n /**\n * The **`Selection.focusOffset`** read-only property returns the number of characters that the selection\'s focus is offset within the In the case of Selection.focusNode being another type of node, **`Selection.focusOffset`** returns the number of Node.childNodes the selection\'s focus is offset within the Selection.focusNode.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/focusOffset)\n */\n readonly focusOffset: number;\n /**\n * The **`Selection.isCollapsed`** read-only property returns a boolean value which indicates whether or not there is currently any text selected.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/isCollapsed)\n */\n readonly isCollapsed: boolean;\n /**\n * The **`Selection.rangeCount`** read-only property returns the number of ranges in the selection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/rangeCount)\n */\n readonly rangeCount: number;\n /**\n * The **`type`** read-only property of the type of the current selection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/type)\n */\n readonly type: string;\n /**\n * The **`Selection.addRange()`** method adds a ```js-nolint addRange(range) ``` - `range` - : A Range object that will be added to the Selection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/addRange)\n */\n addRange(range: Range): void;\n /**\n * The **`Selection.collapse()`** method collapses the current selection to a single point.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/collapse)\n */\n collapse(node: Node | null, offset?: number): void;\n /**\n * The **`Selection.collapseToEnd()`** method collapses the selection to the end of the last range in the selection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/collapseToEnd)\n */\n collapseToEnd(): void;\n /**\n * The **`Selection.collapseToStart()`** method collapses the selection to the start of the first range in the selection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/collapseToStart)\n */\n collapseToStart(): void;\n /**\n * The **`Selection.containsNode()`** method indicates whether a specified node is part of the selection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/containsNode)\n */\n containsNode(node: Node, allowPartialContainment?: boolean): boolean;\n /**\n * The **`deleteFromDocument()`** method of the ```js-nolint deleteFromDocument() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/deleteFromDocument)\n */\n deleteFromDocument(): void;\n /**\n * The **`Selection.empty()`** method removes all ranges from the selection, leaving the Selection.anchorNode and Selection.focusNode properties equal to `null` and nothing selected.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/empty)\n */\n empty(): void;\n /**\n * The **`Selection.extend()`** method moves the focus of the selection to a specified point.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/extend)\n */\n extend(node: Node, offset?: number): void;\n /**\n * The **`Selection.getComposedRanges()`** method returns an array of StaticRange objects representing the current selection ranges, and can return ranges that potentially cross shadow boundaries.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/getComposedRanges)\n */\n getComposedRanges(options?: GetComposedRangesOptions): StaticRange[];\n /**\n * The **`getRangeAt()`** method of the Selection interface returns a range object representing a currently selected range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/getRangeAt)\n */\n getRangeAt(index: number): Range;\n /**\n * The **`Selection.modify()`** method applies a change to the current selection or cursor position, using simple textual commands.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/modify)\n */\n modify(alter?: string, direction?: string, granularity?: string): void;\n /**\n * The **`Selection.removeAllRanges()`** method removes all ranges from the selection, leaving the Selection.anchorNode and Selection.focusNode properties equal to `null` and nothing selected.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/removeAllRanges)\n */\n removeAllRanges(): void;\n /**\n * The **`Selection.removeRange()`** method removes a range from a selection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/removeRange)\n */\n removeRange(range: Range): void;\n /**\n * The **`Selection.selectAllChildren()`** method adds all the children of the specified node to the selection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/selectAllChildren)\n */\n selectAllChildren(node: Node): void;\n /**\n * The **`setBaseAndExtent()`** method of the Selection interface sets the selection to be a range including all or parts of two specified DOM nodes, and any content located between them.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/setBaseAndExtent)\n */\n setBaseAndExtent(anchorNode: Node, anchorOffset: number, focusNode: Node, focusOffset: number): void;\n /**\n * The **`Selection.setPosition()`** method collapses the current selection to a single point.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/setPosition)\n */\n setPosition(node: Node | null, offset?: number): void;\n toString(): string;\n}\n\ndeclare var Selection: {\n prototype: Selection;\n new(): Selection;\n};\n\ninterface ServiceWorkerEventMap extends AbstractWorkerEventMap {\n "statechange": Event;\n}\n\n/**\n * The **`ServiceWorker`** interface of the Service Worker API provides a reference to a service worker.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker)\n */\ninterface ServiceWorker extends EventTarget, AbstractWorker {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/statechange_event) */\n onstatechange: ((this: ServiceWorker, ev: Event) => any) | null;\n /**\n * Returns the `ServiceWorker` serialized script URL defined as part of `ServiceWorkerRegistration`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/scriptURL)\n */\n readonly scriptURL: string;\n /**\n * The **`state`** read-only property of the of the service worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/state)\n */\n readonly state: ServiceWorkerState;\n /**\n * The **`postMessage()`** method of the ServiceWorker interface sends a message to the worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/postMessage)\n */\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 Service Worker 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 *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer)\n */\ninterface ServiceWorkerContainer extends EventTarget {\n /**\n * The **`controller`** read-only property of the ServiceWorkerContainer interface returns a `activated` (the same object returned by `null` if the request is a force refresh (_Shift_ + refresh) or if there is no active worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/controller)\n */\n readonly controller: ServiceWorker | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/controllerchange_event) */\n oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/message_event) */\n onmessage: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/messageerror_event) */\n onmessageerror: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;\n /**\n * The **`ready`** read-only property of the ServiceWorkerContainer interface provides a way of delaying code execution until a service worker is active.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/ready)\n */\n readonly ready: Promise<ServiceWorkerRegistration>;\n /**\n * The **`getRegistration()`** method of the client URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistration)\n */\n getRegistration(clientURL?: string | URL): Promise<ServiceWorkerRegistration | undefined>;\n /**\n * The **`getRegistrations()`** method of the `ServiceWorkerContainer`, in an array.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistrations)\n */\n getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;\n /**\n * The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)\n */\n register(scriptURL: string | URL, options?: RegistrationOptions): Promise<ServiceWorkerRegistration>;\n /**\n * The **`startMessages()`** method of the ServiceWorkerContainer interface explicitly starts the flow of messages being dispatched from a service worker to pages under its control (e.g., sent via Client.postMessage()).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/startMessages)\n */\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 * The **`ServiceWorkerRegistration`** interface of the Service Worker API represents the service worker registration.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration)\n */\ninterface ServiceWorkerRegistration extends EventTarget {\n /**\n * The **`active`** read-only property of the This property is initially set to `null`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)\n */\n readonly active: ServiceWorker | null;\n /**\n * The **`cookies`** read-only property of the ServiceWorkerRegistration interface returns a reference to the CookieStoreManager interface, which enables a web app to subscribe to and unsubscribe from cookie change events in a service worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/cookies)\n */\n readonly cookies: CookieStoreManager;\n /**\n * The **`installing`** read-only property of the initially set to `null`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/installing)\n */\n readonly installing: ServiceWorker | null;\n /**\n * The **`navigationPreload`** read-only property of the ServiceWorkerRegistration interface returns the NavigationPreloadManager associated with the current service worker registration.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/navigationPreload)\n */\n readonly navigationPreload: NavigationPreloadManager;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updatefound_event) */\n onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;\n /**\n * The **`pushManager`** read-only property of the support for subscribing, getting an active subscription, and accessing push permission status.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/pushManager)\n */\n readonly pushManager: PushManager;\n /**\n * The **`scope`** read-only property of the ServiceWorkerRegistration interface returns a string representing a URL that defines a service worker\'s registration scope; that is, the range of URLs a service worker can control.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/scope)\n */\n readonly scope: string;\n /**\n * The **`updateViaCache`** read-only property of the ServiceWorkerRegistration interface returns the value of the setting used to determine the circumstances in which the browser will consult the HTTP cache when it tries to update the service worker or any scripts that are imported via WorkerGlobalScope.importScripts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updateViaCache)\n */\n readonly updateViaCache: ServiceWorkerUpdateViaCache;\n /**\n * The **`waiting`** read-only property of the set to `null`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/waiting)\n */\n readonly waiting: ServiceWorker | null;\n /**\n * The **`getNotifications()`** method of the ServiceWorkerRegistration interface returns a list of the notifications in the order that they were created from the current origin via the current service worker registration.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/getNotifications)\n */\n getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;\n /**\n * The **`showNotification()`** method of the service worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/showNotification)\n */\n showNotification(title: string, options?: NotificationOptions): Promise<void>;\n /**\n * The **`unregister()`** method of the registration and returns a Promise.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister)\n */\n unregister(): Promise<boolean>;\n /**\n * The **`update()`** method of the worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update)\n */\n update(): Promise<ServiceWorkerRegistration>;\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\n/**\n * The **`ShadowRoot`** interface of the Shadow DOM API is the root node of a DOM subtree that is rendered separately from a document\'s main DOM tree.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot)\n */\ninterface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {\n /**\n * The **`clonable`** read-only property of the ShadowRoot interface returns `true` if the shadow root is clonable, and `false` otherwise.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/clonable)\n */\n readonly clonable: boolean;\n /**\n * The **`delegatesFocus`** read-only property of the ShadowRoot interface returns `true` if the shadow root delegates focus, and `false` otherwise.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/delegatesFocus)\n */\n readonly delegatesFocus: boolean;\n /**\n * The **`host`** read-only property of the ShadowRoot returns a reference to the DOM element the `ShadowRoot` is attached to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/host)\n */\n readonly host: Element;\n /**\n * The **`innerHTML`** property of the ShadowRoot interface sets gets or sets the HTML markup to the DOM tree inside the `ShadowRoot`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML)\n */\n innerHTML: string;\n /**\n * The **`mode`** read-only property of the ShadowRoot specifies its mode — either `open` or `closed`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/mode)\n */\n readonly mode: ShadowRootMode;\n onslotchange: ((this: ShadowRoot, ev: Event) => any) | null;\n /**\n * The **`serializable`** read-only property of the ShadowRoot interface returns `true` if the shadow root is serializable.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/serializable)\n */\n readonly serializable: boolean;\n /**\n * The read-only **`slotAssignment`** property of the ShadowRoot interface returns the _slot assignment mode_ for the shadow DOM tree.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/slotAssignment)\n */\n readonly slotAssignment: SlotAssignmentMode;\n /**\n * The **`getHTML()`** method of the ShadowRoot interface is used to serialize a shadow root\'s DOM to an HTML string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/getHTML)\n */\n getHTML(options?: GetHTMLOptions): string;\n /**\n * The **`setHTMLUnsafe()`** method of the ShadowRoot interface can be used to parse a string of HTML into a DocumentFragment, optionally filtering out unwanted elements and attributes, and then use it to replace the existing tree in the Shadow DOM.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe)\n */\n setHTMLUnsafe(html: string): void;\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\n/**\n * The **`SharedWorker`** interface represents a specific kind of worker that can be _accessed_ from several browsing contexts, such as several windows, iframes or even workers.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorker)\n */\ninterface SharedWorker extends EventTarget, AbstractWorker {\n /**\n * The **`port`** property of the SharedWorker interface returns a MessagePort object used to communicate and control the shared worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorker/port)\n */\n readonly port: MessagePort;\n addEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: SharedWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AbstractWorkerEventMap>(type: K, listener: (this: SharedWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SharedWorker: {\n prototype: SharedWorker;\n new(scriptURL: string | URL, options?: string | WorkerOptions): SharedWorker;\n};\n\ninterface Slottable {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/assignedSlot) */\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/**\n * The **`SourceBuffer`** interface represents a chunk of media to be passed into an HTMLMediaElement and played, via a MediaSource object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer)\n */\ninterface SourceBuffer extends EventTarget {\n /**\n * The **`appendWindowEnd`** property of the timestamp range that can be used to filter what media data is appended to the `SourceBuffer`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/appendWindowEnd)\n */\n appendWindowEnd: number;\n /**\n * The **`appendWindowStart`** property of the timestamp range that can be used to filter what media data is appended to the `SourceBuffer`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/appendWindowStart)\n */\n appendWindowStart: number;\n /**\n * The **`buffered`** read-only property of the buffered in the `SourceBuffer` as a normalized TimeRanges object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/buffered)\n */\n readonly buffered: TimeRanges;\n /**\n * The **`mode`** property of the SourceBuffer interface controls whether media segments can be appended to the `SourceBuffer` in any order, or in a strict sequence.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/mode)\n */\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 /**\n * The **`timestampOffset`** property of the media segments that are appended to the `SourceBuffer`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/timestampOffset)\n */\n timestampOffset: number;\n /**\n * The **`updating`** read-only property of the currently being updated — i.e., whether an SourceBuffer.appendBuffer() or SourceBuffer.remove() operation is currently in progress.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/updating)\n */\n readonly updating: boolean;\n /**\n * The **`abort()`** method of the SourceBuffer interface aborts the current segment and resets the segment parser.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/abort)\n */\n abort(): void;\n /**\n * The **`appendBuffer()`** method of the to the `SourceBuffer`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/appendBuffer)\n */\n appendBuffer(data: BufferSource): void;\n /**\n * The **`changeType()`** method of the data to conform to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/changeType)\n */\n changeType(type: string): void;\n /**\n * The **`remove()`** method of the SourceBuffer interface removes media segments within a specific time range from the `SourceBuffer`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBuffer/remove)\n */\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/**\n * The **`SourceBufferList`** interface represents a simple container list for multiple SourceBuffer objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList)\n */\ninterface SourceBufferList extends EventTarget {\n /**\n * The **`length`** read-only property of the An unsigned long number.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SourceBufferList/length)\n */\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\n/**\n * The **`SpeechRecognitionAlternative`** interface of the Web Speech API represents a single word that has been recognized by the speech recognition service.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionAlternative)\n */\ninterface SpeechRecognitionAlternative {\n /**\n * The **`confidence`** read-only property of the confident the speech recognition system is that the recognition is correct.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionAlternative/confidence)\n */\n readonly confidence: number;\n /**\n * The **`transcript`** read-only property of the transcript of the recognized word(s).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionAlternative/transcript)\n */\n readonly transcript: string;\n}\n\ndeclare var SpeechRecognitionAlternative: {\n prototype: SpeechRecognitionAlternative;\n new(): SpeechRecognitionAlternative;\n};\n\n/**\n * The **`SpeechRecognitionResult`** interface of the Web Speech API represents a single recognition match, which may contain multiple SpeechRecognitionAlternative objects.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResult)\n */\ninterface SpeechRecognitionResult {\n /**\n * The **`isFinal`** read-only property of the whether this result is final (`true`) or not (`false`) — if so, then this is the final time this result will be returned; if not, then this result is an interim result, and may be updated later on.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResult/isFinal)\n */\n readonly isFinal: boolean;\n /**\n * The **`length`** read-only property of the — the number of SpeechRecognitionAlternative objects contained in the result (also referred to as \'n-best alternatives\'.) The number of alternatives contained in the result depends on what the recognition was first initiated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResult/length)\n */\n readonly length: number;\n /**\n * The **`item`** getter of the array syntax.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResult/item)\n */\n item(index: number): SpeechRecognitionAlternative;\n [index: number]: SpeechRecognitionAlternative;\n}\n\ndeclare var SpeechRecognitionResult: {\n prototype: SpeechRecognitionResult;\n new(): SpeechRecognitionResult;\n};\n\n/**\n * The **`SpeechRecognitionResultList`** interface of the Web Speech API represents a list of SpeechRecognitionResult objects, or a single one if results are being captured in SpeechRecognition.continuous mode.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResultList)\n */\ninterface SpeechRecognitionResultList {\n /**\n * The **`length`** read-only property of the \'array\' — the number of SpeechRecognitionResult objects in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResultList/length)\n */\n readonly length: number;\n /**\n * The **`item`** getter of the syntax.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechRecognitionResultList/item)\n */\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/**\n * The **`SpeechSynthesis`** interface of the Web Speech API 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis)\n */\ninterface SpeechSynthesis extends EventTarget {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/voiceschanged_event) */\n onvoiceschanged: ((this: SpeechSynthesis, ev: Event) => any) | null;\n /**\n * The **`paused`** read-only property of the `true` if the `SpeechSynthesis` object is in a paused state, or `false` if not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/paused)\n */\n readonly paused: boolean;\n /**\n * The **`pending`** read-only property of the `true` if the utterance queue contains as-yet-unspoken utterances.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/pending)\n */\n readonly pending: boolean;\n /**\n * The **`speaking`** read-only property of the `true` if an utterance is currently in the process of being spoken — even if `SpeechSynthesis` is in a A boolean value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/speaking)\n */\n readonly speaking: boolean;\n /**\n * The **`cancel()`** method of the SpeechSynthesis interface removes all utterances from the utterance queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/cancel)\n */\n cancel(): void;\n /**\n * The **`getVoices()`** method of the current device.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/getVoices)\n */\n getVoices(): SpeechSynthesisVoice[];\n /**\n * The **`pause()`** method of the SpeechSynthesis interface puts the `SpeechSynthesis` object into a paused state.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/pause)\n */\n pause(): void;\n /**\n * The **`resume()`** method of the SpeechSynthesis interface puts the `SpeechSynthesis` object into a non-paused state: resumes it if it was already paused.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/resume)\n */\n resume(): void;\n /**\n * The **`speak()`** method of the SpeechSynthesis interface adds an SpeechSynthesisUtterance to the utterance queue; it will be spoken when any other utterances queued before it have been spoken.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesis/speak)\n */\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\n/**\n * The **`SpeechSynthesisErrorEvent`** interface of the Web Speech API contains information about any errors that occur while processing SpeechSynthesisUtterance objects in the speech service.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisErrorEvent)\n */\ninterface SpeechSynthesisErrorEvent extends SpeechSynthesisEvent {\n /**\n * The **`error`** property of the A string containing the error reason.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisErrorEvent/error)\n */\n readonly error: SpeechSynthesisErrorCode;\n}\n\ndeclare var SpeechSynthesisErrorEvent: {\n prototype: SpeechSynthesisErrorEvent;\n new(type: string, eventInitDict: SpeechSynthesisErrorEventInit): SpeechSynthesisErrorEvent;\n};\n\n/**\n * The **`SpeechSynthesisEvent`** interface of the Web Speech API contains information about the current state of SpeechSynthesisUtterance objects that have been processed in the speech service.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisEvent)\n */\ninterface SpeechSynthesisEvent extends Event {\n /**\n * The **`charIndex`** read-only property of the SpeechSynthesisUtterance interface returns the index position of the character in SpeechSynthesisUtterance.text that was being spoken when the event was triggered.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisEvent/charIndex)\n */\n readonly charIndex: number;\n /**\n * The read-only **`charLength`** property of the SpeechSynthesisEvent interface returns the number of characters left to be spoken after the character at the SpeechSynthesisEvent.charIndex position.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisEvent/charLength)\n */\n readonly charLength: number;\n /**\n * The **`elapsedTime`** read-only property of the SpeechSynthesisEvent returns the elapsed time in seconds, after the SpeechSynthesisUtterance.text started being spoken, at which the event was triggered.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisEvent/elapsedTime)\n */\n readonly elapsedTime: number;\n /**\n * The **`name`** read-only property of the SpeechSynthesisUtterance interface returns the name associated with certain types of events occurring as the SpeechSynthesisUtterance.text is being spoken: the name of the SSML marker reached in the case of a SpeechSynthesisUtterance.mark_event event, or the type of boundary reached in the case of a SpeechSynthesisUtterance.boundary_event event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisEvent/name)\n */\n readonly name: string;\n /**\n * The **`utterance`** read-only property of the SpeechSynthesisUtterance interface returns the SpeechSynthesisUtterance instance that the event was triggered on.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisEvent/utterance)\n */\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/**\n * The **`SpeechSynthesisUtterance`** interface of the Web Speech API represents a speech request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisUtterance)\n */\ninterface SpeechSynthesisUtterance extends EventTarget {\n /**\n * The **`lang`** property of the SpeechSynthesisUtterance interface gets and sets the language of the utterance.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisUtterance/lang)\n */\n lang: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisUtterance/boundary_event) */\n onboundary: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisUtterance/end_event) */\n onend: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisUtterance/error_event) */\n onerror: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisErrorEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisUtterance/mark_event) */\n onmark: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisUtterance/pause_event) */\n onpause: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisUtterance/resume_event) */\n onresume: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisUtterance/start_event) */\n onstart: ((this: SpeechSynthesisUtterance, ev: SpeechSynthesisEvent) => any) | null;\n /**\n * The **`pitch`** property of the SpeechSynthesisUtterance interface gets and sets the pitch at which the utterance will be spoken at.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisUtterance/pitch)\n */\n pitch: number;\n /**\n * The **`rate`** property of the SpeechSynthesisUtterance interface gets and sets the speed at which the utterance will be spoken at.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisUtterance/rate)\n */\n rate: number;\n /**\n * The **`text`** property of the The text may be provided as plain text, or a well-formed SSML document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisUtterance/text)\n */\n text: string;\n /**\n * The **`voice`** property of the SpeechSynthesisUtterance interface gets and sets the voice that will be used to speak the utterance.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisUtterance/voice)\n */\n voice: SpeechSynthesisVoice | null;\n /**\n * The **`volume`** property of the SpeechSynthesisUtterance interface gets and sets the volume that the utterance will be spoken at.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisUtterance/volume)\n */\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/**\n * The **`SpeechSynthesisVoice`** interface of the Web Speech API represents a voice that the system supports.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisVoice)\n */\ninterface SpeechSynthesisVoice {\n /**\n * The **`default`** read-only property of the indicating whether the voice is the default voice for the current app (`true`), or not (`false`.) A boolean value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisVoice/default)\n */\n readonly default: boolean;\n /**\n * The **`lang`** read-only property of the SpeechSynthesisVoice interface returns a BCP 47 language tag indicating the language of the voice.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisVoice/lang)\n */\n readonly lang: string;\n /**\n * The **`localService`** read-only property of the indicating whether the voice is supplied by a local speech synthesizer service (`true`), or a remote speech synthesizer service (`false`.) This property is provided to allow differentiation in the case that some voice options are provided by a remote service; it is possible that remote voices might have extra latency, bandwidth or cost associated with them, so such distinction may be useful.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisVoice/localService)\n */\n readonly localService: boolean;\n /**\n * The **`name`** read-only property of the represents the voice.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisVoice/name)\n */\n readonly name: string;\n /**\n * The **`voiceURI`** read-only property of the the speech synthesis service for this voice.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisVoice/voiceURI)\n */\n readonly voiceURI: string;\n}\n\ndeclare var SpeechSynthesisVoice: {\n prototype: SpeechSynthesisVoice;\n new(): SpeechSynthesisVoice;\n};\n\n/**\n * The DOM **`StaticRange`** interface extends AbstractRange to provide a method to specify a range of content in the DOM whose contents don\'t update to reflect changes which occur within the DOM tree.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StaticRange)\n */\ninterface StaticRange extends AbstractRange {\n}\n\ndeclare var StaticRange: {\n prototype: StaticRange;\n new(init: StaticRangeInit): StaticRange;\n};\n\n/**\n * The `StereoPannerNode` interface of the Web Audio API represents a simple stereo panner node that can be used to pan an audio stream left or right.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StereoPannerNode)\n */\ninterface StereoPannerNode extends AudioNode {\n /**\n * The `pan` property of the StereoPannerNode interface is an a-rate AudioParam representing the amount of panning to apply.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StereoPannerNode/pan)\n */\n readonly pan: AudioParam;\n}\n\ndeclare var StereoPannerNode: {\n prototype: StereoPannerNode;\n new(context: BaseAudioContext, options?: StereoPannerOptions): StereoPannerNode;\n};\n\n/**\n * The **`Storage`** interface of the Web Storage API provides access to a particular domain\'s session or local storage.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage)\n */\ninterface Storage {\n /**\n * The **`length`** read-only property of the `Storage` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/length)\n */\n readonly length: number;\n /**\n * The **`clear()`** method of the Storage interface clears all keys stored in a given `Storage` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/clear)\n */\n clear(): void;\n /**\n * The **`getItem()`** method of the Storage interface, when passed a key name, will return that key\'s value, or `null` if the key does not exist, in the given `Storage` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/getItem)\n */\n getItem(key: string): string | null;\n /**\n * The **`key()`** method of the Storage interface, when passed a number n, returns the name of the nth key in a given `Storage` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/key)\n */\n key(index: number): string | null;\n /**\n * The **`removeItem()`** method of the Storage interface, when passed a key name, will remove that key from the given `Storage` object if it exists.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/removeItem)\n */\n removeItem(key: string): void;\n /**\n * The **`setItem()`** method of the Storage interface, when passed a key name and value, will add that key to the given `Storage` object, or update that key\'s value if it already exists.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/setItem)\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/**\n * The **`StorageEvent`** interface is implemented by the Window/storage_event event, which is sent to a window when a storage area the window has access to is changed within the context of another document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageEvent)\n */\ninterface StorageEvent extends Event {\n /**\n * The **`key`** property of the StorageEvent interface returns the key for the storage item that was changed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageEvent/key)\n */\n readonly key: string | null;\n /**\n * The **`newValue`** property of the StorageEvent interface returns the new value of the storage item whose value was changed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageEvent/newValue)\n */\n readonly newValue: string | null;\n /**\n * The **`oldValue`** property of the StorageEvent interface returns the original value of the storage item whose value changed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageEvent/oldValue)\n */\n readonly oldValue: string | null;\n /**\n * The **`storageArea`** property of the StorageEvent interface returns the storage object that was affected.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageEvent/storageArea)\n */\n readonly storageArea: Storage | null;\n /**\n * The **`url`** property of the StorageEvent interface returns the URL of the document whose storage changed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageEvent/url)\n */\n readonly url: string;\n /**\n * The **`StorageEvent.initStorageEvent()`** method is used to initialize the value of a StorageEvent.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageEvent/initStorageEvent)\n */\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/**\n * The **`StorageManager`** interface of the Storage API provides an interface for managing persistence permissions and estimating available storage.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageManager)\n */\ninterface StorageManager {\n /**\n * The **`estimate()`** method of the StorageManager interface asks the Storage Manager for how much storage the current origin takes up (`usage`), and how much space is available (`quota`).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageManager/estimate)\n */\n estimate(): Promise<StorageEstimate>;\n /**\n * The **`getDirectory()`** method of the StorageManager interface is used to obtain a reference to a FileSystemDirectoryHandle object allowing access to a directory and its contents, stored in the origin private file system (OPFS).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageManager/getDirectory)\n */\n getDirectory(): Promise<FileSystemDirectoryHandle>;\n /**\n * The **`persist()`** method of the StorageManager interface requests permission to use persistent storage, and returns a Promise that resolves to `true` if permission is granted and bucket mode is persistent, and `false` otherwise.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageManager/persist)\n */\n persist(): Promise<boolean>;\n /**\n * The **`persisted()`** method of the StorageManager interface returns a Promise that resolves to `true` if your site\'s storage bucket is persistent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageManager/persisted)\n */\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/**\n * The **`StylePropertyMap`** interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMap)\n */\ninterface StylePropertyMap extends StylePropertyMapReadOnly {\n /**\n * The **`append()`** method of the `StylePropertyMap` with the given property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMap/append)\n */\n append(property: string, ...values: (CSSStyleValue | string)[]): void;\n /**\n * The **`clear()`** method of the StylePropertyMap interface removes all declarations in the `StylePropertyMap`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMap/clear)\n */\n clear(): void;\n /**\n * The **`delete()`** method of the property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMap/delete)\n */\n delete(property: string): void;\n /**\n * The **`set()`** method of the StylePropertyMap interface changes the CSS declaration with the given property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMap/set)\n */\n set(property: string, ...values: (CSSStyleValue | string)[]): void;\n}\n\ndeclare var StylePropertyMap: {\n prototype: StylePropertyMap;\n new(): StylePropertyMap;\n};\n\n/**\n * The **`StylePropertyMapReadOnly`** interface of the CSS Typed Object Model API provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly)\n */\ninterface StylePropertyMapReadOnly {\n /**\n * The **`size`** read-only property of the containing the size of the `StylePropertyMapReadOnly` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/size)\n */\n readonly size: number;\n /**\n * The **`get()`** method of the object for the first value of the specified property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/get)\n */\n get(property: string): undefined | CSSStyleValue;\n /**\n * The **`getAll()`** method of the ```js-nolint getAll(property) ``` - `property` - : The name of the property to retrieve all values of.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/getAll)\n */\n getAll(property: string): CSSStyleValue[];\n /**\n * The **`has()`** method of the property is in the `StylePropertyMapReadOnly` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/has)\n */\n has(property: string): boolean;\n forEach(callbackfn: (value: CSSStyleValue[], key: string, parent: StylePropertyMapReadOnly) => void, thisArg?: any): void;\n}\n\ndeclare var StylePropertyMapReadOnly: {\n prototype: StylePropertyMapReadOnly;\n new(): StylePropertyMapReadOnly;\n};\n\n/**\n * An object implementing the `StyleSheet` interface represents a single style sheet.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet)\n */\ninterface StyleSheet {\n /**\n * The **`disabled`** property of the applying to the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/disabled)\n */\n disabled: boolean;\n /**\n * The **`href`** property of the StyleSheet interface returns the location of the style sheet.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/href)\n */\n readonly href: string | null;\n /**\n * The **`media`** property of the StyleSheet interface specifies the intended destination media for style information.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/media)\n */\n get media(): MediaList;\n set media(mediaText: string);\n /**\n * The **`ownerNode`** property of the with the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/ownerNode)\n */\n readonly ownerNode: Element | ProcessingInstruction | null;\n /**\n * The **`parentStyleSheet`** property of the the given style sheet.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/parentStyleSheet)\n */\n readonly parentStyleSheet: CSSStyleSheet | null;\n /**\n * The **`title`** property of the StyleSheet interface returns the advisory title of the current style sheet.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/title)\n */\n readonly title: string | null;\n /**\n * The **`type`** property of the StyleSheet interface specifies the style sheet language for the given style sheet.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheet/type)\n */\n readonly type: string;\n}\n\ndeclare var StyleSheet: {\n prototype: StyleSheet;\n new(): StyleSheet;\n};\n\n/**\n * The `StyleSheetList` interface represents a list of CSSStyleSheet objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheetList)\n */\ninterface StyleSheetList {\n /**\n * The **`length`** read-only property of the StyleSheetList interface returns the number of CSSStyleSheet objects in the collection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheetList/length)\n */\n readonly length: number;\n /**\n * The **`item()`** method of the StyleSheetList interface returns a single CSSStyleSheet object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StyleSheetList/item)\n */\n item(index: number): CSSStyleSheet | null;\n [index: number]: CSSStyleSheet;\n}\n\ndeclare var StyleSheetList: {\n prototype: StyleSheetList;\n new(): StyleSheetList;\n};\n\n/**\n * The **`SubmitEvent`** interface defines the object used to represent an HTML form\'s HTMLFormElement.submit_event event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubmitEvent)\n */\ninterface SubmitEvent extends Event {\n /**\n * The read-only **`submitter`** property found on the SubmitEvent interface specifies the submit button or other element that was invoked to cause the form to be submitted.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubmitEvent/submitter)\n */\n readonly submitter: HTMLElement | null;\n}\n\ndeclare var SubmitEvent: {\n prototype: SubmitEvent;\n new(type: string, eventInitDict?: SubmitEventInit): SubmitEvent;\n};\n\n/**\n * The **`SubtleCrypto`** interface of the Web Crypto API provides a number of low-level cryptographic functions.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto)\n */\ninterface SubtleCrypto {\n /**\n * The **`decrypt()`** method of the SubtleCrypto interface decrypts some encrypted data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/decrypt)\n */\n decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;\n /**\n * The **`deriveBits()`** method of the key.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits)\n */\n deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, length?: number | null): Promise<ArrayBuffer>;\n /**\n * The **`deriveKey()`** method of the SubtleCrypto interface can be used to derive a secret key from a master key.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey)\n */\n deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n /**\n * The **`digest()`** method of the SubtleCrypto interface generates a _digest_ of the given data, using the specified hash function.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/digest)\n */\n digest(algorithm: AlgorithmIdentifier, data: BufferSource): Promise<ArrayBuffer>;\n /**\n * The **`encrypt()`** method of the SubtleCrypto interface encrypts data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/encrypt)\n */\n encrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;\n /**\n * The **`exportKey()`** method of the SubtleCrypto interface exports a key: that is, it takes as input a CryptoKey object and gives you the key in an external, portable format.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/exportKey)\n */\n exportKey(format: "jwk", key: CryptoKey): Promise<JsonWebKey>;\n exportKey(format: Exclude<KeyFormat, "jwk">, key: CryptoKey): Promise<ArrayBuffer>;\n exportKey(format: KeyFormat, key: CryptoKey): Promise<ArrayBuffer | JsonWebKey>;\n /**\n * The **`generateKey()`** method of the SubtleCrypto interface is used to generate a new key (for symmetric algorithms) or key pair (for public-key algorithms).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey)\n */\n generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;\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 /**\n * The **`importKey()`** method of the SubtleCrypto interface imports a key: that is, it takes as input a key in an external, portable format and gives you a CryptoKey object that you can use in the Web Crypto API.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey)\n */\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 /**\n * The **`sign()`** method of the SubtleCrypto interface generates a digital signature.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/sign)\n */\n sign(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;\n /**\n * The **`unwrapKey()`** method of the SubtleCrypto interface \'unwraps\' a key.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey)\n */\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 /**\n * The **`verify()`** method of the SubtleCrypto interface verifies a digital signature.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/verify)\n */\n verify(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams, key: CryptoKey, signature: BufferSource, data: BufferSource): Promise<boolean>;\n /**\n * The **`wrapKey()`** method of the SubtleCrypto interface \'wraps\' a key.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/wrapKey)\n */\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/**\n * The **`Text`** interface represents a text Node in a DOM tree.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Text)\n */\ninterface Text extends CharacterData, Slottable {\n /**\n * The read-only **`wholeText`** property of the Text interface returns the full text of all Text nodes logically adjacent to the node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Text/wholeText)\n */\n readonly wholeText: string;\n /**\n * The **`splitText()`** method of the Text interface breaks the Text node into two nodes at the specified offset, keeping both nodes in the tree as siblings.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Text/splitText)\n */\n splitText(offset: number): Text;\n}\n\ndeclare var Text: {\n prototype: Text;\n new(data?: string): Text;\n};\n\n/**\n * The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, `KOI8-R`, `GBK`, etc.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)\n */\ninterface TextDecoder extends TextDecoderCommon {\n /**\n * The **`TextDecoder.decode()`** method returns a string containing text decoded from the buffer passed as a parameter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder/decode)\n */\n decode(input?: AllowSharedBufferSource, options?: TextDecodeOptions): string;\n}\n\ndeclare var TextDecoder: {\n prototype: TextDecoder;\n new(label?: string, options?: TextDecoderOptions): TextDecoder;\n};\n\ninterface TextDecoderCommon {\n /**\n * Returns encoding\'s name, lowercased.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder/encoding)\n */\n readonly encoding: string;\n /**\n * Returns true if error mode is "fatal", otherwise false.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder/fatal)\n */\n readonly fatal: boolean;\n /**\n * Returns the value of ignore BOM.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder/ignoreBOM)\n */\n readonly ignoreBOM: boolean;\n}\n\n/**\n * The **`TextDecoderStream`** interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)\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/**\n * The **`TextEncoder`** interface takes a stream of code points as input and emits a stream of UTF-8 bytes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)\n */\ninterface TextEncoder extends TextEncoderCommon {\n /**\n * The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the text given in parameters encoded with the specific method for that TextEncoder object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)\n */\n encode(input?: string): Uint8Array<ArrayBuffer>;\n /**\n * The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns a dictionary object indicating the progress of the encoding.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)\n */\n encodeInto(source: string, destination: Uint8Array<ArrayBufferLike>): TextEncoderEncodeIntoResult;\n}\n\ndeclare var TextEncoder: {\n prototype: TextEncoder;\n new(): TextEncoder;\n};\n\ninterface TextEncoderCommon {\n /**\n * Returns "utf-8".\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encoding)\n */\n readonly encoding: string;\n}\n\n/**\n * The **`TextEncoderStream`** interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)\n */\ninterface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {\n readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;\n readonly writable: WritableStream<string>;\n}\n\ndeclare var TextEncoderStream: {\n prototype: TextEncoderStream;\n new(): TextEncoderStream;\n};\n\n/**\n * The **`TextEvent`** interface is a legacy UI event interface for reporting changes to text UI elements.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEvent)\n */\ninterface TextEvent extends UIEvent {\n /**\n * The **`data`** read-only property of the TextEvent interface returns the last character added to the input element.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEvent/data)\n */\n readonly data: string;\n /**\n * The **`initTextEventEvent()`** method of the TextEvent interface initializes the value of a `TextEvent` after it has been created.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEvent/initTextEvent)\n */\n initTextEvent(type: string, bubbles?: boolean, cancelable?: boolean, view?: Window | null, data?: string): void;\n}\n\n/** @deprecated */\ndeclare var TextEvent: {\n prototype: TextEvent;\n new(): TextEvent;\n};\n\n/**\n * The **`TextMetrics`** interface represents the dimensions of a piece of text in the canvas; a `TextMetrics` instance can be retrieved using the CanvasRenderingContext2D.measureText() method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics)\n */\ninterface TextMetrics {\n /**\n * The read-only **`actualBoundingBoxAscent`** property of the TextMetrics interface is a `double` giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline attribute to the top of the bounding rectangle used to render the text, in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxAscent)\n */\n readonly actualBoundingBoxAscent: number;\n /**\n * The read-only `actualBoundingBoxDescent` property of the TextMetrics interface is a `double` giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline attribute to the bottom of the bounding rectangle used to render the text, in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxDescent)\n */\n readonly actualBoundingBoxDescent: number;\n /**\n * The read-only `actualBoundingBoxLeft` property of the TextMetrics interface is a `double` giving the distance parallel to the baseline from the alignment point given by the CanvasRenderingContext2D.textAlign property to the left side of the bounding rectangle of the given text, in CSS pixels; positive numbers indicating a distance going left from the given alignment point.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxLeft)\n */\n readonly actualBoundingBoxLeft: number;\n /**\n * The read-only `actualBoundingBoxRight` property of the TextMetrics interface is a `double` giving the distance parallel to the baseline from the alignment point given by the CanvasRenderingContext2D.textAlign property to the right side of the bounding rectangle of the given text, in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxRight)\n */\n readonly actualBoundingBoxRight: number;\n /**\n * The read-only `alphabeticBaseline` property of the TextMetrics interface is a `double` giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline property to the alphabetic baseline of the line box, in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/alphabeticBaseline)\n */\n readonly alphabeticBaseline: number;\n /**\n * The read-only `emHeightAscent` property of the TextMetrics interface returns the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline property to the top of the _em_ square in the line box, in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/emHeightAscent)\n */\n readonly emHeightAscent: number;\n /**\n * The read-only `emHeightDescent` property of the TextMetrics interface returns the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline property to the bottom of the _em_ square in the line box, in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/emHeightDescent)\n */\n readonly emHeightDescent: number;\n /**\n * The read-only `fontBoundingBoxAscent` property of the TextMetrics interface returns the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline attribute, to the top of the highest bounding rectangle of all the fonts used to render the text, in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/fontBoundingBoxAscent)\n */\n readonly fontBoundingBoxAscent: number;\n /**\n * The read-only `fontBoundingBoxDescent` property of the TextMetrics interface returns the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline attribute to the bottom of the bounding rectangle of all the fonts used to render the text, in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/fontBoundingBoxDescent)\n */\n readonly fontBoundingBoxDescent: number;\n /**\n * The read-only `hangingBaseline` property of the TextMetrics interface is a `double` giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline property to the hanging baseline of the line box, in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/hangingBaseline)\n */\n readonly hangingBaseline: number;\n /**\n * The read-only `ideographicBaseline` property of the TextMetrics interface is a `double` giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline property to the ideographic baseline of the line box, in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/ideographicBaseline)\n */\n readonly ideographicBaseline: number;\n /**\n * The read-only **`width`** property of the TextMetrics interface contains the text\'s advance width (the width of that inline box) in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/width)\n */\n readonly width: number;\n}\n\ndeclare var TextMetrics: {\n prototype: TextMetrics;\n new(): TextMetrics;\n};\n\ninterface TextTrackEventMap {\n "cuechange": Event;\n}\n\n/**\n * The **`TextTrack`** interface of the WebVTT API represents a text track associated with a media element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrack)\n */\ninterface TextTrack extends EventTarget {\n /**\n * The **`activeCues`** read-only property of the TextTrack interface returns a TextTrackCueList object listing the currently active cues.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrack/activeCues)\n */\n readonly activeCues: TextTrackCueList | null;\n /**\n * The **`cues`** read-only property of the TextTrack interface returns a TextTrackCueList object containing all of the track\'s cues.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrack/cues)\n */\n readonly cues: TextTrackCueList | null;\n /**\n * The **`id`** read-only property of the TextTrack interface returns the ID of the track if it has one.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrack/id)\n */\n readonly id: string;\n /**\n * The **`inBandMetadataTrackDispatchType`** read-only property of the TextTrack interface returns the text track\'s in-band metadata dispatch type of the text track represented by the TextTrack object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrack/inBandMetadataTrackDispatchType)\n */\n readonly inBandMetadataTrackDispatchType: string;\n /**\n * The **`kind`** read-only property of the TextTrack interface returns the kind of text track this object represents.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrack/kind)\n */\n readonly kind: TextTrackKind;\n /**\n * The **`label`** read-only property of the TextTrack interface returns a human-readable label for the text track, if it is available.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrack/label)\n */\n readonly label: string;\n /**\n * The **`language`** read-only property of the TextTrack interface returns the language of the text track.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrack/language)\n */\n readonly language: string;\n /**\n * The TextTrack interface\'s **`mode`** property is a string specifying and controlling the text track\'s mode: `disabled`, `hidden`, or `showing`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrack/mode)\n */\n mode: TextTrackMode;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrack/cuechange_event) */\n oncuechange: ((this: TextTrack, ev: Event) => any) | null;\n /**\n * The **`addCue()`** method of the TextTrack interface adds a new cue to the list of cues.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrack/addCue)\n */\n addCue(cue: TextTrackCue): void;\n /**\n * The **`removeCue()`** method of the TextTrack interface removes a cue from the list of cues.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrack/removeCue)\n */\n removeCue(cue: TextTrackCue): void;\n addEventListener<K extends keyof TextTrackEventMap>(type: K, listener: (this: TextTrack, ev: TextTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof TextTrackEventMap>(type: K, listener: (this: TextTrack, ev: TextTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var TextTrack: {\n prototype: TextTrack;\n new(): TextTrack;\n};\n\ninterface TextTrackCueEventMap {\n "enter": Event;\n "exit": Event;\n}\n\n/**\n * The **`TextTrackCue`** interface of the WebVTT API is the abstract base class for the various derived cue types, such as VTTCue; you will work with these derived types rather than the base class.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackCue)\n */\ninterface TextTrackCue extends EventTarget {\n /**\n * The **`endTime`** property of the TextTrackCue interface returns and sets the end time of the cue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackCue/endTime)\n */\n endTime: number;\n /**\n * The **`id`** property of the TextTrackCue interface returns and sets the identifier for this cue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackCue/id)\n */\n id: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackCue/enter_event) */\n onenter: ((this: TextTrackCue, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackCue/exit_event) */\n onexit: ((this: TextTrackCue, ev: Event) => any) | null;\n /**\n * The **`pauseOnExit`** property of the TextTrackCue interface returns or sets the flag indicating whether playback of the media should pause when the end of the range to which this cue applies is reached.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackCue/pauseOnExit)\n */\n pauseOnExit: boolean;\n /**\n * The **`startTime`** property of the TextTrackCue interface returns and sets the start time of the cue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackCue/startTime)\n */\n startTime: number;\n /**\n * The **`track`** read-only property of the TextTrackCue interface returns the TextTrack object that this cue belongs to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackCue/track)\n */\n readonly track: TextTrack | null;\n addEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: TextTrackCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof TextTrackCueEventMap>(type: K, listener: (this: TextTrackCue, ev: TextTrackCueEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var TextTrackCue: {\n prototype: TextTrackCue;\n new(): TextTrackCue;\n};\n\n/**\n * The **`TextTrackCueList`** interface of the WebVTT API is an array-like object that represents a dynamically updating list of TextTrackCue objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackCueList)\n */\ninterface TextTrackCueList {\n /**\n * The **`length`** read-only property of the TextTrackCueList interface returns the number of cues in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackCueList/length)\n */\n readonly length: number;\n /**\n * The **`getCueById()`** method of the TextTrackCueList interface returns the first VTTCue in the list represented by the `TextTrackCueList` object whose identifier matches the value of `id`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackCueList/getCueById)\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\n/**\n * The **`TextTrackList`** interface is used to represent a list of the text tracks defined for the associated video or audio element, with each track represented by a separate textTrack object in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList)\n */\ninterface TextTrackList extends EventTarget {\n /**\n * The read-only **TextTrackList** property **`length`** returns the number of entries in the `TextTrackList`, each of which is a TextTrack representing one track in the media element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/length)\n */\n readonly length: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/addtrack_event) */\n onaddtrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/change_event) */\n onchange: ((this: TextTrackList, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/removetrack_event) */\n onremovetrack: ((this: TextTrackList, ev: TrackEvent) => any) | null;\n /**\n * The **TextTrackList** method **`getTrackById()`** returns the first `id` matches the specified string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextTrackList/getTrackById)\n */\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/**\n * When loading a media resource for use by an audio or video element, the **`TimeRanges`** interface is used for representing the time ranges of the media resource that have been buffered, the time ranges that have been played, and the time ranges that are seekable.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TimeRanges)\n */\ninterface TimeRanges {\n /**\n * The **`TimeRanges.length`** read-only property returns the number of ranges in the object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TimeRanges/length)\n */\n readonly length: number;\n /**\n * The **`end()`** method of the TimeRanges interface returns the time offset (in seconds) at which a specified time range ends.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TimeRanges/end)\n */\n end(index: number): number;\n /**\n * The **`start()`** method of the TimeRanges interface returns the time offset (in seconds) at which a specified time range begins.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TimeRanges/start)\n */\n start(index: number): number;\n}\n\ndeclare var TimeRanges: {\n prototype: TimeRanges;\n new(): TimeRanges;\n};\n\n/**\n * The **`ToggleEvent`** interface represents an event notifying the user an Element\'s state has changed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent)\n */\ninterface ToggleEvent extends Event {\n /**\n * The **`newState`** read-only property of the ToggleEvent interface is a string representing the state the element is transitioning to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/newState)\n */\n readonly newState: string;\n /**\n * The **`oldState`** read-only property of the ToggleEvent interface is a string representing the state the element is transitioning from.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/oldState)\n */\n readonly oldState: string;\n}\n\ndeclare var ToggleEvent: {\n prototype: ToggleEvent;\n new(type: string, eventInitDict?: ToggleEventInit): ToggleEvent;\n};\n\n/**\n * The **`Touch`** interface represents a single contact point on a touch-sensitive device.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Touch)\n */\ninterface Touch {\n /**\n * The `Touch.clientX` read-only property returns the X coordinate of the touch point relative to the viewport, not including any scroll offset.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Touch/clientX)\n */\n readonly clientX: number;\n /**\n * The **`Touch.clientY`** read-only property returns the Y coordinate of the touch point relative to the browser\'s viewport, not including any scroll offset.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Touch/clientY)\n */\n readonly clientY: number;\n /**\n * The **`Touch.force`** read-only property returns the amount of pressure the user is applying to the touch surface for a Touch point.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Touch/force)\n */\n readonly force: number;\n /**\n * The **`Touch.identifier`** returns a value uniquely identifying this point of contact with the touch surface.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Touch/identifier)\n */\n readonly identifier: number;\n /**\n * The **`Touch.pageX`** read-only property returns the X coordinate of the touch point relative to the viewport, including any scroll offset.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Touch/pageX)\n */\n readonly pageX: number;\n /**\n * The **`Touch.pageY`** read-only property returns the Y coordinate of the touch point relative to the viewport, including any scroll offset.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Touch/pageY)\n */\n readonly pageY: number;\n /**\n * The **`radiusX`** read-only property of the Touch interface returns the X radius of the ellipse that most closely circumscribes the area of contact with the touch surface.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Touch/radiusX)\n */\n readonly radiusX: number;\n /**\n * The **`radiusY`** read-only property of the Touch interface returns the Y radius of the ellipse that most closely circumscribes the area of contact with the touch surface.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Touch/radiusY)\n */\n readonly radiusY: number;\n /**\n * The **`rotationAngle`** read-only property of the Touch interface returns the rotation angle, in degrees, of the contact area ellipse defined by Touch.radiusX and Touch.radiusY.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Touch/rotationAngle)\n */\n readonly rotationAngle: number;\n /**\n * Returns the X coordinate of the touch point relative to the screen, not including any scroll offset.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Touch/screenX)\n */\n readonly screenX: number;\n /**\n * Returns the Y coordinate of the touch point relative to the screen, not including any scroll offset.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Touch/screenY)\n */\n readonly screenY: number;\n /**\n * The read-only **`target`** property of the `Touch` interface returns the (EventTarget) on which the touch contact started when it was first placed on the surface, even if the touch point has since moved outside the interactive area of that element or even been removed from the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Touch/target)\n */\n readonly target: EventTarget;\n}\n\ndeclare var Touch: {\n prototype: Touch;\n new(touchInitDict: TouchInit): Touch;\n};\n\n/**\n * The **`TouchEvent`** interface represents an UIEvent which is sent when the state of contacts with a touch-sensitive surface changes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TouchEvent)\n */\ninterface TouchEvent extends UIEvent {\n /**\n * The read-only **`altKey`** property of the TouchEvent interface returns a boolean value indicating whether or not the <kbd>alt</kbd> (Alternate) key is enabled when the touch event is created.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TouchEvent/altKey)\n */\n readonly altKey: boolean;\n /**\n * The **`changedTouches`** read-only property is a TouchList whose touch points (Touch objects) varies depending on the event type, as follows: - For the Element/touchstart_event event, it is a list of the touch points that became active with the current event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TouchEvent/changedTouches)\n */\n readonly changedTouches: TouchList;\n /**\n * The read-only **`ctrlKey`** property of the TouchEvent interface returns a boolean value indicating whether the <kbd>control</kbd> (Control) key is enabled when the touch event is created.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TouchEvent/ctrlKey)\n */\n readonly ctrlKey: boolean;\n /**\n * The read-only **`metaKey`** property of the TouchEvent interface returns a boolean value indicating whether or not the <kbd>Meta</kbd> key is enabled when the touch event is created.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TouchEvent/metaKey)\n */\n readonly metaKey: boolean;\n /**\n * The read-only **`shiftKey`** property of the `TouchEvent` interface returns a boolean value indicating whether or not the <kbd>shift</kbd> key is enabled when the touch event is created.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TouchEvent/shiftKey)\n */\n readonly shiftKey: boolean;\n /**\n * The **`targetTouches`** read-only property is a TouchList listing all the Touch objects for touch points that are still in contact with the touch surface **and** whose Element/touchstart_event event occurred inside the same target element as the current target element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TouchEvent/targetTouches)\n */\n readonly targetTouches: TouchList;\n /**\n * **`touches`** is a read-only TouchList listing all the Touch objects for touch points that are currently in contact with the touch surface, regardless of whether or not they\'ve changed or what their target element was at Element/touchstart_event time.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TouchEvent/touches)\n */\n readonly touches: TouchList;\n}\n\ndeclare var TouchEvent: {\n prototype: TouchEvent;\n new(type: string, eventInitDict?: TouchEventInit): TouchEvent;\n};\n\n/**\n * The **`TouchList`** interface represents a list of contact points on a touch surface.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TouchList)\n */\ninterface TouchList {\n /**\n * The **`length`** read-only property indicates the number of items (touch points) in a given TouchList.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TouchList/length)\n */\n readonly length: number;\n /**\n * The **`item()`** method returns the Touch object at the specified index in the TouchList.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TouchList/item)\n */\n item(index: number): Touch | null;\n [index: number]: Touch;\n}\n\ndeclare var TouchList: {\n prototype: TouchList;\n new(): TouchList;\n};\n\n/**\n * The **`TrackEvent`** interface of the HTML DOM API is used for events which represent changes to a set of available tracks on an HTML media element; these events are `addtrack` and `removetrack`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TrackEvent)\n */\ninterface TrackEvent extends Event {\n /**\n * The read-only **`track`** property of the TrackEvent interface specifies the media track object to which the event applies.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TrackEvent/track)\n */\n readonly track: TextTrack | null;\n}\n\ndeclare var TrackEvent: {\n prototype: TrackEvent;\n new(type: string, eventInitDict?: TrackEventInit): TrackEvent;\n};\n\n/**\n * The **`TransformStream`** interface of the Streams API represents a concrete implementation of the pipe chain _transform stream_ concept.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream)\n */\ninterface TransformStream<I = any, O = any> {\n /**\n * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this `TransformStream`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)\n */\n readonly readable: ReadableStream<O>;\n /**\n * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this `TransformStream`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)\n */\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\n/**\n * The **`TransformStreamDefaultController`** interface of the Streams API provides methods to manipulate the associated ReadableStream and WritableStream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController)\n */\ninterface TransformStreamDefaultController<O = any> {\n /**\n * The **`desiredSize`** read-only property of the TransformStreamDefaultController interface returns the desired size to fill the queue of the associated ReadableStream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize)\n */\n readonly desiredSize: number | null;\n /**\n * The **`enqueue()`** method of the TransformStreamDefaultController interface enqueues the given chunk in the readable side of the stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)\n */\n enqueue(chunk?: O): void;\n /**\n * The **`error()`** method of the TransformStreamDefaultController interface errors both sides of the stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/error)\n */\n error(reason?: any): void;\n /**\n * The **`terminate()`** method of the TransformStreamDefaultController interface closes the readable side and errors the writable side of the stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/terminate)\n */\n terminate(): void;\n}\n\ndeclare var TransformStreamDefaultController: {\n prototype: TransformStreamDefaultController;\n new(): TransformStreamDefaultController;\n};\n\n/**\n * The **`TransitionEvent`** interface represents events providing information related to transitions.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransitionEvent)\n */\ninterface TransitionEvent extends Event {\n /**\n * The **`TransitionEvent.elapsedTime`** read-only property is a `float` giving the amount of time the animation has been running, in seconds, when this event fired.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransitionEvent/elapsedTime)\n */\n readonly elapsedTime: number;\n /**\n * The **`propertyName`** read-only property of TransitionEvent objects is a string containing the name of the CSS property associated with the transition.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransitionEvent/propertyName)\n */\n readonly propertyName: string;\n /**\n * The **`TransitionEvent.pseudoElement`** read-only property is a string, starting with `\'::\'`, containing the name of the pseudo-element the animation runs on.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransitionEvent/pseudoElement)\n */\n readonly pseudoElement: string;\n}\n\ndeclare var TransitionEvent: {\n prototype: TransitionEvent;\n new(type: string, transitionEventInitDict?: TransitionEventInit): TransitionEvent;\n};\n\n/**\n * The **`TreeWalker`** object represents the nodes of a document subtree and a position within them.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker)\n */\ninterface TreeWalker {\n /**\n * The **`TreeWalker.currentNode`** property represents the A Node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/currentNode)\n */\n currentNode: Node;\n /**\n * The **`TreeWalker.filter`** read-only property returns the `NodeFilter` associated with the TreeWalker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/filter)\n */\n readonly filter: NodeFilter | null;\n /**\n * The **`TreeWalker.root`** read-only property returns the root Node that the TreeWalker traverses.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/root)\n */\n readonly root: Node;\n /**\n * The **`TreeWalker.whatToShow`** read-only property returns a bitmask that indicates the types of nodes to show.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/whatToShow)\n */\n readonly whatToShow: number;\n /**\n * The **`TreeWalker.firstChild()`** method moves the current the found child.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/firstChild)\n */\n firstChild(): Node | null;\n /**\n * The **`TreeWalker.lastChild()`** method moves the current the found child.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/lastChild)\n */\n lastChild(): Node | null;\n /**\n * The **`TreeWalker.nextNode()`** method moves the current the found node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/nextNode)\n */\n nextNode(): Node | null;\n /**\n * The **`TreeWalker.nextSibling()`** method moves the current is no such node, it returns `null` and the current node is not changed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/nextSibling)\n */\n nextSibling(): Node | null;\n /**\n * The **`TreeWalker.parentNode()`** method moves the current and returns the found node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/parentNode)\n */\n parentNode(): Node | null;\n /**\n * The **`TreeWalker.previousNode()`** method moves the current returns the found node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/previousNode)\n */\n previousNode(): Node | null;\n /**\n * The **`TreeWalker.previousSibling()`** method moves the current there is no such node, it returns `null` and the current node is not changed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TreeWalker/previousSibling)\n */\n previousSibling(): Node | null;\n}\n\ndeclare var TreeWalker: {\n prototype: TreeWalker;\n new(): TreeWalker;\n};\n\n/**\n * The **`UIEvent`** interface represents simple user interface events.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/UIEvent)\n */\ninterface UIEvent extends Event {\n /**\n * The **`UIEvent.detail`** read-only property, when non-zero, provides the current (or next, depending on the event) click count.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/UIEvent/detail)\n */\n readonly detail: number;\n /**\n * The **`UIEvent.view`** read-only property returns the is the Window object the event happened in.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/UIEvent/view)\n */\n readonly view: Window | null;\n /**\n * The **`UIEvent.which`** read-only property of the UIEvent interface returns a number that indicates which button was pressed on the mouse, or the numeric `keyCode` or the character code (`charCode`) of the key pressed on the keyboard.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/UIEvent/which)\n */\n readonly which: number;\n /**\n * The **`UIEvent.initUIEvent()`** method initializes a UI event once it\'s been created.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/UIEvent/initUIEvent)\n */\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/**\n * The **`URL`** interface is used to parse, construct, normalize, and encode URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL)\n */\ninterface URL {\n /**\n * The **`hash`** property of the URL interface is a string containing a `\'#\'` followed by the fragment identifier of the URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/hash)\n */\n hash: string;\n /**\n * The **`host`** property of the URL interface is a string containing the host, which is the URL.hostname, and then, if the port of the URL is nonempty, a `\':\'`, followed by the URL.port of the URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/host)\n */\n host: string;\n /**\n * The **`hostname`** property of the URL interface is a string containing either the domain name or IP address of the URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/hostname)\n */\n hostname: string;\n /**\n * The **`href`** property of the URL interface is a string containing the whole URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/href)\n */\n href: string;\n toString(): string;\n /**\n * The **`origin`** read-only property of the URL interface returns a string containing the Unicode serialization of the origin of the represented URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/origin)\n */\n readonly origin: string;\n /**\n * The **`password`** property of the URL interface is a string containing the password component of the URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/password)\n */\n password: string;\n /**\n * The **`pathname`** property of the URL interface represents a location in a hierarchical structure.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/pathname)\n */\n pathname: string;\n /**\n * The **`port`** property of the URL interface is a string containing the port number of the URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/port)\n */\n port: string;\n /**\n * The **`protocol`** property of the URL interface is a string containing the protocol or scheme of the URL, including the final `\':\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/protocol)\n */\n protocol: string;\n /**\n * The **`search`** property of the URL interface is a search string, also called a _query string_, that is a string containing a `\'?\'` followed by the parameters of the URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/search)\n */\n search: string;\n /**\n * The **`searchParams`** read-only property of the access to the [MISSING: httpmethod(\'GET\')] decoded query arguments contained in the URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/searchParams)\n */\n readonly searchParams: URLSearchParams;\n /**\n * The **`username`** property of the URL interface is a string containing the username component of the URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/username)\n */\n username: string;\n /**\n * The **`toJSON()`** method of the URL interface returns a string containing a serialized version of the URL, although in practice it seems to have the same effect as ```js-nolint toJSON() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)\n */\n toJSON(): string;\n}\n\ndeclare var URL: {\n prototype: URL;\n new(url: string | URL, base?: string | URL): URL;\n /**\n * The **`URL.canParse()`** static method of the URL interface returns a boolean indicating whether or not an absolute URL, or a relative URL combined with a base URL, are parsable and valid.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static)\n */\n canParse(url: string | URL, base?: string | URL): boolean;\n /**\n * The **`createObjectURL()`** static method of the URL interface creates a string containing a URL representing the object given in the parameter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static)\n */\n createObjectURL(obj: Blob | MediaSource): string;\n /**\n * The **`URL.parse()`** static method of the URL interface returns a newly created URL object representing the URL defined by the parameters.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static)\n */\n parse(url: string | URL, base?: string | URL): URL | null;\n /**\n * The **`revokeObjectURL()`** static method of the URL interface releases an existing object URL which was previously created by calling Call this method when you\'ve finished using an object URL to let the browser know not to keep the reference to the file any longer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static)\n */\n revokeObjectURL(url: string): void;\n};\n\ntype webkitURL = URL;\ndeclare var webkitURL: typeof URL;\n\n/**\n * The **`URLSearchParams`** interface defines utility methods to work with the query string of a URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams)\n */\ninterface URLSearchParams {\n /**\n * The **`size`** read-only property of the URLSearchParams interface indicates the total number of search parameter entries.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/size)\n */\n readonly size: number;\n /**\n * The **`append()`** method of the URLSearchParams interface appends a specified key/value pair as a new search parameter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/append)\n */\n append(name: string, value: string): void;\n /**\n * The **`delete()`** method of the URLSearchParams interface deletes specified parameters and their associated value(s) from the list of all search parameters.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/delete)\n */\n delete(name: string, value?: string): void;\n /**\n * The **`get()`** method of the URLSearchParams interface returns the first value associated to the given search parameter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/get)\n */\n get(name: string): string | null;\n /**\n * The **`getAll()`** method of the URLSearchParams interface returns all the values associated with a given search parameter as an array.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/getAll)\n */\n getAll(name: string): string[];\n /**\n * The **`has()`** method of the URLSearchParams interface returns a boolean value that indicates whether the specified parameter is in the search parameters.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/has)\n */\n has(name: string, value?: string): boolean;\n /**\n * The **`set()`** method of the URLSearchParams interface sets the value associated with a given search parameter to the given value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/set)\n */\n set(name: string, value: string): void;\n /**\n * The **`URLSearchParams.sort()`** method sorts all key/value pairs contained in this object in place and returns `undefined`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/sort)\n */\n sort(): void;\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};\n\n/**\n * The **`UserActivation`** interface provides information about whether a user is currently interacting with the page, or has completed an interaction since page load.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/UserActivation)\n */\ninterface UserActivation {\n /**\n * The read-only **`hasBeenActive`** property of the UserActivation interface indicates whether the current window has sticky activation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/UserActivation/hasBeenActive)\n */\n readonly hasBeenActive: boolean;\n /**\n * The read-only **`isActive`** property of the UserActivation interface indicates whether the current window has transient activation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/UserActivation/isActive)\n */\n readonly isActive: boolean;\n}\n\ndeclare var UserActivation: {\n prototype: UserActivation;\n new(): UserActivation;\n};\n\n/**\n * The `VTTCue` interface of the WebVTT API represents a cue that can be added to the text track associated with a particular video (or other media).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTCue)\n */\ninterface VTTCue extends TextTrackCue {\n /**\n * The **`align`** property of the VTTCue interface represents the alignment of all of the lines of text in the text box.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTCue/align)\n */\n align: AlignSetting;\n /**\n * The **`line`** property of the VTTCue interface represents the cue line of this WebVTT cue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTCue/line)\n */\n line: LineAndPositionSetting;\n /**\n * The **`lineAlign`** property of the VTTCue interface represents the alignment of this VTT cue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTCue/lineAlign)\n */\n lineAlign: LineAlignSetting;\n /**\n * The **`position`** property of the VTTCue interface represents the indentation of the cue within the line.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTCue/position)\n */\n position: LineAndPositionSetting;\n /**\n * The **`positionAlign`** property of the VTTCue interface is used to determine what VTTCue.position is anchored to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTCue/positionAlign)\n */\n positionAlign: PositionAlignSetting;\n /**\n * The **`region`** property of the VTTCue interface returns and sets the VTTRegion that this cue belongs to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTCue/region)\n */\n region: VTTRegion | null;\n /**\n * The **`size`** property of the VTTCue interface represents the size of the cue as a percentage of the video size.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTCue/size)\n */\n size: number;\n /**\n * The **`snapToLines`** property of the VTTCue interface is a Boolean indicating if the VTTCue.line property is an integer number of lines, or a percentage of the video size.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTCue/snapToLines)\n */\n snapToLines: boolean;\n /**\n * The **`text`** property of the VTTCue interface represents the text contents of the cue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTCue/text)\n */\n text: string;\n /**\n * The **`vertical`** property of the VTTCue interface is a string representing the cue\'s writing direction.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTCue/vertical)\n */\n vertical: DirectionSetting;\n /**\n * The **`getCueAsHTML()`** method of the VTTCue interface returns a DocumentFragment containing the cue content.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTCue/getCueAsHTML)\n */\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\n/**\n * The `VTTRegion` interface of the WebVTT API describes a portion of the video to render a VTTCue onto.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VTTRegion)\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/**\n * The **`ValidityState`** interface represents the _validity states_ that an element can be in, with respect to constraint validation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState)\n */\ninterface ValidityState {\n /**\n * The read-only **`badInput`** property of the ValidityState interface indicates if the user has provided input that the browser is unable to convert.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/badInput)\n */\n readonly badInput: boolean;\n /**\n * The read-only **`customError`** property of the `ValidityState` interface returns `true` if an element doesn\'t meet the validation required in the custom validity set by the element\'s HTMLInputElement.setCustomValidity method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/customError)\n */\n readonly customError: boolean;\n /**\n * The read-only **`patternMismatch`** property of the `ValidityState` interface indicates if the value of an input, after having been edited by the user, does not conform to the constraints set by the element\'s `pattern` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/patternMismatch)\n */\n readonly patternMismatch: boolean;\n /**\n * The read-only **`rangeOverflow`** property of the `ValidityState` interface indicates if the value of an input, after having been edited by the user, does not conform to the constraints set by the element\'s `max` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/rangeOverflow)\n */\n readonly rangeOverflow: boolean;\n /**\n * The read-only **`rangeUnderflow`** property of the `ValidityState` interface indicates if the value of an input, after having been edited by the user, does not conform to the constraints set by the element\'s `min` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/rangeUnderflow)\n */\n readonly rangeUnderflow: boolean;\n /**\n * The read-only **`stepMismatch`** property of the `ValidityState` interface indicates if the value of an input, after having been edited by the user, does not conform to the constraints set by the element\'s `step` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/stepMismatch)\n */\n readonly stepMismatch: boolean;\n /**\n * The read-only **`tooLong`** property of the `ValidityState` interface indicates if the value of an input or textarea, after having been edited by the user, exceeds the maximum code-unit length established by the element\'s `maxlength` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/tooLong)\n */\n readonly tooLong: boolean;\n /**\n * The read-only **`tooShort`** property of the `ValidityState` interface indicates if the value of an input, button, select, output, fieldset or textarea, after having been edited by the user, is less than the minimum code-unit length established by the element\'s `minlength` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/tooShort)\n */\n readonly tooShort: boolean;\n /**\n * The read-only **`typeMismatch`** property of the `ValidityState` interface indicates if the value of an input, after having been edited by the user, does not conform to the constraints set by the element\'s `type` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/typeMismatch)\n */\n readonly typeMismatch: boolean;\n /**\n * The read-only **`valid`** property of the `ValidityState` interface indicates if the value of an input element meets all its validation constraints, and is therefore considered to be valid.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valid)\n */\n readonly valid: boolean;\n /**\n * The read-only **`valueMissing`** property of the `ValidityState` interface indicates if a `required` control, such as an input, select, or textarea, has an empty value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ValidityState/valueMissing)\n */\n readonly valueMissing: boolean;\n}\n\ndeclare var ValidityState: {\n prototype: ValidityState;\n new(): ValidityState;\n};\n\n/**\n * The **`VideoColorSpace`** interface of the WebCodecs API represents the color space of a video.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoColorSpace)\n */\ninterface VideoColorSpace {\n /**\n * The **`fullRange`** read-only property of the VideoColorSpace interface returns `true` if full-range color values are used.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoColorSpace/fullRange)\n */\n readonly fullRange: boolean | null;\n /**\n * The **`matrix`** read-only property of the VideoColorSpace interface returns the matrix coefficient of the video.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoColorSpace/matrix)\n */\n readonly matrix: VideoMatrixCoefficients | null;\n /**\n * The **`primaries`** read-only property of the VideoColorSpace interface returns the color gamut of the video.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoColorSpace/primaries)\n */\n readonly primaries: VideoColorPrimaries | null;\n /**\n * The **`transfer`** read-only property of the VideoColorSpace interface returns the opto-electronic transfer characteristics of the video.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoColorSpace/transfer)\n */\n readonly transfer: VideoTransferCharacteristics | null;\n /**\n * The **`toJSON()`** method of the VideoColorSpace interface is a _serializer_ that returns a JSON representation of the `VideoColorSpace` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoColorSpace/toJSON)\n */\n toJSON(): VideoColorSpaceInit;\n}\n\ndeclare var VideoColorSpace: {\n prototype: VideoColorSpace;\n new(init?: VideoColorSpaceInit): VideoColorSpace;\n};\n\ninterface VideoDecoderEventMap {\n "dequeue": Event;\n}\n\n/**\n * The **`VideoDecoder`** interface of the WebCodecs API decodes chunks of video.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder)\n */\ninterface VideoDecoder extends EventTarget {\n /**\n * The **`decodeQueueSize`** read-only property of the VideoDecoder interface returns the number of pending decode requests in the queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize)\n */\n readonly decodeQueueSize: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) */\n ondequeue: ((this: VideoDecoder, ev: Event) => any) | null;\n /**\n * The **`state`** property of the VideoDecoder interface returns the current state of the underlying codec.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/state)\n */\n readonly state: CodecState;\n /**\n * The **`close()`** method of the VideoDecoder interface ends all pending work and releases system resources.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/close)\n */\n close(): void;\n /**\n * The **`configure()`** method of the VideoDecoder interface enqueues a control message to configure the video decoder for decoding chunks.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/configure)\n */\n configure(config: VideoDecoderConfig): void;\n /**\n * The **`decode()`** method of the VideoDecoder interface enqueues a control message to decode a given chunk of video.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decode)\n */\n decode(chunk: EncodedVideoChunk): void;\n /**\n * The **`flush()`** method of the VideoDecoder interface returns a Promise that resolves once all pending messages in the queue have been completed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/flush)\n */\n flush(): Promise<void>;\n /**\n * The **`reset()`** method of the VideoDecoder interface resets all states including configuration, control messages in the control message queue, and all pending callbacks.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/reset)\n */\n reset(): void;\n addEventListener<K extends keyof VideoDecoderEventMap>(type: K, listener: (this: VideoDecoder, ev: VideoDecoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof VideoDecoderEventMap>(type: K, listener: (this: VideoDecoder, ev: VideoDecoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var VideoDecoder: {\n prototype: VideoDecoder;\n new(init: VideoDecoderInit): VideoDecoder;\n /**\n * The **`isConfigSupported()`** static method of the VideoDecoder interface checks if the given config is supported (that is, if VideoDecoder objects can be successfully configured with the given config).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/isConfigSupported_static)\n */\n isConfigSupported(config: VideoDecoderConfig): Promise<VideoDecoderSupport>;\n};\n\ninterface VideoEncoderEventMap {\n "dequeue": Event;\n}\n\n/**\n * The **`VideoEncoder`** interface of the WebCodecs API encodes VideoFrame objects into EncodedVideoChunks.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder)\n */\ninterface VideoEncoder extends EventTarget {\n /**\n * The **`encodeQueueSize`** read-only property of the VideoEncoder interface returns the number of pending encode requests in the queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize)\n */\n readonly encodeQueueSize: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) */\n ondequeue: ((this: VideoEncoder, ev: Event) => any) | null;\n /**\n * The **`state`** read-only property of the VideoEncoder interface returns the current state of the underlying codec.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/state)\n */\n readonly state: CodecState;\n /**\n * The **`close()`** method of the VideoEncoder interface ends all pending work and releases system resources.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/close)\n */\n close(): void;\n /**\n * The **`configure()`** method of the VideoEncoder interface changes the VideoEncoder.state of the encoder to \'configured\' and asynchronously prepares the encoder to accept VideoEncoders for encoding with the specified parameters.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/configure)\n */\n configure(config: VideoEncoderConfig): void;\n /**\n * The **`encode()`** method of the VideoEncoder interface asynchronously encodes a VideoFrame.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encode)\n */\n encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void;\n /**\n * The **`flush()`** method of the VideoEncoder interface forces all pending encodes to complete.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/flush)\n */\n flush(): Promise<void>;\n /**\n * The **`reset()`** method of the VideoEncoder interface synchronously cancels all pending encodes and callbacks, frees all underlying resources and sets the VideoEncoder.state to \'unconfigured\'.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/reset)\n */\n reset(): void;\n addEventListener<K extends keyof VideoEncoderEventMap>(type: K, listener: (this: VideoEncoder, ev: VideoEncoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof VideoEncoderEventMap>(type: K, listener: (this: VideoEncoder, ev: VideoEncoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var VideoEncoder: {\n prototype: VideoEncoder;\n new(init: VideoEncoderInit): VideoEncoder;\n /**\n * The **`isConfigSupported()`** static method of the VideoEncoder interface checks if VideoEncoder can be successfully configured with the given config.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/isConfigSupported_static)\n */\n isConfigSupported(config: VideoEncoderConfig): Promise<VideoEncoderSupport>;\n};\n\n/**\n * The **`VideoFrame`** interface of the Web Codecs API represents a frame of a video.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame)\n */\ninterface VideoFrame {\n /**\n * The **`codedHeight`** property of the VideoFrame interface returns the height of the VideoFrame in pixels, potentially including non-visible padding, and prior to considering potential ratio adjustments.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/codedHeight)\n */\n readonly codedHeight: number;\n /**\n * The **`codedRect`** property of the VideoFrame interface returns a DOMRectReadOnly with the width and height matching VideoFrame.codedWidth and VideoFrame.codedHeight.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/codedRect)\n */\n readonly codedRect: DOMRectReadOnly | null;\n /**\n * The **`codedWidth`** property of the VideoFrame interface returns the width of the `VideoFrame` in pixels, potentially including non-visible padding, and prior to considering potential ratio adjustments.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/codedWidth)\n */\n readonly codedWidth: number;\n /**\n * The **`colorSpace`** property of the VideoFrame interface returns a VideoColorSpace object representing the color space of the video.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/colorSpace)\n */\n readonly colorSpace: VideoColorSpace;\n /**\n * The **`displayHeight`** property of the VideoFrame interface returns the height of the `VideoFrame` after applying aspect ratio adjustments.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/displayHeight)\n */\n readonly displayHeight: number;\n /**\n * The **`displayWidth`** property of the VideoFrame interface returns the width of the `VideoFrame` after applying aspect ratio adjustments.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/displayWidth)\n */\n readonly displayWidth: number;\n /**\n * The **`duration`** property of the VideoFrame interface returns an integer indicating the duration of the video in microseconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/duration)\n */\n readonly duration: number | null;\n /**\n * The **`format`** property of the VideoFrame interface returns the pixel format of the `VideoFrame`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/format)\n */\n readonly format: VideoPixelFormat | null;\n /**\n * The **`timestamp`** property of the VideoFrame interface returns an integer indicating the timestamp of the video in microseconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/timestamp)\n */\n readonly timestamp: number;\n /**\n * The **`visibleRect`** property of the VideoFrame interface returns a DOMRectReadOnly describing the visible rectangle of pixels for this `VideoFrame`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/visibleRect)\n */\n readonly visibleRect: DOMRectReadOnly | null;\n /**\n * The **`allocationSize()`** method of the VideoFrame interface returns the number of bytes required to hold the video as filtered by options passed into the method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/allocationSize)\n */\n allocationSize(options?: VideoFrameCopyToOptions): number;\n /**\n * The **`clone()`** method of the VideoFrame interface creates a new `VideoFrame` object referencing the same media resource as the original.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/clone)\n */\n clone(): VideoFrame;\n /**\n * The **`close()`** method of the VideoFrame interface clears all states and releases the reference to the media resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close)\n */\n close(): void;\n /**\n * The **`copyTo()`** method of the VideoFrame interface copies the contents of the `VideoFrame` to an `ArrayBuffer`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/copyTo)\n */\n copyTo(destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions): Promise<PlaneLayout[]>;\n}\n\ndeclare var VideoFrame: {\n prototype: VideoFrame;\n new(image: CanvasImageSource, init?: VideoFrameInit): VideoFrame;\n new(data: AllowSharedBufferSource, init: VideoFrameBufferInit): VideoFrame;\n};\n\n/**\n * A **`VideoPlaybackQuality`** object is returned by the HTMLVideoElement.getVideoPlaybackQuality() method and contains metrics that can be used to determine the playback quality of a video.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoPlaybackQuality)\n */\ninterface VideoPlaybackQuality {\n /**\n * The VideoPlaybackQuality interface\'s read-only **`corruptedVideoFrames`** property the number of corrupted video frames that have been received since the video element was last loaded or reloaded.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoPlaybackQuality/corruptedVideoFrames)\n */\n readonly corruptedVideoFrames: number;\n /**\n * The read-only **`creationTime`** property on the the browsing context was created this quality sample was recorded.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoPlaybackQuality/creationTime)\n */\n readonly creationTime: DOMHighResTimeStamp;\n /**\n * The read-only **`droppedVideoFrames`** property of the VideoPlaybackQuality interface returns the number of video frames which have been dropped rather than being displayed since the last time the media was loaded into the HTMLVideoElement.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoPlaybackQuality/droppedVideoFrames)\n */\n readonly droppedVideoFrames: number;\n /**\n * The VideoPlaybackQuality interface\'s **`totalVideoFrames`** read-only property returns the total number of video frames that have been displayed or dropped since the media was loaded.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoPlaybackQuality/totalVideoFrames)\n */\n readonly totalVideoFrames: number;\n}\n\ndeclare var VideoPlaybackQuality: {\n prototype: VideoPlaybackQuality;\n new(): VideoPlaybackQuality;\n};\n\n/**\n * The **`ViewTransition`** interface of the View Transition API represents an active view transition, and provides functionality to react to the transition reaching different states (e.g., ready to run the animation, or animation finished) or skip the transition altogether.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition)\n */\ninterface ViewTransition {\n /**\n * The **`finished`** read-only property of the `finished` will only reject in the case of a same-document (SPA) transition, if the callback passed to Document.startViewTransition() throws or returns a promise that rejects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/finished)\n */\n readonly finished: Promise<void>;\n /**\n * The **`ready`** read-only property of the `ready` will reject if the transition cannot begin.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/ready)\n */\n readonly ready: Promise<void>;\n types: ViewTransitionTypeSet;\n /**\n * The **`updateCallbackDone`** read-only property of the `updateCallbackDone` is useful when you don\'t care about the success/failure of a same-document (SPA) view transition animation, and just want to know if and when the DOM is updated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/updateCallbackDone)\n */\n readonly updateCallbackDone: Promise<void>;\n /**\n * The **`skipTransition()`** method of the ```js-nolint skipTransition() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/skipTransition)\n */\n skipTransition(): void;\n}\n\ndeclare var ViewTransition: {\n prototype: ViewTransition;\n new(): ViewTransition;\n};\n\ninterface ViewTransitionTypeSet {\n forEach(callbackfn: (value: string, key: string, parent: ViewTransitionTypeSet) => void, thisArg?: any): void;\n}\n\ndeclare var ViewTransitionTypeSet: {\n prototype: ViewTransitionTypeSet;\n new(): ViewTransitionTypeSet;\n};\n\ninterface VisualViewportEventMap {\n "resize": Event;\n "scroll": Event;\n}\n\n/**\n * The **`VisualViewport`** interface of the Visual Viewport API represents the visual viewport for a given window.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport)\n */\ninterface VisualViewport extends EventTarget {\n /**\n * The **`height`** read-only property of the VisualViewport interface returns the height of the visual viewport, in CSS pixels, or `0` if current document is not fully active.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/height)\n */\n readonly height: number;\n /**\n * The **`offsetLeft`** read-only property of the VisualViewport interface returns the offset of the left edge of the visual viewport from the left edge of the layout viewport in CSS pixels, or `0` if current document is not fully active.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/offsetLeft)\n */\n readonly offsetLeft: number;\n /**\n * The **`offsetTop`** read-only property of the VisualViewport interface returns the offset of the top edge of the visual viewport from the top edge of the layout viewport in CSS pixels, or `0` if current document is not fully active.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/offsetTop)\n */\n readonly offsetTop: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/resize_event) */\n onresize: ((this: VisualViewport, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/scroll_event) */\n onscroll: ((this: VisualViewport, ev: Event) => any) | null;\n /**\n * The **`pageLeft`** read-only property of the VisualViewport interface returns the x coordinate of the left edge of the visual viewport relative to the initial containing block origin, in CSS pixels, or `0` if current document is not fully active.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/pageLeft)\n */\n readonly pageLeft: number;\n /**\n * The **`pageTop`** read-only property of the VisualViewport interface returns the y coordinate of the top edge of the visual viewport relative to the initial containing block origin, in CSS pixels, or `0` if current document is not fully active.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/pageTop)\n */\n readonly pageTop: number;\n /**\n * The **`scale`** read-only property of the VisualViewport interface returns the pinch-zoom scaling factor applied to the visual viewport, or `0` if current document is not fully active, or `1` if there is no output device.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/scale)\n */\n readonly scale: number;\n /**\n * The **`width`** read-only property of the VisualViewport interface returns the width of the visual viewport, in CSS pixels, or `0` if current document is not fully active.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VisualViewport/width)\n */\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\n/**\n * The **`WEBGL_color_buffer_float`** extension is part of the WebGL API and adds the ability to render to 32-bit floating-point color buffers.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_color_buffer_float)\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\n/**\n * The **`WEBGL_compressed_texture_astc`** extension is part of the WebGL API and exposes Adaptive Scalable Texture Compression (ASTC) compressed texture formats to WebGL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_astc)\n */\ninterface WEBGL_compressed_texture_astc {\n /**\n * The **`WEBGL_compressed_texture_astc.getSupportedProfiles()`** method returns an array of strings containing the names of the ASTC profiles supported by the implementation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_astc/getSupportedProfiles)\n */\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\n/**\n * The **`WEBGL_compressed_texture_etc`** extension is part of the WebGL API and exposes 10 ETC/EAC compressed texture formats.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_etc)\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\n/**\n * The **`WEBGL_compressed_texture_etc1`** extension is part of the WebGL API and exposes the ETC1 compressed texture format.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_etc1)\n */\ninterface WEBGL_compressed_texture_etc1 {\n readonly COMPRESSED_RGB_ETC1_WEBGL: 0x8D64;\n}\n\n/**\n * The **`WEBGL_compressed_texture_pvrtc`** extension is part of the WebGL API and exposes four PVRTC compressed texture formats.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_pvrtc)\n */\ninterface WEBGL_compressed_texture_pvrtc {\n readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: 0x8C00;\n readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: 0x8C01;\n readonly COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: 0x8C02;\n readonly COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: 0x8C03;\n}\n\n/**\n * The **`WEBGL_compressed_texture_s3tc`** extension is part of the WebGL API and exposes four S3TC compressed texture formats.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_s3tc)\n */\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\n/**\n * The **`WEBGL_compressed_texture_s3tc_srgb`** extension is part of the WebGL API and exposes four S3TC compressed texture formats for the sRGB colorspace.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_s3tc_srgb)\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/**\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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_debug_renderer_info)\n */\ninterface WEBGL_debug_renderer_info {\n readonly UNMASKED_VENDOR_WEBGL: 0x9245;\n readonly UNMASKED_RENDERER_WEBGL: 0x9246;\n}\n\n/**\n * The **`WEBGL_debug_shaders`** extension is part of the WebGL API and exposes a method to debug shaders from privileged contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_debug_shaders)\n */\ninterface WEBGL_debug_shaders {\n /**\n * The **`WEBGL_debug_shaders.getTranslatedShaderSource()`** method is part of the WebGL API and allows you to debug a translated shader.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_debug_shaders/getTranslatedShaderSource)\n */\n getTranslatedShaderSource(shader: WebGLShader): string;\n}\n\n/**\n * The **`WEBGL_depth_texture`** extension is part of the WebGL API and defines 2D depth and depth-stencil textures.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_depth_texture)\n */\ninterface WEBGL_depth_texture {\n readonly UNSIGNED_INT_24_8_WEBGL: 0x84FA;\n}\n\n/**\n * The **`WEBGL_draw_buffers`** extension is part of the WebGL API and enables a fragment shader to write to several textures, which is useful for deferred shading, for example.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers)\n */\ninterface WEBGL_draw_buffers {\n /**\n * The **`WEBGL_draw_buffers.drawBuffersWEBGL()`** method is part of the WebGL API and allows you to define the draw buffers to which all fragment colors are written.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL)\n */\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\n/**\n * The **WEBGL_lose_context** extension is part of the WebGL API and exposes functions to simulate losing and restoring a WebGLRenderingContext.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context)\n */\ninterface WEBGL_lose_context {\n /**\n * The **WEBGL_lose_context.loseContext()** method is part of the WebGL API and allows you to simulate losing the context of a WebGLRenderingContext context.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/loseContext)\n */\n loseContext(): void;\n /**\n * The **WEBGL_lose_context.restoreContext()** method is part of the WebGL API and allows you to simulate restoring the context of a WebGLRenderingContext object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/restoreContext)\n */\n restoreContext(): void;\n}\n\n/**\n * The **`WEBGL_multi_draw`** extension is part of the WebGL API and allows to render more than one primitive with a single function call.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw)\n */\ninterface WEBGL_multi_draw {\n /**\n * The **`WEBGL_multi_draw.multiDrawArraysInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)\n */\n multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | GLint[], firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | GLsizei[], countsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | GLsizei[], instanceCountsOffset: number, drawcount: GLsizei): void;\n /**\n * The **`WEBGL_multi_draw.multiDrawArraysWEBGL()`** method of the WebGL API renders multiple primitives from array data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL)\n */\n multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | GLint[], firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | GLsizei[], countsOffset: number, drawcount: GLsizei): void;\n /**\n * The **`WEBGL_multi_draw.multiDrawElementsInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)\n */\n multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | GLsizei[], offsetsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | GLsizei[], instanceCountsOffset: number, drawcount: GLsizei): void;\n /**\n * The **`WEBGL_multi_draw.multiDrawElementsWEBGL()`** method of the WebGL API renders multiple primitives from array data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL)\n */\n multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | GLsizei[], offsetsOffset: number, drawcount: GLsizei): void;\n}\n\n/**\n * The **`WakeLock`** interface of the Screen Wake Lock API can be used to request a lock that prevents device screens from dimming or locking when an application needs to keep running.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WakeLock)\n */\ninterface WakeLock {\n /**\n * The **`request()`** method of the WakeLock interface returns a Promise that fulfills with a WakeLockSentinel object if the system screen wake lock is granted.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WakeLock/request)\n */\n request(type?: WakeLockType): Promise<WakeLockSentinel>;\n}\n\ndeclare var WakeLock: {\n prototype: WakeLock;\n new(): WakeLock;\n};\n\ninterface WakeLockSentinelEventMap {\n "release": Event;\n}\n\n/**\n * The **`WakeLockSentinel`** interface of the Screen Wake Lock API can be used to monitor the status of the platform screen wake lock, and manually release the lock when needed.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WakeLockSentinel)\n */\ninterface WakeLockSentinel extends EventTarget {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WakeLockSentinel/release_event) */\n onrelease: ((this: WakeLockSentinel, ev: Event) => any) | null;\n /**\n * The **`released`** read-only property of the WakeLockSentinel interface returns a boolean that indicates whether a WakeLockSentinel has been released.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WakeLockSentinel/released)\n */\n readonly released: boolean;\n /**\n * The **`type`** read-only property of the WakeLockSentinel interface returns a string representation of the currently acquired WakeLockSentinel type.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WakeLockSentinel/type)\n */\n readonly type: WakeLockType;\n /**\n * The **`release()`** method of the WakeLockSentinel interface releases the WakeLockSentinel, returning a Promise that is resolved once the sentinel has been successfully released.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WakeLockSentinel/release)\n */\n release(): Promise<void>;\n addEventListener<K extends keyof WakeLockSentinelEventMap>(type: K, listener: (this: WakeLockSentinel, ev: WakeLockSentinelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WakeLockSentinelEventMap>(type: K, listener: (this: WakeLockSentinel, ev: WakeLockSentinelEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var WakeLockSentinel: {\n prototype: WakeLockSentinel;\n new(): WakeLockSentinel;\n};\n\n/**\n * The **`WaveShaperNode`** interface represents a non-linear distorter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WaveShaperNode)\n */\ninterface WaveShaperNode extends AudioNode {\n /**\n * The `curve` property of the WaveShaperNode interface is a Float32Array of numbers describing the distortion to apply.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WaveShaperNode/curve)\n */\n curve: Float32Array<ArrayBuffer> | null;\n /**\n * The `oversample` property of the WaveShaperNode interface is an enumerated value indicating if oversampling must be used.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WaveShaperNode/oversample)\n */\n oversample: OverSampleType;\n}\n\ndeclare var WaveShaperNode: {\n prototype: WaveShaperNode;\n new(context: BaseAudioContext, options?: WaveShaperOptions): WaveShaperNode;\n};\n\n/**\n * The **WebGL2RenderingContext** interface provides the OpenGL ES 3.0 rendering context for the drawing surface of an HTML canvas element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext)\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 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 RGBA8: 0x8058;\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/beginQuery) */\n beginQuery(target: GLenum, query: WebGLQuery): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/beginTransformFeedback) */\n beginTransformFeedback(primitiveMode: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bindBufferBase) */\n bindBufferBase(target: GLenum, index: GLuint, buffer: WebGLBuffer | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bindBufferRange) */\n bindBufferRange(target: GLenum, index: GLuint, buffer: WebGLBuffer | null, offset: GLintptr, size: GLsizeiptr): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bindSampler) */\n bindSampler(unit: GLuint, sampler: WebGLSampler | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bindTransformFeedback) */\n bindTransformFeedback(target: GLenum, tf: WebGLTransformFeedback | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bindVertexArray) */\n bindVertexArray(array: WebGLVertexArrayObject | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/blitFramebuffer) */\n blitFramebuffer(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */\n clearBufferfi(buffer: GLenum, drawbuffer: GLint, depth: GLfloat, stencil: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */\n clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Float32List, srcOffset?: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */\n clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Int32List, srcOffset?: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */\n clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clientWaitSync) */\n clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) */\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<ArrayBufferLike>, srcOffset?: number, srcLengthOverride?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */\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<ArrayBufferLike>, srcOffset?: number, srcLengthOverride?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/copyBufferSubData) */\n copyBufferSubData(readTarget: GLenum, writeTarget: GLenum, readOffset: GLintptr, writeOffset: GLintptr, size: GLsizeiptr): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/copyTexSubImage3D) */\n copyTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createQuery) */\n createQuery(): WebGLQuery;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createSampler) */\n createSampler(): WebGLSampler;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createTransformFeedback) */\n createTransformFeedback(): WebGLTransformFeedback;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createVertexArray) */\n createVertexArray(): WebGLVertexArrayObject;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/deleteQuery) */\n deleteQuery(query: WebGLQuery | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/deleteSampler) */\n deleteSampler(sampler: WebGLSampler | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/deleteSync) */\n deleteSync(sync: WebGLSync | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/deleteTransformFeedback) */\n deleteTransformFeedback(tf: WebGLTransformFeedback | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/deleteVertexArray) */\n deleteVertexArray(vertexArray: WebGLVertexArrayObject | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawArraysInstanced) */\n drawArraysInstanced(mode: GLenum, first: GLint, count: GLsizei, instanceCount: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */\n drawBuffers(buffers: GLenum[]): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced) */\n drawElementsInstanced(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, instanceCount: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawRangeElements) */\n drawRangeElements(mode: GLenum, start: GLuint, end: GLuint, count: GLsizei, type: GLenum, offset: GLintptr): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/endQuery) */\n endQuery(target: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/endTransformFeedback) */\n endTransformFeedback(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/fenceSync) */\n fenceSync(condition: GLenum, flags: GLbitfield): WebGLSync | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/framebufferTextureLayer) */\n framebufferTextureLayer(target: GLenum, attachment: GLenum, texture: WebGLTexture | null, level: GLint, layer: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockName) */\n getActiveUniformBlockName(program: WebGLProgram, uniformBlockIndex: GLuint): string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockParameter) */\n getActiveUniformBlockParameter(program: WebGLProgram, uniformBlockIndex: GLuint, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */\n getActiveUniforms(program: WebGLProgram, uniformIndices: GLuint[], pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getBufferSubData) */\n getBufferSubData(target: GLenum, srcByteOffset: GLintptr, dstBuffer: ArrayBufferView<ArrayBufferLike>, dstOffset?: number, length?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getFragDataLocation) */\n getFragDataLocation(program: WebGLProgram, name: string): GLint;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getIndexedParameter) */\n getIndexedParameter(target: GLenum, index: GLuint): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getInternalformatParameter) */\n getInternalformatParameter(target: GLenum, internalformat: GLenum, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getQuery) */\n getQuery(target: GLenum, pname: GLenum): WebGLQuery | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getQueryParameter) */\n getQueryParameter(query: WebGLQuery, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getSamplerParameter) */\n getSamplerParameter(sampler: WebGLSampler, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getSyncParameter) */\n getSyncParameter(sync: WebGLSync, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getTransformFeedbackVarying) */\n getTransformFeedbackVarying(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformBlockIndex) */\n getUniformBlockIndex(program: WebGLProgram, uniformBlockName: string): GLuint;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */\n getUniformIndices(program: WebGLProgram, uniformNames: string[]): GLuint[] | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */\n invalidateFramebuffer(target: GLenum, attachments: GLenum[]): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */\n invalidateSubFramebuffer(target: GLenum, attachments: GLenum[], x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/isQuery) */\n isQuery(query: WebGLQuery | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/isSampler) */\n isSampler(sampler: WebGLSampler | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/isSync) */\n isSync(sync: WebGLSync | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/isTransformFeedback) */\n isTransformFeedback(tf: WebGLTransformFeedback | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/isVertexArray) */\n isVertexArray(vertexArray: WebGLVertexArrayObject | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/pauseTransformFeedback) */\n pauseTransformFeedback(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/readBuffer) */\n readBuffer(src: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/renderbufferStorageMultisample) */\n renderbufferStorageMultisample(target: GLenum, samples: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/resumeTransformFeedback) */\n resumeTransformFeedback(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/samplerParameter) */\n samplerParameterf(sampler: WebGLSampler, pname: GLenum, param: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/samplerParameter) */\n samplerParameteri(sampler: WebGLSampler, pname: GLenum, param: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/texImage3D) */\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<ArrayBufferLike> | null): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/texStorage2D) */\n texStorage2D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/texStorage3D) */\n texStorage3D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/texSubImage3D) */\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<ArrayBufferLike> | null, srcOffset?: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */\n transformFeedbackVaryings(program: WebGLProgram, varyings: string[], bufferMode: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform1ui(location: WebGLUniformLocation | null, v0: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform1uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform2ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform2uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform3ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform3uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform4ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint, v3: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform4uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformBlockBinding) */\n uniformBlockBinding(program: WebGLProgram, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribDivisor) */\n vertexAttribDivisor(index: GLuint, divisor: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */\n vertexAttribI4i(index: GLuint, x: GLint, y: GLint, z: GLint, w: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */\n vertexAttribI4iv(index: GLuint, values: Int32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */\n vertexAttribI4ui(index: GLuint, x: GLuint, y: GLuint, z: GLuint, w: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */\n vertexAttribI4uiv(index: GLuint, values: Uint32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer) */\n vertexAttribIPointer(index: GLuint, size: GLint, type: GLenum, stride: GLsizei, offset: GLintptr): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/waitSync) */\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 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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bufferData) */\n bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;\n bufferData(target: GLenum, srcData: AllowSharedBufferSource | null, usage: GLenum): void;\n bufferData(target: GLenum, srcData: ArrayBufferView<ArrayBufferLike>, usage: GLenum, srcOffset: number, length?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bufferSubData) */\n bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: AllowSharedBufferSource): void;\n bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset: number, length?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */\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<ArrayBufferLike>, srcOffset?: number, srcLengthOverride?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D) */\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<ArrayBufferLike>, srcOffset?: number, srcLengthOverride?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/readPixels) */\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView<ArrayBufferLike> | 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<ArrayBufferLike>, dstOffset: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texImage2D) */\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView<ArrayBufferLike> | 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<ArrayBufferLike>, srcOffset: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texSubImage2D) */\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView<ArrayBufferLike> | 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<ArrayBufferLike>, srcOffset: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform1fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform1iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform2fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform2iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform3fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform3iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform4fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform4iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n}\n\n/**\n * The **WebGLActiveInfo** interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLActiveInfo)\n */\ninterface WebGLActiveInfo {\n /**\n * The read-only **`WebGLActiveInfo.name`** property represents the name of the requested data returned by calling the WebGLRenderingContext.getActiveAttrib() or WebGLRenderingContext.getActiveUniform() methods.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLActiveInfo/name)\n */\n readonly name: string;\n /**\n * The read-only **`WebGLActiveInfo.size`** property is a Number representing the size of the requested data returned by calling the WebGLRenderingContext.getActiveAttrib() or WebGLRenderingContext.getActiveUniform() methods.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLActiveInfo/size)\n */\n readonly size: GLint;\n /**\n * The read-only **`WebGLActiveInfo.type`** property represents the type of the requested data returned by calling the WebGLRenderingContext.getActiveAttrib() or WebGLRenderingContext.getActiveUniform() methods.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLActiveInfo/type)\n */\n readonly type: GLenum;\n}\n\ndeclare var WebGLActiveInfo: {\n prototype: WebGLActiveInfo;\n new(): WebGLActiveInfo;\n};\n\n/**\n * The **WebGLBuffer** interface is part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLBuffer)\n */\ninterface WebGLBuffer {\n}\n\ndeclare var WebGLBuffer: {\n prototype: WebGLBuffer;\n new(): WebGLBuffer;\n};\n\n/**\n * The **WebGLContextEvent** 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLContextEvent)\n */\ninterface WebGLContextEvent extends Event {\n /**\n * The read-only **`WebGLContextEvent.statusMessage`** property contains additional event status information, or is an empty string if no additional information is available.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLContextEvent/statusMessage)\n */\n readonly statusMessage: string;\n}\n\ndeclare var WebGLContextEvent: {\n prototype: WebGLContextEvent;\n new(type: string, eventInit?: WebGLContextEventInit): WebGLContextEvent;\n};\n\n/**\n * The **WebGLFramebuffer** interface is part of the WebGL API and represents a collection of buffers that serve as a rendering destination.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLFramebuffer)\n */\ninterface WebGLFramebuffer {\n}\n\ndeclare var WebGLFramebuffer: {\n prototype: WebGLFramebuffer;\n new(): WebGLFramebuffer;\n};\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).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLProgram)\n */\ninterface WebGLProgram {\n}\n\ndeclare var WebGLProgram: {\n prototype: WebGLProgram;\n new(): WebGLProgram;\n};\n\n/**\n * The **`WebGLQuery`** interface is part of the WebGL 2 API and provides ways to asynchronously query for information.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLQuery)\n */\ninterface WebGLQuery {\n}\n\ndeclare var WebGLQuery: {\n prototype: WebGLQuery;\n new(): WebGLQuery;\n};\n\n/**\n * The **WebGLRenderbuffer** interface is part of the WebGL API and represents a buffer that can contain an image, or that can be a source or target of a rendering operation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderbuffer)\n */\ninterface WebGLRenderbuffer {\n}\n\ndeclare var WebGLRenderbuffer: {\n prototype: WebGLRenderbuffer;\n new(): WebGLRenderbuffer;\n};\n\n/**\n * The **`WebGLRenderingContext`** interface provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML canvas element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext)\n */\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 RGBA8: 0x8058;\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/canvas) */\n readonly canvas: HTMLCanvasElement | OffscreenCanvas;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawingBufferColorSpace) */\n drawingBufferColorSpace: PredefinedColorSpace;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) */\n readonly drawingBufferHeight: GLsizei;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferWidth) */\n readonly drawingBufferWidth: GLsizei;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/unpackColorSpace) */\n unpackColorSpace: PredefinedColorSpace;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/activeTexture) */\n activeTexture(texture: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/attachShader) */\n attachShader(program: WebGLProgram, shader: WebGLShader): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bindAttribLocation) */\n bindAttribLocation(program: WebGLProgram, index: GLuint, name: string): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bindBuffer) */\n bindBuffer(target: GLenum, buffer: WebGLBuffer | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bindFramebuffer) */\n bindFramebuffer(target: GLenum, framebuffer: WebGLFramebuffer | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bindRenderbuffer) */\n bindRenderbuffer(target: GLenum, renderbuffer: WebGLRenderbuffer | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bindTexture) */\n bindTexture(target: GLenum, texture: WebGLTexture | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/blendColor) */\n blendColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/blendEquation) */\n blendEquation(mode: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/blendEquationSeparate) */\n blendEquationSeparate(modeRGB: GLenum, modeAlpha: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/blendFunc) */\n blendFunc(sfactor: GLenum, dfactor: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/blendFuncSeparate) */\n blendFuncSeparate(srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/checkFramebufferStatus) */\n checkFramebufferStatus(target: GLenum): GLenum;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/clear) */\n clear(mask: GLbitfield): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/clearColor) */\n clearColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/clearDepth) */\n clearDepth(depth: GLclampf): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/clearStencil) */\n clearStencil(s: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/colorMask) */\n colorMask(red: GLboolean, green: GLboolean, blue: GLboolean, alpha: GLboolean): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compileShader) */\n compileShader(shader: WebGLShader): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/copyTexImage2D) */\n copyTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, border: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/copyTexSubImage2D) */\n copyTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createBuffer) */\n createBuffer(): WebGLBuffer;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createFramebuffer) */\n createFramebuffer(): WebGLFramebuffer;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createProgram) */\n createProgram(): WebGLProgram;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createRenderbuffer) */\n createRenderbuffer(): WebGLRenderbuffer;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createShader) */\n createShader(type: GLenum): WebGLShader | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createTexture) */\n createTexture(): WebGLTexture;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/cullFace) */\n cullFace(mode: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteBuffer) */\n deleteBuffer(buffer: WebGLBuffer | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteFramebuffer) */\n deleteFramebuffer(framebuffer: WebGLFramebuffer | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteProgram) */\n deleteProgram(program: WebGLProgram | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteRenderbuffer) */\n deleteRenderbuffer(renderbuffer: WebGLRenderbuffer | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteShader) */\n deleteShader(shader: WebGLShader | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteTexture) */\n deleteTexture(texture: WebGLTexture | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/depthFunc) */\n depthFunc(func: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/depthMask) */\n depthMask(flag: GLboolean): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/depthRange) */\n depthRange(zNear: GLclampf, zFar: GLclampf): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/detachShader) */\n detachShader(program: WebGLProgram, shader: WebGLShader): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/disable) */\n disable(cap: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/disableVertexAttribArray) */\n disableVertexAttribArray(index: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawArrays) */\n drawArrays(mode: GLenum, first: GLint, count: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawElements) */\n drawElements(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/enable) */\n enable(cap: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/enableVertexAttribArray) */\n enableVertexAttribArray(index: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/finish) */\n finish(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/flush) */\n flush(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/framebufferRenderbuffer) */\n framebufferRenderbuffer(target: GLenum, attachment: GLenum, renderbuffertarget: GLenum, renderbuffer: WebGLRenderbuffer | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/framebufferTexture2D) */\n framebufferTexture2D(target: GLenum, attachment: GLenum, textarget: GLenum, texture: WebGLTexture | null, level: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/frontFace) */\n frontFace(mode: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/generateMipmap) */\n generateMipmap(target: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getActiveAttrib) */\n getActiveAttrib(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getActiveUniform) */\n getActiveUniform(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getAttachedShaders) */\n getAttachedShaders(program: WebGLProgram): WebGLShader[] | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getAttribLocation) */\n getAttribLocation(program: WebGLProgram, name: string): GLint;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getBufferParameter) */\n getBufferParameter(target: GLenum, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getContextAttributes) */\n getContextAttributes(): WebGLContextAttributes | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getError) */\n getError(): GLenum;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getExtension) */\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_pvrtc"): WEBGL_compressed_texture_pvrtc | 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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter) */\n getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getParameter) */\n getParameter(pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getProgramInfoLog) */\n getProgramInfoLog(program: WebGLProgram): string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getProgramParameter) */\n getProgramParameter(program: WebGLProgram, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getRenderbufferParameter) */\n getRenderbufferParameter(target: GLenum, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderInfoLog) */\n getShaderInfoLog(shader: WebGLShader): string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderParameter) */\n getShaderParameter(shader: WebGLShader, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderPrecisionFormat) */\n getShaderPrecisionFormat(shadertype: GLenum, precisiontype: GLenum): WebGLShaderPrecisionFormat | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderSource) */\n getShaderSource(shader: WebGLShader): string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getSupportedExtensions) */\n getSupportedExtensions(): string[] | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getTexParameter) */\n getTexParameter(target: GLenum, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getUniform) */\n getUniform(program: WebGLProgram, location: WebGLUniformLocation): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getUniformLocation) */\n getUniformLocation(program: WebGLProgram, name: string): WebGLUniformLocation | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getVertexAttrib) */\n getVertexAttrib(index: GLuint, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getVertexAttribOffset) */\n getVertexAttribOffset(index: GLuint, pname: GLenum): GLintptr;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/hint) */\n hint(target: GLenum, mode: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isBuffer) */\n isBuffer(buffer: WebGLBuffer | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isContextLost) */\n isContextLost(): boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isEnabled) */\n isEnabled(cap: GLenum): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isFramebuffer) */\n isFramebuffer(framebuffer: WebGLFramebuffer | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isProgram) */\n isProgram(program: WebGLProgram | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isRenderbuffer) */\n isRenderbuffer(renderbuffer: WebGLRenderbuffer | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isShader) */\n isShader(shader: WebGLShader | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isTexture) */\n isTexture(texture: WebGLTexture | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/lineWidth) */\n lineWidth(width: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/linkProgram) */\n linkProgram(program: WebGLProgram): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/pixelStorei) */\n pixelStorei(pname: GLenum, param: GLint | GLboolean): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/polygonOffset) */\n polygonOffset(factor: GLfloat, units: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/renderbufferStorage) */\n renderbufferStorage(target: GLenum, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/sampleCoverage) */\n sampleCoverage(value: GLclampf, invert: GLboolean): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/scissor) */\n scissor(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/shaderSource) */\n shaderSource(shader: WebGLShader, source: string): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/stencilFunc) */\n stencilFunc(func: GLenum, ref: GLint, mask: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/stencilFuncSeparate) */\n stencilFuncSeparate(face: GLenum, func: GLenum, ref: GLint, mask: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/stencilMask) */\n stencilMask(mask: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/stencilMaskSeparate) */\n stencilMaskSeparate(face: GLenum, mask: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/stencilOp) */\n stencilOp(fail: GLenum, zfail: GLenum, zpass: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/stencilOpSeparate) */\n stencilOpSeparate(face: GLenum, fail: GLenum, zfail: GLenum, zpass: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texParameter) */\n texParameterf(target: GLenum, pname: GLenum, param: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texParameter) */\n texParameteri(target: GLenum, pname: GLenum, param: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform1f(location: WebGLUniformLocation | null, x: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform1i(location: WebGLUniformLocation | null, x: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform2f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform2i(location: WebGLUniformLocation | null, x: GLint, y: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform3f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform3i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform4f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform4i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint, w: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/useProgram) */\n useProgram(program: WebGLProgram | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/validateProgram) */\n validateProgram(program: WebGLProgram): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib1f(index: GLuint, x: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib1fv(index: GLuint, values: Float32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib2f(index: GLuint, x: GLfloat, y: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib2fv(index: GLuint, values: Float32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib3f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib3fv(index: GLuint, values: Float32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib4f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib4fv(index: GLuint, values: Float32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttribPointer) */\n vertexAttribPointer(index: GLuint, size: GLint, type: GLenum, normalized: GLboolean, stride: GLsizei, offset: GLintptr): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/viewport) */\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 RGBA8: 0x8058;\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferData) */\n bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;\n bufferData(target: GLenum, data: AllowSharedBufferSource | null, usage: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferSubData) */\n bufferSubData(target: GLenum, offset: GLintptr, data: AllowSharedBufferSource): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */\n compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, data: ArrayBufferView<ArrayBufferLike>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D) */\n compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, data: ArrayBufferView<ArrayBufferLike>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/readPixels) */\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView<ArrayBufferLike> | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texImage2D) */\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView<ArrayBufferLike> | null): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texSubImage2D) */\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView<ArrayBufferLike> | null): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform1fv(location: WebGLUniformLocation | null, v: Float32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform1iv(location: WebGLUniformLocation | null, v: Int32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform2fv(location: WebGLUniformLocation | null, v: Float32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform2iv(location: WebGLUniformLocation | null, v: Int32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform3fv(location: WebGLUniformLocation | null, v: Float32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform3iv(location: WebGLUniformLocation | null, v: Int32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform4fv(location: WebGLUniformLocation | null, v: Float32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform4iv(location: WebGLUniformLocation | null, v: Int32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n}\n\n/**\n * The **`WebGLSampler`** interface is part of the WebGL 2 API and stores sampling parameters for WebGLTexture access inside of a shader.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLSampler)\n */\ninterface WebGLSampler {\n}\n\ndeclare var WebGLSampler: {\n prototype: WebGLSampler;\n new(): WebGLSampler;\n};\n\n/**\n * The **WebGLShader** is part of the WebGL API and can either be a vertex or a fragment shader.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLShader)\n */\ninterface WebGLShader {\n}\n\ndeclare var WebGLShader: {\n prototype: WebGLShader;\n new(): WebGLShader;\n};\n\n/**\n * The **WebGLShaderPrecisionFormat** interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLShaderPrecisionFormat)\n */\ninterface WebGLShaderPrecisionFormat {\n /**\n * The read-only **`WebGLShaderPrecisionFormat.precision`** property returns the number of bits of precision that can be represented.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLShaderPrecisionFormat/precision)\n */\n readonly precision: GLint;\n /**\n * The read-only **`WebGLShaderPrecisionFormat.rangeMax`** property returns the base 2 log of the absolute value of the maximum value that can be represented.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLShaderPrecisionFormat/rangeMax)\n */\n readonly rangeMax: GLint;\n /**\n * The read-only **`WebGLShaderPrecisionFormat.rangeMin`** property returns the base 2 log of the absolute value of the minimum value that can be represented.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLShaderPrecisionFormat/rangeMin)\n */\n readonly rangeMin: GLint;\n}\n\ndeclare var WebGLShaderPrecisionFormat: {\n prototype: WebGLShaderPrecisionFormat;\n new(): WebGLShaderPrecisionFormat;\n};\n\n/**\n * The **`WebGLSync`** interface is part of the WebGL 2 API and is used to synchronize activities between the GPU and the application.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLSync)\n */\ninterface WebGLSync {\n}\n\ndeclare var WebGLSync: {\n prototype: WebGLSync;\n new(): WebGLSync;\n};\n\n/**\n * The **WebGLTexture** interface is part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLTexture)\n */\ninterface WebGLTexture {\n}\n\ndeclare var WebGLTexture: {\n prototype: WebGLTexture;\n new(): WebGLTexture;\n};\n\n/**\n * The **`WebGLTransformFeedback`** interface is part of the WebGL 2 API and enables transform feedback, which is the process of capturing primitives generated by vertex processing.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLTransformFeedback)\n */\ninterface WebGLTransformFeedback {\n}\n\ndeclare var WebGLTransformFeedback: {\n prototype: WebGLTransformFeedback;\n new(): WebGLTransformFeedback;\n};\n\n/**\n * The **WebGLUniformLocation** interface is part of the WebGL API and represents the location of a uniform variable in a shader program.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLUniformLocation)\n */\ninterface WebGLUniformLocation {\n}\n\ndeclare var WebGLUniformLocation: {\n prototype: WebGLUniformLocation;\n new(): WebGLUniformLocation;\n};\n\n/**\n * The **`WebGLVertexArrayObject`** interface is part of the WebGL 2 API, represents vertex array objects (VAOs) pointing to vertex array data, and provides names for different sets of vertex data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject)\n */\ninterface WebGLVertexArrayObject {\n}\n\ndeclare var WebGLVertexArrayObject: {\n prototype: WebGLVertexArrayObject;\n new(): WebGLVertexArrayObject;\n};\n\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */\ninterface WebGLVertexArrayObjectOES {\n}\n\ninterface WebSocketEventMap {\n "close": CloseEvent;\n "error": Event;\n "message": MessageEvent;\n "open": Event;\n}\n\n/**\n * The `WebSocket` object provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket)\n */\ninterface WebSocket extends EventTarget {\n /**\n * The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)\n */\n binaryType: BinaryType;\n /**\n * The **`WebSocket.bufferedAmount`** read-only property returns the number of bytes of data that have been queued using calls to `send()` but not yet transmitted to the network.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/bufferedAmount)\n */\n readonly bufferedAmount: number;\n /**\n * The **`WebSocket.extensions`** read-only property returns the extensions selected by the server.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)\n */\n readonly extensions: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close_event) */\n onclose: ((this: WebSocket, ev: CloseEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/error_event) */\n onerror: ((this: WebSocket, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/message_event) */\n onmessage: ((this: WebSocket, ev: MessageEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/open_event) */\n onopen: ((this: WebSocket, ev: Event) => any) | null;\n /**\n * The **`WebSocket.protocol`** read-only property returns the name of the sub-protocol the server selected; this will be one of the strings specified in the `protocols` parameter when creating the WebSocket object, or the empty string if no connection is established.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/protocol)\n */\n readonly protocol: string;\n /**\n * The **`WebSocket.readyState`** read-only property returns the current state of the WebSocket connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)\n */\n readonly readyState: number;\n /**\n * The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/url)\n */\n readonly url: string;\n /**\n * The **`WebSocket.close()`** method closes the already `CLOSED`, this method does nothing.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close)\n */\n close(code?: number, reason?: string): void;\n /**\n * The **`WebSocket.send()`** method enqueues the specified data to be transmitted to the server over the WebSocket connection, increasing the value of `bufferedAmount` by the number of bytes needed to contain the data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/send)\n */\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/**\n * The **`WebTransport`** interface of the WebTransport API provides functionality to enable a user agent to connect to an HTTP/3 server, initiate reliable and unreliable transport in either or both directions, and close the connection once it is no longer needed.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport)\n */\ninterface WebTransport {\n /**\n * The **`closed`** read-only property of the WebTransport interface returns a promise that resolves when the transport is closed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/closed)\n */\n readonly closed: Promise<WebTransportCloseInfo>;\n /**\n * The **`datagrams`** read-only property of the WebTransport interface returns a WebTransportDatagramDuplexStream instance that can be used to send and receive datagrams — unreliable data transmission.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/datagrams)\n */\n readonly datagrams: WebTransportDatagramDuplexStream;\n /**\n * The **`incomingBidirectionalStreams`** read-only property of the WebTransport interface represents one or more bidirectional streams opened by the server.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/incomingBidirectionalStreams)\n */\n readonly incomingBidirectionalStreams: ReadableStream;\n /**\n * The **`incomingUnidirectionalStreams`** read-only property of the WebTransport interface represents one or more unidirectional streams opened by the server.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/incomingUnidirectionalStreams)\n */\n readonly incomingUnidirectionalStreams: ReadableStream;\n /**\n * The **`ready`** read-only property of the WebTransport interface returns a promise that resolves when the transport is ready to use.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/ready)\n */\n readonly ready: Promise<void>;\n /**\n * The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/close)\n */\n close(closeInfo?: WebTransportCloseInfo): void;\n /**\n * The **`createBidirectionalStream()`** method of the WebTransport interface asynchronously opens and returns a bidirectional stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createBidirectionalStream)\n */\n createBidirectionalStream(options?: WebTransportSendStreamOptions): Promise<WebTransportBidirectionalStream>;\n /**\n * The **`createUnidirectionalStream()`** method of the WebTransport interface asynchronously opens a unidirectional stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createUnidirectionalStream)\n */\n createUnidirectionalStream(options?: WebTransportSendStreamOptions): Promise<WritableStream>;\n}\n\ndeclare var WebTransport: {\n prototype: WebTransport;\n new(url: string | URL, options?: WebTransportOptions): WebTransport;\n};\n\n/**\n * The **`WebTransportBidirectionalStream`** interface of the WebTransport API represents a bidirectional stream created by a server or a client that can be used for reliable transport.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportBidirectionalStream)\n */\ninterface WebTransportBidirectionalStream {\n /**\n * The **`readable`** read-only property of the WebTransportBidirectionalStream interface returns a WebTransportReceiveStream instance that can be used to reliably read incoming data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportBidirectionalStream/readable)\n */\n readonly readable: ReadableStream;\n /**\n * The **`writable`** read-only property of the WebTransportBidirectionalStream interface returns a WebTransportSendStream instance that can be used to write outgoing data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportBidirectionalStream/writable)\n */\n readonly writable: WritableStream;\n}\n\ndeclare var WebTransportBidirectionalStream: {\n prototype: WebTransportBidirectionalStream;\n new(): WebTransportBidirectionalStream;\n};\n\n/**\n * The **`WebTransportDatagramDuplexStream`** interface of the WebTransport API represents a duplex stream that can be used for unreliable transport of datagrams between client and server.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream)\n */\ninterface WebTransportDatagramDuplexStream {\n /**\n * The **`incomingHighWaterMark`** property of the WebTransportDatagramDuplexStream interface gets or sets the high water mark for incoming chunks of data — this is the maximum size, in chunks, that the incoming ReadableStream\'s internal queue can reach before it is considered full.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingHighWaterMark)\n */\n incomingHighWaterMark: number;\n /**\n * The **`incomingMaxAge`** property of the WebTransportDatagramDuplexStream interface gets or sets the maximum age for incoming datagrams, in milliseconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge)\n */\n incomingMaxAge: number | null;\n /**\n * The **`maxDatagramSize`** read-only property of the WebTransportDatagramDuplexStream interface returns the maximum allowable size of outgoing datagrams, in bytes, that can be written to WebTransportDatagramDuplexStream.writable.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/maxDatagramSize)\n */\n readonly maxDatagramSize: number;\n /**\n * The **`outgoingHighWaterMark`** property of the WebTransportDatagramDuplexStream interface gets or sets the high water mark for outgoing chunks of data — this is the maximum size, in chunks, that the outgoing WritableStream\'s internal queue can reach before it is considered full.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingHighWaterMark)\n */\n outgoingHighWaterMark: number;\n /**\n * The **`outgoingMaxAge`** property of the WebTransportDatagramDuplexStream interface gets or sets the maximum age for outgoing datagrams, in milliseconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge)\n */\n outgoingMaxAge: number | null;\n /**\n * The **`readable`** read-only property of the WebTransportDatagramDuplexStream interface returns a ReadableStream instance that can be used to unreliably read incoming datagrams from the stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)\n */\n readonly readable: ReadableStream;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */\n readonly writable: WritableStream;\n}\n\ndeclare var WebTransportDatagramDuplexStream: {\n prototype: WebTransportDatagramDuplexStream;\n new(): WebTransportDatagramDuplexStream;\n};\n\n/**\n * The **`WebTransportError`** interface of the WebTransport API represents an error related to the API, which can arise from server errors, network connection problems, or client-initiated abort operations (for example, arising from a WritableStream.abort() call).\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportError)\n */\ninterface WebTransportError extends DOMException {\n /**\n * The **`source`** read-only property of the WebTransportError interface returns an enumerated value indicating the source of the error.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportError/source)\n */\n readonly source: WebTransportErrorSource;\n /**\n * The **`streamErrorCode`** read-only property of the WebTransportError interface returns a number in the range 0-255 indicating the application protocol error code for this error, or `null` if one is not available.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportError/streamErrorCode)\n */\n readonly streamErrorCode: number | null;\n}\n\ndeclare var WebTransportError: {\n prototype: WebTransportError;\n new(message?: string, options?: WebTransportErrorOptions): WebTransportError;\n};\n\n/**\n * The **`WheelEvent`** interface represents events that occur due to the user moving a mouse wheel or similar input device.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WheelEvent)\n */\ninterface WheelEvent extends MouseEvent {\n /**\n * The **`WheelEvent.deltaMode`** read-only property returns an `unsigned long` representing the unit of the delta values scroll amount.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WheelEvent/deltaMode)\n */\n readonly deltaMode: number;\n /**\n * The **`WheelEvent.deltaX`** read-only property is a `double` representing the horizontal scroll amount in the You must check the `deltaMode` property to determine the unit of the `deltaX` value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WheelEvent/deltaX)\n */\n readonly deltaX: number;\n /**\n * The **`WheelEvent.deltaY`** read-only property is a `double` representing the vertical scroll amount in the You must check the `deltaMode` property to determine the unit of the `deltaY` value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WheelEvent/deltaY)\n */\n readonly deltaY: number;\n /**\n * The **`WheelEvent.deltaZ`** read-only property is a `double` representing the scroll amount along the z-axis, in the You must check the `deltaMode` property to determine the unit of the `deltaZ` value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WheelEvent/deltaZ)\n */\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 "deviceorientationabsolute": DeviceOrientationEvent;\n "gamepadconnected": GamepadEvent;\n "gamepaddisconnected": GamepadEvent;\n "orientationchange": Event;\n}\n\n/**\n * The **`Window`** interface represents a window containing a DOM document; the `document` property points to the DOM document loaded in that window.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window)\n */\ninterface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandlers, WindowEventHandlers, WindowLocalStorage, WindowOrWorkerGlobalScope, WindowSessionStorage {\n /**\n * @deprecated This is a legacy alias of `navigator`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/navigator)\n */\n readonly clientInformation: Navigator;\n /**\n * The **`Window.closed`** read-only property indicates whether the referenced window is closed or not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/closed)\n */\n readonly closed: boolean;\n /**\n * The **`cookieStore`** read-only property of the Window interface returns a reference to the CookieStore object for the current document context.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/cookieStore)\n */\n readonly cookieStore: CookieStore;\n /**\n * The **`customElements`** read-only property of the Window interface returns a reference to the CustomElementRegistry object, which can be used to register new custom elements and get information about previously registered custom elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/customElements)\n */\n readonly customElements: CustomElementRegistry;\n /**\n * The **`devicePixelRatio`** of Window interface returns the ratio of the resolution in _physical pixels_ to the resolution in _CSS pixels_ for the current display device.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/devicePixelRatio)\n */\n readonly devicePixelRatio: number;\n /**\n * **`window.document`** returns a reference to the document contained in the window.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/document)\n */\n readonly document: Document;\n /**\n * The read-only Window property **`event`** returns the Event which is currently being handled by the site\'s code.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/event)\n */\n readonly event: Event | undefined;\n /**\n * The `external` property of the Window API returns an instance of the `External` interface, which was intended to contain functions related to adding external search providers to the browser.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/external)\n */\n readonly external: External;\n /**\n * The **`Window.frameElement`** property returns the element (such as iframe or object) in which the window is embedded.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/frameElement)\n */\n readonly frameElement: Element | null;\n /**\n * Returns the window itself, which is an array-like object, listing the direct sub-frames of the current window.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/frames)\n */\n readonly frames: WindowProxy;\n /**\n * The `Window.history` read-only property returns a reference to the History object, which provides an interface for manipulating the browser _session history_ (pages visited in the tab or frame that the current page is loaded in).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/history)\n */\n readonly history: History;\n /**\n * The read-only **`innerHeight`** property of the including the height of the horizontal scroll bar, if present.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/innerHeight)\n */\n readonly innerHeight: number;\n /**\n * The read-only Window property **`innerWidth`** returns the interior width of the window in pixels (that is, the width of the window\'s layout viewport).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/innerWidth)\n */\n readonly innerWidth: number;\n /**\n * Returns the number of frames (either frame or A number.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/length)\n */\n readonly length: number;\n /**\n * The **`Window.location`** read-only property returns a Location object with information about the current location of the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/location)\n */\n get location(): Location;\n set location(href: string);\n /**\n * Returns the `locationbar` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/locationbar)\n */\n readonly locationbar: BarProp;\n /**\n * Returns the `menubar` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/menubar)\n */\n readonly menubar: BarProp;\n /**\n * The `Window.name` property gets/sets the name of the window\'s browsing context.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/name)\n */\n name: string;\n /**\n * The **`Window.navigator`** read-only property returns a reference to the Navigator object, which has methods and properties about the application running the script.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/navigator)\n */\n readonly navigator: Navigator;\n /**\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/devicemotion_event)\n */\n ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null;\n /**\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientation_event)\n */\n ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;\n /**\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientationabsolute_event)\n */\n ondeviceorientationabsolute: ((this: Window, ev: DeviceOrientationEvent) => any) | null;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/orientationchange_event)\n */\n onorientationchange: ((this: Window, ev: Event) => any) | null;\n /**\n * The Window interface\'s **`opener`** property returns a reference to the window that opened the window, either with Window.open, or by navigating a link with a `target` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/opener)\n */\n opener: any;\n /**\n * Returns the orientation in degrees (in 90-degree increments) of the viewport relative to the device\'s natural orientation.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/orientation)\n */\n readonly orientation: number;\n /**\n * The **`originAgentCluster`** read-only property of the Window interface returns `true` if this window belongs to an _origin-keyed agent cluster_: this means that the operating system has provided dedicated resources (for example an operating system process) to this window\'s origin that are not shared with windows from other origins.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/originAgentCluster)\n */\n readonly originAgentCluster: boolean;\n /**\n * The **`Window.outerHeight`** read-only property returns the height in pixels of the whole browser window, including any sidebar, window chrome, and window-resizing borders/handles.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerHeight)\n */\n readonly outerHeight: number;\n /**\n * **`Window.outerWidth`** read-only property returns the width of the outside of the browser window.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerWidth)\n */\n readonly outerWidth: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollX) */\n readonly pageXOffset: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollY) */\n readonly pageYOffset: number;\n /**\n * The **`Window.parent`** property is a reference to the parent of the current window or subframe.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/parent)\n */\n readonly parent: WindowProxy;\n /**\n * Returns the `personalbar` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/personalbar)\n */\n readonly personalbar: BarProp;\n /**\n * The Window property **`screen`** returns a reference to the screen object associated with the window.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/screen)\n */\n readonly screen: Screen;\n /**\n * The **`Window.screenLeft`** read-only property returns the horizontal distance, in CSS pixels, from the left border of the user\'s browser viewport to the left side of the screen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/screenLeft)\n */\n readonly screenLeft: number;\n /**\n * The **`Window.screenTop`** read-only property returns the vertical distance, in CSS pixels, from the top border of the user\'s browser viewport to the top side of the screen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/screenTop)\n */\n readonly screenTop: number;\n /**\n * The **`Window.screenX`** read-only property returns the horizontal distance, in CSS pixels, of the left border of the user\'s browser viewport to the left side of the screen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/screenX)\n */\n readonly screenX: number;\n /**\n * The **`Window.screenY`** read-only property returns the vertical distance, in CSS pixels, of the top border of the user\'s browser viewport to the top edge of the screen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/screenY)\n */\n readonly screenY: number;\n /**\n * The read-only **`scrollX`** property of the Window interface returns the number of pixels by which the document is currently scrolled horizontally.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollX)\n */\n readonly scrollX: number;\n /**\n * The read-only **`scrollY`** property of the Window interface returns the number of pixels by which the document is currently scrolled vertically.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollY)\n */\n readonly scrollY: number;\n /**\n * Returns the `scrollbars` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollbars)\n */\n readonly scrollbars: BarProp;\n /**\n * The **`Window.self`** read-only property returns the window itself, as a WindowProxy.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/self)\n */\n readonly self: Window & typeof globalThis;\n /**\n * The `speechSynthesis` read-only property of the Window object returns a SpeechSynthesis object, which is the entry point into using Web Speech API speech synthesis functionality.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/speechSynthesis)\n */\n readonly speechSynthesis: SpeechSynthesis;\n /**\n * The **`status`** property of the bar at the bottom of the browser window.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/status)\n */\n status: string;\n /**\n * Returns the `statusbar` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/statusbar)\n */\n readonly statusbar: BarProp;\n /**\n * Returns the `toolbar` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/toolbar)\n */\n readonly toolbar: BarProp;\n /**\n * Returns a reference to the topmost window in the window hierarchy.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/top)\n */\n readonly top: WindowProxy | null;\n /**\n * The **`visualViewport`** read-only property of the Window interface returns a VisualViewport object representing the visual viewport for a given window, or `null` if current document is not fully active.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/visualViewport)\n */\n readonly visualViewport: VisualViewport | null;\n /**\n * The **`window`** property of a Window object points to the window object itself.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/window)\n */\n readonly window: Window & typeof globalThis;\n /**\n * `window.alert()` instructs the browser to display a dialog with an optional message, and to wait until the user dismisses the dialog.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert)\n */\n alert(message?: any): void;\n /**\n * The **`Window.blur()`** method does nothing.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur)\n */\n blur(): void;\n /**\n * The **`window.cancelIdleCallback()`** method cancels a callback previously scheduled with window.requestIdleCallback().\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/cancelIdleCallback)\n */\n cancelIdleCallback(handle: number): void;\n /**\n * The **`Window.captureEvents()`** method does nothing.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/captureEvents)\n */\n captureEvents(): void;\n /**\n * The **`Window.close()`** method closes the current window, or the window on which it was called.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/close)\n */\n close(): void;\n /**\n * `window.confirm()` instructs the browser to display a dialog with an optional message, and to wait until the user either confirms or cancels the dialog.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/confirm)\n */\n confirm(message?: string): boolean;\n /**\n * Makes a request to bring the window to the front.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/focus)\n */\n focus(): void;\n /**\n * The **`Window.getComputedStyle()`** method returns an object containing the values of all CSS properties of an element, after applying active stylesheets and resolving any basic computation those values may contain.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)\n */\n getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration;\n /**\n * The **`getSelection()`** method of the Window interface returns the Selection object associated with the window\'s document, representing the range of text selected by the user or the current position of the caret.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getSelection)\n */\n getSelection(): Selection | null;\n /**\n * The Window interface\'s **`matchMedia()`** method returns a new MediaQueryList object that can then be used to determine if the document matches the media query string, as well as to monitor the document to detect when it matches (or stops matching) that media query.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/matchMedia)\n */\n matchMedia(query: string): MediaQueryList;\n /**\n * The **`moveBy()`** method of the Window interface moves the current window by a specified amount.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/moveBy)\n */\n moveBy(x: number, y: number): void;\n /**\n * The **`moveTo()`** method of the Window interface moves the current window to the specified coordinates.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/moveTo)\n */\n moveTo(x: number, y: number): void;\n /**\n * The **`open()`** method of the `Window` interface loads a specified resource into a new or existing browsing context (that is, a tab, a window, or an iframe) under a specified name.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/open)\n */\n open(url?: string | URL, target?: string, features?: string): WindowProxy | null;\n /**\n * The **`window.postMessage()`** method safely enables cross-origin communication between Window objects; _e.g.,_ between a page and a pop-up that it spawned, or between a page and an iframe embedded within it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/postMessage)\n */\n postMessage(message: any, targetOrigin: string, transfer?: Transferable[]): void;\n postMessage(message: any, options?: WindowPostMessageOptions): void;\n /**\n * Opens the print dialog to print the current document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/print)\n */\n print(): void;\n /**\n * `window.prompt()` instructs the browser to display a dialog with an optional message prompting the user to input some text, and to wait until the user either submits the text or cancels the dialog.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/prompt)\n */\n prompt(message?: string, _default?: string): string | null;\n /**\n * Releases the window from trapping events of a specific type.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/releaseEvents)\n */\n releaseEvents(): void;\n /**\n * The **`window.requestIdleCallback()`** method queues a function to be called during a browser\'s idle periods.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/requestIdleCallback)\n */\n requestIdleCallback(callback: IdleRequestCallback, options?: IdleRequestOptions): number;\n /**\n * The **`Window.resizeBy()`** method resizes the current window by a specified amount.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/resizeBy)\n */\n resizeBy(x: number, y: number): void;\n /**\n * The **`Window.resizeTo()`** method dynamically resizes the window.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/resizeTo)\n */\n resizeTo(width: number, height: number): void;\n /**\n * The **`Window.scroll()`** method scrolls the window to a particular place in the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)\n */\n scroll(options?: ScrollToOptions): void;\n scroll(x: number, y: number): void;\n /**\n * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)\n */\n scrollBy(options?: ScrollToOptions): void;\n scrollBy(x: number, y: number): void;\n /**\n * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)\n */\n scrollTo(options?: ScrollToOptions): void;\n scrollTo(x: number, y: number): void;\n /**\n * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/stop)\n */\n stop(): void;\n addEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n [index: number]: Window;\n}\n\ndeclare var Window: {\n prototype: Window;\n new(): Window;\n};\n\ninterface WindowEventHandlersEventMap {\n "afterprint": Event;\n "beforeprint": Event;\n "beforeunload": BeforeUnloadEvent;\n "gamepadconnected": 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 "pagereveal": PageRevealEvent;\n "pageshow": PageTransitionEvent;\n "pageswap": PageSwapEvent;\n "popstate": PopStateEvent;\n "rejectionhandled": PromiseRejectionEvent;\n "storage": StorageEvent;\n "unhandledrejection": PromiseRejectionEvent;\n "unload": Event;\n}\n\ninterface WindowEventHandlers {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/afterprint_event) */\n onafterprint: ((this: WindowEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/beforeprint_event) */\n onbeforeprint: ((this: WindowEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/beforeunload_event) */\n onbeforeunload: ((this: WindowEventHandlers, ev: BeforeUnloadEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/gamepadconnected_event) */\n ongamepadconnected: ((this: WindowEventHandlers, ev: GamepadEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/gamepaddisconnected_event) */\n ongamepaddisconnected: ((this: WindowEventHandlers, ev: GamepadEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/hashchange_event) */\n onhashchange: ((this: WindowEventHandlers, ev: HashChangeEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/languagechange_event) */\n onlanguagechange: ((this: WindowEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/message_event) */\n onmessage: ((this: WindowEventHandlers, ev: MessageEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/messageerror_event) */\n onmessageerror: ((this: WindowEventHandlers, ev: MessageEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/offline_event) */\n onoffline: ((this: WindowEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/online_event) */\n ononline: ((this: WindowEventHandlers, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pagehide_event) */\n onpagehide: ((this: WindowEventHandlers, ev: PageTransitionEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pagereveal_event) */\n onpagereveal: ((this: WindowEventHandlers, ev: PageRevealEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pageshow_event) */\n onpageshow: ((this: WindowEventHandlers, ev: PageTransitionEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pageswap_event) */\n onpageswap: ((this: WindowEventHandlers, ev: PageSwapEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/popstate_event) */\n onpopstate: ((this: WindowEventHandlers, ev: PopStateEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/rejectionhandled_event) */\n onrejectionhandled: ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/storage_event) */\n onstorage: ((this: WindowEventHandlers, ev: StorageEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unhandledrejection_event) */\n onunhandledrejection: ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any) | null;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event)\n */\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/localStorage) */\n readonly localStorage: Storage;\n}\n\ninterface WindowOrWorkerGlobalScope {\n /**\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)\n */\n readonly caches: CacheStorage;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */\n readonly crossOriginIsolated: boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */\n readonly crypto: Crypto;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */\n readonly indexedDB: IDBFactory;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */\n readonly isSecureContext: boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */\n readonly origin: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */\n readonly performance: Performance;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */\n atob(data: string): string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */\n btoa(data: string): string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearInterval) */\n clearInterval(id: number | undefined): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearTimeout) */\n clearTimeout(id: number | undefined): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/createImageBitmap) */\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */\n fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/queueMicrotask) */\n queueMicrotask(callback: VoidFunction): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/reportError) */\n reportError(e: any): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setInterval) */\n setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setTimeout) */\n setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/structuredClone) */\n structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;\n}\n\ninterface WindowSessionStorage {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/sessionStorage) */\n readonly sessionStorage: Storage;\n}\n\ninterface WorkerEventMap extends AbstractWorkerEventMap, MessageEventTargetEventMap {\n}\n\n/**\n * The **`Worker`** interface of the Web Workers API represents a background task that can be created via script, which can send messages back to its creator.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Worker)\n */\ninterface Worker extends EventTarget, AbstractWorker, MessageEventTarget<Worker> {\n /**\n * The **`postMessage()`** method of the Worker interface sends a message to the worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Worker/postMessage)\n */\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: StructuredSerializeOptions): void;\n /**\n * The **`terminate()`** method of the Worker interface immediately terminates the Worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Worker/terminate)\n */\n terminate(): void;\n addEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Worker: {\n prototype: Worker;\n new(scriptURL: string | URL, options?: WorkerOptions): Worker;\n};\n\n/**\n * The **`Worklet`** interface is a lightweight version of Web Workers and gives developers access to low-level parts of the rendering pipeline.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Worklet)\n */\ninterface Worklet {\n /**\n * The **`addModule()`** method of the adds it to the current `Worklet`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Worklet/addModule)\n */\n addModule(moduleURL: string | URL, options?: WorkletOptions): Promise<void>;\n}\n\ndeclare var Worklet: {\n prototype: Worklet;\n new(): Worklet;\n};\n\n/**\n * The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream)\n */\ninterface WritableStream<W = any> {\n /**\n * The **`locked`** read-only property of the WritableStream interface returns a boolean indicating whether the `WritableStream` is locked to a writer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/locked)\n */\n readonly locked: boolean;\n /**\n * The **`abort()`** method of the WritableStream interface aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/abort)\n */\n abort(reason?: any): Promise<void>;\n /**\n * The **`close()`** method of the WritableStream interface closes the associated stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/close)\n */\n close(): Promise<void>;\n /**\n * The **`getWriter()`** method of the WritableStream interface returns a new instance of WritableStreamDefaultWriter and locks the stream to that instance.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/getWriter)\n */\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/**\n * The **`WritableStreamDefaultController`** interface of the Streams API represents a controller allowing control of a WritableStream\'s state.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController)\n */\ninterface WritableStreamDefaultController {\n /**\n * The read-only **`signal`** property of the WritableStreamDefaultController interface returns the AbortSignal associated with the controller.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/signal)\n */\n readonly signal: AbortSignal;\n /**\n * The **`error()`** method of the with the associated stream to error.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error)\n */\n error(e?: any): void;\n}\n\ndeclare var WritableStreamDefaultController: {\n prototype: WritableStreamDefaultController;\n new(): WritableStreamDefaultController;\n};\n\n/**\n * The **`WritableStreamDefaultWriter`** interface of the Streams API 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter)\n */\ninterface WritableStreamDefaultWriter<W = any> {\n /**\n * The **`closed`** read-only property of the the stream errors or the writer\'s lock is released.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed)\n */\n readonly closed: Promise<void>;\n /**\n * The **`desiredSize`** read-only property of the to fill the stream\'s internal queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/desiredSize)\n */\n readonly desiredSize: number | null;\n /**\n * The **`ready`** read-only property of the that resolves when the desired size of the stream\'s internal queue transitions from non-positive to positive, signaling that it is no longer applying backpressure.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/ready)\n */\n readonly ready: Promise<void>;\n /**\n * The **`abort()`** method of the the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort)\n */\n abort(reason?: any): Promise<void>;\n /**\n * The **`close()`** method of the stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close)\n */\n close(): Promise<void>;\n /**\n * The **`releaseLock()`** method of the corresponding stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/releaseLock)\n */\n releaseLock(): void;\n /**\n * The **`write()`** method of the operation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)\n */\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/**\n * The **XMLDocument** interface represents an XML document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLDocument)\n */\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/**\n * `XMLHttpRequest` (XHR) objects are used to interact with servers.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest)\n */\ninterface XMLHttpRequest extends XMLHttpRequestEventTarget {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/readystatechange_event) */\n onreadystatechange: ((this: XMLHttpRequest, ev: Event) => any) | null;\n /**\n * The **XMLHttpRequest.readyState** property returns the state an XMLHttpRequest client is in.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/readyState)\n */\n readonly readyState: number;\n /**\n * The XMLHttpRequest **`response`** property returns the response\'s body content as an ArrayBuffer, a Blob, a Document, a JavaScript Object, or a string, depending on the value of the request\'s XMLHttpRequest.responseType property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/response)\n */\n readonly response: any;\n /**\n * The read-only XMLHttpRequest property **`responseText`** returns the text received from a server following a request being sent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/responseText)\n */\n readonly responseText: string;\n /**\n * The XMLHttpRequest property **`responseType`** is an enumerated string value specifying the type of data contained in the response.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/responseType)\n */\n responseType: XMLHttpRequestResponseType;\n /**\n * The read-only **`XMLHttpRequest.responseURL`** property returns the serialized URL of the response or the empty string if the URL is `null`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/responseURL)\n */\n readonly responseURL: string;\n /**\n * The **`XMLHttpRequest.responseXML`** read-only property returns a Document containing the HTML or XML retrieved by the request; or `null` if the request was unsuccessful, has not yet been sent, or if the data can\'t be parsed as XML or HTML.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/responseXML)\n */\n readonly responseXML: Document | null;\n /**\n * The read-only **`XMLHttpRequest.status`** property returns the numerical HTTP status code of the `XMLHttpRequest`\'s response.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/status)\n */\n readonly status: number;\n /**\n * The read-only **`XMLHttpRequest.statusText`** property returns a string containing the response\'s status message as returned by the HTTP server.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/statusText)\n */\n readonly statusText: string;\n /**\n * The **`XMLHttpRequest.timeout`** property is an `unsigned long` representing the number of milliseconds a request can take before automatically being terminated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/timeout)\n */\n timeout: number;\n /**\n * The XMLHttpRequest `upload` property returns an XMLHttpRequestUpload object that can be observed to monitor an upload\'s progress.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/upload)\n */\n readonly upload: XMLHttpRequestUpload;\n /**\n * The **`XMLHttpRequest.withCredentials`** property is a boolean value that indicates whether or not cross-site `Access-Control` requests should be made using credentials such as cookies, authentication headers or TLS client certificates.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/withCredentials)\n */\n withCredentials: boolean;\n /**\n * The **`XMLHttpRequest.abort()`** method aborts the request if it has already been sent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/abort)\n */\n abort(): void;\n /**\n * The XMLHttpRequest method **`getAllResponseHeaders()`** returns all the response headers, separated by CRLF, as a string, or returns `null` if no response has been received.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/getAllResponseHeaders)\n */\n getAllResponseHeaders(): string;\n /**\n * The XMLHttpRequest method **`getResponseHeader()`** returns the string containing the text of a particular header\'s value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/getResponseHeader)\n */\n getResponseHeader(name: string): string | null;\n /**\n * The XMLHttpRequest method **`open()`** initializes a newly-created request, or re-initializes an existing one.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/open)\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 * The XMLHttpRequest method **`overrideMimeType()`** specifies a MIME type other than the one provided by the server to be used instead when interpreting the data being transferred in a request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/overrideMimeType)\n */\n overrideMimeType(mime: string): void;\n /**\n * The XMLHttpRequest method **`send()`** sends the request to the server.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/send)\n */\n send(body?: Document | XMLHttpRequestBodyInit | null): void;\n /**\n * The XMLHttpRequest method **`setRequestHeader()`** sets the value of an HTTP request header.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/setRequestHeader)\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\n/**\n * `XMLHttpRequestEventTarget` is the interface that describes the event handlers shared on XMLHttpRequest and XMLHttpRequestUpload.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequestEventTarget)\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\n/**\n * The **`XMLHttpRequestUpload`** interface represents the upload process for a specific XMLHttpRequest.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequestUpload)\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/**\n * The `XMLSerializer` interface provides the XMLSerializer.serializeToString method to construct an XML string representing a DOM tree.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLSerializer)\n */\ninterface XMLSerializer {\n /**\n * The XMLSerializer method **`serializeToString()`** constructs a string representing the specified DOM tree in XML form.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLSerializer/serializeToString)\n */\n serializeToString(root: Node): string;\n}\n\ndeclare var XMLSerializer: {\n prototype: XMLSerializer;\n new(): XMLSerializer;\n};\n\n/**\n * The `XPathEvaluator` interface allows to compile and evaluate XPath expressions.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathEvaluator)\n */\ninterface XPathEvaluator extends XPathEvaluatorBase {\n}\n\ndeclare var XPathEvaluator: {\n prototype: XPathEvaluator;\n new(): XPathEvaluator;\n};\n\ninterface XPathEvaluatorBase {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createExpression) */\n createExpression(expression: string, resolver?: XPathNSResolver | null): XPathExpression;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createNSResolver)\n */\n createNSResolver(nodeResolver: Node): Node;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/evaluate) */\n evaluate(expression: string, contextNode: Node, resolver?: XPathNSResolver | null, type?: number, result?: XPathResult | null): XPathResult;\n}\n\n/**\n * This interface is a compiled XPath expression that can be evaluated on a document or specific node to return information from its DOM tree.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathExpression)\n */\ninterface XPathExpression {\n /**\n * The **`evaluate()`** method of the returns an XPathResult.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathExpression/evaluate)\n */\n evaluate(contextNode: Node, type?: number, result?: XPathResult | null): XPathResult;\n}\n\ndeclare var XPathExpression: {\n prototype: XPathExpression;\n new(): XPathExpression;\n};\n\n/**\n * The **`XPathResult`** interface represents the results generated by evaluating an XPath expression within the context of a given node.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult)\n */\ninterface XPathResult {\n /**\n * The read-only **`booleanValue`** property of the The return value is the boolean value of the `XPathResult` returned by In case XPathResult.resultType is not `BOOLEAN_TYPE`, a The following example shows the use of the `booleanValue` property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/booleanValue)\n */\n readonly booleanValue: boolean;\n /**\n * The read-only **`invalidIteratorState`** property of the is `true` if XPathResult.resultType is `UNORDERED_NODE_ITERATOR_TYPE` or `ORDERED_NODE_ITERATOR_TYPE` and the document has been modified since this result was returned.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/invalidIteratorState)\n */\n readonly invalidIteratorState: boolean;\n /**\n * The read-only **`numberValue`** property of the The return value is the numeric value of the `XPathResult` returned by In case XPathResult.resultType is not `NUMBER_TYPE`, a The following example shows the use of the `numberValue` property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/numberValue)\n */\n readonly numberValue: number;\n /**\n * The read-only **`resultType`** property of the the type constants.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/resultType)\n */\n readonly resultType: number;\n /**\n * The read-only **`singleNodeValue`** property of the `null` in case no node was matched of a result with `FIRST_ORDERED_NODE_TYPE`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/singleNodeValue)\n */\n readonly singleNodeValue: Node | null;\n /**\n * The read-only **`snapshotLength`** property of the snapshot.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/snapshotLength)\n */\n readonly snapshotLength: number;\n /**\n * The read-only **`stringValue`** property of the The return value is the string value of the `XPathResult` returned by In case XPathResult.resultType is not `STRING_TYPE`, a The following example shows the use of the `stringValue` property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/stringValue)\n */\n readonly stringValue: string;\n /**\n * The **`iterateNext()`** method of the next node from it or `null` if there are no more nodes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/iterateNext)\n */\n iterateNext(): Node | null;\n /**\n * The **`snapshotItem()`** method of the `null` in case the index is not within the range of nodes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XPathResult/snapshotItem)\n */\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/**\n * An **`XSLTProcessor`** applies an XSLT stylesheet transformation to an XML document to produce a new XML document as output.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XSLTProcessor)\n */\ninterface XSLTProcessor {\n /**\n * The `clearParameters()` method of the XSLTProcessor interface removes all parameters (`<xsl:param>`) and their values from the stylesheet imported in the processor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XSLTProcessor/clearParameters)\n */\n clearParameters(): void;\n /**\n * The `getParameter()` method of the XSLTProcessor interface returns the value of a parameter (`<xsl:param>`) from the stylesheet imported in the processor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XSLTProcessor/getParameter)\n */\n getParameter(namespaceURI: string | null, localName: string): any;\n /**\n * The `importStylesheet()` method of the XSLTProcessor interface imports an XSLT stylesheet for the processor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XSLTProcessor/importStylesheet)\n */\n importStylesheet(style: Node): void;\n /**\n * The `removeParameter()` method of the XSLTProcessor interface removes the parameter (`<xsl:param>`) and its value from the stylesheet imported in the processor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XSLTProcessor/removeParameter)\n */\n removeParameter(namespaceURI: string | null, localName: string): void;\n /**\n * The `reset()` method of the XSLTProcessor interface removes all parameters (`<xsl:param>`) and the XSLT stylesheet from the processor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XSLTProcessor/reset)\n */\n reset(): void;\n /**\n * The `setParameter()` method of the XSLTProcessor interface sets the value of a parameter (`<xsl:param>`) in the stylesheet imported in the processor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XSLTProcessor/setParameter)\n */\n setParameter(namespaceURI: string | null, localName: string, value: any): void;\n /**\n * The `transformToDocument()` method of the XSLTProcessor interface transforms the provided Node source to a Document using the XSLT stylesheet associated with `XSLTProcessor`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XSLTProcessor/transformToDocument)\n */\n transformToDocument(source: Node): Document;\n /**\n * The `transformToFragment()` method of the XSLTProcessor interface transforms a provided Node source to a DocumentFragment using the XSLT stylesheet associated with the `XSLTProcessor`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XSLTProcessor/transformToFragment)\n */\n transformToFragment(source: Node, output: Document): DocumentFragment;\n}\n\ndeclare var XSLTProcessor: {\n prototype: XSLTProcessor;\n new(): XSLTProcessor;\n};\n\n/** The **`CSS`** interface holds useful CSS-related methods. */\ndeclare namespace CSS {\n /**\n * The static, read-only **`highlights`** property of the CSS interface provides access to the `HighlightRegistry` used to style arbitrary text ranges using the css_custom_highlight_api.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/highlights_static)\n */\n var highlights: HighlightRegistry;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function Hz(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function Q(value: number): CSSUnitValue;\n function cap(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function ch(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function cm(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function cqb(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function cqh(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function cqi(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function cqmax(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function cqmin(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function cqw(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function deg(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function dpcm(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function dpi(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function dppx(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function dvb(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function dvh(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function dvi(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function dvmax(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function dvmin(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function dvw(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function em(value: number): CSSUnitValue;\n /**\n * The **`CSS.escape()`** static method returns a string containing the escaped string passed as parameter, mostly for use as part of a CSS selector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/escape_static)\n */\n function escape(ident: string): string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function ex(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function fr(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function grad(value: number): CSSUnitValue;\n function ic(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function kHz(value: number): CSSUnitValue;\n function lh(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function lvb(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function lvh(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function lvi(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function lvmax(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function lvmin(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function lvw(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function mm(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function ms(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function number(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function pc(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function percent(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function pt(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function px(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function rad(value: number): CSSUnitValue;\n function rcap(value: number): CSSUnitValue;\n function rch(value: number): CSSUnitValue;\n /**\n * The **`CSS.registerProperty()`** static method registers custom properties, allowing for property type checking, default values, and properties that do or do not inherit their value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/registerProperty_static)\n */\n function registerProperty(definition: PropertyDefinition): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function rem(value: number): CSSUnitValue;\n function rex(value: number): CSSUnitValue;\n function ric(value: number): CSSUnitValue;\n function rlh(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function s(value: number): CSSUnitValue;\n /**\n * The **`CSS.supports()`** static method returns a boolean value indicating if the browser supports a given CSS feature, or not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/supports_static)\n */\n function supports(property: string, value: string): boolean;\n function supports(conditionText: string): boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function svb(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function svh(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function svi(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function svmax(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function svmin(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function svw(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function turn(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function vb(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function vh(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function vi(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function vmax(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function vmin(value: number): CSSUnitValue;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSS/factory_functions_static) */\n function vw(value: number): CSSUnitValue;\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 /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global) */\n interface Global<T extends ValueType = ValueType> {\n value: ValueTypeMap[T];\n valueOf(): ValueTypeMap[T];\n }\n\n var Global: {\n prototype: Global;\n new<T extends ValueType = ValueType>(descriptor: GlobalDescriptor<T>, v?: ValueTypeMap[T]): Global<T>;\n };\n\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance) */\n interface Instance {\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance/exports) */\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 /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory) */\n interface Memory {\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/buffer) */\n readonly buffer: ArrayBuffer;\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/grow) */\n grow(delta: number): number;\n }\n\n var Memory: {\n prototype: Memory;\n new(descriptor: MemoryDescriptor): Memory;\n };\n\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module) */\n interface Module {\n }\n\n var Module: {\n prototype: Module;\n new(bytes: BufferSource): Module;\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/customSections_static) */\n customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/exports_static) */\n exports(moduleObject: Module): ModuleExportDescriptor[];\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/imports_static) */\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 /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table) */\n interface Table {\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/length) */\n readonly length: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/get) */\n get(index: number): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/grow) */\n grow(delta: number, value?: any): number;\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/set) */\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<T extends ValueType = ValueType> {\n mutable?: boolean;\n value: T;\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 ValueTypeMap {\n anyfunc: Function;\n externref: any;\n f32: number;\n f64: number;\n i32: number;\n i64: bigint;\n v128: never;\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 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 type ValueType = keyof ValueTypeMap;\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */\n function compile(bytes: BufferSource): Promise<Module>;\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */\n function compileStreaming(source: Response | PromiseLike<Response>): Promise<Module>;\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */\n function instantiate(bytes: BufferSource, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;\n function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */\n function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */\n function validate(bytes: BufferSource): boolean;\n}\n\n/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */\n/**\n * The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console)\n */\ninterface Console {\n /**\n * The **`console.assert()`** static method writes an error message to the console if the assertion is false.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/assert_static)\n */\n assert(condition?: boolean, ...data: any[]): void;\n /**\n * The **`console.clear()`** static method clears the console if possible.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/clear_static)\n */\n clear(): void;\n /**\n * The **`console.count()`** static method logs the number of times that this particular call to `count()` has been called.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static)\n */\n count(label?: string): void;\n /**\n * The **`console.countReset()`** static method resets counter used with console/count_static.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static)\n */\n countReset(label?: string): void;\n /**\n * The **`console.debug()`** static method outputs a message to the console at the \'debug\' log level.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static)\n */\n debug(...data: any[]): void;\n /**\n * The **`console.dir()`** static method displays a list of the properties of the specified JavaScript object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dir_static)\n */\n dir(item?: any, options?: any): void;\n /**\n * The **`console.dirxml()`** static method displays an interactive tree of the descendant elements of the specified XML/HTML element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dirxml_static)\n */\n dirxml(...data: any[]): void;\n /**\n * The **`console.error()`** static method outputs a message to the console at the \'error\' log level.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/error_static)\n */\n error(...data: any[]): void;\n /**\n * The **`console.group()`** static method creates a new inline group in the Web console log, causing any subsequent console messages to be indented by an additional level, until console/groupEnd_static is called.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static)\n */\n group(...data: any[]): void;\n /**\n * The **`console.groupCollapsed()`** static method creates a new inline group in the console.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static)\n */\n groupCollapsed(...data: any[]): void;\n /**\n * The **`console.groupEnd()`** static method exits the current inline group in the console.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static)\n */\n groupEnd(): void;\n /**\n * The **`console.info()`** static method outputs a message to the console at the \'info\' log level.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static)\n */\n info(...data: any[]): void;\n /**\n * The **`console.log()`** static method outputs a message to the console.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/log_static)\n */\n log(...data: any[]): void;\n /**\n * The **`console.table()`** static method displays tabular data as a table.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/table_static)\n */\n table(tabularData?: any, properties?: string[]): void;\n /**\n * The **`console.time()`** static method starts a timer you can use to track how long an operation takes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static)\n */\n time(label?: string): void;\n /**\n * The **`console.timeEnd()`** static method stops a timer that was previously started by calling console/time_static.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static)\n */\n timeEnd(label?: string): void;\n /**\n * The **`console.timeLog()`** static method logs the current value of a timer that was previously started by calling console/time_static.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)\n */\n timeLog(label?: string, ...data: any[]): void;\n timeStamp(label?: string): void;\n /**\n * The **`console.trace()`** static method outputs a stack trace to the console.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static)\n */\n trace(...data: any[]): void;\n /**\n * The **`console.warn()`** static method outputs a warning message to the console at the \'warning\' log level.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/warn_static)\n */\n warn(...data: any[]): void;\n}\n\ndeclare var console: Console;\n\ninterface AudioDataOutputCallback {\n (output: AudioData): void;\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 EncodedAudioChunkOutputCallback {\n (output: EncodedAudioChunk, metadata?: EncodedAudioChunkMetadata): void;\n}\n\ninterface EncodedVideoChunkOutputCallback {\n (chunk: EncodedVideoChunk, metadata?: EncodedVideoChunkMetadata): 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<T> {\n (lock: Lock | null): T;\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 ReportingObserverCallback {\n (reports: Report[], observer: ReportingObserver): 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 VideoFrameOutputCallback {\n (output: VideoFrame): void;\n}\n\ninterface VideoFrameRequestCallback {\n (now: DOMHighResTimeStamp, metadata: VideoFrameCallbackMetadata): void;\n}\n\ninterface ViewTransitionUpdateCallback {\n (): any;\n}\n\ninterface VoidFunction {\n (): void;\n}\n\ninterface WebCodecsErrorCallback {\n (error: DOMException): 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 "search": HTMLElement;\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/**\n * @deprecated This is a legacy alias of `navigator`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/navigator)\n */\ndeclare var clientInformation: Navigator;\n/**\n * The **`Window.closed`** read-only property indicates whether the referenced window is closed or not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/closed)\n */\ndeclare var closed: boolean;\n/**\n * The **`cookieStore`** read-only property of the Window interface returns a reference to the CookieStore object for the current document context.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/cookieStore)\n */\ndeclare var cookieStore: CookieStore;\n/**\n * The **`customElements`** read-only property of the Window interface returns a reference to the CustomElementRegistry object, which can be used to register new custom elements and get information about previously registered custom elements.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/customElements)\n */\ndeclare var customElements: CustomElementRegistry;\n/**\n * The **`devicePixelRatio`** of Window interface returns the ratio of the resolution in _physical pixels_ to the resolution in _CSS pixels_ for the current display device.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/devicePixelRatio)\n */\ndeclare var devicePixelRatio: number;\n/**\n * **`window.document`** returns a reference to the document contained in the window.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/document)\n */\ndeclare var document: Document;\n/**\n * The read-only Window property **`event`** returns the Event which is currently being handled by the site\'s code.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/event)\n */\ndeclare var event: Event | undefined;\n/**\n * The `external` property of the Window API returns an instance of the `External` interface, which was intended to contain functions related to adding external search providers to the browser.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/external)\n */\ndeclare var external: External;\n/**\n * The **`Window.frameElement`** property returns the element (such as iframe or object) in which the window is embedded.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/frameElement)\n */\ndeclare var frameElement: Element | null;\n/**\n * Returns the window itself, which is an array-like object, listing the direct sub-frames of the current window.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/frames)\n */\ndeclare var frames: WindowProxy;\n/**\n * The `Window.history` read-only property returns a reference to the History object, which provides an interface for manipulating the browser _session history_ (pages visited in the tab or frame that the current page is loaded in).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/history)\n */\ndeclare var history: History;\n/**\n * The read-only **`innerHeight`** property of the including the height of the horizontal scroll bar, if present.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/innerHeight)\n */\ndeclare var innerHeight: number;\n/**\n * The read-only Window property **`innerWidth`** returns the interior width of the window in pixels (that is, the width of the window\'s layout viewport).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/innerWidth)\n */\ndeclare var innerWidth: number;\n/**\n * Returns the number of frames (either frame or A number.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/length)\n */\ndeclare var length: number;\n/**\n * The **`Window.location`** read-only property returns a Location object with information about the current location of the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/location)\n */\ndeclare var location: Location;\n/**\n * Returns the `locationbar` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/locationbar)\n */\ndeclare var locationbar: BarProp;\n/**\n * Returns the `menubar` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/menubar)\n */\ndeclare var menubar: BarProp;\n/**\n * The `Window.name` property gets/sets the name of the window\'s browsing context.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/name)\n */\n/** @deprecated */\ndeclare const name: void;\n/**\n * The **`Window.navigator`** read-only property returns a reference to the Navigator object, which has methods and properties about the application running the script.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/navigator)\n */\ndeclare var navigator: Navigator;\n/**\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/devicemotion_event)\n */\ndeclare var ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null;\n/**\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientation_event)\n */\ndeclare var ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;\n/**\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientationabsolute_event)\n */\ndeclare var ondeviceorientationabsolute: ((this: Window, ev: DeviceOrientationEvent) => any) | null;\n/**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/orientationchange_event)\n */\ndeclare var onorientationchange: ((this: Window, ev: Event) => any) | null;\n/**\n * The Window interface\'s **`opener`** property returns a reference to the window that opened the window, either with Window.open, or by navigating a link with a `target` attribute.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/opener)\n */\ndeclare var opener: any;\n/**\n * Returns the orientation in degrees (in 90-degree increments) of the viewport relative to the device\'s natural orientation.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/orientation)\n */\ndeclare var orientation: number;\n/**\n * The **`originAgentCluster`** read-only property of the Window interface returns `true` if this window belongs to an _origin-keyed agent cluster_: this means that the operating system has provided dedicated resources (for example an operating system process) to this window\'s origin that are not shared with windows from other origins.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/originAgentCluster)\n */\ndeclare var originAgentCluster: boolean;\n/**\n * The **`Window.outerHeight`** read-only property returns the height in pixels of the whole browser window, including any sidebar, window chrome, and window-resizing borders/handles.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerHeight)\n */\ndeclare var outerHeight: number;\n/**\n * **`Window.outerWidth`** read-only property returns the width of the outside of the browser window.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/outerWidth)\n */\ndeclare var outerWidth: number;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollX) */\ndeclare var pageXOffset: number;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollY) */\ndeclare var pageYOffset: number;\n/**\n * The **`Window.parent`** property is a reference to the parent of the current window or subframe.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/parent)\n */\ndeclare var parent: WindowProxy;\n/**\n * Returns the `personalbar` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/personalbar)\n */\ndeclare var personalbar: BarProp;\n/**\n * The Window property **`screen`** returns a reference to the screen object associated with the window.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/screen)\n */\ndeclare var screen: Screen;\n/**\n * The **`Window.screenLeft`** read-only property returns the horizontal distance, in CSS pixels, from the left border of the user\'s browser viewport to the left side of the screen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/screenLeft)\n */\ndeclare var screenLeft: number;\n/**\n * The **`Window.screenTop`** read-only property returns the vertical distance, in CSS pixels, from the top border of the user\'s browser viewport to the top side of the screen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/screenTop)\n */\ndeclare var screenTop: number;\n/**\n * The **`Window.screenX`** read-only property returns the horizontal distance, in CSS pixels, of the left border of the user\'s browser viewport to the left side of the screen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/screenX)\n */\ndeclare var screenX: number;\n/**\n * The **`Window.screenY`** read-only property returns the vertical distance, in CSS pixels, of the top border of the user\'s browser viewport to the top edge of the screen.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/screenY)\n */\ndeclare var screenY: number;\n/**\n * The read-only **`scrollX`** property of the Window interface returns the number of pixels by which the document is currently scrolled horizontally.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollX)\n */\ndeclare var scrollX: number;\n/**\n * The read-only **`scrollY`** property of the Window interface returns the number of pixels by which the document is currently scrolled vertically.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollY)\n */\ndeclare var scrollY: number;\n/**\n * Returns the `scrollbars` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollbars)\n */\ndeclare var scrollbars: BarProp;\n/**\n * The **`Window.self`** read-only property returns the window itself, as a WindowProxy.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/self)\n */\ndeclare var self: Window & typeof globalThis;\n/**\n * The `speechSynthesis` read-only property of the Window object returns a SpeechSynthesis object, which is the entry point into using Web Speech API speech synthesis functionality.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/speechSynthesis)\n */\ndeclare var speechSynthesis: SpeechSynthesis;\n/**\n * The **`status`** property of the bar at the bottom of the browser window.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/status)\n */\ndeclare var status: string;\n/**\n * Returns the `statusbar` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/statusbar)\n */\ndeclare var statusbar: BarProp;\n/**\n * Returns the `toolbar` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/toolbar)\n */\ndeclare var toolbar: BarProp;\n/**\n * Returns a reference to the topmost window in the window hierarchy.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/top)\n */\ndeclare var top: WindowProxy | null;\n/**\n * The **`visualViewport`** read-only property of the Window interface returns a VisualViewport object representing the visual viewport for a given window, or `null` if current document is not fully active.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/visualViewport)\n */\ndeclare var visualViewport: VisualViewport | null;\n/**\n * The **`window`** property of a Window object points to the window object itself.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/window)\n */\ndeclare var window: Window & typeof globalThis;\n/**\n * `window.alert()` instructs the browser to display a dialog with an optional message, and to wait until the user dismisses the dialog.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/alert)\n */\ndeclare function alert(message?: any): void;\n/**\n * The **`Window.blur()`** method does nothing.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/blur)\n */\ndeclare function blur(): void;\n/**\n * The **`window.cancelIdleCallback()`** method cancels a callback previously scheduled with window.requestIdleCallback().\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/cancelIdleCallback)\n */\ndeclare function cancelIdleCallback(handle: number): void;\n/**\n * The **`Window.captureEvents()`** method does nothing.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/captureEvents)\n */\ndeclare function captureEvents(): void;\n/**\n * The **`Window.close()`** method closes the current window, or the window on which it was called.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/close)\n */\ndeclare function close(): void;\n/**\n * `window.confirm()` instructs the browser to display a dialog with an optional message, and to wait until the user either confirms or cancels the dialog.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/confirm)\n */\ndeclare function confirm(message?: string): boolean;\n/**\n * Makes a request to bring the window to the front.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/focus)\n */\ndeclare function focus(): void;\n/**\n * The **`Window.getComputedStyle()`** method returns an object containing the values of all CSS properties of an element, after applying active stylesheets and resolving any basic computation those values may contain.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getComputedStyle)\n */\ndeclare function getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration;\n/**\n * The **`getSelection()`** method of the Window interface returns the Selection object associated with the window\'s document, representing the range of text selected by the user or the current position of the caret.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/getSelection)\n */\ndeclare function getSelection(): Selection | null;\n/**\n * The Window interface\'s **`matchMedia()`** method returns a new MediaQueryList object that can then be used to determine if the document matches the media query string, as well as to monitor the document to detect when it matches (or stops matching) that media query.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/matchMedia)\n */\ndeclare function matchMedia(query: string): MediaQueryList;\n/**\n * The **`moveBy()`** method of the Window interface moves the current window by a specified amount.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/moveBy)\n */\ndeclare function moveBy(x: number, y: number): void;\n/**\n * The **`moveTo()`** method of the Window interface moves the current window to the specified coordinates.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/moveTo)\n */\ndeclare function moveTo(x: number, y: number): void;\n/**\n * The **`open()`** method of the `Window` interface loads a specified resource into a new or existing browsing context (that is, a tab, a window, or an iframe) under a specified name.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/open)\n */\ndeclare function open(url?: string | URL, target?: string, features?: string): WindowProxy | null;\n/**\n * The **`window.postMessage()`** method safely enables cross-origin communication between Window objects; _e.g.,_ between a page and a pop-up that it spawned, or between a page and an iframe embedded within it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/postMessage)\n */\ndeclare function postMessage(message: any, targetOrigin: string, transfer?: Transferable[]): void;\ndeclare function postMessage(message: any, options?: WindowPostMessageOptions): void;\n/**\n * Opens the print dialog to print the current document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/print)\n */\ndeclare function print(): void;\n/**\n * `window.prompt()` instructs the browser to display a dialog with an optional message prompting the user to input some text, and to wait until the user either submits the text or cancels the dialog.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/prompt)\n */\ndeclare function prompt(message?: string, _default?: string): string | null;\n/**\n * Releases the window from trapping events of a specific type.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/releaseEvents)\n */\ndeclare function releaseEvents(): void;\n/**\n * The **`window.requestIdleCallback()`** method queues a function to be called during a browser\'s idle periods.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/requestIdleCallback)\n */\ndeclare function requestIdleCallback(callback: IdleRequestCallback, options?: IdleRequestOptions): number;\n/**\n * The **`Window.resizeBy()`** method resizes the current window by a specified amount.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/resizeBy)\n */\ndeclare function resizeBy(x: number, y: number): void;\n/**\n * The **`Window.resizeTo()`** method dynamically resizes the window.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/resizeTo)\n */\ndeclare function resizeTo(width: number, height: number): void;\n/**\n * The **`Window.scroll()`** method scrolls the window to a particular place in the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scroll)\n */\ndeclare function scroll(options?: ScrollToOptions): void;\ndeclare function scroll(x: number, y: number): void;\n/**\n * The **`Window.scrollBy()`** method scrolls the document in the window by the given amount.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollBy)\n */\ndeclare function scrollBy(options?: ScrollToOptions): void;\ndeclare function scrollBy(x: number, y: number): void;\n/**\n * **`Window.scrollTo()`** scrolls to a particular set of coordinates in the document.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/scrollTo)\n */\ndeclare function scrollTo(options?: ScrollToOptions): void;\ndeclare function scrollTo(x: number, y: number): void;\n/**\n * The **`window.stop()`** stops further resource loading in the current browsing context, equivalent to the stop button in the browser.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/stop)\n */\ndeclare function stop(): void;\ndeclare function toString(): string;\n/**\n * The **`dispatchEvent()`** method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)\n */\ndeclare function dispatchEvent(event: Event): boolean;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */\ndeclare function cancelAnimationFrame(handle: number): void;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */\ndeclare function requestAnimationFrame(callback: FrameRequestCallback): number;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/abort_event) */\ndeclare var onabort: ((this: Window, ev: UIEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationcancel_event) */\ndeclare var onanimationcancel: ((this: Window, ev: AnimationEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationend_event) */\ndeclare var onanimationend: ((this: Window, ev: AnimationEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationiteration_event) */\ndeclare var onanimationiteration: ((this: Window, ev: AnimationEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationstart_event) */\ndeclare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/auxclick_event) */\ndeclare var onauxclick: ((this: Window, ev: PointerEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforeinput_event) */\ndeclare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/beforematch_event) */\ndeclare var onbeforematch: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */\ndeclare var onbeforetoggle: ((this: Window, ev: ToggleEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/blur_event) */\ndeclare var onblur: ((this: Window, ev: FocusEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/cancel_event) */\ndeclare var oncancel: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canplay_event) */\ndeclare var oncanplay: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/canplaythrough_event) */\ndeclare var oncanplaythrough: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/change_event) */\ndeclare var onchange: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/click_event) */\ndeclare var onclick: ((this: Window, ev: PointerEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */\ndeclare var onclose: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextlost_event) */\ndeclare var oncontextlost: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event) */\ndeclare var oncontextmenu: ((this: Window, ev: PointerEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) */\ndeclare var oncontextrestored: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) */\ndeclare var oncopy: ((this: Window, ev: ClipboardEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/cuechange_event) */\ndeclare var oncuechange: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/cut_event) */\ndeclare var oncut: ((this: Window, ev: ClipboardEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/dblclick_event) */\ndeclare var ondblclick: ((this: Window, ev: MouseEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/drag_event) */\ndeclare var ondrag: ((this: Window, ev: DragEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragend_event) */\ndeclare var ondragend: ((this: Window, ev: DragEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragenter_event) */\ndeclare var ondragenter: ((this: Window, ev: DragEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragleave_event) */\ndeclare var ondragleave: ((this: Window, ev: DragEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragover_event) */\ndeclare var ondragover: ((this: Window, ev: DragEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dragstart_event) */\ndeclare var ondragstart: ((this: Window, ev: DragEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/drop_event) */\ndeclare var ondrop: ((this: Window, ev: DragEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/durationchange_event) */\ndeclare var ondurationchange: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/emptied_event) */\ndeclare var onemptied: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ended_event) */\ndeclare var onended: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/error_event) */\ndeclare var onerror: OnErrorEventHandler;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/focus_event) */\ndeclare var onfocus: ((this: Window, ev: FocusEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/formdata_event) */\ndeclare var onformdata: ((this: Window, ev: FormDataEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/gotpointercapture_event) */\ndeclare var ongotpointercapture: ((this: Window, ev: PointerEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/input_event) */\ndeclare var oninput: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/invalid_event) */\ndeclare var oninvalid: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/keydown_event) */\ndeclare var onkeydown: ((this: Window, ev: KeyboardEvent) => any) | null;\n/**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/keypress_event)\n */\ndeclare var onkeypress: ((this: Window, ev: KeyboardEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/keyup_event) */\ndeclare var onkeyup: ((this: Window, ev: KeyboardEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/load_event) */\ndeclare var onload: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadeddata_event) */\ndeclare var onloadeddata: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadedmetadata_event) */\ndeclare var onloadedmetadata: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/loadstart_event) */\ndeclare var onloadstart: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/lostpointercapture_event) */\ndeclare var onlostpointercapture: ((this: Window, ev: PointerEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mousedown_event) */\ndeclare var onmousedown: ((this: Window, ev: MouseEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseenter_event) */\ndeclare var onmouseenter: ((this: Window, ev: MouseEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseleave_event) */\ndeclare var onmouseleave: ((this: Window, ev: MouseEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mousemove_event) */\ndeclare var onmousemove: ((this: Window, ev: MouseEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseout_event) */\ndeclare var onmouseout: ((this: Window, ev: MouseEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseover_event) */\ndeclare var onmouseover: ((this: Window, ev: MouseEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/mouseup_event) */\ndeclare var onmouseup: ((this: Window, ev: MouseEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/paste_event) */\ndeclare var onpaste: ((this: Window, ev: ClipboardEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/pause_event) */\ndeclare var onpause: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/play_event) */\ndeclare var onplay: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/playing_event) */\ndeclare var onplaying: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointercancel_event) */\ndeclare var onpointercancel: ((this: Window, ev: PointerEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerdown_event) */\ndeclare var onpointerdown: ((this: Window, ev: PointerEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerenter_event) */\ndeclare var onpointerenter: ((this: Window, ev: PointerEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerleave_event) */\ndeclare var onpointerleave: ((this: Window, ev: PointerEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointermove_event) */\ndeclare var onpointermove: ((this: Window, ev: PointerEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerout_event) */\ndeclare var onpointerout: ((this: Window, ev: PointerEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerover_event) */\ndeclare var onpointerover: ((this: Window, ev: PointerEvent) => any) | null;\n/**\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerrawupdate_event)\n */\ndeclare var onpointerrawupdate: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/pointerup_event) */\ndeclare var onpointerup: ((this: Window, ev: PointerEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/progress_event) */\ndeclare var onprogress: ((this: Window, ev: ProgressEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/ratechange_event) */\ndeclare var onratechange: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/reset_event) */\ndeclare var onreset: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/resize_event) */\ndeclare var onresize: ((this: Window, ev: UIEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/scroll_event) */\ndeclare var onscroll: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/scrollend_event) */\ndeclare var onscrollend: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/securitypolicyviolation_event) */\ndeclare var onsecuritypolicyviolation: ((this: Window, ev: SecurityPolicyViolationEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeked_event) */\ndeclare var onseeked: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking_event) */\ndeclare var onseeking: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/select_event) */\ndeclare var onselect: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/selectionchange_event) */\ndeclare var onselectionchange: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/selectstart_event) */\ndeclare var onselectstart: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSlotElement/slotchange_event) */\ndeclare var onslotchange: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/stalled_event) */\ndeclare var onstalled: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFormElement/submit_event) */\ndeclare var onsubmit: ((this: Window, ev: SubmitEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/suspend_event) */\ndeclare var onsuspend: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/timeupdate_event) */\ndeclare var ontimeupdate: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/toggle_event) */\ndeclare var ontoggle: ((this: Window, ev: ToggleEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchcancel_event) */\ndeclare var ontouchcancel: ((this: Window, ev: TouchEvent) => any) | null | undefined;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchend_event) */\ndeclare var ontouchend: ((this: Window, ev: TouchEvent) => any) | null | undefined;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchmove_event) */\ndeclare var ontouchmove: ((this: Window, ev: TouchEvent) => any) | null | undefined;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchstart_event) */\ndeclare var ontouchstart: ((this: Window, ev: TouchEvent) => any) | null | undefined;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitioncancel_event) */\ndeclare var ontransitioncancel: ((this: Window, ev: TransitionEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionend_event) */\ndeclare var ontransitionend: ((this: Window, ev: TransitionEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionrun_event) */\ndeclare var ontransitionrun: ((this: Window, ev: TransitionEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionstart_event) */\ndeclare var ontransitionstart: ((this: Window, ev: TransitionEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/volumechange_event) */\ndeclare var onvolumechange: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waiting_event) */\ndeclare var onwaiting: ((this: Window, ev: Event) => any) | null;\n/**\n * @deprecated This is a legacy alias of `onanimationend`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationend_event)\n */\ndeclare var onwebkitanimationend: ((this: Window, ev: Event) => any) | null;\n/**\n * @deprecated This is a legacy alias of `onanimationiteration`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationiteration_event)\n */\ndeclare var onwebkitanimationiteration: ((this: Window, ev: Event) => any) | null;\n/**\n * @deprecated This is a legacy alias of `onanimationstart`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/animationstart_event)\n */\ndeclare var onwebkitanimationstart: ((this: Window, ev: Event) => any) | null;\n/**\n * @deprecated This is a legacy alias of `ontransitionend`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/transitionend_event)\n */\ndeclare var onwebkittransitionend: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/wheel_event) */\ndeclare var onwheel: ((this: Window, ev: WheelEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/afterprint_event) */\ndeclare var onafterprint: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/beforeprint_event) */\ndeclare var onbeforeprint: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/beforeunload_event) */\ndeclare var onbeforeunload: ((this: Window, ev: BeforeUnloadEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/gamepadconnected_event) */\ndeclare var ongamepadconnected: ((this: Window, ev: GamepadEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/gamepaddisconnected_event) */\ndeclare var ongamepaddisconnected: ((this: Window, ev: GamepadEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/hashchange_event) */\ndeclare var onhashchange: ((this: Window, ev: HashChangeEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/languagechange_event) */\ndeclare var onlanguagechange: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/message_event) */\ndeclare var onmessage: ((this: Window, ev: MessageEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/messageerror_event) */\ndeclare var onmessageerror: ((this: Window, ev: MessageEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/offline_event) */\ndeclare var onoffline: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/online_event) */\ndeclare var ononline: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pagehide_event) */\ndeclare var onpagehide: ((this: Window, ev: PageTransitionEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pagereveal_event) */\ndeclare var onpagereveal: ((this: Window, ev: PageRevealEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pageshow_event) */\ndeclare var onpageshow: ((this: Window, ev: PageTransitionEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/pageswap_event) */\ndeclare var onpageswap: ((this: Window, ev: PageSwapEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/popstate_event) */\ndeclare var onpopstate: ((this: Window, ev: PopStateEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/rejectionhandled_event) */\ndeclare var onrejectionhandled: ((this: Window, ev: PromiseRejectionEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/storage_event) */\ndeclare var onstorage: ((this: Window, ev: StorageEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unhandledrejection_event) */\ndeclare var onunhandledrejection: ((this: Window, ev: PromiseRejectionEvent) => any) | null;\n/**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event)\n */\ndeclare var onunload: ((this: Window, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/localStorage) */\ndeclare var localStorage: Storage;\n/**\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)\n */\ndeclare var caches: CacheStorage;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */\ndeclare var crossOriginIsolated: boolean;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */\ndeclare var crypto: Crypto;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */\ndeclare var indexedDB: IDBFactory;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */\ndeclare var isSecureContext: boolean;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */\ndeclare var origin: string;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */\ndeclare var performance: Performance;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */\ndeclare function atob(data: string): string;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */\ndeclare function btoa(data: string): string;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearInterval) */\ndeclare function clearInterval(id: number | undefined): void;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearTimeout) */\ndeclare function clearTimeout(id: number | undefined): void;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/createImageBitmap) */\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>;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */\ndeclare function fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/queueMicrotask) */\ndeclare function queueMicrotask(callback: VoidFunction): void;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/reportError) */\ndeclare function reportError(e: any): void;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setInterval) */\ndeclare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setTimeout) */\ndeclare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/structuredClone) */\ndeclare function structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/sessionStorage) */\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 AllowSharedBufferSource = ArrayBufferLike | ArrayBufferView<ArrayBufferLike>;\ntype AutoFill = AutoFillBase | `${OptionalPrefixToken<AutoFillSection>}${OptionalPrefixToken<AutoFillAddressKind>}${AutoFillField}${OptionalPostfixToken<AutoFillCredentialField>}`;\ntype AutoFillField = AutoFillNormalField | `${OptionalPrefixToken<AutoFillContactKind>}${AutoFillContactField}`;\ntype AutoFillSection = `section-${string}`;\ntype Base64URLString = string;\ntype BigInteger = Uint8Array<ArrayBuffer>;\ntype BlobPart = BufferSource | Blob | string;\ntype BodyInit = ReadableStream | XMLHttpRequestBodyInit;\ntype BufferSource = ArrayBufferView<ArrayBuffer> | ArrayBuffer;\ntype COSEAlgorithmIdentifier = number;\ntype CSSKeywordish = string | CSSKeywordValue;\ntype CSSNumberish = number | CSSNumericValue;\ntype CSSPerspectiveValue = CSSNumericValue | CSSKeywordish;\ntype CSSUnparsedSegment = string | CSSVariableReferenceValue;\ntype CanvasImageSource = HTMLOrSVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | OffscreenCanvas | VideoFrame;\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 CookieList = CookieListItem[];\ntype DOMHighResTimeStamp = number;\ntype EpochTimeStamp = number;\ntype EventListenerOrEventListenerObject = EventListener | EventListenerObject;\ntype FileSystemWriteChunkType = BufferSource | Blob | string | WriteParams;\ntype Float32List = Float32Array<ArrayBufferLike> | 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 ImageBufferSource = AllowSharedBufferSource | ReadableStream;\ntype ImageDataArray = Uint8ClampedArray<ArrayBuffer>;\ntype Int32List = Int32Array<ArrayBufferLike> | 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 OptionalPostfixToken<T extends string> = ` ${T}` | "";\ntype OptionalPrefixToken<T extends string> = `${T} ` | "";\ntype PerformanceEntryList = PerformanceEntry[];\ntype PublicKeyCredentialClientCapabilities = Record<string, boolean>;\ntype PublicKeyCredentialJSON = any;\ntype RTCRtpTransform = RTCRtpScriptTransform;\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 ReportList = Report[];\ntype RequestInfo = Request | string;\ntype TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;\ntype TimerHandler = string | Function;\ntype Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | AudioData | VideoFrame | RTCDataChannel | ArrayBuffer;\ntype Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];\ntype VibratePattern = number | number[];\ntype WindowProxy = Window;\ntype XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;\ntype AlignSetting = "center" | "end" | "left" | "right" | "start";\ntype AlphaOption = "discard" | "keep";\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" | "interrupted" | "running" | "suspended";\ntype AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";\ntype AuthenticatorAttachment = "cross-platform" | "platform";\ntype AuthenticatorTransport = "ble" | "hybrid" | "internal" | "nfc" | "usb";\ntype AutoFillAddressKind = "billing" | "shipping";\ntype AutoFillBase = "" | "off" | "on";\ntype AutoFillContactField = "email" | "tel" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-local-prefix" | "tel-local-suffix" | "tel-national";\ntype AutoFillContactKind = "home" | "mobile" | "work";\ntype AutoFillCredentialField = "webauthn";\ntype AutoFillNormalField = "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "bday-day" | "bday-month" | "bday-year" | "cc-csc" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-type" | "country" | "country-name" | "current-password" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "name" | "new-password" | "one-time-code" | "organization" | "postal-code" | "street-address" | "transaction-amount" | "transaction-currency" | "username";\ntype AutoKeyword = "auto";\ntype AutomationRate = "a-rate" | "k-rate";\ntype AvcBitstreamFormat = "annexb" | "avc";\ntype BinaryType = "arraybuffer" | "blob";\ntype BiquadFilterType = "allpass" | "bandpass" | "highpass" | "highshelf" | "lowpass" | "lowshelf" | "notch" | "peaking";\ntype BitrateMode = "constant" | "variable";\ntype CSSMathOperator = "clamp" | "invert" | "max" | "min" | "negate" | "product" | "sum";\ntype CSSNumericBaseType = "angle" | "flex" | "frequency" | "length" | "percent" | "resolution" | "time";\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 CodecState = "closed" | "configured" | "unconfigured";\ntype ColorGamut = "p3" | "rec2020" | "srgb";\ntype ColorSpaceConversion = "default" | "none";\ntype CompositeOperation = "accumulate" | "add" | "replace";\ntype CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace";\ntype CompressionFormat = "deflate" | "deflate-raw" | "gzip";\ntype CookieSameSite = "lax" | "none" | "strict";\ntype CredentialMediationRequirement = "conditional" | "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 EncodedAudioChunkType = "delta" | "key";\ntype EncodedVideoChunkType = "delta" | "key";\ntype EndOfStreamError = "decode" | "network";\ntype EndingType = "native" | "transparent";\ntype FileSystemHandleKind = "directory" | "file";\ntype FillLightMode = "auto" | "flash" | "off";\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 GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";\ntype GamepadHapticsResult = "complete" | "preempted";\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 HardwareAcceleration = "no-preference" | "prefer-hardware" | "prefer-software";\ntype HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";\ntype HighlightType = "grammar-error" | "highlight" | "spelling-error";\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" | "none";\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 LatencyMode = "quality" | "realtime";\ntype LineAlignSetting = "center" | "end" | "start";\ntype LockMode = "exclusive" | "shared";\ntype LoginStatus = "logged-in" | "logged-out";\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 NavigationType = "push" | "reload" | "replace" | "traverse";\ntype NotificationDirection = "auto" | "ltr" | "rtl";\ntype NotificationPermission = "default" | "denied" | "granted";\ntype OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";\ntype OpusBitstreamFormat = "ogg" | "opus";\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 PaymentShippingType = "delivery" | "pickup" | "shipping";\ntype PermissionName = "camera" | "geolocation" | "microphone" | "midi" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "storage-access";\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 RTCDtlsRole = "client" | "server" | "unknown";\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 RTCIceRole = "controlled" | "controlling" | "unknown";\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 RTCQualityLimitationReason = "bandwidth" | "cpu" | "none" | "other";\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-playout" | "media-source" | "outbound-rtp" | "peer-connection" | "remote-candidate" | "remote-inbound-rtp" | "remote-outbound-rtp" | "transport";\ntype ReadableStreamReaderMode = "byob";\ntype ReadableStreamType = "bytes";\ntype ReadyState = "closed" | "ended" | "open";\ntype RecordingState = "inactive" | "paused" | "recording";\ntype RedEyeReduction = "always" | "controllable" | "never";\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 RequestPriority = "auto" | "high" | "low";\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" | "instant" | "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 VideoEncoderBitrateMode = "constant" | "quantizer" | "variable";\ntype VideoFacingModeEnum = "environment" | "left" | "right" | "user";\ntype VideoMatrixCoefficients = "bt470bg" | "bt709" | "rgb" | "smpte170m";\ntype VideoPixelFormat = "BGRA" | "BGRX" | "I420" | "I420A" | "I422" | "I444" | "NV12" | "RGBA" | "RGBX";\ntype VideoTransferCharacteristics = "bt709" | "iec61966-2-1" | "smpte170m";\ntype WakeLockType = "screen";\ntype WebGLPowerPreference = "default" | "high-performance" | "low-power";\ntype WebTransportCongestionControl = "default" | "low-latency" | "throughput";\ntype WebTransportErrorSource = "session" | "stream";\ntype WorkerType = "classic" | "module";\ntype WriteCommandType = "seek" | "truncate" | "write";\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 /**\n * The **`setValueCurveAtTime()`** method of the following a curve defined by a list of values.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime)\n */\n setValueCurveAtTime(values: Iterable<number>, startTime: number, duration: number): AudioParam;\n}\n\ninterface AudioParamMap extends ReadonlyMap<string, AudioParam> {\n}\n\ninterface BaseAudioContext {\n /**\n * The **`createIIRFilter()`** method of the BaseAudioContext interface creates an IIRFilterNode, which represents a general **infinite impulse response** (IIR) filter which can be configured to serve as various types of filter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createIIRFilter)\n */\n createIIRFilter(feedforward: Iterable<number>, feedback: Iterable<number>): IIRFilterNode;\n /**\n * The `createPeriodicWave()` method of the BaseAudioContext interface is used to create a PeriodicWave.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createPeriodicWave)\n */\n createPeriodicWave(real: Iterable<number>, imag: Iterable<number>, constraints?: PeriodicWaveConstraints): PeriodicWave;\n}\n\ninterface CSSKeyframesRule {\n [Symbol.iterator](): ArrayIterator<CSSKeyframeRule>;\n}\n\ninterface CSSNumericArray {\n [Symbol.iterator](): ArrayIterator<CSSNumericValue>;\n entries(): ArrayIterator<[number, CSSNumericValue]>;\n keys(): ArrayIterator<number>;\n values(): ArrayIterator<CSSNumericValue>;\n}\n\ninterface CSSRuleList {\n [Symbol.iterator](): ArrayIterator<CSSRule>;\n}\n\ninterface CSSStyleDeclaration {\n [Symbol.iterator](): ArrayIterator<string>;\n}\n\ninterface CSSTransformValue {\n [Symbol.iterator](): ArrayIterator<CSSTransformComponent>;\n entries(): ArrayIterator<[number, CSSTransformComponent]>;\n keys(): ArrayIterator<number>;\n values(): ArrayIterator<CSSTransformComponent>;\n}\n\ninterface CSSUnparsedValue {\n [Symbol.iterator](): ArrayIterator<CSSUnparsedSegment>;\n entries(): ArrayIterator<[number, CSSUnparsedSegment]>;\n keys(): ArrayIterator<number>;\n values(): ArrayIterator<CSSUnparsedSegment>;\n}\n\ninterface Cache {\n /**\n * The **`addAll()`** method of the Cache interface takes an array of URLs, retrieves them, and adds the resulting response objects to the given cache.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll)\n */\n addAll(requests: Iterable<RequestInfo>): Promise<void>;\n}\n\ninterface CanvasPath {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) */\n roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;\n}\n\ninterface CanvasPathDrawingStyles {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash) */\n setLineDash(segments: Iterable<number>): void;\n}\n\ninterface CookieStoreManager {\n /**\n * The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)\n */\n subscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;\n /**\n * The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)\n */\n unsubscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;\n}\n\ninterface CustomStateSet extends Set<string> {\n}\n\ninterface DOMRectList {\n [Symbol.iterator](): ArrayIterator<DOMRect>;\n}\n\ninterface DOMStringList {\n [Symbol.iterator](): ArrayIterator<string>;\n}\n\ninterface DOMTokenList {\n [Symbol.iterator](): ArrayIterator<string>;\n entries(): ArrayIterator<[number, string]>;\n keys(): ArrayIterator<number>;\n values(): ArrayIterator<string>;\n}\n\ninterface DataTransferItemList {\n [Symbol.iterator](): ArrayIterator<DataTransferItem>;\n}\n\ninterface EventCounts extends ReadonlyMap<string, number> {\n}\n\ninterface FileList {\n [Symbol.iterator](): ArrayIterator<File>;\n}\n\ninterface FontFaceSet extends Set<FontFace> {\n}\n\ninterface FormDataIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {\n [Symbol.iterator](): FormDataIterator<T>;\n}\n\ninterface FormData {\n [Symbol.iterator](): FormDataIterator<[string, FormDataEntryValue]>;\n /** Returns an array of key, value pairs for every entry in the list. */\n entries(): FormDataIterator<[string, FormDataEntryValue]>;\n /** Returns a list of keys in the list. */\n keys(): FormDataIterator<string>;\n /** Returns a list of values in the list. */\n values(): FormDataIterator<FormDataEntryValue>;\n}\n\ninterface HTMLAllCollection {\n [Symbol.iterator](): ArrayIterator<Element>;\n}\n\ninterface HTMLCollectionBase {\n [Symbol.iterator](): ArrayIterator<Element>;\n}\n\ninterface HTMLCollectionOf<T extends Element> {\n [Symbol.iterator](): ArrayIterator<T>;\n}\n\ninterface HTMLFormElement {\n [Symbol.iterator](): ArrayIterator<Element>;\n}\n\ninterface HTMLSelectElement {\n [Symbol.iterator](): ArrayIterator<HTMLOptionElement>;\n}\n\ninterface HeadersIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {\n [Symbol.iterator](): HeadersIterator<T>;\n}\n\ninterface Headers {\n [Symbol.iterator](): HeadersIterator<[string, string]>;\n /** Returns an iterator allowing to go through all key/value pairs contained in this object. */\n entries(): HeadersIterator<[string, string]>;\n /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */\n keys(): HeadersIterator<string>;\n /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */\n values(): HeadersIterator<string>;\n}\n\ninterface Highlight extends Set<AbstractRange> {\n}\n\ninterface HighlightRegistry extends Map<string, Highlight> {\n}\n\ninterface IDBDatabase {\n /**\n * The **`transaction`** method of the IDBDatabase interface immediately returns a transaction object (IDBTransaction) containing the IDBTransaction.objectStore method, which you can use to access your object store.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)\n */\n transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction;\n}\n\ninterface IDBObjectStore {\n /**\n * The **`createIndex()`** method of the field/column defining a new data point for each database record to contain.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)\n */\n createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;\n}\n\ninterface ImageTrackList {\n [Symbol.iterator](): ArrayIterator<ImageTrack>;\n}\n\ninterface MIDIInputMap extends ReadonlyMap<string, MIDIInput> {\n}\n\ninterface MIDIOutput {\n /**\n * The **`send()`** method of the MIDIOutput interface queues messages for the corresponding MIDI port.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIOutput/send)\n */\n send(data: Iterable<number>, timestamp?: DOMHighResTimeStamp): void;\n}\n\ninterface MIDIOutputMap extends ReadonlyMap<string, MIDIOutput> {\n}\n\ninterface MediaKeyStatusMapIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {\n [Symbol.iterator](): MediaKeyStatusMapIterator<T>;\n}\n\ninterface MediaKeyStatusMap {\n [Symbol.iterator](): MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>;\n entries(): MediaKeyStatusMapIterator<[BufferSource, MediaKeyStatus]>;\n keys(): MediaKeyStatusMapIterator<BufferSource>;\n values(): MediaKeyStatusMapIterator<MediaKeyStatus>;\n}\n\ninterface MediaList {\n [Symbol.iterator](): ArrayIterator<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](): ArrayIterator<MimeType>;\n}\n\ninterface NamedNodeMap {\n [Symbol.iterator](): ArrayIterator<Attr>;\n}\n\ninterface Navigator {\n /**\n * The **`requestMediaKeySystemAccess()`** method of the Navigator interface returns a Promise which delivers a MediaKeySystemAccess object that can be used to access a particular media key system, which can in turn be used to create keys for decrypting a media stream.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/requestMediaKeySystemAccess)\n */\n requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>): Promise<MediaKeySystemAccess>;\n /**\n * The **`vibrate()`** method of the Navigator interface pulses the vibration hardware on the device, if such hardware exists.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vibrate)\n */\n vibrate(pattern: Iterable<number>): boolean;\n}\n\ninterface NodeList {\n [Symbol.iterator](): ArrayIterator<Node>;\n /** Returns an array of key, value pairs for every entry in the list. */\n entries(): ArrayIterator<[number, Node]>;\n /** Returns an list of keys in the list. */\n keys(): ArrayIterator<number>;\n /** Returns an list of values in the list. */\n values(): ArrayIterator<Node>;\n}\n\ninterface NodeListOf<TNode extends Node> {\n [Symbol.iterator](): ArrayIterator<TNode>;\n /** Returns an array of key, value pairs for every entry in the list. */\n entries(): ArrayIterator<[number, TNode]>;\n /** Returns an list of keys in the list. */\n keys(): ArrayIterator<number>;\n /** Returns an list of values in the list. */\n values(): ArrayIterator<TNode>;\n}\n\ninterface Plugin {\n [Symbol.iterator](): ArrayIterator<MimeType>;\n}\n\ninterface PluginArray {\n [Symbol.iterator](): ArrayIterator<Plugin>;\n}\n\ninterface RTCRtpTransceiver {\n /**\n * The **`setCodecPreferences()`** method of the RTCRtpTransceiver interface is used to set the codecs that the transceiver allows for decoding _received_ data, in order of decreasing preference.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences)\n */\n setCodecPreferences(codecs: Iterable<RTCRtpCodec>): void;\n}\n\ninterface RTCStatsReport extends ReadonlyMap<string, any> {\n}\n\ninterface SVGLengthList {\n [Symbol.iterator](): ArrayIterator<SVGLength>;\n}\n\ninterface SVGNumberList {\n [Symbol.iterator](): ArrayIterator<SVGNumber>;\n}\n\ninterface SVGPointList {\n [Symbol.iterator](): ArrayIterator<DOMPoint>;\n}\n\ninterface SVGStringList {\n [Symbol.iterator](): ArrayIterator<string>;\n}\n\ninterface SVGTransformList {\n [Symbol.iterator](): ArrayIterator<SVGTransform>;\n}\n\ninterface SourceBufferList {\n [Symbol.iterator](): ArrayIterator<SourceBuffer>;\n}\n\ninterface SpeechRecognitionResult {\n [Symbol.iterator](): ArrayIterator<SpeechRecognitionAlternative>;\n}\n\ninterface SpeechRecognitionResultList {\n [Symbol.iterator](): ArrayIterator<SpeechRecognitionResult>;\n}\n\ninterface StylePropertyMapReadOnlyIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {\n [Symbol.iterator](): StylePropertyMapReadOnlyIterator<T>;\n}\n\ninterface StylePropertyMapReadOnly {\n [Symbol.iterator](): StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>;\n entries(): StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>;\n keys(): StylePropertyMapReadOnlyIterator<string>;\n values(): StylePropertyMapReadOnlyIterator<Iterable<CSSStyleValue>>;\n}\n\ninterface StyleSheetList {\n [Symbol.iterator](): ArrayIterator<CSSStyleSheet>;\n}\n\ninterface SubtleCrypto {\n /**\n * The **`deriveKey()`** method of the SubtleCrypto interface can be used to derive a secret key from a master key.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey)\n */\n deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;\n /**\n * The **`generateKey()`** method of the SubtleCrypto interface is used to generate a new key (for symmetric algorithms) or key pair (for public-key algorithms).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey)\n */\n generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;\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 /**\n * The **`importKey()`** method of the SubtleCrypto interface imports a key: that is, it takes as input a key in an external, portable format and gives you a CryptoKey object that you can use in the Web Crypto API.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey)\n */\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 /**\n * The **`unwrapKey()`** method of the SubtleCrypto interface \'unwraps\' a key.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey)\n */\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](): ArrayIterator<TextTrackCue>;\n}\n\ninterface TextTrackList {\n [Symbol.iterator](): ArrayIterator<TextTrack>;\n}\n\ninterface TouchList {\n [Symbol.iterator](): ArrayIterator<Touch>;\n}\n\ninterface URLSearchParamsIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {\n [Symbol.iterator](): URLSearchParamsIterator<T>;\n}\n\ninterface URLSearchParams {\n [Symbol.iterator](): URLSearchParamsIterator<[string, string]>;\n /** Returns an array of key, value pairs for every entry in the search params. */\n entries(): URLSearchParamsIterator<[string, string]>;\n /** Returns a list of keys in the search params. */\n keys(): URLSearchParamsIterator<string>;\n /** Returns a list of values in the search params. */\n values(): URLSearchParamsIterator<string>;\n}\n\ninterface ViewTransitionTypeSet extends Set<string> {\n}\n\ninterface WEBGL_draw_buffers {\n /**\n * The **`WEBGL_draw_buffers.drawBuffersWEBGL()`** method is part of the WebGL API and allows you to define the draw buffers to which all fragment colors are written.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL)\n */\n drawBuffersWEBGL(buffers: Iterable<GLenum>): void;\n}\n\ninterface WEBGL_multi_draw {\n /**\n * The **`WEBGL_multi_draw.multiDrawArraysInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)\n */\n multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>, firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;\n /**\n * The **`WEBGL_multi_draw.multiDrawArraysWEBGL()`** method of the WebGL API renders multiple primitives from array data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL)\n */\n multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>, firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, drawcount: GLsizei): void;\n /**\n * The **`WEBGL_multi_draw.multiDrawElementsInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)\n */\n multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, offsetsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;\n /**\n * The **`WEBGL_multi_draw.multiDrawElementsWEBGL()`** method of the WebGL API renders multiple primitives from array data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL)\n */\n multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void;\n}\n\ninterface WebGL2RenderingContextBase {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */\n clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */\n clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */\n clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */\n drawBuffers(buffers: Iterable<GLenum>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */\n getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */\n getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): GLuint[] | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */\n invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */\n invalidateSubFramebuffer(target: GLenum, attachments: Iterable<GLenum>, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */\n transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */\n vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */\n vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;\n}\n\ninterface WebGL2RenderingContextOverloads {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n}\n\ninterface WebGLRenderingContextBase {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;\n}\n\ninterface WebGLRenderingContextOverloads {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */\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 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 WeakKey, 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 or symbol.\n */\n set(key: K, value: V): this;\n}\n\ninterface WeakMapConstructor {\n new <K extends WeakKey = WeakKey, V = any>(entries?: readonly (readonly [K, V])[] | null): WeakMap<K, V>;\n readonly prototype: WeakMap<WeakKey, 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 WeakKey> {\n /**\n * Appends a new value 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 a value exists in the WeakSet or not.\n */\n has(value: T): boolean;\n}\n\ninterface WeakSetConstructor {\n new <T extends WeakKey = WeakKey>(values?: readonly T[] | null): WeakSet<T>;\n readonly prototype: WeakSet<WeakKey>;\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 toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;\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 10−16.\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 toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;\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\ninterface Int8Array<TArrayBuffer extends ArrayBufferLike> {\n toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;\n}\n\ninterface Uint8Array<TArrayBuffer extends ArrayBufferLike> {\n toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;\n}\n\ninterface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> {\n toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;\n}\n\ninterface Int16Array<TArrayBuffer extends ArrayBufferLike> {\n toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;\n}\n\ninterface Uint16Array<TArrayBuffer extends ArrayBufferLike> {\n toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;\n}\n\ninterface Int32Array<TArrayBuffer extends ArrayBufferLike> {\n toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;\n}\n\ninterface Uint32Array<TArrayBuffer extends ArrayBufferLike> {\n toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;\n}\n\ninterface Float32Array<TArrayBuffer extends ArrayBufferLike> {\n toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;\n}\n\ninterface Float64Array<TArrayBuffer extends ArrayBufferLike> {\n toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): 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 = any> extends IteratorObject<T, TReturn, TNext> {\n // NOTE: \'next\' is defined using a tuple to ensure we report the correct assignability errors in all places.\n next(...[value]: [] | [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 = any> {\n // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.\n next(...[value]: [] | [TNext]): IteratorResult<T, TReturn>;\n return?(value?: TReturn): IteratorResult<T, TReturn>;\n throw?(e?: any): IteratorResult<T, TReturn>;\n}\n\ninterface Iterable<T, TReturn = any, TNext = any> {\n [Symbol.iterator](): Iterator<T, TReturn, TNext>;\n}\n\n/**\n * Describes a user-defined {@link Iterator} that is also iterable.\n */\ninterface IterableIterator<T, TReturn = any, TNext = any> extends Iterator<T, TReturn, TNext> {\n [Symbol.iterator](): IterableIterator<T, TReturn, TNext>;\n}\n\n/**\n * Describes an {@link Iterator} produced by the runtime that inherits from the intrinsic `Iterator.prototype`.\n */\ninterface IteratorObject<T, TReturn = unknown, TNext = unknown> extends Iterator<T, TReturn, TNext> {\n [Symbol.iterator](): IteratorObject<T, TReturn, TNext>;\n}\n\n/**\n * Defines the `TReturn` type used for built-in iterators produced by `Array`, `Map`, `Set`, and others.\n * This is `undefined` when `strictBuiltInIteratorReturn` is `true`; otherwise, this is `any`.\n */\ntype BuiltinIteratorReturn = intrinsic;\n\ninterface ArrayIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {\n [Symbol.iterator](): ArrayIterator<T>;\n}\n\ninterface Array<T> {\n /** Iterator */\n [Symbol.iterator](): ArrayIterator<T>;\n\n /**\n * Returns an iterable of key, value pairs for every entry in the array\n */\n entries(): ArrayIterator<[number, T]>;\n\n /**\n * Returns an iterable of keys in the array\n */\n keys(): ArrayIterator<number>;\n\n /**\n * Returns an iterable of values in the array\n */\n values(): ArrayIterator<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](): ArrayIterator<T>;\n\n /**\n * Returns an iterable of key, value pairs for every entry in the array\n */\n entries(): ArrayIterator<[number, T]>;\n\n /**\n * Returns an iterable of keys in the array\n */\n keys(): ArrayIterator<number>;\n\n /**\n * Returns an iterable of values in the array\n */\n values(): ArrayIterator<T>;\n}\n\ninterface IArguments {\n /** Iterator */\n [Symbol.iterator](): ArrayIterator<any>;\n}\n\ninterface MapIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {\n [Symbol.iterator](): MapIterator<T>;\n}\n\ninterface Map<K, V> {\n /** Returns an iterable of entries in the map. */\n [Symbol.iterator](): MapIterator<[K, V]>;\n\n /**\n * Returns an iterable of key, value pairs for every entry in the map.\n */\n entries(): MapIterator<[K, V]>;\n\n /**\n * Returns an iterable of keys in the map\n */\n keys(): MapIterator<K>;\n\n /**\n * Returns an iterable of values in the map\n */\n values(): MapIterator<V>;\n}\n\ninterface ReadonlyMap<K, V> {\n /** Returns an iterable of entries in the map. */\n [Symbol.iterator](): MapIterator<[K, V]>;\n\n /**\n * Returns an iterable of key, value pairs for every entry in the map.\n */\n entries(): MapIterator<[K, V]>;\n\n /**\n * Returns an iterable of keys in the map\n */\n keys(): MapIterator<K>;\n\n /**\n * Returns an iterable of values in the map\n */\n values(): MapIterator<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 WeakKey, V> {}\n\ninterface WeakMapConstructor {\n new <K extends WeakKey, V>(iterable: Iterable<readonly [K, V]>): WeakMap<K, V>;\n}\n\ninterface SetIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {\n [Symbol.iterator](): SetIterator<T>;\n}\n\ninterface Set<T> {\n /** Iterates over values in the set. */\n [Symbol.iterator](): SetIterator<T>;\n\n /**\n * Returns an iterable of [v,v] pairs for every value `v` in the set.\n */\n entries(): SetIterator<[T, T]>;\n\n /**\n * Despite its name, returns an iterable of the values in the set.\n */\n keys(): SetIterator<T>;\n\n /**\n * Returns an iterable of values in the set.\n */\n values(): SetIterator<T>;\n}\n\ninterface ReadonlySet<T> {\n /** Iterates over values in the set. */\n [Symbol.iterator](): SetIterator<T>;\n\n /**\n * Returns an iterable of [v,v] pairs for every value `v` in the set.\n */\n entries(): SetIterator<[T, T]>;\n\n /**\n * Despite its name, returns an iterable of the values in the set.\n */\n keys(): SetIterator<T>;\n\n /**\n * Returns an iterable of values in the set.\n */\n values(): SetIterator<T>;\n}\n\ninterface SetConstructor {\n new <T>(iterable?: Iterable<T> | null): Set<T>;\n}\n\ninterface WeakSet<T extends WeakKey> {}\n\ninterface WeakSetConstructor {\n new <T extends WeakKey = WeakKey>(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 StringIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {\n [Symbol.iterator](): StringIterator<T>;\n}\n\ninterface String {\n /** Iterator */\n [Symbol.iterator](): StringIterator<string>;\n}\n\ninterface Int8Array<TArrayBuffer extends ArrayBufferLike> {\n [Symbol.iterator](): ArrayIterator<number>;\n\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): ArrayIterator<[number, number]>;\n\n /**\n * Returns an list of keys in the array\n */\n keys(): ArrayIterator<number>;\n\n /**\n * Returns an list of values in the array\n */\n values(): ArrayIterator<number>;\n}\n\ninterface Int8ArrayConstructor {\n new (elements: Iterable<number>): Int8Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements An iterable object to convert to an array.\n */\n from(elements: Iterable<number>): Int8Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements 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>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Int8Array<ArrayBuffer>;\n}\n\ninterface Uint8Array<TArrayBuffer extends ArrayBufferLike> {\n [Symbol.iterator](): ArrayIterator<number>;\n\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): ArrayIterator<[number, number]>;\n\n /**\n * Returns an list of keys in the array\n */\n keys(): ArrayIterator<number>;\n\n /**\n * Returns an list of values in the array\n */\n values(): ArrayIterator<number>;\n}\n\ninterface Uint8ArrayConstructor {\n new (elements: Iterable<number>): Uint8Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements An iterable object to convert to an array.\n */\n from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements 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>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;\n}\n\ninterface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> {\n [Symbol.iterator](): ArrayIterator<number>;\n\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): ArrayIterator<[number, number]>;\n\n /**\n * Returns an list of keys in the array\n */\n keys(): ArrayIterator<number>;\n\n /**\n * Returns an list of values in the array\n */\n values(): ArrayIterator<number>;\n}\n\ninterface Uint8ClampedArrayConstructor {\n new (elements: Iterable<number>): Uint8ClampedArray<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements An iterable object to convert to an array.\n */\n from(elements: Iterable<number>): Uint8ClampedArray<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements 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>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray<ArrayBuffer>;\n}\n\ninterface Int16Array<TArrayBuffer extends ArrayBufferLike> {\n [Symbol.iterator](): ArrayIterator<number>;\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): ArrayIterator<[number, number]>;\n\n /**\n * Returns an list of keys in the array\n */\n keys(): ArrayIterator<number>;\n\n /**\n * Returns an list of values in the array\n */\n values(): ArrayIterator<number>;\n}\n\ninterface Int16ArrayConstructor {\n new (elements: Iterable<number>): Int16Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements An iterable object to convert to an array.\n */\n from(elements: Iterable<number>): Int16Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements 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>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Int16Array<ArrayBuffer>;\n}\n\ninterface Uint16Array<TArrayBuffer extends ArrayBufferLike> {\n [Symbol.iterator](): ArrayIterator<number>;\n\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): ArrayIterator<[number, number]>;\n\n /**\n * Returns an list of keys in the array\n */\n keys(): ArrayIterator<number>;\n\n /**\n * Returns an list of values in the array\n */\n values(): ArrayIterator<number>;\n}\n\ninterface Uint16ArrayConstructor {\n new (elements: Iterable<number>): Uint16Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements An iterable object to convert to an array.\n */\n from(elements: Iterable<number>): Uint16Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements 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>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint16Array<ArrayBuffer>;\n}\n\ninterface Int32Array<TArrayBuffer extends ArrayBufferLike> {\n [Symbol.iterator](): ArrayIterator<number>;\n\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): ArrayIterator<[number, number]>;\n\n /**\n * Returns an list of keys in the array\n */\n keys(): ArrayIterator<number>;\n\n /**\n * Returns an list of values in the array\n */\n values(): ArrayIterator<number>;\n}\n\ninterface Int32ArrayConstructor {\n new (elements: Iterable<number>): Int32Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements An iterable object to convert to an array.\n */\n from(elements: Iterable<number>): Int32Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements 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>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Int32Array<ArrayBuffer>;\n}\n\ninterface Uint32Array<TArrayBuffer extends ArrayBufferLike> {\n [Symbol.iterator](): ArrayIterator<number>;\n\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): ArrayIterator<[number, number]>;\n\n /**\n * Returns an list of keys in the array\n */\n keys(): ArrayIterator<number>;\n\n /**\n * Returns an list of values in the array\n */\n values(): ArrayIterator<number>;\n}\n\ninterface Uint32ArrayConstructor {\n new (elements: Iterable<number>): Uint32Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements An iterable object to convert to an array.\n */\n from(elements: Iterable<number>): Uint32Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements 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>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint32Array<ArrayBuffer>;\n}\n\ninterface Float32Array<TArrayBuffer extends ArrayBufferLike> {\n [Symbol.iterator](): ArrayIterator<number>;\n\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): ArrayIterator<[number, number]>;\n\n /**\n * Returns an list of keys in the array\n */\n keys(): ArrayIterator<number>;\n\n /**\n * Returns an list of values in the array\n */\n values(): ArrayIterator<number>;\n}\n\ninterface Float32ArrayConstructor {\n new (elements: Iterable<number>): Float32Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements An iterable object to convert to an array.\n */\n from(elements: Iterable<number>): Float32Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements 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>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Float32Array<ArrayBuffer>;\n}\n\ninterface Float64Array<TArrayBuffer extends ArrayBufferLike> {\n [Symbol.iterator](): ArrayIterator<number>;\n\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): ArrayIterator<[number, number]>;\n\n /**\n * Returns an list of keys in the array\n */\n keys(): ArrayIterator<number>;\n\n /**\n * Returns an list of values in the array\n */\n values(): ArrayIterator<number>;\n}\n\ninterface Float64ArrayConstructor {\n new (elements: Iterable<number>): Float64Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements An iterable object to convert to an array.\n */\n from(elements: Iterable<number>): Float64Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements 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>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Float64Array<ArrayBuffer>;\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;\n',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 * constructor’s 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 WeakKey, V> {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Set<T> {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface WeakSet<T extends WeakKey> {\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]: "ArrayBuffer";\n}\n\ninterface DataView<TArrayBuffer extends ArrayBufferLike> {\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface Int8Array<TArrayBuffer extends ArrayBufferLike> {\n readonly [Symbol.toStringTag]: "Int8Array";\n}\n\ninterface Uint8Array<TArrayBuffer extends ArrayBufferLike> {\n readonly [Symbol.toStringTag]: "Uint8Array";\n}\n\ninterface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> {\n readonly [Symbol.toStringTag]: "Uint8ClampedArray";\n}\n\ninterface Int16Array<TArrayBuffer extends ArrayBufferLike> {\n readonly [Symbol.toStringTag]: "Int16Array";\n}\n\ninterface Uint16Array<TArrayBuffer extends ArrayBufferLike> {\n readonly [Symbol.toStringTag]: "Uint16Array";\n}\n\ninterface Int32Array<TArrayBuffer extends ArrayBufferLike> {\n readonly [Symbol.toStringTag]: "Int32Array";\n}\n\ninterface Uint32Array<TArrayBuffer extends ArrayBufferLike> {\n readonly [Symbol.toStringTag]: "Uint32Array";\n}\n\ninterface Float32Array<TArrayBuffer extends ArrayBufferLike> {\n readonly [Symbol.toStringTag]: "Float32Array";\n}\n\ninterface Float64Array<TArrayBuffer extends ArrayBufferLike> {\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<TArrayBuffer extends ArrayBufferLike> {\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<TArrayBuffer extends ArrayBufferLike> {\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<TArrayBuffer extends ArrayBufferLike> {\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<TArrayBuffer extends ArrayBufferLike> {\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<TArrayBuffer extends ArrayBufferLike> {\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<TArrayBuffer extends ArrayBufferLike> {\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<TArrayBuffer extends ArrayBufferLike> {\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<TArrayBuffer extends ArrayBufferLike> {\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<TArrayBuffer extends ArrayBufferLike> {\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',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" />\n/// <reference lib="es2016.intl" />\n',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" />\n',ji["lib.es2016.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 * The `Intl.getCanonicalLocales()` method returns an array containing\n * the canonical locale names. Duplicates will be omitted and elements\n * will be validated as structurally valid language tags.\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/getCanonicalLocales)\n *\n * @param locale A list of String values for which to get the canonical locale names\n * @returns An array containing the canonical and validated locale names.\n */\n function getCanonicalLocales(locale?: string | readonly string[]): string[];\n}\n',ji["lib.es2017.arraybuffer.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 ArrayBufferConstructor {\n new (): ArrayBuffer;\n}\n',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.arraybuffer" />\n/// <reference lib="es2017.date" />\n/// <reference lib="es2017.intl" />\n/// <reference lib="es2017.object" />\n/// <reference lib="es2017.sharedmemory" />\n/// <reference lib="es2017.string" />\n/// <reference lib="es2017.typedarrays" />\n',ji["lib.es2017.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\ninterface DateConstructor {\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}\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" />\n',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 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 own 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 own 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 own 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 own 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.toStringTag]: "SharedArrayBuffer";\n}\n\ninterface SharedArrayBufferConstructor {\n readonly prototype: SharedArrayBuffer;\n new (byteLength?: number): SharedArrayBuffer;\n readonly [Symbol.species]: SharedArrayBufferConstructor;\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<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, 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<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, 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<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, 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<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, 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<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, 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<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, 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<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, 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<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, 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<ArrayBufferLike>, 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<ArrayBufferLike>.\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<ArrayBufferLike>, 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<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, 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<ArrayBuffer>;\n}\n\ninterface Uint8ArrayConstructor {\n new (): Uint8Array<ArrayBuffer>;\n}\n\ninterface Uint8ClampedArrayConstructor {\n new (): Uint8ClampedArray<ArrayBuffer>;\n}\n\ninterface Int16ArrayConstructor {\n new (): Int16Array<ArrayBuffer>;\n}\n\ninterface Uint16ArrayConstructor {\n new (): Uint16Array<ArrayBuffer>;\n}\n\ninterface Int32ArrayConstructor {\n new (): Int32Array<ArrayBuffer>;\n}\n\ninterface Uint32ArrayConstructor {\n new (): Uint32Array<ArrayBuffer>;\n}\n\ninterface Float32ArrayConstructor {\n new (): Float32Array<ArrayBuffer>;\n}\n\ninterface Float64ArrayConstructor {\n new (): Float64Array<ArrayBuffer>;\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 = any> extends AsyncIteratorObject<T, TReturn, TNext> {\n // NOTE: \'next\' is defined using a tuple to ensure we report the correct assignability errors in all places.\n next(...[value]: [] | [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 = any> {\n // NOTE: \'next\' is defined using a tuple to ensure we report the correct assignability errors in all places.\n next(...[value]: [] | [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, TReturn = any, TNext = any> {\n [Symbol.asyncIterator](): AsyncIterator<T, TReturn, TNext>;\n}\n\n/**\n * Describes a user-defined {@link AsyncIterator} that is also async iterable.\n */\ninterface AsyncIterableIterator<T, TReturn = any, TNext = any> extends AsyncIterator<T, TReturn, TNext> {\n [Symbol.asyncIterator](): AsyncIterableIterator<T, TReturn, TNext>;\n}\n\n/**\n * Describes an {@link AsyncIterator} produced by the runtime that inherits from the intrinsic `AsyncIterator.prototype`.\n */\ninterface AsyncIteratorObject<T, TReturn = unknown, TNext = unknown> extends AsyncIterator<T, TReturn, TNext> {\n [Symbol.asyncIterator](): AsyncIteratorObject<T, TReturn, TNext>;\n}\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" />\n/// <reference lib="dom.asynciterable" />\n',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 // 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 interface PluralRulesConstructor {\n new (locales?: string | readonly string[], options?: PluralRulesOptions): PluralRules;\n (locales?: string | readonly string[], options?: PluralRulesOptions): PluralRules;\n supportedLocalesOf(locales: string | readonly string[], options?: { localeMatcher?: "lookup" | "best fit"; }): string[];\n }\n\n const PluralRules: PluralRulesConstructor;\n\n interface NumberFormatPartTypeRegistry {\n literal: never;\n nan: never;\n infinity: never;\n percent: never;\n integer: never;\n group: never;\n decimal: never;\n fraction: never;\n plusSign: never;\n minusSign: never;\n percentSign: never;\n currency: never;\n }\n\n type NumberFormatPartTypes = keyof NumberFormatPartTypeRegistry;\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}\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> ? 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 * 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\ninterface Array<T> {\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/// <reference lib="dom.asynciterable" />\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: never;\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/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<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {\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: TArrayBuffer;\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(): ArrayIterator<[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<TArrayBuffer>) => 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<TArrayBuffer>) => any, thisArg?: any): BigInt64Array<ArrayBuffer>;\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<TArrayBuffer>) => 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<TArrayBuffer>) => 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<TArrayBuffer>) => 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(): ArrayIterator<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<TArrayBuffer>) => bigint, thisArg?: any): BigInt64Array<ArrayBuffer>;\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<TArrayBuffer>) => 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<TArrayBuffer>) => 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<TArrayBuffer>) => 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<TArrayBuffer>) => 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<ArrayBuffer>;\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<TArrayBuffer>) => 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<TArrayBuffer>;\n\n /** Converts the array to a string by using the current locale. */\n toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): 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<TArrayBuffer>;\n\n /** Yields each value in the array. */\n values(): ArrayIterator<bigint>;\n\n [Symbol.iterator](): ArrayIterator<bigint>;\n\n readonly [Symbol.toStringTag]: "BigInt64Array";\n\n [index: number]: bigint;\n}\ninterface BigInt64ArrayConstructor {\n readonly prototype: BigInt64Array<ArrayBufferLike>;\n new (length?: number): BigInt64Array<ArrayBuffer>;\n new (array: ArrayLike<bigint> | Iterable<bigint>): BigInt64Array<ArrayBuffer>;\n new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): BigInt64Array<TArrayBuffer>;\n new (buffer: ArrayBuffer, byteOffset?: number, length?: number): BigInt64Array<ArrayBuffer>;\n new (array: ArrayLike<bigint> | ArrayBuffer): BigInt64Array<ArrayBuffer>;\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<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like object to convert to an array.\n */\n from(arrayLike: ArrayLike<bigint>): BigInt64Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or 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<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigInt64Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements An iterable object to convert to an array.\n */\n from(elements: Iterable<bigint>): BigInt64Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements 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>(elements: Iterable<T>, mapfn?: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array<ArrayBuffer>;\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<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {\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: TArrayBuffer;\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(): ArrayIterator<[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<TArrayBuffer>) => 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<TArrayBuffer>) => any, thisArg?: any): BigUint64Array<ArrayBuffer>;\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<TArrayBuffer>) => 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<TArrayBuffer>) => 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<TArrayBuffer>) => 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(): ArrayIterator<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<TArrayBuffer>) => bigint, thisArg?: any): BigUint64Array<ArrayBuffer>;\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<TArrayBuffer>) => 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<TArrayBuffer>) => 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<TArrayBuffer>) => 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<TArrayBuffer>) => 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<ArrayBuffer>;\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<TArrayBuffer>) => 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<TArrayBuffer>;\n\n /** Converts the array to a string by using the current locale. */\n toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): 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<TArrayBuffer>;\n\n /** Yields each value in the array. */\n values(): ArrayIterator<bigint>;\n\n [Symbol.iterator](): ArrayIterator<bigint>;\n\n readonly [Symbol.toStringTag]: "BigUint64Array";\n\n [index: number]: bigint;\n}\ninterface BigUint64ArrayConstructor {\n readonly prototype: BigUint64Array<ArrayBufferLike>;\n new (length?: number): BigUint64Array<ArrayBuffer>;\n new (array: ArrayLike<bigint> | Iterable<bigint>): BigUint64Array<ArrayBuffer>;\n new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): BigUint64Array<TArrayBuffer>;\n new (buffer: ArrayBuffer, byteOffset?: number, length?: number): BigUint64Array<ArrayBuffer>;\n new (array: ArrayLike<bigint> | ArrayBuffer): BigUint64Array<ArrayBuffer>;\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<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like object to convert to an array.\n */\n from(arrayLike: ArrayLike<bigint>): BigUint64Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or 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<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigUint64Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements An iterable object to convert to an array.\n */\n from(elements: Iterable<bigint>): BigUint64Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements 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>(elements: Iterable<T>, mapfn?: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array<ArrayBuffer>;\n}\ndeclare var BigUint64Array: BigUint64ArrayConstructor;\n\ninterface DataView<TArrayBuffer extends ArrayBufferLike> {\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 }\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}\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/// <reference lib="dom.asynciterable" />\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 * A string that is a valid [Unicode BCP 47 Locale Identifier](https://unicode.org/reports/tr35/#Unicode_locale_identifier).\n *\n * For example: "fa", "es-MX", "zh-Hant-TW".\n *\n * See [MDN - Intl - locales argument](https://developer.mozilla.org/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/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/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/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/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).\n */\n type RelativeTimeFormatStyle = "long" | "short" | "narrow";\n\n /**\n * The locale or locales to use\n *\n * See [MDN - Intl - locales argument](https://developer.mozilla.org/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/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/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/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/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/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/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/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat#Browser_compatibility).\n */\n const RelativeTimeFormat: {\n /**\n * Creates [Intl.RelativeTimeFormat](https://developer.mozilla.org/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/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).\n *\n * @param options - An [object](https://developer.mozilla.org/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/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) object.\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat).\n */\n new (\n locales?: LocalesArgument,\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/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).\n *\n * @param options - An [object](https://developer.mozilla.org/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/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/supportedLocalesOf).\n */\n supportedLocalesOf(\n locales?: LocalesArgument,\n options?: RelativeTimeFormatOptions,\n ): UnicodeBCP47LocaleIdentifier[];\n };\n\n interface NumberFormatOptionsStyleRegistry {\n unit: never;\n }\n\n interface NumberFormatOptionsCurrencyDisplayRegistry {\n narrowSymbol: never;\n }\n\n interface NumberFormatOptionsSignDisplayRegistry {\n auto: never;\n never: never;\n always: never;\n exceptZero: never;\n }\n\n type NumberFormatOptionsSignDisplay = keyof NumberFormatOptionsSignDisplayRegistry;\n\n interface NumberFormatOptions {\n numberingSystem?: string | undefined;\n compactDisplay?: "short" | "long" | undefined;\n notation?: "standard" | "scientific" | "engineering" | "compact" | undefined;\n signDisplay?: NumberFormatOptionsSignDisplay | undefined;\n unit?: string | undefined;\n unitDisplay?: "short" | "long" | "narrow" | undefined;\n currencySign?: "standard" | "accounting" | undefined;\n }\n\n interface ResolvedNumberFormatOptions {\n compactDisplay?: "short" | "long";\n notation: "standard" | "scientific" | "engineering" | "compact";\n signDisplay: NumberFormatOptionsSignDisplay;\n unit?: string;\n unitDisplay?: "short" | "long" | "narrow";\n currencySign?: "standard" | "accounting";\n }\n\n interface NumberFormatPartTypeRegistry {\n compact: never;\n exponentInteger: never;\n exponentMinusSign: never;\n exponentSeparator: never;\n unit: never;\n unknown: never;\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(): UnicodeBCP47LocaleIdentifier;\n }\n\n /**\n * Constructor creates [Intl.Locale](https://developer.mozilla.org/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/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).\n *\n * @param options - An [object](https://developer.mozilla.org/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/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale) object.\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale).\n */\n const Locale: {\n new (tag: UnicodeBCP47LocaleIdentifier | 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/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/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/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) object.\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/resolvedOptions).\n */\n resolvedOptions(): ResolvedDisplayNamesOptions;\n }\n\n /**\n * The [`Intl.DisplayNames()`](https://developer.mozilla.org/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/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/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/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/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/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/supportedLocalesOf).\n */\n supportedLocalesOf(locales?: LocalesArgument, options?: { localeMatcher?: RelativeTimeFormatLocaleMatcher; }): UnicodeBCP47LocaleIdentifier[];\n };\n\n interface CollatorConstructor {\n new (locales?: LocalesArgument, options?: CollatorOptions): Collator;\n (locales?: LocalesArgument, options?: CollatorOptions): Collator;\n supportedLocalesOf(locales: LocalesArgument, options?: CollatorOptions): string[];\n }\n\n interface DateTimeFormatConstructor {\n new (locales?: LocalesArgument, options?: DateTimeFormatOptions): DateTimeFormat;\n (locales?: LocalesArgument, options?: DateTimeFormatOptions): DateTimeFormat;\n supportedLocalesOf(locales: LocalesArgument, options?: DateTimeFormatOptions): string[];\n }\n\n interface NumberFormatConstructor {\n new (locales?: LocalesArgument, options?: NumberFormatOptions): NumberFormat;\n (locales?: LocalesArgument, options?: NumberFormatOptions): NumberFormat;\n supportedLocalesOf(locales: LocalesArgument, options?: NumberFormatOptions): string[];\n }\n\n interface PluralRulesConstructor {\n new (locales?: LocalesArgument, options?: PluralRulesOptions): PluralRules;\n (locales?: LocalesArgument, options?: PluralRulesOptions): PluralRules;\n\n supportedLocalesOf(locales: LocalesArgument, options?: { localeMatcher?: "lookup" | "best fit"; }): string[];\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\n/// <reference lib="es2020.bigint" />\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<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, 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<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, 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<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, 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<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, 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<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, 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<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, 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<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, 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<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, 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<ArrayBufferLike>, 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<ArrayBufferLike>, 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<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, 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/// <reference lib="es2020.intl" />\n/// <reference lib="es2020.symbol.wellknown" />\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): RegExpStringIterator<RegExpExecArray>;\n\n /** Converts all alphabetic characters to lowercase, taking into account the host environment\'s current locale. */\n toLocaleLowerCase(locales?: Intl.LocalesArgument): 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?: Intl.LocalesArgument): string;\n\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?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;\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 RegExpStringIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {\n [Symbol.iterator](): RegExpStringIterator<T>;\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): RegExpStringIterator<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/// <reference lib="dom.asynciterable" />\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 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/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/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/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/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/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/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/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/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/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/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/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).\n *\n * @param options - An [object](https://developer.mozilla.org/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/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat) object.\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat).\n */\n new (locales?: LocalesArgument, 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/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).\n *\n * @param options - An [object](https://developer.mozilla.org/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/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/supportedLocalesOf).\n */\n supportedLocalesOf(locales: LocalesArgument, options?: Pick<ListFormatOptions, "localeMatcher">): UnicodeBCP47LocaleIdentifier[];\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\n/// <reference lib="es2015.symbol.wellknown" />\n\ninterface WeakRef<T extends WeakKey> {\n readonly [Symbol.toStringTag]: "WeakRef";\n\n /**\n * Returns the WeakRef instance\'s target value, or undefined if the target value has been\n * reclaimed.\n * In es2023 the value can be either a symbol or an object, in previous versions only object is permissible.\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 value.\n * In es2023 the value can be either a symbol or an object, in previous versions only object is permissible.\n * @param target The target value for the WeakRef instance.\n */\n new <T extends WeakKey>(target: T): WeakRef<T>;\n}\n\ndeclare var WeakRef: WeakRefConstructor;\n\ninterface FinalizationRegistry<T> {\n readonly [Symbol.toStringTag]: "FinalizationRegistry";\n\n /**\n * Registers a value with the registry.\n * In es2023 the value can be either a symbol or an object, in previous versions only object is permissible.\n * @param target The target value to register.\n * @param heldValue The value to pass to the finalizer for this value. This cannot be the\n * target value.\n * @param unregisterToken The token to pass to the unregister method to unregister the target\n * value. If not provided, the target cannot be unregistered.\n */\n register(target: WeakKey, heldValue: T, unregisterToken?: WeakKey): void;\n\n /**\n * Unregisters a value from the registry.\n * In es2023 the value can be either a symbol or an object, in previous versions only object is permissible.\n * @param unregisterToken The token that was used as the unregisterToken argument when calling\n * register to register the target value.\n */\n unregister(unregisterToken: WeakKey): boolean;\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 a value 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<TArrayBuffer extends ArrayBufferLike> {\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<TArrayBuffer extends ArrayBufferLike> {\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<TArrayBuffer extends ArrayBufferLike> {\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<TArrayBuffer extends ArrayBufferLike> {\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<TArrayBuffer extends ArrayBufferLike> {\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<TArrayBuffer extends ArrayBufferLike> {\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<TArrayBuffer extends ArrayBufferLike> {\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<TArrayBuffer extends ArrayBufferLike> {\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<TArrayBuffer extends ArrayBufferLike> {\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<TArrayBuffer extends ArrayBufferLike> {\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<TArrayBuffer extends ArrayBufferLike> {\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.regexp" />\n/// <reference lib="es2022.string" />\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\n/// <reference lib="es2021.promise" />\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/// <reference lib="dom.asynciterable" />\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 * An object with some or all properties of the `Intl.Segmenter` constructor `options` parameter.\n *\n * [MDN](https://developer.mozilla.org/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 /**\n * The `Intl.Segmenter` object enables locale-sensitive text segmentation, enabling you to get meaningful items (graphemes, words or sentences) from a string.\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter)\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 * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/segment)\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 /**\n * The `resolvedOptions()` method of `Intl.Segmenter` instances returns a new object with properties reflecting the options computed during initialization of this `Segmenter` object.\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/resolvedOptions)\n */\n resolvedOptions(): ResolvedSegmenterOptions;\n }\n\n interface ResolvedSegmenterOptions {\n locale: string;\n granularity: "grapheme" | "word" | "sentence";\n }\n\n interface SegmentIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {\n [Symbol.iterator](): SegmentIterator<T>;\n }\n\n /**\n * A `Segments` object is an iterable collection of the segments of a text string. It is returned by a call to the `segment()` method of an `Intl.Segmenter` object.\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/segment/Segments)\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 * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/segment/Segments/containing)\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 | undefined;\n\n /** Returns an iterator to iterate over the segments. */\n [Symbol.iterator](): SegmentIterator<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 /**\n * The `Intl.Segmenter` object enables locale-sensitive text segmentation, enabling you to get meaningful items (graphemes, words or sentences) from a string.\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter)\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/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).\n *\n * @param options - An [object](https://developer.mozilla.org/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/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segments) object.\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter).\n */\n new (locales?: LocalesArgument, 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/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).\n *\n * @param options An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf#parameters).\n * with some or all possible options.\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf)\n */\n supportedLocalesOf(locales: LocalesArgument, options?: Pick<SegmenterOptions, "localeMatcher">): UnicodeBCP47LocaleIdentifier[];\n };\n\n /**\n * Returns a sorted array of the supported collation, calendar, currency, numbering system, timezones, and units by the implementation.\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/supportedValuesOf)\n *\n * @param key A string indicating the category of values to return.\n * @returns A sorted array of the supported values.\n */\n function supportedValuesOf(key: "calendar" | "collation" | "currency" | "numberingSystem" | "timeZone" | "unit"): string[];\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 a regular expression.\n * Default is false. Read-only.\n */\n readonly hasIndices: boolean;\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 /**\n * Returns a copy of an array with its elements reversed.\n */\n toReversed(): T[];\n\n /**\n * Returns a copy of an array with its elements sorted.\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, UTF-16 code unit order.\n * ```ts\n * [11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n * ```\n */\n toSorted(compareFn?: (a: T, b: T) => number): T[];\n\n /**\n * Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.\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 copied array in place of the deleted elements.\n * @returns The copied array.\n */\n toSpliced(start: number, deleteCount: number, ...items: T[]): T[];\n\n /**\n * Copies an array and removes elements while returning the remaining 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 A copy of the original array with the remaining elements.\n */\n toSpliced(start: number, deleteCount?: number): T[];\n\n /**\n * Copies an array, then overwrites the value at the provided index with the\n * given value. If the index is negative, then it replaces from the end\n * of the array.\n * @param index The index of the value to overwrite. If the index is\n * negative, then it replaces from the end of the array.\n * @param value The value to write into the copied array.\n * @returns The copied array with the updated value.\n */\n with(index: number, value: T): T[];\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>(\n predicate: (value: T, index: number, array: readonly T[]) => value is S,\n thisArg?: any,\n ): S | undefined;\n findLast(\n predicate: (value: T, index: number, array: readonly T[]) => unknown,\n thisArg?: any,\n ): 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(\n predicate: (value: T, index: number, array: readonly T[]) => unknown,\n thisArg?: any,\n ): number;\n\n /**\n * Copies the array and returns the copied array with all of its elements reversed.\n */\n toReversed(): T[];\n\n /**\n * Copies and sorts the 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, UTF-16 code unit order.\n * ```ts\n * [11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]\n * ```\n */\n toSorted(compareFn?: (a: T, b: T) => number): T[];\n\n /**\n * Copies an array and removes elements while, if necessary, inserting new elements in their place, returning the remaining 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 copied array in place of the deleted elements.\n * @returns A copy of the original array with the remaining elements.\n */\n toSpliced(start: number, deleteCount: number, ...items: T[]): T[];\n\n /**\n * Copies an array and removes elements while returning the remaining 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 A copy of the original array with the remaining elements.\n */\n toSpliced(start: number, deleteCount?: number): T[];\n\n /**\n * Copies an array, then overwrites the value at the provided index with the\n * given value. If the index is negative, then it replaces from the end\n * of the array\n * @param index The index of the value to overwrite. If the index is\n * negative, then it replaces from the end of the array.\n * @param value The value to insert into the copied array.\n * @returns A copy of the original array with the inserted value.\n */\n with(index: number, value: T): T[];\n}\n\ninterface Int8Array<TArrayBuffer extends ArrayBufferLike> {\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>(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => value is S,\n thisArg?: any,\n ): S | undefined;\n findLast(\n predicate: (value: number, index: number, array: this) => unknown,\n thisArg?: any,\n ): 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(\n predicate: (value: number, index: number, array: this) => unknown,\n thisArg?: any,\n ): number;\n\n /**\n * Copies the array and returns the copy with the elements in reverse order.\n */\n toReversed(): Int8Array<ArrayBuffer>;\n\n /**\n * Copies and sorts the 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 order.\n * ```ts\n * const myNums = Int8Array.from([11, 2, 22, 1]);\n * myNums.toSorted((a, b) => a - b) // Int8Array(4) [1, 2, 11, 22]\n * ```\n */\n toSorted(compareFn?: (a: number, b: number) => number): Int8Array<ArrayBuffer>;\n\n /**\n * Copies the array and inserts the given number at the provided index.\n * @param index The index of the value to overwrite. If the index is\n * negative, then it replaces from the end of the array.\n * @param value The value to insert into the copied array.\n * @returns A copy of the original array with the inserted value.\n */\n with(index: number, value: number): Int8Array<ArrayBuffer>;\n}\n\ninterface Uint8Array<TArrayBuffer extends ArrayBufferLike> {\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>(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => value is S,\n thisArg?: any,\n ): S | undefined;\n findLast(\n predicate: (value: number, index: number, array: this) => unknown,\n thisArg?: any,\n ): 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(\n predicate: (value: number, index: number, array: this) => unknown,\n thisArg?: any,\n ): number;\n\n /**\n * Copies the array and returns the copy with the elements in reverse order.\n */\n toReversed(): Uint8Array<ArrayBuffer>;\n\n /**\n * Copies and sorts the 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 order.\n * ```ts\n * const myNums = Uint8Array.from([11, 2, 22, 1]);\n * myNums.toSorted((a, b) => a - b) // Uint8Array(4) [1, 2, 11, 22]\n * ```\n */\n toSorted(compareFn?: (a: number, b: number) => number): Uint8Array<ArrayBuffer>;\n\n /**\n * Copies the array and inserts the given number at the provided index.\n * @param index The index of the value to overwrite. If the index is\n * negative, then it replaces from the end of the array.\n * @param value The value to insert into the copied array.\n * @returns A copy of the original array with the inserted value.\n */\n with(index: number, value: number): Uint8Array<ArrayBuffer>;\n}\n\ninterface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> {\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>(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => value is S,\n thisArg?: any,\n ): S | undefined;\n findLast(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => unknown,\n thisArg?: any,\n ): 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(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => unknown,\n thisArg?: any,\n ): number;\n\n /**\n * Copies the array and returns the copy with the elements in reverse order.\n */\n toReversed(): Uint8ClampedArray<ArrayBuffer>;\n\n /**\n * Copies and sorts the 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 order.\n * ```ts\n * const myNums = Uint8ClampedArray.from([11, 2, 22, 1]);\n * myNums.toSorted((a, b) => a - b) // Uint8ClampedArray(4) [1, 2, 11, 22]\n * ```\n */\n toSorted(compareFn?: (a: number, b: number) => number): Uint8ClampedArray<ArrayBuffer>;\n\n /**\n * Copies the array and inserts the given number at the provided index.\n * @param index The index of the value to overwrite. If the index is\n * negative, then it replaces from the end of the array.\n * @param value The value to insert into the copied array.\n * @returns A copy of the original array with the inserted value.\n */\n with(index: number, value: number): Uint8ClampedArray<ArrayBuffer>;\n}\n\ninterface Int16Array<TArrayBuffer extends ArrayBufferLike> {\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>(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => value is S,\n thisArg?: any,\n ): S | undefined;\n findLast(\n predicate: (value: number, index: number, array: this) => unknown,\n thisArg?: any,\n ): 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(\n predicate: (value: number, index: number, array: this) => unknown,\n thisArg?: any,\n ): number;\n\n /**\n * Copies the array and returns the copy with the elements in reverse order.\n */\n toReversed(): Int16Array<ArrayBuffer>;\n\n /**\n * Copies and sorts the 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 order.\n * ```ts\n * const myNums = Int16Array.from([11, 2, -22, 1]);\n * myNums.toSorted((a, b) => a - b) // Int16Array(4) [-22, 1, 2, 11]\n * ```\n */\n toSorted(compareFn?: (a: number, b: number) => number): Int16Array<ArrayBuffer>;\n\n /**\n * Copies the array and inserts the given number at the provided index.\n * @param index The index of the value to overwrite. If the index is\n * negative, then it replaces from the end of the array.\n * @param value The value to insert into the copied array.\n * @returns A copy of the original array with the inserted value.\n */\n with(index: number, value: number): Int16Array<ArrayBuffer>;\n}\n\ninterface Uint16Array<TArrayBuffer extends ArrayBufferLike> {\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>(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => value is S,\n thisArg?: any,\n ): S | undefined;\n findLast(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => unknown,\n thisArg?: any,\n ): 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(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => unknown,\n thisArg?: any,\n ): number;\n\n /**\n * Copies the array and returns the copy with the elements in reverse order.\n */\n toReversed(): Uint16Array<ArrayBuffer>;\n\n /**\n * Copies and sorts the 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 order.\n * ```ts\n * const myNums = Uint16Array.from([11, 2, 22, 1]);\n * myNums.toSorted((a, b) => a - b) // Uint16Array(4) [1, 2, 11, 22]\n * ```\n */\n toSorted(compareFn?: (a: number, b: number) => number): Uint16Array<ArrayBuffer>;\n\n /**\n * Copies the array and inserts the given number at the provided index.\n * @param index The index of the value to overwrite. If the index is\n * negative, then it replaces from the end of the array.\n * @param value The value to insert into the copied array.\n * @returns A copy of the original array with the inserted value.\n */\n with(index: number, value: number): Uint16Array<ArrayBuffer>;\n}\n\ninterface Int32Array<TArrayBuffer extends ArrayBufferLike> {\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>(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => value is S,\n thisArg?: any,\n ): S | undefined;\n findLast(\n predicate: (value: number, index: number, array: this) => unknown,\n thisArg?: any,\n ): 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(\n predicate: (value: number, index: number, array: this) => unknown,\n thisArg?: any,\n ): number;\n\n /**\n * Copies the array and returns the copy with the elements in reverse order.\n */\n toReversed(): Int32Array<ArrayBuffer>;\n\n /**\n * Copies and sorts the 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 order.\n * ```ts\n * const myNums = Int32Array.from([11, 2, -22, 1]);\n * myNums.toSorted((a, b) => a - b) // Int32Array(4) [-22, 1, 2, 11]\n * ```\n */\n toSorted(compareFn?: (a: number, b: number) => number): Int32Array<ArrayBuffer>;\n\n /**\n * Copies the array and inserts the given number at the provided index.\n * @param index The index of the value to overwrite. If the index is\n * negative, then it replaces from the end of the array.\n * @param value The value to insert into the copied array.\n * @returns A copy of the original array with the inserted value.\n */\n with(index: number, value: number): Int32Array<ArrayBuffer>;\n}\n\ninterface Uint32Array<TArrayBuffer extends ArrayBufferLike> {\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>(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => value is S,\n thisArg?: any,\n ): S | undefined;\n findLast(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => unknown,\n thisArg?: any,\n ): 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(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => unknown,\n thisArg?: any,\n ): number;\n\n /**\n * Copies the array and returns the copy with the elements in reverse order.\n */\n toReversed(): Uint32Array<ArrayBuffer>;\n\n /**\n * Copies and sorts the 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 order.\n * ```ts\n * const myNums = Uint32Array.from([11, 2, 22, 1]);\n * myNums.toSorted((a, b) => a - b) // Uint32Array(4) [1, 2, 11, 22]\n * ```\n */\n toSorted(compareFn?: (a: number, b: number) => number): Uint32Array<ArrayBuffer>;\n\n /**\n * Copies the array and inserts the given number at the provided index.\n * @param index The index of the value to overwrite. If the index is\n * negative, then it replaces from the end of the array.\n * @param value The value to insert into the copied array.\n * @returns A copy of the original array with the inserted value.\n */\n with(index: number, value: number): Uint32Array<ArrayBuffer>;\n}\n\ninterface Float32Array<TArrayBuffer extends ArrayBufferLike> {\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>(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => value is S,\n thisArg?: any,\n ): S | undefined;\n findLast(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => unknown,\n thisArg?: any,\n ): 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(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => unknown,\n thisArg?: any,\n ): number;\n\n /**\n * Copies the array and returns the copy with the elements in reverse order.\n */\n toReversed(): Float32Array<ArrayBuffer>;\n\n /**\n * Copies and sorts the 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 order.\n * ```ts\n * const myNums = Float32Array.from([11.25, 2, -22.5, 1]);\n * myNums.toSorted((a, b) => a - b) // Float32Array(4) [-22.5, 1, 2, 11.5]\n * ```\n */\n toSorted(compareFn?: (a: number, b: number) => number): Float32Array<ArrayBuffer>;\n\n /**\n * Copies the array and inserts the given number at the provided index.\n * @param index The index of the value to overwrite. If the index is\n * negative, then it replaces from the end of the array.\n * @param value The value to insert into the copied array.\n * @returns A copy of the original array with the inserted value.\n */\n with(index: number, value: number): Float32Array<ArrayBuffer>;\n}\n\ninterface Float64Array<TArrayBuffer extends ArrayBufferLike> {\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>(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => value is S,\n thisArg?: any,\n ): S | undefined;\n findLast(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => unknown,\n thisArg?: any,\n ): 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(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => unknown,\n thisArg?: any,\n ): number;\n\n /**\n * Copies the array and returns the copy with the elements in reverse order.\n */\n toReversed(): Float64Array<ArrayBuffer>;\n\n /**\n * Copies and sorts the 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 order.\n * ```ts\n * const myNums = Float64Array.from([11.25, 2, -22.5, 1]);\n * myNums.toSorted((a, b) => a - b) // Float64Array(4) [-22.5, 1, 2, 11.5]\n * ```\n */\n toSorted(compareFn?: (a: number, b: number) => number): Float64Array<ArrayBuffer>;\n\n /**\n * Copies the array and inserts the given number at the provided index.\n * @param index The index of the value to overwrite. If the index is\n * negative, then it replaces from the end of the array.\n * @param value The value to insert into the copied array.\n * @returns A copy of the original array with the inserted value.\n */\n with(index: number, value: number): Float64Array<ArrayBuffer>;\n}\n\ninterface BigInt64Array<TArrayBuffer extends ArrayBufferLike> {\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>(\n predicate: (\n value: bigint,\n index: number,\n array: this,\n ) => value is S,\n thisArg?: any,\n ): S | undefined;\n findLast(\n predicate: (\n value: bigint,\n index: number,\n array: this,\n ) => unknown,\n thisArg?: any,\n ): 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(\n predicate: (\n value: bigint,\n index: number,\n array: this,\n ) => unknown,\n thisArg?: any,\n ): number;\n\n /**\n * Copies the array and returns the copy with the elements in reverse order.\n */\n toReversed(): BigInt64Array<ArrayBuffer>;\n\n /**\n * Copies and sorts the 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 order.\n * ```ts\n * const myNums = BigInt64Array.from([11n, 2n, -22n, 1n]);\n * myNums.toSorted((a, b) => Number(a - b)) // BigInt64Array(4) [-22n, 1n, 2n, 11n]\n * ```\n */\n toSorted(compareFn?: (a: bigint, b: bigint) => number): BigInt64Array<ArrayBuffer>;\n\n /**\n * Copies the array and inserts the given bigint at the provided index.\n * @param index The index of the value to overwrite. If the index is\n * negative, then it replaces from the end of the array.\n * @param value The value to insert into the copied array.\n * @returns A copy of the original array with the inserted value.\n */\n with(index: number, value: bigint): BigInt64Array<ArrayBuffer>;\n}\n\ninterface BigUint64Array<TArrayBuffer extends ArrayBufferLike> {\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>(\n predicate: (\n value: bigint,\n index: number,\n array: this,\n ) => value is S,\n thisArg?: any,\n ): S | undefined;\n findLast(\n predicate: (\n value: bigint,\n index: number,\n array: this,\n ) => unknown,\n thisArg?: any,\n ): 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(\n predicate: (\n value: bigint,\n index: number,\n array: this,\n ) => unknown,\n thisArg?: any,\n ): number;\n\n /**\n * Copies the array and returns the copy with the elements in reverse order.\n */\n toReversed(): BigUint64Array<ArrayBuffer>;\n\n /**\n * Copies and sorts the 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 order.\n * ```ts\n * const myNums = BigUint64Array.from([11n, 2n, 22n, 1n]);\n * myNums.toSorted((a, b) => Number(a - b)) // BigUint64Array(4) [1n, 2n, 11n, 22n]\n * ```\n */\n toSorted(compareFn?: (a: bigint, b: bigint) => number): BigUint64Array<ArrayBuffer>;\n\n /**\n * Copies the array and inserts the given bigint at the provided index.\n * @param index The index of the value to overwrite. If the index is\n * negative, then it replaces from the end of the array.\n * @param value The value to insert into the copied array.\n * @returns A copy of the original array with the inserted value.\n */\n with(index: number, value: bigint): BigUint64Array<ArrayBuffer>;\n}\n",ji["lib.es2023.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 WeakKeyTypes {\n symbol: symbol;\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/// <reference lib="es2023.collection" />\n/// <reference lib="es2023.intl" />\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/// <reference lib="dom.asynciterable" />\n',ji["lib.es2023.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 NumberFormatOptionsUseGroupingRegistry {\n min2: never;\n auto: never;\n always: never;\n }\n\n interface NumberFormatOptionsSignDisplayRegistry {\n negative: never;\n }\n\n interface NumberFormatOptions {\n roundingPriority?: "auto" | "morePrecision" | "lessPrecision" | undefined;\n roundingIncrement?: 1 | 2 | 5 | 10 | 20 | 25 | 50 | 100 | 200 | 250 | 500 | 1000 | 2000 | 2500 | 5000 | undefined;\n roundingMode?: "ceil" | "floor" | "expand" | "trunc" | "halfCeil" | "halfFloor" | "halfExpand" | "halfTrunc" | "halfEven" | undefined;\n trailingZeroDisplay?: "auto" | "stripIfInteger" | undefined;\n }\n\n interface ResolvedNumberFormatOptions {\n roundingPriority: "auto" | "morePrecision" | "lessPrecision";\n roundingMode: "ceil" | "floor" | "expand" | "trunc" | "halfCeil" | "halfFloor" | "halfExpand" | "halfTrunc" | "halfEven";\n roundingIncrement: 1 | 2 | 5 | 10 | 20 | 25 | 50 | 100 | 200 | 250 | 500 | 1000 | 2000 | 2500 | 5000;\n trailingZeroDisplay: "auto" | "stripIfInteger";\n }\n\n interface NumberRangeFormatPart extends NumberFormatPart {\n source: "startRange" | "endRange" | "shared";\n }\n\n type StringNumericLiteral = `${number}` | "Infinity" | "-Infinity" | "+Infinity";\n\n interface NumberFormat {\n format(value: number | bigint | StringNumericLiteral): string;\n formatToParts(value: number | bigint | StringNumericLiteral): NumberFormatPart[];\n formatRange(start: number | bigint | StringNumericLiteral, end: number | bigint | StringNumericLiteral): string;\n formatRangeToParts(start: number | bigint | StringNumericLiteral, end: number | bigint | StringNumericLiteral): NumberRangeFormatPart[];\n }\n}\n',ji["lib.es2024.arraybuffer.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 ArrayBuffer {\n /**\n * If this ArrayBuffer is resizable, returns the maximum byte length given during construction; returns the byte length if not.\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/maxByteLength)\n */\n get maxByteLength(): number;\n\n /**\n * Returns true if this ArrayBuffer can be resized.\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/resizable)\n */\n get resizable(): boolean;\n\n /**\n * Resizes the ArrayBuffer to the specified size (in bytes).\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/resize)\n */\n resize(newByteLength?: number): void;\n\n /**\n * Returns a boolean indicating whether or not this buffer has been detached (transferred).\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/detached)\n */\n get detached(): boolean;\n\n /**\n * Creates a new ArrayBuffer with the same byte content as this buffer, then detaches this buffer.\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/transfer)\n */\n transfer(newByteLength?: number): ArrayBuffer;\n\n /**\n * Creates a new non-resizable ArrayBuffer with the same byte content as this buffer, then detaches this buffer.\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/transferToFixedLength)\n */\n transferToFixedLength(newByteLength?: number): ArrayBuffer;\n}\n\ninterface ArrayBufferConstructor {\n new (byteLength: number, options?: { maxByteLength?: number; }): ArrayBuffer;\n}\n',ji["lib.es2024.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 MapConstructor {\n /**\n * Groups members of an iterable according to the return value of the passed callback.\n * @param items An iterable.\n * @param keySelector A callback which will be invoked for each item in items.\n */\n groupBy<K, T>(\n items: Iterable<T>,\n keySelector: (item: T, index: number) => K,\n ): Map<K, T[]>;\n}\n',ji["lib.es2024.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="es2024.arraybuffer" />\n/// <reference lib="es2024.collection" />\n/// <reference lib="es2024.object" />\n/// <reference lib="es2024.promise" />\n/// <reference lib="es2024.regexp" />\n/// <reference lib="es2024.sharedmemory" />\n/// <reference lib="es2024.string" />\n',ji["lib.es2024.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="es2024" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />\n/// <reference lib="dom.asynciterable" />\n',ji["lib.es2024.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 * Groups members of an iterable according to the return value of the passed callback.\n * @param items An iterable.\n * @param keySelector A callback which will be invoked for each item in items.\n */\n groupBy<K extends PropertyKey, T>(\n items: Iterable<T>,\n keySelector: (item: T, index: number) => K,\n ): Partial<Record<K, T[]>>;\n}\n',ji["lib.es2024.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 PromiseWithResolvers<T> {\n promise: Promise<T>;\n resolve: (value: T | PromiseLike<T>) => void;\n reject: (reason?: any) => void;\n}\n\ninterface PromiseConstructor {\n /**\n * Creates a new Promise and returns it in an object, along with its resolve and reject functions.\n * @returns An object with the properties `promise`, `resolve`, and `reject`.\n *\n * ```ts\n * const { promise, resolve, reject } = Promise.withResolvers<T>();\n * ```\n */\n withResolvers<T>(): PromiseWithResolvers<T>;\n}\n',ji["lib.es2024.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 RegExp {\n /**\n * Returns a Boolean value indicating the state of the unicodeSets flag (v) used with a regular expression.\n * Default is false. Read-only.\n */\n readonly unicodeSets: boolean;\n}\n',ji["lib.es2024.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="es2020.bigint" />\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\ninterface SharedArrayBuffer {\n /**\n * Returns true if this SharedArrayBuffer can be grown.\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/growable)\n */\n get growable(): boolean;\n\n /**\n * If this SharedArrayBuffer is growable, returns the maximum byte length given during construction; returns the byte length if not.\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/maxByteLength)\n */\n get maxByteLength(): number;\n\n /**\n * Grows the SharedArrayBuffer to the specified size (in bytes).\n *\n * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/grow)\n */\n grow(newByteLength?: number): void;\n}\n\ninterface SharedArrayBufferConstructor {\n new (byteLength: number, options?: { maxByteLength?: number; }): SharedArrayBuffer;\n}\n',ji["lib.es2024.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 true if all leading surrogates and trailing surrogates appear paired and in order.\n */\n isWellFormed(): boolean;\n\n /**\n * Returns a string where all lone or out-of-order surrogates have been replaced by the Unicode replacement character (U+FFFD).\n */\n toWellFormed(): string;\n}\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 */\n apply<T, R>(this: (this: T) => R, thisArg: T): R;\n\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, 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 */\n bind<T>(this: T, thisArg: ThisParameterType<T>): OmitThisParameter<T>;\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, A extends any[], B extends any[], R>(this: (this: T, ...args: [...A, ...B]) => R, thisArg: T, ...args: A): (...args: B) => 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 */\n apply<T>(this: new () => T, thisArg: T): void;\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, 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 */\n bind<T>(this: T, thisArg: any): T;\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<A extends any[], B extends any[], R>(this: new (...args: [...A, ...B]) => R, thisArg: any, ...args: A): new (...args: B) => 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 /** @deprecated*/ assert?: ImportAssertions;\n with?: ImportAttributes;\n}\n\n/**\n * The type for the `assert` property of the optional second argument to `import()`.\n * @deprecated\n */\ninterface ImportAssertions {\n [key: string]: string;\n}\n\n/**\n * The type for the `with` property of the optional second argument to `import()`.\n */\ninterface ImportAttributes {\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) between the X axis and the line going through both the origin and the given 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 Universal Coordinated Time (UTC) and the time on the local computer. */\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 * @throws {SyntaxError} If `text` is not valid JSON.\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 * @throws {TypeError} If a circular reference or a BigInt value is found.\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 * @throws {TypeError} If a circular reference or a BigInt value is found.\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/// 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, UTF-16 code unit 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. Omitting this argument will remove all elements from the start\n * paramater location to end of the array. If value of this argument is either a negative number, zero, undefined, or a type\n * that cannot be converted to an integer, the function will evaluate the argument as zero and not remove any elements.\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. If value of this argument is either a negative number, zero,\n * undefined, or a type that cannot be converted to an integer, the function will evaluate the argument as zero and\n * not remove any elements.\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> = 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 non-inference type position\n */\ntype NoInfer<T> = intrinsic;\n\n/**\n * Marker for contextual \'this\' type\n */\ninterface ThisType<T> {}\n\n/**\n * Stores types to be used with WeakSet, WeakMap, WeakRef, and FinalizationRegistry\n */\ninterface WeakKeyTypes {\n object: object;\n}\n\ntype WeakKey = WeakKeyTypes[keyof WeakKeyTypes];\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<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: TArrayBuffer;\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\ninterface DataView<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {\n readonly buffer: TArrayBuffer;\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}\ninterface DataViewConstructor {\n readonly prototype: DataView<ArrayBufferLike>;\n new <TArrayBuffer extends ArrayBufferLike & { BYTES_PER_ELEMENT?: never; }>(buffer: TArrayBuffer, byteOffset?: number, byteLength?: number): DataView<TArrayBuffer>;\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<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {\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: TArrayBuffer;\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: this) => 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: this) => any, thisArg?: any): Int8Array<ArrayBuffer>;\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: this) => 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: this) => 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: this) => 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: this) => number, thisArg?: any): Int8Array<ArrayBuffer>;\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: this) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => 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: this) => 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: this) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => 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: this) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\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<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<ArrayBuffer>;\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: this) => 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<TArrayBuffer>;\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(): this;\n\n [index: number]: number;\n}\ninterface Int8ArrayConstructor {\n readonly prototype: Int8Array<ArrayBufferLike>;\n new (length: number): Int8Array<ArrayBuffer>;\n new (array: ArrayLike<number>): Int8Array<ArrayBuffer>;\n new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Int8Array<TArrayBuffer>;\n new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Int8Array<ArrayBuffer>;\n new (array: ArrayLike<number> | ArrayBuffer): Int8Array<ArrayBuffer>;\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<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Int8Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or 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>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array<ArrayBuffer>;\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<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {\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: TArrayBuffer;\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: this) => 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: this) => any, thisArg?: any): Uint8Array<ArrayBuffer>;\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: this) => 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: this) => 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: this) => 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: this) => number, thisArg?: any): Uint8Array<ArrayBuffer>;\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: this) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => 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: this) => 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: this) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => 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: this) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\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<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<ArrayBuffer>;\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: this) => 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<TArrayBuffer>;\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(): this;\n\n [index: number]: number;\n}\ninterface Uint8ArrayConstructor {\n readonly prototype: Uint8Array<ArrayBufferLike>;\n new (length: number): Uint8Array<ArrayBuffer>;\n new (array: ArrayLike<number>): Uint8Array<ArrayBuffer>;\n new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Uint8Array<TArrayBuffer>;\n new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Uint8Array<ArrayBuffer>;\n new (array: ArrayLike<number> | ArrayBuffer): Uint8Array<ArrayBuffer>;\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<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or 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>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;\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<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {\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: TArrayBuffer;\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: this) => 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: this) => any, thisArg?: any): Uint8ClampedArray<ArrayBuffer>;\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: this) => 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: this) => 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: this) => 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: this) => number, thisArg?: any): Uint8ClampedArray<ArrayBuffer>;\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: this) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => 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: this) => 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: this) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => 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: this) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\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<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<ArrayBuffer>;\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: this) => 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<TArrayBuffer>;\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(): this;\n\n [index: number]: number;\n}\ninterface Uint8ClampedArrayConstructor {\n readonly prototype: Uint8ClampedArray<ArrayBufferLike>;\n new (length: number): Uint8ClampedArray<ArrayBuffer>;\n new (array: ArrayLike<number>): Uint8ClampedArray<ArrayBuffer>;\n new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Uint8ClampedArray<TArrayBuffer>;\n new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Uint8ClampedArray<ArrayBuffer>;\n new (array: ArrayLike<number> | ArrayBuffer): Uint8ClampedArray<ArrayBuffer>;\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<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Uint8ClampedArray<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or 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>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray<ArrayBuffer>;\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<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {\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: TArrayBuffer;\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: this) => 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: this) => any, thisArg?: any): Int16Array<ArrayBuffer>;\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: this) => 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: this) => 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: this) => 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: this) => number, thisArg?: any): Int16Array<ArrayBuffer>;\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: this) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => 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: this) => 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: this) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => 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: this) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\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<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<ArrayBuffer>;\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: this) => 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<TArrayBuffer>;\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(): this;\n\n [index: number]: number;\n}\ninterface Int16ArrayConstructor {\n readonly prototype: Int16Array<ArrayBufferLike>;\n new (length: number): Int16Array<ArrayBuffer>;\n new (array: ArrayLike<number>): Int16Array<ArrayBuffer>;\n new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Int16Array<TArrayBuffer>;\n new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Int16Array<ArrayBuffer>;\n new (array: ArrayLike<number> | ArrayBuffer): Int16Array<ArrayBuffer>;\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<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Int16Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or 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>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array<ArrayBuffer>;\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<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {\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: TArrayBuffer;\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: this) => 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: this) => any, thisArg?: any): Uint16Array<ArrayBuffer>;\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: this) => 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: this) => 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: this) => 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: this) => number, thisArg?: any): Uint16Array<ArrayBuffer>;\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: this) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => 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: this) => 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: this) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => 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: this) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\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<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<ArrayBuffer>;\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: this) => 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<TArrayBuffer>;\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(): this;\n\n [index: number]: number;\n}\ninterface Uint16ArrayConstructor {\n readonly prototype: Uint16Array<ArrayBufferLike>;\n new (length: number): Uint16Array<ArrayBuffer>;\n new (array: ArrayLike<number>): Uint16Array<ArrayBuffer>;\n new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Uint16Array<TArrayBuffer>;\n new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Uint16Array<ArrayBuffer>;\n new (array: ArrayLike<number> | ArrayBuffer): Uint16Array<ArrayBuffer>;\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<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Uint16Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or 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>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array<ArrayBuffer>;\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<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {\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: TArrayBuffer;\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: this) => 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: this) => any, thisArg?: any): Int32Array<ArrayBuffer>;\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: this) => 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: this) => 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: this) => 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: this) => number, thisArg?: any): Int32Array<ArrayBuffer>;\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: this) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => 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: this) => 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: this) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => 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: this) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\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<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<ArrayBuffer>;\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: this) => 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<TArrayBuffer>;\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(): this;\n\n [index: number]: number;\n}\ninterface Int32ArrayConstructor {\n readonly prototype: Int32Array<ArrayBufferLike>;\n new (length: number): Int32Array<ArrayBuffer>;\n new (array: ArrayLike<number>): Int32Array<ArrayBuffer>;\n new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Int32Array<TArrayBuffer>;\n new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Int32Array<ArrayBuffer>;\n new (array: ArrayLike<number> | ArrayBuffer): Int32Array<ArrayBuffer>;\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<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Int32Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or 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>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array<ArrayBuffer>;\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<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {\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: TArrayBuffer;\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: this) => 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: this) => any, thisArg?: any): Uint32Array<ArrayBuffer>;\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: this) => 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: this) => 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: this) => 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: this) => number, thisArg?: any): Uint32Array<ArrayBuffer>;\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: this) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => 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: this) => 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: this) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => 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: this) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\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<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<ArrayBuffer>;\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: this) => 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<TArrayBuffer>;\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(): this;\n\n [index: number]: number;\n}\ninterface Uint32ArrayConstructor {\n readonly prototype: Uint32Array<ArrayBufferLike>;\n new (length: number): Uint32Array<ArrayBuffer>;\n new (array: ArrayLike<number>): Uint32Array<ArrayBuffer>;\n new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Uint32Array<TArrayBuffer>;\n new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Uint32Array<ArrayBuffer>;\n new (array: ArrayLike<number> | ArrayBuffer): Uint32Array<ArrayBuffer>;\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<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Uint32Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or 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>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array<ArrayBuffer>;\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<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {\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: TArrayBuffer;\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: this) => 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: this) => any, thisArg?: any): Float32Array<ArrayBuffer>;\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: this) => 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: this) => 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: this) => 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: this) => number, thisArg?: any): Float32Array<ArrayBuffer>;\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: this) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => 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: this) => 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: this) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => 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: this) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\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<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<ArrayBuffer>;\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: this) => 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<TArrayBuffer>;\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(): this;\n\n [index: number]: number;\n}\ninterface Float32ArrayConstructor {\n readonly prototype: Float32Array<ArrayBufferLike>;\n new (length: number): Float32Array<ArrayBuffer>;\n new (array: ArrayLike<number>): Float32Array<ArrayBuffer>;\n new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Float32Array<TArrayBuffer>;\n new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Float32Array<ArrayBuffer>;\n new (array: ArrayLike<number> | ArrayBuffer): Float32Array<ArrayBuffer>;\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<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Float32Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or 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>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array<ArrayBuffer>;\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<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {\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: TArrayBuffer;\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: this) => 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: this) => any, thisArg?: any): Float64Array<ArrayBuffer>;\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: this) => 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: this) => 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: this) => 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: this) => number, thisArg?: any): Float64Array<ArrayBuffer>;\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: this) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => 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: this) => 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: this) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => 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: this) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\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<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<ArrayBuffer>;\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: this) => 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 Float64Array 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): Float64Array<TArrayBuffer>;\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(): this;\n\n [index: number]: number;\n}\ninterface Float64ArrayConstructor {\n readonly prototype: Float64Array<ArrayBufferLike>;\n new (length: number): Float64Array<ArrayBuffer>;\n new (array: ArrayLike<number>): Float64Array<ArrayBuffer>;\n new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Float64Array<TArrayBuffer>;\n new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Float64Array<ArrayBuffer>;\n new (array: ArrayLike<number> | ArrayBuffer): Float64Array<ArrayBuffer>;\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<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Float64Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or 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>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array<ArrayBuffer>;\n}\ndeclare var Float64Array: Float64ArrayConstructor;\n\n/////////////////////////////\n/// ECMAScript Internationalization API\n/////////////////////////////\n\ndeclare namespace Intl {\n interface CollatorOptions {\n usage?: "sort" | "search" | undefined;\n localeMatcher?: "lookup" | "best fit" | undefined;\n numeric?: boolean | undefined;\n caseFirst?: "upper" | "lower" | "false" | undefined;\n sensitivity?: "base" | "accent" | "case" | "variant" | undefined;\n collation?: "big5han" | "compat" | "dict" | "direct" | "ducet" | "emoji" | "eor" | "gb2312" | "phonebk" | "phonetic" | "pinyin" | "reformed" | "searchjl" | "stroke" | "trad" | "unihan" | "zhuyin" | 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\n interface CollatorConstructor {\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 var Collator: CollatorConstructor;\n\n interface NumberFormatOptionsStyleRegistry {\n decimal: never;\n percent: never;\n currency: never;\n }\n\n type NumberFormatOptionsStyle = keyof NumberFormatOptionsStyleRegistry;\n\n interface NumberFormatOptionsCurrencyDisplayRegistry {\n code: never;\n symbol: never;\n name: never;\n }\n\n type NumberFormatOptionsCurrencyDisplay = keyof NumberFormatOptionsCurrencyDisplayRegistry;\n\n interface NumberFormatOptionsUseGroupingRegistry {}\n\n type NumberFormatOptionsUseGrouping = {} extends NumberFormatOptionsUseGroupingRegistry ? boolean : keyof NumberFormatOptionsUseGroupingRegistry | "true" | "false" | boolean;\n type ResolvedNumberFormatOptionsUseGrouping = {} extends NumberFormatOptionsUseGroupingRegistry ? boolean : keyof NumberFormatOptionsUseGroupingRegistry | false;\n\n interface NumberFormatOptions {\n localeMatcher?: "lookup" | "best fit" | undefined;\n style?: NumberFormatOptionsStyle | undefined;\n currency?: string | undefined;\n currencyDisplay?: NumberFormatOptionsCurrencyDisplay | undefined;\n useGrouping?: NumberFormatOptionsUseGrouping | 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: NumberFormatOptionsStyle;\n currency?: string;\n currencyDisplay?: NumberFormatOptionsCurrencyDisplay;\n minimumIntegerDigits: number;\n minimumFractionDigits?: number;\n maximumFractionDigits?: number;\n minimumSignificantDigits?: number;\n maximumSignificantDigits?: number;\n useGrouping: ResolvedNumberFormatOptionsUseGrouping;\n }\n\n interface NumberFormat {\n format(value: number): string;\n resolvedOptions(): ResolvedNumberFormatOptions;\n }\n\n interface NumberFormatConstructor {\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 var NumberFormat: NumberFormatConstructor;\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\n interface DateTimeFormatConstructor {\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 var DateTimeFormat: DateTimeFormatConstructor;\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.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 ArrayConstructor {\n /**\n * Creates an array from an async iterator or iterable object.\n * @param iterableOrArrayLike An async iterator or array-like object to convert to an array.\n */\n fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;\n\n /**\n * Creates an array from an async iterator or iterable object.\n *\n * @param iterableOrArrayLike An async iterator or array-like object to convert to an array.\n * @param mapfn A mapping function to call on every element of itarableOrArrayLike.\n * Each return value is awaited before being added to result array.\n * @param thisArg Value of \'this\' used when executing mapfn.\n */\n fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;\n}\n',ji["lib.esnext.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\n/// <reference lib="es2024.collection" />\n\ninterface ReadonlySetLike<T> {\n /**\n * Despite its name, returns an iterator of the values in the set-like.\n */\n keys(): Iterator<T>;\n /**\n * @returns a boolean indicating whether an element with the specified value exists in the set-like or not.\n */\n has(value: T): boolean;\n /**\n * @returns the number of (unique) elements in the set-like.\n */\n readonly size: number;\n}\n\ninterface Set<T> {\n /**\n * @returns a new Set containing all the elements in this Set and also all the elements in the argument.\n */\n union<U>(other: ReadonlySetLike<U>): Set<T | U>;\n /**\n * @returns a new Set containing all the elements which are both in this Set and in the argument.\n */\n intersection<U>(other: ReadonlySetLike<U>): Set<T & U>;\n /**\n * @returns a new Set containing all the elements in this Set which are not also in the argument.\n */\n difference<U>(other: ReadonlySetLike<U>): Set<T>;\n /**\n * @returns a new Set containing all the elements which are in either this Set or in the argument, but not in both.\n */\n symmetricDifference<U>(other: ReadonlySetLike<U>): Set<T | U>;\n /**\n * @returns a boolean indicating whether all the elements in this Set are also in the argument.\n */\n isSubsetOf(other: ReadonlySetLike<unknown>): boolean;\n /**\n * @returns a boolean indicating whether all the elements in the argument are also in this Set.\n */\n isSupersetOf(other: ReadonlySetLike<unknown>): boolean;\n /**\n * @returns a boolean indicating whether this Set has no elements in common with the argument.\n */\n isDisjointFrom(other: ReadonlySetLike<unknown>): boolean;\n}\n\ninterface ReadonlySet<T> {\n /**\n * @returns a new Set containing all the elements in this Set and also all the elements in the argument.\n */\n union<U>(other: ReadonlySetLike<U>): Set<T | U>;\n /**\n * @returns a new Set containing all the elements which are both in this Set and in the argument.\n */\n intersection<U>(other: ReadonlySetLike<U>): Set<T & U>;\n /**\n * @returns a new Set containing all the elements in this Set which are not also in the argument.\n */\n difference<U>(other: ReadonlySetLike<U>): Set<T>;\n /**\n * @returns a new Set containing all the elements which are in either this Set or in the argument, but not in both.\n */\n symmetricDifference<U>(other: ReadonlySetLike<U>): Set<T | U>;\n /**\n * @returns a boolean indicating whether all the elements in this Set are also in the argument.\n */\n isSubsetOf(other: ReadonlySetLike<unknown>): boolean;\n /**\n * @returns a boolean indicating whether all the elements in the argument are also in this Set.\n */\n isSupersetOf(other: ReadonlySetLike<unknown>): boolean;\n /**\n * @returns a boolean indicating whether this Set has no elements in common with the argument.\n */\n isDisjointFrom(other: ReadonlySetLike<unknown>): boolean;\n}\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="es2024" />\n/// <reference lib="esnext.intl" />\n/// <reference lib="esnext.decorators" />\n/// <reference lib="esnext.disposable" />\n/// <reference lib="esnext.collection" />\n/// <reference lib="esnext.array" />\n/// <reference lib="esnext.iterator" />\n/// <reference lib="esnext.promise" />\n/// <reference lib="esnext.float16" />\n/// <reference lib="esnext.error" />\n/// <reference lib="esnext.sharedmemory" />\n',ji["lib.esnext.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/// <reference lib="es2015.symbol" />\n/// <reference lib="decorators" />\n\ninterface SymbolConstructor {\n readonly metadata: unique symbol;\n}\n\ninterface Function {\n [Symbol.metadata]: DecoratorMetadata | null;\n}\n',ji["lib.esnext.disposable.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/// <reference lib="es2018.asynciterable" />\n\ninterface SymbolConstructor {\n /**\n * A method that is used to release resources held by an object. Called by the semantics of the `using` statement.\n */\n readonly dispose: unique symbol;\n\n /**\n * A method that is used to asynchronously release resources held by an object. Called by the semantics of the `await using` statement.\n */\n readonly asyncDispose: unique symbol;\n}\n\ninterface Disposable {\n [Symbol.dispose](): void;\n}\n\ninterface AsyncDisposable {\n [Symbol.asyncDispose](): PromiseLike<void>;\n}\n\ninterface SuppressedError extends Error {\n error: any;\n suppressed: any;\n}\n\ninterface SuppressedErrorConstructor {\n new (error: any, suppressed: any, message?: string): SuppressedError;\n (error: any, suppressed: any, message?: string): SuppressedError;\n readonly prototype: SuppressedError;\n}\ndeclare var SuppressedError: SuppressedErrorConstructor;\n\ninterface DisposableStack {\n /**\n * Returns a value indicating whether this stack has been disposed.\n */\n readonly disposed: boolean;\n /**\n * Disposes each resource in the stack in the reverse order that they were added.\n */\n dispose(): void;\n /**\n * Adds a disposable resource to the stack, returning the resource.\n * @param value The resource to add. `null` and `undefined` will not be added, but will be returned.\n * @returns The provided {@link value}.\n */\n use<T extends Disposable | null | undefined>(value: T): T;\n /**\n * Adds a value and associated disposal callback as a resource to the stack.\n * @param value The value to add.\n * @param onDispose The callback to use in place of a `[Symbol.dispose]()` method. Will be invoked with `value`\n * as the first parameter.\n * @returns The provided {@link value}.\n */\n adopt<T>(value: T, onDispose: (value: T) => void): T;\n /**\n * Adds a callback to be invoked when the stack is disposed.\n */\n defer(onDispose: () => void): void;\n /**\n * Move all resources out of this stack and into a new `DisposableStack`, and marks this stack as disposed.\n * @example\n * ```ts\n * class C {\n * #res1: Disposable;\n * #res2: Disposable;\n * #disposables: DisposableStack;\n * constructor() {\n * // stack will be disposed when exiting constructor for any reason\n * using stack = new DisposableStack();\n *\n * // get first resource\n * this.#res1 = stack.use(getResource1());\n *\n * // get second resource. If this fails, both `stack` and `#res1` will be disposed.\n * this.#res2 = stack.use(getResource2());\n *\n * // all operations succeeded, move resources out of `stack` so that they aren\'t disposed\n * // when constructor exits\n * this.#disposables = stack.move();\n * }\n *\n * [Symbol.dispose]() {\n * this.#disposables.dispose();\n * }\n * }\n * ```\n */\n move(): DisposableStack;\n [Symbol.dispose](): void;\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface DisposableStackConstructor {\n new (): DisposableStack;\n readonly prototype: DisposableStack;\n}\ndeclare var DisposableStack: DisposableStackConstructor;\n\ninterface AsyncDisposableStack {\n /**\n * Returns a value indicating whether this stack has been disposed.\n */\n readonly disposed: boolean;\n /**\n * Disposes each resource in the stack in the reverse order that they were added.\n */\n disposeAsync(): Promise<void>;\n /**\n * Adds a disposable resource to the stack, returning the resource.\n * @param value The resource to add. `null` and `undefined` will not be added, but will be returned.\n * @returns The provided {@link value}.\n */\n use<T extends AsyncDisposable | Disposable | null | undefined>(value: T): T;\n /**\n * Adds a value and associated disposal callback as a resource to the stack.\n * @param value The value to add.\n * @param onDisposeAsync The callback to use in place of a `[Symbol.asyncDispose]()` method. Will be invoked with `value`\n * as the first parameter.\n * @returns The provided {@link value}.\n */\n adopt<T>(value: T, onDisposeAsync: (value: T) => PromiseLike<void> | void): T;\n /**\n * Adds a callback to be invoked when the stack is disposed.\n */\n defer(onDisposeAsync: () => PromiseLike<void> | void): void;\n /**\n * Move all resources out of this stack and into a new `DisposableStack`, and marks this stack as disposed.\n * @example\n * ```ts\n * class C {\n * #res1: Disposable;\n * #res2: Disposable;\n * #disposables: DisposableStack;\n * constructor() {\n * // stack will be disposed when exiting constructor for any reason\n * using stack = new DisposableStack();\n *\n * // get first resource\n * this.#res1 = stack.use(getResource1());\n *\n * // get second resource. If this fails, both `stack` and `#res1` will be disposed.\n * this.#res2 = stack.use(getResource2());\n *\n * // all operations succeeded, move resources out of `stack` so that they aren\'t disposed\n * // when constructor exits\n * this.#disposables = stack.move();\n * }\n *\n * [Symbol.dispose]() {\n * this.#disposables.dispose();\n * }\n * }\n * ```\n */\n move(): AsyncDisposableStack;\n [Symbol.asyncDispose](): Promise<void>;\n readonly [Symbol.toStringTag]: string;\n}\n\ninterface AsyncDisposableStackConstructor {\n new (): AsyncDisposableStack;\n readonly prototype: AsyncDisposableStack;\n}\ndeclare var AsyncDisposableStack: AsyncDisposableStackConstructor;\n\ninterface IteratorObject<T, TReturn, TNext> extends Disposable {\n}\n\ninterface AsyncIteratorObject<T, TReturn, TNext> extends AsyncDisposable {\n}\n',ji["lib.esnext.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 ErrorConstructor {\n /**\n * Indicates whether the argument provided is a built-in Error instance or not.\n */\n isError(error: unknown): error is Error;\n}\n',ji["lib.esnext.float16.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\n/**\n * A typed array of 16-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 Float16Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {\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: TArrayBuffer;\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 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 /**\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: this) => 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: this) => any, thisArg?: any): Float16Array<ArrayBuffer>;\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: this) => 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: this) => boolean, thisArg?: any): number;\n\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>(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => value is S,\n thisArg?: any,\n ): S | undefined;\n findLast(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => unknown,\n thisArg?: any,\n ): 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(\n predicate: (\n value: number,\n index: number,\n array: this,\n ) => unknown,\n thisArg?: any,\n ): 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: this) => 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: number, 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: 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: this) => number, thisArg?: any): Float16Array<ArrayBuffer>;\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: this) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => 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: this) => 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: this) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => 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: this) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\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<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): Float16Array<ArrayBuffer>;\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: this) => 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 Float16Array 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): Float16Array<TArrayBuffer>;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string;\n\n /**\n * Copies the array and returns the copy with the elements in reverse order.\n */\n toReversed(): Float16Array<ArrayBuffer>;\n\n /**\n * Copies and sorts the 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 order.\n * ```ts\n * const myNums = Float16Array.from([11.25, 2, -22.5, 1]);\n * myNums.toSorted((a, b) => a - b) // Float16Array(4) [-22.5, 1, 2, 11.5]\n * ```\n */\n toSorted(compareFn?: (a: number, b: number) => number): Float16Array<ArrayBuffer>;\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(): this;\n\n /**\n * Copies the array and inserts the given number at the provided index.\n * @param index The index of the value to overwrite. If the index is\n * negative, then it replaces from the end of the array.\n * @param value The value to insert into the copied array.\n * @returns A copy of the original array with the inserted value.\n */\n with(index: number, value: number): Float16Array<ArrayBuffer>;\n\n [index: number]: number;\n\n [Symbol.iterator](): ArrayIterator<number>;\n\n /**\n * Returns an array of key, value pairs for every entry in the array\n */\n entries(): ArrayIterator<[number, number]>;\n\n /**\n * Returns an list of keys in the array\n */\n keys(): ArrayIterator<number>;\n\n /**\n * Returns an list of values in the array\n */\n values(): ArrayIterator<number>;\n\n readonly [Symbol.toStringTag]: "Float16Array";\n}\n\ninterface Float16ArrayConstructor {\n readonly prototype: Float16Array<ArrayBufferLike>;\n new (length?: number): Float16Array<ArrayBuffer>;\n new (array: ArrayLike<number> | Iterable<number>): Float16Array<ArrayBuffer>;\n new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Float16Array<TArrayBuffer>;\n new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Float16Array<ArrayBuffer>;\n new (array: ArrayLike<number> | ArrayBuffer): Float16Array<ArrayBuffer>;\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[]): Float16Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like object to convert to an array.\n */\n from(arrayLike: ArrayLike<number>): Float16Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or 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>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Float16Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements An iterable object to convert to an array.\n */\n from(elements: Iterable<number>): Float16Array<ArrayBuffer>;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param elements 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>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Float16Array<ArrayBuffer>;\n}\ndeclare var Float16Array: Float16ArrayConstructor;\n\ninterface Math {\n /**\n * Returns the nearest half precision float representation of a number.\n * @param x A numeric expression.\n */\n f16round(x: number): number;\n}\n\ninterface DataView<TArrayBuffer extends ArrayBufferLike> {\n /**\n * Gets the Float16 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 getFloat16(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Stores an Float16 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 setFloat16(byteOffset: number, value: number, littleEndian?: boolean): void;\n}\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" />\n/// <reference lib="dom.asynciterable" />\n',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 // Empty\n}\n',ji["lib.esnext.iterator.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\n// NOTE: This is specified as what is essentially an unreachable module. All actual global declarations can be found\n// in the `declare global` section, below. This is necessary as there is currently no way to declare an `abstract`\n// member without declaring a `class`, but declaring `class Iterator<T>` globally would conflict with TypeScript\'s\n// general purpose `Iterator<T>` interface.\nexport {};\n\n// Abstract type that allows us to mark `next` as `abstract`\ndeclare abstract class Iterator<T, TResult = undefined, TNext = unknown> { // eslint-disable-line @typescript-eslint/no-unsafe-declaration-merging\n abstract next(value?: TNext): IteratorResult<T, TResult>;\n}\n\n// Merge all members of `IteratorObject<T>` into `Iterator<T>`\ninterface Iterator<T, TResult, TNext> extends globalThis.IteratorObject<T, TResult, TNext> {}\n\n// Capture the `Iterator` constructor in a type we can use in the `extends` clause of `IteratorConstructor`.\ntype IteratorObjectConstructor = typeof Iterator;\n\ndeclare global {\n // Global `IteratorObject<T, TReturn, TNext>` interface that can be augmented by polyfills\n interface IteratorObject<T, TReturn, TNext> {\n /**\n * Returns this iterator.\n */\n [Symbol.iterator](): IteratorObject<T, TReturn, TNext>;\n\n /**\n * Creates an iterator whose values are the result of applying the callback to the values from this iterator.\n * @param callbackfn A function that accepts up to two arguments to be used to transform values from the underlying iterator.\n */\n map<U>(callbackfn: (value: T, index: number) => U): IteratorObject<U, undefined, unknown>;\n\n /**\n * Creates an iterator whose values are those from this iterator for which the provided predicate returns true.\n * @param predicate A function that accepts up to two arguments to be used to test values from the underlying iterator.\n */\n filter<S extends T>(predicate: (value: T, index: number) => value is S): IteratorObject<S, undefined, unknown>;\n\n /**\n * Creates an iterator whose values are those from this iterator for which the provided predicate returns true.\n * @param predicate A function that accepts up to two arguments to be used to test values from the underlying iterator.\n */\n filter(predicate: (value: T, index: number) => unknown): IteratorObject<T, undefined, unknown>;\n\n /**\n * Creates an iterator whose values are the values from this iterator, stopping once the provided limit is reached.\n * @param limit The maximum number of values to yield.\n */\n take(limit: number): IteratorObject<T, undefined, unknown>;\n\n /**\n * Creates an iterator whose values are the values from this iterator after skipping the provided count.\n * @param count The number of values to drop.\n */\n drop(count: number): IteratorObject<T, undefined, unknown>;\n\n /**\n * Creates an iterator whose values are the result of applying the callback to the values from this iterator and then flattening the resulting iterators or iterables.\n * @param callback A function that accepts up to two arguments to be used to transform values from the underlying iterator into new iterators or iterables to be flattened into the result.\n */\n flatMap<U>(callback: (value: T, index: number) => Iterator<U, unknown, undefined> | Iterable<U, unknown, undefined>): IteratorObject<U, undefined, unknown>;\n\n /**\n * Calls the specified callback function for all the elements in this iterator. 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 three arguments. The reduce method calls the callbackfn function one time for each element in the iterator.\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 a value from the iterator.\n */\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number) => T): T;\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number) => T, initialValue: T): T;\n\n /**\n * Calls the specified callback function for all the elements in this iterator. 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 three arguments. The reduce method calls the callbackfn function one time for each element in the iterator.\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 a value from the iterator.\n */\n reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number) => U, initialValue: U): U;\n\n /**\n * Creates a new array from the values yielded by this iterator.\n */\n toArray(): T[];\n\n /**\n * Performs the specified action for each element in the iterator.\n * @param callbackfn A function that accepts up to two arguments. forEach calls the callbackfn function one time for each element in the iterator.\n */\n forEach(callbackfn: (value: T, index: number) => void): void;\n\n /**\n * Determines whether the specified callback function returns true for any element of this iterator.\n * @param predicate A function that accepts up to two arguments. The some method calls\n * the predicate function for each element in this iterator until the predicate returns a value\n * true, or until the end of the iterator.\n */\n some(predicate: (value: T, index: number) => unknown): boolean;\n\n /**\n * Determines whether all the members of this iterator satisfy the specified test.\n * @param predicate A function that accepts up to two arguments. The every method calls\n * the predicate function for each element in this iterator until the predicate returns\n * false, or until the end of this iterator.\n */\n every(predicate: (value: T, index: number) => unknown): boolean;\n\n /**\n * Returns the value of the first element in this iterator where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of this iterator, in\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 */\n find<S extends T>(predicate: (value: T, index: number) => value is S): S | undefined;\n find(predicate: (value: T, index: number) => unknown): T | undefined;\n\n readonly [Symbol.toStringTag]: string;\n }\n\n // Global `IteratorConstructor` interface that can be augmented by polyfills\n interface IteratorConstructor extends IteratorObjectConstructor {\n /**\n * Creates a native iterator from an iterator or iterable object.\n * Returns its input if the input already inherits from the built-in Iterator class.\n * @param value An iterator or iterable object to convert a native iterator.\n */\n from<T>(value: Iterator<T, unknown, undefined> | Iterable<T, unknown, undefined>): IteratorObject<T, undefined, unknown>;\n }\n\n var Iterator: IteratorConstructor;\n}\n',ji["lib.esnext.promise.d.ts"]='/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n/// <reference no-default-lib="true"/>\n\ninterface PromiseConstructor {\n /**\n * Takes a callback of any kind (returns or throws, synchronously or asynchronously) and wraps its result\n * in a Promise.\n *\n * @param callbackFn A function that is called synchronously. It can do anything: either return\n * a value, throw an error, or return a promise.\n * @param args Additional arguments, that will be passed to the callback.\n *\n * @returns A Promise that is:\n * - Already fulfilled, if the callback synchronously returns a value.\n * - Already rejected, if the callback synchronously throws an error.\n * - Asynchronously fulfilled or rejected, if the callback returns a promise.\n */\n try<T, U extends unknown[]>(callbackFn: (...args: U) => T | PromiseLike<T>, ...args: U): Promise<Awaited<T>>;\n}\n',ji["lib.esnext.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 * Performs a finite-time microwait by signaling to the operating system or\n * CPU that the current executing code is in a spin-wait loop.\n */\n pause(n?: number): void;\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/// Windows Script Host APIS\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.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/////////////////////////////\n/// Worker Async Iterable APIs\n/////////////////////////////\n\ninterface FileSystemDirectoryHandleAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {\n [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<T>;\n}\n\ninterface FileSystemDirectoryHandle {\n [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>;\n entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>;\n keys(): FileSystemDirectoryHandleAsyncIterator<string>;\n values(): FileSystemDirectoryHandleAsyncIterator<FileSystemHandle>;\n}\n\ninterface ReadableStreamAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {\n [Symbol.asyncIterator](): ReadableStreamAsyncIterator<T>;\n}\n\ninterface ReadableStream<R = any> {\n [Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;\n values(options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;\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 AudioDataCopyToOptions {\n format?: AudioSampleFormat;\n frameCount?: number;\n frameOffset?: number;\n planeIndex: number;\n}\n\ninterface AudioDataInit {\n data: BufferSource;\n format: AudioSampleFormat;\n numberOfChannels: number;\n numberOfFrames: number;\n sampleRate: number;\n timestamp: number;\n transfer?: ArrayBuffer[];\n}\n\ninterface AudioDecoderConfig {\n codec: string;\n description?: AllowSharedBufferSource;\n numberOfChannels: number;\n sampleRate: number;\n}\n\ninterface AudioDecoderInit {\n error: WebCodecsErrorCallback;\n output: AudioDataOutputCallback;\n}\n\ninterface AudioDecoderSupport {\n config?: AudioDecoderConfig;\n supported?: boolean;\n}\n\ninterface AudioEncoderConfig {\n bitrate?: number;\n bitrateMode?: BitrateMode;\n codec: string;\n numberOfChannels: number;\n opus?: OpusEncoderConfig;\n sampleRate: number;\n}\n\ninterface AudioEncoderInit {\n error: WebCodecsErrorCallback;\n output: EncodedAudioChunkOutputCallback;\n}\n\ninterface AudioEncoderSupport {\n config?: AudioEncoderConfig;\n supported?: boolean;\n}\n\ninterface AvcEncoderConfig {\n format?: AvcBitstreamFormat;\n}\n\ninterface BlobPropertyBag {\n endings?: EndingType;\n type?: string;\n}\n\ninterface CSSMatrixComponentOptions {\n is2D?: boolean;\n}\n\ninterface CSSNumericType {\n angle?: number;\n flex?: number;\n frequency?: number;\n length?: number;\n percent?: number;\n percentHint?: CSSNumericBaseType;\n resolution?: number;\n time?: number;\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 CookieInit {\n domain?: string | null;\n expires?: DOMHighResTimeStamp | null;\n name: string;\n partitioned?: boolean;\n path?: string;\n sameSite?: CookieSameSite;\n value: string;\n}\n\ninterface CookieListItem {\n name?: string;\n value?: string;\n}\n\ninterface CookieStoreDeleteOptions {\n domain?: string | null;\n name: string;\n partitioned?: boolean;\n path?: string;\n}\n\ninterface CookieStoreGetOptions {\n name?: string;\n url?: string;\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 EncodedAudioChunkInit {\n data: AllowSharedBufferSource;\n duration?: number;\n timestamp: number;\n transfer?: ArrayBuffer[];\n type: EncodedAudioChunkType;\n}\n\ninterface EncodedAudioChunkMetadata {\n decoderConfig?: AudioDecoderConfig;\n}\n\ninterface EncodedVideoChunkInit {\n data: AllowSharedBufferSource;\n duration?: number;\n timestamp: number;\n type: EncodedVideoChunkType;\n}\n\ninterface EncodedVideoChunkMetadata {\n decoderConfig?: VideoDecoderConfig;\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 ExtendableCookieChangeEventInit extends ExtendableEventInit {\n changed?: CookieList;\n deleted?: CookieList;\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<void>;\n preloadResponse?: Promise<any>;\n request: Request;\n resultingClientId?: string;\n}\n\ninterface FilePropertyBag extends BlobPropertyBag {\n lastModified?: number;\n}\n\ninterface FileSystemCreateWritableOptions {\n keepExistingData?: boolean;\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 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 ImageDecodeOptions {\n completeFramesOnly?: boolean;\n frameIndex?: number;\n}\n\ninterface ImageDecodeResult {\n complete: boolean;\n image: VideoFrame;\n}\n\ninterface ImageDecoderInit {\n colorSpaceConversion?: ColorSpaceConversion;\n data: ImageBufferSource;\n desiredHeight?: number;\n desiredWidth?: number;\n preferAnimation?: boolean;\n transfer?: ArrayBuffer[];\n type: string;\n}\n\ninterface ImageEncodeOptions {\n quality?: number;\n type?: 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 KeySystemTrackConfiguration {\n robustness?: 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}\n\ninterface MediaCapabilitiesEncodingInfo extends MediaCapabilitiesInfo {\n}\n\ninterface MediaCapabilitiesInfo {\n powerEfficient: boolean;\n smooth: boolean;\n supported: boolean;\n}\n\ninterface MediaCapabilitiesKeySystemConfiguration {\n audio?: KeySystemTrackConfiguration;\n distinctiveIdentifier?: MediaKeysRequirement;\n initDataType?: string;\n keySystem: string;\n persistentState?: MediaKeysRequirement;\n sessionTypes?: string[];\n video?: KeySystemTrackConfiguration;\n}\n\ninterface MediaConfiguration {\n audio?: AudioConfiguration;\n video?: VideoConfiguration;\n}\n\ninterface MediaDecodingConfiguration extends MediaConfiguration {\n keySystemConfiguration?: MediaCapabilitiesKeySystemConfiguration;\n type: MediaDecodingType;\n}\n\ninterface MediaEncodingConfiguration extends MediaConfiguration {\n type: MediaEncodingType;\n}\n\ninterface MediaStreamTrackProcessorInit {\n maxBufferSize?: number;\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 NotificationEventInit extends ExtendableEventInit {\n action?: string;\n notification: Notification;\n}\n\ninterface NotificationOptions {\n badge?: string;\n body?: string;\n data?: any;\n dir?: NotificationDirection;\n icon?: string;\n lang?: string;\n requireInteraction?: boolean;\n silent?: boolean | null;\n tag?: string;\n}\n\ninterface OpusEncoderConfig {\n complexity?: number;\n format?: OpusBitstreamFormat;\n frameDuration?: number;\n packetlossperc?: number;\n usedtx?: boolean;\n useinbandfec?: boolean;\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 PlaneLayout {\n offset: number;\n stride: 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 PushEventInit extends ExtendableEventInit {\n data?: PushMessageDataInit;\n}\n\ninterface PushSubscriptionChangeEventInit extends ExtendableEventInit {\n newSubscription?: PushSubscription;\n oldSubscription?: PushSubscription;\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 extends RTCEncodedFrameMetadata {\n sequenceNumber?: number;\n}\n\ninterface RTCEncodedFrameMetadata {\n contributingSources?: number[];\n mimeType?: string;\n payloadType?: number;\n rtpTimestamp?: number;\n synchronizationSource?: number;\n}\n\ninterface RTCEncodedVideoFrameMetadata extends RTCEncodedFrameMetadata {\n dependencies?: number[];\n frameId?: number;\n height?: number;\n spatialIndex?: number;\n temporalIndex?: number;\n timestamp?: 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 ReadableStreamIteratorOptions {\n /**\n * Asynchronously iterates over the chunks in the stream\'s internal queue.\n *\n * Asynchronously iterating over the stream will lock it, preventing any other consumer from acquiring a reader. The lock will be released if the async iterator\'s return() method is called, e.g. by breaking out of the loop.\n *\n * By default, calling the async iterator\'s return() method will also cancel the stream. To prevent this, use the stream\'s values() method, passing true for the preventCancel option.\n */\n preventCancel?: boolean;\n}\n\ninterface ReadableStreamReadDoneResult<T> {\n done: true;\n value: T | undefined;\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 ReportingObserverOptions {\n buffered?: boolean;\n types?: string[];\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 priority?: RequestPriority;\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 hasAlphaChannel?: boolean;\n hdrMetadataType?: HdrMetadataType;\n height: number;\n scalabilityMode?: string;\n transferFunction?: TransferFunction;\n width: number;\n}\n\ninterface VideoDecoderConfig {\n codec: string;\n codedHeight?: number;\n codedWidth?: number;\n colorSpace?: VideoColorSpaceInit;\n description?: AllowSharedBufferSource;\n displayAspectHeight?: number;\n displayAspectWidth?: number;\n hardwareAcceleration?: HardwareAcceleration;\n optimizeForLatency?: boolean;\n}\n\ninterface VideoDecoderInit {\n error: WebCodecsErrorCallback;\n output: VideoFrameOutputCallback;\n}\n\ninterface VideoDecoderSupport {\n config?: VideoDecoderConfig;\n supported?: boolean;\n}\n\ninterface VideoEncoderConfig {\n alpha?: AlphaOption;\n avc?: AvcEncoderConfig;\n bitrate?: number;\n bitrateMode?: VideoEncoderBitrateMode;\n codec: string;\n contentHint?: string;\n displayHeight?: number;\n displayWidth?: number;\n framerate?: number;\n hardwareAcceleration?: HardwareAcceleration;\n height: number;\n latencyMode?: LatencyMode;\n scalabilityMode?: string;\n width: number;\n}\n\ninterface VideoEncoderEncodeOptions {\n avc?: VideoEncoderEncodeOptionsForAvc;\n keyFrame?: boolean;\n}\n\ninterface VideoEncoderEncodeOptionsForAvc {\n quantizer?: number | null;\n}\n\ninterface VideoEncoderInit {\n error: WebCodecsErrorCallback;\n output: EncodedVideoChunkOutputCallback;\n}\n\ninterface VideoEncoderSupport {\n config?: VideoEncoderConfig;\n supported?: boolean;\n}\n\ninterface VideoFrameBufferInit {\n codedHeight: number;\n codedWidth: number;\n colorSpace?: VideoColorSpaceInit;\n displayHeight?: number;\n displayWidth?: number;\n duration?: number;\n format: VideoPixelFormat;\n layout?: PlaneLayout[];\n timestamp: number;\n visibleRect?: DOMRectInit;\n}\n\ninterface VideoFrameCopyToOptions {\n colorSpace?: PredefinedColorSpace;\n format?: VideoPixelFormat;\n layout?: PlaneLayout[];\n rect?: DOMRectInit;\n}\n\ninterface VideoFrameInit {\n alpha?: AlphaOption;\n displayHeight?: number;\n displayWidth?: number;\n duration?: number;\n timestamp?: number;\n visibleRect?: DOMRectInit;\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 WebTransportCloseInfo {\n closeCode?: number;\n reason?: string;\n}\n\ninterface WebTransportErrorOptions {\n source?: WebTransportErrorSource;\n streamErrorCode?: number | null;\n}\n\ninterface WebTransportHash {\n algorithm?: string;\n value?: BufferSource;\n}\n\ninterface WebTransportOptions {\n allowPooling?: boolean;\n congestionControl?: WebTransportCongestionControl;\n requireUnreliable?: boolean;\n serverCertificateHashes?: WebTransportHash[];\n}\n\ninterface WebTransportSendOptions {\n sendOrder?: number;\n}\n\ninterface WebTransportSendStreamOptions extends WebTransportSendOptions {\n}\n\ninterface WorkerOptions {\n credentials?: RequestCredentials;\n name?: string;\n type?: WorkerType;\n}\n\ninterface WriteParams {\n data?: BufferSource | Blob | string | null;\n position?: number | null;\n size?: number | null;\n type: WriteCommandType;\n}\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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ANGLE_instanced_arrays)\n */\ninterface ANGLE_instanced_arrays {\n /**\n * The **`ANGLE_instanced_arrays.drawArraysInstancedANGLE()`** method of the WebGL API renders primitives from array data like the WebGLRenderingContext.drawArrays() method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ANGLE_instanced_arrays/drawArraysInstancedANGLE)\n */\n drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void;\n /**\n * The **`ANGLE_instanced_arrays.drawElementsInstancedANGLE()`** method of the WebGL API renders primitives from array data like the WebGLRenderingContext.drawElements() method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ANGLE_instanced_arrays/drawElementsInstancedANGLE)\n */\n drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void;\n /**\n * The **ANGLE_instanced_arrays.vertexAttribDivisorANGLE()** method of the WebGL API modifies the rate at which generic vertex attributes advance when rendering multiple instances of primitives with ANGLE_instanced_arrays.drawArraysInstancedANGLE() and ANGLE_instanced_arrays.drawElementsInstancedANGLE().\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ANGLE_instanced_arrays/vertexAttribDivisorANGLE)\n */\n vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: 0x88FE;\n}\n\n/**\n * The **`AbortController`** interface represents a controller object that allows you to abort one or more Web requests as and when desired.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController)\n */\ninterface AbortController {\n /**\n * The **`signal`** read-only property of the AbortController interface returns an AbortSignal object instance, which can be used to communicate with/abort an asynchronous operation as desired.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController/signal)\n */\n readonly signal: AbortSignal;\n /**\n * The **`abort()`** method of the AbortController interface aborts an asynchronous operation before it has completed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController/abort)\n */\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/**\n * The **`AbortSignal`** interface represents a signal object that allows you to communicate with an asynchronous operation (such as a fetch request) and abort it if required via an AbortController object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal)\n */\ninterface AbortSignal extends EventTarget {\n /**\n * The **`aborted`** read-only property returns a value that indicates whether the asynchronous operations the signal is communicating with are aborted (`true`) or not (`false`).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/aborted)\n */\n readonly aborted: boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_event) */\n onabort: ((this: AbortSignal, ev: Event) => any) | null;\n /**\n * The **`reason`** read-only property returns a JavaScript value that indicates the abort reason.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/reason)\n */\n readonly reason: any;\n /**\n * The **`throwIfAborted()`** method throws the signal\'s abort AbortSignal.reason if the signal has been aborted; otherwise it does nothing.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/throwIfAborted)\n */\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 /**\n * The **`AbortSignal.abort()`** static method returns an AbortSignal that is already set as aborted (and which does not trigger an AbortSignal/abort_event event).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static)\n */\n abort(reason?: any): AbortSignal;\n /**\n * The **`AbortSignal.any()`** static method takes an iterable of abort signals and returns an AbortSignal.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static)\n */\n any(signals: AbortSignal[]): AbortSignal;\n /**\n * The **`AbortSignal.timeout()`** static method returns an AbortSignal that will automatically abort after a specified time.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static)\n */\n timeout(milliseconds: number): AbortSignal;\n};\n\ninterface AbstractWorkerEventMap {\n "error": ErrorEvent;\n}\n\ninterface AbstractWorker {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/error_event) */\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */\n cancelAnimationFrame(handle: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */\n requestAnimationFrame(callback: FrameRequestCallback): number;\n}\n\n/**\n * The **`AudioData`** interface of the WebCodecs API represents an audio sample.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData)\n */\ninterface AudioData {\n /**\n * The **`duration`** read-only property of the AudioData interface returns the duration in microseconds of this `AudioData` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/duration)\n */\n readonly duration: number;\n /**\n * The **`format`** read-only property of the AudioData interface returns the sample format of the `AudioData` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/format)\n */\n readonly format: AudioSampleFormat | null;\n /**\n * The **`numberOfChannels`** read-only property of the AudioData interface returns the number of channels in the `AudioData` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/numberOfChannels)\n */\n readonly numberOfChannels: number;\n /**\n * The **`numberOfFrames`** read-only property of the AudioData interface returns the number of frames in the `AudioData` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/numberOfFrames)\n */\n readonly numberOfFrames: number;\n /**\n * The **`sampleRate`** read-only property of the AudioData interface returns the sample rate in Hz.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/sampleRate)\n */\n readonly sampleRate: number;\n /**\n * The **`timestamp`** read-only property of the AudioData interface returns the timestamp of this `AudioData` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/timestamp)\n */\n readonly timestamp: number;\n /**\n * The **`allocationSize()`** method of the AudioData interface returns the size in bytes required to hold the current sample as filtered by options passed into the method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/allocationSize)\n */\n allocationSize(options: AudioDataCopyToOptions): number;\n /**\n * The **`clone()`** method of the AudioData interface creates a new `AudioData` object with reference to the same media resource as the original.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/clone)\n */\n clone(): AudioData;\n /**\n * The **`close()`** method of the AudioData interface clears all states and releases the reference to the media resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/close)\n */\n close(): void;\n /**\n * The **`copyTo()`** method of the AudioData interface copies a plane of an `AudioData` object to a destination buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/copyTo)\n */\n copyTo(destination: AllowSharedBufferSource, options: AudioDataCopyToOptions): void;\n}\n\ndeclare var AudioData: {\n prototype: AudioData;\n new(init: AudioDataInit): AudioData;\n};\n\ninterface AudioDecoderEventMap {\n "dequeue": Event;\n}\n\n/**\n * The **`AudioDecoder`** interface of the WebCodecs API decodes chunks of audio.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder)\n */\ninterface AudioDecoder extends EventTarget {\n /**\n * The **`decodeQueueSize`** read-only property of the AudioDecoder interface returns the number of pending decode requests in the queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/decodeQueueSize)\n */\n readonly decodeQueueSize: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/dequeue_event) */\n ondequeue: ((this: AudioDecoder, ev: Event) => any) | null;\n /**\n * The **`state`** read-only property of the AudioDecoder interface returns the current state of the underlying codec.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/state)\n */\n readonly state: CodecState;\n /**\n * The **`close()`** method of the AudioDecoder interface ends all pending work and releases system resources.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/close)\n */\n close(): void;\n /**\n * The **`configure()`** method of the AudioDecoder interface enqueues a control message to configure the audio decoder for decoding chunks.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/configure)\n */\n configure(config: AudioDecoderConfig): void;\n /**\n * The **`decode()`** method of the AudioDecoder interface enqueues a control message to decode a given chunk of audio.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/decode)\n */\n decode(chunk: EncodedAudioChunk): void;\n /**\n * The **`flush()`** method of the AudioDecoder interface returns a Promise that resolves once all pending messages in the queue have been completed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/flush)\n */\n flush(): Promise<void>;\n /**\n * The **`reset()`** method of the AudioDecoder interface resets all states including configuration, control messages in the control message queue, and all pending callbacks.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/reset)\n */\n reset(): void;\n addEventListener<K extends keyof AudioDecoderEventMap>(type: K, listener: (this: AudioDecoder, ev: AudioDecoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AudioDecoderEventMap>(type: K, listener: (this: AudioDecoder, ev: AudioDecoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioDecoder: {\n prototype: AudioDecoder;\n new(init: AudioDecoderInit): AudioDecoder;\n /**\n * The **`isConfigSupported()`** static method of the AudioDecoder interface checks if the given config is supported (that is, if AudioDecoder objects can be successfully configured with the given config).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/isConfigSupported_static)\n */\n isConfigSupported(config: AudioDecoderConfig): Promise<AudioDecoderSupport>;\n};\n\ninterface AudioEncoderEventMap {\n "dequeue": Event;\n}\n\n/**\n * The **`AudioEncoder`** interface of the WebCodecs API encodes AudioData objects.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder)\n */\ninterface AudioEncoder extends EventTarget {\n /**\n * The **`encodeQueueSize`** read-only property of the AudioEncoder interface returns the number of pending encode requests in the queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/encodeQueueSize)\n */\n readonly encodeQueueSize: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/dequeue_event) */\n ondequeue: ((this: AudioEncoder, ev: Event) => any) | null;\n /**\n * The **`state`** read-only property of the AudioEncoder interface returns the current state of the underlying codec.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/state)\n */\n readonly state: CodecState;\n /**\n * The **`close()`** method of the AudioEncoder interface ends all pending work and releases system resources.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/close)\n */\n close(): void;\n /**\n * The **`configure()`** method of the AudioEncoder interface enqueues a control message to configure the audio encoder for encoding chunks.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/configure)\n */\n configure(config: AudioEncoderConfig): void;\n /**\n * The **`encode()`** method of the AudioEncoder interface enqueues a control message to encode a given AudioData object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/encode)\n */\n encode(data: AudioData): void;\n /**\n * The **`flush()`** method of the AudioEncoder interface returns a Promise that resolves once all pending messages in the queue have been completed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/flush)\n */\n flush(): Promise<void>;\n /**\n * The **`reset()`** method of the AudioEncoder interface resets all states including configuration, control messages in the control message queue, and all pending callbacks.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/reset)\n */\n reset(): void;\n addEventListener<K extends keyof AudioEncoderEventMap>(type: K, listener: (this: AudioEncoder, ev: AudioEncoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof AudioEncoderEventMap>(type: K, listener: (this: AudioEncoder, ev: AudioEncoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioEncoder: {\n prototype: AudioEncoder;\n new(init: AudioEncoderInit): AudioEncoder;\n /**\n * The **`isConfigSupported()`** static method of the AudioEncoder interface checks if the given config is supported (that is, if AudioEncoder objects can be successfully configured with the given config).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/isConfigSupported_static)\n */\n isConfigSupported(config: AudioEncoderConfig): Promise<AudioEncoderSupport>;\n};\n\n/**\n * The **`Blob`** interface represents a blob, which is a file-like object of immutable, raw data; they can be read as text or binary data, or converted into a ReadableStream so its methods can be used for processing the data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob)\n */\ninterface Blob {\n /**\n * The **`size`** read-only property of the Blob interface returns the size of the Blob or File in bytes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/size)\n */\n readonly size: number;\n /**\n * The **`type`** read-only property of the Blob interface returns the MIME type of the file.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/type)\n */\n readonly type: string;\n /**\n * The **`arrayBuffer()`** method of the Blob interface returns a Promise that resolves with the contents of the blob as binary data contained in an ArrayBuffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/arrayBuffer)\n */\n arrayBuffer(): Promise<ArrayBuffer>;\n /**\n * The **`bytes()`** method of the Blob interface returns a Promise that resolves with a Uint8Array containing the contents of the blob as an array of bytes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/bytes)\n */\n bytes(): Promise<Uint8Array<ArrayBuffer>>;\n /**\n * The **`slice()`** method of the Blob interface creates and returns a new `Blob` object which contains data from a subset of the blob on which it\'s called.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice)\n */\n slice(start?: number, end?: number, contentType?: string): Blob;\n /**\n * The **`stream()`** method of the Blob interface returns a ReadableStream which upon reading returns the data contained within the `Blob`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/stream)\n */\n stream(): ReadableStream<Uint8Array<ArrayBuffer>>;\n /**\n * The **`text()`** method of the string containing the contents of the blob, interpreted as UTF-8.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text)\n */\n text(): Promise<string>;\n}\n\ndeclare var Blob: {\n prototype: Blob;\n new(blobParts?: BlobPart[], options?: BlobPropertyBag): Blob;\n};\n\ninterface Body {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/body) */\n readonly body: ReadableStream<Uint8Array<ArrayBuffer>> | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bodyUsed) */\n readonly bodyUsed: boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/arrayBuffer) */\n arrayBuffer(): Promise<ArrayBuffer>;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/blob) */\n blob(): Promise<Blob>;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/bytes) */\n bytes(): Promise<Uint8Array<ArrayBuffer>>;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/formData) */\n formData(): Promise<FormData>;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/json) */\n json(): Promise<any>;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/text) */\n text(): Promise<string>;\n}\n\ninterface BroadcastChannelEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/**\n * The **`BroadcastChannel`** interface represents a named channel that any browsing context of a given origin can subscribe to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel)\n */\ninterface BroadcastChannel extends EventTarget {\n /**\n * The **`name`** read-only property of the BroadcastChannel interface returns a string, which uniquely identifies the given channel with its name.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/name)\n */\n readonly name: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/message_event) */\n onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/messageerror_event) */\n onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n /**\n * The **`close()`** method of the BroadcastChannel interface terminates the connection to the underlying channel, allowing the object to be garbage collected.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/close)\n */\n close(): void;\n /**\n * The **`postMessage()`** method of the BroadcastChannel interface sends a message, which can be of any kind of Object, to each listener in any browsing context with the same origin.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/BroadcastChannel/postMessage)\n */\n postMessage(message: any): void;\n addEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof BroadcastChannelEventMap>(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var BroadcastChannel: {\n prototype: BroadcastChannel;\n new(name: string): BroadcastChannel;\n};\n\n/**\n * The **`ByteLengthQueuingStrategy`** interface of the Streams API provides a built-in byte length queuing strategy that can be used when constructing streams.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy)\n */\ninterface ByteLengthQueuingStrategy extends QueuingStrategy<ArrayBufferView> {\n /**\n * The read-only **`ByteLengthQueuingStrategy.highWaterMark`** property returns the total number of bytes that can be contained in the internal queue before backpressure is applied.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy/highWaterMark)\n */\n readonly highWaterMark: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ByteLengthQueuingStrategy/size) */\n readonly size: QueuingStrategySize<ArrayBufferView>;\n}\n\ndeclare var ByteLengthQueuingStrategy: {\n prototype: ByteLengthQueuingStrategy;\n new(init: QueuingStrategyInit): ByteLengthQueuingStrategy;\n};\n\n/**\n * The **`CSSImageValue`** interface of the CSS Typed Object Model API represents values for properties that take an image, for example background-image, list-style-image, or border-image-source.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSImageValue)\n */\ninterface CSSImageValue extends CSSStyleValue {\n}\n\ndeclare var CSSImageValue: {\n prototype: CSSImageValue;\n new(): CSSImageValue;\n};\n\n/**\n * The **`CSSKeywordValue`** interface of the CSS Typed Object Model API creates an object to represent CSS keywords and other identifiers.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue)\n */\ninterface CSSKeywordValue extends CSSStyleValue {\n /**\n * The **`value`** property of the `CSSKeywordValue`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSKeywordValue/value)\n */\n value: string;\n}\n\ndeclare var CSSKeywordValue: {\n prototype: CSSKeywordValue;\n new(value: string): CSSKeywordValue;\n};\n\ninterface CSSMathClamp extends CSSMathValue {\n readonly lower: CSSNumericValue;\n readonly upper: CSSNumericValue;\n readonly value: CSSNumericValue;\n}\n\ndeclare var CSSMathClamp: {\n prototype: CSSMathClamp;\n new(lower: CSSNumberish, value: CSSNumberish, upper: CSSNumberish): CSSMathClamp;\n};\n\n/**\n * The **`CSSMathInvert`** interface of the CSS Typed Object Model API represents a CSS calc used as `calc(1 / <value>)`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert)\n */\ninterface CSSMathInvert extends CSSMathValue {\n /**\n * The CSSMathInvert.value read-only property of the A CSSNumericValue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathInvert/value)\n */\n readonly value: CSSNumericValue;\n}\n\ndeclare var CSSMathInvert: {\n prototype: CSSMathInvert;\n new(arg: CSSNumberish): CSSMathInvert;\n};\n\n/**\n * The **`CSSMathMax`** interface of the CSS Typed Object Model API represents the CSS max function.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax)\n */\ninterface CSSMathMax extends CSSMathValue {\n /**\n * The CSSMathMax.values read-only property of the which contains one or more CSSNumericValue objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax/values)\n */\n readonly values: CSSNumericArray;\n}\n\ndeclare var CSSMathMax: {\n prototype: CSSMathMax;\n new(...args: CSSNumberish[]): CSSMathMax;\n};\n\n/**\n * The **`CSSMathMin`** interface of the CSS Typed Object Model API represents the CSS min function.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin)\n */\ninterface CSSMathMin extends CSSMathValue {\n /**\n * The CSSMathMin.values read-only property of the which contains one or more CSSNumericValue objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMin/values)\n */\n readonly values: CSSNumericArray;\n}\n\ndeclare var CSSMathMin: {\n prototype: CSSMathMin;\n new(...args: CSSNumberish[]): CSSMathMin;\n};\n\n/**\n * The **`CSSMathNegate`** interface of the CSS Typed Object Model API negates the value passed into it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate)\n */\ninterface CSSMathNegate extends CSSMathValue {\n /**\n * The CSSMathNegate.value read-only property of the A CSSNumericValue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathNegate/value)\n */\n readonly value: CSSNumericValue;\n}\n\ndeclare var CSSMathNegate: {\n prototype: CSSMathNegate;\n new(arg: CSSNumberish): CSSMathNegate;\n};\n\n/**\n * The **`CSSMathProduct`** interface of the CSS Typed Object Model API represents the result obtained by calling CSSNumericValue.add, CSSNumericValue.sub, or CSSNumericValue.toSum on CSSNumericValue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct)\n */\ninterface CSSMathProduct extends CSSMathValue {\n /**\n * The **`CSSMathProduct.values`** read-only property of the CSSMathProduct interface returns a A CSSNumericArray.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathProduct/values)\n */\n readonly values: CSSNumericArray;\n}\n\ndeclare var CSSMathProduct: {\n prototype: CSSMathProduct;\n new(...args: CSSNumberish[]): CSSMathProduct;\n};\n\n/**\n * The **`CSSMathSum`** interface of the CSS Typed Object Model API represents the result obtained by calling CSSNumericValue.add, CSSNumericValue.sub, or CSSNumericValue.toSum on CSSNumericValue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathSum)\n */\ninterface CSSMathSum extends CSSMathValue {\n /**\n * The **`CSSMathSum.values`** read-only property of the CSSMathSum interface returns a CSSNumericArray object which contains one or more CSSNumericValue objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathSum/values)\n */\n readonly values: CSSNumericArray;\n}\n\ndeclare var CSSMathSum: {\n prototype: CSSMathSum;\n new(...args: CSSNumberish[]): CSSMathSum;\n};\n\n/**\n * The **`CSSMathValue`** interface of the CSS Typed Object Model API a base class for classes representing complex numeric values.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathValue)\n */\ninterface CSSMathValue extends CSSNumericValue {\n /**\n * The **`CSSMathValue.operator`** read-only property of the CSSMathValue interface indicates the operator that the current subtype represents.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathValue/operator)\n */\n readonly operator: CSSMathOperator;\n}\n\ndeclare var CSSMathValue: {\n prototype: CSSMathValue;\n new(): CSSMathValue;\n};\n\n/**\n * The **`CSSMatrixComponent`** interface of the CSS Typed Object Model API represents the matrix() and matrix3d() values of the individual transform property in CSS.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent)\n */\ninterface CSSMatrixComponent extends CSSTransformComponent {\n /**\n * The **`matrix`** property of the See the matrix() and matrix3d() pages for examples.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMatrixComponent/matrix)\n */\n matrix: DOMMatrix;\n}\n\ndeclare var CSSMatrixComponent: {\n prototype: CSSMatrixComponent;\n new(matrix: DOMMatrixReadOnly, options?: CSSMatrixComponentOptions): CSSMatrixComponent;\n};\n\n/**\n * The **`CSSNumericArray`** interface of the CSS Typed Object Model API contains a list of CSSNumericValue objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray)\n */\ninterface CSSNumericArray {\n /**\n * The read-only **`length`** property of the An integer representing the number of CSSNumericValue objects in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericArray/length)\n */\n readonly length: number;\n forEach(callbackfn: (value: CSSNumericValue, key: number, parent: CSSNumericArray) => void, thisArg?: any): void;\n [index: number]: CSSNumericValue;\n}\n\ndeclare var CSSNumericArray: {\n prototype: CSSNumericArray;\n new(): CSSNumericArray;\n};\n\n/**\n * The **`CSSNumericValue`** interface of the CSS Typed Object Model API represents operations that all numeric values can perform.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue)\n */\ninterface CSSNumericValue extends CSSStyleValue {\n /**\n * The **`add()`** method of the `CSSNumericValue`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/add)\n */\n add(...values: CSSNumberish[]): CSSNumericValue;\n /**\n * The **`div()`** method of the supplied value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/div)\n */\n div(...values: CSSNumberish[]): CSSNumericValue;\n /**\n * The **`equals()`** method of the value are strictly equal.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/equals)\n */\n equals(...value: CSSNumberish[]): boolean;\n /**\n * The **`max()`** method of the passed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/max)\n */\n max(...values: CSSNumberish[]): CSSNumericValue;\n /**\n * The **`min()`** method of the values passed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/min)\n */\n min(...values: CSSNumberish[]): CSSNumericValue;\n /**\n * The **`mul()`** method of the the supplied value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/mul)\n */\n mul(...values: CSSNumberish[]): CSSNumericValue;\n /**\n * The **`sub()`** method of the `CSSNumericValue`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/sub)\n */\n sub(...values: CSSNumberish[]): CSSNumericValue;\n /**\n * The **`to()`** method of the another.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/to)\n */\n to(unit: string): CSSUnitValue;\n /**\n * The **`toSum()`** method of the ```js-nolint toSum(units) ``` - `units` - : The units to convert to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/toSum)\n */\n toSum(...units: string[]): CSSMathSum;\n /**\n * The **`type()`** method of the `CSSNumericValue`, one of `angle`, `flex`, `frequency`, `length`, `resolution`, `percent`, `percentHint`, or `time`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNumericValue/type)\n */\n type(): CSSNumericType;\n}\n\ndeclare var CSSNumericValue: {\n prototype: CSSNumericValue;\n new(): CSSNumericValue;\n};\n\n/**\n * The **`CSSPerspective`** interface of the CSS Typed Object Model API represents the perspective() value of the individual transform property in CSS.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective)\n */\ninterface CSSPerspective extends CSSTransformComponent {\n /**\n * The **`length`** property of the It is used to apply a perspective transform to the element and its content.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSPerspective/length)\n */\n length: CSSPerspectiveValue;\n}\n\ndeclare var CSSPerspective: {\n prototype: CSSPerspective;\n new(length: CSSPerspectiveValue): CSSPerspective;\n};\n\n/**\n * The **`CSSRotate`** interface of the CSS Typed Object Model API represents the rotate value of the individual transform property in CSS.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate)\n */\ninterface CSSRotate extends CSSTransformComponent {\n /**\n * The **`angle`** property of the denotes a clockwise rotation, a negative angle a counter-clockwise one.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/angle)\n */\n angle: CSSNumericValue;\n /**\n * The **`x`** property of the translating vector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/x)\n */\n x: CSSNumberish;\n /**\n * The **`y`** property of the translating vector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/y)\n */\n y: CSSNumberish;\n /**\n * The **`z`** property of the vector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSRotate/z)\n */\n z: CSSNumberish;\n}\n\ndeclare var CSSRotate: {\n prototype: CSSRotate;\n new(angle: CSSNumericValue): CSSRotate;\n new(x: CSSNumberish, y: CSSNumberish, z: CSSNumberish, angle: CSSNumericValue): CSSRotate;\n};\n\n/**\n * The **`CSSScale`** interface of the CSS Typed Object Model API represents the scale() and scale3d() values of the individual transform property in CSS.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale)\n */\ninterface CSSScale extends CSSTransformComponent {\n /**\n * The **`x`** property of the translating vector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/x)\n */\n x: CSSNumberish;\n /**\n * The **`y`** property of the translating vector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/y)\n */\n y: CSSNumberish;\n /**\n * The **`z`** property of the vector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSScale/z)\n */\n z: CSSNumberish;\n}\n\ndeclare var CSSScale: {\n prototype: CSSScale;\n new(x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale;\n};\n\n/**\n * The **`CSSSkew`** interface of the CSS Typed Object Model API is part of the CSSTransformValue interface.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew)\n */\ninterface CSSSkew extends CSSTransformComponent {\n /**\n * The **`ax`** property of the along the x-axis (or abscissa).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax)\n */\n ax: CSSNumericValue;\n /**\n * The **`ay`** property of the along the y-axis (or ordinate).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ay)\n */\n ay: CSSNumericValue;\n}\n\ndeclare var CSSSkew: {\n prototype: CSSSkew;\n new(ax: CSSNumericValue, ay: CSSNumericValue): CSSSkew;\n};\n\n/**\n * The **`CSSSkewX`** interface of the CSS Typed Object Model API represents the `skewX()` value of the individual transform property in CSS.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX)\n */\ninterface CSSSkewX extends CSSTransformComponent {\n /**\n * The **`ax`** property of the along the x-axis (or abscissa).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewX/ax)\n */\n ax: CSSNumericValue;\n}\n\ndeclare var CSSSkewX: {\n prototype: CSSSkewX;\n new(ax: CSSNumericValue): CSSSkewX;\n};\n\n/**\n * The **`CSSSkewY`** interface of the CSS Typed Object Model API represents the `skewY()` value of the individual transform property in CSS.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY)\n */\ninterface CSSSkewY extends CSSTransformComponent {\n /**\n * The **`ay`** property of the along the y-axis (or ordinate).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkewY/ay)\n */\n ay: CSSNumericValue;\n}\n\ndeclare var CSSSkewY: {\n prototype: CSSSkewY;\n new(ay: CSSNumericValue): CSSSkewY;\n};\n\n/**\n * The **`CSSStyleValue`** interface of the CSS Typed Object Model API is the base class of all CSS values accessible through the Typed OM API.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSStyleValue)\n */\ninterface CSSStyleValue {\n toString(): string;\n}\n\ndeclare var CSSStyleValue: {\n prototype: CSSStyleValue;\n new(): CSSStyleValue;\n};\n\n/**\n * The **`CSSTransformComponent`** interface of the CSS Typed Object Model API is part of the CSSTransformValue interface.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent)\n */\ninterface CSSTransformComponent {\n /**\n * The **`is2D`** read-only property of the CSSTransformComponent interface indicates where the transform is 2D or 3D.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent/is2D)\n */\n is2D: boolean;\n /**\n * The **`toMatrix()`** method of the object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformComponent/toMatrix)\n */\n toMatrix(): DOMMatrix;\n toString(): string;\n}\n\ndeclare var CSSTransformComponent: {\n prototype: CSSTransformComponent;\n new(): CSSTransformComponent;\n};\n\n/**\n * The **`CSSTransformValue`** interface of the CSS Typed Object Model API represents `transform-list` values as used by the CSS transform property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue)\n */\ninterface CSSTransformValue extends CSSStyleValue {\n /**\n * The read-only **`is2D`** property of the In the case of the `CSSTransformValue` this property returns true unless any of the individual functions return false for `Is2D`, in which case it returns false.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/is2D)\n */\n readonly is2D: boolean;\n /**\n * The read-only **`length`** property of the the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/length)\n */\n readonly length: number;\n /**\n * The **`toMatrix()`** method of the ```js-nolint toMatrix() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTransformValue/toMatrix)\n */\n toMatrix(): DOMMatrix;\n forEach(callbackfn: (value: CSSTransformComponent, key: number, parent: CSSTransformValue) => void, thisArg?: any): void;\n [index: number]: CSSTransformComponent;\n}\n\ndeclare var CSSTransformValue: {\n prototype: CSSTransformValue;\n new(transforms: CSSTransformComponent[]): CSSTransformValue;\n};\n\n/**\n * The **`CSSTranslate`** interface of the CSS Typed Object Model API represents the translate() value of the individual transform property in CSS.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate)\n */\ninterface CSSTranslate extends CSSTransformComponent {\n /**\n * The **`x`** property of the translating vector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/x)\n */\n x: CSSNumericValue;\n /**\n * The **`y`** property of the translating vector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/y)\n */\n y: CSSNumericValue;\n /**\n * The **`z`** property of the vector.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSTranslate/z)\n */\n z: CSSNumericValue;\n}\n\ndeclare var CSSTranslate: {\n prototype: CSSTranslate;\n new(x: CSSNumericValue, y: CSSNumericValue, z?: CSSNumericValue): CSSTranslate;\n};\n\n/**\n * The **`CSSUnitValue`** interface of the CSS Typed Object Model API represents values that contain a single unit type.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue)\n */\ninterface CSSUnitValue extends CSSNumericValue {\n /**\n * The **`CSSUnitValue.unit`** read-only property of the CSSUnitValue interface returns a string indicating the type of unit.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/unit)\n */\n readonly unit: string;\n /**\n * The **`CSSUnitValue.value`** property of the A double.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnitValue/value)\n */\n value: number;\n}\n\ndeclare var CSSUnitValue: {\n prototype: CSSUnitValue;\n new(value: number, unit: string): CSSUnitValue;\n};\n\n/**\n * The **`CSSUnparsedValue`** interface of the CSS Typed Object Model API represents property values that reference custom properties.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue)\n */\ninterface CSSUnparsedValue extends CSSStyleValue {\n /**\n * The **`length`** read-only property of the An integer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSUnparsedValue/length)\n */\n readonly length: number;\n forEach(callbackfn: (value: CSSUnparsedSegment, key: number, parent: CSSUnparsedValue) => void, thisArg?: any): void;\n [index: number]: CSSUnparsedSegment;\n}\n\ndeclare var CSSUnparsedValue: {\n prototype: CSSUnparsedValue;\n new(members: CSSUnparsedSegment[]): CSSUnparsedValue;\n};\n\n/**\n * The **`CSSVariableReferenceValue`** interface of the CSS Typed Object Model API allows you to create a custom name for a built-in CSS value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue)\n */\ninterface CSSVariableReferenceValue {\n /**\n * The **`fallback`** read-only property of the A CSSUnparsedValue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/fallback)\n */\n readonly fallback: CSSUnparsedValue | null;\n /**\n * The **`variable`** property of the A string beginning with `--` (that is, a custom property name).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSVariableReferenceValue/variable)\n */\n variable: string;\n}\n\ndeclare var CSSVariableReferenceValue: {\n prototype: CSSVariableReferenceValue;\n new(variable: string, fallback?: CSSUnparsedValue | null): CSSVariableReferenceValue;\n};\n\n/**\n * The **`Cache`** interface provides a persistent storage mechanism for Request / Response object pairs that are cached in long lived memory.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache)\n */\ninterface Cache {\n /**\n * The **`add()`** method of the Cache interface takes a URL, retrieves it, and adds the resulting response object to the given cache.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/add)\n */\n add(request: RequestInfo | URL): Promise<void>;\n /**\n * The **`addAll()`** method of the Cache interface takes an array of URLs, retrieves them, and adds the resulting response objects to the given cache.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll)\n */\n addAll(requests: RequestInfo[]): Promise<void>;\n /**\n * The **`delete()`** method of the Cache interface finds the Cache entry whose key is the request, and if found, deletes the Cache entry and returns a Promise that resolves to `true`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/delete)\n */\n delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<boolean>;\n /**\n * The **`keys()`** method of the Cache interface returns a representing the keys of the Cache.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/keys)\n */\n keys(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Request>>;\n /**\n * The **`match()`** method of the Cache interface returns a Promise that resolves to the Response associated with the first matching request in the Cache object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/match)\n */\n match(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<Response | undefined>;\n /**\n * The **`matchAll()`** method of the Cache interface returns a Promise that resolves to an array of all matching responses in the Cache object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/matchAll)\n */\n matchAll(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;\n /**\n * The **`put()`** method of the Often, you will just want to Window/fetch one or more requests, then add the result straight to your cache.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/put)\n */\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 **`CacheStorage`** interface represents the storage for Cache objects.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage)\n */\ninterface CacheStorage {\n /**\n * The **`delete()`** method of the CacheStorage interface finds the Cache object matching the `cacheName`, and if found, deletes the Cache object and returns a Promise that resolves to `true`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/delete)\n */\n delete(cacheName: string): Promise<boolean>;\n /**\n * The **`has()`** method of the CacheStorage interface returns a Promise that resolves to `true` if a You can access `CacheStorage` through the Window.caches property in windows or through the WorkerGlobalScope.caches property in workers.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/has)\n */\n has(cacheName: string): Promise<boolean>;\n /**\n * The **`keys()`** method of the CacheStorage interface returns a Promise that will resolve with an array containing strings corresponding to all of the named Cache objects tracked by the CacheStorage object in the order they were created.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/keys)\n */\n keys(): Promise<string[]>;\n /**\n * The **`match()`** method of the CacheStorage interface checks if a given Request or URL string is a key for a stored Response.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/match)\n */\n match(request: RequestInfo | URL, options?: MultiCacheQueryOptions): Promise<Response | undefined>;\n /**\n * The **`open()`** method of the the Cache object matching the `cacheName`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CacheStorage/open)\n */\n open(cacheName: string): Promise<Cache>;\n}\n\ndeclare var CacheStorage: {\n prototype: CacheStorage;\n new(): CacheStorage;\n};\n\ninterface CanvasCompositing {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/globalAlpha) */\n globalAlpha: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation) */\n globalCompositeOperation: GlobalCompositeOperation;\n}\n\ninterface CanvasDrawImage {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/drawImage) */\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/beginPath) */\n beginPath(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/clip) */\n clip(fillRule?: CanvasFillRule): void;\n clip(path: Path2D, fillRule?: CanvasFillRule): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fill) */\n fill(fillRule?: CanvasFillRule): void;\n fill(path: Path2D, fillRule?: CanvasFillRule): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isPointInPath) */\n isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean;\n isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isPointInStroke) */\n isPointInStroke(x: number, y: number): boolean;\n isPointInStroke(path: Path2D, x: number, y: number): boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/stroke) */\n stroke(): void;\n stroke(path: Path2D): void;\n}\n\ninterface CanvasFillStrokeStyles {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fillStyle) */\n fillStyle: string | CanvasGradient | CanvasPattern;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/strokeStyle) */\n strokeStyle: string | CanvasGradient | CanvasPattern;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/createConicGradient) */\n createConicGradient(startAngle: number, x: number, y: number): CanvasGradient;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/createLinearGradient) */\n createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/createPattern) */\n createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/createRadialGradient) */\n createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient;\n}\n\ninterface CanvasFilters {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/filter) */\n filter: string;\n}\n\n/**\n * The **`CanvasGradient`** interface represents an opaque object describing a gradient.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasGradient)\n */\ninterface CanvasGradient {\n /**\n * The **`CanvasGradient.addColorStop()`** method adds a new color stop, defined by an `offset` and a `color`, to a given canvas gradient.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasGradient/addColorStop)\n */\n addColorStop(offset: number, color: string): void;\n}\n\ndeclare var CanvasGradient: {\n prototype: CanvasGradient;\n new(): CanvasGradient;\n};\n\ninterface CanvasImageData {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/createImageData) */\n createImageData(sw: number, sh: number, settings?: ImageDataSettings): ImageData;\n createImageData(imageData: ImageData): ImageData;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/getImageData) */\n getImageData(sx: number, sy: number, sw: number, sh: number, settings?: ImageDataSettings): ImageData;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/putImageData) */\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/imageSmoothingEnabled) */\n imageSmoothingEnabled: boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/imageSmoothingQuality) */\n imageSmoothingQuality: ImageSmoothingQuality;\n}\n\ninterface CanvasPath {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/arc) */\n arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/arcTo) */\n arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/bezierCurveTo) */\n bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/closePath) */\n closePath(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/ellipse) */\n ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lineTo) */\n lineTo(x: number, y: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/moveTo) */\n moveTo(x: number, y: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/quadraticCurveTo) */\n quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/rect) */\n rect(x: number, y: number, w: number, h: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) */\n roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): void;\n}\n\ninterface CanvasPathDrawingStyles {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lineCap) */\n lineCap: CanvasLineCap;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lineDashOffset) */\n lineDashOffset: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lineJoin) */\n lineJoin: CanvasLineJoin;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/lineWidth) */\n lineWidth: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/miterLimit) */\n miterLimit: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/getLineDash) */\n getLineDash(): number[];\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash) */\n setLineDash(segments: number[]): void;\n}\n\n/**\n * The **`CanvasPattern`** interface represents an opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasPattern)\n */\ninterface CanvasPattern {\n /**\n * The **`CanvasPattern.setTransform()`** method uses a DOMMatrix object as the pattern\'s transformation matrix and invokes it on the pattern.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasPattern/setTransform)\n */\n setTransform(transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var CanvasPattern: {\n prototype: CanvasPattern;\n new(): CanvasPattern;\n};\n\ninterface CanvasRect {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/clearRect) */\n clearRect(x: number, y: number, w: number, h: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fillRect) */\n fillRect(x: number, y: number, w: number, h: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/strokeRect) */\n strokeRect(x: number, y: number, w: number, h: number): void;\n}\n\ninterface CanvasShadowStyles {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/shadowBlur) */\n shadowBlur: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/shadowColor) */\n shadowColor: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/shadowOffsetX) */\n shadowOffsetX: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/shadowOffsetY) */\n shadowOffsetY: number;\n}\n\ninterface CanvasState {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) */\n isContextLost(): boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) */\n reset(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/restore) */\n restore(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/save) */\n save(): void;\n}\n\ninterface CanvasText {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fillText) */\n fillText(text: string, x: number, y: number, maxWidth?: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/measureText) */\n measureText(text: string): TextMetrics;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/strokeText) */\n strokeText(text: string, x: number, y: number, maxWidth?: number): void;\n}\n\ninterface CanvasTextDrawingStyles {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/direction) */\n direction: CanvasDirection;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/font) */\n font: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontKerning) */\n fontKerning: CanvasFontKerning;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontStretch) */\n fontStretch: CanvasFontStretch;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/fontVariantCaps) */\n fontVariantCaps: CanvasFontVariantCaps;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/letterSpacing) */\n letterSpacing: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textAlign) */\n textAlign: CanvasTextAlign;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textBaseline) */\n textBaseline: CanvasTextBaseline;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/textRendering) */\n textRendering: CanvasTextRendering;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/wordSpacing) */\n wordSpacing: string;\n}\n\ninterface CanvasTransform {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/getTransform) */\n getTransform(): DOMMatrix;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/resetTransform) */\n resetTransform(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/rotate) */\n rotate(angle: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/scale) */\n scale(x: number, y: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setTransform) */\n setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void;\n setTransform(transform?: DOMMatrix2DInit): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/transform) */\n transform(a: number, b: number, c: number, d: number, e: number, f: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/translate) */\n translate(x: number, y: number): void;\n}\n\n/**\n * The `Client` interface represents an executable context such as a Worker, or a SharedWorker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Client)\n */\ninterface Client {\n /**\n * The **`frameType`** read-only property of the Client interface indicates the type of browsing context of the current Client.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Client/frameType)\n */\n readonly frameType: FrameType;\n /**\n * The **`id`** read-only property of the Client interface returns the universally unique identifier of the Client object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Client/id)\n */\n readonly id: string;\n /**\n * The **`type`** read-only property of the Client interface indicates the type of client the service worker is controlling.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Client/type)\n */\n readonly type: ClientTypes;\n /**\n * The **`url`** read-only property of the Client interface returns the URL of the current service worker client.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Client/url)\n */\n readonly url: string;\n /**\n * The **`postMessage()`** method of the (a Window, Worker, or SharedWorker).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Client/postMessage)\n */\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/**\n * The `Clients` interface provides access to Client objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clients)\n */\ninterface Clients {\n /**\n * The **`claim()`** method of the Clients interface allows an active service worker to set itself as the ServiceWorkerContainer.controller for all clients within its ServiceWorkerRegistration.scope.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clients/claim)\n */\n claim(): Promise<void>;\n /**\n * The **`get()`** method of the `id` and returns it in a Promise.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clients/get)\n */\n get(id: string): Promise<Client | undefined>;\n /**\n * The **`matchAll()`** method of the Clients interface returns a Promise for a list of service worker clients whose origin is the same as the associated service worker\'s origin.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clients/matchAll)\n */\n matchAll<T extends ClientQueryOptions>(options?: T): Promise<ReadonlyArray<T["type"] extends "window" ? WindowClient : Client>>;\n /**\n * The **`openWindow()`** method of the Clients interface creates a new top level browsing context and loads a given URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Clients/openWindow)\n */\n openWindow(url: string | URL): Promise<WindowClient | null>;\n}\n\ndeclare var Clients: {\n prototype: Clients;\n new(): Clients;\n};\n\n/**\n * A `CloseEvent` is sent to clients using WebSockets when the connection is closed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent)\n */\ninterface CloseEvent extends Event {\n /**\n * The **`code`** read-only property of the CloseEvent interface returns a WebSocket connection close code indicating the reason the connection was closed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent/code)\n */\n readonly code: number;\n /**\n * The **`reason`** read-only property of the CloseEvent interface returns the WebSocket connection close reason the server gave for closing the connection; that is, a concise human-readable prose explanation for the closure.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent/reason)\n */\n readonly reason: string;\n /**\n * The **`wasClean`** read-only property of the CloseEvent interface returns `true` if the connection closed cleanly.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CloseEvent/wasClean)\n */\n readonly wasClean: boolean;\n}\n\ndeclare var CloseEvent: {\n prototype: CloseEvent;\n new(type: string, eventInitDict?: CloseEventInit): CloseEvent;\n};\n\n/**\n * The **`CompressionStream`** interface of the Compression Streams API is an API for compressing a stream of data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream)\n */\ninterface CompressionStream extends GenericTransformStream {\n readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;\n readonly writable: WritableStream<BufferSource>;\n}\n\ndeclare var CompressionStream: {\n prototype: CompressionStream;\n new(format: CompressionFormat): CompressionStream;\n};\n\n/**\n * The **`CookieStore`** interface of the Cookie Store API provides methods for getting and setting cookies asynchronously from either a page or a service worker.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore)\n */\ninterface CookieStore extends EventTarget {\n /**\n * The **`delete()`** method of the CookieStore interface deletes a cookie that matches the given `name` or `options` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore/delete)\n */\n delete(name: string): Promise<void>;\n delete(options: CookieStoreDeleteOptions): Promise<void>;\n /**\n * The **`get()`** method of the CookieStore interface returns a Promise that resolves to a single cookie matching the given `name` or `options` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore/get)\n */\n get(name: string): Promise<CookieListItem | null>;\n get(options?: CookieStoreGetOptions): Promise<CookieListItem | null>;\n /**\n * The **`getAll()`** method of the CookieStore interface returns a Promise that resolves as an array of cookies that match the `name` or `options` passed to it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore/getAll)\n */\n getAll(name: string): Promise<CookieList>;\n getAll(options?: CookieStoreGetOptions): Promise<CookieList>;\n /**\n * The **`set()`** method of the CookieStore interface sets a cookie with the given `name` and `value` or `options` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStore/set)\n */\n set(name: string, value: string): Promise<void>;\n set(options: CookieInit): Promise<void>;\n}\n\ndeclare var CookieStore: {\n prototype: CookieStore;\n new(): CookieStore;\n};\n\n/**\n * The **`CookieStoreManager`** interface of the Cookie Store API allows service workers to subscribe to cookie change events.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager)\n */\ninterface CookieStoreManager {\n /**\n * The **`getSubscriptions()`** method of the CookieStoreManager interface returns a list of all the cookie change subscriptions for this ServiceWorkerRegistration.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/getSubscriptions)\n */\n getSubscriptions(): Promise<CookieStoreGetOptions[]>;\n /**\n * The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)\n */\n subscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;\n /**\n * The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)\n */\n unsubscribe(subscriptions: CookieStoreGetOptions[]): Promise<void>;\n}\n\ndeclare var CookieStoreManager: {\n prototype: CookieStoreManager;\n new(): CookieStoreManager;\n};\n\n/**\n * The **`CountQueuingStrategy`** interface of the Streams API provides a built-in chunk counting queuing strategy that can be used when constructing streams.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy)\n */\ninterface CountQueuingStrategy extends QueuingStrategy {\n /**\n * The read-only **`CountQueuingStrategy.highWaterMark`** property returns the total number of chunks that can be contained in the internal queue before backpressure is applied.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy/highWaterMark)\n */\n readonly highWaterMark: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CountQueuingStrategy/size) */\n readonly size: QueuingStrategySize;\n}\n\ndeclare var CountQueuingStrategy: {\n prototype: CountQueuingStrategy;\n new(init: QueuingStrategyInit): CountQueuingStrategy;\n};\n\n/**\n * The **`Crypto`** interface represents basic cryptography features available in the current context.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto)\n */\ninterface Crypto {\n /**\n * The **`Crypto.subtle`** read-only property returns a cryptographic operations.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/subtle)\n */\n readonly subtle: SubtleCrypto;\n /**\n * The **`Crypto.getRandomValues()`** method lets you get cryptographically strong random values.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues)\n */\n getRandomValues<T extends ArrayBufferView>(array: T): T;\n /**\n * The **`randomUUID()`** method of the Crypto interface is used to generate a v4 UUID using a cryptographically secure random number generator.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/randomUUID)\n */\n randomUUID(): `${string}-${string}-${string}-${string}-${string}`;\n}\n\ndeclare var Crypto: {\n prototype: Crypto;\n new(): Crypto;\n};\n\n/**\n * The **`CryptoKey`** interface of the Web Crypto API represents a cryptographic key obtained from one of the SubtleCrypto methods SubtleCrypto.generateKey, SubtleCrypto.deriveKey, SubtleCrypto.importKey, or SubtleCrypto.unwrapKey.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey)\n */\ninterface CryptoKey {\n /**\n * The read-only **`algorithm`** property of the CryptoKey interface returns an object describing the algorithm for which this key can be used, and any associated extra parameters.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/algorithm)\n */\n readonly algorithm: KeyAlgorithm;\n /**\n * The read-only **`extractable`** property of the CryptoKey interface indicates whether or not the key may be extracted using `SubtleCrypto.exportKey()` or `SubtleCrypto.wrapKey()`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/extractable)\n */\n readonly extractable: boolean;\n /**\n * The read-only **`type`** property of the CryptoKey interface indicates which kind of key is represented by the object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/type)\n */\n readonly type: KeyType;\n /**\n * The read-only **`usages`** property of the CryptoKey interface indicates what can be done with the key.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CryptoKey/usages)\n */\n readonly usages: KeyUsage[];\n}\n\ndeclare var CryptoKey: {\n prototype: CryptoKey;\n new(): CryptoKey;\n};\n\n/**\n * The **`CustomEvent`** interface represents events initialized by an application for any purpose.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)\n */\ninterface CustomEvent<T = any> extends Event {\n /**\n * The read-only **`detail`** property of the CustomEvent interface returns any data passed when initializing the event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent/detail)\n */\n readonly detail: T;\n /**\n * The **`CustomEvent.initCustomEvent()`** method initializes a CustomEvent object.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent/initCustomEvent)\n */\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/**\n * The **`DOMException`** interface represents an abnormal event (called an **exception**) that occurs as a result of calling a method or accessing a property of a web API.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException)\n */\ninterface DOMException extends Error {\n /**\n * The **`code`** read-only property of the DOMException interface returns one of the legacy error code constants, or `0` if none match.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)\n */\n readonly code: number;\n /**\n * The **`message`** read-only property of the a message or description associated with the given error name.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message)\n */\n readonly message: string;\n /**\n * The **`name`** read-only property of the one of the strings associated with an error name.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name)\n */\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/**\n * The **`DOMMatrix`** interface represents 4×4 matrices, suitable for 2D and 3D operations including rotation and translation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix)\n */\ninterface DOMMatrix extends DOMMatrixReadOnly {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n a: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n b: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n c: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n d: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n e: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n f: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m11: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m12: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m13: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m14: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m21: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m22: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m23: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m24: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m31: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m32: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m33: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m34: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m41: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m42: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m43: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix#instance_properties) */\n m44: number;\n /**\n * The **`invertSelf()`** method of the DOMMatrix interface inverts the original matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/invertSelf)\n */\n invertSelf(): DOMMatrix;\n /**\n * The **`multiplySelf()`** method of the DOMMatrix interface multiplies a matrix by the `otherMatrix` parameter, computing the dot product of the original matrix and the specified matrix: `A⋅B`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/multiplySelf)\n */\n multiplySelf(other?: DOMMatrixInit): DOMMatrix;\n /**\n * The **`preMultiplySelf()`** method of the DOMMatrix interface modifies the matrix by pre-multiplying it with the specified `DOMMatrix`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/preMultiplySelf)\n */\n preMultiplySelf(other?: DOMMatrixInit): DOMMatrix;\n /**\n * The `rotateAxisAngleSelf()` method of the DOMMatrix interface is a transformation method that rotates the source matrix by the given vector and angle, returning the altered matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateAxisAngleSelf)\n */\n rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n /**\n * The `rotateFromVectorSelf()` method of the DOMMatrix interface is a mutable transformation method that modifies a matrix by rotating the matrix by the angle between the specified vector and `(1, 0)`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateFromVectorSelf)\n */\n rotateFromVectorSelf(x?: number, y?: number): DOMMatrix;\n /**\n * The `rotateSelf()` method of the DOMMatrix interface is a mutable transformation method that modifies a matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/rotateSelf)\n */\n rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n /**\n * The **`scale3dSelf()`** method of the DOMMatrix interface is a mutable transformation method that modifies a matrix by applying a specified scaling factor to all three axes, centered on the given origin, with a default origin of `(0, 0, 0)`, returning the 3D-scaled matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scale3dSelf)\n */\n scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n /**\n * The **`scaleSelf()`** method of the DOMMatrix interface is a mutable transformation method that modifies a matrix by applying a specified scaling factor, centered on the given origin, with a default origin of `(0, 0)`, returning the scaled matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/scaleSelf)\n */\n scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n /**\n * The `skewXSelf()` method of the DOMMatrix interface is a mutable transformation method that modifies a matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewXSelf)\n */\n skewXSelf(sx?: number): DOMMatrix;\n /**\n * The `skewYSelf()` method of the DOMMatrix interface is a mutable transformation method that modifies a matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/skewYSelf)\n */\n skewYSelf(sy?: number): DOMMatrix;\n /**\n * The `translateSelf()` method of the DOMMatrix interface is a mutable transformation method that modifies a matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrix/translateSelf)\n */\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<ArrayBuffer>): DOMMatrix;\n fromFloat64Array(array64: Float64Array<ArrayBuffer>): DOMMatrix;\n fromMatrix(other?: DOMMatrixInit): DOMMatrix;\n};\n\n/**\n * The **`DOMMatrixReadOnly`** interface represents a read-only 4×4 matrix, suitable for 2D and 3D operations.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly)\n */\ninterface DOMMatrixReadOnly {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly a: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly b: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly c: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly d: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly e: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly f: number;\n /**\n * The readonly **`is2D`** property of the DOMMatrixReadOnly interface is a Boolean flag that is `true` when the matrix is 2D.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/is2D)\n */\n readonly is2D: boolean;\n /**\n * The readonly **`isIdentity`** property of the DOMMatrixReadOnly interface is a Boolean whose value is `true` if the matrix is the identity matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/isIdentity)\n */\n readonly isIdentity: boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m11: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m12: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m13: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m14: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m21: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m22: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m23: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m24: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m31: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m32: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m33: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m34: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m41: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m42: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m43: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly#instance_properties) */\n readonly m44: number;\n /**\n * The **`flipX()`** method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix flipped about the x-axis.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipX)\n */\n flipX(): DOMMatrix;\n /**\n * The **`flipY()`** method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix flipped about the y-axis.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/flipY)\n */\n flipY(): DOMMatrix;\n /**\n * The **`inverse()`** method of the DOMMatrixReadOnly interface creates a new matrix which is the inverse of the original matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/inverse)\n */\n inverse(): DOMMatrix;\n /**\n * The **`multiply()`** method of the DOMMatrixReadOnly interface creates and returns a new matrix which is the dot product of the matrix and the `otherMatrix` parameter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/multiply)\n */\n multiply(other?: DOMMatrixInit): DOMMatrix;\n /**\n * The `rotate()` method of the DOMMatrixReadOnly interface returns a new DOMMatrix created by rotating the source matrix around each of its axes by the specified number of degrees.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotate)\n */\n rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix;\n /**\n * The `rotateAxisAngle()` method of the DOMMatrixReadOnly interface returns a new DOMMatrix created by rotating the source matrix by the given vector and angle.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateAxisAngle)\n */\n rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix;\n /**\n * The `rotateFromVector()` method of the DOMMatrixReadOnly interface is returns a new DOMMatrix created by rotating the source matrix by the angle between the specified vector and `(1, 0)`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/rotateFromVector)\n */\n rotateFromVector(x?: number, y?: number): DOMMatrix;\n /**\n * The **`scale()`** method of the original matrix with a scale transform applied.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale)\n */\n scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n /**\n * The **`scale3d()`** method of the DOMMatrixReadOnly interface creates a new matrix which is the result of a 3D scale transform being applied to the matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/scale3d)\n */\n scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix;\n /** @deprecated */\n scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix;\n /**\n * The `skewX()` method of the DOMMatrixReadOnly interface returns a new DOMMatrix created by applying the specified skew transformation to the source matrix along its x-axis.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewX)\n */\n skewX(sx?: number): DOMMatrix;\n /**\n * The `skewY()` method of the DOMMatrixReadOnly interface returns a new DOMMatrix created by applying the specified skew transformation to the source matrix along its y-axis.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/skewY)\n */\n skewY(sy?: number): DOMMatrix;\n /**\n * The **`toFloat32Array()`** method of the DOMMatrixReadOnly interface returns a new Float32Array containing all 16 elements (`m11`, `m12`, `m13`, `m14`, `m21`, `m22`, `m23`, `m24`, `m31`, `m32`, `m33`, `m34`, `m41`, `m42`, `m43`, `m44`) which comprise the matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat32Array)\n */\n toFloat32Array(): Float32Array<ArrayBuffer>;\n /**\n * The **`toFloat64Array()`** method of the DOMMatrixReadOnly interface returns a new Float64Array containing all 16 elements (`m11`, `m12`, `m13`, `m14`, `m21`, `m22`, `m23`, `m24`, `m31`, `m32`, `m33`, `m34`, `m41`, `m42`, `m43`, `m44`) which comprise the matrix.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toFloat64Array)\n */\n toFloat64Array(): Float64Array<ArrayBuffer>;\n /**\n * The **`toJSON()`** method of the DOMMatrixReadOnly interface creates and returns a JSON object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/toJSON)\n */\n toJSON(): any;\n /**\n * The **`transformPoint`** method of the You can also create a new `DOMPoint` by applying a matrix to a point with the DOMPointReadOnly.matrixTransform() method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/transformPoint)\n */\n transformPoint(point?: DOMPointInit): DOMPoint;\n /**\n * The `translate()` method of the DOMMatrixReadOnly interface creates a new matrix being the result of the original matrix with a translation applied.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMMatrixReadOnly/translate)\n */\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<ArrayBuffer>): DOMMatrixReadOnly;\n fromFloat64Array(array64: Float64Array<ArrayBuffer>): DOMMatrixReadOnly;\n fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;\n};\n\n/**\n * A **`DOMPoint`** object represents a 2D or 3D point in a coordinate system; it includes values for the coordinates in up to three dimensions, as well as an optional perspective value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint)\n */\ninterface DOMPoint extends DOMPointReadOnly {\n /**\n * The **`DOMPoint`** interface\'s **`w`** property holds the point\'s perspective value, w, for a point in space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/w)\n */\n w: number;\n /**\n * The **`DOMPoint`** interface\'s **`x`** property holds the horizontal coordinate, x, for a point in space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/x)\n */\n x: number;\n /**\n * The **`DOMPoint`** interface\'s **`y`** property holds the vertical coordinate, _y_, for a point in space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/y)\n */\n y: number;\n /**\n * The **`DOMPoint`** interface\'s **`z`** property specifies the depth coordinate of a point in space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/z)\n */\n z: number;\n}\n\ndeclare var DOMPoint: {\n prototype: DOMPoint;\n new(x?: number, y?: number, z?: number, w?: number): DOMPoint;\n /**\n * The **`fromPoint()`** static method of the DOMPoint interface creates and returns a new mutable `DOMPoint` object given a source point.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/fromPoint_static)\n */\n fromPoint(other?: DOMPointInit): DOMPoint;\n};\n\n/**\n * The **`DOMPointReadOnly`** interface specifies the coordinate and perspective fields used by DOMPoint to define a 2D or 3D point in a coordinate system.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly)\n */\ninterface DOMPointReadOnly {\n /**\n * The **`DOMPointReadOnly`** interface\'s **`w`** property holds the point\'s perspective value, `w`, for a read-only point in space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/w)\n */\n readonly w: number;\n /**\n * The **`DOMPointReadOnly`** interface\'s **`x`** property holds the horizontal coordinate, x, for a read-only point in space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/x)\n */\n readonly x: number;\n /**\n * The **`DOMPointReadOnly`** interface\'s **`y`** property holds the vertical coordinate, y, for a read-only point in space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/y)\n */\n readonly y: number;\n /**\n * The **`DOMPointReadOnly`** interface\'s **`z`** property holds the depth coordinate, z, for a read-only point in space.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/z)\n */\n readonly z: number;\n /**\n * The **`matrixTransform()`** method of the DOMPointReadOnly interface applies a matrix transform specified as an object to the DOMPointReadOnly object, creating and returning a new `DOMPointReadOnly` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/matrixTransform)\n */\n matrixTransform(matrix?: DOMMatrixInit): DOMPoint;\n /**\n * The DOMPointReadOnly method `toJSON()` returns an object giving the ```js-nolint toJSON() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/toJSON)\n */\n toJSON(): any;\n}\n\ndeclare var DOMPointReadOnly: {\n prototype: DOMPointReadOnly;\n new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly;\n /**\n * The static **DOMPointReadOnly** method `fromPoint()` creates and returns a new `DOMPointReadOnly` object given a source point.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/fromPoint_static)\n */\n fromPoint(other?: DOMPointInit): DOMPointReadOnly;\n};\n\n/**\n * A `DOMQuad` is a collection of four `DOMPoint`s defining the corners of an arbitrary quadrilateral.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad)\n */\ninterface DOMQuad {\n /**\n * The **`DOMQuad`** interface\'s **`p1`** property holds the DOMPoint object that represents one of the four corners of the `DOMQuad`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1)\n */\n readonly p1: DOMPoint;\n /**\n * The **`DOMQuad`** interface\'s **`p2`** property holds the DOMPoint object that represents one of the four corners of the `DOMQuad`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2)\n */\n readonly p2: DOMPoint;\n /**\n * The **`DOMQuad`** interface\'s **`p3`** property holds the DOMPoint object that represents one of the four corners of the `DOMQuad`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3)\n */\n readonly p3: DOMPoint;\n /**\n * The **`DOMQuad`** interface\'s **`p4`** property holds the DOMPoint object that represents one of the four corners of the `DOMQuad`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4)\n */\n readonly p4: DOMPoint;\n /**\n * The DOMQuad method `getBounds()` returns a DOMRect object representing the smallest rectangle that fully contains the `DOMQuad` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds)\n */\n getBounds(): DOMRect;\n /**\n * The DOMQuad method `toJSON()` returns a ```js-nolint toJSON() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/toJSON)\n */\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\n/**\n * A **`DOMRect`** describes the size and position of a rectangle.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect)\n */\ninterface DOMRect extends DOMRectReadOnly {\n /**\n * The **`height`** property of the DOMRect interface represents the height of the rectangle.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/height)\n */\n height: number;\n /**\n * The **`width`** property of the DOMRect interface represents the width of the rectangle.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/width)\n */\n width: number;\n /**\n * The **`x`** property of the DOMRect interface represents the x-coordinate of the rectangle, which is the horizontal distance between the viewport\'s left edge and the rectangle\'s origin.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/x)\n */\n x: number;\n /**\n * The **`y`** property of the DOMRect interface represents the y-coordinate of the rectangle, which is the vertical distance between the viewport\'s top edge and the rectangle\'s origin.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/y)\n */\n y: number;\n}\n\ndeclare var DOMRect: {\n prototype: DOMRect;\n new(x?: number, y?: number, width?: number, height?: number): DOMRect;\n /**\n * The **`fromRect()`** static method of the object with a given location and dimensions.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static)\n */\n fromRect(other?: DOMRectInit): DOMRect;\n};\n\n/**\n * The **`DOMRectReadOnly`** interface specifies the standard properties (also used by DOMRect) to define a rectangle whose properties are immutable.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly)\n */\ninterface DOMRectReadOnly {\n /**\n * The **`bottom`** read-only property of the **`DOMRectReadOnly`** interface returns the bottom coordinate value of the `DOMRect`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/bottom)\n */\n readonly bottom: number;\n /**\n * The **`height`** read-only property of the **`DOMRectReadOnly`** interface represents the height of the `DOMRect`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/height)\n */\n readonly height: number;\n /**\n * The **`left`** read-only property of the **`DOMRectReadOnly`** interface returns the left coordinate value of the `DOMRect`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/left)\n */\n readonly left: number;\n /**\n * The **`right`** read-only property of the **`DOMRectReadOnly`** interface returns the right coordinate value of the `DOMRect`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/right)\n */\n readonly right: number;\n /**\n * The **`top`** read-only property of the **`DOMRectReadOnly`** interface returns the top coordinate value of the `DOMRect`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/top)\n */\n readonly top: number;\n /**\n * The **`width`** read-only property of the **`DOMRectReadOnly`** interface represents the width of the `DOMRect`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/width)\n */\n readonly width: number;\n /**\n * The **`x`** read-only property of the **`DOMRectReadOnly`** interface represents the x coordinate of the `DOMRect`\'s origin.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/x)\n */\n readonly x: number;\n /**\n * The **`y`** read-only property of the **`DOMRectReadOnly`** interface represents the y coordinate of the `DOMRect`\'s origin.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/y)\n */\n readonly y: number;\n /**\n * The DOMRectReadOnly method `toJSON()` returns a JSON representation of the `DOMRectReadOnly` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/toJSON)\n */\n toJSON(): any;\n}\n\ndeclare var DOMRectReadOnly: {\n prototype: DOMRectReadOnly;\n new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;\n /**\n * The **`fromRect()`** static method of the object with a given location and dimensions.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/fromRect_static)\n */\n fromRect(other?: DOMRectInit): DOMRectReadOnly;\n};\n\n/**\n * The **`DOMStringList`** interface is a legacy type returned by some APIs and represents a non-modifiable list of strings (`DOMString`).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMStringList)\n */\ninterface DOMStringList {\n /**\n * The read-only **`length`** property indicates the number of strings in the DOMStringList.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMStringList/length)\n */\n readonly length: number;\n /**\n * The **`contains()`** method returns a boolean indicating whether the given string is in the list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMStringList/contains)\n */\n contains(string: string): boolean;\n /**\n * The **`item()`** method returns a string from a `DOMStringList` by index.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMStringList/item)\n */\n item(index: number): string | null;\n [index: number]: string;\n}\n\ndeclare var DOMStringList: {\n prototype: DOMStringList;\n new(): DOMStringList;\n};\n\n/**\n * The **`DecompressionStream`** interface of the Compression Streams API is an API for decompressing a stream of data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DecompressionStream)\n */\ninterface DecompressionStream extends GenericTransformStream {\n readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;\n readonly writable: WritableStream<BufferSource>;\n}\n\ndeclare var DecompressionStream: {\n prototype: DecompressionStream;\n new(format: CompressionFormat): DecompressionStream;\n};\n\ninterface DedicatedWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap, MessageEventTargetEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n "rtctransform": RTCTransformEvent;\n}\n\n/**\n * The **`DedicatedWorkerGlobalScope`** object (the Worker global scope) is accessible through the WorkerGlobalScope.self keyword.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope)\n */\ninterface DedicatedWorkerGlobalScope extends WorkerGlobalScope, AnimationFrameProvider, MessageEventTarget<DedicatedWorkerGlobalScope> {\n /**\n * The **`name`** read-only property of the the Worker.Worker constructor can pass to get a reference to the DedicatedWorkerGlobalScope.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/name)\n */\n readonly name: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/rtctransform_event) */\n onrtctransform: ((this: DedicatedWorkerGlobalScope, ev: RTCTransformEvent) => any) | null;\n /**\n * The **`close()`** method of the DedicatedWorkerGlobalScope interface discards any tasks queued in the `DedicatedWorkerGlobalScope`\'s event loop, effectively closing this particular scope.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/close)\n */\n close(): void;\n /**\n * The **`postMessage()`** method of the DedicatedWorkerGlobalScope interface sends a message to the main thread that spawned it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/postMessage)\n */\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\n/**\n * The **`EXT_blend_minmax`** extension is part of the WebGL API and extends blending capabilities by adding two new blend equations: the minimum or maximum color components of the source and destination colors.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_blend_minmax)\n */\ninterface EXT_blend_minmax {\n readonly MIN_EXT: 0x8007;\n readonly MAX_EXT: 0x8008;\n}\n\n/**\n * The **`EXT_color_buffer_float`** extension is part of WebGL and adds the ability to render a variety of floating point formats.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_color_buffer_float)\n */\ninterface EXT_color_buffer_float {\n}\n\n/**\n * The **`EXT_color_buffer_half_float`** extension is part of the WebGL API and adds the ability to render to 16-bit floating-point color buffers.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_color_buffer_half_float)\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\n/**\n * The WebGL API\'s `EXT_float_blend` extension allows blending and draw buffers with 32-bit floating-point components.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_float_blend)\n */\ninterface EXT_float_blend {\n}\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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_frag_depth)\n */\ninterface EXT_frag_depth {\n}\n\n/**\n * The **`EXT_sRGB`** extension is part of the WebGL API and adds sRGB support to textures and framebuffer objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_sRGB)\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\n/**\n * The **`EXT_shader_texture_lod`** extension is part of the WebGL API and adds additional texture functions to the OpenGL ES Shading Language which provide the shader writer with explicit control of LOD (Level of detail).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_shader_texture_lod)\n */\ninterface EXT_shader_texture_lod {\n}\n\n/**\n * The `EXT_texture_compression_bptc` extension is part of the WebGL API and exposes 4 BPTC compressed texture formats.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_compression_bptc)\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\n/**\n * The `EXT_texture_compression_rgtc` extension is part of the WebGL API and exposes 4 RGTC compressed texture formats.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_compression_rgtc)\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/**\n * The **`EXT_texture_filter_anisotropic`** extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_filter_anisotropic)\n */\ninterface EXT_texture_filter_anisotropic {\n readonly TEXTURE_MAX_ANISOTROPY_EXT: 0x84FE;\n readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF;\n}\n\n/**\n * The **`EXT_texture_norm16`** extension is part of the WebGL API and provides a set of new 16-bit signed normalized and unsigned normalized formats (fixed-point texture, renderbuffer and texture buffer).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EXT_texture_norm16)\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/**\n * The **`EncodedAudioChunk`** interface of the WebCodecs API represents a chunk of encoded audio data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk)\n */\ninterface EncodedAudioChunk {\n /**\n * The **`byteLength`** read-only property of the EncodedAudioChunk interface returns the length in bytes of the encoded audio data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/byteLength)\n */\n readonly byteLength: number;\n /**\n * The **`duration`** read-only property of the EncodedAudioChunk interface returns an integer indicating the duration of the audio in microseconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/duration)\n */\n readonly duration: number | null;\n /**\n * The **`timestamp`** read-only property of the EncodedAudioChunk interface returns an integer indicating the timestamp of the audio in microseconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/timestamp)\n */\n readonly timestamp: number;\n /**\n * The **`type`** read-only property of the EncodedAudioChunk interface returns a value indicating whether the audio chunk is a key chunk, which does not relying on other frames for decoding.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/type)\n */\n readonly type: EncodedAudioChunkType;\n /**\n * The **`copyTo()`** method of the EncodedAudioChunk interface copies the encoded chunk of audio data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/copyTo)\n */\n copyTo(destination: AllowSharedBufferSource): void;\n}\n\ndeclare var EncodedAudioChunk: {\n prototype: EncodedAudioChunk;\n new(init: EncodedAudioChunkInit): EncodedAudioChunk;\n};\n\n/**\n * The **`EncodedVideoChunk`** interface of the WebCodecs API represents a chunk of encoded video data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk)\n */\ninterface EncodedVideoChunk {\n /**\n * The **`byteLength`** read-only property of the EncodedVideoChunk interface returns the length in bytes of the encoded video data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/byteLength)\n */\n readonly byteLength: number;\n /**\n * The **`duration`** read-only property of the EncodedVideoChunk interface returns an integer indicating the duration of the video in microseconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/duration)\n */\n readonly duration: number | null;\n /**\n * The **`timestamp`** read-only property of the EncodedVideoChunk interface returns an integer indicating the timestamp of the video in microseconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/timestamp)\n */\n readonly timestamp: number;\n /**\n * The **`type`** read-only property of the EncodedVideoChunk interface returns a value indicating whether the video chunk is a key chunk, which does not rely on other frames for decoding.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/type)\n */\n readonly type: EncodedVideoChunkType;\n /**\n * The **`copyTo()`** method of the EncodedVideoChunk interface copies the encoded chunk of video data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/copyTo)\n */\n copyTo(destination: AllowSharedBufferSource): void;\n}\n\ndeclare var EncodedVideoChunk: {\n prototype: EncodedVideoChunk;\n new(init: EncodedVideoChunkInit): EncodedVideoChunk;\n};\n\n/**\n * The **`ErrorEvent`** interface represents events providing information related to errors in scripts or in files.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent)\n */\ninterface ErrorEvent extends Event {\n /**\n * The **`colno`** read-only property of the ErrorEvent interface returns an integer containing the column number of the script file on which the error occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/colno)\n */\n readonly colno: number;\n /**\n * The **`error`** read-only property of the ErrorEvent interface returns a JavaScript value, such as an Error or DOMException, representing the error associated with this event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/error)\n */\n readonly error: any;\n /**\n * The **`filename`** read-only property of the ErrorEvent interface returns a string containing the name of the script file in which the error occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/filename)\n */\n readonly filename: string;\n /**\n * The **`lineno`** read-only property of the ErrorEvent interface returns an integer containing the line number of the script file on which the error occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/lineno)\n */\n readonly lineno: number;\n /**\n * The **`message`** read-only property of the ErrorEvent interface returns a string containing a human-readable error message describing the problem.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ErrorEvent/message)\n */\n readonly message: string;\n}\n\ndeclare var ErrorEvent: {\n prototype: ErrorEvent;\n new(type: string, eventInitDict?: ErrorEventInit): ErrorEvent;\n};\n\n/**\n * The **`Event`** interface represents an event which takes place on an `EventTarget`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event)\n */\ninterface Event {\n /**\n * The **`bubbles`** read-only property of the Event interface indicates whether the event bubbles up through the DOM tree or not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/bubbles)\n */\n readonly bubbles: boolean;\n /**\n * The **`cancelBubble`** property of the Event interface is deprecated.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/cancelBubble)\n */\n cancelBubble: boolean;\n /**\n * The **`cancelable`** read-only property of the Event interface indicates whether the event can be canceled, and therefore prevented as if the event never happened.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/cancelable)\n */\n readonly cancelable: boolean;\n /**\n * The read-only **`composed`** property of the or not the event will propagate across the shadow DOM boundary into the standard DOM.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composed)\n */\n readonly composed: boolean;\n /**\n * The **`currentTarget`** read-only property of the Event interface identifies the element to which the event handler has been attached.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/currentTarget)\n */\n readonly currentTarget: EventTarget | null;\n /**\n * The **`defaultPrevented`** read-only property of the Event interface returns a boolean value indicating whether or not the call to Event.preventDefault() canceled the event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/defaultPrevented)\n */\n readonly defaultPrevented: boolean;\n /**\n * The **`eventPhase`** read-only property of the being evaluated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/eventPhase)\n */\n readonly eventPhase: number;\n /**\n * The **`isTrusted`** read-only property of the when the event was generated by the user agent (including via user actions and programmatic methods such as HTMLElement.focus()), and `false` when the event was dispatched via The only exception is the `click` event, which initializes the `isTrusted` property to `false` in user agents.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/isTrusted)\n */\n readonly isTrusted: boolean;\n /**\n * The Event property **`returnValue`** indicates whether the default action for this event has been prevented or not.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/returnValue)\n */\n returnValue: boolean;\n /**\n * The deprecated **`Event.srcElement`** is an alias for the Event.target property.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/srcElement)\n */\n readonly srcElement: EventTarget | null;\n /**\n * The read-only **`target`** property of the dispatched.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/target)\n */\n readonly target: EventTarget | null;\n /**\n * The **`timeStamp`** read-only property of the Event interface returns the time (in milliseconds) at which the event was created.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/timeStamp)\n */\n readonly timeStamp: DOMHighResTimeStamp;\n /**\n * The **`type`** read-only property of the Event interface returns a string containing the event\'s type.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/type)\n */\n readonly type: string;\n /**\n * The **`composedPath()`** method of the Event interface returns the event\'s path which is an array of the objects on which listeners will be invoked.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/composedPath)\n */\n composedPath(): EventTarget[];\n /**\n * The **`Event.initEvent()`** method is used to initialize the value of an event created using Document.createEvent().\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/initEvent)\n */\n initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;\n /**\n * The **`preventDefault()`** method of the Event interface tells the user agent that if the event does not get explicitly handled, its default action should not be taken as it normally would be.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)\n */\n preventDefault(): void;\n /**\n * The **`stopImmediatePropagation()`** method of the If several listeners are attached to the same element for the same event type, they are called in the order in which they were added.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopImmediatePropagation)\n */\n stopImmediatePropagation(): void;\n /**\n * The **`stopPropagation()`** method of the Event interface prevents further propagation of the current event in the capturing and bubbling phases.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/stopPropagation)\n */\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\n/**\n * The **`EventSource`** interface is web content\'s interface to server-sent events.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource)\n */\ninterface EventSource extends EventTarget {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/error_event) */\n onerror: ((this: EventSource, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/message_event) */\n onmessage: ((this: EventSource, ev: MessageEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/open_event) */\n onopen: ((this: EventSource, ev: Event) => any) | null;\n /**\n * The **`readyState`** read-only property of the connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/readyState)\n */\n readonly readyState: number;\n /**\n * The **`url`** read-only property of the URL of the source.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/url)\n */\n readonly url: string;\n /**\n * The **`withCredentials`** read-only property of the the `EventSource` object was instantiated with CORS credentials set.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/withCredentials)\n */\n readonly withCredentials: boolean;\n /**\n * The **`close()`** method of the EventSource interface closes the connection, if one is made, and sets the ```js-nolint close() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventSource/close)\n */\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/**\n * The **`EventTarget`** interface is implemented by objects that can receive events and may have listeners for them.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget)\n */\ninterface EventTarget {\n /**\n * The **`addEventListener()`** method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener)\n */\n addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void;\n /**\n * The **`dispatchEvent()`** method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)\n */\n dispatchEvent(event: Event): boolean;\n /**\n * The **`removeEventListener()`** method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)\n */\n removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void;\n}\n\ndeclare var EventTarget: {\n prototype: EventTarget;\n new(): EventTarget;\n};\n\n/**\n * The **`ExtendableCookieChangeEvent`** interface of the Cookie Store API is the event type passed to ServiceWorkerGlobalScope/cookiechange_event event fired at the ServiceWorkerGlobalScope when any cookie changes occur which match the service worker\'s cookie change subscription list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableCookieChangeEvent)\n */\ninterface ExtendableCookieChangeEvent extends ExtendableEvent {\n /**\n * The **`changed`** read-only property of the ExtendableCookieChangeEvent interface returns any cookies that have been changed by the given `ExtendableCookieChangeEvent` instance.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableCookieChangeEvent/changed)\n */\n readonly changed: ReadonlyArray<CookieListItem>;\n /**\n * The **`deleted`** read-only property of the ExtendableCookieChangeEvent interface returns any cookies that have been deleted by the given `ExtendableCookieChangeEvent` instance.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableCookieChangeEvent/deleted)\n */\n readonly deleted: ReadonlyArray<CookieListItem>;\n}\n\ndeclare var ExtendableCookieChangeEvent: {\n prototype: ExtendableCookieChangeEvent;\n new(type: string, eventInitDict?: ExtendableCookieChangeEventInit): ExtendableCookieChangeEvent;\n};\n\n/**\n * The **`ExtendableEvent`** interface extends the lifetime of the `install` and `activate` events dispatched on the global scope as part of the service worker lifecycle.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableEvent)\n */\ninterface ExtendableEvent extends Event {\n /**\n * The **`ExtendableEvent.waitUntil()`** method tells the event dispatcher that work is ongoing.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableEvent/waitUntil)\n */\n waitUntil(f: Promise<any>): void;\n}\n\ndeclare var ExtendableEvent: {\n prototype: ExtendableEvent;\n new(type: string, eventInitDict?: ExtendableEventInit): ExtendableEvent;\n};\n\n/**\n * The **`ExtendableMessageEvent`** interface of the Service Worker API represents the event object of a ServiceWorkerGlobalScope/message_event event fired on a service worker (when a message is received on the ServiceWorkerGlobalScope from another context) — extends the lifetime of such events.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent)\n */\ninterface ExtendableMessageEvent extends ExtendableEvent {\n /**\n * The **`data`** read-only property of the data type.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/data)\n */\n readonly data: any;\n /**\n * The **`lastEventID`** read-only property of the A string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/lastEventId)\n */\n readonly lastEventId: string;\n /**\n * The **`origin`** read-only property of the A string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/origin)\n */\n readonly origin: string;\n /**\n * The **`ports`** read-only property of the channel (the channel the message is being sent through.) An array of MessagePort objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/ports)\n */\n readonly ports: ReadonlyArray<MessagePort>;\n /**\n * The **`source`** read-only property of the A Client, ServiceWorker or MessagePort object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ExtendableMessageEvent/source)\n */\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/**\n * This is the event type for `fetch` events dispatched on the ServiceWorkerGlobalScope.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent)\n */\ninterface FetchEvent extends ExtendableEvent {\n /**\n * The **`clientId`** read-only property of the current service worker is controlling.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/clientId)\n */\n readonly clientId: string;\n /**\n * The **`handled`** property of the FetchEvent interface returns a promise indicating if the event has been handled by the fetch algorithm or not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/handled)\n */\n readonly handled: Promise<void>;\n /**\n * The **`preloadResponse`** read-only property of the FetchEvent interface returns a Promise that resolves to the navigation preload Response if navigation preload was triggered, or `undefined` otherwise.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/preloadResponse)\n */\n readonly preloadResponse: Promise<any>;\n /**\n * The **`request`** read-only property of the the event handler.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/request)\n */\n readonly request: Request;\n /**\n * The **`resultingClientId`** read-only property of the navigation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/resultingClientId)\n */\n readonly resultingClientId: string;\n /**\n * The **`respondWith()`** method of allows you to provide a promise for a Response yourself.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FetchEvent/respondWith)\n */\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/**\n * The **`File`** interface provides information about files and allows JavaScript in a web page to access their content.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/File)\n */\ninterface File extends Blob {\n /**\n * The **`lastModified`** read-only property of the File interface provides the last modified date of the file as the number of milliseconds since the Unix epoch (January 1, 1970 at midnight).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/lastModified)\n */\n readonly lastModified: number;\n /**\n * The **`name`** read-only property of the File interface returns the name of the file represented by a File object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/name)\n */\n readonly name: string;\n /**\n * The **`webkitRelativePath`** read-only property of the File interface contains a string which specifies the file\'s path relative to the directory selected by the user in an input element with its `webkitdirectory` attribute set.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/webkitRelativePath)\n */\n readonly webkitRelativePath: string;\n}\n\ndeclare var File: {\n prototype: File;\n new(fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File;\n};\n\n/**\n * The **`FileList`** interface represents an object of this type 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileList)\n */\ninterface FileList {\n /**\n * The **`length`** read-only property of the FileList interface returns the number of files in the `FileList`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileList/length)\n */\n readonly length: number;\n /**\n * The **`item()`** method of the FileList interface returns a File object representing the file at the specified index in the file list.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileList/item)\n */\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/**\n * The **`FileReader`** interface 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader)\n */\ninterface FileReader extends EventTarget {\n /**\n * The **`error`** read-only property of the FileReader interface returns the error that occurred while reading the file.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/error)\n */\n readonly error: DOMException | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/abort_event) */\n onabort: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/error_event) */\n onerror: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/load_event) */\n onload: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/loadend_event) */\n onloadend: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/loadstart_event) */\n onloadstart: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/progress_event) */\n onprogress: ((this: FileReader, ev: ProgressEvent<FileReader>) => any) | null;\n /**\n * The **`readyState`** read-only property of the FileReader interface provides the current state of the reading operation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readyState)\n */\n readonly readyState: typeof FileReader.EMPTY | typeof FileReader.LOADING | typeof FileReader.DONE;\n /**\n * The **`result`** read-only property of the FileReader interface returns the file\'s contents.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/result)\n */\n readonly result: string | ArrayBuffer | null;\n /**\n * The **`abort()`** method of the FileReader interface aborts the read operation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/abort)\n */\n abort(): void;\n /**\n * The **`readAsArrayBuffer()`** method of the FileReader interface is used to start reading the contents of a specified Blob or File.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsArrayBuffer)\n */\n readAsArrayBuffer(blob: Blob): void;\n /**\n * The **`readAsBinaryString()`** method of the FileReader interface is used to start reading the contents of the specified Blob or File.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsBinaryString)\n */\n readAsBinaryString(blob: Blob): void;\n /**\n * The **`readAsDataURL()`** method of the FileReader interface is used to read the contents of the specified file\'s data as a base64 encoded string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsDataURL)\n */\n readAsDataURL(blob: Blob): void;\n /**\n * The **`readAsText()`** method of the FileReader interface is used to read the contents of the specified Blob or File.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReader/readAsText)\n */\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/**\n * The **`FileReaderSync`** interface allows to read File or Blob objects synchronously.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReaderSync)\n */\ninterface FileReaderSync {\n /**\n * The **`readAsArrayBuffer()`** method of the FileReaderSync interface allows to read File or Blob objects in a synchronous way into an ArrayBuffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReaderSync/readAsArrayBuffer)\n */\n readAsArrayBuffer(blob: Blob): ArrayBuffer;\n /**\n * The **`readAsBinaryString()`** method of the FileReaderSync interface allows to read File or Blob objects in a synchronous way into a string.\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReaderSync/readAsBinaryString)\n */\n readAsBinaryString(blob: Blob): string;\n /**\n * The **`readAsDataURL()`** method of the FileReaderSync interface allows to read File or Blob objects in a synchronous way into a string representing a data URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReaderSync/readAsDataURL)\n */\n readAsDataURL(blob: Blob): string;\n /**\n * The **`readAsText()`** method of the FileReaderSync interface allows to read File or Blob objects in a synchronous way into a string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileReaderSync/readAsText)\n */\n readAsText(blob: Blob, encoding?: string): string;\n}\n\ndeclare var FileReaderSync: {\n prototype: FileReaderSync;\n new(): FileReaderSync;\n};\n\n/**\n * The **`FileSystemDirectoryHandle`** interface of the File System API provides a handle to a file system directory.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle)\n */\ninterface FileSystemDirectoryHandle extends FileSystemHandle {\n readonly kind: "directory";\n /**\n * The **`getDirectoryHandle()`** method of the within the directory handle on which the method is called.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getDirectoryHandle)\n */\n getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;\n /**\n * The **`getFileHandle()`** method of the directory the method is called.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/getFileHandle)\n */\n getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;\n /**\n * The **`removeEntry()`** method of the directory handle contains a file or directory called the name specified.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/removeEntry)\n */\n removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;\n /**\n * The **`resolve()`** method of the directory names from the parent handle to the specified child entry, with the name of the child entry as the last array item.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle/resolve)\n */\n resolve(possibleDescendant: FileSystemHandle): Promise<string[] | null>;\n}\n\ndeclare var FileSystemDirectoryHandle: {\n prototype: FileSystemDirectoryHandle;\n new(): FileSystemDirectoryHandle;\n};\n\n/**\n * The **`FileSystemFileHandle`** interface of the File System API represents a handle to a file system entry.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle)\n */\ninterface FileSystemFileHandle extends FileSystemHandle {\n readonly kind: "file";\n /**\n * The **`createSyncAccessHandle()`** method of the that can be used to synchronously read from and write to a file.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/createSyncAccessHandle)\n */\n createSyncAccessHandle(): Promise<FileSystemSyncAccessHandle>;\n /**\n * The **`createWritable()`** method of the FileSystemFileHandle interface creates a FileSystemWritableFileStream that can be used to write to a file.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/createWritable)\n */\n createWritable(options?: FileSystemCreateWritableOptions): Promise<FileSystemWritableFileStream>;\n /**\n * The **`getFile()`** method of the If the file on disk changes or is removed after this method is called, the returned ```js-nolint getFile() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/getFile)\n */\n getFile(): Promise<File>;\n}\n\ndeclare var FileSystemFileHandle: {\n prototype: FileSystemFileHandle;\n new(): FileSystemFileHandle;\n};\n\n/**\n * The **`FileSystemHandle`** interface of the File System API is an object which represents a file or directory entry.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle)\n */\ninterface FileSystemHandle {\n /**\n * The **`kind`** read-only property of the `\'file\'` if the associated entry is a file or `\'directory\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/kind)\n */\n readonly kind: FileSystemHandleKind;\n /**\n * The **`name`** read-only property of the handle.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/name)\n */\n readonly name: string;\n /**\n * The **`isSameEntry()`** method of the ```js-nolint isSameEntry(fileSystemHandle) ``` - FileSystemHandle - : The `FileSystemHandle` to match against the handle on which the method is invoked.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/isSameEntry)\n */\n isSameEntry(other: FileSystemHandle): Promise<boolean>;\n}\n\ndeclare var FileSystemHandle: {\n prototype: FileSystemHandle;\n new(): FileSystemHandle;\n};\n\n/**\n * The **`FileSystemSyncAccessHandle`** interface of the File System API represents a synchronous handle to a file system entry.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle)\n */\ninterface FileSystemSyncAccessHandle {\n /**\n * The **`close()`** method of the ```js-nolint close() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/close)\n */\n close(): void;\n /**\n * The **`flush()`** method of the Bear in mind that you only need to call this method if you need the changes committed to disk at a specific time, otherwise you can leave the underlying operating system to handle this when it sees fit, which should be OK in most cases.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/flush)\n */\n flush(): void;\n /**\n * The **`getSize()`** method of the ```js-nolint getSize() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/getSize)\n */\n getSize(): number;\n /**\n * The **`read()`** method of the ```js-nolint read(buffer, options) ``` - `buffer` - : An ArrayBuffer or `ArrayBufferView` (such as a DataView) representing the buffer that the file content should be read into.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/read)\n */\n read(buffer: AllowSharedBufferSource, options?: FileSystemReadWriteOptions): number;\n /**\n * The **`truncate()`** method of the ```js-nolint truncate(newSize) ``` - `newSize` - : The number of bytes to resize the file to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/truncate)\n */\n truncate(newSize: number): void;\n /**\n * The **`write()`** method of the Files within the origin private file system are not visible to end-users, therefore are not subject to the same security checks as methods running on files within the user-visible file system.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemSyncAccessHandle/write)\n */\n write(buffer: AllowSharedBufferSource, options?: FileSystemReadWriteOptions): number;\n}\n\ndeclare var FileSystemSyncAccessHandle: {\n prototype: FileSystemSyncAccessHandle;\n new(): FileSystemSyncAccessHandle;\n};\n\n/**\n * The **`FileSystemWritableFileStream`** interface of the File System API is a WritableStream object with additional convenience methods, which operates on a single file on disk.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemWritableFileStream)\n */\ninterface FileSystemWritableFileStream extends WritableStream {\n /**\n * The **`seek()`** method of the FileSystemWritableFileStream interface updates the current file cursor offset to the position (in bytes) specified when calling the method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemWritableFileStream/seek)\n */\n seek(position: number): Promise<void>;\n /**\n * The **`truncate()`** method of the FileSystemWritableFileStream interface resizes the file associated with the stream to the specified size in bytes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemWritableFileStream/truncate)\n */\n truncate(size: number): Promise<void>;\n /**\n * The **`write()`** method of the FileSystemWritableFileStream interface writes content into the file the method is called on, at the current file cursor offset.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FileSystemWritableFileStream/write)\n */\n write(data: FileSystemWriteChunkType): Promise<void>;\n}\n\ndeclare var FileSystemWritableFileStream: {\n prototype: FileSystemWritableFileStream;\n new(): FileSystemWritableFileStream;\n};\n\n/**\n * The **`FontFace`** interface of the CSS Font Loading API represents a single usable font face.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace)\n */\ninterface FontFace {\n /**\n * The **`ascentOverride`** property of the FontFace interface returns and sets the ascent metric for the font, the height above the baseline that CSS uses to lay out line boxes in an inline formatting context.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/ascentOverride)\n */\n ascentOverride: string;\n /**\n * The **`descentOverride`** property of the FontFace interface returns and sets the value of the @font-face/descent-override descriptor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/descentOverride)\n */\n descentOverride: string;\n /**\n * The **`display`** property of the FontFace interface determines how a font face is displayed based on whether and when it is downloaded and ready to use.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/display)\n */\n display: FontDisplay;\n /**\n * The **`FontFace.family`** property allows the author to get or set the font family of a FontFace object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/family)\n */\n family: string;\n /**\n * The **`featureSettings`** property of the FontFace interface retrieves or sets infrequently used font features that are not available from a font\'s variant properties.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/featureSettings)\n */\n featureSettings: string;\n /**\n * The **`lineGapOverride`** property of the FontFace interface returns and sets the value of the @font-face/line-gap-override descriptor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/lineGapOverride)\n */\n lineGapOverride: string;\n /**\n * The **`loaded`** read-only property of the FontFace interface returns a Promise that resolves with the current `FontFace` object when the font specified in the object\'s constructor is done loading or rejects with a `SyntaxError`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/loaded)\n */\n readonly loaded: Promise<FontFace>;\n /**\n * The **`status`** read-only property of the FontFace interface returns an enumerated value indicating the status of the font, one of `\'unloaded\'`, `\'loading\'`, `\'loaded\'`, or `\'error\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/status)\n */\n readonly status: FontFaceLoadStatus;\n /**\n * The **`stretch`** property of the FontFace interface retrieves or sets how the font stretches.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/stretch)\n */\n stretch: string;\n /**\n * The **`style`** property of the FontFace interface retrieves or sets the font\'s style.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/style)\n */\n style: string;\n /**\n * The **`unicodeRange`** property of the FontFace interface retrieves or sets the range of unicode code points encompassing the font.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/unicodeRange)\n */\n unicodeRange: string;\n /**\n * The **`weight`** property of the FontFace interface retrieves or sets the weight of the font.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/weight)\n */\n weight: string;\n /**\n * The **`load()`** method of the FontFace interface requests and loads a font whose `source` was specified as a URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFace/load)\n */\n load(): Promise<FontFace>;\n}\n\ndeclare var FontFace: {\n prototype: FontFace;\n new(family: string, source: string | BufferSource, descriptors?: FontFaceDescriptors): FontFace;\n};\n\ninterface FontFaceSetEventMap {\n "loading": FontFaceSetLoadEvent;\n "loadingdone": FontFaceSetLoadEvent;\n "loadingerror": FontFaceSetLoadEvent;\n}\n\n/**\n * The **`FontFaceSet`** interface of the CSS Font Loading API manages the loading of font-faces and querying of their download status.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet)\n */\ninterface FontFaceSet extends EventTarget {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loading_event) */\n onloading: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loadingdone_event) */\n onloadingdone: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/loadingerror_event) */\n onloadingerror: ((this: FontFaceSet, ev: FontFaceSetLoadEvent) => any) | null;\n /**\n * The `ready` read-only property of the FontFaceSet interface returns a Promise that resolves to the given FontFaceSet.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/ready)\n */\n readonly ready: Promise<FontFaceSet>;\n /**\n * The **`status`** read-only property of the FontFaceSet interface returns the loading state of the fonts in the set.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/status)\n */\n readonly status: FontFaceSetLoadStatus;\n /**\n * The `check()` method of the FontFaceSet returns `true` if you can render some text using the given font specification without attempting to use any fonts in this `FontFaceSet` that are not yet fully loaded.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/check)\n */\n check(font: string, text?: string): boolean;\n /**\n * The `load()` method of the FontFaceSet forces all the fonts given in parameters to be loaded.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSet/load)\n */\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(): FontFaceSet;\n};\n\n/**\n * The **`FontFaceSetLoadEvent`** interface of the CSS Font Loading API represents events fired at a FontFaceSet after it starts loading font faces.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent)\n */\ninterface FontFaceSetLoadEvent extends Event {\n /**\n * The **`fontfaces`** read-only property of the An array of FontFace instance.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FontFaceSetLoadEvent/fontfaces)\n */\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fonts) */\n readonly fonts: FontFaceSet;\n}\n\n/**\n * The **`FormData`** interface provides a way to construct a set of key/value pairs representing form fields and their values, which can be sent using the Window/fetch, XMLHttpRequest.send() or navigator.sendBeacon() methods.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData)\n */\ninterface FormData {\n /**\n * The **`append()`** method of the FormData interface appends a new value onto an existing key inside a `FormData` object, or adds the key if it does not already exist.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/append)\n */\n append(name: string, value: string | Blob): void;\n append(name: string, value: string): void;\n append(name: string, blobValue: Blob, filename?: string): void;\n /**\n * The **`delete()`** method of the FormData interface deletes a key and its value(s) from a `FormData` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/delete)\n */\n delete(name: string): void;\n /**\n * The **`get()`** method of the FormData interface returns the first value associated with a given key from within a `FormData` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/get)\n */\n get(name: string): FormDataEntryValue | null;\n /**\n * The **`getAll()`** method of the FormData interface returns all the values associated with a given key from within a `FormData` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/getAll)\n */\n getAll(name: string): FormDataEntryValue[];\n /**\n * The **`has()`** method of the FormData interface returns whether a `FormData` object contains a certain key.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/has)\n */\n has(name: string): boolean;\n /**\n * The **`set()`** method of the FormData interface sets a new value for an existing key inside a `FormData` object, or adds the key/value if it does not already exist.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/FormData/set)\n */\n set(name: string, value: string | Blob): void;\n set(name: string, value: string): void;\n set(name: string, blobValue: 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\n/**\n * The **`GPUError`** interface of the WebGPU API is the base interface for errors surfaced by GPUDevice.popErrorScope and the GPUDevice.uncapturederror_event event.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError)\n */\ninterface GPUError {\n /**\n * The **`message`** read-only property of the A string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError/message)\n */\n readonly message: string;\n}\n\ninterface GenericTransformStream {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/readable) */\n readonly readable: ReadableStream;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CompressionStream/writable) */\n readonly writable: WritableStream;\n}\n\n/**\n * The **`Headers`** interface of the Fetch API allows you to perform various actions on HTTP request and response headers.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers)\n */\ninterface Headers {\n /**\n * The **`append()`** method of the Headers interface appends a new value onto an existing header inside a `Headers` object, or adds the header if it does not already exist.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/append)\n */\n append(name: string, value: string): void;\n /**\n * The **`delete()`** method of the Headers interface deletes a header from the current `Headers` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/delete)\n */\n delete(name: string): void;\n /**\n * The **`get()`** method of the Headers interface returns a byte string of all the values of a header within a `Headers` object with a given name.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/get)\n */\n get(name: string): string | null;\n /**\n * The **`getSetCookie()`** method of the Headers interface returns an array containing the values of all Set-Cookie headers associated with a response.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/getSetCookie)\n */\n getSetCookie(): string[];\n /**\n * The **`has()`** method of the Headers interface returns a boolean stating whether a `Headers` object contains a certain header.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/has)\n */\n has(name: string): boolean;\n /**\n * The **`set()`** method of the Headers interface sets a new value for an existing header inside a `Headers` object, or adds the header if it does not already exist.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers/set)\n */\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/**\n * The **`IDBCursor`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor)\n */\ninterface IDBCursor {\n /**\n * The **`direction`** read-only property of the direction of traversal of the cursor (set using section below for possible values.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/direction)\n */\n readonly direction: IDBCursorDirection;\n /**\n * The **`key`** read-only property of the position.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/key)\n */\n readonly key: IDBValidKey;\n /**\n * The **`primaryKey`** read-only property of the cursor is currently being iterated or has iterated outside its range, this is set to undefined.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/primaryKey)\n */\n readonly primaryKey: IDBValidKey;\n /**\n * The **`request`** read-only property of the IDBCursor interface returns the IDBRequest used to obtain the cursor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/request)\n */\n readonly request: IDBRequest;\n /**\n * The **`source`** read-only property of the null or throws an exception, even if the cursor is currently being iterated, has iterated past its end, or its transaction is not active.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/source)\n */\n readonly source: IDBObjectStore | IDBIndex;\n /**\n * The **`advance()`** method of the IDBCursor interface sets the number of times a cursor should move its position forward.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/advance)\n */\n advance(count: number): void;\n /**\n * The **`continue()`** method of the IDBCursor interface advances the cursor to the next position along its direction, to the item whose key matches the optional key parameter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/continue)\n */\n continue(key?: IDBValidKey): void;\n /**\n * The **`continuePrimaryKey()`** method of the matches the key parameter as well as whose primary key matches the primary key parameter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/continuePrimaryKey)\n */\n continuePrimaryKey(key: IDBValidKey, primaryKey: IDBValidKey): void;\n /**\n * The **`delete()`** method of the IDBCursor interface returns an IDBRequest object, and, in a separate thread, deletes the record at the cursor\'s position, without changing the cursor\'s position.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/delete)\n */\n delete(): IDBRequest<undefined>;\n /**\n * The **`update()`** method of the IDBCursor interface returns an IDBRequest object, and, in a separate thread, updates the value at the current position of the cursor in the object store.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursor/update)\n */\n update(value: any): IDBRequest<IDBValidKey>;\n}\n\ndeclare var IDBCursor: {\n prototype: IDBCursor;\n new(): IDBCursor;\n};\n\n/**\n * The **`IDBCursorWithValue`** interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue)\n */\ninterface IDBCursorWithValue extends IDBCursor {\n /**\n * The **`value`** read-only property of the whatever that is.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBCursorWithValue/value)\n */\n readonly value: any;\n}\n\ndeclare var IDBCursorWithValue: {\n prototype: IDBCursorWithValue;\n new(): IDBCursorWithValue;\n};\n\ninterface IDBDatabaseEventMap {\n "abort": Event;\n "close": Event;\n "error": Event;\n "versionchange": IDBVersionChangeEvent;\n}\n\n/**\n * The **`IDBDatabase`** interface of the IndexedDB API 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase)\n */\ninterface IDBDatabase extends EventTarget {\n /**\n * The **`name`** read-only property of the `IDBDatabase` interface is a string that contains the name of the connected database.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/name)\n */\n readonly name: string;\n /**\n * The **`objectStoreNames`** read-only property of the list of the names of the object stores currently in the connected database.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/objectStoreNames)\n */\n readonly objectStoreNames: DOMStringList;\n onabort: ((this: IDBDatabase, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close_event) */\n onclose: ((this: IDBDatabase, ev: Event) => any) | null;\n onerror: ((this: IDBDatabase, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/versionchange_event) */\n onversionchange: ((this: IDBDatabase, ev: IDBVersionChangeEvent) => any) | null;\n /**\n * The **`version`** property of the IDBDatabase interface is a 64-bit integer that contains the version of the connected database.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/version)\n */\n readonly version: number;\n /**\n * The **`close()`** method of the IDBDatabase interface returns immediately and closes the connection in a separate thread.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/close)\n */\n close(): void;\n /**\n * The **`createObjectStore()`** method of the The method takes the name of the store as well as a parameter object that lets you define important optional properties.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/createObjectStore)\n */\n createObjectStore(name: string, options?: IDBObjectStoreParameters): IDBObjectStore;\n /**\n * The **`deleteObjectStore()`** method of the the connected database, along with any indexes that reference it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/deleteObjectStore)\n */\n deleteObjectStore(name: string): void;\n /**\n * The **`transaction`** method of the IDBDatabase interface immediately returns a transaction object (IDBTransaction) containing the IDBTransaction.objectStore method, which you can use to access your object store.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)\n */\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/**\n * The **`IDBFactory`** interface of the IndexedDB API lets applications asynchronously access the indexed databases.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory)\n */\ninterface IDBFactory {\n /**\n * The **`cmp()`** method of the IDBFactory interface compares two values as keys to determine equality and ordering for IndexedDB operations, such as storing and iterating.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/cmp)\n */\n cmp(first: any, second: any): number;\n /**\n * The **`databases`** method of the IDBFactory interface returns a Promise that fulfills with an array of objects containing the name and version of all the available databases.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/databases)\n */\n databases(): Promise<IDBDatabaseInfo[]>;\n /**\n * The **`deleteDatabase()`** method of the returns an IDBOpenDBRequest object immediately, and performs the deletion operation asynchronously.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/deleteDatabase)\n */\n deleteDatabase(name: string): IDBOpenDBRequest;\n /**\n * The **`open()`** method of the IDBFactory interface requests opening a connection to a database.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBFactory/open)\n */\n open(name: string, version?: number): IDBOpenDBRequest;\n}\n\ndeclare var IDBFactory: {\n prototype: IDBFactory;\n new(): IDBFactory;\n};\n\n/**\n * `IDBIndex` interface of the IndexedDB API provides asynchronous access to an index in a database.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex)\n */\ninterface IDBIndex {\n /**\n * The **`keyPath`** property of the IDBIndex interface returns the key path of the current index.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/keyPath)\n */\n readonly keyPath: string | string[];\n /**\n * The **`multiEntry`** read-only property of the behaves when the result of evaluating the index\'s key path yields an array.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/multiEntry)\n */\n readonly multiEntry: boolean;\n /**\n * The **`name`** property of the IDBIndex interface contains a string which names the index.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/name)\n */\n name: string;\n /**\n * The **`objectStore`** property of the IDBIndex interface returns the object store referenced by the current index.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/objectStore)\n */\n readonly objectStore: IDBObjectStore;\n /**\n * The **`unique`** read-only property returns a boolean that states whether the index allows duplicate keys.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/unique)\n */\n readonly unique: boolean;\n /**\n * The **`count()`** method of the IDBIndex interface returns an IDBRequest object, and in a separate thread, returns the number of records within a key range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/count)\n */\n count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;\n /**\n * The **`get()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the value in the referenced object store that corresponds to the given key or the first corresponding value, if `key` is set to an If a value is found, then a structured clone of it is created and set as the `result` of the request object: this returns the record the key is associated with.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/get)\n */\n get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;\n /**\n * The **`getAll()`** method of the IDBIndex interface retrieves all objects that are inside the index.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAll)\n */\n getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;\n /**\n * The **`getAllKeys()`** method of the IDBIndex interface asynchronously retrieves the primary keys of all objects inside the index, setting them as the `result` of the request object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAllKeys)\n */\n getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;\n /**\n * The **`getKey()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the primary key that corresponds to the given key in this index or the first corresponding primary key, if `key` is set to an If a primary key is found, it is set as the `result` of the request object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getKey)\n */\n getKey(query: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;\n /**\n * The **`openCursor()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, creates a cursor over the specified key range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/openCursor)\n */\n openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;\n /**\n * The **`openKeyCursor()`** method of the a separate thread, creates a cursor over the specified key range, as arranged by this index.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/openKeyCursor)\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/**\n * The **`IDBKeyRange`** interface of the IndexedDB API represents a continuous interval over some data type that is used for keys.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange)\n */\ninterface IDBKeyRange {\n /**\n * The **`lower`** read-only property of the The lower bound of the key range (can be any type.) The following example illustrates how you\'d use a key range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lower)\n */\n readonly lower: any;\n /**\n * The **`lowerOpen`** read-only property of the lower-bound value is included in the key range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerOpen)\n */\n readonly lowerOpen: boolean;\n /**\n * The **`upper`** read-only property of the The upper bound of the key range (can be any type.) The following example illustrates how you\'d use a key range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upper)\n */\n readonly upper: any;\n /**\n * The **`upperOpen`** read-only property of the upper-bound value is included in the key range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperOpen)\n */\n readonly upperOpen: boolean;\n /**\n * The `includes()` method of the IDBKeyRange interface returns a boolean indicating whether a specified key is inside the key range.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/includes)\n */\n includes(key: any): boolean;\n}\n\ndeclare var IDBKeyRange: {\n prototype: IDBKeyRange;\n new(): IDBKeyRange;\n /**\n * The **`bound()`** static method of the IDBKeyRange interface creates a new key range with the specified upper and lower bounds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/bound_static)\n */\n bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;\n /**\n * The **`lowerBound()`** static method of the By default, it includes the lower endpoint value and is closed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerBound_static)\n */\n lowerBound(lower: any, open?: boolean): IDBKeyRange;\n /**\n * The **`only()`** static method of the IDBKeyRange interface creates a new key range containing a single value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/only_static)\n */\n only(value: any): IDBKeyRange;\n /**\n * The **`upperBound()`** static method of the it includes the upper endpoint value and is closed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperBound_static)\n */\n upperBound(upper: any, open?: boolean): IDBKeyRange;\n};\n\n/**\n * The **`IDBObjectStore`** interface of the IndexedDB API represents an object store in a database.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore)\n */\ninterface IDBObjectStore {\n /**\n * The **`autoIncrement`** read-only property of the for this object store.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/autoIncrement)\n */\n readonly autoIncrement: boolean;\n /**\n * The **`indexNames`** read-only property of the in this object store.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/indexNames)\n */\n readonly indexNames: DOMStringList;\n /**\n * The **`keyPath`** read-only property of the If this property is null, the application must provide a key for each modification operation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/keyPath)\n */\n readonly keyPath: string | string[] | null;\n /**\n * The **`name`** property of the IDBObjectStore interface indicates the name of this object store.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/name)\n */\n name: string;\n /**\n * The **`transaction`** read-only property of the object store belongs.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/transaction)\n */\n readonly transaction: IDBTransaction;\n /**\n * The **`add()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, creates a structured clone of the value, and stores the cloned value in the object store.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/add)\n */\n add(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;\n /**\n * The **`clear()`** method of the IDBObjectStore interface creates and immediately returns an IDBRequest object, and clears this object store in a separate thread.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/clear)\n */\n clear(): IDBRequest<undefined>;\n /**\n * The **`count()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the total number of records that match the provided key or of records in the store.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/count)\n */\n count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;\n /**\n * The **`createIndex()`** method of the field/column defining a new data point for each database record to contain.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)\n */\n createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;\n /**\n * The **`delete()`** method of the and, in a separate thread, deletes the specified record or records.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/delete)\n */\n delete(query: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;\n /**\n * The **`deleteIndex()`** method of the the connected database, used during a version upgrade.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/deleteIndex)\n */\n deleteIndex(name: string): void;\n /**\n * The **`get()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the object selected by the specified key.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/get)\n */\n get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;\n /**\n * The **`getAll()`** method of the containing all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)\n */\n getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;\n /**\n * The `getAllKeys()` method of the IDBObjectStore interface returns an IDBRequest object retrieves record keys for all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAllKeys)\n */\n getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;\n /**\n * The **`getKey()`** method of the and, in a separate thread, returns the key selected by the specified query.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getKey)\n */\n getKey(query: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;\n /**\n * The **`index()`** method of the IDBObjectStore interface opens a named index in the current object store, after which it can be used to, for example, return a series of records sorted by that index using a cursor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/index)\n */\n index(name: string): IDBIndex;\n /**\n * The **`openCursor()`** method of the and, in a separate thread, returns a new IDBCursorWithValue object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openCursor)\n */\n openCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursorWithValue | null>;\n /**\n * The **`openKeyCursor()`** method of the whose result will be set to an IDBCursor that can be used to iterate through matching results.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/openKeyCursor)\n */\n openKeyCursor(query?: IDBValidKey | IDBKeyRange | null, direction?: IDBCursorDirection): IDBRequest<IDBCursor | null>;\n /**\n * The **`put()`** method of the IDBObjectStore interface updates a given record in a database, or inserts a new record if the given item does not already exist.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/put)\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/**\n * The **`IDBOpenDBRequest`** interface of the IndexedDB API provides access to the results of requests to open or delete databases (performed using IDBFactory.open and IDBFactory.deleteDatabase), using specific event handler attributes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBOpenDBRequest)\n */\ninterface IDBOpenDBRequest extends IDBRequest<IDBDatabase> {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBOpenDBRequest/blocked_event) */\n onblocked: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBOpenDBRequest/upgradeneeded_event) */\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/**\n * The **`IDBRequest`** interface of the IndexedDB API provides access to results of asynchronous requests to databases and database objects using event handler attributes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest)\n */\ninterface IDBRequest<T = any> extends EventTarget {\n /**\n * The **`error`** read-only property of the request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/error)\n */\n readonly error: DOMException | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/error_event) */\n onerror: ((this: IDBRequest<T>, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/success_event) */\n onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;\n /**\n * The **`readyState`** read-only property of the Every request starts in the `pending` state.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/readyState)\n */\n readonly readyState: IDBRequestReadyState;\n /**\n * The **`result`** read-only property of the any - `InvalidStateError` DOMException - : Thrown when attempting to access the property if the request is not completed, and therefore the result is not available.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/result)\n */\n readonly result: T;\n /**\n * The **`source`** read-only property of the Index or an object store.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/source)\n */\n readonly source: IDBObjectStore | IDBIndex | IDBCursor;\n /**\n * The **`transaction`** read-only property of the IDBRequest interface returns the transaction for the request, that is, the transaction the request is being made inside.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBRequest/transaction)\n */\n readonly transaction: IDBTransaction | null;\n addEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBRequestEventMap>(type: K, listener: (this: IDBRequest<T>, ev: IDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBRequest: {\n prototype: IDBRequest;\n new(): IDBRequest;\n};\n\ninterface IDBTransactionEventMap {\n "abort": Event;\n "complete": Event;\n "error": Event;\n}\n\n/**\n * The **`IDBTransaction`** interface of the IndexedDB API provides a static, asynchronous transaction on a database using event handler attributes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction)\n */\ninterface IDBTransaction extends EventTarget {\n /**\n * The **`db`** read-only property of the IDBTransaction interface returns the database connection with which this transaction is associated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/db)\n */\n readonly db: IDBDatabase;\n /**\n * The **`durability`** read-only property of the IDBTransaction interface returns the durability hint the transaction was created with.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/durability)\n */\n readonly durability: IDBTransactionDurability;\n /**\n * The **`IDBTransaction.error`** property of the IDBTransaction interface returns the type of error when there is an unsuccessful transaction.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/error)\n */\n readonly error: DOMException | null;\n /**\n * The **`mode`** read-only property of the data in the object stores in the scope of the transaction (i.e., is the mode to be read-only, or do you want to write to the object stores?) The default value is `readonly`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/mode)\n */\n readonly mode: IDBTransactionMode;\n /**\n * The **`objectStoreNames`** read-only property of the of IDBObjectStore objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStoreNames)\n */\n readonly objectStoreNames: DOMStringList;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort_event) */\n onabort: ((this: IDBTransaction, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/complete_event) */\n oncomplete: ((this: IDBTransaction, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/error_event) */\n onerror: ((this: IDBTransaction, ev: Event) => any) | null;\n /**\n * The **`abort()`** method of the IDBTransaction interface rolls back all the changes to objects in the database associated with this transaction.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/abort)\n */\n abort(): void;\n /**\n * The **`commit()`** method of the IDBTransaction interface commits the transaction if it is called on an active transaction.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/commit)\n */\n commit(): void;\n /**\n * The **`objectStore()`** method of the added to the scope of this transaction.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBTransaction/objectStore)\n */\n objectStore(name: string): IDBObjectStore;\n addEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof IDBTransactionEventMap>(type: K, listener: (this: IDBTransaction, ev: IDBTransactionEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var IDBTransaction: {\n prototype: IDBTransaction;\n new(): IDBTransaction;\n};\n\n/**\n * The **`IDBVersionChangeEvent`** interface of the IndexedDB API indicates that the version of the database has changed, as the result of an IDBOpenDBRequest.upgradeneeded_event event handler function.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent)\n */\ninterface IDBVersionChangeEvent extends Event {\n /**\n * The **`newVersion`** read-only property of the database.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/newVersion)\n */\n readonly newVersion: number | null;\n /**\n * The **`oldVersion`** read-only property of the database.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBVersionChangeEvent/oldVersion)\n */\n readonly oldVersion: number;\n}\n\ndeclare var IDBVersionChangeEvent: {\n prototype: IDBVersionChangeEvent;\n new(type: string, eventInitDict?: IDBVersionChangeEventInit): IDBVersionChangeEvent;\n};\n\n/**\n * The **`ImageBitmap`** interface represents a bitmap image which can be drawn to a canvas without undue latency.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmap)\n */\ninterface ImageBitmap {\n /**\n * The **`ImageBitmap.height`** read-only property returns the ImageBitmap object\'s height in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmap/height)\n */\n readonly height: number;\n /**\n * The **`ImageBitmap.width`** read-only property returns the ImageBitmap object\'s width in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmap/width)\n */\n readonly width: number;\n /**\n * The **`ImageBitmap.close()`** method disposes of all graphical resources associated with an `ImageBitmap`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmap/close)\n */\n close(): void;\n}\n\ndeclare var ImageBitmap: {\n prototype: ImageBitmap;\n new(): ImageBitmap;\n};\n\n/**\n * The **`ImageBitmapRenderingContext`** interface is a canvas rendering context that provides the functionality to replace the canvas\'s contents with the given ImageBitmap.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext)\n */\ninterface ImageBitmapRenderingContext {\n /**\n * The **`ImageBitmapRenderingContext.transferFromImageBitmap()`** method displays the given ImageBitmap in the canvas associated with this rendering context.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext/transferFromImageBitmap)\n */\n transferFromImageBitmap(bitmap: ImageBitmap | null): void;\n}\n\ndeclare var ImageBitmapRenderingContext: {\n prototype: ImageBitmapRenderingContext;\n new(): ImageBitmapRenderingContext;\n};\n\n/**\n * The **`ImageData`** interface represents the underlying pixel data of an area of a canvas element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData)\n */\ninterface ImageData {\n /**\n * The read-only **`ImageData.colorSpace`** property is a string indicating the color space of the image data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/colorSpace)\n */\n readonly colorSpace: PredefinedColorSpace;\n /**\n * The readonly **`ImageData.data`** property returns a pixel data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/data)\n */\n readonly data: ImageDataArray;\n /**\n * The readonly **`ImageData.height`** property returns the number of rows in the ImageData object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/height)\n */\n readonly height: number;\n /**\n * The readonly **`ImageData.width`** property returns the number of pixels per row in the ImageData object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageData/width)\n */\n readonly width: number;\n}\n\ndeclare var ImageData: {\n prototype: ImageData;\n new(sw: number, sh: number, settings?: ImageDataSettings): ImageData;\n new(data: ImageDataArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;\n};\n\n/**\n * The **`ImageDecoder`** interface of the WebCodecs API provides a way to unpack and decode encoded image data.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder)\n */\ninterface ImageDecoder {\n /**\n * The **`complete`** read-only property of the ImageDecoder interface returns true if encoded data has completed buffering.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/complete)\n */\n readonly complete: boolean;\n /**\n * The **`completed`** read-only property of the ImageDecoder interface returns a promise that resolves once encoded data has finished buffering.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/completed)\n */\n readonly completed: Promise<void>;\n /**\n * The **`tracks`** read-only property of the ImageDecoder interface returns a list of the tracks in the encoded image data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/tracks)\n */\n readonly tracks: ImageTrackList;\n /**\n * The **`type`** read-only property of the ImageDecoder interface reflects the MIME type configured during construction.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/type)\n */\n readonly type: string;\n /**\n * The **`close()`** method of the ImageDecoder interface ends all pending work and releases system resources.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/close)\n */\n close(): void;\n /**\n * The **`decode()`** method of the ImageDecoder interface enqueues a control message to decode the frame of an image.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/decode)\n */\n decode(options?: ImageDecodeOptions): Promise<ImageDecodeResult>;\n /**\n * The **`reset()`** method of the ImageDecoder interface aborts all pending `decode()` operations; rejecting all pending promises.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/reset)\n */\n reset(): void;\n}\n\ndeclare var ImageDecoder: {\n prototype: ImageDecoder;\n new(init: ImageDecoderInit): ImageDecoder;\n /**\n * The **`ImageDecoder.isTypeSupported()`** static method checks if a given MIME type can be decoded by the user agent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageDecoder/isTypeSupported_static)\n */\n isTypeSupported(type: string): Promise<boolean>;\n};\n\n/**\n * The **`ImageTrack`** interface of the WebCodecs API represents an individual image track.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack)\n */\ninterface ImageTrack {\n /**\n * The **`animated`** property of the ImageTrack interface returns `true` if the track is animated and therefore has multiple frames.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack/animated)\n */\n readonly animated: boolean;\n /**\n * The **`frameCount`** property of the ImageTrack interface returns the number of frames in the track.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack/frameCount)\n */\n readonly frameCount: number;\n /**\n * The **`repetitionCount`** property of the ImageTrack interface returns the number of repetitions of this track.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack/repetitionCount)\n */\n readonly repetitionCount: number;\n /**\n * The **`selected`** property of the ImageTrack interface returns `true` if the track is selected for decoding.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrack/selected)\n */\n selected: boolean;\n}\n\ndeclare var ImageTrack: {\n prototype: ImageTrack;\n new(): ImageTrack;\n};\n\n/**\n * The **`ImageTrackList`** interface of the WebCodecs API represents a list of image tracks.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList)\n */\ninterface ImageTrackList {\n /**\n * The **`length`** property of the ImageTrackList interface returns the length of the `ImageTrackList`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList/length)\n */\n readonly length: number;\n /**\n * The **`ready`** property of the ImageTrackList interface returns a Promise that resolves when the `ImageTrackList` is populated with ImageTrack.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList/ready)\n */\n readonly ready: Promise<void>;\n /**\n * The **`selectedIndex`** property of the ImageTrackList interface returns the `index` of the selected track.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList/selectedIndex)\n */\n readonly selectedIndex: number;\n /**\n * The **`selectedTrack`** property of the ImageTrackList interface returns an ImageTrack object representing the currently selected track.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ImageTrackList/selectedTrack)\n */\n readonly selectedTrack: ImageTrack | null;\n [index: number]: ImageTrack;\n}\n\ndeclare var ImageTrackList: {\n prototype: ImageTrackList;\n new(): ImageTrackList;\n};\n\ninterface ImportMeta {\n url: string;\n resolve(specifier: string): string;\n}\n\n/**\n * The **`KHR_parallel_shader_compile`** extension is part of the WebGL API and enables a non-blocking poll operation, so that compile/link status availability (`COMPLETION_STATUS_KHR`) can be queried without potentially incurring stalls.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/KHR_parallel_shader_compile)\n */\ninterface KHR_parallel_shader_compile {\n readonly COMPLETION_STATUS_KHR: 0x91B1;\n}\n\n/**\n * The **`Lock`** interface of the Web Locks API provides the name and mode of a lock.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Lock)\n */\ninterface Lock {\n /**\n * The **`mode`** read-only property of the Lock interface returns the access mode passed to LockManager.request() when the lock was requested.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Lock/mode)\n */\n readonly mode: LockMode;\n /**\n * The **`name`** read-only property of the Lock interface returns the _name_ passed to The name of a lock is passed by script when the lock is requested.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Lock/name)\n */\n readonly name: string;\n}\n\ndeclare var Lock: {\n prototype: Lock;\n new(): Lock;\n};\n\n/**\n * The **`LockManager`** interface of the Web Locks API provides methods for requesting a new Lock object and querying for an existing `Lock` object.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LockManager)\n */\ninterface LockManager {\n /**\n * The **`query()`** method of the LockManager interface returns a Promise that resolves with an object containing information about held and pending locks.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LockManager/query)\n */\n query(): Promise<LockManagerSnapshot>;\n /**\n * The **`request()`** method of the LockManager interface requests a Lock object with parameters specifying its name and characteristics.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/LockManager/request)\n */\n request<T>(name: string, callback: LockGrantedCallback<T>): Promise<T>;\n request<T>(name: string, options: LockOptions, callback: LockGrantedCallback<T>): Promise<T>;\n}\n\ndeclare var LockManager: {\n prototype: LockManager;\n new(): LockManager;\n};\n\n/**\n * The **`MediaCapabilities`** interface of the Media Capabilities API provides information about the decoding abilities of the device, system and browser.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaCapabilities)\n */\ninterface MediaCapabilities {\n /**\n * The **`decodingInfo()`** method of the MediaCapabilities interface returns a promise that fulfils with information about how well the user agent can decode/display media with a given configuration.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaCapabilities/decodingInfo)\n */\n decodingInfo(configuration: MediaDecodingConfiguration): Promise<MediaCapabilitiesDecodingInfo>;\n /**\n * The **`encodingInfo()`** method of the MediaCapabilities interface returns a promise that fulfills with the tested media configuration\'s capabilities for encoding media.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaCapabilities/encodingInfo)\n */\n encodingInfo(configuration: MediaEncodingConfiguration): Promise<MediaCapabilitiesEncodingInfo>;\n}\n\ndeclare var MediaCapabilities: {\n prototype: MediaCapabilities;\n new(): MediaCapabilities;\n};\n\n/**\n * The **`MediaSourceHandle`** interface of the Media Source Extensions API is a proxy for a MediaSource that can be transferred from a dedicated worker back to the main thread and attached to a media element via its HTMLMediaElement.srcObject property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaSourceHandle)\n */\ninterface MediaSourceHandle {\n}\n\ndeclare var MediaSourceHandle: {\n prototype: MediaSourceHandle;\n new(): MediaSourceHandle;\n};\n\n/**\n * The **`MediaStreamTrackProcessor`** interface of the Insertable Streams for MediaStreamTrack API consumes a video MediaStreamTrack object\'s source and generates a stream of VideoFrame objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor)\n */\ninterface MediaStreamTrackProcessor {\n /**\n * The **`readable`** property of the MediaStreamTrackProcessor interface returns a ReadableStream of VideoFrames.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MediaStreamTrackProcessor/readable)\n */\n readonly readable: ReadableStream;\n}\n\ndeclare var MediaStreamTrackProcessor: {\n prototype: MediaStreamTrackProcessor;\n new(init: MediaStreamTrackProcessorInit): MediaStreamTrackProcessor;\n};\n\n/**\n * The **`MessageChannel`** interface of the Channel Messaging API allows us to create a new message channel and send data through it via its two MessagePort properties.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel)\n */\ninterface MessageChannel {\n /**\n * The **`port1`** read-only property of the the port attached to the context that originated the channel.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port1)\n */\n readonly port1: MessagePort;\n /**\n * The **`port2`** read-only property of the the port attached to the context at the other end of the channel, which the message is initially sent to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageChannel/port2)\n */\n readonly port2: MessagePort;\n}\n\ndeclare var MessageChannel: {\n prototype: MessageChannel;\n new(): MessageChannel;\n};\n\n/**\n * The **`MessageEvent`** interface represents a message received by a target object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent)\n */\ninterface MessageEvent<T = any> extends Event {\n /**\n * The **`data`** read-only property of the The data sent by the message emitter; this can be any data type, depending on what originated this event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/data)\n */\n readonly data: T;\n /**\n * The **`lastEventId`** read-only property of the unique ID for the event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/lastEventId)\n */\n readonly lastEventId: string;\n /**\n * The **`origin`** read-only property of the origin of the message emitter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/origin)\n */\n readonly origin: string;\n /**\n * The **`ports`** read-only property of the containing all MessagePort objects sent with the message, in order.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/ports)\n */\n readonly ports: ReadonlyArray<MessagePort>;\n /**\n * The **`source`** read-only property of the a WindowProxy, MessagePort, or a `MessageEventSource` (which can be a WindowProxy, message emitter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/source)\n */\n readonly source: MessageEventSource | null;\n /** @deprecated */\n initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort[]): void;\n}\n\ndeclare var MessageEvent: {\n prototype: MessageEvent;\n new<T>(type: string, eventInitDict?: MessageEventInit<T>): MessageEvent<T>;\n};\n\ninterface MessageEventTargetEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\ninterface MessageEventTarget<T> {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/message_event) */\n onmessage: ((this: T, ev: MessageEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/messageerror_event) */\n onmessageerror: ((this: T, ev: MessageEvent) => any) | null;\n addEventListener<K extends keyof MessageEventTargetEventMap>(type: K, listener: (this: T, ev: MessageEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MessageEventTargetEventMap>(type: K, listener: (this: T, ev: MessageEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface MessagePortEventMap extends MessageEventTargetEventMap {\n "message": MessageEvent;\n "messageerror": MessageEvent;\n}\n\n/**\n * The **`MessagePort`** interface of the Channel Messaging API 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort)\n */\ninterface MessagePort extends EventTarget, MessageEventTarget<MessagePort> {\n /**\n * The **`close()`** method of the MessagePort interface disconnects the port, so it is no longer active.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/close)\n */\n close(): void;\n /**\n * The **`postMessage()`** method of the transfers ownership of objects to other browsing contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/postMessage)\n */\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: StructuredSerializeOptions): void;\n /**\n * The **`start()`** method of the MessagePort interface starts the sending of messages queued on the port.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/start)\n */\n start(): void;\n addEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MessagePortEventMap>(type: K, listener: (this: MessagePort, ev: MessagePortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MessagePort: {\n prototype: MessagePort;\n new(): MessagePort;\n};\n\n/**\n * The **`NavigationPreloadManager`** interface of the Service Worker API provides methods for managing the preloading of resources in parallel with service worker bootup.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPreloadManager)\n */\ninterface NavigationPreloadManager {\n /**\n * The **`disable()`** method of the NavigationPreloadManager interface halts the automatic preloading of service-worker-managed resources previously started using NavigationPreloadManager.enable() It returns a promise that resolves with `undefined`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPreloadManager/disable)\n */\n disable(): Promise<void>;\n /**\n * The **`enable()`** method of the NavigationPreloadManager interface is used to enable preloading of resources managed by the service worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPreloadManager/enable)\n */\n enable(): Promise<void>;\n /**\n * The **`getState()`** method of the NavigationPreloadManager interface returns a Promise that resolves to an object with properties that indicate whether preload is enabled and what value will be sent in the Service-Worker-Navigation-Preload HTTP header.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPreloadManager/getState)\n */\n getState(): Promise<NavigationPreloadState>;\n /**\n * The **`setHeaderValue()`** method of the NavigationPreloadManager interface sets the value of the Service-Worker-Navigation-Preload header that will be sent with requests resulting from a Window/fetch operation made during service worker navigation preloading.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPreloadManager/setHeaderValue)\n */\n setHeaderValue(value: string): Promise<void>;\n}\n\ndeclare var NavigationPreloadManager: {\n prototype: NavigationPreloadManager;\n new(): NavigationPreloadManager;\n};\n\n/** Available only in secure contexts. */\ninterface NavigatorBadge {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/clearAppBadge) */\n clearAppBadge(): Promise<void>;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/setAppBadge) */\n setAppBadge(contents?: number): Promise<void>;\n}\n\ninterface NavigatorConcurrentHardware {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/hardwareConcurrency) */\n readonly hardwareConcurrency: number;\n}\n\ninterface NavigatorID {\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName)\n */\n readonly appCodeName: string;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appName)\n */\n readonly appName: string;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appVersion)\n */\n readonly appVersion: string;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/platform)\n */\n readonly platform: string;\n /**\n * @deprecated\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/product)\n */\n readonly product: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/userAgent) */\n readonly userAgent: string;\n}\n\ninterface NavigatorLanguage {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/language) */\n readonly language: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/languages) */\n readonly languages: ReadonlyArray<string>;\n}\n\n/** Available only in secure contexts. */\ninterface NavigatorLocks {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/locks) */\n readonly locks: LockManager;\n}\n\ninterface NavigatorOnLine {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/onLine) */\n readonly onLine: boolean;\n}\n\n/** Available only in secure contexts. */\ninterface NavigatorStorage {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/storage) */\n readonly storage: StorageManager;\n}\n\ninterface NotificationEventMap {\n "click": Event;\n "close": Event;\n "error": Event;\n "show": Event;\n}\n\n/**\n * The **`Notification`** interface of the Notifications API is used to configure and display desktop notifications to the user.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)\n */\ninterface Notification extends EventTarget {\n /**\n * The **`badge`** read-only property of the Notification interface returns a string containing the URL of an image to represent the notification when there is not enough space to display the notification itself such as for example, the Android Notification Bar.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/badge)\n */\n readonly badge: string;\n /**\n * The **`body`** read-only property of the specified in the `body` option of the A string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/body)\n */\n readonly body: string;\n /**\n * The **`data`** read-only property of the data, as specified in the `data` option of the The notification\'s data can be any arbitrary data that you want associated with the notification.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/data)\n */\n readonly data: any;\n /**\n * The **`dir`** read-only property of the Notification interface indicates the text direction of the notification, as specified in the `dir` option of the Notification.Notification constructor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/dir)\n */\n readonly dir: NotificationDirection;\n /**\n * The **`icon`** read-only property of the part of the notification, as specified in the `icon` option of the A string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/icon)\n */\n readonly icon: string;\n /**\n * The **`lang`** read-only property of the as specified in the `lang` option of the The language itself is specified using a string representing a language tag according to MISSING: RFC(5646, \'Tags for Identifying Languages (also known as BCP 47)\')].\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/lang)\n */\n readonly lang: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/click_event) */\n onclick: ((this: Notification, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/close_event) */\n onclose: ((this: Notification, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/error_event) */\n onerror: ((this: Notification, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/show_event) */\n onshow: ((this: Notification, ev: Event) => any) | null;\n /**\n * The **`requireInteraction`** read-only property of the Notification interface returns a boolean value indicating that a notification should remain active until the user clicks or dismisses it, rather than closing automatically.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/requireInteraction)\n */\n readonly requireInteraction: boolean;\n /**\n * The **`silent`** read-only property of the silent, i.e., no sounds or vibrations should be issued regardless of the device settings.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/silent)\n */\n readonly silent: boolean | null;\n /**\n * The **`tag`** read-only property of the as specified in the `tag` option of the The idea of notification tags is that more than one notification can share the same tag, linking them together.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/tag)\n */\n readonly tag: string;\n /**\n * The **`title`** read-only property of the specified in the `title` parameter of the A string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/title)\n */\n readonly title: string;\n /**\n * The **`close()`** method of the Notification interface is used to close/remove a previously displayed notification.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/close)\n */\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 /**\n * The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/permission_static)\n */\n readonly permission: NotificationPermission;\n};\n\n/**\n * The **`NotificationEvent`** interface of the Notifications API represents a notification event dispatched on the ServiceWorkerGlobalScope of a ServiceWorker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NotificationEvent)\n */\ninterface NotificationEvent extends ExtendableEvent {\n /**\n * The **`action`** read-only property of the NotificationEvent interface returns the string ID of the notification button the user clicked.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NotificationEvent/action)\n */\n readonly action: string;\n /**\n * The **`notification`** read-only property of the NotificationEvent interface returns the instance of the Notification that was clicked to fire the event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NotificationEvent/notification)\n */\n readonly notification: Notification;\n}\n\ndeclare var NotificationEvent: {\n prototype: NotificationEvent;\n new(type: string, eventInitDict: NotificationEventInit): NotificationEvent;\n};\n\n/**\n * The **`OES_draw_buffers_indexed`** extension is part of the WebGL API and enables the use of different blend options when writing to multiple color buffers simultaneously.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed)\n */\ninterface OES_draw_buffers_indexed {\n /**\n * The `blendEquationSeparateiOES()` method of the OES_draw_buffers_indexed WebGL extension sets the RGB and alpha blend equations separately for a particular draw buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed/blendEquationSeparateiOES)\n */\n blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void;\n /**\n * The `blendEquationiOES()` method of the `OES_draw_buffers_indexed` WebGL extension sets both the RGB blend and alpha blend equations for a particular draw buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed/blendEquationiOES)\n */\n blendEquationiOES(buf: GLuint, mode: GLenum): void;\n /**\n * The `blendFuncSeparateiOES()` method of the OES_draw_buffers_indexed WebGL extension defines which function is used when blending pixels for RGB and alpha components separately for a particular draw buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed/blendFuncSeparateiOES)\n */\n blendFuncSeparateiOES(buf: GLuint, srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;\n /**\n * The `blendFunciOES()` method of the OES_draw_buffers_indexed WebGL extension defines which function is used when blending pixels for a particular draw buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed/blendFunciOES)\n */\n blendFunciOES(buf: GLuint, src: GLenum, dst: GLenum): void;\n /**\n * The `colorMaskiOES()` method of the OES_draw_buffers_indexed WebGL extension sets which color components to enable or to disable when drawing or rendering for a particular draw buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed/colorMaskiOES)\n */\n colorMaskiOES(buf: GLuint, r: GLboolean, g: GLboolean, b: GLboolean, a: GLboolean): void;\n /**\n * The `disableiOES()` method of the OES_draw_buffers_indexed WebGL extension enables blending for a particular draw buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed/disableiOES)\n */\n disableiOES(target: GLenum, index: GLuint): void;\n /**\n * The `enableiOES()` method of the OES_draw_buffers_indexed WebGL extension enables blending for a particular draw buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_draw_buffers_indexed/enableiOES)\n */\n enableiOES(target: GLenum, index: GLuint): void;\n}\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().\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_element_index_uint)\n */\ninterface OES_element_index_uint {\n}\n\n/**\n * The `OES_fbo_render_mipmap` extension is part of the WebGL API and makes it possible to attach any level of a texture to a framebuffer object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_fbo_render_mipmap)\n */\ninterface OES_fbo_render_mipmap {\n}\n\n/**\n * The **`OES_standard_derivatives`** extension is part of the WebGL API and adds the GLSL derivative functions `dFdx`, `dFdy`, and `fwidth`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_standard_derivatives)\n */\ninterface OES_standard_derivatives {\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT_OES: 0x8B8B;\n}\n\n/**\n * The **`OES_texture_float`** extension is part of the WebGL API and exposes floating-point pixel types for textures.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_float)\n */\ninterface OES_texture_float {\n}\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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_float_linear)\n */\ninterface OES_texture_float_linear {\n}\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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_half_float)\n */\ninterface OES_texture_half_float {\n readonly HALF_FLOAT_OES: 0x8D61;\n}\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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_texture_half_float_linear)\n */\ninterface OES_texture_half_float_linear {\n}\n\n/**\n * The **OES_vertex_array_object** extension is part of the WebGL API and provides vertex array objects (VAOs) which encapsulate vertex array states.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object)\n */\ninterface OES_vertex_array_object {\n /**\n * The **`OES_vertex_array_object.bindVertexArrayOES()`** method of the WebGL API binds a passed WebGLVertexArrayObject object to the buffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/bindVertexArrayOES)\n */\n bindVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;\n /**\n * The **`OES_vertex_array_object.createVertexArrayOES()`** method of the WebGL API creates and initializes a pointing to vertex array data and which provides names for different sets of vertex data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/createVertexArrayOES)\n */\n createVertexArrayOES(): WebGLVertexArrayObjectOES;\n /**\n * The **`OES_vertex_array_object.deleteVertexArrayOES()`** method of the WebGL API deletes a given ```js-nolint deleteVertexArrayOES(arrayObject) ``` - `arrayObject` - : A WebGLVertexArrayObject (VAO) object to delete.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/deleteVertexArrayOES)\n */\n deleteVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): void;\n /**\n * The **`OES_vertex_array_object.isVertexArrayOES()`** method of the WebGL API returns `true` if the passed object is a WebGLVertexArrayObject object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OES_vertex_array_object/isVertexArrayOES)\n */\n isVertexArrayOES(arrayObject: WebGLVertexArrayObjectOES | null): GLboolean;\n readonly VERTEX_ARRAY_BINDING_OES: 0x85B5;\n}\n\n/**\n * The `OVR_multiview2` extension is part of the WebGL API and adds support for rendering into multiple views simultaneously.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OVR_multiview2)\n */\ninterface OVR_multiview2 {\n /**\n * The **`OVR_multiview2.framebufferTextureMultiviewOVR()`** method of the WebGL API attaches a multiview texture to a WebGLFramebuffer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OVR_multiview2/framebufferTextureMultiviewOVR)\n */\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\n/**\n * When using the canvas element or the Canvas API, rendering, animation, and user interaction usually happen on the main execution thread of a web application.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas)\n */\ninterface OffscreenCanvas extends EventTarget {\n /**\n * The **`height`** property returns and sets the height of an OffscreenCanvas object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/height)\n */\n height: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextlost_event) */\n oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/contextrestored_event) */\n oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null;\n /**\n * The **`width`** property returns and sets the width of an OffscreenCanvas object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/width)\n */\n width: number;\n /**\n * The **`OffscreenCanvas.convertToBlob()`** method creates a Blob object representing the image contained in the canvas.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/convertToBlob)\n */\n convertToBlob(options?: ImageEncodeOptions): Promise<Blob>;\n /**\n * The **`OffscreenCanvas.getContext()`** method returns a drawing context for an offscreen canvas, or `null` if the context identifier is not supported, or the offscreen canvas has already been set to a different context mode.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/getContext)\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 /**\n * The **`OffscreenCanvas.transferToImageBitmap()`** method creates an ImageBitmap object from the most recently rendered image of the `OffscreenCanvas`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas/transferToImageBitmap)\n */\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\n/**\n * The **`OffscreenCanvasRenderingContext2D`** interface is a CanvasRenderingContext2D rendering context for drawing to the bitmap of an `OffscreenCanvas` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D)\n */\ninterface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/canvas) */\n readonly canvas: OffscreenCanvas;\n}\n\ndeclare var OffscreenCanvasRenderingContext2D: {\n prototype: OffscreenCanvasRenderingContext2D;\n new(): OffscreenCanvasRenderingContext2D;\n};\n\n/**\n * The **`Path2D`** interface of the Canvas 2D API is used to declare a path that can then be used on a CanvasRenderingContext2D object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Path2D)\n */\ninterface Path2D extends CanvasPath {\n /**\n * The **`Path2D.addPath()`** method of the Canvas 2D API adds one Path2D object to another `Path2D` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Path2D/addPath)\n */\n addPath(path: Path2D, transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var Path2D: {\n prototype: Path2D;\n new(path?: Path2D | string): Path2D;\n};\n\ninterface PerformanceEventMap {\n "resourcetimingbufferfull": Event;\n}\n\n/**\n * The **`Performance`** interface provides access to performance-related information for the current page.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance)\n */\ninterface Performance extends EventTarget {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/resourcetimingbufferfull_event) */\n onresourcetimingbufferfull: ((this: Performance, ev: Event) => any) | null;\n /**\n * The **`timeOrigin`** read-only property of the Performance interface returns the high resolution timestamp that is used as the baseline for performance-related timestamps.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/timeOrigin)\n */\n readonly timeOrigin: DOMHighResTimeStamp;\n /**\n * The **`clearMarks()`** method removes all or specific PerformanceMark objects from the browser\'s performance timeline.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/clearMarks)\n */\n clearMarks(markName?: string): void;\n /**\n * The **`clearMeasures()`** method removes all or specific PerformanceMeasure objects from the browser\'s performance timeline.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/clearMeasures)\n */\n clearMeasures(measureName?: string): void;\n /**\n * The **`clearResourceTimings()`** method removes all performance entries with an PerformanceEntry.entryType of `\'resource\'` from the browser\'s performance timeline and sets the size of the performance resource data buffer to zero.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/clearResourceTimings)\n */\n clearResourceTimings(): void;\n /**\n * The **`getEntries()`** method returns an array of all PerformanceEntry objects currently present in the performance timeline.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/getEntries)\n */\n getEntries(): PerformanceEntryList;\n /**\n * The **`getEntriesByName()`** method returns an array of PerformanceEntry objects currently present in the performance timeline with the given _name_ and _type_.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/getEntriesByName)\n */\n getEntriesByName(name: string, type?: string): PerformanceEntryList;\n /**\n * The **`getEntriesByType()`** method returns an array of PerformanceEntry objects currently present in the performance timeline for a given _type_.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/getEntriesByType)\n */\n getEntriesByType(type: string): PerformanceEntryList;\n /**\n * The **`mark()`** method creates a named PerformanceMark object representing a high resolution timestamp marker in the browser\'s performance timeline.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/mark)\n */\n mark(markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark;\n /**\n * The **`measure()`** method creates a named PerformanceMeasure object representing a time measurement between two marks in the browser\'s performance timeline.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/measure)\n */\n measure(measureName: string, startOrMeasureOptions?: string | PerformanceMeasureOptions, endMark?: string): PerformanceMeasure;\n /**\n * The **`performance.now()`** method returns a high resolution timestamp in milliseconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/now)\n */\n now(): DOMHighResTimeStamp;\n /**\n * The **`setResourceTimingBufferSize()`** method sets the desired size of the browser\'s resource timing buffer which stores the `\'resource\'` performance entries.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/setResourceTimingBufferSize)\n */\n setResourceTimingBufferSize(maxSize: number): void;\n /**\n * The **`toJSON()`** method of the Performance interface is a Serialization; it returns a JSON representation of the Performance object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Performance/toJSON)\n */\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/**\n * The **`PerformanceEntry`** object encapsulates a single performance metric that is part of the browser\'s performance timeline.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry)\n */\ninterface PerformanceEntry {\n /**\n * The read-only **`duration`** property returns a DOMHighResTimeStamp that is the duration of the PerformanceEntry.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry/duration)\n */\n readonly duration: DOMHighResTimeStamp;\n /**\n * The read-only **`entryType`** property returns a string representing the type of performance metric that this entry represents.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry/entryType)\n */\n readonly entryType: string;\n /**\n * The read-only **`name`** property of the PerformanceEntry interface is a string representing the name for a performance entry.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry/name)\n */\n readonly name: string;\n /**\n * The read-only **`startTime`** property returns the first DOMHighResTimeStamp recorded for this PerformanceEntry.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry/startTime)\n */\n readonly startTime: DOMHighResTimeStamp;\n /**\n * The **`toJSON()`** method is a Serialization; it returns a JSON representation of the PerformanceEntry object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceEntry/toJSON)\n */\n toJSON(): any;\n}\n\ndeclare var PerformanceEntry: {\n prototype: PerformanceEntry;\n new(): PerformanceEntry;\n};\n\n/**\n * **`PerformanceMark`** is an interface for PerformanceEntry objects with an PerformanceEntry.entryType of `\'mark\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMark)\n */\ninterface PerformanceMark extends PerformanceEntry {\n /**\n * The read-only **`detail`** property returns arbitrary metadata that was included in the mark upon construction (either when using Performance.mark or the PerformanceMark.PerformanceMark constructor).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMark/detail)\n */\n readonly detail: any;\n}\n\ndeclare var PerformanceMark: {\n prototype: PerformanceMark;\n new(markName: string, markOptions?: PerformanceMarkOptions): PerformanceMark;\n};\n\n/**\n * **`PerformanceMeasure`** is an _abstract_ interface for PerformanceEntry objects with an PerformanceEntry.entryType of `\'measure\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMeasure)\n */\ninterface PerformanceMeasure extends PerformanceEntry {\n /**\n * The read-only **`detail`** property returns arbitrary metadata that was included in the mark upon construction (when using Performance.measure.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceMeasure/detail)\n */\n readonly detail: any;\n}\n\ndeclare var PerformanceMeasure: {\n prototype: PerformanceMeasure;\n new(): PerformanceMeasure;\n};\n\n/**\n * The **`PerformanceObserver`** interface is used to observe performance measurement events and be notified of new PerformanceEntry as they are recorded in the browser\'s _performance timeline_.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver)\n */\ninterface PerformanceObserver {\n /**\n * The **`disconnect()`** method of the PerformanceObserver interface is used to stop the performance observer from receiving any PerformanceEntry events.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver/disconnect)\n */\n disconnect(): void;\n /**\n * The **`observe()`** method of the **PerformanceObserver** interface is used to specify the set of performance entry types to observe.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver/observe)\n */\n observe(options?: PerformanceObserverInit): void;\n /**\n * The **`takeRecords()`** method of the PerformanceObserver interface returns the current list of PerformanceEntry objects stored in the performance observer, emptying it out.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver/takeRecords)\n */\n takeRecords(): PerformanceEntryList;\n}\n\ndeclare var PerformanceObserver: {\n prototype: PerformanceObserver;\n new(callback: PerformanceObserverCallback): PerformanceObserver;\n /**\n * The static **`supportedEntryTypes`** read-only property of the PerformanceObserver interface returns an array of the PerformanceEntry.entryType values supported by the user agent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver/supportedEntryTypes_static)\n */\n readonly supportedEntryTypes: ReadonlyArray<string>;\n};\n\n/**\n * The **`PerformanceObserverEntryList`** interface is a list of PerformanceEntry that were explicitly observed via the PerformanceObserver.observe method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserverEntryList)\n */\ninterface PerformanceObserverEntryList {\n /**\n * The **`getEntries()`** method of the PerformanceObserverEntryList interface returns a list of explicitly observed PerformanceEntry objects.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserverEntryList/getEntries)\n */\n getEntries(): PerformanceEntryList;\n /**\n * The **`getEntriesByName()`** method of the PerformanceObserverEntryList interface returns a list of explicitly observed PerformanceEntry objects for a given PerformanceEntry.name and PerformanceEntry.entryType.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserverEntryList/getEntriesByName)\n */\n getEntriesByName(name: string, type?: string): PerformanceEntryList;\n /**\n * The **`getEntriesByType()`** method of the PerformanceObserverEntryList returns a list of explicitly _observed_ PerformanceEntry objects for a given PerformanceEntry.entryType.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserverEntryList/getEntriesByType)\n */\n getEntriesByType(type: string): PerformanceEntryList;\n}\n\ndeclare var PerformanceObserverEntryList: {\n prototype: PerformanceObserverEntryList;\n new(): PerformanceObserverEntryList;\n};\n\n/**\n * The **`PerformanceResourceTiming`** interface enables retrieval and analysis of detailed network timing data regarding the loading of an application\'s resources.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming)\n */\ninterface PerformanceResourceTiming extends PerformanceEntry {\n /**\n * The **`connectEnd`** read-only property returns the DOMHighResTimeStamp immediately after the browser finishes establishing the connection to the server to retrieve the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/connectEnd)\n */\n readonly connectEnd: DOMHighResTimeStamp;\n /**\n * The **`connectStart`** read-only property returns the DOMHighResTimeStamp immediately before the user agent starts establishing the connection to the server to retrieve the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/connectStart)\n */\n readonly connectStart: DOMHighResTimeStamp;\n /**\n * The **`decodedBodySize`** read-only property returns the size (in octets) received from the fetch (HTTP or cache) of the message body after removing any applied content encoding (like gzip or Brotli).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/decodedBodySize)\n */\n readonly decodedBodySize: number;\n /**\n * The **`domainLookupEnd`** read-only property returns the DOMHighResTimeStamp immediately after the browser finishes the domain-name lookup for the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/domainLookupEnd)\n */\n readonly domainLookupEnd: DOMHighResTimeStamp;\n /**\n * The **`domainLookupStart`** read-only property returns the DOMHighResTimeStamp immediately before the browser starts the domain name lookup for the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/domainLookupStart)\n */\n readonly domainLookupStart: DOMHighResTimeStamp;\n /**\n * The **`encodedBodySize`** read-only property represents the size (in octets) received from the fetch (HTTP or cache) of the payload body before removing any applied content encodings (like gzip or Brotli).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/encodedBodySize)\n */\n readonly encodedBodySize: number;\n /**\n * The **`fetchStart`** read-only property represents a DOMHighResTimeStamp immediately before the browser starts to fetch the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/fetchStart)\n */\n readonly fetchStart: DOMHighResTimeStamp;\n /**\n * The **`initiatorType`** read-only property is a string representing web platform feature that initiated the resource load.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/initiatorType)\n */\n readonly initiatorType: string;\n /**\n * The **`nextHopProtocol`** read-only property is a string representing the network protocol used to fetch the resource, as identified by the ALPN Protocol ID (RFC7301).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/nextHopProtocol)\n */\n readonly nextHopProtocol: string;\n /**\n * The **`redirectEnd`** read-only property returns a DOMHighResTimeStamp immediately after receiving the last byte of the response of the last redirect.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/redirectEnd)\n */\n readonly redirectEnd: DOMHighResTimeStamp;\n /**\n * The **`redirectStart`** read-only property returns a DOMHighResTimeStamp representing the start time of the fetch which that initiates the redirect.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/redirectStart)\n */\n readonly redirectStart: DOMHighResTimeStamp;\n /**\n * The **`requestStart`** read-only property returns a DOMHighResTimeStamp of the time immediately before the browser starts requesting the resource from the server, cache, or local resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/requestStart)\n */\n readonly requestStart: DOMHighResTimeStamp;\n /**\n * The **`responseEnd`** read-only property returns a DOMHighResTimeStamp immediately after the browser receives the last byte of the resource or immediately before the transport connection is closed, whichever comes first.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/responseEnd)\n */\n readonly responseEnd: DOMHighResTimeStamp;\n /**\n * The **`responseStart`** read-only property returns a DOMHighResTimeStamp immediately after the browser receives the first byte of the response from the server, cache, or local resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/responseStart)\n */\n readonly responseStart: DOMHighResTimeStamp;\n /**\n * The **`responseStatus`** read-only property represents the HTTP response status code returned when fetching the resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/responseStatus)\n */\n readonly responseStatus: number;\n /**\n * The **`secureConnectionStart`** read-only property returns a DOMHighResTimeStamp immediately before the browser starts the handshake process to secure the current connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/secureConnectionStart)\n */\n readonly secureConnectionStart: DOMHighResTimeStamp;\n /**\n * The **`serverTiming`** read-only property returns an array of PerformanceServerTiming entries containing server timing metrics.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/serverTiming)\n */\n readonly serverTiming: ReadonlyArray<PerformanceServerTiming>;\n /**\n * The **`transferSize`** read-only property represents the size (in octets) of the fetched resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/transferSize)\n */\n readonly transferSize: number;\n /**\n * The **`workerStart`** read-only property of the PerformanceResourceTiming interface returns a The `workerStart` property can have the following values: - A DOMHighResTimeStamp.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/workerStart)\n */\n readonly workerStart: DOMHighResTimeStamp;\n /**\n * The **`toJSON()`** method of the PerformanceResourceTiming interface is a Serialization; it returns a JSON representation of the PerformanceResourceTiming object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceResourceTiming/toJSON)\n */\n toJSON(): any;\n}\n\ndeclare var PerformanceResourceTiming: {\n prototype: PerformanceResourceTiming;\n new(): PerformanceResourceTiming;\n};\n\n/**\n * The **`PerformanceServerTiming`** interface surfaces server metrics that are sent with the response in the Server-Timing HTTP header.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming)\n */\ninterface PerformanceServerTiming {\n /**\n * The **`description`** read-only property returns a string value of the server-specified metric description, or an empty string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming/description)\n */\n readonly description: string;\n /**\n * The **`duration`** read-only property returns a double that contains the server-specified metric duration, or the value `0.0`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming/duration)\n */\n readonly duration: DOMHighResTimeStamp;\n /**\n * The **`name`** read-only property returns a string value of the server-specified metric name.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming/name)\n */\n readonly name: string;\n /**\n * The **`toJSON()`** method of the PerformanceServerTiming interface is a Serialization; it returns a JSON representation of the PerformanceServerTiming object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceServerTiming/toJSON)\n */\n toJSON(): any;\n}\n\ndeclare var PerformanceServerTiming: {\n prototype: PerformanceServerTiming;\n new(): PerformanceServerTiming;\n};\n\ninterface PermissionStatusEventMap {\n "change": Event;\n}\n\n/**\n * The **`PermissionStatus`** interface of the Permissions API provides the state of an object and an event handler for monitoring changes to said state.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus)\n */\ninterface PermissionStatus extends EventTarget {\n /**\n * The **`name`** read-only property of the PermissionStatus interface returns the name of a requested permission.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/name)\n */\n readonly name: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/change_event) */\n onchange: ((this: PermissionStatus, ev: Event) => any) | null;\n /**\n * The **`state`** read-only property of the This property returns one of `\'granted\'`, `\'denied\'`, or `\'prompt\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PermissionStatus/state)\n */\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\n/**\n * The **`Permissions`** interface of the Permissions API provides the core Permission API functionality, such as methods for querying and revoking permissions - Permissions.query - : Returns the user permission status for a given API.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions)\n */\ninterface Permissions {\n /**\n * The **`query()`** method of the Permissions interface returns the state of a user permission on the global scope.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Permissions/query)\n */\n query(permissionDesc: PermissionDescriptor): Promise<PermissionStatus>;\n}\n\ndeclare var Permissions: {\n prototype: Permissions;\n new(): Permissions;\n};\n\n/**\n * The **`ProgressEvent`** interface represents events that measure the progress of an underlying process, like an HTTP request (e.g., an `XMLHttpRequest`, or the loading of the underlying resource of an img, audio, video, style or link).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent)\n */\ninterface ProgressEvent<T extends EventTarget = EventTarget> extends Event {\n /**\n * The **`ProgressEvent.lengthComputable`** read-only property is a boolean flag indicating if the resource concerned by the A boolean.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/lengthComputable)\n */\n readonly lengthComputable: boolean;\n /**\n * The **`ProgressEvent.loaded`** read-only property is a number indicating the size of the data already transmitted or processed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/loaded)\n */\n readonly loaded: number;\n readonly target: T | null;\n /**\n * The **`ProgressEvent.total`** read-only property is a number indicating the total size of the data being transmitted or processed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProgressEvent/total)\n */\n readonly total: number;\n}\n\ndeclare var ProgressEvent: {\n prototype: ProgressEvent;\n new(type: string, eventInitDict?: ProgressEventInit): ProgressEvent;\n};\n\n/**\n * The **`PromiseRejectionEvent`** interface represents events which are sent to the global script context when JavaScript Promises are rejected.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent)\n */\ninterface PromiseRejectionEvent extends Event {\n /**\n * The PromiseRejectionEvent interface\'s **`promise`** read-only property indicates the JavaScript rejected.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise)\n */\n readonly promise: Promise<any>;\n /**\n * The PromiseRejectionEvent **`reason`** read-only property is any JavaScript value or Object which provides the reason passed into Promise.reject().\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/reason)\n */\n readonly reason: any;\n}\n\ndeclare var PromiseRejectionEvent: {\n prototype: PromiseRejectionEvent;\n new(type: string, eventInitDict: PromiseRejectionEventInit): PromiseRejectionEvent;\n};\n\n/**\n * The **`PushEvent`** interface of the Push API represents a push message that has been received.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushEvent)\n */\ninterface PushEvent extends ExtendableEvent {\n /**\n * The `data` read-only property of the **`PushEvent`** interface returns a reference to a PushMessageData object containing data sent to the PushSubscription.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushEvent/data)\n */\n readonly data: PushMessageData | null;\n}\n\ndeclare var PushEvent: {\n prototype: PushEvent;\n new(type: string, eventInitDict?: PushEventInit): PushEvent;\n};\n\n/**\n * The **`PushManager`** interface of the Push API 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 *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager)\n */\ninterface PushManager {\n /**\n * The **`PushManager.getSubscription()`** method of the PushManager interface retrieves an existing push subscription.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/getSubscription)\n */\n getSubscription(): Promise<PushSubscription | null>;\n /**\n * The **`permissionState()`** method of the string indicating the permission state of the push manager.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/permissionState)\n */\n permissionState(options?: PushSubscriptionOptionsInit): Promise<PermissionState>;\n /**\n * The **`subscribe()`** method of the PushManager interface subscribes to a push service.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/subscribe)\n */\n subscribe(options?: PushSubscriptionOptionsInit): Promise<PushSubscription>;\n}\n\ndeclare var PushManager: {\n prototype: PushManager;\n new(): PushManager;\n /**\n * The **`supportedContentEncodings`** read-only static property of the PushManager interface returns an array of supported content codings that can be used to encrypt the payload of a push message.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/supportedContentEncodings_static)\n */\n readonly supportedContentEncodings: ReadonlyArray<string>;\n};\n\n/**\n * The **`PushMessageData`** interface of the Push API provides methods which let you retrieve the push data sent by a server in various formats.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData)\n */\ninterface PushMessageData {\n /**\n * The **`arrayBuffer()`** method of the PushMessageData interface extracts push message data as an ArrayBuffer object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/arrayBuffer)\n */\n arrayBuffer(): ArrayBuffer;\n /**\n * The **`blob()`** method of the PushMessageData interface extracts push message data as a Blob object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/blob)\n */\n blob(): Blob;\n /**\n * The **`bytes()`** method of the PushMessageData interface extracts push message data as an Uint8Array object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/bytes)\n */\n bytes(): Uint8Array<ArrayBuffer>;\n /**\n * The **`json()`** method of the PushMessageData interface extracts push message data by parsing it as a JSON string and returning the result.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/json)\n */\n json(): any;\n /**\n * The **`text()`** method of the PushMessageData interface extracts push message data as a plain text string.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushMessageData/text)\n */\n text(): string;\n}\n\ndeclare var PushMessageData: {\n prototype: PushMessageData;\n new(): PushMessageData;\n};\n\n/**\n * The `PushSubscription` interface of the Push API provides a subscription\'s URL endpoint along with the public key and secrets that should be used for encrypting push messages to this subscription.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription)\n */\ninterface PushSubscription {\n /**\n * The **`endpoint`** read-only property of the the endpoint associated with the push subscription.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/endpoint)\n */\n readonly endpoint: string;\n /**\n * The **`expirationTime`** read-only property of the of the subscription expiration time associated with the push subscription, if there is one, or `null` otherwise.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/expirationTime)\n */\n readonly expirationTime: EpochTimeStamp | null;\n /**\n * The **`options`** read-only property of the PushSubscription interface is an object containing the options used to create the subscription.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/options)\n */\n readonly options: PushSubscriptionOptions;\n /**\n * The `getKey()` method of the PushSubscription interface returns an ArrayBuffer representing a client public key, which can then be sent to a server and used in encrypting push message data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/getKey)\n */\n getKey(name: PushEncryptionKeyName): ArrayBuffer | null;\n /**\n * The `toJSON()` method of the PushSubscription interface is a standard serializer: it returns a JSON representation of the subscription properties, providing a useful shortcut.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/toJSON)\n */\n toJSON(): PushSubscriptionJSON;\n /**\n * The `unsubscribe()` method of the PushSubscription interface returns a Promise that resolves to a boolean value when the current subscription is successfully unsubscribed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscription/unsubscribe)\n */\n unsubscribe(): Promise<boolean>;\n}\n\ndeclare var PushSubscription: {\n prototype: PushSubscription;\n new(): PushSubscription;\n};\n\n/** Available only in secure contexts. */\ninterface PushSubscriptionChangeEvent extends ExtendableEvent {\n readonly newSubscription: PushSubscription | null;\n readonly oldSubscription: PushSubscription | null;\n}\n\ndeclare var PushSubscriptionChangeEvent: {\n prototype: PushSubscriptionChangeEvent;\n new(type: string, eventInitDict?: PushSubscriptionChangeEventInit): PushSubscriptionChangeEvent;\n};\n\n/**\n * The **`PushSubscriptionOptions`** interface of the Push API represents the options associated with a push subscription.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscriptionOptions)\n */\ninterface PushSubscriptionOptions {\n /**\n * The **`applicationServerKey`** read-only property of the PushSubscriptionOptions interface contains the public key used by the push server.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscriptionOptions/applicationServerKey)\n */\n readonly applicationServerKey: ArrayBuffer | null;\n /**\n * The **`userVisibleOnly`** read-only property of the PushSubscriptionOptions interface indicates if the returned push subscription will only be used for messages whose effect is made visible to the user.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushSubscriptionOptions/userVisibleOnly)\n */\n readonly userVisibleOnly: boolean;\n}\n\ndeclare var PushSubscriptionOptions: {\n prototype: PushSubscriptionOptions;\n new(): PushSubscriptionOptions;\n};\n\ninterface RTCDataChannelEventMap {\n "bufferedamountlow": Event;\n "close": Event;\n "closing": Event;\n "error": Event;\n "message": MessageEvent;\n "open": Event;\n}\n\n/**\n * The **`RTCDataChannel`** interface represents a network channel which can be used for bidirectional peer-to-peer transfers of arbitrary data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel)\n */\ninterface RTCDataChannel extends EventTarget {\n /**\n * The property **`binaryType`** on the the type of object which should be used to represent binary data received on the RTCDataChannel.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/binaryType)\n */\n binaryType: BinaryType;\n /**\n * The read-only `RTCDataChannel` property **`bufferedAmount`** returns the number of bytes of data currently queued to be sent over the data channel.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/bufferedAmount)\n */\n readonly bufferedAmount: number;\n /**\n * The `RTCDataChannel` property **`bufferedAmountLowThreshold`** is used to specify the number of bytes of buffered outgoing data that is considered \'low.\' The default value is 0\\.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/bufferedAmountLowThreshold)\n */\n bufferedAmountLowThreshold: number;\n /**\n * The read-only `RTCDataChannel` property **`id`** returns an ID number (between 0 and 65,534) which uniquely identifies the RTCDataChannel.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/id)\n */\n readonly id: number | null;\n /**\n * The read-only `RTCDataChannel` property **`label`** returns a string containing a name describing the data channel.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/label)\n */\n readonly label: string;\n /**\n * The read-only `RTCDataChannel` property **`maxPacketLifeTime`** returns the amount of time, in milliseconds, the browser is allowed to take to attempt to transmit a message, as set when the data channel was created, or `null`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/maxPacketLifeTime)\n */\n readonly maxPacketLifeTime: number | null;\n /**\n * The read-only `RTCDataChannel` property **`maxRetransmits`** returns the maximum number of times the browser should try to retransmit a message before giving up, as set when the data channel was created, or `null`, which indicates that there is no maximum.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/maxRetransmits)\n */\n readonly maxRetransmits: number | null;\n /**\n * The read-only `RTCDataChannel` property **`negotiated`** indicates whether the (`true`) or by the WebRTC layer (`false`).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/negotiated)\n */\n readonly negotiated: boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/bufferedamountlow_event) */\n onbufferedamountlow: ((this: RTCDataChannel, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/close_event) */\n onclose: ((this: RTCDataChannel, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/closing_event) */\n onclosing: ((this: RTCDataChannel, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/error_event) */\n onerror: ((this: RTCDataChannel, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/message_event) */\n onmessage: ((this: RTCDataChannel, ev: MessageEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/open_event) */\n onopen: ((this: RTCDataChannel, ev: Event) => any) | null;\n /**\n * The read-only `RTCDataChannel` property **`ordered`** indicates whether or not the data channel guarantees in-order delivery of messages; the default is `true`, which indicates that the data channel is indeed ordered.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/ordered)\n */\n readonly ordered: boolean;\n /**\n * The read-only `RTCDataChannel` property **`protocol`** returns a string containing the name of the subprotocol in use.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/protocol)\n */\n readonly protocol: string;\n /**\n * The read-only `RTCDataChannel` property **`readyState`** returns a string which indicates the state of the data channel\'s underlying data connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/readyState)\n */\n readonly readyState: RTCDataChannelState;\n /**\n * The **`RTCDataChannel.close()`** method closes the closure of the channel.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/close)\n */\n close(): void;\n /**\n * The **`send()`** method of the remote peer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCDataChannel/send)\n */\n send(data: string): void;\n send(data: Blob): void;\n send(data: ArrayBuffer): void;\n send(data: ArrayBufferView<ArrayBuffer>): 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\n/**\n * The **`RTCEncodedAudioFrame`** of the WebRTC API represents an encoded audio frame in the WebRTC receiver or sender pipeline, which may be modified using a WebRTC Encoded Transform.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame)\n */\ninterface RTCEncodedAudioFrame {\n /**\n * The **`data`** property of the RTCEncodedAudioFrame interface returns a buffer containing the data for an encoded frame.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/data)\n */\n data: ArrayBuffer;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/timestamp) */\n readonly timestamp: number;\n /**\n * The **`getMetadata()`** method of the RTCEncodedAudioFrame interface returns an object containing the metadata associated with the frame.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedAudioFrame/getMetadata)\n */\n getMetadata(): RTCEncodedAudioFrameMetadata;\n}\n\ndeclare var RTCEncodedAudioFrame: {\n prototype: RTCEncodedAudioFrame;\n new(): RTCEncodedAudioFrame;\n};\n\n/**\n * The **`RTCEncodedVideoFrame`** of the WebRTC API represents an encoded video frame in the WebRTC receiver or sender pipeline, which may be modified using a WebRTC Encoded Transform.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame)\n */\ninterface RTCEncodedVideoFrame {\n /**\n * The **`data`** property of the RTCEncodedVideoFrame interface returns a buffer containing the frame data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/data)\n */\n data: ArrayBuffer;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/timestamp) */\n readonly timestamp: number;\n /**\n * The **`type`** read-only property of the RTCEncodedVideoFrame interface indicates whether this frame is a key frame, delta frame, or empty frame.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/type)\n */\n readonly type: RTCEncodedVideoFrameType;\n /**\n * The **`getMetadata()`** method of the RTCEncodedVideoFrame interface returns an object containing the metadata associated with the frame.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/getMetadata)\n */\n getMetadata(): RTCEncodedVideoFrameMetadata;\n}\n\ndeclare var RTCEncodedVideoFrame: {\n prototype: RTCEncodedVideoFrame;\n new(): RTCEncodedVideoFrame;\n};\n\n/**\n * The **`RTCRtpScriptTransformer`** interface of the WebRTC API provides a worker-side Stream API interface that a WebRTC Encoded Transform can use to modify encoded media frames in the incoming and outgoing WebRTC pipelines.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransformer)\n */\ninterface RTCRtpScriptTransformer extends EventTarget {\n /**\n * The **`options`** read-only property of the RTCRtpScriptTransformer interface returns the object that was (optionally) passed as the second argument during construction of the corresponding RTCRtpScriptTransform.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransformer/options)\n */\n readonly options: any;\n /**\n * The **`readable`** read-only property of the RTCRtpScriptTransformer interface returns a ReadableStream instance is a source for encoded media frames.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransformer/readable)\n */\n readonly readable: ReadableStream;\n /**\n * The **`writable`** read-only property of the RTCRtpScriptTransformer interface returns a WritableStream instance that can be used as a sink for encoded media frames enqueued on the corresponding RTCRtpScriptTransformer.readable.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransformer/writable)\n */\n readonly writable: WritableStream;\n /**\n * The **`generateKeyFrame()`** method of the RTCRtpScriptTransformer interface causes a video encoder to generate a key frame.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransformer/generateKeyFrame)\n */\n generateKeyFrame(rid?: string): Promise<number>;\n /**\n * The **`sendKeyFrameRequest()`** method of the RTCRtpScriptTransformer interface may be called by a WebRTC Encoded Transform that is processing incoming encoded video frames, in order to request a key frame from the sender.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpScriptTransformer/sendKeyFrameRequest)\n */\n sendKeyFrameRequest(): Promise<void>;\n}\n\ndeclare var RTCRtpScriptTransformer: {\n prototype: RTCRtpScriptTransformer;\n new(): RTCRtpScriptTransformer;\n};\n\n/**\n * The **`RTCTransformEvent`** of the WebRTC API represent an event that is fired in a dedicated worker when an encoded frame has been queued for processing by a WebRTC Encoded Transform.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCTransformEvent)\n */\ninterface RTCTransformEvent extends Event {\n /**\n * The read-only **`transformer`** property of the RTCTransformEvent interface returns the RTCRtpScriptTransformer associated with the event.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCTransformEvent/transformer)\n */\n readonly transformer: RTCRtpScriptTransformer;\n}\n\ndeclare var RTCTransformEvent: {\n prototype: RTCTransformEvent;\n new(): RTCTransformEvent;\n};\n\n/**\n * The **`ReadableByteStreamController`** interface of the Streams API represents a controller for a readable byte stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController)\n */\ninterface ReadableByteStreamController {\n /**\n * The **`byobRequest`** read-only property of the ReadableByteStreamController interface returns the current BYOB request, or `null` if there are no pending requests.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/byobRequest)\n */\n readonly byobRequest: ReadableStreamBYOBRequest | null;\n /**\n * The **`desiredSize`** read-only property of the ReadableByteStreamController interface returns the number of bytes required to fill the stream\'s internal queue to its \'desired size\'.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/desiredSize)\n */\n readonly desiredSize: number | null;\n /**\n * The **`close()`** method of the ReadableByteStreamController interface closes the associated stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/close)\n */\n close(): void;\n /**\n * The **`enqueue()`** method of the ReadableByteStreamController interface enqueues a given chunk on the associated readable byte stream (the chunk is copied into the stream\'s internal queues).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/enqueue)\n */\n enqueue(chunk: ArrayBufferView<ArrayBuffer>): void;\n /**\n * The **`error()`** method of the ReadableByteStreamController interface causes any future interactions with the associated stream to error with the specified reason.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableByteStreamController/error)\n */\n error(e?: any): void;\n}\n\ndeclare var ReadableByteStreamController: {\n prototype: ReadableByteStreamController;\n new(): ReadableByteStreamController;\n};\n\n/**\n * The `ReadableStream` interface of the Streams API represents a readable stream of byte data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream)\n */\ninterface ReadableStream<R = any> {\n /**\n * The **`locked`** read-only property of the ReadableStream interface returns whether or not the readable stream is locked to a reader.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/locked)\n */\n readonly locked: boolean;\n /**\n * The **`cancel()`** method of the ReadableStream interface returns a Promise that resolves when the stream is canceled.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/cancel)\n */\n cancel(reason?: any): Promise<void>;\n /**\n * The **`getReader()`** method of the ReadableStream interface creates a reader and locks the stream to it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/getReader)\n */\n getReader(options: { mode: "byob" }): ReadableStreamBYOBReader;\n getReader(): ReadableStreamDefaultReader<R>;\n getReader(options?: ReadableStreamGetReaderOptions): ReadableStreamReader<R>;\n /**\n * The **`pipeThrough()`** method of the ReadableStream interface provides a chainable way of piping the current stream through a transform stream or any other writable/readable pair.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/pipeThrough)\n */\n pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>;\n /**\n * The **`pipeTo()`** method of the ReadableStream interface pipes the current `ReadableStream` to a given WritableStream and returns a Promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/pipeTo)\n */\n pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;\n /**\n * The **`tee()`** method of the two-element array containing the two resulting branches as new ReadableStream instances.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStream/tee)\n */\n tee(): [ReadableStream<R>, ReadableStream<R>];\n}\n\ndeclare var ReadableStream: {\n prototype: ReadableStream;\n new(underlyingSource: UnderlyingByteSource, strategy?: { highWaterMark?: number }): ReadableStream<Uint8Array<ArrayBuffer>>;\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\n/**\n * The `ReadableStreamBYOBReader` interface of the Streams API defines a reader for a ReadableStream that supports zero-copy reading from an underlying byte source.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader)\n */\ninterface ReadableStreamBYOBReader extends ReadableStreamGenericReader {\n /**\n * The **`read()`** method of the ReadableStreamBYOBReader interface is used to read data into a view on a user-supplied buffer from an associated readable byte stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/read)\n */\n read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>;\n /**\n * The **`releaseLock()`** method of the ReadableStreamBYOBReader interface releases the reader\'s lock on the stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/releaseLock)\n */\n releaseLock(): void;\n}\n\ndeclare var ReadableStreamBYOBReader: {\n prototype: ReadableStreamBYOBReader;\n new(stream: ReadableStream<Uint8Array<ArrayBuffer>>): ReadableStreamBYOBReader;\n};\n\n/**\n * The **`ReadableStreamBYOBRequest`** interface of the Streams API represents a \'pull request\' for data from an underlying source that will made as a zero-copy transfer to a consumer (bypassing the stream\'s internal queues).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest)\n */\ninterface ReadableStreamBYOBRequest {\n /**\n * The **`view`** getter property of the ReadableStreamBYOBRequest interface returns the current view.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view)\n */\n readonly view: ArrayBufferView<ArrayBuffer> | null;\n /**\n * The **`respond()`** method of the ReadableStreamBYOBRequest interface is used to signal to the associated readable byte stream that the specified number of bytes were written into the ReadableStreamBYOBRequest.view.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respond)\n */\n respond(bytesWritten: number): void;\n /**\n * The **`respondWithNewView()`** method of the ReadableStreamBYOBRequest interface specifies a new view that the consumer of the associated readable byte stream should write to instead of ReadableStreamBYOBRequest.view.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respondWithNewView)\n */\n respondWithNewView(view: ArrayBufferView<ArrayBuffer>): void;\n}\n\ndeclare var ReadableStreamBYOBRequest: {\n prototype: ReadableStreamBYOBRequest;\n new(): ReadableStreamBYOBRequest;\n};\n\n/**\n * The **`ReadableStreamDefaultController`** interface of the Streams API represents a controller allowing control of a ReadableStream\'s state and internal queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController)\n */\ninterface ReadableStreamDefaultController<R = any> {\n /**\n * The **`desiredSize`** read-only property of the required to fill the stream\'s internal queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/desiredSize)\n */\n readonly desiredSize: number | null;\n /**\n * The **`close()`** method of the ReadableStreamDefaultController interface closes the associated stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/close)\n */\n close(): void;\n /**\n * The **`enqueue()`** method of the ```js-nolint enqueue(chunk) ``` - `chunk` - : The chunk to enqueue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/enqueue)\n */\n enqueue(chunk?: R): void;\n /**\n * The **`error()`** method of the with the associated stream to error.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultController/error)\n */\n error(e?: any): void;\n}\n\ndeclare var ReadableStreamDefaultController: {\n prototype: ReadableStreamDefaultController;\n new(): ReadableStreamDefaultController;\n};\n\n/**\n * The **`ReadableStreamDefaultReader`** interface of the Streams API represents a default reader that can be used to read stream data supplied from a network (such as a fetch request).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader)\n */\ninterface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader {\n /**\n * The **`read()`** method of the ReadableStreamDefaultReader interface returns a Promise providing access to the next chunk in the stream\'s internal queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader/read)\n */\n read(): Promise<ReadableStreamReadResult<R>>;\n /**\n * The **`releaseLock()`** method of the ReadableStreamDefaultReader interface releases the reader\'s lock on the stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamDefaultReader/releaseLock)\n */\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/closed) */\n readonly closed: Promise<void>;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/cancel) */\n cancel(reason?: any): Promise<void>;\n}\n\n/**\n * The `Report` interface of the Reporting API represents a single report.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report)\n */\ninterface Report {\n /**\n * The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body)\n */\n readonly body: ReportBody | null;\n /**\n * The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type)\n */\n readonly type: string;\n /**\n * The **`url`** read-only property of the Report interface returns the URL of the document that generated the report.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url)\n */\n readonly url: string;\n toJSON(): any;\n}\n\ndeclare var Report: {\n prototype: Report;\n new(): Report;\n};\n\n/**\n * The **`ReportBody`** interface of the Reporting API represents the body of a report.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody)\n */\ninterface ReportBody {\n /**\n * The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON)\n */\n toJSON(): any;\n}\n\ndeclare var ReportBody: {\n prototype: ReportBody;\n new(): ReportBody;\n};\n\n/**\n * The `ReportingObserver` interface of the Reporting API allows you to collect and access reports.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver)\n */\ninterface ReportingObserver {\n /**\n * The **`disconnect()`** method of the previously started observing from collecting reports.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/disconnect)\n */\n disconnect(): void;\n /**\n * The **`observe()`** method of the collecting reports in its report queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/observe)\n */\n observe(): void;\n /**\n * The **`takeRecords()`** method of the in the observer\'s report queue, and empties the queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportingObserver/takeRecords)\n */\n takeRecords(): ReportList;\n}\n\ndeclare var ReportingObserver: {\n prototype: ReportingObserver;\n new(callback: ReportingObserverCallback, options?: ReportingObserverOptions): ReportingObserver;\n};\n\n/**\n * The **`Request`** interface of the Fetch API represents a resource request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request)\n */\ninterface Request extends Body {\n /**\n * The **`cache`** read-only property of the Request interface contains the cache mode of the request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/cache)\n */\n readonly cache: RequestCache;\n /**\n * The **`credentials`** read-only property of the Request interface reflects the value given to the Request.Request() constructor in the `credentials` option.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/credentials)\n */\n readonly credentials: RequestCredentials;\n /**\n * The **`destination`** read-only property of the **Request** interface returns a string describing the type of content being requested.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/destination)\n */\n readonly destination: RequestDestination;\n /**\n * The **`headers`** read-only property of the with the request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/headers)\n */\n readonly headers: Headers;\n /**\n * The **`integrity`** read-only property of the Request interface contains the subresource integrity value of the request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/integrity)\n */\n readonly integrity: string;\n /**\n * The **`keepalive`** read-only property of the Request interface contains the request\'s `keepalive` setting (`true` or `false`), which indicates whether the browser will keep the associated request alive if the page that initiated it is unloaded before the request is complete.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/keepalive)\n */\n readonly keepalive: boolean;\n /**\n * The **`method`** read-only property of the `POST`, etc.) A String indicating the method of the request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/method)\n */\n readonly method: string;\n /**\n * The **`mode`** read-only property of the Request interface contains the mode of the request (e.g., `cors`, `no-cors`, `same-origin`, or `navigate`.) This is used to determine if cross-origin requests lead to valid responses, and which properties of the response are readable.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/mode)\n */\n readonly mode: RequestMode;\n /**\n * The **`redirect`** read-only property of the Request interface contains the mode for how redirects are handled.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/redirect)\n */\n readonly redirect: RequestRedirect;\n /**\n * The **`referrer`** read-only property of the Request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrer)\n */\n readonly referrer: string;\n /**\n * The **`referrerPolicy`** read-only property of the referrer information, sent in the Referer header, should be included with the request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/referrerPolicy)\n */\n readonly referrerPolicy: ReferrerPolicy;\n /**\n * The read-only **`signal`** property of the Request interface returns the AbortSignal associated with the request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/signal)\n */\n readonly signal: AbortSignal;\n /**\n * The **`url`** read-only property of the Request interface contains the URL of the request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/url)\n */\n readonly url: string;\n /**\n * The **`clone()`** method of the Request interface creates a copy of the current `Request` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request/clone)\n */\n clone(): Request;\n}\n\ndeclare var Request: {\n prototype: Request;\n new(input: RequestInfo | URL, init?: RequestInit): Request;\n};\n\n/**\n * The **`Response`** interface of the Fetch API represents the response to a request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)\n */\ninterface Response extends Body {\n /**\n * The **`headers`** read-only property of the with the response.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/headers)\n */\n readonly headers: Headers;\n /**\n * The **`ok`** read-only property of the Response interface contains a Boolean stating whether the response was successful (status in the range 200-299) or not.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/ok)\n */\n readonly ok: boolean;\n /**\n * The **`redirected`** read-only property of the Response interface indicates whether or not the response is the result of a request you made which was redirected.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirected)\n */\n readonly redirected: boolean;\n /**\n * The **`status`** read-only property of the Response interface contains the HTTP status codes of the response.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/status)\n */\n readonly status: number;\n /**\n * The **`statusText`** read-only property of the Response interface contains the status message corresponding to the HTTP status code in Response.status.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/statusText)\n */\n readonly statusText: string;\n /**\n * The **`type`** read-only property of the Response interface contains the type of the response.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/type)\n */\n readonly type: ResponseType;\n /**\n * The **`url`** read-only property of the Response interface contains the URL of the response.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/url)\n */\n readonly url: string;\n /**\n * The **`clone()`** method of the Response interface creates a clone of a response object, identical in every way, but stored in a different variable.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/clone)\n */\n clone(): Response;\n}\n\ndeclare var Response: {\n prototype: Response;\n new(body?: BodyInit | null, init?: ResponseInit): Response;\n /**\n * The **`error()`** static method of the Response interface returns a new `Response` object associated with a network error.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/error_static)\n */\n error(): Response;\n /**\n * The **`json()`** static method of the Response interface returns a `Response` that contains the provided JSON data as body, and a Content-Type header which is set to `application/json`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)\n */\n json(data: any, init?: ResponseInit): Response;\n /**\n * The **`redirect()`** static method of the Response interface returns a `Response` resulting in a redirect to the specified URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static)\n */\n redirect(url: string | URL, status?: number): Response;\n};\n\n/**\n * The **`SecurityPolicyViolationEvent`** interface inherits from Event, and represents the event object of a `securitypolicyviolation` event sent on an Element/securitypolicyviolation_event, Document/securitypolicyviolation_event, or WorkerGlobalScope/securitypolicyviolation_event when its Content Security Policy (CSP) is violated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent)\n */\ninterface SecurityPolicyViolationEvent extends Event {\n /**\n * The **`blockedURI`** read-only property of the SecurityPolicyViolationEvent interface is a string representing the URI of the resource that was blocked because it violates a Content Security Policy (CSP).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/blockedURI)\n */\n readonly blockedURI: string;\n /**\n * The **`columnNumber`** read-only property of the SecurityPolicyViolationEvent interface is the column number in the document or worker script at which the Content Security Policy (CSP) violation occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/columnNumber)\n */\n readonly columnNumber: number;\n /**\n * The **`disposition`** read-only property of the SecurityPolicyViolationEvent interface indicates how the violated Content Security Policy (CSP) is configured to be treated by the user agent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/disposition)\n */\n readonly disposition: SecurityPolicyViolationEventDisposition;\n /**\n * The **`documentURI`** read-only property of the SecurityPolicyViolationEvent interface is a string representing the URI of the document or worker in which the Content Security Policy (CSP) violation occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/documentURI)\n */\n readonly documentURI: string;\n /**\n * The **`effectiveDirective`** read-only property of the SecurityPolicyViolationEvent interface is a string representing the Content Security Policy (CSP) directive that was violated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/effectiveDirective)\n */\n readonly effectiveDirective: string;\n /**\n * The **`lineNumber`** read-only property of the SecurityPolicyViolationEvent interface is the line number in the document or worker script at which the Content Security Policy (CSP) violation occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/lineNumber)\n */\n readonly lineNumber: number;\n /**\n * The **`originalPolicy`** read-only property of the SecurityPolicyViolationEvent interface is a string containing the Content Security Policy (CSP) whose enforcement uncovered the violation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/originalPolicy)\n */\n readonly originalPolicy: string;\n /**\n * The **`referrer`** read-only property of the SecurityPolicyViolationEvent interface is a string representing the referrer for the resources whose Content Security Policy (CSP) was violated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/referrer)\n */\n readonly referrer: string;\n /**\n * The **`sample`** read-only property of the SecurityPolicyViolationEvent interface is a string representing a sample of the resource that caused the Content Security Policy (CSP) violation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/sample)\n */\n readonly sample: string;\n /**\n * The **`sourceFile`** read-only property of the SecurityPolicyViolationEvent interface is a string representing the URL of the script in which the Content Security Policy (CSP) violation occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/sourceFile)\n */\n readonly sourceFile: string;\n /**\n * The **`statusCode`** read-only property of the SecurityPolicyViolationEvent interface is a number representing the HTTP status code of the window or worker in which the Content Security Policy (CSP) violation occurred.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/statusCode)\n */\n readonly statusCode: number;\n /**\n * The **`violatedDirective`** read-only property of the SecurityPolicyViolationEvent interface is a string representing the Content Security Policy (CSP) directive that was violated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SecurityPolicyViolationEvent/violatedDirective)\n */\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 * The **`ServiceWorker`** interface of the Service Worker API provides a reference to a service worker.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker)\n */\ninterface ServiceWorker extends EventTarget, AbstractWorker {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/statechange_event) */\n onstatechange: ((this: ServiceWorker, ev: Event) => any) | null;\n /**\n * Returns the `ServiceWorker` serialized script URL defined as part of `ServiceWorkerRegistration`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/scriptURL)\n */\n readonly scriptURL: string;\n /**\n * The **`state`** read-only property of the of the service worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/state)\n */\n readonly state: ServiceWorkerState;\n /**\n * The **`postMessage()`** method of the ServiceWorker interface sends a message to the worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorker/postMessage)\n */\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 Service Worker 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 *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer)\n */\ninterface ServiceWorkerContainer extends EventTarget {\n /**\n * The **`controller`** read-only property of the ServiceWorkerContainer interface returns a `activated` (the same object returned by `null` if the request is a force refresh (_Shift_ + refresh) or if there is no active worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/controller)\n */\n readonly controller: ServiceWorker | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/controllerchange_event) */\n oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/message_event) */\n onmessage: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/messageerror_event) */\n onmessageerror: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;\n /**\n * The **`ready`** read-only property of the ServiceWorkerContainer interface provides a way of delaying code execution until a service worker is active.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/ready)\n */\n readonly ready: Promise<ServiceWorkerRegistration>;\n /**\n * The **`getRegistration()`** method of the client URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistration)\n */\n getRegistration(clientURL?: string | URL): Promise<ServiceWorkerRegistration | undefined>;\n /**\n * The **`getRegistrations()`** method of the `ServiceWorkerContainer`, in an array.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/getRegistrations)\n */\n getRegistrations(): Promise<ReadonlyArray<ServiceWorkerRegistration>>;\n /**\n * The **`register()`** method of the ServiceWorkerContainer interface creates or updates a ServiceWorkerRegistration for the given scope.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/register)\n */\n register(scriptURL: string | URL, options?: RegistrationOptions): Promise<ServiceWorkerRegistration>;\n /**\n * The **`startMessages()`** method of the ServiceWorkerContainer interface explicitly starts the flow of messages being dispatched from a service worker to pages under its control (e.g., sent via Client.postMessage()).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/startMessages)\n */\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 "cookiechange": ExtendableCookieChangeEvent;\n "fetch": FetchEvent;\n "install": ExtendableEvent;\n "message": ExtendableMessageEvent;\n "messageerror": MessageEvent;\n "notificationclick": NotificationEvent;\n "notificationclose": NotificationEvent;\n "push": PushEvent;\n "pushsubscriptionchange": PushSubscriptionChangeEvent;\n}\n\n/**\n * The **`ServiceWorkerGlobalScope`** interface of the Service Worker API represents the global execution context of a service worker.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope)\n */\ninterface ServiceWorkerGlobalScope extends WorkerGlobalScope {\n /**\n * The **`clients`** read-only property of the object associated with the service worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/clients)\n */\n readonly clients: Clients;\n /**\n * The **`cookieStore`** read-only property of the ServiceWorkerGlobalScope interface returns a reference to the CookieStore object associated with this service worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/cookieStore)\n */\n readonly cookieStore: CookieStore;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/activate_event) */\n onactivate: ((this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/cookiechange_event) */\n oncookiechange: ((this: ServiceWorkerGlobalScope, ev: ExtendableCookieChangeEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/fetch_event) */\n onfetch: ((this: ServiceWorkerGlobalScope, ev: FetchEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/install_event) */\n oninstall: ((this: ServiceWorkerGlobalScope, ev: ExtendableEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/message_event) */\n onmessage: ((this: ServiceWorkerGlobalScope, ev: ExtendableMessageEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/messageerror_event) */\n onmessageerror: ((this: ServiceWorkerGlobalScope, ev: MessageEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/notificationclick_event) */\n onnotificationclick: ((this: ServiceWorkerGlobalScope, ev: NotificationEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/notificationclose_event) */\n onnotificationclose: ((this: ServiceWorkerGlobalScope, ev: NotificationEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/push_event) */\n onpush: ((this: ServiceWorkerGlobalScope, ev: PushEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/pushsubscriptionchange_event) */\n onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: PushSubscriptionChangeEvent) => any) | null;\n /**\n * The **`registration`** read-only property of the ServiceWorkerGlobalScope interface returns a reference to the ServiceWorkerRegistration object, which represents the service worker\'s registration.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/registration)\n */\n readonly registration: ServiceWorkerRegistration;\n /**\n * The **`serviceWorker`** read-only property of the ServiceWorkerGlobalScope interface returns a reference to the ServiceWorker object, which represents the service worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/serviceWorker)\n */\n readonly serviceWorker: ServiceWorker;\n /**\n * The **`skipWaiting()`** method of the ServiceWorkerGlobalScope interface forces the waiting service worker to become the active service worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope/skipWaiting)\n */\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 * The **`ServiceWorkerRegistration`** interface of the Service Worker API represents the service worker registration.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration)\n */\ninterface ServiceWorkerRegistration extends EventTarget {\n /**\n * The **`active`** read-only property of the This property is initially set to `null`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/active)\n */\n readonly active: ServiceWorker | null;\n /**\n * The **`cookies`** read-only property of the ServiceWorkerRegistration interface returns a reference to the CookieStoreManager interface, which enables a web app to subscribe to and unsubscribe from cookie change events in a service worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/cookies)\n */\n readonly cookies: CookieStoreManager;\n /**\n * The **`installing`** read-only property of the initially set to `null`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/installing)\n */\n readonly installing: ServiceWorker | null;\n /**\n * The **`navigationPreload`** read-only property of the ServiceWorkerRegistration interface returns the NavigationPreloadManager associated with the current service worker registration.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/navigationPreload)\n */\n readonly navigationPreload: NavigationPreloadManager;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updatefound_event) */\n onupdatefound: ((this: ServiceWorkerRegistration, ev: Event) => any) | null;\n /**\n * The **`pushManager`** read-only property of the support for subscribing, getting an active subscription, and accessing push permission status.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/pushManager)\n */\n readonly pushManager: PushManager;\n /**\n * The **`scope`** read-only property of the ServiceWorkerRegistration interface returns a string representing a URL that defines a service worker\'s registration scope; that is, the range of URLs a service worker can control.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/scope)\n */\n readonly scope: string;\n /**\n * The **`updateViaCache`** read-only property of the ServiceWorkerRegistration interface returns the value of the setting used to determine the circumstances in which the browser will consult the HTTP cache when it tries to update the service worker or any scripts that are imported via WorkerGlobalScope.importScripts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updateViaCache)\n */\n readonly updateViaCache: ServiceWorkerUpdateViaCache;\n /**\n * The **`waiting`** read-only property of the set to `null`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/waiting)\n */\n readonly waiting: ServiceWorker | null;\n /**\n * The **`getNotifications()`** method of the ServiceWorkerRegistration interface returns a list of the notifications in the order that they were created from the current origin via the current service worker registration.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/getNotifications)\n */\n getNotifications(filter?: GetNotificationOptions): Promise<Notification[]>;\n /**\n * The **`showNotification()`** method of the service worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/showNotification)\n */\n showNotification(title: string, options?: NotificationOptions): Promise<void>;\n /**\n * The **`unregister()`** method of the registration and returns a Promise.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister)\n */\n unregister(): Promise<boolean>;\n /**\n * The **`update()`** method of the worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update)\n */\n update(): Promise<ServiceWorkerRegistration>;\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\n/**\n * The **`SharedWorkerGlobalScope`** object (the SharedWorker global scope) is accessible through the window.self keyword.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorkerGlobalScope)\n */\ninterface SharedWorkerGlobalScope extends WorkerGlobalScope {\n /**\n * The **`name`** read-only property of the that the SharedWorker.SharedWorker constructor can pass to get a reference to the SharedWorkerGlobalScope.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorkerGlobalScope/name)\n */\n readonly name: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorkerGlobalScope/connect_event) */\n onconnect: ((this: SharedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n /**\n * The **`close()`** method of the SharedWorkerGlobalScope interface discards any tasks queued in the `SharedWorkerGlobalScope`\'s event loop, effectively closing this particular scope.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorkerGlobalScope/close)\n */\n close(): void;\n addEventListener<K extends keyof SharedWorkerGlobalScopeEventMap>(type: K, listener: (this: SharedWorkerGlobalScope, ev: SharedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof SharedWorkerGlobalScopeEventMap>(type: K, listener: (this: SharedWorkerGlobalScope, ev: SharedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var SharedWorkerGlobalScope: {\n prototype: SharedWorkerGlobalScope;\n new(): SharedWorkerGlobalScope;\n};\n\n/**\n * The **`StorageManager`** interface of the Storage API provides an interface for managing persistence permissions and estimating available storage.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageManager)\n */\ninterface StorageManager {\n /**\n * The **`estimate()`** method of the StorageManager interface asks the Storage Manager for how much storage the current origin takes up (`usage`), and how much space is available (`quota`).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageManager/estimate)\n */\n estimate(): Promise<StorageEstimate>;\n /**\n * The **`getDirectory()`** method of the StorageManager interface is used to obtain a reference to a FileSystemDirectoryHandle object allowing access to a directory and its contents, stored in the origin private file system (OPFS).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageManager/getDirectory)\n */\n getDirectory(): Promise<FileSystemDirectoryHandle>;\n /**\n * The **`persisted()`** method of the StorageManager interface returns a Promise that resolves to `true` if your site\'s storage bucket is persistent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageManager/persisted)\n */\n persisted(): Promise<boolean>;\n}\n\ndeclare var StorageManager: {\n prototype: StorageManager;\n new(): StorageManager;\n};\n\n/**\n * The **`StylePropertyMapReadOnly`** interface of the CSS Typed Object Model API provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly)\n */\ninterface StylePropertyMapReadOnly {\n /**\n * The **`size`** read-only property of the containing the size of the `StylePropertyMapReadOnly` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/size)\n */\n readonly size: number;\n /**\n * The **`get()`** method of the object for the first value of the specified property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/get)\n */\n get(property: string): undefined | CSSStyleValue;\n /**\n * The **`getAll()`** method of the ```js-nolint getAll(property) ``` - `property` - : The name of the property to retrieve all values of.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/getAll)\n */\n getAll(property: string): CSSStyleValue[];\n /**\n * The **`has()`** method of the property is in the `StylePropertyMapReadOnly` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StylePropertyMapReadOnly/has)\n */\n has(property: string): boolean;\n forEach(callbackfn: (value: CSSStyleValue[], key: string, parent: StylePropertyMapReadOnly) => void, thisArg?: any): void;\n}\n\ndeclare var StylePropertyMapReadOnly: {\n prototype: StylePropertyMapReadOnly;\n new(): StylePropertyMapReadOnly;\n};\n\n/**\n * The **`SubtleCrypto`** interface of the Web Crypto API provides a number of low-level cryptographic functions.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto)\n */\ninterface SubtleCrypto {\n /**\n * The **`decrypt()`** method of the SubtleCrypto interface decrypts some encrypted data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/decrypt)\n */\n decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;\n /**\n * The **`deriveBits()`** method of the key.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveBits)\n */\n deriveBits(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, length?: number | null): Promise<ArrayBuffer>;\n /**\n * The **`deriveKey()`** method of the SubtleCrypto interface can be used to derive a secret key from a master key.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey)\n */\n deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage[]): Promise<CryptoKey>;\n /**\n * The **`digest()`** method of the SubtleCrypto interface generates a _digest_ of the given data, using the specified hash function.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/digest)\n */\n digest(algorithm: AlgorithmIdentifier, data: BufferSource): Promise<ArrayBuffer>;\n /**\n * The **`encrypt()`** method of the SubtleCrypto interface encrypts data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/encrypt)\n */\n encrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;\n /**\n * The **`exportKey()`** method of the SubtleCrypto interface exports a key: that is, it takes as input a CryptoKey object and gives you the key in an external, portable format.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/exportKey)\n */\n exportKey(format: "jwk", key: CryptoKey): Promise<JsonWebKey>;\n exportKey(format: Exclude<KeyFormat, "jwk">, key: CryptoKey): Promise<ArrayBuffer>;\n exportKey(format: KeyFormat, key: CryptoKey): Promise<ArrayBuffer | JsonWebKey>;\n /**\n * The **`generateKey()`** method of the SubtleCrypto interface is used to generate a new key (for symmetric algorithms) or key pair (for public-key algorithms).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey)\n */\n generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;\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 /**\n * The **`importKey()`** method of the SubtleCrypto interface imports a key: that is, it takes as input a key in an external, portable format and gives you a CryptoKey object that you can use in the Web Crypto API.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey)\n */\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 /**\n * The **`sign()`** method of the SubtleCrypto interface generates a digital signature.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/sign)\n */\n sign(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;\n /**\n * The **`unwrapKey()`** method of the SubtleCrypto interface \'unwraps\' a key.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey)\n */\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 /**\n * The **`verify()`** method of the SubtleCrypto interface verifies a digital signature.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/verify)\n */\n verify(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams, key: CryptoKey, signature: BufferSource, data: BufferSource): Promise<boolean>;\n /**\n * The **`wrapKey()`** method of the SubtleCrypto interface \'wraps\' a key.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/wrapKey)\n */\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/**\n * The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, `KOI8-R`, `GBK`, etc.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)\n */\ninterface TextDecoder extends TextDecoderCommon {\n /**\n * The **`TextDecoder.decode()`** method returns a string containing text decoded from the buffer passed as a parameter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder/decode)\n */\n decode(input?: AllowSharedBufferSource, options?: TextDecodeOptions): string;\n}\n\ndeclare var TextDecoder: {\n prototype: TextDecoder;\n new(label?: string, options?: TextDecoderOptions): TextDecoder;\n};\n\ninterface TextDecoderCommon {\n /**\n * Returns encoding\'s name, lowercased.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder/encoding)\n */\n readonly encoding: string;\n /**\n * Returns true if error mode is "fatal", otherwise false.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder/fatal)\n */\n readonly fatal: boolean;\n /**\n * Returns the value of ignore BOM.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder/ignoreBOM)\n */\n readonly ignoreBOM: boolean;\n}\n\n/**\n * The **`TextDecoderStream`** interface of the Encoding API converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoderStream)\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/**\n * The **`TextEncoder`** interface takes a stream of code points as input and emits a stream of UTF-8 bytes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)\n */\ninterface TextEncoder extends TextEncoderCommon {\n /**\n * The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the text given in parameters encoded with the specific method for that TextEncoder object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)\n */\n encode(input?: string): Uint8Array<ArrayBuffer>;\n /**\n * The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns a dictionary object indicating the progress of the encoding.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)\n */\n encodeInto(source: string, destination: Uint8Array<ArrayBufferLike>): TextEncoderEncodeIntoResult;\n}\n\ndeclare var TextEncoder: {\n prototype: TextEncoder;\n new(): TextEncoder;\n};\n\ninterface TextEncoderCommon {\n /**\n * Returns "utf-8".\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encoding)\n */\n readonly encoding: string;\n}\n\n/**\n * The **`TextEncoderStream`** interface of the Encoding API converts a stream of strings into bytes in the UTF-8 encoding.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoderStream)\n */\ninterface TextEncoderStream extends GenericTransformStream, TextEncoderCommon {\n readonly readable: ReadableStream<Uint8Array<ArrayBuffer>>;\n readonly writable: WritableStream<string>;\n}\n\ndeclare var TextEncoderStream: {\n prototype: TextEncoderStream;\n new(): TextEncoderStream;\n};\n\n/**\n * The **`TextMetrics`** interface represents the dimensions of a piece of text in the canvas; a `TextMetrics` instance can be retrieved using the CanvasRenderingContext2D.measureText() method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics)\n */\ninterface TextMetrics {\n /**\n * The read-only **`actualBoundingBoxAscent`** property of the TextMetrics interface is a `double` giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline attribute to the top of the bounding rectangle used to render the text, in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxAscent)\n */\n readonly actualBoundingBoxAscent: number;\n /**\n * The read-only `actualBoundingBoxDescent` property of the TextMetrics interface is a `double` giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline attribute to the bottom of the bounding rectangle used to render the text, in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxDescent)\n */\n readonly actualBoundingBoxDescent: number;\n /**\n * The read-only `actualBoundingBoxLeft` property of the TextMetrics interface is a `double` giving the distance parallel to the baseline from the alignment point given by the CanvasRenderingContext2D.textAlign property to the left side of the bounding rectangle of the given text, in CSS pixels; positive numbers indicating a distance going left from the given alignment point.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxLeft)\n */\n readonly actualBoundingBoxLeft: number;\n /**\n * The read-only `actualBoundingBoxRight` property of the TextMetrics interface is a `double` giving the distance parallel to the baseline from the alignment point given by the CanvasRenderingContext2D.textAlign property to the right side of the bounding rectangle of the given text, in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxRight)\n */\n readonly actualBoundingBoxRight: number;\n /**\n * The read-only `alphabeticBaseline` property of the TextMetrics interface is a `double` giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline property to the alphabetic baseline of the line box, in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/alphabeticBaseline)\n */\n readonly alphabeticBaseline: number;\n /**\n * The read-only `emHeightAscent` property of the TextMetrics interface returns the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline property to the top of the _em_ square in the line box, in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/emHeightAscent)\n */\n readonly emHeightAscent: number;\n /**\n * The read-only `emHeightDescent` property of the TextMetrics interface returns the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline property to the bottom of the _em_ square in the line box, in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/emHeightDescent)\n */\n readonly emHeightDescent: number;\n /**\n * The read-only `fontBoundingBoxAscent` property of the TextMetrics interface returns the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline attribute, to the top of the highest bounding rectangle of all the fonts used to render the text, in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/fontBoundingBoxAscent)\n */\n readonly fontBoundingBoxAscent: number;\n /**\n * The read-only `fontBoundingBoxDescent` property of the TextMetrics interface returns the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline attribute to the bottom of the bounding rectangle of all the fonts used to render the text, in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/fontBoundingBoxDescent)\n */\n readonly fontBoundingBoxDescent: number;\n /**\n * The read-only `hangingBaseline` property of the TextMetrics interface is a `double` giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline property to the hanging baseline of the line box, in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/hangingBaseline)\n */\n readonly hangingBaseline: number;\n /**\n * The read-only `ideographicBaseline` property of the TextMetrics interface is a `double` giving the distance from the horizontal line indicated by the CanvasRenderingContext2D.textBaseline property to the ideographic baseline of the line box, in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/ideographicBaseline)\n */\n readonly ideographicBaseline: number;\n /**\n * The read-only **`width`** property of the TextMetrics interface contains the text\'s advance width (the width of that inline box) in CSS pixels.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextMetrics/width)\n */\n readonly width: number;\n}\n\ndeclare var TextMetrics: {\n prototype: TextMetrics;\n new(): TextMetrics;\n};\n\n/**\n * The **`TransformStream`** interface of the Streams API represents a concrete implementation of the pipe chain _transform stream_ concept.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream)\n */\ninterface TransformStream<I = any, O = any> {\n /**\n * The **`readable`** read-only property of the TransformStream interface returns the ReadableStream instance controlled by this `TransformStream`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/readable)\n */\n readonly readable: ReadableStream<O>;\n /**\n * The **`writable`** read-only property of the TransformStream interface returns the WritableStream instance controlled by this `TransformStream`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStream/writable)\n */\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\n/**\n * The **`TransformStreamDefaultController`** interface of the Streams API provides methods to manipulate the associated ReadableStream and WritableStream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController)\n */\ninterface TransformStreamDefaultController<O = any> {\n /**\n * The **`desiredSize`** read-only property of the TransformStreamDefaultController interface returns the desired size to fill the queue of the associated ReadableStream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/desiredSize)\n */\n readonly desiredSize: number | null;\n /**\n * The **`enqueue()`** method of the TransformStreamDefaultController interface enqueues the given chunk in the readable side of the stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/enqueue)\n */\n enqueue(chunk?: O): void;\n /**\n * The **`error()`** method of the TransformStreamDefaultController interface errors both sides of the stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/error)\n */\n error(reason?: any): void;\n /**\n * The **`terminate()`** method of the TransformStreamDefaultController interface closes the readable side and errors the writable side of the stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/TransformStreamDefaultController/terminate)\n */\n terminate(): void;\n}\n\ndeclare var TransformStreamDefaultController: {\n prototype: TransformStreamDefaultController;\n new(): TransformStreamDefaultController;\n};\n\n/**\n * The **`URL`** interface is used to parse, construct, normalize, and encode URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL)\n */\ninterface URL {\n /**\n * The **`hash`** property of the URL interface is a string containing a `\'#\'` followed by the fragment identifier of the URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/hash)\n */\n hash: string;\n /**\n * The **`host`** property of the URL interface is a string containing the host, which is the URL.hostname, and then, if the port of the URL is nonempty, a `\':\'`, followed by the URL.port of the URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/host)\n */\n host: string;\n /**\n * The **`hostname`** property of the URL interface is a string containing either the domain name or IP address of the URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/hostname)\n */\n hostname: string;\n /**\n * The **`href`** property of the URL interface is a string containing the whole URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/href)\n */\n href: string;\n toString(): string;\n /**\n * The **`origin`** read-only property of the URL interface returns a string containing the Unicode serialization of the origin of the represented URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/origin)\n */\n readonly origin: string;\n /**\n * The **`password`** property of the URL interface is a string containing the password component of the URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/password)\n */\n password: string;\n /**\n * The **`pathname`** property of the URL interface represents a location in a hierarchical structure.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/pathname)\n */\n pathname: string;\n /**\n * The **`port`** property of the URL interface is a string containing the port number of the URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/port)\n */\n port: string;\n /**\n * The **`protocol`** property of the URL interface is a string containing the protocol or scheme of the URL, including the final `\':\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/protocol)\n */\n protocol: string;\n /**\n * The **`search`** property of the URL interface is a search string, also called a _query string_, that is a string containing a `\'?\'` followed by the parameters of the URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/search)\n */\n search: string;\n /**\n * The **`searchParams`** read-only property of the access to the [MISSING: httpmethod(\'GET\')] decoded query arguments contained in the URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/searchParams)\n */\n readonly searchParams: URLSearchParams;\n /**\n * The **`username`** property of the URL interface is a string containing the username component of the URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/username)\n */\n username: string;\n /**\n * The **`toJSON()`** method of the URL interface returns a string containing a serialized version of the URL, although in practice it seems to have the same effect as ```js-nolint toJSON() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/toJSON)\n */\n toJSON(): string;\n}\n\ndeclare var URL: {\n prototype: URL;\n new(url: string | URL, base?: string | URL): URL;\n /**\n * The **`URL.canParse()`** static method of the URL interface returns a boolean indicating whether or not an absolute URL, or a relative URL combined with a base URL, are parsable and valid.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static)\n */\n canParse(url: string | URL, base?: string | URL): boolean;\n /**\n * The **`createObjectURL()`** static method of the URL interface creates a string containing a URL representing the object given in the parameter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/createObjectURL_static)\n */\n createObjectURL(obj: Blob): string;\n /**\n * The **`URL.parse()`** static method of the URL interface returns a newly created URL object representing the URL defined by the parameters.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static)\n */\n parse(url: string | URL, base?: string | URL): URL | null;\n /**\n * The **`revokeObjectURL()`** static method of the URL interface releases an existing object URL which was previously created by calling Call this method when you\'ve finished using an object URL to let the browser know not to keep the reference to the file any longer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/revokeObjectURL_static)\n */\n revokeObjectURL(url: string): void;\n};\n\n/**\n * The **`URLSearchParams`** interface defines utility methods to work with the query string of a URL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams)\n */\ninterface URLSearchParams {\n /**\n * The **`size`** read-only property of the URLSearchParams interface indicates the total number of search parameter entries.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/size)\n */\n readonly size: number;\n /**\n * The **`append()`** method of the URLSearchParams interface appends a specified key/value pair as a new search parameter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/append)\n */\n append(name: string, value: string): void;\n /**\n * The **`delete()`** method of the URLSearchParams interface deletes specified parameters and their associated value(s) from the list of all search parameters.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/delete)\n */\n delete(name: string, value?: string): void;\n /**\n * The **`get()`** method of the URLSearchParams interface returns the first value associated to the given search parameter.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/get)\n */\n get(name: string): string | null;\n /**\n * The **`getAll()`** method of the URLSearchParams interface returns all the values associated with a given search parameter as an array.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/getAll)\n */\n getAll(name: string): string[];\n /**\n * The **`has()`** method of the URLSearchParams interface returns a boolean value that indicates whether the specified parameter is in the search parameters.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/has)\n */\n has(name: string, value?: string): boolean;\n /**\n * The **`set()`** method of the URLSearchParams interface sets the value associated with a given search parameter to the given value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/set)\n */\n set(name: string, value: string): void;\n /**\n * The **`URLSearchParams.sort()`** method sorts all key/value pairs contained in this object in place and returns `undefined`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLSearchParams/sort)\n */\n sort(): void;\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};\n\n/**\n * The **`VideoColorSpace`** interface of the WebCodecs API represents the color space of a video.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoColorSpace)\n */\ninterface VideoColorSpace {\n /**\n * The **`fullRange`** read-only property of the VideoColorSpace interface returns `true` if full-range color values are used.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoColorSpace/fullRange)\n */\n readonly fullRange: boolean | null;\n /**\n * The **`matrix`** read-only property of the VideoColorSpace interface returns the matrix coefficient of the video.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoColorSpace/matrix)\n */\n readonly matrix: VideoMatrixCoefficients | null;\n /**\n * The **`primaries`** read-only property of the VideoColorSpace interface returns the color gamut of the video.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoColorSpace/primaries)\n */\n readonly primaries: VideoColorPrimaries | null;\n /**\n * The **`transfer`** read-only property of the VideoColorSpace interface returns the opto-electronic transfer characteristics of the video.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoColorSpace/transfer)\n */\n readonly transfer: VideoTransferCharacteristics | null;\n /**\n * The **`toJSON()`** method of the VideoColorSpace interface is a _serializer_ that returns a JSON representation of the `VideoColorSpace` object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoColorSpace/toJSON)\n */\n toJSON(): VideoColorSpaceInit;\n}\n\ndeclare var VideoColorSpace: {\n prototype: VideoColorSpace;\n new(init?: VideoColorSpaceInit): VideoColorSpace;\n};\n\ninterface VideoDecoderEventMap {\n "dequeue": Event;\n}\n\n/**\n * The **`VideoDecoder`** interface of the WebCodecs API decodes chunks of video.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder)\n */\ninterface VideoDecoder extends EventTarget {\n /**\n * The **`decodeQueueSize`** read-only property of the VideoDecoder interface returns the number of pending decode requests in the queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decodeQueueSize)\n */\n readonly decodeQueueSize: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/dequeue_event) */\n ondequeue: ((this: VideoDecoder, ev: Event) => any) | null;\n /**\n * The **`state`** property of the VideoDecoder interface returns the current state of the underlying codec.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/state)\n */\n readonly state: CodecState;\n /**\n * The **`close()`** method of the VideoDecoder interface ends all pending work and releases system resources.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/close)\n */\n close(): void;\n /**\n * The **`configure()`** method of the VideoDecoder interface enqueues a control message to configure the video decoder for decoding chunks.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/configure)\n */\n configure(config: VideoDecoderConfig): void;\n /**\n * The **`decode()`** method of the VideoDecoder interface enqueues a control message to decode a given chunk of video.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/decode)\n */\n decode(chunk: EncodedVideoChunk): void;\n /**\n * The **`flush()`** method of the VideoDecoder interface returns a Promise that resolves once all pending messages in the queue have been completed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/flush)\n */\n flush(): Promise<void>;\n /**\n * The **`reset()`** method of the VideoDecoder interface resets all states including configuration, control messages in the control message queue, and all pending callbacks.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/reset)\n */\n reset(): void;\n addEventListener<K extends keyof VideoDecoderEventMap>(type: K, listener: (this: VideoDecoder, ev: VideoDecoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof VideoDecoderEventMap>(type: K, listener: (this: VideoDecoder, ev: VideoDecoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var VideoDecoder: {\n prototype: VideoDecoder;\n new(init: VideoDecoderInit): VideoDecoder;\n /**\n * The **`isConfigSupported()`** static method of the VideoDecoder interface checks if the given config is supported (that is, if VideoDecoder objects can be successfully configured with the given config).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoDecoder/isConfigSupported_static)\n */\n isConfigSupported(config: VideoDecoderConfig): Promise<VideoDecoderSupport>;\n};\n\ninterface VideoEncoderEventMap {\n "dequeue": Event;\n}\n\n/**\n * The **`VideoEncoder`** interface of the WebCodecs API encodes VideoFrame objects into EncodedVideoChunks.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder)\n */\ninterface VideoEncoder extends EventTarget {\n /**\n * The **`encodeQueueSize`** read-only property of the VideoEncoder interface returns the number of pending encode requests in the queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encodeQueueSize)\n */\n readonly encodeQueueSize: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/dequeue_event) */\n ondequeue: ((this: VideoEncoder, ev: Event) => any) | null;\n /**\n * The **`state`** read-only property of the VideoEncoder interface returns the current state of the underlying codec.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/state)\n */\n readonly state: CodecState;\n /**\n * The **`close()`** method of the VideoEncoder interface ends all pending work and releases system resources.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/close)\n */\n close(): void;\n /**\n * The **`configure()`** method of the VideoEncoder interface changes the VideoEncoder.state of the encoder to \'configured\' and asynchronously prepares the encoder to accept VideoEncoders for encoding with the specified parameters.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/configure)\n */\n configure(config: VideoEncoderConfig): void;\n /**\n * The **`encode()`** method of the VideoEncoder interface asynchronously encodes a VideoFrame.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/encode)\n */\n encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void;\n /**\n * The **`flush()`** method of the VideoEncoder interface forces all pending encodes to complete.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/flush)\n */\n flush(): Promise<void>;\n /**\n * The **`reset()`** method of the VideoEncoder interface synchronously cancels all pending encodes and callbacks, frees all underlying resources and sets the VideoEncoder.state to \'unconfigured\'.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/reset)\n */\n reset(): void;\n addEventListener<K extends keyof VideoEncoderEventMap>(type: K, listener: (this: VideoEncoder, ev: VideoEncoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof VideoEncoderEventMap>(type: K, listener: (this: VideoEncoder, ev: VideoEncoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var VideoEncoder: {\n prototype: VideoEncoder;\n new(init: VideoEncoderInit): VideoEncoder;\n /**\n * The **`isConfigSupported()`** static method of the VideoEncoder interface checks if VideoEncoder can be successfully configured with the given config.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoEncoder/isConfigSupported_static)\n */\n isConfigSupported(config: VideoEncoderConfig): Promise<VideoEncoderSupport>;\n};\n\n/**\n * The **`VideoFrame`** interface of the Web Codecs API represents a frame of a video.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame)\n */\ninterface VideoFrame {\n /**\n * The **`codedHeight`** property of the VideoFrame interface returns the height of the VideoFrame in pixels, potentially including non-visible padding, and prior to considering potential ratio adjustments.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/codedHeight)\n */\n readonly codedHeight: number;\n /**\n * The **`codedRect`** property of the VideoFrame interface returns a DOMRectReadOnly with the width and height matching VideoFrame.codedWidth and VideoFrame.codedHeight.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/codedRect)\n */\n readonly codedRect: DOMRectReadOnly | null;\n /**\n * The **`codedWidth`** property of the VideoFrame interface returns the width of the `VideoFrame` in pixels, potentially including non-visible padding, and prior to considering potential ratio adjustments.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/codedWidth)\n */\n readonly codedWidth: number;\n /**\n * The **`colorSpace`** property of the VideoFrame interface returns a VideoColorSpace object representing the color space of the video.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/colorSpace)\n */\n readonly colorSpace: VideoColorSpace;\n /**\n * The **`displayHeight`** property of the VideoFrame interface returns the height of the `VideoFrame` after applying aspect ratio adjustments.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/displayHeight)\n */\n readonly displayHeight: number;\n /**\n * The **`displayWidth`** property of the VideoFrame interface returns the width of the `VideoFrame` after applying aspect ratio adjustments.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/displayWidth)\n */\n readonly displayWidth: number;\n /**\n * The **`duration`** property of the VideoFrame interface returns an integer indicating the duration of the video in microseconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/duration)\n */\n readonly duration: number | null;\n /**\n * The **`format`** property of the VideoFrame interface returns the pixel format of the `VideoFrame`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/format)\n */\n readonly format: VideoPixelFormat | null;\n /**\n * The **`timestamp`** property of the VideoFrame interface returns an integer indicating the timestamp of the video in microseconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/timestamp)\n */\n readonly timestamp: number;\n /**\n * The **`visibleRect`** property of the VideoFrame interface returns a DOMRectReadOnly describing the visible rectangle of pixels for this `VideoFrame`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/visibleRect)\n */\n readonly visibleRect: DOMRectReadOnly | null;\n /**\n * The **`allocationSize()`** method of the VideoFrame interface returns the number of bytes required to hold the video as filtered by options passed into the method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/allocationSize)\n */\n allocationSize(options?: VideoFrameCopyToOptions): number;\n /**\n * The **`clone()`** method of the VideoFrame interface creates a new `VideoFrame` object referencing the same media resource as the original.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/clone)\n */\n clone(): VideoFrame;\n /**\n * The **`close()`** method of the VideoFrame interface clears all states and releases the reference to the media resource.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/close)\n */\n close(): void;\n /**\n * The **`copyTo()`** method of the VideoFrame interface copies the contents of the `VideoFrame` to an `ArrayBuffer`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoFrame/copyTo)\n */\n copyTo(destination: AllowSharedBufferSource, options?: VideoFrameCopyToOptions): Promise<PlaneLayout[]>;\n}\n\ndeclare var VideoFrame: {\n prototype: VideoFrame;\n new(image: CanvasImageSource, init?: VideoFrameInit): VideoFrame;\n new(data: AllowSharedBufferSource, init: VideoFrameBufferInit): VideoFrame;\n};\n\n/**\n * The **`WEBGL_color_buffer_float`** extension is part of the WebGL API and adds the ability to render to 32-bit floating-point color buffers.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_color_buffer_float)\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\n/**\n * The **`WEBGL_compressed_texture_astc`** extension is part of the WebGL API and exposes Adaptive Scalable Texture Compression (ASTC) compressed texture formats to WebGL.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_astc)\n */\ninterface WEBGL_compressed_texture_astc {\n /**\n * The **`WEBGL_compressed_texture_astc.getSupportedProfiles()`** method returns an array of strings containing the names of the ASTC profiles supported by the implementation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_astc/getSupportedProfiles)\n */\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\n/**\n * The **`WEBGL_compressed_texture_etc`** extension is part of the WebGL API and exposes 10 ETC/EAC compressed texture formats.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_etc)\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\n/**\n * The **`WEBGL_compressed_texture_etc1`** extension is part of the WebGL API and exposes the ETC1 compressed texture format.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_etc1)\n */\ninterface WEBGL_compressed_texture_etc1 {\n readonly COMPRESSED_RGB_ETC1_WEBGL: 0x8D64;\n}\n\n/**\n * The **`WEBGL_compressed_texture_pvrtc`** extension is part of the WebGL API and exposes four PVRTC compressed texture formats.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_pvrtc)\n */\ninterface WEBGL_compressed_texture_pvrtc {\n readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: 0x8C00;\n readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: 0x8C01;\n readonly COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: 0x8C02;\n readonly COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: 0x8C03;\n}\n\n/**\n * The **`WEBGL_compressed_texture_s3tc`** extension is part of the WebGL API and exposes four S3TC compressed texture formats.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_s3tc)\n */\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\n/**\n * The **`WEBGL_compressed_texture_s3tc_srgb`** extension is part of the WebGL API and exposes four S3TC compressed texture formats for the sRGB colorspace.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_compressed_texture_s3tc_srgb)\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/**\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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_debug_renderer_info)\n */\ninterface WEBGL_debug_renderer_info {\n readonly UNMASKED_VENDOR_WEBGL: 0x9245;\n readonly UNMASKED_RENDERER_WEBGL: 0x9246;\n}\n\n/**\n * The **`WEBGL_debug_shaders`** extension is part of the WebGL API and exposes a method to debug shaders from privileged contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_debug_shaders)\n */\ninterface WEBGL_debug_shaders {\n /**\n * The **`WEBGL_debug_shaders.getTranslatedShaderSource()`** method is part of the WebGL API and allows you to debug a translated shader.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_debug_shaders/getTranslatedShaderSource)\n */\n getTranslatedShaderSource(shader: WebGLShader): string;\n}\n\n/**\n * The **`WEBGL_depth_texture`** extension is part of the WebGL API and defines 2D depth and depth-stencil textures.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_depth_texture)\n */\ninterface WEBGL_depth_texture {\n readonly UNSIGNED_INT_24_8_WEBGL: 0x84FA;\n}\n\n/**\n * The **`WEBGL_draw_buffers`** extension is part of the WebGL API and enables a fragment shader to write to several textures, which is useful for deferred shading, for example.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers)\n */\ninterface WEBGL_draw_buffers {\n /**\n * The **`WEBGL_draw_buffers.drawBuffersWEBGL()`** method is part of the WebGL API and allows you to define the draw buffers to which all fragment colors are written.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL)\n */\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\n/**\n * The **WEBGL_lose_context** extension is part of the WebGL API and exposes functions to simulate losing and restoring a WebGLRenderingContext.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context)\n */\ninterface WEBGL_lose_context {\n /**\n * The **WEBGL_lose_context.loseContext()** method is part of the WebGL API and allows you to simulate losing the context of a WebGLRenderingContext context.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/loseContext)\n */\n loseContext(): void;\n /**\n * The **WEBGL_lose_context.restoreContext()** method is part of the WebGL API and allows you to simulate restoring the context of a WebGLRenderingContext object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_lose_context/restoreContext)\n */\n restoreContext(): void;\n}\n\n/**\n * The **`WEBGL_multi_draw`** extension is part of the WebGL API and allows to render more than one primitive with a single function call.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw)\n */\ninterface WEBGL_multi_draw {\n /**\n * The **`WEBGL_multi_draw.multiDrawArraysInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)\n */\n multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | GLint[], firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | GLsizei[], countsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | GLsizei[], instanceCountsOffset: number, drawcount: GLsizei): void;\n /**\n * The **`WEBGL_multi_draw.multiDrawArraysWEBGL()`** method of the WebGL API renders multiple primitives from array data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL)\n */\n multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | GLint[], firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | GLsizei[], countsOffset: number, drawcount: GLsizei): void;\n /**\n * The **`WEBGL_multi_draw.multiDrawElementsInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)\n */\n multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | GLsizei[], offsetsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | GLsizei[], instanceCountsOffset: number, drawcount: GLsizei): void;\n /**\n * The **`WEBGL_multi_draw.multiDrawElementsWEBGL()`** method of the WebGL API renders multiple primitives from array data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL)\n */\n multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | GLsizei[], offsetsOffset: number, drawcount: GLsizei): void;\n}\n\n/**\n * The **WebGL2RenderingContext** interface provides the OpenGL ES 3.0 rendering context for the drawing surface of an HTML canvas element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext)\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 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 RGBA8: 0x8058;\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/beginQuery) */\n beginQuery(target: GLenum, query: WebGLQuery): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/beginTransformFeedback) */\n beginTransformFeedback(primitiveMode: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bindBufferBase) */\n bindBufferBase(target: GLenum, index: GLuint, buffer: WebGLBuffer | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bindBufferRange) */\n bindBufferRange(target: GLenum, index: GLuint, buffer: WebGLBuffer | null, offset: GLintptr, size: GLsizeiptr): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bindSampler) */\n bindSampler(unit: GLuint, sampler: WebGLSampler | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bindTransformFeedback) */\n bindTransformFeedback(target: GLenum, tf: WebGLTransformFeedback | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bindVertexArray) */\n bindVertexArray(array: WebGLVertexArrayObject | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/blitFramebuffer) */\n blitFramebuffer(srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */\n clearBufferfi(buffer: GLenum, drawbuffer: GLint, depth: GLfloat, stencil: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */\n clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Float32List, srcOffset?: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */\n clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Int32List, srcOffset?: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */\n clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Uint32List, srcOffset?: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clientWaitSync) */\n clientWaitSync(sync: WebGLSync, flags: GLbitfield, timeout: GLuint64): GLenum;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexImage3D) */\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<ArrayBufferLike>, srcOffset?: number, srcLengthOverride?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/compressedTexSubImage3D) */\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<ArrayBufferLike>, srcOffset?: number, srcLengthOverride?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/copyBufferSubData) */\n copyBufferSubData(readTarget: GLenum, writeTarget: GLenum, readOffset: GLintptr, writeOffset: GLintptr, size: GLsizeiptr): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/copyTexSubImage3D) */\n copyTexSubImage3D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createQuery) */\n createQuery(): WebGLQuery;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createSampler) */\n createSampler(): WebGLSampler;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createTransformFeedback) */\n createTransformFeedback(): WebGLTransformFeedback;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/createVertexArray) */\n createVertexArray(): WebGLVertexArrayObject;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/deleteQuery) */\n deleteQuery(query: WebGLQuery | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/deleteSampler) */\n deleteSampler(sampler: WebGLSampler | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/deleteSync) */\n deleteSync(sync: WebGLSync | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/deleteTransformFeedback) */\n deleteTransformFeedback(tf: WebGLTransformFeedback | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/deleteVertexArray) */\n deleteVertexArray(vertexArray: WebGLVertexArrayObject | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawArraysInstanced) */\n drawArraysInstanced(mode: GLenum, first: GLint, count: GLsizei, instanceCount: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */\n drawBuffers(buffers: GLenum[]): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawElementsInstanced) */\n drawElementsInstanced(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, instanceCount: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawRangeElements) */\n drawRangeElements(mode: GLenum, start: GLuint, end: GLuint, count: GLsizei, type: GLenum, offset: GLintptr): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/endQuery) */\n endQuery(target: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/endTransformFeedback) */\n endTransformFeedback(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/fenceSync) */\n fenceSync(condition: GLenum, flags: GLbitfield): WebGLSync | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/framebufferTextureLayer) */\n framebufferTextureLayer(target: GLenum, attachment: GLenum, texture: WebGLTexture | null, level: GLint, layer: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockName) */\n getActiveUniformBlockName(program: WebGLProgram, uniformBlockIndex: GLuint): string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniformBlockParameter) */\n getActiveUniformBlockParameter(program: WebGLProgram, uniformBlockIndex: GLuint, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */\n getActiveUniforms(program: WebGLProgram, uniformIndices: GLuint[], pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getBufferSubData) */\n getBufferSubData(target: GLenum, srcByteOffset: GLintptr, dstBuffer: ArrayBufferView<ArrayBufferLike>, dstOffset?: number, length?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getFragDataLocation) */\n getFragDataLocation(program: WebGLProgram, name: string): GLint;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getIndexedParameter) */\n getIndexedParameter(target: GLenum, index: GLuint): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getInternalformatParameter) */\n getInternalformatParameter(target: GLenum, internalformat: GLenum, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getQuery) */\n getQuery(target: GLenum, pname: GLenum): WebGLQuery | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getQueryParameter) */\n getQueryParameter(query: WebGLQuery, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getSamplerParameter) */\n getSamplerParameter(sampler: WebGLSampler, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getSyncParameter) */\n getSyncParameter(sync: WebGLSync, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getTransformFeedbackVarying) */\n getTransformFeedbackVarying(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformBlockIndex) */\n getUniformBlockIndex(program: WebGLProgram, uniformBlockName: string): GLuint;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */\n getUniformIndices(program: WebGLProgram, uniformNames: string[]): GLuint[] | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */\n invalidateFramebuffer(target: GLenum, attachments: GLenum[]): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */\n invalidateSubFramebuffer(target: GLenum, attachments: GLenum[], x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/isQuery) */\n isQuery(query: WebGLQuery | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/isSampler) */\n isSampler(sampler: WebGLSampler | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/isSync) */\n isSync(sync: WebGLSync | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/isTransformFeedback) */\n isTransformFeedback(tf: WebGLTransformFeedback | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/isVertexArray) */\n isVertexArray(vertexArray: WebGLVertexArrayObject | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/pauseTransformFeedback) */\n pauseTransformFeedback(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/readBuffer) */\n readBuffer(src: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/renderbufferStorageMultisample) */\n renderbufferStorageMultisample(target: GLenum, samples: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/resumeTransformFeedback) */\n resumeTransformFeedback(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/samplerParameter) */\n samplerParameterf(sampler: WebGLSampler, pname: GLenum, param: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/samplerParameter) */\n samplerParameteri(sampler: WebGLSampler, pname: GLenum, param: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/texImage3D) */\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<ArrayBufferLike> | null): void;\n texImage3D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type: GLenum, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/texStorage2D) */\n texStorage2D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/texStorage3D) */\n texStorage3D(target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/texSubImage3D) */\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<ArrayBufferLike> | null, srcOffset?: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */\n transformFeedbackVaryings(program: WebGLProgram, varyings: string[], bufferMode: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform1ui(location: WebGLUniformLocation | null, v0: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform1uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform2ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform2uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform3ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform3uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform4ui(location: WebGLUniformLocation | null, v0: GLuint, v1: GLuint, v2: GLuint, v3: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform4uiv(location: WebGLUniformLocation | null, data: Uint32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformBlockBinding) */\n uniformBlockBinding(program: WebGLProgram, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribDivisor) */\n vertexAttribDivisor(index: GLuint, divisor: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */\n vertexAttribI4i(index: GLuint, x: GLint, y: GLint, z: GLint, w: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */\n vertexAttribI4iv(index: GLuint, values: Int32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */\n vertexAttribI4ui(index: GLuint, x: GLuint, y: GLuint, z: GLuint, w: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */\n vertexAttribI4uiv(index: GLuint, values: Uint32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribIPointer) */\n vertexAttribIPointer(index: GLuint, size: GLint, type: GLenum, stride: GLsizei, offset: GLintptr): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/waitSync) */\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 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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bufferData) */\n bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;\n bufferData(target: GLenum, srcData: AllowSharedBufferSource | null, usage: GLenum): void;\n bufferData(target: GLenum, srcData: ArrayBufferView<ArrayBufferLike>, usage: GLenum, srcOffset: number, length?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/bufferSubData) */\n bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: AllowSharedBufferSource): void;\n bufferSubData(target: GLenum, dstByteOffset: GLintptr, srcData: ArrayBufferView<ArrayBufferLike>, srcOffset: number, length?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */\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<ArrayBufferLike>, srcOffset?: number, srcLengthOverride?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D) */\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<ArrayBufferLike>, srcOffset?: number, srcLengthOverride?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/readPixels) */\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, dstData: ArrayBufferView<ArrayBufferLike> | 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<ArrayBufferLike>, dstOffset: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texImage2D) */\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView<ArrayBufferLike> | 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<ArrayBufferLike>, srcOffset: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texSubImage2D) */\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView<ArrayBufferLike> | 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<ArrayBufferLike>, srcOffset: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform1fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform1iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform2fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform2iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform3fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform3iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform4fv(location: WebGLUniformLocation | null, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform4iv(location: WebGLUniformLocation | null, data: Int32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Float32List, srcOffset?: number, srcLength?: GLuint): void;\n}\n\n/**\n * The **WebGLActiveInfo** interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getActiveAttrib() and WebGLRenderingContext.getActiveUniform() methods.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLActiveInfo)\n */\ninterface WebGLActiveInfo {\n /**\n * The read-only **`WebGLActiveInfo.name`** property represents the name of the requested data returned by calling the WebGLRenderingContext.getActiveAttrib() or WebGLRenderingContext.getActiveUniform() methods.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLActiveInfo/name)\n */\n readonly name: string;\n /**\n * The read-only **`WebGLActiveInfo.size`** property is a Number representing the size of the requested data returned by calling the WebGLRenderingContext.getActiveAttrib() or WebGLRenderingContext.getActiveUniform() methods.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLActiveInfo/size)\n */\n readonly size: GLint;\n /**\n * The read-only **`WebGLActiveInfo.type`** property represents the type of the requested data returned by calling the WebGLRenderingContext.getActiveAttrib() or WebGLRenderingContext.getActiveUniform() methods.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLActiveInfo/type)\n */\n readonly type: GLenum;\n}\n\ndeclare var WebGLActiveInfo: {\n prototype: WebGLActiveInfo;\n new(): WebGLActiveInfo;\n};\n\n/**\n * The **WebGLBuffer** interface is part of the WebGL API and represents an opaque buffer object storing data such as vertices or colors.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLBuffer)\n */\ninterface WebGLBuffer {\n}\n\ndeclare var WebGLBuffer: {\n prototype: WebGLBuffer;\n new(): WebGLBuffer;\n};\n\n/**\n * The **WebGLContextEvent** 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLContextEvent)\n */\ninterface WebGLContextEvent extends Event {\n /**\n * The read-only **`WebGLContextEvent.statusMessage`** property contains additional event status information, or is an empty string if no additional information is available.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLContextEvent/statusMessage)\n */\n readonly statusMessage: string;\n}\n\ndeclare var WebGLContextEvent: {\n prototype: WebGLContextEvent;\n new(type: string, eventInit?: WebGLContextEventInit): WebGLContextEvent;\n};\n\n/**\n * The **WebGLFramebuffer** interface is part of the WebGL API and represents a collection of buffers that serve as a rendering destination.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLFramebuffer)\n */\ninterface WebGLFramebuffer {\n}\n\ndeclare var WebGLFramebuffer: {\n prototype: WebGLFramebuffer;\n new(): WebGLFramebuffer;\n};\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).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLProgram)\n */\ninterface WebGLProgram {\n}\n\ndeclare var WebGLProgram: {\n prototype: WebGLProgram;\n new(): WebGLProgram;\n};\n\n/**\n * The **`WebGLQuery`** interface is part of the WebGL 2 API and provides ways to asynchronously query for information.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLQuery)\n */\ninterface WebGLQuery {\n}\n\ndeclare var WebGLQuery: {\n prototype: WebGLQuery;\n new(): WebGLQuery;\n};\n\n/**\n * The **WebGLRenderbuffer** interface is part of the WebGL API and represents a buffer that can contain an image, or that can be a source or target of a rendering operation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderbuffer)\n */\ninterface WebGLRenderbuffer {\n}\n\ndeclare var WebGLRenderbuffer: {\n prototype: WebGLRenderbuffer;\n new(): WebGLRenderbuffer;\n};\n\n/**\n * The **`WebGLRenderingContext`** interface provides an interface to the OpenGL ES 2.0 graphics rendering context for the drawing surface of an HTML canvas element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext)\n */\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 RGBA8: 0x8058;\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawingBufferColorSpace) */\n drawingBufferColorSpace: PredefinedColorSpace;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferHeight) */\n readonly drawingBufferHeight: GLsizei;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawingBufferWidth) */\n readonly drawingBufferWidth: GLsizei;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/unpackColorSpace) */\n unpackColorSpace: PredefinedColorSpace;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/activeTexture) */\n activeTexture(texture: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/attachShader) */\n attachShader(program: WebGLProgram, shader: WebGLShader): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bindAttribLocation) */\n bindAttribLocation(program: WebGLProgram, index: GLuint, name: string): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bindBuffer) */\n bindBuffer(target: GLenum, buffer: WebGLBuffer | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bindFramebuffer) */\n bindFramebuffer(target: GLenum, framebuffer: WebGLFramebuffer | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bindRenderbuffer) */\n bindRenderbuffer(target: GLenum, renderbuffer: WebGLRenderbuffer | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bindTexture) */\n bindTexture(target: GLenum, texture: WebGLTexture | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/blendColor) */\n blendColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/blendEquation) */\n blendEquation(mode: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/blendEquationSeparate) */\n blendEquationSeparate(modeRGB: GLenum, modeAlpha: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/blendFunc) */\n blendFunc(sfactor: GLenum, dfactor: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/blendFuncSeparate) */\n blendFuncSeparate(srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/checkFramebufferStatus) */\n checkFramebufferStatus(target: GLenum): GLenum;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/clear) */\n clear(mask: GLbitfield): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/clearColor) */\n clearColor(red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/clearDepth) */\n clearDepth(depth: GLclampf): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/clearStencil) */\n clearStencil(s: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/colorMask) */\n colorMask(red: GLboolean, green: GLboolean, blue: GLboolean, alpha: GLboolean): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compileShader) */\n compileShader(shader: WebGLShader): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/copyTexImage2D) */\n copyTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, border: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/copyTexSubImage2D) */\n copyTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createBuffer) */\n createBuffer(): WebGLBuffer;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createFramebuffer) */\n createFramebuffer(): WebGLFramebuffer;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createProgram) */\n createProgram(): WebGLProgram;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createRenderbuffer) */\n createRenderbuffer(): WebGLRenderbuffer;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createShader) */\n createShader(type: GLenum): WebGLShader | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/createTexture) */\n createTexture(): WebGLTexture;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/cullFace) */\n cullFace(mode: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteBuffer) */\n deleteBuffer(buffer: WebGLBuffer | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteFramebuffer) */\n deleteFramebuffer(framebuffer: WebGLFramebuffer | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteProgram) */\n deleteProgram(program: WebGLProgram | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteRenderbuffer) */\n deleteRenderbuffer(renderbuffer: WebGLRenderbuffer | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteShader) */\n deleteShader(shader: WebGLShader | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/deleteTexture) */\n deleteTexture(texture: WebGLTexture | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/depthFunc) */\n depthFunc(func: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/depthMask) */\n depthMask(flag: GLboolean): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/depthRange) */\n depthRange(zNear: GLclampf, zFar: GLclampf): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/detachShader) */\n detachShader(program: WebGLProgram, shader: WebGLShader): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/disable) */\n disable(cap: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/disableVertexAttribArray) */\n disableVertexAttribArray(index: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawArrays) */\n drawArrays(mode: GLenum, first: GLint, count: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/drawElements) */\n drawElements(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/enable) */\n enable(cap: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/enableVertexAttribArray) */\n enableVertexAttribArray(index: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/finish) */\n finish(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/flush) */\n flush(): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/framebufferRenderbuffer) */\n framebufferRenderbuffer(target: GLenum, attachment: GLenum, renderbuffertarget: GLenum, renderbuffer: WebGLRenderbuffer | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/framebufferTexture2D) */\n framebufferTexture2D(target: GLenum, attachment: GLenum, textarget: GLenum, texture: WebGLTexture | null, level: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/frontFace) */\n frontFace(mode: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/generateMipmap) */\n generateMipmap(target: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getActiveAttrib) */\n getActiveAttrib(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getActiveUniform) */\n getActiveUniform(program: WebGLProgram, index: GLuint): WebGLActiveInfo | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getAttachedShaders) */\n getAttachedShaders(program: WebGLProgram): WebGLShader[] | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getAttribLocation) */\n getAttribLocation(program: WebGLProgram, name: string): GLint;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getBufferParameter) */\n getBufferParameter(target: GLenum, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getContextAttributes) */\n getContextAttributes(): WebGLContextAttributes | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getError) */\n getError(): GLenum;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getExtension) */\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_pvrtc"): WEBGL_compressed_texture_pvrtc | 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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getFramebufferAttachmentParameter) */\n getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getParameter) */\n getParameter(pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getProgramInfoLog) */\n getProgramInfoLog(program: WebGLProgram): string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getProgramParameter) */\n getProgramParameter(program: WebGLProgram, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getRenderbufferParameter) */\n getRenderbufferParameter(target: GLenum, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderInfoLog) */\n getShaderInfoLog(shader: WebGLShader): string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderParameter) */\n getShaderParameter(shader: WebGLShader, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderPrecisionFormat) */\n getShaderPrecisionFormat(shadertype: GLenum, precisiontype: GLenum): WebGLShaderPrecisionFormat | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getShaderSource) */\n getShaderSource(shader: WebGLShader): string | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getSupportedExtensions) */\n getSupportedExtensions(): string[] | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getTexParameter) */\n getTexParameter(target: GLenum, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getUniform) */\n getUniform(program: WebGLProgram, location: WebGLUniformLocation): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getUniformLocation) */\n getUniformLocation(program: WebGLProgram, name: string): WebGLUniformLocation | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getVertexAttrib) */\n getVertexAttrib(index: GLuint, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/getVertexAttribOffset) */\n getVertexAttribOffset(index: GLuint, pname: GLenum): GLintptr;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/hint) */\n hint(target: GLenum, mode: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isBuffer) */\n isBuffer(buffer: WebGLBuffer | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isContextLost) */\n isContextLost(): boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isEnabled) */\n isEnabled(cap: GLenum): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isFramebuffer) */\n isFramebuffer(framebuffer: WebGLFramebuffer | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isProgram) */\n isProgram(program: WebGLProgram | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isRenderbuffer) */\n isRenderbuffer(renderbuffer: WebGLRenderbuffer | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isShader) */\n isShader(shader: WebGLShader | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/isTexture) */\n isTexture(texture: WebGLTexture | null): GLboolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/lineWidth) */\n lineWidth(width: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/linkProgram) */\n linkProgram(program: WebGLProgram): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/pixelStorei) */\n pixelStorei(pname: GLenum, param: GLint | GLboolean): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/polygonOffset) */\n polygonOffset(factor: GLfloat, units: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/renderbufferStorage) */\n renderbufferStorage(target: GLenum, internalformat: GLenum, width: GLsizei, height: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/sampleCoverage) */\n sampleCoverage(value: GLclampf, invert: GLboolean): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/scissor) */\n scissor(x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/shaderSource) */\n shaderSource(shader: WebGLShader, source: string): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/stencilFunc) */\n stencilFunc(func: GLenum, ref: GLint, mask: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/stencilFuncSeparate) */\n stencilFuncSeparate(face: GLenum, func: GLenum, ref: GLint, mask: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/stencilMask) */\n stencilMask(mask: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/stencilMaskSeparate) */\n stencilMaskSeparate(face: GLenum, mask: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/stencilOp) */\n stencilOp(fail: GLenum, zfail: GLenum, zpass: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/stencilOpSeparate) */\n stencilOpSeparate(face: GLenum, fail: GLenum, zfail: GLenum, zpass: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texParameter) */\n texParameterf(target: GLenum, pname: GLenum, param: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texParameter) */\n texParameteri(target: GLenum, pname: GLenum, param: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform1f(location: WebGLUniformLocation | null, x: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform1i(location: WebGLUniformLocation | null, x: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform2f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform2i(location: WebGLUniformLocation | null, x: GLint, y: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform3f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform3i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform4f(location: WebGLUniformLocation | null, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform4i(location: WebGLUniformLocation | null, x: GLint, y: GLint, z: GLint, w: GLint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/useProgram) */\n useProgram(program: WebGLProgram | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/validateProgram) */\n validateProgram(program: WebGLProgram): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib1f(index: GLuint, x: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib1fv(index: GLuint, values: Float32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib2f(index: GLuint, x: GLfloat, y: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib2fv(index: GLuint, values: Float32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib3f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib3fv(index: GLuint, values: Float32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib4f(index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib4fv(index: GLuint, values: Float32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttribPointer) */\n vertexAttribPointer(index: GLuint, size: GLint, type: GLenum, normalized: GLboolean, stride: GLsizei, offset: GLintptr): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/viewport) */\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 RGBA8: 0x8058;\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferData) */\n bufferData(target: GLenum, size: GLsizeiptr, usage: GLenum): void;\n bufferData(target: GLenum, data: AllowSharedBufferSource | null, usage: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/bufferSubData) */\n bufferSubData(target: GLenum, offset: GLintptr, data: AllowSharedBufferSource): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexImage2D) */\n compressedTexImage2D(target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, data: ArrayBufferView<ArrayBufferLike>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/compressedTexSubImage2D) */\n compressedTexSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, data: ArrayBufferView<ArrayBufferLike>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/readPixels) */\n readPixels(x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView<ArrayBufferLike> | null): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texImage2D) */\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type: GLenum, pixels: ArrayBufferView<ArrayBufferLike> | null): void;\n texImage2D(target: GLenum, level: GLint, internalformat: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/texSubImage2D) */\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type: GLenum, pixels: ArrayBufferView<ArrayBufferLike> | null): void;\n texSubImage2D(target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, format: GLenum, type: GLenum, source: TexImageSource): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform1fv(location: WebGLUniformLocation | null, v: Float32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform1iv(location: WebGLUniformLocation | null, v: Int32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform2fv(location: WebGLUniformLocation | null, v: Float32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform2iv(location: WebGLUniformLocation | null, v: Int32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform3fv(location: WebGLUniformLocation | null, v: Float32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform3iv(location: WebGLUniformLocation | null, v: Int32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform4fv(location: WebGLUniformLocation | null, v: Float32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform4iv(location: WebGLUniformLocation | null, v: Int32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Float32List): void;\n}\n\n/**\n * The **`WebGLSampler`** interface is part of the WebGL 2 API and stores sampling parameters for WebGLTexture access inside of a shader.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLSampler)\n */\ninterface WebGLSampler {\n}\n\ndeclare var WebGLSampler: {\n prototype: WebGLSampler;\n new(): WebGLSampler;\n};\n\n/**\n * The **WebGLShader** is part of the WebGL API and can either be a vertex or a fragment shader.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLShader)\n */\ninterface WebGLShader {\n}\n\ndeclare var WebGLShader: {\n prototype: WebGLShader;\n new(): WebGLShader;\n};\n\n/**\n * The **WebGLShaderPrecisionFormat** interface is part of the WebGL API and represents the information returned by calling the WebGLRenderingContext.getShaderPrecisionFormat() method.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLShaderPrecisionFormat)\n */\ninterface WebGLShaderPrecisionFormat {\n /**\n * The read-only **`WebGLShaderPrecisionFormat.precision`** property returns the number of bits of precision that can be represented.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLShaderPrecisionFormat/precision)\n */\n readonly precision: GLint;\n /**\n * The read-only **`WebGLShaderPrecisionFormat.rangeMax`** property returns the base 2 log of the absolute value of the maximum value that can be represented.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLShaderPrecisionFormat/rangeMax)\n */\n readonly rangeMax: GLint;\n /**\n * The read-only **`WebGLShaderPrecisionFormat.rangeMin`** property returns the base 2 log of the absolute value of the minimum value that can be represented.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLShaderPrecisionFormat/rangeMin)\n */\n readonly rangeMin: GLint;\n}\n\ndeclare var WebGLShaderPrecisionFormat: {\n prototype: WebGLShaderPrecisionFormat;\n new(): WebGLShaderPrecisionFormat;\n};\n\n/**\n * The **`WebGLSync`** interface is part of the WebGL 2 API and is used to synchronize activities between the GPU and the application.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLSync)\n */\ninterface WebGLSync {\n}\n\ndeclare var WebGLSync: {\n prototype: WebGLSync;\n new(): WebGLSync;\n};\n\n/**\n * The **WebGLTexture** interface is part of the WebGL API and represents an opaque texture object providing storage and state for texturing operations.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLTexture)\n */\ninterface WebGLTexture {\n}\n\ndeclare var WebGLTexture: {\n prototype: WebGLTexture;\n new(): WebGLTexture;\n};\n\n/**\n * The **`WebGLTransformFeedback`** interface is part of the WebGL 2 API and enables transform feedback, which is the process of capturing primitives generated by vertex processing.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLTransformFeedback)\n */\ninterface WebGLTransformFeedback {\n}\n\ndeclare var WebGLTransformFeedback: {\n prototype: WebGLTransformFeedback;\n new(): WebGLTransformFeedback;\n};\n\n/**\n * The **WebGLUniformLocation** interface is part of the WebGL API and represents the location of a uniform variable in a shader program.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLUniformLocation)\n */\ninterface WebGLUniformLocation {\n}\n\ndeclare var WebGLUniformLocation: {\n prototype: WebGLUniformLocation;\n new(): WebGLUniformLocation;\n};\n\n/**\n * The **`WebGLVertexArrayObject`** interface is part of the WebGL 2 API, represents vertex array objects (VAOs) pointing to vertex array data, and provides names for different sets of vertex data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject)\n */\ninterface WebGLVertexArrayObject {\n}\n\ndeclare var WebGLVertexArrayObject: {\n prototype: WebGLVertexArrayObject;\n new(): WebGLVertexArrayObject;\n};\n\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLVertexArrayObject) */\ninterface WebGLVertexArrayObjectOES {\n}\n\ninterface WebSocketEventMap {\n "close": CloseEvent;\n "error": Event;\n "message": MessageEvent;\n "open": Event;\n}\n\n/**\n * The `WebSocket` object provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket)\n */\ninterface WebSocket extends EventTarget {\n /**\n * The **`WebSocket.binaryType`** property controls the type of binary data being received over the WebSocket connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/binaryType)\n */\n binaryType: BinaryType;\n /**\n * The **`WebSocket.bufferedAmount`** read-only property returns the number of bytes of data that have been queued using calls to `send()` but not yet transmitted to the network.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/bufferedAmount)\n */\n readonly bufferedAmount: number;\n /**\n * The **`WebSocket.extensions`** read-only property returns the extensions selected by the server.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/extensions)\n */\n readonly extensions: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close_event) */\n onclose: ((this: WebSocket, ev: CloseEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/error_event) */\n onerror: ((this: WebSocket, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/message_event) */\n onmessage: ((this: WebSocket, ev: MessageEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/open_event) */\n onopen: ((this: WebSocket, ev: Event) => any) | null;\n /**\n * The **`WebSocket.protocol`** read-only property returns the name of the sub-protocol the server selected; this will be one of the strings specified in the `protocols` parameter when creating the WebSocket object, or the empty string if no connection is established.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/protocol)\n */\n readonly protocol: string;\n /**\n * The **`WebSocket.readyState`** read-only property returns the current state of the WebSocket connection.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)\n */\n readonly readyState: number;\n /**\n * The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/url)\n */\n readonly url: string;\n /**\n * The **`WebSocket.close()`** method closes the already `CLOSED`, this method does nothing.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/close)\n */\n close(code?: number, reason?: string): void;\n /**\n * The **`WebSocket.send()`** method enqueues the specified data to be transmitted to the server over the WebSocket connection, increasing the value of `bufferedAmount` by the number of bytes needed to contain the data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/send)\n */\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/**\n * The **`WebTransport`** interface of the WebTransport API provides functionality to enable a user agent to connect to an HTTP/3 server, initiate reliable and unreliable transport in either or both directions, and close the connection once it is no longer needed.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport)\n */\ninterface WebTransport {\n /**\n * The **`closed`** read-only property of the WebTransport interface returns a promise that resolves when the transport is closed.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/closed)\n */\n readonly closed: Promise<WebTransportCloseInfo>;\n /**\n * The **`datagrams`** read-only property of the WebTransport interface returns a WebTransportDatagramDuplexStream instance that can be used to send and receive datagrams — unreliable data transmission.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/datagrams)\n */\n readonly datagrams: WebTransportDatagramDuplexStream;\n /**\n * The **`incomingBidirectionalStreams`** read-only property of the WebTransport interface represents one or more bidirectional streams opened by the server.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/incomingBidirectionalStreams)\n */\n readonly incomingBidirectionalStreams: ReadableStream;\n /**\n * The **`incomingUnidirectionalStreams`** read-only property of the WebTransport interface represents one or more unidirectional streams opened by the server.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/incomingUnidirectionalStreams)\n */\n readonly incomingUnidirectionalStreams: ReadableStream;\n /**\n * The **`ready`** read-only property of the WebTransport interface returns a promise that resolves when the transport is ready to use.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/ready)\n */\n readonly ready: Promise<void>;\n /**\n * The **`close()`** method of the WebTransport interface closes an ongoing WebTransport session.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/close)\n */\n close(closeInfo?: WebTransportCloseInfo): void;\n /**\n * The **`createBidirectionalStream()`** method of the WebTransport interface asynchronously opens and returns a bidirectional stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createBidirectionalStream)\n */\n createBidirectionalStream(options?: WebTransportSendStreamOptions): Promise<WebTransportBidirectionalStream>;\n /**\n * The **`createUnidirectionalStream()`** method of the WebTransport interface asynchronously opens a unidirectional stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createUnidirectionalStream)\n */\n createUnidirectionalStream(options?: WebTransportSendStreamOptions): Promise<WritableStream>;\n}\n\ndeclare var WebTransport: {\n prototype: WebTransport;\n new(url: string | URL, options?: WebTransportOptions): WebTransport;\n};\n\n/**\n * The **`WebTransportBidirectionalStream`** interface of the WebTransport API represents a bidirectional stream created by a server or a client that can be used for reliable transport.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportBidirectionalStream)\n */\ninterface WebTransportBidirectionalStream {\n /**\n * The **`readable`** read-only property of the WebTransportBidirectionalStream interface returns a WebTransportReceiveStream instance that can be used to reliably read incoming data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportBidirectionalStream/readable)\n */\n readonly readable: ReadableStream;\n /**\n * The **`writable`** read-only property of the WebTransportBidirectionalStream interface returns a WebTransportSendStream instance that can be used to write outgoing data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportBidirectionalStream/writable)\n */\n readonly writable: WritableStream;\n}\n\ndeclare var WebTransportBidirectionalStream: {\n prototype: WebTransportBidirectionalStream;\n new(): WebTransportBidirectionalStream;\n};\n\n/**\n * The **`WebTransportDatagramDuplexStream`** interface of the WebTransport API represents a duplex stream that can be used for unreliable transport of datagrams between client and server.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream)\n */\ninterface WebTransportDatagramDuplexStream {\n /**\n * The **`incomingHighWaterMark`** property of the WebTransportDatagramDuplexStream interface gets or sets the high water mark for incoming chunks of data — this is the maximum size, in chunks, that the incoming ReadableStream\'s internal queue can reach before it is considered full.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingHighWaterMark)\n */\n incomingHighWaterMark: number;\n /**\n * The **`incomingMaxAge`** property of the WebTransportDatagramDuplexStream interface gets or sets the maximum age for incoming datagrams, in milliseconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/incomingMaxAge)\n */\n incomingMaxAge: number | null;\n /**\n * The **`maxDatagramSize`** read-only property of the WebTransportDatagramDuplexStream interface returns the maximum allowable size of outgoing datagrams, in bytes, that can be written to WebTransportDatagramDuplexStream.writable.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/maxDatagramSize)\n */\n readonly maxDatagramSize: number;\n /**\n * The **`outgoingHighWaterMark`** property of the WebTransportDatagramDuplexStream interface gets or sets the high water mark for outgoing chunks of data — this is the maximum size, in chunks, that the outgoing WritableStream\'s internal queue can reach before it is considered full.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingHighWaterMark)\n */\n outgoingHighWaterMark: number;\n /**\n * The **`outgoingMaxAge`** property of the WebTransportDatagramDuplexStream interface gets or sets the maximum age for outgoing datagrams, in milliseconds.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/outgoingMaxAge)\n */\n outgoingMaxAge: number | null;\n /**\n * The **`readable`** read-only property of the WebTransportDatagramDuplexStream interface returns a ReadableStream instance that can be used to unreliably read incoming datagrams from the stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/readable)\n */\n readonly readable: ReadableStream;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable) */\n readonly writable: WritableStream;\n}\n\ndeclare var WebTransportDatagramDuplexStream: {\n prototype: WebTransportDatagramDuplexStream;\n new(): WebTransportDatagramDuplexStream;\n};\n\n/**\n * The **`WebTransportError`** interface of the WebTransport API represents an error related to the API, which can arise from server errors, network connection problems, or client-initiated abort operations (for example, arising from a WritableStream.abort() call).\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportError)\n */\ninterface WebTransportError extends DOMException {\n /**\n * The **`source`** read-only property of the WebTransportError interface returns an enumerated value indicating the source of the error.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportError/source)\n */\n readonly source: WebTransportErrorSource;\n /**\n * The **`streamErrorCode`** read-only property of the WebTransportError interface returns a number in the range 0-255 indicating the application protocol error code for this error, or `null` if one is not available.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportError/streamErrorCode)\n */\n readonly streamErrorCode: number | null;\n}\n\ndeclare var WebTransportError: {\n prototype: WebTransportError;\n new(message?: string, options?: WebTransportErrorOptions): WebTransportError;\n};\n\n/**\n * The `WindowClient` interface of the ServiceWorker API represents the scope of a service worker client that is a document in a browsing context, controlled by an active worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient)\n */\ninterface WindowClient extends Client {\n /**\n * The **`focused`** read-only property of the the current client has focus.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/focused)\n */\n readonly focused: boolean;\n /**\n * The **`visibilityState`** read-only property of the This value can be one of `\'hidden\'`, `\'visible\'`, or `\'prerender\'`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/visibilityState)\n */\n readonly visibilityState: DocumentVisibilityState;\n /**\n * The **`focus()`** method of the WindowClient interface gives user input focus to the current client and returns a ```js-nolint focus() ``` None.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/focus)\n */\n focus(): Promise<WindowClient>;\n /**\n * The **`navigate()`** method of the WindowClient interface loads a specified URL into a controlled client page then returns a ```js-nolint navigate(url) ``` - `url` - : The location to navigate to.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WindowClient/navigate)\n */\n navigate(url: string | URL): Promise<WindowClient | null>;\n}\n\ndeclare var WindowClient: {\n prototype: WindowClient;\n new(): WindowClient;\n};\n\ninterface WindowOrWorkerGlobalScope {\n /**\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)\n */\n readonly caches: CacheStorage;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */\n readonly crossOriginIsolated: boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */\n readonly crypto: Crypto;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */\n readonly indexedDB: IDBFactory;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */\n readonly isSecureContext: boolean;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */\n readonly origin: string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */\n readonly performance: Performance;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */\n atob(data: string): string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */\n btoa(data: string): string;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearInterval) */\n clearInterval(id: number | undefined): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearTimeout) */\n clearTimeout(id: number | undefined): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/createImageBitmap) */\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 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */\n fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/queueMicrotask) */\n queueMicrotask(callback: VoidFunction): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/reportError) */\n reportError(e: any): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setInterval) */\n setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setTimeout) */\n setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/structuredClone) */\n structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;\n}\n\ninterface WorkerEventMap extends AbstractWorkerEventMap, MessageEventTargetEventMap {\n}\n\n/**\n * The **`Worker`** interface of the Web Workers API represents a background task that can be created via script, which can send messages back to its creator.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Worker)\n */\ninterface Worker extends EventTarget, AbstractWorker, MessageEventTarget<Worker> {\n /**\n * The **`postMessage()`** method of the Worker interface sends a message to the worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Worker/postMessage)\n */\n postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: StructuredSerializeOptions): void;\n /**\n * The **`terminate()`** method of the Worker interface immediately terminates the Worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Worker/terminate)\n */\n terminate(): void;\n addEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Worker: {\n prototype: Worker;\n new(scriptURL: string | URL, options?: WorkerOptions): Worker;\n};\n\ninterface WorkerGlobalScopeEventMap {\n "error": ErrorEvent;\n "languagechange": Event;\n "offline": Event;\n "online": Event;\n "rejectionhandled": PromiseRejectionEvent;\n "unhandledrejection": PromiseRejectionEvent;\n}\n\n/**\n * The **`WorkerGlobalScope`** interface of the Web Workers API is an interface representing the scope of any worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope)\n */\ninterface WorkerGlobalScope extends EventTarget, FontFaceSource, WindowOrWorkerGlobalScope {\n /**\n * The **`location`** read-only property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)\n */\n readonly location: WorkerLocation;\n /**\n * The **`navigator`** read-only property of the WorkerGlobalScope interface returns the WorkerNavigator associated with the worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/navigator)\n */\n readonly navigator: WorkerNavigator;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/error_event) */\n onerror: ((this: WorkerGlobalScope, ev: ErrorEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/languagechange_event) */\n onlanguagechange: ((this: WorkerGlobalScope, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/offline_event) */\n onoffline: ((this: WorkerGlobalScope, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */\n ononline: ((this: WorkerGlobalScope, ev: Event) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */\n onrejectionhandled: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */\n onunhandledrejection: ((this: WorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;\n /**\n * The **`self`** read-only property of the WorkerGlobalScope interface returns a reference to the `WorkerGlobalScope` itself.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)\n */\n readonly self: WorkerGlobalScope & typeof globalThis;\n /**\n * The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker\'s scope.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/importScripts)\n */\n importScripts(...urls: (string | URL)[]): void;\n addEventListener<K extends keyof WorkerGlobalScopeEventMap>(type: K, listener: (this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof WorkerGlobalScopeEventMap>(type: K, listener: (this: WorkerGlobalScope, ev: WorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var WorkerGlobalScope: {\n prototype: WorkerGlobalScope;\n new(): WorkerGlobalScope;\n};\n\n/**\n * The **`WorkerLocation`** interface defines the absolute location of the script executed by the Worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerLocation)\n */\ninterface WorkerLocation {\n /**\n * The **`hash`** property of a WorkerLocation object returns the URL.hash part of the worker\'s location.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerLocation/hash)\n */\n readonly hash: string;\n /**\n * The **`host`** property of a WorkerLocation object returns the URL.host part of the worker\'s location.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerLocation/host)\n */\n readonly host: string;\n /**\n * The **`hostname`** property of a WorkerLocation object returns the URL.hostname part of the worker\'s location.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerLocation/hostname)\n */\n readonly hostname: string;\n /**\n * The **`href`** property of a WorkerLocation object returns a string containing the serialized URL for the worker\'s location.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerLocation/href)\n */\n readonly href: string;\n toString(): string;\n /**\n * The **`origin`** property of a WorkerLocation object returns the worker\'s URL.origin.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerLocation/origin)\n */\n readonly origin: string;\n /**\n * The **`pathname`** property of a WorkerLocation object returns the URL.pathname part of the worker\'s location.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerLocation/pathname)\n */\n readonly pathname: string;\n /**\n * The **`port`** property of a WorkerLocation object returns the URL.port part of the worker\'s location.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerLocation/port)\n */\n readonly port: string;\n /**\n * The **`protocol`** property of a WorkerLocation object returns the URL.protocol part of the worker\'s location.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerLocation/protocol)\n */\n readonly protocol: string;\n /**\n * The **`search`** property of a WorkerLocation object returns the URL.search part of the worker\'s location.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerLocation/search)\n */\n readonly search: string;\n}\n\ndeclare var WorkerLocation: {\n prototype: WorkerLocation;\n new(): WorkerLocation;\n};\n\n/**\n * The **`WorkerNavigator`** interface represents a subset of the Navigator interface allowed to be accessed from a Worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerNavigator)\n */\ninterface WorkerNavigator extends NavigatorBadge, NavigatorConcurrentHardware, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorStorage {\n /**\n * The read-only **`mediaCapabilities`** property of the WorkerNavigator interface references a MediaCapabilities object that can expose information about the decoding and encoding capabilities for a given format and output capabilities (as defined by the Media Capabilities API).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerNavigator/mediaCapabilities)\n */\n readonly mediaCapabilities: MediaCapabilities;\n /**\n * The **`permissions`** read-only property of the WorkerNavigator interface returns a Permissions object that can be used to query and update permission status of APIs covered by the Permissions API.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerNavigator/permissions)\n */\n readonly permissions: Permissions;\n /**\n * The **`serviceWorker`** read-only property of the WorkerNavigator interface returns the ServiceWorkerContainer object for the associated document, which provides access to registration, removal, upgrade, and communication with the ServiceWorker.\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerNavigator/serviceWorker)\n */\n readonly serviceWorker: ServiceWorkerContainer;\n}\n\ndeclare var WorkerNavigator: {\n prototype: WorkerNavigator;\n new(): WorkerNavigator;\n};\n\n/**\n * The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream)\n */\ninterface WritableStream<W = any> {\n /**\n * The **`locked`** read-only property of the WritableStream interface returns a boolean indicating whether the `WritableStream` is locked to a writer.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/locked)\n */\n readonly locked: boolean;\n /**\n * The **`abort()`** method of the WritableStream interface aborts the stream, signaling that the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/abort)\n */\n abort(reason?: any): Promise<void>;\n /**\n * The **`close()`** method of the WritableStream interface closes the associated stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/close)\n */\n close(): Promise<void>;\n /**\n * The **`getWriter()`** method of the WritableStream interface returns a new instance of WritableStreamDefaultWriter and locks the stream to that instance.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStream/getWriter)\n */\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/**\n * The **`WritableStreamDefaultController`** interface of the Streams API represents a controller allowing control of a WritableStream\'s state.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController)\n */\ninterface WritableStreamDefaultController {\n /**\n * The read-only **`signal`** property of the WritableStreamDefaultController interface returns the AbortSignal associated with the controller.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/signal)\n */\n readonly signal: AbortSignal;\n /**\n * The **`error()`** method of the with the associated stream to error.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error)\n */\n error(e?: any): void;\n}\n\ndeclare var WritableStreamDefaultController: {\n prototype: WritableStreamDefaultController;\n new(): WritableStreamDefaultController;\n};\n\n/**\n * The **`WritableStreamDefaultWriter`** interface of the Streams API 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.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter)\n */\ninterface WritableStreamDefaultWriter<W = any> {\n /**\n * The **`closed`** read-only property of the the stream errors or the writer\'s lock is released.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/closed)\n */\n readonly closed: Promise<void>;\n /**\n * The **`desiredSize`** read-only property of the to fill the stream\'s internal queue.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/desiredSize)\n */\n readonly desiredSize: number | null;\n /**\n * The **`ready`** read-only property of the that resolves when the desired size of the stream\'s internal queue transitions from non-positive to positive, signaling that it is no longer applying backpressure.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/ready)\n */\n readonly ready: Promise<void>;\n /**\n * The **`abort()`** method of the the producer can no longer successfully write to the stream and it is to be immediately moved to an error state, with any queued writes discarded.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/abort)\n */\n abort(reason?: any): Promise<void>;\n /**\n * The **`close()`** method of the stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/close)\n */\n close(): Promise<void>;\n /**\n * The **`releaseLock()`** method of the corresponding stream.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/releaseLock)\n */\n releaseLock(): void;\n /**\n * The **`write()`** method of the operation.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultWriter/write)\n */\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/**\n * `XMLHttpRequest` (XHR) objects are used to interact with servers.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest)\n */\ninterface XMLHttpRequest extends XMLHttpRequestEventTarget {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/readystatechange_event) */\n onreadystatechange: ((this: XMLHttpRequest, ev: Event) => any) | null;\n /**\n * The **XMLHttpRequest.readyState** property returns the state an XMLHttpRequest client is in.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/readyState)\n */\n readonly readyState: number;\n /**\n * The XMLHttpRequest **`response`** property returns the response\'s body content as an ArrayBuffer, a Blob, a Document, a JavaScript Object, or a string, depending on the value of the request\'s XMLHttpRequest.responseType property.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/response)\n */\n readonly response: any;\n /**\n * The read-only XMLHttpRequest property **`responseText`** returns the text received from a server following a request being sent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/responseText)\n */\n readonly responseText: string;\n /**\n * The XMLHttpRequest property **`responseType`** is an enumerated string value specifying the type of data contained in the response.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/responseType)\n */\n responseType: XMLHttpRequestResponseType;\n /**\n * The read-only **`XMLHttpRequest.responseURL`** property returns the serialized URL of the response or the empty string if the URL is `null`.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/responseURL)\n */\n readonly responseURL: string;\n /**\n * The read-only **`XMLHttpRequest.status`** property returns the numerical HTTP status code of the `XMLHttpRequest`\'s response.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/status)\n */\n readonly status: number;\n /**\n * The read-only **`XMLHttpRequest.statusText`** property returns a string containing the response\'s status message as returned by the HTTP server.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/statusText)\n */\n readonly statusText: string;\n /**\n * The **`XMLHttpRequest.timeout`** property is an `unsigned long` representing the number of milliseconds a request can take before automatically being terminated.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/timeout)\n */\n timeout: number;\n /**\n * The XMLHttpRequest `upload` property returns an XMLHttpRequestUpload object that can be observed to monitor an upload\'s progress.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/upload)\n */\n readonly upload: XMLHttpRequestUpload;\n /**\n * The **`XMLHttpRequest.withCredentials`** property is a boolean value that indicates whether or not cross-site `Access-Control` requests should be made using credentials such as cookies, authentication headers or TLS client certificates.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/withCredentials)\n */\n withCredentials: boolean;\n /**\n * The **`XMLHttpRequest.abort()`** method aborts the request if it has already been sent.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/abort)\n */\n abort(): void;\n /**\n * The XMLHttpRequest method **`getAllResponseHeaders()`** returns all the response headers, separated by CRLF, as a string, or returns `null` if no response has been received.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/getAllResponseHeaders)\n */\n getAllResponseHeaders(): string;\n /**\n * The XMLHttpRequest method **`getResponseHeader()`** returns the string containing the text of a particular header\'s value.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/getResponseHeader)\n */\n getResponseHeader(name: string): string | null;\n /**\n * The XMLHttpRequest method **`open()`** initializes a newly-created request, or re-initializes an existing one.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/open)\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 * The XMLHttpRequest method **`overrideMimeType()`** specifies a MIME type other than the one provided by the server to be used instead when interpreting the data being transferred in a request.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/overrideMimeType)\n */\n overrideMimeType(mime: string): void;\n /**\n * The XMLHttpRequest method **`send()`** sends the request to the server.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/send)\n */\n send(body?: XMLHttpRequestBodyInit | null): void;\n /**\n * The XMLHttpRequest method **`setRequestHeader()`** sets the value of an HTTP request header.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/setRequestHeader)\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\n/**\n * `XMLHttpRequestEventTarget` is the interface that describes the event handlers shared on XMLHttpRequest and XMLHttpRequestUpload.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequestEventTarget)\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\n/**\n * The **`XMLHttpRequestUpload`** interface represents the upload process for a specific XMLHttpRequest.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/XMLHttpRequestUpload)\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\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 /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global) */\n interface Global<T extends ValueType = ValueType> {\n value: ValueTypeMap[T];\n valueOf(): ValueTypeMap[T];\n }\n\n var Global: {\n prototype: Global;\n new<T extends ValueType = ValueType>(descriptor: GlobalDescriptor<T>, v?: ValueTypeMap[T]): Global<T>;\n };\n\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance) */\n interface Instance {\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance/exports) */\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 /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory) */\n interface Memory {\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/buffer) */\n readonly buffer: ArrayBuffer;\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory/grow) */\n grow(delta: number): number;\n }\n\n var Memory: {\n prototype: Memory;\n new(descriptor: MemoryDescriptor): Memory;\n };\n\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module) */\n interface Module {\n }\n\n var Module: {\n prototype: Module;\n new(bytes: BufferSource): Module;\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/customSections_static) */\n customSections(moduleObject: Module, sectionName: string): ArrayBuffer[];\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/exports_static) */\n exports(moduleObject: Module): ModuleExportDescriptor[];\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module/imports_static) */\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 /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table) */\n interface Table {\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/length) */\n readonly length: number;\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/get) */\n get(index: number): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/grow) */\n grow(delta: number, value?: any): number;\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table/set) */\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<T extends ValueType = ValueType> {\n mutable?: boolean;\n value: T;\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 ValueTypeMap {\n anyfunc: Function;\n externref: any;\n f32: number;\n f64: number;\n i32: number;\n i64: bigint;\n v128: never;\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 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 type ValueType = keyof ValueTypeMap;\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static) */\n function compile(bytes: BufferSource): Promise<Module>;\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static) */\n function compileStreaming(source: Response | PromiseLike<Response>): Promise<Module>;\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static) */\n function instantiate(bytes: BufferSource, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;\n function instantiate(moduleObject: Module, importObject?: Imports): Promise<Instance>;\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static) */\n function instantiateStreaming(source: Response | PromiseLike<Response>, importObject?: Imports): Promise<WebAssemblyInstantiatedSource>;\n /** [MDN Reference](https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static) */\n function validate(bytes: BufferSource): boolean;\n}\n\n/** The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox). */\n/**\n * The **`console`** object provides access to the debugging console (e.g., the Web console in Firefox).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console)\n */\ninterface Console {\n /**\n * The **`console.assert()`** static method writes an error message to the console if the assertion is false.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/assert_static)\n */\n assert(condition?: boolean, ...data: any[]): void;\n /**\n * The **`console.clear()`** static method clears the console if possible.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/clear_static)\n */\n clear(): void;\n /**\n * The **`console.count()`** static method logs the number of times that this particular call to `count()` has been called.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/count_static)\n */\n count(label?: string): void;\n /**\n * The **`console.countReset()`** static method resets counter used with console/count_static.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/countReset_static)\n */\n countReset(label?: string): void;\n /**\n * The **`console.debug()`** static method outputs a message to the console at the \'debug\' log level.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/debug_static)\n */\n debug(...data: any[]): void;\n /**\n * The **`console.dir()`** static method displays a list of the properties of the specified JavaScript object.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dir_static)\n */\n dir(item?: any, options?: any): void;\n /**\n * The **`console.dirxml()`** static method displays an interactive tree of the descendant elements of the specified XML/HTML element.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/dirxml_static)\n */\n dirxml(...data: any[]): void;\n /**\n * The **`console.error()`** static method outputs a message to the console at the \'error\' log level.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/error_static)\n */\n error(...data: any[]): void;\n /**\n * The **`console.group()`** static method creates a new inline group in the Web console log, causing any subsequent console messages to be indented by an additional level, until console/groupEnd_static is called.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/group_static)\n */\n group(...data: any[]): void;\n /**\n * The **`console.groupCollapsed()`** static method creates a new inline group in the console.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupCollapsed_static)\n */\n groupCollapsed(...data: any[]): void;\n /**\n * The **`console.groupEnd()`** static method exits the current inline group in the console.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/groupEnd_static)\n */\n groupEnd(): void;\n /**\n * The **`console.info()`** static method outputs a message to the console at the \'info\' log level.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/info_static)\n */\n info(...data: any[]): void;\n /**\n * The **`console.log()`** static method outputs a message to the console.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/log_static)\n */\n log(...data: any[]): void;\n /**\n * The **`console.table()`** static method displays tabular data as a table.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/table_static)\n */\n table(tabularData?: any, properties?: string[]): void;\n /**\n * The **`console.time()`** static method starts a timer you can use to track how long an operation takes.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/time_static)\n */\n time(label?: string): void;\n /**\n * The **`console.timeEnd()`** static method stops a timer that was previously started by calling console/time_static.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeEnd_static)\n */\n timeEnd(label?: string): void;\n /**\n * The **`console.timeLog()`** static method logs the current value of a timer that was previously started by calling console/time_static.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/timeLog_static)\n */\n timeLog(label?: string, ...data: any[]): void;\n timeStamp(label?: string): void;\n /**\n * The **`console.trace()`** static method outputs a stack trace to the console.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/trace_static)\n */\n trace(...data: any[]): void;\n /**\n * The **`console.warn()`** static method outputs a warning message to the console at the \'warning\' log level.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/console/warn_static)\n */\n warn(...data: any[]): void;\n}\n\ndeclare var console: Console;\n\ninterface AudioDataOutputCallback {\n (output: AudioData): void;\n}\n\ninterface EncodedAudioChunkOutputCallback {\n (output: EncodedAudioChunk, metadata?: EncodedAudioChunkMetadata): void;\n}\n\ninterface EncodedVideoChunkOutputCallback {\n (chunk: EncodedVideoChunk, metadata?: EncodedVideoChunkMetadata): void;\n}\n\ninterface FrameRequestCallback {\n (time: DOMHighResTimeStamp): void;\n}\n\ninterface LockGrantedCallback<T> {\n (lock: Lock | null): T;\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 ReportingObserverCallback {\n (reports: Report[], observer: ReportingObserver): 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 VideoFrameOutputCallback {\n (output: VideoFrame): void;\n}\n\ninterface VoidFunction {\n (): void;\n}\n\ninterface WebCodecsErrorCallback {\n (error: DOMException): void;\n}\n\n/**\n * The **`name`** read-only property of the the Worker.Worker constructor can pass to get a reference to the DedicatedWorkerGlobalScope.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/name)\n */\ndeclare var name: string;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/rtctransform_event) */\ndeclare var onrtctransform: ((this: DedicatedWorkerGlobalScope, ev: RTCTransformEvent) => any) | null;\n/**\n * The **`close()`** method of the DedicatedWorkerGlobalScope interface discards any tasks queued in the `DedicatedWorkerGlobalScope`\'s event loop, effectively closing this particular scope.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/close)\n */\ndeclare function close(): void;\n/**\n * The **`postMessage()`** method of the DedicatedWorkerGlobalScope interface sends a message to the main thread that spawned it.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/postMessage)\n */\ndeclare function postMessage(message: any, transfer: Transferable[]): void;\ndeclare function postMessage(message: any, options?: StructuredSerializeOptions): void;\n/**\n * The **`dispatchEvent()`** method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)\n */\ndeclare function dispatchEvent(event: Event): boolean;\n/**\n * The **`location`** read-only property of the WorkerGlobalScope interface returns the WorkerLocation associated with the worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/location)\n */\ndeclare var location: WorkerLocation;\n/**\n * The **`navigator`** read-only property of the WorkerGlobalScope interface returns the WorkerNavigator associated with the worker.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/navigator)\n */\ndeclare var navigator: WorkerNavigator;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/error_event) */\ndeclare var onerror: ((this: DedicatedWorkerGlobalScope, ev: ErrorEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/languagechange_event) */\ndeclare var onlanguagechange: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/offline_event) */\ndeclare var onoffline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/online_event) */\ndeclare var ononline: ((this: DedicatedWorkerGlobalScope, ev: Event) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/rejectionhandled_event) */\ndeclare var onrejectionhandled: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/unhandledrejection_event) */\ndeclare var onunhandledrejection: ((this: DedicatedWorkerGlobalScope, ev: PromiseRejectionEvent) => any) | null;\n/**\n * The **`self`** read-only property of the WorkerGlobalScope interface returns a reference to the `WorkerGlobalScope` itself.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/self)\n */\ndeclare var self: WorkerGlobalScope & typeof globalThis;\n/**\n * The **`importScripts()`** method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker\'s scope.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WorkerGlobalScope/importScripts)\n */\ndeclare function importScripts(...urls: (string | URL)[]): void;\n/**\n * The **`dispatchEvent()`** method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)\n */\ndeclare function dispatchEvent(event: Event): boolean;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fonts) */\ndeclare var fonts: FontFaceSet;\n/**\n * Available only in secure contexts.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/caches)\n */\ndeclare var caches: CacheStorage;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crossOriginIsolated) */\ndeclare var crossOriginIsolated: boolean;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/crypto) */\ndeclare var crypto: Crypto;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/indexedDB) */\ndeclare var indexedDB: IDBFactory;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/isSecureContext) */\ndeclare var isSecureContext: boolean;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/origin) */\ndeclare var origin: string;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/performance) */\ndeclare var performance: Performance;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/atob) */\ndeclare function atob(data: string): string;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/btoa) */\ndeclare function btoa(data: string): string;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearInterval) */\ndeclare function clearInterval(id: number | undefined): void;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/clearTimeout) */\ndeclare function clearTimeout(id: number | undefined): void;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/createImageBitmap) */\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>;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) */\ndeclare function fetch(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/queueMicrotask) */\ndeclare function queueMicrotask(callback: VoidFunction): void;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/reportError) */\ndeclare function reportError(e: any): void;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setInterval) */\ndeclare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/setTimeout) */\ndeclare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/structuredClone) */\ndeclare function structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */\ndeclare function cancelAnimationFrame(handle: number): void;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */\ndeclare function requestAnimationFrame(callback: FrameRequestCallback): number;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/message_event) */\ndeclare var onmessage: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/messageerror_event) */\ndeclare var onmessageerror: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\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 AllowSharedBufferSource = ArrayBufferLike | ArrayBufferView<ArrayBufferLike>;\ntype BigInteger = Uint8Array<ArrayBuffer>;\ntype BlobPart = BufferSource | Blob | string;\ntype BodyInit = ReadableStream | XMLHttpRequestBodyInit;\ntype BufferSource = ArrayBufferView<ArrayBuffer> | ArrayBuffer;\ntype CSSKeywordish = string | CSSKeywordValue;\ntype CSSNumberish = number | CSSNumericValue;\ntype CSSPerspectiveValue = CSSNumericValue | CSSKeywordish;\ntype CSSUnparsedSegment = string | CSSVariableReferenceValue;\ntype CanvasImageSource = ImageBitmap | OffscreenCanvas | VideoFrame;\ntype CookieList = CookieListItem[];\ntype DOMHighResTimeStamp = number;\ntype EpochTimeStamp = number;\ntype EventListenerOrEventListenerObject = EventListener | EventListenerObject;\ntype FileSystemWriteChunkType = BufferSource | Blob | string | WriteParams;\ntype Float32List = Float32Array<ArrayBufferLike> | 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 ImageBufferSource = AllowSharedBufferSource | ReadableStream;\ntype ImageDataArray = Uint8ClampedArray<ArrayBuffer>;\ntype Int32List = Int32Array<ArrayBufferLike> | 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 ReportList = Report[];\ntype RequestInfo = Request | string;\ntype TexImageSource = ImageBitmap | ImageData | OffscreenCanvas | VideoFrame;\ntype TimerHandler = string | Function;\ntype Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | AudioData | VideoFrame | RTCDataChannel | ArrayBuffer;\ntype Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];\ntype XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;\ntype AlphaOption = "discard" | "keep";\ntype AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";\ntype AvcBitstreamFormat = "annexb" | "avc";\ntype BinaryType = "arraybuffer" | "blob";\ntype BitrateMode = "constant" | "variable";\ntype CSSMathOperator = "clamp" | "invert" | "max" | "min" | "negate" | "product" | "sum";\ntype CSSNumericBaseType = "angle" | "flex" | "frequency" | "length" | "percent" | "resolution" | "time";\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 CodecState = "closed" | "configured" | "unconfigured";\ntype ColorGamut = "p3" | "rec2020" | "srgb";\ntype ColorSpaceConversion = "default" | "none";\ntype CompressionFormat = "deflate" | "deflate-raw" | "gzip";\ntype CookieSameSite = "lax" | "none" | "strict";\ntype DocumentVisibilityState = "hidden" | "visible";\ntype EncodedAudioChunkType = "delta" | "key";\ntype EncodedVideoChunkType = "delta" | "key";\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 HardwareAcceleration = "no-preference" | "prefer-hardware" | "prefer-software";\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" | "none";\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 LatencyMode = "quality" | "realtime";\ntype LockMode = "exclusive" | "shared";\ntype MediaDecodingType = "file" | "media-source" | "webrtc";\ntype MediaEncodingType = "record" | "webrtc";\ntype MediaKeysRequirement = "not-allowed" | "optional" | "required";\ntype NotificationDirection = "auto" | "ltr" | "rtl";\ntype NotificationPermission = "default" | "denied" | "granted";\ntype OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";\ntype OpusBitstreamFormat = "ogg" | "opus";\ntype PermissionName = "camera" | "geolocation" | "microphone" | "midi" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "storage-access";\ntype PermissionState = "denied" | "granted" | "prompt";\ntype PredefinedColorSpace = "display-p3" | "srgb";\ntype PremultiplyAlpha = "default" | "none" | "premultiply";\ntype PushEncryptionKeyName = "auth" | "p256dh";\ntype RTCDataChannelState = "closed" | "closing" | "connecting" | "open";\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 RequestPriority = "auto" | "high" | "low";\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 VideoEncoderBitrateMode = "constant" | "quantizer" | "variable";\ntype VideoMatrixCoefficients = "bt470bg" | "bt709" | "rgb" | "smpte170m";\ntype VideoPixelFormat = "BGRA" | "BGRX" | "I420" | "I420A" | "I422" | "I444" | "NV12" | "RGBA" | "RGBX";\ntype VideoTransferCharacteristics = "bt709" | "iec61966-2-1" | "smpte170m";\ntype WebGLPowerPreference = "default" | "high-performance" | "low-power";\ntype WebTransportCongestionControl = "default" | "low-latency" | "throughput";\ntype WebTransportErrorSource = "session" | "stream";\ntype WorkerType = "classic" | "module";\ntype WriteCommandType = "seek" | "truncate" | "write";\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/// 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 CSSNumericArray {\n [Symbol.iterator](): ArrayIterator<CSSNumericValue>;\n entries(): ArrayIterator<[number, CSSNumericValue]>;\n keys(): ArrayIterator<number>;\n values(): ArrayIterator<CSSNumericValue>;\n}\n\ninterface CSSTransformValue {\n [Symbol.iterator](): ArrayIterator<CSSTransformComponent>;\n entries(): ArrayIterator<[number, CSSTransformComponent]>;\n keys(): ArrayIterator<number>;\n values(): ArrayIterator<CSSTransformComponent>;\n}\n\ninterface CSSUnparsedValue {\n [Symbol.iterator](): ArrayIterator<CSSUnparsedSegment>;\n entries(): ArrayIterator<[number, CSSUnparsedSegment]>;\n keys(): ArrayIterator<number>;\n values(): ArrayIterator<CSSUnparsedSegment>;\n}\n\ninterface Cache {\n /**\n * The **`addAll()`** method of the Cache interface takes an array of URLs, retrieves them, and adds the resulting response objects to the given cache.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll)\n */\n addAll(requests: Iterable<RequestInfo>): Promise<void>;\n}\n\ninterface CanvasPath {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) */\n roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;\n}\n\ninterface CanvasPathDrawingStyles {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash) */\n setLineDash(segments: Iterable<number>): void;\n}\n\ninterface CookieStoreManager {\n /**\n * The **`subscribe()`** method of the CookieStoreManager interface subscribes a ServiceWorkerRegistration to cookie change events.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)\n */\n subscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;\n /**\n * The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)\n */\n unsubscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;\n}\n\ninterface DOMStringList {\n [Symbol.iterator](): ArrayIterator<string>;\n}\n\ninterface FileList {\n [Symbol.iterator](): ArrayIterator<File>;\n}\n\ninterface FontFaceSet extends Set<FontFace> {\n}\n\ninterface FormDataIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {\n [Symbol.iterator](): FormDataIterator<T>;\n}\n\ninterface FormData {\n [Symbol.iterator](): FormDataIterator<[string, FormDataEntryValue]>;\n /** Returns an array of key, value pairs for every entry in the list. */\n entries(): FormDataIterator<[string, FormDataEntryValue]>;\n /** Returns a list of keys in the list. */\n keys(): FormDataIterator<string>;\n /** Returns a list of values in the list. */\n values(): FormDataIterator<FormDataEntryValue>;\n}\n\ninterface HeadersIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {\n [Symbol.iterator](): HeadersIterator<T>;\n}\n\ninterface Headers {\n [Symbol.iterator](): HeadersIterator<[string, string]>;\n /** Returns an iterator allowing to go through all key/value pairs contained in this object. */\n entries(): HeadersIterator<[string, string]>;\n /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */\n keys(): HeadersIterator<string>;\n /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */\n values(): HeadersIterator<string>;\n}\n\ninterface IDBDatabase {\n /**\n * The **`transaction`** method of the IDBDatabase interface immediately returns a transaction object (IDBTransaction) containing the IDBTransaction.objectStore method, which you can use to access your object store.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)\n */\n transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction;\n}\n\ninterface IDBObjectStore {\n /**\n * The **`createIndex()`** method of the field/column defining a new data point for each database record to contain.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)\n */\n createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;\n}\n\ninterface ImageTrackList {\n [Symbol.iterator](): ArrayIterator<ImageTrack>;\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 StylePropertyMapReadOnlyIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {\n [Symbol.iterator](): StylePropertyMapReadOnlyIterator<T>;\n}\n\ninterface StylePropertyMapReadOnly {\n [Symbol.iterator](): StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>;\n entries(): StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>;\n keys(): StylePropertyMapReadOnlyIterator<string>;\n values(): StylePropertyMapReadOnlyIterator<Iterable<CSSStyleValue>>;\n}\n\ninterface SubtleCrypto {\n /**\n * The **`deriveKey()`** method of the SubtleCrypto interface can be used to derive a secret key from a master key.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey)\n */\n deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;\n /**\n * The **`generateKey()`** method of the SubtleCrypto interface is used to generate a new key (for symmetric algorithms) or key pair (for public-key algorithms).\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey)\n */\n generateKey(algorithm: "Ed25519" | { name: "Ed25519" }, extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;\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 /**\n * The **`importKey()`** method of the SubtleCrypto interface imports a key: that is, it takes as input a key in an external, portable format and gives you a CryptoKey object that you can use in the Web Crypto API.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey)\n */\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 /**\n * The **`unwrapKey()`** method of the SubtleCrypto interface \'unwraps\' a key.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey)\n */\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 URLSearchParamsIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {\n [Symbol.iterator](): URLSearchParamsIterator<T>;\n}\n\ninterface URLSearchParams {\n [Symbol.iterator](): URLSearchParamsIterator<[string, string]>;\n /** Returns an array of key, value pairs for every entry in the search params. */\n entries(): URLSearchParamsIterator<[string, string]>;\n /** Returns a list of keys in the search params. */\n keys(): URLSearchParamsIterator<string>;\n /** Returns a list of values in the search params. */\n values(): URLSearchParamsIterator<string>;\n}\n\ninterface WEBGL_draw_buffers {\n /**\n * The **`WEBGL_draw_buffers.drawBuffersWEBGL()`** method is part of the WebGL API and allows you to define the draw buffers to which all fragment colors are written.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL)\n */\n drawBuffersWEBGL(buffers: Iterable<GLenum>): void;\n}\n\ninterface WEBGL_multi_draw {\n /**\n * The **`WEBGL_multi_draw.multiDrawArraysInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)\n */\n multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>, firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;\n /**\n * The **`WEBGL_multi_draw.multiDrawArraysWEBGL()`** method of the WebGL API renders multiple primitives from array data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL)\n */\n multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>, firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, drawcount: GLsizei): void;\n /**\n * The **`WEBGL_multi_draw.multiDrawElementsInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)\n */\n multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, offsetsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;\n /**\n * The **`WEBGL_multi_draw.multiDrawElementsWEBGL()`** method of the WebGL API renders multiple primitives from array data.\n *\n * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL)\n */\n multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void;\n}\n\ninterface WebGL2RenderingContextBase {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */\n clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */\n clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */\n clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: number): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */\n drawBuffers(buffers: Iterable<GLenum>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */\n getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */\n getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): GLuint[] | null;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */\n invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */\n invalidateSubFramebuffer(target: GLenum, attachments: Iterable<GLenum>, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */\n transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */\n uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */\n vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */\n vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;\n}\n\ninterface WebGL2RenderingContextOverloads {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;\n}\n\ninterface WebGLRenderingContextBase {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */\n vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;\n}\n\ninterface WebGLRenderingContextOverloads {\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */\n uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */\n uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */\n uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\n /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */\n uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;\n}\n';function Wm(b){return typeof b=="string"?/^file:\/\/\//.test(b)?!!ji[b.substr(8)]:!1:b.path.indexOf("/lib.")===0?!!ji[b.path.slice(1)]:!1}class IR{constructor(g,x){this._extraLibs=Object.create(null),this._languageService=S0e(this),this._ctx=g,this._compilerOptions=x.compilerOptions,this._extraLibs=x.extraLibs,this._inlayHintsOptions=x.inlayHintsOptions}getCompilationSettings(){return this._compilerOptions}getLanguageService(){return this._languageService}getExtraLibs(){return this._extraLibs}getScriptFileNames(){return this._ctx.getMirrorModels().map(W=>W.uri).filter(W=>!Wm(W)).map(W=>W.toString()).concat(Object.keys(this._extraLibs))}_getModel(g){let x=this._ctx.getMirrorModels();for(let W=0;W<x.length;W++){const X=x[W].uri;if(X.toString()===g||X.toString(!0)===g)return x[W]}return null}getScriptVersion(g){let x=this._getModel(g);return x?x.version.toString():this.isDefaultLibFileName(g)?"1":g in this._extraLibs?String(this._extraLibs[g].version):""}async getScriptText(g){return this._getScriptText(g)}_getScriptText(g){let x,W=this._getModel(g);const X="lib."+g+".d.ts";if(W)x=W.getValue();else if(g in ji)x=ji[g];else if(X in ji)x=ji[X];else if(g in this._extraLibs)x=this._extraLibs[g].content;else return;return x}getScriptSnapshot(g){const x=this._getScriptText(g);if(x!==void 0)return{getText:(W,X)=>x.substring(W,X),getLength:()=>x.length,getChangeRange:()=>{}}}getScriptKind(g){switch(g.substr(g.lastIndexOf(".")+1)){case"ts":return uN.TS;case"tsx":return uN.TSX;case"js":return uN.JS;case"jsx":return uN.JSX;default:return this.getCompilationSettings().allowJs?uN.JS:uN.TS}}getCurrentDirectory(){return""}getDefaultLibFileName(g){switch(g.target){case 99:const x="lib.esnext.full.d.ts";if(x in ji||x in this._extraLibs)return x;case 7:case 6:case 5:case 4:case 3:case 2:default:const W="lib.es".concat(2013+(g.target||99),".full.d.ts");return W in ji||W in this._extraLibs?W:"lib.es6.d.ts";case 1:case 0:return"lib.d.ts"}}isDefaultLibFileName(g){return g===this.getDefaultLibFileName(this._compilerOptions)}readFile(g){return this._getScriptText(g)}fileExists(g){return this._getScriptText(g)!==void 0}async getLibFiles(){return ji}static clearFiles(g){const x=[];for(const W of g){const X={...W};if(X.file=X.file?{fileName:X.file.fileName}:void 0,W.relatedInformation){X.relatedInformation=[];for(const fe of W.relatedInformation){const Me={...fe};Me.file=Me.file?{fileName:Me.file.fileName}:void 0,X.relatedInformation.push(Me)}}x.push(X)}return x}async getSyntacticDiagnostics(g){if(Wm(g))return[];const x=this._languageService.getSyntacticDiagnostics(g);return IR.clearFiles(x)}async getSemanticDiagnostics(g){if(Wm(g))return[];const x=this._languageService.getSemanticDiagnostics(g);return IR.clearFiles(x)}async getSuggestionDiagnostics(g){if(Wm(g))return[];const x=this._languageService.getSuggestionDiagnostics(g);return IR.clearFiles(x)}async getCompilerOptionsDiagnostics(g){if(Wm(g))return[];const x=this._languageService.getCompilerOptionsDiagnostics();return IR.clearFiles(x)}async getCompletionsAtPosition(g,x){if(!Wm(g))return this._languageService.getCompletionsAtPosition(g,x,void 0)}async getCompletionEntryDetails(g,x,W){return this._languageService.getCompletionEntryDetails(g,x,W,void 0,void 0,void 0,void 0)}async getSignatureHelpItems(g,x,W){if(!Wm(g))return this._languageService.getSignatureHelpItems(g,x,W)}async getQuickInfoAtPosition(g,x){if(!Wm(g))return this._languageService.getQuickInfoAtPosition(g,x)}async getDocumentHighlights(g,x,W){if(!Wm(g))return this._languageService.getDocumentHighlights(g,x,W)}async getDefinitionAtPosition(g,x){if(!Wm(g))return this._languageService.getDefinitionAtPosition(g,x)}async getReferencesAtPosition(g,x){if(!Wm(g))return this._languageService.getReferencesAtPosition(g,x)}async getNavigationTree(g){if(!Wm(g))return this._languageService.getNavigationTree(g)}async getFormattingEditsForDocument(g,x){return Wm(g)?[]:this._languageService.getFormattingEditsForDocument(g,x)}async getFormattingEditsForRange(g,x,W,X){return Wm(g)?[]:this._languageService.getFormattingEditsForRange(g,x,W,X)}async getFormattingEditsAfterKeystroke(g,x,W,X){return Wm(g)?[]:this._languageService.getFormattingEditsAfterKeystroke(g,x,W,X)}async findRenameLocations(g,x,W,X,fe){if(!Wm(g))return this._languageService.findRenameLocations(g,x,W,X,fe)}async getRenameInfo(g,x,W){return Wm(g)?{canRename:!1,localizedErrorMessage:"Cannot rename in lib file"}:this._languageService.getRenameInfo(g,x,W)}async getEmitOutput(g,x,W){if(Wm(g))return{outputFiles:[],emitSkipped:!0};const X=this._languageService.getEmitOutput(g,x,W),fe=X.diagnostics?IR.clearFiles(X.diagnostics):void 0;return{...X,diagnostics:fe}}async getCodeFixesAtPosition(g,x,W,X,fe){if(Wm(g))return[];const Me={};try{return this._languageService.getCodeFixesAtPosition(g,x,W,X,fe,Me)}catch(qe){return[]}}async updateExtraLibs(g){this._extraLibs=g}async provideInlayHints(g,x,W){var Me;if(Wm(g))return[];const X=(Me=this._inlayHintsOptions)!=null?Me:{},fe={start:x,length:W-x};try{return this._languageService.provideInlayHints(g,fe,X)}catch(qe){return[]}}}function XBe(b,g){let x=IR;if(g.customWorkerPath)if(typeof importScripts>"u")console.warn("Monaco is not using webworkers for background tasks, and that is needed to support the customWorkerPath flag");else{self.importScripts(g.customWorkerPath);const W=self.customTSWorkerFactory;if(!W)throw new Error("The script at ".concat(g.customWorkerPath," does not add customTSWorkerFactory to self"));x=W(IR,KBe,ji)}return new x(b,g)}globalThis.ts=E0e,self.onmessage=()=>{BBe((b,g)=>XBe(b,g))}})();
|
||
//# sourceMappingURL=ts.worker-BzaIlkf9.js.map
|