/*!-------------------------------------------------------- * Copyright (C) Microsoft Corporation. All rights reserved. *--------------------------------------------------------*/(function(){var ae=["require","exports","vs/base/common/platform","vs/base/common/path","vs/base/common/extpath","vs/base/common/strings","vs/base/common/uri","vs/base/common/lifecycle","vs/base/common/cancellation","vs/base/common/async","vs/base/node/pfs","fs","vs/base/common/errors","vs/base/common/types","vs/nls","vs/nls!vs/code/node/cli","vs/base/common/event","vs/base/common/network","vs/base/common/resources","os","vs/base/common/arrays","vs/base/common/functional","vs/base/common/map","vs/base/common/normalization","vs/base/common/process","vs/platform/environment/node/argv","vs/platform/instantiation/common/instantiation","vs/base/common/iterator","vs/base/common/lazy","vs/base/common/linkedList","vs/base/common/ports","vs/base/node/ports","vs/nls!vs/base/common/platform","vs/base/common/stopwatch","vs/base/common/cache","vs/base/common/ternarySearchTree","vs/base/common/glob","vs/base/node/extpath","vs/base/node/terminalEncoding","child_process","vs/nls!vs/platform/environment/node/argv","vs/nls!vs/platform/environment/node/argvHelper","vs/nls!vs/platform/files/common/files","vs/platform/environment/node/argvHelper","vs/platform/environment/node/stdin","vs/platform/environment/node/wait","vs/platform/files/common/files","vs/platform/files/common/watcher","vs/platform/files/node/watcher/nodejs/nodejsWatcherLib","vs/platform/product/common/product","vs/platform/profiling/common/profiling","net","util","minimist","assert","vs/code/node/cli"],le=function(se){for(var e=[],_=0,O=se.length;_{throw y.stack?t.isErrorNoTelemetry(y)?new t(y.message+` `+y.stack):new Error(y.message+` `+y.stack):y},0)}}addListener(y){return this.listeners.push(y),()=>{this._removeListener(y)}}emit(y){this.listeners.forEach(w=>{w(y)})}_removeListener(y){this.listeners.splice(this.listeners.indexOf(y),1)}setUnexpectedErrorHandler(y){this.unexpectedErrorHandler=y}getUnexpectedErrorHandler(){return this.unexpectedErrorHandler}onUnexpectedError(y){this.unexpectedErrorHandler(y),this.emit(y)}onUnexpectedExternalError(y){this.unexpectedErrorHandler(y)}}e.ErrorHandler=_,e.errorHandler=new _;function O(g){e.errorHandler.setUnexpectedErrorHandler(g)}e.setUnexpectedErrorHandler=O;function A(g){S(g)||e.errorHandler.onUnexpectedError(g)}e.onUnexpectedError=A;function j(g){S(g)||e.errorHandler.onUnexpectedExternalError(g)}e.onUnexpectedExternalError=j;function R(g){if(g instanceof Error){const{name:y,message:w}=g,d=g.stacktrace||g.stack;return{$isError:!0,name:y,message:w,stack:d,noTelemetry:t.isErrorNoTelemetry(g)}}return g}e.transformErrorForSerialization=R;const F="Canceled";function S(g){return g instanceof I?!0:g instanceof Error&&g.name===F&&g.message===F}e.isCancellationError=S;class I extends Error{constructor(){super(F),this.name=this.message}}e.CancellationError=I;function N(){const g=new Error(F);return g.name=g.message,g}e.canceled=N;function W(g){return g?new Error(`Illegal argument: ${g}`):new Error("Illegal argument")}e.illegalArgument=W;function z(g){return g?new Error(`Illegal state: ${g}`):new Error("Illegal state")}e.illegalState=z;function f(g){return g?new Error(`readonly property '${g} cannot be changed'`):new Error("readonly property cannot be changed")}e.readonly=f;function l(g){const y=new Error(`${g} has been disposed`);return y.name="DISPOSED",y}e.disposed=l;function r(g){return g?g.message?g.message:g.stack?g.stack.split(` `)[0]:String(g):"Error"}e.getErrorMessage=r;class s extends Error{constructor(y){super("NotImplemented"),y&&(this.message=y)}}e.NotImplementedError=s;class u extends Error{constructor(y){super("NotSupported"),y&&(this.message=y)}}e.NotSupportedError=u;class E extends Error{constructor(){super(...arguments),this.isExpected=!0}}e.ExpectedError=E;class t extends Error{constructor(y){super(y),this.name="CodeExpectedError"}static fromError(y){if(y instanceof t)return y;const w=new t;return w.message=y.message,w.stack=y.stack,w}static isErrorNoTelemetry(y){return y.name==="CodeExpectedError"}}e.ErrorNoTelemetry=t;class a extends Error{constructor(y){super(y||"An unexpected bug occurred."),Object.setPrototypeOf(this,a.prototype);debugger}}e.BugIndicatingError=a}),define(ae[20],le([0,1,12]),function(se,e,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CallbackIterable=e.ArrayQueue=e.findMinBy=e.findLastMaxBy=e.findMaxBy=e.numberComparator=e.tieBreakComparators=e.compareBy=e.CompareResult=e.splice=e.insertInto=e.mapFind=e.getRandomElement=e.asArray=e.mapArrayOrNot=e.pushMany=e.pushToEnd=e.pushToStart=e.shuffle=e.arrayInsert=e.remove=e.insert=e.index=e.range=e.flatten=e.commonPrefixLength=e.lastOrDefault=e.firstOrDefault=e.lastIndex=e.findLast=e.uniqueFilter=e.distinct=e.isNonEmptyArray=e.isFalsyOrEmpty=e.move=e.coalesceInPlace=e.coalesce=e.topAsync=e.top=e.delta=e.sortedDiff=e.groupBy=e.quickSelect=e.findFirstInSorted=e.binarySearch2=e.binarySearch=e.removeFastWithoutKeepingOrder=e.equals=e.tail2=e.tail=void 0;function O(m,p=0){return m[m.length-(1+p)]}e.tail=O;function A(m){if(m.length===0)throw new Error("Invalid tail call");return[m.slice(0,m.length-1),m[m.length-1]]}e.tail2=A;function j(m,p,L=(q,X)=>q===X){if(m===p)return!0;if(!m||!p||m.length!==p.length)return!1;for(let q=0,X=m.length;qL(m[q],p))}e.binarySearch=F;function S(m,p){let L=0,q=m-1;for(;L<=q;){const X=(L+q)/2|0,ce=p(X);if(ce<0)L=X+1;else if(ce>0)q=X-1;else return X}return-(L+1)}e.binarySearch2=S;function I(m,p){let L=0,q=m.length;if(q===0)return 0;for(;L=p.length)throw new TypeError("invalid index");const q=p[Math.floor(p.length*Math.random())],X=[],ce=[],fe=[];for(const ve of p){const ye=L(ve,q);ye<0?X.push(ve):ye>0?ce.push(ve):fe.push(ve)}return m0&&(X(ce,0,[ye]),fe+=1)}return q}e.sortedDiff=z;function f(m,p,L){const q=z(m,p,L),X=[],ce=[];for(const fe of q)X.push(...m.slice(fe.start,fe.start+fe.deleteCount)),ce.push(...fe.toInsert);return{removed:X,added:ce}}e.delta=f;function l(m,p,L){if(L===0)return[];const q=m.slice(0,L).sort(p);return s(m,p,q,L,m.length),q}e.top=l;function r(m,p,L,q,X){return L===0?Promise.resolve([]):new Promise((ce,fe)=>{(async()=>{const ve=m.length,ye=m.slice(0,L).sort(p);for(let be=L,_e=Math.min(L+q,ve);beL&&await new Promise(Ie=>setTimeout(Ie)),X&&X.isCancellationRequested)throw new _.CancellationError;s(m,p,ye,be,_e)}return ye})().then(ce,fe)})}e.topAsync=r;function s(m,p,L,q,X){for(const ce=L.length;qp(fe,ye)<0);L.splice(ve,0,fe)}}}function u(m){return m.filter(p=>!!p)}e.coalesce=u;function E(m){let p=0;for(let L=0;L0}e.isNonEmptyArray=g;function y(m,p=L=>L){const L=new Set;return m.filter(q=>{const X=p(q);return L.has(X)?!1:(L.add(X),!0)})}e.distinct=y;function w(m){const p=new Set;return L=>{const q=m(L);return p.has(q)?!1:(p.add(q),!0)}}e.uniqueFilter=w;function d(m,p){const L=v(m,p);if(L!==-1)return m[L]}e.findLast=d;function v(m,p){for(let L=m.length-1;L>=0;L--){const q=m[L];if(p(q))return L}return-1}e.lastIndex=v;function i(m,p){return m.length>0?m[0]:p}e.firstOrDefault=i;function o(m,p){return m.length>0?m[m.length-1]:p}e.lastOrDefault=o;function n(m,p,L=(q,X)=>q===X){let q=0;for(let X=0,ce=Math.min(m.length,p.length);Xp;X--)q.push(X);return q}e.range=P;function G(m,p,L){return m.reduce((q,X)=>(q[p(X)]=L?L(X):X,q),Object.create(null))}e.index=G;function ie(m,p){return m.push(p),()=>ne(m,p)}e.insert=ie;function ne(m,p){const L=m.indexOf(p);if(L>-1)return m.splice(L,1),p}e.remove=ne;function de(m,p,L){const q=m.slice(0,p),X=m.slice(p);return q.concat(L,X)}e.arrayInsert=de;function me(m,p){let L;if(typeof p=="number"){let q=p;L=()=>{const X=Math.sin(q++)*179426549;return X-Math.floor(X)}}else L=Math.random;for(let q=m.length-1;q>0;q-=1){const X=Math.floor(L()*(q+1)),ce=m[q];m[q]=m[X],m[X]=ce}}e.shuffle=me;function ge(m,p){const L=m.indexOf(p);L>-1&&(m.splice(L,1),m.unshift(p))}e.pushToStart=ge;function ue(m,p){const L=m.indexOf(p);L>-1&&(m.splice(L,1),m.push(p))}e.pushToEnd=ue;function V(m,p){for(const L of p)m.push(L)}e.pushMany=V;function J(m,p){return Array.isArray(m)?m.map(p):p(m)}e.mapArrayOrNot=J;function C(m){return Array.isArray(m)?m:[m]}e.asArray=C;function K(m){return m[Math.floor(Math.random()*m.length)]}e.getRandomElement=K;function M(m,p){for(const L of m){const q=p(L);if(q!==void 0)return q}}e.mapFind=M;function $(m,p,L){const q=Z(m,p),X=m.length,ce=L.length;m.length=X+ce;for(let fe=X-1;fe>=q;fe--)m[fe+ce]=m[fe];for(let fe=0;fe0}m.isGreaterThan=L;function q(X){return X===0}m.isNeitherLessOrGreaterThan=q,m.greaterThan=1,m.lessThan=-1,m.neitherLessOrGreaterThan=0})(te=e.CompareResult||(e.CompareResult={}));function oe(m,p){return(L,q)=>p(m(L),m(q))}e.compareBy=oe;function Y(...m){return(p,L)=>{for(const q of m){const X=q(p,L);if(!te.isNeitherLessOrGreaterThan(X))return X}return te.neitherLessOrGreaterThan}}e.tieBreakComparators=Y;const h=(m,p)=>m-p;e.numberComparator=h;function D(m,p){if(m.length===0)return;let L=m[0];for(let q=1;q0&&(L=X)}return L}e.findMaxBy=D;function H(m,p){if(m.length===0)return;let L=m[0];for(let q=1;q=0&&(L=X)}return L}e.findLastMaxBy=H;function k(m,p){return D(m,(L,q)=>-p(L,q))}e.findMinBy=k;class B{constructor(p){this.items=p,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(p){let L=this.firstIdx;for(;L=0&&p(this.items[L]);)L--;const q=L===this.lastIdx?null:this.items.slice(L+1,this.lastIdx+1);return this.lastIdx=L,q}peek(){if(this.length!==0)return this.items[this.firstIdx]}peekLast(){if(this.length!==0)return this.items[this.lastIdx]}dequeue(){const p=this.items[this.firstIdx];return this.firstIdx++,p}removeLast(){const p=this.items[this.lastIdx];return this.lastIdx--,p}takeCount(p){const L=this.items.slice(this.firstIdx,this.firstIdx+p);return this.firstIdx+=p,L}}e.ArrayQueue=B;class x{constructor(p){this.iterate=p}forEach(p){this.iterate(L=>(p(L),!0))}toArray(){const p=[];return this.iterate(L=>(p.push(L),!0)),p}filter(p){return new x(L=>this.iterate(q=>p(q)?L(q):!0))}map(p){return new x(L=>this.iterate(q=>L(p(q))))}some(p){let L=!1;return this.iterate(q=>(L=p(q),!L)),L}findFirst(p){let L;return this.iterate(q=>p(q)?(L=q,!1):!0),L}findLast(p){let L;return this.iterate(q=>(p(q)&&(L=q),!0)),L}findLastMaxBy(p){let L,q=!0;return this.iterate(X=>((q||te.isGreaterThan(p(X,L)))&&(q=!1,L=X),!0)),L}}e.CallbackIterable=x,x.empty=new x(m=>{})}),define(ae[21],le([0,1]),function(se,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.once=void 0;function _(O){const A=this;let j=!1,R;return function(){return j||(j=!0,R=O.apply(A,arguments)),R}}e.once=_}),define(ae[27],le([0,1]),function(se,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Iterable=void 0;var _;(function(O){function A(a){return a&&typeof a=="object"&&typeof a[Symbol.iterator]=="function"}O.is=A;const j=Object.freeze([]);function R(){return j}O.empty=R;function*F(a){yield a}O.single=F;function S(a){return A(a)?a:F(a)}O.wrap=S;function I(a){return a||j}O.from=I;function N(a){return!a||a[Symbol.iterator]().next().done===!0}O.isEmpty=N;function W(a){return a[Symbol.iterator]().next().value}O.first=W;function z(a,g){for(const y of a)if(g(y))return!0;return!1}O.some=z;function f(a,g){for(const y of a)if(g(y))return y}O.find=f;function*l(a,g){for(const y of a)g(y)&&(yield y)}O.filter=l;function*r(a,g){let y=0;for(const w of a)yield g(w,y++)}O.map=r;function*s(...a){for(const g of a)for(const y of g)yield y}O.concat=s;function u(a,g,y){let w=y;for(const d of a)w=g(w,d);return w}O.reduce=u;function*E(a,g,y=a.length){for(g<0&&(g+=a.length),y<0?y+=a.length:y>a.length&&(y=a.length);gA(this.getValue()))}}e.Lazy=_}),define(ae[7],le([0,1,21,27]),function(se,e,_,O){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DisposableMap=e.disposeOnReturn=e.ImmortalReference=e.AsyncReferenceCollection=e.ReferenceCollection=e.SafeDisposable=e.RefCountedDisposable=e.MutableDisposable=e.Disposable=e.DisposableStore=e.toDisposable=e.combinedDisposable=e.disposeIfDisposable=e.dispose=e.isDisposable=e.markAsSingleton=e.setDisposableTracker=void 0;const A=!1;let j=null;function R(o){j=o}if(e.setDisposableTracker=R,A){const o="__is_disposable_tracked__";R(new class{trackDisposable(n){const b=new Error("Potentially leaked disposable").stack;setTimeout(()=>{n[o]||console.log(b)},3e3)}setParent(n,b){if(n&&n!==E.None)try{n[o]=!0}catch{}}markAsDisposed(n){if(n&&n!==E.None)try{n[o]=!0}catch{}}markAsSingleton(n){}})}function F(o){return j?.trackDisposable(o),o}function S(o){j?.markAsDisposed(o)}function I(o,n){j?.setParent(o,n)}function N(o,n){if(!!j)for(const b of o)j.setParent(b,n)}function W(o){return j?.markAsSingleton(o),o}e.markAsSingleton=W;function z(o){return typeof o.dispose=="function"&&o.dispose.length===0}e.isDisposable=z;function f(o){if(O.Iterable.is(o)){const n=[];for(const b of o)if(b)try{b.dispose()}catch(P){n.push(P)}if(n.length===1)throw n[0];if(n.length>1)throw new AggregateError(n,"Encountered errors while disposing of store");return Array.isArray(o)?[]:o}else if(o)return o.dispose(),o}e.dispose=f;function l(o){for(const n of o)z(n)&&n.dispose();return[]}e.disposeIfDisposable=l;function r(...o){const n=s(()=>f(o));return N(o,n),n}e.combinedDisposable=r;function s(o){const n=F({dispose:(0,_.once)(()=>{S(n),o()})});return n}e.toDisposable=s;class u{constructor(){this._toDispose=new Set,this._isDisposed=!1,F(this)}dispose(){this._isDisposed||(S(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{f(this._toDispose)}finally{this._toDispose.clear()}}add(n){if(!n)return n;if(n===this)throw new Error("Cannot register a disposable on itself!");return I(n,this),this._isDisposed?u.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(n),n}}e.DisposableStore=u,u.DISABLE_DISPOSED_WARNING=!1;class E{constructor(){this._store=new u,F(this),I(this._store,this)}dispose(){S(this),this._store.dispose()}_register(n){if(n===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(n)}}e.Disposable=E,E.None=Object.freeze({dispose(){}});class t{constructor(){this._isDisposed=!1,F(this)}get value(){return this._isDisposed?void 0:this._value}set value(n){this._isDisposed||n===this._value||(this._value?.dispose(),n&&I(n,this),this._value=n)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,S(this),this._value?.dispose(),this._value=void 0}clearAndLeak(){const n=this._value;return this._value=void 0,n&&I(n,null),n}}e.MutableDisposable=t;class a{constructor(n){this._disposable=n,this._counter=1}acquire(){return this._counter++,this}release(){return--this._counter===0&&this._disposable.dispose(),this}}e.RefCountedDisposable=a;class g{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1,F(this)}set(n){let b=n;return this.unset=()=>b=void 0,this.isset=()=>b!==void 0,this.dispose=()=>{b&&(b(),b=void 0,S(this))},this}}e.SafeDisposable=g;class y{constructor(){this.references=new Map}acquire(n,...b){let P=this.references.get(n);P||(P={counter:0,object:this.createReferencedObject(n,...b)},this.references.set(n,P));const{object:G}=P,ie=(0,_.once)(()=>{--P.counter===0&&(this.destroyReferencedObject(n,P.object),this.references.delete(n))});return P.counter++,{object:G,dispose:ie}}}e.ReferenceCollection=y;class w{constructor(n){this.referenceCollection=n}async acquire(n,...b){const P=this.referenceCollection.acquire(n,...b);try{return{object:await P.object,dispose:()=>P.dispose()}}catch(G){throw P.dispose(),G}}}e.AsyncReferenceCollection=w;class d{constructor(n){this.object=n}dispose(){}}e.ImmortalReference=d;function v(o){const n=new u;try{o(n)}finally{n.dispose()}}e.disposeOnReturn=v;class i{constructor(){this._store=new Map,this._isDisposed=!1,F(this)}dispose(){S(this),this._isDisposed=!0,this.clearAndDisposeAll()}clearAndDisposeAll(){if(!!this._store.size)try{f(this._store.values())}finally{this._store.clear()}}has(n){return this._store.has(n)}get(n){return this._store.get(n)}set(n,b,P=!1){this._isDisposed&&console.warn(new Error("Trying to add a disposable to a DisposableMap that has already been disposed of. The added object will be leaked!").stack),P||this._store.get(n)?.dispose(),this._store.set(n,b)}deleteAndDispose(n){this._store.get(n)?.dispose(),this._store.delete(n)}[Symbol.iterator](){return this._store[Symbol.iterator]()}}e.DisposableMap=i}),define(ae[29],le([0,1]),function(se,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinkedList=void 0;class _{constructor(j){this.element=j,this.next=_.Undefined,this.prev=_.Undefined}}_.Undefined=new _(void 0);class O{constructor(){this._first=_.Undefined,this._last=_.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===_.Undefined}clear(){let j=this._first;for(;j!==_.Undefined;){const R=j.next;j.prev=_.Undefined,j.next=_.Undefined,j=R}this._first=_.Undefined,this._last=_.Undefined,this._size=0}unshift(j){return this._insert(j,!1)}push(j){return this._insert(j,!0)}_insert(j,R){const F=new _(j);if(this._first===_.Undefined)this._first=F,this._last=F;else if(R){const I=this._last;this._last=F,F.prev=I,I.next=F}else{const I=this._first;this._first=F,F.next=I,I.prev=F}this._size+=1;let S=!1;return()=>{S||(S=!0,this._remove(F))}}shift(){if(this._first!==_.Undefined){const j=this._first.element;return this._remove(this._first),j}}pop(){if(this._last!==_.Undefined){const j=this._last.element;return this._remove(this._last),j}}_remove(j){if(j.prev!==_.Undefined&&j.next!==_.Undefined){const R=j.prev;R.next=j.next,j.next.prev=R}else j.prev===_.Undefined&&j.next===_.Undefined?(this._first=_.Undefined,this._last=_.Undefined):j.next===_.Undefined?(this._last=this._last.prev,this._last.next=_.Undefined):j.prev===_.Undefined&&(this._first=this._first.next,this._first.prev=_.Undefined);this._size-=1}*[Symbol.iterator](){let j=this._first;for(;j!==_.Undefined;)yield j.element,j=j.next}}e.LinkedList=O}),define(ae[22],le([0,1]),function(se,e){"use strict";var _,O,A;Object.defineProperty(e,"__esModule",{value:!0}),e.LRUCache=e.LinkedMap=e.Touch=e.ResourceSet=e.ResourceMap=e.setToString=e.mapToString=e.getOrSet=void 0;function j(l,r,s){let u=l.get(r);return u===void 0&&(u=s,l.set(r,u)),u}e.getOrSet=j;function R(l){const r=[];return l.forEach((s,u)=>{r.push(`${u} => ${s}`)}),`Map(${l.size}) {${r.join(", ")}}`}e.mapToString=R;function F(l){const r=[];return l.forEach(s=>{r.push(s)}),`Set(${l.size}) {${r.join(", ")}}`}e.setToString=F;class S{constructor(r,s){this.uri=r,this.value=s}}class I{constructor(r,s){this[_]="ResourceMap",r instanceof I?(this.map=new Map(r.map),this.toKey=s??I.defaultToKey):(this.map=new Map,this.toKey=r??I.defaultToKey)}set(r,s){return this.map.set(this.toKey(r),new S(r,s)),this}get(r){return this.map.get(this.toKey(r))?.value}has(r){return this.map.has(this.toKey(r))}get size(){return this.map.size}clear(){this.map.clear()}delete(r){return this.map.delete(this.toKey(r))}forEach(r,s){typeof s<"u"&&(r=r.bind(s));for(const[u,E]of this.map)r(E.value,E.uri,this)}*values(){for(const r of this.map.values())yield r.value}*keys(){for(const r of this.map.values())yield r.uri}*entries(){for(const r of this.map.values())yield[r.uri,r.value]}*[(_=Symbol.toStringTag,Symbol.iterator)](){for(const[,r]of this.map)yield[r.uri,r.value]}}e.ResourceMap=I,I.defaultToKey=l=>l.toString();class N{constructor(r,s){this[O]="ResourceSet",!r||typeof r=="function"?this._map=new I(r):(this._map=new I(s),r.forEach(this.add,this))}get size(){return this._map.size}add(r){return this._map.set(r,r),this}clear(){this._map.clear()}delete(r){return this._map.delete(r)}forEach(r,s){this._map.forEach((u,E)=>r.call(s,E,E,this))}has(r){return this._map.has(r)}entries(){return this._map.entries()}keys(){return this._map.keys()}values(){return this._map.keys()}[(O=Symbol.toStringTag,Symbol.iterator)](){return this.keys()}}e.ResourceSet=N;var W;(function(l){l[l.None=0]="None",l[l.AsOld=1]="AsOld",l[l.AsNew=2]="AsNew"})(W=e.Touch||(e.Touch={}));class z{constructor(){this[A]="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(){return this._head?.value}get last(){return this._tail?.value}has(r){return this._map.has(r)}get(r,s=0){const u=this._map.get(r);if(!!u)return s!==0&&this.touch(u,s),u.value}set(r,s,u=0){let E=this._map.get(r);if(E)E.value=s,u!==0&&this.touch(E,u);else{switch(E={key:r,value:s,next:void 0,previous:void 0},u){case 0:this.addItemLast(E);break;case 1:this.addItemFirst(E);break;case 2:this.addItemLast(E);break;default:this.addItemLast(E);break}this._map.set(r,E),this._size++}return this}delete(r){return!!this.remove(r)}remove(r){const s=this._map.get(r);if(!!s)return this._map.delete(r),this.removeItem(s),this._size--,s.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const r=this._head;return this._map.delete(r.key),this.removeItem(r),this._size--,r.value}forEach(r,s){const u=this._state;let E=this._head;for(;E;){if(s?r.bind(s)(E.value,E.key,this):r(E.value,E.key,this),this._state!==u)throw new Error("LinkedMap got modified during iteration.");E=E.next}}keys(){const r=this,s=this._state;let u=this._head;const E={[Symbol.iterator](){return E},next(){if(r._state!==s)throw new Error("LinkedMap got modified during iteration.");if(u){const t={value:u.key,done:!1};return u=u.next,t}else return{value:void 0,done:!0}}};return E}values(){const r=this,s=this._state;let u=this._head;const E={[Symbol.iterator](){return E},next(){if(r._state!==s)throw new Error("LinkedMap got modified during iteration.");if(u){const t={value:u.value,done:!1};return u=u.next,t}else return{value:void 0,done:!0}}};return E}entries(){const r=this,s=this._state;let u=this._head;const E={[Symbol.iterator](){return E},next(){if(r._state!==s)throw new Error("LinkedMap got modified during iteration.");if(u){const t={value:[u.key,u.value],done:!1};return u=u.next,t}else return{value:void 0,done:!0}}};return E}[(A=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(r){if(r>=this.size)return;if(r===0){this.clear();return}let s=this._head,u=this.size;for(;s&&u>r;)this._map.delete(s.key),s=s.next,u--;this._head=s,this._size=u,s&&(s.previous=void 0),this._state++}addItemFirst(r){if(!this._head&&!this._tail)this._tail=r;else if(this._head)r.next=this._head,this._head.previous=r;else throw new Error("Invalid list");this._head=r,this._state++}addItemLast(r){if(!this._head&&!this._tail)this._head=r;else if(this._tail)r.previous=this._tail,this._tail.next=r;else throw new Error("Invalid list");this._tail=r,this._state++}removeItem(r){if(r===this._head&&r===this._tail)this._head=void 0,this._tail=void 0;else if(r===this._head){if(!r.next)throw new Error("Invalid list");r.next.previous=void 0,this._head=r.next}else if(r===this._tail){if(!r.previous)throw new Error("Invalid list");r.previous.next=void 0,this._tail=r.previous}else{const s=r.next,u=r.previous;if(!s||!u)throw new Error("Invalid list");s.previous=u,u.next=s}r.next=void 0,r.previous=void 0,this._state++}touch(r,s){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(s!==1&&s!==2)){if(s===1){if(r===this._head)return;const u=r.next,E=r.previous;r===this._tail?(E.next=void 0,this._tail=E):(u.previous=E,E.next=u),r.previous=void 0,r.next=this._head,this._head.previous=r,this._head=r,this._state++}else if(s===2){if(r===this._tail)return;const u=r.next,E=r.previous;r===this._head?(u.previous=void 0,this._head=u):(u.previous=E,E.next=u),r.next=void 0,r.previous=this._tail,this._tail.next=r,this._tail=r,this._state++}}}toJSON(){const r=[];return this.forEach((s,u)=>{r.push([u,s])}),r}fromJSON(r){this.clear();for(const[s,u]of r)this.set(s,u)}}e.LinkedMap=z;class f extends z{constructor(r,s=1){super(),this._limit=r,this._ratio=Math.min(Math.max(0,s),1)}get limit(){return this._limit}set limit(r){this._limit=r,this.checkTrim()}get ratio(){return this._ratio}set ratio(r){this._ratio=Math.min(Math.max(0,r),1),this.checkTrim()}get(r,s=2){return super.get(r,s)}peek(r){return super.get(r,0)}set(r,s){return super.set(r,s,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}e.LRUCache=f}),define(ae[23],le([0,1,22]),function(se,e,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.removeAccents=e.normalizeNFD=e.normalizeNFC=void 0;const O=new _.LRUCache(1e4);function A(I){return S(I,"NFC",O)}e.normalizeNFC=A;const j=new _.LRUCache(1e4);function R(I){return S(I,"NFD",j)}e.normalizeNFD=R;const F=/[^\u0000-\u0080]/;function S(I,N,W){if(!I)return I;const z=W.get(I);if(z)return z;let f;return F.test(I)?f=I.normalize(N):f=I,W.set(I,f),f}e.removeAccents=function(){const I=/[\u0300-\u036f]/g;return function(N){return R(N).replace(I,"")}}()}),define(ae[30],le([0,1]),function(se,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.randomPort=void 0;function _(){return 1025+Math.floor((65535-1025)*Math.random())}e.randomPort=_}),define(ae[13],le([0,1]),function(se,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.withUndefinedAsNull=e.withNullAsUndefined=e.validateConstraint=e.validateConstraints=e.areFunctions=e.isFunction=e.isEmptyObject=e.assertAllDefined=e.assertIsDefined=e.assertType=e.isUndefinedOrNull=e.isDefined=e.isUndefined=e.isBoolean=e.isIterable=e.isNumber=e.isTypedArray=e.isObject=e.isStringArray=e.isString=void 0;function _(w){return typeof w=="string"}e.isString=_;function O(w){return Array.isArray(w)&&w.every(d=>_(d))}e.isStringArray=O;function A(w){return typeof w=="object"&&w!==null&&!Array.isArray(w)&&!(w instanceof RegExp)&&!(w instanceof Date)}e.isObject=A;function j(w){const d=Object.getPrototypeOf(Uint8Array);return typeof w=="object"&&w instanceof d}e.isTypedArray=j;function R(w){return typeof w=="number"&&!isNaN(w)}e.isNumber=R;function F(w){return!!w&&typeof w[Symbol.iterator]=="function"}e.isIterable=F;function S(w){return w===!0||w===!1}e.isBoolean=S;function I(w){return typeof w>"u"}e.isUndefined=I;function N(w){return!W(w)}e.isDefined=N;function W(w){return I(w)||w===null}e.isUndefinedOrNull=W;function z(w,d){if(!w)throw new Error(d?`Unexpected type, expected '${d}'`:"Unexpected type")}e.assertType=z;function f(w){if(W(w))throw new Error("Assertion Failed: argument is undefined or null");return w}e.assertIsDefined=f;function l(...w){const d=[];for(let v=0;v0&&w.every(u)}e.areFunctions=E;function t(w,d){const v=Math.min(w.length,d.length);for(let i=0;i"u"?null:w}e.withUndefinedAsNull=y}),define(ae[31],le([0,1,51]),function(se,e,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findFreePortFaster=e.BROWSER_RESTRICTED_PORTS=e.findFreePort=void 0;function O(F,S,I,N=1){let W=!1;return new Promise(z=>{const f=setTimeout(()=>{if(!W)return W=!0,z(0)},I);A(F,S,N,l=>{if(!W)return W=!0,clearTimeout(f),z(l)})})}e.findFreePort=O;function A(F,S,I,N){if(S===0)return N(0);const W=new _.Socket;W.once("connect",()=>(R(W),A(F+I,S-1,I,N))),W.once("data",()=>{}),W.once("error",z=>(R(W),z.code!=="ECONNREFUSED"?A(F+I,S-1,I,N):N(F))),W.connect(F,"127.0.0.1")}e.BROWSER_RESTRICTED_PORTS={1:!0,7:!0,9:!0,11:!0,13:!0,15:!0,17:!0,19:!0,20:!0,21:!0,22:!0,23:!0,25:!0,37:!0,42:!0,43:!0,53:!0,69:!0,77:!0,79:!0,87:!0,95:!0,101:!0,102:!0,103:!0,104:!0,109:!0,110:!0,111:!0,113:!0,115:!0,117:!0,119:!0,123:!0,135:!0,137:!0,139:!0,143:!0,161:!0,179:!0,389:!0,427:!0,465:!0,512:!0,513:!0,514:!0,515:!0,526:!0,530:!0,531:!0,532:!0,540:!0,548:!0,554:!0,556:!0,563:!0,587:!0,601:!0,636:!0,989:!0,990:!0,993:!0,995:!0,1719:!0,1720:!0,1723:!0,2049:!0,3659:!0,4045:!0,5060:!0,5061:!0,6e3:!0,6566:!0,6665:!0,6666:!0,6667:!0,6668:!0,6669:!0,6697:!0,10080:!0};function j(F,S,I,N="127.0.0.1"){let W=!1,z,f=1;const l=_.createServer({pauseOnConnect:!0});function r(s,u){W||(W=!0,l.removeAllListeners(),l.close(),z&&clearTimeout(z),u(s))}return new Promise(s=>{z=setTimeout(()=>{r(0,s)},I),l.on("listening",()=>{r(F,s)}),l.on("error",u=>{u&&(u.code==="EADDRINUSE"||u.code==="EACCES")&&f{r(0,s)}),l.listen(F,N)})}e.findFreePortFaster=j;function R(F){try{F.removeAllListeners("connect"),F.removeAllListeners("error"),F.end(),F.destroy(),F.unref()}catch(S){console.error(S)}}}),define(ae[32],le([14,15]),function(se,e){return se.create("vs/base/common/platform",e)}),define(ae[2],le([0,1,32]),function(se,e,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isAndroid=e.isEdge=e.isSafari=e.isFirefox=e.isChrome=e.isLittleEndian=e.OS=e.OperatingSystem=e.setTimeout0=e.setTimeout0IsFaster=e.translationsConfigFile=e.locale=e.Language=e.language=e.userAgent=e.platform=e.isCI=e.isMobile=e.isIOS=e.isWebWorker=e.isWeb=e.isElectron=e.isNative=e.isLinuxSnap=e.isLinux=e.isMacintosh=e.isWindows=e.PlatformToString=e.Platform=e.globals=e.LANGUAGE_DEFAULT=void 0,e.LANGUAGE_DEFAULT="en";let O=!1,A=!1,j=!1,R=!1,F=!1,S=!1,I=!1,N=!1,W=!1,z=!1,f,l=e.LANGUAGE_DEFAULT,r,s;e.globals=typeof self=="object"?self:typeof global=="object"?global:{};let u;typeof e.globals.vscode<"u"&&typeof e.globals.vscode.process<"u"?u=e.globals.vscode.process:typeof process<"u"&&(u=process);const E=typeof u?.versions?.electron=="string",t=E&&u?.type==="renderer";if(typeof navigator=="object"&&!t)s=navigator.userAgent,O=s.indexOf("Windows")>=0,A=s.indexOf("Macintosh")>=0,N=(s.indexOf("Macintosh")>=0||s.indexOf("iPad")>=0||s.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,j=s.indexOf("Linux")>=0,z=s?.indexOf("Mobi")>=0,S=!0,f=_.getConfiguredDefaultLocale(_.localize(0,null))||e.LANGUAGE_DEFAULT,l=f;else if(typeof u=="object"){O=u.platform==="win32",A=u.platform==="darwin",j=u.platform==="linux",R=j&&!!u.env.SNAP&&!!u.env.SNAP_REVISION,I=E,W=!!u.env.CI||!!u.env.BUILD_ARTIFACTSTAGINGDIRECTORY,f=e.LANGUAGE_DEFAULT,l=e.LANGUAGE_DEFAULT;const n=u.env.VSCODE_NLS_CONFIG;if(n)try{const b=JSON.parse(n),P=b.availableLanguages["*"];f=b.locale,l=P||e.LANGUAGE_DEFAULT,r=b._translationsConfigFile}catch{}F=!0}else console.error("Unable to resolve platform.");var a;(function(n){n[n.Web=0]="Web",n[n.Mac=1]="Mac",n[n.Linux=2]="Linux",n[n.Windows=3]="Windows"})(a=e.Platform||(e.Platform={}));function g(n){switch(n){case 0:return"Web";case 1:return"Mac";case 2:return"Linux";case 3:return"Windows"}}e.PlatformToString=g;let y=0;A?y=1:O?y=3:j&&(y=2),e.isWindows=O,e.isMacintosh=A,e.isLinux=j,e.isLinuxSnap=R,e.isNative=F,e.isElectron=I,e.isWeb=S,e.isWebWorker=S&&typeof e.globals.importScripts=="function",e.isIOS=N,e.isMobile=z,e.isCI=W,e.platform=y,e.userAgent=s,e.language=l;var w;(function(n){function b(){return e.language}n.value=b;function P(){return e.language.length===2?e.language==="en":e.language.length>=3?e.language[0]==="e"&&e.language[1]==="n"&&e.language[2]==="-":!1}n.isDefaultVariant=P;function G(){return e.language==="en"}n.isDefault=G})(w=e.Language||(e.Language={})),e.locale=f,e.translationsConfigFile=r,e.setTimeout0IsFaster=typeof e.globals.postMessage=="function"&&!e.globals.importScripts,e.setTimeout0=(()=>{if(e.setTimeout0IsFaster){const n=[];e.globals.addEventListener("message",P=>{if(P.data&&P.data.vscodeScheduleAsyncWork)for(let G=0,ie=n.length;G{const G=++b;n.push({id:G,callback:P}),e.globals.postMessage({vscodeScheduleAsyncWork:G},"*")}}return n=>setTimeout(n)})();var d;(function(n){n[n.Windows=1]="Windows",n[n.Macintosh=2]="Macintosh",n[n.Linux=3]="Linux"})(d=e.OperatingSystem||(e.OperatingSystem={})),e.OS=A||N?2:O?1:3;let v=!0,i=!1;function o(){if(!i){i=!0;const n=new Uint8Array(2);n[0]=1,n[1]=2,v=new Uint16Array(n.buffer)[0]===(2<<8)+1}return v}e.isLittleEndian=o,e.isChrome=!!(e.userAgent&&e.userAgent.indexOf("Chrome")>=0),e.isFirefox=!!(e.userAgent&&e.userAgent.indexOf("Firefox")>=0),e.isSafari=!!(!e.isChrome&&e.userAgent&&e.userAgent.indexOf("Safari")>=0),e.isEdge=!!(e.userAgent&&e.userAgent.indexOf("Edg/")>=0),e.isAndroid=!!(e.userAgent&&e.userAgent.indexOf("Android")>=0)}),define(ae[24],le([0,1,2]),function(se,e,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arch=e.platform=e.env=e.cwd=void 0;let O;if(typeof _.globals.vscode<"u"&&typeof _.globals.vscode.process<"u"){const A=_.globals.vscode.process;O={get platform(){return A.platform},get arch(){return A.arch},get env(){return A.env},cwd(){return A.cwd()}}}else typeof process<"u"?O={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:O={get platform(){return _.isWindows?"win32":_.isMacintosh?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};e.cwd=O.cwd,e.env=O.env,e.platform=O.platform,e.arch=O.arch}),define(ae[3],le([0,1,24]),function(se,e,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.delimiter=e.sep=e.toNamespacedPath=e.parse=e.format=e.extname=e.basename=e.dirname=e.relative=e.resolve=e.join=e.isAbsolute=e.normalize=e.posix=e.win32=void 0;const O=65,A=97,j=90,R=122,F=46,S=47,I=92,N=58,W=63;class z extends Error{constructor(a,g,y){let w;typeof g=="string"&&g.indexOf("not ")===0?(w="must not be",g=g.replace(/^not /,"")):w="must be";const d=a.indexOf(".")!==-1?"property":"argument";let v=`The "${a}" ${d} ${w} of type ${g}`;v+=`. Received type ${typeof y}`,super(v),this.code="ERR_INVALID_ARG_TYPE"}}function f(t,a){if(typeof t!="string")throw new z(a,"string",t)}function l(t){return t===S||t===I}function r(t){return t===S}function s(t){return t>=O&&t<=j||t>=A&&t<=R}function u(t,a,g,y){let w="",d=0,v=-1,i=0,o=0;for(let n=0;n<=t.length;++n){if(n2){const b=w.lastIndexOf(g);b===-1?(w="",d=0):(w=w.slice(0,b),d=w.length-1-w.lastIndexOf(g)),v=n,i=0;continue}else if(w.length!==0){w="",d=0,v=n,i=0;continue}}a&&(w+=w.length>0?`${g}..`:"..",d=2)}else w.length>0?w+=`${g}${t.slice(v+1,n)}`:w=t.slice(v+1,n),d=n-v-1;v=n,i=0}else o===F&&i!==-1?++i:i=-1}return w}function E(t,a){if(a===null||typeof a!="object")throw new z("pathObject","Object",a);const g=a.dir||a.root,y=a.base||`${a.name||""}${a.ext||""}`;return g?g===a.root?`${g}${y}`:`${g}${t}${y}`:y}e.win32={resolve(...t){let a="",g="",y=!1;for(let w=t.length-1;w>=-1;w--){let d;if(w>=0){if(d=t[w],f(d,"path"),d.length===0)continue}else a.length===0?d=_.cwd():(d=_.env[`=${a}`]||_.cwd(),(d===void 0||d.slice(0,2).toLowerCase()!==a.toLowerCase()&&d.charCodeAt(2)===I)&&(d=`${a}\\`));const v=d.length;let i=0,o="",n=!1;const b=d.charCodeAt(0);if(v===1)l(b)&&(i=1,n=!0);else if(l(b))if(n=!0,l(d.charCodeAt(1))){let P=2,G=P;for(;P2&&l(d.charCodeAt(2))&&(n=!0,i=3));if(o.length>0)if(a.length>0){if(o.toLowerCase()!==a.toLowerCase())continue}else a=o;if(y){if(a.length>0)break}else if(g=`${d.slice(i)}\\${g}`,y=n,n&&a.length>0)break}return g=u(g,!y,"\\",l),y?`${a}\\${g}`:`${a}${g}`||"."},normalize(t){f(t,"path");const a=t.length;if(a===0)return".";let g=0,y,w=!1;const d=t.charCodeAt(0);if(a===1)return r(d)?"\\":t;if(l(d))if(w=!0,l(t.charCodeAt(1))){let i=2,o=i;for(;i2&&l(t.charCodeAt(2))&&(w=!0,g=3));let v=g0&&l(t.charCodeAt(a-1))&&(v+="\\"),y===void 0?w?`\\${v}`:v:w?`${y}\\${v}`:`${y}${v}`},isAbsolute(t){f(t,"path");const a=t.length;if(a===0)return!1;const g=t.charCodeAt(0);return l(g)||a>2&&s(g)&&t.charCodeAt(1)===N&&l(t.charCodeAt(2))},join(...t){if(t.length===0)return".";let a,g;for(let d=0;d0&&(a===void 0?a=g=v:a+=`\\${v}`)}if(a===void 0)return".";let y=!0,w=0;if(typeof g=="string"&&l(g.charCodeAt(0))){++w;const d=g.length;d>1&&l(g.charCodeAt(1))&&(++w,d>2&&(l(g.charCodeAt(2))?++w:y=!1))}if(y){for(;w=2&&(a=`\\${a.slice(w)}`)}return e.win32.normalize(a)},relative(t,a){if(f(t,"from"),f(a,"to"),t===a)return"";const g=e.win32.resolve(t),y=e.win32.resolve(a);if(g===y||(t=g.toLowerCase(),a=y.toLowerCase(),t===a))return"";let w=0;for(;ww&&t.charCodeAt(d-1)===I;)d--;const v=d-w;let i=0;for(;ii&&a.charCodeAt(o-1)===I;)o--;const n=o-i,b=vb){if(a.charCodeAt(i+G)===I)return y.slice(i+G+1);if(G===2)return y.slice(i+G)}v>b&&(t.charCodeAt(w+G)===I?P=G:G===2&&(P=3)),P===-1&&(P=0)}let ie="";for(G=w+P+1;G<=d;++G)(G===d||t.charCodeAt(G)===I)&&(ie+=ie.length===0?"..":"\\..");return i+=P,ie.length>0?`${ie}${y.slice(i,o)}`:(y.charCodeAt(i)===I&&++i,y.slice(i,o))},toNamespacedPath(t){if(typeof t!="string")return t;if(t.length===0)return"";const a=e.win32.resolve(t);if(a.length<=2)return t;if(a.charCodeAt(0)===I){if(a.charCodeAt(1)===I){const g=a.charCodeAt(2);if(g!==W&&g!==F)return`\\\\?\\UNC\\${a.slice(2)}`}}else if(s(a.charCodeAt(0))&&a.charCodeAt(1)===N&&a.charCodeAt(2)===I)return`\\\\?\\${a}`;return t},dirname(t){f(t,"path");const a=t.length;if(a===0)return".";let g=-1,y=0;const w=t.charCodeAt(0);if(a===1)return l(w)?t:".";if(l(w)){if(g=y=1,l(t.charCodeAt(1))){let i=2,o=i;for(;i2&&l(t.charCodeAt(2))?3:2,y=g);let d=-1,v=!0;for(let i=a-1;i>=y;--i)if(l(t.charCodeAt(i))){if(!v){d=i;break}}else v=!1;if(d===-1){if(g===-1)return".";d=g}return t.slice(0,d)},basename(t,a){a!==void 0&&f(a,"ext"),f(t,"path");let g=0,y=-1,w=!0,d;if(t.length>=2&&s(t.charCodeAt(0))&&t.charCodeAt(1)===N&&(g=2),a!==void 0&&a.length>0&&a.length<=t.length){if(a===t)return"";let v=a.length-1,i=-1;for(d=t.length-1;d>=g;--d){const o=t.charCodeAt(d);if(l(o)){if(!w){g=d+1;break}}else i===-1&&(w=!1,i=d+1),v>=0&&(o===a.charCodeAt(v)?--v===-1&&(y=d):(v=-1,y=i))}return g===y?y=i:y===-1&&(y=t.length),t.slice(g,y)}for(d=t.length-1;d>=g;--d)if(l(t.charCodeAt(d))){if(!w){g=d+1;break}}else y===-1&&(w=!1,y=d+1);return y===-1?"":t.slice(g,y)},extname(t){f(t,"path");let a=0,g=-1,y=0,w=-1,d=!0,v=0;t.length>=2&&t.charCodeAt(1)===N&&s(t.charCodeAt(0))&&(a=y=2);for(let i=t.length-1;i>=a;--i){const o=t.charCodeAt(i);if(l(o)){if(!d){y=i+1;break}continue}w===-1&&(d=!1,w=i+1),o===F?g===-1?g=i:v!==1&&(v=1):g!==-1&&(v=-1)}return g===-1||w===-1||v===0||v===1&&g===w-1&&g===y+1?"":t.slice(g,w)},format:E.bind(null,"\\"),parse(t){f(t,"path");const a={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return a;const g=t.length;let y=0,w=t.charCodeAt(0);if(g===1)return l(w)?(a.root=a.dir=t,a):(a.base=a.name=t,a);if(l(w)){if(y=1,l(t.charCodeAt(1))){let P=2,G=P;for(;P0&&(a.root=t.slice(0,y));let d=-1,v=y,i=-1,o=!0,n=t.length-1,b=0;for(;n>=y;--n){if(w=t.charCodeAt(n),l(w)){if(!o){v=n+1;break}continue}i===-1&&(o=!1,i=n+1),w===F?d===-1?d=n:b!==1&&(b=1):d!==-1&&(b=-1)}return i!==-1&&(d===-1||b===0||b===1&&d===i-1&&d===v+1?a.base=a.name=t.slice(v,i):(a.name=t.slice(v,d),a.base=t.slice(v,i),a.ext=t.slice(d,i))),v>0&&v!==y?a.dir=t.slice(0,v-1):a.dir=a.root,a},sep:"\\",delimiter:";",win32:null,posix:null},e.posix={resolve(...t){let a="",g=!1;for(let y=t.length-1;y>=-1&&!g;y--){const w=y>=0?t[y]:_.cwd();f(w,"path"),w.length!==0&&(a=`${w}/${a}`,g=w.charCodeAt(0)===S)}return a=u(a,!g,"/",r),g?`/${a}`:a.length>0?a:"."},normalize(t){if(f(t,"path"),t.length===0)return".";const a=t.charCodeAt(0)===S,g=t.charCodeAt(t.length-1)===S;return t=u(t,!a,"/",r),t.length===0?a?"/":g?"./":".":(g&&(t+="/"),a?`/${t}`:t)},isAbsolute(t){return f(t,"path"),t.length>0&&t.charCodeAt(0)===S},join(...t){if(t.length===0)return".";let a;for(let g=0;g0&&(a===void 0?a=y:a+=`/${y}`)}return a===void 0?".":e.posix.normalize(a)},relative(t,a){if(f(t,"from"),f(a,"to"),t===a||(t=e.posix.resolve(t),a=e.posix.resolve(a),t===a))return"";const g=1,y=t.length,w=y-g,d=1,v=a.length-d,i=wi){if(a.charCodeAt(d+n)===S)return a.slice(d+n+1);if(n===0)return a.slice(d+n)}else w>i&&(t.charCodeAt(g+n)===S?o=n:n===0&&(o=0));let b="";for(n=g+o+1;n<=y;++n)(n===y||t.charCodeAt(n)===S)&&(b+=b.length===0?"..":"/..");return`${b}${a.slice(d+o)}`},toNamespacedPath(t){return t},dirname(t){if(f(t,"path"),t.length===0)return".";const a=t.charCodeAt(0)===S;let g=-1,y=!0;for(let w=t.length-1;w>=1;--w)if(t.charCodeAt(w)===S){if(!y){g=w;break}}else y=!1;return g===-1?a?"/":".":a&&g===1?"//":t.slice(0,g)},basename(t,a){a!==void 0&&f(a,"ext"),f(t,"path");let g=0,y=-1,w=!0,d;if(a!==void 0&&a.length>0&&a.length<=t.length){if(a===t)return"";let v=a.length-1,i=-1;for(d=t.length-1;d>=0;--d){const o=t.charCodeAt(d);if(o===S){if(!w){g=d+1;break}}else i===-1&&(w=!1,i=d+1),v>=0&&(o===a.charCodeAt(v)?--v===-1&&(y=d):(v=-1,y=i))}return g===y?y=i:y===-1&&(y=t.length),t.slice(g,y)}for(d=t.length-1;d>=0;--d)if(t.charCodeAt(d)===S){if(!w){g=d+1;break}}else y===-1&&(w=!1,y=d+1);return y===-1?"":t.slice(g,y)},extname(t){f(t,"path");let a=-1,g=0,y=-1,w=!0,d=0;for(let v=t.length-1;v>=0;--v){const i=t.charCodeAt(v);if(i===S){if(!w){g=v+1;break}continue}y===-1&&(w=!1,y=v+1),i===F?a===-1?a=v:d!==1&&(d=1):a!==-1&&(d=-1)}return a===-1||y===-1||d===0||d===1&&a===y-1&&a===g+1?"":t.slice(a,y)},format:E.bind(null,"/"),parse(t){f(t,"path");const a={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return a;const g=t.charCodeAt(0)===S;let y;g?(a.root="/",y=1):y=0;let w=-1,d=0,v=-1,i=!0,o=t.length-1,n=0;for(;o>=y;--o){const b=t.charCodeAt(o);if(b===S){if(!i){d=o+1;break}continue}v===-1&&(i=!1,v=o+1),b===F?w===-1?w=o:n!==1&&(n=1):w!==-1&&(n=-1)}if(v!==-1){const b=d===0&&g?1:d;w===-1||n===0||n===1&&w===v-1&&w===d+1?a.base=a.name=t.slice(b,v):(a.name=t.slice(b,w),a.base=t.slice(b,v),a.ext=t.slice(w,v))}return d>0?a.dir=t.slice(0,d-1):g&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null},e.posix.win32=e.win32.win32=e.win32,e.posix.posix=e.win32.posix=e.posix,e.normalize=_.platform==="win32"?e.win32.normalize:e.posix.normalize,e.isAbsolute=_.platform==="win32"?e.win32.isAbsolute:e.posix.isAbsolute,e.join=_.platform==="win32"?e.win32.join:e.posix.join,e.resolve=_.platform==="win32"?e.win32.resolve:e.posix.resolve,e.relative=_.platform==="win32"?e.win32.relative:e.posix.relative,e.dirname=_.platform==="win32"?e.win32.dirname:e.posix.dirname,e.basename=_.platform==="win32"?e.win32.basename:e.posix.basename,e.extname=_.platform==="win32"?e.win32.extname:e.posix.extname,e.format=_.platform==="win32"?e.win32.format:e.posix.format,e.parse=_.platform==="win32"?e.win32.parse:e.posix.parse,e.toNamespacedPath=_.platform==="win32"?e.win32.toNamespacedPath:e.posix.toNamespacedPath,e.sep=_.platform==="win32"?e.win32.sep:e.posix.sep,e.delimiter=_.platform==="win32"?e.win32.delimiter:e.posix.delimiter}),define(ae[33],le([0,1,2]),function(se,e,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StopWatch=void 0;const O=_.globals.performance&&typeof _.globals.performance.now=="function";class A{static create(R=!0){return new A(R)}constructor(R){this._highResolution=O&&R,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}_now(){return this._highResolution?_.globals.performance.now():Date.now()}}e.StopWatch=A}),define(ae[16],le([0,1,12,21,7,29,33]),function(se,e,_,O,A,j,R){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Relay=e.EventBufferer=e.EventMultiplexer=e.MicrotaskEmitter=e.DebounceEmitter=e.PauseableEmitter=e.AsyncEmitter=e.EventDeliveryQueue=e.Emitter=e.setGlobalLeakWarningThreshold=e.EventProfiling=e.Event=void 0;const F=!1,S=!1;var I;(function(o){o.None=()=>A.Disposable.None;function n(k){if(S){const{onListenerDidAdd:B}=k,x=l.create();let m=0;k.onListenerDidAdd=()=>{++m===2&&(console.warn("snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here"),x.print()),B?.()}}}function b(k,B){return J(k,()=>{},0,void 0,void 0,B)}o.defer=b;function P(k,B=0,x){return o.debounce(k,(m,p)=>m?(m.push(p),m):[p],B,void 0,void 0,x)}o.accumulate=P;function G(k){return(B,x=null,m)=>{let p=!1,L;return L=k(q=>{if(!p)return L?L.dispose():p=!0,B.call(x,q)},null,m),p&&L.dispose(),L}}o.once=G;function ie(k,B,x){return V((m,p=null,L)=>k(q=>m.call(p,B(q)),null,L),x)}o.map=ie;function ne(k,B,x){return V((m,p=null,L)=>k(q=>{B(q),m.call(p,q)},null,L),x)}o.forEach=ne;function de(k,B,x){return V((m,p=null,L)=>k(q=>B(q)&&m.call(p,q),null,L),x)}o.filter=de;function me(k){return k}o.signal=me;function ge(...k){return(B,x=null,m)=>(0,A.combinedDisposable)(...k.map(p=>p(L=>B.call(x,L),null,m)))}o.any=ge;function ue(k,B,x,m){let p=x;return ie(k,L=>(p=B(p,L),p),m)}o.reduce=ue;function V(k,B){let x;const m={onFirstListenerAdd(){x=k(p.fire,p)},onLastListenerRemove(){x?.dispose()}};B||n(m);const p=new s(m);return B?.add(p),p.event}function J(k,B,x=100,m=!1,p,L){let q,X,ce,fe=0;const ve={leakWarningThreshold:p,onFirstListenerAdd(){q=k(be=>{fe++,X=B(X,be),m&&!ce&&(ye.fire(X),X=void 0),clearTimeout(ce),ce=setTimeout(()=>{const _e=X;X=void 0,ce=void 0,(!m||fe>1)&&ye.fire(_e),fe=0},x)})},onLastListenerRemove(){q.dispose()}};L||n(ve);const ye=new s(ve);return L?.add(ye),ye.event}o.debounce=J;function C(k,B=(m,p)=>m===p,x){let m=!0,p;return de(k,L=>{const q=m||!B(L,p);return m=!1,p=L,q},x)}o.latch=C;function K(k,B,x){return[o.filter(k,B,x),o.filter(k,m=>!B(m),x)]}o.split=K;function M(k,B=!1,x=[]){let m=x.slice(),p=k(X=>{m?m.push(X):q.fire(X)});const L=()=>{m?.forEach(X=>q.fire(X)),m=null},q=new s({onFirstListenerAdd(){p||(p=k(X=>q.fire(X)))},onFirstListenerDidAdd(){m&&(B?setTimeout(L):L())},onLastListenerRemove(){p&&p.dispose(),p=null}});return q.event}o.buffer=M;class ${constructor(B){this.event=B,this.disposables=new A.DisposableStore}map(B){return new $(ie(this.event,B,this.disposables))}forEach(B){return new $(ne(this.event,B,this.disposables))}filter(B){return new $(de(this.event,B,this.disposables))}reduce(B,x){return new $(ue(this.event,B,x,this.disposables))}latch(){return new $(C(this.event,void 0,this.disposables))}debounce(B,x=100,m=!1,p){return new $(J(this.event,B,x,m,p,this.disposables))}on(B,x,m){return this.event(B,x,m)}once(B,x,m){return G(this.event)(B,x,m)}dispose(){this.disposables.dispose()}}function U(k){return new $(k)}o.chain=U;function Z(k,B,x=m=>m){const m=(...X)=>q.fire(x(...X)),p=()=>k.on(B,m),L=()=>k.removeListener(B,m),q=new s({onFirstListenerAdd:p,onLastListenerRemove:L});return q.event}o.fromNodeEventEmitter=Z;function te(k,B,x=m=>m){const m=(...X)=>q.fire(x(...X)),p=()=>k.addEventListener(B,m),L=()=>k.removeEventListener(B,m),q=new s({onFirstListenerAdd:p,onLastListenerRemove:L});return q.event}o.fromDOMEventEmitter=te;function oe(k){return new Promise(B=>G(k)(B))}o.toPromise=oe;function Y(k,B){return B(void 0),k(x=>B(x))}o.runAndSubscribe=Y;function h(k,B){let x=null;function m(L){x?.dispose(),x=new A.DisposableStore,B(L,x)}m(void 0);const p=k(L=>m(L));return(0,A.toDisposable)(()=>{p.dispose(),x?.dispose()})}o.runAndSubscribeWithStore=h;class D{constructor(B,x){this.obs=B,this._counter=0,this._hasChanged=!1;const m={onFirstListenerAdd:()=>{B.addObserver(this)},onLastListenerRemove:()=>{B.removeObserver(this)}};x||n(m),this.emitter=new s(m),x&&x.add(this.emitter)}beginUpdate(B){this._counter++}handleChange(B,x){this._hasChanged=!0}endUpdate(B){--this._counter===0&&this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this.obs.get()))}}function H(k,B){return new D(k,B).emitter.event}o.fromObservable=H})(I=e.Event||(e.Event={}));class N{constructor(n){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${n}_${N._idPool++}`,N.all.add(this)}start(n){this._stopWatch=new R.StopWatch(!0),this.listenerCount=n}stop(){if(this._stopWatch){const n=this._stopWatch.elapsed();this.durations.push(n),this.elapsedOverall+=n,this.invocationCount+=1,this._stopWatch=void 0}}}e.EventProfiling=N,N.all=new Set,N._idPool=0;let W=-1;function z(o){const n=W;return W=o,{dispose(){W=n}}}e.setGlobalLeakWarningThreshold=z;class f{constructor(n,b=Math.random().toString(18).slice(2,5)){this.customThreshold=n,this.name=b,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(n,b){let P=W;if(typeof this.customThreshold=="number"&&(P=this.customThreshold),P<=0||b{const ie=this._stacks.get(n.value)||0;this._stacks.set(n.value,ie-1)}}}class l{static create(){return new l(new Error().stack??"")}constructor(n){this.value=n}print(){console.warn(this.value.split(` `).slice(2).join(` `))}}class r{constructor(n,b,P){this.callback=n,this.callbackThis=b,this.stack=P,this.subscription=new A.SafeDisposable}invoke(n){this.callback.call(this.callbackThis,n)}}class s{constructor(n){this._disposed=!1,this._options=n,this._leakageMon=W>0?new f(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=this._options?._profName?new N(this._options._profName):void 0,this._deliveryQueue=this._options?.deliveryQueue}dispose(){if(!this._disposed){if(this._disposed=!0,this._listeners){if(F){const n=Array.from(this._listeners);queueMicrotask(()=>{for(const b of n)b.subscription.isset()&&(b.subscription.unset(),b.stack?.print())})}this._listeners.clear()}this._deliveryQueue?.clear(this),this._options?.onLastListenerRemove?.(),this._leakageMon?.dispose()}}get event(){return this._event||(this._event=(n,b,P)=>{this._listeners||(this._listeners=new j.LinkedList);const G=this._listeners.isEmpty();G&&this._options?.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);let ie,ne;this._leakageMon&&this._listeners.size>=30&&(ne=l.create(),ie=this._leakageMon.check(ne,this._listeners.size+1)),F&&(ne=ne??l.create());const de=new r(n,b,ne),me=this._listeners.push(de);G&&this._options?.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options?.onListenerDidAdd&&this._options.onListenerDidAdd(this,n,b);const ge=de.subscription.set(()=>{ie?.(),this._disposed||(me(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return P instanceof A.DisposableStore?P.add(ge):Array.isArray(P)&&P.push(ge),ge}),this._event}fire(n){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new E);for(const b of this._listeners)this._deliveryQueue.push(this,b,n);this._perfMon?.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),this._perfMon?.stop()}}hasListeners(){return this._listeners?!this._listeners.isEmpty():!1}}e.Emitter=s;class u{constructor(){this._queue=new j.LinkedList}get size(){return this._queue.size}push(n,b,P){this._queue.push(new t(n,b,P))}clear(n){const b=new j.LinkedList;for(const P of this._queue)P.emitter!==n&&b.push(P);this._queue=b}deliver(){for(;this._queue.size>0;){const n=this._queue.shift();try{n.listener.invoke(n.event)}catch(b){(0,_.onUnexpectedError)(b)}}}}e.EventDeliveryQueue=u;class E extends u{clear(n){this._queue.clear()}}class t{constructor(n,b,P){this.emitter=n,this.listener=b,this.event=P}}class a extends s{async fireAsync(n,b,P){if(!!this._listeners){this._asyncDeliveryQueue||(this._asyncDeliveryQueue=new j.LinkedList);for(const G of this._listeners)this._asyncDeliveryQueue.push([G,n]);for(;this._asyncDeliveryQueue.size>0&&!b.isCancellationRequested;){const[G,ie]=this._asyncDeliveryQueue.shift(),ne=[],de={...ie,token:b,waitUntil:me=>{if(Object.isFrozen(ne))throw new Error("waitUntil can NOT be called asynchronous");P&&(me=P(me,G.callback)),ne.push(me)}};try{G.invoke(de)}catch(me){(0,_.onUnexpectedError)(me);continue}Object.freeze(ne),await Promise.allSettled(ne).then(me=>{for(const ge of me)ge.status==="rejected"&&(0,_.onUnexpectedError)(ge.reason)})}}}}e.AsyncEmitter=a;class g extends s{constructor(n){super(n),this._isPaused=0,this._eventQueue=new j.LinkedList,this._mergeFn=n?.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){if(this._eventQueue.size>0){const n=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(n))}}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(n){this._listeners&&(this._isPaused!==0?this._eventQueue.push(n):super.fire(n))}}e.PauseableEmitter=g;class y extends g{constructor(n){super(n),this._delay=n.delay??100}fire(n){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(n)}}e.DebounceEmitter=y;class w extends s{constructor(n){super(n),this._queuedEvents=[],this._mergeFn=n?.merge}fire(n){!this.hasListeners()||(this._queuedEvents.push(n),this._queuedEvents.length===1&&queueMicrotask(()=>{this._mergeFn?super.fire(this._mergeFn(this._queuedEvents)):this._queuedEvents.forEach(b=>super.fire(b)),this._queuedEvents=[]}))}}e.MicrotaskEmitter=w;class d{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new s({onFirstListenerAdd:()=>this.onFirstListenerAdd(),onLastListenerRemove:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(n){const b={event:n,listener:null};this.events.push(b),this.hasListeners&&this.hook(b);const P=()=>{this.hasListeners&&this.unhook(b);const G=this.events.indexOf(b);this.events.splice(G,1)};return(0,A.toDisposable)((0,O.once)(P))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(n=>this.hook(n))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(n=>this.unhook(n))}hook(n){n.listener=n.event(b=>this.emitter.fire(b))}unhook(n){n.listener&&n.listener.dispose(),n.listener=null}dispose(){this.emitter.dispose()}}e.EventMultiplexer=d;class v{constructor(){this.buffers=[]}wrapEvent(n){return(b,P,G)=>n(ie=>{const ne=this.buffers[this.buffers.length-1];ne?ne.push(()=>b.call(P,ie)):b.call(P,ie)},void 0,G)}bufferEvents(n){const b=[];this.buffers.push(b);const P=n();return this.buffers.pop(),b.forEach(G=>G()),P}}e.EventBufferer=v;class i{constructor(){this.listening=!1,this.inputEvent=I.None,this.inputEventListener=A.Disposable.None,this.emitter=new s({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(n){this.inputEvent=n,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=n(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}e.Relay=i}),define(ae[8],le([0,1,16]),function(se,e,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CancellationTokenSource=e.CancellationToken=void 0;const O=Object.freeze(function(F,S){const I=setTimeout(F.bind(S),0);return{dispose(){clearTimeout(I)}}});var A;(function(F){function S(I){return I===F.None||I===F.Cancelled||I instanceof j?!0:!I||typeof I!="object"?!1:typeof I.isCancellationRequested=="boolean"&&typeof I.onCancellationRequested=="function"}F.isCancellationToken=S,F.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:_.Event.None}),F.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:O})})(A=e.CancellationToken||(e.CancellationToken={}));class j{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?O:(this._emitter||(this._emitter=new _.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class R{constructor(S){this._token=void 0,this._parentListener=void 0,this._parentListener=S&&S.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new j),this._token}cancel(){this._token?this._token instanceof j&&this._token.cancel():this._token=A.Cancelled}dispose(S=!1){S&&this.cancel(),this._parentListener?.dispose(),this._token?this._token instanceof j&&this._token.dispose():this._token=A.None}}e.CancellationTokenSource=R}),define(ae[34],le([0,1,8]),function(se,e,_){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CachedFunction=e.LRUCachedFunction=e.Cache=void 0;class O{constructor(F){this.task=F,this.result=null}get(){if(this.result)return this.result;const F=new _.CancellationTokenSource,S=this.task(F.token);return this.result={promise:S,dispose:()=>{this.result=null,F.cancel(),F.dispose()}},this.result}}e.Cache=O;class A{constructor(F){this.fn=F,this.lastCache=void 0,this.lastArgKey=void 0}get(F){const S=JSON.stringify(F);return this.lastArgKey!==S&&(this.lastArgKey=S,this.lastCache=this.fn(F)),this.lastCache}}e.LRUCachedFunction=A;class j{get cachedValues(){return this._map}constructor(F){this.fn=F,this._map=new Map}get(F){if(this._map.has(F))return this._map.get(F);const S=this.fn(F);return this._map.set(F,S),S}}e.CachedFunction=j}),define(ae[5],le([0,1,34,28]),function(se,e,_,O){"use strict";var A;Object.defineProperty(e,"__esModule",{value:!0}),e.InvisibleCharacters=e.AmbiguousCharacters=e.noBreakWhitespace=e.getLeftDeleteOffset=e.GraphemeBreakType=e.getGraphemeBreakType=e.singleLetterHash=e.getNLines=e.uppercaseFirstLetter=e.containsUppercaseCharacter=e.fuzzyContains=e.stripUTF8BOM=e.startsWithUTF8BOM=e.UTF8_BOM_CHARACTER=e.removeAnsiEscapeCodes=e.lcut=e.isEmojiImprecise=e.isFullWidthCharacter=e.containsUnusualLineTerminators=e.UNUSUAL_LINE_TERMINATORS=e.isBasicASCII=e.containsRTL=e.charCount=e.getCharContainingOffset=e.prevCharLength=e.nextCharLength=e.GraphemeIterator=e.CodePointIterator=e.getNextCodePoint=e.computeCodePoint=e.isLowSurrogate=e.isHighSurrogate=e.commonSuffixLength=e.commonPrefixLength=e.startsWithIgnoreCase=e.equalsIgnoreCase=e.isUpperAsciiLetter=e.isLowerAsciiLetter=e.isAsciiDigit=e.compareSubstringIgnoreCase=e.compareIgnoreCase=e.compareSubstring=e.compare=e.replaceAsync=e.lastNonWhitespaceIndex=e.getLeadingWhitespace=e.firstNonWhitespaceIndex=e.splitLines=e.regExpFlags=e.regExpContainsBackreference=e.regExpLeadsToEndlessLoop=e.createRegExp=e.stripWildcards=e.convertSimple2RegExpPattern=e.rtrim=e.ltrim=e.trim=e.truncate=e.count=e.escapeRegExpCharacters=e.escape=e.format2=e.format=e.isFalsyOrWhitespace=void 0;function j(c){return!c||typeof c!="string"?!0:c.trim().length===0}e.isFalsyOrWhitespace=j;const R=/{(\d+)}/g;function F(c,...T){return T.length===0?c:c.replace(R,function(Q,ee){const re=parseInt(ee,10);return isNaN(re)||re<0||re>=T.length?Q:T[re]})}e.format=F;const S=/{([^}]+)}/g;function I(c,T){return c.replace(S,(Q,ee)=>T[ee]??Q)}e.format2=I;function N(c){return c.replace(/[<>&]/g,function(T){switch(T){case"<":return"<";case">":return">";case"&":return"&";default:return T}})}e.escape=N;function W(c){return c.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}e.escapeRegExpCharacters=W;function z(c,T){let Q=0;const ee=T.charCodeAt(0);for(let re=c.length-1;re>=0;re--)c.charCodeAt(re)===ee&&Q++;return Q}e.count=z;function f(c,T,Q="\u2026"){return c.length<=T?c:`${c.substr(0,T)}${Q}`}e.truncate=f;function l(c,T=" "){const Q=r(c,T);return s(Q,T)}e.trim=l;function r(c,T){if(!c||!T)return c;const Q=T.length;if(Q===0||c.length===0)return c;let ee=0;for(;c.indexOf(T,ee)===ee;)ee=ee+Q;return c.substring(ee)}e.ltrim=r;function s(c,T){if(!c||!T)return c;const Q=T.length,ee=c.length;if(Q===0||ee===0)return c;let re=ee,he=-1;for(;he=c.lastIndexOf(T,re-1),!(he===-1||he+Q!==re);){if(he===0)return"";re=he}return c.substring(0,re)}e.rtrim=s;function u(c){return c.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}e.convertSimple2RegExpPattern=u;function E(c){return c.replace(/\*/g,"")}e.stripWildcards=E;function t(c,T,Q={}){if(!c)throw new Error("Cannot create regex from empty string");T||(c=W(c)),Q.wholeWord&&(/\B/.test(c.charAt(0))||(c="\\b"+c),/\B/.test(c.charAt(c.length-1))||(c=c+"\\b"));let ee="";return Q.global&&(ee+="g"),Q.matchCase||(ee+="i"),Q.multiline&&(ee+="m"),Q.unicode&&(ee+="u"),new RegExp(c,ee)}e.createRegExp=t;function a(c){return c.source==="^"||c.source==="^$"||c.source==="$"||c.source==="^\\s*$"?!1:!!(c.exec("")&&c.lastIndex===0)}e.regExpLeadsToEndlessLoop=a;function g(c){return!!c.match(/([^\\]|^)(\\\\)*\\\d+/)}e.regExpContainsBackreference=g;function y(c){return(c.global?"g":"")+(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")}e.regExpFlags=y;function w(c){return c.split(/\r\n|\r|\n/)}e.splitLines=w;function d(c){for(let T=0,Q=c.length;T=0;Q--){const ee=c.charCodeAt(Q);if(ee!==32&&ee!==9)return Q}return-1}e.lastNonWhitespaceIndex=i;function o(c,T,Q){const ee=[];let re=0;for(const he of c.matchAll(T)){if(ee.push(c.slice(re,he.index)),he.index===void 0)throw new Error("match.index should be defined");re=he.index+he[0].length,ee.push(Q(he[0],...he.slice(1),he.index,c,he.groups))}return ee.push(c.slice(re)),Promise.all(ee).then(he=>he.join(""))}e.replaceAsync=o;function n(c,T){return cT?1:0}e.compare=n;function b(c,T,Q=0,ee=c.length,re=0,he=T.length){for(;Qwe)return 1}const Ee=ee-Q,Se=he-re;return EeSe?1:0}e.compareSubstring=b;function P(c,T){return G(c,T,0,c.length,0,T.length)}e.compareIgnoreCase=P;function G(c,T,Q=0,ee=c.length,re=0,he=T.length){for(;Q=128||we>=128)return b(c.toLowerCase(),T.toLowerCase(),Q,ee,re,he);ne(Ae)&&(Ae-=32),ne(we)&&(we-=32);const Ce=Ae-we;if(Ce!==0)return Ce}const Ee=ee-Q,Se=he-re;return EeSe?1:0}e.compareSubstringIgnoreCase=G;function ie(c){return c>=48&&c<=57}e.isAsciiDigit=ie;function ne(c){return c>=97&&c<=122}e.isLowerAsciiLetter=ne;function de(c){return c>=65&&c<=90}e.isUpperAsciiLetter=de;function me(c,T){return c.length===T.length&&G(c,T)===0}e.equalsIgnoreCase=me;function ge(c,T){const Q=T.length;return T.length>c.length?!1:G(c,T,0,Q)===0}e.startsWithIgnoreCase=ge;function ue(c,T){const Q=Math.min(c.length,T.length);let ee;for(ee=0;ee1){const ee=c.charCodeAt(T-2);if(J(ee))return K(ee,Q)}return Q}class U{get offset(){return this._offset}constructor(T,Q=0){this._str=T,this._len=T.length,this._offset=Q}setOffset(T){this._offset=T}prevCodePoint(){const T=$(this._str,this._offset);return this._offset-=T>=65536?2:1,T}nextCodePoint(){const T=M(this._str,this._len,this._offset);return this._offset+=T>=65536?2:1,T}eol(){return this._offset>=this._len}}e.CodePointIterator=U;class Z{get offset(){return this._iterator.offset}constructor(T,Q=0){this._iterator=new U(T,Q)}nextGraphemeLength(){const T=Le.getInstance(),Q=this._iterator,ee=Q.offset;let re=T.getGraphemeBreakType(Q.nextCodePoint());for(;!Q.eol();){const he=Q.offset,Ee=T.getGraphemeBreakType(Q.nextCodePoint());if(Te(re,Ee)){Q.setOffset(he);break}re=Ee}return Q.offset-ee}prevGraphemeLength(){const T=Le.getInstance(),Q=this._iterator,ee=Q.offset;let re=T.getGraphemeBreakType(Q.prevCodePoint());for(;Q.offset>0;){const he=Q.offset,Ee=T.getGraphemeBreakType(Q.prevCodePoint());if(Te(Ee,re)){Q.setOffset(he);break}re=Ee}return ee-Q.offset}eol(){return this._iterator.eol()}}e.GraphemeIterator=Z;function te(c,T){return new Z(c,T).nextGraphemeLength()}e.nextCharLength=te;function oe(c,T){return new Z(c,T).prevGraphemeLength()}e.prevCharLength=oe;function Y(c,T){T>0&&C(c.charCodeAt(T))&&T--;const Q=T+te(c,T);return[Q-oe(c,Q),Q]}e.getCharContainingOffset=Y;function h(c){const T=new Z(c);let Q=0;for(;!T.eol();)Q++,T.nextGraphemeLength();return Q}e.charCount=h;let D;function H(){return/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE35\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDD23\uDE80-\uDEA9\uDEAD-\uDF45\uDF51-\uDF81\uDF86-\uDFF6]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD4B-\uDFFF]|\uD83B[\uDC00-\uDEBB])/}function k(c){return D||(D=H()),D.test(c)}e.containsRTL=k;const B=/^[\t\n\r\x20-\x7E]*$/;function x(c){return B.test(c)}e.isBasicASCII=x,e.UNUSUAL_LINE_TERMINATORS=/[\u2028\u2029]/;function m(c){return e.UNUSUAL_LINE_TERMINATORS.test(c)}e.containsUnusualLineTerminators=m;function p(c){return c>=11904&&c<=55215||c>=63744&&c<=64255||c>=65281&&c<=65374}e.isFullWidthCharacter=p;function L(c){return c>=127462&&c<=127487||c===8986||c===8987||c===9200||c===9203||c>=9728&&c<=10175||c===11088||c===11093||c>=127744&&c<=128591||c>=128640&&c<=128764||c>=128992&&c<=129008||c>=129280&&c<=129535||c>=129648&&c<=129782}e.isEmojiImprecise=L;function q(c,T){if(c.length0&&c.charCodeAt(0)===65279)}e.startsWithUTF8BOM=ye;function be(c){return ye(c)?c.substr(1):c}e.stripUTF8BOM=be;function _e(c,T){if(!c||!T||c.length0&&Q>=0);return Q===-1?c:(c[Q-1]==="\r"&&Q--,c.substr(0,Q))}e.getNLines=Ne;function Me(c){return c=c%(2*26),c<26?String.fromCharCode(97+c):String.fromCharCode(65+c-26)}e.singleLetterHash=Me;function Ue(c){return Le.getInstance().getGraphemeBreakType(c)}e.getGraphemeBreakType=Ue;function Te(c,T){return c===0?T!==5&&T!==7:c===2&&T===3?!1:c===4||c===2||c===3||T===4||T===2||T===3?!0:!(c===8&&(T===8||T===9||T===11||T===12)||(c===11||c===9)&&(T===9||T===10)||(c===12||c===10)&&T===10||T===5||T===13||T===7||c===1||c===13&&T===14||c===6&&T===6)}var We;(function(c){c[c.Other=0]="Other",c[c.Prepend=1]="Prepend",c[c.CR=2]="CR",c[c.LF=3]="LF",c[c.Control=4]="Control",c[c.Extend=5]="Extend",c[c.Regional_Indicator=6]="Regional_Indicator",c[c.SpacingMark=7]="SpacingMark",c[c.L=8]="L",c[c.V=9]="V",c[c.T=10]="T",c[c.LV=11]="LV",c[c.LVT=12]="LVT",c[c.ZWJ=13]="ZWJ",c[c.Extended_Pictographic=14]="Extended_Pictographic"})(We=e.GraphemeBreakType||(e.GraphemeBreakType={}));class Le{static getInstance(){return Le._INSTANCE||(Le._INSTANCE=new Le),Le._INSTANCE}constructor(){this._data=qe()}getGraphemeBreakType(T){if(T<32)return T===10?3:T===13?2:4;if(T<127)return 0;const Q=this._data,ee=Q.length/3;let re=1;for(;re<=ee;)if(TQ[3*re+1])re=2*re+1;else return Q[3*re+2];return 0}}Le._INSTANCE=null;function qe(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}function $e(c,T){if(c===0)return 0;const Q=ze(c,T);if(Q!==void 0)return Q;const ee=new U(T,c);return ee.prevCodePoint(),ee.offset}e.getLeftDeleteOffset=$e;function ze(c,T){const Q=new U(T,c);let ee=Q.prevCodePoint();for(;je(ee)||ee===65039||ee===8419;){if(Q.offset===0)return;ee=Q.prevCodePoint()}if(!L(ee))return;let re=Q.offset;return re>0&&Q.prevCodePoint()===8205&&(re=Q.offset),re}function je(c){return 127995<=c&&c<=127999}var Re;(function(c){c[c.zwj=8205]="zwj",c[c.emojiVariantSelector=65039]="emojiVariantSelector",c[c.enclosingKeyCap=8419]="enclosingKeyCap"})(Re||(Re={})),e.noBreakWhitespace="\xA0";class pe{static getInstance(T){return pe.cache.get(Array.from(T))}static getLocales(){return pe._locales.getValue()}constructor(T){this.confusableDictionary=T}isAmbiguous(T){return this.confusableDictionary.has(T)}getPrimaryConfusable(T){return this.confusableDictionary.get(T)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}e.AmbiguousCharacters=pe,A=pe,pe.ambiguousCharacterData=new O.Lazy(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),pe.cache=new _.LRUCachedFunction(c=>{function T(we){const Ce=new Map;for(let Pe=0;Pe!we.startsWith("_")&&we in re);he.length===0&&(he=["_default"]);let Ee;for(const we of he){const Ce=T(re[we]);Ee=ee(Ee,Ce)}const Se=T(re._common),Ae=Q(Se,Ee);return new pe(Ae)}),pe._locales=new O.Lazy(()=>Object.keys(pe.ambiguousCharacterData.getValue()).filter(c=>!c.startsWith("_")));class De{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(De.getRawData())),this._data}static isInvisibleCharacter(T){return De.getData().has(T)}static get codePoints(){return De.getData()}}e.InvisibleCharacters=De,De._data=void 0}),define(ae[4],le([0,1,3,2,5,13]),function(se,e,_,O,A,j){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.randomPath=e.parseLineAndColumnAware=e.indexOfPath=e.getDriveLetter=e.hasDriveLetter=e.isRootOrDriveLetter=e.sanitizeFilePath=e.isWindowsDriveLetter=e.isEqualOrParent=e.isEqual=e.isValidBasename=e.isUNC=e.getRoot=e.toPosixPath=e.toSlashes=e.isPathSeparator=void 0;function R(i){return i===47||i===92}e.isPathSeparator=R;function F(i){return i.replace(/[\\/]/g,_.posix.sep)}e.toSlashes=F;function S(i){return i.indexOf("/")===-1&&(i=F(i)),/^[a-zA-Z]:(\/|$)/.test(i)&&(i="/"+i),i}e.toPosixPath=S;function I(i,o=_.posix.sep){if(!i)return"";const n=i.length,b=i.charCodeAt(0);if(R(b)){if(R(i.charCodeAt(1))&&!R(i.charCodeAt(2))){let G=3;const ie=G;for(;G\|]/g,z=/[\\/]/g,f=/^(con|prn|aux|clock\$|nul|lpt[0-9]|com[0-9])(\.(.*?))?$/i;function l(i,o=O.isWindows){const n=o?W:z;return!(!i||i.length===0||/^\s+$/.test(i)||(n.lastIndex=0,n.test(i))||o&&f.test(i)||i==="."||i===".."||o&&i[i.length-1]==="."||o&&i.length!==i.trim().length||i.length>255)}e.isValidBasename=l;function r(i,o,n){const b=i===o;return!n||b?b:!i||!o?!1:(0,A.equalsIgnoreCase)(i,o)}e.isEqual=r;function s(i,o,n,b=_.sep){if(i===o)return!0;if(!i||!o||o.length>i.length)return!1;if(n){if(!(0,A.startsWithIgnoreCase)(i,o))return!1;if(o.length===i.length)return!0;let G=o.length;return o.charAt(o.length-1)===b&&G--,i.charAt(G)===b}return o.charAt(o.length-1)!==b&&(o+=b),i.indexOf(o)===0}e.isEqualOrParent=s;function u(i){return i>=65&&i<=90||i>=97&&i<=122}e.isWindowsDriveLetter=u;function E(i,o){return O.isWindows&&i.endsWith(":")&&(i+=_.sep),(0,_.isAbsolute)(i)||(i=(0,_.join)(o,i)),i=(0,_.normalize)(i),O.isWindows?(i=(0,A.rtrim)(i,_.sep),i.endsWith(":")&&(i+=_.sep)):(i=(0,A.rtrim)(i,_.sep),i||(i=_.sep)),i}e.sanitizeFilePath=E;function t(i){const o=(0,_.normalize)(i);return O.isWindows?i.length>3?!1:a(o)&&(i.length===2||o.charCodeAt(2)===92):o===_.posix.sep}e.isRootOrDriveLetter=t;function a(i,o=O.isWindows){return o?u(i.charCodeAt(0))&&i.charCodeAt(1)===58:!1}e.hasDriveLetter=a;function g(i){return a(i)?i[0]:void 0}e.getDriveLetter=g;function y(i,o,n){return o.length>i.length?-1:i===o?0:(n&&(i=i.toLowerCase(),o=o.toLowerCase()),i.indexOf(o))}e.indexOfPath=y;function w(i){const o=i.split(":");let n,b,P;for(const G of o){const ie=Number(G);(0,j.isNumber)(ie)?b===void 0?b=ie:P===void 0&&(P=ie):n=n?[n,G].join(":"):G}if(!n)throw new Error("Format for `--goto` should be: `FILE:LINE(:COLUMN)`");return{path:n,line:b!==void 0?b:void 0,column:P!==void 0?P:b!==void 0?1:void 0}}e.parseLineAndColumnAware=w;const d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";function v(i,o,n=8){let b="";for(let G=0;G=0;l--,this._valueLen--){const r=this._value.charCodeAt(l);if(!(r===47||this._splitOnBackslash&&r===92))break}return this.next()}hasNext(){return this._to!1,l=()=>!1){return new W(new S(f,l))}static forPaths(f=!1){return new W(new R(void 0,!f))}static forStrings(){return new W(new A)}static forConfigKeys(){return new W(new j)}constructor(f){this._iter=f}clear(){this._root=void 0}fill(f,l){if(l){const r=l.slice(0);(0,_.shuffle)(r);for(const s of r)this.set(s,f)}else{const r=f.slice(0);(0,_.shuffle)(r);for(const s of r)this.set(s[0],s[1])}}set(f,l){const r=this._iter.reset(f);let s;this._root||(this._root=new I,this._root.segment=r.value());const u=[];for(s=this._root;;){const t=r.cmp(s.segment);if(t>0)s.left||(s.left=new I,s.left.segment=r.value()),u.push([-1,s]),s=s.left;else if(t<0)s.right||(s.right=new I,s.right.segment=r.value()),u.push([1,s]),s=s.right;else if(r.hasNext())r.next(),s.mid||(s.mid=new I,s.mid.segment=r.value()),u.push([0,s]),s=s.mid;else break}const E=s.value;s.value=l,s.key=f;for(let t=u.length-1;t>=0;t--){const a=u[t][1];a.updateHeight();const g=a.balanceFactor();if(g<-1||g>1){const y=u[t][0],w=u[t+1][0];if(y===1&&w===1)u[t][1]=a.rotateLeft();else if(y===-1&&w===-1)u[t][1]=a.rotateRight();else if(y===1&&w===-1)a.right=u[t+1][1]=u[t+1][1].rotateRight(),u[t][1]=a.rotateLeft();else if(y===-1&&w===1)a.left=u[t+1][1]=u[t+1][1].rotateLeft(),u[t][1]=a.rotateRight();else throw new Error;if(t>0)switch(u[t-1][0]){case-1:u[t-1][1].left=u[t][1];break;case 1:u[t-1][1].right=u[t][1];break;case 0:u[t-1][1].mid=u[t][1];break}else this._root=u[0][1]}}return E}get(f){return this._getNode(f)?.value}_getNode(f){const l=this._iter.reset(f);let r=this._root;for(;r;){const s=l.cmp(r.segment);if(s>0)r=r.left;else if(s<0)r=r.right;else if(l.hasNext())l.next(),r=r.mid;else break}return r}has(f){const l=this._getNode(f);return!(l?.value===void 0&&l?.mid===void 0)}delete(f){return this._delete(f,!1)}deleteSuperstr(f){return this._delete(f,!0)}_delete(f,l){const r=this._iter.reset(f),s=[];let u=this._root;for(;u;){const E=r.cmp(u.segment);if(E>0)s.push([-1,u]),u=u.left;else if(E<0)s.push([1,u]),u=u.right;else if(r.hasNext())r.next(),s.push([0,u]),u=u.mid;else break}if(!!u){if(l?(u.left=void 0,u.mid=void 0,u.right=void 0,u.height=1):(u.key=void 0,u.value=void 0),!u.mid&&!u.value)if(u.left&&u.right){const E=this._min(u.right);if(E.key){const{key:t,value:a,segment:g}=E;this._delete(E.key,!1),u.key=t,u.value=a,u.segment=g}}else{const E=u.left??u.right;if(s.length>0){const[t,a]=s[s.length-1];switch(t){case-1:a.left=E;break;case 0:a.mid=E;break;case 1:a.right=E;break}}else this._root=E}for(let E=s.length-1;E>=0;E--){const t=s[E][1];t.updateHeight();const a=t.balanceFactor();if(a>1?(t.right.balanceFactor()>=0||(t.right=t.right.rotateRight()),s[E][1]=t.rotateLeft()):a<-1&&(t.left.balanceFactor()<=0||(t.left=t.left.rotateLeft()),s[E][1]=t.rotateRight()),E>0)switch(s[E-1][0]){case-1:s[E-1][1].left=s[E][1];break;case 1:s[E-1][1].right=s[E][1];break;case 0:s[E-1][1].mid=s[E][1];break}else this._root=s[0][1]}}}_min(f){for(;f.left;)f=f.left;return f}findSubstr(f){const l=this._iter.reset(f);let r=this._root,s;for(;r;){const u=l.cmp(r.segment);if(u>0)r=r.left;else if(u<0)r=r.right;else if(l.hasNext())l.next(),s=r.value||s,r=r.mid;else break}return r&&r.value||s}findSuperstr(f){const l=this._iter.reset(f);let r=this._root;for(;r;){const s=l.cmp(r.segment);if(s>0)r=r.left;else if(s<0)r=r.right;else if(l.hasNext())l.next(),r=r.mid;else return r.mid?this._entries(r.mid):void 0}}forEach(f){for(const[l,r]of this)f(r,l)}*[Symbol.iterator](){yield*this._entries(this._root)}_entries(f){const l=[];return this._dfsEntries(f,l),l[Symbol.iterator]()}_dfsEntries(f,l){!f||(f.left&&this._dfsEntries(f.left,l),f.value&&l.push([f.key,f.value]),f.mid&&this._dfsEntries(f.mid,l),f.right&&this._dfsEntries(f.right,l))}_isBalanced(){const f=l=>{if(!l)return!0;const r=l.balanceFactor();return r<-1||r>1?!1:f(l.left)&&f(l.right)};return f(this._root)}}e.TernarySearchTree=W}),define(ae[6],le([0,1,3,2]),function(se,e,_,O){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.uriToFsPath=e.URI=void 0;const A=/^\w[\w\d+.-]*$/,j=/^\//,R=/^\/\//;function F(d,v){if(!d.scheme&&v)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${d.authority}", path: "${d.path}", query: "${d.query}", fragment: "${d.fragment}"}`);if(d.scheme&&!A.test(d.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(d.path){if(d.authority){if(!j.test(d.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(R.test(d.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function S(d,v){return!d&&!v?"file":d}function I(d,v){switch(d){case"https":case"http":case"file":v?v[0]!==W&&(v=W+v):v=W;break}return v}const N="",W="/",z=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class f{static isUri(v){return v instanceof f?!0:v?typeof v.authority=="string"&&typeof v.fragment=="string"&&typeof v.path=="string"&&typeof v.query=="string"&&typeof v.scheme=="string"&&typeof v.fsPath=="string"&&typeof v.with=="function"&&typeof v.toString=="function":!1}constructor(v,i,o,n,b,P=!1){typeof v=="object"?(this.scheme=v.scheme||N,this.authority=v.authority||N,this.path=v.path||N,this.query=v.query||N,this.fragment=v.fragment||N):(this.scheme=S(v,P),this.authority=i||N,this.path=I(this.scheme,o||N),this.query=n||N,this.fragment=b||N,F(this,P))}get fsPath(){return t(this,!1)}with(v){if(!v)return this;let{scheme:i,authority:o,path:n,query:b,fragment:P}=v;return i===void 0?i=this.scheme:i===null&&(i=N),o===void 0?o=this.authority:o===null&&(o=N),n===void 0?n=this.path:n===null&&(n=N),b===void 0?b=this.query:b===null&&(b=N),P===void 0?P=this.fragment:P===null&&(P=N),i===this.scheme&&o===this.authority&&n===this.path&&b===this.query&&P===this.fragment?this:new r(i,o,n,b,P)}static parse(v,i=!1){const o=z.exec(v);return o?new r(o[2]||N,w(o[4]||N),w(o[5]||N),w(o[7]||N),w(o[9]||N),i):new r(N,N,N,N,N)}static file(v){let i=N;if(O.isWindows&&(v=v.replace(/\\/g,W)),v[0]===W&&v[1]===W){const o=v.indexOf(W,2);o===-1?(i=v.substring(2),v=W):(i=v.substring(2,o),v=v.substring(o)||W)}return new r("file",i,v,N,N)}static from(v){const i=new r(v.scheme,v.authority,v.path,v.query,v.fragment);return F(i,!0),i}static joinPath(v,...i){if(!v.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let o;return O.isWindows&&v.scheme==="file"?o=f.file(_.win32.join(t(v,!0),...i)).path:o=_.posix.join(v.path,...i),v.with({path:o})}toString(v=!1){return a(this,v)}toJSON(){return this}static revive(v){if(v){if(v instanceof f)return v;{const i=new r(v);return i._formatted=v.external,i._fsPath=v._sep===l?v.fsPath:null,i}}else return v}}e.URI=f;const l=O.isWindows?1:void 0;class r extends f{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=t(this,!1)),this._fsPath}toString(v=!1){return v?a(this,!0):(this._formatted||(this._formatted=a(this,!1)),this._formatted)}toJSON(){const v={$mid:1};return this._fsPath&&(v.fsPath=this._fsPath,v._sep=l),this._formatted&&(v.external=this._formatted),this.path&&(v.path=this.path),this.scheme&&(v.scheme=this.scheme),this.authority&&(v.authority=this.authority),this.query&&(v.query=this.query),this.fragment&&(v.fragment=this.fragment),v}}const s={[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 u(d,v){let i,o=-1;for(let n=0;n=97&&b<=122||b>=65&&b<=90||b>=48&&b<=57||b===45||b===46||b===95||b===126||v&&b===47)o!==-1&&(i+=encodeURIComponent(d.substring(o,n)),o=-1),i!==void 0&&(i+=d.charAt(n));else{i===void 0&&(i=d.substr(0,n));const P=s[b];P!==void 0?(o!==-1&&(i+=encodeURIComponent(d.substring(o,n)),o=-1),i+=P):o===-1&&(o=n)}}return o!==-1&&(i+=encodeURIComponent(d.substring(o))),i!==void 0?i:d}function E(d){let v;for(let i=0;i1&&d.scheme==="file"?i=`//${d.authority}${d.path}`:d.path.charCodeAt(0)===47&&(d.path.charCodeAt(1)>=65&&d.path.charCodeAt(1)<=90||d.path.charCodeAt(1)>=97&&d.path.charCodeAt(1)<=122)&&d.path.charCodeAt(2)===58?v?i=d.path.substr(1):i=d.path[1].toLowerCase()+d.path.substr(2):i=d.path,O.isWindows&&(i=i.replace(/\//g,"\\")),i}e.uriToFsPath=t;function a(d,v){const i=v?E:u;let o="",{scheme:n,authority:b,path:P,query:G,fragment:ie}=d;if(n&&(o+=n,o+=":"),(b||n==="file")&&(o+=W,o+=W),b){let ne=b.indexOf("@");if(ne!==-1){const de=b.substr(0,ne);b=b.substr(ne+1),ne=de.indexOf(":"),ne===-1?o+=i(de,!1):(o+=i(de.substr(0,ne),!1),o+=":",o+=i(de.substr(ne+1),!1)),o+="@"}b=b.toLowerCase(),ne=b.indexOf(":"),ne===-1?o+=i(b,!1):(o+=i(b.substr(0,ne),!1),o+=b.substr(ne))}if(P){if(P.length>=3&&P.charCodeAt(0)===47&&P.charCodeAt(2)===58){const ne=P.charCodeAt(1);ne>=65&&ne<=90&&(P=`/${String.fromCharCode(ne+32)}:${P.substr(3)}`)}else if(P.length>=2&&P.charCodeAt(1)===58){const ne=P.charCodeAt(0);ne>=65&&ne<=90&&(P=`${String.fromCharCode(ne+32)}:${P.substr(2)}`)}o+=i(P,!0)}return G&&(o+="?",o+=i(G,!1)),ie&&(o+="#",o+=v?ie:u(ie,!1)),o}function g(d){try{return decodeURIComponent(d)}catch{return d.length>3?d.substr(0,3)+g(d.substr(3)):d}}const y=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function w(d){return d.match(y)?d.replace(y,v=>g(v)):d}}),define(ae[17],le([0,1,2,6]),function(se,e,_,O){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.COI=e.FileAccess=e.RemoteAuthorities=e.connectionTokenQueryName=e.connectionTokenCookieName=e.Schemas=void 0;var A;(function(S){S.inMemory="inmemory",S.vscode="vscode",S.internal="private",S.walkThrough="walkThrough",S.walkThroughSnippet="walkThroughSnippet",S.http="http",S.https="https",S.file="file",S.mailto="mailto",S.untitled="untitled",S.data="data",S.command="command",S.vscodeRemote="vscode-remote",S.vscodeRemoteResource="vscode-remote-resource",S.vscodeUserData="vscode-userdata",S.vscodeCustomEditor="vscode-custom-editor",S.vscodeNotebook="vscode-notebook",S.vscodeNotebookCell="vscode-notebook-cell",S.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",S.vscodeNotebookCellOutput="vscode-notebook-cell-output",S.vscodeInteractive="vscode-interactive",S.vscodeInteractiveInput="vscode-interactive-input",S.vscodeSettings="vscode-settings",S.vscodeWorkspaceTrust="vscode-workspace-trust",S.vscodeTerminal="vscode-terminal",S.webviewPanel="webview-panel",S.vscodeWebview="vscode-webview",S.extension="extension",S.vscodeFileResource="vscode-file",S.tmp="tmp",S.vsls="vsls",S.vscodeSourceControl="vscode-scm"})(A=e.Schemas||(e.Schemas={})),e.connectionTokenCookieName="vscode-tkn",e.connectionTokenQueryName="tkn";class j{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null,this._remoteResourcesPath=`/${A.vscodeRemoteResource}`}setPreferredWebSchema(I){this._preferredWebSchema=I}setDelegate(I){this._delegate=I}setServerRootPath(I){this._remoteResourcesPath=`${I}/${A.vscodeRemoteResource}`}set(I,N,W){this._hosts[I]=N,this._ports[I]=W}setConnectionToken(I,N){this._connectionTokens[I]=N}getPreferredWebSchema(){return this._preferredWebSchema}rewrite(I){if(this._delegate)return this._delegate(I);const N=I.authority;let W=this._hosts[N];W&&W.indexOf(":")!==-1&&W.indexOf("[")===-1&&(W=`[${W}]`);const z=this._ports[N],f=this._connectionTokens[N];let l=`path=${encodeURIComponent(I.path)}`;return typeof f=="string"&&(l+=`&${e.connectionTokenQueryName}=${encodeURIComponent(f)}`),O.URI.from({scheme:_.isWeb?this._preferredWebSchema:A.vscodeRemoteResource,authority:`${W}:${z}`,path:this._remoteResourcesPath,query:l})}}e.RemoteAuthorities=new j;class R{asBrowserUri(I,N){const W=this.toUri(I,N);return W.scheme===A.vscodeRemote?e.RemoteAuthorities.rewrite(W):W.scheme===A.file&&(_.isNative||_.isWebWorker&&_.globals.origin===`${A.vscodeFileResource}://${R.FALLBACK_AUTHORITY}`)?W.with({scheme:A.vscodeFileResource,authority:W.authority||R.FALLBACK_AUTHORITY,query:null,fragment:null}):W}asFileUri(I,N){const W=this.toUri(I,N);return W.scheme===A.vscodeFileResource?W.with({scheme:A.file,authority:W.authority!==R.FALLBACK_AUTHORITY?W.authority:null,query:null,fragment:null}):W}toUri(I,N){return O.URI.isUri(I)?I:O.URI.parse(N.toUrl(I))}}R.FALLBACK_AUTHORITY="vscode-app",e.FileAccess=new R;var F;(function(S){const I=new Map([["1",{"Cross-Origin-Opener-Policy":"same-origin"}],["2",{"Cross-Origin-Embedder-Policy":"require-corp"}],["3",{"Cross-Origin-Opener-Policy":"same-origin","Cross-Origin-Embedder-Policy":"require-corp"}]]);S.CoopAndCoep=Object.freeze(I.get("3"));const N="vscode-coi";function W(f){let l;typeof f=="string"?l=new URL(f).searchParams:f instanceof URL?l=f.searchParams:O.URI.isUri(f)&&(l=new URL(f.toString(!0)).searchParams);const r=l?.get(N);if(!!r)return I.get(r)}S.getHeadersFromQuery=W;function z(f,l,r){if(!globalThis.crossOriginIsolated)return;const s=l&&r?"3":r?"2":"1";f instanceof URLSearchParams?f.set(N,s):f[N]=s}S.addSearchParam=z})(F=e.COI||(e.COI={}))}),define(ae[18],le([0,1,4,17,3,2,5,6]),function(se,e,_,O,A,j,R,F){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toLocalResource=e.DataUri=e.distinctParents=e.addTrailingPathSeparator=e.removeTrailingPathSeparator=e.hasTrailingPathSeparator=e.isEqualAuthority=e.isAbsolutePath=e.resolvePath=e.relativePath=e.normalizePath=e.joinPath=e.dirname=e.extname=e.basename=e.basenameOrAuthority=e.getComparisonKey=e.isEqualOrParent=e.isEqual=e.extUriIgnorePathCase=e.extUriBiasedIgnorePathCase=e.extUri=e.ExtUri=e.originalFSPath=void 0;function S(f){return(0,F.uriToFsPath)(f,!0)}e.originalFSPath=S;class I{constructor(l){this._ignorePathCasing=l}compare(l,r,s=!1){return l===r?0:(0,R.compare)(this.getComparisonKey(l,s),this.getComparisonKey(r,s))}isEqual(l,r,s=!1){return l===r?!0:!l||!r?!1:this.getComparisonKey(l,s)===this.getComparisonKey(r,s)}getComparisonKey(l,r=!1){return l.with({path:this._ignorePathCasing(l)?l.path.toLowerCase():void 0,fragment:r?null:void 0}).toString()}ignorePathCasing(l){return this._ignorePathCasing(l)}isEqualOrParent(l,r,s=!1){if(l.scheme===r.scheme){if(l.scheme===O.Schemas.file)return _.isEqualOrParent(S(l),S(r),this._ignorePathCasing(l))&&l.query===r.query&&(s||l.fragment===r.fragment);if((0,e.isEqualAuthority)(l.authority,r.authority))return _.isEqualOrParent(l.path,r.path,this._ignorePathCasing(l),"/")&&l.query===r.query&&(s||l.fragment===r.fragment)}return!1}joinPath(l,...r){return F.URI.joinPath(l,...r)}basenameOrAuthority(l){return(0,e.basename)(l)||l.authority}basename(l){return A.posix.basename(l.path)}extname(l){return A.posix.extname(l.path)}dirname(l){if(l.path.length===0)return l;let r;return l.scheme===O.Schemas.file?r=F.URI.file(A.dirname(S(l))).path:(r=A.posix.dirname(l.path),l.authority&&r.length&&r.charCodeAt(0)!==47&&(console.error(`dirname("${l.toString})) resulted in a relative path`),r="/")),l.with({path:r})}normalizePath(l){if(!l.path.length)return l;let r;return l.scheme===O.Schemas.file?r=F.URI.file(A.normalize(S(l))).path:r=A.posix.normalize(l.path),l.with({path:r})}relativePath(l,r){if(l.scheme!==r.scheme||!(0,e.isEqualAuthority)(l.authority,r.authority))return;if(l.scheme===O.Schemas.file){const E=A.relative(S(l),S(r));return j.isWindows?_.toSlashes(E):E}let s=l.path||"/";const u=r.path||"/";if(this._ignorePathCasing(l)){let E=0;for(const t=Math.min(s.length,u.length);E_.getRoot(s).length&&s[s.length-1]===r}else{const s=l.path;return s.length>1&&s.charCodeAt(s.length-1)===47&&!/^[a-zA-Z]:(\/$|\\$)/.test(l.fsPath)}}removeTrailingPathSeparator(l,r=A.sep){return(0,e.hasTrailingPathSeparator)(l,r)?l.with({path:l.path.substr(0,l.path.length-1)}):l}addTrailingPathSeparator(l,r=A.sep){let s=!1;if(l.scheme===O.Schemas.file){const u=S(l);s=u!==void 0&&u.length===_.getRoot(u).length&&u[u.length-1]===r}else{r="/";const u=l.path;s=u.length===1&&u.charCodeAt(u.length-1)===47}return!s&&!(0,e.hasTrailingPathSeparator)(l,r)?l.with({path:l.path+"/"}):l}}e.ExtUri=I,e.extUri=new I(()=>!1),e.extUriBiasedIgnorePathCase=new I(f=>f.scheme===O.Schemas.file?!j.isLinux:!0),e.extUriIgnorePathCase=new I(f=>!0),e.isEqual=e.extUri.isEqual.bind(e.extUri),e.isEqualOrParent=e.extUri.isEqualOrParent.bind(e.extUri),e.getComparisonKey=e.extUri.getComparisonKey.bind(e.extUri),e.basenameOrAuthority=e.extUri.basenameOrAuthority.bind(e.extUri),e.basename=e.extUri.basename.bind(e.extUri),e.extname=e.extUri.extname.bind(e.extUri),e.dirname=e.extUri.dirname.bind(e.extUri),e.joinPath=e.extUri.joinPath.bind(e.extUri),e.normalizePath=e.extUri.normalizePath.bind(e.extUri),e.relativePath=e.extUri.relativePath.bind(e.extUri),e.resolvePath=e.extUri.resolvePath.bind(e.extUri),e.isAbsolutePath=e.extUri.isAbsolutePath.bind(e.extUri),e.isEqualAuthority=e.extUri.isEqualAuthority.bind(e.extUri),e.hasTrailingPathSeparator=e.extUri.hasTrailingPathSeparator.bind(e.extUri),e.removeTrailingPathSeparator=e.extUri.removeTrailingPathSeparator.bind(e.extUri),e.addTrailingPathSeparator=e.extUri.addTrailingPathSeparator.bind(e.extUri);function N(f,l){const r=[];for(let s=0;st===s?!1:(0,e.isEqualOrParent)(u,l(E)))||r.push(f[s])}return r}e.distinctParents=N;var W;(function(f){f.META_DATA_LABEL="label",f.META_DATA_DESCRIPTION="description",f.META_DATA_SIZE="size",f.META_DATA_MIME="mime";function l(r){const s=new Map;r.path.substring(r.path.indexOf(";")+1,r.path.lastIndexOf(";")).split(";").forEach(t=>{const[a,g]=t.split(":");a&&g&&s.set(a,g)});const E=r.path.substring(0,r.path.indexOf(";"));return E&&s.set(f.META_DATA_MIME,E),s}f.parseMetaData=l})(W=e.DataUri||(e.DataUri={}));function z(f,l,r){if(l){let s=f.path;return s&&s[0]!==A.posix.sep&&(s=A.posix.sep+s),f.with({scheme:r,authority:l,path:s})}return f.with({scheme:r})}e.toLocalResource=z}),define(ae[9],le([0,1,8,12,16,7,18,2]),function(se,e,_,O,A,j,R,F){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createCancelableAsyncIterable=e.CancelableAsyncIterableObject=e.AsyncIterableObject=e.Promises=e.DeferredPromise=e.IntervalCounter=e.TaskSequentializer=e.retry=e.IdleValue=e.runWhenIdle=e.ThrottledWorker=e.RunOnceWorker=e.ProcessTimeRunOnceScheduler=e.RunOnceScheduler=e.IntervalTimer=e.TimeoutTimer=e.ResourceQueue=e.Queue=e.Limiter=e.firstParallel=e.first=e.sequence=e.disposableTimeout=e.timeout=e.AutoOpenBarrier=e.Barrier=e.ThrottledDelayer=e.Delayer=e.MicrotaskDelay=e.SequencerByKey=e.Sequencer=e.Throttler=e.asPromise=e.raceTimeout=e.raceCancellablePromises=e.raceCancellationError=e.raceCancellation=e.createCancelablePromise=e.isThenable=void 0;function S(Y){return!!Y&&typeof Y.then=="function"}e.isThenable=S;function I(Y){const h=new _.CancellationTokenSource,D=Y(h.token),H=new Promise((k,B)=>{const x=h.token.onCancellationRequested(()=>{x.dispose(),h.dispose(),B(new O.CancellationError)});Promise.resolve(D).then(m=>{x.dispose(),h.dispose(),k(m)},m=>{x.dispose(),h.dispose(),B(m)})});return new class{cancel(){h.cancel()}then(k,B){return H.then(k,B)}catch(k){return this.then(void 0,k)}finally(k){return H.finally(k)}}}e.createCancelablePromise=I;function N(Y,h,D){return new Promise((H,k)=>{const B=h.onCancellationRequested(()=>{B.dispose(),H(D)});Y.then(H,k).finally(()=>B.dispose())})}e.raceCancellation=N;function W(Y,h){return new Promise((D,H)=>{const k=h.onCancellationRequested(()=>{k.dispose(),H(new O.CancellationError)});Y.then(D,H).finally(()=>k.dispose())})}e.raceCancellationError=W;async function z(Y){let h=-1;const D=Y.map((k,B)=>k.then(x=>(h=B,x))),H=await Promise.race(D);return Y.forEach((k,B)=>{B!==h&&k.cancel()}),H}e.raceCancellablePromises=z;function f(Y,h,D){let H;const k=setTimeout(()=>{H?.(void 0),D?.()},h);return Promise.race([Y.finally(()=>clearTimeout(k)),new Promise(B=>H=B)])}e.raceTimeout=f;function l(Y){return new Promise((h,D)=>{const H=Y();S(H)?H.then(h,D):h(H)})}e.asPromise=l;class r{constructor(){this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(h){if(this.activePromise){if(this.queuedPromiseFactory=h,!this.queuedPromise){const D=()=>{this.queuedPromise=null;const H=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,H};this.queuedPromise=new Promise(H=>{this.activePromise.then(D,D).then(H)})}return new Promise((D,H)=>{this.queuedPromise.then(D,H)})}return this.activePromise=h(),new Promise((D,H)=>{this.activePromise.then(k=>{this.activePromise=null,D(k)},k=>{this.activePromise=null,H(k)})})}}e.Throttler=r;class s{constructor(){this.current=Promise.resolve(null)}queue(h){return this.current=this.current.then(()=>h(),()=>h())}}e.Sequencer=s;class u{constructor(){this.promiseMap=new Map}queue(h,D){const k=(this.promiseMap.get(h)??Promise.resolve()).catch(()=>{}).then(D).finally(()=>{this.promiseMap.get(h)===k&&this.promiseMap.delete(h)});return this.promiseMap.set(h,k),k}}e.SequencerByKey=u;const E=(Y,h)=>{let D=!0;const H=setTimeout(()=>{D=!1,h()},Y);return{isTriggered:()=>D,dispose:()=>{clearTimeout(H),D=!1}}},t=Y=>{let h=!0;return queueMicrotask(()=>{h&&(h=!1,Y())}),{isTriggered:()=>h,dispose:()=>{h=!1}}};e.MicrotaskDelay=Symbol("MicrotaskDelay");class a{constructor(h){this.defaultDelay=h,this.deferred=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(h,D=this.defaultDelay){this.task=h,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((k,B)=>{this.doResolve=k,this.doReject=B}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const k=this.task;return this.task=null,k()}}));const H=()=>{this.deferred=null,this.doResolve?.(null)};return this.deferred=D===e.MicrotaskDelay?t(H):E(D,H),this.completionPromise}isTriggered(){return!!this.deferred?.isTriggered()}cancel(){this.cancelTimeout(),this.completionPromise&&(this.doReject?.(new O.CancellationError),this.completionPromise=null)}cancelTimeout(){this.deferred?.dispose(),this.deferred=null}dispose(){this.cancel()}}e.Delayer=a;class g{constructor(h){this.delayer=new a(h),this.throttler=new r}trigger(h,D){return this.delayer.trigger(()=>this.throttler.queue(h),D)}isTriggered(){return this.delayer.isTriggered()}cancel(){this.delayer.cancel()}dispose(){this.delayer.dispose()}}e.ThrottledDelayer=g;class y{constructor(){this._isOpen=!1,this._promise=new Promise((h,D)=>{this._completePromise=h})}isOpen(){return this._isOpen}open(){this._isOpen=!0,this._completePromise(!0)}wait(){return this._promise}}e.Barrier=y;class w extends y{constructor(h){super(),this._timeout=setTimeout(()=>this.open(),h)}open(){clearTimeout(this._timeout),super.open()}}e.AutoOpenBarrier=w;function d(Y,h){return h?new Promise((D,H)=>{const k=setTimeout(()=>{B.dispose(),D()},Y),B=h.onCancellationRequested(()=>{clearTimeout(k),B.dispose(),H(new O.CancellationError)})}):I(D=>d(Y,D))}e.timeout=d;function v(Y,h=0){const D=setTimeout(Y,h);return(0,j.toDisposable)(()=>clearTimeout(D))}e.disposableTimeout=v;function i(Y){const h=[];let D=0;const H=Y.length;function k(){return D!!H,D=null){let H=0;const k=Y.length,B=()=>{if(H>=k)return Promise.resolve(D);const x=Y[H++];return Promise.resolve(x()).then(p=>h(p)?Promise.resolve(p):B())};return B()}e.first=o;function n(Y,h=H=>!!H,D=null){if(Y.length===0)return Promise.resolve(D);let H=Y.length;const k=()=>{H=-1;for(const B of Y)B.cancel?.()};return new Promise((B,x)=>{for(const m of Y)m.then(p=>{--H>=0&&h(p)?(k(),B(p)):H===0&&B(D)}).catch(p=>{--H>=0&&(k(),x(p))})})}e.firstParallel=n;class b{constructor(h){this._size=0,this.maxDegreeOfParalellism=h,this.outstandingPromises=[],this.runningPromises=0,this._onDrained=new A.Emitter}get onDrained(){return this._onDrained.event}get size(){return this._size}queue(h){return this._size++,new Promise((D,H)=>{this.outstandingPromises.push({factory:h,c:D,e:H}),this.consume()})}consume(){for(;this.outstandingPromises.length&&this.runningPromisesthis.consumed(),()=>this.consumed())}}consumed(){this._size--,this.runningPromises--,this.outstandingPromises.length>0?this.consume():this._onDrained.fire()}dispose(){this._onDrained.dispose()}}e.Limiter=b;class P extends b{constructor(){super(1)}}e.Queue=P;class G{constructor(){this.queues=new Map,this.drainers=new Set}async whenDrained(){if(this.isDrained())return;const h=new M;return this.drainers.add(h),h.p}isDrained(){for(const[,h]of this.queues)if(h.size>0)return!1;return!0}queueFor(h,D=R.extUri){const H=D.getComparisonKey(h);let k=this.queues.get(H);return k||(k=new P,A.Event.once(k.onDrained)(()=>{k?.dispose(),this.queues.delete(H),this.onDidQueueDrain()}),this.queues.set(H,k)),k}onDidQueueDrain(){!this.isDrained()||this.releaseDrainers()}releaseDrainers(){for(const h of this.drainers)h.complete();this.drainers.clear()}dispose(){for(const[,h]of this.queues)h.dispose();this.queues.clear(),this.releaseDrainers()}}e.ResourceQueue=G;class ie{constructor(h,D){this._token=-1,typeof h=="function"&&typeof D=="number"&&this.setIfNotSet(h,D)}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(h,D){this.cancel(),this._token=setTimeout(()=>{this._token=-1,h()},D)}setIfNotSet(h,D){this._token===-1&&(this._token=setTimeout(()=>{this._token=-1,h()},D))}}e.TimeoutTimer=ie;class ne{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearInterval(this._token),this._token=-1)}cancelAndSet(h,D){this.cancel(),this._token=setInterval(()=>{h()},D)}}e.IntervalTimer=ne;class de{constructor(h,D){this.timeoutToken=-1,this.runner=h,this.timeout=D,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(h=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,h)}get delay(){return this.timeout}set delay(h){this.timeout=h}isScheduled(){return this.timeoutToken!==-1}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){this.runner?.()}}e.RunOnceScheduler=de;class me{constructor(h,D){D%1e3!==0&&console.warn(`ProcessTimeRunOnceScheduler resolution is 1s, ${D}ms is not a multiple of 1000ms.`),this.runner=h,this.timeout=D,this.counter=0,this.intervalToken=-1,this.intervalHandler=this.onInterval.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearInterval(this.intervalToken),this.intervalToken=-1)}schedule(h=this.timeout){h%1e3!==0&&console.warn(`ProcessTimeRunOnceScheduler resolution is 1s, ${h}ms is not a multiple of 1000ms.`),this.cancel(),this.counter=Math.ceil(h/1e3),this.intervalToken=setInterval(this.intervalHandler,1e3)}isScheduled(){return this.intervalToken!==-1}onInterval(){this.counter--,!(this.counter>0)&&(clearInterval(this.intervalToken),this.intervalToken=-1,this.runner?.())}}e.ProcessTimeRunOnceScheduler=me;class ge extends de{constructor(h,D){super(h,D),this.units=[]}work(h){this.units.push(h),this.isScheduled()||this.schedule()}doRun(){const h=this.units;this.units=[],this.runner?.(h)}dispose(){this.units=[],super.dispose()}}e.RunOnceWorker=ge;class ue extends j.Disposable{constructor(h,D){super(),this.options=h,this.handler=D,this.pendingWork=[],this.throttler=this._register(new j.MutableDisposable),this.disposed=!1}get pending(){return this.pendingWork.length}work(h){if(this.disposed)return!1;if(typeof this.options.maxBufferedWork=="number"){if(this.throttler.value){if(this.pending+h.length>this.options.maxBufferedWork)return!1}else if(this.pending+h.length-this.options.maxWorkChunkSize>this.options.maxBufferedWork)return!1}return this.pendingWork.push(...h),this.throttler.value||this.doWork(),!0}doWork(){this.handler(this.pendingWork.splice(0,this.options.maxWorkChunkSize)),this.pendingWork.length>0&&(this.throttler.value=new de(()=>{this.throttler.clear(),this.doWork()},this.options.throttleDelay),this.throttler.value.schedule())}dispose(){super.dispose(),this.disposed=!0}}e.ThrottledWorker=ue,function(){typeof requestIdleCallback!="function"||typeof cancelIdleCallback!="function"?e.runWhenIdle=Y=>{(0,F.setTimeout0)(()=>{if(h)return;const D=Date.now()+15;Y(Object.freeze({didTimeout:!0,timeRemaining(){return Math.max(0,D-Date.now())}}))});let h=!1;return{dispose(){h||(h=!0)}}}:e.runWhenIdle=(Y,h)=>{const D=requestIdleCallback(Y,typeof h=="number"?{timeout:h}:void 0);let H=!1;return{dispose(){H||(H=!0,cancelIdleCallback(D))}}}}();class V{constructor(h){this._didRun=!1,this._executor=()=>{try{this._value=h()}catch(D){this._error=D}finally{this._didRun=!0}},this._handle=(0,e.runWhenIdle)(()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}get isInitialized(){return this._didRun}}e.IdleValue=V;async function J(Y,h,D){let H;for(let k=0;kH?.(),promise:D},D.then(()=>this.donePending(h),()=>this.donePending(h)),D}donePending(h){this._pending&&h===this._pending.taskId&&(this._pending=void 0,this.triggerNext())}triggerNext(){if(this._next){const h=this._next;this._next=void 0,h.run().then(h.promiseResolve,h.promiseReject)}}setNext(h){if(this._next)this._next.run=h;else{let D,H;const k=new Promise((B,x)=>{D=B,H=x});this._next={run:h,promise:k,promiseResolve:D,promiseReject:H}}return this._next.promise}hasNext(){return!!this._next}async join(){return this._next?.promise??this._pending?.promise}}e.TaskSequentializer=C;class K{constructor(h,D=()=>Date.now()){this.interval=h,this.nowFn=D,this.lastIncrementTime=0,this.value=0}increment(){const h=this.nowFn();return h-this.lastIncrementTime>this.interval&&(this.lastIncrementTime=h,this.value=0),this.value++,this.value}}e.IntervalCounter=K;class M{get isRejected(){return this.rejected}get isResolved(){return this.resolved}get isSettled(){return this.rejected||this.resolved}constructor(){this.rejected=!1,this.resolved=!1,this.p=new Promise((h,D)=>{this.completeCallback=h,this.errorCallback=D})}complete(h){return new Promise(D=>{this.completeCallback(h),this.resolved=!0,D()})}error(h){return new Promise(D=>{this.errorCallback(h),this.rejected=!0,D()})}cancel(){new Promise(h=>{this.errorCallback(new O.CancellationError),this.rejected=!0,h()})}}e.DeferredPromise=M;var $;(function(Y){async function h(H){let k;const B=await Promise.all(H.map(x=>x.then(m=>m,m=>{k||(k=m)})));if(typeof k<"u")throw k;return B}Y.settled=h;function D(H){return new Promise(async(k,B)=>{try{await H(k,B)}catch(x){B(x)}})}Y.withAsyncBody=D})($=e.Promises||(e.Promises={}));var U;(function(Y){Y[Y.Initial=0]="Initial",Y[Y.DoneOK=1]="DoneOK",Y[Y.DoneError=2]="DoneError"})(U||(U={}));class Z{static fromArray(h){return new Z(D=>{D.emitMany(h)})}static fromPromise(h){return new Z(async D=>{D.emitMany(await h)})}static fromPromises(h){return new Z(async D=>{await Promise.all(h.map(async H=>D.emitOne(await H)))})}static merge(h){return new Z(async D=>{await Promise.all(h.map(async H=>{for await(const k of H)D.emitOne(k)}))})}constructor(h){this._state=0,this._results=[],this._error=null,this._onStateChanged=new A.Emitter,queueMicrotask(async()=>{const D={emitOne:H=>this.emitOne(H),emitMany:H=>this.emitMany(H),reject:H=>this.reject(H)};try{await Promise.resolve(h(D)),this.resolve()}catch(H){this.reject(H)}finally{D.emitOne=void 0,D.emitMany=void 0,D.reject=void 0}})}[Symbol.asyncIterator](){let h=0;return{next:async()=>{do{if(this._state===2)throw this._error;if(h{for await(const k of h)H.emitOne(D(k))})}map(h){return Z.map(this,h)}static filter(h,D){return new Z(async H=>{for await(const k of h)D(k)&&H.emitOne(k)})}filter(h){return Z.filter(this,h)}static coalesce(h){return Z.filter(h,D=>!!D)}coalesce(){return Z.coalesce(this)}static async toPromise(h){const D=[];for await(const H of h)D.push(H);return D}toPromise(){return Z.toPromise(this)}emitOne(h){this._state===0&&(this._results.push(h),this._onStateChanged.fire())}emitMany(h){this._state===0&&(this._results=this._results.concat(h),this._onStateChanged.fire())}resolve(){this._state===0&&(this._state=1,this._onStateChanged.fire())}reject(h){this._state===0&&(this._state=2,this._error=h,this._onStateChanged.fire())}}e.AsyncIterableObject=Z,Z.EMPTY=Z.fromArray([]);class te extends Z{constructor(h,D){super(D),this._source=h}cancel(){this._source.cancel()}}e.CancelableAsyncIterableObject=te;function oe(Y){const h=new _.CancellationTokenSource,D=Y(h.token);return new te(h,async H=>{const k=h.token.onCancellationRequested(()=>{k.dispose(),h.dispose(),H.reject(new O.CancellationError)});try{for await(const B of D){if(h.token.isCancellationRequested)return;H.emitOne(B)}k.dispose(),h.dispose()}catch(B){k.dispose(),h.dispose(),H.reject(B)}})}e.createCancelableAsyncIterable=oe}),define(ae[36],le([0,1,20,9,4,22,3,2,5]),function(se,e,_,O,A,j,R,F,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.patternsEquals=e.getPathTerms=e.getBasenameTerms=e.isRelativePattern=e.parse=e.match=e.splitGlobAware=e.GLOB_SPLIT=e.GLOBSTAR=e.getEmptyExpression=void 0;function I(){return Object.create(null)}e.getEmptyExpression=I,e.GLOBSTAR="**",e.GLOB_SPLIT="/";const N="[/\\\\]",W="[^/\\\\]",z=/\//g;function f(M,$){switch(M){case 0:return"";case 1:return`${W}*?`;default:return`(?:${N}|${W}+${N}${$?`|${N}${W}+`:""})*?`}}function l(M,$){if(!M)return[];const U=[];let Z=!1,te=!1,oe="";for(const Y of M){switch(Y){case $:if(!Z&&!te){U.push(oe),oe="";continue}break;case"{":Z=!0;break;case"}":Z=!1;break;case"[":te=!0;break;case"]":te=!1;break}oe+=Y}return oe&&U.push(oe),U}e.splitGlobAware=l;function r(M){if(!M)return"";let $="";const U=l(M,e.GLOB_SPLIT);if(U.every(Z=>Z===e.GLOBSTAR))$=".*";else{let Z=!1;U.forEach((te,oe)=>{if(te===e.GLOBSTAR){if(Z)return;$+=f(2,oe===U.length-1)}else{let Y=!1,h="",D=!1,H="";for(const k of te){if(k!=="}"&&Y){h+=k;continue}if(D&&(k!=="]"||!H)){let B;k==="-"?B=k:(k==="^"||k==="!")&&!H?B="^":k===e.GLOB_SPLIT?B="":B=(0,S.escapeRegExpCharacters)(k),H+=B;continue}switch(k){case"{":Y=!0;continue;case"[":D=!0;continue;case"}":{$+=`(?:${l(h,",").map(m=>r(m)).join("|")})`,Y=!1,h="";break}case"]":{$+="["+H+"]",D=!1,H="";break}case"?":$+=W;continue;case"*":$+=f(1);continue;default:$+=(0,S.escapeRegExpCharacters)(k)}}oev(h,$)).filter(h=>h!==d),M),Z=U.length;if(!Z)return d;if(Z===1)return U[0];const te=function(h,D){for(let H=0,k=U.length;H!!h.allBasenames);oe&&(te.allBasenames=oe.allBasenames);const Y=U.reduce((h,D)=>D.allPaths?h.concat(D.allPaths):h,[]);return Y.length&&(te.allPaths=Y),te}function G(M,$,U){const Z=R.sep===R.posix.sep,te=Z?M:M.replace(z,R.sep),oe=R.sep+te,Y=R.posix.sep+M;let h;return U?h=function(D,H){return typeof D=="string"&&(D===te||D.endsWith(oe)||!Z&&(D===M||D.endsWith(Y)))?$:null}:h=function(D,H){return typeof D=="string"&&(D===te||!Z&&D===M)?$:null},h.allPaths=[(U?"*/":"./")+M],h}function ie(M){try{const $=new RegExp(`^${r(M)}$`);return function(U){return $.lastIndex=0,typeof U=="string"&&$.test(U)?M:null}}catch{return d}}function ne(M,$,U){return!M||typeof $!="string"?!1:de(M)($,void 0,U)}e.match=ne;function de(M,$={}){if(!M)return w;if(typeof M=="string"||me(M)){const U=v(M,$);if(U===d)return w;const Z=function(te,oe){return!!U(te,oe)};return U.allBasenames&&(Z.allBasenames=U.allBasenames),U.allPaths&&(Z.allPaths=U.allPaths),Z}return V(M,$)}e.parse=de;function me(M){const $=M;return $?typeof $.base=="string"&&typeof $.pattern=="string":!1}e.isRelativePattern=me;function ge(M){return M.allBasenames||[]}e.getBasenameTerms=ge;function ue(M){return M.allPaths||[]}e.getPathTerms=ue;function V(M,$){const U=C(Object.getOwnPropertyNames(M).map(h=>J(h,M[h],$)).filter(h=>h!==d)),Z=U.length;if(!Z)return d;if(!U.some(h=>!!h.requiresSiblings)){if(Z===1)return U[0];const h=function(k,B){let x;for(let m=0,p=U.length;m{for(const m of x){const p=await m;if(typeof p=="string")return p}return null})():null},D=U.find(k=>!!k.allBasenames);D&&(h.allBasenames=D.allBasenames);const H=U.reduce((k,B)=>B.allPaths?k.concat(B.allPaths):k,[]);return H.length&&(h.allPaths=H),h}const te=function(h,D,H){let k,B;for(let x=0,m=U.length;x{for(const x of B){const m=await x;if(typeof m=="string")return m}return null})():null},oe=U.find(h=>!!h.allBasenames);oe&&(te.allBasenames=oe.allBasenames);const Y=U.reduce((h,D)=>D.allPaths?h.concat(D.allPaths):h,[]);return Y.length&&(te.allPaths=Y),te}function J(M,$,U){if($===!1)return d;const Z=v(M,U);if(Z===d)return d;if(typeof $=="boolean")return Z;if($){const te=$.when;if(typeof te=="string"){const oe=(Y,h,D,H)=>{if(!H||!Z(Y,h))return null;const k=te.replace("$(basename)",D),B=H(k);return(0,O.isThenable)(B)?B.then(x=>x?M:null):B?M:null};return oe.requiresSiblings=!0,oe}}return Z}function C(M,$){const U=M.filter(h=>!!h.basenames);if(U.length<2)return M;const Z=U.reduce((h,D)=>{const H=D.basenames;return H?h.concat(H):h},[]);let te;if($){te=[];for(let h=0,D=Z.length;h{const H=D.patterns;return H?h.concat(H):h},[]);const oe=function(h,D){if(typeof h!="string")return null;if(!D){let k;for(k=h.length;k>0;k--){const B=h.charCodeAt(k-1);if(B===47||B===92)break}D=h.substr(k)}const H=Z.indexOf(D);return H!==-1?te[H]:null};oe.basenames=Z,oe.patterns=te,oe.allBasenames=Z;const Y=M.filter(h=>!h.basenames);return Y.push(oe),Y}function K(M,$){return(0,_.equals)(M,$,(U,Z)=>typeof U=="string"&&typeof Z=="string"?U===Z:typeof U!="string"&&typeof Z!="string"?U.base===Z.base&&U.pattern===Z.pattern:!1)}e.patternsEquals=K}),define(ae[10],le([0,1,11,19,52,9,4,23,3,2,18,6]),function(se,e,_,O,A,j,R,F,S,I,N,W){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Promises=e.writeFileSync=e.configureFlushOnWrite=e.SymlinkSupport=e.whenDeleted=e.readdirSync=e.rimrafSync=e.RimRafMode=void 0;var z;(function(V){V[V.UNLINK=0]="UNLINK",V[V.MOVE=1]="MOVE"})(z=e.RimRafMode||(e.RimRafMode={}));async function f(V,J=z.UNLINK){if((0,R.isRootOrDriveLetter)(V))throw new Error("rimraf - will refuse to recursively delete root");return J===z.UNLINK?r(V):l(V)}async function l(V){try{const J=(0,R.randomPath)((0,O.tmpdir)());try{await _.promises.rename(V,J)}catch(C){return C.code==="ENOENT"?void 0:r(V)}r(J).catch(C=>{})}catch(J){if(J.code!=="ENOENT")throw J}}async function r(V){return(0,A.promisify)(_.rm)(V,{recursive:!0,force:!0,maxRetries:3})}function s(V){if((0,R.isRootOrDriveLetter)(V))throw new Error("rimraf - will refuse to recursively delete root");_.rmSync(V,{recursive:!0,force:!0,maxRetries:3})}e.rimrafSync=s;async function u(V,J){return a(await(J?E(V):(0,A.promisify)(_.readdir)(V)))}async function E(V){try{return await(0,A.promisify)(_.readdir)(V,{withFileTypes:!0})}catch(K){console.warn("[node.js fs] readdir with filetypes failed with error: ",K)}const J=[],C=await u(V);for(const K of C){let M=!1,$=!1,U=!1;try{const Z=await e.Promises.lstat((0,S.join)(V,K));M=Z.isFile(),$=Z.isDirectory(),U=Z.isSymbolicLink()}catch(Z){console.warn("[node.js fs] unexpected error from lstat after readdir: ",Z)}J.push({name:K,isFile:()=>M,isDirectory:()=>$,isSymbolicLink:()=>U})}return J}function t(V){return a(_.readdirSync(V))}e.readdirSync=t;function a(V){return V.map(J=>typeof J=="string"?I.isMacintosh?(0,F.normalizeNFC)(J):J:(J.name=I.isMacintosh?(0,F.normalizeNFC)(J.name):J.name,J))}async function g(V){const J=await u(V),C=[];for(const K of J)await w.existsDirectory((0,S.join)(V,K))&&C.push(K);return C}function y(V,J=1e3){return new Promise(C=>{let K=!1;const M=setInterval(()=>{K||(K=!0,_.access(V,$=>{K=!1,$&&(clearInterval(M),C(void 0))}))},J)})}e.whenDeleted=y;var w;(function(V){async function J(M){let $;try{if($=await e.Promises.lstat(M),!$.isSymbolicLink())return{stat:$}}catch{}try{return{stat:await e.Promises.stat(M),symbolicLink:$?.isSymbolicLink()?{dangling:!1}:void 0}}catch(U){if(U.code==="ENOENT"&&$)return{stat:$,symbolicLink:{dangling:!0}};if(I.isWindows&&U.code==="EACCES")try{return{stat:await e.Promises.stat(await e.Promises.readlink(M)),symbolicLink:{dangling:!1}}}catch(Z){if(Z.code==="ENOENT"&&$)return{stat:$,symbolicLink:{dangling:!0}};throw Z}throw U}}V.stat=J;async function C(M){try{const{stat:$,symbolicLink:U}=await V.stat(M);return $.isFile()&&U?.dangling!==!0}catch{}return!1}V.existsFile=C;async function K(M){try{const{stat:$,symbolicLink:U}=await V.stat(M);return $.isDirectory()&&U?.dangling!==!0}catch{}return!1}V.existsDirectory=K})(w=e.SymlinkSupport||(e.SymlinkSupport={}));const d=new j.ResourceQueue;function v(V,J,C){return d.queueFor(W.URI.file(V),N.extUriBiasedIgnorePathCase).queue(()=>{const K=P(C);return new Promise((M,$)=>n(V,J,K,U=>U?$(U):M()))})}let i=!0;function o(V){i=V}e.configureFlushOnWrite=o;function n(V,J,C,K){if(!i)return _.writeFile(V,J,{mode:C.mode,flag:C.flag},K);_.open(V,C.flag,C.mode,(M,$)=>{if(M)return K(M);_.writeFile($,J,U=>{if(U)return _.close($,()=>K(U));_.fdatasync($,Z=>(Z&&(console.warn("[node.js fs] fdatasync is now disabled for this session because it failed: ",Z),o(!1)),_.close($,te=>K(te))))})})}function b(V,J,C){const K=P(C);if(!i)return _.writeFileSync(V,J,{mode:K.mode,flag:K.flag});const M=_.openSync(V,K.flag,K.mode);try{_.writeFileSync(M,J);try{_.fdatasyncSync(M)}catch($){console.warn("[node.js fs] fdatasyncSync is now disabled for this session because it failed: ",$),o(!1)}}finally{_.closeSync(M)}}e.writeFileSync=b;function P(V){return V?{mode:typeof V.mode=="number"?V.mode:438,flag:typeof V.flag=="string"?V.flag:"w"}:{mode:438,flag:"w"}}async function G(V,J){if(V!==J)try{await e.Promises.rename(V,J)}catch(C){if(V.toLowerCase()!==J.toLowerCase()&&C.code==="EXDEV"||V.endsWith("."))await ie(V,J,{preserveSymlinks:!1}),await f(V,z.MOVE);else throw C}}async function ie(V,J,C){return de(V,J,{root:{source:V,target:J},options:C,handledSourcePaths:new Set})}const ne=511;async function de(V,J,C){if(C.handledSourcePaths.has(V))return;C.handledSourcePaths.add(V);const{stat:K,symbolicLink:M}=await w.stat(V);if(M){if(C.options.preserveSymlinks)try{return await ue(V,J,C)}catch($){console.warn("[node.js fs] copy of symlink failed: ",$)}if(M.dangling)return}return K.isDirectory()?me(V,J,K.mode&ne,C):ge(V,J,K.mode&ne)}async function me(V,J,C,K){await e.Promises.mkdir(J,{recursive:!0,mode:C});const M=await u(V);for(const $ of M)await de((0,S.join)(V,$),(0,S.join)(J,$),K)}async function ge(V,J,C){await e.Promises.copyFile(V,J),await e.Promises.chmod(J,C)}async function ue(V,J,C){let K=await e.Promises.readlink(V);(0,R.isEqualOrParent)(K,C.root.source,!I.isLinux)&&(K=(0,S.join)(C.root.target,K.substr(C.root.source.length+1))),await e.Promises.symlink(K,J)}e.Promises=new class{get access(){return(0,A.promisify)(_.access)}get stat(){return(0,A.promisify)(_.stat)}get lstat(){return(0,A.promisify)(_.lstat)}get utimes(){return(0,A.promisify)(_.utimes)}get read(){return(V,J,C,K,M)=>new Promise(($,U)=>{_.read(V,J,C,K,M,(Z,te,oe)=>Z?U(Z):$({bytesRead:te,buffer:oe}))})}get readFile(){return(0,A.promisify)(_.readFile)}get write(){return(V,J,C,K,M)=>new Promise(($,U)=>{_.write(V,J,C,K,M,(Z,te,oe)=>Z?U(Z):$({bytesWritten:te,buffer:oe}))})}get appendFile(){return(0,A.promisify)(_.appendFile)}get fdatasync(){return(0,A.promisify)(_.fdatasync)}get truncate(){return(0,A.promisify)(_.truncate)}get rename(){return(0,A.promisify)(_.rename)}get copyFile(){return(0,A.promisify)(_.copyFile)}get open(){return(0,A.promisify)(_.open)}get close(){return(0,A.promisify)(_.close)}get symlink(){return(0,A.promisify)(_.symlink)}get readlink(){return(0,A.promisify)(_.readlink)}get chmod(){return(0,A.promisify)(_.chmod)}get mkdir(){return(0,A.promisify)(_.mkdir)}get unlink(){return(0,A.promisify)(_.unlink)}get rmdir(){return(0,A.promisify)(_.rmdir)}get realpath(){return(0,A.promisify)(_.realpath)}async exists(V){try{return await e.Promises.access(V),!0}catch{return!1}}get readdir(){return u}get readDirsInDir(){return g}get writeFile(){return v}get rm(){return f}get move(){return G}get copy(){return ie}}}),define(ae[37],le([0,1,11,3,2,5,10]),function(se,e,_,O,A,j,R){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.realpathSync=e.realpath=e.realcase=e.realcaseSync=void 0;function F(z){if(A.isLinux)return z;const f=(0,O.dirname)(z);if(z===f)return z;const l=((0,O.basename)(z)||z).toLowerCase();try{const s=(0,R.readdirSync)(f).filter(u=>u.toLowerCase()===l);if(s.length===1){const u=F(f);if(u)return(0,O.join)(u,s[0])}else if(s.length>1){const u=s.indexOf(l);if(u>=0){const E=F(f);if(E)return(0,O.join)(E,s[u])}}}catch{}return null}e.realcaseSync=F;async function S(z){if(A.isLinux)return z;const f=(0,O.dirname)(z);if(z===f)return z;const l=((0,O.basename)(z)||z).toLowerCase();try{const s=(await R.Promises.readdir(f)).filter(u=>u.toLowerCase()===l);if(s.length===1){const u=await S(f);if(u)return(0,O.join)(u,s[0])}else if(s.length>1){const u=s.indexOf(l);if(u>=0){const E=await S(f);if(E)return(0,O.join)(E,s[u])}}}catch{}return null}e.realcase=S;async function I(z){try{return await R.Promises.realpath(z)}catch{const l=W(z);return await R.Promises.access(l,_.constants.R_OK),l}}e.realpath=I;function N(z){try{return _.realpathSync(z)}catch{const l=W(z);return _.accessSync(l,_.constants.R_OK),l}}e.realpathSync=N;function W(z){return(0,j.rtrim)((0,O.normalize)(z),O.sep)}}),define(ae[38],le([0,1,39,2]),function(se,e,_,O){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resolveTerminalEncoding=void 0;const A={437:"cp437",850:"cp850",852:"cp852",855:"cp855",857:"cp857",860:"cp860",861:"cp861",863:"cp863",865:"cp865",866:"cp866",869:"cp869",936:"cp936",1252:"cp1252"};function j(I){const N=I.replace(/[^a-zA-Z0-9]/g,"").toLowerCase();return R[N]||N}const R={ibm866:"cp866",big5:"cp950"},F="utf8";async function S(I){let N;const W=process.env.VSCODE_CLI_ENCODING;W?(I&&console.log(`Found VSCODE_CLI_ENCODING variable: ${W}`),N=Promise.resolve(W)):O.isWindows?N=new Promise(f=>{I&&console.log('Running "chcp" to detect terminal encoding...'),(0,_.exec)("chcp",(l,r,s)=>{if(r){I&&console.log(`Output from "chcp" command is: ${r}`);const u=Object.keys(A);for(const E of u)if(r.indexOf(E)>=0)return f(A[E])}return f(void 0)})}):N=new Promise(f=>{I&&console.log('Running "locale charmap" to detect terminal encoding...'),(0,_.exec)("locale charmap",(l,r,s)=>f(r))});const z=await N;return I&&console.log(`Detected raw terminal encoding: ${z}`),!z||z.toLowerCase()==="utf-8"||z.toLowerCase()===F?F:j(z)}e.resolveTerminalEncoding=S}),define(ae[40],le([14,15]),function(se,e){return se.create("vs/platform/environment/node/argv",e)}),define(ae[41],le([14,15]),function(se,e){return se.create("vs/platform/environment/node/argvHelper",e)}),define(ae[42],le([14,15]),function(se,e){return se.create("vs/platform/files/common/files",e)}),define(ae[25],le([0,1,53,2,40]),function(se,e,_,O,A){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildVersionMessage=e.buildHelpMessage=e.formatOptions=e.parseArgs=e.OPTIONS=void 0;const j={o:(0,A.localize)(0,null),e:(0,A.localize)(1,null),t:(0,A.localize)(2,null)};e.OPTIONS={tunnel:{type:"subcommand",description:"Make the current machine accessible from vscode.dev or other machines through a secure tunnel",options:{"cli-data-dir":{type:"string",args:"dir",description:(0,A.localize)(3,null)},"disable-telemetry":{type:"boolean"},"telemetry-level":{type:"string"},user:{type:"subcommand",options:{login:{type:"subcommand",options:{provider:{type:"string"},"access-token":{type:"string"}}}}}}},diff:{type:"boolean",cat:"o",alias:"d",args:["file","file"],description:(0,A.localize)(4,null)},merge:{type:"boolean",cat:"o",alias:"m",args:["path1","path2","base","result"],description:(0,A.localize)(5,null)},add:{type:"boolean",cat:"o",alias:"a",args:"folder",description:(0,A.localize)(6,null)},goto:{type:"boolean",cat:"o",alias:"g",args:"file:line[:character]",description:(0,A.localize)(7,null)},"new-window":{type:"boolean",cat:"o",alias:"n",description:(0,A.localize)(8,null)},"reuse-window":{type:"boolean",cat:"o",alias:"r",description:(0,A.localize)(9,null)},wait:{type:"boolean",cat:"o",alias:"w",description:(0,A.localize)(10,null)},waitMarkerFilePath:{type:"string"},locale:{type:"string",cat:"o",args:"locale",description:(0,A.localize)(11,null)},"user-data-dir":{type:"string",cat:"o",args:"dir",description:(0,A.localize)(12,null)},profile:{type:"string",cat:"o",args:"settingsProfileName",description:(0,A.localize)(13,null)},help:{type:"boolean",cat:"o",alias:"h",description:(0,A.localize)(14,null)},"extensions-dir":{type:"string",deprecates:["extensionHomePath"],cat:"e",args:"dir",description:(0,A.localize)(15,null)},"extensions-download-dir":{type:"string"},"builtin-extensions-dir":{type:"string"},"list-extensions":{type:"boolean",cat:"e",description:(0,A.localize)(16,null)},"show-versions":{type:"boolean",cat:"e",description:(0,A.localize)(17,null)},category:{type:"string",cat:"e",description:(0,A.localize)(18,null),args:"category"},"install-extension":{type:"string[]",cat:"e",args:"ext-id | path",description:(0,A.localize)(19,null)},"pre-release":{type:"boolean",cat:"e",description:(0,A.localize)(20,null)},"uninstall-extension":{type:"string[]",cat:"e",args:"ext-id",description:(0,A.localize)(21,null)},"enable-proposed-api":{type:"string[]",allowEmptyValue:!0,cat:"e",args:"ext-id",description:(0,A.localize)(22,null)},version:{type:"boolean",cat:"t",alias:"v",description:(0,A.localize)(23,null)},verbose:{type:"boolean",cat:"t",global:!0,description:(0,A.localize)(24,null)},log:{type:"string[]",cat:"t",args:"level",global:!0,description:(0,A.localize)(25,null)},status:{type:"boolean",alias:"s",cat:"t",description:(0,A.localize)(26,null)},"prof-startup":{type:"boolean",cat:"t",description:(0,A.localize)(27,null)},"prof-append-timers":{type:"string"},"no-cached-data":{type:"boolean"},"prof-startup-prefix":{type:"string"},"prof-v8-extensions":{type:"boolean"},"disable-extensions":{type:"boolean",deprecates:["disableExtensions"],cat:"t",description:(0,A.localize)(28,null)},"disable-extension":{type:"string[]",cat:"t",args:"ext-id",description:(0,A.localize)(29,null)},sync:{type:"string",cat:"t",description:(0,A.localize)(30,null),args:["on | off"]},"inspect-extensions":{type:"string",allowEmptyValue:!0,deprecates:["debugPluginHost"],args:"port",cat:"t",description:(0,A.localize)(31,null)},"inspect-brk-extensions":{type:"string",allowEmptyValue:!0,deprecates:["debugBrkPluginHost"],args:"port",cat:"t",description:(0,A.localize)(32,null)},"disable-gpu":{type:"boolean",cat:"t",description:(0,A.localize)(33,null)},"ms-enable-electron-run-as-node":{type:"boolean",global:!0},"max-memory":{type:"string",cat:"t",description:(0,A.localize)(34,null),args:"memory"},telemetry:{type:"boolean",cat:"t",description:(0,A.localize)(35,null)},remote:{type:"string",allowEmptyValue:!0},"folder-uri":{type:"string[]",cat:"o",args:"uri"},"file-uri":{type:"string[]",cat:"o",args:"uri"},"locate-extension":{type:"string[]"},extensionDevelopmentPath:{type:"string[]"},extensionDevelopmentKind:{type:"string[]"},extensionTestsPath:{type:"string"},extensionEnvironment:{type:"string"},debugId:{type:"string"},debugRenderer:{type:"boolean"},"inspect-ptyhost":{type:"string",allowEmptyValue:!0},"inspect-brk-ptyhost":{type:"string",allowEmptyValue:!0},"inspect-search":{type:"string",deprecates:["debugSearch"],allowEmptyValue:!0},"inspect-brk-search":{type:"string",deprecates:["debugBrkSearch"],allowEmptyValue:!0},"export-default-configuration":{type:"string"},"install-source":{type:"string"},"enable-smoke-test-driver":{type:"boolean"},logExtensionHostCommunication:{type:"boolean"},"skip-release-notes":{type:"boolean"},"skip-welcome":{type:"boolean"},"disable-telemetry":{type:"boolean"},"disable-updates":{type:"boolean"},"disable-keytar":{type:"boolean"},"disable-workspace-trust":{type:"boolean"},"disable-crash-reporter":{type:"boolean"},"crash-reporter-directory":{type:"string"},"crash-reporter-id":{type:"string"},"skip-add-to-recently-opened":{type:"boolean"},"unity-launch":{type:"boolean"},"open-url":{type:"boolean"},"file-write":{type:"boolean"},"file-chmod":{type:"boolean"},"install-builtin-extension":{type:"string[]"},force:{type:"boolean"},"do-not-sync":{type:"boolean"},trace:{type:"boolean"},"trace-category-filter":{type:"string"},"trace-options":{type:"string"},"force-user-env":{type:"boolean"},"force-disable-user-env":{type:"boolean"},"open-devtools":{type:"boolean"},logsPath:{type:"string"},"__enable-file-policy":{type:"boolean"},editSessionId:{type:"string"},continueOn:{type:"string"},"locate-shell-integration-path":{type:"string",args:["bash","pwsh","zsh","fish"]},"enable-coi":{type:"boolean"},"no-proxy-server":{type:"boolean"},"no-sandbox":{type:"boolean",alias:"sandbox"},"proxy-server":{type:"string"},"proxy-bypass-list":{type:"string"},"proxy-pac-url":{type:"string"},"js-flags":{type:"string"},inspect:{type:"string",allowEmptyValue:!0},"inspect-brk":{type:"string",allowEmptyValue:!0},nolazy:{type:"boolean"},"force-device-scale-factor":{type:"string"},"force-renderer-accessibility":{type:"boolean"},"ignore-certificate-errors":{type:"boolean"},"allow-insecure-localhost":{type:"boolean"},"log-net-log":{type:"string"},vmodule:{type:"string"},_urls:{type:"string[]"},"disable-dev-shm-usage":{type:"boolean"},"profile-temp":{type:"boolean"},_:{type:"string[]"}};const R={onUnknownOption:()=>{},onMultipleValues:()=>{},onEmptyValue:()=>{},onDeprecatedOption:()=>{}};function F(r,s,u=R){const E=r.find(o=>o.length>0&&o[0]!=="-"),t={},a=["_"],g=[],y={};let w;for(const o in s){const n=s[o];n.type==="subcommand"?o===E&&(w=n):(n.alias&&(t[o]=n.alias),n.type==="string"||n.type==="string[]"?(a.push(o),n.deprecates&&a.push(...n.deprecates)):n.type==="boolean"&&(g.push(o),n.deprecates&&g.push(...n.deprecates)),n.global&&(y[o]=n))}if(w&&E){const o=y;for(const G in w.options)o[G]=w.options[G];const n=r.filter(G=>G!==E),b=u.getSubcommandReporter?u.getSubcommandReporter(E):void 0,P=F(n,o,b);return{[E]:P,_:[]}}const d=_(r,{string:a,boolean:g,alias:t}),v={},i=d;v._=d._.map(o=>String(o)).filter(o=>o.length>0),delete i._;for(const o in s){const n=s[o];if(n.type==="subcommand")continue;n.alias&&delete i[n.alias];let b=i[o];if(n.deprecates)for(const P of n.deprecates)i.hasOwnProperty(P)&&(b||(b=i[P],b&&u.onDeprecatedOption(P,n.deprecationMessage||(0,A.localize)(36,null,o))),delete i[P]);if(typeof b<"u"){if(n.type==="string[]"){if(Array.isArray(b)||(b=[b]),!n.allowEmptyValue){const P=b.filter(G=>G.length>0);P.length!==b.length&&(u.onEmptyValue(o),b=P.length>0?P:void 0)}}else n.type==="string"&&(Array.isArray(b)?(b=b.pop(),u.onMultipleValues(o,b)):!b&&!n.allowEmptyValue&&(u.onEmptyValue(o),b=void 0));v[o]=b,n.deprecationMessage&&u.onDeprecatedOption(o,n.deprecationMessage)}delete i[o]}for(const o in i)u.onUnknownOption(o);return v}e.parseArgs=F;function S(r,s){let u="";return s.args&&(Array.isArray(s.args)?u=` <${s.args.join("> <")}>`:u=` <${s.args}>`),s.alias?`-${s.alias} --${r}${u}`:`--${r}${u}`}function I(r,s){const u=[];for(const E in r){const t=r[E],a=S(E,t);u.push([a,t.description])}return N(u,s)}e.formatOptions=I;function N(r,s){const E=r.reduce((g,y)=>Math.max(g,y[0].length),12)+2+1;if(s-E<25)return r.reduce((g,y)=>g.concat([` ${y[0]}`,` ${y[1]}`]),[]);const t=s-E-1,a=[];for(const g of r){const y=g[0],w=z(g[1],t),d=W(E-y.length-2);a.push(" "+y+d+w[0]);for(let v=1;v[v.command,v.description]),a)),y.push("")),y.join(` `)}e.buildHelpMessage=f;function l(r,s){return`${r||(0,A.localize)(43,null)} ${s||(0,A.localize)(44,null)} ${process.arch}`}e.buildVersionMessage=l}),define(ae[43],le([0,1,54,41,25]),function(se,e,_,O,A){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isLaunchedFromCli=e.addArg=e.parseCLIProcessArgv=e.parseMainProcessArgv=void 0;const j=2048;function R(z,f){const l=(a,g)=>{console.warn((0,O.localize)(0,null,a,g))},r=a=>{console.warn((0,O.localize)(1,null,a))},s=(a,g)=>{console.warn((0,O.localize)(2,null,a,g))},u=a=>({onUnknownOption:g=>{a!=="tunnel"&&console.warn((0,O.localize)(3,null,g,a))},onMultipleValues:l,onEmptyValue:r,onDeprecatedOption:s,getSubcommandReporter:a!=="tunnel"?u:void 0}),E={onUnknownOption:a=>{console.warn((0,O.localize)(4,null,a))},onMultipleValues:l,onEmptyValue:r,onDeprecatedOption:s,getSubcommandReporter:u},t=(0,A.parseArgs)(z,A.OPTIONS,f?E:void 0);return t.goto&&t._.forEach(a=>_(/^(\w:)?[^:]+(:\d*){0,2}$/.test(a),(0,O.localize)(5,null))),t["max-memory"]&&_(parseInt(t["max-memory"])>=j,`The max-memory argument cannot be specified lower than ${j} MB.`),t}function F(z){const f=z.findIndex(l=>!/^-/.test(l));if(f>-1)return[...z.slice(0,f),...z.slice(f+1)]}function S(z){let[,...f]=z;process.env.VSCODE_DEV&&(f=F(f)||[]);const l=!W(process.env);return R(f,l)}e.parseMainProcessArgv=S;function I(z){let[,,...f]=z;return process.env.VSCODE_DEV&&(f=F(f)||[]),R(f,!0)}e.parseCLIProcessArgv=I;function N(z,...f){const l=z.indexOf("--");return l===-1?z.push(...f):z.splice(l,0,...f),z}e.addArg=N;function W(z){return z.VSCODE_CLI==="1"}e.isLaunchedFromCli=W}),define(ae[44],le([0,1,19,9,4,10,38]),function(se,e,_,O,A,j,R){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.readFromStdin=e.getStdinFilePath=e.stdinDataListener=e.hasStdinWithoutTty=void 0;function F(){try{return!process.stdin.isTTY}catch{}return!1}e.hasStdinWithoutTty=F;function S(W){return new Promise(z=>{const f=()=>z(!0);setTimeout(()=>{process.stdin.removeListener("data",f),z(!1)},W),process.stdin.once("data",f)})}e.stdinDataListener=S;function I(){return(0,A.randomPath)((0,_.tmpdir)(),"code-stdin",3)}e.getStdinFilePath=I;async function N(W,z){let[f,l]=await Promise.all([(0,R.resolveTerminalEncoding)(z),new Promise((u,E)=>{se(["@vscode/iconv-lite-umd"],u,E)}),j.Promises.appendFile(W,"")]);l.encodingExists(f)||(console.log(`Unsupported terminal encoding: ${f}, falling back to UTF-8.`),f="utf8");const r=new O.Queue,s=l.getDecoder(f);process.stdin.on("data",u=>{const E=s.write(u);r.queue(()=>j.Promises.appendFile(W,E))}),process.stdin.on("end",()=>{const u=s.end();typeof u=="string"&&r.queue(()=>j.Promises.appendFile(W,u))})}e.readFromStdin=N}),define(ae[45],le([0,1,11,19,4]),function(se,e,_,O,A){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createWaitMarkerFileSync=void 0;function j(R){const F=(0,A.randomPath)((0,O.tmpdir)());try{return(0,_.writeFileSync)(F,""),R&&console.log(`Marker file for --wait created: ${F}`),F}catch(S){R&&console.error(`Failed to create marker file for --wait: ${S}`);return}}e.createWaitMarkerFileSync=j}),define(ae[26],le([0,1]),function(se,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.refineServiceDecorator=e.createDecorator=e.IInstantiationService=e._util=void 0;var _;(function(R){R.serviceIds=new Map,R.DI_TARGET="$di$target",R.DI_DEPENDENCIES="$di$dependencies";function F(S){return S[R.DI_DEPENDENCIES]||[]}R.getServiceDependencies=F})(_=e._util||(e._util={})),e.IInstantiationService=A("instantiationService");function O(R,F,S){F[_.DI_TARGET]===F?F[_.DI_DEPENDENCIES].push({id:R,index:S}):(F[_.DI_DEPENDENCIES]=[{id:R,index:S}],F[_.DI_TARGET]=F)}function A(R){if(_.serviceIds.has(R))return _.serviceIds.get(R);const F=function(S,I,N){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");O(F,S,N)};return F.toString=()=>R,_.serviceIds.set(R,F),F}e.createDecorator=A;function j(R){return R}e.refineServiceDecorator=j}),define(ae[46],le([0,1,35,3,5,13,6,42,26]),function(se,e,_,O,A,j,R,F,S){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getPlatformLimits=e.Arch=e.ByteSize=e.FALLBACK_MAX_MEMORY_SIZE_MB=e.MIN_MAX_MEMORY_SIZE_MB=e.whenProviderRegistered=e.etag=e.ETAG_DISABLED=e.FileKind=e.FILES_EXCLUDE_CONFIG=e.FILES_ASSOCIATIONS_CONFIG=e.HotExitConfiguration=e.AutoSaveConfiguration=e.FileOperationResult=e.NotModifiedSinceFileOperationError=e.FileOperationError=e.isParent=e.FileChangesEvent=e.FileChangeType=e.FileOperationEvent=e.FileOperation=e.toFileOperationResult=e.toFileSystemProviderErrorCode=e.markAsFileSystemProviderError=e.ensureFileSystemProviderError=e.createFileSystemProviderError=e.FileSystemProviderError=e.FileSystemProviderErrorCode=e.hasFileAtomicReadCapability=e.hasFileReadStreamCapability=e.hasOpenReadWriteCloseCapability=e.hasFileCloneCapability=e.hasFileFolderCopyCapability=e.hasReadWriteCapability=e.FileSystemProviderCapabilities=e.FilePermission=e.FileType=e.isFileOpenForWriteOptions=e.IFileService=void 0,e.IFileService=(0,S.createDecorator)("fileService");function I(C){return C.create===!0}e.isFileOpenForWriteOptions=I;var N;(function(C){C[C.Unknown=0]="Unknown",C[C.File=1]="File",C[C.Directory=2]="Directory",C[C.SymbolicLink=64]="SymbolicLink"})(N=e.FileType||(e.FileType={}));var W;(function(C){C[C.Readonly=1]="Readonly"})(W=e.FilePermission||(e.FilePermission={}));var z;(function(C){C[C.FileReadWrite=2]="FileReadWrite",C[C.FileOpenReadWriteClose=4]="FileOpenReadWriteClose",C[C.FileReadStream=16]="FileReadStream",C[C.FileFolderCopy=8]="FileFolderCopy",C[C.PathCaseSensitive=1024]="PathCaseSensitive",C[C.Readonly=2048]="Readonly",C[C.Trash=4096]="Trash",C[C.FileWriteUnlock=8192]="FileWriteUnlock",C[C.FileAtomicRead=16384]="FileAtomicRead",C[C.FileClone=32768]="FileClone"})(z=e.FileSystemProviderCapabilities||(e.FileSystemProviderCapabilities={}));function f(C){return!!(C.capabilities&2)}e.hasReadWriteCapability=f;function l(C){return!!(C.capabilities&8)}e.hasFileFolderCopyCapability=l;function r(C){return!!(C.capabilities&32768)}e.hasFileCloneCapability=r;function s(C){return!!(C.capabilities&4)}e.hasOpenReadWriteCloseCapability=s;function u(C){return!!(C.capabilities&16)}e.hasFileReadStreamCapability=u;function E(C){return f(C)?!!(C.capabilities&16384):!1}e.hasFileAtomicReadCapability=E;var t;(function(C){C.FileExists="EntryExists",C.FileNotFound="EntryNotFound",C.FileNotADirectory="EntryNotADirectory",C.FileIsADirectory="EntryIsADirectory",C.FileExceedsMemoryLimit="EntryExceedsMemoryLimit",C.FileTooLarge="EntryTooLarge",C.FileWriteLocked="EntryWriteLocked",C.NoPermissions="NoPermissions",C.Unavailable="Unavailable",C.Unknown="Unknown"})(t=e.FileSystemProviderErrorCode||(e.FileSystemProviderErrorCode={}));class a extends Error{constructor(K,M){super(K),this.code=M}}e.FileSystemProviderError=a;function g(C,K){const M=new a(C.toString(),K);return w(M,K),M}e.createFileSystemProviderError=g;function y(C){return C||g((0,F.localize)(0,null),t.Unknown)}e.ensureFileSystemProviderError=y;function w(C,K){return C.name=K?`${K} (FileSystemError)`:"FileSystemError",C}e.markAsFileSystemProviderError=w;function d(C){if(!C)return t.Unknown;if(C instanceof a)return C.code;const K=/^(.+) \(FileSystemError\)$/.exec(C.name);if(!K)return t.Unknown;switch(K[1]){case t.FileExists:return t.FileExists;case t.FileIsADirectory:return t.FileIsADirectory;case t.FileNotADirectory:return t.FileNotADirectory;case t.FileNotFound:return t.FileNotFound;case t.FileExceedsMemoryLimit:return t.FileExceedsMemoryLimit;case t.FileTooLarge:return t.FileTooLarge;case t.FileWriteLocked:return t.FileWriteLocked;case t.NoPermissions:return t.NoPermissions;case t.Unavailable:return t.Unavailable}return t.Unknown}e.toFileSystemProviderErrorCode=d;function v(C){if(C instanceof G)return C.fileOperationResult;switch(d(C)){case t.FileNotFound:return 1;case t.FileIsADirectory:return 0;case t.FileNotADirectory:return 10;case t.FileWriteLocked:return 5;case t.NoPermissions:return 6;case t.FileExists:return 4;case t.FileExceedsMemoryLimit:return 9;case t.FileTooLarge:return 7;default:return 11}}e.toFileOperationResult=v;var i;(function(C){C[C.CREATE=0]="CREATE",C[C.DELETE=1]="DELETE",C[C.MOVE=2]="MOVE",C[C.COPY=3]="COPY",C[C.WRITE=4]="WRITE"})(i=e.FileOperation||(e.FileOperation={}));class o{constructor(K,M,$){this.resource=K,this.operation=M,this.target=$}isOperation(K){return this.operation===K}}e.FileOperationEvent=o;var n;(function(C){C[C.UPDATED=0]="UPDATED",C[C.ADDED=1]="ADDED",C[C.DELETED=2]="DELETED"})(n=e.FileChangeType||(e.FileChangeType={}));class b{constructor(K,M){this.added=void 0,this.updated=void 0,this.deleted=void 0,this.rawChanges=[],this.rawAdded=[],this.rawUpdated=[],this.rawDeleted=[],this.rawChanges=K;const $=new Map;for(const U of K){const Z=$.get(U.type);switch(Z?Z.push([U.resource,U]):$.set(U.type,[[U.resource,U]]),U.type){case 1:this.rawAdded.push(U.resource);break;case 0:this.rawUpdated.push(U.resource);break;case 2:this.rawDeleted.push(U.resource);break}}for(const[U,Z]of $)switch(U){case 1:this.added=_.TernarySearchTree.forUris(()=>M),this.added.fill(Z);break;case 0:this.updated=_.TernarySearchTree.forUris(()=>M),this.updated.fill(Z);break;case 2:this.deleted=_.TernarySearchTree.forUris(()=>M),this.deleted.fill(Z);break}}contains(K,...M){return this.doContains(K,{includeChildren:!1},...M)}affects(K,...M){return this.doContains(K,{includeChildren:!0},...M)}doContains(K,M,...$){if(!K)return!1;const U=$.length>0;return!!((!U||$.includes(1))&&(this.added?.get(K)||M.includeChildren&&this.added?.findSuperstr(K))||(!U||$.includes(0))&&(this.updated?.get(K)||M.includeChildren&&this.updated?.findSuperstr(K))||(!U||$.includes(2))&&(this.deleted?.findSubstr(K)||M.includeChildren&&this.deleted?.findSuperstr(K)))}gotAdded(){return!!this.added}gotDeleted(){return!!this.deleted}gotUpdated(){return!!this.updated}}e.FileChangesEvent=b;function P(C,K,M){return!C||!K||C===K||K.length>C.length?!1:(K.charAt(K.length-1)!==O.sep&&(K+=O.sep),M?(0,A.startsWithIgnoreCase)(C,K):C.indexOf(K)===0)}e.isParent=P;class G extends Error{constructor(K,M,$){super(K),this.fileOperationResult=M,this.options=$}}e.FileOperationError=G;class ie extends G{constructor(K,M,$){super(K,2,$),this.stat=M}}e.NotModifiedSinceFileOperationError=ie;var ne;(function(C){C[C.FILE_IS_DIRECTORY=0]="FILE_IS_DIRECTORY",C[C.FILE_NOT_FOUND=1]="FILE_NOT_FOUND",C[C.FILE_NOT_MODIFIED_SINCE=2]="FILE_NOT_MODIFIED_SINCE",C[C.FILE_MODIFIED_SINCE=3]="FILE_MODIFIED_SINCE",C[C.FILE_MOVE_CONFLICT=4]="FILE_MOVE_CONFLICT",C[C.FILE_WRITE_LOCKED=5]="FILE_WRITE_LOCKED",C[C.FILE_PERMISSION_DENIED=6]="FILE_PERMISSION_DENIED",C[C.FILE_TOO_LARGE=7]="FILE_TOO_LARGE",C[C.FILE_INVALID_PATH=8]="FILE_INVALID_PATH",C[C.FILE_EXCEEDS_MEMORY_LIMIT=9]="FILE_EXCEEDS_MEMORY_LIMIT",C[C.FILE_NOT_DIRECTORY=10]="FILE_NOT_DIRECTORY",C[C.FILE_OTHER_ERROR=11]="FILE_OTHER_ERROR"})(ne=e.FileOperationResult||(e.FileOperationResult={})),e.AutoSaveConfiguration={OFF:"off",AFTER_DELAY:"afterDelay",ON_FOCUS_CHANGE:"onFocusChange",ON_WINDOW_CHANGE:"onWindowChange"},e.HotExitConfiguration={OFF:"off",ON_EXIT:"onExit",ON_EXIT_AND_WINDOW_CLOSE:"onExitAndWindowClose"},e.FILES_ASSOCIATIONS_CONFIG="files.associations",e.FILES_EXCLUDE_CONFIG="files.exclude";var de;(function(C){C[C.FILE=0]="FILE",C[C.FOLDER=1]="FOLDER",C[C.ROOT_FOLDER=2]="ROOT_FOLDER"})(de=e.FileKind||(e.FileKind={})),e.ETAG_DISABLED="";function me(C){if(!(typeof C.size!="number"||typeof C.mtime!="number"))return C.mtime.toString(29)+C.size.toString(31)}e.etag=me;async function ge(C,K){if(!K.hasProvider(R.URI.from({scheme:C.scheme})))return new Promise(M=>{const $=K.onDidChangeFileSystemProviderRegistrations(U=>{U.scheme===C.scheme&&U.added&&($.dispose(),M())})})}e.whenProviderRegistered=ge,e.MIN_MAX_MEMORY_SIZE_MB=2048,e.FALLBACK_MAX_MEMORY_SIZE_MB=4096;class ue{static formatSize(K){return(0,j.isNumber)(K)||(K=0),Kthis.onFileChanges(t))),E.add(this.watcher.onDidLogMessage(t=>this.onLogMessage(t))),E.add(this.watcher.onDidError(t=>this.onError(t)))}onError(E){this.options.restartOnError?this.restartCounter({type:E.type,resource:R.URI.file(E.path)}))}e.toFileChanges=z;function f(u){const E=new s;for(const t of u)E.processEvent(t);return E.coalesce()}e.coalesceEvents=f;function l(u,E){return typeof E=="string"&&!E.startsWith(_.GLOBSTAR)&&!(0,A.isAbsolute)(E)?{base:u,pattern:E}:E}e.normalizeWatcherPattern=l;function r(u,E){const t=[];for(const a of E)t.push((0,_.parse)(l(u,a)));return t}e.parseWatcherPatterns=r;class s{constructor(){this.coalesced=new Set,this.mapPathToChange=new Map}toKey(E){return j.isLinux?E.path:E.path.toLowerCase()}processEvent(E){const t=this.mapPathToChange.get(this.toKey(E));let a=!1;if(t){const g=t.type,y=E.type;t.path!==E.path&&(E.type===2||E.type===1)?a=!0:g===1&&y===2?(this.mapPathToChange.delete(this.toKey(E)),this.coalesced.delete(t)):g===2&&y===1?t.type=0:g===1&&y===0||(t.type=y)}else a=!0;a&&(this.coalesced.add(E),this.mapPathToChange.set(this.toKey(E),E))}coalesce(){const E=[],t=[];return Array.from(this.coalesced).filter(a=>a.type!==2?(E.push(a),!1):!0).sort((a,g)=>a.path.length-g.path.length).filter(a=>t.some(g=>(0,F.isParent)(a.path,g,!j.isLinux))?!1:(t.push(a.path),!0)).concat(E)}}}),define(ae[48],le([0,1,11,9,8,4,7,23,3,2,37,10,47]),function(se,e,_,O,A,j,R,F,S,I,N,W,z){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.watchFileContents=e.NodeJSFileWatcherLibrary=void 0;class f extends R.Disposable{constructor(s,u,E,t){super(),this.request=s,this.onDidFilesChange=u,this.onLogMessage=E,this.verboseLogging=t,this.throttledFileChangesWorker=new O.ThrottledWorker({maxWorkChunkSize:100,throttleDelay:200,maxBufferedWork:1e4},a=>this.onDidFilesChange(a)),this.fileChangesDelayer=this._register(new O.ThrottledDelayer(f.FILE_CHANGES_HANDLER_DELAY)),this.fileChangesBuffer=[],this.excludes=(0,z.parseWatcherPatterns)(this.request.path,this.request.excludes),this.includes=this.request.includes?(0,z.parseWatcherPatterns)(this.request.path,this.request.includes):void 0,this.cts=new A.CancellationTokenSource,this.ready=this.watch()}async watch(){try{const s=await this.normalizePath(this.request);if(this.cts.token.isCancellationRequested)return;const u=await W.Promises.stat(s);this._register(await this.doWatch(s,u.isDirectory()))}catch(s){s.code!=="ENOENT"?this.error(s):this.trace(s)}}async normalizePath(s){let u=s.path;try{u=await W.Promises.realpath(s.path),s.path===u&&(u=await(0,N.realcase)(s.path)??s.path),s.path!==u&&this.trace(`correcting a path to watch that seems to be a symbolic link or wrong casing (original: ${s.path}, real: ${u})`)}catch{}return u}async doWatch(s,u){if(I.isMacintosh&&(0,j.isEqualOrParent)(s,"/Volumes/",!0))return this.error(`Refusing to watch ${s} for changes using fs.watch() for possibly being a network share where watching is unreliable and unstable.`),R.Disposable.None;const E=new A.CancellationTokenSource(this.cts.token),t=new R.DisposableStore;try{const a=(0,S.basename)(s),g=(0,_.watch)(s);t.add((0,R.toDisposable)(()=>{g.removeAllListeners(),g.close()})),this.trace(`Started watching: '${s}'`);const y=new Set;if(u)try{for(const d of await W.Promises.readdir(s))y.add(d)}catch(d){this.error(d)}const w=new Map;t.add((0,R.toDisposable)(()=>{for(const[,d]of w)d.dispose();w.clear()})),g.on("error",(d,v)=>{this.error(`Failed to watch ${s} for changes using fs.watch() (${d}, ${v})`),this.dispose()}),g.on("change",(d,v)=>{if(E.token.isCancellationRequested)return;this.trace(`[raw] ["${d}"] ${v}`);let i="";if(v&&(i=v.toString(),I.isMacintosh&&(i=(0,F.normalizeNFC)(i))),!(!i||d!=="change"&&d!=="rename"))if(u)if(d==="rename"){w.get(i)?.dispose();const o=setTimeout(async()=>{if(w.delete(i),i===a&&!await W.Promises.exists(s)){this.warn("Watcher shutdown because watched path got deleted"),this.dispose();return}const n=await this.existsChildStrictCase((0,S.join)(s,i));if(E.token.isCancellationRequested)return;let b;n?y.has(i)?b=0:(b=1,y.add(i)):(y.delete(i),b=2),this.onFileChange({path:(0,S.join)(this.request.path,i),type:b})},f.FILE_DELETE_HANDLER_DELAY);w.set(i,(0,R.toDisposable)(()=>clearTimeout(o)))}else{let o;y.has(i)?o=0:(o=1,y.add(i)),this.onFileChange({path:(0,S.join)(this.request.path,i),type:o})}else if(d==="rename"||i!==a){const o=setTimeout(async()=>{const n=await W.Promises.exists(s);E.token.isCancellationRequested||(n?(this.onFileChange({path:this.request.path,type:0},!0),t.add(await this.doWatch(s,!1))):(await this.onFileChange({path:this.request.path,type:2},!0),this.dispose()))},f.FILE_DELETE_HANDLER_DELAY);t.clear(),t.add((0,R.toDisposable)(()=>clearTimeout(o)))}else this.onFileChange({path:this.request.path,type:0},!0)})}catch(a){await W.Promises.exists(s)&&!E.token.isCancellationRequested&&this.error(`Failed to watch ${s} for changes using fs.watch() (${a.toString()})`)}return(0,R.toDisposable)(()=>{E.dispose(!0),t.dispose()})}async onFileChange(s,u=!1){if(!this.cts.token.isCancellationRequested){this.verboseLogging&&this.trace(`${s.type===1?"[ADDED]":s.type===2?"[DELETED]":"[CHANGED]"} ${s.path}`),!u&&this.excludes.some(E=>E(s.path))?this.verboseLogging&&this.trace(` >> ignored (excluded) ${s.path}`):!u&&this.includes&&this.includes.length>0&&!this.includes.some(E=>E(s.path))?this.verboseLogging&&this.trace(` >> ignored (not included) ${s.path}`):this.fileChangesBuffer.push(s);try{await this.fileChangesDelayer.trigger(async()=>{const E=this.fileChangesBuffer;this.fileChangesBuffer=[];const t=(0,z.coalesceEvents)(E);if(t.length>0){if(this.verboseLogging)for(const g of t)this.trace(`>> normalized ${g.type===1?"[ADDED]":g.type===2?"[DELETED]":"[CHANGED]"} ${g.path}`);this.throttledFileChangesWorker.work(t)?this.throttledFileChangesWorker.pending>0&&this.trace(`started throttling events due to large amount of file change events at once (pending: ${this.throttledFileChangesWorker.pending}, most recent change: ${t[0].path}). Use 'files.watcherExclude' setting to exclude folders with lots of changing files (e.g. compilation output).`):this.warn(`started ignoring events due to too many file change events at once (incoming: ${t.length}, most recent change: ${t[0].path}). Use 'files.watcherExclude' setting to exclude folders with lots of changing files (e.g. compilation output).`)}})}catch{}}}async existsChildStrictCase(s){if(I.isLinux)return W.Promises.exists(s);try{const u=(0,S.basename)(s);return(await W.Promises.readdir((0,S.dirname)(s))).some(t=>t===u)}catch(u){return this.trace(u),!1}}setVerboseLogging(s){this.verboseLogging=s}error(s){this.cts.token.isCancellationRequested||this.onLogMessage?.({type:"error",message:`[File Watcher (node.js)] ${s}`})}warn(s){this.cts.token.isCancellationRequested||this.onLogMessage?.({type:"warn",message:`[File Watcher (node.js)] ${s}`})}trace(s){!this.cts.token.isCancellationRequested&&this.verboseLogging&&this.onLogMessage?.({type:"trace",message:`[File Watcher (node.js)] ${s}`})}dispose(){this.trace(`stopping file watcher on ${this.request.path}`),this.cts.dispose(!0),super.dispose()}}e.NodeJSFileWatcherLibrary=f,f.FILE_DELETE_HANDLER_DELAY=100,f.FILE_CHANGES_HANDLER_DELAY=50;async function l(r,s,u,E,t=512){const a=await W.Promises.open(r,"r"),g=Buffer.allocUnsafe(t),y=new A.CancellationTokenSource(E);let w,d=!1;const v={path:r,excludes:[],recursive:!1},i=new f(v,o=>{(async()=>{for(const{type:n}of o)if(n===0){if(d)return;d=!0;try{for(;!y.token.isCancellationRequested;){const{bytesRead:b}=await W.Promises.read(a,g,0,t,null);if(!b||y.token.isCancellationRequested)break;s(g.slice(0,b))}}catch(b){w=new Error(b),y.dispose(!0)}finally{d=!1}}})()});return await i.ready,u(),new Promise((o,n)=>{y.token.onCancellationRequested(async()=>{i.dispose();try{await W.Promises.close(a)}catch(b){w=new Error(b)}w?n(w):o()})})}e.watchFileContents=l}),define(ae[49],le([0,1,17,2,24,18]),function(se,e,_,O,A,j){"use strict";Object.defineProperty(e,"__esModule",{value:!0});let R;if(typeof O.globals.vscode<"u"&&typeof O.globals.vscode.context<"u"){const F=O.globals.vscode.context.configuration();if(F)R=F.product;else throw new Error("Sandbox: unable to resolve product configuration from preload script.")}else if(typeof se?.__$__nodeRequire=="function"){const F=(0,j.dirname)(_.FileAccess.asFileUri("",se));if(R=se.__$__nodeRequire((0,j.joinPath)(F,"product.json").fsPath),A.env.VSCODE_DEV&&Object.assign(R,{nameShort:`${R.nameShort} Dev`,nameLong:`${R.nameLong} Dev`,dataFolderName:`${R.dataFolderName}-dev`,serverDataFolderName:R.serverDataFolderName?`${R.serverDataFolderName}-dev`:void 0}),!R.version){const S=se.__$__nodeRequire((0,j.joinPath)(F,"package.json").fsPath);Object.assign(R,{version:S.version})}}else R={},Object.keys(R).length===0&&Object.assign(R,{version:"1.72.0-dev",nameShort:"Code - OSS Dev",nameLong:"Code - OSS Dev",applicationName:"code-oss",dataFolderName:".vscode-oss",urlProtocol:"code-oss",reportIssueUrl:"https://github.com/microsoft/vscode/issues/new",licenseName:"MIT",licenseUrl:"https://github.com/microsoft/vscode/blob/main/LICENSE.txt"});e.default=R}),define(ae[50],le([0,1,3,26]),function(se,e,_,O){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Utils=e.IV8InspectProfilingService=void 0,e.IV8InspectProfilingService=(0,O.createDecorator)("IV8InspectProfilingService");var A;(function(j){function R(S){return Boolean(S.samples&&S.timeDeltas)}j.isValidProfile=R;function F(S,I="noAbsolutePaths"){for(const N of S.nodes)N.callFrame&&N.callFrame.url&&((0,_.isAbsolute)(N.callFrame.url)||/^\w[\w\d+.-]*:\/\/\/?/.test(N.callFrame.url))&&(N.callFrame.url=(0,_.join)(I,(0,_.basename)(N.callFrame.url)));return S}j.rewriteAbsolutePaths=F})(A=e.Utils||(e.Utils={}))}),define(ae[55],le([0,1,39,11,19,16,3,2,30,13,10,31,48,25,43,44,45,49,8,4,50,17]),function(se,e,_,O,A,j,R,F,S,I,N,W,z,f,l,r,s,u,E,t,a,g){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.main=void 0;function y(i){return!!i["install-source"]||!!i["list-extensions"]||!!i["install-extension"]||!!i["uninstall-extension"]||!!i["locate-extension"]||!!i.telemetry}async function w(i){let o;try{o=(0,l.parseCLIProcessArgv)(i)}catch(n){console.error(n.message);return}if(o.tunnel){if(!u.default.tunnelApplicationName||!u.default.tunnelApplicationConfig){console.error(`'tunnel' command not supported in ${u.default.applicationName}`);return}return new Promise((n,b)=>{let P;if(process.env.VSCODE_DEV)P=(0,_.spawn)("cargo",["run","--","tunnel",...i.slice(5)],{cwd:(0,R.join)(d(),"cli")});else{const G=process.platform==="darwin"?(0,R.join)((0,R.dirname)((0,R.dirname)(process.execPath)),"Resources","app"):(0,R.dirname)(process.execPath),ie=(0,R.join)(G,"bin",`${u.default.tunnelApplicationName}${F.isWindows?".exe":""}`),ne=i.slice(3);P=(0,_.spawn)(ie,["tunnel",...ne])}P.stdout.on("data",G=>{console.log(G.toString())}),P.stderr.on("data",G=>{console.error(G.toString())}),P.on("exit",n),P.on("error",b)})}if(o.help){const n=`${u.default.applicationName}${F.isWindows?".exe":""}`;console.log((0,f.buildHelpMessage)(u.default.nameLong,n,u.default.version,f.OPTIONS))}else if(o.version)console.log((0,f.buildVersionMessage)(u.default.version,u.default.commit));else if(o["locate-shell-integration-path"]){let n;switch(o["locate-shell-integration-path"]){case"bash":n="shellIntegration-bash.sh";break;case"pwsh":n="shellIntegration.ps1";break;case"zsh":n="shellIntegration-rc.zsh";break;case"fish":n="shellIntegration.fish";break;default:throw new Error("Error using --locate-shell-integration-path: Invalid shell type")}console.log((0,R.join)(d(),"out","vs","workbench","contrib","terminal","browser","media",n))}else if(y(o)){await(await new Promise((b,P)=>se(["vs/code/node/cliProcessMain"],b,P))).main(o);return}else if(o["file-write"]){const n=o._[0],b=o._[1];if(!n||!b||n===b||!(0,R.isAbsolute)(n)||!(0,R.isAbsolute)(b)||!(0,O.existsSync)(n)||!(0,O.statSync)(n).isFile()||!(0,O.existsSync)(b)||!(0,O.statSync)(b).isFile())throw new Error("Using --file-write with invalid arguments.");try{let P=0,G=!1;o["file-chmod"]&&(P=(0,O.statSync)(b).mode,P&128||((0,O.chmodSync)(b,P|128),G=!0));const ie=(0,O.readFileSync)(n);F.isWindows?((0,O.truncateSync)(b,0),(0,N.writeFileSync)(b,ie,{flag:"r+"})):(0,N.writeFileSync)(b,ie),G&&(0,O.chmodSync)(b,P)}catch(P){throw P.message=`Error using --file-write: ${P.message}`,P}}else{const n={...process.env,ELECTRON_NO_ATTACH_CONSOLE:"1"};delete n.ELECTRON_RUN_AS_NODE;const b=[],P=o.verbose||o.status;P&&(n.ELECTRON_ENABLE_LOGGING="1",b.push(async V=>{V.stdout.on("data",J=>console.log(J.toString("utf8").trim())),V.stderr.on("data",J=>console.log(J.toString("utf8").trim())),await j.Event.toPromise(j.Event.fromNodeEventEmitter(V,"exit"))}));const G=o._.some(V=>V==="-");G&&(o._=o._.filter(V=>V!=="-"),i=i.filter(V=>V!=="-"));let ie;if((0,r.hasStdinWithoutTty)())if(G){ie=(0,r.getStdinFilePath)();try{await(0,r.readFromStdin)(ie,!!P),(0,l.addArg)(i,ie),(0,l.addArg)(i,"--wait"),(0,l.addArg)(i,"--skip-add-to-recently-opened"),o.wait=!0,console.log(`Reading from stdin via: ${ie}`)}catch(V){console.log(`Failed to create file to read via stdin: ${V.toString()}`),ie=void 0}}else b.push(V=>(0,r.stdinDataListener)(1e3).then(J=>{J&&(F.isWindows?console.log(`Run with '${u.default.applicationName} -' to read output from another program (e.g. 'echo Hello World | ${u.default.applicationName} -').`):console.log(`Run with '${u.default.applicationName} -' to read from stdin (e.g. 'ps aux | grep code | ${u.default.applicationName} -').`))}));const ne=F.isMacintosh&&(0,A.release)()>"20.0.0";let de;if(o.wait&&(de=(0,s.createWaitMarkerFileSync)(P),de&&(0,l.addArg)(i,"--waitMarkerFilePath",de),b.push(async V=>{let J;ne?J=new Promise(C=>{V.on("exit",(K,M)=>{(K!==0||M)&&C()})}):J=j.Event.toPromise(j.Event.fromNodeEventEmitter(V,"exit"));try{await Promise.race([(0,N.whenDeleted)(de),j.Event.toPromise(j.Event.fromNodeEventEmitter(V,"error")),J])}finally{ie&&(0,O.unlinkSync)(ie)}})),o["prof-startup"]){const V=await(0,W.findFreePort)((0,S.randomPort)(),10,3e3),J=await(0,W.findFreePort)(V+1,10,3e3),C=await(0,W.findFreePort)(J+1,10,3e3);if(V*J*C===0)throw new Error("Failed to find free ports for profiler. Make sure to shutdown all instances of the editor first.");const K=(0,t.randomPath)((0,A.homedir)(),"prof");(0,l.addArg)(i,`--inspect-brk=${V}`),(0,l.addArg)(i,`--remote-debugging-port=${J}`),(0,l.addArg)(i,`--inspect-brk-extensions=${C}`),(0,l.addArg)(i,"--prof-startup-prefix",K),(0,l.addArg)(i,"--no-cached-data"),(0,N.writeFileSync)(K,i.slice(-6).join("|")),b.push(async M=>{class ${static async start(Z,te,oe){const Y=await new Promise((D,H)=>{se(["v8-inspect-profiler"],D,H)});let h;try{h=await Y.startProfiling(oe)}catch{console.error(`FAILED to start profiling for '${Z}' on port '${oe.port}'`)}return{async stop(){if(!h)return;let D="";const H=await h.stop();process.env.VSCODE_DEV||(H.profile=a.Utils.rewriteAbsolutePaths(H.profile,"piiRemoved"),D=".txt"),(0,N.writeFileSync)(`${te}.${Z}.cpuprofile${D}`,JSON.stringify(H.profile,void 0,4))}}}}try{const U=$.start("main",K,{port:V}),Z=$.start("extHost",K,{port:C,tries:300}),te=$.start("renderer",K,{port:J,tries:200,target:function(D){return D.filter(H=>H.webSocketDebuggerUrl?H.type==="page"?H.url.indexOf("workbench/workbench.html")>0||H.url.indexOf("workbench/workbench-dev.html")>0:!0:!1)[0]}}),oe=await U,Y=await Z,h=await te;await(0,N.whenDeleted)(K),await oe.stop(),await h.stop(),await Y.stop(),(0,N.writeFileSync)(K,"")}catch{console.error("Failed to profile startup. Make sure to quit Code first.")}})}const me=o["js-flags"];if((0,I.isString)(me)){const V=/max_old_space_size=(\d+)/g.exec(me);V&&!o["max-memory"]&&(0,l.addArg)(i,`--max-memory=${V[1]}`)}const ge={detached:!0,env:n};P||(ge.stdio="ignore");let ue;if(!ne)ue=(0,_.spawn)(process.execPath,i.slice(2),ge);else{const V=["-n","-g"];if(V.push("-a",process.execPath),P){V.push("--wait-apps");for(const J of["stdout","stderr"]){const C=(0,t.randomPath)((0,A.tmpdir)(),`code-${J}`);(0,N.writeFileSync)(C,""),V.push(`--${J}`,C),b.push(async K=>{try{const M=J==="stdout"?process.stdout:process.stderr,$=new E.CancellationTokenSource;K.on("close",()=>{setTimeout(()=>$.dispose(!0),200)}),await(0,z.watchFileContents)(C,U=>M.write(U),()=>{},$.token)}finally{(0,O.unlinkSync)(C)}})}}for(const J in n)J!=="_"&&(V.push("--env"),V.push(`${J}=${n[J]}`));if(V.push("--args",...i.slice(2)),n.VSCODE_DEV){const J=".",C=V.indexOf(J);C!==-1&&(V[C]=(0,R.resolve)(J))}ue=(0,_.spawn)("open",V,{...ge,env:{}})}return Promise.all(b.map(V=>V(ue)))}}e.main=w;function d(){return(0,R.dirname)(g.FileAccess.asFileUri("",se).fsPath)}function v(i){setTimeout(()=>process.exit(i),0)}w(process.argv).then(()=>v(0)).then(null,i=>{console.error(i.message||i.stack||i),v(1)})})}).call(this); //# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/6261075646f055b99068d3688932416f2346dd3b/core/vs/code/node/cli.js.map x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586