mbeditor 0.13.1 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +132 -0
- data/app/assets/javascripts/mbeditor/application.js +5 -0
- data/app/assets/javascripts/mbeditor/audit_log.js +165 -0
- data/app/assets/javascripts/mbeditor/collaboration_service.js +248 -26
- data/app/assets/javascripts/mbeditor/components/ChangelogView.js +89 -94
- data/app/assets/javascripts/mbeditor/components/CodeReviewPanel.js +6 -9
- data/app/assets/javascripts/mbeditor/components/CollapsibleSection.js +12 -7
- data/app/assets/javascripts/mbeditor/components/CombinedDiffViewer.js +20 -0
- data/app/assets/javascripts/mbeditor/components/CombinedFileView.js +214 -0
- data/app/assets/javascripts/mbeditor/components/DiffViewer.js +1 -1
- data/app/assets/javascripts/mbeditor/components/EditorPanel.js +442 -248
- data/app/assets/javascripts/mbeditor/components/FileHistoryPanel.js +6 -9
- data/app/assets/javascripts/mbeditor/components/FileTree.js +26 -12
- data/app/assets/javascripts/mbeditor/components/GitPanel.js +3 -0
- data/app/assets/javascripts/mbeditor/components/Gutter.js +51 -0
- data/app/assets/javascripts/mbeditor/components/ImportConflictModal.js +60 -5
- data/app/assets/javascripts/mbeditor/components/LogPanel.js +3 -44
- data/app/assets/javascripts/mbeditor/components/MbeditorApp.js +1241 -1256
- data/app/assets/javascripts/mbeditor/components/ModelGraph.js +94 -37
- data/app/assets/javascripts/mbeditor/components/PastePlaceModal.js +329 -0
- data/app/assets/javascripts/mbeditor/components/ProblemsPanel.js +47 -65
- data/app/assets/javascripts/mbeditor/components/QuickOpenDialog.js +26 -8
- data/app/assets/javascripts/mbeditor/components/SettingsModal.js +342 -0
- data/app/assets/javascripts/mbeditor/components/ShortcutHelp.js +18 -1
- data/app/assets/javascripts/mbeditor/components/TabBar.js +67 -98
- data/app/assets/javascripts/mbeditor/editor_plugins.js +705 -323
- data/app/assets/javascripts/mbeditor/file_import.js +13 -15
- data/app/assets/javascripts/mbeditor/file_service.js +48 -39
- data/app/assets/javascripts/mbeditor/git_service.js +15 -1
- data/app/assets/javascripts/mbeditor/history_service.js +5 -13
- data/app/assets/javascripts/mbeditor/search_service.js +9 -0
- data/app/assets/javascripts/mbeditor/tab_manager.js +127 -49
- data/app/assets/javascripts/mbeditor/websocket_service.js +13 -5
- data/app/assets/stylesheets/mbeditor/application.css +6 -1
- data/app/assets/stylesheets/mbeditor/editor.css +672 -249
- data/app/assets/stylesheets/mbeditor/glass.css +174 -0
- data/app/assets/stylesheets/mbeditor/themes.css +93 -33
- data/app/channels/mbeditor/collaboration_channel.rb +17 -4
- data/app/controllers/mbeditor/application_controller.rb +26 -3
- data/app/controllers/mbeditor/editors_controller.rb +124 -439
- data/app/services/mbeditor/archive_service.rb +137 -0
- data/app/services/mbeditor/collaboration_doc_store.rb +143 -14
- data/app/services/mbeditor/editor_state_service.rb +14 -51
- data/app/services/mbeditor/file_history_service.rb +222 -0
- data/app/services/mbeditor/git_info_service.rb +6 -0
- data/app/services/mbeditor/js_syntax_check_service.rb +42 -16
- data/app/services/mbeditor/lint_service.rb +137 -0
- data/app/services/mbeditor/locked_json_file.rb +67 -0
- data/app/services/mbeditor/process_runner.rb +32 -0
- data/app/services/mbeditor/ruby_lsp_result_translator.rb +226 -0
- data/app/services/mbeditor/ruby_method_ranges_service.rb +120 -0
- data/app/services/mbeditor/search_replace_service.rb +8 -0
- data/app/views/layouts/mbeditor/application.html.erb +1 -1
- data/lib/mbeditor/audit_log.rb +203 -0
- data/lib/mbeditor/configuration.rb +6 -1
- data/lib/mbeditor/rack/pending_migration_bypass.rb +31 -10
- data/lib/mbeditor/route_map.rb +5 -0
- data/lib/mbeditor/ruby_lsp_client.rb +82 -14
- data/lib/mbeditor/version.rb +1 -1
- data/lib/mbeditor.rb +1 -0
- data/public/monaco-editor/VERSIONS +1 -1
- data/public/monaco-editor/codicon.ttf +0 -0
- data/public/monaco-editor/css.worker.js +41 -37
- data/public/monaco-editor/editor.worker.js +19 -15
- data/public/monaco-editor/html.worker.js +53 -49
- data/public/monaco-editor/json.worker.js +36 -32
- data/public/monaco-editor/monaco.css +1 -1
- data/public/monaco-editor/monaco.js +388 -301
- data/public/monaco-editor/ts.worker.js +226 -222
- data/vendor/assets/javascripts/axios.min.js +3 -3
- metadata +15 -2
|
@@ -1,73 +1,77 @@
|
|
|
1
|
-
(()=>{var
|
|
1
|
+
(()=>{var Hi=class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?Vt.isErrorNoTelemetry(e)?new Vt(e.message+`
|
|
2
2
|
|
|
3
3
|
`+e.stack):new Error(e.message+`
|
|
4
4
|
|
|
5
|
-
`+e.stack):e},0)}}emit(e){this.listeners.forEach(n=>{n(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}},au=new xi;function Ze(t){ou(t)||au.onUnexpectedError(t)}function hn(t){if(t instanceof Error){let{name:e,message:n,cause:i}=t,r=t.stacktrace||t.stack;return{$isError:!0,name:e,message:n,stack:r,noTelemetry:Ft.isErrorNoTelemetry(t),cause:i?hn(i):void 0,code:t.code}}return t}var Ti="Canceled";function ou(t){return t instanceof zt?!0:t instanceof Error&&t.name===Ti&&t.message===Ti}var zt=class extends Error{constructor(){super(Ti),this.name=this.message}};var Ft=class t extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof t)return e;let n=new t;return n.message=e.message,n.stack=e.stack,n}static isErrorNoTelemetry(e){return e.name==="CodeExpectedError"}},te=class t extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,t.prototype)}};function us(t,e="Unreachable"){throw new Error(e)}function Si(t,e="unexpected state"){if(!t)throw typeof e=="string"?new te(`Assertion Failed: ${e}`):e}function He(t){if(!t()){debugger;t(),Ze(new te("Assertion Failed"))}}function Pt(t,e){let n=0;for(;n<t.length-1;){let i=t[n],r=t[n+1];if(!e(i,r))return!1;n++}return!0}function cs(t){return typeof t=="string"}function hs(t){return!!t&&typeof t[Symbol.iterator]=="function"}var mt;(function(t){function e(b){return!!b&&typeof b=="object"&&typeof b[Symbol.iterator]=="function"}t.is=e;let n=Object.freeze([]);function i(){return n}t.empty=i;function*r(b){yield b}t.single=r;function s(b){return e(b)?b:r(b)}t.wrap=s;function a(b){return b||n}t.from=a;function*l(b){for(let g=b.length-1;g>=0;g--)yield b[g]}t.reverse=l;function o(b){return!b||b[Symbol.iterator]().next().done===!0}t.isEmpty=o;function u(b){return b[Symbol.iterator]().next().value}t.first=u;function c(b,g){let v=0;for(let N of b)if(g(N,v++))return!0;return!1}t.some=c;function d(b,g){let v=0;for(let N of b)if(!g(N,v++))return!1;return!0}t.every=d;function m(b,g){for(let v of b)if(g(v))return v}t.find=m;function*f(b,g){for(let v of b)g(v)&&(yield v)}t.filter=f;function*w(b,g){let v=0;for(let N of b)yield g(N,v++)}t.map=w;function*p(b,g){let v=0;for(let N of b)yield*g(N,v++)}t.flatMap=p;function*T(...b){for(let g of b)hs(g)?yield*g:yield g}t.concat=T;function x(b,g,v){let N=v;for(let k of b)N=g(N,k);return N}t.reduce=x;function y(b){let g=0;for(let v of b)g++;return g}t.length=y;function*L(b,g,v=b.length){for(g<-b.length&&(g=0),g<0&&(g+=b.length),v<0?v+=b.length:v>b.length&&(v=b.length);g<v;g++)yield b[g]}t.slice=L;function z(b,g=Number.POSITIVE_INFINITY){let v=[];if(g===0)return[v,b];let N=b[Symbol.iterator]();for(let k=0;k<g;k++){let _=N.next();if(_.done)return[v,t.empty()];v.push(_.value)}return[v,{[Symbol.iterator](){return N}}]}t.consume=z;async function F(b){let g=[];for await(let v of b)g.push(v);return g}t.asyncToArray=F;async function U(b){let g=[];for await(let v of b)g=g.concat(v);return g}t.asyncToArrayFlat=U})(mt||(mt={}));function Li(t){if(mt.is(t)){let e=[];for(let n of t)if(n)try{n.dispose()}catch(i){e.push(i)}if(e.length===1)throw e[0];if(e.length>1)throw new AggregateError(e,"Encountered errors while disposing of store");return Array.isArray(t)?[]:t}else if(t)return t.dispose(),t}function ds(...t){return We(()=>Li(t))}var ki=class{constructor(e){this._isDisposed=!1,this._fn=e}dispose(){if(!this._isDisposed){if(!this._fn)throw new Error("Unbound disposable context: Need to use an arrow function to preserve the value of this");this._isDisposed=!0,this._fn()}}};function We(t){return new ki(t)}var Ke=class t{static{this.DISABLE_DISPOSED_WARNING=!1}constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{Li(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e||e===ye.None)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?t.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}delete(e){if(e){if(e===this)throw new Error("Cannot dispose a disposable on itself!");this._toDispose.delete(e),e.dispose()}}},ye=class{static{this.None=Object.freeze({dispose(){}})}constructor(){this._store=new Ke,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}};var ee=class t{static{this.Undefined=new t(void 0)}constructor(e){this.element=e,this.next=t.Undefined,this.prev=t.Undefined}},Ut=class{constructor(){this._first=ee.Undefined,this._last=ee.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===ee.Undefined}clear(){let e=this._first;for(;e!==ee.Undefined;){let n=e.next;e.prev=ee.Undefined,e.next=ee.Undefined,e=n}this._first=ee.Undefined,this._last=ee.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,n){let i=new ee(e);if(this._first===ee.Undefined)this._first=i,this._last=i;else if(n){let s=this._last;this._last=i,i.prev=s,s.next=i}else{let s=this._first;this._first=i,i.next=s,s.prev=i}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(i))}}shift(){if(this._first!==ee.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==ee.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==ee.Undefined&&e.next!==ee.Undefined){let n=e.prev;n.next=e.next,e.next.prev=n}else e.prev===ee.Undefined&&e.next===ee.Undefined?(this._first=ee.Undefined,this._last=ee.Undefined):e.next===ee.Undefined?(this._last=this._last.prev,this._last.next=ee.Undefined):e.prev===ee.Undefined&&(this._first=this._first.next,this._first.prev=ee.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==ee.Undefined;)yield e.element,e=e.next}};var lu=globalThis.performance.now.bind(globalThis.performance),ft=class t{static create(e){return new t(e)}constructor(e){this._now=e===!1?Date.now:lu,this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}};var dn;(function(t){t.None=()=>ye.None;function e(_,A){return m(_,()=>{},0,void 0,!0,void 0,A)}t.defer=e;function n(_){return(A,D=null,S)=>{let R=!1,M;return M=_(H=>{if(!R)return M?M.dispose():R=!0,A.call(D,H)},null,S),R&&M.dispose(),M}}t.once=n;function i(_,A){return t.once(t.filter(_,A))}t.onceIf=i;function r(_,A,D){return c((S,R=null,M)=>_(H=>S.call(R,A(H)),null,M),D)}t.map=r;function s(_,A,D){return c((S,R=null,M)=>_(H=>{A(H),S.call(R,H)},null,M),D)}t.forEach=s;function a(_,A,D){return c((S,R=null,M)=>_(H=>A(H)&&S.call(R,H),null,M),D)}t.filter=a;function l(_){return _}t.signal=l;function o(..._){return(A,D=null,S)=>{let R=ds(..._.map(M=>M(H=>A.call(D,H))));return d(R,S)}}t.any=o;function u(_,A,D,S){let R=D;return r(_,M=>(R=A(R,M),R),S)}t.reduce=u;function c(_,A){let D,S={onWillAddFirstListener(){D=_(R.fire,R)},onDidRemoveLastListener(){D?.dispose()}},R=new ue(S);return A?.add(R),R.event}function d(_,A){return A instanceof Array?A.push(_):A&&A.add(_),_}function m(_,A,D=100,S=!1,R=!1,M,H){let B,P,j,Y=0,Z,we={leakWarningThreshold:M,onWillAddFirstListener(){B=_(ru=>{Y++,P=A(P,ru),S&&!j&&(ve.fire(P),P=void 0),Z=()=>{let su=P;P=void 0,j=void 0,(!S||Y>1)&&ve.fire(su),Y=0},typeof D=="number"?(j&&clearTimeout(j),j=setTimeout(Z,D)):j===void 0&&(j=null,queueMicrotask(Z))})},onWillRemoveListener(){R&&Y>0&&Z?.()},onDidRemoveLastListener(){Z=void 0,B.dispose()}},ve=new ue(we);return H?.add(ve),ve.event}t.debounce=m;function f(_,A=0,D){return t.debounce(_,(S,R)=>S?(S.push(R),S):[R],A,void 0,!0,void 0,D)}t.accumulate=f;function w(_,A=(S,R)=>S===R,D){let S=!0,R;return a(_,M=>{let H=S||!A(M,R);return S=!1,R=M,H},D)}t.latch=w;function p(_,A,D){return[t.filter(_,A,D),t.filter(_,S=>!A(S),D)]}t.split=p;function T(_,A=!1,D=[],S){let R=D.slice(),M=_(P=>{R?R.push(P):B.fire(P)});S&&S.add(M);let H=()=>{R?.forEach(P=>B.fire(P)),R=null},B=new ue({onWillAddFirstListener(){M||(M=_(P=>B.fire(P)),S&&S.add(M))},onDidAddFirstListener(){R&&(A?setTimeout(H):H())},onDidRemoveLastListener(){M&&M.dispose(),M=null}});return S&&S.add(B),B.event}t.buffer=T;function x(_,A){return(S,R,M)=>{let H=A(new L);return _(function(B){let P=H.evaluate(B);P!==y&&S.call(R,P)},void 0,M)}}t.chain=x;let y=Symbol("HaltChainable");class L{constructor(){this.steps=[]}map(A){return this.steps.push(A),this}forEach(A){return this.steps.push(D=>(A(D),D)),this}filter(A){return this.steps.push(D=>A(D)?D:y),this}reduce(A,D){let S=D;return this.steps.push(R=>(S=A(S,R),S)),this}latch(A=(D,S)=>D===S){let D=!0,S;return this.steps.push(R=>{let M=D||!A(R,S);return D=!1,S=R,M?R:y}),this}evaluate(A){for(let D of this.steps)if(A=D(A),A===y)break;return A}}function z(_,A,D=S=>S){let S=(...B)=>H.fire(D(...B)),R=()=>_.on(A,S),M=()=>_.removeListener(A,S),H=new ue({onWillAddFirstListener:R,onDidRemoveLastListener:M});return H.event}t.fromNodeEventEmitter=z;function F(_,A,D=S=>S){let S=(...B)=>H.fire(D(...B)),R=()=>_.addEventListener(A,S),M=()=>_.removeEventListener(A,S),H=new ue({onWillAddFirstListener:R,onDidRemoveLastListener:M});return H.event}t.fromDOMEventEmitter=F;function U(_,A){let D,S=new Promise((R,M)=>{let H=n(_)(R,null,A);D=()=>H.dispose()});return S.cancel=D,S}t.toPromise=U;function b(_,A){return _(D=>A.fire(D))}t.forward=b;function g(_,A,D){return A(D),_(S=>A(S))}t.runAndSubscribe=g;class v{constructor(A,D){this._observable=A,this._counter=0,this._hasChanged=!1;let S={onWillAddFirstListener:()=>{A.addObserver(this),this._observable.reportChanges()},onDidRemoveLastListener:()=>{A.removeObserver(this)}};this.emitter=new ue(S),D&&D.add(this.emitter)}beginUpdate(A){this._counter++}handlePossibleChange(A){}handleChange(A,D){this._hasChanged=!0}endUpdate(A){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function N(_,A){return new v(_,A).emitter.event}t.fromObservable=N;function k(_){return(A,D,S)=>{let R=0,M=!1,H={beginUpdate(){R++},endUpdate(){R--,R===0&&(_.reportChanges(),M&&(M=!1,A.call(D)))},handlePossibleChange(){},handleChange(){M=!0}};_.addObserver(H),_.reportChanges();let B={dispose(){_.removeObserver(H)}};return S instanceof Ke?S.add(B):Array.isArray(S)&&S.push(B),B}}t.fromObservableLight=k})(dn||(dn={}));var Ai=class t{static{this.all=new Set}static{this._idPool=0}constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${t._idPool++}`,t.all.add(this)}start(e){this._stopWatch=new ft,this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}},uu=-1,Ci=class t{static{this._idPool=1}constructor(e,n,i=(t._idPool++).toString(16).padStart(3,"0")){this._errorHandler=e,this.threshold=n,this.name=i,this._warnCountdown=0}dispose(){this._stacks?.clear()}check(e,n){let i=this.threshold;if(i<=0||n<i)return;this._stacks||(this._stacks=new Map);let r=this._stacks.get(e.value)||0;if(this._stacks.set(e.value,r+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=i*.5;let[s,a]=this.getMostFrequentStack(),l=`[${this.name}] potential listener LEAK detected, having ${n} listeners already. MOST frequent listener (${a}):`;console.warn(l),console.warn(s);let o=new Ri(l,s);this._errorHandler(o)}return()=>{let s=this._stacks.get(e.value)||0;this._stacks.set(e.value,s-1)}}getMostFrequentStack(){if(!this._stacks)return;let e,n=0;for(let[i,r]of this._stacks)(!e||n<r)&&(e=[i,r],n=r);return e}},Ei=class t{static create(){let e=new Error;return new t(e.stack??"")}constructor(e){this.value=e}print(){console.warn(this.value.split(`
|
|
5
|
+
`+e.stack):e},0)}}emit(e){this.listeners.forEach(n=>{n(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}},Ps=new Hi;function nt(t){Oi(t)||Ps.onUnexpectedError(t)}function zs(t){Oi(t)||Ps.onUnexpectedExternalError(t)}function Tn(t){if(t instanceof Error){let{name:e,message:n,cause:i}=t,r=t.stacktrace||t.stack;return{$isError:!0,name:e,message:n,stack:r,noTelemetry:Vt.isErrorNoTelemetry(t),cause:i?Tn(i):void 0,code:t.code}}return t}var Bi="Canceled";function Oi(t){return t instanceof qt?!0:t instanceof Error&&t.name===Bi&&t.message===Bi}var qt=class extends Error{constructor(){super(Bi),this.name=this.message}};var Vt=class t extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof t)return e;let n=new t;return n.message=e.message,n.stack=e.stack,n}static isErrorNoTelemetry(e){return e.name==="CodeExpectedError"}},K=class t extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,t.prototype)}};function Fs(t,e="Unreachable"){throw new Error(e)}function qi(t,e="unexpected state"){if(!t)throw typeof e=="string"?new K(`Assertion Failed: ${e}`):e}function Pe(t){t()||(t(),nt(new K("Assertion Failed")))}function wt(t,e){let n=0;for(;n<t.length-1;){let i=t[n],r=t[n+1];if(!e(i,r))return!1;n++}return!0}function Us(t){return typeof t=="string"}function Ws(t){return!!t&&typeof t[Symbol.iterator]=="function"}var _t;(function(t){function e(b){return!!b&&typeof b=="object"&&typeof b[Symbol.iterator]=="function"}t.is=e;let n=Object.freeze([]);function i(){return n}t.empty=i;function*r(b){yield b}t.single=r;function s(b){return e(b)?b:r(b)}t.wrap=s;function a(b){return b??n}t.from=a;function*l(b){for(let g=b.length-1;g>=0;g--)yield b[g]}t.reverse=l;function o(b){return!b||b[Symbol.iterator]().next().done===!0}t.isEmpty=o;function u(b){return b[Symbol.iterator]().next().value}t.first=u;function h(b,g){let _=0;for(let N of b)if(g(N,_++))return!0;return!1}t.some=h;function d(b,g){let _=0;for(let N of b)if(!g(N,_++))return!1;return!0}t.every=d;function m(b,g){for(let _ of b)if(g(_))return _}t.find=m;function*f(b,g){for(let _ of b)g(_)&&(yield _)}t.filter=f;function*w(b,g){let _=0;for(let N of b)yield g(N,_++)}t.map=w;function*p(b,g){let _=0;for(let N of b)yield*g(N,_++)}t.flatMap=p;function*x(...b){for(let g of b)Ws(g)?yield*g:yield g}t.concat=x;function y(b,g,_){let N=_;for(let L of b)N=g(N,L);return N}t.reduce=y;function v(b){let g=0;for(let _ of b)g++;return g}t.length=v;function*S(b,g,_=b.length){for(g<-b.length&&(g=0),g<0&&(g+=b.length),_<0?_+=b.length:_>b.length&&(_=b.length);g<_;g++)yield b[g]}t.slice=S;function P(b,g=Number.POSITIVE_INFINITY){let _=[];if(g===0)return[_,b];let N=b[Symbol.iterator]();for(let L=0;L<g;L++){let T=N.next();if(T.done)return[_,t.empty()];_.push(T.value)}return[_,{[Symbol.iterator](){return N}}]}t.consume=P;async function z(b){let g=[];for await(let _ of b)g.push(_);return g}t.asyncToArray=z;async function H(b){let g=[];for await(let _ of b)g=g.concat(_);return g}t.asyncToArrayFlat=H})(_t||(_t={}));function ji(t){if(_t.is(t)){let e=[];for(let n of t)if(n)try{n.dispose()}catch(i){e.push(i)}if(e.length===1)throw e[0];if(e.length>1)throw new AggregateError(e,"Encountered errors while disposing of store");return Array.isArray(t)?[]:t}else if(t)return t.dispose(),t}function Hs(...t){return ze(()=>ji(t))}var Vi=class{constructor(e){this._isDisposed=!1,this._fn=e}dispose(){if(!this._isDisposed){if(!this._fn)throw new Error("Unbound disposable context: Need to use an arrow function to preserve the value of this");this._isDisposed=!0,this._fn()}}};function ze(t){return new Vi(t)}var it=class t{static{this.DISABLE_DISPOSED_WARNING=!1}constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{ji(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e||e===ye.None)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?t.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}delete(e){if(e){if(e===this)throw new Error("Cannot dispose a disposable on itself!");this._toDispose.delete(e),e.dispose()}}},ye=class{static{this.None=Object.freeze({dispose(){}})}constructor(){this._store=new it,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}};var ne=class t{static{this.Undefined=new t(void 0)}constructor(e){this.element=e,this.next=t.Undefined,this.prev=t.Undefined}},jt=class{constructor(){this._first=ne.Undefined,this._last=ne.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===ne.Undefined}clear(){let e=this._first;for(;e!==ne.Undefined;){let n=e.next;e.prev=ne.Undefined,e.next=ne.Undefined,e=n}this._first=ne.Undefined,this._last=ne.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,n){let i=new ne(e);if(this._first===ne.Undefined)this._first=i,this._last=i;else if(n){let s=this._last;this._last=i,i.prev=s,s.next=i}else{let s=this._first;this._first=i,i.next=s,s.prev=i}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(i))}}shift(){if(this._first!==ne.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==ne.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==ne.Undefined&&e.next!==ne.Undefined){let n=e.prev;n.next=e.next,e.next.prev=n}else e.prev===ne.Undefined&&e.next===ne.Undefined?(this._first=ne.Undefined,this._last=ne.Undefined):e.next===ne.Undefined?(this._last=this._last.prev,this._last.next=ne.Undefined):e.prev===ne.Undefined&&(this._first=this._first.next,this._first.prev=ne.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==ne.Undefined;)yield e.element,e=e.next}};function Ju(){return globalThis._VSCODE_NLS_MESSAGES}function $i(){return globalThis._VSCODE_NLS_LANGUAGE}var Qu=$i()==="pseudo"||typeof document<"u"&&document.location&&typeof document.location.hash=="string"&&document.location.hash.indexOf("pseudo=true")>=0;function Bs(t,e){let n;return e.length===0?n=t:n=t.replace(/\{(\d+)\}/g,(i,r)=>{let s=parseInt(r,10),a=e[s],l=i;return typeof a=="string"?l=a:(typeof a=="number"||typeof a=="boolean"||a===void 0||a===null)&&(l=String(a)),l}),Qu&&(n="\uFF3B"+n.replace(/[aouei]/g,"$&$&")+"\uFF3D"),n}function V(t,e,...n){return Bs(typeof t=="number"?Yu(t,e):e,n)}function Yu(t,e){let n=Ju()?.[t];if(typeof n!="string"){if(typeof e=="string")return e;throw new Error(`!!! NLS MISSING: ${t} !!!`)}return n}var rt="en",Ln=!1,An=!1,Sn=!1,Zu=!1,qs=!1,Ji=!1,Vs=!1,Ku=!1,ec=!1,kn,Gi=rt,Os=rt,tc,Ee,Fe=globalThis,ge;typeof Fe.vscode<"u"&&typeof Fe.vscode.process<"u"?ge=Fe.vscode.process:typeof process<"u"&&typeof process?.versions?.node=="string"&&(ge=process);var js=typeof ge?.versions?.electron=="string",nc=js&&ge?.type==="renderer";if(typeof ge=="object"){Ln=ge.platform==="win32",An=ge.platform==="darwin",Sn=ge.platform==="linux",Sn&&ge.env.SNAP&&ge.env.SNAP_REVISION,Vs=js,ge.env.CI||ge.env.BUILD_ARTIFACTSTAGINGDIRECTORY||ge.env.GITHUB_WORKSPACE,kn=rt,Gi=rt;let t=ge.env.VSCODE_NLS_CONFIG;if(t)try{let e=JSON.parse(t);kn=e.userLocale,Os=e.osLocale,Gi=e.resolvedLanguage||rt,tc=e.languagePack?.translationsConfigFile}catch{}qs=!0}else typeof navigator=="object"&&!nc?(Ee=navigator.userAgent,Ln=Ee.indexOf("Windows")>=0,An=Ee.indexOf("Macintosh")>=0,Ku=(Ee.indexOf("Macintosh")>=0||Ee.indexOf("iPad")>=0||Ee.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,Sn=Ee.indexOf("Linux")>=0,Zu=Ee.indexOf("CrOS")>=0,ec=Ee?.indexOf("Mobi")>=0,Ji=!0,Gi=$i()||rt,kn=navigator.language.toLowerCase(),Os=kn):console.error("Unable to resolve platform.");var Xi=0;An?Xi=1:Ln?Xi=3:Sn&&(Xi=2);var st=Ln,$s=An;var Gs=qs,Xs=Vs,Qi=Ji,Yi=Ji&&typeof Fe.importScripts=="function",Js=Yi?Fe.origin:void 0;var xe=Ee;var ic=typeof Fe.postMessage=="function"&&!Fe.importScripts,Qs=(()=>{if(ic){let t=[];Fe.addEventListener("message",n=>{if(n.data&&n.data.vscodeScheduleAsyncWork)for(let i=0,r=t.length;i<r;i++){let s=t[i];if(s.id===n.data.vscodeScheduleAsyncWork){t.splice(i,1),s.callback();return}}});let e=0;return n=>{let i=++e;t.push({id:i,callback:n}),Fe.postMessage({vscodeScheduleAsyncWork:i},"*")}}return t=>setTimeout(t)})();var rc=!!(xe&&xe.indexOf("Chrome")>=0),gd=!!(xe&&xe.indexOf("Firefox")>=0),bd=!!(!rc&&xe&&xe.indexOf("Safari")>=0),wd=!!(xe&&xe.indexOf("Edg/")>=0),_d=!!(xe&&xe.indexOf("Android")>=0),Ys=!!(xe&&xe.indexOf("Electron")>=0);var vt,Zi=globalThis.vscode;if(typeof Zi<"u"&&typeof Zi.process<"u"){let t=Zi.process;vt={get platform(){return t.platform},get arch(){return t.arch},get env(){return t.env},cwd(){return t.cwd()}}}else typeof process<"u"&&typeof process?.versions?.node=="string"?vt={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:vt={get platform(){return st?"win32":$s?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};var $t=vt.cwd,Cn=vt.env,Zs=vt.platform;var sc=globalThis.performance.now.bind(globalThis.performance),yt=class t{static create(e){return new t(e)}constructor(e){this._now=e===!1?Date.now:sc,this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}};var ac=100,Ks=6e4;function ea(){return!!Cn.VSCODE_DEV}var En;(function(t){t.None=()=>ye.None;function e(R,A,k){return m(R,()=>{},0,void 0,A??!0,void 0,k)}t.defer=e;function n(R){return(A,k=null,E)=>{let M=!1,F;return F=R(U=>{if(!M)return F?F.dispose():M=!0,A.call(k,U)},null,E),M&&F.dispose(),F}}t.once=n;function i(R,A){return t.once(t.filter(R,A))}t.onceIf=i;function r(R,A,k){return h((E,M=null,F)=>R(U=>E.call(M,A(U)),null,F),k)}t.map=r;function s(R,A,k){return h((E,M=null,F)=>R(U=>{A(U),E.call(M,U)},null,F),k)}t.forEach=s;function a(R,A,k){return h((E,M=null,F)=>R(U=>A(U)&&E.call(M,U),null,F),k)}t.filter=a;function l(R){return R}t.signal=l;function o(...R){return(A,k=null,E)=>{let M=Hs(...R.map(F=>F(U=>A.call(k,U))));return d(M,E)}}t.any=o;function u(R,A,k,E){let M=k;return r(R,F=>(M=A(M,F),M),E)}t.reduce=u;function h(R,A){let k,E={onWillAddFirstListener(){k=R(M.fire,M)},onDidRemoveLastListener(){k?.dispose()}},M=new ce(E);return A?.add(M),M.event}function d(R,A){return A instanceof Array?A.push(R):A&&A.add(R),R}function m(R,A,k=100,E=!1,M=!1,F,U){let W=ye.None,B,Y,Z=0,te,pe={leakWarningThreshold:F,onWillAddFirstListener(){W=R($u=>{Z++,B=A(B,$u),E&&!Y&&(bt.fire(B),B=void 0),te=()=>{let Gu=B;B=void 0,Y=void 0,(!E||Z>1)&&bt.fire(Gu),Z=0},typeof k=="number"?(Y&&clearTimeout(Y),Y=setTimeout(te,k)):Y===void 0&&(Y=null,queueMicrotask(te))})},onWillRemoveListener(){M&&Z>0&&te?.()},onDidRemoveLastListener(){te=void 0,W.dispose()}},bt=new ce(pe);return U?.add(bt),bt.event}t.debounce=m;function f(R,A=0,k,E){return t.debounce(R,(M,F)=>M?(M.push(F),M):[F],A,void 0,k??!0,void 0,E)}t.accumulate=f;function w(R,A,k=100,E=!0,M=!0,F,U){let W,B,Y,Z=0,te={leakWarningThreshold:F,onWillAddFirstListener(){W=R(bt=>{Z++,B=A(B,bt),Y===void 0&&(E&&(pe.fire(B),B=void 0,Z=0),typeof k=="number"?Y=setTimeout(()=>{M&&Z>0&&pe.fire(B),B=void 0,Y=void 0,Z=0},k):(Y=0,queueMicrotask(()=>{M&&Z>0&&pe.fire(B),B=void 0,Y=void 0,Z=0})))})},onDidRemoveLastListener(){W.dispose()}},pe=new ce(te);return U?.add(pe),pe.event}t.throttle=w;function p(R,A=(E,M)=>E===M,k){let E=!0,M;return a(R,F=>{let U=E||!A(F,M);return E=!1,M=F,U},k)}t.latch=p;function x(R,A,k){return[t.filter(R,A,k),t.filter(R,E=>!A(E),k)]}t.split=x;function y(R,A,k=!1,E=[],M){let F=E.slice(),U;ea()&&(U={stack:Rn.create(),timerId:setTimeout(()=>{F&&F.length>0&&U&&!U.warned&&(U.warned=!0,console.warn(`[Event.buffer][${A}] potential LEAK detected: ${F.length} events buffered for ${Ks/1e3}s without being consumed. Buffered here:`),U.stack.print())},Ks),warned:!1},M&&M.add(ze(()=>clearTimeout(U.timerId))));let W=()=>{U&&clearTimeout(U.timerId)},B=R(te=>{F?(F.push(te),ea()&&U&&!U.warned&&F.length>=ac&&(U.warned=!0,console.warn(`[Event.buffer][${A}] potential LEAK detected: ${F.length} events buffered without being consumed. Buffered here:`),U.stack.print())):Z.fire(te)});M&&M.add(B);let Y=()=>{F?.forEach(te=>Z.fire(te)),F=null,W()},Z=new ce({onWillAddFirstListener(){B||(B=R(te=>Z.fire(te)),M&&M.add(B))},onDidAddFirstListener(){F&&(k?setTimeout(Y):Y())},onDidRemoveLastListener(){B&&B.dispose(),B=null,W()}});return M&&M.add(Z),Z.event}t.buffer=y;function v(R,A){return(E,M,F)=>{let U=A(new P);return R(function(W){let B=U.evaluate(W);B!==S&&E.call(M,B)},void 0,F)}}t.chain=v;let S=Symbol("HaltChainable");class P{constructor(){this.steps=[]}map(A){return this.steps.push(A),this}forEach(A){return this.steps.push(k=>(A(k),k)),this}filter(A){return this.steps.push(k=>A(k)?k:S),this}reduce(A,k){let E=k;return this.steps.push(M=>(E=A(E,M),E)),this}latch(A=(k,E)=>k===E){let k=!0,E;return this.steps.push(M=>{let F=k||!A(M,E);return k=!1,E=M,F?M:S}),this}evaluate(A){for(let k of this.steps)if(A=k(A),A===S)break;return A}}function z(R,A,k=E=>E){let E=(...W)=>U.fire(k(...W)),M=()=>R.on(A,E),F=()=>R.removeListener(A,E),U=new ce({onWillAddFirstListener:M,onDidRemoveLastListener:F});return U.event}t.fromNodeEventEmitter=z;function H(R,A,k=E=>E){let E=(...W)=>U.fire(k(...W)),M=()=>R.addEventListener(A,E),F=()=>R.removeEventListener(A,E),U=new ce({onWillAddFirstListener:M,onDidRemoveLastListener:F});return U.event}t.fromDOMEventEmitter=H;function b(R,A){let k,E,M=new Promise(F=>{E=n(R)(F),ir(E,A),k=()=>{ta(E,A)}});return M.cancel=k,A&&M.finally(()=>ta(E,A)),M}t.toPromise=b;function g(R,A){return R(k=>A.fire(k))}t.forward=g;function _(R,A,k){return A(k),R(E=>A(E))}t.runAndSubscribe=_;class N{constructor(A,k){this._observable=A,this._counter=0,this._hasChanged=!1;let E={onWillAddFirstListener:()=>{A.addObserver(this),this._observable.reportChanges()},onDidRemoveLastListener:()=>{A.removeObserver(this)}};this.emitter=new ce(E),k&&k.add(this.emitter)}beginUpdate(A){this._counter++}handlePossibleChange(A){}handleChange(A,k){this._hasChanged=!0}endUpdate(A){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function L(R,A){return new N(R,A).emitter.event}t.fromObservable=L;function T(R){return(A,k,E)=>{let M=0,F=!1,U={beginUpdate(){M++},endUpdate(){M--,M===0&&(R.reportChanges(),F&&(F=!1,A.call(k)))},handlePossibleChange(){},handleChange(){F=!0}};R.addObserver(U),R.reportChanges();let W={dispose(){R.removeObserver(U)}};return ir(W,E),W}}t.fromObservableLight=T})(En||(En={}));var Ki=class t{static{this.all=new Set}static{this._idPool=0}constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${t._idPool++}`,t.all.add(this)}start(e){this._stopWatch=new yt,this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}},oc=-1,lc=1;function na(){return(lc++).toString(16).padStart(3,"0")}var er=class{constructor(e,n,i=na()){this._errorHandler=e,this.threshold=n,this.name=i,this._warnCountdown=0}dispose(){this._stacks?.clear()}check(e,n){let i=this.threshold;if(i<=0||n<i)return;this._stacks||(this._stacks=new Map);let r=e.value,s=this._stacks.get(r)||0;if(this._stacks.set(r,s+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=i*.5;let[a,l]=this.getMostFrequentStack(),o=/^[0-9a-f]+$/i.test(this.name)?void 0:this.name,u=`[${this.name}] potential listener LEAK detected, having ${n} listeners already. MOST frequent listener (${l}):`;console.warn(u),console.warn(a);let h=l/n>.3?"dominated":"popular",d=new Dn(h,u,a,n,o);this._errorHandler(d)}return()=>{let a=this._stacks.get(r)||0;a<=1?this._stacks.delete(r):this._stacks.set(r,a-1)}}getMostFrequentStack(){if(!this._stacks)return;let e,n=0;for(let[i,r]of this._stacks)(!e||n<r)&&(e=[i,r],n=r);return e}},Rn=class t{static create(){let e=new Error;return new t(e.stack??"")}constructor(e){this.value=e}print(){console.warn(this.value.split(`
|
|
6
6
|
`).slice(2).join(`
|
|
7
|
-
`))}},Ri=class extends Error{constructor(e,n){super(e),this.name="ListenerLeakError",this.stack=n}},Di=class extends Error{constructor(e,n){super(e),this.name="ListenerRefusalError",this.stack=n}},Ht=class{constructor(e){this.value=e}},cu=2,ue=class{constructor(e){this._size=0,this._options=e,this._leakageMon=this._options?.leakWarningThreshold?new Ci(e?.onListenerError??Ze,this._options?.leakWarningThreshold??uu):void 0,this._perfMon=this._options?._profName?new Ai(this._options._profName):void 0,this._deliveryQueue=this._options?.deliveryQueue}dispose(){this._disposed||(this._disposed=!0,this._deliveryQueue?.current===this&&this._deliveryQueue.reset(),this._listeners&&(this._listeners=void 0,this._size=0),this._options?.onDidRemoveLastListener?.(),this._leakageMon?.dispose())}get event(){return this._event??=(e,n,i)=>{if(this._leakageMon&&this._size>this._leakageMon.threshold**2){let l=`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;console.warn(l);let o=this._leakageMon.getMostFrequentStack()??["UNKNOWN stack",-1],u=new Di(`${l}. HINT: Stack shows most frequent listener (${o[1]}-times)`,o[0]);return(this._options?.onListenerError||Ze)(u),ye.None}if(this._disposed)return ye.None;n&&(e=e.bind(n));let r=new Ht(e),s;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(r.stack=Ei.create(),s=this._leakageMon.check(r.stack,this._size+1)),this._listeners?this._listeners instanceof Ht?(this._deliveryQueue??=new Mi,this._listeners=[this._listeners,r]):this._listeners.push(r):(this._options?.onWillAddFirstListener?.(this),this._listeners=r,this._options?.onDidAddFirstListener?.(this)),this._options?.onDidAddListener?.(this),this._size++;let a=We(()=>{s?.(),this._removeListener(r)});return i instanceof Ke?i.add(a):Array.isArray(i)&&i.push(a),a},this._event}_removeListener(e){if(this._options?.onWillRemoveListener?.(this),!this._listeners)return;if(this._size===1){this._listeners=void 0,this._options?.onDidRemoveLastListener?.(this),this._size=0;return}let n=this._listeners,i=n.indexOf(e);if(i===-1)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,n[i]=void 0;let r=this._deliveryQueue.current===this;if(this._size*cu<=n.length){let s=0;for(let a=0;a<n.length;a++)n[a]?n[s++]=n[a]:r&&s<this._deliveryQueue.end&&(this._deliveryQueue.end--,s<this._deliveryQueue.i&&this._deliveryQueue.i--);n.length=s}}_deliver(e,n){if(!e)return;let i=this._options?.onListenerError||Ze;if(!i){e.value(n);return}try{e.value(n)}catch(r){i(r)}}_deliverQueue(e){let n=e.current._listeners;for(;e.i<e.end;)this._deliver(n[e.i++],e.value);e.reset()}fire(e){if(this._deliveryQueue?.current&&(this._deliverQueue(this._deliveryQueue),this._perfMon?.stop()),this._perfMon?.start(this._size),this._listeners)if(this._listeners instanceof Ht)this._deliver(this._listeners,e);else{let n=this._deliveryQueue;n.enqueue(this,e,this._listeners.length),this._deliverQueue(n)}this._perfMon?.stop()}hasListeners(){return this._size>0}};var Mi=class{constructor(){this.i=-1,this.end=0}enqueue(e,n,i){this.i=0,this.end=i,this.current=e,this.value=n}reset(){this.i=this.end,this.current=void 0,this.value=void 0}};function ms(){return globalThis._VSCODE_NLS_MESSAGES}function mn(){return globalThis._VSCODE_NLS_LANGUAGE}var hu=mn()==="pseudo"||typeof document<"u"&&document.location&&typeof document.location.hash=="string"&&document.location.hash.indexOf("pseudo=true")>=0;function fs(t,e){let n;return e.length===0?n=t:n=t.replace(/\{(\d+)\}/g,(i,r)=>{let s=r[0],a=e[s],l=i;return typeof a=="string"?l=a:(typeof a=="number"||typeof a=="boolean"||a===void 0||a===null)&&(l=String(a)),l}),hu&&(n="\uFF3B"+n.replace(/[aouei]/g,"$&$&")+"\uFF3D"),n}function q(t,e,...n){return fs(typeof t=="number"?du(t,e):e,n)}function du(t,e){let n=ms()?.[t];if(typeof n!="string"){if(typeof e=="string")return e;throw new Error(`!!! NLS MISSING: ${t} !!!`)}return n}var et="en",gn=!1,bn=!1,pn=!1,mu=!1,gs=!1,fu=!1,pu=!1,fn,Ni=et,ps=et,gu,De,Me=globalThis,de;typeof Me.vscode<"u"&&typeof Me.vscode.process<"u"?de=Me.vscode.process:typeof process<"u"&&typeof process?.versions?.node=="string"&&(de=process);var bu=typeof de?.versions?.electron=="string",wu=bu&&de?.type==="renderer";if(typeof de=="object"){gn=de.platform==="win32",bn=de.platform==="darwin",pn=de.platform==="linux",pn&&de.env.SNAP&&de.env.SNAP_REVISION,de.env.CI||de.env.BUILD_ARTIFACTSTAGINGDIRECTORY||de.env.GITHUB_WORKSPACE,fn=et,Ni=et;let t=de.env.VSCODE_NLS_CONFIG;if(t)try{let e=JSON.parse(t);fn=e.userLocale,ps=e.osLocale,Ni=e.resolvedLanguage||et,gu=e.languagePack?.translationsConfigFile}catch{}mu=!0}else typeof navigator=="object"&&!wu?(De=navigator.userAgent,gn=De.indexOf("Windows")>=0,bn=De.indexOf("Macintosh")>=0,fu=(De.indexOf("Macintosh")>=0||De.indexOf("iPad")>=0||De.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,pn=De.indexOf("Linux")>=0,pu=De?.indexOf("Mobi")>=0,gs=!0,Ni=mn()||et,fn=navigator.language.toLowerCase(),ps=fn):console.error("Unable to resolve platform.");var Ii=0;bn?Ii=1:gn?Ii=3:pn&&(Ii=2);var tt=gn,bs=bn;var _u=gs&&typeof Me.importScripts=="function",Nh=_u?Me.origin:void 0;var ke=De;var vu=typeof Me.postMessage=="function"&&!Me.importScripts,ws=(()=>{if(vu){let t=[];Me.addEventListener("message",n=>{if(n.data&&n.data.vscodeScheduleAsyncWork)for(let i=0,r=t.length;i<r;i++){let s=t[i];if(s.id===n.data.vscodeScheduleAsyncWork){t.splice(i,1),s.callback();return}}});let e=0;return n=>{let i=++e;t.push({id:i,callback:n}),Me.postMessage({vscodeScheduleAsyncWork:i},"*")}}return t=>setTimeout(t)})();var yu=!!(ke&&ke.indexOf("Chrome")>=0),Ih=!!(ke&&ke.indexOf("Firefox")>=0),zh=!!(!yu&&ke&&ke.indexOf("Safari")>=0),Fh=!!(ke&&ke.indexOf("Edg/")>=0),Ph=!!(ke&&ke.indexOf("Android")>=0);function xu(t){return t}var wn=class{constructor(e,n){this.lastCache=void 0,this.lastArgKey=void 0,typeof e=="function"?(this._fn=e,this._computeKey=xu):(this._fn=n,this._computeKey=e.getCacheKey)}get(e){let n=this._computeKey(e);return this.lastArgKey!==n&&(this.lastArgKey=n,this.lastCache=this._fn(e)),this.lastCache}};var nt;(function(t){t[t.Uninitialized=0]="Uninitialized",t[t.Running=1]="Running",t[t.Completed=2]="Completed"})(nt||(nt={}));var Be=class{constructor(e){this.executor=e,this._state=nt.Uninitialized}get value(){if(this._state===nt.Uninitialized){this._state=nt.Running;try{this._value=this.executor()}catch(e){this._error=e}finally{this._state=nt.Completed}}else if(this._state===nt.Running)throw new Error("Cannot read the value of a lazy that is being initialized");if(this._error)throw this._error;return this._value}get rawValue(){return this._value}};function vs(t){return t.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function ys(t){return t.source==="^"||t.source==="^$"||t.source==="$"||t.source==="^\\s*$"?!1:!!(t.exec("")&&t.lastIndex===0)}function xs(t){return t.split(/\r\n|\r|\n/)}function Ts(t){for(let e=0,n=t.length;e<n;e++){let i=t.charCodeAt(e);if(i!==32&&i!==9)return e}return-1}function Ss(t,e=t.length-1){for(let n=e;n>=0;n--){let i=t.charCodeAt(n);if(i!==32&&i!==9)return n}return-1}function zi(t){return t>=65&&t<=90}function ks(t,e){let n=Math.min(t.length,e.length),i;for(i=0;i<n;i++)if(t.charCodeAt(i)!==e.charCodeAt(i))return i;return n}function Ls(t,e){let n=Math.min(t.length,e.length),i,r=t.length-1,s=e.length-1;for(i=0;i<n;i++)if(t.charCodeAt(r-i)!==e.charCodeAt(s-i))return i;return n}function bt(t){return 55296<=t&&t<=56319}function _n(t){return 56320<=t&&t<=57343}function Fi(t,e){return(t-55296<<10)+(e-56320)+65536}function As(t,e,n){let i=t.charCodeAt(n);if(bt(i)&&n+1<e){let r=t.charCodeAt(n+1);if(_n(r))return Fi(i,r)}return i}var Tu=/^[\t\n\r\x20-\x7E]*$/;function Cs(t){return Tu.test(t)}var _s=class t{static{this._INSTANCE=null}static getInstance(){return t._INSTANCE||(t._INSTANCE=new t),t._INSTANCE}constructor(){this._data=Su()}getGraphemeBreakType(e){if(e<32)return e===10?3:e===13?2:4;if(e<127)return 0;let n=this._data,i=n.length/3,r=1;for(;r<=i;)if(e<n[3*r])r=2*r;else if(e>n[3*r+1])r=2*r+1;else return n[3*r+2];return 0}};function Su(){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]")}var pt=class t{static{this.ambiguousCharacterData=new Be(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,1523,96,8242,96,1370,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,118002,50,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,118003,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,118004,52,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,118005,53,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,118006,54,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,118007,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,118008,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,118009,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,117974,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,117975,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71913,67,71922,67,65315,67,8557,67,8450,67,8493,67,117976,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,117977,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,117978,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,117979,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,117980,71,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,117981,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,117983,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,117984,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,118001,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,117982,108,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,117985,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,117986,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,117987,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,118000,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,117988,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,117989,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,117990,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,117991,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,117992,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,117993,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,117994,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,117995,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71910,87,71919,87,117996,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,117997,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,117998,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,71909,90,66293,90,65338,90,8484,90,8488,90,117999,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65283,35,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"cs":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"es":[8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"fr":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"it":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"ja":[8211,45,8218,44,65281,33,8216,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65292,44,65297,49,65307,59],"ko":[8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"pt-BR":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"ru":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"zh-hans":[160,32,65374,126,8218,44,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65297,49],"zh-hant":[8211,45,65374,126,8218,44,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89]}'))}static{this.cache=new wn({getCacheKey:JSON.stringify},e=>{function n(c){let d=new Map;for(let m=0;m<c.length;m+=2)d.set(c[m],c[m+1]);return d}function i(c,d){let m=new Map(c);for(let[f,w]of d)m.set(f,w);return m}function r(c,d){if(!c)return d;let m=new Map;for(let[f,w]of c)d.has(f)&&m.set(f,w);return m}let s=this.ambiguousCharacterData.value,a=e.filter(c=>!c.startsWith("_")&&Object.hasOwn(s,c));a.length===0&&(a=["_default"]);let l;for(let c of a){let d=n(s[c]);l=r(l,d)}let o=n(s._common),u=i(o,l);return new t(u)})}static getInstance(e){return t.cache.get(Array.from(e))}static{this._locales=new Be(()=>Object.keys(t.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")))}static getLocales(){return t._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}},gt=class t{static getRawData(){return JSON.parse('{"_common":[11,12,13,127,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999],"cs":[173,8203,12288],"de":[173,8203,12288],"es":[8203,12288],"fr":[173,8203,12288],"it":[160,173,12288],"ja":[173],"ko":[173,12288],"pl":[173,8203,12288],"pt-BR":[173,8203,12288],"qps-ploc":[160,173,8203,12288],"ru":[173,12288],"tr":[160,173,8203,12288],"zh-hans":[160,173,8203,12288],"zh-hant":[173,12288]}')}static{this._data=void 0}static getData(){return this._data||(this._data=new Set([...Object.values(t.getRawData())].flat())),this._data}static isInvisibleCharacter(e){return t.getData().has(e)}static get codePoints(){return t.getData()}};var Pi="default",ku="$initialize";var Ui=class{constructor(e,n,i,r,s){this.vsWorker=e,this.req=n,this.channel=i,this.method=r,this.args=s,this.type=0}},vn=class{constructor(e,n,i,r){this.vsWorker=e,this.seq=n,this.res=i,this.err=r,this.type=1}},Hi=class{constructor(e,n,i,r,s){this.vsWorker=e,this.req=n,this.channel=i,this.eventName=r,this.arg=s,this.type=2}},Wi=class{constructor(e,n,i){this.vsWorker=e,this.req=n,this.event=i,this.type=3}},Bi=class{constructor(e,n){this.vsWorker=e,this.req=n,this.type=4}},Oi=class{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}async sendMessage(e,n,i){let r=String(++this._lastSentReq);return new Promise((s,a)=>{this._pendingReplies[r]={resolve:s,reject:a},this._send(new Ui(this._workerId,r,e,n,i))})}listen(e,n,i){let r=null,s=new ue({onWillAddFirstListener:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,s),this._send(new Hi(this._workerId,r,e,n,i))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(r),this._send(new Bi(this._workerId,r)),r=null}});return s.event}handleMessage(e){!e||!e.vsWorker||this._workerId!==-1&&e.vsWorker!==this._workerId||this._handleMessage(e)}createProxyToRemoteChannel(e,n){let i={get:(r,s)=>(typeof s=="string"&&!r[s]&&(Rs(s)?r[s]=a=>this.listen(e,s,a):Es(s)?r[s]=this.listen(e,s,void 0):s.charCodeAt(0)===36&&(r[s]=async(...a)=>(await n?.(),this.sendMessage(e,s,a)))),r[s])};return new Proxy(Object.create(null),i)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let n=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let i=e.err;if(e.err.$isError){let r=new Error;r.name=e.err.name,r.message=e.err.message,r.stack=e.err.stack,i=r}n.reject(i);return}n.resolve(e.res)}_handleRequestMessage(e){let n=e.req;this._handler.handleMessage(e.channel,e.method,e.args).then(r=>{this._send(new vn(this._workerId,n,r,void 0))},r=>{r.detail instanceof Error&&(r.detail=hn(r.detail)),this._send(new vn(this._workerId,n,void 0,hn(r)))})}_handleSubscribeEventMessage(e){let n=e.req,i=this._handler.handleEvent(e.channel,e.eventName,e.arg)(r=>{this._send(new Wi(this._workerId,n,r))});this._pendingEvents.set(n,i)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let n=[];if(e.type===0)for(let i=0;i<e.args.length;i++){let r=e.args[i];r instanceof ArrayBuffer&&n.push(r)}else e.type===1&&e.res instanceof ArrayBuffer&&n.push(e.res);this._handler.sendMessage(e,n)}};function Es(t){return t[0]==="o"&&t[1]==="n"&&zi(t.charCodeAt(2))}function Rs(t){return/^onDynamic/.test(t)&&zi(t.charCodeAt(9))}var yn=class{constructor(e,n){this._localChannels=new Map,this._remoteChannels=new Map,this._protocol=new Oi({sendMessage:(i,r)=>{e(i,r)},handleMessage:(i,r,s)=>this._handleMessage(i,r,s),handleEvent:(i,r,s)=>this._handleEvent(i,r,s)}),this.requestHandler=n(this)}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,n,i){if(e===Pi&&n===ku)return this.initialize(i[0]);let r=e===Pi?this.requestHandler:this._localChannels.get(e);if(!r)return Promise.reject(new Error(`Missing channel ${e} on worker thread`));let s=r[n];if(typeof s!="function")return Promise.reject(new Error(`Missing method ${n} on worker thread channel ${e}`));try{return Promise.resolve(s.apply(r,i))}catch(a){return Promise.reject(a)}}_handleEvent(e,n,i){let r=e===Pi?this.requestHandler:this._localChannels.get(e);if(!r)throw new Error(`Missing channel ${e} on worker thread`);if(Rs(n)){let s=r[n];if(typeof s!="function")throw new Error(`Missing dynamic event ${n} on request handler.`);let a=s.call(r,i);if(typeof a!="function")throw new Error(`Missing dynamic event ${n} on request handler.`);return a}if(Es(n)){let s=r[n];if(typeof s!="function")throw new Error(`Missing event ${n} on request handler.`);return s}throw new Error(`Malformed event name ${n}`)}getChannel(e){if(!this._remoteChannels.has(e)){let n=this._protocol.createProxyToRemoteChannel(e);this._remoteChannels.set(e,n)}return this._remoteChannels.get(e)}async initialize(e){this._protocol.setWorkerId(e)}};var Ds=!1;function Ms(t){if(Ds)throw new Error("WebWorker already initialized!");Ds=!0;let e=new yn(n=>globalThis.postMessage(n),n=>t(n));return globalThis.onmessage=n=>{e.onmessage(n.data)},e}var xe=class{constructor(e,n,i,r){this.originalStart=e,this.originalLength=n,this.modifiedStart=i,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}};var Ns=typeof Buffer<"u";new Be(()=>new Uint8Array(256));var qi,xn=class t{static wrap(e){return Ns&&!Buffer.isBuffer(e)&&(e=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),new t(e)}constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}toString(){return Ns?this.buffer.toString():(qi||(qi=new TextDecoder),qi.decode(this.buffer))}};var Is="0123456789abcdef";function zs({buffer:t}){let e="";for(let n=0;n<t.length;n++){let i=t[n];e+=Is[i>>>4],e+=Is[i&15]}return e}function Fs(t,e){return(e<<5)-e+t|0}function Us(t,e){e=Fs(149417,e);for(let n=0,i=t.length;n<i;n++)e=Fs(t.charCodeAt(n),e);return e}function Vi(t,e,n=32){let i=n-e,r=~((1<<i)-1);return(t<<e|(r&t)>>>i)>>>0}function Wt(t,e=32){return t instanceof ArrayBuffer?zs(xn.wrap(new Uint8Array(t))):(t>>>0).toString(16).padStart(e/4,"0")}var Ps=class t{static{this._bigBlock32=new DataView(new ArrayBuffer(320))}constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let n=e.length;if(n===0)return;let i=this._buff,r=this._buffLen,s=this._leftoverHighSurrogate,a,l;for(s!==0?(a=s,l=-1,s=0):(a=e.charCodeAt(0),l=0);;){let o=a;if(bt(a))if(l+1<n){let u=e.charCodeAt(l+1);_n(u)?(l++,o=Fi(a,u)):o=65533}else{s=a;break}else _n(a)&&(o=65533);if(r=this._push(i,r,o),l++,l<n)a=e.charCodeAt(l);else break}this._buffLen=r,this._leftoverHighSurrogate=s}_push(e,n,i){return i<128?e[n++]=i:i<2048?(e[n++]=192|(i&1984)>>>6,e[n++]=128|(i&63)>>>0):i<65536?(e[n++]=224|(i&61440)>>>12,e[n++]=128|(i&4032)>>>6,e[n++]=128|(i&63)>>>0):(e[n++]=240|(i&1835008)>>>18,e[n++]=128|(i&258048)>>>12,e[n++]=128|(i&4032)>>>6,e[n++]=128|(i&63)>>>0),n>=64&&(this._step(),n-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),n}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),Wt(this._h0)+Wt(this._h1)+Wt(this._h2)+Wt(this._h3)+Wt(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,this._buff.subarray(this._buffLen).fill(0),this._buffLen>56&&(this._step(),this._buff.fill(0));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){let e=t._bigBlock32,n=this._buffDV;for(let d=0;d<64;d+=4)e.setUint32(d,n.getUint32(d,!1),!1);for(let d=64;d<320;d+=4)e.setUint32(d,Vi(e.getUint32(d-12,!1)^e.getUint32(d-32,!1)^e.getUint32(d-56,!1)^e.getUint32(d-64,!1),1),!1);let i=this._h0,r=this._h1,s=this._h2,a=this._h3,l=this._h4,o,u,c;for(let d=0;d<80;d++)d<20?(o=r&s|~r&a,u=1518500249):d<40?(o=r^s^a,u=1859775393):d<60?(o=r&s|r&a|s&a,u=2400959708):(o=r^s^a,u=3395469782),c=Vi(i,5)+o+l+u+e.getUint32(d*4,!1)&4294967295,l=a,a=s,s=Vi(r,30),r=i,i=c;this._h0=this._h0+i&4294967295,this._h1=this._h1+r&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+a&4294967295,this._h4=this._h4+l&4294967295}};var Tn=class{constructor(e){this.source=e}getElements(){let e=this.source,n=new Int32Array(e.length);for(let i=0,r=e.length;i<r;i++)n[i]=e.charCodeAt(i);return n}};function Hs(t,e,n){return new Bt(new Tn(t),new Tn(e)).ComputeDiff(n).changes}var Oe=class{static Assert(e,n){if(!e)throw new Error(n)}},qe=class{static Copy(e,n,i,r,s){for(let a=0;a<s;a++)i[r+a]=e[n+a]}static Copy2(e,n,i,r,s){for(let a=0;a<s;a++)i[r+a]=e[n+a]}},Sn=class{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new xe(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++}AddModifiedElement(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}},Bt=class t{constructor(e,n,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=e,this._modifiedSequence=n;let[r,s,a]=t._getElements(e),[l,o,u]=t._getElements(n);this._hasStrings=a&&u,this._originalStringElements=r,this._originalElementsOrHash=s,this._modifiedStringElements=l,this._modifiedElementsOrHash=o,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&typeof e[0]=="string"}static _getElements(e){let n=e.getElements();if(t._isStringArray(n)){let i=new Int32Array(n.length);for(let r=0,s=n.length;r<s;r++)i[r]=Us(n[r],0);return[n,i,!0]}return n instanceof Int32Array?[[],n,!1]:[[],new Int32Array(n),!1]}ElementsAreEqual(e,n){return this._originalElementsOrHash[e]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[e]===this._modifiedStringElements[n]:!0}ElementsAreStrictEqual(e,n){if(!this.ElementsAreEqual(e,n))return!1;let i=t._getStrictElement(this._originalSequence,e),r=t._getStrictElement(this._modifiedSequence,n);return i===r}static _getStrictElement(e,n){return typeof e.getStrictElement=="function"?e.getStrictElement(n):null}OriginalElementsAreEqual(e,n){return this._originalElementsOrHash[e]!==this._originalElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[e]===this._originalStringElements[n]:!0}ModifiedElementsAreEqual(e,n){return this._modifiedElementsOrHash[e]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._modifiedStringElements[e]===this._modifiedStringElements[n]:!0}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,n,i,r,s){let a=[!1],l=this.ComputeDiffRecursive(e,n,i,r,a);return s&&(l=this.PrettifyChanges(l)),{quitEarly:a[0],changes:l}}ComputeDiffRecursive(e,n,i,r,s){for(s[0]=!1;e<=n&&i<=r&&this.ElementsAreEqual(e,i);)e++,i++;for(;n>=e&&r>=i&&this.ElementsAreEqual(n,r);)n--,r--;if(e>n||i>r){let d;return i<=r?(Oe.Assert(e===n+1,"originalStart should only be one more than originalEnd"),d=[new xe(e,0,i,r-i+1)]):e<=n?(Oe.Assert(i===r+1,"modifiedStart should only be one more than modifiedEnd"),d=[new xe(e,n-e+1,i,0)]):(Oe.Assert(e===n+1,"originalStart should only be one more than originalEnd"),Oe.Assert(i===r+1,"modifiedStart should only be one more than modifiedEnd"),d=[]),d}let a=[0],l=[0],o=this.ComputeRecursionPoint(e,n,i,r,a,l,s),u=a[0],c=l[0];if(o!==null)return o;if(!s[0]){let d=this.ComputeDiffRecursive(e,u,i,c,s),m=[];return s[0]?m=[new xe(u+1,n-(u+1)+1,c+1,r-(c+1)+1)]:m=this.ComputeDiffRecursive(u+1,n,c+1,r,s),this.ConcatenateChanges(d,m)}return[new xe(e,n-e+1,i,r-i+1)]}WALKTRACE(e,n,i,r,s,a,l,o,u,c,d,m,f,w,p,T,x,y){let L=null,z=null,F=new Sn,U=n,b=i,g=f[0]-T[0]-r,v=-1073741824,N=this.m_forwardHistory.length-1;do{let k=g+e;k===U||k<b&&u[k-1]<u[k+1]?(d=u[k+1],w=d-g-r,d<v&&F.MarkNextChange(),v=d,F.AddModifiedElement(d+1,w),g=k+1-e):(d=u[k-1]+1,w=d-g-r,d<v&&F.MarkNextChange(),v=d-1,F.AddOriginalElement(d,w+1),g=k-1-e),N>=0&&(u=this.m_forwardHistory[N],e=u[0],U=1,b=u.length-1)}while(--N>=-1);if(L=F.getReverseChanges(),y[0]){let k=f[0]+1,_=T[0]+1;if(L!==null&&L.length>0){let A=L[L.length-1];k=Math.max(k,A.getOriginalEnd()),_=Math.max(_,A.getModifiedEnd())}z=[new xe(k,m-k+1,_,p-_+1)]}else{F=new Sn,U=a,b=l,g=f[0]-T[0]-o,v=1073741824,N=x?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let k=g+s;k===U||k<b&&c[k-1]>=c[k+1]?(d=c[k+1]-1,w=d-g-o,d>v&&F.MarkNextChange(),v=d+1,F.AddOriginalElement(d+1,w+1),g=k+1-s):(d=c[k-1],w=d-g-o,d>v&&F.MarkNextChange(),v=d,F.AddModifiedElement(d+1,w+1),g=k-1-s),N>=0&&(c=this.m_reverseHistory[N],s=c[0],U=1,b=c.length-1)}while(--N>=-1);z=F.getChanges()}return this.ConcatenateChanges(L,z)}ComputeRecursionPoint(e,n,i,r,s,a,l){let o=0,u=0,c=0,d=0,m=0,f=0;e--,i--,s[0]=0,a[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let w=n-e+(r-i),p=w+1,T=new Int32Array(p),x=new Int32Array(p),y=r-i,L=n-e,z=e-i,F=n-r,b=(L-y)%2===0;T[y]=e,x[L]=n,l[0]=!1;for(let g=1;g<=w/2+1;g++){let v=0,N=0;c=this.ClipDiagonalBound(y-g,g,y,p),d=this.ClipDiagonalBound(y+g,g,y,p);for(let _=c;_<=d;_+=2){_===c||_<d&&T[_-1]<T[_+1]?o=T[_+1]:o=T[_-1]+1,u=o-(_-y)-z;let A=o;for(;o<n&&u<r&&this.ElementsAreEqual(o+1,u+1);)o++,u++;if(T[_]=o,o+u>v+N&&(v=o,N=u),!b&&Math.abs(_-L)<=g-1&&o>=x[_])return s[0]=o,a[0]=u,A<=x[_]&&g<=1448?this.WALKTRACE(y,c,d,z,L,m,f,F,T,x,o,n,s,u,r,a,b,l):null}let k=(v-e+(N-i)-g)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(v,k))return l[0]=!0,s[0]=v,a[0]=N,k>0&&g<=1448?this.WALKTRACE(y,c,d,z,L,m,f,F,T,x,o,n,s,u,r,a,b,l):(e++,i++,[new xe(e,n-e+1,i,r-i+1)]);m=this.ClipDiagonalBound(L-g,g,L,p),f=this.ClipDiagonalBound(L+g,g,L,p);for(let _=m;_<=f;_+=2){_===m||_<f&&x[_-1]>=x[_+1]?o=x[_+1]-1:o=x[_-1],u=o-(_-L)-F;let A=o;for(;o>e&&u>i&&this.ElementsAreEqual(o,u);)o--,u--;if(x[_]=o,b&&Math.abs(_-y)<=g&&o<=T[_])return s[0]=o,a[0]=u,A>=T[_]&&g<=1448?this.WALKTRACE(y,c,d,z,L,m,f,F,T,x,o,n,s,u,r,a,b,l):null}if(g<=1447){let _=new Int32Array(d-c+2);_[0]=y-c+1,qe.Copy2(T,c,_,1,d-c+1),this.m_forwardHistory.push(_),_=new Int32Array(f-m+2),_[0]=L-m+1,qe.Copy2(x,m,_,1,f-m+1),this.m_reverseHistory.push(_)}}return this.WALKTRACE(y,c,d,z,L,m,f,F,T,x,o,n,s,u,r,a,b,l)}PrettifyChanges(e){for(let n=0;n<e.length;n++){let i=e[n],r=n<e.length-1?e[n+1].originalStart:this._originalElementsOrHash.length,s=n<e.length-1?e[n+1].modifiedStart:this._modifiedElementsOrHash.length,a=i.originalLength>0,l=i.modifiedLength>0;for(;i.originalStart+i.originalLength<r&&i.modifiedStart+i.modifiedLength<s&&(!a||this.OriginalElementsAreEqual(i.originalStart,i.originalStart+i.originalLength))&&(!l||this.ModifiedElementsAreEqual(i.modifiedStart,i.modifiedStart+i.modifiedLength));){let u=this.ElementsAreStrictEqual(i.originalStart,i.modifiedStart);if(this.ElementsAreStrictEqual(i.originalStart+i.originalLength,i.modifiedStart+i.modifiedLength)&&!u)break;i.originalStart++,i.modifiedStart++}let o=[null];if(n<e.length-1&&this.ChangesOverlap(e[n],e[n+1],o)){e[n]=o[0],e.splice(n+1,1),n--;continue}}for(let n=e.length-1;n>=0;n--){let i=e[n],r=0,s=0;if(n>0){let d=e[n-1];r=d.originalStart+d.originalLength,s=d.modifiedStart+d.modifiedLength}let a=i.originalLength>0,l=i.modifiedLength>0,o=0,u=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let d=1;;d++){let m=i.originalStart-d,f=i.modifiedStart-d;if(m<r||f<s||a&&!this.OriginalElementsAreEqual(m,m+i.originalLength)||l&&!this.ModifiedElementsAreEqual(f,f+i.modifiedLength))break;let p=(m===r&&f===s?5:0)+this._boundaryScore(m,i.originalLength,f,i.modifiedLength);p>u&&(u=p,o=d)}i.originalStart-=o,i.modifiedStart-=o;let c=[null];if(n>0&&this.ChangesOverlap(e[n-1],e[n],c)){e[n-1]=c[0],e.splice(n,1),n++;continue}}if(this._hasStrings)for(let n=1,i=e.length;n<i;n++){let r=e[n-1],s=e[n],a=s.originalStart-r.originalStart-r.originalLength,l=r.originalStart,o=s.originalStart+s.originalLength,u=o-l,c=r.modifiedStart,d=s.modifiedStart+s.modifiedLength,m=d-c;if(a<5&&u<20&&m<20){let f=this._findBetterContiguousSequence(l,u,c,m,a);if(f){let[w,p]=f;(w!==r.originalStart+r.originalLength||p!==r.modifiedStart+r.modifiedLength)&&(r.originalLength=w-r.originalStart,r.modifiedLength=p-r.modifiedStart,s.originalStart=w+a,s.modifiedStart=p+a,s.originalLength=o-s.originalStart,s.modifiedLength=d-s.modifiedStart)}}}return e}_findBetterContiguousSequence(e,n,i,r,s){if(n<s||r<s)return null;let a=e+n-s+1,l=i+r-s+1,o=0,u=0,c=0;for(let d=e;d<a;d++)for(let m=i;m<l;m++){let f=this._contiguousSequenceScore(d,m,s);f>0&&f>o&&(o=f,u=d,c=m)}return o>0?[u,c]:null}_contiguousSequenceScore(e,n,i){let r=0;for(let s=0;s<i;s++){if(!this.ElementsAreEqual(e+s,n+s))return 0;r+=this._originalStringElements[e+s].length}return r}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,n){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(n>0){let i=e+n;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,n){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(n>0){let i=e+n;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(e,n,i,r){let s=this._OriginalRegionIsBoundary(e,n)?1:0,a=this._ModifiedRegionIsBoundary(i,r)?1:0;return s+a}ConcatenateChanges(e,n){let i=[];if(e.length===0||n.length===0)return n.length>0?n:e;if(this.ChangesOverlap(e[e.length-1],n[0],i)){let r=new Array(e.length+n.length-1);return qe.Copy(e,0,r,0,e.length-1),r[e.length-1]=i[0],qe.Copy(n,1,r,e.length,n.length-1),r}else{let r=new Array(e.length+n.length);return qe.Copy(e,0,r,0,e.length),qe.Copy(n,0,r,e.length,n.length),r}}ChangesOverlap(e,n,i){if(Oe.Assert(e.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),Oe.Assert(e.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=n.originalStart||e.modifiedStart+e.modifiedLength>=n.modifiedStart){let r=e.originalStart,s=e.originalLength,a=e.modifiedStart,l=e.modifiedLength;return e.originalStart+e.originalLength>=n.originalStart&&(s=n.originalStart+n.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=n.modifiedStart&&(l=n.modifiedStart+n.modifiedLength-e.modifiedStart),i[0]=new xe(r,s,a,l),!0}else return i[0]=null,!1}ClipDiagonalBound(e,n,i,r){if(e>=0&&e<r)return e;let s=i,a=r-i-1,l=n%2===0;if(e<0){let o=s%2===0;return l===o?0:1}else{let o=a%2===0;return l===o?r-1:r-2}}};var $=class t{constructor(e,n){this.lineNumber=e,this.column=n}with(e=this.lineNumber,n=this.column){return e===this.lineNumber&&n===this.column?this:new t(e,n)}delta(e=0,n=0){return this.with(Math.max(1,this.lineNumber+e),Math.max(1,this.column+n))}equals(e){return t.equals(this,e)}static equals(e,n){return!e&&!n?!0:!!e&&!!n&&e.lineNumber===n.lineNumber&&e.column===n.column}isBefore(e){return t.isBefore(this,e)}static isBefore(e,n){return e.lineNumber<n.lineNumber?!0:n.lineNumber<e.lineNumber?!1:e.column<n.column}isBeforeOrEqual(e){return t.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,n){return e.lineNumber<n.lineNumber?!0:n.lineNumber<e.lineNumber?!1:e.column<=n.column}static compare(e,n){let i=e.lineNumber|0,r=n.lineNumber|0;if(i===r){let s=e.column|0,a=n.column|0;return s-a}return i-r}clone(){return new t(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new t(e.lineNumber,e.column)}static isIPosition(e){return!!e&&typeof e.lineNumber=="number"&&typeof e.column=="number"}toJSON(){return{lineNumber:this.lineNumber,column:this.column}}};var W=class t{constructor(e,n,i,r){e>i||e===i&&n>r?(this.startLineNumber=i,this.startColumn=r,this.endLineNumber=e,this.endColumn=n):(this.startLineNumber=e,this.startColumn=n,this.endLineNumber=i,this.endColumn=r)}isEmpty(){return t.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return t.containsPosition(this,e)}static containsPosition(e,n){return!(n.lineNumber<e.startLineNumber||n.lineNumber>e.endLineNumber||n.lineNumber===e.startLineNumber&&n.column<e.startColumn||n.lineNumber===e.endLineNumber&&n.column>e.endColumn)}static strictContainsPosition(e,n){return!(n.lineNumber<e.startLineNumber||n.lineNumber>e.endLineNumber||n.lineNumber===e.startLineNumber&&n.column<=e.startColumn||n.lineNumber===e.endLineNumber&&n.column>=e.endColumn)}containsRange(e){return t.containsRange(this,e)}static containsRange(e,n){return!(n.startLineNumber<e.startLineNumber||n.endLineNumber<e.startLineNumber||n.startLineNumber>e.endLineNumber||n.endLineNumber>e.endLineNumber||n.startLineNumber===e.startLineNumber&&n.startColumn<e.startColumn||n.endLineNumber===e.endLineNumber&&n.endColumn>e.endColumn)}strictContainsRange(e){return t.strictContainsRange(this,e)}static strictContainsRange(e,n){return!(n.startLineNumber<e.startLineNumber||n.endLineNumber<e.startLineNumber||n.startLineNumber>e.endLineNumber||n.endLineNumber>e.endLineNumber||n.startLineNumber===e.startLineNumber&&n.startColumn<=e.startColumn||n.endLineNumber===e.endLineNumber&&n.endColumn>=e.endColumn)}plusRange(e){return t.plusRange(this,e)}static plusRange(e,n){let i,r,s,a;return n.startLineNumber<e.startLineNumber?(i=n.startLineNumber,r=n.startColumn):n.startLineNumber===e.startLineNumber?(i=n.startLineNumber,r=Math.min(n.startColumn,e.startColumn)):(i=e.startLineNumber,r=e.startColumn),n.endLineNumber>e.endLineNumber?(s=n.endLineNumber,a=n.endColumn):n.endLineNumber===e.endLineNumber?(s=n.endLineNumber,a=Math.max(n.endColumn,e.endColumn)):(s=e.endLineNumber,a=e.endColumn),new t(i,r,s,a)}intersectRanges(e){return t.intersectRanges(this,e)}static intersectRanges(e,n){let i=e.startLineNumber,r=e.startColumn,s=e.endLineNumber,a=e.endColumn,l=n.startLineNumber,o=n.startColumn,u=n.endLineNumber,c=n.endColumn;return i<l?(i=l,r=o):i===l&&(r=Math.max(r,o)),s>u?(s=u,a=c):s===u&&(a=Math.min(a,c)),i>s||i===s&&r>a?null:new t(i,r,s,a)}equalsRange(e){return t.equalsRange(this,e)}static equalsRange(e,n){return!e&&!n?!0:!!e&&!!n&&e.startLineNumber===n.startLineNumber&&e.startColumn===n.startColumn&&e.endLineNumber===n.endLineNumber&&e.endColumn===n.endColumn}getEndPosition(){return t.getEndPosition(this)}static getEndPosition(e){return new $(e.endLineNumber,e.endColumn)}getStartPosition(){return t.getStartPosition(this)}static getStartPosition(e){return new $(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,n){return new t(this.startLineNumber,this.startColumn,e,n)}setStartPosition(e,n){return new t(e,n,this.endLineNumber,this.endColumn)}collapseToStart(){return t.collapseToStart(this)}static collapseToStart(e){return new t(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return t.collapseToEnd(this)}static collapseToEnd(e){return new t(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new t(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}isSingleLine(){return this.startLineNumber===this.endLineNumber}static fromPositions(e,n=e){return new t(e.lineNumber,e.column,n.lineNumber,n.column)}static lift(e){return e?new t(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return!!e&&typeof e.startLineNumber=="number"&&typeof e.startColumn=="number"&&typeof e.endLineNumber=="number"&&typeof e.endColumn=="number"}static areIntersectingOrTouching(e,n){return!(e.endLineNumber<n.startLineNumber||e.endLineNumber===n.startLineNumber&&e.endColumn<n.startColumn||n.endLineNumber<e.startLineNumber||n.endLineNumber===e.startLineNumber&&n.endColumn<e.startColumn)}static areIntersecting(e,n){return!(e.endLineNumber<n.startLineNumber||e.endLineNumber===n.startLineNumber&&e.endColumn<=n.startColumn||n.endLineNumber<e.startLineNumber||n.endLineNumber===e.startLineNumber&&n.endColumn<=e.startColumn)}static areOnlyIntersecting(e,n){return!(e.endLineNumber<n.startLineNumber-1||e.endLineNumber===n.startLineNumber&&e.endColumn<n.startColumn-1||n.endLineNumber<e.startLineNumber-1||n.endLineNumber===e.startLineNumber&&n.endColumn<e.startColumn-1)}static compareRangesUsingStarts(e,n){if(e&&n){let s=e.startLineNumber|0,a=n.startLineNumber|0;if(s===a){let l=e.startColumn|0,o=n.startColumn|0;if(l===o){let u=e.endLineNumber|0,c=n.endLineNumber|0;if(u===c){let d=e.endColumn|0,m=n.endColumn|0;return d-m}return u-c}return l-o}return s-a}return(e?1:0)-(n?1:0)}static compareRangesUsingEnds(e,n){return e.endLineNumber===n.endLineNumber?e.endColumn===n.endColumn?e.startLineNumber===n.startLineNumber?e.startColumn-n.startColumn:e.startLineNumber-n.startLineNumber:e.endColumn-n.endColumn:e.endLineNumber-n.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}toJSON(){return this}};function ji(t){return t<0?0:t>255?255:t|0}function it(t){return t<0?0:t>4294967295?4294967295:t|0}var Ot=class t{constructor(e){let n=ji(e);this._defaultValue=n,this._asciiMap=t._createAsciiMap(n),this._map=new Map}static _createAsciiMap(e){let n=new Uint8Array(256);return n.fill(e),n}set(e,n){let i=ji(n);e>=0&&e<256?this._asciiMap[e]=i:this._map.set(e,i)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}};var $i=class{constructor(e,n,i){let r=new Uint8Array(e*n);for(let s=0,a=e*n;s<a;s++)r[s]=i;this._data=r,this.rows=e,this.cols=n}get(e,n){return this._data[e*this.cols+n]}set(e,n,i){this._data[e*this.cols+n]=i}},Xi=class{constructor(e){let n=0,i=0;for(let s=0,a=e.length;s<a;s++){let[l,o,u]=e[s];o>n&&(n=o),l>i&&(i=l),u>i&&(i=u)}n++,i++;let r=new $i(i,n,0);for(let s=0,a=e.length;s<a;s++){let[l,o,u]=e[s];r.set(l,o,u)}this._states=r,this._maxCharCode=n}nextState(e,n){return n<0||n>=this._maxCharCode?0:this._states.get(e,n)}},Gi=null;function Lu(){return Gi===null&&(Gi=new Xi([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),Gi}var qt=null;function Au(){if(qt===null){qt=new Ot(0);let t=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026|`;for(let n=0;n<t.length;n++)qt.set(t.charCodeAt(n),1);let e=".,;:";for(let n=0;n<e.length;n++)qt.set(e.charCodeAt(n),2)}return qt}var Qi=class t{static _createLink(e,n,i,r,s){let a=s-1;do{let l=n.charCodeAt(a);if(e.get(l)!==2)break;a--}while(a>r);if(r>0){let l=n.charCodeAt(r-1),o=n.charCodeAt(a);(l===40&&o===41||l===91&&o===93||l===123&&o===125)&&a--}return{range:{startLineNumber:i,startColumn:r+1,endLineNumber:i,endColumn:a+2},url:n.substring(r,a+1)}}static computeLinks(e,n=Lu()){let i=Au(),r=[];for(let s=1,a=e.getLineCount();s<=a;s++){let l=e.getLineContent(s),o=l.length,u=0,c=0,d=0,m=1,f=!1,w=!1,p=!1,T=!1;for(;u<o;){let x=!1,y=l.charCodeAt(u);if(m===13){let L;switch(y){case 40:f=!0,L=0;break;case 41:L=f?0:1;break;case 91:p=!0,w=!0,L=0;break;case 93:p=!1,L=w?0:1;break;case 123:T=!0,L=0;break;case 125:L=T?0:1;break;case 39:case 34:case 96:d===y?L=1:d===39||d===34||d===96?L=0:L=1;break;case 42:L=d===42?1:0;break;case 32:L=p?0:1;break;default:L=i.get(y)}L===1&&(r.push(t._createLink(i,l,s,c,u)),x=!0)}else if(m===12){let L;y===91?(w=!0,L=0):L=i.get(y),L===1?x=!0:m=13}else m=n.nextState(m,y),m===0&&(x=!0);x&&(m=1,f=!1,w=!1,T=!1,c=u+1,d=y),u++}m===13&&r.push(t._createLink(i,l,s,c,o))}return r}};function Ws(t){return!t||typeof t.getLineCount!="function"||typeof t.getLineContent!="function"?[]:Qi.computeLinks(t)}var kn=class t{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}static{this.INSTANCE=new t}navigateValueSet(e,n,i,r,s){if(e&&n){let a=this.doNavigateValueSet(n,s);if(a)return{range:e,value:a}}if(i&&r){let a=this.doNavigateValueSet(r,s);if(a)return{range:i,value:a}}return null}doNavigateValueSet(e,n){let i=this.numberReplace(e,n);return i!==null?i:this.textReplace(e,n)}numberReplace(e,n){let i=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),r=Number(e),s=parseFloat(e);return!isNaN(r)&&!isNaN(s)&&r===s?r===0&&!n?null:(r=Math.floor(r*i),r+=n?i:-i,String(r/i)):null}textReplace(e,n){return this.valueSetsReplace(this._defaultValueSet,e,n)}valueSetsReplace(e,n,i){let r=null;for(let s=0,a=e.length;r===null&&s<a;s++)r=this.valueSetReplace(e[s],n,i);return r}valueSetReplace(e,n,i){let r=e.indexOf(n);return r>=0?(r+=i?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}};var Bs=Object.freeze(function(t,e){let n=setTimeout(t.bind(e),0);return{dispose(){clearTimeout(n)}}}),Ln;(function(t){function e(n){return n===t.None||n===t.Cancelled||n instanceof wt?!0:!n||typeof n!="object"?!1:typeof n.isCancellationRequested=="boolean"&&typeof n.onCancellationRequested=="function"}t.isCancellationToken=e,t.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:dn.None}),t.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Bs})})(Ln||(Ln={}));var wt=class{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?Bs:(this._emitter||(this._emitter=new ue),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}},Vt=class{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new wt),this._token}cancel(){this._token?this._token instanceof wt&&this._token.cancel():this._token=Ln.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener?.dispose(),this._token?this._token instanceof wt&&this._token.dispose():this._token=Ln.None}};var jt=class{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,n){this._keyCodeToStr[e]=n,this._strToKeyCode[n.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}},An=new jt,Ji=new jt,Yi=new jt,Cu=new Array(230),Eu=Object.create(null),Ru=Object.create(null),qs=[];for(let t=0;t<=193;t++)qs[t]=-1;(function(){let e=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Delete",46,"VK_DELETE","",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]],n=[],i=[];for(let r of e){let[s,a,l,o,u,c,d,m,f]=r;if(i[a]||(i[a]=!0,Eu[l]=a,Ru[l.toLowerCase()]=a,s&&(qs[a]=o)),!n[o]){if(n[o]=!0,!u)throw new Error(`String representation missing for key code ${o} around scan code ${l}`);An.define(o,u),Ji.define(o,m||u),Yi.define(o,f||m||u)}c&&(Cu[c]=o)}})();var Os;(function(t){function e(l){return An.keyCodeToStr(l)}t.toString=e;function n(l){return An.strToKeyCode(l)}t.fromString=n;function i(l){return Ji.keyCodeToStr(l)}t.toUserSettingsUS=i;function r(l){return Yi.keyCodeToStr(l)}t.toUserSettingsGeneral=r;function s(l){return Ji.strToKeyCode(l)||Yi.strToKeyCode(l)}t.fromUserSettings=s;function a(l){if(l>=98&&l<=113)return null;switch(l){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return An.keyCodeToStr(l)}t.toElectronAccelerator=a})(Os||(Os={}));function Vs(t,e){let n=(e&65535)<<16>>>0;return(t|n)>>>0}var _t,Zi=globalThis.vscode;if(typeof Zi<"u"&&typeof Zi.process<"u"){let t=Zi.process;_t={get platform(){return t.platform},get arch(){return t.arch},get env(){return t.env},cwd(){return t.cwd()}}}else typeof process<"u"&&typeof process?.versions?.node=="string"?_t={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:_t={get platform(){return tt?"win32":bs?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};var Gt=_t.cwd,js=_t.env,Gs=_t.platform;var Du=65,Mu=97,Nu=90,Iu=122,rt=46,oe=47,me=92,Ne=58,zu=63,Cn=class extends Error{constructor(e,n,i){let r;typeof n=="string"&&n.indexOf("not ")===0?(r="must not be",n=n.replace(/^not /,"")):r="must be";let s=e.indexOf(".")!==-1?"property":"argument",a=`The "${e}" ${s} ${r} of type ${n}`;a+=`. Received type ${typeof i}`,super(a),this.code="ERR_INVALID_ARG_TYPE"}};function Fu(t,e){if(t===null||typeof t!="object")throw new Cn(e,"Object",t)}function ie(t,e){if(typeof t!="string")throw new Cn(e,"string",t)}var Ve=Gs==="win32";function X(t){return t===oe||t===me}function Ki(t){return t===oe}function Ie(t){return t>=Du&&t<=Nu||t>=Mu&&t<=Iu}function En(t,e,n,i){let r="",s=0,a=-1,l=0,o=0;for(let u=0;u<=t.length;++u){if(u<t.length)o=t.charCodeAt(u);else{if(i(o))break;o=oe}if(i(o)){if(!(a===u-1||l===1))if(l===2){if(r.length<2||s!==2||r.charCodeAt(r.length-1)!==rt||r.charCodeAt(r.length-2)!==rt){if(r.length>2){let c=r.lastIndexOf(n);c===-1?(r="",s=0):(r=r.slice(0,c),s=r.length-1-r.lastIndexOf(n)),a=u,l=0;continue}else if(r.length!==0){r="",s=0,a=u,l=0;continue}}e&&(r+=r.length>0?`${n}..`:"..",s=2)}else r.length>0?r+=`${n}${t.slice(a+1,u)}`:r=t.slice(a+1,u),s=u-a-1;a=u,l=0}else o===rt&&l!==-1?++l:l=-1}return r}function Pu(t){return t?`${t[0]==="."?"":"."}${t}`:""}function $s(t,e){Fu(e,"pathObject");let n=e.dir||e.root,i=e.base||`${e.name||""}${Pu(e.ext)}`;return n?n===e.root?`${n}${i}`:`${n}${t}${i}`:i}var ce={resolve(...t){let e="",n="",i=!1;for(let r=t.length-1;r>=-1;r--){let s;if(r>=0){if(s=t[r],ie(s,`paths[${r}]`),s.length===0)continue}else e.length===0?s=Gt():(s=js[`=${e}`]||Gt(),(s===void 0||s.slice(0,2).toLowerCase()!==e.toLowerCase()&&s.charCodeAt(2)===me)&&(s=`${e}\\`));let a=s.length,l=0,o="",u=!1,c=s.charCodeAt(0);if(a===1)X(c)&&(l=1,u=!0);else if(X(c))if(u=!0,X(s.charCodeAt(1))){let d=2,m=d;for(;d<a&&!X(s.charCodeAt(d));)d++;if(d<a&&d!==m){let f=s.slice(m,d);for(m=d;d<a&&X(s.charCodeAt(d));)d++;if(d<a&&d!==m){for(m=d;d<a&&!X(s.charCodeAt(d));)d++;(d===a||d!==m)&&(o=`\\\\${f}\\${s.slice(m,d)}`,l=d)}}}else l=1;else Ie(c)&&s.charCodeAt(1)===Ne&&(o=s.slice(0,2),l=2,a>2&&X(s.charCodeAt(2))&&(u=!0,l=3));if(o.length>0)if(e.length>0){if(o.toLowerCase()!==e.toLowerCase())continue}else e=o;if(i){if(e.length>0)break}else if(n=`${s.slice(l)}\\${n}`,i=u,u&&e.length>0)break}return n=En(n,!i,"\\",X),i?`${e}\\${n}`:`${e}${n}`||"."},normalize(t){ie(t,"path");let e=t.length;if(e===0)return".";let n=0,i,r=!1,s=t.charCodeAt(0);if(e===1)return Ki(s)?"\\":t;if(X(s))if(r=!0,X(t.charCodeAt(1))){let l=2,o=l;for(;l<e&&!X(t.charCodeAt(l));)l++;if(l<e&&l!==o){let u=t.slice(o,l);for(o=l;l<e&&X(t.charCodeAt(l));)l++;if(l<e&&l!==o){for(o=l;l<e&&!X(t.charCodeAt(l));)l++;if(l===e)return`\\\\${u}\\${t.slice(o)}\\`;l!==o&&(i=`\\\\${u}\\${t.slice(o,l)}`,n=l)}}}else n=1;else Ie(s)&&t.charCodeAt(1)===Ne&&(i=t.slice(0,2),n=2,e>2&&X(t.charCodeAt(2))&&(r=!0,n=3));let a=n<e?En(t.slice(n),!r,"\\",X):"";if(a.length===0&&!r&&(a="."),a.length>0&&X(t.charCodeAt(e-1))&&(a+="\\"),!r&&i===void 0&&t.includes(":")){if(a.length>=2&&Ie(a.charCodeAt(0))&&a.charCodeAt(1)===Ne)return`.\\${a}`;let l=t.indexOf(":");do if(l===e-1||X(t.charCodeAt(l+1)))return`.\\${a}`;while((l=t.indexOf(":",l+1))!==-1)}return i===void 0?r?`\\${a}`:a:r?`${i}\\${a}`:`${i}${a}`},isAbsolute(t){ie(t,"path");let e=t.length;if(e===0)return!1;let n=t.charCodeAt(0);return X(n)||e>2&&Ie(n)&&t.charCodeAt(1)===Ne&&X(t.charCodeAt(2))},join(...t){if(t.length===0)return".";let e,n;for(let s=0;s<t.length;++s){let a=t[s];ie(a,"path"),a.length>0&&(e===void 0?e=n=a:e+=`\\${a}`)}if(e===void 0)return".";let i=!0,r=0;if(typeof n=="string"&&X(n.charCodeAt(0))){++r;let s=n.length;s>1&&X(n.charCodeAt(1))&&(++r,s>2&&(X(n.charCodeAt(2))?++r:i=!1))}if(i){for(;r<e.length&&X(e.charCodeAt(r));)r++;r>=2&&(e=`\\${e.slice(r)}`)}return ce.normalize(e)},relative(t,e){if(ie(t,"from"),ie(e,"to"),t===e)return"";let n=ce.resolve(t),i=ce.resolve(e);if(n===i||(t=n.toLowerCase(),e=i.toLowerCase(),t===e))return"";if(n.length!==t.length||i.length!==e.length){let w=n.split("\\"),p=i.split("\\");w[w.length-1]===""&&w.pop(),p[p.length-1]===""&&p.pop();let T=w.length,x=p.length,y=T<x?T:x,L;for(L=0;L<y&&w[L].toLowerCase()===p[L].toLowerCase();L++);return L===0?i:L===y?x>y?p.slice(L).join("\\"):T>y?"..\\".repeat(T-1-L)+"..":"":"..\\".repeat(T-L)+p.slice(L).join("\\")}let r=0;for(;r<t.length&&t.charCodeAt(r)===me;)r++;let s=t.length;for(;s-1>r&&t.charCodeAt(s-1)===me;)s--;let a=s-r,l=0;for(;l<e.length&&e.charCodeAt(l)===me;)l++;let o=e.length;for(;o-1>l&&e.charCodeAt(o-1)===me;)o--;let u=o-l,c=a<u?a:u,d=-1,m=0;for(;m<c;m++){let w=t.charCodeAt(r+m);if(w!==e.charCodeAt(l+m))break;w===me&&(d=m)}if(m!==c){if(d===-1)return i}else{if(u>c){if(e.charCodeAt(l+m)===me)return i.slice(l+m+1);if(m===2)return i.slice(l+m)}a>c&&(t.charCodeAt(r+m)===me?d=m:m===2&&(d=3)),d===-1&&(d=0)}let f="";for(m=r+d+1;m<=s;++m)(m===s||t.charCodeAt(m)===me)&&(f+=f.length===0?"..":"\\..");return l+=d,f.length>0?`${f}${i.slice(l,o)}`:(i.charCodeAt(l)===me&&++l,i.slice(l,o))},toNamespacedPath(t){if(typeof t!="string"||t.length===0)return t;let e=ce.resolve(t);if(e.length<=2)return t;if(e.charCodeAt(0)===me){if(e.charCodeAt(1)===me){let n=e.charCodeAt(2);if(n!==zu&&n!==rt)return`\\\\?\\UNC\\${e.slice(2)}`}}else if(Ie(e.charCodeAt(0))&&e.charCodeAt(1)===Ne&&e.charCodeAt(2)===me)return`\\\\?\\${e}`;return e},dirname(t){ie(t,"path");let e=t.length;if(e===0)return".";let n=-1,i=0,r=t.charCodeAt(0);if(e===1)return X(r)?t:".";if(X(r)){if(n=i=1,X(t.charCodeAt(1))){let l=2,o=l;for(;l<e&&!X(t.charCodeAt(l));)l++;if(l<e&&l!==o){for(o=l;l<e&&X(t.charCodeAt(l));)l++;if(l<e&&l!==o){for(o=l;l<e&&!X(t.charCodeAt(l));)l++;if(l===e)return t;l!==o&&(n=i=l+1)}}}}else Ie(r)&&t.charCodeAt(1)===Ne&&(n=e>2&&X(t.charCodeAt(2))?3:2,i=n);let s=-1,a=!0;for(let l=e-1;l>=i;--l)if(X(t.charCodeAt(l))){if(!a){s=l;break}}else a=!1;if(s===-1){if(n===-1)return".";s=n}return t.slice(0,s)},basename(t,e){e!==void 0&&ie(e,"suffix"),ie(t,"path");let n=0,i=-1,r=!0,s;if(t.length>=2&&Ie(t.charCodeAt(0))&&t.charCodeAt(1)===Ne&&(n=2),e!==void 0&&e.length>0&&e.length<=t.length){if(e===t)return"";let a=e.length-1,l=-1;for(s=t.length-1;s>=n;--s){let o=t.charCodeAt(s);if(X(o)){if(!r){n=s+1;break}}else l===-1&&(r=!1,l=s+1),a>=0&&(o===e.charCodeAt(a)?--a===-1&&(i=s):(a=-1,i=l))}return n===i?i=l:i===-1&&(i=t.length),t.slice(n,i)}for(s=t.length-1;s>=n;--s)if(X(t.charCodeAt(s))){if(!r){n=s+1;break}}else i===-1&&(r=!1,i=s+1);return i===-1?"":t.slice(n,i)},extname(t){ie(t,"path");let e=0,n=-1,i=0,r=-1,s=!0,a=0;t.length>=2&&t.charCodeAt(1)===Ne&&Ie(t.charCodeAt(0))&&(e=i=2);for(let l=t.length-1;l>=e;--l){let o=t.charCodeAt(l);if(X(o)){if(!s){i=l+1;break}continue}r===-1&&(s=!1,r=l+1),o===rt?n===-1?n=l:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||r===-1||a===0||a===1&&n===r-1&&n===i+1?"":t.slice(n,r)},format:$s.bind(null,"\\"),parse(t){ie(t,"path");let e={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return e;let n=t.length,i=0,r=t.charCodeAt(0);if(n===1)return X(r)?(e.root=e.dir=t,e):(e.base=e.name=t,e);if(X(r)){if(i=1,X(t.charCodeAt(1))){let d=2,m=d;for(;d<n&&!X(t.charCodeAt(d));)d++;if(d<n&&d!==m){for(m=d;d<n&&X(t.charCodeAt(d));)d++;if(d<n&&d!==m){for(m=d;d<n&&!X(t.charCodeAt(d));)d++;d===n?i=d:d!==m&&(i=d+1)}}}}else if(Ie(r)&&t.charCodeAt(1)===Ne){if(n<=2)return e.root=e.dir=t,e;if(i=2,X(t.charCodeAt(2))){if(n===3)return e.root=e.dir=t,e;i=3}}i>0&&(e.root=t.slice(0,i));let s=-1,a=i,l=-1,o=!0,u=t.length-1,c=0;for(;u>=i;--u){if(r=t.charCodeAt(u),X(r)){if(!o){a=u+1;break}continue}l===-1&&(o=!1,l=u+1),r===rt?s===-1?s=u:c!==1&&(c=1):s!==-1&&(c=-1)}return l!==-1&&(s===-1||c===0||c===1&&s===l-1&&s===a+1?e.base=e.name=t.slice(a,l):(e.name=t.slice(a,s),e.base=t.slice(a,l),e.ext=t.slice(s,l))),a>0&&a!==i?e.dir=t.slice(0,a-1):e.dir=e.root,e},sep:"\\",delimiter:";",win32:null,posix:null},Uu=(()=>{if(Ve){let t=/\\/g;return()=>{let e=Gt().replace(t,"/");return e.slice(e.indexOf("/"))}}return()=>Gt()})(),he={resolve(...t){let e="",n=!1;for(let i=t.length-1;i>=0&&!n;i--){let r=t[i];ie(r,`paths[${i}]`),r.length!==0&&(e=`${r}/${e}`,n=r.charCodeAt(0)===oe)}if(!n){let i=Uu();e=`${i}/${e}`,n=i.charCodeAt(0)===oe}return e=En(e,!n,"/",Ki),n?`/${e}`:e.length>0?e:"."},normalize(t){if(ie(t,"path"),t.length===0)return".";let e=t.charCodeAt(0)===oe,n=t.charCodeAt(t.length-1)===oe;return t=En(t,!e,"/",Ki),t.length===0?e?"/":n?"./":".":(n&&(t+="/"),e?`/${t}`:t)},isAbsolute(t){return ie(t,"path"),t.length>0&&t.charCodeAt(0)===oe},join(...t){if(t.length===0)return".";let e=[];for(let n=0;n<t.length;++n){let i=t[n];ie(i,"path"),i.length>0&&e.push(i)}return e.length===0?".":he.normalize(e.join("/"))},relative(t,e){if(ie(t,"from"),ie(e,"to"),t===e||(t=he.resolve(t),e=he.resolve(e),t===e))return"";let n=1,i=t.length,r=i-n,s=1,a=e.length-s,l=r<a?r:a,o=-1,u=0;for(;u<l;u++){let d=t.charCodeAt(n+u);if(d!==e.charCodeAt(s+u))break;d===oe&&(o=u)}if(u===l)if(a>l){if(e.charCodeAt(s+u)===oe)return e.slice(s+u+1);if(u===0)return e.slice(s+u)}else r>l&&(t.charCodeAt(n+u)===oe?o=u:u===0&&(o=0));let c="";for(u=n+o+1;u<=i;++u)(u===i||t.charCodeAt(u)===oe)&&(c+=c.length===0?"..":"/..");return`${c}${e.slice(s+o)}`},toNamespacedPath(t){return t},dirname(t){if(ie(t,"path"),t.length===0)return".";let e=t.charCodeAt(0)===oe,n=-1,i=!0;for(let r=t.length-1;r>=1;--r)if(t.charCodeAt(r)===oe){if(!i){n=r;break}}else i=!1;return n===-1?e?"/":".":e&&n===1?"//":t.slice(0,n)},basename(t,e){e!==void 0&&ie(e,"suffix"),ie(t,"path");let n=0,i=-1,r=!0,s;if(e!==void 0&&e.length>0&&e.length<=t.length){if(e===t)return"";let a=e.length-1,l=-1;for(s=t.length-1;s>=0;--s){let o=t.charCodeAt(s);if(o===oe){if(!r){n=s+1;break}}else l===-1&&(r=!1,l=s+1),a>=0&&(o===e.charCodeAt(a)?--a===-1&&(i=s):(a=-1,i=l))}return n===i?i=l:i===-1&&(i=t.length),t.slice(n,i)}for(s=t.length-1;s>=0;--s)if(t.charCodeAt(s)===oe){if(!r){n=s+1;break}}else i===-1&&(r=!1,i=s+1);return i===-1?"":t.slice(n,i)},extname(t){ie(t,"path");let e=-1,n=0,i=-1,r=!0,s=0;for(let a=t.length-1;a>=0;--a){let l=t[a];if(l==="/"){if(!r){n=a+1;break}continue}i===-1&&(r=!1,i=a+1),l==="."?e===-1?e=a:s!==1&&(s=1):e!==-1&&(s=-1)}return e===-1||i===-1||s===0||s===1&&e===i-1&&e===n+1?"":t.slice(e,i)},format:$s.bind(null,"/"),parse(t){ie(t,"path");let e={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return e;let n=t.charCodeAt(0)===oe,i;n?(e.root="/",i=1):i=0;let r=-1,s=0,a=-1,l=!0,o=t.length-1,u=0;for(;o>=i;--o){let c=t.charCodeAt(o);if(c===oe){if(!l){s=o+1;break}continue}a===-1&&(l=!1,a=o+1),c===rt?r===-1?r=o:u!==1&&(u=1):r!==-1&&(u=-1)}if(a!==-1){let c=s===0&&n?1:s;r===-1||u===0||u===1&&r===a-1&&r===s+1?e.base=e.name=t.slice(c,a):(e.name=t.slice(c,r),e.base=t.slice(c,a),e.ext=t.slice(r,a))}return s>0?e.dir=t.slice(0,s-1):n&&(e.dir="/"),e},sep:"/",delimiter:":",win32:null,posix:null};he.win32=ce.win32=ce;he.posix=ce.posix=he;var Td=Ve?ce.normalize:he.normalize,Sd=Ve?ce.resolve:he.resolve,kd=Ve?ce.relative:he.relative,Ld=Ve?ce.dirname:he.dirname,Ad=Ve?ce.basename:he.basename,Cd=Ve?ce.extname:he.extname,Ed=Ve?ce.sep:he.sep;var Hu=/^\w[\w\d+.-]*$/,Wu=/^\//,Bu=/^\/\//;function Ou(t,e){if(!t.scheme&&e)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${t.authority}", path: "${t.path}", query: "${t.query}", fragment: "${t.fragment}"}`);if(t.scheme&&!Hu.test(t.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(t.path){if(t.authority){if(!Wu.test(t.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(Bu.test(t.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function qu(t,e){return!t&&!e?"file":t}function Vu(t,e){switch(t){case"https":case"http":case"file":e?e[0]!==Te&&(e=Te+e):e=Te;break}return e}var K="",Te="/",ju=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,Ge=class t{static isUri(e){return e instanceof t?!0:!e||typeof e!="object"?!1:typeof e.authority=="string"&&typeof e.fragment=="string"&&typeof e.path=="string"&&typeof e.query=="string"&&typeof e.scheme=="string"&&typeof e.fsPath=="string"&&typeof e.with=="function"&&typeof e.toString=="function"}constructor(e,n,i,r,s,a=!1){typeof e=="object"?(this.scheme=e.scheme||K,this.authority=e.authority||K,this.path=e.path||K,this.query=e.query||K,this.fragment=e.fragment||K):(this.scheme=qu(e,a),this.authority=n||K,this.path=Vu(this.scheme,i||K),this.query=r||K,this.fragment=s||K,Ou(this,a))}get fsPath(){return er(this,!1)}with(e){if(!e)return this;let{scheme:n,authority:i,path:r,query:s,fragment:a}=e;return n===void 0?n=this.scheme:n===null&&(n=K),i===void 0?i=this.authority:i===null&&(i=K),r===void 0?r=this.path:r===null&&(r=K),s===void 0?s=this.query:s===null&&(s=K),a===void 0?a=this.fragment:a===null&&(a=K),n===this.scheme&&i===this.authority&&r===this.path&&s===this.query&&a===this.fragment?this:new je(n,i,r,s,a)}static parse(e,n=!1){let i=ju.exec(e);return i?new je(i[2]||K,Rn(i[4]||K),Rn(i[5]||K),Rn(i[7]||K),Rn(i[9]||K),n):new je(K,K,K,K,K)}static file(e){let n=K;if(tt&&(e=e.replace(/\\/g,Te)),e[0]===Te&&e[1]===Te){let i=e.indexOf(Te,2);i===-1?(n=e.substring(2),e=Te):(n=e.substring(2,i),e=e.substring(i)||Te)}return new je("file",n,e,K,K)}static from(e,n){return new je(e.scheme,e.authority,e.path,e.query,e.fragment,n)}static joinPath(e,...n){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let i;return tt&&e.scheme==="file"?i=t.file(ce.join(er(e,!0),...n)).path:i=he.join(e.path,...n),e.with({path:i})}toString(e=!1){return tr(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof t)return e;{let n=new je(e);return n._formatted=e.external??null,n._fsPath=e._sep===Js?e.fsPath??null:null,n}}else return e}},Js=tt?1:void 0,je=class extends Ge{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=er(this,!1)),this._fsPath}toString(e=!1){return e?tr(this,!0):(this._formatted||(this._formatted=tr(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=Js),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}},Ys={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 Xs(t,e,n){let i,r=-1;for(let s=0;s<t.length;s++){let a=t.charCodeAt(s);if(a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===45||a===46||a===95||a===126||e&&a===47||n&&a===91||n&&a===93||n&&a===58)r!==-1&&(i+=encodeURIComponent(t.substring(r,s)),r=-1),i!==void 0&&(i+=t.charAt(s));else{i===void 0&&(i=t.substr(0,s));let l=Ys[a];l!==void 0?(r!==-1&&(i+=encodeURIComponent(t.substring(r,s)),r=-1),i+=l):r===-1&&(r=s)}}return r!==-1&&(i+=encodeURIComponent(t.substring(r))),i!==void 0?i:t}function Gu(t){let e;for(let n=0;n<t.length;n++){let i=t.charCodeAt(n);i===35||i===63?(e===void 0&&(e=t.substr(0,n)),e+=Ys[i]):e!==void 0&&(e+=t[n])}return e!==void 0?e:t}function er(t,e){let n;return t.authority&&t.path.length>1&&t.scheme==="file"?n=`//${t.authority}${t.path}`:t.path.charCodeAt(0)===47&&(t.path.charCodeAt(1)>=65&&t.path.charCodeAt(1)<=90||t.path.charCodeAt(1)>=97&&t.path.charCodeAt(1)<=122)&&t.path.charCodeAt(2)===58?e?n=t.path.substr(1):n=t.path[1].toLowerCase()+t.path.substr(2):n=t.path,tt&&(n=n.replace(/\//g,"\\")),n}function tr(t,e){let n=e?Gu:Xs,i="",{scheme:r,authority:s,path:a,query:l,fragment:o}=t;if(r&&(i+=r,i+=":"),(s||r==="file")&&(i+=Te,i+=Te),s){let u=s.indexOf("@");if(u!==-1){let c=s.substr(0,u);s=s.substr(u+1),u=c.lastIndexOf(":"),u===-1?i+=n(c,!1,!1):(i+=n(c.substr(0,u),!1,!1),i+=":",i+=n(c.substr(u+1),!1,!0)),i+="@"}s=s.toLowerCase(),u=s.lastIndexOf(":"),u===-1?i+=n(s,!1,!0):(i+=n(s.substr(0,u),!1,!0),i+=s.substr(u))}if(a){if(a.length>=3&&a.charCodeAt(0)===47&&a.charCodeAt(2)===58){let u=a.charCodeAt(1);u>=65&&u<=90&&(a=`/${String.fromCharCode(u+32)}:${a.substr(3)}`)}else if(a.length>=2&&a.charCodeAt(1)===58){let u=a.charCodeAt(0);u>=65&&u<=90&&(a=`${String.fromCharCode(u+32)}:${a.substr(2)}`)}i+=n(a,!0,!1)}return l&&(i+="?",i+=n(l,!1,!1)),o&&(i+="#",i+=e?o:Xs(o,!1,!1)),i}function Zs(t){try{return decodeURIComponent(t)}catch{return t.length>3?t.substr(0,3)+Zs(t.substr(3)):t}}var Qs=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function Rn(t){return t.match(Qs)?t.replace(Qs,e=>Zs(e)):t}var Dn=class t extends W{constructor(e,n,i,r){super(e,n,i,r),this.selectionStartLineNumber=e,this.selectionStartColumn=n,this.positionLineNumber=i,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return t.selectionsEqual(this,e)}static selectionsEqual(e,n){return e.selectionStartLineNumber===n.selectionStartLineNumber&&e.selectionStartColumn===n.selectionStartColumn&&e.positionLineNumber===n.positionLineNumber&&e.positionColumn===n.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,n){return this.getDirection()===0?new t(this.startLineNumber,this.startColumn,e,n):new t(e,n,this.startLineNumber,this.startColumn)}getPosition(){return new $(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new $(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,n){return this.getDirection()===0?new t(e,n,this.endLineNumber,this.endColumn):new t(this.endLineNumber,this.endColumn,e,n)}static fromPositions(e,n=e){return new t(e.lineNumber,e.column,n.lineNumber,n.column)}static fromRange(e,n){return n===0?new t(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new t(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new t(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,n){if(e&&!n||!e&&n)return!1;if(!e&&!n)return!0;if(e.length!==n.length)return!1;for(let i=0,r=e.length;i<r;i++)if(!this.selectionsEqual(e[i],n[i]))return!1;return!0}static isISelection(e){return!!e&&typeof e.selectionStartLineNumber=="number"&&typeof e.selectionStartColumn=="number"&&typeof e.positionLineNumber=="number"&&typeof e.positionColumn=="number"}static createWithDirection(e,n,i,r,s){return s===0?new t(e,n,i,r):new t(i,r,e,n)}};var Ks=Object.create(null);function h(t,e){if(cs(e)){let n=Ks[e];if(n===void 0)throw new Error(`${t} references an unknown codicon: ${e}`);e=n}return Ks[t]=e,{id:t}}var ea={add:h("add",6e4),plus:h("plus",6e4),gistNew:h("gist-new",6e4),repoCreate:h("repo-create",6e4),lightbulb:h("lightbulb",60001),lightBulb:h("light-bulb",60001),repo:h("repo",60002),repoDelete:h("repo-delete",60002),gistFork:h("gist-fork",60003),repoForked:h("repo-forked",60003),gitPullRequest:h("git-pull-request",60004),gitPullRequestAbandoned:h("git-pull-request-abandoned",60004),recordKeys:h("record-keys",60005),keyboard:h("keyboard",60005),tag:h("tag",60006),gitPullRequestLabel:h("git-pull-request-label",60006),tagAdd:h("tag-add",60006),tagRemove:h("tag-remove",60006),person:h("person",60007),personFollow:h("person-follow",60007),personOutline:h("person-outline",60007),personFilled:h("person-filled",60007),sourceControl:h("source-control",60008),mirror:h("mirror",60009),mirrorPublic:h("mirror-public",60009),star:h("star",60010),starAdd:h("star-add",60010),starDelete:h("star-delete",60010),starEmpty:h("star-empty",60010),comment:h("comment",60011),commentAdd:h("comment-add",60011),alert:h("alert",60012),warning:h("warning",60012),search:h("search",60013),searchSave:h("search-save",60013),logOut:h("log-out",60014),signOut:h("sign-out",60014),logIn:h("log-in",60015),signIn:h("sign-in",60015),eye:h("eye",60016),eyeUnwatch:h("eye-unwatch",60016),eyeWatch:h("eye-watch",60016),circleFilled:h("circle-filled",60017),primitiveDot:h("primitive-dot",60017),closeDirty:h("close-dirty",60017),debugBreakpoint:h("debug-breakpoint",60017),debugBreakpointDisabled:h("debug-breakpoint-disabled",60017),debugHint:h("debug-hint",60017),terminalDecorationSuccess:h("terminal-decoration-success",60017),primitiveSquare:h("primitive-square",60018),edit:h("edit",60019),pencil:h("pencil",60019),info:h("info",60020),issueOpened:h("issue-opened",60020),gistPrivate:h("gist-private",60021),gitForkPrivate:h("git-fork-private",60021),lock:h("lock",60021),mirrorPrivate:h("mirror-private",60021),close:h("close",60022),removeClose:h("remove-close",60022),x:h("x",60022),repoSync:h("repo-sync",60023),sync:h("sync",60023),clone:h("clone",60024),desktopDownload:h("desktop-download",60024),beaker:h("beaker",60025),microscope:h("microscope",60025),vm:h("vm",60026),deviceDesktop:h("device-desktop",60026),file:h("file",60027),more:h("more",60028),ellipsis:h("ellipsis",60028),kebabHorizontal:h("kebab-horizontal",60028),mailReply:h("mail-reply",60029),reply:h("reply",60029),organization:h("organization",60030),organizationFilled:h("organization-filled",60030),organizationOutline:h("organization-outline",60030),newFile:h("new-file",60031),fileAdd:h("file-add",60031),newFolder:h("new-folder",60032),fileDirectoryCreate:h("file-directory-create",60032),trash:h("trash",60033),trashcan:h("trashcan",60033),history:h("history",60034),clock:h("clock",60034),folder:h("folder",60035),fileDirectory:h("file-directory",60035),symbolFolder:h("symbol-folder",60035),logoGithub:h("logo-github",60036),markGithub:h("mark-github",60036),github:h("github",60036),terminal:h("terminal",60037),console:h("console",60037),repl:h("repl",60037),zap:h("zap",60038),symbolEvent:h("symbol-event",60038),error:h("error",60039),stop:h("stop",60039),variable:h("variable",60040),symbolVariable:h("symbol-variable",60040),array:h("array",60042),symbolArray:h("symbol-array",60042),symbolModule:h("symbol-module",60043),symbolPackage:h("symbol-package",60043),symbolNamespace:h("symbol-namespace",60043),symbolObject:h("symbol-object",60043),symbolMethod:h("symbol-method",60044),symbolFunction:h("symbol-function",60044),symbolConstructor:h("symbol-constructor",60044),symbolBoolean:h("symbol-boolean",60047),symbolNull:h("symbol-null",60047),symbolNumeric:h("symbol-numeric",60048),symbolNumber:h("symbol-number",60048),symbolStructure:h("symbol-structure",60049),symbolStruct:h("symbol-struct",60049),symbolParameter:h("symbol-parameter",60050),symbolTypeParameter:h("symbol-type-parameter",60050),symbolKey:h("symbol-key",60051),symbolText:h("symbol-text",60051),symbolReference:h("symbol-reference",60052),goToFile:h("go-to-file",60052),symbolEnum:h("symbol-enum",60053),symbolValue:h("symbol-value",60053),symbolRuler:h("symbol-ruler",60054),symbolUnit:h("symbol-unit",60054),activateBreakpoints:h("activate-breakpoints",60055),archive:h("archive",60056),arrowBoth:h("arrow-both",60057),arrowDown:h("arrow-down",60058),arrowLeft:h("arrow-left",60059),arrowRight:h("arrow-right",60060),arrowSmallDown:h("arrow-small-down",60061),arrowSmallLeft:h("arrow-small-left",60062),arrowSmallRight:h("arrow-small-right",60063),arrowSmallUp:h("arrow-small-up",60064),arrowUp:h("arrow-up",60065),bell:h("bell",60066),bold:h("bold",60067),book:h("book",60068),bookmark:h("bookmark",60069),debugBreakpointConditionalUnverified:h("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:h("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:h("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:h("debug-breakpoint-data-unverified",60072),debugBreakpointData:h("debug-breakpoint-data",60073),debugBreakpointDataDisabled:h("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:h("debug-breakpoint-log-unverified",60074),debugBreakpointLog:h("debug-breakpoint-log",60075),debugBreakpointLogDisabled:h("debug-breakpoint-log-disabled",60075),briefcase:h("briefcase",60076),broadcast:h("broadcast",60077),browser:h("browser",60078),bug:h("bug",60079),calendar:h("calendar",60080),caseSensitive:h("case-sensitive",60081),check:h("check",60082),checklist:h("checklist",60083),chevronDown:h("chevron-down",60084),chevronLeft:h("chevron-left",60085),chevronRight:h("chevron-right",60086),chevronUp:h("chevron-up",60087),chromeClose:h("chrome-close",60088),chromeMaximize:h("chrome-maximize",60089),chromeMinimize:h("chrome-minimize",60090),chromeRestore:h("chrome-restore",60091),circleOutline:h("circle-outline",60092),circle:h("circle",60092),debugBreakpointUnverified:h("debug-breakpoint-unverified",60092),terminalDecorationIncomplete:h("terminal-decoration-incomplete",60092),circleSlash:h("circle-slash",60093),circuitBoard:h("circuit-board",60094),clearAll:h("clear-all",60095),clippy:h("clippy",60096),closeAll:h("close-all",60097),cloudDownload:h("cloud-download",60098),cloudUpload:h("cloud-upload",60099),code:h("code",60100),collapseAll:h("collapse-all",60101),colorMode:h("color-mode",60102),commentDiscussion:h("comment-discussion",60103),creditCard:h("credit-card",60105),dash:h("dash",60108),dashboard:h("dashboard",60109),database:h("database",60110),debugContinue:h("debug-continue",60111),debugDisconnect:h("debug-disconnect",60112),debugPause:h("debug-pause",60113),debugRestart:h("debug-restart",60114),debugStart:h("debug-start",60115),debugStepInto:h("debug-step-into",60116),debugStepOut:h("debug-step-out",60117),debugStepOver:h("debug-step-over",60118),debugStop:h("debug-stop",60119),debug:h("debug",60120),deviceCameraVideo:h("device-camera-video",60121),deviceCamera:h("device-camera",60122),deviceMobile:h("device-mobile",60123),diffAdded:h("diff-added",60124),diffIgnored:h("diff-ignored",60125),diffModified:h("diff-modified",60126),diffRemoved:h("diff-removed",60127),diffRenamed:h("diff-renamed",60128),diff:h("diff",60129),diffSidebyside:h("diff-sidebyside",60129),discard:h("discard",60130),editorLayout:h("editor-layout",60131),emptyWindow:h("empty-window",60132),exclude:h("exclude",60133),extensions:h("extensions",60134),eyeClosed:h("eye-closed",60135),fileBinary:h("file-binary",60136),fileCode:h("file-code",60137),fileMedia:h("file-media",60138),filePdf:h("file-pdf",60139),fileSubmodule:h("file-submodule",60140),fileSymlinkDirectory:h("file-symlink-directory",60141),fileSymlinkFile:h("file-symlink-file",60142),fileZip:h("file-zip",60143),files:h("files",60144),filter:h("filter",60145),flame:h("flame",60146),foldDown:h("fold-down",60147),foldUp:h("fold-up",60148),fold:h("fold",60149),folderActive:h("folder-active",60150),folderOpened:h("folder-opened",60151),gear:h("gear",60152),gift:h("gift",60153),gistSecret:h("gist-secret",60154),gist:h("gist",60155),gitCommit:h("git-commit",60156),gitCompare:h("git-compare",60157),compareChanges:h("compare-changes",60157),gitMerge:h("git-merge",60158),githubAction:h("github-action",60159),githubAlt:h("github-alt",60160),globe:h("globe",60161),grabber:h("grabber",60162),graph:h("graph",60163),gripper:h("gripper",60164),heart:h("heart",60165),home:h("home",60166),horizontalRule:h("horizontal-rule",60167),hubot:h("hubot",60168),inbox:h("inbox",60169),issueReopened:h("issue-reopened",60171),issues:h("issues",60172),italic:h("italic",60173),jersey:h("jersey",60174),json:h("json",60175),kebabVertical:h("kebab-vertical",60176),key:h("key",60177),law:h("law",60178),lightbulbAutofix:h("lightbulb-autofix",60179),linkExternal:h("link-external",60180),link:h("link",60181),listOrdered:h("list-ordered",60182),listUnordered:h("list-unordered",60183),liveShare:h("live-share",60184),loading:h("loading",60185),location:h("location",60186),mailRead:h("mail-read",60187),mail:h("mail",60188),markdown:h("markdown",60189),megaphone:h("megaphone",60190),mention:h("mention",60191),milestone:h("milestone",60192),gitPullRequestMilestone:h("git-pull-request-milestone",60192),mortarBoard:h("mortar-board",60193),move:h("move",60194),multipleWindows:h("multiple-windows",60195),mute:h("mute",60196),noNewline:h("no-newline",60197),note:h("note",60198),octoface:h("octoface",60199),openPreview:h("open-preview",60200),package:h("package",60201),paintcan:h("paintcan",60202),pin:h("pin",60203),play:h("play",60204),run:h("run",60204),plug:h("plug",60205),preserveCase:h("preserve-case",60206),preview:h("preview",60207),project:h("project",60208),pulse:h("pulse",60209),question:h("question",60210),quote:h("quote",60211),radioTower:h("radio-tower",60212),reactions:h("reactions",60213),references:h("references",60214),refresh:h("refresh",60215),regex:h("regex",60216),remoteExplorer:h("remote-explorer",60217),remote:h("remote",60218),remove:h("remove",60219),replaceAll:h("replace-all",60220),replace:h("replace",60221),repoClone:h("repo-clone",60222),repoForcePush:h("repo-force-push",60223),repoPull:h("repo-pull",60224),repoPush:h("repo-push",60225),report:h("report",60226),requestChanges:h("request-changes",60227),rocket:h("rocket",60228),rootFolderOpened:h("root-folder-opened",60229),rootFolder:h("root-folder",60230),rss:h("rss",60231),ruby:h("ruby",60232),saveAll:h("save-all",60233),saveAs:h("save-as",60234),save:h("save",60235),screenFull:h("screen-full",60236),screenNormal:h("screen-normal",60237),searchStop:h("search-stop",60238),server:h("server",60240),settingsGear:h("settings-gear",60241),settings:h("settings",60242),shield:h("shield",60243),smiley:h("smiley",60244),sortPrecedence:h("sort-precedence",60245),splitHorizontal:h("split-horizontal",60246),splitVertical:h("split-vertical",60247),squirrel:h("squirrel",60248),starFull:h("star-full",60249),starHalf:h("star-half",60250),symbolClass:h("symbol-class",60251),symbolColor:h("symbol-color",60252),symbolConstant:h("symbol-constant",60253),symbolEnumMember:h("symbol-enum-member",60254),symbolField:h("symbol-field",60255),symbolFile:h("symbol-file",60256),symbolInterface:h("symbol-interface",60257),symbolKeyword:h("symbol-keyword",60258),symbolMisc:h("symbol-misc",60259),symbolOperator:h("symbol-operator",60260),symbolProperty:h("symbol-property",60261),wrench:h("wrench",60261),wrenchSubaction:h("wrench-subaction",60261),symbolSnippet:h("symbol-snippet",60262),tasklist:h("tasklist",60263),telescope:h("telescope",60264),textSize:h("text-size",60265),threeBars:h("three-bars",60266),thumbsdown:h("thumbsdown",60267),thumbsup:h("thumbsup",60268),tools:h("tools",60269),triangleDown:h("triangle-down",60270),triangleLeft:h("triangle-left",60271),triangleRight:h("triangle-right",60272),triangleUp:h("triangle-up",60273),twitter:h("twitter",60274),unfold:h("unfold",60275),unlock:h("unlock",60276),unmute:h("unmute",60277),unverified:h("unverified",60278),verified:h("verified",60279),versions:h("versions",60280),vmActive:h("vm-active",60281),vmOutline:h("vm-outline",60282),vmRunning:h("vm-running",60283),watch:h("watch",60284),whitespace:h("whitespace",60285),wholeWord:h("whole-word",60286),window:h("window",60287),wordWrap:h("word-wrap",60288),zoomIn:h("zoom-in",60289),zoomOut:h("zoom-out",60290),listFilter:h("list-filter",60291),listFlat:h("list-flat",60292),listSelection:h("list-selection",60293),selection:h("selection",60293),listTree:h("list-tree",60294),debugBreakpointFunctionUnverified:h("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:h("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:h("debug-breakpoint-function-disabled",60296),debugStackframeActive:h("debug-stackframe-active",60297),circleSmallFilled:h("circle-small-filled",60298),debugStackframeDot:h("debug-stackframe-dot",60298),terminalDecorationMark:h("terminal-decoration-mark",60298),debugStackframe:h("debug-stackframe",60299),debugStackframeFocused:h("debug-stackframe-focused",60299),debugBreakpointUnsupported:h("debug-breakpoint-unsupported",60300),symbolString:h("symbol-string",60301),debugReverseContinue:h("debug-reverse-continue",60302),debugStepBack:h("debug-step-back",60303),debugRestartFrame:h("debug-restart-frame",60304),debugAlt:h("debug-alt",60305),callIncoming:h("call-incoming",60306),callOutgoing:h("call-outgoing",60307),menu:h("menu",60308),expandAll:h("expand-all",60309),feedback:h("feedback",60310),gitPullRequestReviewer:h("git-pull-request-reviewer",60310),groupByRefType:h("group-by-ref-type",60311),ungroupByRefType:h("ungroup-by-ref-type",60312),account:h("account",60313),gitPullRequestAssignee:h("git-pull-request-assignee",60313),bellDot:h("bell-dot",60314),debugConsole:h("debug-console",60315),library:h("library",60316),output:h("output",60317),runAll:h("run-all",60318),syncIgnored:h("sync-ignored",60319),pinned:h("pinned",60320),githubInverted:h("github-inverted",60321),serverProcess:h("server-process",60322),serverEnvironment:h("server-environment",60323),pass:h("pass",60324),issueClosed:h("issue-closed",60324),stopCircle:h("stop-circle",60325),playCircle:h("play-circle",60326),record:h("record",60327),debugAltSmall:h("debug-alt-small",60328),vmConnect:h("vm-connect",60329),cloud:h("cloud",60330),merge:h("merge",60331),export:h("export",60332),graphLeft:h("graph-left",60333),magnet:h("magnet",60334),notebook:h("notebook",60335),redo:h("redo",60336),checkAll:h("check-all",60337),pinnedDirty:h("pinned-dirty",60338),passFilled:h("pass-filled",60339),circleLargeFilled:h("circle-large-filled",60340),circleLarge:h("circle-large",60341),circleLargeOutline:h("circle-large-outline",60341),combine:h("combine",60342),gather:h("gather",60342),table:h("table",60343),variableGroup:h("variable-group",60344),typeHierarchy:h("type-hierarchy",60345),typeHierarchySub:h("type-hierarchy-sub",60346),typeHierarchySuper:h("type-hierarchy-super",60347),gitPullRequestCreate:h("git-pull-request-create",60348),runAbove:h("run-above",60349),runBelow:h("run-below",60350),notebookTemplate:h("notebook-template",60351),debugRerun:h("debug-rerun",60352),workspaceTrusted:h("workspace-trusted",60353),workspaceUntrusted:h("workspace-untrusted",60354),workspaceUnknown:h("workspace-unknown",60355),terminalCmd:h("terminal-cmd",60356),terminalDebian:h("terminal-debian",60357),terminalLinux:h("terminal-linux",60358),terminalPowershell:h("terminal-powershell",60359),terminalTmux:h("terminal-tmux",60360),terminalUbuntu:h("terminal-ubuntu",60361),terminalBash:h("terminal-bash",60362),arrowSwap:h("arrow-swap",60363),copy:h("copy",60364),personAdd:h("person-add",60365),filterFilled:h("filter-filled",60366),wand:h("wand",60367),debugLineByLine:h("debug-line-by-line",60368),inspect:h("inspect",60369),layers:h("layers",60370),layersDot:h("layers-dot",60371),layersActive:h("layers-active",60372),compass:h("compass",60373),compassDot:h("compass-dot",60374),compassActive:h("compass-active",60375),azure:h("azure",60376),issueDraft:h("issue-draft",60377),gitPullRequestClosed:h("git-pull-request-closed",60378),gitPullRequestDraft:h("git-pull-request-draft",60379),debugAll:h("debug-all",60380),debugCoverage:h("debug-coverage",60381),runErrors:h("run-errors",60382),folderLibrary:h("folder-library",60383),debugContinueSmall:h("debug-continue-small",60384),beakerStop:h("beaker-stop",60385),graphLine:h("graph-line",60386),graphScatter:h("graph-scatter",60387),pieChart:h("pie-chart",60388),bracket:h("bracket",60175),bracketDot:h("bracket-dot",60389),bracketError:h("bracket-error",60390),lockSmall:h("lock-small",60391),azureDevops:h("azure-devops",60392),verifiedFilled:h("verified-filled",60393),newline:h("newline",60394),layout:h("layout",60395),layoutActivitybarLeft:h("layout-activitybar-left",60396),layoutActivitybarRight:h("layout-activitybar-right",60397),layoutPanelLeft:h("layout-panel-left",60398),layoutPanelCenter:h("layout-panel-center",60399),layoutPanelJustify:h("layout-panel-justify",60400),layoutPanelRight:h("layout-panel-right",60401),layoutPanel:h("layout-panel",60402),layoutSidebarLeft:h("layout-sidebar-left",60403),layoutSidebarRight:h("layout-sidebar-right",60404),layoutStatusbar:h("layout-statusbar",60405),layoutMenubar:h("layout-menubar",60406),layoutCentered:h("layout-centered",60407),target:h("target",60408),indent:h("indent",60409),recordSmall:h("record-small",60410),errorSmall:h("error-small",60411),terminalDecorationError:h("terminal-decoration-error",60411),arrowCircleDown:h("arrow-circle-down",60412),arrowCircleLeft:h("arrow-circle-left",60413),arrowCircleRight:h("arrow-circle-right",60414),arrowCircleUp:h("arrow-circle-up",60415),layoutSidebarRightOff:h("layout-sidebar-right-off",60416),layoutPanelOff:h("layout-panel-off",60417),layoutSidebarLeftOff:h("layout-sidebar-left-off",60418),blank:h("blank",60419),heartFilled:h("heart-filled",60420),map:h("map",60421),mapHorizontal:h("map-horizontal",60421),foldHorizontal:h("fold-horizontal",60421),mapFilled:h("map-filled",60422),mapHorizontalFilled:h("map-horizontal-filled",60422),foldHorizontalFilled:h("fold-horizontal-filled",60422),circleSmall:h("circle-small",60423),bellSlash:h("bell-slash",60424),bellSlashDot:h("bell-slash-dot",60425),commentUnresolved:h("comment-unresolved",60426),gitPullRequestGoToChanges:h("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:h("git-pull-request-new-changes",60428),searchFuzzy:h("search-fuzzy",60429),commentDraft:h("comment-draft",60430),send:h("send",60431),sparkle:h("sparkle",60432),insert:h("insert",60433),mic:h("mic",60434),thumbsdownFilled:h("thumbsdown-filled",60435),thumbsupFilled:h("thumbsup-filled",60436),coffee:h("coffee",60437),snake:h("snake",60438),game:h("game",60439),vr:h("vr",60440),chip:h("chip",60441),piano:h("piano",60442),music:h("music",60443),micFilled:h("mic-filled",60444),repoFetch:h("repo-fetch",60445),copilot:h("copilot",60446),lightbulbSparkle:h("lightbulb-sparkle",60447),robot:h("robot",60448),sparkleFilled:h("sparkle-filled",60449),diffSingle:h("diff-single",60450),diffMultiple:h("diff-multiple",60451),surroundWith:h("surround-with",60452),share:h("share",60453),gitStash:h("git-stash",60454),gitStashApply:h("git-stash-apply",60455),gitStashPop:h("git-stash-pop",60456),vscode:h("vscode",60457),vscodeInsiders:h("vscode-insiders",60458),codeOss:h("code-oss",60459),runCoverage:h("run-coverage",60460),runAllCoverage:h("run-all-coverage",60461),coverage:h("coverage",60462),githubProject:h("github-project",60463),mapVertical:h("map-vertical",60464),foldVertical:h("fold-vertical",60464),mapVerticalFilled:h("map-vertical-filled",60465),foldVerticalFilled:h("fold-vertical-filled",60465),goToSearch:h("go-to-search",60466),percentage:h("percentage",60467),sortPercentage:h("sort-percentage",60467),attach:h("attach",60468),goToEditingSession:h("go-to-editing-session",60469),editSession:h("edit-session",60470),codeReview:h("code-review",60471),copilotWarning:h("copilot-warning",60472),python:h("python",60473),copilotLarge:h("copilot-large",60474),copilotWarningLarge:h("copilot-warning-large",60475),keyboardTab:h("keyboard-tab",60476),copilotBlocked:h("copilot-blocked",60477),copilotNotConnected:h("copilot-not-connected",60478),flag:h("flag",60479),lightbulbEmpty:h("lightbulb-empty",60480),symbolMethodArrow:h("symbol-method-arrow",60481),copilotUnavailable:h("copilot-unavailable",60482),repoPinned:h("repo-pinned",60483),keyboardTabAbove:h("keyboard-tab-above",60484),keyboardTabBelow:h("keyboard-tab-below",60485),gitPullRequestDone:h("git-pull-request-done",60486),mcp:h("mcp",60487),extensionsLarge:h("extensions-large",60488),layoutPanelDock:h("layout-panel-dock",60489),layoutSidebarLeftDock:h("layout-sidebar-left-dock",60490),layoutSidebarRightDock:h("layout-sidebar-right-dock",60491),copilotInProgress:h("copilot-in-progress",60492),copilotError:h("copilot-error",60493),copilotSuccess:h("copilot-success",60494),chatSparkle:h("chat-sparkle",60495),searchSparkle:h("search-sparkle",60496),editSparkle:h("edit-sparkle",60497),copilotSnooze:h("copilot-snooze",60498),sendToRemoteAgent:h("send-to-remote-agent",60499),commentDiscussionSparkle:h("comment-discussion-sparkle",60500),chatSparkleWarning:h("chat-sparkle-warning",60501),chatSparkleError:h("chat-sparkle-error",60502),collection:h("collection",60503),newCollection:h("new-collection",60504),thinking:h("thinking",60505),build:h("build",60506),commentDiscussionQuote:h("comment-discussion-quote",60507),cursor:h("cursor",60508),eraser:h("eraser",60509),fileText:h("file-text",60510),gitLens:h("git-lens",60511),quotes:h("quotes",60512),rename:h("rename",60513),runWithDeps:h("run-with-deps",60514),debugConnected:h("debug-connected",60515),strikethrough:h("strikethrough",60516),openInProduct:h("open-in-product",60517),indexZero:h("index-zero",60518),agent:h("agent",60519),editCode:h("edit-code",60520),repoSelected:h("repo-selected",60521),skip:h("skip",60522),mergeInto:h("merge-into",60523),gitBranchChanges:h("git-branch-changes",60524),gitBranchStagedChanges:h("git-branch-staged-changes",60525),gitBranchConflicts:h("git-branch-conflicts",60526),gitBranch:h("git-branch",60527),gitBranchCreate:h("git-branch-create",60527),gitBranchDelete:h("git-branch-delete",60527),searchLarge:h("search-large",60528),terminalGitBash:h("terminal-git-bash",60529)};var $u={dialogError:h("dialog-error","error"),dialogWarning:h("dialog-warning","warning"),dialogInfo:h("dialog-info","info"),dialogClose:h("dialog-close","close"),treeItemExpanded:h("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:h("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:h("tree-filter-on-type-off","list-selection"),treeFilterClear:h("tree-filter-clear","close"),treeItemLoading:h("tree-item-loading","loading"),menuSelection:h("menu-selection","check"),menuSubmenu:h("menu-submenu","chevron-right"),menuBarMore:h("menubar-more","more"),scrollbarButtonLeft:h("scrollbar-button-left","triangle-left"),scrollbarButtonRight:h("scrollbar-button-right","triangle-right"),scrollbarButtonUp:h("scrollbar-button-up","triangle-up"),scrollbarButtonDown:h("scrollbar-button-down","triangle-down"),toolBarMore:h("toolbar-more","more"),quickInputBack:h("quick-input-back","arrow-left"),dropDownButton:h("drop-down-button",60084),symbolCustomColor:h("symbol-customcolor",60252),exportIcon:h("export",60332),workspaceUnspecified:h("workspace-unspecified",60355),newLine:h("newline",60394),thumbsDownFilled:h("thumbsdown-filled",60435),thumbsUpFilled:h("thumbsup-filled",60436),gitFetch:h("git-fetch",60445),lightbulbSparkleAutofix:h("lightbulb-sparkle-autofix",60447),debugBreakpointPending:h("debug-breakpoint-pending",60377)},O={...ea,...$u};var Mn=class{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new ue,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,n){return this._tokenizationSupports.set(e,n),this.handleChange([e]),We(()=>{this._tokenizationSupports.get(e)===n&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,n){this._factories.get(e)?.dispose();let i=new nr(this,e,n);return this._factories.set(e,i),We(()=>{let r=this._factories.get(e);!r||r!==i||(this._factories.delete(e),r.dispose())})}async getOrCreate(e){let n=this.get(e);if(n)return n;let i=this._factories.get(e);return!i||i.isResolved?null:(await i.resolve(),this.get(e))}isResolved(e){if(this.get(e))return!0;let i=this._factories.get(e);return!!(!i||i.isResolved)}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}},nr=class extends ye{get isResolved(){return this._isResolved}constructor(e,n,i){super(),this._registry=e,this._languageId=n,this._factory=i,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){let e=await this._factory.tokenizationSupport;this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}};var Nn=class{constructor(e,n,i){this.offset=e,this.type=n,this.language=i,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}};var ta;(function(t){t[t.Increase=0]="Increase",t[t.Decrease=1]="Decrease"})(ta||(ta={}));var na;(function(t){let e=new Map;e.set(0,O.symbolMethod),e.set(1,O.symbolFunction),e.set(2,O.symbolConstructor),e.set(3,O.symbolField),e.set(4,O.symbolVariable),e.set(5,O.symbolClass),e.set(6,O.symbolStruct),e.set(7,O.symbolInterface),e.set(8,O.symbolModule),e.set(9,O.symbolProperty),e.set(10,O.symbolEvent),e.set(11,O.symbolOperator),e.set(12,O.symbolUnit),e.set(13,O.symbolValue),e.set(15,O.symbolEnum),e.set(14,O.symbolConstant),e.set(15,O.symbolEnum),e.set(16,O.symbolEnumMember),e.set(17,O.symbolKeyword),e.set(28,O.symbolSnippet),e.set(18,O.symbolText),e.set(19,O.symbolColor),e.set(20,O.symbolFile),e.set(21,O.symbolReference),e.set(22,O.symbolCustomColor),e.set(23,O.symbolFolder),e.set(24,O.symbolTypeParameter),e.set(25,O.account),e.set(26,O.issues),e.set(27,O.tools);function n(a){let l=e.get(a);return l||(console.info("No codicon found for CompletionItemKind "+a),l=O.symbolProperty),l}t.toIcon=n;function i(a){switch(a){case 0:return q(728,"Method");case 1:return q(729,"Function");case 2:return q(730,"Constructor");case 3:return q(731,"Field");case 4:return q(732,"Variable");case 5:return q(733,"Class");case 6:return q(734,"Struct");case 7:return q(735,"Interface");case 8:return q(736,"Module");case 9:return q(737,"Property");case 10:return q(738,"Event");case 11:return q(739,"Operator");case 12:return q(740,"Unit");case 13:return q(741,"Value");case 14:return q(742,"Constant");case 15:return q(743,"Enum");case 16:return q(744,"Enum Member");case 17:return q(745,"Keyword");case 18:return q(746,"Text");case 19:return q(747,"Color");case 20:return q(748,"File");case 21:return q(749,"Reference");case 22:return q(750,"Custom Color");case 23:return q(751,"Folder");case 24:return q(752,"Type Parameter");case 25:return q(753,"User");case 26:return q(754,"Issue");case 27:return q(755,"Tool");case 28:return q(756,"Snippet");default:return""}}t.toLabel=i;let r=new Map;r.set("method",0),r.set("function",1),r.set("constructor",2),r.set("field",3),r.set("variable",4),r.set("class",5),r.set("struct",6),r.set("interface",7),r.set("module",8),r.set("property",9),r.set("event",10),r.set("operator",11),r.set("unit",12),r.set("value",13),r.set("constant",14),r.set("enum",15),r.set("enum-member",16),r.set("enumMember",16),r.set("keyword",17),r.set("snippet",28),r.set("text",18),r.set("color",19),r.set("file",20),r.set("reference",21),r.set("customcolor",22),r.set("folder",23),r.set("type-parameter",24),r.set("typeParameter",24),r.set("account",25),r.set("issue",26),r.set("tool",27);function s(a,l){let o=r.get(a);return typeof o>"u"&&!l&&(o=9),o}t.fromString=s})(na||(na={}));var ia;(function(t){t[t.Automatic=0]="Automatic",t[t.Explicit=1]="Explicit"})(ia||(ia={}));var ra;(function(t){t[t.Code=1]="Code",t[t.Label=2]="Label"})(ra||(ra={}));var sa;(function(t){t[t.Accepted=0]="Accepted",t[t.Rejected=1]="Rejected",t[t.Ignored=2]="Ignored"})(sa||(sa={}));var aa;(function(t){t[t.Automatic=0]="Automatic",t[t.PasteAs=1]="PasteAs"})(aa||(aa={}));var oa;(function(t){t[t.Invoke=1]="Invoke",t[t.TriggerCharacter=2]="TriggerCharacter",t[t.ContentChange=3]="ContentChange"})(oa||(oa={}));var la;(function(t){t[t.Text=0]="Text",t[t.Read=1]="Read",t[t.Write=2]="Write"})(la||(la={}));var Zd={17:q(757,"array"),16:q(758,"boolean"),4:q(759,"class"),13:q(760,"constant"),8:q(761,"constructor"),9:q(762,"enumeration"),21:q(763,"enumeration member"),23:q(764,"event"),7:q(765,"field"),0:q(766,"file"),11:q(767,"function"),10:q(768,"interface"),19:q(769,"key"),5:q(770,"method"),1:q(771,"module"),2:q(772,"namespace"),20:q(773,"null"),15:q(774,"number"),18:q(775,"object"),24:q(776,"operator"),3:q(777,"package"),6:q(778,"property"),14:q(779,"string"),22:q(780,"struct"),25:q(781,"type parameter"),12:q(782,"variable")};var ua;(function(t){let e=new Map;e.set(0,O.symbolFile),e.set(1,O.symbolModule),e.set(2,O.symbolNamespace),e.set(3,O.symbolPackage),e.set(4,O.symbolClass),e.set(5,O.symbolMethod),e.set(6,O.symbolProperty),e.set(7,O.symbolField),e.set(8,O.symbolConstructor),e.set(9,O.symbolEnum),e.set(10,O.symbolInterface),e.set(11,O.symbolFunction),e.set(12,O.symbolVariable),e.set(13,O.symbolConstant),e.set(14,O.symbolString),e.set(15,O.symbolNumber),e.set(16,O.symbolBoolean),e.set(17,O.symbolArray),e.set(18,O.symbolObject),e.set(19,O.symbolKey),e.set(20,O.symbolNull),e.set(21,O.symbolEnumMember),e.set(22,O.symbolStruct),e.set(23,O.symbolEvent),e.set(24,O.symbolOperator),e.set(25,O.symbolTypeParameter);function n(s){let a=e.get(s);return a||(console.info("No codicon found for SymbolKind "+s),a=O.symbolProperty),a}t.toIcon=n;let i=new Map;i.set(0,20),i.set(1,8),i.set(2,8),i.set(3,8),i.set(4,5),i.set(5,0),i.set(6,9),i.set(7,3),i.set(8,2),i.set(9,15),i.set(10,7),i.set(11,1),i.set(12,4),i.set(13,14),i.set(14,18),i.set(15,13),i.set(16,13),i.set(17,13),i.set(18,13),i.set(19,17),i.set(20,13),i.set(21,16),i.set(22,6),i.set(23,10),i.set(24,11),i.set(25,24);function r(s){let a=i.get(s);return a===void 0&&(console.info("No completion kind found for SymbolKind "+s),a=20),a}t.toCompletionKind=r})(ua||(ua={}));var ca=class t{static{this.Comment=new t("comment")}static{this.Imports=new t("imports")}static{this.Region=new t("region")}static fromValue(e){switch(e){case"comment":return t.Comment;case"imports":return t.Imports;case"region":return t.Region}return new t(e)}constructor(e){this.value=e}},ha;(function(t){t[t.AIGenerated=1]="AIGenerated"})(ha||(ha={}));var da;(function(t){t[t.Invoke=0]="Invoke",t[t.Automatic=1]="Automatic"})(da||(da={}));var ma;(function(t){function e(n){return!n||typeof n!="object"?!1:typeof n.id=="string"&&typeof n.title=="string"}t.is=e})(ma||(ma={}));var fa;(function(t){t[t.Type=1]="Type",t[t.Parameter=2]="Parameter"})(fa||(fa={}));var Kd=new Mn;var pa;(function(t){t[t.Unknown=0]="Unknown",t[t.Disabled=1]="Disabled",t[t.Enabled=2]="Enabled"})(pa||(pa={}));var ga;(function(t){t[t.Invoke=1]="Invoke",t[t.Auto=2]="Auto"})(ga||(ga={}));var ba;(function(t){t[t.None=0]="None",t[t.KeepWhitespace=1]="KeepWhitespace",t[t.InsertAsSnippet=4]="InsertAsSnippet"})(ba||(ba={}));var wa;(function(t){t[t.Method=0]="Method",t[t.Function=1]="Function",t[t.Constructor=2]="Constructor",t[t.Field=3]="Field",t[t.Variable=4]="Variable",t[t.Class=5]="Class",t[t.Struct=6]="Struct",t[t.Interface=7]="Interface",t[t.Module=8]="Module",t[t.Property=9]="Property",t[t.Event=10]="Event",t[t.Operator=11]="Operator",t[t.Unit=12]="Unit",t[t.Value=13]="Value",t[t.Constant=14]="Constant",t[t.Enum=15]="Enum",t[t.EnumMember=16]="EnumMember",t[t.Keyword=17]="Keyword",t[t.Text=18]="Text",t[t.Color=19]="Color",t[t.File=20]="File",t[t.Reference=21]="Reference",t[t.Customcolor=22]="Customcolor",t[t.Folder=23]="Folder",t[t.TypeParameter=24]="TypeParameter",t[t.User=25]="User",t[t.Issue=26]="Issue",t[t.Tool=27]="Tool",t[t.Snippet=28]="Snippet"})(wa||(wa={}));var _a;(function(t){t[t.Deprecated=1]="Deprecated"})(_a||(_a={}));var va;(function(t){t[t.Invoke=0]="Invoke",t[t.TriggerCharacter=1]="TriggerCharacter",t[t.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(va||(va={}));var ya;(function(t){t[t.EXACT=0]="EXACT",t[t.ABOVE=1]="ABOVE",t[t.BELOW=2]="BELOW"})(ya||(ya={}));var xa;(function(t){t[t.NotSet=0]="NotSet",t[t.ContentFlush=1]="ContentFlush",t[t.RecoverFromMarkers=2]="RecoverFromMarkers",t[t.Explicit=3]="Explicit",t[t.Paste=4]="Paste",t[t.Undo=5]="Undo",t[t.Redo=6]="Redo"})(xa||(xa={}));var Ta;(function(t){t[t.LF=1]="LF",t[t.CRLF=2]="CRLF"})(Ta||(Ta={}));var Sa;(function(t){t[t.Text=0]="Text",t[t.Read=1]="Read",t[t.Write=2]="Write"})(Sa||(Sa={}));var ka;(function(t){t[t.None=0]="None",t[t.Keep=1]="Keep",t[t.Brackets=2]="Brackets",t[t.Advanced=3]="Advanced",t[t.Full=4]="Full"})(ka||(ka={}));var La;(function(t){t[t.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",t[t.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",t[t.accessibilitySupport=2]="accessibilitySupport",t[t.accessibilityPageSize=3]="accessibilityPageSize",t[t.allowOverflow=4]="allowOverflow",t[t.allowVariableLineHeights=5]="allowVariableLineHeights",t[t.allowVariableFonts=6]="allowVariableFonts",t[t.allowVariableFontsInAccessibilityMode=7]="allowVariableFontsInAccessibilityMode",t[t.ariaLabel=8]="ariaLabel",t[t.ariaRequired=9]="ariaRequired",t[t.autoClosingBrackets=10]="autoClosingBrackets",t[t.autoClosingComments=11]="autoClosingComments",t[t.screenReaderAnnounceInlineSuggestion=12]="screenReaderAnnounceInlineSuggestion",t[t.autoClosingDelete=13]="autoClosingDelete",t[t.autoClosingOvertype=14]="autoClosingOvertype",t[t.autoClosingQuotes=15]="autoClosingQuotes",t[t.autoIndent=16]="autoIndent",t[t.autoIndentOnPaste=17]="autoIndentOnPaste",t[t.autoIndentOnPasteWithinString=18]="autoIndentOnPasteWithinString",t[t.automaticLayout=19]="automaticLayout",t[t.autoSurround=20]="autoSurround",t[t.bracketPairColorization=21]="bracketPairColorization",t[t.guides=22]="guides",t[t.codeLens=23]="codeLens",t[t.codeLensFontFamily=24]="codeLensFontFamily",t[t.codeLensFontSize=25]="codeLensFontSize",t[t.colorDecorators=26]="colorDecorators",t[t.colorDecoratorsLimit=27]="colorDecoratorsLimit",t[t.columnSelection=28]="columnSelection",t[t.comments=29]="comments",t[t.contextmenu=30]="contextmenu",t[t.copyWithSyntaxHighlighting=31]="copyWithSyntaxHighlighting",t[t.cursorBlinking=32]="cursorBlinking",t[t.cursorSmoothCaretAnimation=33]="cursorSmoothCaretAnimation",t[t.cursorStyle=34]="cursorStyle",t[t.cursorSurroundingLines=35]="cursorSurroundingLines",t[t.cursorSurroundingLinesStyle=36]="cursorSurroundingLinesStyle",t[t.cursorWidth=37]="cursorWidth",t[t.cursorHeight=38]="cursorHeight",t[t.disableLayerHinting=39]="disableLayerHinting",t[t.disableMonospaceOptimizations=40]="disableMonospaceOptimizations",t[t.domReadOnly=41]="domReadOnly",t[t.dragAndDrop=42]="dragAndDrop",t[t.dropIntoEditor=43]="dropIntoEditor",t[t.editContext=44]="editContext",t[t.emptySelectionClipboard=45]="emptySelectionClipboard",t[t.experimentalGpuAcceleration=46]="experimentalGpuAcceleration",t[t.experimentalWhitespaceRendering=47]="experimentalWhitespaceRendering",t[t.extraEditorClassName=48]="extraEditorClassName",t[t.fastScrollSensitivity=49]="fastScrollSensitivity",t[t.find=50]="find",t[t.fixedOverflowWidgets=51]="fixedOverflowWidgets",t[t.folding=52]="folding",t[t.foldingStrategy=53]="foldingStrategy",t[t.foldingHighlight=54]="foldingHighlight",t[t.foldingImportsByDefault=55]="foldingImportsByDefault",t[t.foldingMaximumRegions=56]="foldingMaximumRegions",t[t.unfoldOnClickAfterEndOfLine=57]="unfoldOnClickAfterEndOfLine",t[t.fontFamily=58]="fontFamily",t[t.fontInfo=59]="fontInfo",t[t.fontLigatures=60]="fontLigatures",t[t.fontSize=61]="fontSize",t[t.fontWeight=62]="fontWeight",t[t.fontVariations=63]="fontVariations",t[t.formatOnPaste=64]="formatOnPaste",t[t.formatOnType=65]="formatOnType",t[t.glyphMargin=66]="glyphMargin",t[t.gotoLocation=67]="gotoLocation",t[t.hideCursorInOverviewRuler=68]="hideCursorInOverviewRuler",t[t.hover=69]="hover",t[t.inDiffEditor=70]="inDiffEditor",t[t.inlineSuggest=71]="inlineSuggest",t[t.letterSpacing=72]="letterSpacing",t[t.lightbulb=73]="lightbulb",t[t.lineDecorationsWidth=74]="lineDecorationsWidth",t[t.lineHeight=75]="lineHeight",t[t.lineNumbers=76]="lineNumbers",t[t.lineNumbersMinChars=77]="lineNumbersMinChars",t[t.linkedEditing=78]="linkedEditing",t[t.links=79]="links",t[t.matchBrackets=80]="matchBrackets",t[t.minimap=81]="minimap",t[t.mouseStyle=82]="mouseStyle",t[t.mouseWheelScrollSensitivity=83]="mouseWheelScrollSensitivity",t[t.mouseWheelZoom=84]="mouseWheelZoom",t[t.multiCursorMergeOverlapping=85]="multiCursorMergeOverlapping",t[t.multiCursorModifier=86]="multiCursorModifier",t[t.mouseMiddleClickAction=87]="mouseMiddleClickAction",t[t.multiCursorPaste=88]="multiCursorPaste",t[t.multiCursorLimit=89]="multiCursorLimit",t[t.occurrencesHighlight=90]="occurrencesHighlight",t[t.occurrencesHighlightDelay=91]="occurrencesHighlightDelay",t[t.overtypeCursorStyle=92]="overtypeCursorStyle",t[t.overtypeOnPaste=93]="overtypeOnPaste",t[t.overviewRulerBorder=94]="overviewRulerBorder",t[t.overviewRulerLanes=95]="overviewRulerLanes",t[t.padding=96]="padding",t[t.pasteAs=97]="pasteAs",t[t.parameterHints=98]="parameterHints",t[t.peekWidgetDefaultFocus=99]="peekWidgetDefaultFocus",t[t.placeholder=100]="placeholder",t[t.definitionLinkOpensInPeek=101]="definitionLinkOpensInPeek",t[t.quickSuggestions=102]="quickSuggestions",t[t.quickSuggestionsDelay=103]="quickSuggestionsDelay",t[t.readOnly=104]="readOnly",t[t.readOnlyMessage=105]="readOnlyMessage",t[t.renameOnType=106]="renameOnType",t[t.renderRichScreenReaderContent=107]="renderRichScreenReaderContent",t[t.renderControlCharacters=108]="renderControlCharacters",t[t.renderFinalNewline=109]="renderFinalNewline",t[t.renderLineHighlight=110]="renderLineHighlight",t[t.renderLineHighlightOnlyWhenFocus=111]="renderLineHighlightOnlyWhenFocus",t[t.renderValidationDecorations=112]="renderValidationDecorations",t[t.renderWhitespace=113]="renderWhitespace",t[t.revealHorizontalRightPadding=114]="revealHorizontalRightPadding",t[t.roundedSelection=115]="roundedSelection",t[t.rulers=116]="rulers",t[t.scrollbar=117]="scrollbar",t[t.scrollBeyondLastColumn=118]="scrollBeyondLastColumn",t[t.scrollBeyondLastLine=119]="scrollBeyondLastLine",t[t.scrollPredominantAxis=120]="scrollPredominantAxis",t[t.selectionClipboard=121]="selectionClipboard",t[t.selectionHighlight=122]="selectionHighlight",t[t.selectionHighlightMaxLength=123]="selectionHighlightMaxLength",t[t.selectionHighlightMultiline=124]="selectionHighlightMultiline",t[t.selectOnLineNumbers=125]="selectOnLineNumbers",t[t.showFoldingControls=126]="showFoldingControls",t[t.showUnused=127]="showUnused",t[t.snippetSuggestions=128]="snippetSuggestions",t[t.smartSelect=129]="smartSelect",t[t.smoothScrolling=130]="smoothScrolling",t[t.stickyScroll=131]="stickyScroll",t[t.stickyTabStops=132]="stickyTabStops",t[t.stopRenderingLineAfter=133]="stopRenderingLineAfter",t[t.suggest=134]="suggest",t[t.suggestFontSize=135]="suggestFontSize",t[t.suggestLineHeight=136]="suggestLineHeight",t[t.suggestOnTriggerCharacters=137]="suggestOnTriggerCharacters",t[t.suggestSelection=138]="suggestSelection",t[t.tabCompletion=139]="tabCompletion",t[t.tabIndex=140]="tabIndex",t[t.trimWhitespaceOnDelete=141]="trimWhitespaceOnDelete",t[t.unicodeHighlighting=142]="unicodeHighlighting",t[t.unusualLineTerminators=143]="unusualLineTerminators",t[t.useShadowDOM=144]="useShadowDOM",t[t.useTabStops=145]="useTabStops",t[t.wordBreak=146]="wordBreak",t[t.wordSegmenterLocales=147]="wordSegmenterLocales",t[t.wordSeparators=148]="wordSeparators",t[t.wordWrap=149]="wordWrap",t[t.wordWrapBreakAfterCharacters=150]="wordWrapBreakAfterCharacters",t[t.wordWrapBreakBeforeCharacters=151]="wordWrapBreakBeforeCharacters",t[t.wordWrapColumn=152]="wordWrapColumn",t[t.wordWrapOverride1=153]="wordWrapOverride1",t[t.wordWrapOverride2=154]="wordWrapOverride2",t[t.wrappingIndent=155]="wrappingIndent",t[t.wrappingStrategy=156]="wrappingStrategy",t[t.showDeprecated=157]="showDeprecated",t[t.inertialScroll=158]="inertialScroll",t[t.inlayHints=159]="inlayHints",t[t.wrapOnEscapedLineFeeds=160]="wrapOnEscapedLineFeeds",t[t.effectiveCursorStyle=161]="effectiveCursorStyle",t[t.editorClassName=162]="editorClassName",t[t.pixelRatio=163]="pixelRatio",t[t.tabFocusMode=164]="tabFocusMode",t[t.layoutInfo=165]="layoutInfo",t[t.wrappingInfo=166]="wrappingInfo",t[t.defaultColorDecorators=167]="defaultColorDecorators",t[t.colorDecoratorsActivatedOn=168]="colorDecoratorsActivatedOn",t[t.inlineCompletionsAccessibilityVerbose=169]="inlineCompletionsAccessibilityVerbose",t[t.effectiveEditContext=170]="effectiveEditContext",t[t.scrollOnMiddleClick=171]="scrollOnMiddleClick",t[t.effectiveAllowVariableFonts=172]="effectiveAllowVariableFonts"})(La||(La={}));var Aa;(function(t){t[t.TextDefined=0]="TextDefined",t[t.LF=1]="LF",t[t.CRLF=2]="CRLF"})(Aa||(Aa={}));var Ca;(function(t){t[t.LF=0]="LF",t[t.CRLF=1]="CRLF"})(Ca||(Ca={}));var Ea;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=3]="Right"})(Ea||(Ea={}));var Ra;(function(t){t[t.Increase=0]="Increase",t[t.Decrease=1]="Decrease"})(Ra||(Ra={}));var Da;(function(t){t[t.None=0]="None",t[t.Indent=1]="Indent",t[t.IndentOutdent=2]="IndentOutdent",t[t.Outdent=3]="Outdent"})(Da||(Da={}));var Ma;(function(t){t[t.Both=0]="Both",t[t.Right=1]="Right",t[t.Left=2]="Left",t[t.None=3]="None"})(Ma||(Ma={}));var Na;(function(t){t[t.Type=1]="Type",t[t.Parameter=2]="Parameter"})(Na||(Na={}));var Ia;(function(t){t[t.Accepted=0]="Accepted",t[t.Rejected=1]="Rejected",t[t.Ignored=2]="Ignored"})(Ia||(Ia={}));var za;(function(t){t[t.Code=1]="Code",t[t.Label=2]="Label"})(za||(za={}));var Fa;(function(t){t[t.Automatic=0]="Automatic",t[t.Explicit=1]="Explicit"})(Fa||(Fa={}));var In;(function(t){t[t.DependsOnKbLayout=-1]="DependsOnKbLayout",t[t.Unknown=0]="Unknown",t[t.Backspace=1]="Backspace",t[t.Tab=2]="Tab",t[t.Enter=3]="Enter",t[t.Shift=4]="Shift",t[t.Ctrl=5]="Ctrl",t[t.Alt=6]="Alt",t[t.PauseBreak=7]="PauseBreak",t[t.CapsLock=8]="CapsLock",t[t.Escape=9]="Escape",t[t.Space=10]="Space",t[t.PageUp=11]="PageUp",t[t.PageDown=12]="PageDown",t[t.End=13]="End",t[t.Home=14]="Home",t[t.LeftArrow=15]="LeftArrow",t[t.UpArrow=16]="UpArrow",t[t.RightArrow=17]="RightArrow",t[t.DownArrow=18]="DownArrow",t[t.Insert=19]="Insert",t[t.Delete=20]="Delete",t[t.Digit0=21]="Digit0",t[t.Digit1=22]="Digit1",t[t.Digit2=23]="Digit2",t[t.Digit3=24]="Digit3",t[t.Digit4=25]="Digit4",t[t.Digit5=26]="Digit5",t[t.Digit6=27]="Digit6",t[t.Digit7=28]="Digit7",t[t.Digit8=29]="Digit8",t[t.Digit9=30]="Digit9",t[t.KeyA=31]="KeyA",t[t.KeyB=32]="KeyB",t[t.KeyC=33]="KeyC",t[t.KeyD=34]="KeyD",t[t.KeyE=35]="KeyE",t[t.KeyF=36]="KeyF",t[t.KeyG=37]="KeyG",t[t.KeyH=38]="KeyH",t[t.KeyI=39]="KeyI",t[t.KeyJ=40]="KeyJ",t[t.KeyK=41]="KeyK",t[t.KeyL=42]="KeyL",t[t.KeyM=43]="KeyM",t[t.KeyN=44]="KeyN",t[t.KeyO=45]="KeyO",t[t.KeyP=46]="KeyP",t[t.KeyQ=47]="KeyQ",t[t.KeyR=48]="KeyR",t[t.KeyS=49]="KeyS",t[t.KeyT=50]="KeyT",t[t.KeyU=51]="KeyU",t[t.KeyV=52]="KeyV",t[t.KeyW=53]="KeyW",t[t.KeyX=54]="KeyX",t[t.KeyY=55]="KeyY",t[t.KeyZ=56]="KeyZ",t[t.Meta=57]="Meta",t[t.ContextMenu=58]="ContextMenu",t[t.F1=59]="F1",t[t.F2=60]="F2",t[t.F3=61]="F3",t[t.F4=62]="F4",t[t.F5=63]="F5",t[t.F6=64]="F6",t[t.F7=65]="F7",t[t.F8=66]="F8",t[t.F9=67]="F9",t[t.F10=68]="F10",t[t.F11=69]="F11",t[t.F12=70]="F12",t[t.F13=71]="F13",t[t.F14=72]="F14",t[t.F15=73]="F15",t[t.F16=74]="F16",t[t.F17=75]="F17",t[t.F18=76]="F18",t[t.F19=77]="F19",t[t.F20=78]="F20",t[t.F21=79]="F21",t[t.F22=80]="F22",t[t.F23=81]="F23",t[t.F24=82]="F24",t[t.NumLock=83]="NumLock",t[t.ScrollLock=84]="ScrollLock",t[t.Semicolon=85]="Semicolon",t[t.Equal=86]="Equal",t[t.Comma=87]="Comma",t[t.Minus=88]="Minus",t[t.Period=89]="Period",t[t.Slash=90]="Slash",t[t.Backquote=91]="Backquote",t[t.BracketLeft=92]="BracketLeft",t[t.Backslash=93]="Backslash",t[t.BracketRight=94]="BracketRight",t[t.Quote=95]="Quote",t[t.OEM_8=96]="OEM_8",t[t.IntlBackslash=97]="IntlBackslash",t[t.Numpad0=98]="Numpad0",t[t.Numpad1=99]="Numpad1",t[t.Numpad2=100]="Numpad2",t[t.Numpad3=101]="Numpad3",t[t.Numpad4=102]="Numpad4",t[t.Numpad5=103]="Numpad5",t[t.Numpad6=104]="Numpad6",t[t.Numpad7=105]="Numpad7",t[t.Numpad8=106]="Numpad8",t[t.Numpad9=107]="Numpad9",t[t.NumpadMultiply=108]="NumpadMultiply",t[t.NumpadAdd=109]="NumpadAdd",t[t.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",t[t.NumpadSubtract=111]="NumpadSubtract",t[t.NumpadDecimal=112]="NumpadDecimal",t[t.NumpadDivide=113]="NumpadDivide",t[t.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",t[t.ABNT_C1=115]="ABNT_C1",t[t.ABNT_C2=116]="ABNT_C2",t[t.AudioVolumeMute=117]="AudioVolumeMute",t[t.AudioVolumeUp=118]="AudioVolumeUp",t[t.AudioVolumeDown=119]="AudioVolumeDown",t[t.BrowserSearch=120]="BrowserSearch",t[t.BrowserHome=121]="BrowserHome",t[t.BrowserBack=122]="BrowserBack",t[t.BrowserForward=123]="BrowserForward",t[t.MediaTrackNext=124]="MediaTrackNext",t[t.MediaTrackPrevious=125]="MediaTrackPrevious",t[t.MediaStop=126]="MediaStop",t[t.MediaPlayPause=127]="MediaPlayPause",t[t.LaunchMediaPlayer=128]="LaunchMediaPlayer",t[t.LaunchMail=129]="LaunchMail",t[t.LaunchApp2=130]="LaunchApp2",t[t.Clear=131]="Clear",t[t.MAX_VALUE=132]="MAX_VALUE"})(In||(In={}));var zn;(function(t){t[t.Hint=1]="Hint",t[t.Info=2]="Info",t[t.Warning=4]="Warning",t[t.Error=8]="Error"})(zn||(zn={}));var Fn;(function(t){t[t.Unnecessary=1]="Unnecessary",t[t.Deprecated=2]="Deprecated"})(Fn||(Fn={}));var Pa;(function(t){t[t.Inline=1]="Inline",t[t.Gutter=2]="Gutter"})(Pa||(Pa={}));var Ua;(function(t){t[t.Normal=1]="Normal",t[t.Underlined=2]="Underlined"})(Ua||(Ua={}));var Ha;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.TEXTAREA=1]="TEXTAREA",t[t.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",t[t.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",t[t.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",t[t.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",t[t.CONTENT_TEXT=6]="CONTENT_TEXT",t[t.CONTENT_EMPTY=7]="CONTENT_EMPTY",t[t.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",t[t.CONTENT_WIDGET=9]="CONTENT_WIDGET",t[t.OVERVIEW_RULER=10]="OVERVIEW_RULER",t[t.SCROLLBAR=11]="SCROLLBAR",t[t.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",t[t.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(Ha||(Ha={}));var Wa;(function(t){t[t.AIGenerated=1]="AIGenerated"})(Wa||(Wa={}));var Ba;(function(t){t[t.Invoke=0]="Invoke",t[t.Automatic=1]="Automatic"})(Ba||(Ba={}));var Oa;(function(t){t[t.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",t[t.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",t[t.TOP_CENTER=2]="TOP_CENTER"})(Oa||(Oa={}));var qa;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=4]="Right",t[t.Full=7]="Full"})(qa||(qa={}));var Va;(function(t){t[t.Word=0]="Word",t[t.Line=1]="Line",t[t.Suggest=2]="Suggest"})(Va||(Va={}));var ja;(function(t){t[t.Left=0]="Left",t[t.Right=1]="Right",t[t.None=2]="None",t[t.LeftOfInjectedText=3]="LeftOfInjectedText",t[t.RightOfInjectedText=4]="RightOfInjectedText"})(ja||(ja={}));var Ga;(function(t){t[t.Off=0]="Off",t[t.On=1]="On",t[t.Relative=2]="Relative",t[t.Interval=3]="Interval",t[t.Custom=4]="Custom"})(Ga||(Ga={}));var $a;(function(t){t[t.None=0]="None",t[t.Text=1]="Text",t[t.Blocks=2]="Blocks"})($a||($a={}));var Xa;(function(t){t[t.Smooth=0]="Smooth",t[t.Immediate=1]="Immediate"})(Xa||(Xa={}));var Qa;(function(t){t[t.Auto=1]="Auto",t[t.Hidden=2]="Hidden",t[t.Visible=3]="Visible"})(Qa||(Qa={}));var Pn;(function(t){t[t.LTR=0]="LTR",t[t.RTL=1]="RTL"})(Pn||(Pn={}));var Ja;(function(t){t.Off="off",t.OnCode="onCode",t.On="on"})(Ja||(Ja={}));var Ya;(function(t){t[t.Invoke=1]="Invoke",t[t.TriggerCharacter=2]="TriggerCharacter",t[t.ContentChange=3]="ContentChange"})(Ya||(Ya={}));var Za;(function(t){t[t.File=0]="File",t[t.Module=1]="Module",t[t.Namespace=2]="Namespace",t[t.Package=3]="Package",t[t.Class=4]="Class",t[t.Method=5]="Method",t[t.Property=6]="Property",t[t.Field=7]="Field",t[t.Constructor=8]="Constructor",t[t.Enum=9]="Enum",t[t.Interface=10]="Interface",t[t.Function=11]="Function",t[t.Variable=12]="Variable",t[t.Constant=13]="Constant",t[t.String=14]="String",t[t.Number=15]="Number",t[t.Boolean=16]="Boolean",t[t.Array=17]="Array",t[t.Object=18]="Object",t[t.Key=19]="Key",t[t.Null=20]="Null",t[t.EnumMember=21]="EnumMember",t[t.Struct=22]="Struct",t[t.Event=23]="Event",t[t.Operator=24]="Operator",t[t.TypeParameter=25]="TypeParameter"})(Za||(Za={}));var Ka;(function(t){t[t.Deprecated=1]="Deprecated"})(Ka||(Ka={}));var eo;(function(t){t[t.LTR=0]="LTR",t[t.RTL=1]="RTL"})(eo||(eo={}));var to;(function(t){t[t.Hidden=0]="Hidden",t[t.Blink=1]="Blink",t[t.Smooth=2]="Smooth",t[t.Phase=3]="Phase",t[t.Expand=4]="Expand",t[t.Solid=5]="Solid"})(to||(to={}));var no;(function(t){t[t.Line=1]="Line",t[t.Block=2]="Block",t[t.Underline=3]="Underline",t[t.LineThin=4]="LineThin",t[t.BlockOutline=5]="BlockOutline",t[t.UnderlineThin=6]="UnderlineThin"})(no||(no={}));var io;(function(t){t[t.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",t[t.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",t[t.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",t[t.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(io||(io={}));var ro;(function(t){t[t.None=0]="None",t[t.Same=1]="Same",t[t.Indent=2]="Indent",t[t.DeepIndent=3]="DeepIndent"})(ro||(ro={}));var ir=class{static{this.CtrlCmd=2048}static{this.Shift=1024}static{this.Alt=512}static{this.WinCtrl=256}static chord(e,n){return Vs(e,n)}};function so(){return{editor:void 0,languages:void 0,CancellationTokenSource:Vt,Emitter:ue,KeyCode:In,KeyMod:ir,Position:$,Range:W,Selection:Dn,SelectionDirection:Pn,MarkerSeverity:zn,MarkerTag:Fn,Uri:Ge,Token:Nn}}var ao,oo,lo,rr=class{constructor(e,n){this.uri=e,this.value=n}};function Xu(t){return Array.isArray(t)}var Un=class t{static{this.defaultToKey=e=>e.toString()}constructor(e,n){if(this[ao]="ResourceMap",e instanceof t)this.map=new Map(e.map),this.toKey=n??t.defaultToKey;else if(Xu(e)){this.map=new Map,this.toKey=n??t.defaultToKey;for(let[i,r]of e)this.set(i,r)}else this.map=new Map,this.toKey=e??t.defaultToKey}set(e,n){return this.map.set(this.toKey(e),new rr(e,n)),this}get(e){return this.map.get(this.toKey(e))?.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,n){typeof n<"u"&&(e=e.bind(n));for(let[i,r]of this.map)e(r.value,r.uri,this)}*values(){for(let e of this.map.values())yield e.value}*keys(){for(let e of this.map.values())yield e.uri}*entries(){for(let e of this.map.values())yield[e.uri,e.value]}*[(ao=Symbol.toStringTag,Symbol.iterator)](){for(let[,e]of this.map)yield[e.uri,e.value]}},uo=class{constructor(e,n){this[oo]="ResourceSet",!e||typeof e=="function"?this._map=new Un(e):(this._map=new Un(n),e.forEach(this.add,this))}get size(){return this._map.size}add(e){return this._map.set(e,e),this}clear(){this._map.clear()}delete(e){return this._map.delete(e)}forEach(e,n){this._map.forEach((i,r)=>e.call(n,r,r,this))}has(e){return this._map.has(e)}entries(){return this._map.entries()}keys(){return this._map.keys()}values(){return this._map.keys()}[(oo=Symbol.toStringTag,Symbol.iterator)](){return this.keys()}},sr=class{constructor(){this[lo]="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(e){return this._map.has(e)}get(e,n=0){let i=this._map.get(e);if(i)return n!==0&&this.touch(i,n),i.value}set(e,n,i=0){let r=this._map.get(e);if(r)r.value=n,i!==0&&this.touch(r,i);else{switch(r={key:e,value:n,next:void 0,previous:void 0},i){case 0:this.addItemLast(r);break;case 1:this.addItemFirst(r);break;case 2:this.addItemLast(r);break;default:this.addItemLast(r);break}this._map.set(e,r),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){let n=this._map.get(e);if(n)return this._map.delete(e),this.removeItem(n),this._size--,n.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");let e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,n){let i=this._state,r=this._head;for(;r;){if(n?e.bind(n)(r.value,r.key,this):e(r.value,r.key,this),this._state!==i)throw new Error("LinkedMap got modified during iteration.");r=r.next}}keys(){let e=this,n=this._state,i=this._head,r={[Symbol.iterator](){return r},next(){if(e._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){let s={value:i.key,done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}values(){let e=this,n=this._state,i=this._head,r={[Symbol.iterator](){return r},next(){if(e._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){let s={value:i.value,done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}entries(){let e=this,n=this._state,i=this._head,r={[Symbol.iterator](){return r},next(){if(e._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){let s={value:[i.key,i.value],done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}[(lo=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let n=this._head,i=this.size;for(;n&&i>e;)this._map.delete(n.key),n=n.next,i--;this._head=n,this._size=i,n&&(n.previous=void 0),this._state++}trimNew(e){if(e>=this.size)return;if(e===0){this.clear();return}let n=this._tail,i=this.size;for(;n&&i>e;)this._map.delete(n.key),n=n.previous,i--;this._tail=n,this._size=i,n&&(n.next=void 0),this._state++}addItemFirst(e){if(!this._head&&!this._tail)this._tail=e;else if(this._head)e.next=this._head,this._head.previous=e;else throw new Error("Invalid list");this._head=e,this._state++}addItemLast(e){if(!this._head&&!this._tail)this._head=e;else if(this._tail)e.previous=this._tail,this._tail.next=e;else throw new Error("Invalid list");this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{let n=e.next,i=e.previous;if(!n||!i)throw new Error("Invalid list");n.previous=i,i.next=n}e.next=void 0,e.previous=void 0,this._state++}touch(e,n){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(n!==1&&n!==2)){if(n===1){if(e===this._head)return;let i=e.next,r=e.previous;e===this._tail?(r.next=void 0,this._tail=r):(i.previous=r,r.next=i),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(n===2){if(e===this._tail)return;let i=e.next,r=e.previous;e===this._head?(i.previous=void 0,this._head=i):(i.previous=r,r.next=i),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){let e=[];return this.forEach((n,i)=>{e.push([i,n])}),e}fromJSON(e){this.clear();for(let[n,i]of e)this.set(n,i)}},ar=class extends sr{constructor(e,n=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,n),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,n=2){return super.get(e,n)}peek(e){return super.get(e,0)}set(e,n){return super.set(e,n,2),this}checkTrim(){this.size>this._limit&&this.trim(Math.round(this._limit*this._ratio))}},Hn=class extends ar{constructor(e,n=1){super(e,n)}trim(e){this.trimOld(e)}set(e,n){return super.set(e,n),this.checkTrim(),this}};var Wn=class{constructor(){this.map=new Map}add(e,n){let i=this.map.get(e);i||(i=new Set,this.map.set(e,i)),i.add(n)}delete(e,n){let i=this.map.get(e);i&&(i.delete(n),i.size===0&&this.map.delete(e))}forEach(e,n){let i=this.map.get(e);i&&i.forEach(n)}};var v1=new Hn(10);var co;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=4]="Right",t[t.Full=7]="Full"})(co||(co={}));var ho;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=3]="Right"})(ho||(ho={}));var mo;(function(t){t[t.LTR=0]="LTR",t[t.RTL=1]="RTL"})(mo||(mo={}));var fo;(function(t){t[t.Both=0]="Both",t[t.Right=1]="Right",t[t.Left=2]="Left",t[t.None=3]="None"})(fo||(fo={}));function po(t){if(!t||t.length===0)return!1;for(let e=0,n=t.length;e<n;e++){let i=t.charCodeAt(e);if(i===10)return!0;if(i===92){if(e++,e>=n)break;let r=t.charCodeAt(e);if(r===110||r===114||r===87)return!0}}return!1}function Qu(t,e,n,i,r){if(i===0)return!0;let s=e.charCodeAt(i-1);if(t.get(s)!==0||s===13||s===10)return!0;if(r>0){let a=e.charCodeAt(i);if(t.get(a)!==0)return!0}return!1}function Ju(t,e,n,i,r){if(i+r===n)return!0;let s=e.charCodeAt(i+r);if(t.get(s)!==0||s===13||s===10)return!0;if(r>0){let a=e.charCodeAt(i+r-1);if(t.get(a)!==0)return!0}return!1}function Yu(t,e,n,i,r){return Qu(t,e,n,i,r)&&Ju(t,e,n,i,r)}var Bn=class{constructor(e,n){this._wordSeparators=e,this._searchRegex=n,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){let n=e.length,i;do{if(this._prevMatchStartIndex+this._prevMatchLength===n||(i=this._searchRegex.exec(e),!i))return null;let r=i.index,s=i[0].length;if(r===this._prevMatchStartIndex&&s===this._prevMatchLength){if(s===0){As(e,n,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=r,this._prevMatchLength=s,!this._wordSeparators||Yu(this._wordSeparators,e,n,r,s))return i}while(i);return null}};var Zu="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function Ku(t=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(let n of Zu)t.indexOf(n)>=0||(e+="\\"+n);return e+="\\s]+)",new RegExp(e,"g")}var or=Ku();function lr(t){let e=or;if(t&&t instanceof RegExp)if(t.global)e=t;else{let n="g";t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),e=new RegExp(t.source,n)}return e.lastIndex=0,e}var go=new Ut;go.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function $t(t,e,n,i,r){if(e=lr(e),r||(r=mt.first(go)),n.length>r.maxLen){let u=t-r.maxLen/2;return u<0?u=0:i+=u,n=n.substring(u,t+r.maxLen/2),$t(t,e,n,i,r)}let s=Date.now(),a=t-1-i,l=-1,o=null;for(let u=1;!(Date.now()-s>=r.timeBudget);u++){let c=a-r.windowSize*u;e.lastIndex=Math.max(0,c);let d=ec(e,n,a,l);if(!d&&o||(o=d,c<=0))break;l=c}if(o){let u={word:o[0],startColumn:i+1+o.index,endColumn:i+1+o.index+o[0].length};return e.lastIndex=0,u}return null}function ec(t,e,n,i){let r;for(;r=t.exec(e);){let s=r.index||0;if(s<=n&&t.lastIndex>=n)return r;if(i>0&&s>i)return null}return null}var On=class{static computeUnicodeHighlights(e,n,i){let r=i?i.startLineNumber:1,s=i?i.endLineNumber:e.getLineCount(),a=new qn(n),l=a.getCandidateCodePoints(),o;l==="allNonBasicAscii"?o=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):o=new RegExp(`${tc(Array.from(l))}`,"g");let u=new Bn(null,o),c=[],d=!1,m,f=0,w=0,p=0;e:for(let T=r,x=s;T<=x;T++){let y=e.getLineContent(T),L=y.length;u.reset(0);do if(m=u.next(y),m){let z=m.index,F=m.index+m[0].length;if(z>0){let v=y.charCodeAt(z-1);bt(v)&&z--}if(F+1<L){let v=y.charCodeAt(F-1);bt(v)&&F++}let U=y.substring(z,F),b=$t(z+1,or,y,0);b&&b.endColumn<=z+1&&(b=null);let g=a.shouldHighlightNonBasicASCII(U,b?b.word:null);if(g!==0){if(g===3?f++:g===2?w++:g===1?p++:us(),c.length>=1e3){d=!0;break e}c.push(new W(T,z+1,T,F+1))}}while(m)}return{ranges:c,hasMore:d,ambiguousCharacterCount:f,invisibleCharacterCount:w,nonBasicAsciiCharacterCount:p}}static computeUnicodeHighlightReason(e,n){let i=new qn(n);switch(i.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{let s=e.codePointAt(0),a=i.ambiguousCharacters.getPrimaryConfusable(s),l=pt.getLocales().filter(o=>!pt.getInstance(new Set([...n.allowedLocales,o])).isAmbiguous(s));return{kind:0,confusableWith:String.fromCodePoint(a),notAmbiguousInLocales:l}}case 1:return{kind:2}}}};function tc(t,e){return`[${vs(t.map(i=>String.fromCodePoint(i)).join(""))}]`}var qn=class{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=pt.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let n of gt.codePoints)bo(String.fromCodePoint(n))||e.add(n);if(this.options.ambiguousCharacters)for(let n of this.ambiguousCharacters.getConfusableCodePoints())e.add(n);for(let n of this.allowedCodePoints)e.delete(n);return e}shouldHighlightNonBasicASCII(e,n){let i=e.codePointAt(0);if(this.allowedCodePoints.has(i))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,s=!1;if(n)for(let a of n){let l=a.codePointAt(0),o=Cs(a);r=r||o,!o&&!this.ambiguousCharacters.isAmbiguous(l)&&!gt.isInvisibleCharacter(l)&&(s=!0)}return!r&&s?0:this.options.invisibleCharacters&&!bo(e)&>.isInvisibleCharacter(i)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(i)?3:0}};function bo(t){return t===" "||t===`
|
|
8
|
-
`||t===" "}var $e=class{constructor(e,n,i){this.changes=e,this.moves=n,this.hitTimeout=i}},Vn=class{constructor(e,n){this.lineRangeMapping=e,this.changes=n}};function _o(t,e,n=(i,r)=>i===r){if(t===e)return!0;if(!t||!e||t.length!==e.length)return!1;for(let i=0,r=t.length;i<r;i++)if(!n(t[i],e[i]))return!1;return!0}function*vo(t,e){let n,i;for(let r of t)i!==void 0&&e(i,r)?n.push(r):(n&&(yield n),n=[r]),i=r;n&&(yield n)}function yo(t,e){for(let n=0;n<=t.length;n++)e(n===0?void 0:t[n-1],n===t.length?void 0:t[n])}function xo(t,e){for(let n=0;n<t.length;n++)e(n===0?void 0:t[n-1],t[n],n+1===t.length?void 0:t[n+1])}function To(t,e){for(let n of e)t.push(n)}var ur;(function(t){function e(s){return s<0}t.isLessThan=e;function n(s){return s<=0}t.isLessThanOrEqual=n;function i(s){return s>0}t.isGreaterThan=i;function r(s){return s===0}t.isNeitherLessOrGreaterThan=r,t.greaterThan=1,t.lessThan=-1,t.neitherLessOrGreaterThan=0})(ur||(ur={}));function Xe(t,e){return(n,i)=>e(t(n),t(i))}var st=(t,e)=>t-e;function So(t){return(e,n)=>-t(e,n)}var wo=class t{static{this.empty=new t(e=>{})}constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(n=>(e.push(n),!0)),e}filter(e){return new t(n=>this.iterate(i=>e(i)?n(i):!0))}map(e){return new t(n=>this.iterate(i=>n(e(i))))}findLast(e){let n;return this.iterate(i=>(e(i)&&(n=i),!0)),n}findLastMaxBy(e){let n,i=!0;return this.iterate(r=>((i||ur.isGreaterThan(e(r,n)))&&(i=!1,n=r),!0)),n}};var J=class t{static fromTo(e,n){return new t(e,n)}static addRange(e,n){let i=0;for(;i<n.length&&n[i].endExclusive<e.start;)i++;let r=i;for(;r<n.length&&n[r].start<=e.endExclusive;)r++;if(i===r)n.splice(i,0,e);else{let s=Math.min(e.start,n[i].start),a=Math.max(e.endExclusive,n[r-1].endExclusive);n.splice(i,r-i,new t(s,a))}}static tryCreate(e,n){if(!(e>n))return new t(e,n)}static ofLength(e){return new t(0,e)}static ofStartAndLength(e,n){return new t(e,e+n)}static emptyAt(e){return new t(e,e)}constructor(e,n){if(this.start=e,this.endExclusive=n,e>n)throw new te(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new t(this.start+e,this.endExclusive+e)}deltaStart(e){return new t(this.start+e,this.endExclusive)}deltaEnd(e){return new t(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(e){return this.start===e.start&&this.endExclusive===e.endExclusive}contains(e){return this.start<=e&&e<this.endExclusive}join(e){return new t(Math.min(this.start,e.start),Math.max(this.endExclusive,e.endExclusive))}intersect(e){let n=Math.max(this.start,e.start),i=Math.min(this.endExclusive,e.endExclusive);if(n<=i)return new t(n,i)}intersectionLength(e){let n=Math.max(this.start,e.start),i=Math.min(this.endExclusive,e.endExclusive);return Math.max(0,i-n)}intersects(e){let n=Math.max(this.start,e.start),i=Math.min(this.endExclusive,e.endExclusive);return n<i}intersectsOrTouches(e){let n=Math.max(this.start,e.start),i=Math.min(this.endExclusive,e.endExclusive);return n<=i}isBefore(e){return this.endExclusive<=e.start}isAfter(e){return this.start>=e.endExclusive}slice(e){return e.slice(this.start,this.endExclusive)}substring(e){return e.substring(this.start,this.endExclusive)}clip(e){if(this.isEmpty)throw new te(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,e))}clipCyclic(e){if(this.isEmpty)throw new te(`Invalid clipping range: ${this.toString()}`);return e<this.start?this.endExclusive-(this.start-e)%this.length:e>=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let n=this.start;n<this.endExclusive;n++)e(n)}joinRightTouching(e){if(this.endExclusive!==e.start)throw new te(`Invalid join: ${this.toString()} and ${e.toString()}`);return new t(this.start,e.endExclusive)}};function ze(t,e){let n=Fe(t,e);return n===-1?void 0:t[n]}function Fe(t,e,n=0,i=t.length){let r=n,s=i;for(;r<s;){let a=Math.floor((r+s)/2);e(t[a])?r=a+1:s=a}return r-1}function ko(t,e){let n=jn(t,e);return n===t.length?void 0:t[n]}function jn(t,e,n=0,i=t.length){let r=n,s=i;for(;r<s;){let a=Math.floor((r+s)/2);e(t[a])?s=a:r=a+1}return r}var Xt=class t{static{this.assertInvariants=!1}constructor(e){this._array=e,this._findLastMonotonousLastIdx=0}findLastMonotonous(e){if(t.assertInvariants){if(this._prevFindLastPredicate){for(let i of this._array)if(this._prevFindLastPredicate(i)&&!e(i))throw new Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.")}this._prevFindLastPredicate=e}let n=Fe(this._array,e,this._findLastMonotonousLastIdx);return this._findLastMonotonousLastIdx=n+1,n===-1?void 0:this._array[n]}};var Q=class t{static ofLength(e,n){return new t(e,e+n)}static fromRange(e){return new t(e.startLineNumber,e.endLineNumber)}static fromRangeInclusive(e){return new t(e.startLineNumber,e.endLineNumber+1)}static{this.compareByStart=Xe(e=>e.startLineNumber,st)}static joinMany(e){if(e.length===0)return[];let n=new at(e[0].slice());for(let i=1;i<e.length;i++)n=n.getUnion(new at(e[i].slice()));return n.ranges}static join(e){if(e.length===0)throw new te("lineRanges cannot be empty");let n=e[0].startLineNumber,i=e[0].endLineNumberExclusive;for(let r=1;r<e.length;r++)n=Math.min(n,e[r].startLineNumber),i=Math.max(i,e[r].endLineNumberExclusive);return new t(n,i)}static deserialize(e){return new t(e[0],e[1])}constructor(e,n){if(e>n)throw new te(`startLineNumber ${e} cannot be after endLineNumberExclusive ${n}`);this.startLineNumber=e,this.endLineNumberExclusive=n}contains(e){return this.startLineNumber<=e&&e<this.endLineNumberExclusive}get isEmpty(){return this.startLineNumber===this.endLineNumberExclusive}delta(e){return new t(this.startLineNumber+e,this.endLineNumberExclusive+e)}deltaLength(e){return new t(this.startLineNumber,this.endLineNumberExclusive+e)}get length(){return this.endLineNumberExclusive-this.startLineNumber}join(e){return new t(Math.min(this.startLineNumber,e.startLineNumber),Math.max(this.endLineNumberExclusive,e.endLineNumberExclusive))}toString(){return`[${this.startLineNumber},${this.endLineNumberExclusive})`}intersect(e){let n=Math.max(this.startLineNumber,e.startLineNumber),i=Math.min(this.endLineNumberExclusive,e.endLineNumberExclusive);if(n<=i)return new t(n,i)}intersectsStrict(e){return this.startLineNumber<e.endLineNumberExclusive&&e.startLineNumber<this.endLineNumberExclusive}intersectsOrTouches(e){return this.startLineNumber<=e.endLineNumberExclusive&&e.startLineNumber<=this.endLineNumberExclusive}equals(e){return this.startLineNumber===e.startLineNumber&&this.endLineNumberExclusive===e.endLineNumberExclusive}toInclusiveRange(){return this.isEmpty?null:new W(this.startLineNumber,1,this.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER)}toExclusiveRange(){return new W(this.startLineNumber,1,this.endLineNumberExclusive,1)}mapToLineArray(e){let n=[];for(let i=this.startLineNumber;i<this.endLineNumberExclusive;i++)n.push(e(i));return n}forEach(e){for(let n=this.startLineNumber;n<this.endLineNumberExclusive;n++)e(n)}serialize(){return[this.startLineNumber,this.endLineNumberExclusive]}toOffsetRange(){return new J(this.startLineNumber-1,this.endLineNumberExclusive-1)}addMargin(e,n){return new t(this.startLineNumber-e,this.endLineNumberExclusive+n)}},at=class t{constructor(e=[]){this._normalizedRanges=e}get ranges(){return this._normalizedRanges}addRange(e){if(e.length===0)return;let n=jn(this._normalizedRanges,r=>r.endLineNumberExclusive>=e.startLineNumber),i=Fe(this._normalizedRanges,r=>r.startLineNumber<=e.endLineNumberExclusive)+1;if(n===i)this._normalizedRanges.splice(n,0,e);else if(n===i-1){let r=this._normalizedRanges[n];this._normalizedRanges[n]=r.join(e)}else{let r=this._normalizedRanges[n].join(this._normalizedRanges[i-1]).join(e);this._normalizedRanges.splice(n,i-n,r)}}contains(e){let n=ze(this._normalizedRanges,i=>i.startLineNumber<=e);return!!n&&n.endLineNumberExclusive>e}intersects(e){let n=ze(this._normalizedRanges,i=>i.startLineNumber<e.endLineNumberExclusive);return!!n&&n.endLineNumberExclusive>e.startLineNumber}getUnion(e){if(this._normalizedRanges.length===0)return e;if(e._normalizedRanges.length===0)return this;let n=[],i=0,r=0,s=null;for(;i<this._normalizedRanges.length||r<e._normalizedRanges.length;){let a=null;if(i<this._normalizedRanges.length&&r<e._normalizedRanges.length){let l=this._normalizedRanges[i],o=e._normalizedRanges[r];l.startLineNumber<o.startLineNumber?(a=l,i++):(a=o,r++)}else i<this._normalizedRanges.length?(a=this._normalizedRanges[i],i++):(a=e._normalizedRanges[r],r++);s===null?s=a:s.endLineNumberExclusive>=a.startLineNumber?s=new Q(s.startLineNumber,Math.max(s.endLineNumberExclusive,a.endLineNumberExclusive)):(n.push(s),s=a)}return s!==null&&n.push(s),new t(n)}subtractFrom(e){let n=jn(this._normalizedRanges,a=>a.endLineNumberExclusive>=e.startLineNumber),i=Fe(this._normalizedRanges,a=>a.startLineNumber<=e.endLineNumberExclusive)+1;if(n===i)return new t([e]);let r=[],s=e.startLineNumber;for(let a=n;a<i;a++){let l=this._normalizedRanges[a];l.startLineNumber>s&&r.push(new Q(s,l.startLineNumber)),s=l.endLineNumberExclusive}return s<e.endLineNumberExclusive&&r.push(new Q(s,e.endLineNumberExclusive)),new t(r)}toString(){return this._normalizedRanges.map(e=>e.toString()).join(", ")}getIntersection(e){let n=[],i=0,r=0;for(;i<this._normalizedRanges.length&&r<e._normalizedRanges.length;){let s=this._normalizedRanges[i],a=e._normalizedRanges[r],l=s.intersect(a);l&&!l.isEmpty&&n.push(l),s.endLineNumberExclusive<a.endLineNumberExclusive?i++:r++}return new t(n)}getWithDelta(e){return new t(this._normalizedRanges.map(n=>n.delta(e)))}};var ot=class t{static{this.zero=new t(0,0)}static betweenPositions(e,n){return e.lineNumber===n.lineNumber?new t(0,n.column-e.column):new t(n.lineNumber-e.lineNumber,n.column-1)}static fromPosition(e){return new t(e.lineNumber-1,e.column-1)}static ofRange(e){return t.betweenPositions(e.getStartPosition(),e.getEndPosition())}static ofText(e){let n=0,i=0;for(let r of e)r===`
|
|
9
|
-
`?(n++,i=0):i++;return new t(n,i)}constructor(e,n){this.lineCount=e,this.columnCount=n}isGreaterThanOrEqualTo(e){return this.lineCount!==e.lineCount?this.lineCount>e.lineCount:this.columnCount>=e.columnCount}add(e){return e.lineCount===0?new t(this.lineCount,this.columnCount+e.columnCount):new t(this.lineCount+e.lineCount,e.columnCount)}createRange(e){return this.lineCount===0?new
|
|
10
|
-
`&&(this.
|
|
7
|
+
`))}},Dn=class t extends Error{constructor(e,n,i,r,s){super(s?`[${s}] potential listener LEAK detected, ${e}`:`potential listener LEAK detected, ${e}`),this.name="ListenerLeakError",this.kind=e,this.listenerCount=r,this.details=n,this.stack=i}static is(e){return e instanceof t||e instanceof Error&&typeof e.kind=="string"&&typeof e.listenerCount=="number"}},tr=class extends Dn{constructor(e,n,i,r,s){super(e,n,i,r,s),this.name="ListenerRefusalError"}},Gt=class{constructor(e){this.value=e}},uc=2,ce=class{constructor(e){this._size=0,this._options=e,this._options?.leakWarningThreshold&&(this._leakWarningThreshold=this._options?.leakWarningThreshold??oc,this._leakWarningName=this._options?.leakWarningName??na(),this._leakWarningErrorHandler=this._options?.onListenerError??nt),this._perfMon=this._options?._profName?new Ki(this._options._profName):void 0,this._deliveryQueue=this._options?.deliveryQueue}_getLeakageMonitor(){if(!(this._leakWarningThreshold===void 0||this._leakWarningName===void 0||this._leakWarningErrorHandler===void 0))return this._leakageMon??=new er(this._leakWarningErrorHandler,this._leakWarningThreshold,this._leakWarningName)}dispose(){this._disposed||(this._disposed=!0,this._deliveryQueue?.current===this&&this._deliveryQueue.reset(),this._listeners&&(this._listeners=void 0,this._size=0),this._options?.onDidRemoveLastListener?.(),this._leakageMon?.dispose())}get event(){return this._event??=(e,n,i)=>{if(this._leakWarningThreshold!==void 0&&this._size>this._leakWarningThreshold**2){let l=this._getLeakageMonitor();if(l){let o=`[${l.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${l.threshold})`;console.warn(o);let u=l.getMostFrequentStack()??["UNKNOWN stack",-1],h=u[1]/this._size>.3?"dominated":"popular",d=new tr(h,`${o}. HINT: Stack shows most frequent listener (${u[1]}-times)`,u[0],this._size,this._options?.leakWarningName);return(this._options?.onListenerError||nt)(d),ye.None}}if(this._disposed)return ye.None;n&&(e=e.bind(n));let r=new Gt(e),s;if(this._leakWarningThreshold!==void 0&&this._size>=Math.ceil(this._leakWarningThreshold*.2)){let l=this._getLeakageMonitor();l&&(r.stack=Rn.create(),s=l.check(r.stack,this._size+1))}this._listeners?this._listeners instanceof Gt?(this._deliveryQueue??=new nr,this._listeners=[this._listeners,r]):this._listeners.push(r):(this._options?.onWillAddFirstListener?.(this),this._listeners=r,this._options?.onDidAddFirstListener?.(this)),this._options?.onDidAddListener?.(this),this._size++;let a=ze(()=>{s?.(),this._removeListener(r)});return ir(a,i),a},this._event}_removeListener(e){if(this._options?.onWillRemoveListener?.(this),!this._listeners)return;if(this._size===1){this._listeners=void 0,this._options?.onDidRemoveLastListener?.(this),this._size=0;return}let n=this._listeners,i=n.indexOf(e);if(i===-1)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,n[i]=void 0;let r=this._deliveryQueue.current===this;if(this._size*uc<=n.length){let s=0;for(let a=0;a<n.length;a++)n[a]?n[s++]=n[a]:r&&s<this._deliveryQueue.end&&(this._deliveryQueue.end--,s<this._deliveryQueue.i&&this._deliveryQueue.i--);n.length=s}}_deliver(e,n){if(!e)return;let i=this._options?.onListenerError||nt;if(!i){e.value(n);return}try{e.value(n)}catch(r){i(r)}}_deliverQueue(e){let n=e.current._listeners;for(;e.i<e.end;)this._deliver(n[e.i++],e.value);e.reset()}fire(e){if(this._deliveryQueue?.current&&(this._deliverQueue(this._deliveryQueue),this._perfMon?.stop()),this._perfMon?.start(this._size),this._listeners)if(this._listeners instanceof Gt)this._deliver(this._listeners,e);else{let n=this._deliveryQueue;n.enqueue(this,e,this._listeners.length),this._deliverQueue(n)}this._perfMon?.stop()}hasListeners(){return this._size>0}};var nr=class{constructor(){this.i=-1,this.end=0}enqueue(e,n,i){this.i=0,this.end=i,this.current=e,this.value=n}reset(){this.i=this.end,this.current=void 0,this.value=void 0}};function ir(t,e){e instanceof it?e.add(t):Array.isArray(e)&&e.push(t)}function ta(t,e){if(e instanceof it)e.delete(t);else if(Array.isArray(e)){let n=e.indexOf(t);n!==-1&&e.splice(n,1)}t.dispose()}function cc(t){return t}var Mn=class{constructor(e,n){this.lastCache=void 0,this.lastArgKey=void 0,typeof e=="function"?(this._fn=e,this._computeKey=cc):(this._fn=n,this._computeKey=e.getCacheKey)}get(e){let n=this._computeKey(e);return this.lastArgKey!==n&&(this.lastArgKey=n,this.lastCache=this._fn(e)),this.lastCache}};var at;(function(t){t[t.Uninitialized=0]="Uninitialized",t[t.Running=1]="Running",t[t.Completed=2]="Completed"})(at||(at={}));var $e=class{constructor(e){this.executor=e,this._state=at.Uninitialized}get value(){if(this._state===at.Uninitialized){this._state=at.Running;try{this._value=this.executor()}catch(e){this._error=e}finally{this._state=at.Completed}}else if(this._state===at.Running)throw new Error("Cannot read the value of a lazy that is being initialized");if(this._error)throw this._error;return this._value}get rawValue(){return this._value}};function ra(t){return t.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function sa(t){return t.source==="^"||t.source==="^$"||t.source==="$"||t.source==="^\\s*$"?!1:!!(t.exec("")&&t.lastIndex===0)}function aa(t){return t.split(/\r\n|\r|\n/)}function oa(t){for(let e=0,n=t.length;e<n;e++){let i=t.charCodeAt(e);if(i!==32&&i!==9)return e}return-1}function la(t,e=t.length-1){for(let n=e;n>=0;n--){let i=t.charCodeAt(n);if(i!==32&&i!==9)return n}return-1}function rr(t){return t>=65&&t<=90}function Xt(t,e){let n=Math.min(t.length,e.length),i;for(i=0;i<n;i++)if(t.charCodeAt(i)!==e.charCodeAt(i))return i;return n}function Jt(t,e){let n=Math.min(t.length,e.length),i,r=t.length-1,s=e.length-1;for(i=0;i<n;i++)if(t.charCodeAt(r-i)!==e.charCodeAt(s-i))return i;return n}function kt(t){return 55296<=t&&t<=56319}function Nn(t){return 56320<=t&&t<=57343}function sr(t,e){return(t-55296<<10)+(e-56320)+65536}function ua(t,e,n){let i=t.charCodeAt(n);if(kt(i)&&n+1<e){let r=t.charCodeAt(n+1);if(Nn(r))return sr(i,r)}return i}var hc=/^[\t\n\r\x20-\x7E]*$/;function ca(t){return hc.test(t)}var ia=class t{static{this._INSTANCE=null}static getInstance(){return t._INSTANCE||(t._INSTANCE=new t),t._INSTANCE}constructor(){this._data=dc()}getGraphemeBreakType(e){if(e<32)return e===10?3:e===13?2:4;if(e<127)return 0;let n=this._data,i=n.length/3,r=1;for(;r<=i;)if(e<n[3*r])r=2*r;else if(e>n[3*r+1])r=2*r+1;else return n[3*r+2];return 0}};function dc(){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]")}var xt=class t{static{this.ambiguousCharacterData=new $e(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,1523,96,8242,96,1370,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,118002,50,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,118003,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,118004,52,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,118005,53,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,118006,54,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,118007,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,118008,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,118009,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,117974,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,117975,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71913,67,71922,67,65315,67,8557,67,8450,67,8493,67,117976,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,117977,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,117978,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,117979,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,117980,71,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,117981,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,117983,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,117984,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,118001,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,117982,108,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,117985,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,117986,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,117987,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,118000,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,117988,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,117989,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,117990,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,117991,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,117992,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,117993,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,117994,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,117995,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71910,87,71919,87,117996,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,117997,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,117998,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,71909,90,66293,90,65338,90,8484,90,8488,90,117999,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65283,35,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"cs":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"es":[8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"fr":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"it":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"ja":[8211,45,8218,44,65281,33,8216,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65292,44,65297,49,65307,59],"ko":[8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"pt-BR":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"ru":[65374,126,8218,44,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,8218,44,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41,65292,44,65297,49,65307,59,65311,63],"zh-hans":[160,32,65374,126,8218,44,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65297,49],"zh-hant":[8211,45,65374,126,8218,44,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89]}'))}static{this.cache=new Mn(e=>{let n=e.split(",");function i(d){let m=new Map;for(let f=0;f<d.length;f+=2)m.set(d[f],d[f+1]);return m}function r(d,m){let f=new Map(d);for(let[w,p]of m)f.set(w,p);return f}function s(d,m){if(!d)return m;let f=new Map;for(let[w,p]of d)m.has(w)&&f.set(w,p);return f}let a=this.ambiguousCharacterData.value,l=n.filter(d=>!d.startsWith("_")&&Object.hasOwn(a,d));l.length===0&&(l=["_default"]);let o;for(let d of l){let m=i(a[d]);o=s(o,m)}let u=i(a._common),h=r(u,o);return new t(h)})}static getInstance(e){return t.cache.get(Array.from(e).join(","))}static{this._locales=new $e(()=>Object.keys(t.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")))}static getLocales(){return t._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}},Tt=class t{static getRawData(){return JSON.parse('{"_common":[11,12,13,127,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999],"cs":[173,8203,12288],"de":[173,8203,12288],"es":[8203,12288],"fr":[173,8203,12288],"it":[160,173,12288],"ja":[173],"ko":[173,12288],"pl":[173,8203,12288],"pt-BR":[173,8203,12288],"qps-ploc":[160,173,8203,12288],"ru":[173,12288],"tr":[160,173,8203,12288],"zh-hans":[160,173,8203,12288],"zh-hant":[173,12288]}')}static{this._data=void 0}static getData(){return this._data||(this._data=new Set([...Object.values(t.getRawData())].flat())),this._data}static isInvisibleCharacter(e){return t.getData().has(e)}static get codePoints(){return t.getData()}};var ar="default",mc="$initialize";var or=class{constructor(e,n,i,r,s){this.vsWorker=e,this.req=n,this.channel=i,this.method=r,this.args=s,this.type=0}},In=class{constructor(e,n,i,r){this.vsWorker=e,this.seq=n,this.res=i,this.err=r,this.type=1}},lr=class{constructor(e,n,i,r,s){this.vsWorker=e,this.req=n,this.channel=i,this.eventName=r,this.arg=s,this.type=2}},ur=class{constructor(e,n,i){this.vsWorker=e,this.req=n,this.event=i,this.type=3}},cr=class{constructor(e,n){this.vsWorker=e,this.req=n,this.type=4}},hr=class{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}async sendMessage(e,n,i){let r=String(++this._lastSentReq);return new Promise((s,a)=>{this._pendingReplies[r]={resolve:s,reject:a},this._send(new or(this._workerId,r,e,n,i))})}listen(e,n,i){let r=null,s=new ce({onWillAddFirstListener:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,s),this._send(new lr(this._workerId,r,e,n,i))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(r),this._send(new cr(this._workerId,r)),r=null}});return s.event}handleMessage(e){!e||!e.vsWorker||this._workerId!==-1&&e.vsWorker!==this._workerId||this._handleMessage(e)}createProxyToRemoteChannel(e,n){let i={get:(r,s)=>(typeof s=="string"&&!r[s]&&(da(s)?r[s]=a=>this.listen(e,s,a):ha(s)?r[s]=this.listen(e,s,void 0):s.charCodeAt(0)===36&&(r[s]=async(...a)=>(await n?.(),this.sendMessage(e,s,a)))),r[s])};return new Proxy(Object.create(null),i)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let n=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let i=e.err;if(e.err.$isError){let r=new Error;r.name=e.err.name,r.message=e.err.message,r.stack=e.err.stack,i=r}n.reject(i);return}n.resolve(e.res)}_handleRequestMessage(e){let n=e.req;this._handler.handleMessage(e.channel,e.method,e.args).then(r=>{this._send(new In(this._workerId,n,r,void 0))},r=>{r.detail instanceof Error&&(r.detail=Tn(r.detail)),this._send(new In(this._workerId,n,void 0,Tn(r)))})}_handleSubscribeEventMessage(e){let n=e.req,i=this._handler.handleEvent(e.channel,e.eventName,e.arg)(r=>{this._send(new ur(this._workerId,n,r))});this._pendingEvents.set(n,i)}_handleEventMessage(e){let n=this._pendingEmitters.get(e.req);if(n===void 0){console.warn("Got event for unknown req");return}n.fire(e.event)}_handleUnsubscribeEventMessage(e){let n=this._pendingEvents.get(e.req);if(n===void 0){console.warn("Got unsubscribe for unknown req");return}n.dispose(),this._pendingEvents.delete(e.req)}_send(e){let n=[];if(e.type===0)for(let i=0;i<e.args.length;i++){let r=e.args[i];r instanceof ArrayBuffer&&n.push(r)}else e.type===1&&e.res instanceof ArrayBuffer&&n.push(e.res);this._handler.sendMessage(e,n)}};function ha(t){return t[0]==="o"&&t[1]==="n"&&rr(t.charCodeAt(2))}function da(t){return/^onDynamic/.test(t)&&rr(t.charCodeAt(9))}var Pn=class{constructor(e,n){this._localChannels=new Map,this._remoteChannels=new Map,this._protocol=new hr({sendMessage:(i,r)=>{e(i,r)},handleMessage:(i,r,s)=>this._handleMessage(i,r,s),handleEvent:(i,r,s)=>this._handleEvent(i,r,s)}),this.requestHandler=n(this)}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,n,i){if(e===ar&&n===mc)return this.initialize(i[0]);let r=e===ar?this.requestHandler:this._localChannels.get(e);if(!r)return Promise.reject(new Error(`Missing channel ${e} on worker thread`));let s=r[n];if(typeof s!="function")return Promise.reject(new Error(`Missing method ${n} on worker thread channel ${e}`));try{return Promise.resolve(s.apply(r,i))}catch(a){return Promise.reject(a)}}_handleEvent(e,n,i){let r=e===ar?this.requestHandler:this._localChannels.get(e);if(!r)throw new Error(`Missing channel ${e} on worker thread`);if(da(n)){let s=r[n];if(typeof s!="function")throw new Error(`Missing dynamic event ${n} on request handler.`);let a=s.call(r,i);if(typeof a!="function")throw new Error(`Missing dynamic event ${n} on request handler.`);return a}if(ha(n)){let s=r[n];if(typeof s!="function")throw new Error(`Missing event ${n} on request handler.`);return s}throw new Error(`Malformed event name ${n}`)}getChannel(e){let n=this._remoteChannels.get(e);return n===void 0&&(n=this._protocol.createProxyToRemoteChannel(e),this._remoteChannels.set(e,n)),n}async initialize(e){this._protocol.setWorkerId(e)}};var ma=!1;function fa(t){if(ma)throw new Error("WebWorker already initialized!");ma=!0;let e=new Pn(n=>globalThis.postMessage(n),n=>t(n));return globalThis.onmessage=n=>{e.onmessage(n.data)},e}var Se=class{constructor(e,n,i,r){this.originalStart=e,this.originalLength=n,this.modifiedStart=i,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}};var pa=typeof Buffer<"u";new $e(()=>new Uint8Array(256));var dr,zn=class t{static wrap(e){return pa&&!Buffer.isBuffer(e)&&(e=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),new t(e)}constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}toString(){return pa?this.buffer.toString():(dr||(dr=new TextDecoder(void 0,{ignoreBOM:!0})),dr.decode(this.buffer))}};var ga="0123456789abcdef";function ba({buffer:t}){let e="";for(let n=0;n<t.length;n++){let i=t[n];e+=ga[i>>>4],e+=ga[i&15]}return e}function wa(t,e){return(e<<5)-e+t|0}function va(t,e){e=wa(149417,e);for(let n=0,i=t.length;n<i;n++)e=wa(t.charCodeAt(n),e);return e}function mr(t,e,n=32){let i=n-e,r=~((1<<i)-1);return(t<<e|(r&t)>>>i)>>>0}function Qt(t,e=32){return t instanceof ArrayBuffer?ba(zn.wrap(new Uint8Array(t))):(t>>>0).toString(16).padStart(e/4,"0")}var _a=class t{static{this._bigBlock32=new DataView(new ArrayBuffer(320))}constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let n=e.length;if(n===0)return;let i=this._buff,r=this._buffLen,s=this._leftoverHighSurrogate,a,l;for(s!==0?(a=s,l=-1,s=0):(a=e.charCodeAt(0),l=0);;){let o=a;if(kt(a))if(l+1<n){let u=e.charCodeAt(l+1);Nn(u)?(l++,o=sr(a,u)):o=65533}else{s=a;break}else Nn(a)&&(o=65533);if(r=this._push(i,r,o),l++,l<n)a=e.charCodeAt(l);else break}this._buffLen=r,this._leftoverHighSurrogate=s}_push(e,n,i){return i<128?e[n++]=i:i<2048?(e[n++]=192|(i&1984)>>>6,e[n++]=128|(i&63)>>>0):i<65536?(e[n++]=224|(i&61440)>>>12,e[n++]=128|(i&4032)>>>6,e[n++]=128|(i&63)>>>0):(e[n++]=240|(i&1835008)>>>18,e[n++]=128|(i&258048)>>>12,e[n++]=128|(i&4032)>>>6,e[n++]=128|(i&63)>>>0),n>=64&&(this._step(),n-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),n}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),Qt(this._h0)+Qt(this._h1)+Qt(this._h2)+Qt(this._h3)+Qt(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,this._buff.subarray(this._buffLen).fill(0),this._buffLen>56&&(this._step(),this._buff.fill(0));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){let e=t._bigBlock32,n=this._buffDV;for(let d=0;d<64;d+=4)e.setUint32(d,n.getUint32(d,!1),!1);for(let d=64;d<320;d+=4)e.setUint32(d,mr(e.getUint32(d-12,!1)^e.getUint32(d-32,!1)^e.getUint32(d-56,!1)^e.getUint32(d-64,!1),1),!1);let i=this._h0,r=this._h1,s=this._h2,a=this._h3,l=this._h4,o,u,h;for(let d=0;d<80;d++)d<20?(o=r&s|~r&a,u=1518500249):d<40?(o=r^s^a,u=1859775393):d<60?(o=r&s|r&a|s&a,u=2400959708):(o=r^s^a,u=3395469782),h=mr(i,5)+o+l+u+e.getUint32(d*4,!1)&4294967295,l=a,a=s,s=mr(r,30),r=i,i=h;this._h0=this._h0+i&4294967295,this._h1=this._h1+r&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+a&4294967295,this._h4=this._h4+l&4294967295}};var Fn=class{constructor(e){this.source=e}getElements(){let e=this.source,n=new Int32Array(e.length);for(let i=0,r=e.length;i<r;i++)n[i]=e.charCodeAt(i);return n}};function ya(t,e,n){return new Yt(new Fn(t),new Fn(e)).ComputeDiff(n).changes}var Ge=class{static Assert(e,n){if(!e)throw new Error(n)}},Xe=class{static Copy(e,n,i,r,s){for(let a=0;a<s;a++)i[r+a]=e[n+a]}static Copy2(e,n,i,r,s){for(let a=0;a<s;a++)i[r+a]=e[n+a]}},Un=class{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new Se(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++}AddModifiedElement(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}},Yt=class t{constructor(e,n,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=e,this._modifiedSequence=n;let[r,s,a]=t._getElements(e),[l,o,u]=t._getElements(n);this._hasStrings=a&&u,this._originalStringElements=r,this._originalElementsOrHash=s,this._modifiedStringElements=l,this._modifiedElementsOrHash=o,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&typeof e[0]=="string"}static _getElements(e){let n=e.getElements();if(t._isStringArray(n)){let i=new Int32Array(n.length);for(let r=0,s=n.length;r<s;r++)i[r]=va(n[r],0);return[n,i,!0]}return n instanceof Int32Array?[[],n,!1]:[[],new Int32Array(n),!1]}ElementsAreEqual(e,n){return this._originalElementsOrHash[e]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[e]===this._modifiedStringElements[n]:!0}ElementsAreStrictEqual(e,n){if(!this.ElementsAreEqual(e,n))return!1;let i=t._getStrictElement(this._originalSequence,e),r=t._getStrictElement(this._modifiedSequence,n);return i===r}static _getStrictElement(e,n){return typeof e.getStrictElement=="function"?e.getStrictElement(n):null}OriginalElementsAreEqual(e,n){return this._originalElementsOrHash[e]!==this._originalElementsOrHash[n]?!1:this._hasStrings?this._originalStringElements[e]===this._originalStringElements[n]:!0}ModifiedElementsAreEqual(e,n){return this._modifiedElementsOrHash[e]!==this._modifiedElementsOrHash[n]?!1:this._hasStrings?this._modifiedStringElements[e]===this._modifiedStringElements[n]:!0}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,n,i,r,s){let a=[!1],l=this.ComputeDiffRecursive(e,n,i,r,a);return s&&(l=this.PrettifyChanges(l)),{quitEarly:a[0],changes:l}}ComputeDiffRecursive(e,n,i,r,s){for(s[0]=!1;e<=n&&i<=r&&this.ElementsAreEqual(e,i);)e++,i++;for(;n>=e&&r>=i&&this.ElementsAreEqual(n,r);)n--,r--;if(e>n||i>r){let d;return i<=r?(Ge.Assert(e===n+1,"originalStart should only be one more than originalEnd"),d=[new Se(e,0,i,r-i+1)]):e<=n?(Ge.Assert(i===r+1,"modifiedStart should only be one more than modifiedEnd"),d=[new Se(e,n-e+1,i,0)]):(Ge.Assert(e===n+1,"originalStart should only be one more than originalEnd"),Ge.Assert(i===r+1,"modifiedStart should only be one more than modifiedEnd"),d=[]),d}let a=[0],l=[0],o=this.ComputeRecursionPoint(e,n,i,r,a,l,s),u=a[0],h=l[0];if(o!==null)return o;if(!s[0]){let d=this.ComputeDiffRecursive(e,u,i,h,s),m=[];return s[0]?m=[new Se(u+1,n-(u+1)+1,h+1,r-(h+1)+1)]:m=this.ComputeDiffRecursive(u+1,n,h+1,r,s),this.ConcatenateChanges(d,m)}return[new Se(e,n-e+1,i,r-i+1)]}WALKTRACE(e,n,i,r,s,a,l,o,u,h,d,m,f,w,p,x,y,v){let S=null,P=null,z=new Un,H=n,b=i,g=f[0]-x[0]-r,_=-1073741824,N=this.m_forwardHistory.length-1;do{let L=g+e;L===H||L<b&&u[L-1]<u[L+1]?(d=u[L+1],w=d-g-r,d<_&&z.MarkNextChange(),_=d,z.AddModifiedElement(d+1,w),g=L+1-e):(d=u[L-1]+1,w=d-g-r,d<_&&z.MarkNextChange(),_=d-1,z.AddOriginalElement(d,w+1),g=L-1-e),N>=0&&(u=this.m_forwardHistory[N],e=u[0],H=1,b=u.length-1)}while(--N>=-1);if(S=z.getReverseChanges(),v[0]){let L=f[0]+1,T=x[0]+1;if(S!==null&&S.length>0){let R=S[S.length-1];L=Math.max(L,R.getOriginalEnd()),T=Math.max(T,R.getModifiedEnd())}P=[new Se(L,m-L+1,T,p-T+1)]}else{z=new Un,H=a,b=l,g=f[0]-x[0]-o,_=1073741824,N=y?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let L=g+s;L===H||L<b&&h[L-1]>=h[L+1]?(d=h[L+1]-1,w=d-g-o,d>_&&z.MarkNextChange(),_=d+1,z.AddOriginalElement(d+1,w+1),g=L+1-s):(d=h[L-1],w=d-g-o,d>_&&z.MarkNextChange(),_=d,z.AddModifiedElement(d+1,w+1),g=L-1-s),N>=0&&(h=this.m_reverseHistory[N],s=h[0],H=1,b=h.length-1)}while(--N>=-1);P=z.getChanges()}return this.ConcatenateChanges(S,P)}ComputeRecursionPoint(e,n,i,r,s,a,l){let o=0,u=0,h=0,d=0,m=0,f=0;e--,i--,s[0]=0,a[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let w=n-e+(r-i),p=w+1,x=new Int32Array(p),y=new Int32Array(p),v=r-i,S=n-e,P=e-i,z=n-r,b=(S-v)%2===0;x[v]=e,y[S]=n,l[0]=!1;for(let g=1;g<=w/2+1;g++){let _=0,N=0;h=this.ClipDiagonalBound(v-g,g,v,p),d=this.ClipDiagonalBound(v+g,g,v,p);for(let T=h;T<=d;T+=2){T===h||T<d&&x[T-1]<x[T+1]?o=x[T+1]:o=x[T-1]+1,u=o-(T-v)-P;let R=o;for(;o<n&&u<r&&this.ElementsAreEqual(o+1,u+1);)o++,u++;if(x[T]=o,o+u>_+N&&(_=o,N=u),!b&&Math.abs(T-S)<=g-1&&o>=y[T])return s[0]=o,a[0]=u,R<=y[T]&&g<=1448?this.WALKTRACE(v,h,d,P,S,m,f,z,x,y,o,n,s,u,r,a,b,l):null}let L=(_-e+(N-i)-g)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(_,L))return l[0]=!0,s[0]=_,a[0]=N,L>0&&g<=1448?this.WALKTRACE(v,h,d,P,S,m,f,z,x,y,o,n,s,u,r,a,b,l):(e++,i++,[new Se(e,n-e+1,i,r-i+1)]);m=this.ClipDiagonalBound(S-g,g,S,p),f=this.ClipDiagonalBound(S+g,g,S,p);for(let T=m;T<=f;T+=2){T===m||T<f&&y[T-1]>=y[T+1]?o=y[T+1]-1:o=y[T-1],u=o-(T-S)-z;let R=o;for(;o>e&&u>i&&this.ElementsAreEqual(o,u);)o--,u--;if(y[T]=o,b&&Math.abs(T-v)<=g&&o<=x[T])return s[0]=o,a[0]=u,R>=x[T]&&g<=1448?this.WALKTRACE(v,h,d,P,S,m,f,z,x,y,o,n,s,u,r,a,b,l):null}if(g<=1447){let T=new Int32Array(d-h+2);T[0]=v-h+1,Xe.Copy2(x,h,T,1,d-h+1),this.m_forwardHistory.push(T),T=new Int32Array(f-m+2),T[0]=S-m+1,Xe.Copy2(y,m,T,1,f-m+1),this.m_reverseHistory.push(T)}}return this.WALKTRACE(v,h,d,P,S,m,f,z,x,y,o,n,s,u,r,a,b,l)}PrettifyChanges(e){for(let n=0;n<e.length;n++){let i=e[n],r=n<e.length-1?e[n+1].originalStart:this._originalElementsOrHash.length,s=n<e.length-1?e[n+1].modifiedStart:this._modifiedElementsOrHash.length,a=i.originalLength>0,l=i.modifiedLength>0;for(;i.originalStart+i.originalLength<r&&i.modifiedStart+i.modifiedLength<s&&(!a||this.OriginalElementsAreEqual(i.originalStart,i.originalStart+i.originalLength))&&(!l||this.ModifiedElementsAreEqual(i.modifiedStart,i.modifiedStart+i.modifiedLength));){let u=this.ElementsAreStrictEqual(i.originalStart,i.modifiedStart);if(this.ElementsAreStrictEqual(i.originalStart+i.originalLength,i.modifiedStart+i.modifiedLength)&&!u)break;i.originalStart++,i.modifiedStart++}let o=[null];if(n<e.length-1&&this.ChangesOverlap(e[n],e[n+1],o)){e[n]=o[0],e.splice(n+1,1),n--;continue}}for(let n=e.length-1;n>=0;n--){let i=e[n],r=0,s=0;if(n>0){let d=e[n-1];r=d.originalStart+d.originalLength,s=d.modifiedStart+d.modifiedLength}let a=i.originalLength>0,l=i.modifiedLength>0,o=0,u=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let d=1;;d++){let m=i.originalStart-d,f=i.modifiedStart-d;if(m<r||f<s||a&&!this.OriginalElementsAreEqual(m,m+i.originalLength)||l&&!this.ModifiedElementsAreEqual(f,f+i.modifiedLength))break;let p=(m===r&&f===s?5:0)+this._boundaryScore(m,i.originalLength,f,i.modifiedLength);p>u&&(u=p,o=d)}i.originalStart-=o,i.modifiedStart-=o;let h=[null];if(n>0&&this.ChangesOverlap(e[n-1],e[n],h)){e[n-1]=h[0],e.splice(n,1),n++;continue}}if(this._hasStrings)for(let n=1,i=e.length;n<i;n++){let r=e[n-1],s=e[n],a=s.originalStart-r.originalStart-r.originalLength,l=r.originalStart,o=s.originalStart+s.originalLength,u=o-l,h=r.modifiedStart,d=s.modifiedStart+s.modifiedLength,m=d-h;if(a<5&&u<20&&m<20){let f=this._findBetterContiguousSequence(l,u,h,m,a);if(f){let[w,p]=f;(w!==r.originalStart+r.originalLength||p!==r.modifiedStart+r.modifiedLength)&&(r.originalLength=w-r.originalStart,r.modifiedLength=p-r.modifiedStart,s.originalStart=w+a,s.modifiedStart=p+a,s.originalLength=o-s.originalStart,s.modifiedLength=d-s.modifiedStart)}}}return e}_findBetterContiguousSequence(e,n,i,r,s){if(n<s||r<s)return null;let a=e+n-s+1,l=i+r-s+1,o=0,u=0,h=0;for(let d=e;d<a;d++)for(let m=i;m<l;m++){let f=this._contiguousSequenceScore(d,m,s);f>0&&f>o&&(o=f,u=d,h=m)}return o>0?[u,h]:null}_contiguousSequenceScore(e,n,i){let r=0;for(let s=0;s<i;s++){if(!this.ElementsAreEqual(e+s,n+s))return 0;r+=this._originalStringElements[e+s].length}return r}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,n){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(n>0){let i=e+n;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,n){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(n>0){let i=e+n;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(e,n,i,r){let s=this._OriginalRegionIsBoundary(e,n)?1:0,a=this._ModifiedRegionIsBoundary(i,r)?1:0;return s+a}ConcatenateChanges(e,n){let i=[];if(e.length===0||n.length===0)return n.length>0?n:e;if(this.ChangesOverlap(e[e.length-1],n[0],i)){let r=new Array(e.length+n.length-1);return Xe.Copy(e,0,r,0,e.length-1),r[e.length-1]=i[0],Xe.Copy(n,1,r,e.length,n.length-1),r}else{let r=new Array(e.length+n.length);return Xe.Copy(e,0,r,0,e.length),Xe.Copy(n,0,r,e.length,n.length),r}}ChangesOverlap(e,n,i){if(Ge.Assert(e.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),Ge.Assert(e.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=n.originalStart||e.modifiedStart+e.modifiedLength>=n.modifiedStart){let r=e.originalStart,s=e.originalLength,a=e.modifiedStart,l=e.modifiedLength;return e.originalStart+e.originalLength>=n.originalStart&&(s=n.originalStart+n.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=n.modifiedStart&&(l=n.modifiedStart+n.modifiedLength-e.modifiedStart),i[0]=new Se(r,s,a,l),!0}else return i[0]=null,!1}ClipDiagonalBound(e,n,i,r){if(e>=0&&e<r)return e;let s=i,a=r-i-1,l=n%2===0;if(e<0){let o=s%2===0;return l===o?0:1}else{let o=a%2===0;return l===o?r-1:r-2}}};var G=class t{constructor(e,n){this.lineNumber=e,this.column=n}with(e=this.lineNumber,n=this.column){return e===this.lineNumber&&n===this.column?this:new t(e,n)}delta(e=0,n=0){return this.with(Math.max(1,this.lineNumber+e),Math.max(1,this.column+n))}equals(e){return t.equals(this,e)}static equals(e,n){return!e&&!n?!0:!!e&&!!n&&e.lineNumber===n.lineNumber&&e.column===n.column}isBefore(e){return t.isBefore(this,e)}static isBefore(e,n){return e.lineNumber<n.lineNumber?!0:n.lineNumber<e.lineNumber?!1:e.column<n.column}isBeforeOrEqual(e){return t.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,n){return e.lineNumber<n.lineNumber?!0:n.lineNumber<e.lineNumber?!1:e.column<=n.column}static compare(e,n){let i=e.lineNumber|0,r=n.lineNumber|0;if(i===r){let s=e.column|0,a=n.column|0;return s-a}return i-r}clone(){return new t(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new t(e.lineNumber,e.column)}static isIPosition(e){return!!e&&typeof e.lineNumber=="number"&&typeof e.column=="number"}toJSON(){return{lineNumber:this.lineNumber,column:this.column}}};var O=class t{constructor(e,n,i,r){e>i||e===i&&n>r?(this.startLineNumber=i,this.startColumn=r,this.endLineNumber=e,this.endColumn=n):(this.startLineNumber=e,this.startColumn=n,this.endLineNumber=i,this.endColumn=r)}isEmpty(){return t.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return t.containsPosition(this,e)}static containsPosition(e,n){return!(n.lineNumber<e.startLineNumber||n.lineNumber>e.endLineNumber||n.lineNumber===e.startLineNumber&&n.column<e.startColumn||n.lineNumber===e.endLineNumber&&n.column>e.endColumn)}static strictContainsPosition(e,n){return!(n.lineNumber<e.startLineNumber||n.lineNumber>e.endLineNumber||n.lineNumber===e.startLineNumber&&n.column<=e.startColumn||n.lineNumber===e.endLineNumber&&n.column>=e.endColumn)}containsRange(e){return t.containsRange(this,e)}static containsRange(e,n){return!(n.startLineNumber<e.startLineNumber||n.endLineNumber<e.startLineNumber||n.startLineNumber>e.endLineNumber||n.endLineNumber>e.endLineNumber||n.startLineNumber===e.startLineNumber&&n.startColumn<e.startColumn||n.endLineNumber===e.endLineNumber&&n.endColumn>e.endColumn)}strictContainsRange(e){return t.strictContainsRange(this,e)}static strictContainsRange(e,n){return!(n.startLineNumber<e.startLineNumber||n.endLineNumber<e.startLineNumber||n.startLineNumber>e.endLineNumber||n.endLineNumber>e.endLineNumber||n.startLineNumber===e.startLineNumber&&n.startColumn<=e.startColumn||n.endLineNumber===e.endLineNumber&&n.endColumn>=e.endColumn)}plusRange(e){return t.plusRange(this,e)}static plusRange(e,n){let i,r,s,a;return n.startLineNumber<e.startLineNumber?(i=n.startLineNumber,r=n.startColumn):n.startLineNumber===e.startLineNumber?(i=n.startLineNumber,r=Math.min(n.startColumn,e.startColumn)):(i=e.startLineNumber,r=e.startColumn),n.endLineNumber>e.endLineNumber?(s=n.endLineNumber,a=n.endColumn):n.endLineNumber===e.endLineNumber?(s=n.endLineNumber,a=Math.max(n.endColumn,e.endColumn)):(s=e.endLineNumber,a=e.endColumn),new t(i,r,s,a)}intersectRanges(e){return t.intersectRanges(this,e)}static intersectRanges(e,n){let i=e.startLineNumber,r=e.startColumn,s=e.endLineNumber,a=e.endColumn,l=n.startLineNumber,o=n.startColumn,u=n.endLineNumber,h=n.endColumn;return i<l?(i=l,r=o):i===l&&(r=Math.max(r,o)),s>u?(s=u,a=h):s===u&&(a=Math.min(a,h)),i>s||i===s&&r>a?null:new t(i,r,s,a)}equalsRange(e){return t.equalsRange(this,e)}static equalsRange(e,n){return!e&&!n?!0:!!e&&!!n&&e.startLineNumber===n.startLineNumber&&e.startColumn===n.startColumn&&e.endLineNumber===n.endLineNumber&&e.endColumn===n.endColumn}getEndPosition(){return t.getEndPosition(this)}static getEndPosition(e){return new G(e.endLineNumber,e.endColumn)}getStartPosition(){return t.getStartPosition(this)}static getStartPosition(e){return new G(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,n){return new t(this.startLineNumber,this.startColumn,e,n)}setStartPosition(e,n){return new t(e,n,this.endLineNumber,this.endColumn)}collapseToStart(){return t.collapseToStart(this)}static collapseToStart(e){return new t(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return t.collapseToEnd(this)}static collapseToEnd(e){return new t(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new t(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}isSingleLine(){return this.startLineNumber===this.endLineNumber}static fromPositions(e,n=e){return new t(e.lineNumber,e.column,n.lineNumber,n.column)}static lift(e){return e?new t(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return!!e&&typeof e.startLineNumber=="number"&&typeof e.startColumn=="number"&&typeof e.endLineNumber=="number"&&typeof e.endColumn=="number"}static areIntersectingOrTouching(e,n){return!(e.endLineNumber<n.startLineNumber||e.endLineNumber===n.startLineNumber&&e.endColumn<n.startColumn||n.endLineNumber<e.startLineNumber||n.endLineNumber===e.startLineNumber&&n.endColumn<e.startColumn)}static areIntersecting(e,n){return!(e.endLineNumber<n.startLineNumber||e.endLineNumber===n.startLineNumber&&e.endColumn<=n.startColumn||n.endLineNumber<e.startLineNumber||n.endLineNumber===e.startLineNumber&&n.endColumn<=e.startColumn)}static areOnlyIntersecting(e,n){return!(e.endLineNumber<n.startLineNumber-1||e.endLineNumber===n.startLineNumber&&e.endColumn<n.startColumn-1||n.endLineNumber<e.startLineNumber-1||n.endLineNumber===e.startLineNumber&&n.endColumn<e.startColumn-1)}static compareRangesUsingStarts(e,n){if(e&&n){let s=e.startLineNumber|0,a=n.startLineNumber|0;if(s===a){let l=e.startColumn|0,o=n.startColumn|0;if(l===o){let u=e.endLineNumber|0,h=n.endLineNumber|0;if(u===h){let d=e.endColumn|0,m=n.endColumn|0;return d-m}return u-h}return l-o}return s-a}return(e?1:0)-(n?1:0)}static compareRangesUsingEnds(e,n){return e.endLineNumber===n.endLineNumber?e.endColumn===n.endColumn?e.startLineNumber===n.startLineNumber?e.startColumn-n.startColumn:e.startLineNumber-n.startLineNumber:e.endColumn-n.endColumn:e.endLineNumber-n.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}toJSON(){return this}};function fr(t){return t<0?0:t>255?255:t|0}function ot(t){return t<0?0:t>4294967295?4294967295:t|0}var Zt=class t{constructor(e){let n=fr(e);this._defaultValue=n,this._asciiMap=t._createAsciiMap(n),this._map=new Map}static _createAsciiMap(e){let n=new Uint8Array(256);return n.fill(e),n}set(e,n){let i=fr(n);e>=0&&e<256?this._asciiMap[e]=i:this._map.set(e,i)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}};var gr=class{constructor(e,n,i){let r=new Uint8Array(e*n);for(let s=0,a=e*n;s<a;s++)r[s]=i;this._data=r,this.rows=e,this.cols=n}get(e,n){return this._data[e*this.cols+n]}set(e,n,i){this._data[e*this.cols+n]=i}},br=class{constructor(e){let n=0,i=0;for(let s=0,a=e.length;s<a;s++){let[l,o,u]=e[s];o>n&&(n=o),l>i&&(i=l),u>i&&(i=u)}n++,i++;let r=new gr(i,n,0);for(let s=0,a=e.length;s<a;s++){let[l,o,u]=e[s];r.set(l,o,u)}this._states=r,this._maxCharCode=n}nextState(e,n){return n<0||n>=this._maxCharCode?0:this._states.get(e,n)}},pr=null;function fc(){return pr===null&&(pr=new br([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),pr}var Kt=null;function pc(){if(Kt===null){Kt=new Zt(0);let t=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026|`;for(let n=0;n<t.length;n++)Kt.set(t.charCodeAt(n),1);let e=".,;:";for(let n=0;n<e.length;n++)Kt.set(e.charCodeAt(n),2)}return Kt}var wr=class t{static _createLink(e,n,i,r,s){let a=s-1;do{let l=n.charCodeAt(a);if(e.get(l)!==2)break;a--}while(a>r);if(r>0){let l=n.charCodeAt(r-1),o=n.charCodeAt(a);(l===40&&o===41||l===91&&o===93||l===123&&o===125)&&a--}return{range:{startLineNumber:i,startColumn:r+1,endLineNumber:i,endColumn:a+2},url:n.substring(r,a+1)}}static computeLinks(e,n=fc()){let i=pc(),r=[];for(let s=1,a=e.getLineCount();s<=a;s++){let l=e.getLineContent(s),o=l.length,u=0,h=0,d=0,m=1,f=!1,w=!1,p=!1,x=!1;for(;u<o;){let y=!1,v=l.charCodeAt(u);if(m===13){let S;switch(v){case 40:f=!0,S=0;break;case 41:S=f?0:1;break;case 91:p=!0,w=!0,S=0;break;case 93:p=!1,S=w?0:1;break;case 123:x=!0,S=0;break;case 125:S=x?0:1;break;case 39:case 34:case 96:d===v?S=1:d===39||d===34||d===96?S=0:S=1;break;case 42:S=d===42?1:0;break;case 32:S=p?0:1;break;default:S=i.get(v)}S===1&&(r.push(t._createLink(i,l,s,h,u)),y=!0)}else if(m===12){let S;v===91?(w=!0,S=0):S=i.get(v),S===1?y=!0:m=13}else m=n.nextState(m,v),m===0&&(y=!0);y&&(m=1,f=!1,w=!1,x=!1,h=u+1,d=v),u++}m===13&&r.push(t._createLink(i,l,s,h,o))}return r}};function xa(t){return!t||typeof t.getLineCount!="function"||typeof t.getLineContent!="function"?[]:wr.computeLinks(t)}var Wn=class t{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}static{this.INSTANCE=new t}navigateValueSet(e,n,i,r,s){if(e&&n){let a=this.doNavigateValueSet(n,s);if(a)return{range:e,value:a}}if(i&&r){let a=this.doNavigateValueSet(r,s);if(a)return{range:i,value:a}}return null}doNavigateValueSet(e,n){let i=this.numberReplace(e,n);return i!==null?i:this.textReplace(e,n)}numberReplace(e,n){let i=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),r=Number(e),s=parseFloat(e);return!isNaN(r)&&!isNaN(s)&&r===s?r===0&&!n?null:(r=Math.floor(r*i),r+=n?i:-i,String(r/i)):null}textReplace(e,n){return this.valueSetsReplace(this._defaultValueSet,e,n)}valueSetsReplace(e,n,i){let r=null;for(let s=0,a=e.length;r===null&&s<a;s++)r=this.valueSetReplace(e[s],n,i);return r}valueSetReplace(e,n,i){let r=e.indexOf(n);return r>=0?(r+=i?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}};var Ta=Object.freeze(function(t,e){let n=setTimeout(t.bind(e),0);return{dispose(){clearTimeout(n)}}}),Hn;(function(t){function e(n){return n===t.None||n===t.Cancelled||n instanceof St?!0:!n||typeof n!="object"?!1:typeof n.isCancellationRequested=="boolean"&&typeof n.onCancellationRequested=="function"}t.isCancellationToken=e,t.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:En.None}),t.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Ta})})(Hn||(Hn={}));var St=class{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?Ta:(this._emitter||(this._emitter=new ce),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}},en=class{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new St),this._token}cancel(){this._token?this._token instanceof St&&this._token.cancel():this._token=Hn.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener?.dispose(),this._token?this._token instanceof St&&this._token.dispose():this._token=Hn.None}};var tn=class{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,n){this._keyCodeToStr[e]=n,this._strToKeyCode[n.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}},Bn=new tn,_r=new tn,vr=new tn,gc=new Array(230),bc=Object.create(null),wc=Object.create(null),Sa=[];for(let t=0;t<=193;t++)Sa[t]=-1;(function(){let e=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN","",""],[1,1,"Hyper",0,"",0,"","",""],[1,2,"Super",0,"",0,"","",""],[1,3,"Fn",0,"",0,"","",""],[1,4,"FnLock",0,"",0,"","",""],[1,5,"Suspend",0,"",0,"","",""],[1,6,"Resume",0,"",0,"","",""],[1,7,"Turbo",0,"",0,"","",""],[1,8,"Sleep",0,"",0,"VK_SLEEP","",""],[1,9,"WakeUp",0,"",0,"","",""],[0,10,"KeyA",31,"A",65,"VK_A","",""],[0,11,"KeyB",32,"B",66,"VK_B","",""],[0,12,"KeyC",33,"C",67,"VK_C","",""],[0,13,"KeyD",34,"D",68,"VK_D","",""],[0,14,"KeyE",35,"E",69,"VK_E","",""],[0,15,"KeyF",36,"F",70,"VK_F","",""],[0,16,"KeyG",37,"G",71,"VK_G","",""],[0,17,"KeyH",38,"H",72,"VK_H","",""],[0,18,"KeyI",39,"I",73,"VK_I","",""],[0,19,"KeyJ",40,"J",74,"VK_J","",""],[0,20,"KeyK",41,"K",75,"VK_K","",""],[0,21,"KeyL",42,"L",76,"VK_L","",""],[0,22,"KeyM",43,"M",77,"VK_M","",""],[0,23,"KeyN",44,"N",78,"VK_N","",""],[0,24,"KeyO",45,"O",79,"VK_O","",""],[0,25,"KeyP",46,"P",80,"VK_P","",""],[0,26,"KeyQ",47,"Q",81,"VK_Q","",""],[0,27,"KeyR",48,"R",82,"VK_R","",""],[0,28,"KeyS",49,"S",83,"VK_S","",""],[0,29,"KeyT",50,"T",84,"VK_T","",""],[0,30,"KeyU",51,"U",85,"VK_U","",""],[0,31,"KeyV",52,"V",86,"VK_V","",""],[0,32,"KeyW",53,"W",87,"VK_W","",""],[0,33,"KeyX",54,"X",88,"VK_X","",""],[0,34,"KeyY",55,"Y",89,"VK_Y","",""],[0,35,"KeyZ",56,"Z",90,"VK_Z","",""],[0,36,"Digit1",22,"1",49,"VK_1","",""],[0,37,"Digit2",23,"2",50,"VK_2","",""],[0,38,"Digit3",24,"3",51,"VK_3","",""],[0,39,"Digit4",25,"4",52,"VK_4","",""],[0,40,"Digit5",26,"5",53,"VK_5","",""],[0,41,"Digit6",27,"6",54,"VK_6","",""],[0,42,"Digit7",28,"7",55,"VK_7","",""],[0,43,"Digit8",29,"8",56,"VK_8","",""],[0,44,"Digit9",30,"9",57,"VK_9","",""],[0,45,"Digit0",21,"0",48,"VK_0","",""],[1,46,"Enter",3,"Enter",13,"VK_RETURN","",""],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE","",""],[1,48,"Backspace",1,"Backspace",8,"VK_BACK","",""],[1,49,"Tab",2,"Tab",9,"VK_TAB","",""],[1,50,"Space",10,"Space",32,"VK_SPACE","",""],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,"",0,"","",""],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL","",""],[1,64,"F1",59,"F1",112,"VK_F1","",""],[1,65,"F2",60,"F2",113,"VK_F2","",""],[1,66,"F3",61,"F3",114,"VK_F3","",""],[1,67,"F4",62,"F4",115,"VK_F4","",""],[1,68,"F5",63,"F5",116,"VK_F5","",""],[1,69,"F6",64,"F6",117,"VK_F6","",""],[1,70,"F7",65,"F7",118,"VK_F7","",""],[1,71,"F8",66,"F8",119,"VK_F8","",""],[1,72,"F9",67,"F9",120,"VK_F9","",""],[1,73,"F10",68,"F10",121,"VK_F10","",""],[1,74,"F11",69,"F11",122,"VK_F11","",""],[1,75,"F12",70,"F12",123,"VK_F12","",""],[1,76,"PrintScreen",0,"",0,"","",""],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL","",""],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE","",""],[1,79,"Insert",19,"Insert",45,"VK_INSERT","",""],[1,80,"Home",14,"Home",36,"VK_HOME","",""],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR","",""],[1,82,"Delete",20,"Del",46,"VK_DELETE","Delete",""],[1,83,"End",13,"End",35,"VK_END","",""],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT","",""],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",""],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",""],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",""],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",""],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK","",""],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE","",""],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY","",""],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT","",""],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD","",""],[1,94,"NumpadEnter",3,"",0,"","",""],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1","",""],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2","",""],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3","",""],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4","",""],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5","",""],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6","",""],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7","",""],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8","",""],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9","",""],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0","",""],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL","",""],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102","",""],[1,107,"ContextMenu",58,"ContextMenu",93,"","",""],[1,108,"Power",0,"",0,"","",""],[1,109,"NumpadEqual",0,"",0,"","",""],[1,110,"F13",71,"F13",124,"VK_F13","",""],[1,111,"F14",72,"F14",125,"VK_F14","",""],[1,112,"F15",73,"F15",126,"VK_F15","",""],[1,113,"F16",74,"F16",127,"VK_F16","",""],[1,114,"F17",75,"F17",128,"VK_F17","",""],[1,115,"F18",76,"F18",129,"VK_F18","",""],[1,116,"F19",77,"F19",130,"VK_F19","",""],[1,117,"F20",78,"F20",131,"VK_F20","",""],[1,118,"F21",79,"F21",132,"VK_F21","",""],[1,119,"F22",80,"F22",133,"VK_F22","",""],[1,120,"F23",81,"F23",134,"VK_F23","",""],[1,121,"F24",82,"F24",135,"VK_F24","",""],[1,122,"Open",0,"",0,"","",""],[1,123,"Help",0,"",0,"","",""],[1,124,"Select",0,"",0,"","",""],[1,125,"Again",0,"",0,"","",""],[1,126,"Undo",0,"",0,"","",""],[1,127,"Cut",0,"",0,"","",""],[1,128,"Copy",0,"",0,"","",""],[1,129,"Paste",0,"",0,"","",""],[1,130,"Find",0,"",0,"","",""],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE","",""],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP","",""],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN","",""],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR","",""],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1","",""],[1,136,"KanaMode",0,"",0,"","",""],[0,137,"IntlYen",0,"",0,"","",""],[1,138,"Convert",0,"",0,"","",""],[1,139,"NonConvert",0,"",0,"","",""],[1,140,"Lang1",0,"",0,"","",""],[1,141,"Lang2",0,"",0,"","",""],[1,142,"Lang3",0,"",0,"","",""],[1,143,"Lang4",0,"",0,"","",""],[1,144,"Lang5",0,"",0,"","",""],[1,145,"Abort",0,"",0,"","",""],[1,146,"Props",0,"",0,"","",""],[1,147,"NumpadParenLeft",0,"",0,"","",""],[1,148,"NumpadParenRight",0,"",0,"","",""],[1,149,"NumpadBackspace",0,"",0,"","",""],[1,150,"NumpadMemoryStore",0,"",0,"","",""],[1,151,"NumpadMemoryRecall",0,"",0,"","",""],[1,152,"NumpadMemoryClear",0,"",0,"","",""],[1,153,"NumpadMemoryAdd",0,"",0,"","",""],[1,154,"NumpadMemorySubtract",0,"",0,"","",""],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR","",""],[1,156,"NumpadClearEntry",0,"",0,"","",""],[1,0,"",5,"Ctrl",17,"VK_CONTROL","",""],[1,0,"",4,"Shift",16,"VK_SHIFT","",""],[1,0,"",6,"Alt",18,"VK_MENU","",""],[1,0,"",57,"Meta",91,"VK_COMMAND","",""],[1,157,"ControlLeft",5,"",0,"VK_LCONTROL","",""],[1,158,"ShiftLeft",4,"",0,"VK_LSHIFT","",""],[1,159,"AltLeft",6,"",0,"VK_LMENU","",""],[1,160,"MetaLeft",57,"",0,"VK_LWIN","",""],[1,161,"ControlRight",5,"",0,"VK_RCONTROL","",""],[1,162,"ShiftRight",4,"",0,"VK_RSHIFT","",""],[1,163,"AltRight",6,"",0,"VK_RMENU","",""],[1,164,"MetaRight",57,"",0,"VK_RWIN","",""],[1,165,"BrightnessUp",0,"",0,"","",""],[1,166,"BrightnessDown",0,"",0,"","",""],[1,167,"MediaPlay",0,"",0,"","",""],[1,168,"MediaRecord",0,"",0,"","",""],[1,169,"MediaFastForward",0,"",0,"","",""],[1,170,"MediaRewind",0,"",0,"","",""],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK","",""],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK","",""],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP","",""],[1,174,"Eject",0,"",0,"","",""],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE","",""],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT","",""],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL","",""],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2","",""],[1,179,"LaunchApp1",0,"",0,"VK_MEDIA_LAUNCH_APP1","",""],[1,180,"SelectTask",0,"",0,"","",""],[1,181,"LaunchScreenSaver",0,"",0,"","",""],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH","",""],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME","",""],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK","",""],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD","",""],[1,186,"BrowserStop",0,"",0,"VK_BROWSER_STOP","",""],[1,187,"BrowserRefresh",0,"",0,"VK_BROWSER_REFRESH","",""],[1,188,"BrowserFavorites",0,"",0,"VK_BROWSER_FAVORITES","",""],[1,189,"ZoomToggle",0,"",0,"","",""],[1,190,"MailReply",0,"",0,"","",""],[1,191,"MailForward",0,"",0,"","",""],[1,192,"MailSend",0,"",0,"","",""],[1,0,"",114,"KeyInComposition",229,"","",""],[1,0,"",116,"ABNT_C2",194,"VK_ABNT_C2","",""],[1,0,"",96,"OEM_8",223,"VK_OEM_8","",""],[1,0,"",0,"",0,"VK_KANA","",""],[1,0,"",0,"",0,"VK_HANGUL","",""],[1,0,"",0,"",0,"VK_JUNJA","",""],[1,0,"",0,"",0,"VK_FINAL","",""],[1,0,"",0,"",0,"VK_HANJA","",""],[1,0,"",0,"",0,"VK_KANJI","",""],[1,0,"",0,"",0,"VK_CONVERT","",""],[1,0,"",0,"",0,"VK_NONCONVERT","",""],[1,0,"",0,"",0,"VK_ACCEPT","",""],[1,0,"",0,"",0,"VK_MODECHANGE","",""],[1,0,"",0,"",0,"VK_SELECT","",""],[1,0,"",0,"",0,"VK_PRINT","",""],[1,0,"",0,"",0,"VK_EXECUTE","",""],[1,0,"",0,"",0,"VK_SNAPSHOT","",""],[1,0,"",0,"",0,"VK_HELP","",""],[1,0,"",0,"",0,"VK_APPS","",""],[1,0,"",0,"",0,"VK_PROCESSKEY","",""],[1,0,"",0,"",0,"VK_PACKET","",""],[1,0,"",0,"",0,"VK_DBE_SBCSCHAR","",""],[1,0,"",0,"",0,"VK_DBE_DBCSCHAR","",""],[1,0,"",0,"",0,"VK_ATTN","",""],[1,0,"",0,"",0,"VK_CRSEL","",""],[1,0,"",0,"",0,"VK_EXSEL","",""],[1,0,"",0,"",0,"VK_EREOF","",""],[1,0,"",0,"",0,"VK_PLAY","",""],[1,0,"",0,"",0,"VK_ZOOM","",""],[1,0,"",0,"",0,"VK_NONAME","",""],[1,0,"",0,"",0,"VK_PA1","",""],[1,0,"",0,"",0,"VK_OEM_CLEAR","",""]],n=[],i=[];for(let r of e){let[s,a,l,o,u,h,d,m,f]=r;if(i[a]||(i[a]=!0,bc[l]=a,wc[l.toLowerCase()]=a,s&&(Sa[a]=o)),!n[o]){if(n[o]=!0,!u)throw new Error(`String representation missing for key code ${o} around scan code ${l}`);Bn.define(o,u),_r.define(o,m||u),vr.define(o,f||m||u)}h&&(gc[h]=o)}})();var ka;(function(t){function e(l){return Bn.keyCodeToStr(l)}t.toString=e;function n(l){return Bn.strToKeyCode(l)}t.fromString=n;function i(l){return _r.keyCodeToStr(l)}t.toUserSettingsUS=i;function r(l){return vr.keyCodeToStr(l)}t.toUserSettingsGeneral=r;function s(l){return _r.strToKeyCode(l)||vr.strToKeyCode(l)}t.fromUserSettings=s;function a(l){if(l>=98&&l<=113)return null;switch(l){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right";case 20:return"Delete"}return Bn.keyCodeToStr(l)}t.toElectronAccelerator=a})(ka||(ka={}));function La(t,e){let n=(e&65535)<<16>>>0;return(t|n)>>>0}var _c=65,vc=97,yc=90,xc=122,lt=46,le=47,be=92,Ue=58,Tc=63,On=class extends Error{constructor(e,n,i){let r;typeof n=="string"&&n.indexOf("not ")===0?(r="must not be",n=n.replace(/^not /,"")):r="must be";let s=e.indexOf(".")!==-1?"property":"argument",a=`The "${e}" ${s} ${r} of type ${n}`;a+=`. Received type ${typeof i}`,super(a),this.code="ERR_INVALID_ARG_TYPE"}};function kc(t,e){if(t===null||typeof t!="object")throw new On(e,"Object",t)}function re(t,e){if(typeof t!="string")throw new On(e,"string",t)}var He=Zs==="win32";function Q(t){return t===le||t===be}function yr(t){return t===le}function We(t){return t>=_c&&t<=yc||t>=vc&&t<=xc}function qn(t,e,n,i){let r="",s=0,a=-1,l=0,o=0;for(let u=0;u<=t.length;++u){if(u<t.length)o=t.charCodeAt(u);else{if(i(o))break;o=le}if(i(o)){if(!(a===u-1||l===1))if(l===2){if(r.length<2||s!==2||r.charCodeAt(r.length-1)!==lt||r.charCodeAt(r.length-2)!==lt){if(r.length>2){let h=r.lastIndexOf(n);h===-1?(r="",s=0):(r=r.slice(0,h),s=r.length-1-r.lastIndexOf(n)),a=u,l=0;continue}else if(r.length!==0){r="",s=0,a=u,l=0;continue}}e&&(r+=r.length>0?`${n}..`:"..",s=2)}else r.length>0?r+=`${n}${t.slice(a+1,u)}`:r=t.slice(a+1,u),s=u-a-1;a=u,l=0}else o===lt&&l!==-1?++l:l=-1}return r}function Sc(t){return t?`${t[0]==="."?"":"."}${t}`:""}function Aa(t,e){kc(e,"pathObject");let n=e.dir||e.root,i=e.base||`${e.name||""}${Sc(e.ext)}`;return n?n===e.root?`${n}${i}`:`${n}${t}${i}`:i}var he={resolve(...t){let e="",n="",i=!1;for(let r=t.length-1;r>=-1;r--){let s;if(r>=0){if(s=t[r],re(s,`paths[${r}]`),s.length===0)continue}else e.length===0?s=$t():(s=Cn[`=${e}`]||$t(),(s===void 0||s.slice(0,2).toLowerCase()!==e.toLowerCase()&&s.charCodeAt(2)===be)&&(s=`${e}\\`));let a=s.length,l=0,o="",u=!1,h=s.charCodeAt(0);if(a===1)Q(h)&&(l=1,u=!0);else if(Q(h))if(u=!0,Q(s.charCodeAt(1))){let d=2,m=d;for(;d<a&&!Q(s.charCodeAt(d));)d++;if(d<a&&d!==m){let f=s.slice(m,d);for(m=d;d<a&&Q(s.charCodeAt(d));)d++;if(d<a&&d!==m){for(m=d;d<a&&!Q(s.charCodeAt(d));)d++;(d===a||d!==m)&&(o=`\\\\${f}\\${s.slice(m,d)}`,l=d)}}}else l=1;else We(h)&&s.charCodeAt(1)===Ue&&(o=s.slice(0,2),l=2,a>2&&Q(s.charCodeAt(2))&&(u=!0,l=3));if(o.length>0)if(e.length>0){if(o.toLowerCase()!==e.toLowerCase())continue}else e=o;if(i){if(e.length>0)break}else if(n=`${s.slice(l)}\\${n}`,i=u,u&&e.length>0)break}return n=qn(n,!i,"\\",Q),i?`${e}\\${n}`:`${e}${n}`||"."},normalize(t){re(t,"path");let e=t.length;if(e===0)return".";let n=0,i,r=!1,s=t.charCodeAt(0);if(e===1)return yr(s)?"\\":t;if(Q(s))if(r=!0,Q(t.charCodeAt(1))){let l=2,o=l;for(;l<e&&!Q(t.charCodeAt(l));)l++;if(l<e&&l!==o){let u=t.slice(o,l);for(o=l;l<e&&Q(t.charCodeAt(l));)l++;if(l<e&&l!==o){for(o=l;l<e&&!Q(t.charCodeAt(l));)l++;if(l===e)return`\\\\${u}\\${t.slice(o)}\\`;l!==o&&(i=`\\\\${u}\\${t.slice(o,l)}`,n=l)}}}else n=1;else We(s)&&t.charCodeAt(1)===Ue&&(i=t.slice(0,2),n=2,e>2&&Q(t.charCodeAt(2))&&(r=!0,n=3));let a=n<e?qn(t.slice(n),!r,"\\",Q):"";if(a.length===0&&!r&&(a="."),a.length>0&&Q(t.charCodeAt(e-1))&&(a+="\\"),!r&&i===void 0&&t.includes(":")){if(a.length>=2&&We(a.charCodeAt(0))&&a.charCodeAt(1)===Ue)return`.\\${a}`;let l=t.indexOf(":");do if(l===e-1||Q(t.charCodeAt(l+1)))return`.\\${a}`;while((l=t.indexOf(":",l+1))!==-1)}return i===void 0?r?`\\${a}`:a:r?`${i}\\${a}`:`${i}${a}`},isAbsolute(t){re(t,"path");let e=t.length;if(e===0)return!1;let n=t.charCodeAt(0);return Q(n)||e>2&&We(n)&&t.charCodeAt(1)===Ue&&Q(t.charCodeAt(2))},join(...t){if(t.length===0)return".";let e,n;for(let s=0;s<t.length;++s){let a=t[s];re(a,"path"),a.length>0&&(e===void 0?e=n=a:e+=`\\${a}`)}if(e===void 0)return".";let i=!0,r=0;if(typeof n=="string"&&Q(n.charCodeAt(0))){++r;let s=n.length;s>1&&Q(n.charCodeAt(1))&&(++r,s>2&&(Q(n.charCodeAt(2))?++r:i=!1))}if(i){for(;r<e.length&&Q(e.charCodeAt(r));)r++;r>=2&&(e=`\\${e.slice(r)}`)}return he.normalize(e)},relative(t,e){if(re(t,"from"),re(e,"to"),t===e)return"";let n=he.resolve(t),i=he.resolve(e);if(n===i||(t=n.toLowerCase(),e=i.toLowerCase(),t===e))return"";if(n.length!==t.length||i.length!==e.length){let w=n.split("\\"),p=i.split("\\");w[w.length-1]===""&&w.pop(),p[p.length-1]===""&&p.pop();let x=w.length,y=p.length,v=x<y?x:y,S;for(S=0;S<v&&w[S].toLowerCase()===p[S].toLowerCase();S++);return S===0?i:S===v?y>v?p.slice(S).join("\\"):x>v?"..\\".repeat(x-1-S)+"..":"":"..\\".repeat(x-S)+p.slice(S).join("\\")}let r=0;for(;r<t.length&&t.charCodeAt(r)===be;)r++;let s=t.length;for(;s-1>r&&t.charCodeAt(s-1)===be;)s--;let a=s-r,l=0;for(;l<e.length&&e.charCodeAt(l)===be;)l++;let o=e.length;for(;o-1>l&&e.charCodeAt(o-1)===be;)o--;let u=o-l,h=a<u?a:u,d=-1,m=0;for(;m<h;m++){let w=t.charCodeAt(r+m);if(w!==e.charCodeAt(l+m))break;w===be&&(d=m)}if(m!==h){if(d===-1)return i}else{if(u>h){if(e.charCodeAt(l+m)===be)return i.slice(l+m+1);if(m===2)return i.slice(l+m)}a>h&&(t.charCodeAt(r+m)===be?d=m:m===2&&(d=3)),d===-1&&(d=0)}let f="";for(m=r+d+1;m<=s;++m)(m===s||t.charCodeAt(m)===be)&&(f+=f.length===0?"..":"\\..");return l+=d,f.length>0?`${f}${i.slice(l,o)}`:(i.charCodeAt(l)===be&&++l,i.slice(l,o))},toNamespacedPath(t){if(typeof t!="string"||t.length===0)return t;let e=he.resolve(t);if(e.length<=2)return t;if(e.charCodeAt(0)===be){if(e.charCodeAt(1)===be){let n=e.charCodeAt(2);if(n!==Tc&&n!==lt)return`\\\\?\\UNC\\${e.slice(2)}`}}else if(We(e.charCodeAt(0))&&e.charCodeAt(1)===Ue&&e.charCodeAt(2)===be)return`\\\\?\\${e}`;return e},dirname(t){re(t,"path");let e=t.length;if(e===0)return".";let n=-1,i=0,r=t.charCodeAt(0);if(e===1)return Q(r)?t:".";if(Q(r)){if(n=i=1,Q(t.charCodeAt(1))){let l=2,o=l;for(;l<e&&!Q(t.charCodeAt(l));)l++;if(l<e&&l!==o){for(o=l;l<e&&Q(t.charCodeAt(l));)l++;if(l<e&&l!==o){for(o=l;l<e&&!Q(t.charCodeAt(l));)l++;if(l===e)return t;l!==o&&(n=i=l+1)}}}}else We(r)&&t.charCodeAt(1)===Ue&&(n=e>2&&Q(t.charCodeAt(2))?3:2,i=n);let s=-1,a=!0;for(let l=e-1;l>=i;--l)if(Q(t.charCodeAt(l))){if(!a){s=l;break}}else a=!1;if(s===-1){if(n===-1)return".";s=n}return t.slice(0,s)},basename(t,e){e!==void 0&&re(e,"suffix"),re(t,"path");let n=0,i=-1,r=!0,s;if(t.length>=2&&We(t.charCodeAt(0))&&t.charCodeAt(1)===Ue&&(n=2),e!==void 0&&e.length>0&&e.length<=t.length){if(e===t)return"";let a=e.length-1,l=-1;for(s=t.length-1;s>=n;--s){let o=t.charCodeAt(s);if(Q(o)){if(!r){n=s+1;break}}else l===-1&&(r=!1,l=s+1),a>=0&&(o===e.charCodeAt(a)?--a===-1&&(i=s):(a=-1,i=l))}return n===i?i=l:i===-1&&(i=t.length),t.slice(n,i)}for(s=t.length-1;s>=n;--s)if(Q(t.charCodeAt(s))){if(!r){n=s+1;break}}else i===-1&&(r=!1,i=s+1);return i===-1?"":t.slice(n,i)},extname(t){re(t,"path");let e=0,n=-1,i=0,r=-1,s=!0,a=0;t.length>=2&&t.charCodeAt(1)===Ue&&We(t.charCodeAt(0))&&(e=i=2);for(let l=t.length-1;l>=e;--l){let o=t.charCodeAt(l);if(Q(o)){if(!s){i=l+1;break}continue}r===-1&&(s=!1,r=l+1),o===lt?n===-1?n=l:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||r===-1||a===0||a===1&&n===r-1&&n===i+1?"":t.slice(n,r)},format:Aa.bind(null,"\\"),parse(t){re(t,"path");let e={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return e;let n=t.length,i=0,r=t.charCodeAt(0);if(n===1)return Q(r)?(e.root=e.dir=t,e):(e.base=e.name=t,e);if(Q(r)){if(i=1,Q(t.charCodeAt(1))){let d=2,m=d;for(;d<n&&!Q(t.charCodeAt(d));)d++;if(d<n&&d!==m){for(m=d;d<n&&Q(t.charCodeAt(d));)d++;if(d<n&&d!==m){for(m=d;d<n&&!Q(t.charCodeAt(d));)d++;d===n?i=d:d!==m&&(i=d+1)}}}}else if(We(r)&&t.charCodeAt(1)===Ue){if(n<=2)return e.root=e.dir=t,e;if(i=2,Q(t.charCodeAt(2))){if(n===3)return e.root=e.dir=t,e;i=3}}i>0&&(e.root=t.slice(0,i));let s=-1,a=i,l=-1,o=!0,u=t.length-1,h=0;for(;u>=i;--u){if(r=t.charCodeAt(u),Q(r)){if(!o){a=u+1;break}continue}l===-1&&(o=!1,l=u+1),r===lt?s===-1?s=u:h!==1&&(h=1):s!==-1&&(h=-1)}return l!==-1&&(s===-1||h===0||h===1&&s===l-1&&s===a+1?e.base=e.name=t.slice(a,l):(e.name=t.slice(a,s),e.base=t.slice(a,l),e.ext=t.slice(s,l))),a>0&&a!==i?e.dir=t.slice(0,a-1):e.dir=e.root,e},sep:"\\",delimiter:";",win32:null,posix:null},Lc=(()=>{if(He){let t=/\\/g;return()=>{let e=$t().replace(t,"/");return e.slice(e.indexOf("/"))}}return()=>$t()})(),ue={resolve(...t){let e="",n=!1;for(let i=t.length-1;i>=0&&!n;i--){let r=t[i];re(r,`paths[${i}]`),r.length!==0&&(e=`${r}/${e}`,n=r.charCodeAt(0)===le)}if(!n){let i=Lc();e=`${i}/${e}`,n=i.charCodeAt(0)===le}return e=qn(e,!n,"/",yr),n?`/${e}`:e.length>0?e:"."},normalize(t){if(re(t,"path"),t.length===0)return".";let e=t.charCodeAt(0)===le,n=t.charCodeAt(t.length-1)===le;return t=qn(t,!e,"/",yr),t.length===0?e?"/":n?"./":".":(n&&(t+="/"),e?`/${t}`:t)},isAbsolute(t){return re(t,"path"),t.length>0&&t.charCodeAt(0)===le},join(...t){if(t.length===0)return".";let e=[];for(let n=0;n<t.length;++n){let i=t[n];re(i,"path"),i.length>0&&e.push(i)}return e.length===0?".":ue.normalize(e.join("/"))},relative(t,e){if(re(t,"from"),re(e,"to"),t===e||(t=ue.resolve(t),e=ue.resolve(e),t===e))return"";let n=1,i=t.length,r=i-n,s=1,a=e.length-s,l=r<a?r:a,o=-1,u=0;for(;u<l;u++){let d=t.charCodeAt(n+u);if(d!==e.charCodeAt(s+u))break;d===le&&(o=u)}if(u===l)if(a>l){if(e.charCodeAt(s+u)===le)return e.slice(s+u+1);if(u===0)return e.slice(s+u)}else r>l&&(t.charCodeAt(n+u)===le?o=u:u===0&&(o=0));let h="";for(u=n+o+1;u<=i;++u)(u===i||t.charCodeAt(u)===le)&&(h+=h.length===0?"..":"/..");return`${h}${e.slice(s+o)}`},toNamespacedPath(t){return t},dirname(t){if(re(t,"path"),t.length===0)return".";let e=t.charCodeAt(0)===le,n=-1,i=!0;for(let r=t.length-1;r>=1;--r)if(t.charCodeAt(r)===le){if(!i){n=r;break}}else i=!1;return n===-1?e?"/":".":e&&n===1?"//":t.slice(0,n)},basename(t,e){e!==void 0&&re(e,"suffix"),re(t,"path");let n=0,i=-1,r=!0,s;if(e!==void 0&&e.length>0&&e.length<=t.length){if(e===t)return"";let a=e.length-1,l=-1;for(s=t.length-1;s>=0;--s){let o=t.charCodeAt(s);if(o===le){if(!r){n=s+1;break}}else l===-1&&(r=!1,l=s+1),a>=0&&(o===e.charCodeAt(a)?--a===-1&&(i=s):(a=-1,i=l))}return n===i?i=l:i===-1&&(i=t.length),t.slice(n,i)}for(s=t.length-1;s>=0;--s)if(t.charCodeAt(s)===le){if(!r){n=s+1;break}}else i===-1&&(r=!1,i=s+1);return i===-1?"":t.slice(n,i)},extname(t){re(t,"path");let e=-1,n=0,i=-1,r=!0,s=0;for(let a=t.length-1;a>=0;--a){let l=t[a];if(l==="/"){if(!r){n=a+1;break}continue}i===-1&&(r=!1,i=a+1),l==="."?e===-1?e=a:s!==1&&(s=1):e!==-1&&(s=-1)}return e===-1||i===-1||s===0||s===1&&e===i-1&&e===n+1?"":t.slice(e,i)},format:Aa.bind(null,"/"),parse(t){re(t,"path");let e={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return e;let n=t.charCodeAt(0)===le,i;n?(e.root="/",i=1):i=0;let r=-1,s=0,a=-1,l=!0,o=t.length-1,u=0;for(;o>=i;--o){let h=t.charCodeAt(o);if(h===le){if(!l){s=o+1;break}continue}a===-1&&(l=!1,a=o+1),h===lt?r===-1?r=o:u!==1&&(u=1):r!==-1&&(u=-1)}if(a!==-1){let h=s===0&&n?1:s;r===-1||u===0||u===1&&r===a-1&&r===s+1?e.base=e.name=t.slice(h,a):(e.name=t.slice(h,r),e.base=t.slice(h,a),e.ext=t.slice(r,a))}return s>0?e.dir=t.slice(0,s-1):n&&(e.dir="/"),e},sep:"/",delimiter:":",win32:null,posix:null};ue.win32=he.win32=he;ue.posix=he.posix=ue;var dm=He?he.normalize:ue.normalize,Ca=He?he.join:ue.join,mm=He?he.resolve:ue.resolve,fm=He?he.relative:ue.relative,pm=He?he.dirname:ue.dirname,gm=He?he.basename:ue.basename,bm=He?he.extname:ue.extname,wm=He?he.sep:ue.sep;var Ac=/^\w[\w\d+.-]*$/,Cc=/^\//,Ec=/^\/\//;function Rc(t,e){if(!t.scheme&&e)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${t.authority}", path: "${t.path}", query: "${t.query}", fragment: "${t.fragment}"}`);if(t.scheme&&!Ac.test(t.scheme)){let n=[...t.scheme.matchAll(/[^\w\d+.-]/gu)],i=n.length>0?` Found '${n[0][0]}' at index ${n[0].index} (${n.length} total)`:"";throw new Error(`[UriError]: Scheme contains illegal characters.${i} (len:${t.scheme.length})`)}if(t.path){if(t.authority){if(!Cc.test(t.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(Ec.test(t.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function Dc(t,e){return!t&&!e?"file":t}function Mc(t,e){switch(t){case"https":case"http":case"file":e?e[0]!==Le&&(e=Le+e):e=Le;break}return e}var ee="",Le="/",Nc=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,me=class t{static isUri(e){return e instanceof t?!0:!e||typeof e!="object"?!1:typeof e.authority=="string"&&typeof e.fragment=="string"&&typeof e.path=="string"&&typeof e.query=="string"&&typeof e.scheme=="string"&&typeof e.fsPath=="string"&&typeof e.with=="function"&&typeof e.toString=="function"}constructor(e,n,i,r,s,a=!1){typeof e=="object"?(this.scheme=e.scheme||ee,this.authority=e.authority||ee,this.path=e.path||ee,this.query=e.query||ee,this.fragment=e.fragment||ee):(this.scheme=Dc(e,a),this.authority=n||ee,this.path=Mc(this.scheme,i||ee),this.query=r||ee,this.fragment=s||ee,Rc(this,a))}get fsPath(){return xr(this,!1)}with(e){if(!e)return this;let{scheme:n,authority:i,path:r,query:s,fragment:a}=e;return n===void 0?n=this.scheme:n===null&&(n=ee),i===void 0?i=this.authority:i===null&&(i=ee),r===void 0?r=this.path:r===null&&(r=ee),s===void 0?s=this.query:s===null&&(s=ee),a===void 0?a=this.fragment:a===null&&(a=ee),n===this.scheme&&i===this.authority&&r===this.path&&s===this.query&&a===this.fragment?this:new Je(n,i,r,s,a)}static parse(e,n=!1){let i=Nc.exec(e);return i?new Je(i[2]||ee,Vn(i[4]||ee),Vn(i[5]||ee),Vn(i[7]||ee),Vn(i[9]||ee),n):new Je(ee,ee,ee,ee,ee)}static file(e){let n=ee;if(st&&(e=e.replace(/\\/g,Le)),e[0]===Le&&e[1]===Le){let i=e.indexOf(Le,2);i===-1?(n=e.substring(2),e=Le):(n=e.substring(2,i),e=e.substring(i)||Le)}return new Je("file",n,e,ee,ee)}static from(e,n){return new Je(e.scheme,e.authority,e.path,e.query,e.fragment,n)}static joinPath(e,...n){if(!e.path)throw new Error(`[UriError]: cannot call joinPath on URI without path: ${e.toString()}`);let i;return st&&e.scheme==="file"?i=t.file(he.join(xr(e,!0),...n)).path:i=ue.join(e.path,...n),e.with({path:i})}toString(e=!1){return Tr(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof t)return e;{let n=new Je(e);return n._formatted=e.external??null,n._fsPath=e._sep===Da?e.fsPath??null:null,n}}else return e}},Da=st?1:void 0,Je=class extends me{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=xr(this,!1)),this._fsPath}toString(e=!1){return e?Tr(this,!0):(this._formatted||(this._formatted=Tr(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=Da),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}},Ma={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 Ea(t,e,n){let i,r=-1;for(let s=0;s<t.length;s++){let a=t.charCodeAt(s);if(a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===45||a===46||a===95||a===126||e&&a===47||n&&a===91||n&&a===93||n&&a===58)r!==-1&&(i+=encodeURIComponent(t.substring(r,s)),r=-1),i!==void 0&&(i+=t.charAt(s));else{i===void 0&&(i=t.substr(0,s));let l=Ma[a];l!==void 0?(r!==-1&&(i+=encodeURIComponent(t.substring(r,s)),r=-1),i+=l):r===-1&&(r=s)}}return r!==-1&&(i+=encodeURIComponent(t.substring(r))),i!==void 0?i:t}function Ic(t){let e=t.indexOf("?"),n=t.indexOf("#");if((e===-1||n!==-1&&n<e)&&(e=n),e===-1)return t;let i=t.substring(0,e),r=e;for(;e<t.length;e++){let s=t.charCodeAt(e);(s===35||s===63)&&(r<e&&(i+=t.substring(r,e)),i+=Ma[s],r=e+1)}return r<t.length&&(i+=t.substring(r)),i}function xr(t,e){let n;return t.authority&&t.path.length>1&&t.scheme==="file"?n=`//${t.authority}${t.path}`:t.path.charCodeAt(0)===47&&(t.path.charCodeAt(1)>=65&&t.path.charCodeAt(1)<=90||t.path.charCodeAt(1)>=97&&t.path.charCodeAt(1)<=122)&&t.path.charCodeAt(2)===58?e?n=t.path.substr(1):n=t.path[1].toLowerCase()+t.path.substr(2):n=t.path,st&&(n=n.replace(/\//g,"\\")),n}function Tr(t,e){let n=e?Ic:Ea,i="",{scheme:r,authority:s,path:a,query:l,fragment:o}=t;if(r&&(i+=r,i+=":"),(s||r==="file")&&(i+=Le,i+=Le),s){let u=s.indexOf("@");if(u!==-1){let h=s.substr(0,u);s=s.substr(u+1),u=h.lastIndexOf(":"),u===-1?i+=n(h,!1,!1):(i+=n(h.substr(0,u),!1,!1),i+=":",i+=n(h.substr(u+1),!1,!0)),i+="@"}s=s.toLowerCase(),u=s.lastIndexOf(":"),u===-1?i+=n(s,!1,!0):(i+=n(s.substr(0,u),!1,!0),i+=s.substr(u))}if(a){let u=r.toLowerCase();if(a.length>=3&&a.charCodeAt(0)===47&&a.charCodeAt(2)===58){let h=a.charCodeAt(1);h>=65&&h<=90&&u!=="http"&&u!=="https"&&(a=`/${String.fromCharCode(h+32)}:${a.substr(3)}`)}else if(a.length>=2&&a.charCodeAt(1)===58){let h=a.charCodeAt(0);h>=65&&h<=90&&u!=="http"&&u!=="https"&&(a=`${String.fromCharCode(h+32)}:${a.substr(2)}`)}i+=n(a,!0,!1)}return l&&(i+="?",i+=n(l,!1,!1)),o&&(i+="#",i+=e?o:Ea(o,!1,!1)),i}function Na(t){try{return decodeURIComponent(t)}catch{return t.length>3?t.substr(0,3)+Na(t.substr(3)):t}}var Ra=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function Vn(t){return t.match(Ra)?t.replace(Ra,e=>Na(e)):t}var jn=class t extends O{constructor(e,n,i,r){super(e,n,i,r),this.selectionStartLineNumber=e,this.selectionStartColumn=n,this.positionLineNumber=i,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return t.selectionsEqual(this,e)}static selectionsEqual(e,n){return e.selectionStartLineNumber===n.selectionStartLineNumber&&e.selectionStartColumn===n.selectionStartColumn&&e.positionLineNumber===n.positionLineNumber&&e.positionColumn===n.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,n){return this.getDirection()===0?new t(this.startLineNumber,this.startColumn,e,n):new t(e,n,this.startLineNumber,this.startColumn)}getPosition(){return new G(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new G(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,n){return this.getDirection()===0?new t(e,n,this.endLineNumber,this.endColumn):new t(this.endLineNumber,this.endColumn,e,n)}static fromPositions(e,n=e){return new t(e.lineNumber,e.column,n.lineNumber,n.column)}static fromRange(e,n){return n===0?new t(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new t(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new t(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,n){if(e&&!n||!e&&n)return!1;if(!e&&!n)return!0;if(e.length!==n.length)return!1;for(let i=0,r=e.length;i<r;i++)if(!this.selectionsEqual(e[i],n[i]))return!1;return!0}static isISelection(e){return!!e&&typeof e.selectionStartLineNumber=="number"&&typeof e.selectionStartColumn=="number"&&typeof e.positionLineNumber=="number"&&typeof e.positionColumn=="number"}static createWithDirection(e,n,i,r,s){return s===0?new t(e,n,i,r):new t(i,r,e,n)}};var Ia=Object.create(null);function c(t,e){if(Us(e)){let n=Ia[e];if(n===void 0)throw new Error(`${t} references an unknown codicon: ${e}`);e=n}return Ia[t]=e,{id:t}}var Pa={add:c("add",6e4),plus:c("plus",6e4),gistNew:c("gist-new",6e4),repoCreate:c("repo-create",6e4),lightbulb:c("lightbulb",60001),lightBulb:c("light-bulb",60001),repo:c("repo",60002),repoDelete:c("repo-delete",60002),gistFork:c("gist-fork",60003),repoForked:c("repo-forked",60003),gitPullRequest:c("git-pull-request",60004),gitPullRequestAbandoned:c("git-pull-request-abandoned",60004),recordKeys:c("record-keys",60005),keyboard:c("keyboard",60005),tag:c("tag",60006),gitPullRequestLabel:c("git-pull-request-label",60006),tagAdd:c("tag-add",60006),tagRemove:c("tag-remove",60006),person:c("person",60007),personFollow:c("person-follow",60007),personOutline:c("person-outline",60007),personFilled:c("person-filled",60007),sourceControl:c("source-control",60008),mirror:c("mirror",60009),mirrorPublic:c("mirror-public",60009),star:c("star",60010),starAdd:c("star-add",60010),starDelete:c("star-delete",60010),starEmpty:c("star-empty",60010),comment:c("comment",60011),commentAdd:c("comment-add",60011),alert:c("alert",60012),warning:c("warning",60012),search:c("search",60013),searchSave:c("search-save",60013),logOut:c("log-out",60014),signOut:c("sign-out",60014),logIn:c("log-in",60015),signIn:c("sign-in",60015),eye:c("eye",60016),eyeUnwatch:c("eye-unwatch",60016),eyeWatch:c("eye-watch",60016),circleFilled:c("circle-filled",60017),primitiveDot:c("primitive-dot",60017),closeDirty:c("close-dirty",60017),debugBreakpoint:c("debug-breakpoint",60017),debugBreakpointDisabled:c("debug-breakpoint-disabled",60017),debugHint:c("debug-hint",60017),terminalDecorationSuccess:c("terminal-decoration-success",60017),primitiveSquare:c("primitive-square",60018),edit:c("edit",60019),pencil:c("pencil",60019),info:c("info",60020),issueOpened:c("issue-opened",60020),gistPrivate:c("gist-private",60021),gitForkPrivate:c("git-fork-private",60021),lock:c("lock",60021),mirrorPrivate:c("mirror-private",60021),close:c("close",60022),removeClose:c("remove-close",60022),x:c("x",60022),repoSync:c("repo-sync",60023),sync:c("sync",60023),clone:c("clone",60024),desktopDownload:c("desktop-download",60024),beaker:c("beaker",60025),microscope:c("microscope",60025),vm:c("vm",60026),deviceDesktop:c("device-desktop",60026),file:c("file",60027),more:c("more",60028),ellipsis:c("ellipsis",60028),kebabHorizontal:c("kebab-horizontal",60028),mailReply:c("mail-reply",60029),reply:c("reply",60029),organization:c("organization",60030),organizationFilled:c("organization-filled",60030),organizationOutline:c("organization-outline",60030),newFile:c("new-file",60031),fileAdd:c("file-add",60031),newFolder:c("new-folder",60032),fileDirectoryCreate:c("file-directory-create",60032),trash:c("trash",60033),trashcan:c("trashcan",60033),history:c("history",60034),clock:c("clock",60034),folder:c("folder",60035),fileDirectory:c("file-directory",60035),symbolFolder:c("symbol-folder",60035),logoGithub:c("logo-github",60036),markGithub:c("mark-github",60036),github:c("github",60036),terminal:c("terminal",60037),console:c("console",60037),repl:c("repl",60037),zap:c("zap",60038),symbolEvent:c("symbol-event",60038),error:c("error",60039),stop:c("stop",60039),variable:c("variable",60040),symbolVariable:c("symbol-variable",60040),array:c("array",60042),symbolArray:c("symbol-array",60042),symbolModule:c("symbol-module",60043),symbolPackage:c("symbol-package",60043),symbolNamespace:c("symbol-namespace",60043),symbolObject:c("symbol-object",60043),symbolMethod:c("symbol-method",60044),symbolFunction:c("symbol-function",60044),symbolConstructor:c("symbol-constructor",60044),symbolBoolean:c("symbol-boolean",60047),symbolNull:c("symbol-null",60047),symbolNumeric:c("symbol-numeric",60048),symbolNumber:c("symbol-number",60048),symbolStructure:c("symbol-structure",60049),symbolStruct:c("symbol-struct",60049),symbolParameter:c("symbol-parameter",60050),symbolTypeParameter:c("symbol-type-parameter",60050),symbolKey:c("symbol-key",60051),symbolText:c("symbol-text",60051),symbolReference:c("symbol-reference",60052),goToFile:c("go-to-file",60052),symbolEnum:c("symbol-enum",60053),symbolValue:c("symbol-value",60053),symbolRuler:c("symbol-ruler",60054),symbolUnit:c("symbol-unit",60054),activateBreakpoints:c("activate-breakpoints",60055),archive:c("archive",60056),arrowBoth:c("arrow-both",60057),arrowDown:c("arrow-down",60058),arrowLeft:c("arrow-left",60059),arrowRight:c("arrow-right",60060),arrowSmallDown:c("arrow-small-down",60061),arrowSmallLeft:c("arrow-small-left",60062),arrowSmallRight:c("arrow-small-right",60063),arrowSmallUp:c("arrow-small-up",60064),arrowUp:c("arrow-up",60065),bell:c("bell",60066),bold:c("bold",60067),book:c("book",60068),bookmark:c("bookmark",60069),debugBreakpointConditionalUnverified:c("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:c("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:c("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:c("debug-breakpoint-data-unverified",60072),debugBreakpointData:c("debug-breakpoint-data",60073),debugBreakpointDataDisabled:c("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:c("debug-breakpoint-log-unverified",60074),debugBreakpointLog:c("debug-breakpoint-log",60075),debugBreakpointLogDisabled:c("debug-breakpoint-log-disabled",60075),briefcase:c("briefcase",60076),broadcast:c("broadcast",60077),browser:c("browser",60078),bug:c("bug",60079),calendar:c("calendar",60080),caseSensitive:c("case-sensitive",60081),check:c("check",60082),checklist:c("checklist",60083),chevronDown:c("chevron-down",60084),chevronLeft:c("chevron-left",60085),chevronRight:c("chevron-right",60086),chevronUp:c("chevron-up",60087),chromeClose:c("chrome-close",60088),chromeMaximize:c("chrome-maximize",60089),chromeMinimize:c("chrome-minimize",60090),chromeRestore:c("chrome-restore",60091),circleOutline:c("circle-outline",60092),circle:c("circle",60092),debugBreakpointUnverified:c("debug-breakpoint-unverified",60092),terminalDecorationIncomplete:c("terminal-decoration-incomplete",60092),circleSlash:c("circle-slash",60093),circuitBoard:c("circuit-board",60094),clearAll:c("clear-all",60095),clippy:c("clippy",60096),closeAll:c("close-all",60097),cloudDownload:c("cloud-download",60098),cloudUpload:c("cloud-upload",60099),code:c("code",60100),collapseAll:c("collapse-all",60101),colorMode:c("color-mode",60102),commentDiscussion:c("comment-discussion",60103),creditCard:c("credit-card",60105),dash:c("dash",60108),dashboard:c("dashboard",60109),database:c("database",60110),debugContinue:c("debug-continue",60111),debugDisconnect:c("debug-disconnect",60112),debugPause:c("debug-pause",60113),debugRestart:c("debug-restart",60114),debugStart:c("debug-start",60115),debugStepInto:c("debug-step-into",60116),debugStepOut:c("debug-step-out",60117),debugStepOver:c("debug-step-over",60118),debugStop:c("debug-stop",60119),debug:c("debug",60120),deviceCameraVideo:c("device-camera-video",60121),deviceCamera:c("device-camera",60122),deviceMobile:c("device-mobile",60123),diffAdded:c("diff-added",60124),diffIgnored:c("diff-ignored",60125),diffModified:c("diff-modified",60126),diffRemoved:c("diff-removed",60127),diffRenamed:c("diff-renamed",60128),diff:c("diff",60129),diffSidebyside:c("diff-sidebyside",60129),discard:c("discard",60130),editorLayout:c("editor-layout",60131),emptyWindow:c("empty-window",60132),exclude:c("exclude",60133),extensions:c("extensions",60134),eyeClosed:c("eye-closed",60135),fileBinary:c("file-binary",60136),fileCode:c("file-code",60137),fileMedia:c("file-media",60138),filePdf:c("file-pdf",60139),fileSubmodule:c("file-submodule",60140),fileSymlinkDirectory:c("file-symlink-directory",60141),fileSymlinkFile:c("file-symlink-file",60142),fileZip:c("file-zip",60143),files:c("files",60144),filter:c("filter",60145),flame:c("flame",60146),foldDown:c("fold-down",60147),foldUp:c("fold-up",60148),fold:c("fold",60149),folderActive:c("folder-active",60150),folderOpened:c("folder-opened",60151),gear:c("gear",60152),gift:c("gift",60153),gistSecret:c("gist-secret",60154),gist:c("gist",60155),gitCommit:c("git-commit",60156),gitCompare:c("git-compare",60157),compareChanges:c("compare-changes",60157),gitMerge:c("git-merge",60158),githubAction:c("github-action",60159),githubAlt:c("github-alt",60160),globe:c("globe",60161),grabber:c("grabber",60162),graph:c("graph",60163),gripper:c("gripper",60164),heart:c("heart",60165),home:c("home",60166),horizontalRule:c("horizontal-rule",60167),hubot:c("hubot",60168),inbox:c("inbox",60169),issueReopened:c("issue-reopened",60171),issues:c("issues",60172),italic:c("italic",60173),jersey:c("jersey",60174),json:c("json",60175),bracket:c("bracket",60175),kebabVertical:c("kebab-vertical",60176),key:c("key",60177),law:c("law",60178),lightbulbAutofix:c("lightbulb-autofix",60179),linkExternal:c("link-external",60180),link:c("link",60181),listOrdered:c("list-ordered",60182),listUnordered:c("list-unordered",60183),liveShare:c("live-share",60184),loading:c("loading",60185),location:c("location",60186),mailRead:c("mail-read",60187),mail:c("mail",60188),markdown:c("markdown",60189),megaphone:c("megaphone",60190),mention:c("mention",60191),milestone:c("milestone",60192),gitPullRequestMilestone:c("git-pull-request-milestone",60192),mortarBoard:c("mortar-board",60193),move:c("move",60194),multipleWindows:c("multiple-windows",60195),mute:c("mute",60196),noNewline:c("no-newline",60197),note:c("note",60198),octoface:c("octoface",60199),openPreview:c("open-preview",60200),package:c("package",60201),paintcan:c("paintcan",60202),pin:c("pin",60203),play:c("play",60204),run:c("run",60204),plug:c("plug",60205),preserveCase:c("preserve-case",60206),preview:c("preview",60207),project:c("project",60208),pulse:c("pulse",60209),question:c("question",60210),quote:c("quote",60211),radioTower:c("radio-tower",60212),reactions:c("reactions",60213),references:c("references",60214),refresh:c("refresh",60215),regex:c("regex",60216),remoteExplorer:c("remote-explorer",60217),remote:c("remote",60218),remove:c("remove",60219),replaceAll:c("replace-all",60220),replace:c("replace",60221),repoClone:c("repo-clone",60222),repoForcePush:c("repo-force-push",60223),repoPull:c("repo-pull",60224),repoPush:c("repo-push",60225),report:c("report",60226),requestChanges:c("request-changes",60227),rocket:c("rocket",60228),rootFolderOpened:c("root-folder-opened",60229),rootFolder:c("root-folder",60230),rss:c("rss",60231),ruby:c("ruby",60232),saveAll:c("save-all",60233),saveAs:c("save-as",60234),save:c("save",60235),screenFull:c("screen-full",60236),screenNormal:c("screen-normal",60237),searchStop:c("search-stop",60238),server:c("server",60240),settingsGear:c("settings-gear",60241),settings:c("settings",60242),shield:c("shield",60243),smiley:c("smiley",60244),sortPrecedence:c("sort-precedence",60245),splitHorizontal:c("split-horizontal",60246),splitVertical:c("split-vertical",60247),squirrel:c("squirrel",60248),starFull:c("star-full",60249),starHalf:c("star-half",60250),symbolClass:c("symbol-class",60251),symbolColor:c("symbol-color",60252),symbolConstant:c("symbol-constant",60253),symbolEnumMember:c("symbol-enum-member",60254),symbolField:c("symbol-field",60255),symbolFile:c("symbol-file",60256),symbolInterface:c("symbol-interface",60257),symbolKeyword:c("symbol-keyword",60258),symbolMisc:c("symbol-misc",60259),symbolOperator:c("symbol-operator",60260),symbolProperty:c("symbol-property",60261),wrench:c("wrench",60261),wrenchSubaction:c("wrench-subaction",60261),symbolSnippet:c("symbol-snippet",60262),tasklist:c("tasklist",60263),telescope:c("telescope",60264),textSize:c("text-size",60265),threeBars:c("three-bars",60266),thumbsdown:c("thumbsdown",60267),thumbsup:c("thumbsup",60268),tools:c("tools",60269),triangleDown:c("triangle-down",60270),triangleLeft:c("triangle-left",60271),triangleRight:c("triangle-right",60272),triangleUp:c("triangle-up",60273),twitter:c("twitter",60274),unfold:c("unfold",60275),unlock:c("unlock",60276),unmute:c("unmute",60277),unverified:c("unverified",60278),verified:c("verified",60279),versions:c("versions",60280),vmActive:c("vm-active",60281),vmOutline:c("vm-outline",60282),vmRunning:c("vm-running",60283),watch:c("watch",60284),whitespace:c("whitespace",60285),wholeWord:c("whole-word",60286),window:c("window",60287),wordWrap:c("word-wrap",60288),zoomIn:c("zoom-in",60289),zoomOut:c("zoom-out",60290),listFilter:c("list-filter",60291),listFlat:c("list-flat",60292),listSelection:c("list-selection",60293),selection:c("selection",60293),listTree:c("list-tree",60294),debugBreakpointFunctionUnverified:c("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:c("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:c("debug-breakpoint-function-disabled",60296),debugStackframeActive:c("debug-stackframe-active",60297),circleSmallFilled:c("circle-small-filled",60298),debugStackframeDot:c("debug-stackframe-dot",60298),terminalDecorationMark:c("terminal-decoration-mark",60298),debugStackframe:c("debug-stackframe",60299),debugStackframeFocused:c("debug-stackframe-focused",60299),debugBreakpointUnsupported:c("debug-breakpoint-unsupported",60300),symbolString:c("symbol-string",60301),debugReverseContinue:c("debug-reverse-continue",60302),debugStepBack:c("debug-step-back",60303),debugRestartFrame:c("debug-restart-frame",60304),debugAlt:c("debug-alt",60305),callIncoming:c("call-incoming",60306),callOutgoing:c("call-outgoing",60307),menu:c("menu",60308),expandAll:c("expand-all",60309),feedback:c("feedback",60310),gitPullRequestReviewer:c("git-pull-request-reviewer",60310),groupByRefType:c("group-by-ref-type",60311),ungroupByRefType:c("ungroup-by-ref-type",60312),account:c("account",60313),gitPullRequestAssignee:c("git-pull-request-assignee",60313),bellDot:c("bell-dot",60314),debugConsole:c("debug-console",60315),library:c("library",60316),output:c("output",60317),runAll:c("run-all",60318),syncIgnored:c("sync-ignored",60319),pinned:c("pinned",60320),githubInverted:c("github-inverted",60321),serverProcess:c("server-process",60322),serverEnvironment:c("server-environment",60323),pass:c("pass",60324),issueClosed:c("issue-closed",60324),stopCircle:c("stop-circle",60325),playCircle:c("play-circle",60326),record:c("record",60327),debugAltSmall:c("debug-alt-small",60328),vmConnect:c("vm-connect",60329),cloud:c("cloud",60330),merge:c("merge",60331),export:c("export",60332),graphLeft:c("graph-left",60333),magnet:c("magnet",60334),notebook:c("notebook",60335),redo:c("redo",60336),checkAll:c("check-all",60337),pinnedDirty:c("pinned-dirty",60338),passFilled:c("pass-filled",60339),circleLargeFilled:c("circle-large-filled",60340),circleLarge:c("circle-large",60341),circleLargeOutline:c("circle-large-outline",60341),combine:c("combine",60342),gather:c("gather",60342),table:c("table",60343),variableGroup:c("variable-group",60344),typeHierarchy:c("type-hierarchy",60345),typeHierarchySub:c("type-hierarchy-sub",60346),typeHierarchySuper:c("type-hierarchy-super",60347),gitPullRequestCreate:c("git-pull-request-create",60348),runAbove:c("run-above",60349),runBelow:c("run-below",60350),notebookTemplate:c("notebook-template",60351),debugRerun:c("debug-rerun",60352),workspaceTrusted:c("workspace-trusted",60353),workspaceUntrusted:c("workspace-untrusted",60354),workspaceUnknown:c("workspace-unknown",60355),terminalCmd:c("terminal-cmd",60356),terminalDebian:c("terminal-debian",60357),terminalLinux:c("terminal-linux",60358),terminalPowershell:c("terminal-powershell",60359),terminalTmux:c("terminal-tmux",60360),terminalUbuntu:c("terminal-ubuntu",60361),terminalBash:c("terminal-bash",60362),arrowSwap:c("arrow-swap",60363),copy:c("copy",60364),personAdd:c("person-add",60365),filterFilled:c("filter-filled",60366),wand:c("wand",60367),debugLineByLine:c("debug-line-by-line",60368),inspect:c("inspect",60369),layers:c("layers",60370),layersDot:c("layers-dot",60371),layersActive:c("layers-active",60372),compass:c("compass",60373),compassDot:c("compass-dot",60374),compassActive:c("compass-active",60375),azure:c("azure",60376),issueDraft:c("issue-draft",60377),gitPullRequestClosed:c("git-pull-request-closed",60378),gitPullRequestDraft:c("git-pull-request-draft",60379),debugAll:c("debug-all",60380),debugCoverage:c("debug-coverage",60381),runErrors:c("run-errors",60382),folderLibrary:c("folder-library",60383),debugContinueSmall:c("debug-continue-small",60384),beakerStop:c("beaker-stop",60385),graphLine:c("graph-line",60386),graphScatter:c("graph-scatter",60387),pieChart:c("pie-chart",60388),bracketDot:c("bracket-dot",60389),bracketError:c("bracket-error",60390),lockSmall:c("lock-small",60391),azureDevops:c("azure-devops",60392),verifiedFilled:c("verified-filled",60393),newline:c("newline",60394),layout:c("layout",60395),layoutActivitybarLeft:c("layout-activitybar-left",60396),layoutActivitybarRight:c("layout-activitybar-right",60397),layoutPanelLeft:c("layout-panel-left",60398),layoutPanelCenter:c("layout-panel-center",60399),layoutPanelJustify:c("layout-panel-justify",60400),layoutPanelRight:c("layout-panel-right",60401),layoutPanel:c("layout-panel",60402),layoutSidebarLeft:c("layout-sidebar-left",60403),layoutSidebarRight:c("layout-sidebar-right",60404),layoutStatusbar:c("layout-statusbar",60405),layoutMenubar:c("layout-menubar",60406),layoutCentered:c("layout-centered",60407),target:c("target",60408),indent:c("indent",60409),recordSmall:c("record-small",60410),errorSmall:c("error-small",60411),terminalDecorationError:c("terminal-decoration-error",60411),arrowCircleDown:c("arrow-circle-down",60412),arrowCircleLeft:c("arrow-circle-left",60413),arrowCircleRight:c("arrow-circle-right",60414),arrowCircleUp:c("arrow-circle-up",60415),layoutSidebarRightOff:c("layout-sidebar-right-off",60416),layoutPanelOff:c("layout-panel-off",60417),layoutSidebarLeftOff:c("layout-sidebar-left-off",60418),blank:c("blank",60419),heartFilled:c("heart-filled",60420),map:c("map",60421),mapHorizontal:c("map-horizontal",60421),foldHorizontal:c("fold-horizontal",60421),mapFilled:c("map-filled",60422),mapHorizontalFilled:c("map-horizontal-filled",60422),foldHorizontalFilled:c("fold-horizontal-filled",60422),circleSmall:c("circle-small",60423),bellSlash:c("bell-slash",60424),bellSlashDot:c("bell-slash-dot",60425),commentUnresolved:c("comment-unresolved",60426),gitPullRequestGoToChanges:c("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:c("git-pull-request-new-changes",60428),searchFuzzy:c("search-fuzzy",60429),commentDraft:c("comment-draft",60430),send:c("send",60431),sparkle:c("sparkle",60432),insert:c("insert",60433),mic:c("mic",60434),thumbsdownFilled:c("thumbsdown-filled",60435),thumbsupFilled:c("thumbsup-filled",60436),coffee:c("coffee",60437),snake:c("snake",60438),game:c("game",60439),vr:c("vr",60440),chip:c("chip",60441),piano:c("piano",60442),music:c("music",60443),micFilled:c("mic-filled",60444),repoFetch:c("repo-fetch",60445),copilot:c("copilot",60446),lightbulbSparkle:c("lightbulb-sparkle",60447),robot:c("robot",60448),sparkleFilled:c("sparkle-filled",60449),diffSingle:c("diff-single",60450),diffMultiple:c("diff-multiple",60451),surroundWith:c("surround-with",60452),share:c("share",60453),gitStash:c("git-stash",60454),gitStashApply:c("git-stash-apply",60455),gitStashPop:c("git-stash-pop",60456),vscode:c("vscode",60457),vscodeInsiders:c("vscode-insiders",60458),codeOss:c("code-oss",60459),runCoverage:c("run-coverage",60460),runAllCoverage:c("run-all-coverage",60461),coverage:c("coverage",60462),githubProject:c("github-project",60463),mapVertical:c("map-vertical",60464),foldVertical:c("fold-vertical",60464),mapVerticalFilled:c("map-vertical-filled",60465),foldVerticalFilled:c("fold-vertical-filled",60465),goToSearch:c("go-to-search",60466),percentage:c("percentage",60467),sortPercentage:c("sort-percentage",60467),attach:c("attach",60468),goToEditingSession:c("go-to-editing-session",60469),editSession:c("edit-session",60470),codeReview:c("code-review",60471),copilotWarning:c("copilot-warning",60472),python:c("python",60473),copilotLarge:c("copilot-large",60474),copilotWarningLarge:c("copilot-warning-large",60475),keyboardTab:c("keyboard-tab",60476),copilotBlocked:c("copilot-blocked",60477),copilotNotConnected:c("copilot-not-connected",60478),flag:c("flag",60479),lightbulbEmpty:c("lightbulb-empty",60480),symbolMethodArrow:c("symbol-method-arrow",60481),copilotUnavailable:c("copilot-unavailable",60482),repoPinned:c("repo-pinned",60483),keyboardTabAbove:c("keyboard-tab-above",60484),keyboardTabBelow:c("keyboard-tab-below",60485),gitPullRequestDone:c("git-pull-request-done",60486),mcp:c("mcp",60487),extensionsLarge:c("extensions-large",60488),layoutPanelDock:c("layout-panel-dock",60489),layoutSidebarLeftDock:c("layout-sidebar-left-dock",60490),layoutSidebarRightDock:c("layout-sidebar-right-dock",60491),copilotInProgress:c("copilot-in-progress",60492),copilotError:c("copilot-error",60493),copilotSuccess:c("copilot-success",60494),chatSparkle:c("chat-sparkle",60495),searchSparkle:c("search-sparkle",60496),editSparkle:c("edit-sparkle",60497),copilotSnooze:c("copilot-snooze",60498),sendToRemoteAgent:c("send-to-remote-agent",60499),commentDiscussionSparkle:c("comment-discussion-sparkle",60500),chatSparkleWarning:c("chat-sparkle-warning",60501),chatSparkleError:c("chat-sparkle-error",60502),collection:c("collection",60503),newCollection:c("new-collection",60504),thinking:c("thinking",60505),build:c("build",60506),commentDiscussionQuote:c("comment-discussion-quote",60507),cursor:c("cursor",60508),eraser:c("eraser",60509),fileText:c("file-text",60510),quotes:c("quotes",60512),rename:c("rename",60513),runWithDeps:c("run-with-deps",60514),debugConnected:c("debug-connected",60515),strikethrough:c("strikethrough",60516),openInProduct:c("open-in-product",60517),indexZero:c("index-zero",60518),agent:c("agent",60519),editCode:c("edit-code",60520),repoSelected:c("repo-selected",60521),skip:c("skip",60522),mergeInto:c("merge-into",60523),gitBranchChanges:c("git-branch-changes",60524),gitBranchStagedChanges:c("git-branch-staged-changes",60525),gitBranchConflicts:c("git-branch-conflicts",60526),gitBranch:c("git-branch",60527),gitBranchCreate:c("git-branch-create",60527),gitBranchDelete:c("git-branch-delete",60527),searchLarge:c("search-large",60528),terminalGitBash:c("terminal-git-bash",60529),windowActive:c("window-active",60530),forward:c("forward",60531),download:c("download",60532),clockface:c("clockface",60533),unarchive:c("unarchive",60534),sessionInProgress:c("session-in-progress",60535),collectionSmall:c("collection-small",60536),vmSmall:c("vm-small",60537),cloudSmall:c("cloud-small",60538),addSmall:c("add-small",60539),removeSmall:c("remove-small",60540),worktreeSmall:c("worktree-small",60541),worktree:c("worktree",60542),screenCut:c("screen-cut",60543),ask:c("ask",60544),openai:c("openai",60545),claude:c("claude",60546),openInWindow:c("open-in-window",60547),newSession:c("new-session",60548),terminalSecure:c("terminal-secure",60549),chatImport:c("chat-import",60550),chatExport:c("chat-export",60551),shareWindow:c("share-window",60552),circleSlashCompact:c("circle-slash-compact",60553),copilotCompact:c("copilot-compact",60554),folderOpenedCompact:c("folder-opened-compact",60555),folderCompact:c("folder-compact",60556),gearCompact:c("gear-compact",60557),gitBranchCompact:c("git-branch-compact",60558),libraryCompact:c("library-compact",60559),recordKeysCompact:c("record-keys-compact",60560),remoteCompact:c("remote-compact",60561),repoForkedCompact:c("repo-forked-compact",60562),repoCompact:c("repo-compact",60563),shieldCompact:c("shield-compact",60564),sparkleCompact:c("sparkle-compact",60565),symbolColorCompact:c("symbol-color-compact",60566),windowCompact:c("window-compact",60567),errorCompact:c("error-compact",60568),warningCompact:c("warning-compact",60569),passCompact:c("pass-compact",60570),important:c("important",60571),importantCompact:c("important-compact",60572),rocketCompact:c("rocket-compact",60573),unpin:c("unpin",60574),addCompact:c("add-compact",60575),attachCompact:c("attach-compact",60576),beakerCompact:c("beaker-compact",60577),checkCompact:c("check-compact",60578),checklistCompact:c("checklist-compact",60579),chevronDownCompact:c("chevron-down-compact",60580),chevronLeftCompact:c("chevron-left-compact",60581),chevronRightCompact:c("chevron-right-compact",60582),chevronUpCompact:c("chevron-up-compact",60583),circleFilledCompact:c("circle-filled-compact",60584),circleSmallFilledCompact:c("circle-small-filled-compact",60585),closeCompact:c("close-compact",60586),collapseAllCompact:c("collapse-all-compact",60587),commentCompact:c("comment-compact",60588),commentUnresolvedCompact:c("comment-unresolved-compact",60589),debugConnectedCompact:c("debug-connected-compact",60590),debugDisconnectCompact:c("debug-disconnect-compact",60591),editCompact:c("edit-compact",60592),fileMediaCompact:c("file-media-compact",60593),gitFetch:c("git-fetch",60594),lightbulbCompact:c("lightbulb-compact",60595),loadingCompact:c("loading-compact",60596),passFilledCompact:c("pass-filled-compact",60597),projectCompact:c("project-compact",60598),refreshCompact:c("refresh-compact",60599),searchCompact:c("search-compact",60600),sessionInProgressCompact:c("session-in-progress-compact",60601),syncCompact:c("sync-compact",60602),terminalCompact:c("terminal-compact",60603),vmPending:c("vm-pending",60604),worktreeCompact:c("worktree-compact",60605),developerTools:c("developer-tools",60606),cloudCompact:c("cloud-compact",60607),agentCompact:c("agent-compact",60608),askCompact:c("ask-compact",60609),settingsCompact:c("settings-compact",60610),vmCompact:c("vm-compact",60611),runCompact:c("run-compact",60612),gitPullRequestComment:c("git-pull-request-comment",60613),gitPullRequestError:c("git-pull-request-error",60614),rightPanelHide:c("right-panel-hide",60615),rightPanelShow:c("right-panel-show",60616),vscodeInsidersOutline:c("vscode-insiders-outline",60617),vscodeOutline:c("vscode-outline",60618),voiceMode:c("voice-mode",60619),voiceModeCompact:c("voice-mode-compact",60620),micDownload:c("mic-download",60621),micDownloadCompact:c("mic-download-compact",60622),voiceModeDownload:c("voice-mode-download",60623),voiceModeDownloadCompact:c("voice-mode-download-compact",60624),googleGemini:c("google-gemini",60625),kimi:c("kimi",60626),microsoft:c("microsoft",60627),fish1Happy:c("fish1-happy",60628),fish1Neutral:c("fish1-neutral",60629),fish1Sad:c("fish1-sad",60630),fish1VerySad:c("fish1-very-sad",60631),fish2Happy:c("fish2-happy",60632),fish2Neutral:c("fish2-neutral",60633),fish2Sad:c("fish2-sad",60634),fish2VerySad:c("fish2-very-sad",60635),fish3Happy:c("fish3-happy",60636),fish3Neutral:c("fish3-neutral",60637),fish3Sad:c("fish3-sad",60638),fish3VerySad:c("fish3-very-sad",60639),fish4Happy:c("fish4-happy",60640),fish4Neutral:c("fish4-neutral",60641),fish4Sad:c("fish4-sad",60642),fish4VerySad:c("fish4-very-sad",60643),personVoice:c("person-voice",60644),personVoiceCompact:c("person-voice-compact",60645),personVoiceFilled:c("person-voice-filled",60646),personVoiceFilledCompact:c("person-voice-filled-compact",60647),cloudDownloadCompact:c("cloud-download-compact",60648),cloudUploadCompact:c("cloud-upload-compact",60649),micCompact:c("mic-compact",60650),arrowUpCompact:c("arrow-up-compact",60651),xai:c("xai",60652),arrowCircleUpSparkle:c("arrow-circle-up-sparkle",60653),closeSmall:c("close-small",60654),bookCompact:c("book-compact",60655),micOff:c("mic-off",60656),micOffCompact:c("mic-off-compact",60657),copilotDot:c("copilot-dot",60658),copilotDotCompact:c("copilot-dot-compact",60659),layoutDensityCompact:c("layout-density-compact",60660),layoutDensityDefault:c("layout-density-default",60661),gripperCorner:c("gripper-corner",60662),meteredConnection:c("metered-connection",60663)};var Pc={dialogError:c("dialog-error","error"),dialogWarning:c("dialog-warning","warning"),dialogInfo:c("dialog-info","info"),dialogClose:c("dialog-close","close"),treeItemExpanded:c("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:c("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:c("tree-filter-on-type-off","list-selection"),treeFilterClear:c("tree-filter-clear","close"),treeItemLoading:c("tree-item-loading","loading"),menuSelection:c("menu-selection","check"),menuSubmenu:c("menu-submenu","chevron-right"),menuBarMore:c("menubar-more","more"),scrollbarButtonLeft:c("scrollbar-button-left","triangle-left"),scrollbarButtonRight:c("scrollbar-button-right","triangle-right"),scrollbarButtonUp:c("scrollbar-button-up","triangle-up"),scrollbarButtonDown:c("scrollbar-button-down","triangle-down"),toolBarMore:c("toolbar-more","more"),quickInputBack:c("quick-input-back","arrow-left"),dropDownButton:c("drop-down-button",60084),symbolCustomColor:c("symbol-customcolor",60252),exportIcon:c("export",60332),workspaceUnspecified:c("workspace-unspecified",60355),newLine:c("newline",60394),thumbsDownFilled:c("thumbsdown-filled",60435),thumbsUpFilled:c("thumbsup-filled",60436),gitFetch:c("git-fetch",60445),lightbulbSparkleAutofix:c("lightbulb-sparkle-autofix",60447),debugBreakpointPending:c("debug-breakpoint-pending",60377),chatImport:c("chat-import",60550),chatExport:c("chat-export",60551)},q={...Pa,...Pc};var $n=class{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new ce,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,n){return this._tokenizationSupports.set(e,n),this.handleChange([e]),ze(()=>{this._tokenizationSupports.get(e)===n&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,n){this._factories.get(e)?.dispose();let i=new kr(this,e,n);return this._factories.set(e,i),ze(()=>{let r=this._factories.get(e);!r||r!==i||(this._factories.delete(e),r.dispose())})}async getOrCreate(e){let n=this.get(e);if(n)return n;let i=this._factories.get(e);return!i||i.isResolved?null:(await i.resolve(),this.get(e))}isResolved(e){if(this.get(e))return!0;let i=this._factories.get(e);return!!(!i||i.isResolved)}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}},kr=class extends ye{get isResolved(){return this._isResolved}constructor(e,n,i){super(),this._registry=e,this._languageId=n,this._factory=i,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){let e=await this._factory.tokenizationSupport;this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}};var Gn=class{constructor(e,n,i){this.offset=e,this.type=n,this.language=i,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}};var za;(function(t){t[t.Increase=0]="Increase",t[t.Decrease=1]="Decrease"})(za||(za={}));var Fa;(function(t){let e=new Map;e.set(0,q.symbolMethod),e.set(1,q.symbolFunction),e.set(2,q.symbolConstructor),e.set(3,q.symbolField),e.set(4,q.symbolVariable),e.set(5,q.symbolClass),e.set(6,q.symbolStruct),e.set(7,q.symbolInterface),e.set(8,q.symbolModule),e.set(9,q.symbolProperty),e.set(10,q.symbolEvent),e.set(11,q.symbolOperator),e.set(12,q.symbolUnit),e.set(13,q.symbolValue),e.set(15,q.symbolEnum),e.set(14,q.symbolConstant),e.set(16,q.symbolEnumMember),e.set(17,q.symbolKeyword),e.set(28,q.symbolSnippet),e.set(18,q.symbolText),e.set(19,q.symbolColor),e.set(20,q.symbolFile),e.set(21,q.symbolReference),e.set(22,q.symbolCustomColor),e.set(23,q.symbolFolder),e.set(24,q.symbolTypeParameter),e.set(25,q.account),e.set(26,q.issues),e.set(27,q.tools);function n(a){let l=e.get(a);return l||(console.info("No codicon found for CompletionItemKind "+a),l=q.symbolProperty),l}t.toIcon=n;function i(a){switch(a){case 0:return V(778,"Method");case 1:return V(779,"Function");case 2:return V(780,"Constructor");case 3:return V(781,"Field");case 4:return V(782,"Variable");case 5:return V(783,"Class");case 6:return V(784,"Struct");case 7:return V(785,"Interface");case 8:return V(786,"Module");case 9:return V(787,"Property");case 10:return V(788,"Event");case 11:return V(789,"Operator");case 12:return V(790,"Unit");case 13:return V(791,"Value");case 14:return V(792,"Constant");case 15:return V(793,"Enum");case 16:return V(794,"Enum Member");case 17:return V(795,"Keyword");case 18:return V(796,"Text");case 19:return V(797,"Color");case 20:return V(798,"File");case 21:return V(799,"Reference");case 22:return V(800,"Custom Color");case 23:return V(801,"Folder");case 24:return V(802,"Type Parameter");case 25:return V(803,"User");case 26:return V(804,"Issue");case 27:return V(805,"Tool");case 28:return V(806,"Snippet");default:return""}}t.toLabel=i;let r=new Map;r.set("method",0),r.set("function",1),r.set("constructor",2),r.set("field",3),r.set("variable",4),r.set("class",5),r.set("struct",6),r.set("interface",7),r.set("module",8),r.set("property",9),r.set("event",10),r.set("operator",11),r.set("unit",12),r.set("value",13),r.set("constant",14),r.set("enum",15),r.set("enum-member",16),r.set("enumMember",16),r.set("keyword",17),r.set("snippet",28),r.set("text",18),r.set("color",19),r.set("file",20),r.set("reference",21),r.set("customcolor",22),r.set("folder",23),r.set("type-parameter",24),r.set("typeParameter",24),r.set("account",25),r.set("issue",26),r.set("tool",27);function s(a,l){let o=r.get(a);return typeof o>"u"&&!l&&(o=9),o}t.fromString=s})(Fa||(Fa={}));var Ua;(function(t){t[t.Automatic=0]="Automatic",t[t.Explicit=1]="Explicit"})(Ua||(Ua={}));var Wa;(function(t){t[t.Code=1]="Code",t[t.Label=2]="Label"})(Wa||(Wa={}));var Ha;(function(t){t[t.Accepted=0]="Accepted",t[t.Rejected=1]="Rejected",t[t.Ignored=2]="Ignored"})(Ha||(Ha={}));var Ba;(function(t){t[t.Automatic=0]="Automatic",t[t.PasteAs=1]="PasteAs"})(Ba||(Ba={}));var Oa;(function(t){t[t.Invoke=1]="Invoke",t[t.TriggerCharacter=2]="TriggerCharacter",t[t.ContentChange=3]="ContentChange"})(Oa||(Oa={}));var qa;(function(t){t[t.Text=0]="Text",t[t.Read=1]="Read",t[t.Write=2]="Write"})(qa||(qa={}));var Bm={17:V(807,"array"),16:V(808,"boolean"),4:V(809,"class"),13:V(810,"constant"),8:V(811,"constructor"),9:V(812,"enumeration"),21:V(813,"enumeration member"),23:V(814,"event"),7:V(815,"field"),0:V(816,"file"),11:V(817,"function"),10:V(818,"interface"),19:V(819,"key"),5:V(820,"method"),1:V(821,"module"),2:V(822,"namespace"),20:V(823,"null"),15:V(824,"number"),18:V(825,"object"),24:V(826,"operator"),3:V(827,"package"),6:V(828,"property"),14:V(829,"string"),22:V(830,"struct"),25:V(831,"type parameter"),12:V(832,"variable")};var Va;(function(t){let e=new Map;e.set(0,q.symbolFile),e.set(1,q.symbolModule),e.set(2,q.symbolNamespace),e.set(3,q.symbolPackage),e.set(4,q.symbolClass),e.set(5,q.symbolMethod),e.set(6,q.symbolProperty),e.set(7,q.symbolField),e.set(8,q.symbolConstructor),e.set(9,q.symbolEnum),e.set(10,q.symbolInterface),e.set(11,q.symbolFunction),e.set(12,q.symbolVariable),e.set(13,q.symbolConstant),e.set(14,q.symbolString),e.set(15,q.symbolNumber),e.set(16,q.symbolBoolean),e.set(17,q.symbolArray),e.set(18,q.symbolObject),e.set(19,q.symbolKey),e.set(20,q.symbolNull),e.set(21,q.symbolEnumMember),e.set(22,q.symbolStruct),e.set(23,q.symbolEvent),e.set(24,q.symbolOperator),e.set(25,q.symbolTypeParameter);function n(s){let a=e.get(s);return a||(console.info("No codicon found for SymbolKind "+s),a=q.symbolProperty),a}t.toIcon=n;let i=new Map;i.set(0,20),i.set(1,8),i.set(2,8),i.set(3,8),i.set(4,5),i.set(5,0),i.set(6,9),i.set(7,3),i.set(8,2),i.set(9,15),i.set(10,7),i.set(11,1),i.set(12,4),i.set(13,14),i.set(14,18),i.set(15,13),i.set(16,13),i.set(17,13),i.set(18,13),i.set(19,17),i.set(20,13),i.set(21,16),i.set(22,6),i.set(23,10),i.set(24,11),i.set(25,24);function r(s){let a=i.get(s);return a===void 0&&(console.info("No completion kind found for SymbolKind "+s),a=20),a}t.toCompletionKind=r})(Va||(Va={}));var ja=class t{static{this.Comment=new t("comment")}static{this.Imports=new t("imports")}static{this.Region=new t("region")}static fromValue(e){switch(e){case"comment":return t.Comment;case"imports":return t.Imports;case"region":return t.Region}return new t(e)}constructor(e){this.value=e}},$a;(function(t){t[t.AIGenerated=1]="AIGenerated"})($a||($a={}));var Ga;(function(t){t[t.Invoke=0]="Invoke",t[t.Automatic=1]="Automatic"})(Ga||(Ga={}));var Xa;(function(t){function e(n){return!n||typeof n!="object"?!1:typeof n.id=="string"&&typeof n.title=="string"}t.is=e})(Xa||(Xa={}));var Ja;(function(t){t[t.Type=1]="Type",t[t.Parameter=2]="Parameter"})(Ja||(Ja={}));var Om=new $n;var Qa;(function(t){t[t.Unknown=0]="Unknown",t[t.Disabled=1]="Disabled",t[t.Enabled=2]="Enabled"})(Qa||(Qa={}));var Ya;(function(t){t[t.Invoke=1]="Invoke",t[t.Auto=2]="Auto"})(Ya||(Ya={}));var Za;(function(t){t[t.None=0]="None",t[t.KeepWhitespace=1]="KeepWhitespace",t[t.InsertAsSnippet=4]="InsertAsSnippet"})(Za||(Za={}));var Ka;(function(t){t[t.Method=0]="Method",t[t.Function=1]="Function",t[t.Constructor=2]="Constructor",t[t.Field=3]="Field",t[t.Variable=4]="Variable",t[t.Class=5]="Class",t[t.Struct=6]="Struct",t[t.Interface=7]="Interface",t[t.Module=8]="Module",t[t.Property=9]="Property",t[t.Event=10]="Event",t[t.Operator=11]="Operator",t[t.Unit=12]="Unit",t[t.Value=13]="Value",t[t.Constant=14]="Constant",t[t.Enum=15]="Enum",t[t.EnumMember=16]="EnumMember",t[t.Keyword=17]="Keyword",t[t.Text=18]="Text",t[t.Color=19]="Color",t[t.File=20]="File",t[t.Reference=21]="Reference",t[t.Customcolor=22]="Customcolor",t[t.Folder=23]="Folder",t[t.TypeParameter=24]="TypeParameter",t[t.User=25]="User",t[t.Issue=26]="Issue",t[t.Tool=27]="Tool",t[t.Snippet=28]="Snippet"})(Ka||(Ka={}));var eo;(function(t){t[t.Deprecated=1]="Deprecated"})(eo||(eo={}));var to;(function(t){t[t.Invoke=0]="Invoke",t[t.TriggerCharacter=1]="TriggerCharacter",t[t.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(to||(to={}));var no;(function(t){t[t.EXACT=0]="EXACT",t[t.ABOVE=1]="ABOVE",t[t.BELOW=2]="BELOW"})(no||(no={}));var io;(function(t){t[t.NotSet=0]="NotSet",t[t.ContentFlush=1]="ContentFlush",t[t.RecoverFromMarkers=2]="RecoverFromMarkers",t[t.Explicit=3]="Explicit",t[t.Paste=4]="Paste",t[t.Undo=5]="Undo",t[t.Redo=6]="Redo"})(io||(io={}));var ro;(function(t){t[t.LF=1]="LF",t[t.CRLF=2]="CRLF"})(ro||(ro={}));var so;(function(t){t[t.Text=0]="Text",t[t.Read=1]="Read",t[t.Write=2]="Write"})(so||(so={}));var ao;(function(t){t[t.None=0]="None",t[t.Keep=1]="Keep",t[t.Brackets=2]="Brackets",t[t.Advanced=3]="Advanced",t[t.Full=4]="Full"})(ao||(ao={}));var oo;(function(t){t[t.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",t[t.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",t[t.accessibilitySupport=2]="accessibilitySupport",t[t.accessibilityPageSize=3]="accessibilityPageSize",t[t.allowOverflow=4]="allowOverflow",t[t.allowVariableLineHeights=5]="allowVariableLineHeights",t[t.allowVariableFonts=6]="allowVariableFonts",t[t.allowVariableFontsInAccessibilityMode=7]="allowVariableFontsInAccessibilityMode",t[t.ariaLabel=8]="ariaLabel",t[t.ariaRequired=9]="ariaRequired",t[t.autoClosingBrackets=10]="autoClosingBrackets",t[t.autoClosingComments=11]="autoClosingComments",t[t.screenReaderAnnounceInlineSuggestion=12]="screenReaderAnnounceInlineSuggestion",t[t.autoClosingDelete=13]="autoClosingDelete",t[t.autoClosingOvertype=14]="autoClosingOvertype",t[t.autoClosingQuotes=15]="autoClosingQuotes",t[t.autoIndent=16]="autoIndent",t[t.autoIndentOnPaste=17]="autoIndentOnPaste",t[t.autoIndentOnPasteWithinString=18]="autoIndentOnPasteWithinString",t[t.automaticLayout=19]="automaticLayout",t[t.autoSurround=20]="autoSurround",t[t.bracketPairColorization=21]="bracketPairColorization",t[t.guides=22]="guides",t[t.codeLens=23]="codeLens",t[t.codeLensFontFamily=24]="codeLensFontFamily",t[t.codeLensFontSize=25]="codeLensFontSize",t[t.colorDecorators=26]="colorDecorators",t[t.colorDecoratorsLimit=27]="colorDecoratorsLimit",t[t.columnSelection=28]="columnSelection",t[t.comments=29]="comments",t[t.contextmenu=30]="contextmenu",t[t.copyWithSyntaxHighlighting=31]="copyWithSyntaxHighlighting",t[t.cursorBlinking=32]="cursorBlinking",t[t.cursorSmoothCaretAnimation=33]="cursorSmoothCaretAnimation",t[t.cursorStyle=34]="cursorStyle",t[t.cursorSurroundingLines=35]="cursorSurroundingLines",t[t.cursorSurroundingLinesStyle=36]="cursorSurroundingLinesStyle",t[t.cursorWidth=37]="cursorWidth",t[t.cursorHeight=38]="cursorHeight",t[t.disableLayerHinting=39]="disableLayerHinting",t[t.disableMonospaceOptimizations=40]="disableMonospaceOptimizations",t[t.domReadOnly=41]="domReadOnly",t[t.dragAndDrop=42]="dragAndDrop",t[t.dropIntoEditor=43]="dropIntoEditor",t[t.editContext=44]="editContext",t[t.emptySelectionClipboard=45]="emptySelectionClipboard",t[t.experimentalGpuAcceleration=46]="experimentalGpuAcceleration",t[t.experimentalWhitespaceRendering=47]="experimentalWhitespaceRendering",t[t.extraEditorClassName=48]="extraEditorClassName",t[t.fastScrollSensitivity=49]="fastScrollSensitivity",t[t.find=50]="find",t[t.fixedOverflowWidgets=51]="fixedOverflowWidgets",t[t.folding=52]="folding",t[t.foldingStrategy=53]="foldingStrategy",t[t.foldingHighlight=54]="foldingHighlight",t[t.foldingImportsByDefault=55]="foldingImportsByDefault",t[t.foldingMaximumRegions=56]="foldingMaximumRegions",t[t.unfoldOnClickAfterEndOfLine=57]="unfoldOnClickAfterEndOfLine",t[t.fontFamily=58]="fontFamily",t[t.fontInfo=59]="fontInfo",t[t.fontLigatures=60]="fontLigatures",t[t.fontSize=61]="fontSize",t[t.fontWeight=62]="fontWeight",t[t.fontVariations=63]="fontVariations",t[t.formatOnPaste=64]="formatOnPaste",t[t.formatOnType=65]="formatOnType",t[t.glyphMargin=66]="glyphMargin",t[t.gotoLocation=67]="gotoLocation",t[t.hideCursorInOverviewRuler=68]="hideCursorInOverviewRuler",t[t.hover=69]="hover",t[t.inDiffEditor=70]="inDiffEditor",t[t.inlineSuggest=71]="inlineSuggest",t[t.letterSpacing=72]="letterSpacing",t[t.lightbulb=73]="lightbulb",t[t.lineDecorationsWidth=74]="lineDecorationsWidth",t[t.lineHeight=75]="lineHeight",t[t.lineNumbers=76]="lineNumbers",t[t.lineNumbersMinChars=77]="lineNumbersMinChars",t[t.linkedEditing=78]="linkedEditing",t[t.links=79]="links",t[t.matchBrackets=80]="matchBrackets",t[t.minimap=81]="minimap",t[t.mouseStyle=82]="mouseStyle",t[t.mouseWheelScrollSensitivity=83]="mouseWheelScrollSensitivity",t[t.mouseWheelZoom=84]="mouseWheelZoom",t[t.multiCursorMergeOverlapping=85]="multiCursorMergeOverlapping",t[t.multiCursorModifier=86]="multiCursorModifier",t[t.mouseMiddleClickAction=87]="mouseMiddleClickAction",t[t.multiCursorPaste=88]="multiCursorPaste",t[t.multiCursorLimit=89]="multiCursorLimit",t[t.occurrencesHighlight=90]="occurrencesHighlight",t[t.occurrencesHighlightDelay=91]="occurrencesHighlightDelay",t[t.overtypeCursorStyle=92]="overtypeCursorStyle",t[t.overtypeOnPaste=93]="overtypeOnPaste",t[t.overviewRulerBorder=94]="overviewRulerBorder",t[t.overviewRulerLanes=95]="overviewRulerLanes",t[t.padding=96]="padding",t[t.pasteAs=97]="pasteAs",t[t.parameterHints=98]="parameterHints",t[t.peekWidgetDefaultFocus=99]="peekWidgetDefaultFocus",t[t.placeholder=100]="placeholder",t[t.definitionLinkOpensInPeek=101]="definitionLinkOpensInPeek",t[t.quickSuggestions=102]="quickSuggestions",t[t.quickSuggestionsDelay=103]="quickSuggestionsDelay",t[t.readOnly=104]="readOnly",t[t.readOnlyMessage=105]="readOnlyMessage",t[t.renameOnType=106]="renameOnType",t[t.renderRichScreenReaderContent=107]="renderRichScreenReaderContent",t[t.renderControlCharacters=108]="renderControlCharacters",t[t.renderFinalNewline=109]="renderFinalNewline",t[t.renderLineHighlight=110]="renderLineHighlight",t[t.renderLineHighlightOnlyWhenFocus=111]="renderLineHighlightOnlyWhenFocus",t[t.renderValidationDecorations=112]="renderValidationDecorations",t[t.renderWhitespace=113]="renderWhitespace",t[t.revealHorizontalRightPadding=114]="revealHorizontalRightPadding",t[t.roundedSelection=115]="roundedSelection",t[t.rulers=116]="rulers",t[t.scrollbar=117]="scrollbar",t[t.scrollBeyondLastColumn=118]="scrollBeyondLastColumn",t[t.scrollBeyondLastLine=119]="scrollBeyondLastLine",t[t.scrollPredominantAxis=120]="scrollPredominantAxis",t[t.selectionClipboard=121]="selectionClipboard",t[t.selectionHighlight=122]="selectionHighlight",t[t.selectionHighlightMaxLength=123]="selectionHighlightMaxLength",t[t.selectionHighlightMultiline=124]="selectionHighlightMultiline",t[t.selectOnLineNumbers=125]="selectOnLineNumbers",t[t.showFoldingControls=126]="showFoldingControls",t[t.showUnused=127]="showUnused",t[t.snippetSuggestions=128]="snippetSuggestions",t[t.smartSelect=129]="smartSelect",t[t.smoothScrolling=130]="smoothScrolling",t[t.stickyScroll=131]="stickyScroll",t[t.stickyTabStops=132]="stickyTabStops",t[t.stopRenderingLineAfter=133]="stopRenderingLineAfter",t[t.suggest=134]="suggest",t[t.suggestFontSize=135]="suggestFontSize",t[t.suggestLineHeight=136]="suggestLineHeight",t[t.suggestOnTriggerCharacters=137]="suggestOnTriggerCharacters",t[t.suggestSelection=138]="suggestSelection",t[t.tabCompletion=139]="tabCompletion",t[t.tabIndex=140]="tabIndex",t[t.trimWhitespaceOnDelete=141]="trimWhitespaceOnDelete",t[t.unicodeHighlighting=142]="unicodeHighlighting",t[t.unusualLineTerminators=143]="unusualLineTerminators",t[t.useShadowDOM=144]="useShadowDOM",t[t.useTabStops=145]="useTabStops",t[t.wordBreak=146]="wordBreak",t[t.wordSegmenterLocales=147]="wordSegmenterLocales",t[t.wordSeparators=148]="wordSeparators",t[t.wordWrap=149]="wordWrap",t[t.wordWrapBreakAfterCharacters=150]="wordWrapBreakAfterCharacters",t[t.wordWrapBreakBeforeCharacters=151]="wordWrapBreakBeforeCharacters",t[t.wordWrapColumn=152]="wordWrapColumn",t[t.wordWrapOverride1=153]="wordWrapOverride1",t[t.wordWrapOverride2=154]="wordWrapOverride2",t[t.wrappingIndent=155]="wrappingIndent",t[t.wrappingStrategy=156]="wrappingStrategy",t[t.showDeprecated=157]="showDeprecated",t[t.inertialScroll=158]="inertialScroll",t[t.inlayHints=159]="inlayHints",t[t.wrapOnEscapedLineFeeds=160]="wrapOnEscapedLineFeeds",t[t.wordWrapIndicator=161]="wordWrapIndicator",t[t.effectiveCursorStyle=162]="effectiveCursorStyle",t[t.editorClassName=163]="editorClassName",t[t.pixelRatio=164]="pixelRatio",t[t.tabFocusMode=165]="tabFocusMode",t[t.layoutInfo=166]="layoutInfo",t[t.wrappingInfo=167]="wrappingInfo",t[t.defaultColorDecorators=168]="defaultColorDecorators",t[t.colorDecoratorsActivatedOn=169]="colorDecoratorsActivatedOn",t[t.inlineCompletionsAccessibilityVerbose=170]="inlineCompletionsAccessibilityVerbose",t[t.effectiveEditContext=171]="effectiveEditContext",t[t.scrollOnMiddleClick=172]="scrollOnMiddleClick",t[t.effectiveAllowVariableFonts=173]="effectiveAllowVariableFonts",t[t.doubleClickSelectsBlock=174]="doubleClickSelectsBlock",t[t.fullwidthCharacterWidth=175]="fullwidthCharacterWidth",t[t.effectiveFullwidthCharacterWidth=176]="effectiveFullwidthCharacterWidth"})(oo||(oo={}));var lo;(function(t){t[t.TextDefined=0]="TextDefined",t[t.LF=1]="LF",t[t.CRLF=2]="CRLF"})(lo||(lo={}));var uo;(function(t){t[t.LF=0]="LF",t[t.CRLF=1]="CRLF"})(uo||(uo={}));var co;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=3]="Right"})(co||(co={}));var ho;(function(t){t[t.Increase=0]="Increase",t[t.Decrease=1]="Decrease"})(ho||(ho={}));var mo;(function(t){t[t.None=0]="None",t[t.Indent=1]="Indent",t[t.IndentOutdent=2]="IndentOutdent",t[t.Outdent=3]="Outdent"})(mo||(mo={}));var fo;(function(t){t[t.Both=0]="Both",t[t.Right=1]="Right",t[t.Left=2]="Left",t[t.None=3]="None"})(fo||(fo={}));var po;(function(t){t[t.Type=1]="Type",t[t.Parameter=2]="Parameter"})(po||(po={}));var go;(function(t){t[t.Accepted=0]="Accepted",t[t.Rejected=1]="Rejected",t[t.Ignored=2]="Ignored"})(go||(go={}));var bo;(function(t){t[t.Code=1]="Code",t[t.Label=2]="Label"})(bo||(bo={}));var wo;(function(t){t[t.Automatic=0]="Automatic",t[t.Explicit=1]="Explicit"})(wo||(wo={}));var Xn;(function(t){t[t.DependsOnKbLayout=-1]="DependsOnKbLayout",t[t.Unknown=0]="Unknown",t[t.Backspace=1]="Backspace",t[t.Tab=2]="Tab",t[t.Enter=3]="Enter",t[t.Shift=4]="Shift",t[t.Ctrl=5]="Ctrl",t[t.Alt=6]="Alt",t[t.PauseBreak=7]="PauseBreak",t[t.CapsLock=8]="CapsLock",t[t.Escape=9]="Escape",t[t.Space=10]="Space",t[t.PageUp=11]="PageUp",t[t.PageDown=12]="PageDown",t[t.End=13]="End",t[t.Home=14]="Home",t[t.LeftArrow=15]="LeftArrow",t[t.UpArrow=16]="UpArrow",t[t.RightArrow=17]="RightArrow",t[t.DownArrow=18]="DownArrow",t[t.Insert=19]="Insert",t[t.Delete=20]="Delete",t[t.Digit0=21]="Digit0",t[t.Digit1=22]="Digit1",t[t.Digit2=23]="Digit2",t[t.Digit3=24]="Digit3",t[t.Digit4=25]="Digit4",t[t.Digit5=26]="Digit5",t[t.Digit6=27]="Digit6",t[t.Digit7=28]="Digit7",t[t.Digit8=29]="Digit8",t[t.Digit9=30]="Digit9",t[t.KeyA=31]="KeyA",t[t.KeyB=32]="KeyB",t[t.KeyC=33]="KeyC",t[t.KeyD=34]="KeyD",t[t.KeyE=35]="KeyE",t[t.KeyF=36]="KeyF",t[t.KeyG=37]="KeyG",t[t.KeyH=38]="KeyH",t[t.KeyI=39]="KeyI",t[t.KeyJ=40]="KeyJ",t[t.KeyK=41]="KeyK",t[t.KeyL=42]="KeyL",t[t.KeyM=43]="KeyM",t[t.KeyN=44]="KeyN",t[t.KeyO=45]="KeyO",t[t.KeyP=46]="KeyP",t[t.KeyQ=47]="KeyQ",t[t.KeyR=48]="KeyR",t[t.KeyS=49]="KeyS",t[t.KeyT=50]="KeyT",t[t.KeyU=51]="KeyU",t[t.KeyV=52]="KeyV",t[t.KeyW=53]="KeyW",t[t.KeyX=54]="KeyX",t[t.KeyY=55]="KeyY",t[t.KeyZ=56]="KeyZ",t[t.Meta=57]="Meta",t[t.ContextMenu=58]="ContextMenu",t[t.F1=59]="F1",t[t.F2=60]="F2",t[t.F3=61]="F3",t[t.F4=62]="F4",t[t.F5=63]="F5",t[t.F6=64]="F6",t[t.F7=65]="F7",t[t.F8=66]="F8",t[t.F9=67]="F9",t[t.F10=68]="F10",t[t.F11=69]="F11",t[t.F12=70]="F12",t[t.F13=71]="F13",t[t.F14=72]="F14",t[t.F15=73]="F15",t[t.F16=74]="F16",t[t.F17=75]="F17",t[t.F18=76]="F18",t[t.F19=77]="F19",t[t.F20=78]="F20",t[t.F21=79]="F21",t[t.F22=80]="F22",t[t.F23=81]="F23",t[t.F24=82]="F24",t[t.NumLock=83]="NumLock",t[t.ScrollLock=84]="ScrollLock",t[t.Semicolon=85]="Semicolon",t[t.Equal=86]="Equal",t[t.Comma=87]="Comma",t[t.Minus=88]="Minus",t[t.Period=89]="Period",t[t.Slash=90]="Slash",t[t.Backquote=91]="Backquote",t[t.BracketLeft=92]="BracketLeft",t[t.Backslash=93]="Backslash",t[t.BracketRight=94]="BracketRight",t[t.Quote=95]="Quote",t[t.OEM_8=96]="OEM_8",t[t.IntlBackslash=97]="IntlBackslash",t[t.Numpad0=98]="Numpad0",t[t.Numpad1=99]="Numpad1",t[t.Numpad2=100]="Numpad2",t[t.Numpad3=101]="Numpad3",t[t.Numpad4=102]="Numpad4",t[t.Numpad5=103]="Numpad5",t[t.Numpad6=104]="Numpad6",t[t.Numpad7=105]="Numpad7",t[t.Numpad8=106]="Numpad8",t[t.Numpad9=107]="Numpad9",t[t.NumpadMultiply=108]="NumpadMultiply",t[t.NumpadAdd=109]="NumpadAdd",t[t.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",t[t.NumpadSubtract=111]="NumpadSubtract",t[t.NumpadDecimal=112]="NumpadDecimal",t[t.NumpadDivide=113]="NumpadDivide",t[t.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",t[t.ABNT_C1=115]="ABNT_C1",t[t.ABNT_C2=116]="ABNT_C2",t[t.AudioVolumeMute=117]="AudioVolumeMute",t[t.AudioVolumeUp=118]="AudioVolumeUp",t[t.AudioVolumeDown=119]="AudioVolumeDown",t[t.BrowserSearch=120]="BrowserSearch",t[t.BrowserHome=121]="BrowserHome",t[t.BrowserBack=122]="BrowserBack",t[t.BrowserForward=123]="BrowserForward",t[t.MediaTrackNext=124]="MediaTrackNext",t[t.MediaTrackPrevious=125]="MediaTrackPrevious",t[t.MediaStop=126]="MediaStop",t[t.MediaPlayPause=127]="MediaPlayPause",t[t.LaunchMediaPlayer=128]="LaunchMediaPlayer",t[t.LaunchMail=129]="LaunchMail",t[t.LaunchApp2=130]="LaunchApp2",t[t.Clear=131]="Clear",t[t.MAX_VALUE=132]="MAX_VALUE"})(Xn||(Xn={}));var Jn;(function(t){t[t.Hint=1]="Hint",t[t.Info=2]="Info",t[t.Warning=4]="Warning",t[t.Error=8]="Error"})(Jn||(Jn={}));var Qn;(function(t){t[t.Unnecessary=1]="Unnecessary",t[t.Deprecated=2]="Deprecated"})(Qn||(Qn={}));var _o;(function(t){t[t.Inline=1]="Inline",t[t.Gutter=2]="Gutter"})(_o||(_o={}));var vo;(function(t){t[t.Normal=1]="Normal",t[t.Underlined=2]="Underlined"})(vo||(vo={}));var yo;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.TEXTAREA=1]="TEXTAREA",t[t.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",t[t.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",t[t.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",t[t.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",t[t.CONTENT_TEXT=6]="CONTENT_TEXT",t[t.CONTENT_EMPTY=7]="CONTENT_EMPTY",t[t.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",t[t.CONTENT_WIDGET=9]="CONTENT_WIDGET",t[t.OVERVIEW_RULER=10]="OVERVIEW_RULER",t[t.SCROLLBAR=11]="SCROLLBAR",t[t.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",t[t.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(yo||(yo={}));var xo;(function(t){t[t.AIGenerated=1]="AIGenerated"})(xo||(xo={}));var To;(function(t){t[t.Invoke=0]="Invoke",t[t.Automatic=1]="Automatic"})(To||(To={}));var ko;(function(t){t[t.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",t[t.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",t[t.TOP_CENTER=2]="TOP_CENTER"})(ko||(ko={}));var So;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=4]="Right",t[t.Full=7]="Full"})(So||(So={}));var Lo;(function(t){t[t.Word=0]="Word",t[t.Line=1]="Line",t[t.Suggest=2]="Suggest"})(Lo||(Lo={}));var Ao;(function(t){t[t.Left=0]="Left",t[t.Right=1]="Right",t[t.None=2]="None",t[t.LeftOfInjectedText=3]="LeftOfInjectedText",t[t.RightOfInjectedText=4]="RightOfInjectedText"})(Ao||(Ao={}));var Co;(function(t){t[t.Off=0]="Off",t[t.On=1]="On",t[t.Relative=2]="Relative",t[t.Interval=3]="Interval",t[t.Custom=4]="Custom"})(Co||(Co={}));var Eo;(function(t){t[t.None=0]="None",t[t.Text=1]="Text",t[t.Blocks=2]="Blocks"})(Eo||(Eo={}));var Ro;(function(t){t[t.Smooth=0]="Smooth",t[t.Immediate=1]="Immediate"})(Ro||(Ro={}));var Do;(function(t){t[t.Auto=1]="Auto",t[t.Hidden=2]="Hidden",t[t.Visible=3]="Visible"})(Do||(Do={}));var Yn;(function(t){t[t.LTR=0]="LTR",t[t.RTL=1]="RTL"})(Yn||(Yn={}));var Mo;(function(t){t.Off="off",t.OnCode="onCode",t.On="on"})(Mo||(Mo={}));var No;(function(t){t[t.Invoke=1]="Invoke",t[t.TriggerCharacter=2]="TriggerCharacter",t[t.ContentChange=3]="ContentChange"})(No||(No={}));var Io;(function(t){t[t.File=0]="File",t[t.Module=1]="Module",t[t.Namespace=2]="Namespace",t[t.Package=3]="Package",t[t.Class=4]="Class",t[t.Method=5]="Method",t[t.Property=6]="Property",t[t.Field=7]="Field",t[t.Constructor=8]="Constructor",t[t.Enum=9]="Enum",t[t.Interface=10]="Interface",t[t.Function=11]="Function",t[t.Variable=12]="Variable",t[t.Constant=13]="Constant",t[t.String=14]="String",t[t.Number=15]="Number",t[t.Boolean=16]="Boolean",t[t.Array=17]="Array",t[t.Object=18]="Object",t[t.Key=19]="Key",t[t.Null=20]="Null",t[t.EnumMember=21]="EnumMember",t[t.Struct=22]="Struct",t[t.Event=23]="Event",t[t.Operator=24]="Operator",t[t.TypeParameter=25]="TypeParameter"})(Io||(Io={}));var Po;(function(t){t[t.Deprecated=1]="Deprecated"})(Po||(Po={}));var zo;(function(t){t[t.LTR=0]="LTR",t[t.RTL=1]="RTL"})(zo||(zo={}));var Fo;(function(t){t[t.Hidden=0]="Hidden",t[t.Blink=1]="Blink",t[t.Smooth=2]="Smooth",t[t.Phase=3]="Phase",t[t.Expand=4]="Expand",t[t.Solid=5]="Solid"})(Fo||(Fo={}));var Uo;(function(t){t[t.Line=1]="Line",t[t.Block=2]="Block",t[t.Underline=3]="Underline",t[t.LineThin=4]="LineThin",t[t.BlockOutline=5]="BlockOutline",t[t.UnderlineThin=6]="UnderlineThin"})(Uo||(Uo={}));var Wo;(function(t){t[t.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",t[t.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",t[t.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",t[t.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(Wo||(Wo={}));var Ho;(function(t){t[t.None=0]="None",t[t.Same=1]="Same",t[t.Indent=2]="Indent",t[t.DeepIndent=3]="DeepIndent"})(Ho||(Ho={}));var Sr=class{static{this.CtrlCmd=2048}static{this.Shift=1024}static{this.Alt=512}static{this.WinCtrl=256}static chord(e,n){return La(e,n)}};function Bo(){return{editor:void 0,languages:void 0,CancellationTokenSource:en,Emitter:ce,KeyCode:Xn,KeyMod:Sr,Position:G,Range:O,Selection:jn,SelectionDirection:Yn,MarkerSeverity:Jn,MarkerTag:Qn,Uri:me,Token:Gn}}var Oo,qo,Vo,Lr=class{constructor(e,n){this.uri=e,this.value=n}};function zc(t){return Array.isArray(t)}var Zn=class t{static{this.defaultToKey=e=>e.toString()}constructor(e,n){if(this[Oo]="ResourceMap",e instanceof t)this.map=new Map(e.map),this.toKey=n??t.defaultToKey;else if(zc(e)){this.map=new Map,this.toKey=n??t.defaultToKey;for(let[i,r]of e)this.set(i,r)}else this.map=new Map,this.toKey=e??t.defaultToKey}set(e,n){return this.map.set(this.toKey(e),new Lr(e,n)),this}get(e){return this.map.get(this.toKey(e))?.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,n){typeof n<"u"&&(e=e.bind(n));for(let[i,r]of this.map)e(r.value,r.uri,this)}*values(){for(let e of this.map.values())yield e.value}*keys(){for(let e of this.map.values())yield e.uri}*entries(){for(let e of this.map.values())yield[e.uri,e.value]}*[(Oo=Symbol.toStringTag,Symbol.iterator)](){for(let[,e]of this.map)yield[e.uri,e.value]}},jo=class{constructor(e,n){this[qo]="ResourceSet",!e||typeof e=="function"?this._map=new Zn(e):(this._map=new Zn(n),e.forEach(this.add,this))}get size(){return this._map.size}add(e){return this._map.set(e,e),this}clear(){this._map.clear()}delete(e){return this._map.delete(e)}forEach(e,n){this._map.forEach((i,r)=>e.call(n,r,r,this))}has(e){return this._map.has(e)}entries(){return this._map.entries()}keys(){return this._map.keys()}values(){return this._map.keys()}[(qo=Symbol.toStringTag,Symbol.iterator)](){return this.keys()}},Ar=class{constructor(){this[Vo]="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(e){return this._map.has(e)}get(e,n=0){let i=this._map.get(e);if(i)return n!==0&&this.touch(i,n),i.value}set(e,n,i=0){let r=this._map.get(e);if(r)r.value=n,i!==0&&this.touch(r,i);else{switch(r={key:e,value:n,next:void 0,previous:void 0},i){case 0:this.addItemLast(r);break;case 1:this.addItemFirst(r);break;case 2:this.addItemLast(r);break;default:this.addItemLast(r);break}this._map.set(e,r),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){let n=this._map.get(e);if(n)return this._map.delete(e),this.removeItem(n),this._size--,n.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");let e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,n){let i=this._state,r=this._head;for(;r;){if(n?e.bind(n)(r.value,r.key,this):e(r.value,r.key,this),this._state!==i)throw new Error("LinkedMap got modified during iteration.");r=r.next}}keys(){let e=this,n=this._state,i=this._head,r={[Symbol.iterator](){return r},[Symbol.dispose](){},next(){if(e._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){let s={value:i.key,done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}values(){let e=this,n=this._state,i=this._head,r={[Symbol.iterator](){return r},[Symbol.dispose](){},next(){if(e._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){let s={value:i.value,done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}entries(){let e=this,n=this._state,i=this._head,r={[Symbol.iterator](){return r},[Symbol.dispose](){},next(){if(e._state!==n)throw new Error("LinkedMap got modified during iteration.");if(i){let s={value:[i.key,i.value],done:!1};return i=i.next,s}else return{value:void 0,done:!0}}};return r}[(Vo=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let n=this._head,i=this.size;for(;n&&i>e;)this._map.delete(n.key),n=n.next,i--;this._head=n,this._size=i,n&&(n.previous=void 0),this._state++}trimNew(e){if(e>=this.size)return;if(e===0){this.clear();return}let n=this._tail,i=this.size;for(;n&&i>e;)this._map.delete(n.key),n=n.previous,i--;this._tail=n,this._size=i,n&&(n.next=void 0),this._state++}addItemFirst(e){if(!this._head&&!this._tail)this._tail=e;else if(this._head)e.next=this._head,this._head.previous=e;else throw new Error("Invalid list");this._head=e,this._state++}addItemLast(e){if(!this._head&&!this._tail)this._head=e;else if(this._tail)e.previous=this._tail,this._tail.next=e;else throw new Error("Invalid list");this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{let n=e.next,i=e.previous;if(!n||!i)throw new Error("Invalid list");n.previous=i,i.next=n}e.next=void 0,e.previous=void 0,this._state++}touch(e,n){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(n!==1&&n!==2)){if(n===1){if(e===this._head)return;let i=e.next,r=e.previous;e===this._tail?(r.next=void 0,this._tail=r):(i.previous=r,r.next=i),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(n===2){if(e===this._tail)return;let i=e.next,r=e.previous;e===this._head?(i.previous=void 0,this._head=i):(i.previous=r,r.next=i),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){let e=[];return this.forEach((n,i)=>{e.push([i,n])}),e}fromJSON(e){this.clear();for(let[n,i]of e)this.set(n,i)}},Cr=class extends Ar{constructor(e,n=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,n),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,n=2){return super.get(e,n)}peek(e){return super.get(e,0)}set(e,n){return super.set(e,n,2),this}checkTrim(){this.size>this._limit&&this.trim(Math.round(this._limit*this._ratio))}},Kn=class extends Cr{constructor(e,n=1){super(e,n)}trim(e){this.trimOld(e)}set(e,n){return super.set(e,n),this.checkTrim(),this}};var ei=class{constructor(){this.map=new Map}add(e,n){let i=this.map.get(e);i||(i=new Set,this.map.set(e,i)),i.add(n)}delete(e,n){let i=this.map.get(e);i&&(i.delete(n),i.size===0&&this.map.delete(e))}forEach(e,n){let i=this.map.get(e);i&&i.forEach(n)}};var u1=new Kn(10);var $o;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=4]="Right",t[t.Full=7]="Full"})($o||($o={}));var Go;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=3]="Right"})(Go||(Go={}));var Xo;(function(t){t[t.LTR=0]="LTR",t[t.RTL=1]="RTL"})(Xo||(Xo={}));var Jo;(function(t){t[t.Both=0]="Both",t[t.Right=1]="Right",t[t.Left=2]="Left",t[t.None=3]="None"})(Jo||(Jo={}));function Qo(t){if(!t||t.length===0)return!1;for(let e=0,n=t.length;e<n;e++){let i=t.charCodeAt(e);if(i===10)return!0;if(i===92){if(e++,e>=n)break;let r=t.charCodeAt(e);if(r===110||r===114||r===87)return!0}}return!1}function Fc(t,e,n,i,r){if(i===0)return!0;let s=e.charCodeAt(i-1);if(t.get(s)!==0||s===13||s===10)return!0;if(r>0){let a=e.charCodeAt(i);if(t.get(a)!==0)return!0}return!1}function Uc(t,e,n,i,r){if(i+r===n)return!0;let s=e.charCodeAt(i+r);if(t.get(s)!==0||s===13||s===10)return!0;if(r>0){let a=e.charCodeAt(i+r-1);if(t.get(a)!==0)return!0}return!1}function Wc(t,e,n,i,r){return Fc(t,e,n,i,r)&&Uc(t,e,n,i,r)}var ti=class{constructor(e,n){this._wordSeparators=e,this._searchRegex=n,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){let n=e.length,i;do{if(this._prevMatchStartIndex+this._prevMatchLength===n||(i=this._searchRegex.exec(e),!i))return null;let r=i.index,s=i[0].length;if(r===this._prevMatchStartIndex&&s===this._prevMatchLength){if(s===0){ua(e,n,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=r,this._prevMatchLength=s,!this._wordSeparators||Wc(this._wordSeparators,e,n,r,s))return i}while(i);return null}};var Hc="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function Bc(t=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(let n of Hc)t.indexOf(n)>=0||(e+="\\"+n);return e+="\\s]+)",new RegExp(e,"g")}var Er=Bc();function Rr(t){let e=Er;if(t&&t instanceof RegExp)if(t.global)e=t;else{let n="g";t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),e=new RegExp(t.source,n)}return e.lastIndex=0,e}var Yo=new jt;Yo.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function nn(t,e,n,i,r){if(e=Rr(e),r||(r=_t.first(Yo)),n.length>r.maxLen){let u=t-r.maxLen/2;return u<0?u=0:i+=u,n=n.substring(u,t+r.maxLen/2),nn(t,e,n,i,r)}let s=Date.now(),a=t-1-i,l=-1,o=null;for(let u=1;!(Date.now()-s>=r.timeBudget);u++){let h=a-r.windowSize*u;e.lastIndex=Math.max(0,h);let d=Oc(e,n,a,l);if(!d&&o||(o=d,h<=0))break;l=h}if(o){let u={word:o[0],startColumn:i+1+o.index,endColumn:i+1+o.index+o[0].length};return e.lastIndex=0,u}return null}function Oc(t,e,n,i){let r;for(;r=t.exec(e);){let s=r.index||0;if(s<=n&&t.lastIndex>=n)return r;if(i>0&&s>i)return null}return null}var ni=class{static computeUnicodeHighlights(e,n,i){let r=i?i.startLineNumber:1,s=i?i.endLineNumber:e.getLineCount(),a=new ii(n),l=a.getCandidateCodePoints(),o;l==="allNonBasicAscii"?o=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):o=new RegExp(`${qc(Array.from(l))}`,"g");let u=new ti(null,o),h=[],d=!1,m,f=0,w=0,p=0;e:for(let x=r,y=s;x<=y;x++){let v=e.getLineContent(x),S=v.length;u.reset(0);do if(m=u.next(v),m){let P=m.index,z=m.index+m[0].length;if(P>0){let _=v.charCodeAt(P-1);kt(_)&&P--}if(z+1<S){let _=v.charCodeAt(z-1);kt(_)&&z++}let H=v.substring(P,z),b=nn(P+1,Er,v,0);b&&b.endColumn<=P+1&&(b=null);let g=a.shouldHighlightNonBasicASCII(H,b?b.word:null);if(g!==0){if(g===3?f++:g===2?w++:g===1?p++:Fs(),h.length>=1e3){d=!0;break e}h.push(new O(x,P+1,x,z+1))}}while(m)}return{ranges:h,hasMore:d,ambiguousCharacterCount:f,invisibleCharacterCount:w,nonBasicAsciiCharacterCount:p}}static computeUnicodeHighlightReason(e,n){let i=new ii(n);switch(i.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{let s=e.codePointAt(0),a=i.ambiguousCharacters.getPrimaryConfusable(s),l=xt.getLocales().filter(o=>!xt.getInstance(new Set([...n.allowedLocales,o])).isAmbiguous(s));return{kind:0,confusableWith:String.fromCodePoint(a),notAmbiguousInLocales:l}}case 1:return{kind:2}}}};function qc(t,e){return`[${ra(t.map(i=>String.fromCodePoint(i)).join(""))}]`}var ii=class{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=xt.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let n of Tt.codePoints)Zo(String.fromCodePoint(n))||e.add(n);if(this.options.ambiguousCharacters)for(let n of this.ambiguousCharacters.getConfusableCodePoints())e.add(n);for(let n of this.allowedCodePoints)e.delete(n);return e}shouldHighlightNonBasicASCII(e,n){let i=e.codePointAt(0);if(this.allowedCodePoints.has(i))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,s=!1;if(n)for(let a of n){let l=a.codePointAt(0),o=ca(a);r=r||o,!o&&!this.ambiguousCharacters.isAmbiguous(l)&&!Tt.isInvisibleCharacter(l)&&(s=!0)}return!r&&s?0:this.options.invisibleCharacters&&!Zo(e)&&Tt.isInvisibleCharacter(i)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(i)?3:0}};function Zo(t){return t===" "||t===`
|
|
8
|
+
`||t===" "}var Re=class{constructor(e,n,i){this.changes=e,this.moves=n,this.hitTimeout=i}},Lt=class{constructor(e,n){this.lineRangeMapping=e,this.changes=n}};function el(t,e,n=(i,r)=>i===r){if(t===e)return!0;if(!t||!e||t.length!==e.length)return!1;for(let i=0,r=t.length;i<r;i++)if(!n(t[i],e[i]))return!1;return!0}function*tl(t,e){let n,i;for(let r of t)i!==void 0&&e(i,r)?n.push(r):(n&&(yield n),n=[r]),i=r;n&&(yield n)}function nl(t,e){for(let n=0;n<=t.length;n++)e(n===0?void 0:t[n-1],n===t.length?void 0:t[n])}function il(t,e){for(let n=0;n<t.length;n++)e(n===0?void 0:t[n-1],t[n],n+1===t.length?void 0:t[n+1])}function rl(t,e){for(let n of e)t.push(n)}var Dr;(function(t){function e(s){return s<0}t.isLessThan=e;function n(s){return s<=0}t.isLessThanOrEqual=n;function i(s){return s>0}t.isGreaterThan=i;function r(s){return s===0}t.isNeitherLessOrGreaterThan=r,t.greaterThan=1,t.lessThan=-1,t.neitherLessOrGreaterThan=0})(Dr||(Dr={}));function Be(t,e){return(n,i)=>e(t(n),t(i))}var ut=(t,e)=>t-e;function sl(t){return(e,n)=>-t(e,n)}var Ko=class t{static{this.empty=new t(e=>{})}constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(n=>(e.push(n),!0)),e}filter(e){return new t(n=>this.iterate(i=>e(i)?n(i):!0))}map(e){return new t(n=>this.iterate(i=>n(e(i))))}findLast(e){let n;return this.iterate(i=>(e(i)&&(n=i),!0)),n}findLastMaxBy(e){let n,i=!0;return this.iterate(r=>((i||Dr.isGreaterThan(e(r,n)))&&(i=!1,n=r),!0)),n}};var j=class t{static fromTo(e,n){return new t(e,n)}static addRange(e,n){let i=0;for(;i<n.length&&n[i].endExclusive<e.start;)i++;let r=i;for(;r<n.length&&n[r].start<=e.endExclusive;)r++;if(i===r)n.splice(i,0,e);else{let s=Math.min(e.start,n[i].start),a=Math.max(e.endExclusive,n[r-1].endExclusive);n.splice(i,r-i,new t(s,a))}}static tryCreate(e,n){if(!(e>n))return new t(e,n)}static ofLength(e){return new t(0,e)}static ofStartAndLength(e,n){return new t(e,e+n)}static emptyAt(e){return new t(e,e)}constructor(e,n){if(this.start=e,this.endExclusive=n,e>n)throw new K(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new t(this.start+e,this.endExclusive+e)}deltaStart(e){return new t(this.start+e,this.endExclusive)}deltaEnd(e){return new t(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(e){return this.start===e.start&&this.endExclusive===e.endExclusive}containsRange(e){return this.start<=e.start&&e.endExclusive<=this.endExclusive}contains(e){return this.start<=e&&e<this.endExclusive}join(e){return new t(Math.min(this.start,e.start),Math.max(this.endExclusive,e.endExclusive))}intersect(e){let n=Math.max(this.start,e.start),i=Math.min(this.endExclusive,e.endExclusive);if(n<=i)return new t(n,i)}intersectionLength(e){let n=Math.max(this.start,e.start),i=Math.min(this.endExclusive,e.endExclusive);return Math.max(0,i-n)}intersects(e){let n=Math.max(this.start,e.start),i=Math.min(this.endExclusive,e.endExclusive);return n<i}intersectsOrTouches(e){let n=Math.max(this.start,e.start),i=Math.min(this.endExclusive,e.endExclusive);return n<=i}isBefore(e){return this.endExclusive<=e.start}isAfter(e){return this.start>=e.endExclusive}slice(e){return e.slice(this.start,this.endExclusive)}substring(e){return e.substring(this.start,this.endExclusive)}clip(e){if(this.isEmpty)throw new K(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,e))}clipCyclic(e){if(this.isEmpty)throw new K(`Invalid clipping range: ${this.toString()}`);return e<this.start?this.endExclusive-(this.start-e)%this.length:e>=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let n=this.start;n<this.endExclusive;n++)e(n)}joinRightTouching(e){if(this.endExclusive!==e.start)throw new K(`Invalid join: ${this.toString()} and ${e.toString()}`);return new t(this.start,e.endExclusive)}withMargin(e,n){return n===void 0&&(n=e),new t(this.start-e,this.endExclusive+n)}};function Oe(t,e){let n=qe(t,e);return n===-1?void 0:t[n]}function qe(t,e,n=0,i=t.length){let r=n,s=i;for(;r<s;){let a=Math.floor((r+s)/2);e(t[a])?r=a+1:s=a}return r-1}function al(t,e){let n=ri(t,e);return n===t.length?void 0:t[n]}function ri(t,e,n=0,i=t.length){let r=n,s=i;for(;r<s;){let a=Math.floor((r+s)/2);e(t[a])?s=a:r=a+1}return r}var rn=class t{static{this.assertInvariants=!1}constructor(e){this._array=e,this._findLastMonotonousLastIdx=0}findLastMonotonous(e){if(t.assertInvariants){if(this._prevFindLastPredicate){for(let i of this._array)if(this._prevFindLastPredicate(i)&&!e(i))throw new Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.")}this._prevFindLastPredicate=e}let n=qe(this._array,e,this._findLastMonotonousLastIdx);return this._findLastMonotonousLastIdx=n+1,n===-1?void 0:this._array[n]}};var J=class t{static ofLength(e,n){return new t(e,e+n)}static fromRange(e){return new t(e.startLineNumber,e.endLineNumber)}static fromRangeInclusive(e){return new t(e.startLineNumber,e.endLineNumber+1)}static{this.compareByStart=Be(e=>e.startLineNumber,ut)}static joinMany(e){if(e.length===0)return[];let n=new ct(e[0].slice());for(let i=1;i<e.length;i++)n=n.getUnion(new ct(e[i].slice()));return n.ranges}static join(e){if(e.length===0)throw new K("lineRanges cannot be empty");let n=e[0].startLineNumber,i=e[0].endLineNumberExclusive;for(let r=1;r<e.length;r++)n=Math.min(n,e[r].startLineNumber),i=Math.max(i,e[r].endLineNumberExclusive);return new t(n,i)}static deserialize(e){return new t(e[0],e[1])}constructor(e,n){if(e>n)throw new K(`startLineNumber ${e} cannot be after endLineNumberExclusive ${n}`);this.startLineNumber=e,this.endLineNumberExclusive=n}contains(e){return this.startLineNumber<=e&&e<this.endLineNumberExclusive}get isEmpty(){return this.startLineNumber===this.endLineNumberExclusive}delta(e){return new t(this.startLineNumber+e,this.endLineNumberExclusive+e)}deltaLength(e){return new t(this.startLineNumber,this.endLineNumberExclusive+e)}get length(){return this.endLineNumberExclusive-this.startLineNumber}join(e){return new t(Math.min(this.startLineNumber,e.startLineNumber),Math.max(this.endLineNumberExclusive,e.endLineNumberExclusive))}toString(){return`[${this.startLineNumber},${this.endLineNumberExclusive})`}intersect(e){let n=Math.max(this.startLineNumber,e.startLineNumber),i=Math.min(this.endLineNumberExclusive,e.endLineNumberExclusive);if(n<=i)return new t(n,i)}intersectsStrict(e){return this.startLineNumber<e.endLineNumberExclusive&&e.startLineNumber<this.endLineNumberExclusive}intersectsOrTouches(e){return this.startLineNumber<=e.endLineNumberExclusive&&e.startLineNumber<=this.endLineNumberExclusive}equals(e){return this.startLineNumber===e.startLineNumber&&this.endLineNumberExclusive===e.endLineNumberExclusive}toInclusiveRange(){return this.isEmpty?null:new O(this.startLineNumber,1,this.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER)}toExclusiveRange(){return new O(this.startLineNumber,1,this.endLineNumberExclusive,1)}mapToLineArray(e){let n=[];for(let i=this.startLineNumber;i<this.endLineNumberExclusive;i++)n.push(e(i));return n}forEach(e){for(let n=this.startLineNumber;n<this.endLineNumberExclusive;n++)e(n)}serialize(){return[this.startLineNumber,this.endLineNumberExclusive]}toOffsetRange(){return new j(this.startLineNumber-1,this.endLineNumberExclusive-1)}addMargin(e,n){return new t(this.startLineNumber-e,this.endLineNumberExclusive+n)}},ct=class t{constructor(e=[]){this._normalizedRanges=e}get ranges(){return this._normalizedRanges}addRange(e){if(e.length===0)return;let n=ri(this._normalizedRanges,r=>r.endLineNumberExclusive>=e.startLineNumber),i=qe(this._normalizedRanges,r=>r.startLineNumber<=e.endLineNumberExclusive)+1;if(n===i)this._normalizedRanges.splice(n,0,e);else if(n===i-1){let r=this._normalizedRanges[n];this._normalizedRanges[n]=r.join(e)}else{let r=this._normalizedRanges[n].join(this._normalizedRanges[i-1]).join(e);this._normalizedRanges.splice(n,i-n,r)}}contains(e){let n=Oe(this._normalizedRanges,i=>i.startLineNumber<=e);return!!n&&n.endLineNumberExclusive>e}intersects(e){let n=Oe(this._normalizedRanges,i=>i.startLineNumber<e.endLineNumberExclusive);return!!n&&n.endLineNumberExclusive>e.startLineNumber}getUnion(e){if(this._normalizedRanges.length===0)return e;if(e._normalizedRanges.length===0)return this;let n=[],i=0,r=0,s=null;for(;i<this._normalizedRanges.length||r<e._normalizedRanges.length;){let a=null;if(i<this._normalizedRanges.length&&r<e._normalizedRanges.length){let l=this._normalizedRanges[i],o=e._normalizedRanges[r];l.startLineNumber<o.startLineNumber?(a=l,i++):(a=o,r++)}else i<this._normalizedRanges.length?(a=this._normalizedRanges[i],i++):(a=e._normalizedRanges[r],r++);s===null?s=a:s.endLineNumberExclusive>=a.startLineNumber?s=new J(s.startLineNumber,Math.max(s.endLineNumberExclusive,a.endLineNumberExclusive)):(n.push(s),s=a)}return s!==null&&n.push(s),new t(n)}subtractFrom(e){let n=ri(this._normalizedRanges,a=>a.endLineNumberExclusive>=e.startLineNumber),i=qe(this._normalizedRanges,a=>a.startLineNumber<=e.endLineNumberExclusive)+1;if(n===i)return new t([e]);let r=[],s=e.startLineNumber;for(let a=n;a<i;a++){let l=this._normalizedRanges[a];l.startLineNumber>s&&r.push(new J(s,l.startLineNumber)),s=l.endLineNumberExclusive}return s<e.endLineNumberExclusive&&r.push(new J(s,e.endLineNumberExclusive)),new t(r)}toString(){return this._normalizedRanges.map(e=>e.toString()).join(", ")}getIntersection(e){let n=[],i=0,r=0;for(;i<this._normalizedRanges.length&&r<e._normalizedRanges.length;){let s=this._normalizedRanges[i],a=e._normalizedRanges[r],l=s.intersect(a);l&&!l.isEmpty&&n.push(l),s.endLineNumberExclusive<a.endLineNumberExclusive?i++:r++}return new t(n)}getWithDelta(e){return new t(this._normalizedRanges.map(n=>n.delta(e)))}};var Ae=class t{static{this.zero=new t(0,0)}static betweenPositions(e,n){return e.lineNumber===n.lineNumber?new t(0,n.column-e.column):new t(n.lineNumber-e.lineNumber,n.column-1)}static fromPosition(e){return new t(e.lineNumber-1,e.column-1)}static ofRange(e){return t.betweenPositions(e.getStartPosition(),e.getEndPosition())}static ofText(e){let n=0,i=0;for(let r of e)r===`
|
|
9
|
+
`?(n++,i=0):i++;return new t(n,i)}constructor(e,n){this.lineCount=e,this.columnCount=n}isGreaterThanOrEqualTo(e){return this.lineCount!==e.lineCount?this.lineCount>e.lineCount:this.columnCount>=e.columnCount}add(e){return e.lineCount===0?new t(this.lineCount,this.columnCount+e.columnCount):new t(this.lineCount+e.lineCount,e.columnCount)}createRange(e){return this.lineCount===0?new O(e.lineNumber,e.column,e.lineNumber,e.column+this.columnCount):new O(e.lineNumber,e.column,e.lineNumber+this.lineCount,this.columnCount+1)}toRange(){return new O(1,1,this.lineCount+1,this.columnCount+1)}toLineRange(){return J.ofLength(1,this.lineCount+1)}addToPosition(e){return this.lineCount===0?new G(e.lineNumber,e.column+this.columnCount):new G(e.lineNumber+this.lineCount,this.columnCount+1)}toString(){return`${this.lineCount},${this.columnCount}`}};var si=class{getOffsetRange(e){return new j(this.getOffset(e.getStartPosition()),this.getOffset(e.getEndPosition()))}getRange(e){return O.fromPositions(this.getPosition(e.start),this.getPosition(e.endExclusive))}getStringReplacement(e){return new ht.deps.StringReplacement(this.getOffsetRange(e.range),e.text)}getTextReplacement(e){return new ht.deps.TextReplacement(this.getRange(e.replaceRange),e.newText)}getTextEdit(e){let n=e.replacements.map(i=>this.getTextReplacement(i));return new ht.deps.TextEdit(n)}},ht=class{static{this._deps=void 0}static get deps(){if(!this._deps)throw new Error("Dependencies not set. Call _setDependencies first.");return this._deps}};function ol(t){ht._deps=t}var At=class extends si{constructor(e){super(),this.text=e}get lineStartOffsetByLineIdx(){return this._lineStartOffsetByLineIdx||this._computeLineOffsets(),this._lineStartOffsetByLineIdx}get lineEndOffsetByLineIdx(){return this._lineEndOffsetByLineIdx||this._computeLineOffsets(),this._lineEndOffsetByLineIdx}_computeLineOffsets(){this._lineStartOffsetByLineIdx=[],this._lineEndOffsetByLineIdx=[],this._lineStartOffsetByLineIdx.push(0);for(let e=0;e<this.text.length;e++)this.text.charAt(e)===`
|
|
10
|
+
`&&(this._lineStartOffsetByLineIdx.push(e+1),e>0&&this.text.charAt(e-1)==="\r"?this._lineEndOffsetByLineIdx.push(e-1):this._lineEndOffsetByLineIdx.push(e));this._lineEndOffsetByLineIdx.push(this.text.length)}getOffset(e){let n=this._validatePosition(e);return this.lineStartOffsetByLineIdx[n.lineNumber-1]+n.column-1}_validatePosition(e){if(e.lineNumber<1)return new G(1,1);let n=this.textLength.lineCount+1;if(e.lineNumber>n){let r=this.getLineLength(n);return new G(n,r+1)}if(e.column<1)return new G(e.lineNumber,1);let i=this.getLineLength(e.lineNumber);return e.column-1>i?new G(e.lineNumber,i+1):e}getPosition(e){let n=qe(this.lineStartOffsetByLineIdx,s=>s<=e),i=n+1,r=e-this.lineStartOffsetByLineIdx[n]+1;return new G(i,r)}get textLength(){let e=this.lineStartOffsetByLineIdx.length-1;return new ht.deps.TextLength(e,this.text.length-this.lineStartOffsetByLineIdx[e])}getLineLength(e){return this.lineEndOffsetByLineIdx[e-1]-this.lineStartOffsetByLineIdx[e-1]}};var ai=class{constructor(){this._transformer=void 0}get endPositionExclusive(){return this.length.addToPosition(new G(1,1))}get lineRange(){return this.length.toLineRange()}getValue(){return this.getValueOfRange(this.length.toRange())}getValueOfOffsetRange(e){return this.getValueOfRange(this.getTransformer().getRange(e))}getLineLength(e){return this.getValueOfRange(new O(e,1,e,Number.MAX_SAFE_INTEGER)).length}getTransformer(){return this._transformer||(this._transformer=new At(this.getValue())),this._transformer}getLineAt(e){return this.getValueOfRange(new O(e,1,e,Number.MAX_SAFE_INTEGER))}},Mr=class extends ai{constructor(e,n){qi(n>=1),super(),this._getLineContent=e,this._lineCount=n}getValueOfRange(e){if(e.startLineNumber===e.endLineNumber)return this._getLineContent(e.startLineNumber).substring(e.startColumn-1,e.endColumn-1);let n=this._getLineContent(e.startLineNumber).substring(e.startColumn-1);for(let i=e.startLineNumber+1;i<e.endLineNumber;i++)n+=`
|
|
11
11
|
`+this._getLineContent(i);return n+=`
|
|
12
|
-
`+this._getLineContent(e.endLineNumber).substring(0,e.endColumn-1),n}getLineLength(e){return this._getLineContent(e).length}get length(){let e=this._getLineContent(this._lineCount);return new
|
|
12
|
+
`+this._getLineContent(e.endLineNumber).substring(0,e.endColumn-1),n}getLineLength(e){return this._getLineContent(e).length}get length(){let e=this._getLineContent(this._lineCount);return new Ae(this._lineCount-1,e.length)}},dt=class extends Mr{constructor(e){super(n=>e[n-1],e.length)}},Qe=class extends ai{constructor(e){super(),this.value=e,this._t=new At(this.value)}getValueOfRange(e){return this._t.getOffsetRange(e).substring(this.value)}get length(){return this._t.textLength}getTransformer(){return this._t}};var li=class t{static fromStringEdit(e,n){let i=e.replacements.map(r=>Ye.fromStringReplacement(r,n));return new t(i)}static fromParallelReplacementsUnsorted(e){let n=e.slice().sort(Be(i=>i.range,O.compareRangesUsingStarts));return new t(n)}constructor(e){this.replacements=e,Pe(()=>wt(e,(n,i)=>n.range.getEndPosition().isBeforeOrEqual(i.range.getStartPosition())))}mapPosition(e){let n=0,i=0,r=0;for(let s of this.replacements){let a=s.range.getStartPosition();if(e.isBeforeOrEqual(a))break;let l=s.range.getEndPosition(),o=Ae.ofText(s.text);if(e.isBefore(l)){let u=new G(a.lineNumber+n,a.column+(a.lineNumber+n===i?r:0)),h=o.addToPosition(u);return oi(u,h)}a.lineNumber+n!==i&&(r=0),n+=o.lineCount-(s.range.endLineNumber-s.range.startLineNumber),o.lineCount===0?l.lineNumber!==a.lineNumber?r+=o.columnCount-(l.column-1):r+=o.columnCount-(l.column-a.column):r=o.columnCount,i=l.lineNumber+n}return new G(e.lineNumber+n,e.column+(e.lineNumber+n===i?r:0))}mapRange(e){function n(a){return a instanceof G?a:a.getStartPosition()}function i(a){return a instanceof G?a:a.getEndPosition()}let r=n(this.mapPosition(e.getStartPosition())),s=i(this.mapPosition(e.getEndPosition()));return oi(r,s)}apply(e){let n="",i=new G(1,1);for(let s of this.replacements){let a=s.range,l=a.getStartPosition(),o=a.getEndPosition(),u=oi(i,l);u.isEmpty()||(n+=e.getValueOfRange(u)),n+=s.text,i=o}let r=oi(i,e.endPositionExclusive);return r.isEmpty()||(n+=e.getValueOfRange(r)),n}applyToString(e){let n=new Qe(e);return this.apply(n)}getNewRanges(){let e=[],n=0,i=0,r=0;for(let s of this.replacements){let a=Ae.ofText(s.text),l=G.lift({lineNumber:s.range.startLineNumber+i,column:s.range.startColumn+(s.range.startLineNumber===n?r:0)}),o=a.createRange(l);e.push(o),i=o.endLineNumber-s.range.endLineNumber,r=o.endColumn-s.range.endColumn,n=s.range.endLineNumber}return e}toReplacement(e){if(this.replacements.length===0)throw new K;if(this.replacements.length===1)return this.replacements[0];let n=this.replacements[0].range.getStartPosition(),i=this.replacements[this.replacements.length-1].range.getEndPosition(),r="";for(let s=0;s<this.replacements.length;s++){let a=this.replacements[s];if(r+=a.text,s<this.replacements.length-1){let l=this.replacements[s+1],o=O.fromPositions(a.range.getEndPosition(),l.range.getStartPosition()),u=e.getValueOfRange(o);r+=u}}return new Ye(O.fromPositions(n,i),r)}toString(e){return e===void 0?this.replacements.map(n=>n.toString()).join(`
|
|
13
|
+
`):typeof e=="string"?this.toString(new Qe(e)):this.replacements.length===0?"":this.replacements.map(n=>{let r=e.getValueOfRange(n.range),s=O.fromPositions(new G(Math.max(1,n.range.startLineNumber-1),1),n.range.getStartPosition()),a=e.getValueOfRange(s);a.length>10&&(a="..."+a.substring(a.length-10));let l=O.fromPositions(n.range.getEndPosition(),new G(n.range.endLineNumber+1,1)),o=e.getValueOfRange(l);o.length>10&&(o=o.substring(0,10)+"...");let u=r;if(u.length>10){let d=Math.floor(5);u=u.substring(0,d)+"..."+u.substring(u.length-d)}let h=n.text;if(h.length>10){let d=Math.floor(5);h=h.substring(0,d)+"..."+h.substring(h.length-d)}return u.length===0?`${a}\u2770${h}\u2771${o}`:`${a}\u2770${u}\u21A6${h}\u2771${o}`}).join(`
|
|
14
|
+
`)}},Ye=class t{static joinReplacements(e,n){if(e.length===0)throw new K;if(e.length===1)return e[0];let i=e[0].range.getStartPosition(),r=e[e.length-1].range.getEndPosition(),s="";for(let a=0;a<e.length;a++){let l=e[a];if(s+=l.text,a<e.length-1){let o=e[a+1],u=O.fromPositions(l.range.getEndPosition(),o.range.getStartPosition()),h=n.getValueOfRange(u);s+=h}}return new t(O.fromPositions(i,r),s)}static fromStringReplacement(e,n){return new t(n.getTransformer().getRange(e.replaceRange),e.newText)}static delete(e){return new t(e,"")}constructor(e,n){this.range=e,this.text=n}get isEmpty(){return this.range.isEmpty()&&this.text.length===0}static equals(e,n){return e.range.equalsRange(n.range)&&e.text===n.text}equals(e){return t.equals(this,e)}removeCommonPrefixAndSuffix(e){return this.removeCommonPrefix(e).removeCommonSuffix(e)}removeCommonPrefix(e){let n=e.getValueOfRange(this.range).replaceAll(`\r
|
|
13
15
|
`,`
|
|
14
16
|
`),i=this.text.replaceAll(`\r
|
|
15
17
|
`,`
|
|
16
|
-
`),r=
|
|
18
|
+
`),r=Xt(n,i),s=Ae.ofText(n.substring(0,r)).addToPosition(this.range.getStartPosition()),a=i.substring(r),l=O.fromPositions(s,this.range.getEndPosition());return new t(l,a)}removeCommonSuffix(e){let n=e.getValueOfRange(this.range).replaceAll(`\r
|
|
17
19
|
`,`
|
|
18
20
|
`),i=this.text.replaceAll(`\r
|
|
19
21
|
`,`
|
|
20
|
-
`),r=Ls(n,i),s=ot.ofText(n.substring(0,n.length-r)).addToPosition(this.range.getStartPosition()),a=i.substring(0,i.length-r),l=W.fromPositions(this.range.getStartPosition(),s);return new t(l,a)}toString(){let e=this.range.getStartPosition(),n=this.range.getEndPosition();return`(${e.lineNumber},${e.column} -> ${n.lineNumber},${n.column}): "${this.text}"`}};var Le=class t{static inverse(e,n,i){let r=[],s=1,a=1;for(let o of e){let u=new t(new Q(s,o.original.startLineNumber),new Q(a,o.modified.startLineNumber));u.modified.isEmpty||r.push(u),s=o.original.endLineNumberExclusive,a=o.modified.endLineNumberExclusive}let l=new t(new Q(s,n+1),new Q(a,i+1));return l.modified.isEmpty||r.push(l),r}static clip(e,n,i){let r=[];for(let s of e){let a=s.original.intersect(n),l=s.modified.intersect(i);a&&!a.isEmpty&&l&&!l.isEmpty&&r.push(new t(a,l))}return r}constructor(e,n){this.original=e,this.modified=n}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new t(this.modified,this.original)}join(e){return new t(this.original.join(e.original),this.modified.join(e.modified))}toRangeMapping(){let e=this.original.toInclusiveRange(),n=this.modified.toInclusiveRange();if(e&&n)return new pe(e,n);if(this.original.startLineNumber===1||this.modified.startLineNumber===1){if(!(this.modified.startLineNumber===1&&this.original.startLineNumber===1))throw new te("not a valid diff");return new pe(new W(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new W(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1))}else return new pe(new W(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),new W(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER))}toRangeMapping2(e,n){if(Lo(this.original.endLineNumberExclusive,e)&&Lo(this.modified.endLineNumberExclusive,n))return new pe(new W(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new W(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1));if(!this.original.isEmpty&&!this.modified.isEmpty)return new pe(W.fromPositions(new $(this.original.startLineNumber,1),yt(new $(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),e)),W.fromPositions(new $(this.modified.startLineNumber,1),yt(new $(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),n)));if(this.original.startLineNumber>1&&this.modified.startLineNumber>1)return new pe(W.fromPositions(yt(new $(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER),e),yt(new $(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),e)),W.fromPositions(yt(new $(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER),n),yt(new $(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),n)));throw new te}};function yt(t,e){if(t.lineNumber<1)return new $(1,1);if(t.lineNumber>e.length)return new $(e.length,e[e.length-1].length+1);let n=e[t.lineNumber-1];return t.column>n.length+1?new $(t.lineNumber,n.length+1):t}function Lo(t,e){return t>=1&&t<=e.length}var Pe=class t extends Le{static fromRangeMappings(e){let n=Q.join(e.map(r=>Q.fromRangeInclusive(r.originalRange))),i=Q.join(e.map(r=>Q.fromRangeInclusive(r.modifiedRange)));return new t(n,i,e)}constructor(e,n,i){super(e,n),this.innerChanges=i}flip(){return new t(this.modified,this.original,this.innerChanges?.map(e=>e.flip()))}withInnerChangesFromLineRanges(){return new t(this.original,this.modified,[this.toRangeMapping()])}},pe=class t{static fromEdit(e){let n=e.getNewRanges();return e.replacements.map((r,s)=>new t(r.range,n[s]))}static assertSorted(e){for(let n=1;n<e.length;n++){let i=e[n-1],r=e[n];if(!(i.originalRange.getEndPosition().isBeforeOrEqual(r.originalRange.getStartPosition())&&i.modifiedRange.getEndPosition().isBeforeOrEqual(r.modifiedRange.getStartPosition())))throw new te("Range mappings must be sorted")}}constructor(e,n){this.originalRange=e,this.modifiedRange=n}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new t(this.modifiedRange,this.originalRange)}toTextEdit(e){let n=e.getValueOfRange(this.modifiedRange);return new $n(this.originalRange,n)}};function mr(t,e,n,i=!1){let r=[];for(let s of vo(t.map(a=>nc(a,e,n)),(a,l)=>a.original.intersectsOrTouches(l.original)||a.modified.intersectsOrTouches(l.modified))){let a=s[0],l=s[s.length-1];r.push(new Pe(a.original.join(l.original),a.modified.join(l.modified),s.map(o=>o.innerChanges[0])))}return He(()=>!i&&r.length>0&&(r[0].modified.startLineNumber!==r[0].original.startLineNumber||n.length.lineCount-r[r.length-1].modified.endLineNumberExclusive!==e.length.lineCount-r[r.length-1].original.endLineNumberExclusive)?!1:Pt(r,(s,a)=>a.original.startLineNumber-s.original.endLineNumberExclusive===a.modified.startLineNumber-s.modified.endLineNumberExclusive&&s.original.endLineNumberExclusive<a.original.startLineNumber&&s.modified.endLineNumberExclusive<a.modified.startLineNumber)),r}function nc(t,e,n){let i=0,r=0;t.modifiedRange.endColumn===1&&t.originalRange.endColumn===1&&t.originalRange.startLineNumber+i<=t.originalRange.endLineNumber&&t.modifiedRange.startLineNumber+i<=t.modifiedRange.endLineNumber&&(r=-1),t.modifiedRange.startColumn-1>=n.getLineLength(t.modifiedRange.startLineNumber)&&t.originalRange.startColumn-1>=e.getLineLength(t.originalRange.startLineNumber)&&t.originalRange.startLineNumber<=t.originalRange.endLineNumber+r&&t.modifiedRange.startLineNumber<=t.modifiedRange.endLineNumber+r&&(i=1);let s=new Q(t.originalRange.startLineNumber+i,t.originalRange.endLineNumber+1+r),a=new Q(t.modifiedRange.startLineNumber+i,t.modifiedRange.endLineNumber+1+r);return new Pe(s,a,[t])}var ic=3,Xn=class{computeDiff(e,n,i){let s=new pr(e,n,{maxComputationTime:i.maxComputationTimeMs,shouldIgnoreTrimWhitespace:i.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),a=[],l=null;for(let o of s.changes){let u;o.originalEndLineNumber===0?u=new Q(o.originalStartLineNumber+1,o.originalStartLineNumber+1):u=new Q(o.originalStartLineNumber,o.originalEndLineNumber+1);let c;o.modifiedEndLineNumber===0?c=new Q(o.modifiedStartLineNumber+1,o.modifiedStartLineNumber+1):c=new Q(o.modifiedStartLineNumber,o.modifiedEndLineNumber+1);let d=new Pe(u,c,o.charChanges?.map(m=>new pe(new W(m.originalStartLineNumber,m.originalStartColumn,m.originalEndLineNumber,m.originalEndColumn),new W(m.modifiedStartLineNumber,m.modifiedStartColumn,m.modifiedEndLineNumber,m.modifiedEndColumn))));l&&(l.modified.endLineNumberExclusive===d.modified.startLineNumber||l.original.endLineNumberExclusive===d.original.startLineNumber)&&(d=new Pe(l.original.join(d.original),l.modified.join(d.modified),l.innerChanges&&d.innerChanges?l.innerChanges.concat(d.innerChanges):void 0),a.pop()),a.push(d),l=d}return He(()=>Pt(a,(o,u)=>u.original.startLineNumber-o.original.endLineNumberExclusive===u.modified.startLineNumber-o.modified.endLineNumberExclusive&&o.original.endLineNumberExclusive<u.original.startLineNumber&&o.modified.endLineNumberExclusive<u.modified.startLineNumber)),new $e(a,[],s.quitEarly)}};function Co(t,e,n,i){return new Bt(t,e,n).ComputeDiff(i)}var Qn=class{constructor(e){let n=[],i=[];for(let r=0,s=e.length;r<s;r++)n[r]=gr(e[r],1),i[r]=br(e[r],1);this.lines=e,this._startColumns=n,this._endColumns=i}getElements(){let e=[];for(let n=0,i=this.lines.length;n<i;n++)e[n]=this.lines[n].substring(this._startColumns[n]-1,this._endColumns[n]-1);return e}getStrictElement(e){return this.lines[e]}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,n,i){let r=[],s=[],a=[],l=0;for(let o=n;o<=i;o++){let u=this.lines[o],c=e?this._startColumns[o]:1,d=e?this._endColumns[o]:u.length+1;for(let m=c;m<d;m++)r[l]=u.charCodeAt(m-1),s[l]=o+1,a[l]=m,l++;!e&&o<i&&(r[l]=10,s[l]=o+1,a[l]=u.length+1,l++)}return new fr(r,s,a)}},fr=class{constructor(e,n,i){this._charCodes=e,this._lineNumbers=n,this._columns=i}toString(){return"["+this._charCodes.map((e,n)=>(e===10?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[n]},${this._columns[n]})`).join(", ")+"]"}_assertIndex(e,n){if(e<0||e>=n.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return e===-1?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),this._charCodes[e]===10?this._lineNumbers[e]+1:this._lineNumbers[e])}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return e===-1?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),this._charCodes[e]===10?1:this._columns[e]+1)}},xt=class t{constructor(e,n,i,r,s,a,l,o){this.originalStartLineNumber=e,this.originalStartColumn=n,this.originalEndLineNumber=i,this.originalEndColumn=r,this.modifiedStartLineNumber=s,this.modifiedStartColumn=a,this.modifiedEndLineNumber=l,this.modifiedEndColumn=o}static createFromDiffChange(e,n,i){let r=n.getStartLineNumber(e.originalStart),s=n.getStartColumn(e.originalStart),a=n.getEndLineNumber(e.originalStart+e.originalLength-1),l=n.getEndColumn(e.originalStart+e.originalLength-1),o=i.getStartLineNumber(e.modifiedStart),u=i.getStartColumn(e.modifiedStart),c=i.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),d=i.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new t(r,s,a,l,o,u,c,d)}};function rc(t){if(t.length<=1)return t;let e=[t[0]],n=e[0];for(let i=1,r=t.length;i<r;i++){let s=t[i],a=s.originalStart-(n.originalStart+n.originalLength),l=s.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(a,l)<ic?(n.originalLength=s.originalStart+s.originalLength-n.originalStart,n.modifiedLength=s.modifiedStart+s.modifiedLength-n.modifiedStart):(e.push(s),n=s)}return e}var Qt=class t{constructor(e,n,i,r,s){this.originalStartLineNumber=e,this.originalEndLineNumber=n,this.modifiedStartLineNumber=i,this.modifiedEndLineNumber=r,this.charChanges=s}static createFromDiffResult(e,n,i,r,s,a,l){let o,u,c,d,m;if(n.originalLength===0?(o=i.getStartLineNumber(n.originalStart)-1,u=0):(o=i.getStartLineNumber(n.originalStart),u=i.getEndLineNumber(n.originalStart+n.originalLength-1)),n.modifiedLength===0?(c=r.getStartLineNumber(n.modifiedStart)-1,d=0):(c=r.getStartLineNumber(n.modifiedStart),d=r.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),a&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&s()){let f=i.createCharSequence(e,n.originalStart,n.originalStart+n.originalLength-1),w=r.createCharSequence(e,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);if(f.getElements().length>0&&w.getElements().length>0){let p=Co(f,w,s,!0).changes;l&&(p=rc(p)),m=[];for(let T=0,x=p.length;T<x;T++)m.push(xt.createFromDiffChange(p[T],f,w))}}return new t(o,u,c,d,m)}},pr=class{constructor(e,n,i){this.shouldComputeCharChanges=i.shouldComputeCharChanges,this.shouldPostProcessCharChanges=i.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=i.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=i.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=n,this.original=new Qn(e),this.modified=new Qn(n),this.continueLineDiff=Ao(i.maxComputationTime),this.continueCharDiff=Ao(i.maxComputationTime===0?0:Math.min(i.maxComputationTime,5e3))}computeDiff(){if(this.original.lines.length===1&&this.original.lines[0].length===0)return this.modified.lines.length===1&&this.modified.lines[0].length===0?{quitEarly:!1,changes:[]}:{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:void 0}]};if(this.modified.lines.length===1&&this.modified.lines[0].length===0)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:void 0}]};let e=Co(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),n=e.changes,i=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){let l=[];for(let o=0,u=n.length;o<u;o++)l.push(Qt.createFromDiffResult(this.shouldIgnoreTrimWhitespace,n[o],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:i,changes:l}}let r=[],s=0,a=0;for(let l=-1,o=n.length;l<o;l++){let u=l+1<o?n[l+1]:null,c=u?u.originalStart:this.originalLines.length,d=u?u.modifiedStart:this.modifiedLines.length;for(;s<c&&a<d;){let m=this.originalLines[s],f=this.modifiedLines[a];if(m!==f){{let w=gr(m,1),p=gr(f,1);for(;w>1&&p>1;){let T=m.charCodeAt(w-2),x=f.charCodeAt(p-2);if(T!==x)break;w--,p--}(w>1||p>1)&&this._pushTrimWhitespaceCharChange(r,s+1,1,w,a+1,1,p)}{let w=br(m,1),p=br(f,1),T=m.length+1,x=f.length+1;for(;w<T&&p<x;){let y=m.charCodeAt(w-1),L=m.charCodeAt(p-1);if(y!==L)break;w++,p++}(w<T||p<x)&&this._pushTrimWhitespaceCharChange(r,s+1,w,T,a+1,p,x)}}s++,a++}u&&(r.push(Qt.createFromDiffResult(this.shouldIgnoreTrimWhitespace,u,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),s+=u.originalLength,a+=u.modifiedLength)}return{quitEarly:i,changes:r}}_pushTrimWhitespaceCharChange(e,n,i,r,s,a,l){if(this._mergeTrimWhitespaceCharChange(e,n,i,r,s,a,l))return;let o;this.shouldComputeCharChanges&&(o=[new xt(n,i,n,r,s,a,s,l)]),e.push(new Qt(n,n,s,s,o))}_mergeTrimWhitespaceCharChange(e,n,i,r,s,a,l){let o=e.length;if(o===0)return!1;let u=e[o-1];return u.originalEndLineNumber===0||u.modifiedEndLineNumber===0?!1:u.originalEndLineNumber===n&&u.modifiedEndLineNumber===s?(this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new xt(n,i,n,r,s,a,s,l)),!0):u.originalEndLineNumber+1===n&&u.modifiedEndLineNumber+1===s?(u.originalEndLineNumber=n,u.modifiedEndLineNumber=s,this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new xt(n,i,n,r,s,a,s,l)),!0):!1}};function gr(t,e){let n=Ts(t);return n===-1?e:n+1}function br(t,e){let n=Ss(t);return n===-1?e:n+2}function Ao(t){if(t===0)return()=>!0;let e=Date.now();return()=>Date.now()-e<t}var Ce=class t{static trivial(e,n){return new t([new re(J.ofLength(e.length),J.ofLength(n.length))],!1)}static trivialTimedOut(e,n){return new t([new re(J.ofLength(e.length),J.ofLength(n.length))],!0)}constructor(e,n){this.diffs=e,this.hitTimeout=n}},re=class t{static invert(e,n){let i=[];return yo(e,(r,s)=>{i.push(t.fromOffsetPairs(r?r.getEndExclusives():Ae.zero,s?s.getStarts():new Ae(n,(r?r.seq2Range.endExclusive-r.seq1Range.endExclusive:0)+n)))}),i}static fromOffsetPairs(e,n){return new t(new J(e.offset1,n.offset1),new J(e.offset2,n.offset2))}static assertSorted(e){let n;for(let i of e){if(n&&!(n.seq1Range.endExclusive<=i.seq1Range.start&&n.seq2Range.endExclusive<=i.seq2Range.start))throw new te("Sequence diffs must be sorted");n=i}}constructor(e,n){this.seq1Range=e,this.seq2Range=n}swap(){return new t(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new t(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return e===0?this:new t(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return e===0?this:new t(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return e===0?this:new t(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){let n=this.seq1Range.intersect(e.seq1Range),i=this.seq2Range.intersect(e.seq2Range);if(!(!n||!i))return new t(n,i)}getStarts(){return new Ae(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new Ae(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}},Ae=class t{static{this.zero=new t(0,0)}static{this.max=new t(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER)}constructor(e,n){this.offset1=e,this.offset2=n}toString(){return`${this.offset1} <-> ${this.offset2}`}delta(e){return e===0?this:new t(this.offset1+e,this.offset2+e)}equals(e){return this.offset1===e.offset1&&this.offset2===e.offset2}},Qe=class t{static{this.instance=new t}isValid(){return!0}},Jn=class{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new te("timeout must be positive")}isValid(){return!(Date.now()-this.startTime<this.timeout)&&this.valid&&(this.valid=!1),this.valid}};var Tt=class{constructor(e,n){this.width=e,this.height=n,this.array=[],this.array=new Array(e*n)}get(e,n){return this.array[e+n*this.width]}set(e,n,i){this.array[e+n*this.width]=i}};function Yt(t){return t===32||t===9}var Jt=class t{static{this.chrKeys=new Map}static getKey(e){let n=this.chrKeys.get(e);return n===void 0&&(n=this.chrKeys.size,this.chrKeys.set(e,n)),n}constructor(e,n,i){this.range=e,this.lines=n,this.source=i,this.histogram=[];let r=0;for(let s=e.startLineNumber-1;s<e.endLineNumberExclusive-1;s++){let a=n[s];for(let o=0;o<a.length;o++){r++;let u=a[o],c=t.getKey(u);this.histogram[c]=(this.histogram[c]||0)+1}r++;let l=t.getKey(`
|
|
21
|
-
`);this.histogram[l]=(this.histogram[l]||0)+1}this.totalCount=r}computeSimilarity(e){let n=0,i=Math.max(this.histogram.length,e.histogram.length);for(let r=0;r<i;r++)n+=Math.abs((this.histogram[r]??0)-(e.histogram[r]??0));return 1-n/(this.totalCount+e.totalCount)}};var
|
|
22
|
-
`).length>=15&&ac(d,f=>f.length>=2)>=2}),a=cc(t,a),a}function ac(t,e){let n=0;for(let i of t)e(i)&&n++;return n}function oc(t,e,n,i){let r=[],s=t.filter(o=>o.modified.isEmpty&&o.original.length>=3).map(o=>new Jt(o.original,e,o)),a=new Set(t.filter(o=>o.original.isEmpty&&o.modified.length>=3).map(o=>new Jt(o.modified,n,o))),l=new Set;for(let o of s){let u=-1,c;for(let d of a){let m=o.computeSimilarity(d);m>u&&(u=m,c=d)}if(u>.9&&c&&(a.delete(c),r.push(new Le(o.range,c.range)),l.add(o.source),l.add(c.source)),!i.isValid())return{moves:r,excludedChanges:l}}return{moves:r,excludedChanges:l}}function lc(t,e,n,i,r,s){let a=[],l=new Wn;for(let m of t)for(let f=m.original.startLineNumber;f<m.original.endLineNumberExclusive-2;f++){let w=`${e[f-1]}:${e[f+1-1]}:${e[f+2-1]}`;l.add(w,{range:new Q(f,f+3)})}let o=[];t.sort(Xe(m=>m.modified.startLineNumber,st));for(let m of t){let f=[];for(let w=m.modified.startLineNumber;w<m.modified.endLineNumberExclusive-2;w++){let p=`${n[w-1]}:${n[w+1-1]}:${n[w+2-1]}`,T=new Q(w,w+3),x=[];l.forEach(p,({range:y})=>{for(let z of f)if(z.originalLineRange.endLineNumberExclusive+1===y.endLineNumberExclusive&&z.modifiedLineRange.endLineNumberExclusive+1===T.endLineNumberExclusive){z.originalLineRange=new Q(z.originalLineRange.startLineNumber,y.endLineNumberExclusive),z.modifiedLineRange=new Q(z.modifiedLineRange.startLineNumber,T.endLineNumberExclusive),x.push(z);return}let L={modifiedLineRange:T,originalLineRange:y};o.push(L),x.push(L)}),f=x}if(!s.isValid())return[]}o.sort(So(Xe(m=>m.modifiedLineRange.length,st)));let u=new at,c=new at;for(let m of o){let f=m.modifiedLineRange.startLineNumber-m.originalLineRange.startLineNumber,w=u.subtractFrom(m.modifiedLineRange),p=c.subtractFrom(m.originalLineRange).getWithDelta(f),T=w.getIntersection(p);for(let x of T.ranges){if(x.length<3)continue;let y=x,L=x.delta(-f);a.push(new Le(L,y)),u.addRange(y),c.addRange(L)}}a.sort(Xe(m=>m.original.startLineNumber,st));let d=new Xt(t);for(let m=0;m<a.length;m++){let f=a[m],w=d.findLastMonotonous(U=>U.original.startLineNumber<=f.original.startLineNumber),p=ze(t,U=>U.modified.startLineNumber<=f.modified.startLineNumber),T=Math.max(f.original.startLineNumber-w.original.startLineNumber,f.modified.startLineNumber-p.modified.startLineNumber),x=d.findLastMonotonous(U=>U.original.startLineNumber<f.original.endLineNumberExclusive),y=ze(t,U=>U.modified.startLineNumber<f.modified.endLineNumberExclusive),L=Math.max(x.original.endLineNumberExclusive-f.original.endLineNumberExclusive,y.modified.endLineNumberExclusive-f.modified.endLineNumberExclusive),z;for(z=0;z<T;z++){let U=f.original.startLineNumber-z-1,b=f.modified.startLineNumber-z-1;if(U>i.length||b>r.length||u.contains(b)||c.contains(U)||!Mo(i[U-1],r[b-1],s))break}z>0&&(c.addRange(new Q(f.original.startLineNumber-z,f.original.startLineNumber)),u.addRange(new Q(f.modified.startLineNumber-z,f.modified.startLineNumber)));let F;for(F=0;F<L;F++){let U=f.original.endLineNumberExclusive+F,b=f.modified.endLineNumberExclusive+F;if(U>i.length||b>r.length||u.contains(b)||c.contains(U)||!Mo(i[U-1],r[b-1],s))break}F>0&&(c.addRange(new Q(f.original.endLineNumberExclusive,f.original.endLineNumberExclusive+F)),u.addRange(new Q(f.modified.endLineNumberExclusive,f.modified.endLineNumberExclusive+F))),(z>0||F>0)&&(a[m]=new Le(new Q(f.original.startLineNumber-z,f.original.endLineNumberExclusive+F),new Q(f.modified.startLineNumber-z,f.modified.endLineNumberExclusive+F)))}return a}function Mo(t,e,n){if(t.trim()===e.trim())return!0;if(t.length>300&&e.length>300)return!1;let r=new St().compute(new Je([t],new W(1,1,1,t.length),!1),new Je([e],new W(1,1,1,e.length),!1),n),s=0,a=re.invert(r.diffs,t.length);for(let c of a)c.seq1Range.forEach(d=>{Yt(t.charCodeAt(d))||s++});function l(c){let d=0;for(let m=0;m<t.length;m++)Yt(c.charCodeAt(m))||d++;return d}let o=l(t.length>e.length?t:e);return s/o>.6&&o>10}function uc(t){if(t.length===0)return t;t.sort(Xe(n=>n.original.startLineNumber,st));let e=[t[0]];for(let n=1;n<t.length;n++){let i=e[e.length-1],r=t[n],s=r.original.startLineNumber-i.original.endLineNumberExclusive,a=r.modified.startLineNumber-i.modified.endLineNumberExclusive;if(s>=0&&a>=0&&s+a<=2){e[e.length-1]=i.join(r);continue}e.push(r)}return e}function cc(t,e){let n=new Xt(t);return e=e.filter(i=>{let r=n.findLastMonotonous(l=>l.original.startLineNumber<i.original.endLineNumberExclusive)||new Le(new Q(1,1),new Q(1,1)),s=ze(t,l=>l.modified.startLineNumber<i.modified.endLineNumberExclusive);return r!==s}),e}function vr(t,e,n){let i=n;return i=Io(t,e,i),i=Io(t,e,i),i=hc(t,e,i),i}function Io(t,e,n){if(n.length===0)return n;let i=[];i.push(n[0]);for(let s=1;s<n.length;s++){let a=i[i.length-1],l=n[s];if(l.seq1Range.isEmpty||l.seq2Range.isEmpty){let o=l.seq1Range.start-a.seq1Range.endExclusive,u;for(u=1;u<=o&&!(t.getElement(l.seq1Range.start-u)!==t.getElement(l.seq1Range.endExclusive-u)||e.getElement(l.seq2Range.start-u)!==e.getElement(l.seq2Range.endExclusive-u));u++);if(u--,u===o){i[i.length-1]=new re(new J(a.seq1Range.start,l.seq1Range.endExclusive-o),new J(a.seq2Range.start,l.seq2Range.endExclusive-o));continue}l=l.delta(-u)}i.push(l)}let r=[];for(let s=0;s<i.length-1;s++){let a=i[s+1],l=i[s];if(l.seq1Range.isEmpty||l.seq2Range.isEmpty){let o=a.seq1Range.start-l.seq1Range.endExclusive,u;for(u=0;u<o&&!(!t.isStronglyEqual(l.seq1Range.start+u,l.seq1Range.endExclusive+u)||!e.isStronglyEqual(l.seq2Range.start+u,l.seq2Range.endExclusive+u));u++);if(u===o){i[s+1]=new re(new J(l.seq1Range.start+o,a.seq1Range.endExclusive),new J(l.seq2Range.start+o,a.seq2Range.endExclusive));continue}u>0&&(l=l.delta(u))}r.push(l)}return i.length>0&&r.push(i[i.length-1]),r}function hc(t,e,n){if(!t.getBoundaryScore||!e.getBoundaryScore)return n;for(let i=0;i<n.length;i++){let r=i>0?n[i-1]:void 0,s=n[i],a=i+1<n.length?n[i+1]:void 0,l=new J(r?r.seq1Range.endExclusive+1:0,a?a.seq1Range.start-1:t.length),o=new J(r?r.seq2Range.endExclusive+1:0,a?a.seq2Range.start-1:e.length);s.seq1Range.isEmpty?n[i]=zo(s,t,e,l,o):s.seq2Range.isEmpty&&(n[i]=zo(s.swap(),e,t,o,l).swap())}return n}function zo(t,e,n,i,r){let a=1;for(;t.seq1Range.start-a>=i.start&&t.seq2Range.start-a>=r.start&&n.isStronglyEqual(t.seq2Range.start-a,t.seq2Range.endExclusive-a)&&a<100;)a++;a--;let l=0;for(;t.seq1Range.start+l<i.endExclusive&&t.seq2Range.endExclusive+l<r.endExclusive&&n.isStronglyEqual(t.seq2Range.start+l,t.seq2Range.endExclusive+l)&&l<100;)l++;if(a===0&&l===0)return t;let o=0,u=-1;for(let c=-a;c<=l;c++){let d=t.seq2Range.start+c,m=t.seq2Range.endExclusive+c,f=t.seq1Range.start+c,w=e.getBoundaryScore(f)+n.getBoundaryScore(d)+n.getBoundaryScore(m);w>u&&(u=w,o=c)}return t.delta(o)}function Fo(t,e,n){let i=[];for(let r of n){let s=i[i.length-1];if(!s){i.push(r);continue}r.seq1Range.start-s.seq1Range.endExclusive<=2||r.seq2Range.start-s.seq2Range.endExclusive<=2?i[i.length-1]=new re(s.seq1Range.join(r.seq1Range),s.seq2Range.join(r.seq2Range)):i.push(r)}return i}function yr(t,e,n,i,r=!1){let s=re.invert(n,t.length),a=[],l=new Ae(0,0);function o(c,d){if(c.offset1<l.offset1||c.offset2<l.offset2)return;let m=i(t,c.offset1),f=i(e,c.offset2);if(!m||!f)return;let w=new re(m,f),p=w.intersect(d),T=p.seq1Range.length,x=p.seq2Range.length;for(;s.length>0;){let y=s[0];if(!(y.seq1Range.intersects(w.seq1Range)||y.seq2Range.intersects(w.seq2Range)))break;let z=i(t,y.seq1Range.start),F=i(e,y.seq2Range.start),U=new re(z,F),b=U.intersect(y);if(T+=b.seq1Range.length,x+=b.seq2Range.length,w=w.join(U),w.seq1Range.endExclusive>=y.seq1Range.endExclusive)s.shift();else break}(r&&T+x<w.seq1Range.length+w.seq2Range.length||T+x<(w.seq1Range.length+w.seq2Range.length)*2/3)&&a.push(w),l=w.getEndExclusives()}for(;s.length>0;){let c=s.shift();c.seq1Range.isEmpty||(o(c.getStarts(),c),o(c.getEndExclusives().delta(-1),c))}return dc(n,a)}function dc(t,e){let n=[];for(;t.length>0||e.length>0;){let i=t[0],r=e[0],s;i&&(!r||i.seq1Range.start<r.seq1Range.start)?s=t.shift():s=e.shift(),n.length>0&&n[n.length-1].seq1Range.endExclusive>=s.seq1Range.start?n[n.length-1]=n[n.length-1].join(s):n.push(s)}return n}function Po(t,e,n){let i=n;if(i.length===0)return i;let r=0,s;do{s=!1;let a=[i[0]];for(let l=1;l<i.length;l++){let c=function(m,f){let w=new J(u.seq1Range.endExclusive,o.seq1Range.start);return t.getText(w).replace(/\s/g,"").length<=4&&(m.seq1Range.length+m.seq2Range.length>5||f.seq1Range.length+f.seq2Range.length>5)},o=i[l],u=a[a.length-1];c(u,o)?(s=!0,a[a.length-1]=a[a.length-1].join(o)):a.push(o)}i=a}while(r++<10&&s);return i}function Uo(t,e,n){let i=n;if(i.length===0)return i;let r=0,s;do{s=!1;let l=[i[0]];for(let o=1;o<i.length;o++){let d=function(f,w){let p=new J(c.seq1Range.endExclusive,u.seq1Range.start);if(t.countLinesIn(p)>5||p.length>500)return!1;let x=t.getText(p).trim();if(x.length>20||x.split(/\r\n|\r|\n/).length>1)return!1;let y=t.countLinesIn(f.seq1Range),L=f.seq1Range.length,z=e.countLinesIn(f.seq2Range),F=f.seq2Range.length,U=t.countLinesIn(w.seq1Range),b=w.seq1Range.length,g=e.countLinesIn(w.seq2Range),v=w.seq2Range.length,N=130;function k(_){return Math.min(_,N)}return Math.pow(Math.pow(k(y*40+L),1.5)+Math.pow(k(z*40+F),1.5),1.5)+Math.pow(Math.pow(k(U*40+b),1.5)+Math.pow(k(g*40+v),1.5),1.5)>(N**1.5)**1.5*1.3},u=i[o],c=l[l.length-1];d(c,u)?(s=!0,l[l.length-1]=l[l.length-1].join(u)):l.push(u)}i=l}while(r++<10&&s);let a=[];return xo(i,(l,o,u)=>{let c=o;function d(x){return x.length>0&&x.trim().length<=3&&o.seq1Range.length+o.seq2Range.length>100}let m=t.extendToFullLines(o.seq1Range),f=t.getText(new J(m.start,o.seq1Range.start));d(f)&&(c=c.deltaStart(-f.length));let w=t.getText(new J(o.seq1Range.endExclusive,m.endExclusive));d(w)&&(c=c.deltaEnd(w.length));let p=re.fromOffsetPairs(l?l.getEndExclusives():Ae.zero,u?u.getStarts():Ae.max),T=c.intersect(p);a.length>0&&T.getStarts().equals(a[a.length-1].getEndExclusives())?a[a.length-1]=a[a.length-1].join(T):a.push(T)}),a}var Zt=class{constructor(e,n){this.trimmedHash=e,this.lines=n}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){let n=e===0?0:Ho(this.lines[e-1]),i=e===this.lines.length?0:Ho(this.lines[e]);return 1e3-(n+i)}getText(e){return this.lines.slice(e.start,e.endExclusive).join(`
|
|
23
|
-
`)}isStronglyEqual(e,n){return this.lines[e]===this.lines[n]}};function Ho(t){let e=0;for(;e<t.length&&(t.charCodeAt(e)===32||t.charCodeAt(e)===9);)e++;return e}var Kn=class{constructor(){this.dynamicProgrammingDiffing=new Yn,this.myersDiffingAlgorithm=new St}computeDiff(e,n,i){if(e.length<=1&&_o(e,n,(b,g)=>b===g))return new $e([],[],!1);if(e.length===1&&e[0].length===0||n.length===1&&n[0].length===0)return new $e([new Pe(new Q(1,e.length+1),new Q(1,n.length+1),[new pe(new W(1,1,e.length,e[e.length-1].length+1),new W(1,1,n.length,n[n.length-1].length+1))])],[],!1);let r=i.maxComputationTimeMs===0?Qe.instance:new Jn(i.maxComputationTimeMs),s=!i.ignoreTrimWhitespace,a=new Map;function l(b){let g=a.get(b);return g===void 0&&(g=a.size,a.set(b,g)),g}let o=e.map(b=>l(b.trim())),u=n.map(b=>l(b.trim())),c=new Zt(o,e),d=new Zt(u,n),m=c.length+d.length<1700?this.dynamicProgrammingDiffing.compute(c,d,r,(b,g)=>e[b]===n[g]?n[g].length===0?.1:1+Math.log(1+n[g].length):.99):this.myersDiffingAlgorithm.compute(c,d,r),f=m.diffs,w=m.hitTimeout;f=vr(c,d,f),f=Po(c,d,f);let p=[],T=b=>{if(s)for(let g=0;g<b;g++){let v=x+g,N=y+g;if(e[v]!==n[N]){let k=this.refineDiff(e,n,new re(new J(v,v+1),new J(N,N+1)),r,s,i);for(let _ of k.mappings)p.push(_);k.hitTimeout&&(w=!0)}}},x=0,y=0;for(let b of f){He(()=>b.seq1Range.start-x===b.seq2Range.start-y);let g=b.seq1Range.start-x;T(g),x=b.seq1Range.endExclusive,y=b.seq2Range.endExclusive;let v=this.refineDiff(e,n,b,r,s,i);v.hitTimeout&&(w=!0);for(let N of v.mappings)p.push(N)}T(e.length-x);let L=new lt(e),z=new lt(n),F=mr(p,L,z),U=[];return i.computeMoves&&(U=this.computeMoves(F,e,n,o,u,r,s,i)),He(()=>{function b(v,N){if(v.lineNumber<1||v.lineNumber>N.length)return!1;let k=N[v.lineNumber-1];return!(v.column<1||v.column>k.length+1)}function g(v,N){return!(v.startLineNumber<1||v.startLineNumber>N.length+1||v.endLineNumberExclusive<1||v.endLineNumberExclusive>N.length+1)}for(let v of F){if(!v.innerChanges)return!1;for(let N of v.innerChanges)if(!(b(N.modifiedRange.getStartPosition(),n)&&b(N.modifiedRange.getEndPosition(),n)&&b(N.originalRange.getStartPosition(),e)&&b(N.originalRange.getEndPosition(),e)))return!1;if(!g(v.modified,n)||!g(v.original,e))return!1}return!0}),new $e(F,U,w)}computeMoves(e,n,i,r,s,a,l,o){return No(e,n,i,r,s,a).map(d=>{let m=this.refineDiff(n,i,new re(d.original.toOffsetRange(),d.modified.toOffsetRange()),a,l,o),f=mr(m.mappings,new lt(n),new lt(i),!0);return new Vn(d,f)})}refineDiff(e,n,i,r,s,a){let o=mc(i).toRangeMapping2(e,n),u=new Je(e,o.originalRange,s),c=new Je(n,o.modifiedRange,s),d=u.length+c.length<500?this.dynamicProgrammingDiffing.compute(u,c,r):this.myersDiffingAlgorithm.compute(u,c,r),m=d.diffs;return m=vr(u,c,m),m=yr(u,c,m,(w,p)=>w.findWordContaining(p)),a.extendToSubwords&&(m=yr(u,c,m,(w,p)=>w.findSubWordContaining(p),!0)),m=Fo(u,c,m),m=Uo(u,c,m),{mappings:m.map(w=>new pe(u.translateRange(w.seq1Range),c.translateRange(w.seq2Range))),hitTimeout:d.hitTimeout}}};function mc(t){return new Le(new Q(t.seq1Range.start+1,t.seq1Range.endExclusive+1),new Q(t.seq2Range.start+1,t.seq2Range.endExclusive+1))}var xr={getLegacy:()=>new Xn,getDefault:()=>new Kn};function Ye(t,e){let n=Math.pow(10,e);return Math.round(t*n)/n}var C=class{constructor(e,n,i,r=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math.max(0,e))|0,this.g=Math.min(255,Math.max(0,n))|0,this.b=Math.min(255,Math.max(0,i))|0,this.a=Ye(Math.max(Math.min(1,r),0),3)}static equals(e,n){return e.r===n.r&&e.g===n.g&&e.b===n.b&&e.a===n.a}},Ee=class t{constructor(e,n,i,r){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,e),0)|0,this.s=Ye(Math.max(Math.min(1,n),0),3),this.l=Ye(Math.max(Math.min(1,i),0),3),this.a=Ye(Math.max(Math.min(1,r),0),3)}static equals(e,n){return e.h===n.h&&e.s===n.s&&e.l===n.l&&e.a===n.a}static fromRGBA(e){let n=e.r/255,i=e.g/255,r=e.b/255,s=e.a,a=Math.max(n,i,r),l=Math.min(n,i,r),o=0,u=0,c=(l+a)/2,d=a-l;if(d>0){switch(u=Math.min(c<=.5?d/(2*c):d/(2-2*c),1),a){case n:o=(i-r)/d+(i<r?6:0);break;case i:o=(r-n)/d+2;break;case r:o=(n-i)/d+4;break}o*=60,o=Math.round(o)}return new t(o,u,c,s)}static _hue2rgb(e,n,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(n-e)*6*i:i<1/2?n:i<2/3?e+(n-e)*(2/3-i)*6:e}static toRGBA(e){let n=e.h/360,{s:i,l:r,a:s}=e,a,l,o;if(i===0)a=l=o=r;else{let u=r<.5?r*(1+i):r+i-r*i,c=2*r-u;a=t._hue2rgb(c,u,n+1/3),l=t._hue2rgb(c,u,n),o=t._hue2rgb(c,u,n-1/3)}return new C(Math.round(a*255),Math.round(l*255),Math.round(o*255),s)}},Lt=class t{constructor(e,n,i,r){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,e),0)|0,this.s=Ye(Math.max(Math.min(1,n),0),3),this.v=Ye(Math.max(Math.min(1,i),0),3),this.a=Ye(Math.max(Math.min(1,r),0),3)}static equals(e,n){return e.h===n.h&&e.s===n.s&&e.v===n.v&&e.a===n.a}static fromRGBA(e){let n=e.r/255,i=e.g/255,r=e.b/255,s=Math.max(n,i,r),a=Math.min(n,i,r),l=s-a,o=s===0?0:l/s,u;return l===0?u=0:s===n?u=((i-r)/l%6+6)%6:s===i?u=(r-n)/l+2:u=(n-i)/l+4,new t(Math.round(u*60),o,s,e.a)}static toRGBA(e){let{h:n,s:i,v:r,a:s}=e,a=r*i,l=a*(1-Math.abs(n/60%2-1)),o=r-a,[u,c,d]=[0,0,0];return n<60?(u=a,c=l):n<120?(u=l,c=a):n<180?(c=a,d=l):n<240?(c=l,d=a):n<300?(u=l,d=a):n<=360&&(u=a,d=l),u=Math.round((u+o)*255),c=Math.round((c+o)*255),d=Math.round((d+o)*255),new C(u,c,d,s)}},ut=class t{static fromHex(e){return t.Format.CSS.parseHex(e)||t.red}static equals(e,n){return!e&&!n?!0:!e||!n?!1:e.equals(n)}get hsla(){return this._hsla?this._hsla:Ee.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:Lt.fromRGBA(this.rgba)}constructor(e){if(e)if(e instanceof C)this.rgba=e;else if(e instanceof Ee)this._hsla=e,this.rgba=Ee.toRGBA(e);else if(e instanceof Lt)this._hsva=e,this.rgba=Lt.toRGBA(e);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(e){return!!e&&C.equals(this.rgba,e.rgba)&&Ee.equals(this.hsla,e.hsla)&&Lt.equals(this.hsva,e.hsva)}getRelativeLuminance(){let e=t._relativeLuminanceForComponent(this.rgba.r),n=t._relativeLuminanceForComponent(this.rgba.g),i=t._relativeLuminanceForComponent(this.rgba.b),r=.2126*e+.7152*n+.0722*i;return Ye(r,4)}static _relativeLuminanceForComponent(e){let n=e/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3>=128}isLighterThan(e){let n=this.getRelativeLuminance(),i=e.getRelativeLuminance();return n>i}isDarkerThan(e){let n=this.getRelativeLuminance(),i=e.getRelativeLuminance();return n<i}lighten(e){return new t(new Ee(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*e,this.hsla.a))}darken(e){return new t(new Ee(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*e,this.hsla.a))}transparent(e){let{r:n,g:i,b:r,a:s}=this.rgba;return new t(new C(n,i,r,s*e))}isTransparent(){return this.rgba.a===0}isOpaque(){return this.rgba.a===1}opposite(){return new t(new C(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}mix(e,n=.5){let i=Math.min(Math.max(n,0),1),r=this.rgba,s=e.rgba,a=r.r+(s.r-r.r)*i,l=r.g+(s.g-r.g)*i,o=r.b+(s.b-r.b)*i,u=r.a+(s.a-r.a)*i;return new t(new C(a,l,o,u))}makeOpaque(e){if(this.isOpaque()||e.rgba.a!==1)return this;let{r:n,g:i,b:r,a:s}=this.rgba;return new t(new C(e.rgba.r-s*(e.rgba.r-n),e.rgba.g-s*(e.rgba.g-i),e.rgba.b-s*(e.rgba.b-r),1))}toString(){return this._toString||(this._toString=t.Format.CSS.format(this)),this._toString}toNumber32Bit(){return this._toNumber32Bit||(this._toNumber32Bit=(this.rgba.r<<24|this.rgba.g<<16|this.rgba.b<<8|this.rgba.a*255<<0)>>>0),this._toNumber32Bit}static getLighterColor(e,n,i){if(e.isLighterThan(n))return e;i=i||.5;let r=e.getRelativeLuminance(),s=n.getRelativeLuminance();return i=i*(s-r)/s,e.lighten(i)}static getDarkerColor(e,n,i){if(e.isDarkerThan(n))return e;i=i||.5;let r=e.getRelativeLuminance(),s=n.getRelativeLuminance();return i=i*(r-s)/r,e.darken(i)}static{this.white=new t(new C(255,255,255,1))}static{this.black=new t(new C(0,0,0,1))}static{this.red=new t(new C(255,0,0,1))}static{this.blue=new t(new C(0,0,255,1))}static{this.green=new t(new C(0,255,0,1))}static{this.cyan=new t(new C(0,255,255,1))}static{this.lightgrey=new t(new C(211,211,211,1))}static{this.transparent=new t(new C(0,0,0,0))}};(function(t){(function(e){(function(n){function i(p){return p.rgba.a===1?`rgb(${p.rgba.r}, ${p.rgba.g}, ${p.rgba.b})`:t.Format.CSS.formatRGBA(p)}n.formatRGB=i;function r(p){return`rgba(${p.rgba.r}, ${p.rgba.g}, ${p.rgba.b}, ${+p.rgba.a.toFixed(2)})`}n.formatRGBA=r;function s(p){return p.hsla.a===1?`hsl(${p.hsla.h}, ${Math.round(p.hsla.s*100)}%, ${Math.round(p.hsla.l*100)}%)`:t.Format.CSS.formatHSLA(p)}n.formatHSL=s;function a(p){return`hsla(${p.hsla.h}, ${Math.round(p.hsla.s*100)}%, ${Math.round(p.hsla.l*100)}%, ${p.hsla.a.toFixed(2)})`}n.formatHSLA=a;function l(p){let T=p.toString(16);return T.length!==2?"0"+T:T}function o(p){return`#${l(p.rgba.r)}${l(p.rgba.g)}${l(p.rgba.b)}`}n.formatHex=o;function u(p,T=!1){return T&&p.rgba.a===1?t.Format.CSS.formatHex(p):`#${l(p.rgba.r)}${l(p.rgba.g)}${l(p.rgba.b)}${l(Math.round(p.rgba.a*255))}`}n.formatHexA=u;function c(p){return p.isOpaque()?t.Format.CSS.formatHex(p):t.Format.CSS.formatRGBA(p)}n.format=c;function d(p){if(p==="transparent")return t.transparent;if(p.startsWith("#"))return f(p);if(p.startsWith("rgba(")){let T=p.match(/rgba\((?<r>(?:\+|-)?\d+), *(?<g>(?:\+|-)?\d+), *(?<b>(?:\+|-)?\d+), *(?<a>(?:\+|-)?\d+(\.\d+)?)\)/);if(!T)throw new Error("Invalid color format "+p);let x=parseInt(T.groups?.r??"0"),y=parseInt(T.groups?.g??"0"),L=parseInt(T.groups?.b??"0"),z=parseFloat(T.groups?.a??"0");return new t(new C(x,y,L,z))}if(p.startsWith("rgb(")){let T=p.match(/rgb\((?<r>(?:\+|-)?\d+), *(?<g>(?:\+|-)?\d+), *(?<b>(?:\+|-)?\d+)\)/);if(!T)throw new Error("Invalid color format "+p);let x=parseInt(T.groups?.r??"0"),y=parseInt(T.groups?.g??"0"),L=parseInt(T.groups?.b??"0");return new t(new C(x,y,L))}return m(p)}n.parse=d;function m(p){switch(p){case"aliceblue":return new t(new C(240,248,255,1));case"antiquewhite":return new t(new C(250,235,215,1));case"aqua":return new t(new C(0,255,255,1));case"aquamarine":return new t(new C(127,255,212,1));case"azure":return new t(new C(240,255,255,1));case"beige":return new t(new C(245,245,220,1));case"bisque":return new t(new C(255,228,196,1));case"black":return new t(new C(0,0,0,1));case"blanchedalmond":return new t(new C(255,235,205,1));case"blue":return new t(new C(0,0,255,1));case"blueviolet":return new t(new C(138,43,226,1));case"brown":return new t(new C(165,42,42,1));case"burlywood":return new t(new C(222,184,135,1));case"cadetblue":return new t(new C(95,158,160,1));case"chartreuse":return new t(new C(127,255,0,1));case"chocolate":return new t(new C(210,105,30,1));case"coral":return new t(new C(255,127,80,1));case"cornflowerblue":return new t(new C(100,149,237,1));case"cornsilk":return new t(new C(255,248,220,1));case"crimson":return new t(new C(220,20,60,1));case"cyan":return new t(new C(0,255,255,1));case"darkblue":return new t(new C(0,0,139,1));case"darkcyan":return new t(new C(0,139,139,1));case"darkgoldenrod":return new t(new C(184,134,11,1));case"darkgray":return new t(new C(169,169,169,1));case"darkgreen":return new t(new C(0,100,0,1));case"darkgrey":return new t(new C(169,169,169,1));case"darkkhaki":return new t(new C(189,183,107,1));case"darkmagenta":return new t(new C(139,0,139,1));case"darkolivegreen":return new t(new C(85,107,47,1));case"darkorange":return new t(new C(255,140,0,1));case"darkorchid":return new t(new C(153,50,204,1));case"darkred":return new t(new C(139,0,0,1));case"darksalmon":return new t(new C(233,150,122,1));case"darkseagreen":return new t(new C(143,188,143,1));case"darkslateblue":return new t(new C(72,61,139,1));case"darkslategray":return new t(new C(47,79,79,1));case"darkslategrey":return new t(new C(47,79,79,1));case"darkturquoise":return new t(new C(0,206,209,1));case"darkviolet":return new t(new C(148,0,211,1));case"deeppink":return new t(new C(255,20,147,1));case"deepskyblue":return new t(new C(0,191,255,1));case"dimgray":return new t(new C(105,105,105,1));case"dimgrey":return new t(new C(105,105,105,1));case"dodgerblue":return new t(new C(30,144,255,1));case"firebrick":return new t(new C(178,34,34,1));case"floralwhite":return new t(new C(255,250,240,1));case"forestgreen":return new t(new C(34,139,34,1));case"fuchsia":return new t(new C(255,0,255,1));case"gainsboro":return new t(new C(220,220,220,1));case"ghostwhite":return new t(new C(248,248,255,1));case"gold":return new t(new C(255,215,0,1));case"goldenrod":return new t(new C(218,165,32,1));case"gray":return new t(new C(128,128,128,1));case"green":return new t(new C(0,128,0,1));case"greenyellow":return new t(new C(173,255,47,1));case"grey":return new t(new C(128,128,128,1));case"honeydew":return new t(new C(240,255,240,1));case"hotpink":return new t(new C(255,105,180,1));case"indianred":return new t(new C(205,92,92,1));case"indigo":return new t(new C(75,0,130,1));case"ivory":return new t(new C(255,255,240,1));case"khaki":return new t(new C(240,230,140,1));case"lavender":return new t(new C(230,230,250,1));case"lavenderblush":return new t(new C(255,240,245,1));case"lawngreen":return new t(new C(124,252,0,1));case"lemonchiffon":return new t(new C(255,250,205,1));case"lightblue":return new t(new C(173,216,230,1));case"lightcoral":return new t(new C(240,128,128,1));case"lightcyan":return new t(new C(224,255,255,1));case"lightgoldenrodyellow":return new t(new C(250,250,210,1));case"lightgray":return new t(new C(211,211,211,1));case"lightgreen":return new t(new C(144,238,144,1));case"lightgrey":return new t(new C(211,211,211,1));case"lightpink":return new t(new C(255,182,193,1));case"lightsalmon":return new t(new C(255,160,122,1));case"lightseagreen":return new t(new C(32,178,170,1));case"lightskyblue":return new t(new C(135,206,250,1));case"lightslategray":return new t(new C(119,136,153,1));case"lightslategrey":return new t(new C(119,136,153,1));case"lightsteelblue":return new t(new C(176,196,222,1));case"lightyellow":return new t(new C(255,255,224,1));case"lime":return new t(new C(0,255,0,1));case"limegreen":return new t(new C(50,205,50,1));case"linen":return new t(new C(250,240,230,1));case"magenta":return new t(new C(255,0,255,1));case"maroon":return new t(new C(128,0,0,1));case"mediumaquamarine":return new t(new C(102,205,170,1));case"mediumblue":return new t(new C(0,0,205,1));case"mediumorchid":return new t(new C(186,85,211,1));case"mediumpurple":return new t(new C(147,112,219,1));case"mediumseagreen":return new t(new C(60,179,113,1));case"mediumslateblue":return new t(new C(123,104,238,1));case"mediumspringgreen":return new t(new C(0,250,154,1));case"mediumturquoise":return new t(new C(72,209,204,1));case"mediumvioletred":return new t(new C(199,21,133,1));case"midnightblue":return new t(new C(25,25,112,1));case"mintcream":return new t(new C(245,255,250,1));case"mistyrose":return new t(new C(255,228,225,1));case"moccasin":return new t(new C(255,228,181,1));case"navajowhite":return new t(new C(255,222,173,1));case"navy":return new t(new C(0,0,128,1));case"oldlace":return new t(new C(253,245,230,1));case"olive":return new t(new C(128,128,0,1));case"olivedrab":return new t(new C(107,142,35,1));case"orange":return new t(new C(255,165,0,1));case"orangered":return new t(new C(255,69,0,1));case"orchid":return new t(new C(218,112,214,1));case"palegoldenrod":return new t(new C(238,232,170,1));case"palegreen":return new t(new C(152,251,152,1));case"paleturquoise":return new t(new C(175,238,238,1));case"palevioletred":return new t(new C(219,112,147,1));case"papayawhip":return new t(new C(255,239,213,1));case"peachpuff":return new t(new C(255,218,185,1));case"peru":return new t(new C(205,133,63,1));case"pink":return new t(new C(255,192,203,1));case"plum":return new t(new C(221,160,221,1));case"powderblue":return new t(new C(176,224,230,1));case"purple":return new t(new C(128,0,128,1));case"rebeccapurple":return new t(new C(102,51,153,1));case"red":return new t(new C(255,0,0,1));case"rosybrown":return new t(new C(188,143,143,1));case"royalblue":return new t(new C(65,105,225,1));case"saddlebrown":return new t(new C(139,69,19,1));case"salmon":return new t(new C(250,128,114,1));case"sandybrown":return new t(new C(244,164,96,1));case"seagreen":return new t(new C(46,139,87,1));case"seashell":return new t(new C(255,245,238,1));case"sienna":return new t(new C(160,82,45,1));case"silver":return new t(new C(192,192,192,1));case"skyblue":return new t(new C(135,206,235,1));case"slateblue":return new t(new C(106,90,205,1));case"slategray":return new t(new C(112,128,144,1));case"slategrey":return new t(new C(112,128,144,1));case"snow":return new t(new C(255,250,250,1));case"springgreen":return new t(new C(0,255,127,1));case"steelblue":return new t(new C(70,130,180,1));case"tan":return new t(new C(210,180,140,1));case"teal":return new t(new C(0,128,128,1));case"thistle":return new t(new C(216,191,216,1));case"tomato":return new t(new C(255,99,71,1));case"turquoise":return new t(new C(64,224,208,1));case"violet":return new t(new C(238,130,238,1));case"wheat":return new t(new C(245,222,179,1));case"white":return new t(new C(255,255,255,1));case"whitesmoke":return new t(new C(245,245,245,1));case"yellow":return new t(new C(255,255,0,1));case"yellowgreen":return new t(new C(154,205,50,1));default:return null}}function f(p){let T=p.length;if(T===0||p.charCodeAt(0)!==35)return null;if(T===7){let x=16*w(p.charCodeAt(1))+w(p.charCodeAt(2)),y=16*w(p.charCodeAt(3))+w(p.charCodeAt(4)),L=16*w(p.charCodeAt(5))+w(p.charCodeAt(6));return new t(new C(x,y,L,1))}if(T===9){let x=16*w(p.charCodeAt(1))+w(p.charCodeAt(2)),y=16*w(p.charCodeAt(3))+w(p.charCodeAt(4)),L=16*w(p.charCodeAt(5))+w(p.charCodeAt(6)),z=16*w(p.charCodeAt(7))+w(p.charCodeAt(8));return new t(new C(x,y,L,z/255))}if(T===4){let x=w(p.charCodeAt(1)),y=w(p.charCodeAt(2)),L=w(p.charCodeAt(3));return new t(new C(16*x+x,16*y+y,16*L+L))}if(T===5){let x=w(p.charCodeAt(1)),y=w(p.charCodeAt(2)),L=w(p.charCodeAt(3)),z=w(p.charCodeAt(4));return new t(new C(16*x+x,16*y+y,16*L+L,(16*z+z)/255))}return null}n.parseHex=f;function w(p){switch(p){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:return 10;case 65:return 10;case 98:return 11;case 66:return 11;case 99:return 12;case 67:return 12;case 100:return 13;case 68:return 13;case 101:return 14;case 69:return 14;case 102:return 15;case 70:return 15}return 0}})(e.CSS||(e.CSS={}))})(t.Format||(t.Format={}))})(ut||(ut={}));function Oo(t){let e=[];for(let n of t){let i=Number(n);(i||i===0&&n.replace(/\s/g,"")!=="")&&e.push(i)}return e}function Tr(t,e,n,i){return{red:t/255,blue:n/255,green:e/255,alpha:i}}function Kt(t,e){let n=e.index,i=e[0].length;if(n===void 0)return;let r=t.positionAt(n);return{startLineNumber:r.lineNumber,startColumn:r.column,endLineNumber:r.lineNumber,endColumn:r.column+i}}function fc(t,e){if(!t)return;let n=ut.Format.CSS.parseHex(e);if(n)return{range:t,color:Tr(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a)}}function Wo(t,e,n){if(!t||e.length!==1)return;let r=e[0].values(),s=Oo(r);return{range:t,color:Tr(s[0],s[1],s[2],n?s[3]:1)}}function Bo(t,e,n){if(!t||e.length!==1)return;let r=e[0].values(),s=Oo(r),a=new ut(new Ee(s[0],s[1]/100,s[2]/100,n?s[3]:1));return{range:t,color:Tr(a.rgba.r,a.rgba.g,a.rgba.b,a.rgba.a)}}function en(t,e){return typeof t=="string"?[...t.matchAll(e)]:t.findMatches(e)}function pc(t){let e=[],i=en(t,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|^(#)([A-Fa-f0-9]{3})\b|^(#)([A-Fa-f0-9]{4})\b|^(#)([A-Fa-f0-9]{6})\b|^(#)([A-Fa-f0-9]{8})\b|(?<=['"\s])(#)([A-Fa-f0-9]{3})\b|(?<=['"\s])(#)([A-Fa-f0-9]{4})\b|(?<=['"\s])(#)([A-Fa-f0-9]{6})\b|(?<=['"\s])(#)([A-Fa-f0-9]{8})\b/gm);if(i.length>0)for(let r of i){let s=r.filter(u=>u!==void 0),a=s[1],l=s[2];if(!l)continue;let o;if(a==="rgb"){let u=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;o=Wo(Kt(t,r),en(l,u),!1)}else if(a==="rgba"){let u=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;o=Wo(Kt(t,r),en(l,u),!0)}else if(a==="hsl"){let u=/^\(\s*((?:360(?:\.0+)?|(?:36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])(?:\.\d+)?))\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;o=Bo(Kt(t,r),en(l,u),!1)}else if(a==="hsla"){let u=/^\(\s*((?:360(?:\.0+)?|(?:36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])(?:\.\d+)?))\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*[\s,]\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*[\s,]\s*(0[.][0-9]+|[.][0-9]+|[01][.]0*|[01])\s*\)$/gm;o=Bo(Kt(t,r),en(l,u),!0)}else a==="#"&&(o=fc(Kt(t,r),a+l));o&&e.push(o)}return e}function qo(t){return!t||typeof t.getValue!="function"||typeof t.positionAt!="function"?[]:pc(t)}var gc=/^-+|-+$/g,Vo=100,bc=5;function jo(t,e){let n=[];if(e.findRegionSectionHeaders&&e.foldingRules?.markers){let i=wc(t,e);n=n.concat(i)}if(e.findMarkSectionHeaders){let i=_c(t,e);n=n.concat(i)}return n}function wc(t,e){let n=[],i=t.getLineCount();for(let r=1;r<=i;r++){let s=t.getLineContent(r),a=s.match(e.foldingRules.markers.start);if(a){let l={startLineNumber:r,startColumn:a[0].length+1,endLineNumber:r,endColumn:s.length+1};if(l.endColumn>l.startColumn){let o={range:l,...vc(s.substring(a[0].length)),shouldBeInComments:!1};(o.text||o.hasSeparatorLine)&&n.push(o)}}}return n}function _c(t,e){let n=[],i=t.getLineCount();if(!e.markSectionHeaderRegex||e.markSectionHeaderRegex.trim()==="")return n;let r=po(e.markSectionHeaderRegex),s=new RegExp(e.markSectionHeaderRegex,`gdm${r?"s":""}`);if(ys(s))return n;for(let a=1;a<=i;a+=Vo-bc){let l=Math.min(a+Vo-1,i),o=[];for(let d=a;d<=l;d++)o.push(t.getLineContent(d));let u=o.join(`
|
|
24
|
-
`)
|
|
25
|
-
`),p=w.length,T=f+p-1,x=d.lastIndexOf(`
|
|
26
|
-
`)+1,y=c.index-x+1,L=w[w.length-1],z=p===1?y+c[0].length:L.length+1,F={startLineNumber:f,startColumn:y,endLineNumber:T,endColumn:z},U=(c.groups??{}).label??"",b=((c.groups??{}).separator??"")!=="",g={range:F,text:U,hasSeparatorLine:b,shouldBeInComments:!0};(g.text||g.hasSeparatorLine)&&(n.length===0||n[n.length-1].range.endLineNumber<g.range.startLineNumber)&&n.push(g),s.lastIndex=c.index+c[0].length}}return n}function vc(t){t=t.trim();let e=t.startsWith("-");return t=t.replace(gc,""),{text:t,hasSeparatorLine:e}}var yc,Sr;(function(){let t=globalThis;typeof t.requestIdleCallback!="function"||typeof t.cancelIdleCallback!="function"?Sr=(e,n,i)=>{ws(()=>{if(r)return;let s=Date.now()+15;n(Object.freeze({didTimeout:!0,timeRemaining(){return Math.max(0,s-Date.now())}}))});let r=!1;return{dispose(){r||(r=!0)}}}:Sr=(e,n,i)=>{let r=e.requestIdleCallback(n,typeof i=="number"?{timeout:i}:void 0),s=!1;return{dispose(){s||(s=!0,e.cancelIdleCallback(r))}}},yc=(e,n)=>Sr(globalThis,e,n)})();var kr=class{get isRejected(){return this.outcome?.outcome===1}get isSettled(){return!!this.outcome}constructor(){this.p=new Promise((e,n)=>{this.completeCallback=e,this.errorCallback=n})}complete(e){return this.isSettled?Promise.resolve():new Promise(n=>{this.completeCallback(e),this.outcome={outcome:0,value:e},n()})}error(e){return this.isSettled?Promise.resolve():new Promise(n=>{this.errorCallback(e),this.outcome={outcome:1,value:e},n()})}cancel(){return this.error(new zt)}},Go;(function(t){async function e(i){let r,s=await Promise.all(i.map(a=>a.then(l=>l,l=>{r||(r=l)})));if(typeof r<"u")throw r;return s}t.settled=e;function n(i){return new Promise(async(r,s)=>{try{await i(r,s)}catch(a){s(a)}})}t.withAsyncBody=n})(Go||(Go={}));var Lr=class{constructor(){this._unsatisfiedConsumers=[],this._unconsumedValues=[]}get hasFinalValue(){return!!this._finalValue}produce(e){if(this._ensureNoFinalValue(),this._unsatisfiedConsumers.length>0){let n=this._unsatisfiedConsumers.shift();this._resolveOrRejectDeferred(n,e)}else this._unconsumedValues.push(e)}produceFinal(e){this._ensureNoFinalValue(),this._finalValue=e;for(let n of this._unsatisfiedConsumers)this._resolveOrRejectDeferred(n,e);this._unsatisfiedConsumers.length=0}_ensureNoFinalValue(){if(this._finalValue)throw new te("ProducerConsumer: cannot produce after final value has been set")}_resolveOrRejectDeferred(e,n){n.ok?e.complete(n.value):e.error(n.error)}consume(){if(this._unconsumedValues.length>0||this._finalValue){let e=this._unconsumedValues.length>0?this._unconsumedValues.shift():this._finalValue;return e.ok?Promise.resolve(e.value):Promise.reject(e.error)}else{let e=new kr;return this._unsatisfiedConsumers.push(e),e.p}}},$o=class t{constructor(e,n){this._onReturn=n,this._producerConsumer=new Lr,this._iterator={next:()=>this._producerConsumer.consume(),return:()=>(this._onReturn?.(),Promise.resolve({done:!0,value:void 0})),throw:async i=>(this._finishError(i),{done:!0,value:void 0})},queueMicrotask(async()=>{let i=e({emitOne:r=>this._producerConsumer.produce({ok:!0,value:{done:!1,value:r}}),emitMany:r=>{for(let s of r)this._producerConsumer.produce({ok:!0,value:{done:!1,value:s}})},reject:r=>this._finishError(r)});if(!this._producerConsumer.hasFinalValue)try{await i,this._finishOk()}catch(r){this._finishError(r)}})}static fromArray(e){return new t(n=>{n.emitMany(e)})}static fromPromise(e){return new t(async n=>{n.emitMany(await e)})}static fromPromisesResolveOrder(e){return new t(async n=>{await Promise.all(e.map(async i=>n.emitOne(await i)))})}static merge(e){return new t(async n=>{await Promise.all(e.map(async i=>{for await(let r of i)n.emitOne(r)}))})}static{this.EMPTY=t.fromArray([])}static map(e,n){return new t(async i=>{for await(let r of e)i.emitOne(n(r))})}map(e){return t.map(this,e)}static coalesce(e){return t.filter(e,n=>!!n)}coalesce(){return t.coalesce(this)}static filter(e,n){return new t(async i=>{for await(let r of e)n(r)&&i.emitOne(r)})}filter(e){return t.filter(this,e)}_finishOk(){this._producerConsumer.hasFinalValue||this._producerConsumer.produceFinal({ok:!0,value:{done:!0,value:void 0}})}_finishError(e){this._producerConsumer.hasFinalValue||this._producerConsumer.produceFinal({ok:!1,error:e})}[Symbol.asyncIterator](){return this._iterator}};var ei=class{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,n){e=it(e);let i=this.values,r=this.prefixSum,s=n.length;return s===0?!1:(this.values=new Uint32Array(i.length+s),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e),e+s),this.values.set(n,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,n){return e=it(e),n=it(n),this.values[e]===n?!1:(this.values[e]=n,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,n){e=it(e),n=it(n);let i=this.values,r=this.prefixSum;if(e>=i.length)return!1;let s=i.length-e;return n>=s&&(n=s),n===0?!1:(this.values=new Uint32Array(i.length-n),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e+n),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=it(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let n=this.prefixSumValidIndex[0]+1;n===0&&(this.prefixSum[0]=this.values[0],n++),e>=this.values.length&&(e=this.values.length-1);for(let i=n;i<=e;i++)this.prefixSum[i]=this.prefixSum[i-1]+this.values[i];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let n=0,i=this.values.length-1,r=0,s=0,a=0;for(;n<=i;)if(r=n+(i-n)/2|0,s=this.prefixSum[r],a=s-this.values[r],e<a)i=r-1;else if(e>=s)n=r+1;else break;return new Ar(r,e-a)}};var Ar=class{constructor(e,n){this.index=e,this.remainder=n,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=n}};var ti=class{constructor(e,n,i,r){this._uri=e,this._lines=n,this._eol=i,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return this._cachedTextValue===null&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);let n=e.changes;for(let i of n)this._acceptDeleteRange(i.range),this._acceptInsertText(new $(i.range.startLineNumber,i.range.startColumn),i.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let e=this._eol.length,n=this._lines.length,i=new Uint32Array(n);for(let r=0;r<n;r++)i[r]=this._lines[r].length+e;this._lineStarts=new ei(i)}}_setLineText(e,n){this._lines[e]=n,this._lineStarts&&this._lineStarts.setValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber===e.endLineNumber){if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1));return}this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber)}_acceptInsertText(e,n){if(n.length===0)return;let i=xs(n);if(i.length===1){this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+i[0]+this._lines[e.lineNumber-1].substring(e.column-1));return}i[i.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+i[0]);let r=new Uint32Array(i.length-1);for(let s=1;s<i.length;s++)this._lines.splice(e.lineNumber+s-1,0,i[s]),r[s-1]=i[s].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,r)}};var Sp=60*1e3;var ni=class{constructor(){this._models=Object.create(null)}getModel(e){return this._models[e]}getModels(){let e=[];return Object.keys(this._models).forEach(n=>e.push(this._models[n])),e}$acceptNewModel(e){this._models[e.url]=new Cr(Ge.parse(e.url),e.lines,e.EOL,e.versionId)}$acceptModelChanged(e,n){if(!this._models[e])return;this._models[e].onEvents(n)}$acceptRemovedModel(e){this._models[e]&&delete this._models[e]}},Cr=class extends ti{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(e){let n=[];for(let i=0;i<this._lines.length;i++){let r=this._lines[i],s=this.offsetAt(new $(i+1,1)),a=r.matchAll(e);for(let l of a)(l.index||l.index===0)&&(l.index=l.index+s),n.push(l)}return n}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,n){let i=$t(e.column,lr(n),this._lines[e.lineNumber-1],0);return i?new W(e.lineNumber,i.startColumn,e.lineNumber,i.endColumn):null}words(e){let n=this._lines,i=this._wordenize.bind(this),r=0,s="",a=0,l=[];return{*[Symbol.iterator](){for(;;)if(a<l.length){let o=s.substring(l[a].start,l[a].end);a+=1,yield o}else if(r<n.length)s=n[r],l=i(s,e),a=0,r+=1;else break}}}getLineWords(e,n){let i=this._lines[e-1],r=this._wordenize(i,n),s=[];for(let a of r)s.push({word:i.substring(a.start,a.end),startColumn:a.start+1,endColumn:a.end+1});return s}_wordenize(e,n){let i=[],r;for(n.lastIndex=0;(r=n.exec(e))&&r[0].length!==0;)i.push({start:r.index,end:r.index+r[0].length});return i}getValueInRange(e){if(e=this._validateRange(e),e.startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);let n=this._eol,i=e.startLineNumber-1,r=e.endLineNumber-1,s=[];s.push(this._lines[i].substring(e.startColumn-1));for(let a=i+1;a<r;a++)s.push(this._lines[a]);return s.push(this._lines[r].substring(0,e.endColumn-1)),s.join(n)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getPrefixSum(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();let n=this._lineStarts.getIndexOf(e),i=this._lines[n.index].length;return{lineNumber:1+n.index,column:1+Math.min(n.remainder,i)}}_validateRange(e){let n=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),i=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return n.lineNumber!==e.startLineNumber||n.column!==e.startColumn||i.lineNumber!==e.endLineNumber||i.column!==e.endColumn?{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:i.lineNumber,endColumn:i.column}:e}_validatePosition(e){if(!$.isIPosition(e))throw new Error("bad position");let{lineNumber:n,column:i}=e,r=!1;if(n<1)n=1,i=1,r=!0;else if(n>this._lines.length)n=this._lines.length,i=this._lines[n-1].length+1,r=!0;else{let s=this._lines[n-1].length+1;i<1?(i=1,r=!0):i>s&&(i=s,r=!0)}return r?{lineNumber:n,column:i}:e}};var ii=class t{constructor(e=null){this._foreignModule=e,this._requestHandlerBrand=void 0,this._workerTextModelSyncServer=new ni}dispose(){}async $ping(){return"pong"}_getModel(e){return this._workerTextModelSyncServer.getModel(e)}getModels(){return this._workerTextModelSyncServer.getModels()}$acceptNewModel(e){this._workerTextModelSyncServer.$acceptNewModel(e)}$acceptModelChanged(e,n){this._workerTextModelSyncServer.$acceptModelChanged(e,n)}$acceptRemovedModel(e){this._workerTextModelSyncServer.$acceptRemovedModel(e)}async $computeUnicodeHighlights(e,n,i){let r=this._getModel(e);return r?On.computeUnicodeHighlights(r,n,i):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}async $findSectionHeaders(e,n){let i=this._getModel(e);return i?jo(i,n):[]}async $computeDiff(e,n,i,r){let s=this._getModel(e),a=this._getModel(n);return!s||!a?null:t.computeDiff(s,a,i,r)}static computeDiff(e,n,i,r){let s=r==="advanced"?xr.getDefault():xr.getLegacy(),a=e.getLinesContent(),l=n.getLinesContent(),o=s.computeDiff(a,l,i),u=o.changes.length>0?!1:this._modelsAreIdentical(e,n);function c(d){return d.map(m=>[m.original.startLineNumber,m.original.endLineNumberExclusive,m.modified.startLineNumber,m.modified.endLineNumberExclusive,m.innerChanges?.map(f=>[f.originalRange.startLineNumber,f.originalRange.startColumn,f.originalRange.endLineNumber,f.originalRange.endColumn,f.modifiedRange.startLineNumber,f.modifiedRange.startColumn,f.modifiedRange.endLineNumber,f.modifiedRange.endColumn])])}return{identical:u,quitEarly:o.hitTimeout,changes:c(o.changes),moves:o.moves.map(d=>[d.lineRangeMapping.original.startLineNumber,d.lineRangeMapping.original.endLineNumberExclusive,d.lineRangeMapping.modified.startLineNumber,d.lineRangeMapping.modified.endLineNumberExclusive,c(d.changes)])}}static _modelsAreIdentical(e,n){let i=e.getLineCount(),r=n.getLineCount();if(i!==r)return!1;for(let s=1;s<=i;s++){let a=e.getLineContent(s),l=n.getLineContent(s);if(a!==l)return!1}return!0}static{this._diffLimit=1e5}async $computeMoreMinimalEdits(e,n,i){let r=this._getModel(e);if(!r)return n;let s=[],a;n=n.slice(0).sort((o,u)=>{if(o.range&&u.range)return W.compareRangesUsingStarts(o.range,u.range);let c=o.range?0:1,d=u.range?0:1;return c-d});let l=0;for(let o=1;o<n.length;o++)W.getEndPosition(n[l].range).equals(W.getStartPosition(n[o].range))?(n[l].range=W.fromPositions(W.getStartPosition(n[l].range),W.getEndPosition(n[o].range)),n[l].text+=n[o].text):(l++,n[l]=n[o]);n.length=l+1;for(let{range:o,text:u,eol:c}of n){if(typeof c=="number"&&(a=c),W.isEmpty(o)&&!u)continue;let d=r.getValueInRange(o);if(u=u.replace(/\r\n|\n|\r/g,r.eol),d===u)continue;if(Math.max(u.length,d.length)>t._diffLimit){s.push({range:o,text:u});continue}let m=Hs(d,u,i),f=r.offsetAt(W.lift(o).getStartPosition());for(let w of m){let p=r.positionAt(f+w.originalStart),T=r.positionAt(f+w.originalStart+w.originalLength),x={text:u.substr(w.modifiedStart,w.modifiedLength),range:{startLineNumber:p.lineNumber,startColumn:p.column,endLineNumber:T.lineNumber,endColumn:T.column}};r.getValueInRange(x.range)!==x.text&&s.push(x)}}return typeof a=="number"&&s.push({eol:a,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s}async $computeLinks(e){let n=this._getModel(e);return n?Ws(n):null}async $computeDefaultDocumentColors(e){let n=this._getModel(e);return n?qo(n):null}static{this._suggestionsLimit=1e4}async $textualSuggest(e,n,i,r){let s=new ft,a=new RegExp(i,r),l=new Set;e:for(let o of e){let u=this._getModel(o);if(u){for(let c of u.words(a))if(!(c===n||!isNaN(Number(c)))&&(l.add(c),l.size>t._suggestionsLimit))break e}}return{words:Array.from(l),duration:s.elapsed()}}async $computeWordRanges(e,n,i,r){let s=this._getModel(e);if(!s)return Object.create(null);let a=new RegExp(i,r),l=Object.create(null);for(let o=n.startLineNumber;o<n.endLineNumber;o++){let u=s.getLineWords(o,a);for(let c of u){if(!isNaN(Number(c.word)))continue;let d=l[c.word];d||(d=[],l[c.word]=d),d.push({startLineNumber:o,startColumn:c.startColumn,endLineNumber:o,endColumn:c.endColumn})}}return l}async $navigateValueSet(e,n,i,r,s){let a=this._getModel(e);if(!a)return null;let l=new RegExp(r,s);n.startColumn===n.endColumn&&(n={startLineNumber:n.startLineNumber,startColumn:n.startColumn,endLineNumber:n.endLineNumber,endColumn:n.endColumn+1});let o=a.getValueInRange(n),u=a.getWordAtPosition({lineNumber:n.startLineNumber,column:n.startColumn},l);if(!u)return null;let c=a.getValueInRange(u);return kn.INSTANCE.navigateValueSet(n,o,u,c,i)}$fmr(e,n){if(!this._foreignModule||typeof this._foreignModule[e]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,n))}catch(i){return Promise.reject(i)}}};typeof importScripts=="function"&&(globalThis.monaco=so());var ri=class t{static{this.CHANNEL_NAME="editorWorkerHost"}static getChannel(e){return e.getChannel(t.CHANNEL_NAME)}static setChannel(e,n){e.setChannel(t.CHANNEL_NAME,n)}};function Xo(t){let e,n=Ms(i=>{let r=ri.getChannel(i),a={host:new Proxy({},{get(l,o,u){if(o!=="then"){if(typeof o!="string")throw new Error("Not supported");return(...c)=>r.$fhr(o,c)}}}),getMirrorModels:()=>n.requestHandler.getModels()};return e=t(a),new ii(e)});return e}var xc=!1;function Qo(t){xc=!0,self.onmessage=e=>{Xo(n=>t(n,e.data))}}function fe(...t){let e=t[0],n,i,r;if(typeof e=="string")n=e,i=e,t.splice(0,1),r=!t||typeof t[0]!="object"?t:t[0];else if(e instanceof Array){let s=t.slice(1);if(e.length!==s.length+1)throw new Error("expected a string as the first argument to l10n.t");let a=e[0];for(let l=1;l<e.length;l++)a+=`{${l-1}}`+e[l];return fe(a,...s)}else i=e.message,n=i,e.comment&&e.comment.length>0&&(n+=`/${Array.isArray(e.comment)?e.comment.join(""):e.comment}`),r=e.args??{};return Sc(i,r)}var Tc=/{([^}]+)}/g;function Sc(t,e){return Object.keys(e).length===0?t:t.replace(Tc,(n,i)=>e[i]??n)}var Er;(function(t){function e(n){return typeof n=="string"}t.is=e})(Er||(Er={}));var Rr;(function(t){function e(n){return typeof n=="string"}t.is=e})(Rr||(Rr={}));var Jo;(function(t){t.MIN_VALUE=-2147483648,t.MAX_VALUE=2147483647;function e(n){return typeof n=="number"&&t.MIN_VALUE<=n&&n<=t.MAX_VALUE}t.is=e})(Jo||(Jo={}));var si;(function(t){t.MIN_VALUE=0,t.MAX_VALUE=2147483647;function e(n){return typeof n=="number"&&t.MIN_VALUE<=n&&n<=t.MAX_VALUE}t.is=e})(si||(si={}));var ne;(function(t){function e(i,r){return i===Number.MAX_VALUE&&(i=si.MAX_VALUE),r===Number.MAX_VALUE&&(r=si.MAX_VALUE),{line:i,character:r}}t.create=e;function n(i){let r=i;return E.objectLiteral(r)&&E.uinteger(r.line)&&E.uinteger(r.character)}t.is=n})(ne||(ne={}));var G;(function(t){function e(i,r,s,a){if(E.uinteger(i)&&E.uinteger(r)&&E.uinteger(s)&&E.uinteger(a))return{start:ne.create(i,r),end:ne.create(s,a)};if(ne.is(i)&&ne.is(r))return{start:i,end:r};throw new Error(`Range#create called with invalid arguments[${i}, ${r}, ${s}, ${a}]`)}t.create=e;function n(i){let r=i;return E.objectLiteral(r)&&ne.is(r.start)&&ne.is(r.end)}t.is=n})(G||(G={}));var tn;(function(t){function e(i,r){return{uri:i,range:r}}t.create=e;function n(i){let r=i;return E.objectLiteral(r)&&G.is(r.range)&&(E.string(r.uri)||E.undefined(r.uri))}t.is=n})(tn||(tn={}));var Yo;(function(t){function e(i,r,s,a){return{targetUri:i,targetRange:r,targetSelectionRange:s,originSelectionRange:a}}t.create=e;function n(i){let r=i;return E.objectLiteral(r)&&G.is(r.targetRange)&&E.string(r.targetUri)&&G.is(r.targetSelectionRange)&&(G.is(r.originSelectionRange)||E.undefined(r.originSelectionRange))}t.is=n})(Yo||(Yo={}));var ai;(function(t){function e(i,r,s,a){return{red:i,green:r,blue:s,alpha:a}}t.create=e;function n(i){let r=i;return E.objectLiteral(r)&&E.numberRange(r.red,0,1)&&E.numberRange(r.green,0,1)&&E.numberRange(r.blue,0,1)&&E.numberRange(r.alpha,0,1)}t.is=n})(ai||(ai={}));var Dr;(function(t){function e(i,r){return{range:i,color:r}}t.create=e;function n(i){let r=i;return E.objectLiteral(r)&&G.is(r.range)&&ai.is(r.color)}t.is=n})(Dr||(Dr={}));var Mr;(function(t){function e(i,r,s){return{label:i,textEdit:r,additionalTextEdits:s}}t.create=e;function n(i){let r=i;return E.objectLiteral(r)&&E.string(r.label)&&(E.undefined(r.textEdit)||se.is(r))&&(E.undefined(r.additionalTextEdits)||E.typedArray(r.additionalTextEdits,se.is))}t.is=n})(Mr||(Mr={}));var At;(function(t){t.Comment="comment",t.Imports="imports",t.Region="region"})(At||(At={}));var Nr;(function(t){function e(i,r,s,a,l,o){let u={startLine:i,endLine:r};return E.defined(s)&&(u.startCharacter=s),E.defined(a)&&(u.endCharacter=a),E.defined(l)&&(u.kind=l),E.defined(o)&&(u.collapsedText=o),u}t.create=e;function n(i){let r=i;return E.objectLiteral(r)&&E.uinteger(r.startLine)&&E.uinteger(r.startLine)&&(E.undefined(r.startCharacter)||E.uinteger(r.startCharacter))&&(E.undefined(r.endCharacter)||E.uinteger(r.endCharacter))&&(E.undefined(r.kind)||E.string(r.kind))}t.is=n})(Nr||(Nr={}));var Ir;(function(t){function e(i,r){return{location:i,message:r}}t.create=e;function n(i){let r=i;return E.defined(r)&&tn.is(r.location)&&E.string(r.message)}t.is=n})(Ir||(Ir={}));var Zo;(function(t){t.Error=1,t.Warning=2,t.Information=3,t.Hint=4})(Zo||(Zo={}));var Ko;(function(t){t.Unnecessary=1,t.Deprecated=2})(Ko||(Ko={}));var el;(function(t){function e(n){let i=n;return E.objectLiteral(i)&&E.string(i.href)}t.is=e})(el||(el={}));var nn;(function(t){function e(i,r,s,a,l,o){let u={range:i,message:r};return E.defined(s)&&(u.severity=s),E.defined(a)&&(u.code=a),E.defined(l)&&(u.source=l),E.defined(o)&&(u.relatedInformation=o),u}t.create=e;function n(i){var r;let s=i;return E.defined(s)&&G.is(s.range)&&E.string(s.message)&&(E.number(s.severity)||E.undefined(s.severity))&&(E.integer(s.code)||E.string(s.code)||E.undefined(s.code))&&(E.undefined(s.codeDescription)||E.string((r=s.codeDescription)===null||r===void 0?void 0:r.href))&&(E.string(s.source)||E.undefined(s.source))&&(E.undefined(s.relatedInformation)||E.typedArray(s.relatedInformation,Ir.is))}t.is=n})(nn||(nn={}));var ct;(function(t){function e(i,r,...s){let a={title:i,command:r};return E.defined(s)&&s.length>0&&(a.arguments=s),a}t.create=e;function n(i){let r=i;return E.defined(r)&&E.string(r.title)&&E.string(r.command)}t.is=n})(ct||(ct={}));var se;(function(t){function e(s,a){return{range:s,newText:a}}t.replace=e;function n(s,a){return{range:{start:s,end:s},newText:a}}t.insert=n;function i(s){return{range:s,newText:""}}t.del=i;function r(s){let a=s;return E.objectLiteral(a)&&E.string(a.newText)&&G.is(a.range)}t.is=r})(se||(se={}));var zr;(function(t){function e(i,r,s){let a={label:i};return r!==void 0&&(a.needsConfirmation=r),s!==void 0&&(a.description=s),a}t.create=e;function n(i){let r=i;return E.objectLiteral(r)&&E.string(r.label)&&(E.boolean(r.needsConfirmation)||r.needsConfirmation===void 0)&&(E.string(r.description)||r.description===void 0)}t.is=n})(zr||(zr={}));var Ct;(function(t){function e(n){let i=n;return E.string(i)}t.is=e})(Ct||(Ct={}));var tl;(function(t){function e(s,a,l){return{range:s,newText:a,annotationId:l}}t.replace=e;function n(s,a,l){return{range:{start:s,end:s},newText:a,annotationId:l}}t.insert=n;function i(s,a){return{range:s,newText:"",annotationId:a}}t.del=i;function r(s){let a=s;return se.is(a)&&(zr.is(a.annotationId)||Ct.is(a.annotationId))}t.is=r})(tl||(tl={}));var Fr;(function(t){function e(i,r){return{textDocument:i,edits:r}}t.create=e;function n(i){let r=i;return E.defined(r)&&Wr.is(r.textDocument)&&Array.isArray(r.edits)}t.is=n})(Fr||(Fr={}));var Pr;(function(t){function e(i,r,s){let a={kind:"create",uri:i};return r!==void 0&&(r.overwrite!==void 0||r.ignoreIfExists!==void 0)&&(a.options=r),s!==void 0&&(a.annotationId=s),a}t.create=e;function n(i){let r=i;return r&&r.kind==="create"&&E.string(r.uri)&&(r.options===void 0||(r.options.overwrite===void 0||E.boolean(r.options.overwrite))&&(r.options.ignoreIfExists===void 0||E.boolean(r.options.ignoreIfExists)))&&(r.annotationId===void 0||Ct.is(r.annotationId))}t.is=n})(Pr||(Pr={}));var Ur;(function(t){function e(i,r,s,a){let l={kind:"rename",oldUri:i,newUri:r};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(l.options=s),a!==void 0&&(l.annotationId=a),l}t.create=e;function n(i){let r=i;return r&&r.kind==="rename"&&E.string(r.oldUri)&&E.string(r.newUri)&&(r.options===void 0||(r.options.overwrite===void 0||E.boolean(r.options.overwrite))&&(r.options.ignoreIfExists===void 0||E.boolean(r.options.ignoreIfExists)))&&(r.annotationId===void 0||Ct.is(r.annotationId))}t.is=n})(Ur||(Ur={}));var Hr;(function(t){function e(i,r,s){let a={kind:"delete",uri:i};return r!==void 0&&(r.recursive!==void 0||r.ignoreIfNotExists!==void 0)&&(a.options=r),s!==void 0&&(a.annotationId=s),a}t.create=e;function n(i){let r=i;return r&&r.kind==="delete"&&E.string(r.uri)&&(r.options===void 0||(r.options.recursive===void 0||E.boolean(r.options.recursive))&&(r.options.ignoreIfNotExists===void 0||E.boolean(r.options.ignoreIfNotExists)))&&(r.annotationId===void 0||Ct.is(r.annotationId))}t.is=n})(Hr||(Hr={}));var oi;(function(t){function e(n){let i=n;return i&&(i.changes!==void 0||i.documentChanges!==void 0)&&(i.documentChanges===void 0||i.documentChanges.every(r=>E.string(r.kind)?Pr.is(r)||Ur.is(r)||Hr.is(r):Fr.is(r)))}t.is=e})(oi||(oi={}));var nl;(function(t){function e(i){return{uri:i}}t.create=e;function n(i){let r=i;return E.defined(r)&&E.string(r.uri)}t.is=n})(nl||(nl={}));var il;(function(t){function e(i,r){return{uri:i,version:r}}t.create=e;function n(i){let r=i;return E.defined(r)&&E.string(r.uri)&&E.integer(r.version)}t.is=n})(il||(il={}));var Wr;(function(t){function e(i,r){return{uri:i,version:r}}t.create=e;function n(i){let r=i;return E.defined(r)&&E.string(r.uri)&&(r.version===null||E.integer(r.version))}t.is=n})(Wr||(Wr={}));var rl;(function(t){function e(i,r,s,a){return{uri:i,languageId:r,version:s,text:a}}t.create=e;function n(i){let r=i;return E.defined(r)&&E.string(r.uri)&&E.string(r.languageId)&&E.integer(r.version)&&E.string(r.text)}t.is=n})(rl||(rl={}));var _e;(function(t){t.PlainText="plaintext",t.Markdown="markdown";function e(n){let i=n;return i===t.PlainText||i===t.Markdown}t.is=e})(_e||(_e={}));var Et;(function(t){function e(n){let i=n;return E.objectLiteral(n)&&_e.is(i.kind)&&E.string(i.value)}t.is=e})(Et||(Et={}));var le;(function(t){t.Text=1,t.Method=2,t.Function=3,t.Constructor=4,t.Field=5,t.Variable=6,t.Class=7,t.Interface=8,t.Module=9,t.Property=10,t.Unit=11,t.Value=12,t.Enum=13,t.Keyword=14,t.Snippet=15,t.Color=16,t.File=17,t.Reference=18,t.Folder=19,t.EnumMember=20,t.Constant=21,t.Struct=22,t.Event=23,t.Operator=24,t.TypeParameter=25})(le||(le={}));var ge;(function(t){t.PlainText=1,t.Snippet=2})(ge||(ge={}));var Br;(function(t){t.Deprecated=1})(Br||(Br={}));var Or;(function(t){function e(i,r,s){return{newText:i,insert:r,replace:s}}t.create=e;function n(i){let r=i;return r&&E.string(r.newText)&&G.is(r.insert)&&G.is(r.replace)}t.is=n})(Or||(Or={}));var qr;(function(t){t.asIs=1,t.adjustIndentation=2})(qr||(qr={}));var sl;(function(t){function e(n){let i=n;return i&&(E.string(i.detail)||i.detail===void 0)&&(E.string(i.description)||i.description===void 0)}t.is=e})(sl||(sl={}));var Vr;(function(t){function e(n){return{label:n}}t.create=e})(Vr||(Vr={}));var jr;(function(t){function e(n,i){return{items:n||[],isIncomplete:!!i}}t.create=e})(jr||(jr={}));var rn;(function(t){function e(i){return i.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}t.fromPlainText=e;function n(i){let r=i;return E.string(r)||E.objectLiteral(r)&&E.string(r.language)&&E.string(r.value)}t.is=n})(rn||(rn={}));var Gr;(function(t){function e(n){let i=n;return!!i&&E.objectLiteral(i)&&(Et.is(i.contents)||rn.is(i.contents)||E.typedArray(i.contents,rn.is))&&(n.range===void 0||G.is(n.range))}t.is=e})(Gr||(Gr={}));var al;(function(t){function e(n,i){return i?{label:n,documentation:i}:{label:n}}t.create=e})(al||(al={}));var ol;(function(t){function e(n,i,...r){let s={label:n};return E.defined(i)&&(s.documentation=i),E.defined(r)?s.parameters=r:s.parameters=[],s}t.create=e})(ol||(ol={}));var Rt;(function(t){t.Text=1,t.Read=2,t.Write=3})(Rt||(Rt={}));var $r;(function(t){function e(n,i){let r={range:n};return E.number(i)&&(r.kind=i),r}t.create=e})($r||($r={}));var sn;(function(t){t.File=1,t.Module=2,t.Namespace=3,t.Package=4,t.Class=5,t.Method=6,t.Property=7,t.Field=8,t.Constructor=9,t.Enum=10,t.Interface=11,t.Function=12,t.Variable=13,t.Constant=14,t.String=15,t.Number=16,t.Boolean=17,t.Array=18,t.Object=19,t.Key=20,t.Null=21,t.EnumMember=22,t.Struct=23,t.Event=24,t.Operator=25,t.TypeParameter=26})(sn||(sn={}));var ll;(function(t){t.Deprecated=1})(ll||(ll={}));var an;(function(t){function e(n,i,r,s,a){let l={name:n,kind:i,location:{uri:s,range:r}};return a&&(l.containerName=a),l}t.create=e})(an||(an={}));var ul;(function(t){function e(n,i,r,s){return s!==void 0?{name:n,kind:i,location:{uri:r,range:s}}:{name:n,kind:i,location:{uri:r}}}t.create=e})(ul||(ul={}));var on;(function(t){function e(i,r,s,a,l,o){let u={name:i,detail:r,kind:s,range:a,selectionRange:l};return o!==void 0&&(u.children=o),u}t.create=e;function n(i){let r=i;return r&&E.string(r.name)&&E.number(r.kind)&&G.is(r.range)&&G.is(r.selectionRange)&&(r.detail===void 0||E.string(r.detail))&&(r.deprecated===void 0||E.boolean(r.deprecated))&&(r.children===void 0||Array.isArray(r.children))&&(r.tags===void 0||Array.isArray(r.tags))}t.is=n})(on||(on={}));var cl;(function(t){t.Empty="",t.QuickFix="quickfix",t.Refactor="refactor",t.RefactorExtract="refactor.extract",t.RefactorInline="refactor.inline",t.RefactorRewrite="refactor.rewrite",t.Source="source",t.SourceOrganizeImports="source.organizeImports",t.SourceFixAll="source.fixAll"})(cl||(cl={}));var li;(function(t){t.Invoked=1,t.Automatic=2})(li||(li={}));var hl;(function(t){function e(i,r,s){let a={diagnostics:i};return r!=null&&(a.only=r),s!=null&&(a.triggerKind=s),a}t.create=e;function n(i){let r=i;return E.defined(r)&&E.typedArray(r.diagnostics,nn.is)&&(r.only===void 0||E.typedArray(r.only,E.string))&&(r.triggerKind===void 0||r.triggerKind===li.Invoked||r.triggerKind===li.Automatic)}t.is=n})(hl||(hl={}));var dl;(function(t){function e(i,r,s){let a={title:i},l=!0;return typeof r=="string"?(l=!1,a.kind=r):ct.is(r)?a.command=r:a.edit=r,l&&s!==void 0&&(a.kind=s),a}t.create=e;function n(i){let r=i;return r&&E.string(r.title)&&(r.diagnostics===void 0||E.typedArray(r.diagnostics,nn.is))&&(r.kind===void 0||E.string(r.kind))&&(r.edit!==void 0||r.command!==void 0)&&(r.command===void 0||ct.is(r.command))&&(r.isPreferred===void 0||E.boolean(r.isPreferred))&&(r.edit===void 0||oi.is(r.edit))}t.is=n})(dl||(dl={}));var ml;(function(t){function e(i,r){let s={range:i};return E.defined(r)&&(s.data=r),s}t.create=e;function n(i){let r=i;return E.defined(r)&&G.is(r.range)&&(E.undefined(r.command)||ct.is(r.command))}t.is=n})(ml||(ml={}));var Xr;(function(t){function e(i,r){return{tabSize:i,insertSpaces:r}}t.create=e;function n(i){let r=i;return E.defined(r)&&E.uinteger(r.tabSize)&&E.boolean(r.insertSpaces)}t.is=n})(Xr||(Xr={}));var Qr;(function(t){function e(i,r,s){return{range:i,target:r,data:s}}t.create=e;function n(i){let r=i;return E.defined(r)&&G.is(r.range)&&(E.undefined(r.target)||E.string(r.target))}t.is=n})(Qr||(Qr={}));var Dt;(function(t){function e(i,r){return{range:i,parent:r}}t.create=e;function n(i){let r=i;return E.objectLiteral(r)&&G.is(r.range)&&(r.parent===void 0||t.is(r.parent))}t.is=n})(Dt||(Dt={}));var fl;(function(t){t.namespace="namespace",t.type="type",t.class="class",t.enum="enum",t.interface="interface",t.struct="struct",t.typeParameter="typeParameter",t.parameter="parameter",t.variable="variable",t.property="property",t.enumMember="enumMember",t.event="event",t.function="function",t.method="method",t.macro="macro",t.keyword="keyword",t.modifier="modifier",t.comment="comment",t.string="string",t.number="number",t.regexp="regexp",t.operator="operator",t.decorator="decorator"})(fl||(fl={}));var pl;(function(t){t.declaration="declaration",t.definition="definition",t.readonly="readonly",t.static="static",t.deprecated="deprecated",t.abstract="abstract",t.async="async",t.modification="modification",t.documentation="documentation",t.defaultLibrary="defaultLibrary"})(pl||(pl={}));var gl;(function(t){function e(n){let i=n;return E.objectLiteral(i)&&(i.resultId===void 0||typeof i.resultId=="string")&&Array.isArray(i.data)&&(i.data.length===0||typeof i.data[0]=="number")}t.is=e})(gl||(gl={}));var bl;(function(t){function e(i,r){return{range:i,text:r}}t.create=e;function n(i){let r=i;return r!=null&&G.is(r.range)&&E.string(r.text)}t.is=n})(bl||(bl={}));var wl;(function(t){function e(i,r,s){return{range:i,variableName:r,caseSensitiveLookup:s}}t.create=e;function n(i){let r=i;return r!=null&&G.is(r.range)&&E.boolean(r.caseSensitiveLookup)&&(E.string(r.variableName)||r.variableName===void 0)}t.is=n})(wl||(wl={}));var _l;(function(t){function e(i,r){return{range:i,expression:r}}t.create=e;function n(i){let r=i;return r!=null&&G.is(r.range)&&(E.string(r.expression)||r.expression===void 0)}t.is=n})(_l||(_l={}));var vl;(function(t){function e(i,r){return{frameId:i,stoppedLocation:r}}t.create=e;function n(i){let r=i;return E.defined(r)&&G.is(i.stoppedLocation)}t.is=n})(vl||(vl={}));var Jr;(function(t){t.Type=1,t.Parameter=2;function e(n){return n===1||n===2}t.is=e})(Jr||(Jr={}));var Yr;(function(t){function e(i){return{value:i}}t.create=e;function n(i){let r=i;return E.objectLiteral(r)&&(r.tooltip===void 0||E.string(r.tooltip)||Et.is(r.tooltip))&&(r.location===void 0||tn.is(r.location))&&(r.command===void 0||ct.is(r.command))}t.is=n})(Yr||(Yr={}));var yl;(function(t){function e(i,r,s){let a={position:i,label:r};return s!==void 0&&(a.kind=s),a}t.create=e;function n(i){let r=i;return E.objectLiteral(r)&&ne.is(r.position)&&(E.string(r.label)||E.typedArray(r.label,Yr.is))&&(r.kind===void 0||Jr.is(r.kind))&&r.textEdits===void 0||E.typedArray(r.textEdits,se.is)&&(r.tooltip===void 0||E.string(r.tooltip)||Et.is(r.tooltip))&&(r.paddingLeft===void 0||E.boolean(r.paddingLeft))&&(r.paddingRight===void 0||E.boolean(r.paddingRight))}t.is=n})(yl||(yl={}));var xl;(function(t){function e(n){return{kind:"snippet",value:n}}t.createSnippet=e})(xl||(xl={}));var Tl;(function(t){function e(n,i,r,s){return{insertText:n,filterText:i,range:r,command:s}}t.create=e})(Tl||(Tl={}));var Sl;(function(t){function e(n){return{items:n}}t.create=e})(Sl||(Sl={}));var kl;(function(t){t.Invoked=0,t.Automatic=1})(kl||(kl={}));var Ll;(function(t){function e(n,i){return{range:n,text:i}}t.create=e})(Ll||(Ll={}));var Al;(function(t){function e(n,i){return{triggerKind:n,selectedCompletionInfo:i}}t.create=e})(Al||(Al={}));var Cl;(function(t){function e(n){let i=n;return E.objectLiteral(i)&&Rr.is(i.uri)&&E.string(i.name)}t.is=e})(Cl||(Cl={}));var El;(function(t){function e(s,a,l,o){return new Zr(s,a,l,o)}t.create=e;function n(s){let a=s;return!!(E.defined(a)&&E.string(a.uri)&&(E.undefined(a.languageId)||E.string(a.languageId))&&E.uinteger(a.lineCount)&&E.func(a.getText)&&E.func(a.positionAt)&&E.func(a.offsetAt))}t.is=n;function i(s,a){let l=s.getText(),o=r(a,(c,d)=>{let m=c.range.start.line-d.range.start.line;return m===0?c.range.start.character-d.range.start.character:m}),u=l.length;for(let c=o.length-1;c>=0;c--){let d=o[c],m=s.offsetAt(d.range.start),f=s.offsetAt(d.range.end);if(f<=u)l=l.substring(0,m)+d.newText+l.substring(f,l.length);else throw new Error("Overlapping edit");u=m}return l}t.applyEdits=i;function r(s,a){if(s.length<=1)return s;let l=s.length/2|0,o=s.slice(0,l),u=s.slice(l);r(o,a),r(u,a);let c=0,d=0,m=0;for(;c<o.length&&d<u.length;)a(o[c],u[d])<=0?s[m++]=o[c++]:s[m++]=u[d++];for(;c<o.length;)s[m++]=o[c++];for(;d<u.length;)s[m++]=u[d++];return s}})(El||(El={}));var Zr=class{constructor(e,n,i,r){this._uri=e,this._languageId=n,this._version=i,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let n=this.offsetAt(e.start),i=this.offsetAt(e.end);return this._content.substring(n,i)}return this._content}update(e,n){this._content=e.text,this._version=n,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let e=[],n=this._content,i=!0;for(let r=0;r<n.length;r++){i&&(e.push(r),i=!1);let s=n.charAt(r);i=s==="\r"||s===`
|
|
22
|
+
`),r=Jt(n,i),s=Ae.ofText(n.substring(0,n.length-r)).addToPosition(this.range.getStartPosition()),a=i.substring(0,i.length-r),l=O.fromPositions(this.range.getStartPosition(),s);return new t(l,a)}toString(){let e=this.range.getStartPosition(),n=this.range.getEndPosition();return`(${e.lineNumber},${e.column} -> ${n.lineNumber},${n.column}): "${this.text}"`}};function oi(t,e){if(t.lineNumber===e.lineNumber&&t.column===Number.MAX_SAFE_INTEGER)return O.fromPositions(e,e);if(!t.isBeforeOrEqual(e))throw new K("start must be before end");return new O(t.lineNumber,t.column,e.lineNumber,e.column)}var Te=class t{static inverse(e,n,i){let r=[],s=1,a=1;for(let o of e){let u=new t(new J(s,o.original.startLineNumber),new J(a,o.modified.startLineNumber));u.modified.isEmpty||r.push(u),s=o.original.endLineNumberExclusive,a=o.modified.endLineNumberExclusive}let l=new t(new J(s,n+1),new J(a,i+1));return l.modified.isEmpty||r.push(l),r}static clip(e,n,i){let r=[];for(let s of e){let a=s.original.intersect(n),l=s.modified.intersect(i);a&&!a.isEmpty&&l&&!l.isEmpty&&r.push(new t(a,l))}return r}constructor(e,n){this.original=e,this.modified=n}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new t(this.modified,this.original)}join(e){return new t(this.original.join(e.original),this.modified.join(e.modified))}toRangeMapping(){let e=this.original.toInclusiveRange(),n=this.modified.toInclusiveRange();if(e&&n)return new fe(e,n);if(this.original.startLineNumber===1||this.modified.startLineNumber===1){if(!(this.modified.startLineNumber===1&&this.original.startLineNumber===1))throw new K("not a valid diff");return new fe(new O(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new O(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1))}else return new fe(new O(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),new O(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER))}toRangeMapping2(e,n){if(ll(this.original.endLineNumberExclusive,e)&&ll(this.modified.endLineNumberExclusive,n))return new fe(new O(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new O(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1));if(!this.original.isEmpty&&!this.modified.isEmpty)return new fe(O.fromPositions(new G(this.original.startLineNumber,1),Ct(new G(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),e)),O.fromPositions(new G(this.modified.startLineNumber,1),Ct(new G(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),n)));if(this.original.startLineNumber>1&&this.modified.startLineNumber>1)return new fe(O.fromPositions(Ct(new G(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER),e),Ct(new G(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),e)),O.fromPositions(Ct(new G(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER),n),Ct(new G(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),n)));throw new K}};function Ct(t,e){if(t.lineNumber<1)return new G(1,1);if(t.lineNumber>e.length)return new G(e.length,e[e.length-1].length+1);let n=e[t.lineNumber-1];return t.column>n.length+1?new G(t.lineNumber,n.length+1):t}function ll(t,e){return t>=1&&t<=e.length}var Ve=class t extends Te{static fromRangeMappings(e){let n=J.join(e.map(r=>J.fromRangeInclusive(r.originalRange))),i=J.join(e.map(r=>J.fromRangeInclusive(r.modifiedRange)));return new t(n,i,e)}constructor(e,n,i){super(e,n),this.innerChanges=i}flip(){return new t(this.modified,this.original,this.innerChanges?.map(e=>e.flip()))}withInnerChangesFromLineRanges(){return new t(this.original,this.modified,[this.toRangeMapping()])}},fe=class t{static fromEdit(e){let n=e.getNewRanges();return e.replacements.map((r,s)=>new t(r.range,n[s]))}static assertSorted(e){for(let n=1;n<e.length;n++){let i=e[n-1],r=e[n];if(!(i.originalRange.getEndPosition().isBeforeOrEqual(r.originalRange.getStartPosition())&&i.modifiedRange.getEndPosition().isBeforeOrEqual(r.modifiedRange.getStartPosition())))throw new K("Range mappings must be sorted")}}constructor(e,n){this.originalRange=e,this.modifiedRange=n}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new t(this.modifiedRange,this.originalRange)}toTextEdit(e){let n=e.getValueOfRange(this.modifiedRange);return new Ye(this.originalRange,n)}};function sn(t,e,n,i=!1){let r=[];for(let s of tl(t.map(a=>Vc(a,e,n)),(a,l)=>a.original.intersectsOrTouches(l.original)||a.modified.intersectsOrTouches(l.modified))){let a=s[0],l=s[s.length-1];r.push(new Ve(a.original.join(l.original),a.modified.join(l.modified),s.map(o=>o.innerChanges[0])))}return Pe(()=>!i&&r.length>0&&(r[0].modified.startLineNumber!==r[0].original.startLineNumber||n.length.lineCount-r[r.length-1].modified.endLineNumberExclusive!==e.length.lineCount-r[r.length-1].original.endLineNumberExclusive)?!1:wt(r,(s,a)=>a.original.startLineNumber-s.original.endLineNumberExclusive===a.modified.startLineNumber-s.modified.endLineNumberExclusive&&s.original.endLineNumberExclusive<a.original.startLineNumber&&s.modified.endLineNumberExclusive<a.modified.startLineNumber)),r}function Vc(t,e,n){let i=0,r=0;t.modifiedRange.endColumn===1&&t.originalRange.endColumn===1&&t.originalRange.startLineNumber+i<=t.originalRange.endLineNumber&&t.modifiedRange.startLineNumber+i<=t.modifiedRange.endLineNumber&&(r=-1),t.modifiedRange.startColumn-1>=n.getLineLength(t.modifiedRange.startLineNumber)&&t.originalRange.startColumn-1>=e.getLineLength(t.originalRange.startLineNumber)&&t.originalRange.startLineNumber<=t.originalRange.endLineNumber+r&&t.modifiedRange.startLineNumber<=t.modifiedRange.endLineNumber+r&&(i=1);let s=new J(t.originalRange.startLineNumber+i,t.originalRange.endLineNumber+1+r),a=new J(t.modifiedRange.startLineNumber+i,t.modifiedRange.endLineNumber+1+r);return new Ve(s,a,[t])}var jc=3,ui=class{computeDiff(e,n,i){let s=new Ir(e,n,{maxComputationTime:i.maxComputationTimeMs,shouldIgnoreTrimWhitespace:i.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),a=[],l=null;for(let o of s.changes){let u;o.originalEndLineNumber===0?u=new J(o.originalStartLineNumber+1,o.originalStartLineNumber+1):u=new J(o.originalStartLineNumber,o.originalEndLineNumber+1);let h;o.modifiedEndLineNumber===0?h=new J(o.modifiedStartLineNumber+1,o.modifiedStartLineNumber+1):h=new J(o.modifiedStartLineNumber,o.modifiedEndLineNumber+1);let d=new Ve(u,h,o.charChanges?.map(m=>new fe(new O(m.originalStartLineNumber,m.originalStartColumn,m.originalEndLineNumber,m.originalEndColumn),new O(m.modifiedStartLineNumber,m.modifiedStartColumn,m.modifiedEndLineNumber,m.modifiedEndColumn))));l&&(l.modified.endLineNumberExclusive===d.modified.startLineNumber||l.original.endLineNumberExclusive===d.original.startLineNumber)&&(d=new Ve(l.original.join(d.original),l.modified.join(d.modified),l.innerChanges&&d.innerChanges?l.innerChanges.concat(d.innerChanges):void 0),a.pop()),a.push(d),l=d}return Pe(()=>wt(a,(o,u)=>u.original.startLineNumber-o.original.endLineNumberExclusive===u.modified.startLineNumber-o.modified.endLineNumberExclusive&&o.original.endLineNumberExclusive<u.original.startLineNumber&&o.modified.endLineNumberExclusive<u.modified.startLineNumber)),new Re(a,[],s.quitEarly)}};function cl(t,e,n,i){return new Yt(t,e,n).ComputeDiff(i)}var ci=class{constructor(e){let n=[],i=[];for(let r=0,s=e.length;r<s;r++)n[r]=Pr(e[r],1),i[r]=zr(e[r],1);this.lines=e,this._startColumns=n,this._endColumns=i}getElements(){let e=[];for(let n=0,i=this.lines.length;n<i;n++)e[n]=this.lines[n].substring(this._startColumns[n]-1,this._endColumns[n]-1);return e}getStrictElement(e){return this.lines[e]}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,n,i){let r=[],s=[],a=[],l=0;for(let o=n;o<=i;o++){let u=this.lines[o],h=e?this._startColumns[o]:1,d=e?this._endColumns[o]:u.length+1;for(let m=h;m<d;m++)r[l]=u.charCodeAt(m-1),s[l]=o+1,a[l]=m,l++;!e&&o<i&&(r[l]=10,s[l]=o+1,a[l]=u.length+1,l++)}return new Nr(r,s,a)}},Nr=class{constructor(e,n,i){this._charCodes=e,this._lineNumbers=n,this._columns=i}toString(){return"["+this._charCodes.map((e,n)=>(e===10?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[n]},${this._columns[n]})`).join(", ")+"]"}_assertIndex(e,n){if(e<0||e>=n.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return e===-1?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),this._charCodes[e]===10?this._lineNumbers[e]+1:this._lineNumbers[e])}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return e===-1?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),this._charCodes[e]===10?1:this._columns[e]+1)}},Et=class t{constructor(e,n,i,r,s,a,l,o){this.originalStartLineNumber=e,this.originalStartColumn=n,this.originalEndLineNumber=i,this.originalEndColumn=r,this.modifiedStartLineNumber=s,this.modifiedStartColumn=a,this.modifiedEndLineNumber=l,this.modifiedEndColumn=o}static createFromDiffChange(e,n,i){let r=n.getStartLineNumber(e.originalStart),s=n.getStartColumn(e.originalStart),a=n.getEndLineNumber(e.originalStart+e.originalLength-1),l=n.getEndColumn(e.originalStart+e.originalLength-1),o=i.getStartLineNumber(e.modifiedStart),u=i.getStartColumn(e.modifiedStart),h=i.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),d=i.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new t(r,s,a,l,o,u,h,d)}};function $c(t){if(t.length<=1)return t;let e=[t[0]],n=e[0];for(let i=1,r=t.length;i<r;i++){let s=t[i],a=s.originalStart-(n.originalStart+n.originalLength),l=s.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(a,l)<jc?(n.originalLength=s.originalStart+s.originalLength-n.originalStart,n.modifiedLength=s.modifiedStart+s.modifiedLength-n.modifiedStart):(e.push(s),n=s)}return e}var an=class t{constructor(e,n,i,r,s){this.originalStartLineNumber=e,this.originalEndLineNumber=n,this.modifiedStartLineNumber=i,this.modifiedEndLineNumber=r,this.charChanges=s}static createFromDiffResult(e,n,i,r,s,a,l){let o,u,h,d,m;if(n.originalLength===0?(o=i.getStartLineNumber(n.originalStart)-1,u=0):(o=i.getStartLineNumber(n.originalStart),u=i.getEndLineNumber(n.originalStart+n.originalLength-1)),n.modifiedLength===0?(h=r.getStartLineNumber(n.modifiedStart)-1,d=0):(h=r.getStartLineNumber(n.modifiedStart),d=r.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),a&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&s()){let f=i.createCharSequence(e,n.originalStart,n.originalStart+n.originalLength-1),w=r.createCharSequence(e,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);if(f.getElements().length>0&&w.getElements().length>0){let p=cl(f,w,s,!0).changes;l&&(p=$c(p)),m=[];for(let x=0,y=p.length;x<y;x++)m.push(Et.createFromDiffChange(p[x],f,w))}}return new t(o,u,h,d,m)}},Ir=class{constructor(e,n,i){this.shouldComputeCharChanges=i.shouldComputeCharChanges,this.shouldPostProcessCharChanges=i.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=i.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=i.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=n,this.original=new ci(e),this.modified=new ci(n),this.continueLineDiff=ul(i.maxComputationTime),this.continueCharDiff=ul(i.maxComputationTime===0?0:Math.min(i.maxComputationTime,5e3))}computeDiff(){if(this.original.lines.length===1&&this.original.lines[0].length===0)return this.modified.lines.length===1&&this.modified.lines[0].length===0?{quitEarly:!1,changes:[]}:{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:void 0}]};if(this.modified.lines.length===1&&this.modified.lines[0].length===0)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:void 0}]};let e=cl(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),n=e.changes,i=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){let l=[];for(let o=0,u=n.length;o<u;o++)l.push(an.createFromDiffResult(this.shouldIgnoreTrimWhitespace,n[o],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:i,changes:l}}let r=[],s=0,a=0;for(let l=-1,o=n.length;l<o;l++){let u=l+1<o?n[l+1]:null,h=u?u.originalStart:this.originalLines.length,d=u?u.modifiedStart:this.modifiedLines.length;for(;s<h&&a<d;){let m=this.originalLines[s],f=this.modifiedLines[a];if(m!==f){{let w=Pr(m,1),p=Pr(f,1);for(;w>1&&p>1;){let x=m.charCodeAt(w-2),y=f.charCodeAt(p-2);if(x!==y)break;w--,p--}(w>1||p>1)&&this._pushTrimWhitespaceCharChange(r,s+1,1,w,a+1,1,p)}{let w=zr(m,1),p=zr(f,1),x=m.length+1,y=f.length+1;for(;w<x&&p<y;){let v=m.charCodeAt(w-1),S=m.charCodeAt(p-1);if(v!==S)break;w++,p++}(w<x||p<y)&&this._pushTrimWhitespaceCharChange(r,s+1,w,x,a+1,p,y)}}s++,a++}u&&(r.push(an.createFromDiffResult(this.shouldIgnoreTrimWhitespace,u,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),s+=u.originalLength,a+=u.modifiedLength)}return{quitEarly:i,changes:r}}_pushTrimWhitespaceCharChange(e,n,i,r,s,a,l){if(this._mergeTrimWhitespaceCharChange(e,n,i,r,s,a,l))return;let o;this.shouldComputeCharChanges&&(o=[new Et(n,i,n,r,s,a,s,l)]),e.push(new an(n,n,s,s,o))}_mergeTrimWhitespaceCharChange(e,n,i,r,s,a,l){let o=e.length;if(o===0)return!1;let u=e[o-1];return u.originalEndLineNumber===0||u.modifiedEndLineNumber===0?!1:u.originalEndLineNumber===n&&u.modifiedEndLineNumber===s?(this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new Et(n,i,n,r,s,a,s,l)),!0):u.originalEndLineNumber+1===n&&u.modifiedEndLineNumber+1===s?(u.originalEndLineNumber=n,u.modifiedEndLineNumber=s,this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new Et(n,i,n,r,s,a,s,l)),!0):!1}};function Pr(t,e){let n=oa(t);return n===-1?e:n+1}function zr(t,e){let n=la(t);return n===-1?e:n+2}function ul(t){if(t===0)return()=>!0;let e=Date.now();return()=>Date.now()-e<t}var Me=class t{static trivial(e,n){return new t([new se(j.ofLength(e.length),j.ofLength(n.length))],!1)}static trivialTimedOut(e,n){return new t([new se(j.ofLength(e.length),j.ofLength(n.length))],!0)}constructor(e,n){this.diffs=e,this.hitTimeout=n}},se=class t{static invert(e,n){let i=[];return nl(e,(r,s)=>{i.push(t.fromOffsetPairs(r?r.getEndExclusives():De.zero,s?s.getStarts():new De(n,(r?r.seq2Range.endExclusive-r.seq1Range.endExclusive:0)+n)))}),i}static fromOffsetPairs(e,n){return new t(new j(e.offset1,n.offset1),new j(e.offset2,n.offset2))}static assertSorted(e){let n;for(let i of e){if(n&&!(n.seq1Range.endExclusive<=i.seq1Range.start&&n.seq2Range.endExclusive<=i.seq2Range.start))throw new K("Sequence diffs must be sorted");n=i}}constructor(e,n){this.seq1Range=e,this.seq2Range=n}swap(){return new t(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new t(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return e===0?this:new t(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return e===0?this:new t(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return e===0?this:new t(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){let n=this.seq1Range.intersect(e.seq1Range),i=this.seq2Range.intersect(e.seq2Range);if(!(!n||!i))return new t(n,i)}getStarts(){return new De(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new De(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}},De=class t{static{this.zero=new t(0,0)}static{this.max=new t(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER)}constructor(e,n){this.offset1=e,this.offset2=n}toString(){return`${this.offset1} <-> ${this.offset2}`}delta(e){return e===0?this:new t(this.offset1+e,this.offset2+e)}equals(e){return this.offset1===e.offset1&&this.offset2===e.offset2}},Ze=class t{static{this.instance=new t}isValid(){return!0}},hi=class{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new K("timeout must be positive")}isValid(){return!(Date.now()-this.startTime<this.timeout)&&this.valid&&(this.valid=!1),this.valid}};var Rt=class{constructor(e,n){this.width=e,this.height=n,this.array=[],this.array=new Array(e*n)}get(e,n){return this.array[e+n*this.width]}set(e,n,i){this.array[e+n*this.width]=i}};function ln(t){return t===32||t===9}var on=class t{static{this.chrKeys=new Map}static getKey(e){let n=this.chrKeys.get(e);return n===void 0&&(n=this.chrKeys.size,this.chrKeys.set(e,n)),n}constructor(e,n,i){this.range=e,this.lines=n,this.source=i,this.histogram=[];let r=0;for(let s=e.startLineNumber-1;s<e.endLineNumberExclusive-1;s++){let a=n[s];for(let o=0;o<a.length;o++){r++;let u=a[o],h=t.getKey(u);this.histogram[h]=(this.histogram[h]||0)+1}r++;let l=t.getKey(`
|
|
23
|
+
`);this.histogram[l]=(this.histogram[l]||0)+1}this.totalCount=r}computeSimilarity(e){let n=0,i=Math.max(this.histogram.length,e.histogram.length);for(let r=0;r<i;r++)n+=Math.abs((this.histogram[r]??0)-(e.histogram[r]??0));return 1-n/(this.totalCount+e.totalCount)}};var di=class{compute(e,n,i=Ze.instance,r){if(e.length===0||n.length===0)return Me.trivial(e,n);let s=new Rt(e.length,n.length),a=new Rt(e.length,n.length),l=new Rt(e.length,n.length);for(let w=0;w<e.length;w++)for(let p=0;p<n.length;p++){if(!i.isValid())return Me.trivialTimedOut(e,n);let x=w===0?0:s.get(w-1,p),y=p===0?0:s.get(w,p-1),v;e.getElement(w)===n.getElement(p)?(w===0||p===0?v=0:v=s.get(w-1,p-1),w>0&&p>0&&a.get(w-1,p-1)===3&&(v+=l.get(w-1,p-1)),v+=r?r(w,p):1):v=-1;let S=Math.max(x,y,v);if(S===v){let P=w>0&&p>0?l.get(w-1,p-1):0;l.set(w,p,P+1),a.set(w,p,3)}else S===x?(l.set(w,p,0),a.set(w,p,1)):S===y&&(l.set(w,p,0),a.set(w,p,2));s.set(w,p,S)}let o=[],u=e.length,h=n.length;function d(w,p){(w+1!==u||p+1!==h)&&o.push(new se(new j(w+1,u),new j(p+1,h))),u=w,h=p}let m=e.length-1,f=n.length-1;for(;m>=0&&f>=0;)a.get(m,f)===3?(d(m,f),m--,f--):a.get(m,f)===1?m--:f--;return d(-1,-1),o.reverse(),new Me(o,!1)}};var Dt=class{compute(e,n,i=Ze.instance){if(e.length===0||n.length===0)return Me.trivial(e,n);let r=e,s=n;function a(p,x){for(;p<r.length&&x<s.length&&r.getElement(p)===s.getElement(x);)p++,x++;return p}let l=0,o=new Fr;o.set(0,a(0,0));let u=new Ur;u.set(0,o.get(0)===0?null:new mi(null,0,0,o.get(0)));let h=0;e:for(;;){if(l++,!i.isValid())return Me.trivialTimedOut(r,s);let p=-Math.min(l,s.length+l%2),x=Math.min(l,r.length+l%2);for(h=p;h<=x;h+=2){let y=h===x?-1:o.get(h+1),v=h===p?-1:o.get(h-1)+1,S=Math.min(Math.max(y,v),r.length),P=S-h;if(S>r.length||P>s.length)continue;let z=a(S,P);o.set(h,z);let H=S===y?u.get(h+1):u.get(h-1);if(u.set(h,z!==S?new mi(H,S,P,z-S):H),o.get(h)===r.length&&o.get(h)-h===s.length)break e}}let d=u.get(h),m=[],f=r.length,w=s.length;for(;;){let p=d?d.x+d.length:0,x=d?d.y+d.length:0;if((p!==f||x!==w)&&m.push(new se(new j(p,f),new j(x,w))),!d)break;f=d.x,w=d.y,d=d.prev}return m.reverse(),new Me(m,!1)}},mi=class{constructor(e,n,i,r){this.prev=e,this.x=n,this.y=i,this.length=r}},Fr=class{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,n){if(e<0){if(e=-e-1,e>=this.negativeArr.length){let i=this.negativeArr;this.negativeArr=new Int32Array(i.length*2),this.negativeArr.set(i)}this.negativeArr[e]=n}else{if(e>=this.positiveArr.length){let i=this.positiveArr;this.positiveArr=new Int32Array(i.length*2),this.positiveArr.set(i)}this.positiveArr[e]=n}}},Ur=class{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,n){e<0?(e=-e-1,this.negativeArr[e]=n):this.positiveArr[e]=n}};var Ke=class{constructor(e,n,i){this.lines=e,this.range=n,this.considerWhitespaceChanges=i,this.elements=[],this.firstElementOffsetByLineIdx=[],this.lineStartOffsets=[],this.trimmedWsLengthsByLineIdx=[],this.firstElementOffsetByLineIdx.push(0);for(let r=this.range.startLineNumber;r<=this.range.endLineNumber;r++){let s=e[r-1],a=0;r===this.range.startLineNumber&&this.range.startColumn>1&&(a=this.range.startColumn-1,s=s.substring(a)),this.lineStartOffsets.push(a);let l=0;if(!i){let u=s.trimStart();l=s.length-u.length,s=u.trimEnd()}this.trimmedWsLengthsByLineIdx.push(l);let o=r===this.range.endLineNumber?Math.min(this.range.endColumn-1-a-l,s.length):s.length;for(let u=0;u<o;u++)this.elements.push(s.charCodeAt(u));r<this.range.endLineNumber&&(this.elements.push(10),this.firstElementOffsetByLineIdx.push(this.elements.length))}}toString(){return`Slice: "${this.text}"`}get text(){return this.getText(new j(0,this.length))}getText(e){return this.elements.slice(e.start,e.endExclusive).map(n=>String.fromCharCode(n)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){let n=ml(e>0?this.elements[e-1]:-1),i=ml(e<this.elements.length?this.elements[e]:-1);if(n===7&&i===8)return 0;if(n===8)return 150;let r=0;return n!==i&&(r+=10,n===0&&i===1&&(r+=1)),r+=dl(n),r+=dl(i),r}translateOffset(e,n="right"){let i=qe(this.firstElementOffsetByLineIdx,s=>s<=e),r=e-this.firstElementOffsetByLineIdx[i];return new G(this.range.startLineNumber+i,1+this.lineStartOffsets[i]+r+(r===0&&n==="left"?0:this.trimmedWsLengthsByLineIdx[i]))}translateRange(e){let n=this.translateOffset(e.start,"right"),i=this.translateOffset(e.endExclusive,"left");return i.isBefore(n)?O.fromPositions(i,i):O.fromPositions(n,i)}findWordContaining(e){if(e<0||e>=this.elements.length||!Mt(this.elements[e]))return;let n=e;for(;n>0&&Mt(this.elements[n-1]);)n--;let i=e;for(;i<this.elements.length&&Mt(this.elements[i]);)i++;return new j(n,i)}findSubWordContaining(e){if(e<0||e>=this.elements.length||!Mt(this.elements[e]))return;let n=e;for(;n>0&&Mt(this.elements[n-1])&&!hl(this.elements[n]);)n--;let i=e;for(;i<this.elements.length&&Mt(this.elements[i])&&!hl(this.elements[i]);)i++;return new j(n,i)}countLinesIn(e){return this.translateOffset(e.endExclusive).lineNumber-this.translateOffset(e.start).lineNumber}isStronglyEqual(e,n){return this.elements[e]===this.elements[n]}extendToFullLines(e){let n=Oe(this.firstElementOffsetByLineIdx,r=>r<=e.start)??0,i=al(this.firstElementOffsetByLineIdx,r=>e.endExclusive<=r)??this.elements.length;return new j(n,i)}};function Mt(t){return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57}function hl(t){return t>=65&&t<=90}var Gc={0:0,1:0,2:0,3:10,4:2,5:30,6:3,7:10,8:10};function dl(t){return Gc[t]}function ml(t){return t===10?8:t===13?7:ln(t)?6:t>=97&&t<=122?0:t>=65&&t<=90?1:t>=48&&t<=57?2:t===-1?3:t===44||t===59?5:4}function pl(t,e,n,i,r,s){let{moves:a,excludedChanges:l}=Jc(t,e,n,s);if(!s.isValid())return[];let o=t.filter(h=>!l.has(h)),u=Qc(o,i,r,e,n,s);return rl(a,u),a=Yc(a),a=a.filter(h=>{let d=h.original.toOffsetRange().slice(e).map(f=>f.trim());return d.join(`
|
|
24
|
+
`).length>=15&&Xc(d,f=>f.length>=2)>=2}),a=Zc(t,a),a}function Xc(t,e){let n=0;for(let i of t)e(i)&&n++;return n}function Jc(t,e,n,i){let r=[],s=t.filter(o=>o.modified.isEmpty&&o.original.length>=3).map(o=>new on(o.original,e,o)),a=new Set(t.filter(o=>o.original.isEmpty&&o.modified.length>=3).map(o=>new on(o.modified,n,o))),l=new Set;for(let o of s){let u=-1,h;for(let d of a){let m=o.computeSimilarity(d);m>u&&(u=m,h=d)}if(u>.9&&h&&(a.delete(h),r.push(new Te(o.range,h.range)),l.add(o.source),l.add(h.source)),!i.isValid())return{moves:r,excludedChanges:l}}return{moves:r,excludedChanges:l}}function Qc(t,e,n,i,r,s){let a=[],l=new ei;for(let m of t)for(let f=m.original.startLineNumber;f<m.original.endLineNumberExclusive-2;f++){let w=`${e[f-1]}:${e[f+1-1]}:${e[f+2-1]}`;l.add(w,{range:new J(f,f+3)})}let o=[];t.sort(Be(m=>m.modified.startLineNumber,ut));for(let m of t){let f=[];for(let w=m.modified.startLineNumber;w<m.modified.endLineNumberExclusive-2;w++){let p=`${n[w-1]}:${n[w+1-1]}:${n[w+2-1]}`,x=new J(w,w+3),y=[];l.forEach(p,({range:v})=>{for(let P of f)if(P.originalLineRange.endLineNumberExclusive+1===v.endLineNumberExclusive&&P.modifiedLineRange.endLineNumberExclusive+1===x.endLineNumberExclusive){P.originalLineRange=new J(P.originalLineRange.startLineNumber,v.endLineNumberExclusive),P.modifiedLineRange=new J(P.modifiedLineRange.startLineNumber,x.endLineNumberExclusive),y.push(P);return}let S={modifiedLineRange:x,originalLineRange:v};o.push(S),y.push(S)}),f=y}if(!s.isValid())return[]}o.sort(sl(Be(m=>m.modifiedLineRange.length,ut)));let u=new ct,h=new ct;for(let m of o){let f=m.modifiedLineRange.startLineNumber-m.originalLineRange.startLineNumber,w=u.subtractFrom(m.modifiedLineRange),p=h.subtractFrom(m.originalLineRange).getWithDelta(f),x=w.getIntersection(p);for(let y of x.ranges){if(y.length<3)continue;let v=y,S=y.delta(-f);a.push(new Te(S,v)),u.addRange(v),h.addRange(S)}}a.sort(Be(m=>m.original.startLineNumber,ut));let d=new rn(t);for(let m=0;m<a.length;m++){let f=a[m],w=d.findLastMonotonous(H=>H.original.startLineNumber<=f.original.startLineNumber),p=Oe(t,H=>H.modified.startLineNumber<=f.modified.startLineNumber),x=Math.max(f.original.startLineNumber-w.original.startLineNumber,f.modified.startLineNumber-p.modified.startLineNumber),y=d.findLastMonotonous(H=>H.original.startLineNumber<f.original.endLineNumberExclusive),v=Oe(t,H=>H.modified.startLineNumber<f.modified.endLineNumberExclusive),S=Math.max(y.original.endLineNumberExclusive-f.original.endLineNumberExclusive,v.modified.endLineNumberExclusive-f.modified.endLineNumberExclusive),P;for(P=0;P<x;P++){let H=f.original.startLineNumber-P-1,b=f.modified.startLineNumber-P-1;if(H>i.length||b>r.length||u.contains(b)||h.contains(H)||!fl(i[H-1],r[b-1],s))break}P>0&&(h.addRange(new J(f.original.startLineNumber-P,f.original.startLineNumber)),u.addRange(new J(f.modified.startLineNumber-P,f.modified.startLineNumber)));let z;for(z=0;z<S;z++){let H=f.original.endLineNumberExclusive+z,b=f.modified.endLineNumberExclusive+z;if(H>i.length||b>r.length||u.contains(b)||h.contains(H)||!fl(i[H-1],r[b-1],s))break}z>0&&(h.addRange(new J(f.original.endLineNumberExclusive,f.original.endLineNumberExclusive+z)),u.addRange(new J(f.modified.endLineNumberExclusive,f.modified.endLineNumberExclusive+z))),(P>0||z>0)&&(a[m]=new Te(new J(f.original.startLineNumber-P,f.original.endLineNumberExclusive+z),new J(f.modified.startLineNumber-P,f.modified.endLineNumberExclusive+z)))}return a}function fl(t,e,n){if(t.trim()===e.trim())return!0;if(t.length>300&&e.length>300)return!1;let r=new Dt().compute(new Ke([t],new O(1,1,1,t.length),!1),new Ke([e],new O(1,1,1,e.length),!1),n),s=0,a=se.invert(r.diffs,t.length);for(let h of a)h.seq1Range.forEach(d=>{ln(t.charCodeAt(d))||s++});function l(h){let d=0;for(let m=0;m<t.length;m++)ln(h.charCodeAt(m))||d++;return d}let o=l(t.length>e.length?t:e);return s/o>.6&&o>10}function Yc(t){if(t.length===0)return t;t.sort(Be(n=>n.original.startLineNumber,ut));let e=[t[0]];for(let n=1;n<t.length;n++){let i=e[e.length-1],r=t[n],s=r.original.startLineNumber-i.original.endLineNumberExclusive,a=r.modified.startLineNumber-i.modified.endLineNumberExclusive;if(s>=0&&a>=0&&s+a<=2){e[e.length-1]=i.join(r);continue}e.push(r)}return e}function Zc(t,e){let n=new rn(t);return e=e.filter(i=>{let r=n.findLastMonotonous(l=>l.original.startLineNumber<i.original.endLineNumberExclusive)||new Te(new J(1,1),new J(1,1)),s=Oe(t,l=>l.modified.startLineNumber<i.modified.endLineNumberExclusive);return r!==s}),e}function Wr(t,e,n){let i=n;return i=gl(t,e,i),i=gl(t,e,i),i=Kc(t,e,i),i}function gl(t,e,n){if(n.length===0)return n;let i=[];i.push(n[0]);for(let s=1;s<n.length;s++){let a=i[i.length-1],l=n[s];if(l.seq1Range.isEmpty||l.seq2Range.isEmpty){let o=l.seq1Range.start-a.seq1Range.endExclusive,u;for(u=1;u<=o&&!(t.getElement(l.seq1Range.start-u)!==t.getElement(l.seq1Range.endExclusive-u)||e.getElement(l.seq2Range.start-u)!==e.getElement(l.seq2Range.endExclusive-u));u++);if(u--,u===o){i[i.length-1]=new se(new j(a.seq1Range.start,l.seq1Range.endExclusive-o),new j(a.seq2Range.start,l.seq2Range.endExclusive-o));continue}l=l.delta(-u)}i.push(l)}let r=[];for(let s=0;s<i.length-1;s++){let a=i[s+1],l=i[s];if(l.seq1Range.isEmpty||l.seq2Range.isEmpty){let o=a.seq1Range.start-l.seq1Range.endExclusive,u;for(u=0;u<o&&!(!t.isStronglyEqual(l.seq1Range.start+u,l.seq1Range.endExclusive+u)||!e.isStronglyEqual(l.seq2Range.start+u,l.seq2Range.endExclusive+u));u++);if(u===o){i[s+1]=new se(new j(l.seq1Range.start+o,a.seq1Range.endExclusive),new j(l.seq2Range.start+o,a.seq2Range.endExclusive));continue}u>0&&(l=l.delta(u))}r.push(l)}return i.length>0&&r.push(i[i.length-1]),r}function Kc(t,e,n){if(!t.getBoundaryScore||!e.getBoundaryScore)return n;for(let i=0;i<n.length;i++){let r=i>0?n[i-1]:void 0,s=n[i],a=i+1<n.length?n[i+1]:void 0,l=new j(r?r.seq1Range.endExclusive+1:0,a?a.seq1Range.start-1:t.length),o=new j(r?r.seq2Range.endExclusive+1:0,a?a.seq2Range.start-1:e.length);s.seq1Range.isEmpty?n[i]=bl(s,t,e,l,o):s.seq2Range.isEmpty&&(n[i]=bl(s.swap(),e,t,o,l).swap())}return n}function bl(t,e,n,i,r){let a=1;for(;t.seq1Range.start-a>=i.start&&t.seq2Range.start-a>=r.start&&n.isStronglyEqual(t.seq2Range.start-a,t.seq2Range.endExclusive-a)&&a<100;)a++;a--;let l=0;for(;t.seq1Range.start+l<i.endExclusive&&t.seq2Range.endExclusive+l<r.endExclusive&&n.isStronglyEqual(t.seq2Range.start+l,t.seq2Range.endExclusive+l)&&l<100;)l++;if(a===0&&l===0)return t;let o=0,u=-1;for(let h=-a;h<=l;h++){let d=t.seq2Range.start+h,m=t.seq2Range.endExclusive+h,f=t.seq1Range.start+h,w=e.getBoundaryScore(f)+n.getBoundaryScore(d)+n.getBoundaryScore(m);w>u&&(u=w,o=h)}return t.delta(o)}function wl(t,e,n){let i=[];for(let r of n){let s=i[i.length-1];if(!s){i.push(r);continue}r.seq1Range.start-s.seq1Range.endExclusive<=2||r.seq2Range.start-s.seq2Range.endExclusive<=2?i[i.length-1]=new se(s.seq1Range.join(r.seq1Range),s.seq2Range.join(r.seq2Range)):i.push(r)}return i}function Hr(t,e,n,i,r=!1){let s=se.invert(n,t.length),a=[],l=new De(0,0);function o(h,d){if(h.offset1<l.offset1||h.offset2<l.offset2)return;let m=i(t,h.offset1),f=i(e,h.offset2);if(!m||!f)return;let w=new se(m,f),p=w.intersect(d),x=p.seq1Range.length,y=p.seq2Range.length;for(;s.length>0;){let v=s[0];if(!(v.seq1Range.intersects(w.seq1Range)||v.seq2Range.intersects(w.seq2Range)))break;let P=i(t,v.seq1Range.start),z=i(e,v.seq2Range.start),H=new se(P,z),b=H.intersect(v);if(x+=b.seq1Range.length,y+=b.seq2Range.length,w=w.join(H),w.seq1Range.endExclusive>=v.seq1Range.endExclusive)s.shift();else break}(r&&x+y<w.seq1Range.length+w.seq2Range.length||x+y<(w.seq1Range.length+w.seq2Range.length)*2/3)&&a.push(w),l=w.getEndExclusives()}for(;s.length>0;){let h=s.shift();h.seq1Range.isEmpty||(o(h.getStarts(),h),o(h.getEndExclusives().delta(-1),h))}return eh(n,a)}function eh(t,e){let n=[];for(;t.length>0||e.length>0;){let i=t[0],r=e[0],s;i&&(!r||i.seq1Range.start<r.seq1Range.start)?s=t.shift():s=e.shift(),n.length>0&&n[n.length-1].seq1Range.endExclusive>=s.seq1Range.start?n[n.length-1]=n[n.length-1].join(s):n.push(s)}return n}function _l(t,e,n){let i=n;if(i.length===0)return i;let r=0,s;do{s=!1;let a=[i[0]];for(let l=1;l<i.length;l++){let h=function(m,f){let w=new j(u.seq1Range.endExclusive,o.seq1Range.start);return t.getText(w).replace(/\s/g,"").length<=4&&(m.seq1Range.length+m.seq2Range.length>5||f.seq1Range.length+f.seq2Range.length>5)},o=i[l],u=a[a.length-1];h(u,o)?(s=!0,a[a.length-1]=a[a.length-1].join(o)):a.push(o)}i=a}while(r++<10&&s);return i}function vl(t,e,n){let i=n;if(i.length===0)return i;let r=0,s;do{s=!1;let l=[i[0]];for(let o=1;o<i.length;o++){let d=function(f,w){let p=new j(h.seq1Range.endExclusive,u.seq1Range.start);if(t.countLinesIn(p)>5||p.length>500)return!1;let y=t.getText(p).trim();if(y.length>20||y.split(/\r\n|\r|\n/).length>1)return!1;let v=t.countLinesIn(f.seq1Range),S=f.seq1Range.length,P=e.countLinesIn(f.seq2Range),z=f.seq2Range.length,H=t.countLinesIn(w.seq1Range),b=w.seq1Range.length,g=e.countLinesIn(w.seq2Range),_=w.seq2Range.length,N=130;function L(T){return Math.min(T,N)}return Math.pow(Math.pow(L(v*40+S),1.5)+Math.pow(L(P*40+z),1.5),1.5)+Math.pow(Math.pow(L(H*40+b),1.5)+Math.pow(L(g*40+_),1.5),1.5)>(N**1.5)**1.5*1.3},u=i[o],h=l[l.length-1];d(h,u)?(s=!0,l[l.length-1]=l[l.length-1].join(u)):l.push(u)}i=l}while(r++<10&&s);let a=[];return il(i,(l,o,u)=>{let h=o;function d(y){return y.length>0&&y.trim().length<=3&&o.seq1Range.length+o.seq2Range.length>100}let m=t.extendToFullLines(o.seq1Range),f=t.getText(new j(m.start,o.seq1Range.start));d(f)&&(h=h.deltaStart(-f.length));let w=t.getText(new j(o.seq1Range.endExclusive,m.endExclusive));d(w)&&(h=h.deltaEnd(w.length));let p=se.fromOffsetPairs(l?l.getEndExclusives():De.zero,u?u.getStarts():De.max),x=h.intersect(p);a.length>0&&x.getStarts().equals(a[a.length-1].getEndExclusives())?a[a.length-1]=a[a.length-1].join(x):a.push(x)}),a}var un=class{constructor(e,n){this.trimmedHash=e,this.lines=n}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){let n=e===0?0:yl(this.lines[e-1]),i=e===this.lines.length?0:yl(this.lines[e]);return 1e3-(n+i)}getText(e){return this.lines.slice(e.start,e.endExclusive).join(`
|
|
25
|
+
`)}isStronglyEqual(e,n){return this.lines[e]===this.lines[n]}};function yl(t){let e=0;for(;e<t.length&&(t.charCodeAt(e)===32||t.charCodeAt(e)===9);)e++;return e}var fi=class{constructor(){this.dynamicProgrammingDiffing=new di,this.myersDiffingAlgorithm=new Dt}computeDiff(e,n,i){if(e.length<=1&&el(e,n,(b,g)=>b===g))return new Re([],[],!1);if(e.length===1&&e[0].length===0||n.length===1&&n[0].length===0)return new Re([new Ve(new J(1,e.length+1),new J(1,n.length+1),[new fe(new O(1,1,e.length,e[e.length-1].length+1),new O(1,1,n.length,n[n.length-1].length+1))])],[],!1);let r=i.maxComputationTimeMs===0?Ze.instance:new hi(i.maxComputationTimeMs),s=!i.ignoreTrimWhitespace,a=new Map;function l(b){let g=a.get(b);return g===void 0&&(g=a.size,a.set(b,g)),g}let o=e.map(b=>l(b.trim())),u=n.map(b=>l(b.trim())),h=new un(o,e),d=new un(u,n),m=h.length+d.length<1700?this.dynamicProgrammingDiffing.compute(h,d,r,(b,g)=>e[b]===n[g]?n[g].length===0?.1:1+Math.log(1+n[g].length):.99):this.myersDiffingAlgorithm.compute(h,d,r),f=m.diffs,w=m.hitTimeout;f=Wr(h,d,f),f=_l(h,d,f);let p=[],x=b=>{if(s)for(let g=0;g<b;g++){let _=y+g,N=v+g;if(e[_]!==n[N]){let L=this.refineDiff(e,n,new se(new j(_,_+1),new j(N,N+1)),r,s,i);for(let T of L.mappings)p.push(T);L.hitTimeout&&(w=!0)}}},y=0,v=0;for(let b of f){Pe(()=>b.seq1Range.start-y===b.seq2Range.start-v);let g=b.seq1Range.start-y;x(g),y=b.seq1Range.endExclusive,v=b.seq2Range.endExclusive;let _=this.refineDiff(e,n,b,r,s,i);_.hitTimeout&&(w=!0);for(let N of _.mappings)p.push(N)}x(e.length-y);let S=new dt(e),P=new dt(n),z=sn(p,S,P),H=[];return i.computeMoves&&(H=this.computeMoves(z,e,n,o,u,r,s,i)),Pe(()=>{function b(_,N){if(_.lineNumber<1||_.lineNumber>N.length)return!1;let L=N[_.lineNumber-1];return!(_.column<1||_.column>L.length+1)}function g(_,N){return!(_.startLineNumber<1||_.startLineNumber>N.length+1||_.endLineNumberExclusive<1||_.endLineNumberExclusive>N.length+1)}for(let _ of z){if(!_.innerChanges)return!1;for(let N of _.innerChanges)if(!(b(N.modifiedRange.getStartPosition(),n)&&b(N.modifiedRange.getEndPosition(),n)&&b(N.originalRange.getStartPosition(),e)&&b(N.originalRange.getEndPosition(),e)))return!1;if(!g(_.modified,n)||!g(_.original,e))return!1}return!0}),new Re(z,H,w)}computeMoves(e,n,i,r,s,a,l,o){return pl(e,n,i,r,s,a).map(d=>{let m=this.refineDiff(n,i,new se(d.original.toOffsetRange(),d.modified.toOffsetRange()),a,l,o),f=sn(m.mappings,new dt(n),new dt(i),!0);return new Lt(d,f)})}refineDiff(e,n,i,r,s,a){let o=th(i).toRangeMapping2(e,n),u=new Ke(e,o.originalRange,s),h=new Ke(n,o.modifiedRange,s),d=u.length+h.length<500?this.dynamicProgrammingDiffing.compute(u,h,r):this.myersDiffingAlgorithm.compute(u,h,r),m=d.diffs;return m=Wr(u,h,m),m=Hr(u,h,m,(w,p)=>w.findWordContaining(p)),a.extendToSubwords&&(m=Hr(u,h,m,(w,p)=>w.findSubWordContaining(p),!0)),m=wl(u,h,m),m=vl(u,h,m),{mappings:m.map(w=>new fe(u.translateRange(w.seq1Range),h.translateRange(w.seq2Range))),hitTimeout:d.hitTimeout}}};function th(t){return new Te(new J(t.seq1Range.start+1,t.seq1Range.endExclusive+1),new J(t.seq2Range.start+1,t.seq2Range.endExclusive+1))}var et;(function(t){t.inMemory="inmemory",t.vscode="vscode",t.internal="private",t.walkThrough="walkThrough",t.walkThroughSnippet="walkThroughSnippet",t.vscodeOnboardingSample="vscode-onboarding-sample",t.http="http",t.https="https",t.file="file",t.mailto="mailto",t.untitled="untitled",t.data="data",t.command="command",t.vscodeRemote="vscode-remote",t.vscodeRemoteResource="vscode-remote-resource",t.vscodeManagedRemoteResource="vscode-managed-remote-resource",t.vscodeUserData="vscode-userdata",t.vscodeCustomEditor="vscode-custom-editor",t.vscodeNotebookCell="vscode-notebook-cell",t.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",t.vscodeNotebookCellMetadataDiff="vscode-notebook-cell-metadata-diff",t.vscodeNotebookCellOutput="vscode-notebook-cell-output",t.vscodeNotebookCellOutputDiff="vscode-notebook-cell-output-diff",t.vscodeNotebookMetadata="vscode-notebook-metadata",t.vscodeInteractiveInput="vscode-interactive-input",t.vscodeSettings="vscode-settings",t.vscodeWorkspaceTrust="vscode-workspace-trust",t.vscodeTerminal="vscode-terminal",t.vscodeImageCarousel="vscode-image-carousel",t.vscodeChatCodeBlock="vscode-chat-code-block",t.vscodeChatCodeCompareBlock="vscode-chat-code-compare-block",t.vscodeChatEditor="vscode-chat-editor",t.vscodeChatInput="chatSessionInput",t.sessionsChatInput="sessions-chat",t.vscodeLocalChatSession="vscode-chat-session",t.vscodeChatResponseResource="vscode-chat-response-resource",t.agentHostTerminal="agenthost-terminal",t.vscodeChatTerminalOutput="vscode-chat-terminal-output",t.webviewPanel="webview-panel",t.vscodeWebview="vscode-webview",t.vscodeBrowser="vscode-browser",t.extension="extension",t.vscodeFileResource="vscode-file",t.tmp="tmp",t.vsls="vsls",t.vscodeSourceControl="vscode-scm",t.commentsInput="comment",t.codeSetting="code-setting",t.outputChannel="output",t.accessibleView="accessible-view",t.chatEditingSnapshotScheme="chat-editing-snapshot-text-model",t.chatEditingModel="chat-editing-text-model",t.copilotPr="copilot-pr"})(et||(et={}));var nh="tkn",Br=class{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null,this._serverRootPath="/"}setPreferredWebSchema(e){this._preferredWebSchema=e}get _remoteResourcesPath(){return ue.join(this._serverRootPath,et.vscodeRemoteResource)}rewrite(e){if(this._delegate)try{return this._delegate(e)}catch(l){return zs(l),e}let n=e.authority,i=this._hosts[n];i&&i.indexOf(":")!==-1&&i.indexOf("[")===-1&&(i=`[${i}]`);let r=this._ports[n],s=this._connectionTokens[n],a=`path=${encodeURIComponent(e.path)}`;return typeof s=="string"&&(a+=`&${nh}=${encodeURIComponent(s)}`),me.from({scheme:Qi?this._preferredWebSchema:et.vscodeRemoteResource,authority:`${i}:${r}`,path:this._remoteResourcesPath,query:a})}},ih=new Br,Tl="vs/../../node_modules",kl="vs/../../node_modules.asar",rh="vscode-app",Or=class t{static{this.FALLBACK_AUTHORITY=rh}asBrowserUri(e){let n=this.toUri(e);return this.uriToBrowserUri(n)}uriToBrowserUri(e){return e.scheme===et.vscodeRemote?ih.rewrite(e):e.scheme===et.file&&(Gs||Js===`${et.vscodeFileResource}://${t.FALLBACK_AUTHORITY}`)?e.with({scheme:et.vscodeFileResource,authority:e.authority||t.FALLBACK_AUTHORITY,query:null,fragment:null}):e}toUri(e){if(me.isUri(e))return e;if(globalThis._VSCODE_FILE_ROOT){let n=globalThis._VSCODE_FILE_ROOT;if(/^\w[\w\d+.-]*:\/\//.test(n))return me.joinPath(me.parse(n,!0),e);let i=Ca(n,e);return me.file(i)}throw new Error("Cannot determine URI for module id!")}},Sl=new Or,xl;(function(t){let e=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"}]]);t.CoopAndCoep=Object.freeze(e.get("3"));let n="vscode-coi";function i(s){let a;typeof s=="string"?a=new URL(s).searchParams:s instanceof URL?a=s.searchParams:me.isUri(s)&&(a=new URL(s.toString(!0)).searchParams);let l=a?.get(n);if(l)return e.get(l)}t.getHeadersFromQuery=i;function r(s,a,l){if(!globalThis.crossOriginIsolated)return;let o=a&&l?"3":l?"2":"1";s instanceof URLSearchParams?s.set(n,o):s[n]=o}t.addSearchParam=r})(xl||(xl={}));function Ll(t,e){let r=!!(globalThis._VSCODE_PRODUCT_JSON??globalThis.vscode?.context?.configuration()?.product)?.commit&&(Xs||Yi&&Ys),s=`${t}/${e}`,l=`${r?kl:Tl}/${s}`;return Sl.asBrowserUri(l).toString(!0)}var pi=class{constructor(e){this.replacements=e;let n=-1;for(let i of e){if(!(i.replaceRange.start>=n))throw new K(`Edits must be disjoint and sorted. Found ${i} after ${n}`);n=i.replaceRange.endExclusive}}toString(){return`[${this.replacements.map(n=>n.toString()).join(", ")}]`}normalize(){let e=[],n;for(let i of this.replacements)if(!(i.getNewLength()===0&&i.replaceRange.length===0)){if(n&&n.replaceRange.endExclusive===i.replaceRange.start){let r=n.tryJoinTouching(i);if(r){n=r;continue}}n&&e.push(n),n=i}return n&&e.push(n),this._createNew(e)}compose(e){let n=this.normalize(),i=e.normalize();if(n.isEmpty())return i;if(i.isEmpty())return n;let r=[...n.replacements],s=[],a=0;for(let l of i.replacements){for(;;){let d=r[0];if(!d||d.replaceRange.start+a+d.getNewLength()>=l.replaceRange.start)break;r.shift(),s.push(d),a+=d.getNewLength()-d.replaceRange.length}let o=a,u,h;for(;;){let d=r[0];if(!d||d.replaceRange.start+a>l.replaceRange.endExclusive)break;u||(u=d),h=d,r.shift(),a+=d.getNewLength()-d.replaceRange.length}if(!u)s.push(l.delta(-a));else{let d=Math.min(u.replaceRange.start,l.replaceRange.start-o),m=l.replaceRange.start-(u.replaceRange.start+o);if(m>0){let x=u.slice(j.emptyAt(d),new j(0,m));s.push(x)}if(!h)throw new K("Invariant violation: lastIntersecting is undefined");let f=h.replaceRange.endExclusive+a-l.replaceRange.endExclusive;if(f>0){let x=h.slice(j.ofStartAndLength(h.replaceRange.endExclusive,0),new j(h.getNewLength()-f,h.getNewLength()));r.unshift(x),a-=x.getNewLength()-x.replaceRange.length}let w=new j(d,l.replaceRange.endExclusive-a),p=l.slice(w,new j(0,l.getNewLength()));s.push(p)}}for(;;){let l=r.shift();if(!l)break;s.push(l)}return this._createNew(s).normalize()}getNewRanges(){let e=[],n=0;for(let i of this.replacements)e.push(j.ofStartAndLength(i.replaceRange.start+n,i.getNewLength())),n+=i.getLengthDelta();return e}isEmpty(){return this.replacements.length===0}applyToOffsetOrUndefined(e){let n=0;for(let i of this.replacements)if(i.replaceRange.start<=e){if(e<i.replaceRange.endExclusive)return;n+=i.getNewLength()-i.replaceRange.length}else break;return e+n}},gi=class{constructor(e){this.replaceRange=e}delta(e){return this.slice(this.replaceRange.delta(e),new j(0,this.getNewLength()))}getLengthDelta(){return this.getNewLength()-this.replaceRange.length}toString(){return`{ ${this.replaceRange.toString()} -> ${this.getNewLength()} }`}get isEmpty(){return this.getNewLength()===0&&this.replaceRange.length===0}getRangeAfterReplace(){return new j(this.replaceRange.start,this.replaceRange.start+this.getNewLength())}};var qr=class extends pi{apply(e){let n=[],i=0;for(let r of this.replacements)n.push(e.substring(i,r.replaceRange.start)),n.push(r.newText),i=r.replaceRange.endExclusive;return n.push(e.substring(i)),n.join("")}removeCommonSuffixPrefix(e){let n=[];for(let i of this.replacements){let r=i.removeCommonSuffixPrefix(e);r.isEmpty||n.push(r)}return new cn(n)}},Vr=class extends gi{constructor(e,n){super(e),this.newText=n}getNewLength(){return this.newText.length}toString(){return`${this.replaceRange} -> ${JSON.stringify(this.newText)}`}replace(e){return e.substring(0,this.replaceRange.start)+this.newText+e.substring(this.replaceRange.endExclusive)}removeCommonSuffixPrefix(e){let n=e.substring(this.replaceRange.start,this.replaceRange.endExclusive),i=Xt(n,this.newText),r=Math.min(n.length-i,this.newText.length-i,Jt(n,this.newText)),s=new j(this.replaceRange.start+i,this.replaceRange.endExclusive-r),a=this.newText.substring(i,this.newText.length-r);return new Nt(s,a)}removeCommonSuffixAndPrefix(e){return this.removeCommonSuffix(e).removeCommonPrefix(e)}removeCommonPrefix(e){let n=this.replaceRange.substring(e),i=Xt(n,this.newText);return i===0?this:this.slice(this.replaceRange.deltaStart(i),new j(i,this.newText.length))}removeCommonSuffix(e){let n=this.replaceRange.substring(e),i=Jt(n,this.newText);return i===0?this:this.slice(this.replaceRange.deltaEnd(-i),new j(0,this.newText.length-i))}toJson(){return{txt:this.newText,pos:this.replaceRange.start,len:this.replaceRange.length}}},cn=class t extends qr{static{this.empty=new t([])}static replace(e,n){return new t([new Nt(e,n)])}static compose(e){if(e.length===0)return t.empty;let n=e[0];for(let i=1;i<e.length;i++)n=n.compose(e[i]);return n}constructor(e){super(e)}_createNew(e){return new t(e)}},Nt=class t extends Vr{static insert(e,n){return new t(j.emptyAt(e),n)}static replace(e,n){return new t(e,n)}equals(e){return this.replaceRange.equals(e.replaceRange)&&this.newText===e.newText}tryJoinTouching(e){return new t(this.replaceRange.joinRightTouching(e.replaceRange),this.newText+e.newText)}slice(e,n){return new t(e,n?n.substring(this.newText):this.newText)}};ol({StringEdit:cn,StringReplacement:Nt,TextReplacement:Ye,TextEdit:li,TextLength:Ae});var jr,$r,Gr;function Al(){return jr||(jr=import(`${Ll("@vscode/diff","dist/index.js")}`)),jr}function sh(t){return t?(Gr||(Gr=Al().then(e=>e.createDiffComputer({useWasm:!0}))),Gr):($r||($r=Al().then(e=>e.createDiffComputer({useWasm:!1}))),$r)}async function Jr(t){let e=await sh(t);return new Xr(e)}var Xr=class{constructor(e){this._computer=e}computeDiff(e,n,i){let r=new Qe(e.join(`
|
|
26
|
+
`)),s=new Qe(n.join(`
|
|
27
|
+
`)),a=this._computer.computeDiff(r.value,s.value,{ignoreTrimWhitespace:!0,computeMoves:i.computeMoves,extendToSubwords:i.extendToSubwords}),l=r.getTransformer(),o=s.getTransformer(),u=[],h=0;for(let f of a.edits.replacements){let w=f.range.start+h,p=w+f.newText.length,x=l.getRange(new j(f.range.start,f.range.endExclusive)),y=o.getRange(new j(w,p));u.push(new fe(x,y)),h+=f.newText.length-(f.range.endExclusive-f.range.start)}let d=sn(u,r,s),m=[];if(i.computeMoves)for(let f of a.moves){let w=l.getPosition(f.range.original.start),p=l.getPosition(f.range.original.endExclusive),x=o.getPosition(f.range.modified.start),y=o.getPosition(f.range.modified.endExclusive),v=new J(w.lineNumber,p.lineNumber),S=new J(x.lineNumber,y.lineNumber);m.push(new Lt(new Te(v,S),[]))}return new Re(d,m,a.hitTimeout)}};var hn={getLegacy:()=>new ui,getDefault:()=>new fi,getAdvancedExternal:()=>Jr(!1),getAdvancedWasm:()=>Jr(!0)};function tt(t,e){let n=Math.pow(10,e);return Math.round(t*n)/n}var C=class{constructor(e,n,i,r=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math.max(0,e))|0,this.g=Math.min(255,Math.max(0,n))|0,this.b=Math.min(255,Math.max(0,i))|0,this.a=tt(Math.max(Math.min(1,r),0),3)}static equals(e,n){return e.r===n.r&&e.g===n.g&&e.b===n.b&&e.a===n.a}},Ne=class t{constructor(e,n,i,r){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,e),0)|0,this.s=tt(Math.max(Math.min(1,n),0),3),this.l=tt(Math.max(Math.min(1,i),0),3),this.a=tt(Math.max(Math.min(1,r),0),3)}static equals(e,n){return e.h===n.h&&e.s===n.s&&e.l===n.l&&e.a===n.a}static fromRGBA(e){let n=e.r/255,i=e.g/255,r=e.b/255,s=e.a,a=Math.max(n,i,r),l=Math.min(n,i,r),o=0,u=0,h=(l+a)/2,d=a-l;if(d>0){switch(u=Math.min(h<=.5?d/(2*h):d/(2-2*h),1),a){case n:o=(i-r)/d+(i<r?6:0);break;case i:o=(r-n)/d+2;break;case r:o=(n-i)/d+4;break}o*=60,o=Math.round(o)}return new t(o,u,h,s)}static _hue2rgb(e,n,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(n-e)*6*i:i<1/2?n:i<2/3?e+(n-e)*(2/3-i)*6:e}static toRGBA(e){let n=e.h/360,{s:i,l:r,a:s}=e,a,l,o;if(i===0)a=l=o=r;else{let u=r<.5?r*(1+i):r+i-r*i,h=2*r-u;a=t._hue2rgb(h,u,n+1/3),l=t._hue2rgb(h,u,n),o=t._hue2rgb(h,u,n-1/3)}return new C(Math.round(a*255),Math.round(l*255),Math.round(o*255),s)}},It=class t{constructor(e,n,i,r){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,e),0)|0,this.s=tt(Math.max(Math.min(1,n),0),3),this.v=tt(Math.max(Math.min(1,i),0),3),this.a=tt(Math.max(Math.min(1,r),0),3)}static equals(e,n){return e.h===n.h&&e.s===n.s&&e.v===n.v&&e.a===n.a}static fromRGBA(e){let n=e.r/255,i=e.g/255,r=e.b/255,s=Math.max(n,i,r),a=Math.min(n,i,r),l=s-a,o=s===0?0:l/s,u;return l===0?u=0:s===n?u=((i-r)/l%6+6)%6:s===i?u=(r-n)/l+2:u=(n-i)/l+4,new t(Math.round(u*60),o,s,e.a)}static toRGBA(e){let{h:n,s:i,v:r,a:s}=e,a=r*i,l=a*(1-Math.abs(n/60%2-1)),o=r-a,[u,h,d]=[0,0,0];return n<60?(u=a,h=l):n<120?(u=l,h=a):n<180?(h=a,d=l):n<240?(h=l,d=a):n<300?(u=l,d=a):n<=360&&(u=a,d=l),u=Math.round((u+o)*255),h=Math.round((h+o)*255),d=Math.round((d+o)*255),new C(u,h,d,s)}},mt=class t{static fromHex(e){return t.Format.CSS.parseHex(e)||t.red}static equals(e,n){return!e&&!n?!0:!e||!n?!1:e.equals(n)}get hsla(){return this._hsla?this._hsla:Ne.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:It.fromRGBA(this.rgba)}constructor(e){if(e)if(e instanceof C)this.rgba=e;else if(e instanceof Ne)this._hsla=e,this.rgba=Ne.toRGBA(e);else if(e instanceof It)this._hsva=e,this.rgba=It.toRGBA(e);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(e){return!!e&&C.equals(this.rgba,e.rgba)&&Ne.equals(this.hsla,e.hsla)&&It.equals(this.hsva,e.hsva)}getRelativeLuminance(){let e=t._relativeLuminanceForComponent(this.rgba.r),n=t._relativeLuminanceForComponent(this.rgba.g),i=t._relativeLuminanceForComponent(this.rgba.b),r=.2126*e+.7152*n+.0722*i;return tt(r,4)}static _relativeLuminanceForComponent(e){let n=e/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3>=128}isLighterThan(e){let n=this.getRelativeLuminance(),i=e.getRelativeLuminance();return n>i}isDarkerThan(e){let n=this.getRelativeLuminance(),i=e.getRelativeLuminance();return n<i}lighten(e){return new t(new Ne(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*e,this.hsla.a))}darken(e){return new t(new Ne(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*e,this.hsla.a))}transparent(e){let{r:n,g:i,b:r,a:s}=this.rgba;return new t(new C(n,i,r,s*e))}isTransparent(){return this.rgba.a===0}isOpaque(){return this.rgba.a===1}opposite(){return new t(new C(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}mix(e,n=.5){let i=Math.min(Math.max(n,0),1),r=this.rgba,s=e.rgba,a=r.r+(s.r-r.r)*i,l=r.g+(s.g-r.g)*i,o=r.b+(s.b-r.b)*i,u=r.a+(s.a-r.a)*i;return new t(new C(a,l,o,u))}makeOpaque(e){if(this.isOpaque()||e.rgba.a!==1)return this;let{r:n,g:i,b:r,a:s}=this.rgba;return new t(new C(e.rgba.r-s*(e.rgba.r-n),e.rgba.g-s*(e.rgba.g-i),e.rgba.b-s*(e.rgba.b-r),1))}toString(){return this._toString||(this._toString=t.Format.CSS.format(this)),this._toString}toNumber32Bit(){return this._toNumber32Bit||(this._toNumber32Bit=(this.rgba.r<<24|this.rgba.g<<16|this.rgba.b<<8|this.rgba.a*255<<0)>>>0),this._toNumber32Bit}static getLighterColor(e,n,i){if(e.isLighterThan(n))return e;i=i||.5;let r=e.getRelativeLuminance(),s=n.getRelativeLuminance();return i=i*(s-r)/s,e.lighten(i)}static getDarkerColor(e,n,i){if(e.isDarkerThan(n))return e;i=i||.5;let r=e.getRelativeLuminance(),s=n.getRelativeLuminance();return i=i*(r-s)/r,e.darken(i)}static{this.white=new t(new C(255,255,255,1))}static{this.black=new t(new C(0,0,0,1))}static{this.red=new t(new C(255,0,0,1))}static{this.blue=new t(new C(0,0,255,1))}static{this.green=new t(new C(0,255,0,1))}static{this.cyan=new t(new C(0,255,255,1))}static{this.lightgrey=new t(new C(211,211,211,1))}static{this.transparent=new t(new C(0,0,0,0))}};(function(t){(function(e){(function(n){function i(p){return p.rgba.a===1?`rgb(${p.rgba.r}, ${p.rgba.g}, ${p.rgba.b})`:t.Format.CSS.formatRGBA(p)}n.formatRGB=i;function r(p){return`rgba(${p.rgba.r}, ${p.rgba.g}, ${p.rgba.b}, ${+p.rgba.a.toFixed(2)})`}n.formatRGBA=r;function s(p){return p.hsla.a===1?`hsl(${p.hsla.h}, ${Math.round(p.hsla.s*100)}%, ${Math.round(p.hsla.l*100)}%)`:t.Format.CSS.formatHSLA(p)}n.formatHSL=s;function a(p){return`hsla(${p.hsla.h}, ${Math.round(p.hsla.s*100)}%, ${Math.round(p.hsla.l*100)}%, ${p.hsla.a.toFixed(2)})`}n.formatHSLA=a;function l(p){let x=p.toString(16);return x.length!==2?"0"+x:x}function o(p){return`#${l(p.rgba.r)}${l(p.rgba.g)}${l(p.rgba.b)}`}n.formatHex=o;function u(p,x=!1){return x&&p.rgba.a===1?t.Format.CSS.formatHex(p):`#${l(p.rgba.r)}${l(p.rgba.g)}${l(p.rgba.b)}${l(Math.round(p.rgba.a*255))}`}n.formatHexA=u;function h(p){return p.isOpaque()?t.Format.CSS.formatHex(p):t.Format.CSS.formatRGBA(p)}n.format=h;function d(p){if(p==="transparent")return t.transparent;if(p.startsWith("#"))return f(p);if(p.startsWith("rgba(")){let x=p.match(/rgba\((?<r>(?:\+|-)?\d+), *(?<g>(?:\+|-)?\d+), *(?<b>(?:\+|-)?\d+), *(?<a>(?:\+|-)?\d+(\.\d+)?)\)/);if(!x)throw new Error("Invalid color format "+p);let y=parseInt(x.groups?.r??"0"),v=parseInt(x.groups?.g??"0"),S=parseInt(x.groups?.b??"0"),P=parseFloat(x.groups?.a??"0");return new t(new C(y,v,S,P))}if(p.startsWith("rgb(")){let x=p.match(/rgb\((?<r>(?:\+|-)?\d+), *(?<g>(?:\+|-)?\d+), *(?<b>(?:\+|-)?\d+)\)/);if(!x)throw new Error("Invalid color format "+p);let y=parseInt(x.groups?.r??"0"),v=parseInt(x.groups?.g??"0"),S=parseInt(x.groups?.b??"0");return new t(new C(y,v,S))}return m(p)}n.parse=d;function m(p){switch(p){case"aliceblue":return new t(new C(240,248,255,1));case"antiquewhite":return new t(new C(250,235,215,1));case"aqua":return new t(new C(0,255,255,1));case"aquamarine":return new t(new C(127,255,212,1));case"azure":return new t(new C(240,255,255,1));case"beige":return new t(new C(245,245,220,1));case"bisque":return new t(new C(255,228,196,1));case"black":return new t(new C(0,0,0,1));case"blanchedalmond":return new t(new C(255,235,205,1));case"blue":return new t(new C(0,0,255,1));case"blueviolet":return new t(new C(138,43,226,1));case"brown":return new t(new C(165,42,42,1));case"burlywood":return new t(new C(222,184,135,1));case"cadetblue":return new t(new C(95,158,160,1));case"chartreuse":return new t(new C(127,255,0,1));case"chocolate":return new t(new C(210,105,30,1));case"coral":return new t(new C(255,127,80,1));case"cornflowerblue":return new t(new C(100,149,237,1));case"cornsilk":return new t(new C(255,248,220,1));case"crimson":return new t(new C(220,20,60,1));case"cyan":return new t(new C(0,255,255,1));case"darkblue":return new t(new C(0,0,139,1));case"darkcyan":return new t(new C(0,139,139,1));case"darkgoldenrod":return new t(new C(184,134,11,1));case"darkgray":return new t(new C(169,169,169,1));case"darkgreen":return new t(new C(0,100,0,1));case"darkgrey":return new t(new C(169,169,169,1));case"darkkhaki":return new t(new C(189,183,107,1));case"darkmagenta":return new t(new C(139,0,139,1));case"darkolivegreen":return new t(new C(85,107,47,1));case"darkorange":return new t(new C(255,140,0,1));case"darkorchid":return new t(new C(153,50,204,1));case"darkred":return new t(new C(139,0,0,1));case"darksalmon":return new t(new C(233,150,122,1));case"darkseagreen":return new t(new C(143,188,143,1));case"darkslateblue":return new t(new C(72,61,139,1));case"darkslategray":return new t(new C(47,79,79,1));case"darkslategrey":return new t(new C(47,79,79,1));case"darkturquoise":return new t(new C(0,206,209,1));case"darkviolet":return new t(new C(148,0,211,1));case"deeppink":return new t(new C(255,20,147,1));case"deepskyblue":return new t(new C(0,191,255,1));case"dimgray":return new t(new C(105,105,105,1));case"dimgrey":return new t(new C(105,105,105,1));case"dodgerblue":return new t(new C(30,144,255,1));case"firebrick":return new t(new C(178,34,34,1));case"floralwhite":return new t(new C(255,250,240,1));case"forestgreen":return new t(new C(34,139,34,1));case"fuchsia":return new t(new C(255,0,255,1));case"gainsboro":return new t(new C(220,220,220,1));case"ghostwhite":return new t(new C(248,248,255,1));case"gold":return new t(new C(255,215,0,1));case"goldenrod":return new t(new C(218,165,32,1));case"gray":return new t(new C(128,128,128,1));case"green":return new t(new C(0,128,0,1));case"greenyellow":return new t(new C(173,255,47,1));case"grey":return new t(new C(128,128,128,1));case"honeydew":return new t(new C(240,255,240,1));case"hotpink":return new t(new C(255,105,180,1));case"indianred":return new t(new C(205,92,92,1));case"indigo":return new t(new C(75,0,130,1));case"ivory":return new t(new C(255,255,240,1));case"khaki":return new t(new C(240,230,140,1));case"lavender":return new t(new C(230,230,250,1));case"lavenderblush":return new t(new C(255,240,245,1));case"lawngreen":return new t(new C(124,252,0,1));case"lemonchiffon":return new t(new C(255,250,205,1));case"lightblue":return new t(new C(173,216,230,1));case"lightcoral":return new t(new C(240,128,128,1));case"lightcyan":return new t(new C(224,255,255,1));case"lightgoldenrodyellow":return new t(new C(250,250,210,1));case"lightgray":return new t(new C(211,211,211,1));case"lightgreen":return new t(new C(144,238,144,1));case"lightgrey":return new t(new C(211,211,211,1));case"lightpink":return new t(new C(255,182,193,1));case"lightsalmon":return new t(new C(255,160,122,1));case"lightseagreen":return new t(new C(32,178,170,1));case"lightskyblue":return new t(new C(135,206,250,1));case"lightslategray":return new t(new C(119,136,153,1));case"lightslategrey":return new t(new C(119,136,153,1));case"lightsteelblue":return new t(new C(176,196,222,1));case"lightyellow":return new t(new C(255,255,224,1));case"lime":return new t(new C(0,255,0,1));case"limegreen":return new t(new C(50,205,50,1));case"linen":return new t(new C(250,240,230,1));case"magenta":return new t(new C(255,0,255,1));case"maroon":return new t(new C(128,0,0,1));case"mediumaquamarine":return new t(new C(102,205,170,1));case"mediumblue":return new t(new C(0,0,205,1));case"mediumorchid":return new t(new C(186,85,211,1));case"mediumpurple":return new t(new C(147,112,219,1));case"mediumseagreen":return new t(new C(60,179,113,1));case"mediumslateblue":return new t(new C(123,104,238,1));case"mediumspringgreen":return new t(new C(0,250,154,1));case"mediumturquoise":return new t(new C(72,209,204,1));case"mediumvioletred":return new t(new C(199,21,133,1));case"midnightblue":return new t(new C(25,25,112,1));case"mintcream":return new t(new C(245,255,250,1));case"mistyrose":return new t(new C(255,228,225,1));case"moccasin":return new t(new C(255,228,181,1));case"navajowhite":return new t(new C(255,222,173,1));case"navy":return new t(new C(0,0,128,1));case"oldlace":return new t(new C(253,245,230,1));case"olive":return new t(new C(128,128,0,1));case"olivedrab":return new t(new C(107,142,35,1));case"orange":return new t(new C(255,165,0,1));case"orangered":return new t(new C(255,69,0,1));case"orchid":return new t(new C(218,112,214,1));case"palegoldenrod":return new t(new C(238,232,170,1));case"palegreen":return new t(new C(152,251,152,1));case"paleturquoise":return new t(new C(175,238,238,1));case"palevioletred":return new t(new C(219,112,147,1));case"papayawhip":return new t(new C(255,239,213,1));case"peachpuff":return new t(new C(255,218,185,1));case"peru":return new t(new C(205,133,63,1));case"pink":return new t(new C(255,192,203,1));case"plum":return new t(new C(221,160,221,1));case"powderblue":return new t(new C(176,224,230,1));case"purple":return new t(new C(128,0,128,1));case"rebeccapurple":return new t(new C(102,51,153,1));case"red":return new t(new C(255,0,0,1));case"rosybrown":return new t(new C(188,143,143,1));case"royalblue":return new t(new C(65,105,225,1));case"saddlebrown":return new t(new C(139,69,19,1));case"salmon":return new t(new C(250,128,114,1));case"sandybrown":return new t(new C(244,164,96,1));case"seagreen":return new t(new C(46,139,87,1));case"seashell":return new t(new C(255,245,238,1));case"sienna":return new t(new C(160,82,45,1));case"silver":return new t(new C(192,192,192,1));case"skyblue":return new t(new C(135,206,235,1));case"slateblue":return new t(new C(106,90,205,1));case"slategray":return new t(new C(112,128,144,1));case"slategrey":return new t(new C(112,128,144,1));case"snow":return new t(new C(255,250,250,1));case"springgreen":return new t(new C(0,255,127,1));case"steelblue":return new t(new C(70,130,180,1));case"tan":return new t(new C(210,180,140,1));case"teal":return new t(new C(0,128,128,1));case"thistle":return new t(new C(216,191,216,1));case"tomato":return new t(new C(255,99,71,1));case"turquoise":return new t(new C(64,224,208,1));case"violet":return new t(new C(238,130,238,1));case"wheat":return new t(new C(245,222,179,1));case"white":return new t(new C(255,255,255,1));case"whitesmoke":return new t(new C(245,245,245,1));case"yellow":return new t(new C(255,255,0,1));case"yellowgreen":return new t(new C(154,205,50,1));default:return null}}function f(p){let x=p.length;if(x===0||p.charCodeAt(0)!==35)return null;if(x===7){let y=16*w(p.charCodeAt(1))+w(p.charCodeAt(2)),v=16*w(p.charCodeAt(3))+w(p.charCodeAt(4)),S=16*w(p.charCodeAt(5))+w(p.charCodeAt(6));return new t(new C(y,v,S,1))}if(x===9){let y=16*w(p.charCodeAt(1))+w(p.charCodeAt(2)),v=16*w(p.charCodeAt(3))+w(p.charCodeAt(4)),S=16*w(p.charCodeAt(5))+w(p.charCodeAt(6)),P=16*w(p.charCodeAt(7))+w(p.charCodeAt(8));return new t(new C(y,v,S,P/255))}if(x===4){let y=w(p.charCodeAt(1)),v=w(p.charCodeAt(2)),S=w(p.charCodeAt(3));return new t(new C(16*y+y,16*v+v,16*S+S))}if(x===5){let y=w(p.charCodeAt(1)),v=w(p.charCodeAt(2)),S=w(p.charCodeAt(3)),P=w(p.charCodeAt(4));return new t(new C(16*y+y,16*v+v,16*S+S,(16*P+P)/255))}return null}n.parseHex=f;function w(p){switch(p){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:return 10;case 65:return 10;case 98:return 11;case 66:return 11;case 99:return 12;case 67:return 12;case 100:return 13;case 68:return 13;case 101:return 14;case 69:return 14;case 102:return 15;case 70:return 15}return 0}})(e.CSS||(e.CSS={}))})(t.Format||(t.Format={}))})(mt||(mt={}));function Rl(t){let e=[];for(let n of t){let i=Number(n);(i||i===0&&n.replace(/\s/g,"")!=="")&&e.push(i)}return e}function Qr(t,e,n,i){return{red:t/255,blue:n/255,green:e/255,alpha:i}}function dn(t,e){let n=e.index,i=e[0].length;if(n===void 0)return;let r=t.positionAt(n);return{startLineNumber:r.lineNumber,startColumn:r.column,endLineNumber:r.lineNumber,endColumn:r.column+i}}function ah(t,e){if(!t)return;let n=mt.Format.CSS.parseHex(e);if(n)return{range:t,color:Qr(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a)}}function Cl(t,e,n){if(!t||e.length!==1)return;let r=e[0].values(),s=Rl(r);return{range:t,color:Qr(s[0],s[1],s[2],n?s[3]:1)}}function El(t,e,n){if(!t||e.length!==1)return;let r=e[0].values(),s=Rl(r),a=new mt(new Ne(s[0],s[1]/100,s[2]/100,n?s[3]:1));return{range:t,color:Qr(a.rgba.r,a.rgba.g,a.rgba.b,a.rgba.a)}}function mn(t,e){return typeof t=="string"?[...t.matchAll(e)]:t.findMatches(e)}function oh(t){let e=[],i=mn(t,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%\/]*\))|^(#)([A-Fa-f0-9]{3})\b|^(#)([A-Fa-f0-9]{4})\b|^(#)([A-Fa-f0-9]{6})\b|^(#)([A-Fa-f0-9]{8})\b|(?<=['"\s])(#)([A-Fa-f0-9]{3})\b|(?<=['"\s])(#)([A-Fa-f0-9]{4})\b|(?<=['"\s])(#)([A-Fa-f0-9]{6})\b|(?<=['"\s])(#)([A-Fa-f0-9]{8})\b/gm);if(i.length>0)for(let r of i){let s=r.filter(u=>u!==void 0),a=s[1],l=s[2];if(!l)continue;let o;if(a==="rgb"){let u=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*[\s,]\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*[\s,]\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;o=Cl(dn(t,r),mn(l,u),!1)}else if(a==="rgba"){let u=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*[\s,]\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*[\s,]\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*(?:[\s,]|[\s]*\/)\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;o=Cl(dn(t,r),mn(l,u),!0)}else if(a==="hsl"){let u=/^\(\s*((?:360(?:\.0+)?|(?:36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])(?:\.\d+)?))\s*[\s,]\s*(100(?:\.0+)?|\d{1,2}[.]\d*|\d{1,2})%\s*[\s,]\s*(100(?:\.0+)?|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;o=El(dn(t,r),mn(l,u),!1)}else if(a==="hsla"){let u=/^\(\s*((?:360(?:\.0+)?|(?:36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])(?:\.\d+)?))\s*[\s,]\s*(100(?:\.0+)?|\d{1,2}[.]\d*|\d{1,2})%\s*[\s,]\s*(100(?:\.0+)?|\d{1,2}[.]\d*|\d{1,2})%\s*(?:[\s,]|[\s]*\/)\s*(0[.][0-9]+|[.][0-9]+|[01][.]0*|[01])\s*\)$/gm;o=El(dn(t,r),mn(l,u),!0)}else a==="#"&&(o=ah(dn(t,r),a+l));o&&e.push(o)}return e}function Dl(t){return!t||typeof t.getValue!="function"||typeof t.positionAt!="function"?[]:oh(t)}var lh=/^-+|-+$/g,Ml=100,uh=5;function Nl(t,e){let n=[];if(e.findRegionSectionHeaders&&e.foldingRules?.markers){let i=ch(t,e);n=n.concat(i)}if(e.findMarkSectionHeaders){let i=hh(t,e);n=n.concat(i)}return n}function ch(t,e){let n=[],i=t.getLineCount();for(let r=1;r<=i;r++){let s=t.getLineContent(r),a=s.match(e.foldingRules.markers.start);if(a){let l={startLineNumber:r,startColumn:a[0].length+1,endLineNumber:r,endColumn:s.length+1};if(l.endColumn>l.startColumn){let o={range:l,...dh(s.substring(a[0].length)),shouldBeInComments:!1};(o.text||o.hasSeparatorLine)&&n.push(o)}}}return n}function hh(t,e){let n=[],i=t.getLineCount();if(!e.markSectionHeaderRegex||e.markSectionHeaderRegex.trim()==="")return n;let r=Qo(e.markSectionHeaderRegex),s=new RegExp(e.markSectionHeaderRegex,`gdm${r?"s":""}`);if(sa(s))return n;for(let a=1;a<=i;a+=Ml-uh){let l=Math.min(a+Ml-1,i),o=[];for(let d=a;d<=l;d++)o.push(t.getLineContent(d));let u=o.join(`
|
|
28
|
+
`);s.lastIndex=0;let h;for(;(h=s.exec(u))!==null;){let d=u.substring(0,h.index),m=(d.match(/\n/g)||[]).length,f=a+m,w=h[0].split(`
|
|
29
|
+
`),p=w.length,x=f+p-1,y=d.lastIndexOf(`
|
|
30
|
+
`)+1,v=h.index-y+1,S=w[w.length-1],P=p===1?v+h[0].length:S.length+1,z={startLineNumber:f,startColumn:v,endLineNumber:x,endColumn:P},H=(h.groups??{}).label??"",b=((h.groups??{}).separator??"")!=="",g={range:z,text:H,hasSeparatorLine:b,shouldBeInComments:!0};(g.text||g.hasSeparatorLine)&&(n.length===0||n[n.length-1].range.endLineNumber<g.range.startLineNumber)&&n.push(g),s.lastIndex=h.index+h[0].length}}return n}function dh(t){t=t.trim();let e=t.startsWith("-");return t=t.replace(lh,""),{text:t,hasSeparatorLine:e}}var mh,Yr;(function(){let t=globalThis;typeof t.requestIdleCallback!="function"||typeof t.cancelIdleCallback!="function"?Yr=(e,n,i)=>{Qs(()=>{if(r)return;let s=Date.now()+15;n(Object.freeze({didTimeout:!0,timeRemaining(){return Math.max(0,s-Date.now())}}))});let r=!1;return{dispose(){r||(r=!0)}}}:Yr=(e,n,i)=>{let r=e.requestIdleCallback(n,typeof i=="number"?{timeout:i}:void 0),s=!1;return{dispose(){s||(s=!0,e.cancelIdleCallback(r))}}},mh=(e,n)=>Yr(globalThis,e,n)})();var bi=class{get isRejected(){return this.outcome?.outcome===1}get isSettled(){return!!this.outcome}constructor(){this.p=new Promise((e,n)=>{this.completeCallback=e,this.errorCallback=n})}complete(e){return this.isSettled?Promise.resolve():new Promise(n=>{this.completeCallback(e),this.outcome={outcome:0,value:e},n()})}error(e){return this.isSettled?Promise.resolve():new Promise(n=>{this.errorCallback(e),this.outcome={outcome:1,value:e},n()})}cancel(){return this.error(new qt)}},Il;(function(t){async function e(i){let r,s=await Promise.all(i.map(a=>a.then(l=>l,l=>{r||(r=l)})));if(typeof r<"u")throw r;return s}t.settled=e;function n(i){return new Promise(async(r,s)=>{try{await i(r,s)}catch(a){s(a)}})}t.withAsyncBody=n})(Il||(Il={}));var Zr=class{constructor(){this._unsatisfiedConsumers=[],this._unconsumedValues=[]}get hasFinalValue(){return!!this._finalValue}produce(e){if(this._ensureNoFinalValue(),this._unsatisfiedConsumers.length>0){let n=this._unsatisfiedConsumers.shift();this._resolveOrRejectDeferred(n,e)}else this._unconsumedValues.push(e)}produceFinal(e){this._ensureNoFinalValue(),this._finalValue=e;for(let n of this._unsatisfiedConsumers)this._resolveOrRejectDeferred(n,e);this._unsatisfiedConsumers.length=0}_ensureNoFinalValue(){if(this._finalValue)throw new K("ProducerConsumer: cannot produce after final value has been set")}_resolveOrRejectDeferred(e,n){n.ok?e.complete(n.value):e.error(n.error)}consume(){if(this._unconsumedValues.length>0||this._finalValue){let e=this._unconsumedValues.length>0?this._unconsumedValues.shift():this._finalValue;return e.ok?Promise.resolve(e.value):Promise.reject(e.error)}else{let e=new bi;return this._unsatisfiedConsumers.push(e),e.p}}},Pl=class t{constructor(e,n){this._onReturn=n,this._producerConsumer=new Zr,this._iterator={next:()=>this._producerConsumer.consume(),return:()=>(this._onReturn?.(),Promise.resolve({done:!0,value:void 0})),throw:async i=>(this._finishError(i),{done:!0,value:void 0})},queueMicrotask(async()=>{let i=e({emitOne:r=>this._producerConsumer.produce({ok:!0,value:{done:!1,value:r}}),emitMany:r=>{for(let s of r)this._producerConsumer.produce({ok:!0,value:{done:!1,value:s}})},reject:r=>this._finishError(r)});if(!this._producerConsumer.hasFinalValue)try{await i,this._finishOk()}catch(r){this._finishError(r)}})}static fromArray(e){return new t(n=>{n.emitMany(e)})}static fromPromise(e){return new t(async n=>{n.emitMany(await e)})}static fromPromisesResolveOrder(e){return new t(async n=>{await Promise.all(e.map(async i=>n.emitOne(await i)))})}static merge(e){return new t(async n=>{await Promise.all(e.map(async i=>{for await(let r of i)n.emitOne(r)}))})}static{this.EMPTY=t.fromArray([])}static map(e,n){return new t(async i=>{for await(let r of e)i.emitOne(n(r))})}static tee(e){let n,i,r=new bi,s=async()=>{if(!(!n||!i))try{for await(let o of e)n.emitOne(o),i.emitOne(o)}catch(o){n.reject(o),i.reject(o)}finally{r.complete()}},a=new t(async o=>(n=o,s(),r.p)),l=new t(async o=>(i=o,s(),r.p));return[a,l]}map(e){return t.map(this,e)}static coalesce(e){return t.filter(e,n=>!!n)}coalesce(){return t.coalesce(this)}static filter(e,n){return new t(async i=>{for await(let r of e)n(r)&&i.emitOne(r)})}filter(e){return t.filter(this,e)}_finishOk(){this._producerConsumer.hasFinalValue||this._producerConsumer.produceFinal({ok:!0,value:{done:!0,value:void 0}})}_finishError(e){this._producerConsumer.hasFinalValue||this._producerConsumer.produceFinal({ok:!1,error:e})}[Symbol.asyncIterator](){return this._iterator}};var wi=class{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,n){e=ot(e);let i=this.values,r=this.prefixSum,s=n.length;return s===0?!1:(this.values=new Uint32Array(i.length+s),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e),e+s),this.values.set(n,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,n){return e=ot(e),n=ot(n),this.values[e]===n?!1:(this.values[e]=n,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,n){e=ot(e),n=ot(n);let i=this.values,r=this.prefixSum;if(e>=i.length)return!1;let s=i.length-e;return n>=s&&(n=s),n===0?!1:(this.values=new Uint32Array(i.length-n),this.values.set(i.subarray(0,e),0),this.values.set(i.subarray(e+n),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=ot(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let n=this.prefixSumValidIndex[0]+1;n===0&&(this.prefixSum[0]=this.values[0],n++),e>=this.values.length&&(e=this.values.length-1);for(let i=n;i<=e;i++)this.prefixSum[i]=this.prefixSum[i-1]+this.values[i];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let n=0,i=this.values.length-1,r=0,s=0,a=0;for(;n<=i;)if(r=n+(i-n)/2|0,s=this.prefixSum[r],a=s-this.values[r],e<a)i=r-1;else if(e>=s)n=r+1;else break;return new Kr(r,e-a)}};var Kr=class{constructor(e,n){this.index=e,this.remainder=n,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=n}};var _i=class{constructor(e,n,i,r){this._uri=e,this._lines=n,this._eol=i,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return this._cachedTextValue===null&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);let n=e.changes;for(let i of n)this._acceptDeleteRange(i.range),this._acceptInsertText(new G(i.range.startLineNumber,i.range.startColumn),i.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let e=this._eol.length,n=this._lines.length,i=new Uint32Array(n);for(let r=0;r<n;r++)i[r]=this._lines[r].length+e;this._lineStarts=new wi(i)}}_setLineText(e,n){this._lines[e]=n,this._lineStarts&&this._lineStarts.setValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber===e.endLineNumber){if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1));return}this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber)}_acceptInsertText(e,n){if(n.length===0)return;let i=aa(n);if(i.length===1){this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+i[0]+this._lines[e.lineNumber-1].substring(e.column-1));return}i[i.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+i[0]);let r=new Uint32Array(i.length-1);for(let s=1;s<i.length;s++)this._lines.splice(e.lineNumber+s-1,0,i[s]),r[s-1]=i[s].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,r)}};var jg=60*1e3;var vi=class{constructor(){this._models=Object.create(null)}getModel(e){return this._models[e]}getModels(){let e=[];return Object.keys(this._models).forEach(n=>e.push(this._models[n])),e}$acceptNewModel(e){this._models[e.url]=new es(me.parse(e.url),e.lines,e.EOL,e.versionId)}$acceptModelChanged(e,n){if(!this._models[e])return;this._models[e].onEvents(n)}$acceptRemovedModel(e){this._models[e]&&delete this._models[e]}},es=class extends _i{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(e){let n=[];for(let i=0;i<this._lines.length;i++){let r=this._lines[i],s=this.offsetAt(new G(i+1,1)),a=r.matchAll(e);for(let l of a)(l.index||l.index===0)&&(l.index=l.index+s),n.push(l)}return n}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,n){let i=nn(e.column,Rr(n),this._lines[e.lineNumber-1],0);return i?new O(e.lineNumber,i.startColumn,e.lineNumber,i.endColumn):null}words(e){let n=this._lines,i=this._wordenize.bind(this),r=0,s="",a=0,l=[];return{*[Symbol.iterator](){for(;;)if(a<l.length){let o=s.substring(l[a].start,l[a].end);a+=1,yield o}else if(r<n.length)s=n[r],l=i(s,e),a=0,r+=1;else break}}}getLineWords(e,n){let i=this._lines[e-1],r=this._wordenize(i,n),s=[];for(let a of r)s.push({word:i.substring(a.start,a.end),startColumn:a.start+1,endColumn:a.end+1});return s}_wordenize(e,n){let i=[],r;for(n.lastIndex=0;(r=n.exec(e))&&r[0].length!==0;)i.push({start:r.index,end:r.index+r[0].length});return i}getValueInRange(e){if(e=this._validateRange(e),e.startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);let n=this._eol,i=e.startLineNumber-1,r=e.endLineNumber-1,s=[];s.push(this._lines[i].substring(e.startColumn-1));for(let a=i+1;a<r;a++)s.push(this._lines[a]);return s.push(this._lines[r].substring(0,e.endColumn-1)),s.join(n)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getPrefixSum(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();let n=this._lineStarts.getIndexOf(e),i=this._lines[n.index].length;return{lineNumber:1+n.index,column:1+Math.min(n.remainder,i)}}_validateRange(e){let n=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),i=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return n.lineNumber!==e.startLineNumber||n.column!==e.startColumn||i.lineNumber!==e.endLineNumber||i.column!==e.endColumn?{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:i.lineNumber,endColumn:i.column}:e}_validatePosition(e){if(!G.isIPosition(e))throw new Error("bad position");let{lineNumber:n,column:i}=e,r=!1;if(n<1)n=1,i=1,r=!0;else if(n>this._lines.length)n=this._lines.length,i=this._lines[n-1].length+1,r=!0;else{let s=this._lines[n-1].length+1;i<1?(i=1,r=!0):i>s&&(i=s,r=!0)}return r?{lineNumber:n,column:i}:e}};var yi=class t{constructor(e=null){this._foreignModule=e,this._requestHandlerBrand=void 0,this._workerTextModelSyncServer=new vi}dispose(){}async $ping(){return"pong"}_getModel(e){return this._workerTextModelSyncServer.getModel(e)}getModels(){return this._workerTextModelSyncServer.getModels()}$acceptNewModel(e){this._workerTextModelSyncServer.$acceptNewModel(e)}$acceptModelChanged(e,n){this._workerTextModelSyncServer.$acceptModelChanged(e,n)}$acceptRemovedModel(e){this._workerTextModelSyncServer.$acceptRemovedModel(e)}async $computeUnicodeHighlights(e,n,i){let r=this._getModel(e);return r?ni.computeUnicodeHighlights(r,n,i):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}async $findSectionHeaders(e,n){let i=this._getModel(e);return i?Nl(i,n):[]}async $computeDiff(e,n,i,r){let s=this._getModel(e),a=this._getModel(n);if(!s||!a)return null;let l=await fh(r);return t.computeDiff(s,a,i,l)}static computeDiff(e,n,i,r){let s=e.getLinesContent(),a=n.getLinesContent(),l=r.computeDiff(s,a,i),o=l.changes.length>0?!1:this._modelsAreIdentical(e,n);function u(h){return h.map(d=>[d.original.startLineNumber,d.original.endLineNumberExclusive,d.modified.startLineNumber,d.modified.endLineNumberExclusive,d.innerChanges?.map(m=>[m.originalRange.startLineNumber,m.originalRange.startColumn,m.originalRange.endLineNumber,m.originalRange.endColumn,m.modifiedRange.startLineNumber,m.modifiedRange.startColumn,m.modifiedRange.endLineNumber,m.modifiedRange.endColumn])])}return{identical:o,quitEarly:l.hitTimeout,changes:u(l.changes),moves:l.moves.map(h=>[h.lineRangeMapping.original.startLineNumber,h.lineRangeMapping.original.endLineNumberExclusive,h.lineRangeMapping.modified.startLineNumber,h.lineRangeMapping.modified.endLineNumberExclusive,u(h.changes)])}}static _modelsAreIdentical(e,n){let i=e.getLineCount(),r=n.getLineCount();if(i!==r)return!1;for(let s=1;s<=i;s++){let a=e.getLineContent(s),l=n.getLineContent(s);if(a!==l)return!1}return!0}static{this._diffLimit=1e5}async $computeMoreMinimalEdits(e,n,i){let r=this._getModel(e);if(!r)return n;let s=[],a;n=n.slice(0).sort((o,u)=>{if(o.range&&u.range)return O.compareRangesUsingStarts(o.range,u.range);let h=o.range?0:1,d=u.range?0:1;return h-d});let l=0;for(let o=1;o<n.length;o++)O.getEndPosition(n[l].range).equals(O.getStartPosition(n[o].range))?(n[l].range=O.fromPositions(O.getStartPosition(n[l].range),O.getEndPosition(n[o].range)),n[l].text+=n[o].text):(l++,n[l]=n[o]);n.length=l+1;for(let{range:o,text:u,eol:h}of n){if(typeof h=="number"&&(a=h),O.isEmpty(o)&&!u)continue;let d=r.getValueInRange(o);if(u=u.replace(/\r\n|\n|\r/g,r.eol),d===u)continue;if(Math.max(u.length,d.length)>t._diffLimit){s.push({range:o,text:u});continue}let m=ya(d,u,i),f=r.offsetAt(O.lift(o).getStartPosition());for(let w of m){let p=r.positionAt(f+w.originalStart),x=r.positionAt(f+w.originalStart+w.originalLength),y={text:u.substr(w.modifiedStart,w.modifiedLength),range:{startLineNumber:p.lineNumber,startColumn:p.column,endLineNumber:x.lineNumber,endColumn:x.column}};r.getValueInRange(y.range)!==y.text&&s.push(y)}}return typeof a=="number"&&s.push({eol:a,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s}async $computeLinks(e){let n=this._getModel(e);return n?xa(n):null}async $computeDefaultDocumentColors(e){let n=this._getModel(e);return n?Dl(n):null}static{this._suggestionsLimit=1e4}async $textualSuggest(e,n,i,r){let s=new yt,a=new RegExp(i,r),l=new Set;e:for(let o of e){let u=this._getModel(o);if(u){for(let h of u.words(a))if(!(h===n||!isNaN(Number(h)))&&(l.add(h),l.size>t._suggestionsLimit))break e}}return{words:Array.from(l),duration:s.elapsed()}}async $computeWordRanges(e,n,i,r){let s=this._getModel(e);if(!s)return Object.create(null);let a=new RegExp(i,r),l=Object.create(null);for(let o=n.startLineNumber;o<n.endLineNumber;o++){let u=s.getLineWords(o,a);for(let h of u){if(!isNaN(Number(h.word)))continue;let d=l[h.word];d||(d=[],l[h.word]=d),d.push({startLineNumber:o,startColumn:h.startColumn,endLineNumber:o,endColumn:h.endColumn})}}return l}async $navigateValueSet(e,n,i,r,s){let a=this._getModel(e);if(!a)return null;let l=new RegExp(r,s);n.startColumn===n.endColumn&&(n={startLineNumber:n.startLineNumber,startColumn:n.startColumn,endLineNumber:n.endLineNumber,endColumn:n.endColumn+1});let o=a.getValueInRange(n),u=a.getWordAtPosition({lineNumber:n.startLineNumber,column:n.startColumn},l);if(!u)return null;let h=a.getValueInRange(u);return Wn.INSTANCE.navigateValueSet(n,o,u,h,i)}$fmr(e,n){if(!this._foreignModule||typeof this._foreignModule[e]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,n))}catch(i){return Promise.reject(i)}}};typeof importScripts=="function"&&(globalThis.monaco=Bo());function fh(t){switch(t){case"legacy":return hn.getLegacy();case"advanced":return hn.getDefault();case"advanced-external":return hn.getAdvancedExternal();case"advanced-wasm":return hn.getAdvancedWasm()}}var xi=class t{static{this.CHANNEL_NAME="editorWorkerHost"}static getChannel(e){return e.getChannel(t.CHANNEL_NAME)}static setChannel(e,n){e.setChannel(t.CHANNEL_NAME,n)}};function zl(t){let e,n=fa(i=>{let r=xi.getChannel(i),a={host:new Proxy({},{get(l,o,u){if(o!=="then"){if(typeof o!="string")throw new Error("Not supported");return(...h)=>r.$fhr(o,h)}}}),getMirrorModels:()=>n.requestHandler.getModels()};return e=t(a),new yi(e)});return e}var ph=!1;function Fl(t){ph=!0,self.onmessage=e=>{zl(n=>t(n,e.data))}}function we(...t){let e=t[0],n,i,r;if(typeof e=="string")n=e,i=e,t.splice(0,1),r=!t||typeof t[0]!="object"?t:t[0];else if(e instanceof Array){let s=t.slice(1);if(e.length!==s.length+1)throw new Error("expected a string as the first argument to l10n.t");let a=e[0];for(let l=1;l<e.length;l++)a+=`{${l-1}}`+e[l];return we(a,...s)}else i=e.message,n=i,e.comment&&e.comment.length>0&&(n+=`/${Array.isArray(e.comment)?e.comment.join(""):e.comment}`),r=e.args??{};return bh(i,r)}var gh=/{([^}]+)}/g;function bh(t,e){return Object.keys(e).length===0?t:t.replace(gh,(n,i)=>e[i]??n)}var ts;(function(t){function e(n){return typeof n=="string"}t.is=e})(ts||(ts={}));var ns;(function(t){function e(n){return typeof n=="string"}t.is=e})(ns||(ns={}));var Ul;(function(t){t.MIN_VALUE=-2147483648,t.MAX_VALUE=2147483647;function e(n){return typeof n=="number"&&t.MIN_VALUE<=n&&n<=t.MAX_VALUE}t.is=e})(Ul||(Ul={}));var Ti;(function(t){t.MIN_VALUE=0,t.MAX_VALUE=2147483647;function e(n){return typeof n=="number"&&t.MIN_VALUE<=n&&n<=t.MAX_VALUE}t.is=e})(Ti||(Ti={}));var ie;(function(t){function e(i,r){return i===Number.MAX_VALUE&&(i=Ti.MAX_VALUE),r===Number.MAX_VALUE&&(r=Ti.MAX_VALUE),{line:i,character:r}}t.create=e;function n(i){let r=i;return D.objectLiteral(r)&&D.uinteger(r.line)&&D.uinteger(r.character)}t.is=n})(ie||(ie={}));var X;(function(t){function e(i,r,s,a){if(D.uinteger(i)&&D.uinteger(r)&&D.uinteger(s)&&D.uinteger(a))return{start:ie.create(i,r),end:ie.create(s,a)};if(ie.is(i)&&ie.is(r))return{start:i,end:r};throw new Error(`Range#create called with invalid arguments[${i}, ${r}, ${s}, ${a}]`)}t.create=e;function n(i){let r=i;return D.objectLiteral(r)&&ie.is(r.start)&&ie.is(r.end)}t.is=n})(X||(X={}));var fn;(function(t){function e(i,r){return{uri:i,range:r}}t.create=e;function n(i){let r=i;return D.objectLiteral(r)&&X.is(r.range)&&(D.string(r.uri)||D.undefined(r.uri))}t.is=n})(fn||(fn={}));var Wl;(function(t){function e(i,r,s,a){return{targetUri:i,targetRange:r,targetSelectionRange:s,originSelectionRange:a}}t.create=e;function n(i){let r=i;return D.objectLiteral(r)&&X.is(r.targetRange)&&D.string(r.targetUri)&&X.is(r.targetSelectionRange)&&(X.is(r.originSelectionRange)||D.undefined(r.originSelectionRange))}t.is=n})(Wl||(Wl={}));var ki;(function(t){function e(i,r,s,a){return{red:i,green:r,blue:s,alpha:a}}t.create=e;function n(i){let r=i;return D.objectLiteral(r)&&D.numberRange(r.red,0,1)&&D.numberRange(r.green,0,1)&&D.numberRange(r.blue,0,1)&&D.numberRange(r.alpha,0,1)}t.is=n})(ki||(ki={}));var is;(function(t){function e(i,r){return{range:i,color:r}}t.create=e;function n(i){let r=i;return D.objectLiteral(r)&&X.is(r.range)&&ki.is(r.color)}t.is=n})(is||(is={}));var rs;(function(t){function e(i,r,s){return{label:i,textEdit:r,additionalTextEdits:s}}t.create=e;function n(i){let r=i;return D.objectLiteral(r)&&D.string(r.label)&&(D.undefined(r.textEdit)||ae.is(r))&&(D.undefined(r.additionalTextEdits)||D.typedArray(r.additionalTextEdits,ae.is))}t.is=n})(rs||(rs={}));var Pt;(function(t){t.Comment="comment",t.Imports="imports",t.Region="region"})(Pt||(Pt={}));var ss;(function(t){function e(i,r,s,a,l,o){let u={startLine:i,endLine:r};return D.defined(s)&&(u.startCharacter=s),D.defined(a)&&(u.endCharacter=a),D.defined(l)&&(u.kind=l),D.defined(o)&&(u.collapsedText=o),u}t.create=e;function n(i){let r=i;return D.objectLiteral(r)&&D.uinteger(r.startLine)&&D.uinteger(r.startLine)&&(D.undefined(r.startCharacter)||D.uinteger(r.startCharacter))&&(D.undefined(r.endCharacter)||D.uinteger(r.endCharacter))&&(D.undefined(r.kind)||D.string(r.kind))}t.is=n})(ss||(ss={}));var as;(function(t){function e(i,r){return{location:i,message:r}}t.create=e;function n(i){let r=i;return D.defined(r)&&fn.is(r.location)&&D.string(r.message)}t.is=n})(as||(as={}));var Hl;(function(t){t.Error=1,t.Warning=2,t.Information=3,t.Hint=4})(Hl||(Hl={}));var Bl;(function(t){t.Unnecessary=1,t.Deprecated=2})(Bl||(Bl={}));var Ol;(function(t){function e(n){let i=n;return D.objectLiteral(i)&&D.string(i.href)}t.is=e})(Ol||(Ol={}));var pn;(function(t){function e(i,r,s,a,l,o){let u={range:i,message:r};return D.defined(s)&&(u.severity=s),D.defined(a)&&(u.code=a),D.defined(l)&&(u.source=l),D.defined(o)&&(u.relatedInformation=o),u}t.create=e;function n(i){var r;let s=i;return D.defined(s)&&X.is(s.range)&&D.string(s.message)&&(D.number(s.severity)||D.undefined(s.severity))&&(D.integer(s.code)||D.string(s.code)||D.undefined(s.code))&&(D.undefined(s.codeDescription)||D.string((r=s.codeDescription)===null||r===void 0?void 0:r.href))&&(D.string(s.source)||D.undefined(s.source))&&(D.undefined(s.relatedInformation)||D.typedArray(s.relatedInformation,as.is))}t.is=n})(pn||(pn={}));var ft;(function(t){function e(i,r,...s){let a={title:i,command:r};return D.defined(s)&&s.length>0&&(a.arguments=s),a}t.create=e;function n(i){let r=i;return D.defined(r)&&D.string(r.title)&&D.string(r.command)}t.is=n})(ft||(ft={}));var ae;(function(t){function e(s,a){return{range:s,newText:a}}t.replace=e;function n(s,a){return{range:{start:s,end:s},newText:a}}t.insert=n;function i(s){return{range:s,newText:""}}t.del=i;function r(s){let a=s;return D.objectLiteral(a)&&D.string(a.newText)&&X.is(a.range)}t.is=r})(ae||(ae={}));var os;(function(t){function e(i,r,s){let a={label:i};return r!==void 0&&(a.needsConfirmation=r),s!==void 0&&(a.description=s),a}t.create=e;function n(i){let r=i;return D.objectLiteral(r)&&D.string(r.label)&&(D.boolean(r.needsConfirmation)||r.needsConfirmation===void 0)&&(D.string(r.description)||r.description===void 0)}t.is=n})(os||(os={}));var zt;(function(t){function e(n){let i=n;return D.string(i)}t.is=e})(zt||(zt={}));var ql;(function(t){function e(s,a,l){return{range:s,newText:a,annotationId:l}}t.replace=e;function n(s,a,l){return{range:{start:s,end:s},newText:a,annotationId:l}}t.insert=n;function i(s,a){return{range:s,newText:"",annotationId:a}}t.del=i;function r(s){let a=s;return ae.is(a)&&(os.is(a.annotationId)||zt.is(a.annotationId))}t.is=r})(ql||(ql={}));var ls;(function(t){function e(i,r){return{textDocument:i,edits:r}}t.create=e;function n(i){let r=i;return D.defined(r)&&ds.is(r.textDocument)&&Array.isArray(r.edits)}t.is=n})(ls||(ls={}));var us;(function(t){function e(i,r,s){let a={kind:"create",uri:i};return r!==void 0&&(r.overwrite!==void 0||r.ignoreIfExists!==void 0)&&(a.options=r),s!==void 0&&(a.annotationId=s),a}t.create=e;function n(i){let r=i;return r&&r.kind==="create"&&D.string(r.uri)&&(r.options===void 0||(r.options.overwrite===void 0||D.boolean(r.options.overwrite))&&(r.options.ignoreIfExists===void 0||D.boolean(r.options.ignoreIfExists)))&&(r.annotationId===void 0||zt.is(r.annotationId))}t.is=n})(us||(us={}));var cs;(function(t){function e(i,r,s,a){let l={kind:"rename",oldUri:i,newUri:r};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(l.options=s),a!==void 0&&(l.annotationId=a),l}t.create=e;function n(i){let r=i;return r&&r.kind==="rename"&&D.string(r.oldUri)&&D.string(r.newUri)&&(r.options===void 0||(r.options.overwrite===void 0||D.boolean(r.options.overwrite))&&(r.options.ignoreIfExists===void 0||D.boolean(r.options.ignoreIfExists)))&&(r.annotationId===void 0||zt.is(r.annotationId))}t.is=n})(cs||(cs={}));var hs;(function(t){function e(i,r,s){let a={kind:"delete",uri:i};return r!==void 0&&(r.recursive!==void 0||r.ignoreIfNotExists!==void 0)&&(a.options=r),s!==void 0&&(a.annotationId=s),a}t.create=e;function n(i){let r=i;return r&&r.kind==="delete"&&D.string(r.uri)&&(r.options===void 0||(r.options.recursive===void 0||D.boolean(r.options.recursive))&&(r.options.ignoreIfNotExists===void 0||D.boolean(r.options.ignoreIfNotExists)))&&(r.annotationId===void 0||zt.is(r.annotationId))}t.is=n})(hs||(hs={}));var Si;(function(t){function e(n){let i=n;return i&&(i.changes!==void 0||i.documentChanges!==void 0)&&(i.documentChanges===void 0||i.documentChanges.every(r=>D.string(r.kind)?us.is(r)||cs.is(r)||hs.is(r):ls.is(r)))}t.is=e})(Si||(Si={}));var Vl;(function(t){function e(i){return{uri:i}}t.create=e;function n(i){let r=i;return D.defined(r)&&D.string(r.uri)}t.is=n})(Vl||(Vl={}));var jl;(function(t){function e(i,r){return{uri:i,version:r}}t.create=e;function n(i){let r=i;return D.defined(r)&&D.string(r.uri)&&D.integer(r.version)}t.is=n})(jl||(jl={}));var ds;(function(t){function e(i,r){return{uri:i,version:r}}t.create=e;function n(i){let r=i;return D.defined(r)&&D.string(r.uri)&&(r.version===null||D.integer(r.version))}t.is=n})(ds||(ds={}));var $l;(function(t){function e(i,r,s,a){return{uri:i,languageId:r,version:s,text:a}}t.create=e;function n(i){let r=i;return D.defined(r)&&D.string(r.uri)&&D.string(r.languageId)&&D.integer(r.version)&&D.string(r.text)}t.is=n})($l||($l={}));var ke;(function(t){t.PlainText="plaintext",t.Markdown="markdown";function e(n){let i=n;return i===t.PlainText||i===t.Markdown}t.is=e})(ke||(ke={}));var Ft;(function(t){function e(n){let i=n;return D.objectLiteral(n)&&ke.is(i.kind)&&D.string(i.value)}t.is=e})(Ft||(Ft={}));var de;(function(t){t.Text=1,t.Method=2,t.Function=3,t.Constructor=4,t.Field=5,t.Variable=6,t.Class=7,t.Interface=8,t.Module=9,t.Property=10,t.Unit=11,t.Value=12,t.Enum=13,t.Keyword=14,t.Snippet=15,t.Color=16,t.File=17,t.Reference=18,t.Folder=19,t.EnumMember=20,t.Constant=21,t.Struct=22,t.Event=23,t.Operator=24,t.TypeParameter=25})(de||(de={}));var _e;(function(t){t.PlainText=1,t.Snippet=2})(_e||(_e={}));var ms;(function(t){t.Deprecated=1})(ms||(ms={}));var fs;(function(t){function e(i,r,s){return{newText:i,insert:r,replace:s}}t.create=e;function n(i){let r=i;return r&&D.string(r.newText)&&X.is(r.insert)&&X.is(r.replace)}t.is=n})(fs||(fs={}));var ps;(function(t){t.asIs=1,t.adjustIndentation=2})(ps||(ps={}));var Gl;(function(t){function e(n){let i=n;return i&&(D.string(i.detail)||i.detail===void 0)&&(D.string(i.description)||i.description===void 0)}t.is=e})(Gl||(Gl={}));var gs;(function(t){function e(n){return{label:n}}t.create=e})(gs||(gs={}));var bs;(function(t){function e(n,i){return{items:n||[],isIncomplete:!!i}}t.create=e})(bs||(bs={}));var gn;(function(t){function e(i){return i.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}t.fromPlainText=e;function n(i){let r=i;return D.string(r)||D.objectLiteral(r)&&D.string(r.language)&&D.string(r.value)}t.is=n})(gn||(gn={}));var ws;(function(t){function e(n){let i=n;return!!i&&D.objectLiteral(i)&&(Ft.is(i.contents)||gn.is(i.contents)||D.typedArray(i.contents,gn.is))&&(n.range===void 0||X.is(n.range))}t.is=e})(ws||(ws={}));var Xl;(function(t){function e(n,i){return i?{label:n,documentation:i}:{label:n}}t.create=e})(Xl||(Xl={}));var Jl;(function(t){function e(n,i,...r){let s={label:n};return D.defined(i)&&(s.documentation=i),D.defined(r)?s.parameters=r:s.parameters=[],s}t.create=e})(Jl||(Jl={}));var Ut;(function(t){t.Text=1,t.Read=2,t.Write=3})(Ut||(Ut={}));var _s;(function(t){function e(n,i){let r={range:n};return D.number(i)&&(r.kind=i),r}t.create=e})(_s||(_s={}));var bn;(function(t){t.File=1,t.Module=2,t.Namespace=3,t.Package=4,t.Class=5,t.Method=6,t.Property=7,t.Field=8,t.Constructor=9,t.Enum=10,t.Interface=11,t.Function=12,t.Variable=13,t.Constant=14,t.String=15,t.Number=16,t.Boolean=17,t.Array=18,t.Object=19,t.Key=20,t.Null=21,t.EnumMember=22,t.Struct=23,t.Event=24,t.Operator=25,t.TypeParameter=26})(bn||(bn={}));var Ql;(function(t){t.Deprecated=1})(Ql||(Ql={}));var wn;(function(t){function e(n,i,r,s,a){let l={name:n,kind:i,location:{uri:s,range:r}};return a&&(l.containerName=a),l}t.create=e})(wn||(wn={}));var Yl;(function(t){function e(n,i,r,s){return s!==void 0?{name:n,kind:i,location:{uri:r,range:s}}:{name:n,kind:i,location:{uri:r}}}t.create=e})(Yl||(Yl={}));var _n;(function(t){function e(i,r,s,a,l,o){let u={name:i,detail:r,kind:s,range:a,selectionRange:l};return o!==void 0&&(u.children=o),u}t.create=e;function n(i){let r=i;return r&&D.string(r.name)&&D.number(r.kind)&&X.is(r.range)&&X.is(r.selectionRange)&&(r.detail===void 0||D.string(r.detail))&&(r.deprecated===void 0||D.boolean(r.deprecated))&&(r.children===void 0||Array.isArray(r.children))&&(r.tags===void 0||Array.isArray(r.tags))}t.is=n})(_n||(_n={}));var Zl;(function(t){t.Empty="",t.QuickFix="quickfix",t.Refactor="refactor",t.RefactorExtract="refactor.extract",t.RefactorInline="refactor.inline",t.RefactorRewrite="refactor.rewrite",t.Source="source",t.SourceOrganizeImports="source.organizeImports",t.SourceFixAll="source.fixAll"})(Zl||(Zl={}));var Li;(function(t){t.Invoked=1,t.Automatic=2})(Li||(Li={}));var Kl;(function(t){function e(i,r,s){let a={diagnostics:i};return r!=null&&(a.only=r),s!=null&&(a.triggerKind=s),a}t.create=e;function n(i){let r=i;return D.defined(r)&&D.typedArray(r.diagnostics,pn.is)&&(r.only===void 0||D.typedArray(r.only,D.string))&&(r.triggerKind===void 0||r.triggerKind===Li.Invoked||r.triggerKind===Li.Automatic)}t.is=n})(Kl||(Kl={}));var eu;(function(t){function e(i,r,s){let a={title:i},l=!0;return typeof r=="string"?(l=!1,a.kind=r):ft.is(r)?a.command=r:a.edit=r,l&&s!==void 0&&(a.kind=s),a}t.create=e;function n(i){let r=i;return r&&D.string(r.title)&&(r.diagnostics===void 0||D.typedArray(r.diagnostics,pn.is))&&(r.kind===void 0||D.string(r.kind))&&(r.edit!==void 0||r.command!==void 0)&&(r.command===void 0||ft.is(r.command))&&(r.isPreferred===void 0||D.boolean(r.isPreferred))&&(r.edit===void 0||Si.is(r.edit))}t.is=n})(eu||(eu={}));var tu;(function(t){function e(i,r){let s={range:i};return D.defined(r)&&(s.data=r),s}t.create=e;function n(i){let r=i;return D.defined(r)&&X.is(r.range)&&(D.undefined(r.command)||ft.is(r.command))}t.is=n})(tu||(tu={}));var vs;(function(t){function e(i,r){return{tabSize:i,insertSpaces:r}}t.create=e;function n(i){let r=i;return D.defined(r)&&D.uinteger(r.tabSize)&&D.boolean(r.insertSpaces)}t.is=n})(vs||(vs={}));var ys;(function(t){function e(i,r,s){return{range:i,target:r,data:s}}t.create=e;function n(i){let r=i;return D.defined(r)&&X.is(r.range)&&(D.undefined(r.target)||D.string(r.target))}t.is=n})(ys||(ys={}));var Wt;(function(t){function e(i,r){return{range:i,parent:r}}t.create=e;function n(i){let r=i;return D.objectLiteral(r)&&X.is(r.range)&&(r.parent===void 0||t.is(r.parent))}t.is=n})(Wt||(Wt={}));var nu;(function(t){t.namespace="namespace",t.type="type",t.class="class",t.enum="enum",t.interface="interface",t.struct="struct",t.typeParameter="typeParameter",t.parameter="parameter",t.variable="variable",t.property="property",t.enumMember="enumMember",t.event="event",t.function="function",t.method="method",t.macro="macro",t.keyword="keyword",t.modifier="modifier",t.comment="comment",t.string="string",t.number="number",t.regexp="regexp",t.operator="operator",t.decorator="decorator"})(nu||(nu={}));var iu;(function(t){t.declaration="declaration",t.definition="definition",t.readonly="readonly",t.static="static",t.deprecated="deprecated",t.abstract="abstract",t.async="async",t.modification="modification",t.documentation="documentation",t.defaultLibrary="defaultLibrary"})(iu||(iu={}));var ru;(function(t){function e(n){let i=n;return D.objectLiteral(i)&&(i.resultId===void 0||typeof i.resultId=="string")&&Array.isArray(i.data)&&(i.data.length===0||typeof i.data[0]=="number")}t.is=e})(ru||(ru={}));var su;(function(t){function e(i,r){return{range:i,text:r}}t.create=e;function n(i){let r=i;return r!=null&&X.is(r.range)&&D.string(r.text)}t.is=n})(su||(su={}));var au;(function(t){function e(i,r,s){return{range:i,variableName:r,caseSensitiveLookup:s}}t.create=e;function n(i){let r=i;return r!=null&&X.is(r.range)&&D.boolean(r.caseSensitiveLookup)&&(D.string(r.variableName)||r.variableName===void 0)}t.is=n})(au||(au={}));var ou;(function(t){function e(i,r){return{range:i,expression:r}}t.create=e;function n(i){let r=i;return r!=null&&X.is(r.range)&&(D.string(r.expression)||r.expression===void 0)}t.is=n})(ou||(ou={}));var lu;(function(t){function e(i,r){return{frameId:i,stoppedLocation:r}}t.create=e;function n(i){let r=i;return D.defined(r)&&X.is(i.stoppedLocation)}t.is=n})(lu||(lu={}));var xs;(function(t){t.Type=1,t.Parameter=2;function e(n){return n===1||n===2}t.is=e})(xs||(xs={}));var Ts;(function(t){function e(i){return{value:i}}t.create=e;function n(i){let r=i;return D.objectLiteral(r)&&(r.tooltip===void 0||D.string(r.tooltip)||Ft.is(r.tooltip))&&(r.location===void 0||fn.is(r.location))&&(r.command===void 0||ft.is(r.command))}t.is=n})(Ts||(Ts={}));var uu;(function(t){function e(i,r,s){let a={position:i,label:r};return s!==void 0&&(a.kind=s),a}t.create=e;function n(i){let r=i;return D.objectLiteral(r)&&ie.is(r.position)&&(D.string(r.label)||D.typedArray(r.label,Ts.is))&&(r.kind===void 0||xs.is(r.kind))&&r.textEdits===void 0||D.typedArray(r.textEdits,ae.is)&&(r.tooltip===void 0||D.string(r.tooltip)||Ft.is(r.tooltip))&&(r.paddingLeft===void 0||D.boolean(r.paddingLeft))&&(r.paddingRight===void 0||D.boolean(r.paddingRight))}t.is=n})(uu||(uu={}));var cu;(function(t){function e(n){return{kind:"snippet",value:n}}t.createSnippet=e})(cu||(cu={}));var hu;(function(t){function e(n,i,r,s){return{insertText:n,filterText:i,range:r,command:s}}t.create=e})(hu||(hu={}));var du;(function(t){function e(n){return{items:n}}t.create=e})(du||(du={}));var mu;(function(t){t.Invoked=0,t.Automatic=1})(mu||(mu={}));var fu;(function(t){function e(n,i){return{range:n,text:i}}t.create=e})(fu||(fu={}));var pu;(function(t){function e(n,i){return{triggerKind:n,selectedCompletionInfo:i}}t.create=e})(pu||(pu={}));var gu;(function(t){function e(n){let i=n;return D.objectLiteral(i)&&ns.is(i.uri)&&D.string(i.name)}t.is=e})(gu||(gu={}));var bu;(function(t){function e(s,a,l,o){return new ks(s,a,l,o)}t.create=e;function n(s){let a=s;return!!(D.defined(a)&&D.string(a.uri)&&(D.undefined(a.languageId)||D.string(a.languageId))&&D.uinteger(a.lineCount)&&D.func(a.getText)&&D.func(a.positionAt)&&D.func(a.offsetAt))}t.is=n;function i(s,a){let l=s.getText(),o=r(a,(h,d)=>{let m=h.range.start.line-d.range.start.line;return m===0?h.range.start.character-d.range.start.character:m}),u=l.length;for(let h=o.length-1;h>=0;h--){let d=o[h],m=s.offsetAt(d.range.start),f=s.offsetAt(d.range.end);if(f<=u)l=l.substring(0,m)+d.newText+l.substring(f,l.length);else throw new Error("Overlapping edit");u=m}return l}t.applyEdits=i;function r(s,a){if(s.length<=1)return s;let l=s.length/2|0,o=s.slice(0,l),u=s.slice(l);r(o,a),r(u,a);let h=0,d=0,m=0;for(;h<o.length&&d<u.length;)a(o[h],u[d])<=0?s[m++]=o[h++]:s[m++]=u[d++];for(;h<o.length;)s[m++]=o[h++];for(;d<u.length;)s[m++]=u[d++];return s}})(bu||(bu={}));var ks=class{constructor(e,n,i,r){this._uri=e,this._languageId=n,this._version=i,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let n=this.offsetAt(e.start),i=this.offsetAt(e.end);return this._content.substring(n,i)}return this._content}update(e,n){this._content=e.text,this._version=n,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let e=[],n=this._content,i=!0;for(let r=0;r<n.length;r++){i&&(e.push(r),i=!1);let s=n.charAt(r);i=s==="\r"||s===`
|
|
27
31
|
`,s==="\r"&&r+1<n.length&&n.charAt(r+1)===`
|
|
28
|
-
`&&r++}i&&n.length>0&&e.push(n.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let n=this.getLineOffsets(),i=0,r=n.length;if(r===0)return ne.create(0,e);for(;i<r;){let a=Math.floor((i+r)/2);n[a]>e?r=a:i=a+1}let s=i-1;return ne.create(s,e-n[s])}offsetAt(e){let n=this.getLineOffsets();if(e.line>=n.length)return this._content.length;if(e.line<0)return 0;let i=n[e.line],r=e.line+1<n.length?n[e.line+1]:this._content.length;return Math.max(Math.min(i+e.character,r),i)}get lineCount(){return this.getLineOffsets().length}},E;(function(t){let e=Object.prototype.toString;function n(f){return typeof f<"u"}t.defined=n;function i(f){return typeof f>"u"}t.undefined=i;function r(f){return f===!0||f===!1}t.boolean=r;function s(f){return e.call(f)==="[object String]"}t.string=s;function a(f){return e.call(f)==="[object Number]"}t.number=a;function l(f,w,p){return e.call(f)==="[object Number]"&&w<=f&&f<=p}t.numberRange=l;function o(f){return e.call(f)==="[object Number]"&&-2147483648<=f&&f<=2147483647}t.integer=o;function u(f){return e.call(f)==="[object Number]"&&0<=f&&f<=2147483647}t.uinteger=u;function c(f){return e.call(f)==="[object Function]"}t.func=c;function d(f){return f!==null&&typeof f=="object"}t.objectLiteral=d;function m(f,w){return Array.isArray(f)&&f.every(w)}t.typedArray=m})(E||(E={}));var ui=class t{constructor(e,n,i,r){this._uri=e,this._languageId=n,this._version=i,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let n=this.offsetAt(e.start),i=this.offsetAt(e.end);return this._content.substring(n,i)}return this._content}update(e,n){for(let i of e)if(t.isIncremental(i)){let r=Dl(i.range),s=this.offsetAt(r.start),a=this.offsetAt(r.end);this._content=this._content.substring(0,s)+i.text+this._content.substring(a,this._content.length);let l=Math.max(r.start.line,0),o=Math.max(r.end.line,0),u=this._lineOffsets,c=Rl(i.text,!1,s);if(o-l===c.length)for(let m=0,f=c.length;m<f;m++)u[m+l+1]=c[m];else c.length<1e4?u.splice(l+1,o-l,...c):this._lineOffsets=u=u.slice(0,l+1).concat(c,u.slice(o+1));let d=i.text.length-(a-s);if(d!==0)for(let m=l+1+c.length,f=u.length;m<f;m++)u[m]=u[m]+d}else if(t.isFull(i))this._content=i.text,this._lineOffsets=void 0;else throw new Error("Unknown change event received");this._version=n}getLineOffsets(){return this._lineOffsets===void 0&&(this._lineOffsets=Rl(this._content,!0)),this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let n=this.getLineOffsets(),i=0,r=n.length;if(r===0)return{line:0,character:e};for(;i<r;){let a=Math.floor((i+r)/2);n[a]>e?r=a:i=a+1}let s=i-1;return{line:s,character:e-n[s]}}offsetAt(e){let n=this.getLineOffsets();if(e.line>=n.length)return this._content.length;if(e.line<0)return 0;let i=n[e.line],r=e.line+1<n.length?n[e.line+1]:this._content.length;return Math.max(Math.min(i+e.character,r),i)}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){let n=e;return n!=null&&typeof n.text=="string"&&n.range!==void 0&&(n.rangeLength===void 0||typeof n.rangeLength=="number")}static isFull(e){let n=e;return n!=null&&typeof n.text=="string"&&n.range===void 0&&n.rangeLength===void 0}},ln;(function(t){function e(r,s,a,l){return new ui(r,s,a,l)}t.create=e;function n(r,s,a){if(r instanceof ui)return r.update(s,a),r;throw new Error("TextDocument.update: document must be created by TextDocument.create")}t.update=n;function i(r,s){let a=r.getText(),l=Kr(s.map(kc),(c,d)=>{let m=c.range.start.line-d.range.start.line;return m===0?c.range.start.character-d.range.start.character:m}),o=0,u=[];for(let c of l){let d=r.offsetAt(c.range.start);if(d<o)throw new Error("Overlapping edit");d>o&&u.push(a.substring(o,d)),c.newText.length&&u.push(c.newText),o=r.offsetAt(c.range.end)}return u.push(a.substr(o)),u.join("")}t.applyEdits=i})(ln||(ln={}));function Kr(t,e){if(t.length<=1)return t;let n=t.length/2|0,i=t.slice(0,n),r=t.slice(n);Kr(i,e),Kr(r,e);let s=0,a=0,l=0;for(;s<i.length&&a<r.length;)e(i[s],r[a])<=0?t[l++]=i[s++]:t[l++]=r[a++];for(;s<i.length;)t[l++]=i[s++];for(;a<r.length;)t[l++]=r[a++];return t}function Rl(t,e,n=0){let i=e?[n]:[];for(let r=0;r<t.length;r++){let s=t.charCodeAt(r);(s===13||s===10)&&(s===13&&r+1<t.length&&t.charCodeAt(r+1)===10&&r++,i.push(n+r+1))}return i}function Dl(t){let e=t.start,n=t.end;return e.line>n.line||e.line===n.line&&e.character>n.character?{start:n,end:e}:t}function kc(t){let e=Dl(t.range);return e!==t.range?{newText:t.newText,range:e}:t}var I;(function(t){t[t.StartCommentTag=0]="StartCommentTag",t[t.Comment=1]="Comment",t[t.EndCommentTag=2]="EndCommentTag",t[t.StartTagOpen=3]="StartTagOpen",t[t.StartTagClose=4]="StartTagClose",t[t.StartTagSelfClose=5]="StartTagSelfClose",t[t.StartTag=6]="StartTag",t[t.EndTagOpen=7]="EndTagOpen",t[t.EndTagClose=8]="EndTagClose",t[t.EndTag=9]="EndTag",t[t.DelimiterAssign=10]="DelimiterAssign",t[t.AttributeName=11]="AttributeName",t[t.AttributeValue=12]="AttributeValue",t[t.StartDoctypeTag=13]="StartDoctypeTag",t[t.Doctype=14]="Doctype",t[t.EndDoctypeTag=15]="EndDoctypeTag",t[t.Content=16]="Content",t[t.Whitespace=17]="Whitespace",t[t.Unknown=18]="Unknown",t[t.Script=19]="Script",t[t.Styles=20]="Styles",t[t.EOS=21]="EOS"})(I||(I={}));var V;(function(t){t[t.WithinContent=0]="WithinContent",t[t.AfterOpeningStartTag=1]="AfterOpeningStartTag",t[t.AfterOpeningEndTag=2]="AfterOpeningEndTag",t[t.WithinDoctype=3]="WithinDoctype",t[t.WithinTag=4]="WithinTag",t[t.WithinEndTag=5]="WithinEndTag",t[t.WithinComment=6]="WithinComment",t[t.WithinScriptContent=7]="WithinScriptContent",t[t.WithinStyleContent=8]="WithinStyleContent",t[t.AfterAttributeName=9]="AfterAttributeName",t[t.BeforeAttributeValue=10]="BeforeAttributeValue"})(V||(V={}));var es;(function(t){t.LATEST={textDocument:{completion:{completionItem:{documentationFormat:[_e.Markdown,_e.PlainText]}},hover:{contentFormat:[_e.Markdown,_e.PlainText]}}}})(es||(es={}));var un;(function(t){t[t.Unknown=0]="Unknown",t[t.File=1]="File",t[t.Directory=2]="Directory",t[t.SymbolicLink=64]="SymbolicLink"})(un||(un={}));var ns=class{constructor(e,n){this.source=e,this.len=e.length,this.position=n}eos(){return this.len<=this.position}getSource(){return this.source}pos(){return this.position}goBackTo(e){this.position=e}goBack(e){this.position-=e}advance(e){this.position+=e}goToEnd(){this.position=this.source.length}nextChar(){return this.source.charCodeAt(this.position++)||0}peekChar(e=0){return this.source.charCodeAt(this.position+e)||0}advanceIfChar(e){return e===this.source.charCodeAt(this.position)?(this.position++,!0):!1}advanceIfChars(e){let n;if(this.position+e.length>this.source.length)return!1;for(n=0;n<e.length;n++)if(this.source.charCodeAt(this.position+n)!==e[n])return!1;return this.advance(n),!0}advanceIfRegExp(e){let i=this.source.substr(this.position).match(e);return i?(this.position=this.position+i.index+i[0].length,i[0]):""}advanceUntilRegExp(e){let i=this.source.substr(this.position).match(e);return i?(this.position=this.position+i.index,i[0]):(this.goToEnd(),"")}advanceUntilChar(e){for(;this.position<this.source.length;){if(this.source.charCodeAt(this.position)===e)return!0;this.advance(1)}return!1}advanceUntilChars(e){for(;this.position+e.length<=this.source.length;){let n=0;for(;n<e.length&&this.source.charCodeAt(this.position+n)===e[n];n++);if(n===e.length)return!0;this.advance(1)}return this.goToEnd(),!1}skipWhitespace(){return this.advanceWhileChar(n=>n===Mc||n===Nc||n===Ec||n===Dc||n===Rc)>0}advanceWhileChar(e){let n=this.position;for(;this.position<this.len&&e(this.source.charCodeAt(this.position));)this.position++;return this.position-n}},Ml=33,Mt=45,ci=60,Re=62,ts=47,Lc=61,Ac=34,Cc=39,Ec=10,Rc=13,Dc=12,Mc=32,Nc=9,Ic={"text/x-handlebars-template":!0,"text/html":!0};function ae(t,e=0,n=V.WithinContent,i=!1){let r=new ns(t,e),s=n,a=0,l=I.Unknown,o,u,c,d,m;function f(){return r.advanceIfRegExp(/^[_:\w][_:\w-.\d]*/).toLowerCase()}function w(){return r.advanceIfRegExp(/^[^\s"'></=\x00-\x0F\x7F\x80-\x9F]*/).toLowerCase()}function p(y,L,z){return l=L,a=y,o=z,L}function T(){let y=r.pos(),L=s,z=x();return z!==I.EOS&&y===r.pos()&&!(i&&(z===I.StartTagClose||z===I.EndTagClose))?(console.warn("Scanner.scan has not advanced at offset "+y+", state before: "+L+" after: "+s),r.advance(1),p(y,I.Unknown)):z}function x(){let y=r.pos();if(r.eos())return p(y,I.EOS);let L;switch(s){case V.WithinComment:return r.advanceIfChars([Mt,Mt,Re])?(s=V.WithinContent,p(y,I.EndCommentTag)):(r.advanceUntilChars([Mt,Mt,Re]),p(y,I.Comment));case V.WithinDoctype:return r.advanceIfChar(Re)?(s=V.WithinContent,p(y,I.EndDoctypeTag)):(r.advanceUntilChar(Re),p(y,I.Doctype));case V.WithinContent:if(r.advanceIfChar(ci)){if(!r.eos()&&r.peekChar()===Ml){if(r.advanceIfChars([Ml,Mt,Mt]))return s=V.WithinComment,p(y,I.StartCommentTag);if(r.advanceIfRegExp(/^!doctype/i))return s=V.WithinDoctype,p(y,I.StartDoctypeTag)}return r.advanceIfChar(ts)?(s=V.AfterOpeningEndTag,p(y,I.EndTagOpen)):(s=V.AfterOpeningStartTag,p(y,I.StartTagOpen))}return r.advanceUntilChar(ci),p(y,I.Content);case V.AfterOpeningEndTag:return f().length>0?(s=V.WithinEndTag,p(y,I.EndTag)):r.skipWhitespace()?p(y,I.Whitespace,fe("Tag name must directly follow the open bracket.")):(s=V.WithinEndTag,r.advanceUntilChar(Re),y<r.pos()?p(y,I.Unknown,fe("End tag name expected.")):x());case V.WithinEndTag:if(r.skipWhitespace())return p(y,I.Whitespace);if(r.advanceIfChar(Re))return s=V.WithinContent,p(y,I.EndTagClose);if(i&&r.peekChar()===ci)return s=V.WithinContent,p(y,I.EndTagClose,fe("Closing bracket missing."));L=fe("Closing bracket expected.");break;case V.AfterOpeningStartTag:return c=f(),m=void 0,d=void 0,c.length>0?(u=!1,s=V.WithinTag,p(y,I.StartTag)):r.skipWhitespace()?p(y,I.Whitespace,fe("Tag name must directly follow the open bracket.")):(s=V.WithinTag,r.advanceUntilChar(Re),y<r.pos()?p(y,I.Unknown,fe("Start tag name expected.")):x());case V.WithinTag:return r.skipWhitespace()?(u=!0,p(y,I.Whitespace)):u&&(d=w(),d.length>0)?(s=V.AfterAttributeName,u=!1,p(y,I.AttributeName)):r.advanceIfChars([ts,Re])?(s=V.WithinContent,p(y,I.StartTagSelfClose)):r.advanceIfChar(Re)?(c==="script"?m&&Ic[m]?s=V.WithinContent:s=V.WithinScriptContent:c==="style"?s=V.WithinStyleContent:s=V.WithinContent,p(y,I.StartTagClose)):i&&r.peekChar()===ci?(s=V.WithinContent,p(y,I.StartTagClose,fe("Closing bracket missing."))):(r.advance(1),p(y,I.Unknown,fe("Unexpected character in tag.")));case V.AfterAttributeName:return r.skipWhitespace()?(u=!0,p(y,I.Whitespace)):r.advanceIfChar(Lc)?(s=V.BeforeAttributeValue,p(y,I.DelimiterAssign)):(s=V.WithinTag,x());case V.BeforeAttributeValue:if(r.skipWhitespace())return p(y,I.Whitespace);let F=r.advanceIfRegExp(/^[^\s"'`=<>]+/);if(F.length>0&&(r.peekChar()===Re&&r.peekChar(-1)===ts&&(r.goBack(1),F=F.substring(0,F.length-1)),d==="type"&&(m=F),F.length>0))return s=V.WithinTag,u=!1,p(y,I.AttributeValue);let U=r.peekChar();return U===Cc||U===Ac?(r.advance(1),r.advanceUntilChar(U)&&r.advance(1),d==="type"&&(m=r.getSource().substring(y+1,r.pos()-1)),s=V.WithinTag,u=!1,p(y,I.AttributeValue)):(s=V.WithinTag,u=!1,x());case V.WithinScriptContent:let b=1;for(;!r.eos();){let g=r.advanceIfRegExp(/<!--|-->|<\/?script\s*\/?>?/i);if(g.length===0)return r.goToEnd(),p(y,I.Script);if(g==="<!--")b===1&&(b=2);else if(g==="-->")b=1;else if(g[1]!=="/")b===2&&(b=3);else if(b===3)b=2;else{r.goBack(g.length);break}}return s=V.WithinContent,y<r.pos()?p(y,I.Script):x();case V.WithinStyleContent:return r.advanceUntilRegExp(/<\/style/i),s=V.WithinContent,y<r.pos()?p(y,I.Styles):x()}return r.advance(1),s=V.WithinContent,p(y,I.Unknown,L)}return{scan:T,getTokenType:()=>l,getTokenOffset:()=>a,getTokenLength:()=>r.pos()-a,getTokenEnd:()=>r.pos(),getTokenText:()=>r.getSource().substring(a,r.pos()),getScannerState:()=>s,getTokenError:()=>o}}function is(t,e){let n=0,i=t.length;if(i===0)return 0;for(;n<i;){let r=Math.floor((n+i)/2);e(t[r])?i=r:n=r+1}return n}function Nl(t,e,n){let i=0,r=t.length-1;for(;i<=r;){let s=(i+r)/2|0,a=n(t[s],e);if(a<0)i=s+1;else if(a>0)r=s-1;else return s}return-(i+1)}var hi=class{get attributeNames(){return this.attributes?Object.keys(this.attributes):[]}constructor(e,n,i,r){this.start=e,this.end=n,this.children=i,this.parent=r,this.closed=!1}isSameTag(e){return this.tag===void 0?e===void 0:e!==void 0&&this.tag.length===e.length&&this.tag.toLowerCase()===e}get firstChild(){return this.children[0]}get lastChild(){return this.children.length?this.children[this.children.length-1]:void 0}findNodeBefore(e){let n=is(this.children,i=>e<=i.start)-1;if(n>=0){let i=this.children[n];if(e>i.start){if(e<i.end)return i.findNodeBefore(e);let r=i.lastChild;return r&&r.end===i.end?i.findNodeBefore(e):i}}return this}findNodeAt(e){let n=is(this.children,i=>e<=i.start)-1;if(n>=0){let i=this.children[n];if(e>i.start&&e<=i.end)return i.findNodeAt(e)}return this}},di=class{constructor(e){this.dataManager=e}parseDocument(e){return this.parse(e.getText(),this.dataManager.getVoidElements(e.languageId))}parse(e,n){let i=ae(e,void 0,void 0,!0),r=new hi(0,e.length,[],void 0),s=r,a=-1,l,o=null,u=i.scan();for(;u!==I.EOS;){switch(u){case I.StartTagOpen:let c=new hi(i.getTokenOffset(),e.length,[],s);s.children.push(c),s=c;break;case I.StartTag:s.tag=i.getTokenText();break;case I.StartTagClose:s.parent&&(s.end=i.getTokenEnd(),i.getTokenLength()?(s.startTagEnd=i.getTokenEnd(),s.tag&&this.dataManager.isVoidElement(s.tag,n)&&(s.closed=!0,s=s.parent)):s=s.parent);break;case I.StartTagSelfClose:s.parent&&(s.closed=!0,s.end=i.getTokenEnd(),s.startTagEnd=i.getTokenEnd(),s=s.parent);break;case I.EndTagOpen:a=i.getTokenOffset(),l=void 0;break;case I.EndTag:l=i.getTokenText().toLowerCase();break;case I.EndTagClose:let d=s;for(;!d.isSameTag(l)&&d.parent;)d=d.parent;if(d.parent){for(;s!==d;)s.end=a,s.closed=!1,s=s.parent;s.closed=!0,s.endTagStart=a,s.end=i.getTokenEnd(),s=s.parent}break;case I.AttributeName:{o=i.getTokenText();let m=s.attributes;m||(s.attributes=m={}),m[o]=null;break}case I.AttributeValue:{let m=i.getTokenText(),f=s.attributes;f&&o&&(f[o]=m,o=null);break}}u=i.scan()}for(;s.parent;)s.end=e.length,s.closed=!1,s=s.parent;return{roots:r.children,findNodeBefore:r.findNodeBefore.bind(r),findNodeAt:r.findNodeAt.bind(r)}}};var ht={"Aacute;":"\xC1",Aacute:"\xC1","aacute;":"\xE1",aacute:"\xE1","Abreve;":"\u0102","abreve;":"\u0103","ac;":"\u223E","acd;":"\u223F","acE;":"\u223E\u0333","Acirc;":"\xC2",Acirc:"\xC2","acirc;":"\xE2",acirc:"\xE2","acute;":"\xB4",acute:"\xB4","Acy;":"\u0410","acy;":"\u0430","AElig;":"\xC6",AElig:"\xC6","aelig;":"\xE6",aelig:"\xE6","af;":"\u2061","Afr;":"\u{1D504}","afr;":"\u{1D51E}","Agrave;":"\xC0",Agrave:"\xC0","agrave;":"\xE0",agrave:"\xE0","alefsym;":"\u2135","aleph;":"\u2135","Alpha;":"\u0391","alpha;":"\u03B1","Amacr;":"\u0100","amacr;":"\u0101","amalg;":"\u2A3F","AMP;":"&",AMP:"&","amp;":"&",amp:"&","And;":"\u2A53","and;":"\u2227","andand;":"\u2A55","andd;":"\u2A5C","andslope;":"\u2A58","andv;":"\u2A5A","ang;":"\u2220","ange;":"\u29A4","angle;":"\u2220","angmsd;":"\u2221","angmsdaa;":"\u29A8","angmsdab;":"\u29A9","angmsdac;":"\u29AA","angmsdad;":"\u29AB","angmsdae;":"\u29AC","angmsdaf;":"\u29AD","angmsdag;":"\u29AE","angmsdah;":"\u29AF","angrt;":"\u221F","angrtvb;":"\u22BE","angrtvbd;":"\u299D","angsph;":"\u2222","angst;":"\xC5","angzarr;":"\u237C","Aogon;":"\u0104","aogon;":"\u0105","Aopf;":"\u{1D538}","aopf;":"\u{1D552}","ap;":"\u2248","apacir;":"\u2A6F","apE;":"\u2A70","ape;":"\u224A","apid;":"\u224B","apos;":"'","ApplyFunction;":"\u2061","approx;":"\u2248","approxeq;":"\u224A","Aring;":"\xC5",Aring:"\xC5","aring;":"\xE5",aring:"\xE5","Ascr;":"\u{1D49C}","ascr;":"\u{1D4B6}","Assign;":"\u2254","ast;":"*","asymp;":"\u2248","asympeq;":"\u224D","Atilde;":"\xC3",Atilde:"\xC3","atilde;":"\xE3",atilde:"\xE3","Auml;":"\xC4",Auml:"\xC4","auml;":"\xE4",auml:"\xE4","awconint;":"\u2233","awint;":"\u2A11","backcong;":"\u224C","backepsilon;":"\u03F6","backprime;":"\u2035","backsim;":"\u223D","backsimeq;":"\u22CD","Backslash;":"\u2216","Barv;":"\u2AE7","barvee;":"\u22BD","Barwed;":"\u2306","barwed;":"\u2305","barwedge;":"\u2305","bbrk;":"\u23B5","bbrktbrk;":"\u23B6","bcong;":"\u224C","Bcy;":"\u0411","bcy;":"\u0431","bdquo;":"\u201E","becaus;":"\u2235","Because;":"\u2235","because;":"\u2235","bemptyv;":"\u29B0","bepsi;":"\u03F6","bernou;":"\u212C","Bernoullis;":"\u212C","Beta;":"\u0392","beta;":"\u03B2","beth;":"\u2136","between;":"\u226C","Bfr;":"\u{1D505}","bfr;":"\u{1D51F}","bigcap;":"\u22C2","bigcirc;":"\u25EF","bigcup;":"\u22C3","bigodot;":"\u2A00","bigoplus;":"\u2A01","bigotimes;":"\u2A02","bigsqcup;":"\u2A06","bigstar;":"\u2605","bigtriangledown;":"\u25BD","bigtriangleup;":"\u25B3","biguplus;":"\u2A04","bigvee;":"\u22C1","bigwedge;":"\u22C0","bkarow;":"\u290D","blacklozenge;":"\u29EB","blacksquare;":"\u25AA","blacktriangle;":"\u25B4","blacktriangledown;":"\u25BE","blacktriangleleft;":"\u25C2","blacktriangleright;":"\u25B8","blank;":"\u2423","blk12;":"\u2592","blk14;":"\u2591","blk34;":"\u2593","block;":"\u2588","bne;":"=\u20E5","bnequiv;":"\u2261\u20E5","bNot;":"\u2AED","bnot;":"\u2310","Bopf;":"\u{1D539}","bopf;":"\u{1D553}","bot;":"\u22A5","bottom;":"\u22A5","bowtie;":"\u22C8","boxbox;":"\u29C9","boxDL;":"\u2557","boxDl;":"\u2556","boxdL;":"\u2555","boxdl;":"\u2510","boxDR;":"\u2554","boxDr;":"\u2553","boxdR;":"\u2552","boxdr;":"\u250C","boxH;":"\u2550","boxh;":"\u2500","boxHD;":"\u2566","boxHd;":"\u2564","boxhD;":"\u2565","boxhd;":"\u252C","boxHU;":"\u2569","boxHu;":"\u2567","boxhU;":"\u2568","boxhu;":"\u2534","boxminus;":"\u229F","boxplus;":"\u229E","boxtimes;":"\u22A0","boxUL;":"\u255D","boxUl;":"\u255C","boxuL;":"\u255B","boxul;":"\u2518","boxUR;":"\u255A","boxUr;":"\u2559","boxuR;":"\u2558","boxur;":"\u2514","boxV;":"\u2551","boxv;":"\u2502","boxVH;":"\u256C","boxVh;":"\u256B","boxvH;":"\u256A","boxvh;":"\u253C","boxVL;":"\u2563","boxVl;":"\u2562","boxvL;":"\u2561","boxvl;":"\u2524","boxVR;":"\u2560","boxVr;":"\u255F","boxvR;":"\u255E","boxvr;":"\u251C","bprime;":"\u2035","Breve;":"\u02D8","breve;":"\u02D8","brvbar;":"\xA6",brvbar:"\xA6","Bscr;":"\u212C","bscr;":"\u{1D4B7}","bsemi;":"\u204F","bsim;":"\u223D","bsime;":"\u22CD","bsol;":"\\","bsolb;":"\u29C5","bsolhsub;":"\u27C8","bull;":"\u2022","bullet;":"\u2022","bump;":"\u224E","bumpE;":"\u2AAE","bumpe;":"\u224F","Bumpeq;":"\u224E","bumpeq;":"\u224F","Cacute;":"\u0106","cacute;":"\u0107","Cap;":"\u22D2","cap;":"\u2229","capand;":"\u2A44","capbrcup;":"\u2A49","capcap;":"\u2A4B","capcup;":"\u2A47","capdot;":"\u2A40","CapitalDifferentialD;":"\u2145","caps;":"\u2229\uFE00","caret;":"\u2041","caron;":"\u02C7","Cayleys;":"\u212D","ccaps;":"\u2A4D","Ccaron;":"\u010C","ccaron;":"\u010D","Ccedil;":"\xC7",Ccedil:"\xC7","ccedil;":"\xE7",ccedil:"\xE7","Ccirc;":"\u0108","ccirc;":"\u0109","Cconint;":"\u2230","ccups;":"\u2A4C","ccupssm;":"\u2A50","Cdot;":"\u010A","cdot;":"\u010B","cedil;":"\xB8",cedil:"\xB8","Cedilla;":"\xB8","cemptyv;":"\u29B2","cent;":"\xA2",cent:"\xA2","CenterDot;":"\xB7","centerdot;":"\xB7","Cfr;":"\u212D","cfr;":"\u{1D520}","CHcy;":"\u0427","chcy;":"\u0447","check;":"\u2713","checkmark;":"\u2713","Chi;":"\u03A7","chi;":"\u03C7","cir;":"\u25CB","circ;":"\u02C6","circeq;":"\u2257","circlearrowleft;":"\u21BA","circlearrowright;":"\u21BB","circledast;":"\u229B","circledcirc;":"\u229A","circleddash;":"\u229D","CircleDot;":"\u2299","circledR;":"\xAE","circledS;":"\u24C8","CircleMinus;":"\u2296","CirclePlus;":"\u2295","CircleTimes;":"\u2297","cirE;":"\u29C3","cire;":"\u2257","cirfnint;":"\u2A10","cirmid;":"\u2AEF","cirscir;":"\u29C2","ClockwiseContourIntegral;":"\u2232","CloseCurlyDoubleQuote;":"\u201D","CloseCurlyQuote;":"\u2019","clubs;":"\u2663","clubsuit;":"\u2663","Colon;":"\u2237","colon;":":","Colone;":"\u2A74","colone;":"\u2254","coloneq;":"\u2254","comma;":",","commat;":"@","comp;":"\u2201","compfn;":"\u2218","complement;":"\u2201","complexes;":"\u2102","cong;":"\u2245","congdot;":"\u2A6D","Congruent;":"\u2261","Conint;":"\u222F","conint;":"\u222E","ContourIntegral;":"\u222E","Copf;":"\u2102","copf;":"\u{1D554}","coprod;":"\u2210","Coproduct;":"\u2210","COPY;":"\xA9",COPY:"\xA9","copy;":"\xA9",copy:"\xA9","copysr;":"\u2117","CounterClockwiseContourIntegral;":"\u2233","crarr;":"\u21B5","Cross;":"\u2A2F","cross;":"\u2717","Cscr;":"\u{1D49E}","cscr;":"\u{1D4B8}","csub;":"\u2ACF","csube;":"\u2AD1","csup;":"\u2AD0","csupe;":"\u2AD2","ctdot;":"\u22EF","cudarrl;":"\u2938","cudarrr;":"\u2935","cuepr;":"\u22DE","cuesc;":"\u22DF","cularr;":"\u21B6","cularrp;":"\u293D","Cup;":"\u22D3","cup;":"\u222A","cupbrcap;":"\u2A48","CupCap;":"\u224D","cupcap;":"\u2A46","cupcup;":"\u2A4A","cupdot;":"\u228D","cupor;":"\u2A45","cups;":"\u222A\uFE00","curarr;":"\u21B7","curarrm;":"\u293C","curlyeqprec;":"\u22DE","curlyeqsucc;":"\u22DF","curlyvee;":"\u22CE","curlywedge;":"\u22CF","curren;":"\xA4",curren:"\xA4","curvearrowleft;":"\u21B6","curvearrowright;":"\u21B7","cuvee;":"\u22CE","cuwed;":"\u22CF","cwconint;":"\u2232","cwint;":"\u2231","cylcty;":"\u232D","Dagger;":"\u2021","dagger;":"\u2020","daleth;":"\u2138","Darr;":"\u21A1","dArr;":"\u21D3","darr;":"\u2193","dash;":"\u2010","Dashv;":"\u2AE4","dashv;":"\u22A3","dbkarow;":"\u290F","dblac;":"\u02DD","Dcaron;":"\u010E","dcaron;":"\u010F","Dcy;":"\u0414","dcy;":"\u0434","DD;":"\u2145","dd;":"\u2146","ddagger;":"\u2021","ddarr;":"\u21CA","DDotrahd;":"\u2911","ddotseq;":"\u2A77","deg;":"\xB0",deg:"\xB0","Del;":"\u2207","Delta;":"\u0394","delta;":"\u03B4","demptyv;":"\u29B1","dfisht;":"\u297F","Dfr;":"\u{1D507}","dfr;":"\u{1D521}","dHar;":"\u2965","dharl;":"\u21C3","dharr;":"\u21C2","DiacriticalAcute;":"\xB4","DiacriticalDot;":"\u02D9","DiacriticalDoubleAcute;":"\u02DD","DiacriticalGrave;":"`","DiacriticalTilde;":"\u02DC","diam;":"\u22C4","Diamond;":"\u22C4","diamond;":"\u22C4","diamondsuit;":"\u2666","diams;":"\u2666","die;":"\xA8","DifferentialD;":"\u2146","digamma;":"\u03DD","disin;":"\u22F2","div;":"\xF7","divide;":"\xF7",divide:"\xF7","divideontimes;":"\u22C7","divonx;":"\u22C7","DJcy;":"\u0402","djcy;":"\u0452","dlcorn;":"\u231E","dlcrop;":"\u230D","dollar;":"$","Dopf;":"\u{1D53B}","dopf;":"\u{1D555}","Dot;":"\xA8","dot;":"\u02D9","DotDot;":"\u20DC","doteq;":"\u2250","doteqdot;":"\u2251","DotEqual;":"\u2250","dotminus;":"\u2238","dotplus;":"\u2214","dotsquare;":"\u22A1","doublebarwedge;":"\u2306","DoubleContourIntegral;":"\u222F","DoubleDot;":"\xA8","DoubleDownArrow;":"\u21D3","DoubleLeftArrow;":"\u21D0","DoubleLeftRightArrow;":"\u21D4","DoubleLeftTee;":"\u2AE4","DoubleLongLeftArrow;":"\u27F8","DoubleLongLeftRightArrow;":"\u27FA","DoubleLongRightArrow;":"\u27F9","DoubleRightArrow;":"\u21D2","DoubleRightTee;":"\u22A8","DoubleUpArrow;":"\u21D1","DoubleUpDownArrow;":"\u21D5","DoubleVerticalBar;":"\u2225","DownArrow;":"\u2193","Downarrow;":"\u21D3","downarrow;":"\u2193","DownArrowBar;":"\u2913","DownArrowUpArrow;":"\u21F5","DownBreve;":"\u0311","downdownarrows;":"\u21CA","downharpoonleft;":"\u21C3","downharpoonright;":"\u21C2","DownLeftRightVector;":"\u2950","DownLeftTeeVector;":"\u295E","DownLeftVector;":"\u21BD","DownLeftVectorBar;":"\u2956","DownRightTeeVector;":"\u295F","DownRightVector;":"\u21C1","DownRightVectorBar;":"\u2957","DownTee;":"\u22A4","DownTeeArrow;":"\u21A7","drbkarow;":"\u2910","drcorn;":"\u231F","drcrop;":"\u230C","Dscr;":"\u{1D49F}","dscr;":"\u{1D4B9}","DScy;":"\u0405","dscy;":"\u0455","dsol;":"\u29F6","Dstrok;":"\u0110","dstrok;":"\u0111","dtdot;":"\u22F1","dtri;":"\u25BF","dtrif;":"\u25BE","duarr;":"\u21F5","duhar;":"\u296F","dwangle;":"\u29A6","DZcy;":"\u040F","dzcy;":"\u045F","dzigrarr;":"\u27FF","Eacute;":"\xC9",Eacute:"\xC9","eacute;":"\xE9",eacute:"\xE9","easter;":"\u2A6E","Ecaron;":"\u011A","ecaron;":"\u011B","ecir;":"\u2256","Ecirc;":"\xCA",Ecirc:"\xCA","ecirc;":"\xEA",ecirc:"\xEA","ecolon;":"\u2255","Ecy;":"\u042D","ecy;":"\u044D","eDDot;":"\u2A77","Edot;":"\u0116","eDot;":"\u2251","edot;":"\u0117","ee;":"\u2147","efDot;":"\u2252","Efr;":"\u{1D508}","efr;":"\u{1D522}","eg;":"\u2A9A","Egrave;":"\xC8",Egrave:"\xC8","egrave;":"\xE8",egrave:"\xE8","egs;":"\u2A96","egsdot;":"\u2A98","el;":"\u2A99","Element;":"\u2208","elinters;":"\u23E7","ell;":"\u2113","els;":"\u2A95","elsdot;":"\u2A97","Emacr;":"\u0112","emacr;":"\u0113","empty;":"\u2205","emptyset;":"\u2205","EmptySmallSquare;":"\u25FB","emptyv;":"\u2205","EmptyVerySmallSquare;":"\u25AB","emsp;":"\u2003","emsp13;":"\u2004","emsp14;":"\u2005","ENG;":"\u014A","eng;":"\u014B","ensp;":"\u2002","Eogon;":"\u0118","eogon;":"\u0119","Eopf;":"\u{1D53C}","eopf;":"\u{1D556}","epar;":"\u22D5","eparsl;":"\u29E3","eplus;":"\u2A71","epsi;":"\u03B5","Epsilon;":"\u0395","epsilon;":"\u03B5","epsiv;":"\u03F5","eqcirc;":"\u2256","eqcolon;":"\u2255","eqsim;":"\u2242","eqslantgtr;":"\u2A96","eqslantless;":"\u2A95","Equal;":"\u2A75","equals;":"=","EqualTilde;":"\u2242","equest;":"\u225F","Equilibrium;":"\u21CC","equiv;":"\u2261","equivDD;":"\u2A78","eqvparsl;":"\u29E5","erarr;":"\u2971","erDot;":"\u2253","Escr;":"\u2130","escr;":"\u212F","esdot;":"\u2250","Esim;":"\u2A73","esim;":"\u2242","Eta;":"\u0397","eta;":"\u03B7","ETH;":"\xD0",ETH:"\xD0","eth;":"\xF0",eth:"\xF0","Euml;":"\xCB",Euml:"\xCB","euml;":"\xEB",euml:"\xEB","euro;":"\u20AC","excl;":"!","exist;":"\u2203","Exists;":"\u2203","expectation;":"\u2130","ExponentialE;":"\u2147","exponentiale;":"\u2147","fallingdotseq;":"\u2252","Fcy;":"\u0424","fcy;":"\u0444","female;":"\u2640","ffilig;":"\uFB03","fflig;":"\uFB00","ffllig;":"\uFB04","Ffr;":"\u{1D509}","ffr;":"\u{1D523}","filig;":"\uFB01","FilledSmallSquare;":"\u25FC","FilledVerySmallSquare;":"\u25AA","fjlig;":"fj","flat;":"\u266D","fllig;":"\uFB02","fltns;":"\u25B1","fnof;":"\u0192","Fopf;":"\u{1D53D}","fopf;":"\u{1D557}","ForAll;":"\u2200","forall;":"\u2200","fork;":"\u22D4","forkv;":"\u2AD9","Fouriertrf;":"\u2131","fpartint;":"\u2A0D","frac12;":"\xBD",frac12:"\xBD","frac13;":"\u2153","frac14;":"\xBC",frac14:"\xBC","frac15;":"\u2155","frac16;":"\u2159","frac18;":"\u215B","frac23;":"\u2154","frac25;":"\u2156","frac34;":"\xBE",frac34:"\xBE","frac35;":"\u2157","frac38;":"\u215C","frac45;":"\u2158","frac56;":"\u215A","frac58;":"\u215D","frac78;":"\u215E","frasl;":"\u2044","frown;":"\u2322","Fscr;":"\u2131","fscr;":"\u{1D4BB}","gacute;":"\u01F5","Gamma;":"\u0393","gamma;":"\u03B3","Gammad;":"\u03DC","gammad;":"\u03DD","gap;":"\u2A86","Gbreve;":"\u011E","gbreve;":"\u011F","Gcedil;":"\u0122","Gcirc;":"\u011C","gcirc;":"\u011D","Gcy;":"\u0413","gcy;":"\u0433","Gdot;":"\u0120","gdot;":"\u0121","gE;":"\u2267","ge;":"\u2265","gEl;":"\u2A8C","gel;":"\u22DB","geq;":"\u2265","geqq;":"\u2267","geqslant;":"\u2A7E","ges;":"\u2A7E","gescc;":"\u2AA9","gesdot;":"\u2A80","gesdoto;":"\u2A82","gesdotol;":"\u2A84","gesl;":"\u22DB\uFE00","gesles;":"\u2A94","Gfr;":"\u{1D50A}","gfr;":"\u{1D524}","Gg;":"\u22D9","gg;":"\u226B","ggg;":"\u22D9","gimel;":"\u2137","GJcy;":"\u0403","gjcy;":"\u0453","gl;":"\u2277","gla;":"\u2AA5","glE;":"\u2A92","glj;":"\u2AA4","gnap;":"\u2A8A","gnapprox;":"\u2A8A","gnE;":"\u2269","gne;":"\u2A88","gneq;":"\u2A88","gneqq;":"\u2269","gnsim;":"\u22E7","Gopf;":"\u{1D53E}","gopf;":"\u{1D558}","grave;":"`","GreaterEqual;":"\u2265","GreaterEqualLess;":"\u22DB","GreaterFullEqual;":"\u2267","GreaterGreater;":"\u2AA2","GreaterLess;":"\u2277","GreaterSlantEqual;":"\u2A7E","GreaterTilde;":"\u2273","Gscr;":"\u{1D4A2}","gscr;":"\u210A","gsim;":"\u2273","gsime;":"\u2A8E","gsiml;":"\u2A90","GT;":">",GT:">","Gt;":"\u226B","gt;":">",gt:">","gtcc;":"\u2AA7","gtcir;":"\u2A7A","gtdot;":"\u22D7","gtlPar;":"\u2995","gtquest;":"\u2A7C","gtrapprox;":"\u2A86","gtrarr;":"\u2978","gtrdot;":"\u22D7","gtreqless;":"\u22DB","gtreqqless;":"\u2A8C","gtrless;":"\u2277","gtrsim;":"\u2273","gvertneqq;":"\u2269\uFE00","gvnE;":"\u2269\uFE00","Hacek;":"\u02C7","hairsp;":"\u200A","half;":"\xBD","hamilt;":"\u210B","HARDcy;":"\u042A","hardcy;":"\u044A","hArr;":"\u21D4","harr;":"\u2194","harrcir;":"\u2948","harrw;":"\u21AD","Hat;":"^","hbar;":"\u210F","Hcirc;":"\u0124","hcirc;":"\u0125","hearts;":"\u2665","heartsuit;":"\u2665","hellip;":"\u2026","hercon;":"\u22B9","Hfr;":"\u210C","hfr;":"\u{1D525}","HilbertSpace;":"\u210B","hksearow;":"\u2925","hkswarow;":"\u2926","hoarr;":"\u21FF","homtht;":"\u223B","hookleftarrow;":"\u21A9","hookrightarrow;":"\u21AA","Hopf;":"\u210D","hopf;":"\u{1D559}","horbar;":"\u2015","HorizontalLine;":"\u2500","Hscr;":"\u210B","hscr;":"\u{1D4BD}","hslash;":"\u210F","Hstrok;":"\u0126","hstrok;":"\u0127","HumpDownHump;":"\u224E","HumpEqual;":"\u224F","hybull;":"\u2043","hyphen;":"\u2010","Iacute;":"\xCD",Iacute:"\xCD","iacute;":"\xED",iacute:"\xED","ic;":"\u2063","Icirc;":"\xCE",Icirc:"\xCE","icirc;":"\xEE",icirc:"\xEE","Icy;":"\u0418","icy;":"\u0438","Idot;":"\u0130","IEcy;":"\u0415","iecy;":"\u0435","iexcl;":"\xA1",iexcl:"\xA1","iff;":"\u21D4","Ifr;":"\u2111","ifr;":"\u{1D526}","Igrave;":"\xCC",Igrave:"\xCC","igrave;":"\xEC",igrave:"\xEC","ii;":"\u2148","iiiint;":"\u2A0C","iiint;":"\u222D","iinfin;":"\u29DC","iiota;":"\u2129","IJlig;":"\u0132","ijlig;":"\u0133","Im;":"\u2111","Imacr;":"\u012A","imacr;":"\u012B","image;":"\u2111","ImaginaryI;":"\u2148","imagline;":"\u2110","imagpart;":"\u2111","imath;":"\u0131","imof;":"\u22B7","imped;":"\u01B5","Implies;":"\u21D2","in;":"\u2208","incare;":"\u2105","infin;":"\u221E","infintie;":"\u29DD","inodot;":"\u0131","Int;":"\u222C","int;":"\u222B","intcal;":"\u22BA","integers;":"\u2124","Integral;":"\u222B","intercal;":"\u22BA","Intersection;":"\u22C2","intlarhk;":"\u2A17","intprod;":"\u2A3C","InvisibleComma;":"\u2063","InvisibleTimes;":"\u2062","IOcy;":"\u0401","iocy;":"\u0451","Iogon;":"\u012E","iogon;":"\u012F","Iopf;":"\u{1D540}","iopf;":"\u{1D55A}","Iota;":"\u0399","iota;":"\u03B9","iprod;":"\u2A3C","iquest;":"\xBF",iquest:"\xBF","Iscr;":"\u2110","iscr;":"\u{1D4BE}","isin;":"\u2208","isindot;":"\u22F5","isinE;":"\u22F9","isins;":"\u22F4","isinsv;":"\u22F3","isinv;":"\u2208","it;":"\u2062","Itilde;":"\u0128","itilde;":"\u0129","Iukcy;":"\u0406","iukcy;":"\u0456","Iuml;":"\xCF",Iuml:"\xCF","iuml;":"\xEF",iuml:"\xEF","Jcirc;":"\u0134","jcirc;":"\u0135","Jcy;":"\u0419","jcy;":"\u0439","Jfr;":"\u{1D50D}","jfr;":"\u{1D527}","jmath;":"\u0237","Jopf;":"\u{1D541}","jopf;":"\u{1D55B}","Jscr;":"\u{1D4A5}","jscr;":"\u{1D4BF}","Jsercy;":"\u0408","jsercy;":"\u0458","Jukcy;":"\u0404","jukcy;":"\u0454","Kappa;":"\u039A","kappa;":"\u03BA","kappav;":"\u03F0","Kcedil;":"\u0136","kcedil;":"\u0137","Kcy;":"\u041A","kcy;":"\u043A","Kfr;":"\u{1D50E}","kfr;":"\u{1D528}","kgreen;":"\u0138","KHcy;":"\u0425","khcy;":"\u0445","KJcy;":"\u040C","kjcy;":"\u045C","Kopf;":"\u{1D542}","kopf;":"\u{1D55C}","Kscr;":"\u{1D4A6}","kscr;":"\u{1D4C0}","lAarr;":"\u21DA","Lacute;":"\u0139","lacute;":"\u013A","laemptyv;":"\u29B4","lagran;":"\u2112","Lambda;":"\u039B","lambda;":"\u03BB","Lang;":"\u27EA","lang;":"\u27E8","langd;":"\u2991","langle;":"\u27E8","lap;":"\u2A85","Laplacetrf;":"\u2112","laquo;":"\xAB",laquo:"\xAB","Larr;":"\u219E","lArr;":"\u21D0","larr;":"\u2190","larrb;":"\u21E4","larrbfs;":"\u291F","larrfs;":"\u291D","larrhk;":"\u21A9","larrlp;":"\u21AB","larrpl;":"\u2939","larrsim;":"\u2973","larrtl;":"\u21A2","lat;":"\u2AAB","lAtail;":"\u291B","latail;":"\u2919","late;":"\u2AAD","lates;":"\u2AAD\uFE00","lBarr;":"\u290E","lbarr;":"\u290C","lbbrk;":"\u2772","lbrace;":"{","lbrack;":"[","lbrke;":"\u298B","lbrksld;":"\u298F","lbrkslu;":"\u298D","Lcaron;":"\u013D","lcaron;":"\u013E","Lcedil;":"\u013B","lcedil;":"\u013C","lceil;":"\u2308","lcub;":"{","Lcy;":"\u041B","lcy;":"\u043B","ldca;":"\u2936","ldquo;":"\u201C","ldquor;":"\u201E","ldrdhar;":"\u2967","ldrushar;":"\u294B","ldsh;":"\u21B2","lE;":"\u2266","le;":"\u2264","LeftAngleBracket;":"\u27E8","LeftArrow;":"\u2190","Leftarrow;":"\u21D0","leftarrow;":"\u2190","LeftArrowBar;":"\u21E4","LeftArrowRightArrow;":"\u21C6","leftarrowtail;":"\u21A2","LeftCeiling;":"\u2308","LeftDoubleBracket;":"\u27E6","LeftDownTeeVector;":"\u2961","LeftDownVector;":"\u21C3","LeftDownVectorBar;":"\u2959","LeftFloor;":"\u230A","leftharpoondown;":"\u21BD","leftharpoonup;":"\u21BC","leftleftarrows;":"\u21C7","LeftRightArrow;":"\u2194","Leftrightarrow;":"\u21D4","leftrightarrow;":"\u2194","leftrightarrows;":"\u21C6","leftrightharpoons;":"\u21CB","leftrightsquigarrow;":"\u21AD","LeftRightVector;":"\u294E","LeftTee;":"\u22A3","LeftTeeArrow;":"\u21A4","LeftTeeVector;":"\u295A","leftthreetimes;":"\u22CB","LeftTriangle;":"\u22B2","LeftTriangleBar;":"\u29CF","LeftTriangleEqual;":"\u22B4","LeftUpDownVector;":"\u2951","LeftUpTeeVector;":"\u2960","LeftUpVector;":"\u21BF","LeftUpVectorBar;":"\u2958","LeftVector;":"\u21BC","LeftVectorBar;":"\u2952","lEg;":"\u2A8B","leg;":"\u22DA","leq;":"\u2264","leqq;":"\u2266","leqslant;":"\u2A7D","les;":"\u2A7D","lescc;":"\u2AA8","lesdot;":"\u2A7F","lesdoto;":"\u2A81","lesdotor;":"\u2A83","lesg;":"\u22DA\uFE00","lesges;":"\u2A93","lessapprox;":"\u2A85","lessdot;":"\u22D6","lesseqgtr;":"\u22DA","lesseqqgtr;":"\u2A8B","LessEqualGreater;":"\u22DA","LessFullEqual;":"\u2266","LessGreater;":"\u2276","lessgtr;":"\u2276","LessLess;":"\u2AA1","lesssim;":"\u2272","LessSlantEqual;":"\u2A7D","LessTilde;":"\u2272","lfisht;":"\u297C","lfloor;":"\u230A","Lfr;":"\u{1D50F}","lfr;":"\u{1D529}","lg;":"\u2276","lgE;":"\u2A91","lHar;":"\u2962","lhard;":"\u21BD","lharu;":"\u21BC","lharul;":"\u296A","lhblk;":"\u2584","LJcy;":"\u0409","ljcy;":"\u0459","Ll;":"\u22D8","ll;":"\u226A","llarr;":"\u21C7","llcorner;":"\u231E","Lleftarrow;":"\u21DA","llhard;":"\u296B","lltri;":"\u25FA","Lmidot;":"\u013F","lmidot;":"\u0140","lmoust;":"\u23B0","lmoustache;":"\u23B0","lnap;":"\u2A89","lnapprox;":"\u2A89","lnE;":"\u2268","lne;":"\u2A87","lneq;":"\u2A87","lneqq;":"\u2268","lnsim;":"\u22E6","loang;":"\u27EC","loarr;":"\u21FD","lobrk;":"\u27E6","LongLeftArrow;":"\u27F5","Longleftarrow;":"\u27F8","longleftarrow;":"\u27F5","LongLeftRightArrow;":"\u27F7","Longleftrightarrow;":"\u27FA","longleftrightarrow;":"\u27F7","longmapsto;":"\u27FC","LongRightArrow;":"\u27F6","Longrightarrow;":"\u27F9","longrightarrow;":"\u27F6","looparrowleft;":"\u21AB","looparrowright;":"\u21AC","lopar;":"\u2985","Lopf;":"\u{1D543}","lopf;":"\u{1D55D}","loplus;":"\u2A2D","lotimes;":"\u2A34","lowast;":"\u2217","lowbar;":"_","LowerLeftArrow;":"\u2199","LowerRightArrow;":"\u2198","loz;":"\u25CA","lozenge;":"\u25CA","lozf;":"\u29EB","lpar;":"(","lparlt;":"\u2993","lrarr;":"\u21C6","lrcorner;":"\u231F","lrhar;":"\u21CB","lrhard;":"\u296D","lrm;":"\u200E","lrtri;":"\u22BF","lsaquo;":"\u2039","Lscr;":"\u2112","lscr;":"\u{1D4C1}","Lsh;":"\u21B0","lsh;":"\u21B0","lsim;":"\u2272","lsime;":"\u2A8D","lsimg;":"\u2A8F","lsqb;":"[","lsquo;":"\u2018","lsquor;":"\u201A","Lstrok;":"\u0141","lstrok;":"\u0142","LT;":"<",LT:"<","Lt;":"\u226A","lt;":"<",lt:"<","ltcc;":"\u2AA6","ltcir;":"\u2A79","ltdot;":"\u22D6","lthree;":"\u22CB","ltimes;":"\u22C9","ltlarr;":"\u2976","ltquest;":"\u2A7B","ltri;":"\u25C3","ltrie;":"\u22B4","ltrif;":"\u25C2","ltrPar;":"\u2996","lurdshar;":"\u294A","luruhar;":"\u2966","lvertneqq;":"\u2268\uFE00","lvnE;":"\u2268\uFE00","macr;":"\xAF",macr:"\xAF","male;":"\u2642","malt;":"\u2720","maltese;":"\u2720","Map;":"\u2905","map;":"\u21A6","mapsto;":"\u21A6","mapstodown;":"\u21A7","mapstoleft;":"\u21A4","mapstoup;":"\u21A5","marker;":"\u25AE","mcomma;":"\u2A29","Mcy;":"\u041C","mcy;":"\u043C","mdash;":"\u2014","mDDot;":"\u223A","measuredangle;":"\u2221","MediumSpace;":"\u205F","Mellintrf;":"\u2133","Mfr;":"\u{1D510}","mfr;":"\u{1D52A}","mho;":"\u2127","micro;":"\xB5",micro:"\xB5","mid;":"\u2223","midast;":"*","midcir;":"\u2AF0","middot;":"\xB7",middot:"\xB7","minus;":"\u2212","minusb;":"\u229F","minusd;":"\u2238","minusdu;":"\u2A2A","MinusPlus;":"\u2213","mlcp;":"\u2ADB","mldr;":"\u2026","mnplus;":"\u2213","models;":"\u22A7","Mopf;":"\u{1D544}","mopf;":"\u{1D55E}","mp;":"\u2213","Mscr;":"\u2133","mscr;":"\u{1D4C2}","mstpos;":"\u223E","Mu;":"\u039C","mu;":"\u03BC","multimap;":"\u22B8","mumap;":"\u22B8","nabla;":"\u2207","Nacute;":"\u0143","nacute;":"\u0144","nang;":"\u2220\u20D2","nap;":"\u2249","napE;":"\u2A70\u0338","napid;":"\u224B\u0338","napos;":"\u0149","napprox;":"\u2249","natur;":"\u266E","natural;":"\u266E","naturals;":"\u2115","nbsp;":"\xA0",nbsp:"\xA0","nbump;":"\u224E\u0338","nbumpe;":"\u224F\u0338","ncap;":"\u2A43","Ncaron;":"\u0147","ncaron;":"\u0148","Ncedil;":"\u0145","ncedil;":"\u0146","ncong;":"\u2247","ncongdot;":"\u2A6D\u0338","ncup;":"\u2A42","Ncy;":"\u041D","ncy;":"\u043D","ndash;":"\u2013","ne;":"\u2260","nearhk;":"\u2924","neArr;":"\u21D7","nearr;":"\u2197","nearrow;":"\u2197","nedot;":"\u2250\u0338","NegativeMediumSpace;":"\u200B","NegativeThickSpace;":"\u200B","NegativeThinSpace;":"\u200B","NegativeVeryThinSpace;":"\u200B","nequiv;":"\u2262","nesear;":"\u2928","nesim;":"\u2242\u0338","NestedGreaterGreater;":"\u226B","NestedLessLess;":"\u226A","NewLine;":`
|
|
29
|
-
`,"nexist;":"\u2204","nexists;":"\u2204","Nfr;":"\u{1D511}","nfr;":"\u{1D52B}","ngE;":"\u2267\u0338","nge;":"\u2271","ngeq;":"\u2271","ngeqq;":"\u2267\u0338","ngeqslant;":"\u2A7E\u0338","nges;":"\u2A7E\u0338","nGg;":"\u22D9\u0338","ngsim;":"\u2275","nGt;":"\u226B\u20D2","ngt;":"\u226F","ngtr;":"\u226F","nGtv;":"\u226B\u0338","nhArr;":"\u21CE","nharr;":"\u21AE","nhpar;":"\u2AF2","ni;":"\u220B","nis;":"\u22FC","nisd;":"\u22FA","niv;":"\u220B","NJcy;":"\u040A","njcy;":"\u045A","nlArr;":"\u21CD","nlarr;":"\u219A","nldr;":"\u2025","nlE;":"\u2266\u0338","nle;":"\u2270","nLeftarrow;":"\u21CD","nleftarrow;":"\u219A","nLeftrightarrow;":"\u21CE","nleftrightarrow;":"\u21AE","nleq;":"\u2270","nleqq;":"\u2266\u0338","nleqslant;":"\u2A7D\u0338","nles;":"\u2A7D\u0338","nless;":"\u226E","nLl;":"\u22D8\u0338","nlsim;":"\u2274","nLt;":"\u226A\u20D2","nlt;":"\u226E","nltri;":"\u22EA","nltrie;":"\u22EC","nLtv;":"\u226A\u0338","nmid;":"\u2224","NoBreak;":"\u2060","NonBreakingSpace;":"\xA0","Nopf;":"\u2115","nopf;":"\u{1D55F}","Not;":"\u2AEC","not;":"\xAC",not:"\xAC","NotCongruent;":"\u2262","NotCupCap;":"\u226D","NotDoubleVerticalBar;":"\u2226","NotElement;":"\u2209","NotEqual;":"\u2260","NotEqualTilde;":"\u2242\u0338","NotExists;":"\u2204","NotGreater;":"\u226F","NotGreaterEqual;":"\u2271","NotGreaterFullEqual;":"\u2267\u0338","NotGreaterGreater;":"\u226B\u0338","NotGreaterLess;":"\u2279","NotGreaterSlantEqual;":"\u2A7E\u0338","NotGreaterTilde;":"\u2275","NotHumpDownHump;":"\u224E\u0338","NotHumpEqual;":"\u224F\u0338","notin;":"\u2209","notindot;":"\u22F5\u0338","notinE;":"\u22F9\u0338","notinva;":"\u2209","notinvb;":"\u22F7","notinvc;":"\u22F6","NotLeftTriangle;":"\u22EA","NotLeftTriangleBar;":"\u29CF\u0338","NotLeftTriangleEqual;":"\u22EC","NotLess;":"\u226E","NotLessEqual;":"\u2270","NotLessGreater;":"\u2278","NotLessLess;":"\u226A\u0338","NotLessSlantEqual;":"\u2A7D\u0338","NotLessTilde;":"\u2274","NotNestedGreaterGreater;":"\u2AA2\u0338","NotNestedLessLess;":"\u2AA1\u0338","notni;":"\u220C","notniva;":"\u220C","notnivb;":"\u22FE","notnivc;":"\u22FD","NotPrecedes;":"\u2280","NotPrecedesEqual;":"\u2AAF\u0338","NotPrecedesSlantEqual;":"\u22E0","NotReverseElement;":"\u220C","NotRightTriangle;":"\u22EB","NotRightTriangleBar;":"\u29D0\u0338","NotRightTriangleEqual;":"\u22ED","NotSquareSubset;":"\u228F\u0338","NotSquareSubsetEqual;":"\u22E2","NotSquareSuperset;":"\u2290\u0338","NotSquareSupersetEqual;":"\u22E3","NotSubset;":"\u2282\u20D2","NotSubsetEqual;":"\u2288","NotSucceeds;":"\u2281","NotSucceedsEqual;":"\u2AB0\u0338","NotSucceedsSlantEqual;":"\u22E1","NotSucceedsTilde;":"\u227F\u0338","NotSuperset;":"\u2283\u20D2","NotSupersetEqual;":"\u2289","NotTilde;":"\u2241","NotTildeEqual;":"\u2244","NotTildeFullEqual;":"\u2247","NotTildeTilde;":"\u2249","NotVerticalBar;":"\u2224","npar;":"\u2226","nparallel;":"\u2226","nparsl;":"\u2AFD\u20E5","npart;":"\u2202\u0338","npolint;":"\u2A14","npr;":"\u2280","nprcue;":"\u22E0","npre;":"\u2AAF\u0338","nprec;":"\u2280","npreceq;":"\u2AAF\u0338","nrArr;":"\u21CF","nrarr;":"\u219B","nrarrc;":"\u2933\u0338","nrarrw;":"\u219D\u0338","nRightarrow;":"\u21CF","nrightarrow;":"\u219B","nrtri;":"\u22EB","nrtrie;":"\u22ED","nsc;":"\u2281","nsccue;":"\u22E1","nsce;":"\u2AB0\u0338","Nscr;":"\u{1D4A9}","nscr;":"\u{1D4C3}","nshortmid;":"\u2224","nshortparallel;":"\u2226","nsim;":"\u2241","nsime;":"\u2244","nsimeq;":"\u2244","nsmid;":"\u2224","nspar;":"\u2226","nsqsube;":"\u22E2","nsqsupe;":"\u22E3","nsub;":"\u2284","nsubE;":"\u2AC5\u0338","nsube;":"\u2288","nsubset;":"\u2282\u20D2","nsubseteq;":"\u2288","nsubseteqq;":"\u2AC5\u0338","nsucc;":"\u2281","nsucceq;":"\u2AB0\u0338","nsup;":"\u2285","nsupE;":"\u2AC6\u0338","nsupe;":"\u2289","nsupset;":"\u2283\u20D2","nsupseteq;":"\u2289","nsupseteqq;":"\u2AC6\u0338","ntgl;":"\u2279","Ntilde;":"\xD1",Ntilde:"\xD1","ntilde;":"\xF1",ntilde:"\xF1","ntlg;":"\u2278","ntriangleleft;":"\u22EA","ntrianglelefteq;":"\u22EC","ntriangleright;":"\u22EB","ntrianglerighteq;":"\u22ED","Nu;":"\u039D","nu;":"\u03BD","num;":"#","numero;":"\u2116","numsp;":"\u2007","nvap;":"\u224D\u20D2","nVDash;":"\u22AF","nVdash;":"\u22AE","nvDash;":"\u22AD","nvdash;":"\u22AC","nvge;":"\u2265\u20D2","nvgt;":">\u20D2","nvHarr;":"\u2904","nvinfin;":"\u29DE","nvlArr;":"\u2902","nvle;":"\u2264\u20D2","nvlt;":"<\u20D2","nvltrie;":"\u22B4\u20D2","nvrArr;":"\u2903","nvrtrie;":"\u22B5\u20D2","nvsim;":"\u223C\u20D2","nwarhk;":"\u2923","nwArr;":"\u21D6","nwarr;":"\u2196","nwarrow;":"\u2196","nwnear;":"\u2927","Oacute;":"\xD3",Oacute:"\xD3","oacute;":"\xF3",oacute:"\xF3","oast;":"\u229B","ocir;":"\u229A","Ocirc;":"\xD4",Ocirc:"\xD4","ocirc;":"\xF4",ocirc:"\xF4","Ocy;":"\u041E","ocy;":"\u043E","odash;":"\u229D","Odblac;":"\u0150","odblac;":"\u0151","odiv;":"\u2A38","odot;":"\u2299","odsold;":"\u29BC","OElig;":"\u0152","oelig;":"\u0153","ofcir;":"\u29BF","Ofr;":"\u{1D512}","ofr;":"\u{1D52C}","ogon;":"\u02DB","Ograve;":"\xD2",Ograve:"\xD2","ograve;":"\xF2",ograve:"\xF2","ogt;":"\u29C1","ohbar;":"\u29B5","ohm;":"\u03A9","oint;":"\u222E","olarr;":"\u21BA","olcir;":"\u29BE","olcross;":"\u29BB","oline;":"\u203E","olt;":"\u29C0","Omacr;":"\u014C","omacr;":"\u014D","Omega;":"\u03A9","omega;":"\u03C9","Omicron;":"\u039F","omicron;":"\u03BF","omid;":"\u29B6","ominus;":"\u2296","Oopf;":"\u{1D546}","oopf;":"\u{1D560}","opar;":"\u29B7","OpenCurlyDoubleQuote;":"\u201C","OpenCurlyQuote;":"\u2018","operp;":"\u29B9","oplus;":"\u2295","Or;":"\u2A54","or;":"\u2228","orarr;":"\u21BB","ord;":"\u2A5D","order;":"\u2134","orderof;":"\u2134","ordf;":"\xAA",ordf:"\xAA","ordm;":"\xBA",ordm:"\xBA","origof;":"\u22B6","oror;":"\u2A56","orslope;":"\u2A57","orv;":"\u2A5B","oS;":"\u24C8","Oscr;":"\u{1D4AA}","oscr;":"\u2134","Oslash;":"\xD8",Oslash:"\xD8","oslash;":"\xF8",oslash:"\xF8","osol;":"\u2298","Otilde;":"\xD5",Otilde:"\xD5","otilde;":"\xF5",otilde:"\xF5","Otimes;":"\u2A37","otimes;":"\u2297","otimesas;":"\u2A36","Ouml;":"\xD6",Ouml:"\xD6","ouml;":"\xF6",ouml:"\xF6","ovbar;":"\u233D","OverBar;":"\u203E","OverBrace;":"\u23DE","OverBracket;":"\u23B4","OverParenthesis;":"\u23DC","par;":"\u2225","para;":"\xB6",para:"\xB6","parallel;":"\u2225","parsim;":"\u2AF3","parsl;":"\u2AFD","part;":"\u2202","PartialD;":"\u2202","Pcy;":"\u041F","pcy;":"\u043F","percnt;":"%","period;":".","permil;":"\u2030","perp;":"\u22A5","pertenk;":"\u2031","Pfr;":"\u{1D513}","pfr;":"\u{1D52D}","Phi;":"\u03A6","phi;":"\u03C6","phiv;":"\u03D5","phmmat;":"\u2133","phone;":"\u260E","Pi;":"\u03A0","pi;":"\u03C0","pitchfork;":"\u22D4","piv;":"\u03D6","planck;":"\u210F","planckh;":"\u210E","plankv;":"\u210F","plus;":"+","plusacir;":"\u2A23","plusb;":"\u229E","pluscir;":"\u2A22","plusdo;":"\u2214","plusdu;":"\u2A25","pluse;":"\u2A72","PlusMinus;":"\xB1","plusmn;":"\xB1",plusmn:"\xB1","plussim;":"\u2A26","plustwo;":"\u2A27","pm;":"\xB1","Poincareplane;":"\u210C","pointint;":"\u2A15","Popf;":"\u2119","popf;":"\u{1D561}","pound;":"\xA3",pound:"\xA3","Pr;":"\u2ABB","pr;":"\u227A","prap;":"\u2AB7","prcue;":"\u227C","prE;":"\u2AB3","pre;":"\u2AAF","prec;":"\u227A","precapprox;":"\u2AB7","preccurlyeq;":"\u227C","Precedes;":"\u227A","PrecedesEqual;":"\u2AAF","PrecedesSlantEqual;":"\u227C","PrecedesTilde;":"\u227E","preceq;":"\u2AAF","precnapprox;":"\u2AB9","precneqq;":"\u2AB5","precnsim;":"\u22E8","precsim;":"\u227E","Prime;":"\u2033","prime;":"\u2032","primes;":"\u2119","prnap;":"\u2AB9","prnE;":"\u2AB5","prnsim;":"\u22E8","prod;":"\u220F","Product;":"\u220F","profalar;":"\u232E","profline;":"\u2312","profsurf;":"\u2313","prop;":"\u221D","Proportion;":"\u2237","Proportional;":"\u221D","propto;":"\u221D","prsim;":"\u227E","prurel;":"\u22B0","Pscr;":"\u{1D4AB}","pscr;":"\u{1D4C5}","Psi;":"\u03A8","psi;":"\u03C8","puncsp;":"\u2008","Qfr;":"\u{1D514}","qfr;":"\u{1D52E}","qint;":"\u2A0C","Qopf;":"\u211A","qopf;":"\u{1D562}","qprime;":"\u2057","Qscr;":"\u{1D4AC}","qscr;":"\u{1D4C6}","quaternions;":"\u210D","quatint;":"\u2A16","quest;":"?","questeq;":"\u225F","QUOT;":'"',QUOT:'"',"quot;":'"',quot:'"',"rAarr;":"\u21DB","race;":"\u223D\u0331","Racute;":"\u0154","racute;":"\u0155","radic;":"\u221A","raemptyv;":"\u29B3","Rang;":"\u27EB","rang;":"\u27E9","rangd;":"\u2992","range;":"\u29A5","rangle;":"\u27E9","raquo;":"\xBB",raquo:"\xBB","Rarr;":"\u21A0","rArr;":"\u21D2","rarr;":"\u2192","rarrap;":"\u2975","rarrb;":"\u21E5","rarrbfs;":"\u2920","rarrc;":"\u2933","rarrfs;":"\u291E","rarrhk;":"\u21AA","rarrlp;":"\u21AC","rarrpl;":"\u2945","rarrsim;":"\u2974","Rarrtl;":"\u2916","rarrtl;":"\u21A3","rarrw;":"\u219D","rAtail;":"\u291C","ratail;":"\u291A","ratio;":"\u2236","rationals;":"\u211A","RBarr;":"\u2910","rBarr;":"\u290F","rbarr;":"\u290D","rbbrk;":"\u2773","rbrace;":"}","rbrack;":"]","rbrke;":"\u298C","rbrksld;":"\u298E","rbrkslu;":"\u2990","Rcaron;":"\u0158","rcaron;":"\u0159","Rcedil;":"\u0156","rcedil;":"\u0157","rceil;":"\u2309","rcub;":"}","Rcy;":"\u0420","rcy;":"\u0440","rdca;":"\u2937","rdldhar;":"\u2969","rdquo;":"\u201D","rdquor;":"\u201D","rdsh;":"\u21B3","Re;":"\u211C","real;":"\u211C","realine;":"\u211B","realpart;":"\u211C","reals;":"\u211D","rect;":"\u25AD","REG;":"\xAE",REG:"\xAE","reg;":"\xAE",reg:"\xAE","ReverseElement;":"\u220B","ReverseEquilibrium;":"\u21CB","ReverseUpEquilibrium;":"\u296F","rfisht;":"\u297D","rfloor;":"\u230B","Rfr;":"\u211C","rfr;":"\u{1D52F}","rHar;":"\u2964","rhard;":"\u21C1","rharu;":"\u21C0","rharul;":"\u296C","Rho;":"\u03A1","rho;":"\u03C1","rhov;":"\u03F1","RightAngleBracket;":"\u27E9","RightArrow;":"\u2192","Rightarrow;":"\u21D2","rightarrow;":"\u2192","RightArrowBar;":"\u21E5","RightArrowLeftArrow;":"\u21C4","rightarrowtail;":"\u21A3","RightCeiling;":"\u2309","RightDoubleBracket;":"\u27E7","RightDownTeeVector;":"\u295D","RightDownVector;":"\u21C2","RightDownVectorBar;":"\u2955","RightFloor;":"\u230B","rightharpoondown;":"\u21C1","rightharpoonup;":"\u21C0","rightleftarrows;":"\u21C4","rightleftharpoons;":"\u21CC","rightrightarrows;":"\u21C9","rightsquigarrow;":"\u219D","RightTee;":"\u22A2","RightTeeArrow;":"\u21A6","RightTeeVector;":"\u295B","rightthreetimes;":"\u22CC","RightTriangle;":"\u22B3","RightTriangleBar;":"\u29D0","RightTriangleEqual;":"\u22B5","RightUpDownVector;":"\u294F","RightUpTeeVector;":"\u295C","RightUpVector;":"\u21BE","RightUpVectorBar;":"\u2954","RightVector;":"\u21C0","RightVectorBar;":"\u2953","ring;":"\u02DA","risingdotseq;":"\u2253","rlarr;":"\u21C4","rlhar;":"\u21CC","rlm;":"\u200F","rmoust;":"\u23B1","rmoustache;":"\u23B1","rnmid;":"\u2AEE","roang;":"\u27ED","roarr;":"\u21FE","robrk;":"\u27E7","ropar;":"\u2986","Ropf;":"\u211D","ropf;":"\u{1D563}","roplus;":"\u2A2E","rotimes;":"\u2A35","RoundImplies;":"\u2970","rpar;":")","rpargt;":"\u2994","rppolint;":"\u2A12","rrarr;":"\u21C9","Rrightarrow;":"\u21DB","rsaquo;":"\u203A","Rscr;":"\u211B","rscr;":"\u{1D4C7}","Rsh;":"\u21B1","rsh;":"\u21B1","rsqb;":"]","rsquo;":"\u2019","rsquor;":"\u2019","rthree;":"\u22CC","rtimes;":"\u22CA","rtri;":"\u25B9","rtrie;":"\u22B5","rtrif;":"\u25B8","rtriltri;":"\u29CE","RuleDelayed;":"\u29F4","ruluhar;":"\u2968","rx;":"\u211E","Sacute;":"\u015A","sacute;":"\u015B","sbquo;":"\u201A","Sc;":"\u2ABC","sc;":"\u227B","scap;":"\u2AB8","Scaron;":"\u0160","scaron;":"\u0161","sccue;":"\u227D","scE;":"\u2AB4","sce;":"\u2AB0","Scedil;":"\u015E","scedil;":"\u015F","Scirc;":"\u015C","scirc;":"\u015D","scnap;":"\u2ABA","scnE;":"\u2AB6","scnsim;":"\u22E9","scpolint;":"\u2A13","scsim;":"\u227F","Scy;":"\u0421","scy;":"\u0441","sdot;":"\u22C5","sdotb;":"\u22A1","sdote;":"\u2A66","searhk;":"\u2925","seArr;":"\u21D8","searr;":"\u2198","searrow;":"\u2198","sect;":"\xA7",sect:"\xA7","semi;":";","seswar;":"\u2929","setminus;":"\u2216","setmn;":"\u2216","sext;":"\u2736","Sfr;":"\u{1D516}","sfr;":"\u{1D530}","sfrown;":"\u2322","sharp;":"\u266F","SHCHcy;":"\u0429","shchcy;":"\u0449","SHcy;":"\u0428","shcy;":"\u0448","ShortDownArrow;":"\u2193","ShortLeftArrow;":"\u2190","shortmid;":"\u2223","shortparallel;":"\u2225","ShortRightArrow;":"\u2192","ShortUpArrow;":"\u2191","shy;":"\xAD",shy:"\xAD","Sigma;":"\u03A3","sigma;":"\u03C3","sigmaf;":"\u03C2","sigmav;":"\u03C2","sim;":"\u223C","simdot;":"\u2A6A","sime;":"\u2243","simeq;":"\u2243","simg;":"\u2A9E","simgE;":"\u2AA0","siml;":"\u2A9D","simlE;":"\u2A9F","simne;":"\u2246","simplus;":"\u2A24","simrarr;":"\u2972","slarr;":"\u2190","SmallCircle;":"\u2218","smallsetminus;":"\u2216","smashp;":"\u2A33","smeparsl;":"\u29E4","smid;":"\u2223","smile;":"\u2323","smt;":"\u2AAA","smte;":"\u2AAC","smtes;":"\u2AAC\uFE00","SOFTcy;":"\u042C","softcy;":"\u044C","sol;":"/","solb;":"\u29C4","solbar;":"\u233F","Sopf;":"\u{1D54A}","sopf;":"\u{1D564}","spades;":"\u2660","spadesuit;":"\u2660","spar;":"\u2225","sqcap;":"\u2293","sqcaps;":"\u2293\uFE00","sqcup;":"\u2294","sqcups;":"\u2294\uFE00","Sqrt;":"\u221A","sqsub;":"\u228F","sqsube;":"\u2291","sqsubset;":"\u228F","sqsubseteq;":"\u2291","sqsup;":"\u2290","sqsupe;":"\u2292","sqsupset;":"\u2290","sqsupseteq;":"\u2292","squ;":"\u25A1","Square;":"\u25A1","square;":"\u25A1","SquareIntersection;":"\u2293","SquareSubset;":"\u228F","SquareSubsetEqual;":"\u2291","SquareSuperset;":"\u2290","SquareSupersetEqual;":"\u2292","SquareUnion;":"\u2294","squarf;":"\u25AA","squf;":"\u25AA","srarr;":"\u2192","Sscr;":"\u{1D4AE}","sscr;":"\u{1D4C8}","ssetmn;":"\u2216","ssmile;":"\u2323","sstarf;":"\u22C6","Star;":"\u22C6","star;":"\u2606","starf;":"\u2605","straightepsilon;":"\u03F5","straightphi;":"\u03D5","strns;":"\xAF","Sub;":"\u22D0","sub;":"\u2282","subdot;":"\u2ABD","subE;":"\u2AC5","sube;":"\u2286","subedot;":"\u2AC3","submult;":"\u2AC1","subnE;":"\u2ACB","subne;":"\u228A","subplus;":"\u2ABF","subrarr;":"\u2979","Subset;":"\u22D0","subset;":"\u2282","subseteq;":"\u2286","subseteqq;":"\u2AC5","SubsetEqual;":"\u2286","subsetneq;":"\u228A","subsetneqq;":"\u2ACB","subsim;":"\u2AC7","subsub;":"\u2AD5","subsup;":"\u2AD3","succ;":"\u227B","succapprox;":"\u2AB8","succcurlyeq;":"\u227D","Succeeds;":"\u227B","SucceedsEqual;":"\u2AB0","SucceedsSlantEqual;":"\u227D","SucceedsTilde;":"\u227F","succeq;":"\u2AB0","succnapprox;":"\u2ABA","succneqq;":"\u2AB6","succnsim;":"\u22E9","succsim;":"\u227F","SuchThat;":"\u220B","Sum;":"\u2211","sum;":"\u2211","sung;":"\u266A","Sup;":"\u22D1","sup;":"\u2283","sup1;":"\xB9",sup1:"\xB9","sup2;":"\xB2",sup2:"\xB2","sup3;":"\xB3",sup3:"\xB3","supdot;":"\u2ABE","supdsub;":"\u2AD8","supE;":"\u2AC6","supe;":"\u2287","supedot;":"\u2AC4","Superset;":"\u2283","SupersetEqual;":"\u2287","suphsol;":"\u27C9","suphsub;":"\u2AD7","suplarr;":"\u297B","supmult;":"\u2AC2","supnE;":"\u2ACC","supne;":"\u228B","supplus;":"\u2AC0","Supset;":"\u22D1","supset;":"\u2283","supseteq;":"\u2287","supseteqq;":"\u2AC6","supsetneq;":"\u228B","supsetneqq;":"\u2ACC","supsim;":"\u2AC8","supsub;":"\u2AD4","supsup;":"\u2AD6","swarhk;":"\u2926","swArr;":"\u21D9","swarr;":"\u2199","swarrow;":"\u2199","swnwar;":"\u292A","szlig;":"\xDF",szlig:"\xDF","Tab;":" ","target;":"\u2316","Tau;":"\u03A4","tau;":"\u03C4","tbrk;":"\u23B4","Tcaron;":"\u0164","tcaron;":"\u0165","Tcedil;":"\u0162","tcedil;":"\u0163","Tcy;":"\u0422","tcy;":"\u0442","tdot;":"\u20DB","telrec;":"\u2315","Tfr;":"\u{1D517}","tfr;":"\u{1D531}","there4;":"\u2234","Therefore;":"\u2234","therefore;":"\u2234","Theta;":"\u0398","theta;":"\u03B8","thetasym;":"\u03D1","thetav;":"\u03D1","thickapprox;":"\u2248","thicksim;":"\u223C","ThickSpace;":"\u205F\u200A","thinsp;":"\u2009","ThinSpace;":"\u2009","thkap;":"\u2248","thksim;":"\u223C","THORN;":"\xDE",THORN:"\xDE","thorn;":"\xFE",thorn:"\xFE","Tilde;":"\u223C","tilde;":"\u02DC","TildeEqual;":"\u2243","TildeFullEqual;":"\u2245","TildeTilde;":"\u2248","times;":"\xD7",times:"\xD7","timesb;":"\u22A0","timesbar;":"\u2A31","timesd;":"\u2A30","tint;":"\u222D","toea;":"\u2928","top;":"\u22A4","topbot;":"\u2336","topcir;":"\u2AF1","Topf;":"\u{1D54B}","topf;":"\u{1D565}","topfork;":"\u2ADA","tosa;":"\u2929","tprime;":"\u2034","TRADE;":"\u2122","trade;":"\u2122","triangle;":"\u25B5","triangledown;":"\u25BF","triangleleft;":"\u25C3","trianglelefteq;":"\u22B4","triangleq;":"\u225C","triangleright;":"\u25B9","trianglerighteq;":"\u22B5","tridot;":"\u25EC","trie;":"\u225C","triminus;":"\u2A3A","TripleDot;":"\u20DB","triplus;":"\u2A39","trisb;":"\u29CD","tritime;":"\u2A3B","trpezium;":"\u23E2","Tscr;":"\u{1D4AF}","tscr;":"\u{1D4C9}","TScy;":"\u0426","tscy;":"\u0446","TSHcy;":"\u040B","tshcy;":"\u045B","Tstrok;":"\u0166","tstrok;":"\u0167","twixt;":"\u226C","twoheadleftarrow;":"\u219E","twoheadrightarrow;":"\u21A0","Uacute;":"\xDA",Uacute:"\xDA","uacute;":"\xFA",uacute:"\xFA","Uarr;":"\u219F","uArr;":"\u21D1","uarr;":"\u2191","Uarrocir;":"\u2949","Ubrcy;":"\u040E","ubrcy;":"\u045E","Ubreve;":"\u016C","ubreve;":"\u016D","Ucirc;":"\xDB",Ucirc:"\xDB","ucirc;":"\xFB",ucirc:"\xFB","Ucy;":"\u0423","ucy;":"\u0443","udarr;":"\u21C5","Udblac;":"\u0170","udblac;":"\u0171","udhar;":"\u296E","ufisht;":"\u297E","Ufr;":"\u{1D518}","ufr;":"\u{1D532}","Ugrave;":"\xD9",Ugrave:"\xD9","ugrave;":"\xF9",ugrave:"\xF9","uHar;":"\u2963","uharl;":"\u21BF","uharr;":"\u21BE","uhblk;":"\u2580","ulcorn;":"\u231C","ulcorner;":"\u231C","ulcrop;":"\u230F","ultri;":"\u25F8","Umacr;":"\u016A","umacr;":"\u016B","uml;":"\xA8",uml:"\xA8","UnderBar;":"_","UnderBrace;":"\u23DF","UnderBracket;":"\u23B5","UnderParenthesis;":"\u23DD","Union;":"\u22C3","UnionPlus;":"\u228E","Uogon;":"\u0172","uogon;":"\u0173","Uopf;":"\u{1D54C}","uopf;":"\u{1D566}","UpArrow;":"\u2191","Uparrow;":"\u21D1","uparrow;":"\u2191","UpArrowBar;":"\u2912","UpArrowDownArrow;":"\u21C5","UpDownArrow;":"\u2195","Updownarrow;":"\u21D5","updownarrow;":"\u2195","UpEquilibrium;":"\u296E","upharpoonleft;":"\u21BF","upharpoonright;":"\u21BE","uplus;":"\u228E","UpperLeftArrow;":"\u2196","UpperRightArrow;":"\u2197","Upsi;":"\u03D2","upsi;":"\u03C5","upsih;":"\u03D2","Upsilon;":"\u03A5","upsilon;":"\u03C5","UpTee;":"\u22A5","UpTeeArrow;":"\u21A5","upuparrows;":"\u21C8","urcorn;":"\u231D","urcorner;":"\u231D","urcrop;":"\u230E","Uring;":"\u016E","uring;":"\u016F","urtri;":"\u25F9","Uscr;":"\u{1D4B0}","uscr;":"\u{1D4CA}","utdot;":"\u22F0","Utilde;":"\u0168","utilde;":"\u0169","utri;":"\u25B5","utrif;":"\u25B4","uuarr;":"\u21C8","Uuml;":"\xDC",Uuml:"\xDC","uuml;":"\xFC",uuml:"\xFC","uwangle;":"\u29A7","vangrt;":"\u299C","varepsilon;":"\u03F5","varkappa;":"\u03F0","varnothing;":"\u2205","varphi;":"\u03D5","varpi;":"\u03D6","varpropto;":"\u221D","vArr;":"\u21D5","varr;":"\u2195","varrho;":"\u03F1","varsigma;":"\u03C2","varsubsetneq;":"\u228A\uFE00","varsubsetneqq;":"\u2ACB\uFE00","varsupsetneq;":"\u228B\uFE00","varsupsetneqq;":"\u2ACC\uFE00","vartheta;":"\u03D1","vartriangleleft;":"\u22B2","vartriangleright;":"\u22B3","Vbar;":"\u2AEB","vBar;":"\u2AE8","vBarv;":"\u2AE9","Vcy;":"\u0412","vcy;":"\u0432","VDash;":"\u22AB","Vdash;":"\u22A9","vDash;":"\u22A8","vdash;":"\u22A2","Vdashl;":"\u2AE6","Vee;":"\u22C1","vee;":"\u2228","veebar;":"\u22BB","veeeq;":"\u225A","vellip;":"\u22EE","Verbar;":"\u2016","verbar;":"|","Vert;":"\u2016","vert;":"|","VerticalBar;":"\u2223","VerticalLine;":"|","VerticalSeparator;":"\u2758","VerticalTilde;":"\u2240","VeryThinSpace;":"\u200A","Vfr;":"\u{1D519}","vfr;":"\u{1D533}","vltri;":"\u22B2","vnsub;":"\u2282\u20D2","vnsup;":"\u2283\u20D2","Vopf;":"\u{1D54D}","vopf;":"\u{1D567}","vprop;":"\u221D","vrtri;":"\u22B3","Vscr;":"\u{1D4B1}","vscr;":"\u{1D4CB}","vsubnE;":"\u2ACB\uFE00","vsubne;":"\u228A\uFE00","vsupnE;":"\u2ACC\uFE00","vsupne;":"\u228B\uFE00","Vvdash;":"\u22AA","vzigzag;":"\u299A","Wcirc;":"\u0174","wcirc;":"\u0175","wedbar;":"\u2A5F","Wedge;":"\u22C0","wedge;":"\u2227","wedgeq;":"\u2259","weierp;":"\u2118","Wfr;":"\u{1D51A}","wfr;":"\u{1D534}","Wopf;":"\u{1D54E}","wopf;":"\u{1D568}","wp;":"\u2118","wr;":"\u2240","wreath;":"\u2240","Wscr;":"\u{1D4B2}","wscr;":"\u{1D4CC}","xcap;":"\u22C2","xcirc;":"\u25EF","xcup;":"\u22C3","xdtri;":"\u25BD","Xfr;":"\u{1D51B}","xfr;":"\u{1D535}","xhArr;":"\u27FA","xharr;":"\u27F7","Xi;":"\u039E","xi;":"\u03BE","xlArr;":"\u27F8","xlarr;":"\u27F5","xmap;":"\u27FC","xnis;":"\u22FB","xodot;":"\u2A00","Xopf;":"\u{1D54F}","xopf;":"\u{1D569}","xoplus;":"\u2A01","xotime;":"\u2A02","xrArr;":"\u27F9","xrarr;":"\u27F6","Xscr;":"\u{1D4B3}","xscr;":"\u{1D4CD}","xsqcup;":"\u2A06","xuplus;":"\u2A04","xutri;":"\u25B3","xvee;":"\u22C1","xwedge;":"\u22C0","Yacute;":"\xDD",Yacute:"\xDD","yacute;":"\xFD",yacute:"\xFD","YAcy;":"\u042F","yacy;":"\u044F","Ycirc;":"\u0176","ycirc;":"\u0177","Ycy;":"\u042B","ycy;":"\u044B","yen;":"\xA5",yen:"\xA5","Yfr;":"\u{1D51C}","yfr;":"\u{1D536}","YIcy;":"\u0407","yicy;":"\u0457","Yopf;":"\u{1D550}","yopf;":"\u{1D56A}","Yscr;":"\u{1D4B4}","yscr;":"\u{1D4CE}","YUcy;":"\u042E","yucy;":"\u044E","Yuml;":"\u0178","yuml;":"\xFF",yuml:"\xFF","Zacute;":"\u0179","zacute;":"\u017A","Zcaron;":"\u017D","zcaron;":"\u017E","Zcy;":"\u0417","zcy;":"\u0437","Zdot;":"\u017B","zdot;":"\u017C","zeetrf;":"\u2128","ZeroWidthSpace;":"\u200B","Zeta;":"\u0396","zeta;":"\u03B6","Zfr;":"\u2128","zfr;":"\u{1D537}","ZHcy;":"\u0416","zhcy;":"\u0436","zigrarr;":"\u21DD","Zopf;":"\u2124","zopf;":"\u{1D56B}","Zscr;":"\u{1D4B5}","zscr;":"\u{1D4CF}","zwj;":"\u200D","zwnj;":"\u200C"};function Se(t,e){if(t.length<e.length)return!1;for(let n=0;n<e.length;n++)if(t[n]!==e[n])return!1;return!0}function Il(t,e){let n=t.length-e.length;return n>0?t.lastIndexOf(e)===n:n===0?t===e:!1}function rs(t,e){let n="";for(;e>0;)(e&1)===1&&(n+=t),t+=t,e=e>>>1;return n}var zc=97,Fc=122,Pc=65,Uc=90,Hc=48,Wc=57;function dt(t,e){let n=t.charCodeAt(e);return zc<=n&&n<=Fc||Pc<=n&&n<=Uc||Hc<=n&&n<=Wc}function Nt(t){return typeof t<"u"}function zl(t){if(t)return typeof t=="string"?{kind:"markdown",value:t}:{kind:"markdown",value:t.value}}var It=class{isApplicable(){return!0}constructor(e,n){this.id=e,this._tags=[],this._tagMap={},this._valueSetMap={},this._tags=n.tags||[],this._globalAttributes=n.globalAttributes||[],this._tags.forEach(i=>{this._tagMap[i.name.toLowerCase()]=i}),n.valueSets&&n.valueSets.forEach(i=>{this._valueSetMap[i.name]=i.values})}getId(){return this.id}provideTags(){return this._tags}provideAttributes(e){let n=[],i=s=>{n.push(s)},r=this._tagMap[e.toLowerCase()];return r&&r.attributes.forEach(i),this._globalAttributes.forEach(i),n}provideValues(e,n){let i=[];n=n.toLowerCase();let r=a=>{a.forEach(l=>{l.name.toLowerCase()===n&&(l.values&&l.values.forEach(o=>{i.push(o)}),l.valueSet&&this._valueSetMap[l.valueSet]&&this._valueSetMap[l.valueSet].forEach(o=>{i.push(o)}))})},s=this._tagMap[e.toLowerCase()];return s&&r(s.attributes),r(this._globalAttributes),i}};function Ue(t,e={},n){let i={kind:n?"markdown":"plaintext",value:""};if(t.description&&e.documentation!==!1){let r=zl(t.description);r&&(i.value+=r.value)}if(t.references&&t.references.length>0&&e.references!==!1&&(i.value.length&&(i.value+=`
|
|
32
|
+
`&&r++}i&&n.length>0&&e.push(n.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let n=this.getLineOffsets(),i=0,r=n.length;if(r===0)return ie.create(0,e);for(;i<r;){let a=Math.floor((i+r)/2);n[a]>e?r=a:i=a+1}let s=i-1;return ie.create(s,e-n[s])}offsetAt(e){let n=this.getLineOffsets();if(e.line>=n.length)return this._content.length;if(e.line<0)return 0;let i=n[e.line],r=e.line+1<n.length?n[e.line+1]:this._content.length;return Math.max(Math.min(i+e.character,r),i)}get lineCount(){return this.getLineOffsets().length}},D;(function(t){let e=Object.prototype.toString;function n(f){return typeof f<"u"}t.defined=n;function i(f){return typeof f>"u"}t.undefined=i;function r(f){return f===!0||f===!1}t.boolean=r;function s(f){return e.call(f)==="[object String]"}t.string=s;function a(f){return e.call(f)==="[object Number]"}t.number=a;function l(f,w,p){return e.call(f)==="[object Number]"&&w<=f&&f<=p}t.numberRange=l;function o(f){return e.call(f)==="[object Number]"&&-2147483648<=f&&f<=2147483647}t.integer=o;function u(f){return e.call(f)==="[object Number]"&&0<=f&&f<=2147483647}t.uinteger=u;function h(f){return e.call(f)==="[object Function]"}t.func=h;function d(f){return f!==null&&typeof f=="object"}t.objectLiteral=d;function m(f,w){return Array.isArray(f)&&f.every(w)}t.typedArray=m})(D||(D={}));var Ai=class t{constructor(e,n,i,r){this._uri=e,this._languageId=n,this._version=i,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let n=this.offsetAt(e.start),i=this.offsetAt(e.end);return this._content.substring(n,i)}return this._content}update(e,n){for(let i of e)if(t.isIncremental(i)){let r=_u(i.range),s=this.offsetAt(r.start),a=this.offsetAt(r.end);this._content=this._content.substring(0,s)+i.text+this._content.substring(a,this._content.length);let l=Math.max(r.start.line,0),o=Math.max(r.end.line,0),u=this._lineOffsets,h=wu(i.text,!1,s);if(o-l===h.length)for(let m=0,f=h.length;m<f;m++)u[m+l+1]=h[m];else h.length<1e4?u.splice(l+1,o-l,...h):this._lineOffsets=u=u.slice(0,l+1).concat(h,u.slice(o+1));let d=i.text.length-(a-s);if(d!==0)for(let m=l+1+h.length,f=u.length;m<f;m++)u[m]=u[m]+d}else if(t.isFull(i))this._content=i.text,this._lineOffsets=void 0;else throw new Error("Unknown change event received");this._version=n}getLineOffsets(){return this._lineOffsets===void 0&&(this._lineOffsets=wu(this._content,!0)),this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let n=this.getLineOffsets(),i=0,r=n.length;if(r===0)return{line:0,character:e};for(;i<r;){let a=Math.floor((i+r)/2);n[a]>e?r=a:i=a+1}let s=i-1;return{line:s,character:e-n[s]}}offsetAt(e){let n=this.getLineOffsets();if(e.line>=n.length)return this._content.length;if(e.line<0)return 0;let i=n[e.line],r=e.line+1<n.length?n[e.line+1]:this._content.length;return Math.max(Math.min(i+e.character,r),i)}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){let n=e;return n!=null&&typeof n.text=="string"&&n.range!==void 0&&(n.rangeLength===void 0||typeof n.rangeLength=="number")}static isFull(e){let n=e;return n!=null&&typeof n.text=="string"&&n.range===void 0&&n.rangeLength===void 0}},vn;(function(t){function e(r,s,a,l){return new Ai(r,s,a,l)}t.create=e;function n(r,s,a){if(r instanceof Ai)return r.update(s,a),r;throw new Error("TextDocument.update: document must be created by TextDocument.create")}t.update=n;function i(r,s){let a=r.getText(),l=Ss(s.map(wh),(h,d)=>{let m=h.range.start.line-d.range.start.line;return m===0?h.range.start.character-d.range.start.character:m}),o=0,u=[];for(let h of l){let d=r.offsetAt(h.range.start);if(d<o)throw new Error("Overlapping edit");d>o&&u.push(a.substring(o,d)),h.newText.length&&u.push(h.newText),o=r.offsetAt(h.range.end)}return u.push(a.substr(o)),u.join("")}t.applyEdits=i})(vn||(vn={}));function Ss(t,e){if(t.length<=1)return t;let n=t.length/2|0,i=t.slice(0,n),r=t.slice(n);Ss(i,e),Ss(r,e);let s=0,a=0,l=0;for(;s<i.length&&a<r.length;)e(i[s],r[a])<=0?t[l++]=i[s++]:t[l++]=r[a++];for(;s<i.length;)t[l++]=i[s++];for(;a<r.length;)t[l++]=r[a++];return t}function wu(t,e,n=0){let i=e?[n]:[];for(let r=0;r<t.length;r++){let s=t.charCodeAt(r);(s===13||s===10)&&(s===13&&r+1<t.length&&t.charCodeAt(r+1)===10&&r++,i.push(n+r+1))}return i}function _u(t){let e=t.start,n=t.end;return e.line>n.line||e.line===n.line&&e.character>n.character?{start:n,end:e}:t}function wh(t){let e=_u(t.range);return e!==t.range?{newText:t.newText,range:e}:t}var I;(function(t){t[t.StartCommentTag=0]="StartCommentTag",t[t.Comment=1]="Comment",t[t.EndCommentTag=2]="EndCommentTag",t[t.StartTagOpen=3]="StartTagOpen",t[t.StartTagClose=4]="StartTagClose",t[t.StartTagSelfClose=5]="StartTagSelfClose",t[t.StartTag=6]="StartTag",t[t.EndTagOpen=7]="EndTagOpen",t[t.EndTagClose=8]="EndTagClose",t[t.EndTag=9]="EndTag",t[t.DelimiterAssign=10]="DelimiterAssign",t[t.AttributeName=11]="AttributeName",t[t.AttributeValue=12]="AttributeValue",t[t.StartDoctypeTag=13]="StartDoctypeTag",t[t.Doctype=14]="Doctype",t[t.EndDoctypeTag=15]="EndDoctypeTag",t[t.Content=16]="Content",t[t.Whitespace=17]="Whitespace",t[t.Unknown=18]="Unknown",t[t.Script=19]="Script",t[t.Styles=20]="Styles",t[t.EOS=21]="EOS"})(I||(I={}));var $;(function(t){t[t.WithinContent=0]="WithinContent",t[t.AfterOpeningStartTag=1]="AfterOpeningStartTag",t[t.AfterOpeningEndTag=2]="AfterOpeningEndTag",t[t.WithinDoctype=3]="WithinDoctype",t[t.WithinTag=4]="WithinTag",t[t.WithinEndTag=5]="WithinEndTag",t[t.WithinComment=6]="WithinComment",t[t.WithinScriptContent=7]="WithinScriptContent",t[t.WithinStyleContent=8]="WithinStyleContent",t[t.AfterAttributeName=9]="AfterAttributeName",t[t.BeforeAttributeValue=10]="BeforeAttributeValue"})($||($={}));var Ls;(function(t){t.LATEST={textDocument:{completion:{completionItem:{documentationFormat:[ke.Markdown,ke.PlainText]}},hover:{contentFormat:[ke.Markdown,ke.PlainText]}}}})(Ls||(Ls={}));var yn;(function(t){t[t.Unknown=0]="Unknown",t[t.File=1]="File",t[t.Directory=2]="Directory",t[t.SymbolicLink=64]="SymbolicLink"})(yn||(yn={}));var Cs=class{constructor(e,n){this.source=e,this.len=e.length,this.position=n}eos(){return this.len<=this.position}getSource(){return this.source}pos(){return this.position}goBackTo(e){this.position=e}goBack(e){this.position-=e}advance(e){this.position+=e}goToEnd(){this.position=this.source.length}nextChar(){return this.source.charCodeAt(this.position++)||0}peekChar(e=0){return this.source.charCodeAt(this.position+e)||0}advanceIfChar(e){return e===this.source.charCodeAt(this.position)?(this.position++,!0):!1}advanceIfChars(e){let n;if(this.position+e.length>this.source.length)return!1;for(n=0;n<e.length;n++)if(this.source.charCodeAt(this.position+n)!==e[n])return!1;return this.advance(n),!0}advanceIfRegExp(e){let i=this.source.substr(this.position).match(e);return i?(this.position=this.position+i.index+i[0].length,i[0]):""}advanceUntilRegExp(e){let i=this.source.substr(this.position).match(e);return i?(this.position=this.position+i.index,i[0]):(this.goToEnd(),"")}advanceUntilChar(e){for(;this.position<this.source.length;){if(this.source.charCodeAt(this.position)===e)return!0;this.advance(1)}return!1}advanceUntilChars(e){for(;this.position+e.length<=this.source.length;){let n=0;for(;n<e.length&&this.source.charCodeAt(this.position+n)===e[n];n++);if(n===e.length)return!0;this.advance(1)}return this.goToEnd(),!1}skipWhitespace(){return this.advanceWhileChar(n=>n===Sh||n===Lh||n===xh||n===kh||n===Th)>0}advanceWhileChar(e){let n=this.position;for(;this.position<this.len&&e(this.source.charCodeAt(this.position));)this.position++;return this.position-n}},vu=33,Ht=45,Ci=60,Ie=62,As=47,_h=61,vh=34,yh=39,xh=10,Th=13,kh=12,Sh=32,Lh=9,Ah={"text/x-handlebars-template":!0,"text/html":!0};function oe(t,e=0,n=$.WithinContent,i=!1){let r=new Cs(t,e),s=n,a=0,l=I.Unknown,o,u,h,d,m;function f(){return r.advanceIfRegExp(/^[_:\w][_:\w-.\d]*/).toLowerCase()}function w(){return r.advanceIfRegExp(/^[^\s"'></=\x00-\x0F\x7F\x80-\x9F]*/).toLowerCase()}function p(v,S,P){return l=S,a=v,o=P,S}function x(){let v=r.pos(),S=s,P=y();return P!==I.EOS&&v===r.pos()&&!(i&&(P===I.StartTagClose||P===I.EndTagClose))?(console.warn("Scanner.scan has not advanced at offset "+v+", state before: "+S+" after: "+s),r.advance(1),p(v,I.Unknown)):P}function y(){let v=r.pos();if(r.eos())return p(v,I.EOS);let S;switch(s){case $.WithinComment:return r.advanceIfChars([Ht,Ht,Ie])?(s=$.WithinContent,p(v,I.EndCommentTag)):(r.advanceUntilChars([Ht,Ht,Ie]),p(v,I.Comment));case $.WithinDoctype:return r.advanceIfChar(Ie)?(s=$.WithinContent,p(v,I.EndDoctypeTag)):(r.advanceUntilChar(Ie),p(v,I.Doctype));case $.WithinContent:if(r.advanceIfChar(Ci)){if(!r.eos()&&r.peekChar()===vu){if(r.advanceIfChars([vu,Ht,Ht]))return s=$.WithinComment,p(v,I.StartCommentTag);if(r.advanceIfRegExp(/^!doctype/i))return s=$.WithinDoctype,p(v,I.StartDoctypeTag)}return r.advanceIfChar(As)?(s=$.AfterOpeningEndTag,p(v,I.EndTagOpen)):(s=$.AfterOpeningStartTag,p(v,I.StartTagOpen))}return r.advanceUntilChar(Ci),p(v,I.Content);case $.AfterOpeningEndTag:return f().length>0?(s=$.WithinEndTag,p(v,I.EndTag)):r.skipWhitespace()?p(v,I.Whitespace,we("Tag name must directly follow the open bracket.")):(s=$.WithinEndTag,r.advanceUntilChar(Ie),v<r.pos()?p(v,I.Unknown,we("End tag name expected.")):y());case $.WithinEndTag:if(r.skipWhitespace())return p(v,I.Whitespace);if(r.advanceIfChar(Ie))return s=$.WithinContent,p(v,I.EndTagClose);if(i&&r.peekChar()===Ci)return s=$.WithinContent,p(v,I.EndTagClose,we("Closing bracket missing."));S=we("Closing bracket expected.");break;case $.AfterOpeningStartTag:return h=f(),m=void 0,d=void 0,h.length>0?(u=!1,s=$.WithinTag,p(v,I.StartTag)):r.skipWhitespace()?p(v,I.Whitespace,we("Tag name must directly follow the open bracket.")):(s=$.WithinTag,r.advanceUntilChar(Ie),v<r.pos()?p(v,I.Unknown,we("Start tag name expected.")):y());case $.WithinTag:return r.skipWhitespace()?(u=!0,p(v,I.Whitespace)):u&&(d=w(),d.length>0)?(s=$.AfterAttributeName,u=!1,p(v,I.AttributeName)):r.advanceIfChars([As,Ie])?(s=$.WithinContent,p(v,I.StartTagSelfClose)):r.advanceIfChar(Ie)?(h==="script"?m&&Ah[m]?s=$.WithinContent:s=$.WithinScriptContent:h==="style"?s=$.WithinStyleContent:s=$.WithinContent,p(v,I.StartTagClose)):i&&r.peekChar()===Ci?(s=$.WithinContent,p(v,I.StartTagClose,we("Closing bracket missing."))):(r.advance(1),p(v,I.Unknown,we("Unexpected character in tag.")));case $.AfterAttributeName:return r.skipWhitespace()?(u=!0,p(v,I.Whitespace)):r.advanceIfChar(_h)?(s=$.BeforeAttributeValue,p(v,I.DelimiterAssign)):(s=$.WithinTag,y());case $.BeforeAttributeValue:if(r.skipWhitespace())return p(v,I.Whitespace);let z=r.advanceIfRegExp(/^[^\s"'`=<>]+/);if(z.length>0&&(r.peekChar()===Ie&&r.peekChar(-1)===As&&(r.goBack(1),z=z.substring(0,z.length-1)),d==="type"&&(m=z),z.length>0))return s=$.WithinTag,u=!1,p(v,I.AttributeValue);let H=r.peekChar();return H===yh||H===vh?(r.advance(1),r.advanceUntilChar(H)&&r.advance(1),d==="type"&&(m=r.getSource().substring(v+1,r.pos()-1)),s=$.WithinTag,u=!1,p(v,I.AttributeValue)):(s=$.WithinTag,u=!1,y());case $.WithinScriptContent:let b=1;for(;!r.eos();){let g=r.advanceIfRegExp(/<!--|-->|<\/?script\s*\/?>?/i);if(g.length===0)return r.goToEnd(),p(v,I.Script);if(g==="<!--")b===1&&(b=2);else if(g==="-->")b=1;else if(g[1]!=="/")b===2&&(b=3);else if(b===3)b=2;else{r.goBack(g.length);break}}return s=$.WithinContent,v<r.pos()?p(v,I.Script):y();case $.WithinStyleContent:return r.advanceUntilRegExp(/<\/style/i),s=$.WithinContent,v<r.pos()?p(v,I.Styles):y()}return r.advance(1),s=$.WithinContent,p(v,I.Unknown,S)}return{scan:x,getTokenType:()=>l,getTokenOffset:()=>a,getTokenLength:()=>r.pos()-a,getTokenEnd:()=>r.pos(),getTokenText:()=>r.getSource().substring(a,r.pos()),getScannerState:()=>s,getTokenError:()=>o}}function Es(t,e){let n=0,i=t.length;if(i===0)return 0;for(;n<i;){let r=Math.floor((n+i)/2);e(t[r])?i=r:n=r+1}return n}function yu(t,e,n){let i=0,r=t.length-1;for(;i<=r;){let s=(i+r)/2|0,a=n(t[s],e);if(a<0)i=s+1;else if(a>0)r=s-1;else return s}return-(i+1)}var Ei=class{get attributeNames(){return this.attributes?Object.keys(this.attributes):[]}constructor(e,n,i,r){this.start=e,this.end=n,this.children=i,this.parent=r,this.closed=!1}isSameTag(e){return this.tag===void 0?e===void 0:e!==void 0&&this.tag.length===e.length&&this.tag.toLowerCase()===e}get firstChild(){return this.children[0]}get lastChild(){return this.children.length?this.children[this.children.length-1]:void 0}findNodeBefore(e){let n=Es(this.children,i=>e<=i.start)-1;if(n>=0){let i=this.children[n];if(e>i.start){if(e<i.end)return i.findNodeBefore(e);let r=i.lastChild;return r&&r.end===i.end?i.findNodeBefore(e):i}}return this}findNodeAt(e){let n=Es(this.children,i=>e<=i.start)-1;if(n>=0){let i=this.children[n];if(e>i.start&&e<=i.end)return i.findNodeAt(e)}return this}},Ri=class{constructor(e){this.dataManager=e}parseDocument(e){return this.parse(e.getText(),this.dataManager.getVoidElements(e.languageId))}parse(e,n){let i=oe(e,void 0,void 0,!0),r=new Ei(0,e.length,[],void 0),s=r,a=-1,l,o=null,u=i.scan();for(;u!==I.EOS;){switch(u){case I.StartTagOpen:let h=new Ei(i.getTokenOffset(),e.length,[],s);s.children.push(h),s=h;break;case I.StartTag:s.tag=i.getTokenText();break;case I.StartTagClose:s.parent&&(s.end=i.getTokenEnd(),i.getTokenLength()?(s.startTagEnd=i.getTokenEnd(),s.tag&&this.dataManager.isVoidElement(s.tag,n)&&(s.closed=!0,s=s.parent)):s=s.parent);break;case I.StartTagSelfClose:s.parent&&(s.closed=!0,s.end=i.getTokenEnd(),s.startTagEnd=i.getTokenEnd(),s=s.parent);break;case I.EndTagOpen:a=i.getTokenOffset(),l=void 0;break;case I.EndTag:l=i.getTokenText().toLowerCase();break;case I.EndTagClose:let d=s;for(;!d.isSameTag(l)&&d.parent;)d=d.parent;if(d.parent){for(;s!==d;)s.end=a,s.closed=!1,s=s.parent;s.closed=!0,s.endTagStart=a,s.end=i.getTokenEnd(),s=s.parent}break;case I.AttributeName:{o=i.getTokenText();let m=s.attributes;m||(s.attributes=m={}),m[o]=null;break}case I.AttributeValue:{let m=i.getTokenText(),f=s.attributes;f&&o&&(f[o]=m,o=null);break}}u=i.scan()}for(;s.parent;)s.end=e.length,s.closed=!1,s=s.parent;return{roots:r.children,findNodeBefore:r.findNodeBefore.bind(r),findNodeAt:r.findNodeAt.bind(r)}}};var pt={"Aacute;":"\xC1",Aacute:"\xC1","aacute;":"\xE1",aacute:"\xE1","Abreve;":"\u0102","abreve;":"\u0103","ac;":"\u223E","acd;":"\u223F","acE;":"\u223E\u0333","Acirc;":"\xC2",Acirc:"\xC2","acirc;":"\xE2",acirc:"\xE2","acute;":"\xB4",acute:"\xB4","Acy;":"\u0410","acy;":"\u0430","AElig;":"\xC6",AElig:"\xC6","aelig;":"\xE6",aelig:"\xE6","af;":"\u2061","Afr;":"\u{1D504}","afr;":"\u{1D51E}","Agrave;":"\xC0",Agrave:"\xC0","agrave;":"\xE0",agrave:"\xE0","alefsym;":"\u2135","aleph;":"\u2135","Alpha;":"\u0391","alpha;":"\u03B1","Amacr;":"\u0100","amacr;":"\u0101","amalg;":"\u2A3F","AMP;":"&",AMP:"&","amp;":"&",amp:"&","And;":"\u2A53","and;":"\u2227","andand;":"\u2A55","andd;":"\u2A5C","andslope;":"\u2A58","andv;":"\u2A5A","ang;":"\u2220","ange;":"\u29A4","angle;":"\u2220","angmsd;":"\u2221","angmsdaa;":"\u29A8","angmsdab;":"\u29A9","angmsdac;":"\u29AA","angmsdad;":"\u29AB","angmsdae;":"\u29AC","angmsdaf;":"\u29AD","angmsdag;":"\u29AE","angmsdah;":"\u29AF","angrt;":"\u221F","angrtvb;":"\u22BE","angrtvbd;":"\u299D","angsph;":"\u2222","angst;":"\xC5","angzarr;":"\u237C","Aogon;":"\u0104","aogon;":"\u0105","Aopf;":"\u{1D538}","aopf;":"\u{1D552}","ap;":"\u2248","apacir;":"\u2A6F","apE;":"\u2A70","ape;":"\u224A","apid;":"\u224B","apos;":"'","ApplyFunction;":"\u2061","approx;":"\u2248","approxeq;":"\u224A","Aring;":"\xC5",Aring:"\xC5","aring;":"\xE5",aring:"\xE5","Ascr;":"\u{1D49C}","ascr;":"\u{1D4B6}","Assign;":"\u2254","ast;":"*","asymp;":"\u2248","asympeq;":"\u224D","Atilde;":"\xC3",Atilde:"\xC3","atilde;":"\xE3",atilde:"\xE3","Auml;":"\xC4",Auml:"\xC4","auml;":"\xE4",auml:"\xE4","awconint;":"\u2233","awint;":"\u2A11","backcong;":"\u224C","backepsilon;":"\u03F6","backprime;":"\u2035","backsim;":"\u223D","backsimeq;":"\u22CD","Backslash;":"\u2216","Barv;":"\u2AE7","barvee;":"\u22BD","Barwed;":"\u2306","barwed;":"\u2305","barwedge;":"\u2305","bbrk;":"\u23B5","bbrktbrk;":"\u23B6","bcong;":"\u224C","Bcy;":"\u0411","bcy;":"\u0431","bdquo;":"\u201E","becaus;":"\u2235","Because;":"\u2235","because;":"\u2235","bemptyv;":"\u29B0","bepsi;":"\u03F6","bernou;":"\u212C","Bernoullis;":"\u212C","Beta;":"\u0392","beta;":"\u03B2","beth;":"\u2136","between;":"\u226C","Bfr;":"\u{1D505}","bfr;":"\u{1D51F}","bigcap;":"\u22C2","bigcirc;":"\u25EF","bigcup;":"\u22C3","bigodot;":"\u2A00","bigoplus;":"\u2A01","bigotimes;":"\u2A02","bigsqcup;":"\u2A06","bigstar;":"\u2605","bigtriangledown;":"\u25BD","bigtriangleup;":"\u25B3","biguplus;":"\u2A04","bigvee;":"\u22C1","bigwedge;":"\u22C0","bkarow;":"\u290D","blacklozenge;":"\u29EB","blacksquare;":"\u25AA","blacktriangle;":"\u25B4","blacktriangledown;":"\u25BE","blacktriangleleft;":"\u25C2","blacktriangleright;":"\u25B8","blank;":"\u2423","blk12;":"\u2592","blk14;":"\u2591","blk34;":"\u2593","block;":"\u2588","bne;":"=\u20E5","bnequiv;":"\u2261\u20E5","bNot;":"\u2AED","bnot;":"\u2310","Bopf;":"\u{1D539}","bopf;":"\u{1D553}","bot;":"\u22A5","bottom;":"\u22A5","bowtie;":"\u22C8","boxbox;":"\u29C9","boxDL;":"\u2557","boxDl;":"\u2556","boxdL;":"\u2555","boxdl;":"\u2510","boxDR;":"\u2554","boxDr;":"\u2553","boxdR;":"\u2552","boxdr;":"\u250C","boxH;":"\u2550","boxh;":"\u2500","boxHD;":"\u2566","boxHd;":"\u2564","boxhD;":"\u2565","boxhd;":"\u252C","boxHU;":"\u2569","boxHu;":"\u2567","boxhU;":"\u2568","boxhu;":"\u2534","boxminus;":"\u229F","boxplus;":"\u229E","boxtimes;":"\u22A0","boxUL;":"\u255D","boxUl;":"\u255C","boxuL;":"\u255B","boxul;":"\u2518","boxUR;":"\u255A","boxUr;":"\u2559","boxuR;":"\u2558","boxur;":"\u2514","boxV;":"\u2551","boxv;":"\u2502","boxVH;":"\u256C","boxVh;":"\u256B","boxvH;":"\u256A","boxvh;":"\u253C","boxVL;":"\u2563","boxVl;":"\u2562","boxvL;":"\u2561","boxvl;":"\u2524","boxVR;":"\u2560","boxVr;":"\u255F","boxvR;":"\u255E","boxvr;":"\u251C","bprime;":"\u2035","Breve;":"\u02D8","breve;":"\u02D8","brvbar;":"\xA6",brvbar:"\xA6","Bscr;":"\u212C","bscr;":"\u{1D4B7}","bsemi;":"\u204F","bsim;":"\u223D","bsime;":"\u22CD","bsol;":"\\","bsolb;":"\u29C5","bsolhsub;":"\u27C8","bull;":"\u2022","bullet;":"\u2022","bump;":"\u224E","bumpE;":"\u2AAE","bumpe;":"\u224F","Bumpeq;":"\u224E","bumpeq;":"\u224F","Cacute;":"\u0106","cacute;":"\u0107","Cap;":"\u22D2","cap;":"\u2229","capand;":"\u2A44","capbrcup;":"\u2A49","capcap;":"\u2A4B","capcup;":"\u2A47","capdot;":"\u2A40","CapitalDifferentialD;":"\u2145","caps;":"\u2229\uFE00","caret;":"\u2041","caron;":"\u02C7","Cayleys;":"\u212D","ccaps;":"\u2A4D","Ccaron;":"\u010C","ccaron;":"\u010D","Ccedil;":"\xC7",Ccedil:"\xC7","ccedil;":"\xE7",ccedil:"\xE7","Ccirc;":"\u0108","ccirc;":"\u0109","Cconint;":"\u2230","ccups;":"\u2A4C","ccupssm;":"\u2A50","Cdot;":"\u010A","cdot;":"\u010B","cedil;":"\xB8",cedil:"\xB8","Cedilla;":"\xB8","cemptyv;":"\u29B2","cent;":"\xA2",cent:"\xA2","CenterDot;":"\xB7","centerdot;":"\xB7","Cfr;":"\u212D","cfr;":"\u{1D520}","CHcy;":"\u0427","chcy;":"\u0447","check;":"\u2713","checkmark;":"\u2713","Chi;":"\u03A7","chi;":"\u03C7","cir;":"\u25CB","circ;":"\u02C6","circeq;":"\u2257","circlearrowleft;":"\u21BA","circlearrowright;":"\u21BB","circledast;":"\u229B","circledcirc;":"\u229A","circleddash;":"\u229D","CircleDot;":"\u2299","circledR;":"\xAE","circledS;":"\u24C8","CircleMinus;":"\u2296","CirclePlus;":"\u2295","CircleTimes;":"\u2297","cirE;":"\u29C3","cire;":"\u2257","cirfnint;":"\u2A10","cirmid;":"\u2AEF","cirscir;":"\u29C2","ClockwiseContourIntegral;":"\u2232","CloseCurlyDoubleQuote;":"\u201D","CloseCurlyQuote;":"\u2019","clubs;":"\u2663","clubsuit;":"\u2663","Colon;":"\u2237","colon;":":","Colone;":"\u2A74","colone;":"\u2254","coloneq;":"\u2254","comma;":",","commat;":"@","comp;":"\u2201","compfn;":"\u2218","complement;":"\u2201","complexes;":"\u2102","cong;":"\u2245","congdot;":"\u2A6D","Congruent;":"\u2261","Conint;":"\u222F","conint;":"\u222E","ContourIntegral;":"\u222E","Copf;":"\u2102","copf;":"\u{1D554}","coprod;":"\u2210","Coproduct;":"\u2210","COPY;":"\xA9",COPY:"\xA9","copy;":"\xA9",copy:"\xA9","copysr;":"\u2117","CounterClockwiseContourIntegral;":"\u2233","crarr;":"\u21B5","Cross;":"\u2A2F","cross;":"\u2717","Cscr;":"\u{1D49E}","cscr;":"\u{1D4B8}","csub;":"\u2ACF","csube;":"\u2AD1","csup;":"\u2AD0","csupe;":"\u2AD2","ctdot;":"\u22EF","cudarrl;":"\u2938","cudarrr;":"\u2935","cuepr;":"\u22DE","cuesc;":"\u22DF","cularr;":"\u21B6","cularrp;":"\u293D","Cup;":"\u22D3","cup;":"\u222A","cupbrcap;":"\u2A48","CupCap;":"\u224D","cupcap;":"\u2A46","cupcup;":"\u2A4A","cupdot;":"\u228D","cupor;":"\u2A45","cups;":"\u222A\uFE00","curarr;":"\u21B7","curarrm;":"\u293C","curlyeqprec;":"\u22DE","curlyeqsucc;":"\u22DF","curlyvee;":"\u22CE","curlywedge;":"\u22CF","curren;":"\xA4",curren:"\xA4","curvearrowleft;":"\u21B6","curvearrowright;":"\u21B7","cuvee;":"\u22CE","cuwed;":"\u22CF","cwconint;":"\u2232","cwint;":"\u2231","cylcty;":"\u232D","Dagger;":"\u2021","dagger;":"\u2020","daleth;":"\u2138","Darr;":"\u21A1","dArr;":"\u21D3","darr;":"\u2193","dash;":"\u2010","Dashv;":"\u2AE4","dashv;":"\u22A3","dbkarow;":"\u290F","dblac;":"\u02DD","Dcaron;":"\u010E","dcaron;":"\u010F","Dcy;":"\u0414","dcy;":"\u0434","DD;":"\u2145","dd;":"\u2146","ddagger;":"\u2021","ddarr;":"\u21CA","DDotrahd;":"\u2911","ddotseq;":"\u2A77","deg;":"\xB0",deg:"\xB0","Del;":"\u2207","Delta;":"\u0394","delta;":"\u03B4","demptyv;":"\u29B1","dfisht;":"\u297F","Dfr;":"\u{1D507}","dfr;":"\u{1D521}","dHar;":"\u2965","dharl;":"\u21C3","dharr;":"\u21C2","DiacriticalAcute;":"\xB4","DiacriticalDot;":"\u02D9","DiacriticalDoubleAcute;":"\u02DD","DiacriticalGrave;":"`","DiacriticalTilde;":"\u02DC","diam;":"\u22C4","Diamond;":"\u22C4","diamond;":"\u22C4","diamondsuit;":"\u2666","diams;":"\u2666","die;":"\xA8","DifferentialD;":"\u2146","digamma;":"\u03DD","disin;":"\u22F2","div;":"\xF7","divide;":"\xF7",divide:"\xF7","divideontimes;":"\u22C7","divonx;":"\u22C7","DJcy;":"\u0402","djcy;":"\u0452","dlcorn;":"\u231E","dlcrop;":"\u230D","dollar;":"$","Dopf;":"\u{1D53B}","dopf;":"\u{1D555}","Dot;":"\xA8","dot;":"\u02D9","DotDot;":"\u20DC","doteq;":"\u2250","doteqdot;":"\u2251","DotEqual;":"\u2250","dotminus;":"\u2238","dotplus;":"\u2214","dotsquare;":"\u22A1","doublebarwedge;":"\u2306","DoubleContourIntegral;":"\u222F","DoubleDot;":"\xA8","DoubleDownArrow;":"\u21D3","DoubleLeftArrow;":"\u21D0","DoubleLeftRightArrow;":"\u21D4","DoubleLeftTee;":"\u2AE4","DoubleLongLeftArrow;":"\u27F8","DoubleLongLeftRightArrow;":"\u27FA","DoubleLongRightArrow;":"\u27F9","DoubleRightArrow;":"\u21D2","DoubleRightTee;":"\u22A8","DoubleUpArrow;":"\u21D1","DoubleUpDownArrow;":"\u21D5","DoubleVerticalBar;":"\u2225","DownArrow;":"\u2193","Downarrow;":"\u21D3","downarrow;":"\u2193","DownArrowBar;":"\u2913","DownArrowUpArrow;":"\u21F5","DownBreve;":"\u0311","downdownarrows;":"\u21CA","downharpoonleft;":"\u21C3","downharpoonright;":"\u21C2","DownLeftRightVector;":"\u2950","DownLeftTeeVector;":"\u295E","DownLeftVector;":"\u21BD","DownLeftVectorBar;":"\u2956","DownRightTeeVector;":"\u295F","DownRightVector;":"\u21C1","DownRightVectorBar;":"\u2957","DownTee;":"\u22A4","DownTeeArrow;":"\u21A7","drbkarow;":"\u2910","drcorn;":"\u231F","drcrop;":"\u230C","Dscr;":"\u{1D49F}","dscr;":"\u{1D4B9}","DScy;":"\u0405","dscy;":"\u0455","dsol;":"\u29F6","Dstrok;":"\u0110","dstrok;":"\u0111","dtdot;":"\u22F1","dtri;":"\u25BF","dtrif;":"\u25BE","duarr;":"\u21F5","duhar;":"\u296F","dwangle;":"\u29A6","DZcy;":"\u040F","dzcy;":"\u045F","dzigrarr;":"\u27FF","Eacute;":"\xC9",Eacute:"\xC9","eacute;":"\xE9",eacute:"\xE9","easter;":"\u2A6E","Ecaron;":"\u011A","ecaron;":"\u011B","ecir;":"\u2256","Ecirc;":"\xCA",Ecirc:"\xCA","ecirc;":"\xEA",ecirc:"\xEA","ecolon;":"\u2255","Ecy;":"\u042D","ecy;":"\u044D","eDDot;":"\u2A77","Edot;":"\u0116","eDot;":"\u2251","edot;":"\u0117","ee;":"\u2147","efDot;":"\u2252","Efr;":"\u{1D508}","efr;":"\u{1D522}","eg;":"\u2A9A","Egrave;":"\xC8",Egrave:"\xC8","egrave;":"\xE8",egrave:"\xE8","egs;":"\u2A96","egsdot;":"\u2A98","el;":"\u2A99","Element;":"\u2208","elinters;":"\u23E7","ell;":"\u2113","els;":"\u2A95","elsdot;":"\u2A97","Emacr;":"\u0112","emacr;":"\u0113","empty;":"\u2205","emptyset;":"\u2205","EmptySmallSquare;":"\u25FB","emptyv;":"\u2205","EmptyVerySmallSquare;":"\u25AB","emsp;":"\u2003","emsp13;":"\u2004","emsp14;":"\u2005","ENG;":"\u014A","eng;":"\u014B","ensp;":"\u2002","Eogon;":"\u0118","eogon;":"\u0119","Eopf;":"\u{1D53C}","eopf;":"\u{1D556}","epar;":"\u22D5","eparsl;":"\u29E3","eplus;":"\u2A71","epsi;":"\u03B5","Epsilon;":"\u0395","epsilon;":"\u03B5","epsiv;":"\u03F5","eqcirc;":"\u2256","eqcolon;":"\u2255","eqsim;":"\u2242","eqslantgtr;":"\u2A96","eqslantless;":"\u2A95","Equal;":"\u2A75","equals;":"=","EqualTilde;":"\u2242","equest;":"\u225F","Equilibrium;":"\u21CC","equiv;":"\u2261","equivDD;":"\u2A78","eqvparsl;":"\u29E5","erarr;":"\u2971","erDot;":"\u2253","Escr;":"\u2130","escr;":"\u212F","esdot;":"\u2250","Esim;":"\u2A73","esim;":"\u2242","Eta;":"\u0397","eta;":"\u03B7","ETH;":"\xD0",ETH:"\xD0","eth;":"\xF0",eth:"\xF0","Euml;":"\xCB",Euml:"\xCB","euml;":"\xEB",euml:"\xEB","euro;":"\u20AC","excl;":"!","exist;":"\u2203","Exists;":"\u2203","expectation;":"\u2130","ExponentialE;":"\u2147","exponentiale;":"\u2147","fallingdotseq;":"\u2252","Fcy;":"\u0424","fcy;":"\u0444","female;":"\u2640","ffilig;":"\uFB03","fflig;":"\uFB00","ffllig;":"\uFB04","Ffr;":"\u{1D509}","ffr;":"\u{1D523}","filig;":"\uFB01","FilledSmallSquare;":"\u25FC","FilledVerySmallSquare;":"\u25AA","fjlig;":"fj","flat;":"\u266D","fllig;":"\uFB02","fltns;":"\u25B1","fnof;":"\u0192","Fopf;":"\u{1D53D}","fopf;":"\u{1D557}","ForAll;":"\u2200","forall;":"\u2200","fork;":"\u22D4","forkv;":"\u2AD9","Fouriertrf;":"\u2131","fpartint;":"\u2A0D","frac12;":"\xBD",frac12:"\xBD","frac13;":"\u2153","frac14;":"\xBC",frac14:"\xBC","frac15;":"\u2155","frac16;":"\u2159","frac18;":"\u215B","frac23;":"\u2154","frac25;":"\u2156","frac34;":"\xBE",frac34:"\xBE","frac35;":"\u2157","frac38;":"\u215C","frac45;":"\u2158","frac56;":"\u215A","frac58;":"\u215D","frac78;":"\u215E","frasl;":"\u2044","frown;":"\u2322","Fscr;":"\u2131","fscr;":"\u{1D4BB}","gacute;":"\u01F5","Gamma;":"\u0393","gamma;":"\u03B3","Gammad;":"\u03DC","gammad;":"\u03DD","gap;":"\u2A86","Gbreve;":"\u011E","gbreve;":"\u011F","Gcedil;":"\u0122","Gcirc;":"\u011C","gcirc;":"\u011D","Gcy;":"\u0413","gcy;":"\u0433","Gdot;":"\u0120","gdot;":"\u0121","gE;":"\u2267","ge;":"\u2265","gEl;":"\u2A8C","gel;":"\u22DB","geq;":"\u2265","geqq;":"\u2267","geqslant;":"\u2A7E","ges;":"\u2A7E","gescc;":"\u2AA9","gesdot;":"\u2A80","gesdoto;":"\u2A82","gesdotol;":"\u2A84","gesl;":"\u22DB\uFE00","gesles;":"\u2A94","Gfr;":"\u{1D50A}","gfr;":"\u{1D524}","Gg;":"\u22D9","gg;":"\u226B","ggg;":"\u22D9","gimel;":"\u2137","GJcy;":"\u0403","gjcy;":"\u0453","gl;":"\u2277","gla;":"\u2AA5","glE;":"\u2A92","glj;":"\u2AA4","gnap;":"\u2A8A","gnapprox;":"\u2A8A","gnE;":"\u2269","gne;":"\u2A88","gneq;":"\u2A88","gneqq;":"\u2269","gnsim;":"\u22E7","Gopf;":"\u{1D53E}","gopf;":"\u{1D558}","grave;":"`","GreaterEqual;":"\u2265","GreaterEqualLess;":"\u22DB","GreaterFullEqual;":"\u2267","GreaterGreater;":"\u2AA2","GreaterLess;":"\u2277","GreaterSlantEqual;":"\u2A7E","GreaterTilde;":"\u2273","Gscr;":"\u{1D4A2}","gscr;":"\u210A","gsim;":"\u2273","gsime;":"\u2A8E","gsiml;":"\u2A90","GT;":">",GT:">","Gt;":"\u226B","gt;":">",gt:">","gtcc;":"\u2AA7","gtcir;":"\u2A7A","gtdot;":"\u22D7","gtlPar;":"\u2995","gtquest;":"\u2A7C","gtrapprox;":"\u2A86","gtrarr;":"\u2978","gtrdot;":"\u22D7","gtreqless;":"\u22DB","gtreqqless;":"\u2A8C","gtrless;":"\u2277","gtrsim;":"\u2273","gvertneqq;":"\u2269\uFE00","gvnE;":"\u2269\uFE00","Hacek;":"\u02C7","hairsp;":"\u200A","half;":"\xBD","hamilt;":"\u210B","HARDcy;":"\u042A","hardcy;":"\u044A","hArr;":"\u21D4","harr;":"\u2194","harrcir;":"\u2948","harrw;":"\u21AD","Hat;":"^","hbar;":"\u210F","Hcirc;":"\u0124","hcirc;":"\u0125","hearts;":"\u2665","heartsuit;":"\u2665","hellip;":"\u2026","hercon;":"\u22B9","Hfr;":"\u210C","hfr;":"\u{1D525}","HilbertSpace;":"\u210B","hksearow;":"\u2925","hkswarow;":"\u2926","hoarr;":"\u21FF","homtht;":"\u223B","hookleftarrow;":"\u21A9","hookrightarrow;":"\u21AA","Hopf;":"\u210D","hopf;":"\u{1D559}","horbar;":"\u2015","HorizontalLine;":"\u2500","Hscr;":"\u210B","hscr;":"\u{1D4BD}","hslash;":"\u210F","Hstrok;":"\u0126","hstrok;":"\u0127","HumpDownHump;":"\u224E","HumpEqual;":"\u224F","hybull;":"\u2043","hyphen;":"\u2010","Iacute;":"\xCD",Iacute:"\xCD","iacute;":"\xED",iacute:"\xED","ic;":"\u2063","Icirc;":"\xCE",Icirc:"\xCE","icirc;":"\xEE",icirc:"\xEE","Icy;":"\u0418","icy;":"\u0438","Idot;":"\u0130","IEcy;":"\u0415","iecy;":"\u0435","iexcl;":"\xA1",iexcl:"\xA1","iff;":"\u21D4","Ifr;":"\u2111","ifr;":"\u{1D526}","Igrave;":"\xCC",Igrave:"\xCC","igrave;":"\xEC",igrave:"\xEC","ii;":"\u2148","iiiint;":"\u2A0C","iiint;":"\u222D","iinfin;":"\u29DC","iiota;":"\u2129","IJlig;":"\u0132","ijlig;":"\u0133","Im;":"\u2111","Imacr;":"\u012A","imacr;":"\u012B","image;":"\u2111","ImaginaryI;":"\u2148","imagline;":"\u2110","imagpart;":"\u2111","imath;":"\u0131","imof;":"\u22B7","imped;":"\u01B5","Implies;":"\u21D2","in;":"\u2208","incare;":"\u2105","infin;":"\u221E","infintie;":"\u29DD","inodot;":"\u0131","Int;":"\u222C","int;":"\u222B","intcal;":"\u22BA","integers;":"\u2124","Integral;":"\u222B","intercal;":"\u22BA","Intersection;":"\u22C2","intlarhk;":"\u2A17","intprod;":"\u2A3C","InvisibleComma;":"\u2063","InvisibleTimes;":"\u2062","IOcy;":"\u0401","iocy;":"\u0451","Iogon;":"\u012E","iogon;":"\u012F","Iopf;":"\u{1D540}","iopf;":"\u{1D55A}","Iota;":"\u0399","iota;":"\u03B9","iprod;":"\u2A3C","iquest;":"\xBF",iquest:"\xBF","Iscr;":"\u2110","iscr;":"\u{1D4BE}","isin;":"\u2208","isindot;":"\u22F5","isinE;":"\u22F9","isins;":"\u22F4","isinsv;":"\u22F3","isinv;":"\u2208","it;":"\u2062","Itilde;":"\u0128","itilde;":"\u0129","Iukcy;":"\u0406","iukcy;":"\u0456","Iuml;":"\xCF",Iuml:"\xCF","iuml;":"\xEF",iuml:"\xEF","Jcirc;":"\u0134","jcirc;":"\u0135","Jcy;":"\u0419","jcy;":"\u0439","Jfr;":"\u{1D50D}","jfr;":"\u{1D527}","jmath;":"\u0237","Jopf;":"\u{1D541}","jopf;":"\u{1D55B}","Jscr;":"\u{1D4A5}","jscr;":"\u{1D4BF}","Jsercy;":"\u0408","jsercy;":"\u0458","Jukcy;":"\u0404","jukcy;":"\u0454","Kappa;":"\u039A","kappa;":"\u03BA","kappav;":"\u03F0","Kcedil;":"\u0136","kcedil;":"\u0137","Kcy;":"\u041A","kcy;":"\u043A","Kfr;":"\u{1D50E}","kfr;":"\u{1D528}","kgreen;":"\u0138","KHcy;":"\u0425","khcy;":"\u0445","KJcy;":"\u040C","kjcy;":"\u045C","Kopf;":"\u{1D542}","kopf;":"\u{1D55C}","Kscr;":"\u{1D4A6}","kscr;":"\u{1D4C0}","lAarr;":"\u21DA","Lacute;":"\u0139","lacute;":"\u013A","laemptyv;":"\u29B4","lagran;":"\u2112","Lambda;":"\u039B","lambda;":"\u03BB","Lang;":"\u27EA","lang;":"\u27E8","langd;":"\u2991","langle;":"\u27E8","lap;":"\u2A85","Laplacetrf;":"\u2112","laquo;":"\xAB",laquo:"\xAB","Larr;":"\u219E","lArr;":"\u21D0","larr;":"\u2190","larrb;":"\u21E4","larrbfs;":"\u291F","larrfs;":"\u291D","larrhk;":"\u21A9","larrlp;":"\u21AB","larrpl;":"\u2939","larrsim;":"\u2973","larrtl;":"\u21A2","lat;":"\u2AAB","lAtail;":"\u291B","latail;":"\u2919","late;":"\u2AAD","lates;":"\u2AAD\uFE00","lBarr;":"\u290E","lbarr;":"\u290C","lbbrk;":"\u2772","lbrace;":"{","lbrack;":"[","lbrke;":"\u298B","lbrksld;":"\u298F","lbrkslu;":"\u298D","Lcaron;":"\u013D","lcaron;":"\u013E","Lcedil;":"\u013B","lcedil;":"\u013C","lceil;":"\u2308","lcub;":"{","Lcy;":"\u041B","lcy;":"\u043B","ldca;":"\u2936","ldquo;":"\u201C","ldquor;":"\u201E","ldrdhar;":"\u2967","ldrushar;":"\u294B","ldsh;":"\u21B2","lE;":"\u2266","le;":"\u2264","LeftAngleBracket;":"\u27E8","LeftArrow;":"\u2190","Leftarrow;":"\u21D0","leftarrow;":"\u2190","LeftArrowBar;":"\u21E4","LeftArrowRightArrow;":"\u21C6","leftarrowtail;":"\u21A2","LeftCeiling;":"\u2308","LeftDoubleBracket;":"\u27E6","LeftDownTeeVector;":"\u2961","LeftDownVector;":"\u21C3","LeftDownVectorBar;":"\u2959","LeftFloor;":"\u230A","leftharpoondown;":"\u21BD","leftharpoonup;":"\u21BC","leftleftarrows;":"\u21C7","LeftRightArrow;":"\u2194","Leftrightarrow;":"\u21D4","leftrightarrow;":"\u2194","leftrightarrows;":"\u21C6","leftrightharpoons;":"\u21CB","leftrightsquigarrow;":"\u21AD","LeftRightVector;":"\u294E","LeftTee;":"\u22A3","LeftTeeArrow;":"\u21A4","LeftTeeVector;":"\u295A","leftthreetimes;":"\u22CB","LeftTriangle;":"\u22B2","LeftTriangleBar;":"\u29CF","LeftTriangleEqual;":"\u22B4","LeftUpDownVector;":"\u2951","LeftUpTeeVector;":"\u2960","LeftUpVector;":"\u21BF","LeftUpVectorBar;":"\u2958","LeftVector;":"\u21BC","LeftVectorBar;":"\u2952","lEg;":"\u2A8B","leg;":"\u22DA","leq;":"\u2264","leqq;":"\u2266","leqslant;":"\u2A7D","les;":"\u2A7D","lescc;":"\u2AA8","lesdot;":"\u2A7F","lesdoto;":"\u2A81","lesdotor;":"\u2A83","lesg;":"\u22DA\uFE00","lesges;":"\u2A93","lessapprox;":"\u2A85","lessdot;":"\u22D6","lesseqgtr;":"\u22DA","lesseqqgtr;":"\u2A8B","LessEqualGreater;":"\u22DA","LessFullEqual;":"\u2266","LessGreater;":"\u2276","lessgtr;":"\u2276","LessLess;":"\u2AA1","lesssim;":"\u2272","LessSlantEqual;":"\u2A7D","LessTilde;":"\u2272","lfisht;":"\u297C","lfloor;":"\u230A","Lfr;":"\u{1D50F}","lfr;":"\u{1D529}","lg;":"\u2276","lgE;":"\u2A91","lHar;":"\u2962","lhard;":"\u21BD","lharu;":"\u21BC","lharul;":"\u296A","lhblk;":"\u2584","LJcy;":"\u0409","ljcy;":"\u0459","Ll;":"\u22D8","ll;":"\u226A","llarr;":"\u21C7","llcorner;":"\u231E","Lleftarrow;":"\u21DA","llhard;":"\u296B","lltri;":"\u25FA","Lmidot;":"\u013F","lmidot;":"\u0140","lmoust;":"\u23B0","lmoustache;":"\u23B0","lnap;":"\u2A89","lnapprox;":"\u2A89","lnE;":"\u2268","lne;":"\u2A87","lneq;":"\u2A87","lneqq;":"\u2268","lnsim;":"\u22E6","loang;":"\u27EC","loarr;":"\u21FD","lobrk;":"\u27E6","LongLeftArrow;":"\u27F5","Longleftarrow;":"\u27F8","longleftarrow;":"\u27F5","LongLeftRightArrow;":"\u27F7","Longleftrightarrow;":"\u27FA","longleftrightarrow;":"\u27F7","longmapsto;":"\u27FC","LongRightArrow;":"\u27F6","Longrightarrow;":"\u27F9","longrightarrow;":"\u27F6","looparrowleft;":"\u21AB","looparrowright;":"\u21AC","lopar;":"\u2985","Lopf;":"\u{1D543}","lopf;":"\u{1D55D}","loplus;":"\u2A2D","lotimes;":"\u2A34","lowast;":"\u2217","lowbar;":"_","LowerLeftArrow;":"\u2199","LowerRightArrow;":"\u2198","loz;":"\u25CA","lozenge;":"\u25CA","lozf;":"\u29EB","lpar;":"(","lparlt;":"\u2993","lrarr;":"\u21C6","lrcorner;":"\u231F","lrhar;":"\u21CB","lrhard;":"\u296D","lrm;":"\u200E","lrtri;":"\u22BF","lsaquo;":"\u2039","Lscr;":"\u2112","lscr;":"\u{1D4C1}","Lsh;":"\u21B0","lsh;":"\u21B0","lsim;":"\u2272","lsime;":"\u2A8D","lsimg;":"\u2A8F","lsqb;":"[","lsquo;":"\u2018","lsquor;":"\u201A","Lstrok;":"\u0141","lstrok;":"\u0142","LT;":"<",LT:"<","Lt;":"\u226A","lt;":"<",lt:"<","ltcc;":"\u2AA6","ltcir;":"\u2A79","ltdot;":"\u22D6","lthree;":"\u22CB","ltimes;":"\u22C9","ltlarr;":"\u2976","ltquest;":"\u2A7B","ltri;":"\u25C3","ltrie;":"\u22B4","ltrif;":"\u25C2","ltrPar;":"\u2996","lurdshar;":"\u294A","luruhar;":"\u2966","lvertneqq;":"\u2268\uFE00","lvnE;":"\u2268\uFE00","macr;":"\xAF",macr:"\xAF","male;":"\u2642","malt;":"\u2720","maltese;":"\u2720","Map;":"\u2905","map;":"\u21A6","mapsto;":"\u21A6","mapstodown;":"\u21A7","mapstoleft;":"\u21A4","mapstoup;":"\u21A5","marker;":"\u25AE","mcomma;":"\u2A29","Mcy;":"\u041C","mcy;":"\u043C","mdash;":"\u2014","mDDot;":"\u223A","measuredangle;":"\u2221","MediumSpace;":"\u205F","Mellintrf;":"\u2133","Mfr;":"\u{1D510}","mfr;":"\u{1D52A}","mho;":"\u2127","micro;":"\xB5",micro:"\xB5","mid;":"\u2223","midast;":"*","midcir;":"\u2AF0","middot;":"\xB7",middot:"\xB7","minus;":"\u2212","minusb;":"\u229F","minusd;":"\u2238","minusdu;":"\u2A2A","MinusPlus;":"\u2213","mlcp;":"\u2ADB","mldr;":"\u2026","mnplus;":"\u2213","models;":"\u22A7","Mopf;":"\u{1D544}","mopf;":"\u{1D55E}","mp;":"\u2213","Mscr;":"\u2133","mscr;":"\u{1D4C2}","mstpos;":"\u223E","Mu;":"\u039C","mu;":"\u03BC","multimap;":"\u22B8","mumap;":"\u22B8","nabla;":"\u2207","Nacute;":"\u0143","nacute;":"\u0144","nang;":"\u2220\u20D2","nap;":"\u2249","napE;":"\u2A70\u0338","napid;":"\u224B\u0338","napos;":"\u0149","napprox;":"\u2249","natur;":"\u266E","natural;":"\u266E","naturals;":"\u2115","nbsp;":"\xA0",nbsp:"\xA0","nbump;":"\u224E\u0338","nbumpe;":"\u224F\u0338","ncap;":"\u2A43","Ncaron;":"\u0147","ncaron;":"\u0148","Ncedil;":"\u0145","ncedil;":"\u0146","ncong;":"\u2247","ncongdot;":"\u2A6D\u0338","ncup;":"\u2A42","Ncy;":"\u041D","ncy;":"\u043D","ndash;":"\u2013","ne;":"\u2260","nearhk;":"\u2924","neArr;":"\u21D7","nearr;":"\u2197","nearrow;":"\u2197","nedot;":"\u2250\u0338","NegativeMediumSpace;":"\u200B","NegativeThickSpace;":"\u200B","NegativeThinSpace;":"\u200B","NegativeVeryThinSpace;":"\u200B","nequiv;":"\u2262","nesear;":"\u2928","nesim;":"\u2242\u0338","NestedGreaterGreater;":"\u226B","NestedLessLess;":"\u226A","NewLine;":`
|
|
33
|
+
`,"nexist;":"\u2204","nexists;":"\u2204","Nfr;":"\u{1D511}","nfr;":"\u{1D52B}","ngE;":"\u2267\u0338","nge;":"\u2271","ngeq;":"\u2271","ngeqq;":"\u2267\u0338","ngeqslant;":"\u2A7E\u0338","nges;":"\u2A7E\u0338","nGg;":"\u22D9\u0338","ngsim;":"\u2275","nGt;":"\u226B\u20D2","ngt;":"\u226F","ngtr;":"\u226F","nGtv;":"\u226B\u0338","nhArr;":"\u21CE","nharr;":"\u21AE","nhpar;":"\u2AF2","ni;":"\u220B","nis;":"\u22FC","nisd;":"\u22FA","niv;":"\u220B","NJcy;":"\u040A","njcy;":"\u045A","nlArr;":"\u21CD","nlarr;":"\u219A","nldr;":"\u2025","nlE;":"\u2266\u0338","nle;":"\u2270","nLeftarrow;":"\u21CD","nleftarrow;":"\u219A","nLeftrightarrow;":"\u21CE","nleftrightarrow;":"\u21AE","nleq;":"\u2270","nleqq;":"\u2266\u0338","nleqslant;":"\u2A7D\u0338","nles;":"\u2A7D\u0338","nless;":"\u226E","nLl;":"\u22D8\u0338","nlsim;":"\u2274","nLt;":"\u226A\u20D2","nlt;":"\u226E","nltri;":"\u22EA","nltrie;":"\u22EC","nLtv;":"\u226A\u0338","nmid;":"\u2224","NoBreak;":"\u2060","NonBreakingSpace;":"\xA0","Nopf;":"\u2115","nopf;":"\u{1D55F}","Not;":"\u2AEC","not;":"\xAC",not:"\xAC","NotCongruent;":"\u2262","NotCupCap;":"\u226D","NotDoubleVerticalBar;":"\u2226","NotElement;":"\u2209","NotEqual;":"\u2260","NotEqualTilde;":"\u2242\u0338","NotExists;":"\u2204","NotGreater;":"\u226F","NotGreaterEqual;":"\u2271","NotGreaterFullEqual;":"\u2267\u0338","NotGreaterGreater;":"\u226B\u0338","NotGreaterLess;":"\u2279","NotGreaterSlantEqual;":"\u2A7E\u0338","NotGreaterTilde;":"\u2275","NotHumpDownHump;":"\u224E\u0338","NotHumpEqual;":"\u224F\u0338","notin;":"\u2209","notindot;":"\u22F5\u0338","notinE;":"\u22F9\u0338","notinva;":"\u2209","notinvb;":"\u22F7","notinvc;":"\u22F6","NotLeftTriangle;":"\u22EA","NotLeftTriangleBar;":"\u29CF\u0338","NotLeftTriangleEqual;":"\u22EC","NotLess;":"\u226E","NotLessEqual;":"\u2270","NotLessGreater;":"\u2278","NotLessLess;":"\u226A\u0338","NotLessSlantEqual;":"\u2A7D\u0338","NotLessTilde;":"\u2274","NotNestedGreaterGreater;":"\u2AA2\u0338","NotNestedLessLess;":"\u2AA1\u0338","notni;":"\u220C","notniva;":"\u220C","notnivb;":"\u22FE","notnivc;":"\u22FD","NotPrecedes;":"\u2280","NotPrecedesEqual;":"\u2AAF\u0338","NotPrecedesSlantEqual;":"\u22E0","NotReverseElement;":"\u220C","NotRightTriangle;":"\u22EB","NotRightTriangleBar;":"\u29D0\u0338","NotRightTriangleEqual;":"\u22ED","NotSquareSubset;":"\u228F\u0338","NotSquareSubsetEqual;":"\u22E2","NotSquareSuperset;":"\u2290\u0338","NotSquareSupersetEqual;":"\u22E3","NotSubset;":"\u2282\u20D2","NotSubsetEqual;":"\u2288","NotSucceeds;":"\u2281","NotSucceedsEqual;":"\u2AB0\u0338","NotSucceedsSlantEqual;":"\u22E1","NotSucceedsTilde;":"\u227F\u0338","NotSuperset;":"\u2283\u20D2","NotSupersetEqual;":"\u2289","NotTilde;":"\u2241","NotTildeEqual;":"\u2244","NotTildeFullEqual;":"\u2247","NotTildeTilde;":"\u2249","NotVerticalBar;":"\u2224","npar;":"\u2226","nparallel;":"\u2226","nparsl;":"\u2AFD\u20E5","npart;":"\u2202\u0338","npolint;":"\u2A14","npr;":"\u2280","nprcue;":"\u22E0","npre;":"\u2AAF\u0338","nprec;":"\u2280","npreceq;":"\u2AAF\u0338","nrArr;":"\u21CF","nrarr;":"\u219B","nrarrc;":"\u2933\u0338","nrarrw;":"\u219D\u0338","nRightarrow;":"\u21CF","nrightarrow;":"\u219B","nrtri;":"\u22EB","nrtrie;":"\u22ED","nsc;":"\u2281","nsccue;":"\u22E1","nsce;":"\u2AB0\u0338","Nscr;":"\u{1D4A9}","nscr;":"\u{1D4C3}","nshortmid;":"\u2224","nshortparallel;":"\u2226","nsim;":"\u2241","nsime;":"\u2244","nsimeq;":"\u2244","nsmid;":"\u2224","nspar;":"\u2226","nsqsube;":"\u22E2","nsqsupe;":"\u22E3","nsub;":"\u2284","nsubE;":"\u2AC5\u0338","nsube;":"\u2288","nsubset;":"\u2282\u20D2","nsubseteq;":"\u2288","nsubseteqq;":"\u2AC5\u0338","nsucc;":"\u2281","nsucceq;":"\u2AB0\u0338","nsup;":"\u2285","nsupE;":"\u2AC6\u0338","nsupe;":"\u2289","nsupset;":"\u2283\u20D2","nsupseteq;":"\u2289","nsupseteqq;":"\u2AC6\u0338","ntgl;":"\u2279","Ntilde;":"\xD1",Ntilde:"\xD1","ntilde;":"\xF1",ntilde:"\xF1","ntlg;":"\u2278","ntriangleleft;":"\u22EA","ntrianglelefteq;":"\u22EC","ntriangleright;":"\u22EB","ntrianglerighteq;":"\u22ED","Nu;":"\u039D","nu;":"\u03BD","num;":"#","numero;":"\u2116","numsp;":"\u2007","nvap;":"\u224D\u20D2","nVDash;":"\u22AF","nVdash;":"\u22AE","nvDash;":"\u22AD","nvdash;":"\u22AC","nvge;":"\u2265\u20D2","nvgt;":">\u20D2","nvHarr;":"\u2904","nvinfin;":"\u29DE","nvlArr;":"\u2902","nvle;":"\u2264\u20D2","nvlt;":"<\u20D2","nvltrie;":"\u22B4\u20D2","nvrArr;":"\u2903","nvrtrie;":"\u22B5\u20D2","nvsim;":"\u223C\u20D2","nwarhk;":"\u2923","nwArr;":"\u21D6","nwarr;":"\u2196","nwarrow;":"\u2196","nwnear;":"\u2927","Oacute;":"\xD3",Oacute:"\xD3","oacute;":"\xF3",oacute:"\xF3","oast;":"\u229B","ocir;":"\u229A","Ocirc;":"\xD4",Ocirc:"\xD4","ocirc;":"\xF4",ocirc:"\xF4","Ocy;":"\u041E","ocy;":"\u043E","odash;":"\u229D","Odblac;":"\u0150","odblac;":"\u0151","odiv;":"\u2A38","odot;":"\u2299","odsold;":"\u29BC","OElig;":"\u0152","oelig;":"\u0153","ofcir;":"\u29BF","Ofr;":"\u{1D512}","ofr;":"\u{1D52C}","ogon;":"\u02DB","Ograve;":"\xD2",Ograve:"\xD2","ograve;":"\xF2",ograve:"\xF2","ogt;":"\u29C1","ohbar;":"\u29B5","ohm;":"\u03A9","oint;":"\u222E","olarr;":"\u21BA","olcir;":"\u29BE","olcross;":"\u29BB","oline;":"\u203E","olt;":"\u29C0","Omacr;":"\u014C","omacr;":"\u014D","Omega;":"\u03A9","omega;":"\u03C9","Omicron;":"\u039F","omicron;":"\u03BF","omid;":"\u29B6","ominus;":"\u2296","Oopf;":"\u{1D546}","oopf;":"\u{1D560}","opar;":"\u29B7","OpenCurlyDoubleQuote;":"\u201C","OpenCurlyQuote;":"\u2018","operp;":"\u29B9","oplus;":"\u2295","Or;":"\u2A54","or;":"\u2228","orarr;":"\u21BB","ord;":"\u2A5D","order;":"\u2134","orderof;":"\u2134","ordf;":"\xAA",ordf:"\xAA","ordm;":"\xBA",ordm:"\xBA","origof;":"\u22B6","oror;":"\u2A56","orslope;":"\u2A57","orv;":"\u2A5B","oS;":"\u24C8","Oscr;":"\u{1D4AA}","oscr;":"\u2134","Oslash;":"\xD8",Oslash:"\xD8","oslash;":"\xF8",oslash:"\xF8","osol;":"\u2298","Otilde;":"\xD5",Otilde:"\xD5","otilde;":"\xF5",otilde:"\xF5","Otimes;":"\u2A37","otimes;":"\u2297","otimesas;":"\u2A36","Ouml;":"\xD6",Ouml:"\xD6","ouml;":"\xF6",ouml:"\xF6","ovbar;":"\u233D","OverBar;":"\u203E","OverBrace;":"\u23DE","OverBracket;":"\u23B4","OverParenthesis;":"\u23DC","par;":"\u2225","para;":"\xB6",para:"\xB6","parallel;":"\u2225","parsim;":"\u2AF3","parsl;":"\u2AFD","part;":"\u2202","PartialD;":"\u2202","Pcy;":"\u041F","pcy;":"\u043F","percnt;":"%","period;":".","permil;":"\u2030","perp;":"\u22A5","pertenk;":"\u2031","Pfr;":"\u{1D513}","pfr;":"\u{1D52D}","Phi;":"\u03A6","phi;":"\u03C6","phiv;":"\u03D5","phmmat;":"\u2133","phone;":"\u260E","Pi;":"\u03A0","pi;":"\u03C0","pitchfork;":"\u22D4","piv;":"\u03D6","planck;":"\u210F","planckh;":"\u210E","plankv;":"\u210F","plus;":"+","plusacir;":"\u2A23","plusb;":"\u229E","pluscir;":"\u2A22","plusdo;":"\u2214","plusdu;":"\u2A25","pluse;":"\u2A72","PlusMinus;":"\xB1","plusmn;":"\xB1",plusmn:"\xB1","plussim;":"\u2A26","plustwo;":"\u2A27","pm;":"\xB1","Poincareplane;":"\u210C","pointint;":"\u2A15","Popf;":"\u2119","popf;":"\u{1D561}","pound;":"\xA3",pound:"\xA3","Pr;":"\u2ABB","pr;":"\u227A","prap;":"\u2AB7","prcue;":"\u227C","prE;":"\u2AB3","pre;":"\u2AAF","prec;":"\u227A","precapprox;":"\u2AB7","preccurlyeq;":"\u227C","Precedes;":"\u227A","PrecedesEqual;":"\u2AAF","PrecedesSlantEqual;":"\u227C","PrecedesTilde;":"\u227E","preceq;":"\u2AAF","precnapprox;":"\u2AB9","precneqq;":"\u2AB5","precnsim;":"\u22E8","precsim;":"\u227E","Prime;":"\u2033","prime;":"\u2032","primes;":"\u2119","prnap;":"\u2AB9","prnE;":"\u2AB5","prnsim;":"\u22E8","prod;":"\u220F","Product;":"\u220F","profalar;":"\u232E","profline;":"\u2312","profsurf;":"\u2313","prop;":"\u221D","Proportion;":"\u2237","Proportional;":"\u221D","propto;":"\u221D","prsim;":"\u227E","prurel;":"\u22B0","Pscr;":"\u{1D4AB}","pscr;":"\u{1D4C5}","Psi;":"\u03A8","psi;":"\u03C8","puncsp;":"\u2008","Qfr;":"\u{1D514}","qfr;":"\u{1D52E}","qint;":"\u2A0C","Qopf;":"\u211A","qopf;":"\u{1D562}","qprime;":"\u2057","Qscr;":"\u{1D4AC}","qscr;":"\u{1D4C6}","quaternions;":"\u210D","quatint;":"\u2A16","quest;":"?","questeq;":"\u225F","QUOT;":'"',QUOT:'"',"quot;":'"',quot:'"',"rAarr;":"\u21DB","race;":"\u223D\u0331","Racute;":"\u0154","racute;":"\u0155","radic;":"\u221A","raemptyv;":"\u29B3","Rang;":"\u27EB","rang;":"\u27E9","rangd;":"\u2992","range;":"\u29A5","rangle;":"\u27E9","raquo;":"\xBB",raquo:"\xBB","Rarr;":"\u21A0","rArr;":"\u21D2","rarr;":"\u2192","rarrap;":"\u2975","rarrb;":"\u21E5","rarrbfs;":"\u2920","rarrc;":"\u2933","rarrfs;":"\u291E","rarrhk;":"\u21AA","rarrlp;":"\u21AC","rarrpl;":"\u2945","rarrsim;":"\u2974","Rarrtl;":"\u2916","rarrtl;":"\u21A3","rarrw;":"\u219D","rAtail;":"\u291C","ratail;":"\u291A","ratio;":"\u2236","rationals;":"\u211A","RBarr;":"\u2910","rBarr;":"\u290F","rbarr;":"\u290D","rbbrk;":"\u2773","rbrace;":"}","rbrack;":"]","rbrke;":"\u298C","rbrksld;":"\u298E","rbrkslu;":"\u2990","Rcaron;":"\u0158","rcaron;":"\u0159","Rcedil;":"\u0156","rcedil;":"\u0157","rceil;":"\u2309","rcub;":"}","Rcy;":"\u0420","rcy;":"\u0440","rdca;":"\u2937","rdldhar;":"\u2969","rdquo;":"\u201D","rdquor;":"\u201D","rdsh;":"\u21B3","Re;":"\u211C","real;":"\u211C","realine;":"\u211B","realpart;":"\u211C","reals;":"\u211D","rect;":"\u25AD","REG;":"\xAE",REG:"\xAE","reg;":"\xAE",reg:"\xAE","ReverseElement;":"\u220B","ReverseEquilibrium;":"\u21CB","ReverseUpEquilibrium;":"\u296F","rfisht;":"\u297D","rfloor;":"\u230B","Rfr;":"\u211C","rfr;":"\u{1D52F}","rHar;":"\u2964","rhard;":"\u21C1","rharu;":"\u21C0","rharul;":"\u296C","Rho;":"\u03A1","rho;":"\u03C1","rhov;":"\u03F1","RightAngleBracket;":"\u27E9","RightArrow;":"\u2192","Rightarrow;":"\u21D2","rightarrow;":"\u2192","RightArrowBar;":"\u21E5","RightArrowLeftArrow;":"\u21C4","rightarrowtail;":"\u21A3","RightCeiling;":"\u2309","RightDoubleBracket;":"\u27E7","RightDownTeeVector;":"\u295D","RightDownVector;":"\u21C2","RightDownVectorBar;":"\u2955","RightFloor;":"\u230B","rightharpoondown;":"\u21C1","rightharpoonup;":"\u21C0","rightleftarrows;":"\u21C4","rightleftharpoons;":"\u21CC","rightrightarrows;":"\u21C9","rightsquigarrow;":"\u219D","RightTee;":"\u22A2","RightTeeArrow;":"\u21A6","RightTeeVector;":"\u295B","rightthreetimes;":"\u22CC","RightTriangle;":"\u22B3","RightTriangleBar;":"\u29D0","RightTriangleEqual;":"\u22B5","RightUpDownVector;":"\u294F","RightUpTeeVector;":"\u295C","RightUpVector;":"\u21BE","RightUpVectorBar;":"\u2954","RightVector;":"\u21C0","RightVectorBar;":"\u2953","ring;":"\u02DA","risingdotseq;":"\u2253","rlarr;":"\u21C4","rlhar;":"\u21CC","rlm;":"\u200F","rmoust;":"\u23B1","rmoustache;":"\u23B1","rnmid;":"\u2AEE","roang;":"\u27ED","roarr;":"\u21FE","robrk;":"\u27E7","ropar;":"\u2986","Ropf;":"\u211D","ropf;":"\u{1D563}","roplus;":"\u2A2E","rotimes;":"\u2A35","RoundImplies;":"\u2970","rpar;":")","rpargt;":"\u2994","rppolint;":"\u2A12","rrarr;":"\u21C9","Rrightarrow;":"\u21DB","rsaquo;":"\u203A","Rscr;":"\u211B","rscr;":"\u{1D4C7}","Rsh;":"\u21B1","rsh;":"\u21B1","rsqb;":"]","rsquo;":"\u2019","rsquor;":"\u2019","rthree;":"\u22CC","rtimes;":"\u22CA","rtri;":"\u25B9","rtrie;":"\u22B5","rtrif;":"\u25B8","rtriltri;":"\u29CE","RuleDelayed;":"\u29F4","ruluhar;":"\u2968","rx;":"\u211E","Sacute;":"\u015A","sacute;":"\u015B","sbquo;":"\u201A","Sc;":"\u2ABC","sc;":"\u227B","scap;":"\u2AB8","Scaron;":"\u0160","scaron;":"\u0161","sccue;":"\u227D","scE;":"\u2AB4","sce;":"\u2AB0","Scedil;":"\u015E","scedil;":"\u015F","Scirc;":"\u015C","scirc;":"\u015D","scnap;":"\u2ABA","scnE;":"\u2AB6","scnsim;":"\u22E9","scpolint;":"\u2A13","scsim;":"\u227F","Scy;":"\u0421","scy;":"\u0441","sdot;":"\u22C5","sdotb;":"\u22A1","sdote;":"\u2A66","searhk;":"\u2925","seArr;":"\u21D8","searr;":"\u2198","searrow;":"\u2198","sect;":"\xA7",sect:"\xA7","semi;":";","seswar;":"\u2929","setminus;":"\u2216","setmn;":"\u2216","sext;":"\u2736","Sfr;":"\u{1D516}","sfr;":"\u{1D530}","sfrown;":"\u2322","sharp;":"\u266F","SHCHcy;":"\u0429","shchcy;":"\u0449","SHcy;":"\u0428","shcy;":"\u0448","ShortDownArrow;":"\u2193","ShortLeftArrow;":"\u2190","shortmid;":"\u2223","shortparallel;":"\u2225","ShortRightArrow;":"\u2192","ShortUpArrow;":"\u2191","shy;":"\xAD",shy:"\xAD","Sigma;":"\u03A3","sigma;":"\u03C3","sigmaf;":"\u03C2","sigmav;":"\u03C2","sim;":"\u223C","simdot;":"\u2A6A","sime;":"\u2243","simeq;":"\u2243","simg;":"\u2A9E","simgE;":"\u2AA0","siml;":"\u2A9D","simlE;":"\u2A9F","simne;":"\u2246","simplus;":"\u2A24","simrarr;":"\u2972","slarr;":"\u2190","SmallCircle;":"\u2218","smallsetminus;":"\u2216","smashp;":"\u2A33","smeparsl;":"\u29E4","smid;":"\u2223","smile;":"\u2323","smt;":"\u2AAA","smte;":"\u2AAC","smtes;":"\u2AAC\uFE00","SOFTcy;":"\u042C","softcy;":"\u044C","sol;":"/","solb;":"\u29C4","solbar;":"\u233F","Sopf;":"\u{1D54A}","sopf;":"\u{1D564}","spades;":"\u2660","spadesuit;":"\u2660","spar;":"\u2225","sqcap;":"\u2293","sqcaps;":"\u2293\uFE00","sqcup;":"\u2294","sqcups;":"\u2294\uFE00","Sqrt;":"\u221A","sqsub;":"\u228F","sqsube;":"\u2291","sqsubset;":"\u228F","sqsubseteq;":"\u2291","sqsup;":"\u2290","sqsupe;":"\u2292","sqsupset;":"\u2290","sqsupseteq;":"\u2292","squ;":"\u25A1","Square;":"\u25A1","square;":"\u25A1","SquareIntersection;":"\u2293","SquareSubset;":"\u228F","SquareSubsetEqual;":"\u2291","SquareSuperset;":"\u2290","SquareSupersetEqual;":"\u2292","SquareUnion;":"\u2294","squarf;":"\u25AA","squf;":"\u25AA","srarr;":"\u2192","Sscr;":"\u{1D4AE}","sscr;":"\u{1D4C8}","ssetmn;":"\u2216","ssmile;":"\u2323","sstarf;":"\u22C6","Star;":"\u22C6","star;":"\u2606","starf;":"\u2605","straightepsilon;":"\u03F5","straightphi;":"\u03D5","strns;":"\xAF","Sub;":"\u22D0","sub;":"\u2282","subdot;":"\u2ABD","subE;":"\u2AC5","sube;":"\u2286","subedot;":"\u2AC3","submult;":"\u2AC1","subnE;":"\u2ACB","subne;":"\u228A","subplus;":"\u2ABF","subrarr;":"\u2979","Subset;":"\u22D0","subset;":"\u2282","subseteq;":"\u2286","subseteqq;":"\u2AC5","SubsetEqual;":"\u2286","subsetneq;":"\u228A","subsetneqq;":"\u2ACB","subsim;":"\u2AC7","subsub;":"\u2AD5","subsup;":"\u2AD3","succ;":"\u227B","succapprox;":"\u2AB8","succcurlyeq;":"\u227D","Succeeds;":"\u227B","SucceedsEqual;":"\u2AB0","SucceedsSlantEqual;":"\u227D","SucceedsTilde;":"\u227F","succeq;":"\u2AB0","succnapprox;":"\u2ABA","succneqq;":"\u2AB6","succnsim;":"\u22E9","succsim;":"\u227F","SuchThat;":"\u220B","Sum;":"\u2211","sum;":"\u2211","sung;":"\u266A","Sup;":"\u22D1","sup;":"\u2283","sup1;":"\xB9",sup1:"\xB9","sup2;":"\xB2",sup2:"\xB2","sup3;":"\xB3",sup3:"\xB3","supdot;":"\u2ABE","supdsub;":"\u2AD8","supE;":"\u2AC6","supe;":"\u2287","supedot;":"\u2AC4","Superset;":"\u2283","SupersetEqual;":"\u2287","suphsol;":"\u27C9","suphsub;":"\u2AD7","suplarr;":"\u297B","supmult;":"\u2AC2","supnE;":"\u2ACC","supne;":"\u228B","supplus;":"\u2AC0","Supset;":"\u22D1","supset;":"\u2283","supseteq;":"\u2287","supseteqq;":"\u2AC6","supsetneq;":"\u228B","supsetneqq;":"\u2ACC","supsim;":"\u2AC8","supsub;":"\u2AD4","supsup;":"\u2AD6","swarhk;":"\u2926","swArr;":"\u21D9","swarr;":"\u2199","swarrow;":"\u2199","swnwar;":"\u292A","szlig;":"\xDF",szlig:"\xDF","Tab;":" ","target;":"\u2316","Tau;":"\u03A4","tau;":"\u03C4","tbrk;":"\u23B4","Tcaron;":"\u0164","tcaron;":"\u0165","Tcedil;":"\u0162","tcedil;":"\u0163","Tcy;":"\u0422","tcy;":"\u0442","tdot;":"\u20DB","telrec;":"\u2315","Tfr;":"\u{1D517}","tfr;":"\u{1D531}","there4;":"\u2234","Therefore;":"\u2234","therefore;":"\u2234","Theta;":"\u0398","theta;":"\u03B8","thetasym;":"\u03D1","thetav;":"\u03D1","thickapprox;":"\u2248","thicksim;":"\u223C","ThickSpace;":"\u205F\u200A","thinsp;":"\u2009","ThinSpace;":"\u2009","thkap;":"\u2248","thksim;":"\u223C","THORN;":"\xDE",THORN:"\xDE","thorn;":"\xFE",thorn:"\xFE","Tilde;":"\u223C","tilde;":"\u02DC","TildeEqual;":"\u2243","TildeFullEqual;":"\u2245","TildeTilde;":"\u2248","times;":"\xD7",times:"\xD7","timesb;":"\u22A0","timesbar;":"\u2A31","timesd;":"\u2A30","tint;":"\u222D","toea;":"\u2928","top;":"\u22A4","topbot;":"\u2336","topcir;":"\u2AF1","Topf;":"\u{1D54B}","topf;":"\u{1D565}","topfork;":"\u2ADA","tosa;":"\u2929","tprime;":"\u2034","TRADE;":"\u2122","trade;":"\u2122","triangle;":"\u25B5","triangledown;":"\u25BF","triangleleft;":"\u25C3","trianglelefteq;":"\u22B4","triangleq;":"\u225C","triangleright;":"\u25B9","trianglerighteq;":"\u22B5","tridot;":"\u25EC","trie;":"\u225C","triminus;":"\u2A3A","TripleDot;":"\u20DB","triplus;":"\u2A39","trisb;":"\u29CD","tritime;":"\u2A3B","trpezium;":"\u23E2","Tscr;":"\u{1D4AF}","tscr;":"\u{1D4C9}","TScy;":"\u0426","tscy;":"\u0446","TSHcy;":"\u040B","tshcy;":"\u045B","Tstrok;":"\u0166","tstrok;":"\u0167","twixt;":"\u226C","twoheadleftarrow;":"\u219E","twoheadrightarrow;":"\u21A0","Uacute;":"\xDA",Uacute:"\xDA","uacute;":"\xFA",uacute:"\xFA","Uarr;":"\u219F","uArr;":"\u21D1","uarr;":"\u2191","Uarrocir;":"\u2949","Ubrcy;":"\u040E","ubrcy;":"\u045E","Ubreve;":"\u016C","ubreve;":"\u016D","Ucirc;":"\xDB",Ucirc:"\xDB","ucirc;":"\xFB",ucirc:"\xFB","Ucy;":"\u0423","ucy;":"\u0443","udarr;":"\u21C5","Udblac;":"\u0170","udblac;":"\u0171","udhar;":"\u296E","ufisht;":"\u297E","Ufr;":"\u{1D518}","ufr;":"\u{1D532}","Ugrave;":"\xD9",Ugrave:"\xD9","ugrave;":"\xF9",ugrave:"\xF9","uHar;":"\u2963","uharl;":"\u21BF","uharr;":"\u21BE","uhblk;":"\u2580","ulcorn;":"\u231C","ulcorner;":"\u231C","ulcrop;":"\u230F","ultri;":"\u25F8","Umacr;":"\u016A","umacr;":"\u016B","uml;":"\xA8",uml:"\xA8","UnderBar;":"_","UnderBrace;":"\u23DF","UnderBracket;":"\u23B5","UnderParenthesis;":"\u23DD","Union;":"\u22C3","UnionPlus;":"\u228E","Uogon;":"\u0172","uogon;":"\u0173","Uopf;":"\u{1D54C}","uopf;":"\u{1D566}","UpArrow;":"\u2191","Uparrow;":"\u21D1","uparrow;":"\u2191","UpArrowBar;":"\u2912","UpArrowDownArrow;":"\u21C5","UpDownArrow;":"\u2195","Updownarrow;":"\u21D5","updownarrow;":"\u2195","UpEquilibrium;":"\u296E","upharpoonleft;":"\u21BF","upharpoonright;":"\u21BE","uplus;":"\u228E","UpperLeftArrow;":"\u2196","UpperRightArrow;":"\u2197","Upsi;":"\u03D2","upsi;":"\u03C5","upsih;":"\u03D2","Upsilon;":"\u03A5","upsilon;":"\u03C5","UpTee;":"\u22A5","UpTeeArrow;":"\u21A5","upuparrows;":"\u21C8","urcorn;":"\u231D","urcorner;":"\u231D","urcrop;":"\u230E","Uring;":"\u016E","uring;":"\u016F","urtri;":"\u25F9","Uscr;":"\u{1D4B0}","uscr;":"\u{1D4CA}","utdot;":"\u22F0","Utilde;":"\u0168","utilde;":"\u0169","utri;":"\u25B5","utrif;":"\u25B4","uuarr;":"\u21C8","Uuml;":"\xDC",Uuml:"\xDC","uuml;":"\xFC",uuml:"\xFC","uwangle;":"\u29A7","vangrt;":"\u299C","varepsilon;":"\u03F5","varkappa;":"\u03F0","varnothing;":"\u2205","varphi;":"\u03D5","varpi;":"\u03D6","varpropto;":"\u221D","vArr;":"\u21D5","varr;":"\u2195","varrho;":"\u03F1","varsigma;":"\u03C2","varsubsetneq;":"\u228A\uFE00","varsubsetneqq;":"\u2ACB\uFE00","varsupsetneq;":"\u228B\uFE00","varsupsetneqq;":"\u2ACC\uFE00","vartheta;":"\u03D1","vartriangleleft;":"\u22B2","vartriangleright;":"\u22B3","Vbar;":"\u2AEB","vBar;":"\u2AE8","vBarv;":"\u2AE9","Vcy;":"\u0412","vcy;":"\u0432","VDash;":"\u22AB","Vdash;":"\u22A9","vDash;":"\u22A8","vdash;":"\u22A2","Vdashl;":"\u2AE6","Vee;":"\u22C1","vee;":"\u2228","veebar;":"\u22BB","veeeq;":"\u225A","vellip;":"\u22EE","Verbar;":"\u2016","verbar;":"|","Vert;":"\u2016","vert;":"|","VerticalBar;":"\u2223","VerticalLine;":"|","VerticalSeparator;":"\u2758","VerticalTilde;":"\u2240","VeryThinSpace;":"\u200A","Vfr;":"\u{1D519}","vfr;":"\u{1D533}","vltri;":"\u22B2","vnsub;":"\u2282\u20D2","vnsup;":"\u2283\u20D2","Vopf;":"\u{1D54D}","vopf;":"\u{1D567}","vprop;":"\u221D","vrtri;":"\u22B3","Vscr;":"\u{1D4B1}","vscr;":"\u{1D4CB}","vsubnE;":"\u2ACB\uFE00","vsubne;":"\u228A\uFE00","vsupnE;":"\u2ACC\uFE00","vsupne;":"\u228B\uFE00","Vvdash;":"\u22AA","vzigzag;":"\u299A","Wcirc;":"\u0174","wcirc;":"\u0175","wedbar;":"\u2A5F","Wedge;":"\u22C0","wedge;":"\u2227","wedgeq;":"\u2259","weierp;":"\u2118","Wfr;":"\u{1D51A}","wfr;":"\u{1D534}","Wopf;":"\u{1D54E}","wopf;":"\u{1D568}","wp;":"\u2118","wr;":"\u2240","wreath;":"\u2240","Wscr;":"\u{1D4B2}","wscr;":"\u{1D4CC}","xcap;":"\u22C2","xcirc;":"\u25EF","xcup;":"\u22C3","xdtri;":"\u25BD","Xfr;":"\u{1D51B}","xfr;":"\u{1D535}","xhArr;":"\u27FA","xharr;":"\u27F7","Xi;":"\u039E","xi;":"\u03BE","xlArr;":"\u27F8","xlarr;":"\u27F5","xmap;":"\u27FC","xnis;":"\u22FB","xodot;":"\u2A00","Xopf;":"\u{1D54F}","xopf;":"\u{1D569}","xoplus;":"\u2A01","xotime;":"\u2A02","xrArr;":"\u27F9","xrarr;":"\u27F6","Xscr;":"\u{1D4B3}","xscr;":"\u{1D4CD}","xsqcup;":"\u2A06","xuplus;":"\u2A04","xutri;":"\u25B3","xvee;":"\u22C1","xwedge;":"\u22C0","Yacute;":"\xDD",Yacute:"\xDD","yacute;":"\xFD",yacute:"\xFD","YAcy;":"\u042F","yacy;":"\u044F","Ycirc;":"\u0176","ycirc;":"\u0177","Ycy;":"\u042B","ycy;":"\u044B","yen;":"\xA5",yen:"\xA5","Yfr;":"\u{1D51C}","yfr;":"\u{1D536}","YIcy;":"\u0407","yicy;":"\u0457","Yopf;":"\u{1D550}","yopf;":"\u{1D56A}","Yscr;":"\u{1D4B4}","yscr;":"\u{1D4CE}","YUcy;":"\u042E","yucy;":"\u044E","Yuml;":"\u0178","yuml;":"\xFF",yuml:"\xFF","Zacute;":"\u0179","zacute;":"\u017A","Zcaron;":"\u017D","zcaron;":"\u017E","Zcy;":"\u0417","zcy;":"\u0437","Zdot;":"\u017B","zdot;":"\u017C","zeetrf;":"\u2128","ZeroWidthSpace;":"\u200B","Zeta;":"\u0396","zeta;":"\u03B6","Zfr;":"\u2128","zfr;":"\u{1D537}","ZHcy;":"\u0416","zhcy;":"\u0436","zigrarr;":"\u21DD","Zopf;":"\u2124","zopf;":"\u{1D56B}","Zscr;":"\u{1D4B5}","zscr;":"\u{1D4CF}","zwj;":"\u200D","zwnj;":"\u200C"};function Ce(t,e){if(t.length<e.length)return!1;for(let n=0;n<e.length;n++)if(t[n]!==e[n])return!1;return!0}function xu(t,e){let n=t.length-e.length;return n>0?t.lastIndexOf(e)===n:n===0?t===e:!1}function Rs(t,e){let n="";for(;e>0;)(e&1)===1&&(n+=t),t+=t,e=e>>>1;return n}var Ch=97,Eh=122,Rh=65,Dh=90,Mh=48,Nh=57;function gt(t,e){let n=t.charCodeAt(e);return Ch<=n&&n<=Eh||Rh<=n&&n<=Dh||Mh<=n&&n<=Nh}function Bt(t){return typeof t<"u"}function Tu(t){if(t)return typeof t=="string"?{kind:"markdown",value:t}:{kind:"markdown",value:t.value}}var Ot=class{isApplicable(){return!0}constructor(e,n){this.id=e,this._tags=[],this._tagMap={},this._valueSetMap={},this._tags=n.tags||[],this._globalAttributes=n.globalAttributes||[],this._tags.forEach(i=>{this._tagMap[i.name.toLowerCase()]=i}),n.valueSets&&n.valueSets.forEach(i=>{this._valueSetMap[i.name]=i.values})}getId(){return this.id}provideTags(){return this._tags}provideAttributes(e){let n=[],i=s=>{n.push(s)},r=this._tagMap[e.toLowerCase()];return r&&r.attributes.forEach(i),this._globalAttributes.forEach(i),n}provideValues(e,n){let i=[];n=n.toLowerCase();let r=a=>{a.forEach(l=>{l.name.toLowerCase()===n&&(l.values&&l.values.forEach(o=>{i.push(o)}),l.valueSet&&this._valueSetMap[l.valueSet]&&this._valueSetMap[l.valueSet].forEach(o=>{i.push(o)}))})},s=this._tagMap[e.toLowerCase()];return s&&r(s.attributes),r(this._globalAttributes),i}};function je(t,e={},n){let i={kind:n?"markdown":"plaintext",value:""};if(t.description&&e.documentation!==!1){let r=Tu(t.description);r&&(i.value+=r.value)}if(t.references&&t.references.length>0&&e.references!==!1&&(i.value.length&&(i.value+=`
|
|
30
34
|
|
|
31
35
|
`),n?i.value+=t.references.map(r=>`[${r.name}](${r.url})`).join(" | "):i.value+=t.references.map(r=>`${r.name}: ${r.url}`).join(`
|
|
32
|
-
`)),i.value!=="")return i}var
|
|
33
|
-
\r`.indexOf(M)>=0)return c.substring(R,S);if(!pi(M))return null;R--}return c.substring(0,S)}function L(S,R,M=d){let H=T(S,M),B=Fl(c,M,V.WithinEndTag,I.EndTagClose)?"":">",P=m;for(R&&(P=P.parent);P;){let j=P.tag;if(j&&(!P.closed||P.endTagStart&&P.endTagStart>d)){let Y={label:"/"+j,kind:le.Property,filterText:"/"+j,textEdit:se.replace(H,"/"+j+B),insertTextFormat:ge.PlainText},Z=y(P.start),we=y(S-1);if(Z!==null&&we!==null&&Z!==we){let ve=Z+"</"+j+B;Y.textEdit=se.replace(T(S-1-we.length),ve),Y.filterText=we+"</"+j}return s.items.push(Y),s}P=P.parent}return R||l.forEach(j=>{j.provideTags().forEach(Y=>{s.items.push({label:"/"+Y.name,kind:le.Property,documentation:Ue(Y,void 0,u),filterText:"/"+Y.name+B,textEdit:se.replace(H,"/"+Y.name+B),insertTextFormat:ge.PlainText})})}),s}let z=(S,R)=>{if(r&&r.hideAutoCompleteProposals)return s;if(!this.dataManager.isVoidElement(R,o)){let M=e.positionAt(S);s.items.push({label:"</"+R+">",kind:le.Property,filterText:"</"+R+">",textEdit:se.insert(M,"$0</"+R+">"),insertTextFormat:ge.Snippet})}return s};function F(S,R){return x(S,R),L(S,!0,R),s}function U(){let S=Object.create(null);return m.attributeNames.forEach(R=>{S[R]=!0}),S}function b(S,R=d){let M=d;for(;M<R&&c[M]!=="<";)M++;let H=c.substring(S,R),B=T(S,M),P="";if(!Fl(c,R,V.AfterAttributeName,I.DelimiterAssign)){let Y=r?.attributeDefaultValue??"doublequotes";Y==="empty"?P="=$1":Y==="singlequotes"?P="='$1'":P='="$1"'}let j=U();return j[H]=!1,l.forEach(Y=>{Y.provideAttributes(w).forEach(Z=>{if(j[Z.name])return;j[Z.name]=!0;let we=Z.name,ve;Z.valueSet!=="v"&&P.length&&(we=we+P,(Z.valueSet||Z.name==="style")&&(ve={title:"Suggest",command:"editor.action.triggerSuggest"})),s.items.push({label:Z.name,kind:Z.valueSet==="handler"?le.Function:le.Value,documentation:Ue(Z,void 0,u),textEdit:se.replace(B,we),insertTextFormat:ge.Snippet,command:ve})})}),g(B,j),s}function g(S,R){let M="data-",H={};H[M]=`${M}$1="$2"`;function B(P){P.attributeNames.forEach(j=>{Se(j,M)&&!H[j]&&!R[j]&&(H[j]=j+'="$1"')}),P.children.forEach(j=>B(j))}i&&i.roots.forEach(P=>B(P)),Object.keys(H).forEach(P=>s.items.push({label:P,kind:le.Value,textEdit:se.replace(S,H[P]),insertTextFormat:ge.Snippet}))}function v(S,R=d){let M,H,B;if(d>S&&d<=R&&$c(c[S])){let P=S+1,j=R;R>S&&c[R-1]===c[S]&&j--;let Y=Xc(c,d,P),Z=Qc(c,d,j);M=T(Y,Z),B=d>=P&&d<=j?c.substring(P,d):"",H=!1}else M=T(S,R),B=c.substring(S,d),H=!0;if(a.length>0){let P=w.toLowerCase(),j=p.toLowerCase(),Y=T(S,R);for(let Z of a)Z.onHtmlAttributeValue&&Z.onHtmlAttributeValue({document:e,position:n,tag:P,attribute:j,value:B,range:Y})}return l.forEach(P=>{P.provideValues(w,p).forEach(j=>{let Y=H?'"'+j.name+'"':j.name;s.items.push({label:j.name,filterText:Y,kind:le.Unit,documentation:Ue(j,void 0,u),textEdit:se.replace(M,Y),insertTextFormat:ge.PlainText})})}),_(),s}function N(S){return d===f.getTokenEnd()&&(D=f.scan(),D===S&&f.getTokenOffset()===d)?f.getTokenEnd():d}function k(){for(let S of a)S.onHtmlContent&&S.onHtmlContent({document:e,position:n});return _()}function _(){let S=d-1,R=n.character;for(;S>=0&&dt(c,S);)S--,R--;if(S>=0&&c[S]==="&"){let M=G.create(ne.create(n.line,R-1),n);for(let H in ht)if(Il(H,";")){let B="&"+H;s.items.push({label:B,kind:le.Keyword,documentation:fe("Character entity representing '{0}'",ht[H]),textEdit:se.replace(M,B),insertTextFormat:ge.PlainText})}}return s}function A(S,R){let M=T(S,R);s.items.push({label:"!DOCTYPE",kind:le.Property,documentation:"A preamble for an HTML document.",textEdit:se.replace(M,"!DOCTYPE html>"),insertTextFormat:ge.PlainText})}let D=f.scan();for(;D!==I.EOS&&f.getTokenOffset()<=d;){switch(D){case I.StartTagOpen:if(f.getTokenEnd()===d){let S=N(I.StartTag);return n.line===0&&A(d,S),F(d,S)}break;case I.StartTag:if(f.getTokenOffset()<=d&&d<=f.getTokenEnd())return x(f.getTokenOffset(),f.getTokenEnd());w=f.getTokenText();break;case I.AttributeName:if(f.getTokenOffset()<=d&&d<=f.getTokenEnd())return b(f.getTokenOffset(),f.getTokenEnd());p=f.getTokenText();break;case I.DelimiterAssign:if(f.getTokenEnd()===d){let S=N(I.AttributeValue);return v(d,S)}break;case I.AttributeValue:if(f.getTokenOffset()<=d&&d<=f.getTokenEnd())return v(f.getTokenOffset(),f.getTokenEnd());break;case I.Whitespace:if(d<=f.getTokenEnd())switch(f.getScannerState()){case V.AfterOpeningStartTag:let S=f.getTokenOffset(),R=N(I.StartTag);return F(S,R);case V.WithinTag:case V.AfterAttributeName:return b(f.getTokenEnd());case V.BeforeAttributeValue:return v(f.getTokenEnd());case V.AfterOpeningEndTag:return L(f.getTokenOffset()-1,!1);case V.WithinContent:return k()}break;case I.EndTagOpen:if(d<=f.getTokenEnd()){let S=f.getTokenOffset()+1,R=N(I.EndTag);return L(S,!1,R)}break;case I.EndTag:if(d<=f.getTokenEnd()){let S=f.getTokenOffset()-1;for(;S>=0;){let R=c.charAt(S);if(R==="/")return L(S,!1,f.getTokenEnd());if(!pi(R))break;S--}}break;case I.StartTagClose:if(d<=f.getTokenEnd()&&w)return z(f.getTokenEnd(),w);break;case I.Content:if(d<=f.getTokenEnd())return k();break;default:if(d<=f.getTokenEnd())return s;break}D=f.scan()}return s}doQuoteComplete(e,n,i,r){let s=e.offsetAt(n);if(s<=0)return null;let a=r?.attributeDefaultValue??"doublequotes";if(a==="empty"||e.getText().charAt(s-1)!=="=")return null;let o=a==="doublequotes"?'"$1"':"'$1'",u=i.findNodeBefore(s);if(u&&u.attributes&&u.start<s&&(!u.endTagStart||u.endTagStart>s)){let c=ae(e.getText(),u.start),d=c.scan();for(;d!==I.EOS&&c.getTokenEnd()<=s;){if(d===I.AttributeName&&c.getTokenEnd()===s-1)return d=c.scan(),d!==I.DelimiterAssign||(d=c.scan(),d===I.Unknown||d===I.AttributeValue)?null:o;d=c.scan()}}return null}doTagComplete(e,n,i){let r=e.offsetAt(n);if(r<=0)return null;let s=e.getText().charAt(r-1);if(s===">"){let a=this.dataManager.getVoidElements(e.languageId),l=i.findNodeBefore(r);if(l&&l.tag&&!this.dataManager.isVoidElement(l.tag,a)&&l.start<r&&(!l.endTagStart||l.endTagStart>r)){let o=ae(e.getText(),l.start),u=o.scan();for(;u!==I.EOS&&o.getTokenEnd()<=r;){if(u===I.StartTagClose&&o.getTokenEnd()===r)return`$0</${l.tag}>`;u=o.scan()}}}else if(s==="/"){let a=i.findNodeBefore(r);for(;a&&a.closed&&!(a.endTagStart&&a.endTagStart>r);)a=a.parent;if(a&&a.tag){let l=ae(e.getText(),a.start),o=l.scan();for(;o!==I.EOS&&l.getTokenEnd()<=r;){if(o===I.EndTagOpen&&l.getTokenEnd()===r)return e.getText().charAt(r)!==">"?`${a.tag}>`:a.tag;o=l.scan()}}}return null}convertCompletionList(e){return this.doesSupportMarkdown()||e.items.forEach(n=>{n.documentation&&typeof n.documentation!="string"&&(n.documentation={kind:"plaintext",value:n.documentation.value})}),e}doesSupportMarkdown(){if(!Nt(this.supportsMarkdown)){if(!Nt(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;let e=this.lsOptions.clientCapabilities.textDocument?.completion?.completionItem?.documentationFormat;this.supportsMarkdown=Array.isArray(e)&&e.indexOf(_e.Markdown)!==-1}return this.supportsMarkdown}};function $c(t){return/^["']*$/.test(t)}function pi(t){return/^\s*$/.test(t)}function Fl(t,e,n,i){let r=ae(t,e,n),s=r.scan();for(;s===I.Whitespace;)s=r.scan();return s===i}function Xc(t,e,n){for(;e>n&&!pi(t[e-1]);)e--;return e}function Qc(t,e,n){for(;e<n&&!pi(t[e]);)e++;return e}var gi=class{constructor(e,n){this.lsOptions=e,this.dataManager=n}doHover(e,n,i,r){let s=this.convertContents.bind(this),a=this.doesSupportMarkdown(),l=e.offsetAt(n),o=i.findNodeAt(l),u=e.getText();if(!o||!o.tag)return null;let c=this.dataManager.getDataProviders().filter(b=>b.isApplicable(e.languageId));function d(b,g,v){for(let N of c){let k=null;if(N.provideTags().forEach(_=>{if(_.name.toLowerCase()===b.toLowerCase()){let A=Ue(_,r,a);A||(A={kind:a?"markdown":"plaintext",value:""}),k={contents:A,range:g}}}),k)return k.contents=s(k.contents),k}return null}function m(b,g,v){for(let N of c){let k=null;if(N.provideAttributes(b).forEach(_=>{if(g===_.name&&_.description){let A=Ue(_,r,a);A?k={contents:A,range:v}:k=null}}),k)return k.contents=s(k.contents),k}return null}function f(b,g,v,N){for(let k of c){let _=null;if(k.provideValues(b,g).forEach(A=>{if(v===A.name&&A.description){let D=Ue(A,r,a);D?_={contents:D,range:N}:_=null}}),_)return _.contents=s(_.contents),_}return null}function w(b,g){let v=x(b);for(let N in ht){let k=null,_="&"+N;if(v===_){let A=ht[N].charCodeAt(0).toString(16).toUpperCase(),D="U+";if(A.length<4){let R=4-A.length,M=0;for(;M<R;)D+="0",M+=1}D+=A;let S=fe("Character entity representing '{0}', unicode equivalent '{1}'",ht[N],D);S?k={contents:S,range:g}:k=null}if(k)return k.contents=s(k.contents),k}return null}function p(b,g){let v=ae(e.getText(),g),N=v.scan();for(;N!==I.EOS&&(v.getTokenEnd()<l||v.getTokenEnd()===l&&N!==b);)N=v.scan();return N===b&&l<=v.getTokenEnd()?{start:e.positionAt(v.getTokenOffset()),end:e.positionAt(v.getTokenEnd())}:null}function T(){let b=l-1,g=n.character;for(;b>=0&&dt(u,b);)b--,g--;let v=b+1,N=g;for(;dt(u,v);)v++,N++;if(b>=0&&u[b]==="&"){let k=null;return u[v]===";"?k=G.create(ne.create(n.line,g),ne.create(n.line,N+1)):k=G.create(ne.create(n.line,g),ne.create(n.line,N)),k}return null}function x(b){let g=l-1,v="&";for(;g>=0&&dt(b,g);)g--;for(g=g+1;dt(b,g);)v+=b[g],g+=1;return v+=";",v}if(o.endTagStart&&l>=o.endTagStart){let b=p(I.EndTag,o.endTagStart);return b?d(o.tag,b):null}let y=p(I.StartTag,o.start);if(y)return d(o.tag,y);let L=p(I.AttributeName,o.start);if(L){let b=o.tag,g=e.getText(L);return m(b,g,L)}let z=T();if(z)return w(u,z);function F(b,g){let v=ae(e.getText(),b),N=v.scan(),k;for(;N!==I.EOS&&v.getTokenEnd()<=g;)N=v.scan(),N===I.AttributeName&&(k=v.getTokenText());return k}let U=p(I.AttributeValue,o.start);if(U){let b=o.tag,g=Jc(e.getText(U)),v=F(o.start,e.offsetAt(U.start));if(v)return f(b,v,g,U)}return null}convertContents(e){if(!this.doesSupportMarkdown()){if(typeof e=="string")return e;if("kind"in e)return{kind:"plaintext",value:e.value};if(Array.isArray(e))e.map(n=>typeof n=="string"?n:n.value);else return e.value}return e}doesSupportMarkdown(){if(!Nt(this.supportsMarkdown)){if(!Nt(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;let e=this.lsOptions.clientCapabilities?.textDocument?.hover?.contentFormat;this.supportsMarkdown=Array.isArray(e)&&e.indexOf(_e.Markdown)!==-1}return this.supportsMarkdown}};function Jc(t){return t.length<=1?t.replace(/['"]/,""):((t[0]==="'"||t[0]==='"')&&(t=t.slice(1)),(t[t.length-1]==="'"||t[t.length-1]==='"')&&(t=t.slice(0,-1)),t)}function Pl(t,e){return t}var Ul;(function(){var t=[,,(function(r){function s(o){this.__parent=o,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}s.prototype.clone_empty=function(){var o=new s(this.__parent);return o.set_indent(this.__indent_count,this.__alignment_count),o},s.prototype.item=function(o){return o<0?this.__items[this.__items.length+o]:this.__items[o]},s.prototype.has_match=function(o){for(var u=this.__items.length-1;u>=0;u--)if(this.__items[u].match(o))return!0;return!1},s.prototype.set_indent=function(o,u){this.is_empty()&&(this.__indent_count=o||0,this.__alignment_count=u||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},s.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},s.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},s.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var o=this.__parent.current_line;return o.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),o.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),o.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,o.__items[0]===" "&&(o.__items.splice(0,1),o.__character_count-=1),!0}return!1},s.prototype.is_empty=function(){return this.__items.length===0},s.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},s.prototype.push=function(o){this.__items.push(o);var u=o.lastIndexOf(`
|
|
34
|
-
`);u!==-1?this.__character_count=o.length-u:this.__character_count+=o.length},s.prototype.pop=function(){var o=null;return this.is_empty()||(o=this.__items.pop(),this.__character_count-=o.length),o},s.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},s.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},s.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},s.prototype.toString=function(){var o="";return this.is_empty()?this.__parent.indent_empty_lines&&(o=this.__parent.get_indent_string(this.__indent_count)):(o=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),o+=this.__items.join("")),o};function a(o,u){this.__cache=[""],this.__indent_size=o.indent_size,this.__indent_string=o.indent_char,o.indent_with_tabs||(this.__indent_string=new Array(o.indent_size+1).join(o.indent_char)),u=u||"",o.indent_level>0&&(u=new Array(o.indent_level+1).join(this.__indent_string)),this.__base_string=u,this.__base_string_length=u.length}a.prototype.get_indent_size=function(o,u){var
|
|
35
|
-
`&&(u=u.replace(/\n+$/g,"")),this.current_line.push(u)),this._end_with_newline&&this.__add_outputline();var
|
|
36
|
+
`)),i.value!=="")return i}var Di=class{constructor(e,n){this.dataManager=e,this.readDirectory=n,this.atributeCompletions=[]}onHtmlAttributeValue(e){this.dataManager.isPathAttribute(e.tag,e.attribute)&&this.atributeCompletions.push(e)}async computeCompletions(e,n){let i={items:[],isIncomplete:!1};for(let r of this.atributeCompletions){let s=Ph(e.getText(r.range));if(zh(s))if(s==="."||s==="..")i.isIncomplete=!0;else{let a=Fh(r.value,s,r.range),l=await this.providePathSuggestions(r.value,a,e,n);for(let o of l)i.items.push(o)}}return i}async providePathSuggestions(e,n,i,r){let s=e.substring(0,e.lastIndexOf("/")+1),a=r.resolveReference(s||".",i.uri);if(a)try{let l=[],o=await this.readDirectory(a);for(let[u,h]of o)u.charCodeAt(0)!==Ih&&l.push(Uh(u,h===yn.Directory,n));return l}catch{}return[]}},Ih=46;function Ph(t){return Ce(t,"'")||Ce(t,'"')?t.slice(1,-1):t}function zh(t){return!(Ce(t,"http")||Ce(t,"https")||Ce(t,"//"))}function Fh(t,e,n){let i,r=t.lastIndexOf("/");if(r===-1)i=Wh(n,1,-1);else{let s=e.slice(r+1),a=xn(n.end,-1-s.length),l=s.indexOf(" "),o;l!==-1?o=xn(a,l):o=xn(n.end,-1),i=X.create(a,o)}return i}function Uh(t,e,n){return e?(t=t+"/",{label:t,kind:de.Folder,textEdit:ae.replace(n,t),command:{title:"Suggest",command:"editor.action.triggerSuggest"}}):{label:t,kind:de.File,textEdit:ae.replace(n,t)}}function xn(t,e){return ie.create(t.line,t.character+e)}function Wh(t,e,n){let i=xn(t.start,e),r=xn(t.end,n);return X.create(i,r)}var Mi=class{constructor(e,n){this.lsOptions=e,this.dataManager=n,this.completionParticipants=[]}setCompletionParticipants(e){this.completionParticipants=e||[]}async doComplete2(e,n,i,r,s){if(!this.lsOptions.fileSystemProvider||!this.lsOptions.fileSystemProvider.readDirectory)return this.doComplete(e,n,i,s);let a=new Di(this.dataManager,this.lsOptions.fileSystemProvider.readDirectory),l=this.completionParticipants;this.completionParticipants=[a].concat(l);let o=this.doComplete(e,n,i,s);try{let u=await a.computeCompletions(e,r);return{isIncomplete:o.isIncomplete||u.isIncomplete,items:u.items.concat(o.items)}}finally{this.completionParticipants=l}}doComplete(e,n,i,r){let s=this._doComplete(e,n,i,r);return this.convertCompletionList(s)}_doComplete(e,n,i,r){let s={isIncomplete:!1,items:[]},a=this.completionParticipants,l=this.dataManager.getDataProviders().filter(k=>k.isApplicable(e.languageId)&&(!r||r[k.getId()]!==!1)),o=this.dataManager.getVoidElements(l),u=this.doesSupportMarkdown(),h=e.getText(),d=e.offsetAt(n),m=i.findNodeBefore(d);if(!m)return s;let f=oe(h,m.start),w="",p;function x(k,E=d){return k>d&&(k=d),{start:e.positionAt(k),end:e.positionAt(E)}}function y(k,E){let M=x(k,E);return l.forEach(F=>{F.provideTags().forEach(U=>{s.items.push({label:U.name,kind:de.Property,documentation:je(U,void 0,u),textEdit:ae.replace(M,U.name),insertTextFormat:_e.PlainText})})}),s}function v(k){let E=k;for(;E>0;){let M=h.charAt(E-1);if(`
|
|
37
|
+
\r`.indexOf(M)>=0)return h.substring(E,k);if(!Ni(M))return null;E--}return h.substring(0,k)}function S(k,E,M=d){let F=x(k,M),U=ku(h,M,$.WithinEndTag,I.EndTagClose)?"":">",W=m;for(E&&(W=W.parent);W;){let B=W.tag;if(B&&(!W.closed||W.endTagStart&&W.endTagStart>d)){let Y={label:"/"+B,kind:de.Property,filterText:"/"+B,textEdit:ae.replace(F,"/"+B+U),insertTextFormat:_e.PlainText},Z=v(W.start),te=v(k-1);if(Z!==null&&te!==null&&Z!==te){let pe=Z+"</"+B+U;Y.textEdit=ae.replace(x(k-1-te.length),pe),Y.filterText=te+"</"+B}return s.items.push(Y),s}W=W.parent}return E||l.forEach(B=>{B.provideTags().forEach(Y=>{s.items.push({label:"/"+Y.name,kind:de.Property,documentation:je(Y,void 0,u),filterText:"/"+Y.name+U,textEdit:ae.replace(F,"/"+Y.name+U),insertTextFormat:_e.PlainText})})}),s}let P=(k,E)=>{if(r&&r.hideAutoCompleteProposals)return s;if(!this.dataManager.isVoidElement(E,o)){let M=e.positionAt(k);s.items.push({label:"</"+E+">",kind:de.Property,filterText:"</"+E+">",textEdit:ae.insert(M,"$0</"+E+">"),insertTextFormat:_e.Snippet})}return s};function z(k,E){return y(k,E),S(k,!0,E),s}function H(){let k=Object.create(null);return m.attributeNames.forEach(E=>{k[E]=!0}),k}function b(k,E=d){let M=d;for(;M<E&&h[M]!=="<";)M++;let F=h.substring(k,E),U=x(k,M),W="";if(!ku(h,E,$.AfterAttributeName,I.DelimiterAssign)){let Y=r?.attributeDefaultValue??"doublequotes";Y==="empty"?W="=$1":Y==="singlequotes"?W="='$1'":W='="$1"'}let B=H();return B[F]=!1,l.forEach(Y=>{Y.provideAttributes(w).forEach(Z=>{if(B[Z.name])return;B[Z.name]=!0;let te=Z.name,pe;Z.valueSet!=="v"&&W.length&&(te=te+W,(Z.valueSet||Z.name==="style")&&(pe={title:"Suggest",command:"editor.action.triggerSuggest"})),s.items.push({label:Z.name,kind:Z.valueSet==="handler"?de.Function:de.Value,documentation:je(Z,void 0,u),textEdit:ae.replace(U,te),insertTextFormat:_e.Snippet,command:pe})})}),g(U,B),s}function g(k,E){let M="data-",F={};F[M]=`${M}$1="$2"`;function U(W){W.attributeNames.forEach(B=>{Ce(B,M)&&!F[B]&&!E[B]&&(F[B]=B+'="$1"')}),W.children.forEach(B=>U(B))}i&&i.roots.forEach(W=>U(W)),Object.keys(F).forEach(W=>s.items.push({label:W,kind:de.Value,textEdit:ae.replace(k,F[W]),insertTextFormat:_e.Snippet}))}function _(k,E=d){let M,F,U;if(d>k&&d<=E&&Hh(h[k])){let W=k+1,B=E;E>k&&h[E-1]===h[k]&&B--;let Y=Bh(h,d,W),Z=Oh(h,d,B);M=x(Y,Z),U=d>=W&&d<=B?h.substring(W,d):"",F=!1}else M=x(k,E),U=h.substring(k,d),F=!0;if(a.length>0){let W=w.toLowerCase(),B=p.toLowerCase(),Y=x(k,E);for(let Z of a)Z.onHtmlAttributeValue&&Z.onHtmlAttributeValue({document:e,position:n,tag:W,attribute:B,value:U,range:Y})}return l.forEach(W=>{W.provideValues(w,p).forEach(B=>{let Y=F?'"'+B.name+'"':B.name;s.items.push({label:B.name,filterText:Y,kind:de.Unit,documentation:je(B,void 0,u),textEdit:ae.replace(M,Y),insertTextFormat:_e.PlainText})})}),T(),s}function N(k){return d===f.getTokenEnd()&&(A=f.scan(),A===k&&f.getTokenOffset()===d)?f.getTokenEnd():d}function L(){for(let k of a)k.onHtmlContent&&k.onHtmlContent({document:e,position:n});return T()}function T(){let k=d-1,E=n.character;for(;k>=0&>(h,k);)k--,E--;if(k>=0&&h[k]==="&"){let M=X.create(ie.create(n.line,E-1),n);for(let F in pt)if(xu(F,";")){let U="&"+F;s.items.push({label:U,kind:de.Keyword,documentation:we("Character entity representing '{0}'",pt[F]),textEdit:ae.replace(M,U),insertTextFormat:_e.PlainText})}}return s}function R(k,E){let M=x(k,E);s.items.push({label:"!DOCTYPE",kind:de.Property,documentation:"A preamble for an HTML document.",textEdit:ae.replace(M,"!DOCTYPE html>"),insertTextFormat:_e.PlainText})}let A=f.scan();for(;A!==I.EOS&&f.getTokenOffset()<=d;){switch(A){case I.StartTagOpen:if(f.getTokenEnd()===d){let k=N(I.StartTag);return n.line===0&&R(d,k),z(d,k)}break;case I.StartTag:if(f.getTokenOffset()<=d&&d<=f.getTokenEnd())return y(f.getTokenOffset(),f.getTokenEnd());w=f.getTokenText();break;case I.AttributeName:if(f.getTokenOffset()<=d&&d<=f.getTokenEnd())return b(f.getTokenOffset(),f.getTokenEnd());p=f.getTokenText();break;case I.DelimiterAssign:if(f.getTokenEnd()===d){let k=N(I.AttributeValue);return _(d,k)}break;case I.AttributeValue:if(f.getTokenOffset()<=d&&d<=f.getTokenEnd())return _(f.getTokenOffset(),f.getTokenEnd());break;case I.Whitespace:if(d<=f.getTokenEnd())switch(f.getScannerState()){case $.AfterOpeningStartTag:let k=f.getTokenOffset(),E=N(I.StartTag);return z(k,E);case $.WithinTag:case $.AfterAttributeName:return b(f.getTokenEnd());case $.BeforeAttributeValue:return _(f.getTokenEnd());case $.AfterOpeningEndTag:return S(f.getTokenOffset()-1,!1);case $.WithinContent:return L()}break;case I.EndTagOpen:if(d<=f.getTokenEnd()){let k=f.getTokenOffset()+1,E=N(I.EndTag);return S(k,!1,E)}break;case I.EndTag:if(d<=f.getTokenEnd()){let k=f.getTokenOffset()-1;for(;k>=0;){let E=h.charAt(k);if(E==="/")return S(k,!1,f.getTokenEnd());if(!Ni(E))break;k--}}break;case I.StartTagClose:if(d<=f.getTokenEnd()&&w)return P(f.getTokenEnd(),w);break;case I.Content:if(d<=f.getTokenEnd())return L();break;default:if(d<=f.getTokenEnd())return s;break}A=f.scan()}return s}doQuoteComplete(e,n,i,r){let s=e.offsetAt(n);if(s<=0)return null;let a=r?.attributeDefaultValue??"doublequotes";if(a==="empty"||e.getText().charAt(s-1)!=="=")return null;let o=a==="doublequotes"?'"$1"':"'$1'",u=i.findNodeBefore(s);if(u&&u.attributes&&u.start<s&&(!u.endTagStart||u.endTagStart>s)){let h=oe(e.getText(),u.start),d=h.scan();for(;d!==I.EOS&&h.getTokenEnd()<=s;){if(d===I.AttributeName&&h.getTokenEnd()===s-1)return d=h.scan(),d!==I.DelimiterAssign||(d=h.scan(),d===I.Unknown||d===I.AttributeValue)?null:o;d=h.scan()}}return null}doTagComplete(e,n,i){let r=e.offsetAt(n);if(r<=0)return null;let s=e.getText().charAt(r-1);if(s===">"){let a=this.dataManager.getVoidElements(e.languageId),l=i.findNodeBefore(r);if(l&&l.tag&&!this.dataManager.isVoidElement(l.tag,a)&&l.start<r&&(!l.endTagStart||l.endTagStart>r)){let o=oe(e.getText(),l.start),u=o.scan();for(;u!==I.EOS&&o.getTokenEnd()<=r;){if(u===I.StartTagClose&&o.getTokenEnd()===r)return`$0</${l.tag}>`;u=o.scan()}}}else if(s==="/"){let a=i.findNodeBefore(r);for(;a&&a.closed&&!(a.endTagStart&&a.endTagStart>r);)a=a.parent;if(a&&a.tag){let l=oe(e.getText(),a.start),o=l.scan();for(;o!==I.EOS&&l.getTokenEnd()<=r;){if(o===I.EndTagOpen&&l.getTokenEnd()===r)return e.getText().charAt(r)!==">"?`${a.tag}>`:a.tag;o=l.scan()}}}return null}convertCompletionList(e){return this.doesSupportMarkdown()||e.items.forEach(n=>{n.documentation&&typeof n.documentation!="string"&&(n.documentation={kind:"plaintext",value:n.documentation.value})}),e}doesSupportMarkdown(){if(!Bt(this.supportsMarkdown)){if(!Bt(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;let e=this.lsOptions.clientCapabilities.textDocument?.completion?.completionItem?.documentationFormat;this.supportsMarkdown=Array.isArray(e)&&e.indexOf(ke.Markdown)!==-1}return this.supportsMarkdown}};function Hh(t){return/^["']*$/.test(t)}function Ni(t){return/^\s*$/.test(t)}function ku(t,e,n,i){let r=oe(t,e,n),s=r.scan();for(;s===I.Whitespace;)s=r.scan();return s===i}function Bh(t,e,n){for(;e>n&&!Ni(t[e-1]);)e--;return e}function Oh(t,e,n){for(;e<n&&!Ni(t[e]);)e++;return e}var Ii=class{constructor(e,n){this.lsOptions=e,this.dataManager=n}doHover(e,n,i,r){let s=this.convertContents.bind(this),a=this.doesSupportMarkdown(),l=e.offsetAt(n),o=i.findNodeAt(l),u=e.getText();if(!o||!o.tag)return null;let h=this.dataManager.getDataProviders().filter(b=>b.isApplicable(e.languageId));function d(b,g,_){for(let N of h){let L=null;if(N.provideTags().forEach(T=>{if(T.name.toLowerCase()===b.toLowerCase()){let R=je(T,r,a);R||(R={kind:a?"markdown":"plaintext",value:""}),L={contents:R,range:g}}}),L)return L.contents=s(L.contents),L}return null}function m(b,g,_){for(let N of h){let L=null;if(N.provideAttributes(b).forEach(T=>{if(g===T.name&&T.description){let R=je(T,r,a);R?L={contents:R,range:_}:L=null}}),L)return L.contents=s(L.contents),L}return null}function f(b,g,_,N){for(let L of h){let T=null;if(L.provideValues(b,g).forEach(R=>{if(_===R.name&&R.description){let A=je(R,r,a);A?T={contents:A,range:N}:T=null}}),T)return T.contents=s(T.contents),T}return null}function w(b,g){let _=y(b);for(let N in pt){let L=null,T="&"+N;if(_===T){let R=pt[N].charCodeAt(0).toString(16).toUpperCase(),A="U+";if(R.length<4){let E=4-R.length,M=0;for(;M<E;)A+="0",M+=1}A+=R;let k=we("Character entity representing '{0}', unicode equivalent '{1}'",pt[N],A);k?L={contents:k,range:g}:L=null}if(L)return L.contents=s(L.contents),L}return null}function p(b,g){let _=oe(e.getText(),g),N=_.scan();for(;N!==I.EOS&&(_.getTokenEnd()<l||_.getTokenEnd()===l&&N!==b);)N=_.scan();return N===b&&l<=_.getTokenEnd()?{start:e.positionAt(_.getTokenOffset()),end:e.positionAt(_.getTokenEnd())}:null}function x(){let b=l-1,g=n.character;for(;b>=0&>(u,b);)b--,g--;let _=b+1,N=g;for(;gt(u,_);)_++,N++;if(b>=0&&u[b]==="&"){let L=null;return u[_]===";"?L=X.create(ie.create(n.line,g),ie.create(n.line,N+1)):L=X.create(ie.create(n.line,g),ie.create(n.line,N)),L}return null}function y(b){let g=l-1,_="&";for(;g>=0&>(b,g);)g--;for(g=g+1;gt(b,g);)_+=b[g],g+=1;return _+=";",_}if(o.endTagStart&&l>=o.endTagStart){let b=p(I.EndTag,o.endTagStart);return b?d(o.tag,b):null}let v=p(I.StartTag,o.start);if(v)return d(o.tag,v);let S=p(I.AttributeName,o.start);if(S){let b=o.tag,g=e.getText(S);return m(b,g,S)}let P=x();if(P)return w(u,P);function z(b,g){let _=oe(e.getText(),b),N=_.scan(),L;for(;N!==I.EOS&&_.getTokenEnd()<=g;)N=_.scan(),N===I.AttributeName&&(L=_.getTokenText());return L}let H=p(I.AttributeValue,o.start);if(H){let b=o.tag,g=qh(e.getText(H)),_=z(o.start,e.offsetAt(H.start));if(_)return f(b,_,g,H)}return null}convertContents(e){if(!this.doesSupportMarkdown()){if(typeof e=="string")return e;if("kind"in e)return{kind:"plaintext",value:e.value};if(Array.isArray(e))e.map(n=>typeof n=="string"?n:n.value);else return e.value}return e}doesSupportMarkdown(){if(!Bt(this.supportsMarkdown)){if(!Bt(this.lsOptions.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;let e=this.lsOptions.clientCapabilities?.textDocument?.hover?.contentFormat;this.supportsMarkdown=Array.isArray(e)&&e.indexOf(ke.Markdown)!==-1}return this.supportsMarkdown}};function qh(t){return t.length<=1?t.replace(/['"]/,""):((t[0]==="'"||t[0]==='"')&&(t=t.slice(1)),(t[t.length-1]==="'"||t[t.length-1]==='"')&&(t=t.slice(0,-1)),t)}function Su(t,e){return t}var Lu;(function(){var t=[,,(function(r){function s(o){this.__parent=o,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}s.prototype.clone_empty=function(){var o=new s(this.__parent);return o.set_indent(this.__indent_count,this.__alignment_count),o},s.prototype.item=function(o){return o<0?this.__items[this.__items.length+o]:this.__items[o]},s.prototype.has_match=function(o){for(var u=this.__items.length-1;u>=0;u--)if(this.__items[u].match(o))return!0;return!1},s.prototype.set_indent=function(o,u){this.is_empty()&&(this.__indent_count=o||0,this.__alignment_count=u||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},s.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},s.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},s.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var o=this.__parent.current_line;return o.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),o.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),o.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,o.__items[0]===" "&&(o.__items.splice(0,1),o.__character_count-=1),!0}return!1},s.prototype.is_empty=function(){return this.__items.length===0},s.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},s.prototype.push=function(o){this.__items.push(o);var u=o.lastIndexOf(`
|
|
38
|
+
`);u!==-1?this.__character_count=o.length-u:this.__character_count+=o.length},s.prototype.pop=function(){var o=null;return this.is_empty()||(o=this.__items.pop(),this.__character_count-=o.length),o},s.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},s.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},s.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},s.prototype.toString=function(){var o="";return this.is_empty()?this.__parent.indent_empty_lines&&(o=this.__parent.get_indent_string(this.__indent_count)):(o=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),o+=this.__items.join("")),o};function a(o,u){this.__cache=[""],this.__indent_size=o.indent_size,this.__indent_string=o.indent_char,o.indent_with_tabs||(this.__indent_string=new Array(o.indent_size+1).join(o.indent_char)),u=u||"",o.indent_level>0&&(u=new Array(o.indent_level+1).join(this.__indent_string)),this.__base_string=u,this.__base_string_length=u.length}a.prototype.get_indent_size=function(o,u){var h=this.__base_string_length;return u=u||0,o<0&&(h=0),h+=o*this.__indent_size,h+=u,h},a.prototype.get_indent_string=function(o,u){var h=this.__base_string;return u=u||0,o<0&&(o=0,h=""),u+=o*this.__indent_size,this.__ensure_cache(u),h+=this.__cache[u],h},a.prototype.__ensure_cache=function(o){for(;o>=this.__cache.length;)this.__add_column()},a.prototype.__add_column=function(){var o=this.__cache.length,u=0,h="";this.__indent_size&&o>=this.__indent_size&&(u=Math.floor(o/this.__indent_size),o-=u*this.__indent_size,h=new Array(u+1).join(this.__indent_string)),o&&(h+=new Array(o+1).join(" ")),this.__cache.push(h)};function l(o,u){this.__indent_cache=new a(o,u),this.raw=!1,this._end_with_newline=o.end_with_newline,this.indent_size=o.indent_size,this.wrap_line_length=o.wrap_line_length,this.indent_empty_lines=o.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new s(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}l.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},l.prototype.get_line_number=function(){return this.__lines.length},l.prototype.get_indent_string=function(o,u){return this.__indent_cache.get_indent_string(o,u)},l.prototype.get_indent_size=function(o,u){return this.__indent_cache.get_indent_size(o,u)},l.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},l.prototype.add_new_line=function(o){return this.is_empty()||!o&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},l.prototype.get_code=function(o){this.trim(!0);var u=this.current_line.pop();u&&(u[u.length-1]===`
|
|
39
|
+
`&&(u=u.replace(/\n+$/g,"")),this.current_line.push(u)),this._end_with_newline&&this.__add_outputline();var h=this.__lines.join(`
|
|
36
40
|
`);return o!==`
|
|
37
|
-
`&&(
|
|
38
|
-
`).replace(/\\t/," ")),d},s.prototype._get_number=function(o,u){var
|
|
41
|
+
`&&(h=h.replace(/[\n]/g,o)),h},l.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},l.prototype.set_indent=function(o,u){return o=o||0,u=u||0,this.next_line.set_indent(o,u),this.__lines.length>1?(this.current_line.set_indent(o,u),!0):(this.current_line.set_indent(),!1)},l.prototype.add_raw_token=function(o){for(var u=0;u<o.newlines;u++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(o.whitespace_before),this.current_line.push(o.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},l.prototype.add_token=function(o){this.__add_space_before_token(),this.current_line.push(o),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},l.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},l.prototype.remove_indent=function(o){for(var u=this.__lines.length;o<u;)this.__lines[o]._remove_indent(),o++;this.current_line._remove_wrap_indent()},l.prototype.trim=function(o){for(o=o===void 0?!1:o,this.current_line.trim();o&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},l.prototype.just_added_newline=function(){return this.current_line.is_empty()},l.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},l.prototype.ensure_empty_line_above=function(o,u){for(var h=this.__lines.length-2;h>=0;){var d=this.__lines[h];if(d.is_empty())break;if(d.item(0).indexOf(o)!==0&&d.item(-1)!==u){this.__lines.splice(h+1,0,new s(this)),this.previous_line=this.__lines[this.__lines.length-2];break}h--}},r.exports.Output=l}),,,,(function(r){function s(o,u){this.raw_options=a(o,u),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}s.prototype._get_array=function(o,u){var h=this.raw_options[o],d=u||[];return typeof h=="object"?h!==null&&typeof h.concat=="function"&&(d=h.concat()):typeof h=="string"&&(d=h.split(/[^a-zA-Z0-9_\/\-]+/)),d},s.prototype._get_boolean=function(o,u){var h=this.raw_options[o],d=h===void 0?!!u:!!h;return d},s.prototype._get_characters=function(o,u){var h=this.raw_options[o],d=u||"";return typeof h=="string"&&(d=h.replace(/\\r/,"\r").replace(/\\n/,`
|
|
42
|
+
`).replace(/\\t/," ")),d},s.prototype._get_number=function(o,u){var h=this.raw_options[o];u=parseInt(u,10),isNaN(u)&&(u=0);var d=parseInt(h,10);return isNaN(d)&&(d=u),d},s.prototype._get_selection=function(o,u,h){var d=this._get_selection_list(o,u,h);if(d.length!==1)throw new Error("Invalid Option Value: The option '"+o+`' can only be one of the following values:
|
|
39
43
|
`+u+`
|
|
40
|
-
You passed in: '`+this.raw_options[o]+"'");return d[0]},s.prototype._get_selection_list=function(o,u,
|
|
44
|
+
You passed in: '`+this.raw_options[o]+"'");return d[0]},s.prototype._get_selection_list=function(o,u,h){if(!u||u.length===0)throw new Error("Selection list cannot be empty.");if(h=h||[u[0]],!this._is_valid_selection(h,u))throw new Error("Invalid Default Value!");var d=this._get_array(o,h);if(!this._is_valid_selection(d,u))throw new Error("Invalid Option Value: The option '"+o+`' can contain only the following values:
|
|
41
45
|
`+u+`
|
|
42
|
-
You passed in: '`+this.raw_options[o]+"'");return d},s.prototype._is_valid_selection=function(o,u){return o.length&&u.length&&!o.some(function(
|
|
43
|
-
`)break;this._ch=this._input.next()}return
|
|
44
|
-
`&&(
|
|
45
|
-
`,
|
|
46
|
-
`);var
|
|
47
|
-
`&&
|
|
48
|
-
`);u!==-1?this.__character_count=o.length-u:this.__character_count+=o.length},s.prototype.pop=function(){var o=null;return this.is_empty()||(o=this.__items.pop(),this.__character_count-=o.length),o},s.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},s.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},s.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},s.prototype.toString=function(){var o="";return this.is_empty()?this.__parent.indent_empty_lines&&(o=this.__parent.get_indent_string(this.__indent_count)):(o=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),o+=this.__items.join("")),o};function a(o,u){this.__cache=[""],this.__indent_size=o.indent_size,this.__indent_string=o.indent_char,o.indent_with_tabs||(this.__indent_string=new Array(o.indent_size+1).join(o.indent_char)),u=u||"",o.indent_level>0&&(u=new Array(o.indent_level+1).join(this.__indent_string)),this.__base_string=u,this.__base_string_length=u.length}a.prototype.get_indent_size=function(o,u){var
|
|
49
|
-
`&&(u=u.replace(/\n+$/g,"")),this.current_line.push(u)),this._end_with_newline&&this.__add_outputline();var
|
|
46
|
+
You passed in: '`+this.raw_options[o]+"'");return d},s.prototype._is_valid_selection=function(o,u){return o.length&&u.length&&!o.some(function(h){return u.indexOf(h)===-1})};function a(o,u){var h={};o=l(o);var d;for(d in o)d!==u&&(h[d]=o[d]);if(u&&o[u])for(d in o[u])h[d]=o[u][d];return h}function l(o){var u={},h;for(h in o){var d=h.replace(/-/g,"_");u[d]=o[h]}return u}r.exports.Options=s,r.exports.normalizeOpts=l,r.exports.mergeOpts=a}),,(function(r){var s=RegExp.prototype.hasOwnProperty("sticky");function a(l){this.__input=l||"",this.__input_length=this.__input.length,this.__position=0}a.prototype.restart=function(){this.__position=0},a.prototype.back=function(){this.__position>0&&(this.__position-=1)},a.prototype.hasNext=function(){return this.__position<this.__input_length},a.prototype.next=function(){var l=null;return this.hasNext()&&(l=this.__input.charAt(this.__position),this.__position+=1),l},a.prototype.peek=function(l){var o=null;return l=l||0,l+=this.__position,l>=0&&l<this.__input_length&&(o=this.__input.charAt(l)),o},a.prototype.__match=function(l,o){l.lastIndex=o;var u=l.exec(this.__input);return u&&!(s&&l.sticky)&&u.index!==o&&(u=null),u},a.prototype.test=function(l,o){return o=o||0,o+=this.__position,o>=0&&o<this.__input_length?!!this.__match(l,o):!1},a.prototype.testChar=function(l,o){var u=this.peek(o);return l.lastIndex=0,u!==null&&l.test(u)},a.prototype.match=function(l){var o=this.__match(l,this.__position);return o?this.__position+=o[0].length:o=null,o},a.prototype.read=function(l,o,u){var h="",d;return l&&(d=this.match(l),d&&(h+=d[0])),o&&(d||!l)&&(h+=this.readUntil(o,u)),h},a.prototype.readUntil=function(l,o){var u="",h=this.__position;l.lastIndex=this.__position;var d=l.exec(this.__input);return d?(h=d.index,o&&(h+=d[0].length)):h=this.__input_length,u=this.__input.substring(this.__position,h),this.__position=h,u},a.prototype.readUntilAfter=function(l){return this.readUntil(l,!0)},a.prototype.get_regexp=function(l,o){var u=null,h="g";return o&&s&&(h="y"),typeof l=="string"&&l!==""?u=new RegExp(l,h):l&&(u=new RegExp(l.source,h)),u},a.prototype.get_literal_regexp=function(l){return RegExp(l.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},a.prototype.peekUntilAfter=function(l){var o=this.__position,u=this.readUntilAfter(l);return this.__position=o,u},a.prototype.lookBack=function(l){var o=this.__position-1;return o>=l.length&&this.__input.substring(o-l.length,o).toLowerCase()===l},r.exports.InputScanner=a}),,,,,(function(r){function s(a,l){a=typeof a=="string"?a:a.source,l=typeof l=="string"?l:l.source,this.__directives_block_pattern=new RegExp(a+/ beautify( \w+[:]\w+)+ /.source+l,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(a+/\sbeautify\signore:end\s/.source+l,"g")}s.prototype.get_directives=function(a){if(!a.match(this.__directives_block_pattern))return null;var l={};this.__directive_pattern.lastIndex=0;for(var o=this.__directive_pattern.exec(a);o;)l[o[1]]=o[2],o=this.__directive_pattern.exec(a);return l},s.prototype.readIgnored=function(a){return a.readUntilAfter(this.__directives_end_ignore_pattern)},r.exports.Directives=s}),,(function(r,s,a){var l=a(16).Beautifier,o=a(17).Options;function u(h,d){var m=new l(h,d);return m.beautify()}r.exports=u,r.exports.defaultOptions=function(){return new o}}),(function(r,s,a){var l=a(17).Options,o=a(2).Output,u=a(8).InputScanner,h=a(13).Directives,d=new h(/\/\*/,/\*\//),m=/\r\n|[\r\n]/,f=/\r\n|[\r\n]/g,w=/\s/,p=/(?:\s|\n)+/g,x=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,y=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function v(S,P){this._source_text=S||"",this._options=new l(P),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}v.prototype.eatString=function(S){var P="";for(this._ch=this._input.next();this._ch;){if(P+=this._ch,this._ch==="\\")P+=this._input.next();else if(S.indexOf(this._ch)!==-1||this._ch===`
|
|
47
|
+
`)break;this._ch=this._input.next()}return P},v.prototype.eatWhitespace=function(S){for(var P=w.test(this._input.peek()),z=0;w.test(this._input.peek());)this._ch=this._input.next(),S&&this._ch===`
|
|
48
|
+
`&&(z===0||z<this._options.max_preserve_newlines)&&(z++,this._output.add_new_line(!0));return P},v.prototype.foundNestedPseudoClass=function(){for(var S=0,P=1,z=this._input.peek(P);z;){if(z==="{")return!0;if(z==="(")S+=1;else if(z===")"){if(S===0)return!1;S-=1}else if(z===";"||z==="}")return!1;P++,z=this._input.peek(P)}return!1},v.prototype.print_string=function(S){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(S)},v.prototype.preserveSingleSpace=function(S){S&&(this._output.space_before_token=!0)},v.prototype.indent=function(){this._indentLevel++},v.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},v.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var S=this._source_text,P=this._options.eol;P==="auto"&&(P=`
|
|
49
|
+
`,S&&m.test(S||"")&&(P=S.match(m)[0])),S=S.replace(f,`
|
|
50
|
+
`);var z=S.match(/^[\t ]*/)[0];this._output=new o(this._options,z),this._input=new u(S),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var H=0,b=!1,g=!1,_=!1,N=!1,L=!1,T=this._ch,R=!1,A,k,E;A=this._input.read(p),k=A!=="",E=T,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),T=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var M=this._input.read(x),F=d.get_directives(M);F&&F.ignore==="start"&&(M+=d.readIgnored(this._input)),this.print_string(M),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(y)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(k),this.print_string(this._ch);var U=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);U.match(/[ :]$/)&&(U=this.eatString(": ").replace(/\s+$/,""),this.print_string(U),this._output.space_before_token=!0),H===0&&U.indexOf(":")!==-1&&(g=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(k),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var W=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);W.match(/[ :]$/)&&(W=this.eatString(": ").replace(/\s+$/,""),this.print_string(W),this._output.space_before_token=!0),H===0&&W.indexOf(":")!==-1?(g=!0,this.indent()):W in this.NESTED_AT_RULE?(this._nestedLevel+=1,W in this.CONDITIONAL_GROUP_RULE&&(_=!0)):H===0&&!g&&(N=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(k),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")g&&(g=!1,this.outdent()),N=!1,_?(_=!1,b=this._indentLevel>=this._nestedLevel):b=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&b&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(E==="("?this._output.space_before_token=!1:E!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),E==="{"&&this._output.trim(!0),g&&(this.outdent(),g=!1),this.print_string(this._ch),b=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var B=0;B<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;B++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[B])){R=!0;break}(b||_)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!N&&H===0?(this.print_string(":"),g||(g=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var Y=E==='"'||E==="'";this.preserveSingleSpace(Y||k),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")R=!1,H===0?(g&&(this.outdent(),g=!1),N=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),H++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),H&&(H--,this.outdent()));else{var Z=!1;this._input.lookBack("with")&&(Z=!0),this.preserveSingleSpace(k||Z),this.print_string(this._ch),g&&E==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),L=!0):(this.eatWhitespace(),H++,this.indent())}else if(this._ch===")")H&&(H--,this.outdent()),L&&this._input.peek()===";"&&this._options.selector_separator_newline&&(L=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!g||L)&&H===0&&!N?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!g&&H===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&w.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(k),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),w.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var te=E==='"'||E==="'";this.preserveSingleSpace(te||k),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
51
|
+
`&&R&&this._output.add_new_line()}var pe=this._output.get_code(P);return pe},r.exports.Beautifier=v}),(function(r,s,a){var l=a(6).Options;function o(u){l.call(this,u,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var h=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||h;var d=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var m=0;m<d.length;m++)d[m]!=="expand"?this.brace_style="collapse":this.brace_style=d[m]}o.prototype=new l,r.exports.Options=o})],e={};function n(r){var s=e[r];if(s!==void 0)return s.exports;var a=e[r]={exports:{}};return t[r](a,a.exports,n),a.exports}var i=n(15);Lu=i})();var Au=Lu;var Cu;(function(){var t=[,,(function(r){function s(o){this.__parent=o,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}s.prototype.clone_empty=function(){var o=new s(this.__parent);return o.set_indent(this.__indent_count,this.__alignment_count),o},s.prototype.item=function(o){return o<0?this.__items[this.__items.length+o]:this.__items[o]},s.prototype.has_match=function(o){for(var u=this.__items.length-1;u>=0;u--)if(this.__items[u].match(o))return!0;return!1},s.prototype.set_indent=function(o,u){this.is_empty()&&(this.__indent_count=o||0,this.__alignment_count=u||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},s.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},s.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},s.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var o=this.__parent.current_line;return o.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),o.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),o.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,o.__items[0]===" "&&(o.__items.splice(0,1),o.__character_count-=1),!0}return!1},s.prototype.is_empty=function(){return this.__items.length===0},s.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},s.prototype.push=function(o){this.__items.push(o);var u=o.lastIndexOf(`
|
|
52
|
+
`);u!==-1?this.__character_count=o.length-u:this.__character_count+=o.length},s.prototype.pop=function(){var o=null;return this.is_empty()||(o=this.__items.pop(),this.__character_count-=o.length),o},s.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},s.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},s.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},s.prototype.toString=function(){var o="";return this.is_empty()?this.__parent.indent_empty_lines&&(o=this.__parent.get_indent_string(this.__indent_count)):(o=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),o+=this.__items.join("")),o};function a(o,u){this.__cache=[""],this.__indent_size=o.indent_size,this.__indent_string=o.indent_char,o.indent_with_tabs||(this.__indent_string=new Array(o.indent_size+1).join(o.indent_char)),u=u||"",o.indent_level>0&&(u=new Array(o.indent_level+1).join(this.__indent_string)),this.__base_string=u,this.__base_string_length=u.length}a.prototype.get_indent_size=function(o,u){var h=this.__base_string_length;return u=u||0,o<0&&(h=0),h+=o*this.__indent_size,h+=u,h},a.prototype.get_indent_string=function(o,u){var h=this.__base_string;return u=u||0,o<0&&(o=0,h=""),u+=o*this.__indent_size,this.__ensure_cache(u),h+=this.__cache[u],h},a.prototype.__ensure_cache=function(o){for(;o>=this.__cache.length;)this.__add_column()},a.prototype.__add_column=function(){var o=this.__cache.length,u=0,h="";this.__indent_size&&o>=this.__indent_size&&(u=Math.floor(o/this.__indent_size),o-=u*this.__indent_size,h=new Array(u+1).join(this.__indent_string)),o&&(h+=new Array(o+1).join(" ")),this.__cache.push(h)};function l(o,u){this.__indent_cache=new a(o,u),this.raw=!1,this._end_with_newline=o.end_with_newline,this.indent_size=o.indent_size,this.wrap_line_length=o.wrap_line_length,this.indent_empty_lines=o.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new s(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}l.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},l.prototype.get_line_number=function(){return this.__lines.length},l.prototype.get_indent_string=function(o,u){return this.__indent_cache.get_indent_string(o,u)},l.prototype.get_indent_size=function(o,u){return this.__indent_cache.get_indent_size(o,u)},l.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},l.prototype.add_new_line=function(o){return this.is_empty()||!o&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},l.prototype.get_code=function(o){this.trim(!0);var u=this.current_line.pop();u&&(u[u.length-1]===`
|
|
53
|
+
`&&(u=u.replace(/\n+$/g,"")),this.current_line.push(u)),this._end_with_newline&&this.__add_outputline();var h=this.__lines.join(`
|
|
50
54
|
`);return o!==`
|
|
51
|
-
`&&(
|
|
52
|
-
`).replace(/\\t/," ")),d},s.prototype._get_number=function(o,u){var
|
|
55
|
+
`&&(h=h.replace(/[\n]/g,o)),h},l.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},l.prototype.set_indent=function(o,u){return o=o||0,u=u||0,this.next_line.set_indent(o,u),this.__lines.length>1?(this.current_line.set_indent(o,u),!0):(this.current_line.set_indent(),!1)},l.prototype.add_raw_token=function(o){for(var u=0;u<o.newlines;u++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(o.whitespace_before),this.current_line.push(o.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},l.prototype.add_token=function(o){this.__add_space_before_token(),this.current_line.push(o),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},l.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},l.prototype.remove_indent=function(o){for(var u=this.__lines.length;o<u;)this.__lines[o]._remove_indent(),o++;this.current_line._remove_wrap_indent()},l.prototype.trim=function(o){for(o=o===void 0?!1:o,this.current_line.trim();o&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},l.prototype.just_added_newline=function(){return this.current_line.is_empty()},l.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},l.prototype.ensure_empty_line_above=function(o,u){for(var h=this.__lines.length-2;h>=0;){var d=this.__lines[h];if(d.is_empty())break;if(d.item(0).indexOf(o)!==0&&d.item(-1)!==u){this.__lines.splice(h+1,0,new s(this)),this.previous_line=this.__lines[this.__lines.length-2];break}h--}},r.exports.Output=l}),(function(r){function s(a,l,o,u){this.type=a,this.text=l,this.comments_before=null,this.newlines=o||0,this.whitespace_before=u||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}r.exports.Token=s}),,,(function(r){function s(o,u){this.raw_options=a(o,u),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}s.prototype._get_array=function(o,u){var h=this.raw_options[o],d=u||[];return typeof h=="object"?h!==null&&typeof h.concat=="function"&&(d=h.concat()):typeof h=="string"&&(d=h.split(/[^a-zA-Z0-9_\/\-]+/)),d},s.prototype._get_boolean=function(o,u){var h=this.raw_options[o],d=h===void 0?!!u:!!h;return d},s.prototype._get_characters=function(o,u){var h=this.raw_options[o],d=u||"";return typeof h=="string"&&(d=h.replace(/\\r/,"\r").replace(/\\n/,`
|
|
56
|
+
`).replace(/\\t/," ")),d},s.prototype._get_number=function(o,u){var h=this.raw_options[o];u=parseInt(u,10),isNaN(u)&&(u=0);var d=parseInt(h,10);return isNaN(d)&&(d=u),d},s.prototype._get_selection=function(o,u,h){var d=this._get_selection_list(o,u,h);if(d.length!==1)throw new Error("Invalid Option Value: The option '"+o+`' can only be one of the following values:
|
|
53
57
|
`+u+`
|
|
54
|
-
You passed in: '`+this.raw_options[o]+"'");return d[0]},s.prototype._get_selection_list=function(o,u,
|
|
58
|
+
You passed in: '`+this.raw_options[o]+"'");return d[0]},s.prototype._get_selection_list=function(o,u,h){if(!u||u.length===0)throw new Error("Selection list cannot be empty.");if(h=h||[u[0]],!this._is_valid_selection(h,u))throw new Error("Invalid Default Value!");var d=this._get_array(o,h);if(!this._is_valid_selection(d,u))throw new Error("Invalid Option Value: The option '"+o+`' can contain only the following values:
|
|
55
59
|
`+u+`
|
|
56
|
-
You passed in: '`+this.raw_options[o]+"'");return d},s.prototype._is_valid_selection=function(o,u){return o.length&&u.length&&!o.some(function(c){return u.indexOf(c)===-1})};function a(o,u){var c={};o=l(o);var d;for(d in o)d!==u&&(c[d]=o[d]);if(u&&o[u])for(d in o[u])c[d]=o[u][d];return c}function l(o){var u={},c;for(c in o){var d=c.replace(/-/g,"_");u[d]=o[c]}return u}r.exports.Options=s,r.exports.normalizeOpts=l,r.exports.mergeOpts=a}),,(function(r){var s=RegExp.prototype.hasOwnProperty("sticky");function a(l){this.__input=l||"",this.__input_length=this.__input.length,this.__position=0}a.prototype.restart=function(){this.__position=0},a.prototype.back=function(){this.__position>0&&(this.__position-=1)},a.prototype.hasNext=function(){return this.__position<this.__input_length},a.prototype.next=function(){var l=null;return this.hasNext()&&(l=this.__input.charAt(this.__position),this.__position+=1),l},a.prototype.peek=function(l){var o=null;return l=l||0,l+=this.__position,l>=0&&l<this.__input_length&&(o=this.__input.charAt(l)),o},a.prototype.__match=function(l,o){l.lastIndex=o;var u=l.exec(this.__input);return u&&!(s&&l.sticky)&&u.index!==o&&(u=null),u},a.prototype.test=function(l,o){return o=o||0,o+=this.__position,o>=0&&o<this.__input_length?!!this.__match(l,o):!1},a.prototype.testChar=function(l,o){var u=this.peek(o);return l.lastIndex=0,u!==null&&l.test(u)},a.prototype.match=function(l){var o=this.__match(l,this.__position);return o?this.__position+=o[0].length:o=null,o},a.prototype.read=function(l,o,u){var c="",d;return l&&(d=this.match(l),d&&(c+=d[0])),o&&(d||!l)&&(c+=this.readUntil(o,u)),c},a.prototype.readUntil=function(l,o){var u="",c=this.__position;l.lastIndex=this.__position;var d=l.exec(this.__input);return d?(c=d.index,o&&(c+=d[0].length)):c=this.__input_length,u=this.__input.substring(this.__position,c),this.__position=c,u},a.prototype.readUntilAfter=function(l){return this.readUntil(l,!0)},a.prototype.get_regexp=function(l,o){var u=null,c="g";return o&&s&&(c="y"),typeof l=="string"&&l!==""?u=new RegExp(l,c):l&&(u=new RegExp(l.source,c)),u},a.prototype.get_literal_regexp=function(l){return RegExp(l.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},a.prototype.peekUntilAfter=function(l){var o=this.__position,u=this.readUntilAfter(l);return this.__position=o,u},a.prototype.lookBack=function(l){var o=this.__position-1;return o>=l.length&&this.__input.substring(o-l.length,o).toLowerCase()===l},r.exports.InputScanner=a}),(function(r,s,a){var l=a(8).InputScanner,o=a(3).Token,u=a(10).TokenStream,c=a(11).WhitespacePattern,d={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},m=function(f,w){this._input=new l(f),this._options=w||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new c(this._input)};m.prototype.tokenize=function(){this._input.restart(),this.__tokens=new u,this._reset();for(var f,w=new o(d.START,""),p=null,T=[],x=new u;w.type!==d.EOF;){for(f=this._get_next_token(w,p);this._is_comment(f);)x.add(f),f=this._get_next_token(w,p);x.isEmpty()||(f.comments_before=x,x=new u),f.parent=p,this._is_opening(f)?(T.push(p),p=f):p&&this._is_closing(f,p)&&(f.opened=p,p.closed=f,p=T.pop(),f.parent=p),f.previous=w,w.next=f,this.__tokens.add(f),w=f}return this.__tokens},m.prototype._is_first_token=function(){return this.__tokens.isEmpty()},m.prototype._reset=function(){},m.prototype._get_next_token=function(f,w){this._readWhitespace();var p=this._input.read(/.+/g);return p?this._create_token(d.RAW,p):this._create_token(d.EOF,"")},m.prototype._is_comment=function(f){return!1},m.prototype._is_opening=function(f){return!1},m.prototype._is_closing=function(f,w){return!1},m.prototype._create_token=function(f,w){var p=new o(f,w,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return p},m.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},r.exports.Tokenizer=m,r.exports.TOKEN=d}),(function(r){function s(a){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=a}s.prototype.restart=function(){this.__position=0},s.prototype.isEmpty=function(){return this.__tokens_length===0},s.prototype.hasNext=function(){return this.__position<this.__tokens_length},s.prototype.next=function(){var a=null;return this.hasNext()&&(a=this.__tokens[this.__position],this.__position+=1),a},s.prototype.peek=function(a){var l=null;return a=a||0,a+=this.__position,a>=0&&a<this.__tokens_length&&(l=this.__tokens[a]),l},s.prototype.add=function(a){this.__parent_token&&(a.parent=this.__parent_token),this.__tokens.push(a),this.__tokens_length+=1},r.exports.TokenStream=s}),(function(r,s,a){var l=a(12).Pattern;function o(u,c){l.call(this,u,c),c?this._line_regexp=this._input.get_regexp(c._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}o.prototype=new l,o.prototype.__set_whitespace_patterns=function(u,c){u+="\\t ",c+="\\n\\r",this._match_pattern=this._input.get_regexp("["+u+c+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+c+"]")},o.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var u=this._input.read(this._match_pattern);if(u===" ")this.whitespace_before_token=" ";else if(u){var c=this.__split(this._newline_regexp,u);this.newline_count=c.length-1,this.whitespace_before_token=c[this.newline_count]}return u},o.prototype.matching=function(u,c){var d=this._create();return d.__set_whitespace_patterns(u,c),d._update(),d},o.prototype._create=function(){return new o(this._input,this)},o.prototype.__split=function(u,c){u.lastIndex=0;for(var d=0,m=[],f=u.exec(c);f;)m.push(c.substring(d,f.index)),d=f.index+f[0].length,f=u.exec(c);return d<c.length?m.push(c.substring(d,c.length)):m.push(""),m},r.exports.WhitespacePattern=o}),(function(r){function s(a,l){this._input=a,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,l&&(this._starting_pattern=this._input.get_regexp(l._starting_pattern,!0),this._match_pattern=this._input.get_regexp(l._match_pattern,!0),this._until_pattern=this._input.get_regexp(l._until_pattern),this._until_after=l._until_after)}s.prototype.read=function(){var a=this._input.read(this._starting_pattern);return(!this._starting_pattern||a)&&(a+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),a},s.prototype.read_match=function(){return this._input.match(this._match_pattern)},s.prototype.until_after=function(a){var l=this._create();return l._until_after=!0,l._until_pattern=this._input.get_regexp(a),l._update(),l},s.prototype.until=function(a){var l=this._create();return l._until_after=!1,l._until_pattern=this._input.get_regexp(a),l._update(),l},s.prototype.starting_with=function(a){var l=this._create();return l._starting_pattern=this._input.get_regexp(a,!0),l._update(),l},s.prototype.matching=function(a){var l=this._create();return l._match_pattern=this._input.get_regexp(a,!0),l._update(),l},s.prototype._create=function(){return new s(this._input,this)},s.prototype._update=function(){},r.exports.Pattern=s}),(function(r){function s(a,l){a=typeof a=="string"?a:a.source,l=typeof l=="string"?l:l.source,this.__directives_block_pattern=new RegExp(a+/ beautify( \w+[:]\w+)+ /.source+l,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(a+/\sbeautify\signore:end\s/.source+l,"g")}s.prototype.get_directives=function(a){if(!a.match(this.__directives_block_pattern))return null;var l={};this.__directive_pattern.lastIndex=0;for(var o=this.__directive_pattern.exec(a);o;)l[o[1]]=o[2],o=this.__directive_pattern.exec(a);return l},s.prototype.readIgnored=function(a){return a.readUntilAfter(this.__directives_end_ignore_pattern)},r.exports.Directives=s}),(function(r,s,a){var l=a(12).Pattern,o={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function u(c,d){l.call(this,c,d),this.__template_pattern=null,this._disabled=Object.assign({},o),this._excluded=Object.assign({},o),d&&(this.__template_pattern=this._input.get_regexp(d.__template_pattern),this._excluded=Object.assign(this._excluded,d._excluded),this._disabled=Object.assign(this._disabled,d._disabled));var m=new l(c);this.__patterns={handlebars_comment:m.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:m.starting_with(/{{{/).until_after(/}}}/),handlebars:m.starting_with(/{{/).until_after(/}}/),php:m.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:m.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:m.starting_with(/{%/).until_after(/%}/),django_value:m.starting_with(/{{/).until_after(/}}/),django_comment:m.starting_with(/{#/).until_after(/#}/),smarty:m.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:m.starting_with(/{\*/).until_after(/\*}/),smarty_literal:m.starting_with(/{literal}/).until_after(/{\/literal}/)}}u.prototype=new l,u.prototype._create=function(){return new u(this._input,this)},u.prototype._update=function(){this.__set_templated_pattern()},u.prototype.disable=function(c){var d=this._create();return d._disabled[c]=!0,d._update(),d},u.prototype.read_options=function(c){var d=this._create();for(var m in o)d._disabled[m]=c.templating.indexOf(m)===-1;return d._update(),d},u.prototype.exclude=function(c){var d=this._create();return d._excluded[c]=!0,d._update(),d},u.prototype.read=function(){var c="";this._match_pattern?c=this._input.read(this._starting_pattern):c=this._input.read(this._starting_pattern,this.__template_pattern);for(var d=this._read_template();d;)this._match_pattern?d+=this._input.read(this._match_pattern):d+=this._input.readUntil(this.__template_pattern),c+=d,d=this._read_template();return this._until_after&&(c+=this._input.readUntilAfter(this._until_pattern)),c},u.prototype.__set_templated_pattern=function(){var c=[];this._disabled.php||c.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||c.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||c.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(c.push(this.__patterns.django._starting_pattern.source),c.push(this.__patterns.django_value._starting_pattern.source),c.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||c.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&c.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+c.join("|")+")")},u.prototype._read_template=function(){var c="",d=this._input.peek();if(d==="<"){var m=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&m==="?"&&(c=c||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&m==="%"&&(c=c||this.__patterns.erb.read())}else d==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(c=c||this.__patterns.handlebars_comment.read(),c=c||this.__patterns.handlebars_unescaped.read(),c=c||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(c=c||this.__patterns.django_value.read()),this._excluded.django||(c=c||this.__patterns.django_comment.read(),c=c||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(c=c||this.__patterns.smarty_comment.read(),c=c||this.__patterns.smarty_literal.read(),c=c||this.__patterns.smarty.read()));return c},r.exports.TemplatablePattern=u}),,,,(function(r,s,a){var l=a(19).Beautifier,o=a(20).Options;function u(c,d,m,f){var w=new l(c,d,m,f);return w.beautify()}r.exports=u,r.exports.defaultOptions=function(){return new o}}),(function(r,s,a){var l=a(20).Options,o=a(2).Output,u=a(21).Tokenizer,c=a(21).TOKEN,d=/\r\n|[\r\n]/,m=/\r\n|[\r\n]/g,f=function(b,g){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=b.max_preserve_newlines,this.preserve_newlines=b.preserve_newlines,this._output=new o(b,g)};f.prototype.current_line_has_match=function(b){return this._output.current_line.has_match(b)},f.prototype.set_space_before_token=function(b,g){this._output.space_before_token=b,this._output.non_breaking_space=g},f.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},f.prototype.add_raw_token=function(b){this._output.add_raw_token(b)},f.prototype.print_preserved_newlines=function(b){var g=0;b.type!==c.TEXT&&b.previous.type!==c.TEXT&&(g=b.newlines?1:0),this.preserve_newlines&&(g=b.newlines<this.max_preserve_newlines+1?b.newlines:this.max_preserve_newlines+1);for(var v=0;v<g;v++)this.print_newline(v>0);return g!==0},f.prototype.traverse_whitespace=function(b){return b.whitespace_before||b.newlines?(this.print_preserved_newlines(b)||(this._output.space_before_token=!0),!0):!1},f.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},f.prototype.print_newline=function(b){this._output.add_new_line(b)},f.prototype.print_token=function(b){b.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(b.text))},f.prototype.indent=function(){this.indent_level++},f.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},f.prototype.get_full_indent=function(b){return b=this.indent_level+(b||0),b<1?"":this._output.get_indent_string(b)};var w=function(b){for(var g=null,v=b.next;v.type!==c.EOF&&b.closed!==v;){if(v.type===c.ATTRIBUTE&&v.text==="type"){v.next&&v.next.type===c.EQUALS&&v.next.next&&v.next.next.type===c.VALUE&&(g=v.next.next.text);break}v=v.next}return g},p=function(b,g){var v=null,N=null;return g.closed?(b==="script"?v="text/javascript":b==="style"&&(v="text/css"),v=w(g)||v,v.search("text/css")>-1?N="css":v.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?N="javascript":v.search(/(text|application|dojo)\/(x-)?(html)/)>-1?N="html":v.search(/test\/null/)>-1&&(N="null"),N):null};function T(b,g){return g.indexOf(b)!==-1}function x(b,g,v){this.parent=b||null,this.tag=g?g.tag_name:"",this.indent_level=v||0,this.parser_token=g||null}function y(b){this._printer=b,this._current_frame=null}y.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},y.prototype.record_tag=function(b){var g=new x(this._current_frame,b,this._printer.indent_level);this._current_frame=g},y.prototype._try_pop_frame=function(b){var g=null;return b&&(g=b.parser_token,this._printer.indent_level=b.indent_level,this._current_frame=b.parent),g},y.prototype._get_frame=function(b,g){for(var v=this._current_frame;v&&b.indexOf(v.tag)===-1;){if(g&&g.indexOf(v.tag)!==-1){v=null;break}v=v.parent}return v},y.prototype.try_pop=function(b,g){var v=this._get_frame([b],g);return this._try_pop_frame(v)},y.prototype.indent_to_tag=function(b){var g=this._get_frame(b);g&&(this._printer.indent_level=g.indent_level)};function L(b,g,v,N){this._source_text=b||"",g=g||{},this._js_beautify=v,this._css_beautify=N,this._tag_stack=null;var k=new l(g,"html");this._options=k,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}L.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var b=this._source_text,g=this._options.eol;this._options.eol==="auto"&&(g=`
|
|
60
|
+
You passed in: '`+this.raw_options[o]+"'");return d},s.prototype._is_valid_selection=function(o,u){return o.length&&u.length&&!o.some(function(h){return u.indexOf(h)===-1})};function a(o,u){var h={};o=l(o);var d;for(d in o)d!==u&&(h[d]=o[d]);if(u&&o[u])for(d in o[u])h[d]=o[u][d];return h}function l(o){var u={},h;for(h in o){var d=h.replace(/-/g,"_");u[d]=o[h]}return u}r.exports.Options=s,r.exports.normalizeOpts=l,r.exports.mergeOpts=a}),,(function(r){var s=RegExp.prototype.hasOwnProperty("sticky");function a(l){this.__input=l||"",this.__input_length=this.__input.length,this.__position=0}a.prototype.restart=function(){this.__position=0},a.prototype.back=function(){this.__position>0&&(this.__position-=1)},a.prototype.hasNext=function(){return this.__position<this.__input_length},a.prototype.next=function(){var l=null;return this.hasNext()&&(l=this.__input.charAt(this.__position),this.__position+=1),l},a.prototype.peek=function(l){var o=null;return l=l||0,l+=this.__position,l>=0&&l<this.__input_length&&(o=this.__input.charAt(l)),o},a.prototype.__match=function(l,o){l.lastIndex=o;var u=l.exec(this.__input);return u&&!(s&&l.sticky)&&u.index!==o&&(u=null),u},a.prototype.test=function(l,o){return o=o||0,o+=this.__position,o>=0&&o<this.__input_length?!!this.__match(l,o):!1},a.prototype.testChar=function(l,o){var u=this.peek(o);return l.lastIndex=0,u!==null&&l.test(u)},a.prototype.match=function(l){var o=this.__match(l,this.__position);return o?this.__position+=o[0].length:o=null,o},a.prototype.read=function(l,o,u){var h="",d;return l&&(d=this.match(l),d&&(h+=d[0])),o&&(d||!l)&&(h+=this.readUntil(o,u)),h},a.prototype.readUntil=function(l,o){var u="",h=this.__position;l.lastIndex=this.__position;var d=l.exec(this.__input);return d?(h=d.index,o&&(h+=d[0].length)):h=this.__input_length,u=this.__input.substring(this.__position,h),this.__position=h,u},a.prototype.readUntilAfter=function(l){return this.readUntil(l,!0)},a.prototype.get_regexp=function(l,o){var u=null,h="g";return o&&s&&(h="y"),typeof l=="string"&&l!==""?u=new RegExp(l,h):l&&(u=new RegExp(l.source,h)),u},a.prototype.get_literal_regexp=function(l){return RegExp(l.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},a.prototype.peekUntilAfter=function(l){var o=this.__position,u=this.readUntilAfter(l);return this.__position=o,u},a.prototype.lookBack=function(l){var o=this.__position-1;return o>=l.length&&this.__input.substring(o-l.length,o).toLowerCase()===l},r.exports.InputScanner=a}),(function(r,s,a){var l=a(8).InputScanner,o=a(3).Token,u=a(10).TokenStream,h=a(11).WhitespacePattern,d={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},m=function(f,w){this._input=new l(f),this._options=w||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new h(this._input)};m.prototype.tokenize=function(){this._input.restart(),this.__tokens=new u,this._reset();for(var f,w=new o(d.START,""),p=null,x=[],y=new u;w.type!==d.EOF;){for(f=this._get_next_token(w,p);this._is_comment(f);)y.add(f),f=this._get_next_token(w,p);y.isEmpty()||(f.comments_before=y,y=new u),f.parent=p,this._is_opening(f)?(x.push(p),p=f):p&&this._is_closing(f,p)&&(f.opened=p,p.closed=f,p=x.pop(),f.parent=p),f.previous=w,w.next=f,this.__tokens.add(f),w=f}return this.__tokens},m.prototype._is_first_token=function(){return this.__tokens.isEmpty()},m.prototype._reset=function(){},m.prototype._get_next_token=function(f,w){this._readWhitespace();var p=this._input.read(/.+/g);return p?this._create_token(d.RAW,p):this._create_token(d.EOF,"")},m.prototype._is_comment=function(f){return!1},m.prototype._is_opening=function(f){return!1},m.prototype._is_closing=function(f,w){return!1},m.prototype._create_token=function(f,w){var p=new o(f,w,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return p},m.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},r.exports.Tokenizer=m,r.exports.TOKEN=d}),(function(r){function s(a){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=a}s.prototype.restart=function(){this.__position=0},s.prototype.isEmpty=function(){return this.__tokens_length===0},s.prototype.hasNext=function(){return this.__position<this.__tokens_length},s.prototype.next=function(){var a=null;return this.hasNext()&&(a=this.__tokens[this.__position],this.__position+=1),a},s.prototype.peek=function(a){var l=null;return a=a||0,a+=this.__position,a>=0&&a<this.__tokens_length&&(l=this.__tokens[a]),l},s.prototype.add=function(a){this.__parent_token&&(a.parent=this.__parent_token),this.__tokens.push(a),this.__tokens_length+=1},r.exports.TokenStream=s}),(function(r,s,a){var l=a(12).Pattern;function o(u,h){l.call(this,u,h),h?this._line_regexp=this._input.get_regexp(h._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}o.prototype=new l,o.prototype.__set_whitespace_patterns=function(u,h){u+="\\t ",h+="\\n\\r",this._match_pattern=this._input.get_regexp("["+u+h+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+h+"]")},o.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var u=this._input.read(this._match_pattern);if(u===" ")this.whitespace_before_token=" ";else if(u){var h=this.__split(this._newline_regexp,u);this.newline_count=h.length-1,this.whitespace_before_token=h[this.newline_count]}return u},o.prototype.matching=function(u,h){var d=this._create();return d.__set_whitespace_patterns(u,h),d._update(),d},o.prototype._create=function(){return new o(this._input,this)},o.prototype.__split=function(u,h){u.lastIndex=0;for(var d=0,m=[],f=u.exec(h);f;)m.push(h.substring(d,f.index)),d=f.index+f[0].length,f=u.exec(h);return d<h.length?m.push(h.substring(d,h.length)):m.push(""),m},r.exports.WhitespacePattern=o}),(function(r){function s(a,l){this._input=a,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,l&&(this._starting_pattern=this._input.get_regexp(l._starting_pattern,!0),this._match_pattern=this._input.get_regexp(l._match_pattern,!0),this._until_pattern=this._input.get_regexp(l._until_pattern),this._until_after=l._until_after)}s.prototype.read=function(){var a=this._input.read(this._starting_pattern);return(!this._starting_pattern||a)&&(a+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),a},s.prototype.read_match=function(){return this._input.match(this._match_pattern)},s.prototype.until_after=function(a){var l=this._create();return l._until_after=!0,l._until_pattern=this._input.get_regexp(a),l._update(),l},s.prototype.until=function(a){var l=this._create();return l._until_after=!1,l._until_pattern=this._input.get_regexp(a),l._update(),l},s.prototype.starting_with=function(a){var l=this._create();return l._starting_pattern=this._input.get_regexp(a,!0),l._update(),l},s.prototype.matching=function(a){var l=this._create();return l._match_pattern=this._input.get_regexp(a,!0),l._update(),l},s.prototype._create=function(){return new s(this._input,this)},s.prototype._update=function(){},r.exports.Pattern=s}),(function(r){function s(a,l){a=typeof a=="string"?a:a.source,l=typeof l=="string"?l:l.source,this.__directives_block_pattern=new RegExp(a+/ beautify( \w+[:]\w+)+ /.source+l,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(a+/\sbeautify\signore:end\s/.source+l,"g")}s.prototype.get_directives=function(a){if(!a.match(this.__directives_block_pattern))return null;var l={};this.__directive_pattern.lastIndex=0;for(var o=this.__directive_pattern.exec(a);o;)l[o[1]]=o[2],o=this.__directive_pattern.exec(a);return l},s.prototype.readIgnored=function(a){return a.readUntilAfter(this.__directives_end_ignore_pattern)},r.exports.Directives=s}),(function(r,s,a){var l=a(12).Pattern,o={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function u(h,d){l.call(this,h,d),this.__template_pattern=null,this._disabled=Object.assign({},o),this._excluded=Object.assign({},o),d&&(this.__template_pattern=this._input.get_regexp(d.__template_pattern),this._excluded=Object.assign(this._excluded,d._excluded),this._disabled=Object.assign(this._disabled,d._disabled));var m=new l(h);this.__patterns={handlebars_comment:m.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:m.starting_with(/{{{/).until_after(/}}}/),handlebars:m.starting_with(/{{/).until_after(/}}/),php:m.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:m.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:m.starting_with(/{%/).until_after(/%}/),django_value:m.starting_with(/{{/).until_after(/}}/),django_comment:m.starting_with(/{#/).until_after(/#}/),smarty:m.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:m.starting_with(/{\*/).until_after(/\*}/),smarty_literal:m.starting_with(/{literal}/).until_after(/{\/literal}/)}}u.prototype=new l,u.prototype._create=function(){return new u(this._input,this)},u.prototype._update=function(){this.__set_templated_pattern()},u.prototype.disable=function(h){var d=this._create();return d._disabled[h]=!0,d._update(),d},u.prototype.read_options=function(h){var d=this._create();for(var m in o)d._disabled[m]=h.templating.indexOf(m)===-1;return d._update(),d},u.prototype.exclude=function(h){var d=this._create();return d._excluded[h]=!0,d._update(),d},u.prototype.read=function(){var h="";this._match_pattern?h=this._input.read(this._starting_pattern):h=this._input.read(this._starting_pattern,this.__template_pattern);for(var d=this._read_template();d;)this._match_pattern?d+=this._input.read(this._match_pattern):d+=this._input.readUntil(this.__template_pattern),h+=d,d=this._read_template();return this._until_after&&(h+=this._input.readUntilAfter(this._until_pattern)),h},u.prototype.__set_templated_pattern=function(){var h=[];this._disabled.php||h.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||h.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||h.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(h.push(this.__patterns.django._starting_pattern.source),h.push(this.__patterns.django_value._starting_pattern.source),h.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||h.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&h.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+h.join("|")+")")},u.prototype._read_template=function(){var h="",d=this._input.peek();if(d==="<"){var m=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&m==="?"&&(h=h||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&m==="%"&&(h=h||this.__patterns.erb.read())}else d==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(h=h||this.__patterns.handlebars_comment.read(),h=h||this.__patterns.handlebars_unescaped.read(),h=h||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(h=h||this.__patterns.django_value.read()),this._excluded.django||(h=h||this.__patterns.django_comment.read(),h=h||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(h=h||this.__patterns.smarty_comment.read(),h=h||this.__patterns.smarty_literal.read(),h=h||this.__patterns.smarty.read()));return h},r.exports.TemplatablePattern=u}),,,,(function(r,s,a){var l=a(19).Beautifier,o=a(20).Options;function u(h,d,m,f){var w=new l(h,d,m,f);return w.beautify()}r.exports=u,r.exports.defaultOptions=function(){return new o}}),(function(r,s,a){var l=a(20).Options,o=a(2).Output,u=a(21).Tokenizer,h=a(21).TOKEN,d=/\r\n|[\r\n]/,m=/\r\n|[\r\n]/g,f=function(b,g){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=b.max_preserve_newlines,this.preserve_newlines=b.preserve_newlines,this._output=new o(b,g)};f.prototype.current_line_has_match=function(b){return this._output.current_line.has_match(b)},f.prototype.set_space_before_token=function(b,g){this._output.space_before_token=b,this._output.non_breaking_space=g},f.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},f.prototype.add_raw_token=function(b){this._output.add_raw_token(b)},f.prototype.print_preserved_newlines=function(b){var g=0;b.type!==h.TEXT&&b.previous.type!==h.TEXT&&(g=b.newlines?1:0),this.preserve_newlines&&(g=b.newlines<this.max_preserve_newlines+1?b.newlines:this.max_preserve_newlines+1);for(var _=0;_<g;_++)this.print_newline(_>0);return g!==0},f.prototype.traverse_whitespace=function(b){return b.whitespace_before||b.newlines?(this.print_preserved_newlines(b)||(this._output.space_before_token=!0),!0):!1},f.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},f.prototype.print_newline=function(b){this._output.add_new_line(b)},f.prototype.print_token=function(b){b.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(b.text))},f.prototype.indent=function(){this.indent_level++},f.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},f.prototype.get_full_indent=function(b){return b=this.indent_level+(b||0),b<1?"":this._output.get_indent_string(b)};var w=function(b){for(var g=null,_=b.next;_.type!==h.EOF&&b.closed!==_;){if(_.type===h.ATTRIBUTE&&_.text==="type"){_.next&&_.next.type===h.EQUALS&&_.next.next&&_.next.next.type===h.VALUE&&(g=_.next.next.text);break}_=_.next}return g},p=function(b,g){var _=null,N=null;return g.closed?(b==="script"?_="text/javascript":b==="style"&&(_="text/css"),_=w(g)||_,_.search("text/css")>-1?N="css":_.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?N="javascript":_.search(/(text|application|dojo)\/(x-)?(html)/)>-1?N="html":_.search(/test\/null/)>-1&&(N="null"),N):null};function x(b,g){return g.indexOf(b)!==-1}function y(b,g,_){this.parent=b||null,this.tag=g?g.tag_name:"",this.indent_level=_||0,this.parser_token=g||null}function v(b){this._printer=b,this._current_frame=null}v.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},v.prototype.record_tag=function(b){var g=new y(this._current_frame,b,this._printer.indent_level);this._current_frame=g},v.prototype._try_pop_frame=function(b){var g=null;return b&&(g=b.parser_token,this._printer.indent_level=b.indent_level,this._current_frame=b.parent),g},v.prototype._get_frame=function(b,g){for(var _=this._current_frame;_&&b.indexOf(_.tag)===-1;){if(g&&g.indexOf(_.tag)!==-1){_=null;break}_=_.parent}return _},v.prototype.try_pop=function(b,g){var _=this._get_frame([b],g);return this._try_pop_frame(_)},v.prototype.indent_to_tag=function(b){var g=this._get_frame(b);g&&(this._printer.indent_level=g.indent_level)};function S(b,g,_,N){this._source_text=b||"",g=g||{},this._js_beautify=_,this._css_beautify=N,this._tag_stack=null;var L=new l(g,"html");this._options=L,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}S.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var b=this._source_text,g=this._options.eol;this._options.eol==="auto"&&(g=`
|
|
57
61
|
`,b&&d.test(b)&&(g=b.match(d)[0])),b=b.replace(m,`
|
|
58
|
-
`);var
|
|
59
|
-
`,
|
|
60
|
-
`)!==-1)&&(M=M[3].match(/[ \t]+$/),M&&(g.whitespace_before=M[0]))}if(
|
|
61
|
-
`};
|
|
62
|
-
(`+
|
|
63
|
-
`)),
|
|
64
|
-
`+
|
|
65
|
-
`+
|
|
66
|
-
`)===-1||(v.is_inline_element||v.is_unformatted||b.print_newline(!1),this._calcluate_parent_multiline(b,v))}else if(v.is_end_tag){var A=!1;A=v.start_tag_token&&v.start_tag_token.multiline_content,A=A||!v.is_inline_element&&!(N.is_inline_element||N.is_unformatted)&&!(k.type===c.TAG_CLOSE&&v.start_tag_token===N)&&k.type!=="TK_CONTENT",(v.is_content_unformatted||v.is_unformatted)&&(A=!1),A&&b.print_newline(!1)}else v.indent_content=!v.custom_beautifier_name,v.tag_start_char==="<"&&(v.tag_name==="html"?v.indent_content=this._options.indent_inner_html:v.tag_name==="head"?v.indent_content=this._options.indent_head_inner_html:v.tag_name==="body"&&(v.indent_content=this._options.indent_body_inner_html)),!(v.is_inline_element||v.is_unformatted)&&(k.type!=="TK_CONTENT"||v.is_content_unformatted)&&b.print_newline(!1),this._calcluate_parent_multiline(b,v)},L.prototype._calcluate_parent_multiline=function(b,g){g.parent&&b._output.just_added_newline()&&!((g.is_inline_element||g.is_unformatted)&&g.parent.is_inline_element)&&(g.parent.multiline_content=!0)};var F=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],U=["a","audio","del","ins","map","noscript","video"];L.prototype._do_optional_end_element=function(b){var g=null;if(!(b.is_empty_element||!b.is_start_tag||!b.parent)){if(b.tag_name==="body")g=g||this._tag_stack.try_pop("head");else if(b.tag_name==="li")g=g||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(b.tag_name==="dd"||b.tag_name==="dt")g=g||this._tag_stack.try_pop("dt",["dl"]),g=g||this._tag_stack.try_pop("dd",["dl"]);else if(b.parent.tag_name==="p"&&F.indexOf(b.tag_name)!==-1){var v=b.parent.parent;(!v||U.indexOf(v.tag_name)===-1)&&(g=g||this._tag_stack.try_pop("p"))}else b.tag_name==="rp"||b.tag_name==="rt"?(g=g||this._tag_stack.try_pop("rt",["ruby","rtc"]),g=g||this._tag_stack.try_pop("rp",["ruby","rtc"])):b.tag_name==="optgroup"?g=g||this._tag_stack.try_pop("optgroup",["select"]):b.tag_name==="option"?g=g||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):b.tag_name==="colgroup"?g=g||this._tag_stack.try_pop("caption",["table"]):b.tag_name==="thead"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"])):b.tag_name==="tbody"||b.tag_name==="tfoot"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"]),g=g||this._tag_stack.try_pop("thead",["table"]),g=g||this._tag_stack.try_pop("tbody",["table"])):b.tag_name==="tr"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"]),g=g||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(b.tag_name==="th"||b.tag_name==="td")&&(g=g||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),g=g||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return b.parent=this._tag_stack.get_parser_token(),g}},r.exports.Beautifier=L}),(function(r,s,a){var l=a(6).Options;function o(u){l.call(this,u,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}o.prototype=new l,r.exports.Options=o}),(function(r,s,a){var l=a(9).Tokenizer,o=a(9).TOKEN,u=a(13).Directives,c=a(14).TemplatablePattern,d=a(12).Pattern,m={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:o.START,RAW:o.RAW,EOF:o.EOF},f=new u(/<\!--/,/-->/),w=function(p,T){l.call(this,p,T),this._current_tag_name="";var x=new c(this._input).read_options(this._options),y=new d(this._input);if(this.__patterns={word:x.until(/[\n\r\t <]/),word_control_flow_close_excluded:x.until(/[\n\r\t <}]/),single_quote:x.until_after(/'/),double_quote:x.until_after(/"/),attribute:x.until(/[\n\r\t =>]|\/>/),element_name:x.until(/[\n\r\t >\/]/),angular_control_flow_start:y.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:y.starting_with(/{{!--/).until_after(/--}}/),handlebars:y.starting_with(/{{/).until_after(/}}/),handlebars_open:y.until(/[\n\r\t }]/),handlebars_raw_close:y.until(/}}/),comment:y.starting_with(/<!--/).until_after(/-->/),cdata:y.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:y.starting_with(/<!\[/).until_after(/]>/),processing:y.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var L=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=y.matching(L).until_after(L)}};w.prototype=new l,w.prototype._is_comment=function(p){return!1},w.prototype._is_opening=function(p){return p.type===m.TAG_OPEN||p.type===m.CONTROL_FLOW_OPEN},w.prototype._is_closing=function(p,T){return p.type===m.TAG_CLOSE&&T&&((p.text===">"||p.text==="/>")&&T.text[0]==="<"||p.text==="}}"&&T.text[0]==="{"&&T.text[1]==="{")||p.type===m.CONTROL_FLOW_CLOSE&&p.text==="}"&&T.text.endsWith("{")},w.prototype._reset=function(){this._current_tag_name=""},w.prototype._get_next_token=function(p,T){var x=null;this._readWhitespace();var y=this._input.peek();return y===null?this._create_token(m.EOF,""):(x=x||this._read_open_handlebars(y,T),x=x||this._read_attribute(y,p,T),x=x||this._read_close(y,T),x=x||this._read_control_flows(y,T),x=x||this._read_raw_content(y,p,T),x=x||this._read_content_word(y,T),x=x||this._read_comment_or_cdata(y),x=x||this._read_processing(y),x=x||this._read_open(y,T),x=x||this._create_token(m.UNKNOWN,this._input.next()),x)},w.prototype._read_comment_or_cdata=function(p){var T=null,x=null,y=null;if(p==="<"){var L=this._input.peek(1);L==="!"&&(x=this.__patterns.comment.read(),x?(y=f.get_directives(x),y&&y.ignore==="start"&&(x+=f.readIgnored(this._input))):x=this.__patterns.cdata.read()),x&&(T=this._create_token(m.COMMENT,x),T.directives=y)}return T},w.prototype._read_processing=function(p){var T=null,x=null,y=null;if(p==="<"){var L=this._input.peek(1);(L==="!"||L==="?")&&(x=this.__patterns.conditional_comment.read(),x=x||this.__patterns.processing.read()),x&&(T=this._create_token(m.COMMENT,x),T.directives=y)}return T},w.prototype._read_open=function(p,T){var x=null,y=null;return(!T||T.type===m.CONTROL_FLOW_OPEN)&&p==="<"&&(x=this._input.next(),this._input.peek()==="/"&&(x+=this._input.next()),x+=this.__patterns.element_name.read(),y=this._create_token(m.TAG_OPEN,x)),y},w.prototype._read_open_handlebars=function(p,T){var x=null,y=null;return(!T||T.type===m.CONTROL_FLOW_OPEN)&&this._options.indent_handlebars&&p==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(x=this.__patterns.handlebars_comment.read(),x=x||this.__patterns.handlebars.read(),y=this._create_token(m.COMMENT,x)):(x=this.__patterns.handlebars_open.read(),y=this._create_token(m.TAG_OPEN,x))),y},w.prototype._read_control_flows=function(p,T){var x="",y=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars)return y;if(p==="@"){if(x=this.__patterns.angular_control_flow_start.read(),x==="")return y;for(var L=x.endsWith("(")?1:0,z=0;!(x.endsWith("{")&&L===z);){var F=this._input.next();if(F===null)break;F==="("?L++:F===")"&&z++,x+=F}y=this._create_token(m.CONTROL_FLOW_OPEN,x)}else p==="}"&&T&&T.type===m.CONTROL_FLOW_OPEN&&(x=this._input.next(),y=this._create_token(m.CONTROL_FLOW_CLOSE,x));return y},w.prototype._read_close=function(p,T){var x=null,y=null;return T&&T.type===m.TAG_OPEN&&(T.text[0]==="<"&&(p===">"||p==="/"&&this._input.peek(1)===">")?(x=this._input.next(),p==="/"&&(x+=this._input.next()),y=this._create_token(m.TAG_CLOSE,x)):T.text[0]==="{"&&p==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),y=this._create_token(m.TAG_CLOSE,"}}"))),y},w.prototype._read_attribute=function(p,T,x){var y=null,L="";if(x&&x.text[0]==="<")if(p==="=")y=this._create_token(m.EQUALS,this._input.next());else if(p==='"'||p==="'"){var z=this._input.next();p==='"'?z+=this.__patterns.double_quote.read():z+=this.__patterns.single_quote.read(),y=this._create_token(m.VALUE,z)}else L=this.__patterns.attribute.read(),L&&(T.type===m.EQUALS?y=this._create_token(m.VALUE,L):y=this._create_token(m.ATTRIBUTE,L));return y},w.prototype._is_content_unformatted=function(p){return this._options.void_elements.indexOf(p)===-1&&(this._options.content_unformatted.indexOf(p)!==-1||this._options.unformatted.indexOf(p)!==-1)},w.prototype._read_raw_content=function(p,T,x){var y="";if(x&&x.text[0]==="{")y=this.__patterns.handlebars_raw_close.read();else if(T.type===m.TAG_CLOSE&&T.opened.text[0]==="<"&&T.text[0]!=="/"){var L=T.opened.text.substr(1).toLowerCase();if(L==="script"||L==="style"){var z=this._read_comment_or_cdata(p);if(z)return z.type=m.TEXT,z;y=this._input.readUntil(new RegExp("</"+L+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(L)&&(y=this._input.readUntil(new RegExp("</"+L+"[\\n\\r\\t ]*?>","ig")))}return y?this._create_token(m.TEXT,y):null},w.prototype._read_content_word=function(p,T){var x="";if(this._options.unformatted_content_delimiter&&p===this._options.unformatted_content_delimiter[0]&&(x=this.__patterns.unformatted_content_delimiter.read()),x||(x=T&&T.type===m.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),x)return this._create_token(m.TEXT,x)},r.exports.Tokenizer=w,r.exports.TOKEN=m})],e={};function n(r){var s=e[r];if(s!==void 0)return s.exports;var a=e[r]={exports:{}};return t[r](a,a.exports,n),a.exports}var i=n(18);Wl=i})();function Bl(t,e){return Wl(t,e,Pl,Hl)}function Vl(t,e,n){let i=t.getText(),r=!0,s=0,a=n.tabSize||4;if(e){let u=t.offsetAt(e.start),c=u;for(;c>0&&ql(i,c-1);)c--;c===0||Ol(i,c-1)?u=c:c<u&&(u=c+1);let d=t.offsetAt(e.end),m=d;for(;m<i.length&&ql(i,m);)m++;(m===i.length||Ol(i,m))&&(d=m),e=G.create(t.positionAt(u),t.positionAt(d));let f=i.substring(0,u);if(new RegExp(/.*[<][^>]*$/).test(f))return i=i.substring(u,d),[{range:e,newText:i}];if(r=d===i.length,i=i.substring(u,d),u!==0){let w=t.offsetAt(ne.create(e.start.line,0));s=Kc(t.getText(),w,n)}}else e=G.create(ne.create(0,0),t.positionAt(i.length));let l={indent_size:a,indent_char:n.insertSpaces?" ":" ",indent_empty_lines:be(n,"indentEmptyLines",!1),wrap_line_length:be(n,"wrapLineLength",120),unformatted:ss(n,"unformatted",void 0),content_unformatted:ss(n,"contentUnformatted",void 0),indent_inner_html:be(n,"indentInnerHtml",!1),preserve_newlines:be(n,"preserveNewLines",!0),max_preserve_newlines:be(n,"maxPreserveNewLines",32786),indent_handlebars:be(n,"indentHandlebars",!1),end_with_newline:r&&be(n,"endWithNewline",!1),extra_liners:ss(n,"extraLiners",void 0),wrap_attributes:be(n,"wrapAttributes","auto"),wrap_attributes_indent_size:be(n,"wrapAttributesIndentSize",void 0),eol:`
|
|
67
|
-
`,indent_scripts:
|
|
62
|
+
`);var _=b.match(/^[\t ]*/)[0],N={text:"",type:""},L=new P,T=new f(this._options,_),R=new u(b,this._options).tokenize();this._tag_stack=new v(T);for(var A=null,k=R.next();k.type!==h.EOF;)k.type===h.TAG_OPEN||k.type===h.COMMENT?(A=this._handle_tag_open(T,k,L,N,R),L=A):k.type===h.ATTRIBUTE||k.type===h.EQUALS||k.type===h.VALUE||k.type===h.TEXT&&!L.tag_complete?A=this._handle_inside_tag(T,k,L,N):k.type===h.TAG_CLOSE?A=this._handle_tag_close(T,k,L):k.type===h.TEXT?A=this._handle_text(T,k,L):k.type===h.CONTROL_FLOW_OPEN?A=this._handle_control_flow_open(T,k):k.type===h.CONTROL_FLOW_CLOSE?A=this._handle_control_flow_close(T,k):T.add_raw_token(k),N=A,k=R.next();var E=T._output.get_code(g);return E},S.prototype._handle_control_flow_open=function(b,g){var _={text:g.text,type:g.type};return b.set_space_before_token(g.newlines||g.whitespace_before!=="",!0),g.newlines?b.print_preserved_newlines(g):b.set_space_before_token(g.newlines||g.whitespace_before!=="",!0),b.print_token(g),b.indent(),_},S.prototype._handle_control_flow_close=function(b,g){var _={text:g.text,type:g.type};return b.deindent(),g.newlines?b.print_preserved_newlines(g):b.set_space_before_token(g.newlines||g.whitespace_before!=="",!0),b.print_token(g),_},S.prototype._handle_tag_close=function(b,g,_){var N={text:g.text,type:g.type};return b.alignment_size=0,_.tag_complete=!0,b.set_space_before_token(g.newlines||g.whitespace_before!=="",!0),_.is_unformatted?b.add_raw_token(g):(_.tag_start_char==="<"&&(b.set_space_before_token(g.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&_.has_wrapped_attrs&&b.print_newline(!1)),b.print_token(g)),_.indent_content&&!(_.is_unformatted||_.is_content_unformatted)&&(b.indent(),_.indent_content=!1),!_.is_inline_element&&!(_.is_unformatted||_.is_content_unformatted)&&b.set_wrap_point(),N},S.prototype._handle_inside_tag=function(b,g,_,N){var L=_.has_wrapped_attrs,T={text:g.text,type:g.type};return b.set_space_before_token(g.newlines||g.whitespace_before!=="",!0),_.is_unformatted?b.add_raw_token(g):_.tag_start_char==="{"&&g.type===h.TEXT?b.print_preserved_newlines(g)?(g.newlines=0,b.add_raw_token(g)):b.print_token(g):(g.type===h.ATTRIBUTE?b.set_space_before_token(!0):(g.type===h.EQUALS||g.type===h.VALUE&&g.previous.type===h.EQUALS)&&b.set_space_before_token(!1),g.type===h.ATTRIBUTE&&_.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(b.traverse_whitespace(g),L=L||g.newlines!==0),this._is_wrap_attributes_force&&_.attr_count>=this._options.wrap_attributes_min_attrs&&(N.type!==h.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(b.print_newline(!1),L=!0)),b.print_token(g),L=L||b.previous_token_wrapped(),_.has_wrapped_attrs=L),T},S.prototype._handle_text=function(b,g,_){var N={text:g.text,type:"TK_CONTENT"};return _.custom_beautifier_name?this._print_custom_beatifier_text(b,g,_):_.is_unformatted||_.is_content_unformatted?b.add_raw_token(g):(b.traverse_whitespace(g),b.print_token(g)),N},S.prototype._print_custom_beatifier_text=function(b,g,_){var N=this;if(g.text!==""){var L=g.text,T,R=1,A="",k="";_.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?T=this._js_beautify:_.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?T=this._css_beautify:_.custom_beautifier_name==="html"&&(T=function(B,Y){var Z=new S(B,Y,N._js_beautify,N._css_beautify);return Z.beautify()}),this._options.indent_scripts==="keep"?R=0:this._options.indent_scripts==="separate"&&(R=-b.indent_level);var E=b.get_full_indent(R);if(L=L.replace(/\n[ \t]*$/,""),_.custom_beautifier_name!=="html"&&L[0]==="<"&&L.match(/^(<!--|<!\[CDATA\[)/)){var M=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(L);if(!M){b.add_raw_token(g);return}A=E+M[1]+`
|
|
63
|
+
`,L=M[4],M[5]&&(k=E+M[5]),L=L.replace(/\n[ \t]*$/,""),(M[2]||M[3].indexOf(`
|
|
64
|
+
`)!==-1)&&(M=M[3].match(/[ \t]+$/),M&&(g.whitespace_before=M[0]))}if(L)if(T){var F=function(){this.eol=`
|
|
65
|
+
`};F.prototype=this._options.raw_options;var U=new F;L=T(E+L,U)}else{var W=g.whitespace_before;W&&(L=L.replace(new RegExp(`
|
|
66
|
+
(`+W+")?","g"),`
|
|
67
|
+
`)),L=E+L.replace(/\n/g,`
|
|
68
|
+
`+E)}A&&(L?L=A+L+`
|
|
69
|
+
`+k:L=A+k),b.print_newline(!1),L&&(g.text=L,g.whitespace_before="",g.newlines=0,b.add_raw_token(g),b.print_newline(!0))}},S.prototype._handle_tag_open=function(b,g,_,N,L){var T=this._get_tag_open_token(g);if((_.is_unformatted||_.is_content_unformatted)&&!_.is_empty_element&&g.type===h.TAG_OPEN&&!T.is_start_tag?(b.add_raw_token(g),T.start_tag_token=this._tag_stack.try_pop(T.tag_name)):(b.traverse_whitespace(g),this._set_tag_position(b,g,T,_,N),T.is_inline_element||b.set_wrap_point(),b.print_token(g)),T.is_start_tag&&this._is_wrap_attributes_force){var R=0,A;do A=L.peek(R),A.type===h.ATTRIBUTE&&(T.attr_count+=1),R+=1;while(A.type!==h.EOF&&A.type!==h.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(T.alignment_size=g.text.length+1),!T.tag_complete&&!T.is_unformatted&&(b.alignment_size=T.alignment_size),T};var P=function(b,g){if(this.parent=b||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!g)this.tag_complete=!0;else{var _;this.tag_start_char=g.text[0],this.text=g.text,this.tag_start_char==="<"?(_=g.text.match(/^<([^\s>]*)/),this.tag_check=_?_[1]:""):(_=g.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=_?_[1]:"",(g.text.startsWith("{{#>")||g.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&g.next!==null?this.tag_check=g.next.text.split(" ")[0]:this.tag_check=g.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),g.type===h.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||g.closed&&g.closed.text==="/>";var N=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(N=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(N)))}};S.prototype._get_tag_open_token=function(b){var g=new P(this._tag_stack.get_parser_token(),b);return g.alignment_size=this._options.wrap_attributes_indent_size,g.is_end_tag=g.is_end_tag||x(g.tag_check,this._options.void_elements),g.is_empty_element=g.tag_complete||g.is_start_tag&&g.is_end_tag,g.is_unformatted=!g.tag_complete&&x(g.tag_check,this._options.unformatted),g.is_content_unformatted=!g.is_empty_element&&x(g.tag_check,this._options.content_unformatted),g.is_inline_element=x(g.tag_name,this._options.inline)||this._options.inline_custom_elements&&g.tag_name.includes("-")||g.tag_start_char==="{",g},S.prototype._set_tag_position=function(b,g,_,N,L){if(_.is_empty_element||(_.is_end_tag?_.start_tag_token=this._tag_stack.try_pop(_.tag_name):(this._do_optional_end_element(_)&&(_.is_inline_element||b.print_newline(!1)),this._tag_stack.record_tag(_),(_.tag_name==="script"||_.tag_name==="style")&&!(_.is_unformatted||_.is_content_unformatted)&&(_.custom_beautifier_name=p(_.tag_check,g)))),x(_.tag_check,this._options.extra_liners)&&(b.print_newline(!1),b._output.just_added_blankline()||b.print_newline(!0)),_.is_empty_element){if(_.tag_start_char==="{"&&_.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),_.indent_content=!0;var T=b.current_line_has_match(/{{#if/);T||b.print_newline(!1)}_.tag_name==="!--"&&L.type===h.TAG_CLOSE&&N.is_end_tag&&_.text.indexOf(`
|
|
70
|
+
`)===-1||(_.is_inline_element||_.is_unformatted||b.print_newline(!1),this._calcluate_parent_multiline(b,_))}else if(_.is_end_tag){var R=!1;R=_.start_tag_token&&_.start_tag_token.multiline_content,R=R||!_.is_inline_element&&!(N.is_inline_element||N.is_unformatted)&&!(L.type===h.TAG_CLOSE&&_.start_tag_token===N)&&L.type!=="TK_CONTENT",(_.is_content_unformatted||_.is_unformatted)&&(R=!1),R&&b.print_newline(!1)}else _.indent_content=!_.custom_beautifier_name,_.tag_start_char==="<"&&(_.tag_name==="html"?_.indent_content=this._options.indent_inner_html:_.tag_name==="head"?_.indent_content=this._options.indent_head_inner_html:_.tag_name==="body"&&(_.indent_content=this._options.indent_body_inner_html)),!(_.is_inline_element||_.is_unformatted)&&(L.type!=="TK_CONTENT"||_.is_content_unformatted)&&b.print_newline(!1),this._calcluate_parent_multiline(b,_)},S.prototype._calcluate_parent_multiline=function(b,g){g.parent&&b._output.just_added_newline()&&!((g.is_inline_element||g.is_unformatted)&&g.parent.is_inline_element)&&(g.parent.multiline_content=!0)};var z=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],H=["a","audio","del","ins","map","noscript","video"];S.prototype._do_optional_end_element=function(b){var g=null;if(!(b.is_empty_element||!b.is_start_tag||!b.parent)){if(b.tag_name==="body")g=g||this._tag_stack.try_pop("head");else if(b.tag_name==="li")g=g||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(b.tag_name==="dd"||b.tag_name==="dt")g=g||this._tag_stack.try_pop("dt",["dl"]),g=g||this._tag_stack.try_pop("dd",["dl"]);else if(b.parent.tag_name==="p"&&z.indexOf(b.tag_name)!==-1){var _=b.parent.parent;(!_||H.indexOf(_.tag_name)===-1)&&(g=g||this._tag_stack.try_pop("p"))}else b.tag_name==="rp"||b.tag_name==="rt"?(g=g||this._tag_stack.try_pop("rt",["ruby","rtc"]),g=g||this._tag_stack.try_pop("rp",["ruby","rtc"])):b.tag_name==="optgroup"?g=g||this._tag_stack.try_pop("optgroup",["select"]):b.tag_name==="option"?g=g||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):b.tag_name==="colgroup"?g=g||this._tag_stack.try_pop("caption",["table"]):b.tag_name==="thead"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"])):b.tag_name==="tbody"||b.tag_name==="tfoot"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"]),g=g||this._tag_stack.try_pop("thead",["table"]),g=g||this._tag_stack.try_pop("tbody",["table"])):b.tag_name==="tr"?(g=g||this._tag_stack.try_pop("caption",["table"]),g=g||this._tag_stack.try_pop("colgroup",["table"]),g=g||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(b.tag_name==="th"||b.tag_name==="td")&&(g=g||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),g=g||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return b.parent=this._tag_stack.get_parser_token(),g}},r.exports.Beautifier=S}),(function(r,s,a){var l=a(6).Options;function o(u){l.call(this,u,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}o.prototype=new l,r.exports.Options=o}),(function(r,s,a){var l=a(9).Tokenizer,o=a(9).TOKEN,u=a(13).Directives,h=a(14).TemplatablePattern,d=a(12).Pattern,m={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:o.START,RAW:o.RAW,EOF:o.EOF},f=new u(/<\!--/,/-->/),w=function(p,x){l.call(this,p,x),this._current_tag_name="";var y=new h(this._input).read_options(this._options),v=new d(this._input);if(this.__patterns={word:y.until(/[\n\r\t <]/),word_control_flow_close_excluded:y.until(/[\n\r\t <}]/),single_quote:y.until_after(/'/),double_quote:y.until_after(/"/),attribute:y.until(/[\n\r\t =>]|\/>/),element_name:y.until(/[\n\r\t >\/]/),angular_control_flow_start:v.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:v.starting_with(/{{!--/).until_after(/--}}/),handlebars:v.starting_with(/{{/).until_after(/}}/),handlebars_open:v.until(/[\n\r\t }]/),handlebars_raw_close:v.until(/}}/),comment:v.starting_with(/<!--/).until_after(/-->/),cdata:v.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:v.starting_with(/<!\[/).until_after(/]>/),processing:v.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var S=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=v.matching(S).until_after(S)}};w.prototype=new l,w.prototype._is_comment=function(p){return!1},w.prototype._is_opening=function(p){return p.type===m.TAG_OPEN||p.type===m.CONTROL_FLOW_OPEN},w.prototype._is_closing=function(p,x){return p.type===m.TAG_CLOSE&&x&&((p.text===">"||p.text==="/>")&&x.text[0]==="<"||p.text==="}}"&&x.text[0]==="{"&&x.text[1]==="{")||p.type===m.CONTROL_FLOW_CLOSE&&p.text==="}"&&x.text.endsWith("{")},w.prototype._reset=function(){this._current_tag_name=""},w.prototype._get_next_token=function(p,x){var y=null;this._readWhitespace();var v=this._input.peek();return v===null?this._create_token(m.EOF,""):(y=y||this._read_open_handlebars(v,x),y=y||this._read_attribute(v,p,x),y=y||this._read_close(v,x),y=y||this._read_control_flows(v,x),y=y||this._read_raw_content(v,p,x),y=y||this._read_content_word(v,x),y=y||this._read_comment_or_cdata(v),y=y||this._read_processing(v),y=y||this._read_open(v,x),y=y||this._create_token(m.UNKNOWN,this._input.next()),y)},w.prototype._read_comment_or_cdata=function(p){var x=null,y=null,v=null;if(p==="<"){var S=this._input.peek(1);S==="!"&&(y=this.__patterns.comment.read(),y?(v=f.get_directives(y),v&&v.ignore==="start"&&(y+=f.readIgnored(this._input))):y=this.__patterns.cdata.read()),y&&(x=this._create_token(m.COMMENT,y),x.directives=v)}return x},w.prototype._read_processing=function(p){var x=null,y=null,v=null;if(p==="<"){var S=this._input.peek(1);(S==="!"||S==="?")&&(y=this.__patterns.conditional_comment.read(),y=y||this.__patterns.processing.read()),y&&(x=this._create_token(m.COMMENT,y),x.directives=v)}return x},w.prototype._read_open=function(p,x){var y=null,v=null;return(!x||x.type===m.CONTROL_FLOW_OPEN)&&p==="<"&&(y=this._input.next(),this._input.peek()==="/"&&(y+=this._input.next()),y+=this.__patterns.element_name.read(),v=this._create_token(m.TAG_OPEN,y)),v},w.prototype._read_open_handlebars=function(p,x){var y=null,v=null;return(!x||x.type===m.CONTROL_FLOW_OPEN)&&this._options.indent_handlebars&&p==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(y=this.__patterns.handlebars_comment.read(),y=y||this.__patterns.handlebars.read(),v=this._create_token(m.COMMENT,y)):(y=this.__patterns.handlebars_open.read(),v=this._create_token(m.TAG_OPEN,y))),v},w.prototype._read_control_flows=function(p,x){var y="",v=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars)return v;if(p==="@"){if(y=this.__patterns.angular_control_flow_start.read(),y==="")return v;for(var S=y.endsWith("(")?1:0,P=0;!(y.endsWith("{")&&S===P);){var z=this._input.next();if(z===null)break;z==="("?S++:z===")"&&P++,y+=z}v=this._create_token(m.CONTROL_FLOW_OPEN,y)}else p==="}"&&x&&x.type===m.CONTROL_FLOW_OPEN&&(y=this._input.next(),v=this._create_token(m.CONTROL_FLOW_CLOSE,y));return v},w.prototype._read_close=function(p,x){var y=null,v=null;return x&&x.type===m.TAG_OPEN&&(x.text[0]==="<"&&(p===">"||p==="/"&&this._input.peek(1)===">")?(y=this._input.next(),p==="/"&&(y+=this._input.next()),v=this._create_token(m.TAG_CLOSE,y)):x.text[0]==="{"&&p==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),v=this._create_token(m.TAG_CLOSE,"}}"))),v},w.prototype._read_attribute=function(p,x,y){var v=null,S="";if(y&&y.text[0]==="<")if(p==="=")v=this._create_token(m.EQUALS,this._input.next());else if(p==='"'||p==="'"){var P=this._input.next();p==='"'?P+=this.__patterns.double_quote.read():P+=this.__patterns.single_quote.read(),v=this._create_token(m.VALUE,P)}else S=this.__patterns.attribute.read(),S&&(x.type===m.EQUALS?v=this._create_token(m.VALUE,S):v=this._create_token(m.ATTRIBUTE,S));return v},w.prototype._is_content_unformatted=function(p){return this._options.void_elements.indexOf(p)===-1&&(this._options.content_unformatted.indexOf(p)!==-1||this._options.unformatted.indexOf(p)!==-1)},w.prototype._read_raw_content=function(p,x,y){var v="";if(y&&y.text[0]==="{")v=this.__patterns.handlebars_raw_close.read();else if(x.type===m.TAG_CLOSE&&x.opened.text[0]==="<"&&x.text[0]!=="/"){var S=x.opened.text.substr(1).toLowerCase();if(S==="script"||S==="style"){var P=this._read_comment_or_cdata(p);if(P)return P.type=m.TEXT,P;v=this._input.readUntil(new RegExp("</"+S+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(S)&&(v=this._input.readUntil(new RegExp("</"+S+"[\\n\\r\\t ]*?>","ig")))}return v?this._create_token(m.TEXT,v):null},w.prototype._read_content_word=function(p,x){var y="";if(this._options.unformatted_content_delimiter&&p===this._options.unformatted_content_delimiter[0]&&(y=this.__patterns.unformatted_content_delimiter.read()),y||(y=x&&x.type===m.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),y)return this._create_token(m.TEXT,y)},r.exports.Tokenizer=w,r.exports.TOKEN=m})],e={};function n(r){var s=e[r];if(s!==void 0)return s.exports;var a=e[r]={exports:{}};return t[r](a,a.exports,n),a.exports}var i=n(18);Cu=i})();function Eu(t,e){return Cu(t,e,Su,Au)}function Mu(t,e,n){let i=t.getText(),r=!0,s=0,a=n.tabSize||4;if(e){let u=t.offsetAt(e.start),h=u;for(;h>0&&Du(i,h-1);)h--;h===0||Ru(i,h-1)?u=h:h<u&&(u=h+1);let d=t.offsetAt(e.end),m=d;for(;m<i.length&&Du(i,m);)m++;(m===i.length||Ru(i,m))&&(d=m),e=X.create(t.positionAt(u),t.positionAt(d));let f=i.substring(0,u);if(new RegExp(/.*[<][^>]*$/).test(f))return i=i.substring(u,d),[{range:e,newText:i}];if(r=d===i.length,i=i.substring(u,d),u!==0){let w=t.offsetAt(ie.create(e.start.line,0));s=$h(t.getText(),w,n)}}else e=X.create(ie.create(0,0),t.positionAt(i.length));let l={indent_size:a,indent_char:n.insertSpaces?" ":" ",indent_empty_lines:ve(n,"indentEmptyLines",!1),wrap_line_length:ve(n,"wrapLineLength",120),unformatted:Ds(n,"unformatted",void 0),content_unformatted:Ds(n,"contentUnformatted",void 0),indent_inner_html:ve(n,"indentInnerHtml",!1),preserve_newlines:ve(n,"preserveNewLines",!0),max_preserve_newlines:ve(n,"maxPreserveNewLines",32786),indent_handlebars:ve(n,"indentHandlebars",!1),end_with_newline:r&&ve(n,"endWithNewline",!1),extra_liners:Ds(n,"extraLiners",void 0),wrap_attributes:ve(n,"wrapAttributes","auto"),wrap_attributes_indent_size:ve(n,"wrapAttributesIndentSize",void 0),eol:`
|
|
71
|
+
`,indent_scripts:ve(n,"indentScripts","normal"),templating:jh(n,"all"),unformatted_content_delimiter:ve(n,"unformattedContentDelimiter","")},o=Eu(Vh(i),l);if(s>0){let u=n.insertSpaces?Rs(" ",a*s):Rs(" ",s);o=o.split(`
|
|
68
72
|
`).join(`
|
|
69
|
-
`+u),e.start.character===0&&(o=u+o)}return[{range:e,newText:o}]}function
|
|
70
|
-
`.indexOf(t.charAt(e))!==-1}function ql(t,e){return" ".indexOf(t.charAt(e))!==-1}var jl;(()=>{var t={470:r=>{function s(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function a(o,u){for(var c,d="",m=0,f=-1,w=0,p=0;p<=o.length;++p){if(p<o.length)c=o.charCodeAt(p);else{if(c===47)break;c=47}if(c===47){if(!(f===p-1||w===1))if(f!==p-1&&w===2){if(d.length<2||m!==2||d.charCodeAt(d.length-1)!==46||d.charCodeAt(d.length-2)!==46){if(d.length>2){var T=d.lastIndexOf("/");if(T!==d.length-1){T===-1?(d="",m=0):m=(d=d.slice(0,T)).length-1-d.lastIndexOf("/"),f=p,w=0;continue}}else if(d.length===2||d.length===1){d="",m=0,f=p,w=0;continue}}u&&(d.length>0?d+="/..":d="..",m=2)}else d.length>0?d+="/"+o.slice(f+1,p):d=o.slice(f+1,p),m=p-f-1;f=p,w=0}else c===46&&w!==-1?++w:w=-1}return d}var l={resolve:function(){for(var o,u="",c=!1,d=arguments.length-1;d>=-1&&!c;d--){var m;d>=0?m=arguments[d]:(o===void 0&&(o=process.cwd()),m=o),s(m),m.length!==0&&(u=m+"/"+u,c=m.charCodeAt(0)===47)}return u=a(u,!c),c?u.length>0?"/"+u:"/":u.length>0?u:"."},normalize:function(o){if(s(o),o.length===0)return".";var u=o.charCodeAt(0)===47,c=o.charCodeAt(o.length-1)===47;return(o=a(o,!u)).length!==0||u||(o="."),o.length>0&&c&&(o+="/"),u?"/"+o:o},isAbsolute:function(o){return s(o),o.length>0&&o.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var o,u=0;u<arguments.length;++u){var c=arguments[u];s(c),c.length>0&&(o===void 0?o=c:o+="/"+c)}return o===void 0?".":l.normalize(o)},relative:function(o,u){if(s(o),s(u),o===u||(o=l.resolve(o))===(u=l.resolve(u)))return"";for(var c=1;c<o.length&&o.charCodeAt(c)===47;++c);for(var d=o.length,m=d-c,f=1;f<u.length&&u.charCodeAt(f)===47;++f);for(var w=u.length-f,p=m<w?m:w,T=-1,x=0;x<=p;++x){if(x===p){if(w>p){if(u.charCodeAt(f+x)===47)return u.slice(f+x+1);if(x===0)return u.slice(f+x)}else m>p&&(o.charCodeAt(c+x)===47?T=x:x===0&&(T=0));break}var y=o.charCodeAt(c+x);if(y!==u.charCodeAt(f+x))break;y===47&&(T=x)}var L="";for(x=c+T+1;x<=d;++x)x!==d&&o.charCodeAt(x)!==47||(L.length===0?L+="..":L+="/..");return L.length>0?L+u.slice(f+T):(f+=T,u.charCodeAt(f)===47&&++f,u.slice(f))},_makeLong:function(o){return o},dirname:function(o){if(s(o),o.length===0)return".";for(var u=o.charCodeAt(0),c=u===47,d=-1,m=!0,f=o.length-1;f>=1;--f)if((u=o.charCodeAt(f))===47){if(!m){d=f;break}}else m=!1;return d===-1?c?"/":".":c&&d===1?"//":o.slice(0,d)},basename:function(o,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');s(o);var c,d=0,m=-1,f=!0;if(u!==void 0&&u.length>0&&u.length<=o.length){if(u.length===o.length&&u===o)return"";var w=u.length-1,p=-1;for(c=o.length-1;c>=0;--c){var T=o.charCodeAt(c);if(T===47){if(!f){d=c+1;break}}else p===-1&&(f=!1,p=c+1),w>=0&&(T===u.charCodeAt(w)?--w==-1&&(m=c):(w=-1,m=p))}return d===m?m=p:m===-1&&(m=o.length),o.slice(d,m)}for(c=o.length-1;c>=0;--c)if(o.charCodeAt(c)===47){if(!f){d=c+1;break}}else m===-1&&(f=!1,m=c+1);return m===-1?"":o.slice(d,m)},extname:function(o){s(o);for(var u=-1,c=0,d=-1,m=!0,f=0,w=o.length-1;w>=0;--w){var p=o.charCodeAt(w);if(p!==47)d===-1&&(m=!1,d=w+1),p===46?u===-1?u=w:f!==1&&(f=1):u!==-1&&(f=-1);else if(!m){c=w+1;break}}return u===-1||d===-1||f===0||f===1&&u===d-1&&u===c+1?"":o.slice(u,d)},format:function(o){if(o===null||typeof o!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof o);return(function(u,c){var d=c.dir||c.root,m=c.base||(c.name||"")+(c.ext||"");return d?d===c.root?d+m:d+"/"+m:m})(0,o)},parse:function(o){s(o);var u={root:"",dir:"",base:"",ext:"",name:""};if(o.length===0)return u;var c,d=o.charCodeAt(0),m=d===47;m?(u.root="/",c=1):c=0;for(var f=-1,w=0,p=-1,T=!0,x=o.length-1,y=0;x>=c;--x)if((d=o.charCodeAt(x))!==47)p===-1&&(T=!1,p=x+1),d===46?f===-1?f=x:y!==1&&(y=1):f!==-1&&(y=-1);else if(!T){w=x+1;break}return f===-1||p===-1||y===0||y===1&&f===p-1&&f===w+1?p!==-1&&(u.base=u.name=w===0&&m?o.slice(1,p):o.slice(w,p)):(w===0&&m?(u.name=o.slice(1,f),u.base=o.slice(1,p)):(u.name=o.slice(w,f),u.base=o.slice(w,p)),u.ext=o.slice(f,p)),w>0?u.dir=o.slice(0,w-1):m&&(u.dir="/"),u},sep:"/",delimiter:":",win32:null,posix:null};l.posix=l,r.exports=l}},e={};function n(r){var s=e[r];if(s!==void 0)return s.exports;var a=e[r]={exports:{}};return t[r](a,a.exports,n),a.exports}n.d=(r,s)=>{for(var a in s)n.o(s,a)&&!n.o(r,a)&&Object.defineProperty(r,a,{enumerable:!0,get:s[a]})},n.o=(r,s)=>Object.prototype.hasOwnProperty.call(r,s),n.r=r=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})};var i={};(()=>{let r;n.r(i),n.d(i,{URI:()=>m,Utils:()=>N}),typeof process=="object"?r=process.platform==="win32":typeof navigator=="object"&&(r=navigator.userAgent.indexOf("Windows")>=0);let s=/^\w[\w\d+.-]*$/,a=/^\//,l=/^\/\//;function o(k,_){if(!k.scheme&&_)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${k.authority}", path: "${k.path}", query: "${k.query}", fragment: "${k.fragment}"}`);if(k.scheme&&!s.test(k.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(k.path){if(k.authority){if(!a.test(k.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(l.test(k.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}let u="",c="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class m{static isUri(_){return _ instanceof m||!!_&&typeof _.authority=="string"&&typeof _.fragment=="string"&&typeof _.path=="string"&&typeof _.query=="string"&&typeof _.scheme=="string"&&typeof _.fsPath=="string"&&typeof _.with=="function"&&typeof _.toString=="function"}scheme;authority;path;query;fragment;constructor(_,A,D,S,R,M=!1){typeof _=="object"?(this.scheme=_.scheme||u,this.authority=_.authority||u,this.path=_.path||u,this.query=_.query||u,this.fragment=_.fragment||u):(this.scheme=(function(H,B){return H||B?H:"file"})(_,M),this.authority=A||u,this.path=(function(H,B){switch(H){case"https":case"http":case"file":B?B[0]!==c&&(B=c+B):B=c}return B})(this.scheme,D||u),this.query=S||u,this.fragment=R||u,o(this,M))}get fsPath(){return y(this)}with(_){if(!_)return this;let{scheme:A,authority:D,path:S,query:R,fragment:M}=_;return A===void 0?A=this.scheme:A===null&&(A=u),D===void 0?D=this.authority:D===null&&(D=u),S===void 0?S=this.path:S===null&&(S=u),R===void 0?R=this.query:R===null&&(R=u),M===void 0?M=this.fragment:M===null&&(M=u),A===this.scheme&&D===this.authority&&S===this.path&&R===this.query&&M===this.fragment?this:new w(A,D,S,R,M)}static parse(_,A=!1){let D=d.exec(_);return D?new w(D[2]||u,U(D[4]||u),U(D[5]||u),U(D[7]||u),U(D[9]||u),A):new w(u,u,u,u,u)}static file(_){let A=u;if(r&&(_=_.replace(/\\/g,c)),_[0]===c&&_[1]===c){let D=_.indexOf(c,2);D===-1?(A=_.substring(2),_=c):(A=_.substring(2,D),_=_.substring(D)||c)}return new w("file",A,_,u,u)}static from(_){let A=new w(_.scheme,_.authority,_.path,_.query,_.fragment);return o(A,!0),A}toString(_=!1){return L(this,_)}toJSON(){return this}static revive(_){if(_){if(_ instanceof m)return _;{let A=new w(_);return A._formatted=_.external,A._fsPath=_._sep===f?_.fsPath:null,A}}return _}}let f=r?1:void 0;class w extends m{_formatted=null;_fsPath=null;get fsPath(){return this._fsPath||(this._fsPath=y(this)),this._fsPath}toString(_=!1){return _?L(this,!0):(this._formatted||(this._formatted=L(this,!1)),this._formatted)}toJSON(){let _={$mid:1};return this._fsPath&&(_.fsPath=this._fsPath,_._sep=f),this._formatted&&(_.external=this._formatted),this.path&&(_.path=this.path),this.scheme&&(_.scheme=this.scheme),this.authority&&(_.authority=this.authority),this.query&&(_.query=this.query),this.fragment&&(_.fragment=this.fragment),_}}let p={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 T(k,_,A){let D,S=-1;for(let R=0;R<k.length;R++){let M=k.charCodeAt(R);if(M>=97&&M<=122||M>=65&&M<=90||M>=48&&M<=57||M===45||M===46||M===95||M===126||_&&M===47||A&&M===91||A&&M===93||A&&M===58)S!==-1&&(D+=encodeURIComponent(k.substring(S,R)),S=-1),D!==void 0&&(D+=k.charAt(R));else{D===void 0&&(D=k.substr(0,R));let H=p[M];H!==void 0?(S!==-1&&(D+=encodeURIComponent(k.substring(S,R)),S=-1),D+=H):S===-1&&(S=R)}}return S!==-1&&(D+=encodeURIComponent(k.substring(S))),D!==void 0?D:k}function x(k){let _;for(let A=0;A<k.length;A++){let D=k.charCodeAt(A);D===35||D===63?(_===void 0&&(_=k.substr(0,A)),_+=p[D]):_!==void 0&&(_+=k[A])}return _!==void 0?_:k}function y(k,_){let A;return A=k.authority&&k.path.length>1&&k.scheme==="file"?`//${k.authority}${k.path}`:k.path.charCodeAt(0)===47&&(k.path.charCodeAt(1)>=65&&k.path.charCodeAt(1)<=90||k.path.charCodeAt(1)>=97&&k.path.charCodeAt(1)<=122)&&k.path.charCodeAt(2)===58?k.path[1].toLowerCase()+k.path.substr(2):k.path,r&&(A=A.replace(/\//g,"\\")),A}function L(k,_){let A=_?x:T,D="",{scheme:S,authority:R,path:M,query:H,fragment:B}=k;if(S&&(D+=S,D+=":"),(R||S==="file")&&(D+=c,D+=c),R){let P=R.indexOf("@");if(P!==-1){let j=R.substr(0,P);R=R.substr(P+1),P=j.lastIndexOf(":"),P===-1?D+=A(j,!1,!1):(D+=A(j.substr(0,P),!1,!1),D+=":",D+=A(j.substr(P+1),!1,!0)),D+="@"}R=R.toLowerCase(),P=R.lastIndexOf(":"),P===-1?D+=A(R,!1,!0):(D+=A(R.substr(0,P),!1,!0),D+=R.substr(P))}if(M){if(M.length>=3&&M.charCodeAt(0)===47&&M.charCodeAt(2)===58){let P=M.charCodeAt(1);P>=65&&P<=90&&(M=`/${String.fromCharCode(P+32)}:${M.substr(3)}`)}else if(M.length>=2&&M.charCodeAt(1)===58){let P=M.charCodeAt(0);P>=65&&P<=90&&(M=`${String.fromCharCode(P+32)}:${M.substr(2)}`)}D+=A(M,!0,!1)}return H&&(D+="?",D+=A(H,!1,!1)),B&&(D+="#",D+=_?B:T(B,!1,!1)),D}function z(k){try{return decodeURIComponent(k)}catch{return k.length>3?k.substr(0,3)+z(k.substr(3)):k}}let F=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function U(k){return k.match(F)?k.replace(F,(_=>z(_))):k}var b=n(470);let g=b.posix||b,v="/";var N;(function(k){k.joinPath=function(_,...A){return _.with({path:g.join(_.path,...A)})},k.resolvePath=function(_,...A){let D=_.path,S=!1;D[0]!==v&&(D=v+D,S=!0);let R=g.resolve(D,...A);return S&&R[0]===v&&!_.authority&&(R=R.substring(1)),_.with({path:R})},k.dirname=function(_){if(_.path.length===0||_.path===v)return _;let A=g.dirname(_.path);return A.length===1&&A.charCodeAt(0)===46&&(A=""),_.with({path:A})},k.basename=function(_){return g.basename(_.path)},k.extname=function(_){return g.extname(_.path)}})(N||(N={}))})(),jl=i})();var{URI:Gl,Utils:jg}=jl;function as(t){let e=t[0],n=t[t.length-1];return e===n&&(e==="'"||e==='"')&&(t=t.substring(1,t.length-1)),t}function eh(t,e){return!t.length||e==="handlebars"&&/{{|}}/.test(t)?!1:/\b(w[\w\d+.-]*:\/\/)?[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|\/?))/.test(t)}function th(t,e,n,i){if(/^\s*javascript\:/i.test(e)||/[\n\r]/.test(e))return;e=e.replace(/^\s*/g,"");let r=e.match(/^(\w[\w\d+.-]*):/);if(r){let s=r[1].toLowerCase();return s==="http"||s==="https"||s==="file"?e:void 0}return/^\#/i.test(e)?t+e:/^\/\//i.test(e)?(Se(t,"https://")?"https":"http")+":"+e.replace(/^\s*/g,""):n?n.resolveReference(e,i||t):e}function nh(t,e,n,i,r,s){let a=as(n);if(!eh(a,t.languageId))return;a.length<n.length&&(i++,r--);let l=th(t.uri,a,e,s);if(!l)return;let o=rh(l,t);return{range:G.create(t.positionAt(i),t.positionAt(r)),target:o}}var ih=35;function rh(t,e){try{let n=Gl.parse(t);return n.scheme==="file"&&n.query&&(n=n.with({query:null}),t=n.toString(!0)),n.scheme==="file"&&n.fragment&&!(t.startsWith(e.uri)&&t.charCodeAt(e.uri.length)===ih)?n.with({fragment:null}).toString(!0):t}catch{return}}var bi=class{constructor(e){this.dataManager=e}findDocumentLinks(e,n){let i=[],r=ae(e.getText(),0),s=r.scan(),a,l,o=!1,u,c={};for(;s!==I.EOS;){switch(s){case I.StartTag:l=r.getTokenText().toLowerCase(),u||(o=l==="base");break;case I.AttributeName:a=r.getTokenText().toLowerCase();break;case I.AttributeValue:if(l&&a&&this.dataManager.isPathAttribute(l,a)){let d=r.getTokenText();if(!o){let m=nh(e,n,d,r.getTokenOffset(),r.getTokenEnd(),u);m&&i.push(m)}o&&typeof u>"u"&&(u=as(d),u&&n&&(u=n.resolveReference(u,e.uri))),o=!1,a=void 0}else if(a==="id"){let d=as(r.getTokenText());c[d]=r.getTokenOffset()}break}s=r.scan()}for(let d of i){let m=e.uri+"#";if(d.target&&Se(d.target,m)){let f=d.target.substring(m.length),w=c[f];if(w!==void 0){let p=e.positionAt(w);d.target=`${m}${p.line+1},${p.character+1}`}else d.target=e.uri}}return i}};function Jl(t,e,n){let i=t.offsetAt(e),r=n.findNodeAt(i);if(!r.tag)return[];let s=[],a=Ql(I.StartTag,t,r.start),l=typeof r.endTagStart=="number"&&Ql(I.EndTag,t,r.endTagStart);return(a&&Xl(a,e)||l&&Xl(l,e))&&(a&&s.push({kind:Rt.Read,range:a}),l&&s.push({kind:Rt.Read,range:l})),s}function $l(t,e){return t.line<e.line||t.line===e.line&&t.character<=e.character}function Xl(t,e){return $l(t.start,e)&&$l(e,t.end)}function Ql(t,e,n){let i=ae(e.getText(),n),r=i.scan();for(;r!==I.EOS&&r!==t;)r=i.scan();return r!==I.EOS?{start:e.positionAt(i.getTokenOffset()),end:e.positionAt(i.getTokenEnd())}:null}function Yl(t,e){let n=[],i=os(t,e);for(let s of i)r(s,void 0);return n;function r(s,a){let l=an.create(s.name,s.kind,s.range,t.uri,a?.name);if(l.containerName??(l.containerName=""),n.push(l),s.children)for(let o of s.children)r(o,s)}}function os(t,e){let n=[];return e.roots.forEach(i=>{Zl(t,i,n)}),n}function Zl(t,e,n){let i=sh(e),r=G.create(t.positionAt(e.start),t.positionAt(e.end)),s=on.create(i,void 0,sn.Field,r,r);n.push(s),e.children.forEach(a=>{s.children??(s.children=[]),Zl(t,a,s.children)})}function sh(t){let e=t.tag;if(t.attributes){let n=t.attributes.id,i=t.attributes.class;n&&(e+=`#${n.replace(/[\"\']/g,"")}`),i&&(e+=i.replace(/[\"\']/g,"").split(/\s+/).map(r=>`.${r}`).join(""))}return e||"?"}function Kl(t,e,n,i){let r=t.offsetAt(e),s=i.findNodeAt(r);if(!s.tag||!ah(s,r,s.tag))return null;let a=[],l={start:t.positionAt(s.start+1),end:t.positionAt(s.start+1+s.tag.length)};if(a.push({range:l,newText:n}),s.endTagStart){let u={start:t.positionAt(s.endTagStart+2),end:t.positionAt(s.endTagStart+2+s.tag.length)};a.push({range:u,newText:n})}return{changes:{[t.uri.toString()]:a}}}function ah(t,e,n){return t.endTagStart&&t.endTagStart+2<=e&&e<=t.endTagStart+2+n.length?!0:t.start+1<=e&&e<=t.start+1+n.length}function eu(t,e,n){let i=t.offsetAt(e),r=n.findNodeAt(i);if(!r.tag||!r.endTagStart)return null;if(r.start+1<=i&&i<=r.start+1+r.tag.length){let s=i-1-r.start+r.endTagStart+2;return t.positionAt(s)}if(r.endTagStart+2<=i&&i<=r.endTagStart+2+r.tag.length){let s=i-2-r.endTagStart+r.start+1;return t.positionAt(s)}return null}function ls(t,e,n){let i=t.offsetAt(e),r=n.findNodeAt(i),s=r.tag?r.tag.length:0;return r.endTagStart&&(r.start+1<=i&&i<=r.start+1+s||r.endTagStart+2<=i&&i<=r.endTagStart+2+s)?[G.create(t.positionAt(r.start+1),t.positionAt(r.start+1+s)),G.create(t.positionAt(r.endTagStart+2),t.positionAt(r.endTagStart+2+s))]:null}var wi=class{constructor(e){this.dataManager=e}limitRanges(e,n){e=e.sort((d,m)=>{let f=d.startLine-m.startLine;return f===0&&(f=d.endLine-m.endLine),f});let i,r=[],s=[],a=[],l=(d,m)=>{s[d]=m,m<30&&(a[m]=(a[m]||0)+1)};for(let d=0;d<e.length;d++){let m=e[d];if(!i)i=m,l(d,0);else if(m.startLine>i.startLine){if(m.endLine<=i.endLine)r.push(i),i=m,l(d,r.length);else if(m.startLine>i.endLine){do i=r.pop();while(i&&m.startLine>i.endLine);i&&r.push(i),i=m,l(d,r.length)}}}let o=0,u=0;for(let d=0;d<a.length;d++){let m=a[d];if(m){if(m+o>n){u=d;break}o+=m}}let c=[];for(let d=0;d<e.length;d++){let m=s[d];typeof m=="number"&&(m<u||m===u&&o++<n)&&c.push(e[d])}return c}getFoldingRanges(e,n){let i=this.dataManager.getVoidElements(e.languageId),r=ae(e.getText()),s=r.scan(),a=[],l=[],o=null,u=-1;function c(m){a.push(m),u=m.startLine}for(;s!==I.EOS;){switch(s){case I.StartTag:{let m=r.getTokenText(),f=e.positionAt(r.getTokenOffset()).line;l.push({startLine:f,tagName:m}),o=m;break}case I.EndTag:{o=r.getTokenText();break}case I.StartTagClose:if(!o||!this.dataManager.isVoidElement(o,i))break;case I.EndTagClose:case I.StartTagSelfClose:{let m=l.length-1;for(;m>=0&&l[m].tagName!==o;)m--;if(m>=0){let f=l[m];l.length=m;let w=e.positionAt(r.getTokenOffset()).line,p=f.startLine,T=w-1;T>p&&u!==p&&c({startLine:p,endLine:T})}break}case I.Comment:{let m=e.positionAt(r.getTokenOffset()).line,w=r.getTokenText().match(/^\s*#(region\b)|(endregion\b)/);if(w)if(w[1])l.push({startLine:m,tagName:""});else{let p=l.length-1;for(;p>=0&&l[p].tagName.length;)p--;if(p>=0){let T=l[p];l.length=p;let x=m;m=T.startLine,x>m&&u!==m&&c({startLine:m,endLine:x,kind:At.Region})}}else{let p=e.positionAt(r.getTokenOffset()+r.getTokenLength()).line;m<p&&c({startLine:m,endLine:p,kind:At.Comment})}break}}s=r.scan()}let d=n&&n.rangeLimit||Number.MAX_VALUE;return a.length>d?this.limitRanges(a,d):a}};var _i=class{constructor(e){this.htmlParser=e}getSelectionRanges(e,n){let i=this.htmlParser.parseDocument(e);return n.map(r=>this.getSelectionRange(r,e,i))}getSelectionRange(e,n,i){let r=this.getApplicableRanges(n,e,i),s,a;for(let l=r.length-1;l>=0;l--){let o=r[l];(!s||o[0]!==s[0]||o[1]!==s[1])&&(a=Dt.create(G.create(n.positionAt(r[l][0]),n.positionAt(r[l][1])),a)),s=o}return a||(a=Dt.create(G.create(e,e))),a}getApplicableRanges(e,n,i){let r=e.offsetAt(n),s=i.findNodeAt(r),a=this.getAllParentTagRanges(s);if(s.startTagEnd&&!s.endTagStart){if(s.startTagEnd!==s.end)return[[s.start,s.end]];let l=G.create(e.positionAt(s.startTagEnd-2),e.positionAt(s.startTagEnd));return e.getText(l)==="/>"?a.unshift([s.start+1,s.startTagEnd-2]):a.unshift([s.start+1,s.startTagEnd-1]),a=this.getAttributeLevelRanges(e,s,r).concat(a),a}return!s.startTagEnd||!s.endTagStart?a:(a.unshift([s.start,s.end]),s.start<r&&r<s.startTagEnd?(a.unshift([s.start+1,s.startTagEnd-1]),a=this.getAttributeLevelRanges(e,s,r).concat(a),a):s.startTagEnd<=r&&r<=s.endTagStart?(a.unshift([s.startTagEnd,s.endTagStart]),a):(r>=s.endTagStart+2&&a.unshift([s.endTagStart+2,s.end-1]),a))}getAllParentTagRanges(e){let n=e,i=[];for(;n.parent;)n=n.parent,this.getNodeRanges(n).forEach(r=>i.push(r));return i}getNodeRanges(e){return e.startTagEnd&&e.endTagStart&&e.startTagEnd<e.endTagStart?[[e.startTagEnd,e.endTagStart],[e.start,e.end]]:[[e.start,e.end]]}getAttributeLevelRanges(e,n,i){let r=G.create(e.positionAt(n.start),e.positionAt(n.end)),s=e.getText(r),a=i-n.start,l=ae(s),o=l.scan(),u=n.start,c=[],d=!1,m=-1;for(;o!==I.EOS;){switch(o){case I.AttributeName:{if(a<l.getTokenOffset()){d=!1;break}a<=l.getTokenEnd()&&c.unshift([l.getTokenOffset(),l.getTokenEnd()]),d=!0,m=l.getTokenOffset();break}case I.AttributeValue:{if(!d)break;let f=l.getTokenText();if(a<l.getTokenOffset()){c.push([m,l.getTokenEnd()]);break}a>=l.getTokenOffset()&&a<=l.getTokenEnd()&&(c.unshift([l.getTokenOffset(),l.getTokenEnd()]),(f[0]==='"'&&f[f.length-1]==='"'||f[0]==="'"&&f[f.length-1]==="'")&&a>=l.getTokenOffset()+1&&a<=l.getTokenEnd()-1&&c.unshift([l.getTokenOffset()+1,l.getTokenEnd()-1]),c.push([m,l.getTokenEnd()]));break}}o=l.scan()}return c.map(f=>[f[0]+u,f[1]+u])}};var tu={version:1.1,tags:[{name:"html",description:{kind:"markdown",value:"The html element represents the root of an HTML document."},attributes:[{name:"manifest",description:{kind:"markdown",value:"Specifies the URI of a resource manifest indicating resources that should be cached locally. See [Using the application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache) for details."}},{name:"version",description:'Specifies the version of the HTML [Document Type Definition](https://developer.mozilla.org/en-US/docs/Glossary/DTD "Document Type Definition: In HTML, the doctype is the required "<!DOCTYPE html>" preamble found at the top of all documents. Its sole purpose is to prevent a browser from switching into so-called \u201Cquirks mode\u201D when rendering a document; that is, the "<!DOCTYPE html>" doctype ensures that the browser makes a best-effort attempt at following the relevant specifications, rather than using a different rendering mode that is incompatible with some specifications.") that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.'},{name:"xmlns",description:'Specifies the XML Namespace of the document. Default value is `"http://www.w3.org/1999/xhtml"`. This is required in documents parsed with XML parsers, and optional in text/html documents.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/html"}]},{name:"head",description:{kind:"markdown",value:"The head element represents a collection of metadata for the Document."},attributes:[{name:"profile",description:"The URIs of one or more metadata profiles, separated by white space."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/head"}]},{name:"title",description:{kind:"markdown",value:"The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/title"}]},{name:"base",description:{kind:"markdown",value:"The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information."},void:!0,attributes:[{name:"href",description:{kind:"markdown",value:"The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed."}},{name:"target",valueSet:"target",description:{kind:"markdown",value:"A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the result into a new unnamed browsing context.\n* `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n\nIf this attribute is specified, this element must come before any other elements with attributes whose values are URLs."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/base"}]},{name:"link",description:{kind:"markdown",value:"The link element allows authors to link their document to other resources."},void:!0,attributes:[{name:"href",description:{kind:"markdown",value:'This attribute specifies the [URL](https://developer.mozilla.org/en-US/docs/Glossary/URL "URL: Uniform Resource Locator (URL) is a text string specifying where a resource can be found on the Internet.") of the linked resource. A URL can be absolute or relative.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") must be used when fetching the resource. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\n`anonymous`\n\nA cross-origin request (i.e. with an [`Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin "The Origin request header indicates where a fetch originates from. It doesn\'t include any path information, but only the server name. It is sent with CORS requests, as well as with POST requests. It is similar to the Referer header, but, unlike this header, it doesn\'t disclose the whole path.") HTTP header) is performed, but no credential is sent (i.e. no cookie, X.509 certificate, or HTTP Basic authentication). If the server does not give credentials to the origin site (by not setting the [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin "The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.") HTTP header) the image will be tainted and its usage restricted.\n\n`use-credentials`\n\nA cross-origin request (i.e. with an `Origin` HTTP header) is performed along with a credential sent (i.e. a cookie, certificate, and/or HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through [`Access-Control-Allow-Credentials`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials "The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request\'s credentials mode (Request.credentials) is "include".") HTTP header), the resource will be _tainted_ and its usage restricted.\n\nIf the attribute is not present, the resource is fetched without a [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") request (i.e. without sending the `Origin` HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for additional information.'}},{name:"rel",description:{kind:"markdown",value:"This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the [link types values](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"media",description:{kind:"markdown",value:"This attribute specifies the media that the linked resource applies to. Its value must be a media type / [media query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries). This attribute is mainly useful when linking to external stylesheets \u2014 it allows the user agent to pick the best adapted one for the device it runs on.\n\n**Notes:**\n\n* In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., [media types and groups](https://developer.mozilla.org/en-US/docs/Web/CSS/@media), where defined and allowed as values for this attribute, such as `print`, `screen`, `aural`, `braille`. HTML5 extended this to any kind of [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries), which are a superset of the allowed values of HTML 4.\n* Browsers not supporting [CSS3 Media Queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries) won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4."}},{name:"hreflang",description:{kind:"markdown",value:"This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt). Use this attribute only if the [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute is present."}},{name:"type",description:{kind:"markdown",value:'This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as **text/html**, **text/css**, and so on. The common use of this attribute is to define the type of stylesheet being referenced (such as **text/css**), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the `type` attribute, but is actually now recommended practice. It is also used on `rel="preload"` link types, to make sure the browser only downloads file types that it supports.'}},{name:"sizes",description:{kind:"markdown",value:"This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the [`rel`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel) contains a value of `icon` or a non-standard type such as Apple's `apple-touch-icon`. It may have the following values:\n\n* `any`, meaning that the icon can be scaled to any size as it is in a vector format, like `image/svg+xml`.\n* a white-space separated list of sizes, each in the format `_<width in pixels>_x_<height in pixels>_` or `_<width in pixels>_X_<height in pixels>_`. Each of these sizes must be contained in the resource.\n\n**Note:** Most icon formats are only able to store one single icon; therefore most of the time the [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-sizes) contains only one entry. MS's ICO format does, as well as Apple's ICNS. ICO is more ubiquitous; you should definitely use it."}},{name:"as",description:'This attribute is only used when `rel="preload"` or `rel="prefetch"` has been set on the `<link>` element. It specifies the type of content being loaded by the `<link>`, which is necessary for content prioritization, request matching, application of correct [content security policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), and setting of correct [`Accept`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept "The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Type response header. Browsers set adequate values for this header depending on\xA0the context where the request is done: when fetching a CSS stylesheet a different value is set for the request than when fetching an image,\xA0video or a script.") request header.'},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:'**`auto`**: Indicates\xA0**no\xA0preference**. The browser may use its own heuristics to decide the priority of the resource.\n\n**`high`**: Indicates to the\xA0browser\xA0that the resource is of\xA0**high** priority.\n\n**`low`**:\xA0Indicates to the\xA0browser\xA0that the resource is of\xA0**low** priority.\n\n**Note:** The `importance` attribute may only be used for the `<link>` element if `rel="preload"` or `rel="prefetch"` is present.'},{name:"integrity",description:"Contains inline metadata \u2014 a base64-encoded cryptographic hash of the resource (file) you\u2019re telling the browser to fetch. The browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"referrerpolicy",description:'A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer` means that the [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` means that no [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent\u2019s default behavior, if no policy is otherwise specified.\n* `origin` means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port.\n* `origin-when-cross-origin` means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer\'s path.\n* `unsafe-url` means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.'},{name:"title",description:'The `title` attribute has special semantics on the `<link>` element. When used on a `<link rel="stylesheet">` it defines a [preferred or an alternate stylesheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets). Incorrectly using it may [cause the stylesheet to be ignored](https://developer.mozilla.org/en-US/docs/Correctly_Using_Titles_With_External_Stylesheets).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/link"}]},{name:"meta",description:{kind:"markdown",value:"The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements."},void:!0,attributes:[{name:"name",description:{kind:"markdown",value:`This attribute defines the name of a piece of document-level metadata. It should not be set if one of the attributes [\`itemprop\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-itemprop), [\`http-equiv\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [\`charset\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) is also set.
|
|
73
|
+
`+u),e.start.character===0&&(o=u+o)}return[{range:e,newText:o}]}function Vh(t){return t.replace(/^\s+/,"")}function ve(t,e,n){if(t&&t.hasOwnProperty(e)){let i=t[e];if(i!==null)return i}return n}function Ds(t,e,n){let i=ve(t,e,null);return typeof i=="string"?i.length>0?i.split(",").map(r=>r.trim().toLowerCase()):[]:n}function jh(t,e){let n=ve(t,"templating",e);return n===!0?["auto"]:n===!1||n===e||Array.isArray(n)===!1?["none"]:n}function $h(t,e,n){let i=e,r=0,s=n.tabSize||4;for(;i<t.length;){let a=t.charAt(i);if(a===" ")r++;else if(a===" ")r+=s;else break;i++}return Math.floor(r/s)}function Ru(t,e){return`\r
|
|
74
|
+
`.indexOf(t.charAt(e))!==-1}function Du(t,e){return" ".indexOf(t.charAt(e))!==-1}var Nu;(()=>{var t={470:r=>{function s(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function a(o,u){for(var h,d="",m=0,f=-1,w=0,p=0;p<=o.length;++p){if(p<o.length)h=o.charCodeAt(p);else{if(h===47)break;h=47}if(h===47){if(!(f===p-1||w===1))if(f!==p-1&&w===2){if(d.length<2||m!==2||d.charCodeAt(d.length-1)!==46||d.charCodeAt(d.length-2)!==46){if(d.length>2){var x=d.lastIndexOf("/");if(x!==d.length-1){x===-1?(d="",m=0):m=(d=d.slice(0,x)).length-1-d.lastIndexOf("/"),f=p,w=0;continue}}else if(d.length===2||d.length===1){d="",m=0,f=p,w=0;continue}}u&&(d.length>0?d+="/..":d="..",m=2)}else d.length>0?d+="/"+o.slice(f+1,p):d=o.slice(f+1,p),m=p-f-1;f=p,w=0}else h===46&&w!==-1?++w:w=-1}return d}var l={resolve:function(){for(var o,u="",h=!1,d=arguments.length-1;d>=-1&&!h;d--){var m;d>=0?m=arguments[d]:(o===void 0&&(o=process.cwd()),m=o),s(m),m.length!==0&&(u=m+"/"+u,h=m.charCodeAt(0)===47)}return u=a(u,!h),h?u.length>0?"/"+u:"/":u.length>0?u:"."},normalize:function(o){if(s(o),o.length===0)return".";var u=o.charCodeAt(0)===47,h=o.charCodeAt(o.length-1)===47;return(o=a(o,!u)).length!==0||u||(o="."),o.length>0&&h&&(o+="/"),u?"/"+o:o},isAbsolute:function(o){return s(o),o.length>0&&o.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var o,u=0;u<arguments.length;++u){var h=arguments[u];s(h),h.length>0&&(o===void 0?o=h:o+="/"+h)}return o===void 0?".":l.normalize(o)},relative:function(o,u){if(s(o),s(u),o===u||(o=l.resolve(o))===(u=l.resolve(u)))return"";for(var h=1;h<o.length&&o.charCodeAt(h)===47;++h);for(var d=o.length,m=d-h,f=1;f<u.length&&u.charCodeAt(f)===47;++f);for(var w=u.length-f,p=m<w?m:w,x=-1,y=0;y<=p;++y){if(y===p){if(w>p){if(u.charCodeAt(f+y)===47)return u.slice(f+y+1);if(y===0)return u.slice(f+y)}else m>p&&(o.charCodeAt(h+y)===47?x=y:y===0&&(x=0));break}var v=o.charCodeAt(h+y);if(v!==u.charCodeAt(f+y))break;v===47&&(x=y)}var S="";for(y=h+x+1;y<=d;++y)y!==d&&o.charCodeAt(y)!==47||(S.length===0?S+="..":S+="/..");return S.length>0?S+u.slice(f+x):(f+=x,u.charCodeAt(f)===47&&++f,u.slice(f))},_makeLong:function(o){return o},dirname:function(o){if(s(o),o.length===0)return".";for(var u=o.charCodeAt(0),h=u===47,d=-1,m=!0,f=o.length-1;f>=1;--f)if((u=o.charCodeAt(f))===47){if(!m){d=f;break}}else m=!1;return d===-1?h?"/":".":h&&d===1?"//":o.slice(0,d)},basename:function(o,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');s(o);var h,d=0,m=-1,f=!0;if(u!==void 0&&u.length>0&&u.length<=o.length){if(u.length===o.length&&u===o)return"";var w=u.length-1,p=-1;for(h=o.length-1;h>=0;--h){var x=o.charCodeAt(h);if(x===47){if(!f){d=h+1;break}}else p===-1&&(f=!1,p=h+1),w>=0&&(x===u.charCodeAt(w)?--w==-1&&(m=h):(w=-1,m=p))}return d===m?m=p:m===-1&&(m=o.length),o.slice(d,m)}for(h=o.length-1;h>=0;--h)if(o.charCodeAt(h)===47){if(!f){d=h+1;break}}else m===-1&&(f=!1,m=h+1);return m===-1?"":o.slice(d,m)},extname:function(o){s(o);for(var u=-1,h=0,d=-1,m=!0,f=0,w=o.length-1;w>=0;--w){var p=o.charCodeAt(w);if(p!==47)d===-1&&(m=!1,d=w+1),p===46?u===-1?u=w:f!==1&&(f=1):u!==-1&&(f=-1);else if(!m){h=w+1;break}}return u===-1||d===-1||f===0||f===1&&u===d-1&&u===h+1?"":o.slice(u,d)},format:function(o){if(o===null||typeof o!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof o);return(function(u,h){var d=h.dir||h.root,m=h.base||(h.name||"")+(h.ext||"");return d?d===h.root?d+m:d+"/"+m:m})(0,o)},parse:function(o){s(o);var u={root:"",dir:"",base:"",ext:"",name:""};if(o.length===0)return u;var h,d=o.charCodeAt(0),m=d===47;m?(u.root="/",h=1):h=0;for(var f=-1,w=0,p=-1,x=!0,y=o.length-1,v=0;y>=h;--y)if((d=o.charCodeAt(y))!==47)p===-1&&(x=!1,p=y+1),d===46?f===-1?f=y:v!==1&&(v=1):f!==-1&&(v=-1);else if(!x){w=y+1;break}return f===-1||p===-1||v===0||v===1&&f===p-1&&f===w+1?p!==-1&&(u.base=u.name=w===0&&m?o.slice(1,p):o.slice(w,p)):(w===0&&m?(u.name=o.slice(1,f),u.base=o.slice(1,p)):(u.name=o.slice(w,f),u.base=o.slice(w,p)),u.ext=o.slice(f,p)),w>0?u.dir=o.slice(0,w-1):m&&(u.dir="/"),u},sep:"/",delimiter:":",win32:null,posix:null};l.posix=l,r.exports=l}},e={};function n(r){var s=e[r];if(s!==void 0)return s.exports;var a=e[r]={exports:{}};return t[r](a,a.exports,n),a.exports}n.d=(r,s)=>{for(var a in s)n.o(s,a)&&!n.o(r,a)&&Object.defineProperty(r,a,{enumerable:!0,get:s[a]})},n.o=(r,s)=>Object.prototype.hasOwnProperty.call(r,s),n.r=r=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})};var i={};(()=>{let r;n.r(i),n.d(i,{URI:()=>m,Utils:()=>N}),typeof process=="object"?r=process.platform==="win32":typeof navigator=="object"&&(r=navigator.userAgent.indexOf("Windows")>=0);let s=/^\w[\w\d+.-]*$/,a=/^\//,l=/^\/\//;function o(L,T){if(!L.scheme&&T)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${L.authority}", path: "${L.path}", query: "${L.query}", fragment: "${L.fragment}"}`);if(L.scheme&&!s.test(L.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(L.path){if(L.authority){if(!a.test(L.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(l.test(L.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}let u="",h="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class m{static isUri(T){return T instanceof m||!!T&&typeof T.authority=="string"&&typeof T.fragment=="string"&&typeof T.path=="string"&&typeof T.query=="string"&&typeof T.scheme=="string"&&typeof T.fsPath=="string"&&typeof T.with=="function"&&typeof T.toString=="function"}scheme;authority;path;query;fragment;constructor(T,R,A,k,E,M=!1){typeof T=="object"?(this.scheme=T.scheme||u,this.authority=T.authority||u,this.path=T.path||u,this.query=T.query||u,this.fragment=T.fragment||u):(this.scheme=(function(F,U){return F||U?F:"file"})(T,M),this.authority=R||u,this.path=(function(F,U){switch(F){case"https":case"http":case"file":U?U[0]!==h&&(U=h+U):U=h}return U})(this.scheme,A||u),this.query=k||u,this.fragment=E||u,o(this,M))}get fsPath(){return v(this)}with(T){if(!T)return this;let{scheme:R,authority:A,path:k,query:E,fragment:M}=T;return R===void 0?R=this.scheme:R===null&&(R=u),A===void 0?A=this.authority:A===null&&(A=u),k===void 0?k=this.path:k===null&&(k=u),E===void 0?E=this.query:E===null&&(E=u),M===void 0?M=this.fragment:M===null&&(M=u),R===this.scheme&&A===this.authority&&k===this.path&&E===this.query&&M===this.fragment?this:new w(R,A,k,E,M)}static parse(T,R=!1){let A=d.exec(T);return A?new w(A[2]||u,H(A[4]||u),H(A[5]||u),H(A[7]||u),H(A[9]||u),R):new w(u,u,u,u,u)}static file(T){let R=u;if(r&&(T=T.replace(/\\/g,h)),T[0]===h&&T[1]===h){let A=T.indexOf(h,2);A===-1?(R=T.substring(2),T=h):(R=T.substring(2,A),T=T.substring(A)||h)}return new w("file",R,T,u,u)}static from(T){let R=new w(T.scheme,T.authority,T.path,T.query,T.fragment);return o(R,!0),R}toString(T=!1){return S(this,T)}toJSON(){return this}static revive(T){if(T){if(T instanceof m)return T;{let R=new w(T);return R._formatted=T.external,R._fsPath=T._sep===f?T.fsPath:null,R}}return T}}let f=r?1:void 0;class w extends m{_formatted=null;_fsPath=null;get fsPath(){return this._fsPath||(this._fsPath=v(this)),this._fsPath}toString(T=!1){return T?S(this,!0):(this._formatted||(this._formatted=S(this,!1)),this._formatted)}toJSON(){let T={$mid:1};return this._fsPath&&(T.fsPath=this._fsPath,T._sep=f),this._formatted&&(T.external=this._formatted),this.path&&(T.path=this.path),this.scheme&&(T.scheme=this.scheme),this.authority&&(T.authority=this.authority),this.query&&(T.query=this.query),this.fragment&&(T.fragment=this.fragment),T}}let p={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 x(L,T,R){let A,k=-1;for(let E=0;E<L.length;E++){let M=L.charCodeAt(E);if(M>=97&&M<=122||M>=65&&M<=90||M>=48&&M<=57||M===45||M===46||M===95||M===126||T&&M===47||R&&M===91||R&&M===93||R&&M===58)k!==-1&&(A+=encodeURIComponent(L.substring(k,E)),k=-1),A!==void 0&&(A+=L.charAt(E));else{A===void 0&&(A=L.substr(0,E));let F=p[M];F!==void 0?(k!==-1&&(A+=encodeURIComponent(L.substring(k,E)),k=-1),A+=F):k===-1&&(k=E)}}return k!==-1&&(A+=encodeURIComponent(L.substring(k))),A!==void 0?A:L}function y(L){let T;for(let R=0;R<L.length;R++){let A=L.charCodeAt(R);A===35||A===63?(T===void 0&&(T=L.substr(0,R)),T+=p[A]):T!==void 0&&(T+=L[R])}return T!==void 0?T:L}function v(L,T){let R;return R=L.authority&&L.path.length>1&&L.scheme==="file"?`//${L.authority}${L.path}`:L.path.charCodeAt(0)===47&&(L.path.charCodeAt(1)>=65&&L.path.charCodeAt(1)<=90||L.path.charCodeAt(1)>=97&&L.path.charCodeAt(1)<=122)&&L.path.charCodeAt(2)===58?L.path[1].toLowerCase()+L.path.substr(2):L.path,r&&(R=R.replace(/\//g,"\\")),R}function S(L,T){let R=T?y:x,A="",{scheme:k,authority:E,path:M,query:F,fragment:U}=L;if(k&&(A+=k,A+=":"),(E||k==="file")&&(A+=h,A+=h),E){let W=E.indexOf("@");if(W!==-1){let B=E.substr(0,W);E=E.substr(W+1),W=B.lastIndexOf(":"),W===-1?A+=R(B,!1,!1):(A+=R(B.substr(0,W),!1,!1),A+=":",A+=R(B.substr(W+1),!1,!0)),A+="@"}E=E.toLowerCase(),W=E.lastIndexOf(":"),W===-1?A+=R(E,!1,!0):(A+=R(E.substr(0,W),!1,!0),A+=E.substr(W))}if(M){if(M.length>=3&&M.charCodeAt(0)===47&&M.charCodeAt(2)===58){let W=M.charCodeAt(1);W>=65&&W<=90&&(M=`/${String.fromCharCode(W+32)}:${M.substr(3)}`)}else if(M.length>=2&&M.charCodeAt(1)===58){let W=M.charCodeAt(0);W>=65&&W<=90&&(M=`${String.fromCharCode(W+32)}:${M.substr(2)}`)}A+=R(M,!0,!1)}return F&&(A+="?",A+=R(F,!1,!1)),U&&(A+="#",A+=T?U:x(U,!1,!1)),A}function P(L){try{return decodeURIComponent(L)}catch{return L.length>3?L.substr(0,3)+P(L.substr(3)):L}}let z=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function H(L){return L.match(z)?L.replace(z,(T=>P(T))):L}var b=n(470);let g=b.posix||b,_="/";var N;(function(L){L.joinPath=function(T,...R){return T.with({path:g.join(T.path,...R)})},L.resolvePath=function(T,...R){let A=T.path,k=!1;A[0]!==_&&(A=_+A,k=!0);let E=g.resolve(A,...R);return k&&E[0]===_&&!T.authority&&(E=E.substring(1)),T.with({path:E})},L.dirname=function(T){if(T.path.length===0||T.path===_)return T;let R=g.dirname(T.path);return R.length===1&&R.charCodeAt(0)===46&&(R=""),T.with({path:R})},L.basename=function(T){return g.basename(T.path)},L.extname=function(T){return g.extname(T.path)}})(N||(N={}))})(),Nu=i})();var{URI:Iu,Utils:d2}=Nu;function Ms(t){let e=t[0],n=t[t.length-1];return e===n&&(e==="'"||e==='"')&&(t=t.substring(1,t.length-1)),t}function Gh(t,e){return!t.length||e==="handlebars"&&/{{|}}/.test(t)?!1:/\b(w[\w\d+.-]*:\/\/)?[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|\/?))/.test(t)}function Xh(t,e,n,i){if(/^\s*javascript\:/i.test(e)||/[\n\r]/.test(e))return;e=e.replace(/^\s*/g,"");let r=e.match(/^(\w[\w\d+.-]*):/);if(r){let s=r[1].toLowerCase();return s==="http"||s==="https"||s==="file"?e:void 0}return/^\#/i.test(e)?t+e:/^\/\//i.test(e)?(Ce(t,"https://")?"https":"http")+":"+e.replace(/^\s*/g,""):n?n.resolveReference(e,i||t):e}function Jh(t,e,n,i,r,s){let a=Ms(n);if(!Gh(a,t.languageId))return;a.length<n.length&&(i++,r--);let l=Xh(t.uri,a,e,s);if(!l)return;let o=Yh(l,t);return{range:X.create(t.positionAt(i),t.positionAt(r)),target:o}}var Qh=35;function Yh(t,e){try{let n=Iu.parse(t);return n.scheme==="file"&&n.query&&(n=n.with({query:null}),t=n.toString(!0)),n.scheme==="file"&&n.fragment&&!(t.startsWith(e.uri)&&t.charCodeAt(e.uri.length)===Qh)?n.with({fragment:null}).toString(!0):t}catch{return}}var Pi=class{constructor(e){this.dataManager=e}findDocumentLinks(e,n){let i=[],r=oe(e.getText(),0),s=r.scan(),a,l,o=!1,u,h={};for(;s!==I.EOS;){switch(s){case I.StartTag:l=r.getTokenText().toLowerCase(),u||(o=l==="base");break;case I.AttributeName:a=r.getTokenText().toLowerCase();break;case I.AttributeValue:if(l&&a&&this.dataManager.isPathAttribute(l,a)){let d=r.getTokenText();if(!o){let m=Jh(e,n,d,r.getTokenOffset(),r.getTokenEnd(),u);m&&i.push(m)}o&&typeof u>"u"&&(u=Ms(d),u&&n&&(u=n.resolveReference(u,e.uri))),o=!1,a=void 0}else if(a==="id"){let d=Ms(r.getTokenText());h[d]=r.getTokenOffset()}break}s=r.scan()}for(let d of i){let m=e.uri+"#";if(d.target&&Ce(d.target,m)){let f=d.target.substring(m.length),w=h[f];if(w!==void 0){let p=e.positionAt(w);d.target=`${m}${p.line+1},${p.character+1}`}else d.target=e.uri}}return i}};function Uu(t,e,n){let i=t.offsetAt(e),r=n.findNodeAt(i);if(!r.tag)return[];let s=[],a=Fu(I.StartTag,t,r.start),l=typeof r.endTagStart=="number"&&Fu(I.EndTag,t,r.endTagStart);return(a&&zu(a,e)||l&&zu(l,e))&&(a&&s.push({kind:Ut.Read,range:a}),l&&s.push({kind:Ut.Read,range:l})),s}function Pu(t,e){return t.line<e.line||t.line===e.line&&t.character<=e.character}function zu(t,e){return Pu(t.start,e)&&Pu(e,t.end)}function Fu(t,e,n){let i=oe(e.getText(),n),r=i.scan();for(;r!==I.EOS&&r!==t;)r=i.scan();return r!==I.EOS?{start:e.positionAt(i.getTokenOffset()),end:e.positionAt(i.getTokenEnd())}:null}function Wu(t,e){let n=[],i=Ns(t,e);for(let s of i)r(s,void 0);return n;function r(s,a){let l=wn.create(s.name,s.kind,s.range,t.uri,a?.name);if(l.containerName??(l.containerName=""),n.push(l),s.children)for(let o of s.children)r(o,s)}}function Ns(t,e){let n=[];return e.roots.forEach(i=>{Hu(t,i,n)}),n}function Hu(t,e,n){let i=Zh(e),r=X.create(t.positionAt(e.start),t.positionAt(e.end)),s=_n.create(i,void 0,bn.Field,r,r);n.push(s),e.children.forEach(a=>{s.children??(s.children=[]),Hu(t,a,s.children)})}function Zh(t){let e=t.tag;if(t.attributes){let n=t.attributes.id,i=t.attributes.class;n&&(e+=`#${n.replace(/[\"\']/g,"")}`),i&&(e+=i.replace(/[\"\']/g,"").split(/\s+/).map(r=>`.${r}`).join(""))}return e||"?"}function Bu(t,e,n,i){let r=t.offsetAt(e),s=i.findNodeAt(r);if(!s.tag||!Kh(s,r,s.tag))return null;let a=[],l={start:t.positionAt(s.start+1),end:t.positionAt(s.start+1+s.tag.length)};if(a.push({range:l,newText:n}),s.endTagStart){let u={start:t.positionAt(s.endTagStart+2),end:t.positionAt(s.endTagStart+2+s.tag.length)};a.push({range:u,newText:n})}return{changes:{[t.uri.toString()]:a}}}function Kh(t,e,n){return t.endTagStart&&t.endTagStart+2<=e&&e<=t.endTagStart+2+n.length?!0:t.start+1<=e&&e<=t.start+1+n.length}function Ou(t,e,n){let i=t.offsetAt(e),r=n.findNodeAt(i);if(!r.tag||!r.endTagStart)return null;if(r.start+1<=i&&i<=r.start+1+r.tag.length){let s=i-1-r.start+r.endTagStart+2;return t.positionAt(s)}if(r.endTagStart+2<=i&&i<=r.endTagStart+2+r.tag.length){let s=i-2-r.endTagStart+r.start+1;return t.positionAt(s)}return null}function Is(t,e,n){let i=t.offsetAt(e),r=n.findNodeAt(i),s=r.tag?r.tag.length:0;return r.endTagStart&&(r.start+1<=i&&i<=r.start+1+s||r.endTagStart+2<=i&&i<=r.endTagStart+2+s)?[X.create(t.positionAt(r.start+1),t.positionAt(r.start+1+s)),X.create(t.positionAt(r.endTagStart+2),t.positionAt(r.endTagStart+2+s))]:null}var zi=class{constructor(e){this.dataManager=e}limitRanges(e,n){e=e.sort((d,m)=>{let f=d.startLine-m.startLine;return f===0&&(f=d.endLine-m.endLine),f});let i,r=[],s=[],a=[],l=(d,m)=>{s[d]=m,m<30&&(a[m]=(a[m]||0)+1)};for(let d=0;d<e.length;d++){let m=e[d];if(!i)i=m,l(d,0);else if(m.startLine>i.startLine){if(m.endLine<=i.endLine)r.push(i),i=m,l(d,r.length);else if(m.startLine>i.endLine){do i=r.pop();while(i&&m.startLine>i.endLine);i&&r.push(i),i=m,l(d,r.length)}}}let o=0,u=0;for(let d=0;d<a.length;d++){let m=a[d];if(m){if(m+o>n){u=d;break}o+=m}}let h=[];for(let d=0;d<e.length;d++){let m=s[d];typeof m=="number"&&(m<u||m===u&&o++<n)&&h.push(e[d])}return h}getFoldingRanges(e,n){let i=this.dataManager.getVoidElements(e.languageId),r=oe(e.getText()),s=r.scan(),a=[],l=[],o=null,u=-1;function h(m){a.push(m),u=m.startLine}for(;s!==I.EOS;){switch(s){case I.StartTag:{let m=r.getTokenText(),f=e.positionAt(r.getTokenOffset()).line;l.push({startLine:f,tagName:m}),o=m;break}case I.EndTag:{o=r.getTokenText();break}case I.StartTagClose:if(!o||!this.dataManager.isVoidElement(o,i))break;case I.EndTagClose:case I.StartTagSelfClose:{let m=l.length-1;for(;m>=0&&l[m].tagName!==o;)m--;if(m>=0){let f=l[m];l.length=m;let w=e.positionAt(r.getTokenOffset()).line,p=f.startLine,x=w-1;x>p&&u!==p&&h({startLine:p,endLine:x})}break}case I.Comment:{let m=e.positionAt(r.getTokenOffset()).line,w=r.getTokenText().match(/^\s*#(region\b)|(endregion\b)/);if(w)if(w[1])l.push({startLine:m,tagName:""});else{let p=l.length-1;for(;p>=0&&l[p].tagName.length;)p--;if(p>=0){let x=l[p];l.length=p;let y=m;m=x.startLine,y>m&&u!==m&&h({startLine:m,endLine:y,kind:Pt.Region})}}else{let p=e.positionAt(r.getTokenOffset()+r.getTokenLength()).line;m<p&&h({startLine:m,endLine:p,kind:Pt.Comment})}break}}s=r.scan()}let d=n&&n.rangeLimit||Number.MAX_VALUE;return a.length>d?this.limitRanges(a,d):a}};var Fi=class{constructor(e){this.htmlParser=e}getSelectionRanges(e,n){let i=this.htmlParser.parseDocument(e);return n.map(r=>this.getSelectionRange(r,e,i))}getSelectionRange(e,n,i){let r=this.getApplicableRanges(n,e,i),s,a;for(let l=r.length-1;l>=0;l--){let o=r[l];(!s||o[0]!==s[0]||o[1]!==s[1])&&(a=Wt.create(X.create(n.positionAt(r[l][0]),n.positionAt(r[l][1])),a)),s=o}return a||(a=Wt.create(X.create(e,e))),a}getApplicableRanges(e,n,i){let r=e.offsetAt(n),s=i.findNodeAt(r),a=this.getAllParentTagRanges(s);if(s.startTagEnd&&!s.endTagStart){if(s.startTagEnd!==s.end)return[[s.start,s.end]];let l=X.create(e.positionAt(s.startTagEnd-2),e.positionAt(s.startTagEnd));return e.getText(l)==="/>"?a.unshift([s.start+1,s.startTagEnd-2]):a.unshift([s.start+1,s.startTagEnd-1]),a=this.getAttributeLevelRanges(e,s,r).concat(a),a}return!s.startTagEnd||!s.endTagStart?a:(a.unshift([s.start,s.end]),s.start<r&&r<s.startTagEnd?(a.unshift([s.start+1,s.startTagEnd-1]),a=this.getAttributeLevelRanges(e,s,r).concat(a),a):s.startTagEnd<=r&&r<=s.endTagStart?(a.unshift([s.startTagEnd,s.endTagStart]),a):(r>=s.endTagStart+2&&a.unshift([s.endTagStart+2,s.end-1]),a))}getAllParentTagRanges(e){let n=e,i=[];for(;n.parent;)n=n.parent,this.getNodeRanges(n).forEach(r=>i.push(r));return i}getNodeRanges(e){return e.startTagEnd&&e.endTagStart&&e.startTagEnd<e.endTagStart?[[e.startTagEnd,e.endTagStart],[e.start,e.end]]:[[e.start,e.end]]}getAttributeLevelRanges(e,n,i){let r=X.create(e.positionAt(n.start),e.positionAt(n.end)),s=e.getText(r),a=i-n.start,l=oe(s),o=l.scan(),u=n.start,h=[],d=!1,m=-1;for(;o!==I.EOS;){switch(o){case I.AttributeName:{if(a<l.getTokenOffset()){d=!1;break}a<=l.getTokenEnd()&&h.unshift([l.getTokenOffset(),l.getTokenEnd()]),d=!0,m=l.getTokenOffset();break}case I.AttributeValue:{if(!d)break;let f=l.getTokenText();if(a<l.getTokenOffset()){h.push([m,l.getTokenEnd()]);break}a>=l.getTokenOffset()&&a<=l.getTokenEnd()&&(h.unshift([l.getTokenOffset(),l.getTokenEnd()]),(f[0]==='"'&&f[f.length-1]==='"'||f[0]==="'"&&f[f.length-1]==="'")&&a>=l.getTokenOffset()+1&&a<=l.getTokenEnd()-1&&h.unshift([l.getTokenOffset()+1,l.getTokenEnd()-1]),h.push([m,l.getTokenEnd()]));break}}o=l.scan()}return h.map(f=>[f[0]+u,f[1]+u])}};var qu={version:1.1,tags:[{name:"html",description:{kind:"markdown",value:"The html element represents the root of an HTML document."},attributes:[{name:"manifest",description:{kind:"markdown",value:"Specifies the URI of a resource manifest indicating resources that should be cached locally. See [Using the application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache) for details."}},{name:"version",description:'Specifies the version of the HTML [Document Type Definition](https://developer.mozilla.org/en-US/docs/Glossary/DTD "Document Type Definition: In HTML, the doctype is the required "<!DOCTYPE html>" preamble found at the top of all documents. Its sole purpose is to prevent a browser from switching into so-called \u201Cquirks mode\u201D when rendering a document; that is, the "<!DOCTYPE html>" doctype ensures that the browser makes a best-effort attempt at following the relevant specifications, rather than using a different rendering mode that is incompatible with some specifications.") that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.'},{name:"xmlns",description:'Specifies the XML Namespace of the document. Default value is `"http://www.w3.org/1999/xhtml"`. This is required in documents parsed with XML parsers, and optional in text/html documents.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/html"}]},{name:"head",description:{kind:"markdown",value:"The head element represents a collection of metadata for the Document."},attributes:[{name:"profile",description:"The URIs of one or more metadata profiles, separated by white space."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/head"}]},{name:"title",description:{kind:"markdown",value:"The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/title"}]},{name:"base",description:{kind:"markdown",value:"The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information."},void:!0,attributes:[{name:"href",description:{kind:"markdown",value:"The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed."}},{name:"target",valueSet:"target",description:{kind:"markdown",value:"A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the result into a new unnamed browsing context.\n* `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n\nIf this attribute is specified, this element must come before any other elements with attributes whose values are URLs."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/base"}]},{name:"link",description:{kind:"markdown",value:"The link element allows authors to link their document to other resources."},void:!0,attributes:[{name:"href",description:{kind:"markdown",value:'This attribute specifies the [URL](https://developer.mozilla.org/en-US/docs/Glossary/URL "URL: Uniform Resource Locator (URL) is a text string specifying where a resource can be found on the Internet.") of the linked resource. A URL can be absolute or relative.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") must be used when fetching the resource. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\n`anonymous`\n\nA cross-origin request (i.e. with an [`Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin "The Origin request header indicates where a fetch originates from. It doesn\'t include any path information, but only the server name. It is sent with CORS requests, as well as with POST requests. It is similar to the Referer header, but, unlike this header, it doesn\'t disclose the whole path.") HTTP header) is performed, but no credential is sent (i.e. no cookie, X.509 certificate, or HTTP Basic authentication). If the server does not give credentials to the origin site (by not setting the [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin "The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.") HTTP header) the image will be tainted and its usage restricted.\n\n`use-credentials`\n\nA cross-origin request (i.e. with an `Origin` HTTP header) is performed along with a credential sent (i.e. a cookie, certificate, and/or HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through [`Access-Control-Allow-Credentials`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials "The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request\'s credentials mode (Request.credentials) is "include".") HTTP header), the resource will be _tainted_ and its usage restricted.\n\nIf the attribute is not present, the resource is fetched without a [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") request (i.e. without sending the `Origin` HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for additional information.'}},{name:"rel",description:{kind:"markdown",value:"This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the [link types values](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"media",description:{kind:"markdown",value:"This attribute specifies the media that the linked resource applies to. Its value must be a media type / [media query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries). This attribute is mainly useful when linking to external stylesheets \u2014 it allows the user agent to pick the best adapted one for the device it runs on.\n\n**Notes:**\n\n* In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., [media types and groups](https://developer.mozilla.org/en-US/docs/Web/CSS/@media), where defined and allowed as values for this attribute, such as `print`, `screen`, `aural`, `braille`. HTML5 extended this to any kind of [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries), which are a superset of the allowed values of HTML 4.\n* Browsers not supporting [CSS3 Media Queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries) won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4."}},{name:"hreflang",description:{kind:"markdown",value:"This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt). Use this attribute only if the [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute is present."}},{name:"type",description:{kind:"markdown",value:'This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as **text/html**, **text/css**, and so on. The common use of this attribute is to define the type of stylesheet being referenced (such as **text/css**), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the `type` attribute, but is actually now recommended practice. It is also used on `rel="preload"` link types, to make sure the browser only downloads file types that it supports.'}},{name:"sizes",description:{kind:"markdown",value:"This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the [`rel`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel) contains a value of `icon` or a non-standard type such as Apple's `apple-touch-icon`. It may have the following values:\n\n* `any`, meaning that the icon can be scaled to any size as it is in a vector format, like `image/svg+xml`.\n* a white-space separated list of sizes, each in the format `_<width in pixels>_x_<height in pixels>_` or `_<width in pixels>_X_<height in pixels>_`. Each of these sizes must be contained in the resource.\n\n**Note:** Most icon formats are only able to store one single icon; therefore most of the time the [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-sizes) contains only one entry. MS's ICO format does, as well as Apple's ICNS. ICO is more ubiquitous; you should definitely use it."}},{name:"as",description:'This attribute is only used when `rel="preload"` or `rel="prefetch"` has been set on the `<link>` element. It specifies the type of content being loaded by the `<link>`, which is necessary for content prioritization, request matching, application of correct [content security policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), and setting of correct [`Accept`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept "The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Type response header. Browsers set adequate values for this header depending on\xA0the context where the request is done: when fetching a CSS stylesheet a different value is set for the request than when fetching an image,\xA0video or a script.") request header.'},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:'**`auto`**: Indicates\xA0**no\xA0preference**. The browser may use its own heuristics to decide the priority of the resource.\n\n**`high`**: Indicates to the\xA0browser\xA0that the resource is of\xA0**high** priority.\n\n**`low`**:\xA0Indicates to the\xA0browser\xA0that the resource is of\xA0**low** priority.\n\n**Note:** The `importance` attribute may only be used for the `<link>` element if `rel="preload"` or `rel="prefetch"` is present.'},{name:"integrity",description:"Contains inline metadata \u2014 a base64-encoded cryptographic hash of the resource (file) you\u2019re telling the browser to fetch. The browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"referrerpolicy",description:'A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer` means that the [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` means that no [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent\u2019s default behavior, if no policy is otherwise specified.\n* `origin` means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port.\n* `origin-when-cross-origin` means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer\'s path.\n* `unsafe-url` means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.'},{name:"title",description:'The `title` attribute has special semantics on the `<link>` element. When used on a `<link rel="stylesheet">` it defines a [preferred or an alternate stylesheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets). Incorrectly using it may [cause the stylesheet to be ignored](https://developer.mozilla.org/en-US/docs/Correctly_Using_Titles_With_External_Stylesheets).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/link"}]},{name:"meta",description:{kind:"markdown",value:"The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements."},void:!0,attributes:[{name:"name",description:{kind:"markdown",value:`This attribute defines the name of a piece of document-level metadata. It should not be set if one of the attributes [\`itemprop\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-itemprop), [\`http-equiv\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [\`charset\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) is also set.
|
|
71
75
|
|
|
72
76
|
This metadata name is associated with the value contained by the [\`content\`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute. The possible values for the name attribute are:
|
|
73
77
|
|
|
@@ -467,4 +471,4 @@ See [Browser compatibility](#Browser_compatibility) for notes on browser support
|
|
|
467
471
|
|
|
468
472
|
* a _negative value_ means that the element should be focusable, but should not be reachable via sequential keyboard navigation;
|
|
469
473
|
* \`0\` means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention;
|
|
470
|
-
* a _positive value_ means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the [**tabindex**](#attr-tabindex). If several elements share the same tabindex, their relative order follows their relative positions in the document.`},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/tabindex"}]},{name:"title",description:{kind:"markdown",value:"Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/title"}]},{name:"translate",description:{kind:"markdown",value:"An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](https://developer.mozilla.org/docs/Web/API/Text \"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\n\n* empty string and `yes`, which indicates that the element will be translated.\n* `no`, which indicates that the element will not be translated."},valueSet:"y",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/translate"}]},{name:"onabort",description:{kind:"markdown",value:"The loading of a resource has been aborted."}},{name:"onblur",description:{kind:"markdown",value:"An element has lost focus (does not bubble)."}},{name:"oncanplay",description:{kind:"markdown",value:"The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content."}},{name:"oncanplaythrough",description:{kind:"markdown",value:"The user agent can play the media up to its end without having to stop for further buffering of content."}},{name:"onchange",description:{kind:"markdown",value:"The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user."}},{name:"onclick",description:{kind:"markdown",value:"A pointing device button has been pressed and released on an element."}},{name:"oncontextmenu",description:{kind:"markdown",value:"The right button of the mouse is clicked (before the context menu is displayed)."}},{name:"ondblclick",description:{kind:"markdown",value:"A pointing device button is clicked twice on an element."}},{name:"ondrag",description:{kind:"markdown",value:"An element or text selection is being dragged (every 350ms)."}},{name:"ondragend",description:{kind:"markdown",value:"A drag operation is being ended (by releasing a mouse button or hitting the escape key)."}},{name:"ondragenter",description:{kind:"markdown",value:"A dragged element or text selection enters a valid drop target."}},{name:"ondragleave",description:{kind:"markdown",value:"A dragged element or text selection leaves a valid drop target."}},{name:"ondragover",description:{kind:"markdown",value:"An element or text selection is being dragged over a valid drop target (every 350ms)."}},{name:"ondragstart",description:{kind:"markdown",value:"The user starts dragging an element or text selection."}},{name:"ondrop",description:{kind:"markdown",value:"An element is dropped on a valid drop target."}},{name:"ondurationchange",description:{kind:"markdown",value:"The duration attribute has been updated."}},{name:"onemptied",description:{kind:"markdown",value:"The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it."}},{name:"onended",description:{kind:"markdown",value:"Playback has stopped because the end of the media was reached."}},{name:"onerror",description:{kind:"markdown",value:"A resource failed to load."}},{name:"onfocus",description:{kind:"markdown",value:"An element has received focus (does not bubble)."}},{name:"onformchange"},{name:"onforminput"},{name:"oninput",description:{kind:"markdown",value:"The value of an element changes or the content of an element with the attribute contenteditable is modified."}},{name:"oninvalid",description:{kind:"markdown",value:"A submittable element has been checked and doesn't satisfy its constraints."}},{name:"onkeydown",description:{kind:"markdown",value:"A key is pressed down."}},{name:"onkeypress",description:{kind:"markdown",value:"A key is pressed down and that key normally produces a character value (use input instead)."}},{name:"onkeyup",description:{kind:"markdown",value:"A key is released."}},{name:"onload",description:{kind:"markdown",value:"A resource and its dependent resources have finished loading."}},{name:"onloadeddata",description:{kind:"markdown",value:"The first frame of the media has finished loading."}},{name:"onloadedmetadata",description:{kind:"markdown",value:"The metadata has been loaded."}},{name:"onloadstart",description:{kind:"markdown",value:"Progress has begun."}},{name:"onmousedown",description:{kind:"markdown",value:"A pointing device button (usually a mouse) is pressed on an element."}},{name:"onmousemove",description:{kind:"markdown",value:"A pointing device is moved over an element."}},{name:"onmouseout",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached or off one of its children."}},{name:"onmouseover",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached or onto one of its children."}},{name:"onmouseup",description:{kind:"markdown",value:"A pointing device button is released over an element."}},{name:"onmousewheel"},{name:"onmouseenter",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached."}},{name:"onmouseleave",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached."}},{name:"onpause",description:{kind:"markdown",value:"Playback has been paused."}},{name:"onplay",description:{kind:"markdown",value:"Playback has begun."}},{name:"onplaying",description:{kind:"markdown",value:"Playback is ready to start after having been paused or delayed due to lack of data."}},{name:"onprogress",description:{kind:"markdown",value:"In progress."}},{name:"onratechange",description:{kind:"markdown",value:"The playback rate has changed."}},{name:"onreset",description:{kind:"markdown",value:"A form is reset."}},{name:"onresize",description:{kind:"markdown",value:"The document view has been resized."}},{name:"onreadystatechange",description:{kind:"markdown",value:"The readyState attribute of a document has changed."}},{name:"onscroll",description:{kind:"markdown",value:"The document view or an element has been scrolled."}},{name:"onseeked",description:{kind:"markdown",value:"A seek operation completed."}},{name:"onseeking",description:{kind:"markdown",value:"A seek operation began."}},{name:"onselect",description:{kind:"markdown",value:"Some text is being selected."}},{name:"onshow",description:{kind:"markdown",value:"A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute"}},{name:"onstalled",description:{kind:"markdown",value:"The user agent is trying to fetch media data, but data is unexpectedly not forthcoming."}},{name:"onsubmit",description:{kind:"markdown",value:"A form is submitted."}},{name:"onsuspend",description:{kind:"markdown",value:"Media data loading has been suspended."}},{name:"ontimeupdate",description:{kind:"markdown",value:"The time indicated by the currentTime attribute has been updated."}},{name:"onvolumechange",description:{kind:"markdown",value:"The volume has changed."}},{name:"onwaiting",description:{kind:"markdown",value:"Playback has stopped because of a temporary lack of data."}},{name:"onpointercancel",description:{kind:"markdown",value:"The pointer is unlikely to produce any more events."}},{name:"onpointerdown",description:{kind:"markdown",value:"The pointer enters the active buttons state."}},{name:"onpointerenter",description:{kind:"markdown",value:"Pointing device is moved inside the hit-testing boundary."}},{name:"onpointerleave",description:{kind:"markdown",value:"Pointing device is moved out of the hit-testing boundary."}},{name:"onpointerlockchange",description:{kind:"markdown",value:"The pointer was locked or released."}},{name:"onpointerlockerror",description:{kind:"markdown",value:"It was impossible to lock the pointer for technical reasons or because the permission was denied."}},{name:"onpointermove",description:{kind:"markdown",value:"The pointer changed coordinates."}},{name:"onpointerout",description:{kind:"markdown",value:"The pointing device moved out of hit-testing boundary or leaves detectable hover range."}},{name:"onpointerover",description:{kind:"markdown",value:"The pointing device is moved into the hit-testing boundary."}},{name:"onpointerup",description:{kind:"markdown",value:"The pointer leaves the active buttons state."}},{name:"aria-activedescendant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant"}],description:{kind:"markdown",value:"Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application)."}},{name:"aria-atomic",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-atomic"}],description:{kind:"markdown",value:"Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute."}},{name:"aria-autocomplete",valueSet:"autocomplete",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete"}],description:{kind:"markdown",value:"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made."}},{name:"aria-busy",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-busy"}],description:{kind:"markdown",value:"Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user."}},{name:"aria-checked",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-checked"}],description:{kind:"markdown",value:'Indicates the current "checked" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-colcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colcount"}],description:{kind:"markdown",value:"Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex)."}},{name:"aria-colindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-colspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colspan"}],description:{kind:"markdown",value:"Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-controls",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-controls"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns)."}},{name:"aria-current",valueSet:"current",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-current"}],description:{kind:"markdown",value:"Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements."}},{name:"aria-describedby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-disabled",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-disabled"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly)."}},{name:"aria-dropeffect",valueSet:"dropeffect",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect"}],description:{kind:"markdown",value:"\\[Deprecated in ARIA 1.1\\] Indicates what functions can be performed when a dragged object is released on the drop target."}},{name:"aria-errormessage",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-expanded",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-expanded"}],description:{kind:"markdown",value:"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed."}},{name:"aria-flowto",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-flowto"}],description:{kind:"markdown",value:"Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order."}},{name:"aria-grabbed",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed"}],description:{kind:"markdown",value:`\\[Deprecated in ARIA 1.1\\] Indicates an element's "grabbed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.`}},{name:"aria-haspopup",valueSet:"haspopup",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup"}],description:{kind:"markdown",value:"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-hidden",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-hidden"}],description:{kind:"markdown",value:"Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-invalid",valueSet:"invalid",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-invalid"}],description:{kind:"markdown",value:"Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)."}},{name:"aria-label",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-label"}],description:{kind:"markdown",value:"Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-labelledby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-level",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-level"}],description:{kind:"markdown",value:"Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure."}},{name:"aria-live",valueSet:"live",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-live"}],description:{kind:"markdown",value:"Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region)."}},{name:"aria-modal",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-modal"}],description:{kind:"markdown",value:"Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed."}},{name:"aria-multiline",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiline"}],description:{kind:"markdown",value:"Indicates whether a text box accepts multiple lines of input or only a single line."}},{name:"aria-multiselectable",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable"}],description:{kind:"markdown",value:"Indicates that the user may select more than one item from the current selectable descendants."}},{name:"aria-orientation",valueSet:"orientation",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-orientation"}],description:{kind:"markdown",value:"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous."}},{name:"aria-owns",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-owns"}],description:{kind:"markdown",value:"Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls)."}},{name:"aria-placeholder",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder"}],description:{kind:"markdown",value:"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format."}},{name:"aria-posinset",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-posinset"}],description:{kind:"markdown",value:"Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize)."}},{name:"aria-pressed",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-pressed"}],description:{kind:"markdown",value:'Indicates the current "pressed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-readonly",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-readonly"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-relevant",valueSet:"relevant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-relevant"}],description:{kind:"markdown",value:"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic)."}},{name:"aria-required",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-required"}],description:{kind:"markdown",value:"Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted."}},{name:"aria-roledescription",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription"}],description:{kind:"markdown",value:"Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-rowcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount"}],description:{kind:"markdown",value:"Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex)."}},{name:"aria-rowindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-rowspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan"}],description:{kind:"markdown",value:"Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-selected",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-selected"}],description:{kind:"markdown",value:'Indicates the current "selected" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).'}},{name:"aria-setsize",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-setsize"}],description:{kind:"markdown",value:"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset)."}},{name:"aria-sort",valueSet:"sort",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-sort"}],description:{kind:"markdown",value:"Indicates if items in a table or grid are sorted in ascending or descending order."}},{name:"aria-valuemax",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax"}],description:{kind:"markdown",value:"Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuemin",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin"}],description:{kind:"markdown",value:"Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuenow",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow"}],description:{kind:"markdown",value:"Defines the current value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-valuetext`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext)."}},{name:"aria-valuetext",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext"}],description:{kind:"markdown",value:"Defines the human readable text alternative of [`aria-valuenow`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow) for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-details",description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-keyshortcuts",description:{kind:"markdown",value:"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element."}}],valueSets:[{name:"b",values:[{name:"true"},{name:"false"}]},{name:"u",values:[{name:"true"},{name:"false"},{name:"undefined"}]},{name:"o",values:[{name:"on"},{name:"off"}]},{name:"y",values:[{name:"yes"},{name:"no"}]},{name:"w",values:[{name:"soft"},{name:"hard"}]},{name:"d",values:[{name:"ltr"},{name:"rtl"},{name:"auto"}]},{name:"m",values:[{name:"get",description:{kind:"markdown",value:"Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters."}},{name:"post",description:{kind:"markdown",value:"Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5); form data are included in the body of the form and sent to the server."}},{name:"dialog",description:{kind:"markdown",value:"Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element to close the dialog when submitted."}}]},{name:"fm",values:[{name:"get"},{name:"post"}]},{name:"s",values:[{name:"row"},{name:"col"},{name:"rowgroup"},{name:"colgroup"}]},{name:"t",values:[{name:"hidden"},{name:"text"},{name:"search"},{name:"tel"},{name:"url"},{name:"email"},{name:"password"},{name:"datetime"},{name:"date"},{name:"month"},{name:"week"},{name:"time"},{name:"datetime-local"},{name:"number"},{name:"range"},{name:"color"},{name:"checkbox"},{name:"radio"},{name:"file"},{name:"submit"},{name:"image"},{name:"reset"},{name:"button"}]},{name:"im",values:[{name:"verbatim"},{name:"latin"},{name:"latin-name"},{name:"latin-prose"},{name:"full-width-latin"},{name:"kana"},{name:"kana-name"},{name:"katakana"},{name:"numeric"},{name:"tel"},{name:"email"},{name:"url"}]},{name:"bt",values:[{name:"button"},{name:"submit"},{name:"reset"},{name:"menu"}]},{name:"lt",values:[{name:"1"},{name:"a"},{name:"A"},{name:"i"},{name:"I"}]},{name:"mt",values:[{name:"context"},{name:"toolbar"}]},{name:"mit",values:[{name:"command"},{name:"checkbox"},{name:"radio"}]},{name:"et",values:[{name:"application/x-www-form-urlencoded"},{name:"multipart/form-data"},{name:"text/plain"}]},{name:"tk",values:[{name:"subtitles"},{name:"captions"},{name:"descriptions"},{name:"chapters"},{name:"metadata"}]},{name:"pl",values:[{name:"none"},{name:"metadata"},{name:"auto"}]},{name:"sh",values:[{name:"circle"},{name:"default"},{name:"poly"},{name:"rect"}]},{name:"xo",values:[{name:"anonymous"},{name:"use-credentials"}]},{name:"target",values:[{name:"_self"},{name:"_blank"},{name:"_parent"},{name:"_top"}]},{name:"sb",values:[{name:"allow-forms"},{name:"allow-modals"},{name:"allow-pointer-lock"},{name:"allow-popups"},{name:"allow-popups-to-escape-sandbox"},{name:"allow-same-origin"},{name:"allow-scripts"},{name:"allow-top-navigation"}]},{name:"tristate",values:[{name:"true"},{name:"false"},{name:"mixed"},{name:"undefined"}]},{name:"inputautocomplete",values:[{name:"additional-name"},{name:"address-level1"},{name:"address-level2"},{name:"address-level3"},{name:"address-level4"},{name:"address-line1"},{name:"address-line2"},{name:"address-line3"},{name:"bday"},{name:"bday-year"},{name:"bday-day"},{name:"bday-month"},{name:"billing"},{name:"cc-additional-name"},{name:"cc-csc"},{name:"cc-exp"},{name:"cc-exp-month"},{name:"cc-exp-year"},{name:"cc-family-name"},{name:"cc-given-name"},{name:"cc-name"},{name:"cc-number"},{name:"cc-type"},{name:"country"},{name:"country-name"},{name:"current-password"},{name:"email"},{name:"family-name"},{name:"fax"},{name:"given-name"},{name:"home"},{name:"honorific-prefix"},{name:"honorific-suffix"},{name:"impp"},{name:"language"},{name:"mobile"},{name:"name"},{name:"new-password"},{name:"nickname"},{name:"off"},{name:"on"},{name:"organization"},{name:"organization-title"},{name:"pager"},{name:"photo"},{name:"postal-code"},{name:"sex"},{name:"shipping"},{name:"street-address"},{name:"tel-area-code"},{name:"tel"},{name:"tel-country-code"},{name:"tel-extension"},{name:"tel-local"},{name:"tel-local-prefix"},{name:"tel-local-suffix"},{name:"tel-national"},{name:"transaction-amount"},{name:"transaction-currency"},{name:"url"},{name:"username"},{name:"work"}]},{name:"autocomplete",values:[{name:"inline"},{name:"list"},{name:"both"},{name:"none"}]},{name:"current",values:[{name:"page"},{name:"step"},{name:"location"},{name:"date"},{name:"time"},{name:"true"},{name:"false"}]},{name:"dropeffect",values:[{name:"copy"},{name:"move"},{name:"link"},{name:"execute"},{name:"popup"},{name:"none"}]},{name:"invalid",values:[{name:"grammar"},{name:"false"},{name:"spelling"},{name:"true"}]},{name:"live",values:[{name:"off"},{name:"polite"},{name:"assertive"}]},{name:"orientation",values:[{name:"vertical"},{name:"horizontal"},{name:"undefined"}]},{name:"relevant",values:[{name:"additions"},{name:"removals"},{name:"text"},{name:"all"},{name:"additions text"}]},{name:"sort",values:[{name:"ascending"},{name:"descending"},{name:"none"},{name:"other"}]},{name:"roles",values:[{name:"alert"},{name:"alertdialog"},{name:"button"},{name:"checkbox"},{name:"dialog"},{name:"gridcell"},{name:"link"},{name:"log"},{name:"marquee"},{name:"menuitem"},{name:"menuitemcheckbox"},{name:"menuitemradio"},{name:"option"},{name:"progressbar"},{name:"radio"},{name:"scrollbar"},{name:"searchbox"},{name:"slider"},{name:"spinbutton"},{name:"status"},{name:"switch"},{name:"tab"},{name:"tabpanel"},{name:"textbox"},{name:"timer"},{name:"tooltip"},{name:"treeitem"},{name:"combobox"},{name:"grid"},{name:"listbox"},{name:"menu"},{name:"menubar"},{name:"radiogroup"},{name:"tablist"},{name:"tree"},{name:"treegrid"},{name:"application"},{name:"article"},{name:"cell"},{name:"columnheader"},{name:"definition"},{name:"directory"},{name:"document"},{name:"feed"},{name:"figure"},{name:"group"},{name:"heading"},{name:"img"},{name:"list"},{name:"listitem"},{name:"math"},{name:"none"},{name:"note"},{name:"presentation"},{name:"region"},{name:"row"},{name:"rowgroup"},{name:"rowheader"},{name:"separator"},{name:"table"},{name:"term"},{name:"text"},{name:"toolbar"},{name:"banner"},{name:"complementary"},{name:"contentinfo"},{name:"form"},{name:"main"},{name:"navigation"},{name:"region"},{name:"search"},{name:"doc-abstract"},{name:"doc-acknowledgments"},{name:"doc-afterword"},{name:"doc-appendix"},{name:"doc-backlink"},{name:"doc-biblioentry"},{name:"doc-bibliography"},{name:"doc-biblioref"},{name:"doc-chapter"},{name:"doc-colophon"},{name:"doc-conclusion"},{name:"doc-cover"},{name:"doc-credit"},{name:"doc-credits"},{name:"doc-dedication"},{name:"doc-endnote"},{name:"doc-endnotes"},{name:"doc-epigraph"},{name:"doc-epilogue"},{name:"doc-errata"},{name:"doc-example"},{name:"doc-footnote"},{name:"doc-foreword"},{name:"doc-glossary"},{name:"doc-glossref"},{name:"doc-index"},{name:"doc-introduction"},{name:"doc-noteref"},{name:"doc-notice"},{name:"doc-pagebreak"},{name:"doc-pagelist"},{name:"doc-part"},{name:"doc-preface"},{name:"doc-prologue"},{name:"doc-pullquote"},{name:"doc-qna"},{name:"doc-subtitle"},{name:"doc-tip"},{name:"doc-toc"}]},{name:"metanames",values:[{name:"application-name"},{name:"author"},{name:"description"},{name:"format-detection"},{name:"generator"},{name:"keywords"},{name:"publisher"},{name:"referrer"},{name:"robots"},{name:"theme-color"},{name:"viewport"}]},{name:"haspopup",values:[{name:"false",description:{kind:"markdown",value:"(default) Indicates the element does not have a popup."}},{name:"true",description:{kind:"markdown",value:"Indicates the popup is a menu."}},{name:"menu",description:{kind:"markdown",value:"Indicates the popup is a menu."}},{name:"listbox",description:{kind:"markdown",value:"Indicates the popup is a listbox."}},{name:"tree",description:{kind:"markdown",value:"Indicates the popup is a tree."}},{name:"grid",description:{kind:"markdown",value:"Indicates the popup is a grid."}},{name:"dialog",description:{kind:"markdown",value:"Indicates the popup is a dialog."}}]},{name:"decoding",values:[{name:"sync"},{name:"async"},{name:"auto"}]},{name:"loading",values:[{name:"eager",description:{kind:"markdown",value:"Loads the image immediately, regardless of whether or not the image is currently within the visible viewport (this is the default value)."}},{name:"lazy",description:{kind:"markdown",value:"Defers loading the image until it reaches a calculated distance from the viewport, as defined by the browser. The intent is to avoid the network and storage bandwidth needed to handle the image until it's reasonably certain that it will be needed. This generally improves the performance of the content in most typical use cases."}}]},{name:"referrerpolicy",values:[{name:"no-referrer"},{name:"no-referrer-when-downgrade"},{name:"origin"},{name:"origin-when-cross-origin"},{name:"same-origin"},{name:"strict-origin"},{name:"strict-origin-when-cross-origin"},{name:"unsafe-url"}]}]};var vi=class{constructor(e){this.dataProviders=[],this.setDataProviders(e.useDefaultDataProvider!==!1,e.customDataProviders||[])}setDataProviders(e,n){this.dataProviders=[],e&&this.dataProviders.push(new It("html5",tu)),this.dataProviders.push(...n)}getDataProviders(){return this.dataProviders}isVoidElement(e,n){return!!e&&Nl(n,e.toLowerCase(),(i,r)=>i.localeCompare(r))>=0}getVoidElements(e){let n=Array.isArray(e)?e:this.getDataProviders().filter(r=>r.isApplicable(e)),i=[];return n.forEach(r=>{r.provideTags().filter(s=>s.void).forEach(s=>i.push(s.name))}),i.sort()}isPathAttribute(e,n){if(n==="src"||n==="href")return!0;let i=oh[e];return i?typeof i=="string"?i===n:i.indexOf(n)!==-1:!1}},oh={a:"href",area:"href",body:"background",blockquote:"cite",del:"cite",form:"action",frame:["src","longdesc"],img:["src","longdesc"],ins:"cite",link:"href",object:"data",q:"cite",script:"src",audio:"src",button:"formaction",command:"icon",embed:"src",html:"manifest",input:["src","formaction"],source:"src",track:"src",video:["src","poster"]};var lh={};function nu(t=lh){let e=new vi(t),n=new gi(t,e),i=new fi(t,e),r=new di(e),s=new _i(r),a=new wi(e),l=new bi(e);return{setDataProviders:e.setDataProviders.bind(e),createScanner:ae,parseHTMLDocument:r.parseDocument.bind(r),doComplete:i.doComplete.bind(i),doComplete2:i.doComplete2.bind(i),setCompletionParticipants:i.setCompletionParticipants.bind(i),doHover:n.doHover.bind(n),format:Vl,findDocumentHighlights:Jl,findDocumentLinks:l.findDocumentLinks.bind(l),findDocumentSymbols:Yl,findDocumentSymbols2:os,getFoldingRanges:a.getFoldingRanges.bind(a),getSelectionRanges:s.getSelectionRanges.bind(s),doQuoteComplete:i.doQuoteComplete.bind(i),doTagComplete:i.doTagComplete.bind(i),doRename:Kl,findMatchingTagPosition:eu,findOnTypeRenameRanges:ls,findLinkedEditingRanges:ls}}function iu(t,e){return new It(t,e)}var yi=class{constructor(e,n){this._ctx=e,this._languageSettings=n.languageSettings,this._languageId=n.languageId;let i=this._languageSettings.data,r=i?.useDefaultDataProvider,s=[];if(i?.dataProviders)for(let a in i.dataProviders)s.push(iu(a,i.dataProviders[a]));this._languageService=nu({useDefaultDataProvider:r,customDataProviders:s})}async doComplete(e,n){let i=this._getTextDocument(e);if(!i)return null;let r=this._languageService.parseHTMLDocument(i);return Promise.resolve(this._languageService.doComplete(i,n,r,this._languageSettings&&this._languageSettings.suggest))}async format(e,n,i){let r=this._getTextDocument(e);if(!r)return[];let s={...this._languageSettings.format,...i},a=this._languageService.format(r,n,s);return Promise.resolve(a)}async doHover(e,n){let i=this._getTextDocument(e);if(!i)return null;let r=this._languageService.parseHTMLDocument(i),s=this._languageService.doHover(i,n,r);return Promise.resolve(s)}async findDocumentHighlights(e,n){let i=this._getTextDocument(e);if(!i)return[];let r=this._languageService.parseHTMLDocument(i),s=this._languageService.findDocumentHighlights(i,n,r);return Promise.resolve(s)}async findDocumentLinks(e){let n=this._getTextDocument(e);if(!n)return[];let i=this._languageService.findDocumentLinks(n,null);return Promise.resolve(i)}async findDocumentSymbols(e){let n=this._getTextDocument(e);if(!n)return[];let i=this._languageService.parseHTMLDocument(n),r=this._languageService.findDocumentSymbols(n,i);return Promise.resolve(r)}async getFoldingRanges(e,n){let i=this._getTextDocument(e);if(!i)return[];let r=this._languageService.getFoldingRanges(i,n);return Promise.resolve(r)}async getSelectionRanges(e,n){let i=this._getTextDocument(e);if(!i)return[];let r=this._languageService.getSelectionRanges(i,n);return Promise.resolve(r)}async doRename(e,n,i){let r=this._getTextDocument(e);if(!r)return null;let s=this._languageService.parseHTMLDocument(r),a=this._languageService.doRename(r,n,i,s);return Promise.resolve(a)}_getTextDocument(e){let n=this._ctx.getMirrorModels();for(let i of n)if(i.uri.toString()===e)return ln.create(e,this._languageId,i.version,i.getValue());return null}};self.onmessage=()=>{Qo((t,e)=>new yi(t,e))};})();
|
|
474
|
+
* a _positive value_ means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the [**tabindex**](#attr-tabindex). If several elements share the same tabindex, their relative order follows their relative positions in the document.`},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/tabindex"}]},{name:"title",description:{kind:"markdown",value:"Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/title"}]},{name:"translate",description:{kind:"markdown",value:"An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](https://developer.mozilla.org/docs/Web/API/Text \"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\n\n* empty string and `yes`, which indicates that the element will be translated.\n* `no`, which indicates that the element will not be translated."},valueSet:"y",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/translate"}]},{name:"onabort",description:{kind:"markdown",value:"The loading of a resource has been aborted."}},{name:"onblur",description:{kind:"markdown",value:"An element has lost focus (does not bubble)."}},{name:"oncanplay",description:{kind:"markdown",value:"The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content."}},{name:"oncanplaythrough",description:{kind:"markdown",value:"The user agent can play the media up to its end without having to stop for further buffering of content."}},{name:"onchange",description:{kind:"markdown",value:"The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user."}},{name:"onclick",description:{kind:"markdown",value:"A pointing device button has been pressed and released on an element."}},{name:"oncontextmenu",description:{kind:"markdown",value:"The right button of the mouse is clicked (before the context menu is displayed)."}},{name:"ondblclick",description:{kind:"markdown",value:"A pointing device button is clicked twice on an element."}},{name:"ondrag",description:{kind:"markdown",value:"An element or text selection is being dragged (every 350ms)."}},{name:"ondragend",description:{kind:"markdown",value:"A drag operation is being ended (by releasing a mouse button or hitting the escape key)."}},{name:"ondragenter",description:{kind:"markdown",value:"A dragged element or text selection enters a valid drop target."}},{name:"ondragleave",description:{kind:"markdown",value:"A dragged element or text selection leaves a valid drop target."}},{name:"ondragover",description:{kind:"markdown",value:"An element or text selection is being dragged over a valid drop target (every 350ms)."}},{name:"ondragstart",description:{kind:"markdown",value:"The user starts dragging an element or text selection."}},{name:"ondrop",description:{kind:"markdown",value:"An element is dropped on a valid drop target."}},{name:"ondurationchange",description:{kind:"markdown",value:"The duration attribute has been updated."}},{name:"onemptied",description:{kind:"markdown",value:"The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it."}},{name:"onended",description:{kind:"markdown",value:"Playback has stopped because the end of the media was reached."}},{name:"onerror",description:{kind:"markdown",value:"A resource failed to load."}},{name:"onfocus",description:{kind:"markdown",value:"An element has received focus (does not bubble)."}},{name:"onformchange"},{name:"onforminput"},{name:"oninput",description:{kind:"markdown",value:"The value of an element changes or the content of an element with the attribute contenteditable is modified."}},{name:"oninvalid",description:{kind:"markdown",value:"A submittable element has been checked and doesn't satisfy its constraints."}},{name:"onkeydown",description:{kind:"markdown",value:"A key is pressed down."}},{name:"onkeypress",description:{kind:"markdown",value:"A key is pressed down and that key normally produces a character value (use input instead)."}},{name:"onkeyup",description:{kind:"markdown",value:"A key is released."}},{name:"onload",description:{kind:"markdown",value:"A resource and its dependent resources have finished loading."}},{name:"onloadeddata",description:{kind:"markdown",value:"The first frame of the media has finished loading."}},{name:"onloadedmetadata",description:{kind:"markdown",value:"The metadata has been loaded."}},{name:"onloadstart",description:{kind:"markdown",value:"Progress has begun."}},{name:"onmousedown",description:{kind:"markdown",value:"A pointing device button (usually a mouse) is pressed on an element."}},{name:"onmousemove",description:{kind:"markdown",value:"A pointing device is moved over an element."}},{name:"onmouseout",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached or off one of its children."}},{name:"onmouseover",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached or onto one of its children."}},{name:"onmouseup",description:{kind:"markdown",value:"A pointing device button is released over an element."}},{name:"onmousewheel"},{name:"onmouseenter",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached."}},{name:"onmouseleave",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached."}},{name:"onpause",description:{kind:"markdown",value:"Playback has been paused."}},{name:"onplay",description:{kind:"markdown",value:"Playback has begun."}},{name:"onplaying",description:{kind:"markdown",value:"Playback is ready to start after having been paused or delayed due to lack of data."}},{name:"onprogress",description:{kind:"markdown",value:"In progress."}},{name:"onratechange",description:{kind:"markdown",value:"The playback rate has changed."}},{name:"onreset",description:{kind:"markdown",value:"A form is reset."}},{name:"onresize",description:{kind:"markdown",value:"The document view has been resized."}},{name:"onreadystatechange",description:{kind:"markdown",value:"The readyState attribute of a document has changed."}},{name:"onscroll",description:{kind:"markdown",value:"The document view or an element has been scrolled."}},{name:"onseeked",description:{kind:"markdown",value:"A seek operation completed."}},{name:"onseeking",description:{kind:"markdown",value:"A seek operation began."}},{name:"onselect",description:{kind:"markdown",value:"Some text is being selected."}},{name:"onshow",description:{kind:"markdown",value:"A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute"}},{name:"onstalled",description:{kind:"markdown",value:"The user agent is trying to fetch media data, but data is unexpectedly not forthcoming."}},{name:"onsubmit",description:{kind:"markdown",value:"A form is submitted."}},{name:"onsuspend",description:{kind:"markdown",value:"Media data loading has been suspended."}},{name:"ontimeupdate",description:{kind:"markdown",value:"The time indicated by the currentTime attribute has been updated."}},{name:"onvolumechange",description:{kind:"markdown",value:"The volume has changed."}},{name:"onwaiting",description:{kind:"markdown",value:"Playback has stopped because of a temporary lack of data."}},{name:"onpointercancel",description:{kind:"markdown",value:"The pointer is unlikely to produce any more events."}},{name:"onpointerdown",description:{kind:"markdown",value:"The pointer enters the active buttons state."}},{name:"onpointerenter",description:{kind:"markdown",value:"Pointing device is moved inside the hit-testing boundary."}},{name:"onpointerleave",description:{kind:"markdown",value:"Pointing device is moved out of the hit-testing boundary."}},{name:"onpointerlockchange",description:{kind:"markdown",value:"The pointer was locked or released."}},{name:"onpointerlockerror",description:{kind:"markdown",value:"It was impossible to lock the pointer for technical reasons or because the permission was denied."}},{name:"onpointermove",description:{kind:"markdown",value:"The pointer changed coordinates."}},{name:"onpointerout",description:{kind:"markdown",value:"The pointing device moved out of hit-testing boundary or leaves detectable hover range."}},{name:"onpointerover",description:{kind:"markdown",value:"The pointing device is moved into the hit-testing boundary."}},{name:"onpointerup",description:{kind:"markdown",value:"The pointer leaves the active buttons state."}},{name:"aria-activedescendant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant"}],description:{kind:"markdown",value:"Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application)."}},{name:"aria-atomic",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-atomic"}],description:{kind:"markdown",value:"Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute."}},{name:"aria-autocomplete",valueSet:"autocomplete",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete"}],description:{kind:"markdown",value:"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made."}},{name:"aria-busy",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-busy"}],description:{kind:"markdown",value:"Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user."}},{name:"aria-checked",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-checked"}],description:{kind:"markdown",value:'Indicates the current "checked" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-colcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colcount"}],description:{kind:"markdown",value:"Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex)."}},{name:"aria-colindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-colspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colspan"}],description:{kind:"markdown",value:"Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-controls",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-controls"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns)."}},{name:"aria-current",valueSet:"current",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-current"}],description:{kind:"markdown",value:"Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements."}},{name:"aria-describedby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-disabled",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-disabled"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly)."}},{name:"aria-dropeffect",valueSet:"dropeffect",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect"}],description:{kind:"markdown",value:"\\[Deprecated in ARIA 1.1\\] Indicates what functions can be performed when a dragged object is released on the drop target."}},{name:"aria-errormessage",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-expanded",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-expanded"}],description:{kind:"markdown",value:"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed."}},{name:"aria-flowto",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-flowto"}],description:{kind:"markdown",value:"Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order."}},{name:"aria-grabbed",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed"}],description:{kind:"markdown",value:`\\[Deprecated in ARIA 1.1\\] Indicates an element's "grabbed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.`}},{name:"aria-haspopup",valueSet:"haspopup",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup"}],description:{kind:"markdown",value:"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-hidden",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-hidden"}],description:{kind:"markdown",value:"Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-invalid",valueSet:"invalid",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-invalid"}],description:{kind:"markdown",value:"Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)."}},{name:"aria-label",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-label"}],description:{kind:"markdown",value:"Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-labelledby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-level",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-level"}],description:{kind:"markdown",value:"Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure."}},{name:"aria-live",valueSet:"live",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-live"}],description:{kind:"markdown",value:"Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region)."}},{name:"aria-modal",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-modal"}],description:{kind:"markdown",value:"Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed."}},{name:"aria-multiline",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiline"}],description:{kind:"markdown",value:"Indicates whether a text box accepts multiple lines of input or only a single line."}},{name:"aria-multiselectable",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable"}],description:{kind:"markdown",value:"Indicates that the user may select more than one item from the current selectable descendants."}},{name:"aria-orientation",valueSet:"orientation",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-orientation"}],description:{kind:"markdown",value:"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous."}},{name:"aria-owns",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-owns"}],description:{kind:"markdown",value:"Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls)."}},{name:"aria-placeholder",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder"}],description:{kind:"markdown",value:"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format."}},{name:"aria-posinset",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-posinset"}],description:{kind:"markdown",value:"Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize)."}},{name:"aria-pressed",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-pressed"}],description:{kind:"markdown",value:'Indicates the current "pressed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-readonly",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-readonly"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-relevant",valueSet:"relevant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-relevant"}],description:{kind:"markdown",value:"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic)."}},{name:"aria-required",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-required"}],description:{kind:"markdown",value:"Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted."}},{name:"aria-roledescription",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription"}],description:{kind:"markdown",value:"Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-rowcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount"}],description:{kind:"markdown",value:"Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex)."}},{name:"aria-rowindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-rowspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan"}],description:{kind:"markdown",value:"Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-selected",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-selected"}],description:{kind:"markdown",value:'Indicates the current "selected" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).'}},{name:"aria-setsize",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-setsize"}],description:{kind:"markdown",value:"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset)."}},{name:"aria-sort",valueSet:"sort",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-sort"}],description:{kind:"markdown",value:"Indicates if items in a table or grid are sorted in ascending or descending order."}},{name:"aria-valuemax",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax"}],description:{kind:"markdown",value:"Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuemin",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin"}],description:{kind:"markdown",value:"Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuenow",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow"}],description:{kind:"markdown",value:"Defines the current value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-valuetext`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext)."}},{name:"aria-valuetext",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext"}],description:{kind:"markdown",value:"Defines the human readable text alternative of [`aria-valuenow`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow) for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-details",description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-keyshortcuts",description:{kind:"markdown",value:"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element."}}],valueSets:[{name:"b",values:[{name:"true"},{name:"false"}]},{name:"u",values:[{name:"true"},{name:"false"},{name:"undefined"}]},{name:"o",values:[{name:"on"},{name:"off"}]},{name:"y",values:[{name:"yes"},{name:"no"}]},{name:"w",values:[{name:"soft"},{name:"hard"}]},{name:"d",values:[{name:"ltr"},{name:"rtl"},{name:"auto"}]},{name:"m",values:[{name:"get",description:{kind:"markdown",value:"Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters."}},{name:"post",description:{kind:"markdown",value:"Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5); form data are included in the body of the form and sent to the server."}},{name:"dialog",description:{kind:"markdown",value:"Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element to close the dialog when submitted."}}]},{name:"fm",values:[{name:"get"},{name:"post"}]},{name:"s",values:[{name:"row"},{name:"col"},{name:"rowgroup"},{name:"colgroup"}]},{name:"t",values:[{name:"hidden"},{name:"text"},{name:"search"},{name:"tel"},{name:"url"},{name:"email"},{name:"password"},{name:"datetime"},{name:"date"},{name:"month"},{name:"week"},{name:"time"},{name:"datetime-local"},{name:"number"},{name:"range"},{name:"color"},{name:"checkbox"},{name:"radio"},{name:"file"},{name:"submit"},{name:"image"},{name:"reset"},{name:"button"}]},{name:"im",values:[{name:"verbatim"},{name:"latin"},{name:"latin-name"},{name:"latin-prose"},{name:"full-width-latin"},{name:"kana"},{name:"kana-name"},{name:"katakana"},{name:"numeric"},{name:"tel"},{name:"email"},{name:"url"}]},{name:"bt",values:[{name:"button"},{name:"submit"},{name:"reset"},{name:"menu"}]},{name:"lt",values:[{name:"1"},{name:"a"},{name:"A"},{name:"i"},{name:"I"}]},{name:"mt",values:[{name:"context"},{name:"toolbar"}]},{name:"mit",values:[{name:"command"},{name:"checkbox"},{name:"radio"}]},{name:"et",values:[{name:"application/x-www-form-urlencoded"},{name:"multipart/form-data"},{name:"text/plain"}]},{name:"tk",values:[{name:"subtitles"},{name:"captions"},{name:"descriptions"},{name:"chapters"},{name:"metadata"}]},{name:"pl",values:[{name:"none"},{name:"metadata"},{name:"auto"}]},{name:"sh",values:[{name:"circle"},{name:"default"},{name:"poly"},{name:"rect"}]},{name:"xo",values:[{name:"anonymous"},{name:"use-credentials"}]},{name:"target",values:[{name:"_self"},{name:"_blank"},{name:"_parent"},{name:"_top"}]},{name:"sb",values:[{name:"allow-forms"},{name:"allow-modals"},{name:"allow-pointer-lock"},{name:"allow-popups"},{name:"allow-popups-to-escape-sandbox"},{name:"allow-same-origin"},{name:"allow-scripts"},{name:"allow-top-navigation"}]},{name:"tristate",values:[{name:"true"},{name:"false"},{name:"mixed"},{name:"undefined"}]},{name:"inputautocomplete",values:[{name:"additional-name"},{name:"address-level1"},{name:"address-level2"},{name:"address-level3"},{name:"address-level4"},{name:"address-line1"},{name:"address-line2"},{name:"address-line3"},{name:"bday"},{name:"bday-year"},{name:"bday-day"},{name:"bday-month"},{name:"billing"},{name:"cc-additional-name"},{name:"cc-csc"},{name:"cc-exp"},{name:"cc-exp-month"},{name:"cc-exp-year"},{name:"cc-family-name"},{name:"cc-given-name"},{name:"cc-name"},{name:"cc-number"},{name:"cc-type"},{name:"country"},{name:"country-name"},{name:"current-password"},{name:"email"},{name:"family-name"},{name:"fax"},{name:"given-name"},{name:"home"},{name:"honorific-prefix"},{name:"honorific-suffix"},{name:"impp"},{name:"language"},{name:"mobile"},{name:"name"},{name:"new-password"},{name:"nickname"},{name:"off"},{name:"on"},{name:"organization"},{name:"organization-title"},{name:"pager"},{name:"photo"},{name:"postal-code"},{name:"sex"},{name:"shipping"},{name:"street-address"},{name:"tel-area-code"},{name:"tel"},{name:"tel-country-code"},{name:"tel-extension"},{name:"tel-local"},{name:"tel-local-prefix"},{name:"tel-local-suffix"},{name:"tel-national"},{name:"transaction-amount"},{name:"transaction-currency"},{name:"url"},{name:"username"},{name:"work"}]},{name:"autocomplete",values:[{name:"inline"},{name:"list"},{name:"both"},{name:"none"}]},{name:"current",values:[{name:"page"},{name:"step"},{name:"location"},{name:"date"},{name:"time"},{name:"true"},{name:"false"}]},{name:"dropeffect",values:[{name:"copy"},{name:"move"},{name:"link"},{name:"execute"},{name:"popup"},{name:"none"}]},{name:"invalid",values:[{name:"grammar"},{name:"false"},{name:"spelling"},{name:"true"}]},{name:"live",values:[{name:"off"},{name:"polite"},{name:"assertive"}]},{name:"orientation",values:[{name:"vertical"},{name:"horizontal"},{name:"undefined"}]},{name:"relevant",values:[{name:"additions"},{name:"removals"},{name:"text"},{name:"all"},{name:"additions text"}]},{name:"sort",values:[{name:"ascending"},{name:"descending"},{name:"none"},{name:"other"}]},{name:"roles",values:[{name:"alert"},{name:"alertdialog"},{name:"button"},{name:"checkbox"},{name:"dialog"},{name:"gridcell"},{name:"link"},{name:"log"},{name:"marquee"},{name:"menuitem"},{name:"menuitemcheckbox"},{name:"menuitemradio"},{name:"option"},{name:"progressbar"},{name:"radio"},{name:"scrollbar"},{name:"searchbox"},{name:"slider"},{name:"spinbutton"},{name:"status"},{name:"switch"},{name:"tab"},{name:"tabpanel"},{name:"textbox"},{name:"timer"},{name:"tooltip"},{name:"treeitem"},{name:"combobox"},{name:"grid"},{name:"listbox"},{name:"menu"},{name:"menubar"},{name:"radiogroup"},{name:"tablist"},{name:"tree"},{name:"treegrid"},{name:"application"},{name:"article"},{name:"cell"},{name:"columnheader"},{name:"definition"},{name:"directory"},{name:"document"},{name:"feed"},{name:"figure"},{name:"group"},{name:"heading"},{name:"img"},{name:"list"},{name:"listitem"},{name:"math"},{name:"none"},{name:"note"},{name:"presentation"},{name:"region"},{name:"row"},{name:"rowgroup"},{name:"rowheader"},{name:"separator"},{name:"table"},{name:"term"},{name:"text"},{name:"toolbar"},{name:"banner"},{name:"complementary"},{name:"contentinfo"},{name:"form"},{name:"main"},{name:"navigation"},{name:"region"},{name:"search"},{name:"doc-abstract"},{name:"doc-acknowledgments"},{name:"doc-afterword"},{name:"doc-appendix"},{name:"doc-backlink"},{name:"doc-biblioentry"},{name:"doc-bibliography"},{name:"doc-biblioref"},{name:"doc-chapter"},{name:"doc-colophon"},{name:"doc-conclusion"},{name:"doc-cover"},{name:"doc-credit"},{name:"doc-credits"},{name:"doc-dedication"},{name:"doc-endnote"},{name:"doc-endnotes"},{name:"doc-epigraph"},{name:"doc-epilogue"},{name:"doc-errata"},{name:"doc-example"},{name:"doc-footnote"},{name:"doc-foreword"},{name:"doc-glossary"},{name:"doc-glossref"},{name:"doc-index"},{name:"doc-introduction"},{name:"doc-noteref"},{name:"doc-notice"},{name:"doc-pagebreak"},{name:"doc-pagelist"},{name:"doc-part"},{name:"doc-preface"},{name:"doc-prologue"},{name:"doc-pullquote"},{name:"doc-qna"},{name:"doc-subtitle"},{name:"doc-tip"},{name:"doc-toc"}]},{name:"metanames",values:[{name:"application-name"},{name:"author"},{name:"description"},{name:"format-detection"},{name:"generator"},{name:"keywords"},{name:"publisher"},{name:"referrer"},{name:"robots"},{name:"theme-color"},{name:"viewport"}]},{name:"haspopup",values:[{name:"false",description:{kind:"markdown",value:"(default) Indicates the element does not have a popup."}},{name:"true",description:{kind:"markdown",value:"Indicates the popup is a menu."}},{name:"menu",description:{kind:"markdown",value:"Indicates the popup is a menu."}},{name:"listbox",description:{kind:"markdown",value:"Indicates the popup is a listbox."}},{name:"tree",description:{kind:"markdown",value:"Indicates the popup is a tree."}},{name:"grid",description:{kind:"markdown",value:"Indicates the popup is a grid."}},{name:"dialog",description:{kind:"markdown",value:"Indicates the popup is a dialog."}}]},{name:"decoding",values:[{name:"sync"},{name:"async"},{name:"auto"}]},{name:"loading",values:[{name:"eager",description:{kind:"markdown",value:"Loads the image immediately, regardless of whether or not the image is currently within the visible viewport (this is the default value)."}},{name:"lazy",description:{kind:"markdown",value:"Defers loading the image until it reaches a calculated distance from the viewport, as defined by the browser. The intent is to avoid the network and storage bandwidth needed to handle the image until it's reasonably certain that it will be needed. This generally improves the performance of the content in most typical use cases."}}]},{name:"referrerpolicy",values:[{name:"no-referrer"},{name:"no-referrer-when-downgrade"},{name:"origin"},{name:"origin-when-cross-origin"},{name:"same-origin"},{name:"strict-origin"},{name:"strict-origin-when-cross-origin"},{name:"unsafe-url"}]}]};var Ui=class{constructor(e){this.dataProviders=[],this.setDataProviders(e.useDefaultDataProvider!==!1,e.customDataProviders||[])}setDataProviders(e,n){this.dataProviders=[],e&&this.dataProviders.push(new Ot("html5",qu)),this.dataProviders.push(...n)}getDataProviders(){return this.dataProviders}isVoidElement(e,n){return!!e&&yu(n,e.toLowerCase(),(i,r)=>i.localeCompare(r))>=0}getVoidElements(e){let n=Array.isArray(e)?e:this.getDataProviders().filter(r=>r.isApplicable(e)),i=[];return n.forEach(r=>{r.provideTags().filter(s=>s.void).forEach(s=>i.push(s.name))}),i.sort()}isPathAttribute(e,n){if(n==="src"||n==="href")return!0;let i=ed[e];return i?typeof i=="string"?i===n:i.indexOf(n)!==-1:!1}},ed={a:"href",area:"href",body:"background",blockquote:"cite",del:"cite",form:"action",frame:["src","longdesc"],img:["src","longdesc"],ins:"cite",link:"href",object:"data",q:"cite",script:"src",audio:"src",button:"formaction",command:"icon",embed:"src",html:"manifest",input:["src","formaction"],source:"src",track:"src",video:["src","poster"]};var td={};function Vu(t=td){let e=new Ui(t),n=new Ii(t,e),i=new Mi(t,e),r=new Ri(e),s=new Fi(r),a=new zi(e),l=new Pi(e);return{setDataProviders:e.setDataProviders.bind(e),createScanner:oe,parseHTMLDocument:r.parseDocument.bind(r),doComplete:i.doComplete.bind(i),doComplete2:i.doComplete2.bind(i),setCompletionParticipants:i.setCompletionParticipants.bind(i),doHover:n.doHover.bind(n),format:Mu,findDocumentHighlights:Uu,findDocumentLinks:l.findDocumentLinks.bind(l),findDocumentSymbols:Wu,findDocumentSymbols2:Ns,getFoldingRanges:a.getFoldingRanges.bind(a),getSelectionRanges:s.getSelectionRanges.bind(s),doQuoteComplete:i.doQuoteComplete.bind(i),doTagComplete:i.doTagComplete.bind(i),doRename:Bu,findMatchingTagPosition:Ou,findOnTypeRenameRanges:Is,findLinkedEditingRanges:Is}}function ju(t,e){return new Ot(t,e)}var Wi=class{constructor(e,n){this._ctx=e,this._languageSettings=n.languageSettings,this._languageId=n.languageId;let i=this._languageSettings.data,r=i?.useDefaultDataProvider,s=[];if(i?.dataProviders)for(let a in i.dataProviders)s.push(ju(a,i.dataProviders[a]));this._languageService=Vu({useDefaultDataProvider:r,customDataProviders:s})}async doComplete(e,n){let i=this._getTextDocument(e);if(!i)return null;let r=this._languageService.parseHTMLDocument(i);return Promise.resolve(this._languageService.doComplete(i,n,r,this._languageSettings&&this._languageSettings.suggest))}async format(e,n,i){let r=this._getTextDocument(e);if(!r)return[];let s={...this._languageSettings.format,...i},a=this._languageService.format(r,n,s);return Promise.resolve(a)}async doHover(e,n){let i=this._getTextDocument(e);if(!i)return null;let r=this._languageService.parseHTMLDocument(i),s=this._languageService.doHover(i,n,r);return Promise.resolve(s)}async findDocumentHighlights(e,n){let i=this._getTextDocument(e);if(!i)return[];let r=this._languageService.parseHTMLDocument(i),s=this._languageService.findDocumentHighlights(i,n,r);return Promise.resolve(s)}async findDocumentLinks(e){let n=this._getTextDocument(e);if(!n)return[];let i=this._languageService.findDocumentLinks(n,null);return Promise.resolve(i)}async findDocumentSymbols(e){let n=this._getTextDocument(e);if(!n)return[];let i=this._languageService.parseHTMLDocument(n),r=this._languageService.findDocumentSymbols(n,i);return Promise.resolve(r)}async getFoldingRanges(e,n){let i=this._getTextDocument(e);if(!i)return[];let r=this._languageService.getFoldingRanges(i,n);return Promise.resolve(r)}async getSelectionRanges(e,n){let i=this._getTextDocument(e);if(!i)return[];let r=this._languageService.getSelectionRanges(i,n);return Promise.resolve(r)}async doRename(e,n,i){let r=this._getTextDocument(e);if(!r)return null;let s=this._languageService.parseHTMLDocument(r),a=this._languageService.doRename(r,n,i,s);return Promise.resolve(a)}_getTextDocument(e){let n=this._ctx.getMirrorModels();for(let i of n)if(i.uri.toString()===e)return vn.create(e,this._languageId,i.version,i.getValue());return null}};self.onmessage=()=>{Fl((t,e)=>new Wi(t,e))};})();
|